Professional Documents
Culture Documents
Tier 1 Canada Research Chair Professor of Mechatronics & Industrial Automation The University of British Columbia Vancouver, Canada e-mail: desilva@mech.ubc.ca www.mech.ubc.ca/~ial
Plan
MECHATRONIC ENGINEERING DYNAMIC MODELS AND ANALOGIES MODEL LINEARIZATION LINEAR GRAPHS EQUIVALENT CIRCUITS LINEAR GRAPH REDUCTION COMPONENT INTERCONNECTION AND SIGNAL CONDITIONING PERFORMANCE SPECIFICATION AND ANALYSIS ANALOG SENSORS AND TRANSDUCERS DIGITAL TRANSDUCERS STEPPER MOTORS CONTINUOUS-DRIVE ACTUATORS INTEGRATED DESIGN Material is from the Books:
De Silva, C.W., MECHATRONICS An Integrated Approach, CRC Press, Taylor & Francis, Boca Raton, FL, 2005. De Silva, C.W., MODELING AND CONTROL of Engineering Systems, CRC Press, Taylor & Francis, Boca Raton, FL, 2009.
www.crcpress.com
Mechatronics
Origin of Term: MECHAnics and elecTRONICS, Yasakawa Electric Co., 1969 Synergistic application of mechanics, electronics, control engineering, and computer science in the development of electromechanical products and systems, through integrated design.
M o de lin g, A n a lysis In te grated D e sign T e stin g an d R e fine m e nt S yste m D ev e lo p m en t T ask s
S en sors a nd T ra n sd u c ers A c tu ato rs C o n trolle rs S tru c tu ra l C om po n en ts E n erg y S ou rc es H yd rau lic an d P ne u m a tic D e v ic es T he rm a l D e v ic es M e ch an ic al E ng in e erin g E lec tro n ics (A n a lo g/D ig ital S o ftw are M e ch atro n ic S ystem
Information Technology
(Control & Computer Engineering)
Mechatronics
M En
ec
gin
ha
ee
nic g
rin
al
ctr le
al ic ee in
ing r
ng E
NASA-Houston.
Computer hard disk drive (HDD) showing disk and read/write head
Courtesy of Quantum Corp.
Optimality and better component matching Increased efficiency Cost effectiveness Ease of system integration Compatibility & ease of cooperation with other systems Improved controllability Increased reliability Increased product life
Prototyping
Hardware-in-the-loop simulation Design development Prototypeoptimization Testing and system refinement
Deployment
Production and deployment Life cycle evaluation and optimization
Modeling
Dynamic System
Environment Outputs/ Responses
Dynamic System
(State Variables, System Parameters)
TERMINOLOGY
System: Collection of interacting components of interest, demarcated by a system boundary Dynamic System: Rates of changes of response/state variables cannot be neglected Plant or Process: System to be controlled Inputs: Excitations (known, unknown) to the system Outputs: Responses of the system State Variables: Completely identify the dynamic state of system Note: If state variables at one state and inputs up to a future state are known, the future state can be completely determined Control System: Plant + controller, at least (May include sensors, signal conditioning, etc.)
Typical Input
Neuroelectric pulses
Typical Outputs
Muscle contraction, body movements Decisions, finished products
Company
Information
Power plant
Fuel rate
Automobile
Front wheel turn, direction of heading joint Joint motions, effector motion
Robot
Voltage motor
to
Dynamic Model
It is a representation of a system Useful in analysis, design, modification, and control An engineering (e.g., Mechatronic) physical system consists of a mixture of different types of components An engineering (e.g., Mechatronic) system is typically a multidomain (mixed) system Integrated and unified development of model is desirable (i.e., all domains are modeled together using similar approaches) Use analogous procedures to model all components (in analytical modeling) Analogies exist in mechanical, electrical, fluid, and thermal systems
MODEL TYPES
Model: A representation of a system. Types of Models: 1. Physical Models (Prototypes) 2. Analytical Models 3. Computer (Numerical) Models (Data Tables, Curves, Programs, Files, etc.) 4. Experimental Models (use input/output experimental data for model identification ) Note: Dynamic System: Response variables are functions of time, with non-negligible rates of changes.
MODEL COMPLEXITY
Universal Model (which considers all aspects of the system) is unrealistic E.g.: An automobile model that represents ride quality, energy consumption, traction characteristics, handling, structural strength, capacity, load characteristics, cost, safety, etc. is not very practical Model may address a few specific aspects of interest/application Model should be as simple as possible (Approximate modeling, model reduction, etc. are applicable here)
ADVANTAGES OF ANALYTICAL MODELS OVER PHYSICAL MODELS Modern, high-capacity, high-speed computers can accommodate complex analytical models Models can be modified quickly, conveniently, and high speed at low cost High flexibility of making structural and parametric changes Natural use in computer simulations Can be integrated with computer/numerical/experimental models Can be done well before a prototype is built (and can be instrumental in deciding whether to prototype)
Electrical Elements:
Mechanical Elements
Variables; Velocity (across variable) and force (through variable) Mass (Inertia) Element (A-Type Element) Constitutive Equation (Newton s 2nd Law): m dt = f m = mass (inertia) Power = fv = rate of change of energy 1 2 dv E = fv dt = m v dt = mv dv Energy E = mv (Kinetic Energy) 2 dt
dv
1 v (t ) = v(0 ) + m
-
f
0
-
dt
Set t = 0 v (0 ) = v (0 ) unless force is infinite. Note: 0- denotes instant just before t = 0 and 0+ denotes instant just after t = 0. Observations: 1. Velocity (across variable) represents the state of an inertia element A=Type Element Notes: 1. Velocity at any t is completely determined from initial velocity and the applied force; 2. Energy of inertia element is represented by v alone. 2. Velocity across an inertia element cannot change instantaneously unless infinite force/torque applied. 3. A finite force cannot cause an infinite acceleration in inertia element. A finite instantaneous change (step) in velocity needs an infinite force v is a natural output (or state) variable and f is a natural input variable for inertia element.
Mechanical Elements
Spring (Stiffness) Element (T-Type Element) Constitutive Equation (Hook s Law): dt = kv k = stiffness Note: Differentiated version of familiar force-deflection Hooke s law in order to use velocity (as for inertia element) Energy
E = fv dt =
t
df
1 df f dt = k dt
1 k f df
Energy
1 f2 E= 2 k
f (t ) = f (0 ) + k v dt
0-
f (0 + ) = f (0 - )
Note: Energy storage element Observations: 1. Force (across variable) represents state of spring element T-Type Element Justified because: 1. Spring force of a spring at time t is completely determined from initial force and applied velocity; 2. Spring energy is represented by f alone. 2. Force through stiffness element cannot change instantaneously unless an infinite velocity is applied to it. 3. Force f is a natural output (state) variable and v is a natural input variable for spring.
Mechanical Elements
Damping (Dissipation) Element (D-Type Element)
Constitutive Equation: f = bv b = damping constant (damping coefficient); for viscous damping Observations: 1. This is an energy dissipating element (D-Type Element) 2. Either f or v may represent the state 3. No new state variable is defined by this element.
Electrical Elements Variables: Voltage (across variable) and the current (through variable) Capacitor Element (A-Type Element) dv Constitutive Equation: C dt = i C = capacitance Power = iv Energy Energy
E= 1 C v2 2
E = iv dt = C
dv v dt = Cv dv dt
(electrostatic energy)
t 0-
v(0 + ) = v (0 - )
Observations: 1. Voltage (across variable) is state variable for a capacitor A-Type Element 2. Voltage across a capacitor cannot change instantaneously unless an infinite current is applied. 3. Voltage is a natural output variable and current is a natural input variable for a capacitor.
Electrical Elements
Inductor Element (T-Type Element) Constitutive Equation: L = inductance
E= 1 2 Li 2
L di =v dt
Energy (Electromagnetic energy) Note: Energy storage element Integrate constitutive equation:
i (t ) = i (0 - ) + 1 v dt L 0 t
Observations: Current (through variable) is state variable for an inductor T-Type Element Current through an inductor cannot change instantaneously unless an infinite voltage is applied. Current is a natural output variable and voltage is a natural input variable for an inductor.
Electrical Elements
Resistor Element (D-Type Element) Constitutive Equation: R = resistance
v = Ri
(Ohm s law)
Observations: 1. This is an energy dissipating element (D-Type Element) 2. Either i or v may represent the state 3. No new state variable is defined by this element.
Thermal Elements
Variables: Across variable temperature (T) and through variable heat transfer rate (Q).
Thermal Capacitor (A-Type Element) Consider control volume V of fluid with, density r, and specific heat c. Constitutive Equation: Net heat transfer rate into the control volume
dT =Q dt Ct = rvc = thermal Ct
Q = rVc
dT dt
Observations: Temperature T is state variable for thermal capacitor (from usual argument) A-Type Element Heat transfer rate Q is natural input and temperature T is natural output for this element This is a storage element (stores thermal energy) Note: There is no thermal inductor like storage element with state variable Q .
Thermal Elements
Thermal Resistance (D-Type Element)
Three basic processes of heat transfer three different types of thermal resistance Constitutive Relations Conduction:
Q= kA T Dx
k = conductivity; A = area of cross section of the heat conduction element; Dx = length of heat conduction that has a temperature drop of T. Conductive resistance
Rk = Dx kA
Convection: Q = hc AT hc = convection heat transfer coefficient; A = area of heat convection surface with temperature drop T Conductive resistance
Rc = 1 hc A
Radiation: Q = sFE FA A(T14 - T24 ) a nonlinear thermal resistor s = Stefan-Boltzman constant FE = effective emmisivity of the radiation source (of temperature T1) FA = shape factor of the radiation receiver (of temperature T2) A = effective surface area of the receiver.
Fluid Elements
Variables: Pressure (across variable) P and volume flow rate (through variable) Q Fluid Capacitor (A-Type Element) dP Constitutive Equation: C f dt = Q Note 1: Stores potential energy (a fluid spring ) Note 2: Pressure (across variable) is state variable for fluid capacitor A-Type Element Three Types: Fluid compression; Flexible container; Gravity head V 1a. For liquid control volume V of bulk modulus b : Cbulk = b 1b. For isothermal (constant temperature, slow-process) gas of volume V and pressure:
Ccomp = V P
Ccomp =
V kP
Note: For a fluid with bulk modulus, the equivalent capacitance = Cbulk + Celastic . A 3. For incompressible fluid column of area of cross-section A and density r: C grav = rg
Fluid Elements
Fluid Inertor (T-Type Element)
dQ =P dt
Constitutive Equation:
If
Note 1: Volume flow rate Q (through variable) is state variable for fluid inertor T-type Element Note 2: It stores kinetic energy, unlike the mechanical T-type element (spring), which stores potential energy. With uniform velocity distribution across A over length segment Fluid inertance
If = r Dx A
Dx :
For a non-uniform velocity distribution: Fluid inertance I f = ar A (correction factor a) For a pipe of circular cross-section with a parabolic velocity distribution, a = 2.0
Dx
Fluid Elements
Fluid Resistor (D-Type Element)
P = Rf Q
For Viscous Flow Through a Uniform Pipe: (a) With circular cross-section of diameter d:
R f = 128 m
Dx pd 4
R f = 12 m
Dx wb 3
TranslatoryMechanical v = velocity f = force Electrical v = voltage i = current Thermal T = temperature difference Q = heat transfer rate Fluid P = pressure difference Q = volume flow rate
nd
L = inductance None
Rt = thermal resistance
Fluid Inertor
If dQ =P dt
Fluid Resistor
Rf Q = P
Cf = fluid capacitance
If = inertance
Rf = fluid resistance
Force-Current Analogy
System Type SystemVariables: ThroughVariables AcrossVariables System Parameters Mechanical Force f Velocity v m k b Electrical Current i Voltage v C 1/L 1/R
Natural Oscillations
Require two-types of energy One type of stored energy is converted into the other type, repeatedly back and forth oscillatory natural response. Some energy will dissipate (through the dissipative mechanism of Dtype element) Natural oscillations will decay Mechanical Systems: Kinetic Energy and Potential Energy (Elastic or Gravitational) Electrical Systems: Electrostatic Energy and Electromagnetic Energy Fluid Systems: Kinetic Energy of Flow and Potential Energy of Fluid Storage or Head Thermal Systems: Only one type of energy storage element (A-type) with only one type of energy (thermal energy) purely thermal systems cannot naturally oscillate (unless with external force, or integrated with other systems (e.g., fluid systems).
B1 W w1
B1
J w B2
J B2
w1
w B2 w
& Jw
B2w
Substitute (ii) into (i): dt = - B T - Kw + KW 1 This is one state equation. For J: & Constitutive relation: Jw + B2w - T = 0 dw B 1 =- 2w+ T => dt J J This is the second state equation. Vector-matrix form of the state-space model:
dT - K dt B 1 = dw 1 dt J -K T K + W B - 2 w 0 J
dT
(iv)
Model Linearization
Model linearization
Real systems are nonlinear They are represented by nonlinear analytical models Common techniques (e.g., response analysis, frequency domain analysis, eigenvalue problem analysis, simulation, control) use linear models Method: Linearize each nonlinear term (1st order Taylor series approximation) Note: A nonlinear term may be a function of more than one independent variable.
Example
Induction Motor-Pump Combination in Spray Painting System of Automobile Assembly Plant Light gear with efficiency h and speed ratio 1:r; flexible shaft torsional stiffness kp Moments inertia of motor rotor and pump impeller: Jm and Jp Dissipation in motor and bearings: viscous damping of damping constant bm Pump load (paint load plus dissipation): viscous damping constant bp T qw (w - w ) Tm = 0 0 2 0 2 m Magnetic torque Tm of induction motor (qw0 - w m )
w m = motor speed; T0 depends quadratically on phase voltage supplied to motor; w 0 line frequency of the AC supply; q > 1.0
Related Questions
(a) Comment about the accuracy of model (b) State variables: motor speed w m , pump-shaft torque Tp, pump speed w p . Derive three state equations: nonlinear state model. What are the inputs to the system? (c) What do parameters w0 and T0 represent with regard to motor behavior? Determine Tm Tm , and Tm and verify that first is negative and other two are positive. Note:
w m T0 w0
under normal operating conditions 0 < wm < w0 . (d) Consider steady-state operating point: steady motor speed wm . Obtain expressions for w p , Tp, and T0 at operating point, in terms of wm and w0 (e) Let Tm = -b , Tm = b1 , and Tm = b 2 at operating point. Voltage control: vary T0;
wm T0 w0
Frequency control: vary w0 . Linearize state model about operating point and express it in terms of incremental variables wm , Tp , w p , T0 , w0 . Let (incremental) output variables be incremental pump speed w p and incremental angle of twist of the pump shaft. Obtain linear state space model A, B, C and D. (f)For frequency control only ( T0 = 0) obtain input-output differential equation relating
w p and w0 .
d 3w p dt 3
will
(a) Backlash and inertia of gear transmission neglected (not accurate in general). Gear efficiency h is assumed constant but usually varies with speed There is some flexibility in the shaft (coupling) between gear and drive motor Energy dissipation (in pump load, bearings) is lumped into a single linear viscous-damping element (In practice nonlinear and distributed) dq p dq m wp = (b) Motor speed w m = ; Load (pump) speed ; qm = motor rotation; qp = pump rotation dt dt Gear efficiency h =
Tp r wm Tg w m = Output Power with Tg = reaction torque on motor shaft from gear Input Power
Solution
& Newton s 2nd law (Torque = Inertia Angular Acceleration) for motor: Tm - Tg - bmw m = J mw m & Newton s 2nd law for pump: T p - b pw p = J pw p (iii)
Hooke s law (Torque = torsional stiffness angle of twist) for flexible shaft: Tp = k p (rq m - q p ) State Equations: (ii), (iii), and derivative of (iv); Specifically Substitute (i) into (ii): Differentiate (iv): Equation (iii):
r & J mw m = Tm - bmw m - T p h
& Tp = k p (rwm - w p )
& J pw p = Tp - bpw p
Note: Nonlinear model; State vector = [wm Tp w p ]T ; Input Tm = Strictly, two inputs: w 0 (speed of rotating magnetic field
line frequency); T0
(phase voltage)2
Solution (Cont d)
(c) From (viii): When w m = 0 Tm = T0 T0 = starting torque of motor From (viii): When Tm = 0 w m = w 0 w0 = no-load speed = synchronous speed Note: Under no-load conditions, no slip Actual speed of induction motor = speed w 0 of rotating magnetic field Differentiate (viii) with respect to T0 , w 0 , and w m :
Tm qw 0 (w 0 - w m ) = = b1 2 2 T0 (qw 0 - w m )
2 2 2 Tm T0 q[( qw0 - wm )(2w0 - wm ) - w0 (w0 - wm )2qw0 ] T0 qwm [(w0 - wm ) 2 + (q - 1)w0 ] = = = b 2 (say) 2 2 2 2 w0 (qw0 - wm ) 2 ( qw0 - wm )2 2 2 2 Tm T0 qw0 [( qw0 - wm )( -1) - (w0 - wm )( -2wm )] T0 qw0 [( q - 1)w0 + (w0 - wm )2 ] = == -b (say) 2 2 2 2 wm (qw0 - wm )2 ( qw0 - wm )2
(xi)
Note: b1 > 0 ; b2 > 0 ; b > 0 (d) Steady-state operating point rates of changes of state variables = 0
& & & Set wm = 0 = Tp = w p in (v)
r Tp ; 0 = k p ( rwm - w p ) ; h
(vii) (xiii)
0 = Tm - bmw m -
0 = Tp - bpw p
w p = rwm (xii);
Tm = bmwm + r b pwm
2
Tp = bp rwm
T qw (w - w ) h = 0 02 0 2 m ( qw0 - wm )
T0 =
2 2 w m (bm + r 2 b p h )(qw0 - wm )
qw0 (w0 - w m )
(xiv)
Solution (Cont d)
(e) Take increments of state equations (v) (vii):
r & J mwm = -bmwm - T p - bwm + b1T0 + b 2w0 h
Where
Tm =
(xviii)
(f) For frequency control, T0 = 0 Substitute (xvi) into (xv) to eliminate w m ; Substitute (xvii) into the result to eliminate Tp Input-Output Differential Equation:
Jm J p kp ( d 3w p dt 3 + [ J mbp + J p (bm + b)] d 2w p dt 2 + [k p ( J m + r2J p h ) + bp (bm + b)] dw p dt +
r 2bp h
(xix)
+ bm + b)w p = b 2 rk pw0
3rd order differential equation; system is 3rd order; state-space model is also 3rd order.
Solution (Cont d)
Observation From (xix): When w0 is changed by finite step Dw0 RHS of (xix) will be finite LHS, and particularly highest derivative ( Further Verification: If as a result,
d 3w p
d 2w p dt 2
d 3w p dt 3
dt 3 should change by an infinite value (Note: derivative of a step = impulse) Contradicts the fact that RHS of (xix) is finite
d 2w p dt 2
d 3w p dt
3
, dt , and w p will not change instantaneously will change instantaneously by a finite value due to finite step change of w 0
d 3w p dt
3
dw p
Only
is J J Dw0 m p
b 2 rk p
Torque-Speed Curves: (a) Shunt-Wound; (b)Series-Wound; (c) Compound-Wound; (d) General Case Note: In each curve, excitation voltage vc is maintained constant
(a) Equivalent circuit of a dc motor (separately excited) (b) Armature mechanical loading diagram
Note: Included mechanical damping effects depends on mechanical damping present during test (primarily bearing friction) Draw a vertical line through operating point O Torque intercept DTm between two curves Note: Vertical line is a constant speed line Voltage Gain:
T d Tm = m wm
kv = Tm vc =
wm = constant
DTm Dvc
dwm +
vc
Tm vc
wm
Note: Torque needed to drive rotor inertia is not included in this equation (because steady-state curves are used in determining parameters) Inertia term is explicitly present in Mechanical Equation of motor rotor (See Figure (b)): d dw m Jm = d Tm - d TL dt Note: Overall damping constant of motor (electrical and mechanical damping) is included
Linear Graphs
Linear Graphs
Graphical representation of a model Allow visualization of system structure (before formulation of an analytical model) Help identify similarities (structure, performance) in different types of systems Applicable for Lumped-parameter systems They use interconnected line segments (branches) Linear graph use of line segments (Nothing to with system linearity) A convenient tool for developing state-space model
Single-Port Elements
Port: Place where energy/power is exchanged environment (input or output of energy/power) with
A Single-Port (Single Power or Energy Port) Element: Represented by a single branch (line segment) Has a through variable f and a corresponding across variable v, given as the ordered pair f,v on the branch The relationship between f and v can be nonlinear Possesses only one power variable, which is the product of f and v; with just one power port, hence the name Has two terminals
f, v
or Dissipated
Element 1
v = v2 - v1
(b)
f, v
(c)
v2
v1
f 2 1 2
Element 1
v = v2 - v1
Note: Reversing the directions of both f and v won t affect power flow direction (See (a) and (c); Convention (a) is preferred (A) Work done on element at point of action (by an external device) is positive (B) Work done by element at point of reference (on an external load) is positive. Note: (A) (B) Stored in element (e.g., kinetic or potential) Has capacity to do work or dissipated (damping) through mechanisms manifested as heat transfer, noise, etc.
Source Elements
T-Type Source (e.g., Force Source, Current Source) A-Type Source (e.g., Velocity Source, Voltage Source)
(a) T-Type Source (through-variable input); (b) Linear graph representation (Arrowhead: positive direction of through variable) (c) A-Type Source; (d) Linear graph representation (+ sign: point of action; - sign: point of reference; Arrow head: direction of across variable drop)
(a) Two systems connected in series to a T-source (b) Two systems connected in parallel to an A-source.
fi (b)
vo
fi vi
vo
fo
(c) fi , v i r fo , v o
vo = rvi fo = 1 fi r
Reference g
Electrical Transformer
Fluid Transformer
vo = r vi
Conservation of power: fi vi + f o vo = 0
fo = 1 fi r
Note: r is a dimensional parameter Note: Electrical transducers and transmission devices are also treated as transformers (idealized by neglecting dissipation)
w
L fi , v i
(c) fi , vi fo , v o
vo = Mfi fo = 1 vi M
R e f e r e nc e g
=0
Mechanical Example
Three primary loops; Force source E.g., Loop 1: m-k; Loop 2: k-b; Loop 3: b-f Other Choices: (b-k, m-b and m-f) or (b-k, m-b and f-k), etc. Note: m-k loop = (m-b loop) - (b-k loop); or Loop 1 = (m-b loop) Loop 2 f-m loop = (f-b loop) + (b-m loop); or f-m loop = Loop 3 + (b-m loop) Verify these relations using loop equations Loop 1 Equation: v1 v2 = 0; Loop 2 Equation: v2 v3 = 0 Loop 3 Equation: v3 v = 0; m-b Loop Equation: v1 v3 = 0 f-m Loop Equation: v1 v = 0
Spring (k), Damper (b): (a) Connected in parallel; (b) Connected in series (a) has two primary loops (two elements in parallel) (b) has only one loop (all elements in series with force)
Amplifiers
Accomplish signal amplification Are active devices (need external power to operate) Electrical Signals: Voltage, Current, Power Voltage amplifiers, Current amplifiers, Power amplifiers Note: Analogous across variables, through variables, and power variables exist for other types of systems Mechanical Signals: Velocity, Force, Power Signal levels at component interface locations may have to be adjusted for satisfactory performance E.g.: Input to an actuator should possess adequate power to drive the load Use a power amplifier
Linear Graph
State Space Model
Node Equations:
i - iR = 0 iR - ia = 0 ia - ib = 0 -Tm - Td - Tb - Tk = 0
Constitutive Equations:
wm =
vL = va (t ) - vR - vb = va (t ) - Ra ia - kmwm = - Ra ia - kmwd + va (t )
Td = -Tk - Tm - Tb = -Tk + kmib - bd wb = kmia - bd wd - Tk
w k = wb = w d
y = Cx + Du
where
- Ra La k J m d A= 0 -km La -bd J d kd 0 -1 J d ; 0
1 La 0 ; C= B= 0
0 1 0 0 0 1 ;
D=0
Note 1: This is a multi-domain (Electro-mechanical model) Note 2: Multi-functional devices (e.g., piezoelectric device that serves as both actuator and sensor) may be modeled similarly, using an electro-mechanical transformer (or, reciprocity principle ).
Transfer Function Dynamic Stiffness Receptance, Dynamic Flexibility, Compliance Impedance (Z) Mobility (M) Dynamic Inertia Accelerance Force Transmissibility (Tf) Motion Transmissibility (Tm)
Definition (Laplace or Frequency Domains) Force/Displacement Displacement/Force Force/Velocity Velocity/Force Force/Acceleration Acceleration/Force Transmitted Force/Applied Force Transmitted Velocity/Applied Velocity
dv m = f dt df = kv dt f = bv
Z m = ms
k Zk = s Zb = b
Mm =
Mk =
Mb =
1 ms
s k
1 b
dv C =i dt
L di =v dt
1 ZC = Cs
WC = Cs
1 WL = Ls 1 WR = R
Z L = Ls
Ri = v
ZR = R
Note: Frequency domain is a special case of Laplace domain Commonly frequency domain is used in the impedance methods
Parallel Connections
f1 Z1 M1 Z2 M2 v
v = v1 + v 2
v v1 v 2 = + f f f
f = f1 + f 2
f f f = 1 = 2 v v v
M = M1 + M 2
1 1 1 = + Z Z1 Z 2
Z = Z1 + Z 2
1 1 1 = + M M1 M 2
v = v1 + v 2
v v1 v2 = + i i i
Z = Z1 + Z 2
1 1 1 = + W W1 W2
i = i1 + i2
i i1 i2 = = v v v
W = W1 + W2
1 1 1 = + Z Z1 Z 2
Note: Electrical Impedance and Mechanical Mobility are A-Type Transfer Functions [Across Variable/Through Variable] Same Interconnection Law Electrical Admittance and Mechanical Impedance are T-Type Transfer Functions [Through Variable/Across Variable] Same Interconnection Law
(a) Circuit segment with impedances and sources Ze = equivalent impedance with source killed (i.e., voltage sources shorted and current source opened) = Thevenin resistance
Voc(s) = open-circuit voltage at cut terminals Isc(s) = short-circuit current at cut terminals (c) Norton Equivalent Circuit
Note: Variables are expressed in Laplace or frequency domains Note 2: For multiple sources, use superposition (linear system)
For Example: 1.For parallel branches: mobilities are combined by inverse relation (M = M
M 1M 2 1 + M2
2.For series branches: Mobilities add ( M = M 1 + M 2 ); Force is common; velocity is divided in proportion to mobility 3.Killing a force source means open-circuiting it (so, transmitted force = 0) 4.Killing a velocity source means short-circuiting it (so, velocity across = 0)
Mechanical System
Linear Graph
Equivalent Circuit
Mm =
Note: Norton equivalent circuit is same as (b) or (c) No additional useful information.
Example 1 (Continued)
Check Velocity Across and Force Through Mm for All Circuits For Circuits (b) and (c):
Velocity Across Inertia Element = Mobility of Circuit Source Force
M sM m F (s) s + Mm
(iii)
(Note: Suspension and mass are connected in parallel) Force through mass element =
Ms F ( s) Ms + Mm
(iv)
Note: Simply divide (iii) by mass mobility; or since force is divided inversely to mobilities in parallel paths For Circuit (d): Velocities are divided in proportion to mobilities in series paths M Velocity across mass = M + M V (s)
m oc e m
Substitute (i) and use (ii): Velocity across mass element = M s + M m F (s) This is identical to (iii) Force through mass = This is identical to (iv)
Voc ( s) Me + Mm
MsMm
Ms F (s) Ms + Mm
Mechanical System
Linear Graph
Equivalent Circuit
Mm =
Note: Norton equivalent circuit is same as (b) or (c) No additional useful information.
Example 2 (Continued)
Check Velocity Across and Force Through Mm for All Circuits For Circuits (b) and (c): Velocity across mass element
Vm = Mm V (s) Ms + Mm
(iii)
(Note: Suspension and mass are connected in series velocities are divided in proportion to mobilities) Force through mass element =
V (s) Ms + Mm
(iv)
For Circuit (d): Equivalent mobility of the two parallel elements = Velocity across mass = This is identical to (iii) Force through mass element =
Me Fsc (s ) Me + Mm
MeM m Me + Mm
Mm V ( s) s + Mm
MeM m Fsc ( s) Me + Mm
(Note: Force is divided inversely to mobilities in a parallel connection) V ( s) Substitute (i) and (ii): Force through mass element = M + M
s m
Mechanical System
Linear Graph
Example 3: (Continued)
F1 =
Fs =
M m 2 ( M s1 + M m1 ) M m1 M m1M m 2 F ( s) ; M e = F ( s) ; Voc ( s) = M m 2 F1 = M m 2 + ( M s1 + M m1 ) ( M s1 + M m 2 + M m1 ) ( M s1 + M m 2 + M m1 )
Voc ( s) M m1M m 2 1 = F ( s) M ( M + M m1 ) ( M e + M s ) ( M s1 + M m 2 + M m1 ) [ m 2 s1 + Ms] M m 2 + ( M s1 + M m1 )
Fs =
M m1M m 2 F ( s ) M m 2 ( M s1 + M m1 ) + M s ( M s1 + M m 2 + M m1 )
Tf =
M m1M m 2 M m 2 ( M s1 + M m1 ) + M s (M s1 + M m 2 + M m1 )
Mechanical System
Linear Graph
Example 4: (Continued)
Note:
Vm =
Fsc ( s ) M e =
M m1
M m2 V ( s) (M m2 + M s )
Vm =
M m1M m 2 V ( s) M m 2 ( M m1 + M s1 ) + M s ( M m1 + M s1 + M m 2 )
Tm =
M m1M m 2 M m 2 ( M m1 + M s1 ) + M s (M m1 + M s1 + M m 2 )
Mechanical Components
Load bearing/structural components (strength and surface properties) (Bearings, springs, shafts, beams, columns, flanges) Fasteners (strength) (Bolts and nuts, locks and keys, screws, rivets, and spring retainers, welding, bracing, soldering) Dynamic isolation components (transmissibility)
(Springs, dampers, shock and vibration mounts, inertia blocks, suspension systems)
Transmission components (motion conversion) (Gears, friction or traction drives, lead screws and nuts, power screws, racks and pinions, cams and followers, chains and sprockets, belts and pulleys or drums, differentials, kinematic linkages, flexible couplings, fluid transmissions) Mechanical actuators (generated force/torque) (Hydraulic pistons and cylinders or rams, hydraulic motors, their pneumatic counterparts) Mechanical controllers (controlled energy dissipation) (Clutches, brakes, hydraulic and pneumatic servo valves)
Harmonic Drive
Fixed Rigid Spline with Internal Teeth (nr)
Wave Generator (Cam) Driven by Input (Actuator) Shaft Annular Spline (Flexispline) with External Teeth (nf) (Output)
2p flexispline = n radians . f
Rotation of flexispline during one revolution of wave generator (around the rigid spline):
=>
r=
nf n f - nr
behavior of each
Impedance
Input Impedance Zi: [Rated input voltage]/[Current through input terminals] (while output terminals are maintained in open circuit) Output Impedance Zo: [Open-circuit (no-load) voltage at output port]/ [Short-circuit current at output port] (while rated voltage is applied at input)
Note: Generalized Impedance = [Across Variable]/ [Through Variable] Mechanical Impedance = Force/ Velocity Mechanical Mobility = Velocity/ Force => Generalized Impedance: Mechanical Mobility or Electrical Impedance
vo = G vi + Input vi Zi G + vo Output Zo
v o1 = G1 vi
Zi 2 vi 2 = v o1 Z o1 + Z i 2
Zi 2 G2 G1 vi Z o1 + Z i 2
v o = G2 v i 2
vo =
Zi2 1 = Z o1 + Z i 2 Z o1 / Z i 2 + 1
vl = il Rl =
v s Rl Rl + R s
2
dp
Rl = Rs
Jm
JL
Jm
qg
Gear r:1 Tg
(i)
Jm Tg/r
qg JL
(ii)
r (1 + p ) a= 2 => (r + p)
with p = JL/Jm.
For r = 0, a = 0; For r , a 0.
a (1 + p )[( r 2 + p ) - r 2r ] = = 0 => Peak value of a => r (r 2 + p ) 2
rp =
p and a p = 2 p
1+ p
p 0.1
rp
ap
0.31 1.74 6
1.0
1.0
1.0
p = 10.0
1.0
p = 1.0
0 0.316
1.0
Signal Modification
Amplification Filtering Modulation & Demodulation Bridge Circuitry ADC and DAC etc.
Operational Amplifier
(a) +vs (Positive Power Supply Collector vCC) + vi -
vip
(Noninverting)
Inputs vin
(Inverting)
Zi
Zo + Kv i -
Output vo = K v i
Pin Designations:
8 7 6 5
1 2 3 4 5 6 7
Offset Null Inverting Input Noninverting Input Negative Power Supply vEE Offset Null Output Positive Power Supply v
Operational Amplifier
v o = Kvi
with
vi = vip - vin
Very high open loop voltage gain K (105 to 10 9) Very high input impedance Zi (2 MW to 10 MW) Low output impedance is low (10 W to 75 W) Typical output vo is 1 to 15 V => vi @ 0 => vip @ vin Note: If we apply a large voltage differential vi (say, 10 V) => op amp saturates => output voltage ~ 15 V Properties of Op-amp: 1. Voltages of the two input leads are (almost) equal (due to high open-loop gain). 2. Currents through each input lead is (almost) zero (due to high input impedance).
Voltage between an input lead and ground Current through that lead
(with other input lead grounded and the output in open circuit) Output impedance =
Voltage between output lead and ground in open circuit Current through that lead
(with normal input conditions) Bandwidth = frequency range in which the frequency response is flat (gain is constant). Gain bandwidth product (GBP) = Open-loop gain x Bandwidth at that gain Input bias current = average (DC) current through one input lead Input offset current = difference in the two input bias currents Differential input voltage = voltage at one input lead with the other grounded when the output voltage is zero. Common-mode gain =
Output voltage when input leads are at the same voltage Common input voltage
Open loop differential gain Common-mode gain
Slew rate = rate of change of output of a unity-gain op-amp, for a step input
Kv = voltage gain
Kv = 1 + Rf R
R
+ A -
Output vo
Rf (b)
R
i o = Ki ii
Ki = current gain
Ki = 1 + Rf R
Note: Feedback
Instrumentation Amplifiers
(a) Rf
A B + Output vo
vo =
Rf R
( vi 2 - v i 1 )
(b) vi1 + A R1 1
Rf
R4
2R v B - v A = 1 + 1 ( vi 2 - vi1 ) R2
R3
+ R4+d R4 Output vo
R vo = 4 ( v B - v A ) R3
Inputs 2 -
R2
R3 R1 B
vi2
Filter Summary
Active Filters (Need External Power) Advantages: Smaller loading errors and interaction (have high input impedance and low output impedance, and hence don t affect the input circuit conditions, output signals and other components). Lower cost Better accuracy Passive Filters (No External Power, Use Passive Elements) Advantages: Useable at very high frequencies (e.g., radio frequency) No need of a power supply
Filter Types
Low Pass: Allows frequency components up to cutoff and rejects the higher frequency components. High Pass: Rejects frequency components up to cutoff and allows the higher frequency components. Band Pass: Allows frequency components within an interval and rejects the rest. Notch (or, Band Reject): Rejects frequency components within an interval (usually, a narrow band) and allows the rest.
Definitions
Filter Order: Number of poles in the filter circuit or transfer function Anti-aliasing Filter: Low-pass filter with cutoff at less than half the sampling rate (i.e., at less than Nyquist frequency), for digital processing. Butterworth Filter: A high-order filter with a quite flat pass band. Chebyshev Filter: An optimal filter with uniform ripples in the pass band Sallen-Key Fitler: An active filter whose output is in phase with input.
Filters (Ideal)
(a) w
Magnitude
G( f )
1 0
fc = Cutoff frequency
fc
Frequency f
(b)
G( f )
1 0
fc
(c)
G( f )
1 0
fc1
fc2
(d)
G( f )
1 0
fc1
fc2
Tracking Filter
Input Channel 1
Output Channel 1
Tracking Filter
Input Channel 2 Output Channel 2
Modulation
(a)
Time t
(b)
t
(c)
t
(d)
t
(e)
t
(a) Modulating signal (data signal); (b) Amplitude-modulated (AM) signal; (c) Frequency-modulated (FM) signal; (d) Pulse-width-modulated (PWM) signal (pulse period is fixed); (e) Pulse-frequency-modulated (PFM) signal (pulse width is fixed).
Modulation Theorem
(a) A transient data signal and its Fourier spectrum magnitude; (b) Amplitude-modulated signal and its Fourier spectrum magnitude; (c) A sinusoidal data signal; (d) Amplitude modulation by a sinusoidal signal.
Carrier SIGNAL
(a)
~ X( f )
M
M 2
-2 fc -fb 0 fb 2 fc
Frequency f
(b)
Modulated Signal
Multiplier
~ (t ) x
OUT
x a (t )
Carrier
Original Signal
Low-Pass Filter
Cutoff = fb
x (t )
2 cos 2pf c t ac
Wheatstone Bridge
(a) R1 A R2 R4 B
vref (Constant Voltage)
Small i
+ RL
vo Load (High)
R3
(b) R1
A R2 R4 B
iref (Constant Current)
Small i
+ RL
vo Load (High)
R3
(c) A R C R+ R B + vref
+
Rf
R + D R
vo
(a) Constant-voltage resistance bridge; (b) Constant-current resistance bridge; (c) A linearized bridge.
Bridge Equations
(a) Constant-Voltage Bridge (Wheatstone Bridge)
vo = v A - vB = R1vref (R1 + R2 ) R3vref (R3 + R4 ) = (R1 R4 - R2 R3 ) vref (R1 + R2 )(R3 + R4 )
Linearize:
dvo dR = v ref 4R
+ Output vo
R dR dvo R f dR = ; f vref R ( R + dR ) R R
(when linearized)
Output vo
Z3
Z4
(b)
C1 L4 R3 C3 ~ vref R4
R2
Output vo
(c) R1
C4
R2
vo
R3 C3 ~ vref
R4
Performance Specification
Categories:
Speed of Response Stability Accuracy (e.g., Steady-state Error or Offset)
2%
100
1.0 0.9 Settling Time Boundary 0.5 Speed of Response Boundary 0.1 0
0 T T d r Trd
Tp
Ts
Time t
Tr =
p -f with cos f = z wd Tp = p wd
p z 1- z 2
Mp = 1 - e
Percentage Overshoot (P.O.)
-
p z 1- z
P. O.= 100 e
Time Constant
t = 1 zw n
ln 0.02 1 - z 2 zw n
] 4t =
4 zw n
m = equivalent mass = 250 kg; b = equivalent damping constant k = equivalent stiffness = 60.0 103 N/m; u = displacement excitation at the wheel.
b z = Damping ratio 2 km
Note: Equivalent mass at each wheel = 1/4th the total mass. For a P.O of 1%: Substitute: 0.83 =
1 = 100exp(pz 1-z
2
=> z = 0.83
b 2 60 10 250.0
3
Bandwidth (speed of response) Static Gain (steady-state performance) Resonant Frequency (speed and critical frequency region) Magnitude at Resonance (stability) Input Impedance (loading, efficiency, interconnectability)
Mo = static gain (DC Gain) fr = resonant frequency Slop within 1 dB/decade Mo Useful Frequency Range Df fmin fmax fr Frequency (Hz)
Phase Angle
Output Impedance (loading, efficiency, interconnectability) Gain Margin (stability) Phase Margin (stability)
Input u
Phase lag = p
G(jw)
-
Output y
H (jw)
(b)
Gain 0 dB
GM
Phase
-p
PM
wc
wp
Frequency (log)
Manifestations of Nonlinearity
(a) Saturation Level (b) (c)
Linear Range
-d
Device Input
Device Input
(e)
A (Jump)
Displacement
Frequency
(a) Saturation; (b) Dead zone; (c) Hysteresis; (d) The jump phenomenon; (e) Limit cycle response.
Other Considerations
Frequency Creation At steady state, nonlinear devices can create frequencies that are not present in the excitation signals. Methods to Reduce/Eliminate Nonlinear Behavior 1. Calibration (static case) 2. Use of linearizing elements (resistors, amplifiers) 3. Use of nonlinear feedback 4. Avoid operating the device over a wide range of signal levels. 5. Avoid operation over a wide frequency band. 6. Use devices that do not generate large mechanical motions. 7. Minimize Coulomb friction and stiction (e.g., by using proper lubrication). 8. Avoid loose joints and gear coupling (i.e., use direct-drive mechanisms).
Linear approximation
Dynamic range
Input
Bandwidth
Has different interpretations depending on context and application. Example Interpretations: 1. Useful Frequency Range: Flat region (static region) of spectrum (e.g., fBW = 0.25 fr ; slope smaller than 1 dB/decade; etc.). In this range, instrument dynamics will not corrupt signal. 2. For Measuring Instruments: Frequency range within which measurements are accurate 3. Relates to Fundamental Resonant Frequency of system System speed (response speed for a given excitation) 4. For Band-pass Filter: Frequency band within which the signal components are allowed through it 5. In Digital Communication Network: Capacity (information rate) 6. Frequency Uncertainty in Data. Note: Signal through a band-pass filter Signal frequency content not known exactly. The larger the filter bandwidth, less certain the actual frequency content of a passed signal
Control Bandwidth
Maximum possible speed of control. Frequency range within which a system can be controlled (assuming that all the devices in the system can operate within this bandwidth). Important specification in both analog control and digital control. In digital control, the data sampling rate (in samples/second) has to be several times higher than the control bandwidth (in hertz) so that sufficient data would be available to compute the control action. From Shannon's sampling theorem, control bandwidth is given by half the rate at which the control action is computed (to reduce aliasing).
0 (b)
Spectral Magnitude
fc
Frequency f
fc = Nyquist frequency
fc
Frequency f
Illustration of Aliasing
(a)
f1 = 0.2 Hz f2 = 0.8 Hz
Signal
1 2 3 4
Sampling rate fs = 1 sample /s Nyquist frequency fc = 0.5 Hz (b) Amplitude Spectrum
f1
0 0.2
fc
0.5
f2
0.8 Frequency (Hz)
DTc = tim taken to com each control action; DTp = pulse period of the position sensing encoder. e pute
we = 1000p rad/s; z e = 0.5; wm = 100p and 500 p rad/s ; z m = 0.3 ; DTc = 0.02 s
Solution
Drive system resonant frequency ~ 500 Hz => flat region of drive system spectrum ~ 1/10th = 50 Hz = limit of max spectral component of drive signal = hardware limit on control bandwidth
1 1 = Digital control signal rate DT 0.02 Hz = 50 Hz c
Control bandwidth ~ 25 Hz (Note: Governed by digital control even though drive system hardware can accommodate a bandwidth of about 50 Hz)
=> 2DT DT or DTp 0.5 DTc . p c 2 points of sampled sensor data for computing a control action.
Solution (Cont d)
100p % Case 1: Plant (positioning system) resonant frequency ~ 2p Hz - 50 Hz :
At frequencies near 50 Hz, resonance will interfere with control (avoid if possible) At frequencies >> 50 Hz, process will not significantly respond to control action (will not be of much use because plant will be felt like a rigid wall). => operating BW has to be sufficiently < 50 Hz (say 25 Hz), to avoid plant dynamics. Note: Is a matter of design judgment, based on application (e.g., excavator, disk drive). Typically, plant dynamics must be controlled => use entire control BW (i.e., max possible control speed) as operating BW (regardless the plant resonance). In the present case, even if the entire control BW (i.e., 25 Hz) is used as the operating BW, it still avoids the plant resonance (50 Hz).
Case 2: Plant resonance ~ 2p Hz ~ 250 Hz 500p
250p Hz - 125 Hz , % 2
Operating bandwidth cannot be greater than this value => Operating bandwidth ~ 25 Hz.
Error Combination
Important to Know How: Component errors are propagated within a multicomponent system Individual errors in system variables/parameters contribute toward overall error
Overall error in a mechatronic system depends on error levels of individual components (sensors, actuators, controller hardware, filters, amplifiers, etc.) and on the manner in which these components are physically interconnected/interrelated.
(i)
x i f ei y x i
Note: In the expression, terms e are positive. When specifying error, both +ve and -ve limits should be indicated or implied (e.g.,
e ABS , ei ).
Note: This is not an upper bound estimate for error. Note: eSRSS < eABS when there are two or more nonzero error contributions Note: SRSS method is particularly suitable when component error is represented by the standard deviation of the associated variable/parameter value and when the corresponding error sources are independent.
Example
An optical device for measuring displacement (optical potentiometer) Potentiometer element is uniform and has resistance Rc. A photoresistive layer is sandwiched between Rc and a perfect conductor. Moving light source directs a light beam of intensity is I, on to a narrow rectangular region of photoresistive layer. As a result, this region becomes resistive with resistance R, bridging the potentiometer element and the conductor element, An empirical relation between R ( k ) and I (watts
R I 2 ln = 0 per square metre or W/m ): R0 I
Rx Photoresistive Layer Resistance R Conductor Light Intensity I
14
DC Supply
Example (Cont d)
Resistance R Exponential Curve
Io
10Io
Current I
Ro = minimum resistance provided by photoresistive bridge (at very high light intensity levels). When I = I o bridge resistance R ~ 2.7 Ro => Io ~ lower bound for intensity for proper operation of sensor. A suitable upper bound: I ~ 10 Io, for satisfactory operation => R ; 1.75Ro .
Example (Cont d)
Differentiate given relation:
d R d Ro 1 I o = R Ro 4 I
-3/ 4
d Io Io = 1 Io - 2 dI 4 I I I
1/ 4
d Io d I - => I Io
1/ 4
eIo + eI
Empirical value of I0 = 2.0 W/m2. Empirical errors: eR0 = 0.01 and eI 0 = 0.01 Due to variations in supply to light source and in ambient lighting conditions, fractional error in I = 0.01 . Error ER is to be maintained within 0.02
1 Io Substitute values: 0.02 = 0.01 + 4 I
1/ 4
Note: For larger values of I the absolute error in Ro would be smaller. For
1 1 eR = 0.01 + example, for I = 10 Io: 4 10
1/ 4
Example (Cont d)
Advantages Noncontacting Small moving mass (low inertial loading) All advantages of a potentiometer. Disadvantages Nonlinear and exponential variation of R Effect of ambient lighting Possible nonlinear behavior of the device (input-output relation) Effect of variations in the supply to the light source Effect of aging of the light source.
Sensors
Analog Sensors
Measurand (Typically analog) Signal sensor Transmittable variable Transducer (Typically Electrical)
Acceleration
Electric voltage
Piezoelectric Accelerometer
Biological Transducers
Sensors/Transducer Types
Pure Transducers: Depend on nondissipative coupling in the transduction stage (no wastage of signal power). Passive Transducers (Self-generating Transducers): Depend on their power transfer characteristics for operation (Do not need an external power source). Note: Pure transducers are passive devices. They derive their energy from the measurand => tend to distort (or load) the measured signal. Active Sensors/Transducers: Require external power for operation (Do not depend on power conversion characteristics for their operation). Note: Power refers to that in the immediate transducer stage (not the power used in subsequent signal conditioning).
Motion Transducers
Motion:
Displacement (position, distance, proximity, size, gage, etc.) Velocity Acceleration Jerk. Note: Direct relationship may not exist between a measuring device and a measured variable. Example: Strain gages can be adapted to measure displacements by using a front-end auxiliary sensor element (e.g., cantilever or spring). Note: Same measuring device may be used to measure different variables through appropriate data interpretation techniques. In principle, a force sensor can be used as an acceleration sensor, velocity sensor, or displacement sensor, depending on whether the front-end auxiliary sensor is: 1. Inertia element (converts acceleration into force), 2. Damping element (converts velocity into force), or 3. Spring element (converts displacement into force)
Potentiometer
Resistive Element Wiper Arm vref (Supply) i + vo (Measurement) No Current x (Measurand) vref i + Load % Z vo Impedance Nonzero Current
Resistive Element RC
q max
output vo Slider Arm R
q
Load RL
Supply vref
Loading Nonlinearity
vo (q q max )( RL RC ) = vref RL RC + (q q max ) - (q q max )2
1.0 0.9
0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
Displacement /
max
1. Increase RL/RC (increase load impedance, reduce coil impedance). 2. Use pots to measure small values of of the element for linear reading).
q q max
Performance of Potentiometer
Limitations:
1. 2. The force needed to move the slider (against friction and arm inertia) is provided by the displacement source => mechanical loading =>distorts measured signal. High-frequency (or highly transient) measurements are not feasible because of such factors as slider bounce, friction and inertia resistance, and induced voltages in the wiper arm and primary coil. 3. 4. 5. 6. Variations in the supply voltage cause error. Electrical loading error can be significant if the load resistance is low. Resolution is limited by the number of turns in the coil and by the coil uniformity. This will limit small-displacement measurements. Wearout and heating up (with associated oxidation) in the coil or film, and slider contact cause accelerated degradation.
Advantages:
1. 2. They are relatively inexpensive. Provide high-voltage (low-impedance) output signals, requiring no amplification in most applications. Impedance can be varied simply by changing the coil resistance and supply voltage.
Variable-Inductance Transducers
They employ the principle of electromagnetic induction. Electromechanical devices coupled by a magnetic field. Three Primary Types: 1. 2. 3. Mutual-induction transducers Self-induction transducers Permanent-magnet transducers.
Variable-reluctance Transducers: Variable-inductance transducers that use a non-magnetized ferromagnetic medium to alter the reluctance (magnetic resistance) of the flux path Note: Some of the mutual-induction transducers and most of self-induction transducers are of this type. Note: Permanent-magnet transducers are not considered variable-reluctance transducers.
Primary Coil
Housing
Ferromagnetic Core
vref (b)
Secondary Coil
vo
Voltage level
v p sin w c t
v1
+ _
v2 R2
v3 R1
Output
vo
+
R1
LVDT Amplifier Multiplier
R1
Low-pass Filter
x(t )
v1
v2
v3
vo
v3 =
v p 2 rk 2
x(t ) [1 - cos 2 wc t ]
v p 2 rk 2 x (t ) [1 - cos 2 w c t ] ; t = RC = filter time constant; ko = R/R1
Frequency Domain: v3 =
Advantages of LVDT
1.
Noncontacting
device
with
no
frictional
resistance.
Near-
ideal electromechanical energy conversion and light-weight core => very small resistive forces. Hysteresis (both magnetic hysteresis and mechanical backlash) is negligible. 2. Low output impedance ~ 100 W . (Signal amplification is not usually needed beyond what is provided by the conditioning circuit.) 3. Directional measurements (positive/negative) are obtained. 4. Available in small sizes (e.g., 1 cm long with maximum travel of 2 mm). 5. Has a simple and robust construction (inexpensive and durable). 6. Fine resolutions are possible (theoretically, infinitesimal resolution; practically, much better than a coil potentiometer).
DC Tachometer
Permanent-magnet velocity sensor; Uses electromagnetic induction Rectilinear speeds or angular speeds can be measured.
Permanent Magnet
Moving Coil
Output vo (Measurement)
Commutator
Speed wc
Permanent Magnet
wc
(b)
AC Tachometers
(a)
Output vo
Primary Stator
Secondary Stator
(b)
Output vo
Primary Stator
Secondary Stator
Compensating Coil
Active Coil
20 V DC Supply (a)
R1 RF Generator
R2
~
L+ L R1 R2
(b)
Variable-Capacitance Transducers
Capacitance Bridge DC Output vo Fixed Plate Rotation A
q
Rotating Plate (a) Capacitance Bridge vo
Fixed Plate
vo
Level h
Piezoelectric Accelerometer
Spring Direction of Sensitivity (Input) Inertia Mass Output vo Piezoelectric Element
Electrodes
Resonance
Useful Range
Charge Amplifier
Piezoelectric devices need a charge amplifier.
Primary Reasons: 1. 2. High output impedance in sensor => small output signal levels and large loading errors. The charge can quickly leak out through the load.
Rf Cf A -vo/K q C Cc + K + Output vo Charge Amplifier
Piezoelectric Sensor
Cable
=>
G( jw ) =
jt cw [ jtcw + 1]
tc = Rf C f
Stator
q
Tm TJ
Transmitted Torque TJ
Rotor
& Damping bq
(b)
Drive Amplifier
Rotor
1 s ( Js + b )
Joint Response
(c)
Joint Controller
Rotor
Strain Gages
dR = Ss e R
Single Element
Two-Element Rosette
Gearing
Motor Rotor
Driven Link
Bearing Tf1 D
Driven Link TL C
Bearing Tf2 B A TI
Motor
Tm Torque
Tm TI Tm TI TL Tf1 = Tm TI Tf2 TL Tf2
Tm
Axial Location
Accuracy
Sensitivity
0.2 mm/s
0.5%
5 mV/mm/s 75 mV/rad/s
Displacement
100 kHz/ DC
Moderate
0.5%
5 V/mm
25 kHz/ 1Hz
High
1%
0.5 mV/m/s2
200
1 - 10
6
(1 me =10-
1%
1 V/ e , 2,000
me
max
Moderate
1 mV/N
1 kHz/
DC
100
0.5% bit
1 V/mm 104/rev.
10 bit
Tactile Sensors
Force distribution is measured, using a closely spaced array of force sensors (usually exploiting skin-like properties of sensor array).
Important in: 1. Grasping 2. Object identification. Considerations: 1. Spatial resolution of about 2 mm 2. Force resolution (sensitivity) of about 2 gm 3. Force capacity (maximum touch force) of about 1 kg 4. Response time of 5 ms or less 5. Low hysteresis (low energy dissipation) 6. Durability under harsh working conditions 7. Robustness and insensitivity to change in environmental conditions (temperature, dust, humidity, vibration, etc.) 8. Capability to detect and even predict slip.
Reflecting Surface Fixed Array of Optical Fiber Beam Splitter Solid-State Camera
Image Processor
(b)
Digital Transducer
A measuring device that produces a digital output A transducer whose output is a pulse signal A transducer whose output is a frequency Advantages: 1. Less susceptible to noise, disturbances, or parameter variation in instruments (data generated/represented/transmitted/processed as bits: two states). 2. Complex signal processing with very high accuracy and speed by digital means (Hardware implementation is faster than software implementation). 3. High reliability by minimizing analog hardware components. 4. Large amounts of data may be stored using compact, high-density methods. 5. Data can be stored/maintained for very long periods of time without any drift or being affected by adverse environmental conditions. 6. Fast data transmission over long distances without significant dynamic delays (unlike analog systems). 7. Digital signals use low voltages (e.g., 0-12 V DC) and low power. 8. Digital devices typically have low overall cost.
Electronics Assembly Photodetector Array Code Disc and Spindle Assembly Light Source and Mask
Direction Sensing
Pick-Off Pick-Off 1 2 v1 90 Lags by 90 Time v2 Reference Window ,w Code Disk Reference Pulse Pick-Off v1 90 Lags by 90 Time t Time t t
(a)
Counting (timing) begins when the v1 signal begins to rise (i.e., when a rising edge is detected). n1 = number of clock cycles (time) up to time when v2 begins to rise n2 = number of clock cycles up to time when v1 begins to rise again. If n1 > n2 - n1 cw rotation If n1 < n2 - n1 ccw rotation.
v2
(b)
Time
Time (c)
Hardware Features
Collimating Lens Focusing Lens Photodiode Amplifier LED Two Photodiodes (Half-Pitch Offset) Photodiode Amplifier 5 V DC Supply
LED
Encoder Resolution
Displacement Measurement
q=
n q max M
(Number of bits = r)
Physical Resolution
Dq p =
360o 4N
2p NT
Pulse-timing method (For low speeds): Speed w = m / f = Nm (m clock counts with clock frequency f Hz)
2p f Nw 2 Velocity resolution Dwt ; Nm2 = 2p f
2p / N 2p f
Reading: 0 1 15
1 14
13
12
11
5 6 7 8 9
10
(b) 1 2
15 14 13
12
11
5 6 9 7 8
10
Actuators
Stepper Motors
Driven in fixed angular steps (increments) Each rotation step = rotor response to an input pulse (or a digital command) Three Basic Types: 1. Variable-reluctance (VR) stepper motors (have soft-iron rotors) 2. Permanent-magnet (PM) stepper motors (have magnetized rotors) 3. Hybrid stepper motors (have two stacks of rotor teeth forming the two poles of a permanent magnet located along the rotor axis).
Step 1
f1 =1
N Pole N Pole
f2 = 0
S Pole
f2 = 1
Step 2
f1 = 0
Step 3
f1 = -1
S Pole
f2 = 1
S Pole
N Pole
f2 = 1
S Pole N Pole
N Pole
Step 4
f1 = -1
S Pole
f2 = 0
N Pole
Start
f1 = 1 f2 = 0
Step 1
f1 = 0 f2 = 1
f3 = 0
f3 = 0
Step 2
f1 = 0 f2 = 0
Step 3
f1 = 1 f2 = 0
f3 = 1
f3 = 0
Stator Teeth S
Rotor Stack 1
Stator Stator Rotor Segment Segment Stack 2 1 2 (Phase 2) (Phase 1) Surrounding Surrounding Stack 2 Stack 1
Rotor stack misalignment (1/4 pitch) in a hybrid stepper motor (Schematically shows the state where phase 1 is off and phase 2 is on with N polarity).
Microstepping
Equilibrium (detentent) Position Before the Microstep i Equilibrium (dentent) Position After the Microstep
dq
i+di
Controller/ Indexer
Driver
Motor
Response Feedback
Computer/ Indexer
Translator
Amplifier
Stepper Motor
To Load
Current to Windings
Speed v vmax
Distance d
Time t
J e = J m + J g1
1 r2 + 2 ( J g 2 + J d + J s ) + 2 ( mc + m L ) p p
With efficiency h:
pa 1 r2 pa hTm = J ea = J e = [ J m + J g1 + 2 ( J g 2 + J d + J s ) + 2 (mc + mL )] r r p p
w max =
pv max r
10
=> Tm = 125.0[ J m + 0.104] N.m and w max = 0.1 rad/s = 10 2p rpm = 95.5 rpm Operating speed range = 0 to 95.5 rpm. Note: Torque at 95.5 rpm is < starting torque for first two motors (see speed-torque curves). In motor selection use the weakest point (i.e., lowest torque) in the operating speed range. Form the following table: Motor Model Available Torque at wmax (N.m) 0.26 0.60 2.58 7.41 Motor Rotor Inertia (kg.m2) 11.8 10-6 35.0 10-6 187.0 10-6 805.0 10-6 Required Torque (N.m) 13.0 13.0 13.0 13.1
1. 0
60
Note: Without a gear unit, available motors cannot meet system requirements.
or
Tm = 125.0[ J m + 50 10 - 6 +
1 104.2 10 -3 ] p N.m 2 p
For p = 2 we have wmax = 191.0 rpm. Form the following table: Motor Model 50 SM 101 SM 310 SM 1010 SM Available Torque at wmax (N.m) 0.25 0.58 2.63 7.41 Motor Rotor Required Inertia (kg.m2) Torque (N.m) -6 6.53 11.8 10 6.53 35.0 10-6 6.57 187.0 10-6 6.73 805.0 10-6
Note: For p = 2, motor model 1010 SM satisfies requirement. With full stepping, step angle = 1.8o. Corresponding step in conveyor motion = positioning resolution. 1.8o p -3 With p = 2 and r = 0.1 m, position resolution = 2 180o 0.1 = 1.57 10 m.
DC Motors
Current i Force F Field B Magnetic Field B (a) Field Supply vf
B 3 2
1 Torque Tm
N pole
S pole
N Pole Stator
Speed wm
3 Rotor
2 1 1 3
2 3
Torque in DC Motors
(a)
Torque T
2p
Commutation Point
Commutation Point
Commutation Point
(b)
T 1 2 3 Resultant
2 3
4 3
5 3
2p
Commutation Point
Rotor Poles
DC Power Supply
Stator Windings
S Pole
qm
Pulse Generator
Speed Setting
(a) + vf -
if
Rf
La
Ra
ia +
Lf
Vb
Tm
wm TL
va -
Tm Jm Damping
DC Servomotor
(Optional) Torque Sensor Transmitted Torque T
ia
Servo Controller
Tachometer or Encoder
wm (Speed)
qm (Position)
Encoder
DC Motor Drive/Control
Control Software Encoder
Drive Amplifier
DC Motor
To Brushless Motor
Commutation Logic
DC Motor Selection
Useful Operating Region
Motor T orque T Peak T orque Curve
Torque T
AB = acceptable operating range A = optimal operating point Continuous Torque Curve Load Curve A Operating Region of Motor + Drive Unit
Tmin w min
B Speed w
DC Motor Data
1. Mechanical data Peak torque (e.g., 65 N.m) Continuous torque at zero speed or continuous stall torque (e.g., 25 N.m) Frictional torque (e.g., 0.4 N.m) Maximum acceleration at peak torque (e.g., 33 103 rad/s2 ) Maximum speed or no-load speed (e.g., 3,000 r.p.m.) Rated speed or speed at rated load (e.g., 2,400 r.p.m.) Rated output power (e.g., 5100 W) Rotor moment of inertia (e.g., 0.002 kg.m ) Dimensions and weight (e.g., 14 cm diameter, 30 cm length, 20 kg) Allowable axial load or thrust (e.g., 230 N) Allowable radial load (e.g., 700 N) Mechanical (viscous) damping constant (e.g., 0.12 N.m/krpm) Mechanical time constant (e.g., 10 ms)
2
2. Electrical data Electrical time constant (e.g., 2 ms) Torque constant (e.g., 0.9 N.m/A for peak current or 1.2 N.m/A rms current) Back emf constant (e.g., 0.95 V/rad/s for peak voltage) Armature/field resistance and inductance (e.g., 1.0 W, 2 mH) Compatible drive unit data (voltage, current, etc.) 3. General data Brush life and moto r life (e.g., 5 108 revolutions at maximum speed) Operating temperature and other environmental conditions (e.g., 0 to 40 C) Thermal resistance (e.g., 1.5 C/W) Thermal time constant (e.g., 70 minutes) Mounting configuration
Drive Amplifier and Power Supply Selection Objective: Determine Ratings (Current, Voltage Rating, Power) for PWM Amplifier; Select a Power Supply at These Ratings Method: Required motor torque Tm = J ma + TL + T f a = highest required angular acc.; TL = worst-case load torque; Tf = frictional torque on motor Note: For a pure inertia load (JL) Tm = ( J m + J L )a + T f Required current i =
Tm km
km = torque constant of the motor ' Required voltage v = k mw m + Ri k 'm = k m = back e.m.f. constant; R = winding resistance w m = highest operating speed of motor Voltage Rating = [Required Voltage]/[Max Duty Cycle of PWM Amp] Note 1: Pick amplifier and power supply with these ratings (voltage, current, power) Note 2: If several amplifiers use the same single power supply: Increase the power rating of power supply in proportion
Duty cycle =
Voltage T
To
vref
Time t On Off On
Main Components of a Hydraulic Control System 1. Servo-valve 2. Hydraulic actuator 3. Load 4. Feedback control elements Valve: q = kq u - kc p Hydraulic Actuator:
q=A
dy V dp + dt 2 b dt
d2y dy m 2 +b = Ap - f L Load: dt dt
P = P2 - P 1
To Hydraulic Actuator
From Actuator
(Q2 , P2 )
Control Input (Displacement)
(Q1 , P ) 1
Spool
Ps
Supply (from Pump)
(b) Land
(c) Land
Port
Port
(a) A four-way spool valve; (b) An overlapped land; (c) An underlapped land.
Hydraulic Actuator
( P2 , Q2 )
( P , Q1 ) 1
V2
Cylinder Piston
V1
Mechatronic Design
MDQ
Power and Efficiency Production and Reliability Intelligence
Mechatronic Design
Use of MDQ
Some Considerations
Mechatronic design: concurrent and multi criteria design, has many benefits For criteria aggregation 1. interaction between criteria, 2. human experience should be considered. (e.g., use fuzzy integrals) MDQ represents the degree of satisfaction of mechatronic design criteria MDQ can be used in optimization and automation of concurrent design MDQ is useful as a design evaluation index MDQ may be used as fitness function in GP Bond graph method is appropriate for modeling mechatronic systems (Multi-domain mixed systems) Considerations of topology/structure optimization are important
Mechatronic Design
Component Sizing MDQ Optimization
Conceptual Example
Electrical System
i+ v +
Mechanical System
Electrical Dynamics
Mechanical Dynamics
Energy Dissipation
Energy Dissipation
MDQ =
2 e e 2 e se
I + I +
2 m m 2 m sm
I I
Ise = Best Electrical Design Index in sequential design Ism= Best Mechanical Design Index in sequential design Ie = Electrical Design Index in the coupled (concurrent) design Im = Mechanical Design Index in the coupled (concurrent) design
MDQ INDEX VALUES Speed Weight Cost MDQ Index Index Index Value Solution 1 80 % 70% 80% 78% Solution 2 40 % 80% 80% 60% Solution 3 20 % 85% 80% 51% Weighting Parameter 50% 20% 30% Design Index
Note: Sum of weighting values satisfies
W
i =1
= 100%
n
W I
i =1
i ij
; for j=1, 2
m, 0< Mj <1
Evolutionary Computing
It is a broad class of optimization methods (discrete and continuous) Inspired by biological (natural) evolution Uses derivative-free and population based search techniques Starts from multiple searching points (solution candidates)
Advantages:
Can handle complex and ill-modeled problems Global minima can be determined Multiple objective functions can be handled
Possible Approach:
Use MDQ as the Fitness Function Use multiple MDQ functions for complex multi-criteria optimization
Evolutionary Computing
(for MDQ Optimization)
Evolutionary Computing
Nomenclature Individual of a population is a chromosome (a sequence of genes). The position of a gene in a chromosome is called locus. The values a gene can take are called alleles. Initial population is created randomly. Solution evolves using evolutionary operations (selection, recombination or crossover, and mutation). Every chromosome is evaluated and given a fitness value. Most successful chromosomes are selected for crossover to produce offspring. Offspring would have a better fitness values. Mutation adds diversity to potential solutions. Components of an Evolutionary Algorithm 1. Encoding: representation of potential solutions (binary, floating-point, or gray encoding). 2. Initialization: creation of initial population. 3. Fitness Function: assigning fitness values to chromosomes. 4. Evolutionary Operators: selection, crossover, mutation, etc. 5. Working Parameters: population size, chromosome length, etc.
Genetic Algorithms
Problem: Maximize (or, minimize f) m = number of optimization parameters Steps Choose a random population of n individuals within range of optimization. Using binary encoding, represent each parameter as a string of q binary digits. => population represented by nqm matrix Apply genetic operators to the matrix => new population with larger f value Nomenclature Individual: potential solution Genotype: genetic traits of an individual = encoded potential solution = chromosome Gene: single bit of genetic information = one element of a chromosome string Alleles: possible values of a gene (Note: a binary gene has two alleles) Fitness Function Represents the value or goodness or fitness of a solution. Same as objective function. Input: genotype of parameters; Output: a real value representing goodness of solution. Fitness is comparative not absolute (serves to differentiate solutions) May not be analytic (e.g., physical performance measurements; heuristics) Note: Multiple objectives may be needed. Example: A Manufacturing Process Genotype: operating conditions, control parameters Objective Function: Productivity or Efficiency or Product Quality or Cost Effectiveness
Initialization of Individuals
Evaluation
Selection
Elitist Model: Top 10 to 20 individuals of the population are selected. Ranking Model: Fitness of each member of the population is ranked. Those above a specified fitness level are selected. Roulette Wheel Procedure: Probabilities pi are assigned to individuals i according to their fitness, cumulative probabilities ci = p j are computed, and the first individual with
j =1 i
Crossover
Exchanges some genes of the two parents to create the genotypes of the offspring.
Method: Select points along parents chromosomes (randomly) and exchange genes between these points. Note: In Simple Crossover , only one point is chosen. See Figure.
Mutation
Introduces completely new alleles into a population of chromosomes. Creates completely new solutions (avoids stagnation). Method: Select one or more genes in an individual at random and change their alleles. Note: Allele change itself can be random or deterministic fashion.
Crossover probability = 0.25; Mutation probability = 0.1 Note: Use roulette wheel (cumulative probability) method for selection, crossover, and mutation.
Example (Cont d)
Population After Selection Operation (Using Roulette-Wheel Method)
Note: Some individuals are repeatedly selected (X1 and X2; X4, X7, and X9; X5, X6, and X8) by this probabilistic operation.
Example (Cont d)
Population After Crossover and Mutation Operations
Note: Roulette wheel method used to determine the crossover chromosomes pair and mutation chromosome. Note: Gene mutation is done randomly.
Example(Cont d)
Further Study
Try problems at the end of chapters 2-9. Read case studies in chapter 13 Book: De Silva, C.W., MECHATRONICS An Integrated Approach, CRC Press, Taylor & Francis, Boca Raton, FL, 2005. (ISBN 0-8493-1274-4): www.crcpress.com Also:
De Silva, C.W., MODELING AND CONTROL of Engineering Systems, CRC Press, Taylor&Francis, Boca Raton, FL, 2009. Karray, F. and de Silva, C.W., Soft Computing and Intelligent Systems Design, Addison Wesley, New York, 2004.
Thank you!
www.mech.ubc.ca/~ial