ee design guide rough draft 1.docx - rochester …edge.rit.edu/edge/p15201/public/detailed design...

37
Project P15201 Tigerbot Team Members: Vasu Gupta Matthew Mares Matthew Warner Wunna Kyaw Chris Crippen Ben Haag David Exton Vincent Pan Jordan Skiff Table of Contents Proposed Bill of Materials (BOM).......................................................1) System Overview ...................................................... ………………. 2) Subsystem Overview 1. Subsystem Overview 2..................................................................... ..3) Schematic System Overview ............................................................4 ) Breakdown of Body Area’s................................................................ . 5) Ankle Hip/Knee.............................................................. ................... 6) Torso................................................................. ......................7) Misc. (Power, Ground, Computing)........................................8) Highlights and Concerns........................................................9)

Upload: hoangquynh

Post on 15-Apr-2018

219 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Project P15201 Tigerbot

Team Members:Vasu Gupta Matthew MaresMatthew Warner Wunna KyawChris Crippen Ben HaagDavid Exton Vincent PanJordan Skiff

Table of Contents

Proposed Bill of Materials (BOM).......................................................1)System Overview ...................................................... ………………. 2)Subsystem Overview 1.Subsystem Overview 2.......................................................................3)Schematic System Overview ............................................................4)Breakdown of Body Area’s................................................................. 5)

AnkleHip/Knee................................................................................. 6)Torso.......................................................................................7)Misc. (Power, Ground, Computing)........................................8)Highlights and Concerns........................................................9)

Schematic Subsystems.....................................................................10)Microcontroller

Teensy 3.1 Documentation.........................................12)ADC Board..............................................................................13)

ADC128D818 Datasheet............................................14)Force Sensing Resistor Board...............................................17)

FSR A201 Datasheet..................................................18)TL074A Datasheet......................................................19)

Sensor Overview ................................................................................21)Sensor Highlights

Sharp IR GP2Y0A21YK0FParallax Ping)))

Wiring Diagram...................................................................... 22)PCB Layout........................................................................................ 23)

ADC BoardFSR BoardDistribution Board

Power Systems Information...............................................................25)Battery and Battery Related Fixed Supply........................................................................... 28)Regulation...............................................................................28)

Testing and Scheduling.......................................................................30)

Page 2: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Proposed BOM:

Total Cost:

$1,709.86

We are using 0.805 Imperial for Surface mount discrete components. Because the IC’s we have selected are surface mount and this is the smallest size available in PCB Artist and we wanted to make all components have a uniform standard.

System Overview:

Page 3: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Subsystem Overview:

Subsystem Overview 2

Page 4: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Insert Schematic Page 1

Page 5: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Breakdown of Body Areas:

Page 6: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Ankle:

Hip/Knee:

Page 7: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,
Page 8: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Upper Body: Torso, Arms, Shoulders, Elbows

Page 9: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Misc: Power, Ground Computing:

Highlights and Concerns:

Page 10: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

To simplify the operation of Tigerbot, the Robotic Operating System or ROS has been selected as the key software for operations. The Pandaboard has been selected as the primary computing hardware due to the amount of support available and compatibility with ROS. However due to the amount of processing required, control of the servo motors has been distributed to a network of Teensy 3.1 microcontrollers. Teensy 3.1 has a 32 bit processor, compatibility with ROS, and onboard micro-usb support. Combined with the use of a seven port USB hub the microcontroller network can process raw data and transport it to the main board with USB speed without slowing down the main cpu. The drawback of the Teensy 3.1 is that it only has 2 channels for ADC, even with 20 Analog inputs. To accommodate this, a simplified ADC board is used to manage sensor input and power distribution.The highlights of the ADC board is that is uses the TI ADC128D818 16 pin TSSOP, which is an 8-channel, 12 bit, delta sigma ADC, with I2C output. Sensor inputs also have voltage select headers to switch between 3.3V and 5V logic. Raw signal inputs are captured by the ADC, processed and stored internally, and then passed to the microcontroller via an I2C line. Further filtering is done in software in the microcontroller. The overall advantage of creating a separate ADC PCB is that it further distributes processing, converting analog inputs into digital data to be passed to the microcontrollers, and it allows for future expandability.

Other concerns are the inclusion of external potentiometers and a RF ID solution for Tigerbot. The use of external potentiometers would be to obtain rudimentary position feedback from the servo motors. While the clearpath servo’s allow for relatively simple control, the internal encoder data can not be accessed. Therefore the use of external potentiometers is beneficial as a sanity check. Is the limb in the correct position? The potential drawback is the process of mounting these in position. At this time a RF ID solution has not been implemented. Due to the scope the project RF ID feedback has been placed at a lower priority and will be addressed if there is time.

Lastly to note is the use of a custom PCB implementation for the Force Sensing Resistors (FSR). The use of all sensors is to create a network of information pertaining to Tigerbots operating environment. In this case the use of FSR’s is needed to provide feedback on weight distribution. In Figure 1 below it shown that the FSR tab end is mounted to the foot of Tigerbot and then fed upward into a signal conditioning board. The signal conditioning board is mounted on top of the foot and has a shield. Based off of the A201 datasheet (Page ), the raw FSR input is fed into an op amp before being passed to the ADC board. For the op amp, a TI TL074A 14 pin TSSOP chip, with 4 inputs and outputs, and low noise. Due to the recommended circuit shown in the datasheet potentiometers are used to fine tune the gain as necessary to accommodate the weight of Tigerbot.

Page 11: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Microcontroller Block:

Page 12: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Teensy 3.1 Documentation

Page 13: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

ADC Board:Insert ADC schematic

Page 14: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Insert ADC Datasheet selected pages

Page 15: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Pages 1-3

Insert FSR Page

Page 16: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Insert FSR A201 Datasheet page

There is only one

Page 17: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Insert TI TL074A Datasheet selected pages

Pages 1 and 4

Page 18: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Sensor Overview: Highlights -

Our goal with sensors is to created a multi layered sense bubble. With ultrasonic/sonar long range detection is capable for up to 3 m in direct front of Tigerbot. Making use of IR, short range detection is capable for up to 0.8 m. Other sensor inputs will be used to maintain balance. Force Sensing Resistors mounted to the foot plates allow for measuring weight distribution. The

Page 19: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

IMU’s will relay position data to ensure the position of each robot component.The use of external potentiometers are as a position sanity check. Internal encoders of the Teknic servo’s cannot be accessed, as such potentiometers will allow us to double check positions.

Parallax Ping)))

Sharp IR GP2Y0A21YK0F

Wiring Diagram:

Page 20: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

PCB Layout:

ADC Board:

Page 21: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

FSR and Distribution

Page 22: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Power Information:

Battery - Originally after initial research the battery chemistry that suited Tigerbot was Lithium Iron Phosphate. Table 1 shows information on the battery chemistries researched. However further research revealed that calculations for power density included lifetime cycle information. Lithium Iron Phosphate has a much higher cycle life than most chemistries and it is very stable. When cycle life information was removed from the calculation there was not a significant difference in power density between Lithium Iron Phosphate and Lithium Polymer. Overall Lithium Polymer is

Page 23: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

significantly lighter than Lithium Iron Phosphate making it ideal for Robotics applications. Completing a survey of batteries with the characteristics of voltage and weight in mind classified by capacity, showed a linear trend as voltage increases to weight increase. This makes sense as the increase in voltage is achieved through the addition of extra cells. This is shown in Table 2 and Figures 2 through 4. Further research found a suitable candidate by estimation as shown in Table 3.

Table 1Survey of Battery Chemistries

Table 2Survey of Batteries by Capacity, Weight, and Voltage

Page 24: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Figure 2Batteries with a 40ah capacity

Figure 3Batteries with a 20ah capacity

Page 25: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Figure 4Batteries with runtime less than 1 hour

Table 3

Battery Candidate As a team a mock tour was simulated walking the EE floor giving a detailed tour and

timed. Based on the timing data, the ratio between talking and walking is 60/40. Initially the current draw of the servo’s was overestimated. For walking we assumed a full current draw in a worst case scenario and multiplied it by the ideal voltage desired to get a walking power as shown in Equation 1. For standing we assumed the upper half of the robot would be negligible and took into account on the draw of the lower half. We assumed a reduced current draw for six servo’s due to locking features and a full draw for the remaining two. This gives an estimate for power draw standing as shown in Equation 2. Taking 60% of standing power and 40% of walking power gives the total estimate for power draw. shown in Equation 3.

Power Walking = Max Current of Servo’s * Ideal Voltage of Battery Equation 1

Power Standing = (70% * Max Current * 6 + Max Current * 2) * Voltage Equation 2

60% * Power Standing + 40% * Power Walking = Total Power Estimate Equation 3

Page 26: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

However because the overall design is not yet finalized, we are delaying battery purchase and instead will conduct a tethered test to accurately gauge current draw.

Fixed Supply:

For the initial weeks of MSD II we plan to use a 60V 60A bench supply loaned from the EE Lab Manager Ken Synder.

Regulation:

In addition to finding a battery for servo power, we plan to have the servo’s and the sensors/computing on separate supplies. Two batteries will be required for the servos at high voltage and current. For sensors and computing an additional Lithium Polymer battery at lower voltage around 7.4V will be used with two regulation boards to deliver stable 3.3V and 5V. To meet this goal we have selected two regulator boards from Pololu that are synchronous switching step-down (or buck) regulators. All images are taken from the supplier websites.

Page 27: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,
Page 28: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Testing:Force Sensing Resistors (FSR) Test Plan

Platform for implementation of FSR concept: Shoe and Breadboard/Breakout board

Schedule:Phase 1:Implement ADC board via breadboard and breakout board.Implement connections for FSR and to MicrocontrollerTest connection and data collectionPhase 2: Mount to test platformEstablish connection to microcontrollerPhase 3:Run desired testsPhase 4:Analyze results

Page 29: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Definition of Outcome:

Read voltage: Voltage levels agree with manufacturer table and characterizationsEven distributed voltage: Assumption of operation is that voltage levels will be relatively equal between the four active FSR’s with even distribution of weight.Reasonable response time: Response of FSR’s can be processed fast enough to properly react to data. Ideally under 0.5 sec.

Potentiometer Test Plan:

Platform for Implementation: Test Joint

Schedule:Phase 1:Implement potentiometer using the ADC setupTest FeedbackPhase 2:How to connect to join and implement connectionPhase 3:Run joint test with teamPhase 4:Analyze result

Definition of Outcome:

Read voltage: Voltage feedback is acquirableCharacterize Voltage: Voltage can be translated to a position

Battery Test Plan:

Page 30: EE Design Guide Rough Draft 1.docx - Rochester …edge.rit.edu/edge/P15201/public/Detailed Design Documents... · Web viewInternal encoders of the Teknic servo’s cannot be accessed,

Phase 1: Measure Current of Joint TestPhase 2:Upon completion of design run second and third testsPhase 3:Select battery to meet measurements

Definition of Outcome:

Read current: Measure current draw of servo’s in each case scenario to quantify total power draw.