Date post: | 21-Jan-2016 |
Category: |
Documents |
Upload: | dominick-dean |
View: | 216 times |
Download: | 1 times |
Optical Encoder for a Optical Encoder for a Game Steering WheelGame Steering Wheel
May05-26May05-26Client: Thomas EnterprisesClient: Thomas Enterprises
Advisors:Advisors:Dr. James DavisDr. James Davis
Dr. Douglas JacobsonDr. Douglas Jacobson
Team Members:Team Members:Sam Dahlke, CprESam Dahlke, CprE
Peter Fecteau, CprEPeter Fecteau, CprEDaniel Pates, EEDaniel Pates, EE
Lorenzo Subido, EELorenzo Subido, EE
April 19, 2005April 19, 2005
OutlineOutline
IntroductionIntroduction ResearchResearch DesignDesign ImplementationImplementation TestingTesting ClosingClosing
IntroductionIntroduction
DefinitionsDefinitions
Analog to digital conversion (ADC) Analog to digital conversion (ADC)
Cycles per revolution (CPR) Cycles per revolution (CPR)
Hardware interface driver (HID)Hardware interface driver (HID) Optical encoderOptical encoder Printed circuit board (PCB)Printed circuit board (PCB) PotentiometerPotentiometer
AcknowledgementsAcknowledgements
Thomas Enterprises Thomas Enterprises Andy Bice – original designerAndy Bice – original designer Dr. Jacobson and Dr. DavisDr. Jacobson and Dr. Davis
Problem StatementProblem Statement
Old design senses 256 positionsOld design senses 256 positions USB connectivityUSB connectivity New design must sense 1024 positionsNew design must sense 1024 positions Cost of $150Cost of $150
Solution ApproachSolution Approach
Solution ApproachSolution Approach
Optical encoders replace potentiometers Optical encoders replace potentiometers New microcontroller handles 16 bit input New microcontroller handles 16 bit input
and is compatible with old microcontrollerand is compatible with old microcontroller Assembly code interprets steering wheel Assembly code interprets steering wheel
motionmotion
Operating EnvironmentOperating Environment
Temperature of approximately 70°FTemperature of approximately 70°F No moistureNo moisture Mostly dust-free conditionsMostly dust-free conditions Not intended to be dropped or thrown, but Not intended to be dropped or thrown, but
could withstand a drop from 2 - 3 feet could withstand a drop from 2 - 3 feet
Intended UsersIntended Users
Serious video gamersSerious video gamers Race car driversRace car drivers Typically age 12–30 with a familiarity with Typically age 12–30 with a familiarity with
computerscomputers
Intended UsesIntended Uses
In home at a table or desk on video games In home at a table or desk on video games that are played on a personal computerthat are played on a personal computer
Used in racing gamesUsed in racing games Not used on game consoles such as Sony Not used on game consoles such as Sony
Playstation® or Nintendo Gamecube®Playstation® or Nintendo Gamecube®
AssumptionsAssumptions
Modify existing PIC Assembly codeModify existing PIC Assembly code Original design availableOriginal design available Use of second power sourceUse of second power source
LimitationsLimitations
Same PCB sizeSame PCB size Optical encoder placementOptical encoder placement $150 maximum cost$150 maximum cost PCB should have all the same PCB should have all the same
connections, inputs, and outputsconnections, inputs, and outputs
Expected End-ProductExpected End-Product
More sensitive steering wheelMore sensitive steering wheel 1024 positions from wheel and pedals1024 positions from wheel and pedals Same PCB dimensionsSame PCB dimensions At least prototype qualityAt least prototype quality
Present AccomplishmentsPresent Accomplishments
New PCB fabricated and assembledNew PCB fabricated and assembled Assembly code writtenAssembly code written
USB recognizes deviceUSB recognizes device Currently developing button algorithmsCurrently developing button algorithms
PCB tested for electrical connectivityPCB tested for electrical connectivity
Approaches Considered and One Approaches Considered and One UsedUsed
Adapt previous design to meet new Adapt previous design to meet new expectationsexpectations
Add quadrature amplitude modulation Add quadrature amplitude modulation decoder to previous designdecoder to previous design
New microcontroller is pin-for-pin New microcontroller is pin-for-pin compatible with advanced featurescompatible with advanced features
Research ActivitiesResearch Activities
USB 1.1 vs. 2.0USB 1.1 vs. 2.0 Quadrature Amplitude Modulation Quadrature Amplitude Modulation
decodingdecoding Microcontroller selectionMicrocontroller selection Part orderingPart ordering PCB fabricationPCB fabrication
Design ActivitiesDesign Activities
Design ActivitiesDesign Activities
Design circuitDesign circuit Layout circuit in EagleLayout circuit in Eagle Code written in MPLABCode written in MPLAB
Programming FlowchartProgramming Flowchart
SchematicSchematic
Circuit LayoutCircuit Layout
Implementation ActivitiesImplementation Activities
Send circuit layout designs to be Send circuit layout designs to be fabricatedfabricated
Solder components to PCBSolder components to PCB Compile codeCompile code Program microcontrollerProgram microcontroller
Testing and Modification Testing and Modification ActivitiesActivities
Tested PCB for electrical connectivity Optical encoder response Product functionality
By team members By non-team members
Delayed programmer update
Resources and Resources and SchedulesSchedules
Personnel Effort RequirementsPersonnel Effort Requirements
Dahlke, Samuel, 29%
Fecteau, Peter, 23%
Pates, Daniel, 24%
Subido, Lorenzo, 24%
Total hours: 340
Other Resource RequirementsOther Resource Requirements
Total cost: $390
3%
41%
1%26%
5%
15%
3%3%
3%
16-bit Microcontroller
Optical Encoder
Power Supply
Circuit Board Fabrication
Miscellaneous Parts
Poster
Project Plan Binding
Design Document Binding
Final Report Binding
Financial RequirementsFinancial RequirementsItem Total Price w/o Labor Total Price with Labor
16-bit Microcontroller $13.00 $13.00
Optical Encoder $156.00 $156.00
Power Supply $5.38 $5.38
Circuit Board Fabrication $100.00 $100.00
Miscellaneous Parts $19.69 $19.69
Subtotal $294.07 $294.07
Miscellaneous Resources
Poster $60.00 $60.00
Project Plan Binding $12.00 $12.00
Design Document Binding $12.00 $12.00
Final Report Binding $12.00 $12.00
Subtotal $96.00 $96.00
Labor at $10.50/hour
Dahlke, Samuel $0.00 $840.00
Fecteau, Peter $0.00 $693.00
Pates, Daniel $0.00 $714.00
Subido, Lorenzo $0.00 $703.50
Subtotal $0.00 $2,950.50
Total $390.07 $3,340.57
SchedulesSchedules
ConclusionConclusion
Project EvaluationProject Evaluation
Successful completionSuccessful completion Exceeded design requirementsExceeded design requirements Old product can be easily upgradedOld product can be easily upgraded Product is extensibleProduct is extensible Much less than expected costMuch less than expected cost
CommercializationCommercialization
Upgrade existing productUpgrade existing product
Sell new productSell new product
Recommendations for Additional Recommendations for Additional WorkWork
Future upgrades possibleFuture upgrades possible Optical encoders with higher resolutionOptical encoders with higher resolution More pushbutton inputsMore pushbutton inputs
Additional FeaturesAdditional Features GaugesGauges LEDsLEDs Force FeedbackForce Feedback
Lessons LearnedLessons Learned
Technical KnowledgeTechnical Knowledge Optical encodersOptical encoders MicrocontrollersMicrocontrollers Circuit board layoutCircuit board layout
Use previous work as much as possibleUse previous work as much as possible Begin implementation and testing earlierBegin implementation and testing earlier
Risk and Risk ManagementRisk and Risk Management
Anticipated RisksAnticipated Risks Loss of work and loss of a team memberLoss of work and loss of a team member
Risks EncounteredRisks Encountered Time required to procure partsTime required to procure parts Departure of previous designerDeparture of previous designer Microcontroller not well supported yetMicrocontroller not well supported yet
Changes in ManagementChanges in Management Procured parts through advisorsProcured parts through advisors Outside resourcesOutside resources
SummarySummary
ProblemProblem Upgrade steering wheel controller for Thomas Upgrade steering wheel controller for Thomas
EnterprisesEnterprises SolutionSolution
Replace potentiometers with optical encodersReplace potentiometers with optical encoders Upgrade microcontrollerUpgrade microcontroller
ResultResult Functional upgrade to previous designFunctional upgrade to previous design
Questions?Questions?