+ All Categories
Home > Documents > Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) •...

Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) •...

Date post: 14-May-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
12
EECS192 Lecture 4 Feb. 7, 2017 Topics Polarized capacitor Project proposal feedback Quiz 1 RC servo basics PWM and motor drive Power supplies Boost converter Buck Converter Notes: Check off- 2/10: Motor drive/stall, steering servo Quiz 2: power MOSFET/motor drive Tues 2/14 47uF, 16V electrolytic, polarized Not all same- ESR…
Transcript
Page 1: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

EECS192 Lecture 4

Feb. 7, 2017

Topics• Polarized capacitor

• Project proposal feedback

• Quiz 1

• RC servo basics

• PWM and motor drive

• Power supplies

• Boost converter

• Buck Converter

Notes:

Check off-

• 2/10: Motor drive/stall, steering servo

• Quiz 2: power MOSFET/motor drive Tues 2/14

47uF, 16V electrolytic, polarized

Not all same- ESR…

Page 2: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Project proposal feedback

Motor Driver

Schematic• Estop: what to switch?

• Motor drive from battery, not voltage regulator

• Snubbing capacitors and diode

• Drive/brake/enable/dir- shoot through protection

• Conventions: L->R, top to bottom

Circuit Layout• Mounting holes

• Big wires, short distances

• QFN vs SOIC package

• Heat sinks

• Estop switch

• Signal connectors- include ground

• Power connectors

Software

• Threads vs interrupts vs main() vs RtosTimer

Page 3: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

PWM for Steering Servo

Gotchas:

• 4.8 or 6V, (Not 7.2V!)

• max current 2A

• May be sensitive to noise on supply line

• Performance depends on voltage

Page 4: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

PWM

https://developer.mbed.org/handbook/PwmOut

Page 5: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

PWM for Main Motor control

im

<im > = (T/To) imax

Is imax constant?

Page 6: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Power supply wiring- BAD!

Voltage regulatorVoltage regulator

+7.2V

On board: what does this look like electrically (as a schematic)?

Page 7: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Voltage regulator

Power supply wiring- Star is better!

Voltage regulator

+7.2V

On board: what does this look like electrically (as a schematic)?

Low power ground

Page 8: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

``7.2V’’ supply waveforms with motor PWM

• Battery model

• Waveforms on board

• Wiring to reduce voltage resistance effects of wiring

Linear Regulator VIN > VREG Boost Converter VIN < VREG

VREG

0.5 ohm

regulator

VIN

VREG

VIN

VREG

VIN

Page 9: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Boost Converter

Waveforms on board

(also see boost

converter notes)

Page 10: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Boost Converter- LT1370

Page 11: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Buck Converter LM2678

Page 12: Topicsee192/sp17/files/lec4.pdf · PWM for Steering Servo Gotchas: • 4.8 or 6V, (Not 7.2V!) • max current 2A • May be sensitive to noise on supply line • Performance depends

Buck Converter

https://en.wikipedia.org/wiki/Buck_converter


Recommended