Virtual Mechanisms - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

Virtual Mechanisms

Description:

Op-amp gets voltage to appear across a known resistor Rckt. Voltage V across R generates current ... Huygens 'Eureka' Notebook entry, January 20, 1675 ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 32
Provided by: gil125
Category:

less

Transcript and Presenter's Notes

Title: Virtual Mechanisms


1
Virtual Mechanisms
  • ECS
  • Fall 2005

2
DC Motor Model
3
Motor Driver Circuit
Vpcout
Imtr
IRckt
Rckt
4
Computer Output Controls Motor Current
  • Computer Outputs a voltage Vpcout
  • Op-amp gets voltage to appear across a known
    resistor Rckt
  • Voltage V across R generates current
  • IRckt Vpcout / Rckt
  • All current I going through R also goes through
    motor.
  • Thus, motor current Imtr Vpcout / Rckt
  • How should we command desired torque?
  • Vpcout Rckt tdesired / Kmtr

5
Motor Driver Circuit
Vpcout
Imtr
IRckt
Rckt
6
New Motor Drive Circuit
7
Caveats for New Circuit
  • You MUST rewire the terminal board, and connect
    screw terminals 2, 4, 6, and 8 together, and
    separately terminals 3, 5, 7, and 9 together.
  • Finally, you MUST turn OFF differential mode on
    your Simulink analog inputs, and set up Simulink
    blocks to average together A/D input channels 1,
    3, 5, and 7, and separately, channels 2, 4, 6,
    and 8.

8
Motor Voltage is read into computerMotor Current
is read into computer
  • Motor Voltage reading is straight
  • Motor Current reading is multiplied by Rckt to
    create a voltage for the A/D
  • How do we figure out w from motor voltage?
  • Vemf Vmtr Imtr Rmtr
  • w Vemf / Kmtr

9
What we can now do
  • Command Motor Torque
  • by commanding desired motor current
  • Check if we got torque we asked for
  • by checking actual motor current
  • Measure motor speed
  • by measuring motor voltage and
  • subtracting IR drop of motor resistance

10
How do we measure motor angle?
  • Integrate w dt !
  • Is this reliable over long periods?
  • No!
  • What goes wrong?
  • Drift!
  • What can we do to get decent short-term readings?
  • Leak!
  • Insert a high-pass filter
  • Dont let low frequencies through (especially DC)
  • Let high frequencies through

11
Huygens Eureka Notebook entry, January 20,
1675 Showing the invention of the hair spring
balance wheel clock mechanism
12
Thuret Clock, 1675Built to demonstrate the
invention
13
Lab 8
14
Todays Lab 8 SystemA mixture of simulated lab
set-upActual Control System
15
Simulated Motor
16
Simulated Motor
W
17
Simulated Physical World
18
Simulated Physical World
19
Simulated Electronics
20
Simulated Electronics
21
Inverse Model of Electronics(Part of Actual
Control System)
22
Inverse Model of Electronics(Part of Actual
Control System)
23
Inverse Model of Motor(Part of Actual Control
System)
24
Inverse Model of Motor(Part of Actual Control
System)
25
Inverse Model PhysicalMotor Electronics
26
Inverse Model of Friction Added Virtual
Damping(Part of Actual Control System)
27
Inverse Model of Friction Added Virtual
Damping(Part of Actual Control System)
28
Added Spring(Part of Actual Control System)
29
Added Spring(Part of Actual Control System)
30
High-Pass Filterto Prevent Integrator Drift
31
SIMULINKDEMOS
  • Next Time
  • Modeling the
  • ESCAPEMENT
Write a Comment
User Comments (0)
About PowerShow.com