EECS 192: Mechatronics Design Lab Discussion 9: Car Construction and - - PowerPoint PPT Presentation

eecs 192 mechatronics design lab
SMART_READER_LITE
LIVE PREVIEW

EECS 192: Mechatronics Design Lab Discussion 9: Car Construction and - - PowerPoint PPT Presentation

EECS 192: Mechatronics Design Lab Discussion 9: Car Construction and Simulation GSI: Justin Yim 20 & 21 March 2019 (Week 9) 1 Car Construction 2 Controls 3 Simulation Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9)


slide-1
SLIDE 1

EECS 192: Mechatronics Design Lab

Discussion 9: Car Construction and Simulation GSI: Justin Yim 20 & 21 March 2019 (Week 9)

1 Car Construction 2 Controls 3 Simulation

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 1 / 10

slide-2
SLIDE 2

Car Construction

Car Construction

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 2 / 10

slide-3
SLIDE 3

Car Construction

Structures to Avoid

◮ Long and narrow cantilevers

◮ Easily bent or snapped ◮ Bounce like a diving board (amplifying

vibrations)

◮ Holes close to edges

◮ Stress concentrations Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 3 / 10

slide-4
SLIDE 4

Car Construction

Better Structures

◮ Long and narrow cantilevers

◮ Double-support or short and fat

cantilevers

◮ Support applied moments much better ◮ Higher resonant frequency, less likely to

  • scillate

◮ Holes close to edges

◮ Plenty of space around cutouts ◮ Fillets or chamfers on sharp internal edges Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 4 / 10

slide-5
SLIDE 5

Car Construction

Many ways to build strong structures

◮ Some ideas for strong & light structures ◮ Composites, tubes, I-beams, lightening

holes, trusses, and more

◮ However: reliability first, performance (and

weight saving) after

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 5 / 10

slide-6
SLIDE 6

Car Construction

Electronic Hardware Tips!

◮ Watch out for current limits through small headers ◮ Perfboard- watch out for low current traces ◮ Perfboard- dont try to wire up the Buck- it probably will not work.

Use a linear regulator instead.

◮ STAR!! ◮ Heatsinks (especially linear regulators).

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 6 / 10

slide-7
SLIDE 7

Controls

Controls

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 7 / 10

slide-8
SLIDE 8

Simulation

V-REP Simulator

◮ Robot simulation environment ◮ Built on several standard physics engines ◮ Some nice prebuild robot components and

interfacing

◮ Full free educational version ◮ (User Manual Link)

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 8 / 10

slide-9
SLIDE 9

Simulation

V-REP Car Simulation

◮ Car modelled in V-REP ◮ Tune control in simulation through python

to get a starting point for the real car

◮ Homework 2

Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 9 / 10

slide-10
SLIDE 10

Simulation

Setup

◮ Installation

◮ Download V-REP (Linux/Windows/Mac Download Link) and unzip it ◮ Download and unzip the homework files ◮ Copy (V-REP)/programming/remoteApiBindings/lib/lib/(your

OS)/remoteApi.dll into your homework python folder

◮ Running

◮ Run V-REP: File “open scene” carscale oneLoop.ttt ◮ Run python carTest-slew19-line.py ◮ Python will error and V-REP will pop up a warning. Ignore the warning

about custom settings and close the pop-up message.

◮ Run python carTest-slew19-line.py again Ducky (UCB EECS) Mechatronics Design Lab 20 & 21 March 2019 (Week 9) 10 / 10