Download presentation
Presentation is loading. Please wait.
1
Chapter 2 Modeling in the Frequency Domain
Success consists of going from failure to failure without loss of enthusiasm. Pusan National University Intelligent Robot Laboratory
2
Table of Contents Introduction Laplace Transform Review
Transfer Function Electrical Network Transfer Function Translational Mechanical System Transfer Function Rotational Mechanical System Transfer Function Transfer Function for System with Gears Electromechanical System Transfer Function Electrical Circuit Analogs Nonlinearities Linearization
3
Introduction System’s schematic
Make many simplifying assumptions in order to keep the ensuing model manageable and to approximate physical reality. Two methods to develop mathematical models from schematics of physical systems Transfer function in the Frequency domain system State equations in the time domain system
4
Laplace Transform Review
The Laplace transform is defined as 0-: f(t) is discontinuous at t=0 (2.1)
5
Laplace Transform Review
The inverse Laplace transform u(t) : Unit step function u(t) = t > 0 u(t) = t < 0 (2.2)
6
Laplace Transform Review
Laplace transform table TABLE 2.1 Laplace transform table
7
Laplace Transform Review
Ex 2.1 Laplace transform of a time function Find the Laplace transform of Sol) (2.3)
8
Laplace Transform Review
TABLE 2.2 Laplace transform theorems
9
Laplace Transform Review
Ex 2.2 Inverse Laplace transform Find the inverse Laplace transform of Sol)
10
Laplace Transform Review
Partial – fraction expansion To find the inverse Laplace transform of a complicated function, we can convert the function to a sum of simpler terms. The order of N(s) is less than the order of D(s), than a partial – fraction expansion can be made. If the order of N(s) is greater than or equal to the order of D(s), then N(s) must be divided by D(s) successively until the result has a remainder whose numerator is of order less than its denominator.
11
Laplace Transform Review
Case 1. Roots of the denominator of F(s) are real and distinct To fine K1, we first multiply Eq.(2.8) by (s+1) (2.7) (2.8) (2.9)
12
Laplace Transform Review
Letting s approach -1 eliminates the last term and yields K1=2 K2 can be found by multiplying Eq.(2.8) by (s+2) and then letting s approach -2 Inverse Laplace transform (2.10)
13
Laplace Transform Review
Ex 2.3 Laplace transform solution of a differential equation Given the following differential equation, solve for y(t) if all initial conditions are zero. Use the Laplace transform. Sol) Laplace transform (2.14) (2.15) (2.16) (2.17)
14
Laplace Transform Review
Hence , (2.18a) (2.18b) (2.18c) (2.19) (2.20)
15
Laplace Transform Review
Case 2. Roots of the denominator of F(s) are real and repeated 1. In this case the denominator root at -2 is a multiple root of multiplicity 2 We can write the partial – fraction expansion as a sum of terms. (2.22) (2.23)
16
Laplace Transform Review
K1 = 2 , which can be found as previously described K2 can be isolated by multiplying Eq.(2.23) by , yielding Letting s approach -2, K2= -2. To find K3 we see that if we differentiate Eq.(2.24) with respect to s, K3 is isolated and can be found if we let s approach -2. Hence, K3 = -2 Inverse Laplace transform of each term (2.24) (2.25) (2.26)
17
Laplace Transform Review
Case 3. Roots of the denominator of F(s) are complex or imaginary This function can be expanded in the following form K1 is found in the usual way to be 3/5. K2 and K3 can be found by first multiplying Eq.(2.31) by the lowest common denominator, and clearing the fractions. (2.30) (2.31)
18
Laplace Transform Review
Balancing coefficients, and Inverse Laplace transform of each term (2.31) (2.33) (2.37) (2.38)
19
Transfer Function A general nth-order, linear, time-invariant differential equation c(t) is the output, r(t) is the input. Taking the Laplace transform both sides, (2.50) (2.51)
20
Transfer Function If we assume that all initial conditions are zero
The ratio of the transform, divided by the input transform We call this ratio, G(s), the transfer function and evaluate it with zero initial condition (2.52) (2.53) (2.54) Figure 2.2 Block diagram of a transfer
21
Laplace Transform Review
Ex 2.4 Transfer function for a differential equation Find the transfer function represented by Sol) Taking the Laplace transform of both sides, assuming zero initial conditions (2.55) (2.56) (2.57)
22
Laplace Transform Review
Ex 2.5 System response from the transfer function Use the result of Example 2.4 to find the response, c(t), to an input, r(t)=u(t), a unit step, assuming zero initial conditions. Sol) r(t)=u(t), R(s)=1/s Expanding by partial fractions (2.58) (2.59)
23
Laplace Transform Review
Taking inverse Laplace transform of each term yields (2.60)
24
Electrical Network Transfer Function
The transfer function approaches to the mathematical modeling of electrical circuits Circuits via mesh analysis Circuits via nodal analysis Simple circuit via voltage division Operational amplifiers
25
Electrical Network Transfer Function
The transfer function to the mathematical modeling of electric circuits. TABLE 2.3 Voltage-current, Voltage-charge, and impedance relationships for capacitors, registers, and inductors Component Voltage-current Current-voltage Voltage-charge Impedance Z(s) = V(s)/I(s) Admittance Y(s) = I(s)/V(s)
26
Electrical Network Transfer Function
Simple Circuits via Mesh Analysis For the capacitor, For the resistor, For the inductor, The transfer function, impedance: Step 1. Laplace transform, Step 2. The component values => their impedance values -> It's similar to the case of dc circuits. (2.67) (2.68) (2.69) (2.70) (2.71)
27
Electrical Network Transfer Function
Ex 2.6 transfer function-single loop via the differential equation Find the transfer function relating the capacitor voltage, Vc(s), to the input voltage, V(s), in Figure 2.3 Sol) Summing the voltages around the loop, TABLE 2.3 RLC network (2.61)
28
Electrical Network Transfer Function
Changing variables from current to charge using i(t)=dq(t)/dt yields From the voltage-charge relationship for the capacitor in Table 2.3 Substituting Eq. (2.63) into Eq. (2.62) Taking the Laplace transform (2.62) (2.63) (2.64) (2.65)
29
Electrical Network Transfer Function
Solving for the transfer function (2.66)
30
Electrical Network Transfer Function
Ex 2.7 Transfer function – single loop via transform methods Repeat Example 2.6 using mesh analysis and transform methods without writing a differential equation. Sol) Using figure 2.5 and writing a mesh equation using the impedances as we would use resistor values in a purely resistive circuit Solving for I(s)/V(s). (2.73) (2.74)
31
Electrical Network Transfer Function
Voltage across the capacitor, Vc(s) , is the product of the current and the impedance of the capacitor. (2.75)
32
Electrical Network Transfer Function
Simple circuits via nodal analysis Transfer function can be obtained using Kirchhoff’s current law and summing currents flowing from nodes. Ex 2.8 Transfer function – single node via transform methods Repeat Example 2.6 using nodal analysis and without writing a differential equation Sol) summing currents flowing out of the node whose voltage is Vc(s) (2.76)
33
Laplace Transform Review
Vc(s)/(1/Cs) is the current flowing out of the node through the capacitor, and [ Vc(s) – V(s) ] / ( R+Ls) is the current flowing out of the node through the series resistor and inductor. Taking transfer function
34
Electrical Network Transfer Function
Simple circuits via voltage Using the voltage division on the transformed network Ex 2.9 Transfer function - single loop via voltage division Repeat Example 2.6 using voltage division and the transformed circuit. Sol) The voltage across the capacitor is some proportion of the input voltage, namely the impedance of the capacitor divided by the sum of the impedances. (2.77)
35
Laplace Transform Review
Solving for the transfer function
36
Electrical Network Transfer Function
To solve Complex circuits via mesh analysis steps Step1. Replace passive element values with their impedances. Step2. Replace all sources and time variables with their Laplace transform. Step3. Assume a transform current and a current direction in each mesh. Step4. Write Kirchhoff's voltage law around each mesh. Step5. Solve the simultaneous equations for the output. Step6. Form the transfer function
37
Laplace Transform Review
Ex 2.10 Transfer function – multiple loops Given the network of Figure 2.6(a), find the transfer function, I2(s)/V(s). TABLE 2.6 a. Two-loop electrical network ; b. transformed two-loop electrical network; c. block diagram;
38
Laplace Transform Review
Sol) Around Mesh1, where I1(s) flows, Around Mesh2, where I2(s) flows, combining term (2.78) (2.79) (2.80a) (2.80b)
39
Laplace Transform Review
Use Cramer’s rule Forming the transfer function (2.81) (2.82)
40
Electrical Network Transfer Function
To solve Complex circuits via nodal analysis steps Step1. Replace passive element values with their admittances. Step2. Replace all sources and time variables with their Laplace transform. Step3. Replace transformed voltage sources with transformed current sources. Step4. Write Kirchhoff’s current law at each node. Step5. Solve the simultaneous equations for the output. Step6. Form the transfer function.
41
Laplace Transform Review
Ex 2.11 Transfer function - multiple nodes Find the transfer function, Vc(s)/V(s) , for the circuit in Figure 2.6(b). Use nodal analysis. Sol) For this problem we sum current at the nodes rather than sum voltages around the meshes. (2.85a) (2.85b)
42
Laplace Transform Review
Rearranging and expressing the resistance as conductance, Solving for the transfer function, (2.86a) (2.86b) (2.87)
43
Electrical Network Transfer Function
Operational amplifiers Characteristics Differential input, High input impedance, Low output impedance, High constant gain amplification, Figure a. Operational amplifier;
44
Electrical Network Transfer Function
Inverting Operational Amplifier V2 is ground By Kirchhoff’s current law (2.95) Figure b. Schematic for an inverting operational amplifier (2.96) (2.97) Figure c. inverting operational amplifier configured for transfer function realization Typically, the amplifier gain, A, is omitted
45
Electrical Network Transfer Function
Ex 2.14 Transfer function – inverting operational amplifier circuit Find the transfer function , Vo(s)/Vi(s) , for the circuit given in figure 2.11. TABLE Invertiong operational amplifier circuit
46
Electrical Network Transfer Function
Sol) The sum of the admittances, For Z2(s) the impedances add, (2.98) (2.99)
47
Electrical Network Transfer Function
Substituting Eqs.(2.98) and (2.99) into Eq.(2.97) and simplifying (2.100)
48
Electrical Network Transfer Function
Non-inverting Operational amplifier Transfer function Using voltage division Substituting Eq.(2.102) into Eq.(2.101), rearranging For large A, we disregard unity in the denominator (2.101) (2.102) Figure General non-inverting operational amplifier circuit (2.103) (2.104)
49
Electrical Network Transfer Function
Ex Transfer function – noninverting operational amplifier circuit Find the transfer function , Vo(s) / Vi(s) , for the circuit given in figure 2.13 TABLE Noninverting operational amplifier circuit
50
Laplace Transform Review
We find each of the impedance functions, Z1(s) and Z2(s) , and then substitution then into Eq.(2.104). Substituting Eqs.(2.105) and (2.106) into Eq.(2.104) yields (2.105) (2.106) (2.107)
51
Translational Mechanical System Transfer Function
The transfer function to the mathematical modeling of translational mechanical systems. TABLE 2.4 Force-velocity, force-displacement, and impedance translational relationships for springs, viscous dampers, and mass
52
Translational Mechanical System Transfer Function
Comparing electric circuits and mechanical systems. The force-velocity column & the voltage-current column The force-displacement column & the voltage-charge column The spring & the capacitor The viscous damper & the resistor The mass & the inductor Mechanical differential equations are analogous to mesh equations. The force-velocity column & the current-voltage column The spring & the inductor The mass & the capacitor Mechanical differential equations are analogous to nodal equations.
53
Translational Mechanical System Transfer Function
Equation of motion Step1. Assume a positive direction of motion. (similar to assuming a current direction in an electrical loop) Step2. Draw a free-body diagram, placing on the body all forces that act on the body either in the direction of motion or opposite to it. And take the Laplace transform of the differential equation, separate the variables Step3. Set the sum equal to zero. Step4. Form the transfer function. For the spring, For the viscous damper, For the mass, The transfer function, impedance for mechanical components: (2.112) (2.113) (2.114) (2.115)
54
Physical system Find the state equations for the translational mechanical system. Sol) First write the differential equations for the network. Figure Translational mechanical system
55
Translational Mechanical System Transfer Function
Ex Equations of motion by inspection Write, but do not solve, the equation of motion for the mechanical network of Figure 2.20 TABLE Tree-degrees-of-freedom translational mechanical system
56
Translational Mechanical System Transfer Function
The system has three degrees of freedom, since each of the three masses can be moved independently while the others are held still. The form of the equations will be similar to electrical mesh equation. For M1 For M2 and M3 Combining term (2.124) (2.125) (2.126)
57
Rotational Mechanical System Transfer Function
The transfer function to the mathematical modeling of rotating mechanical systems. TABLE 2.5 Torque-angular velocity, torque-angular displacement, and impedance rotational relationships for springs, viscous dampers, and inertia
58
Rotational Mechanical System Transfer Function
They look the same as translational symbols, but they are undergoing rotation and not translation Step1. Rotate a body while holding all other points still and place on its free-body diagram all torques due to the body's own motion. Step2. Rotate adjacent points of motion one at a time and add the torques due to the adjacent motion to the free-body diagram. Step3. For each free-body diagram, these torques are summed and set equal to zero to form the equations of motion. Step4. Form the transfer function. For the spring, For the viscous damper, For the Inertia, The transfer function,
59
Transfer Function for System with Gears
Gears provide mechanical advantage to rotational systems Trade-off between speed and torque Exhibit backlash-assume no backlash Figure A gear system
60
Transfer Function for System with Gears
Relationship between the rotation and Gear Relationship between the input torque, T1, and the delivered torque, T2 (2.132) (2.133) (2.134) (2.135) Figure Transfer functions for a. angular displacement in lossless gears and b. torque in lossless gears
61
Transfer Function for System with Gears
Equation of motion To obtain in terms of After simplification, (2.136) (2.137) (2.138)
62
Transfer Function for System with Gears
Generalizing the result, we can make the following statement: Rotational mechanical impedance can be reflected through gear trains by multiplying the mechanical impedance by the ratio
63
Transfer Function for System with Gears
Ex Transfer function – system with lossless gears Find the transfer function, θ2(s)/T1(s) , for the system of Figure 2.30(a). TABLE a. Rotational mechanical system with gears; b. System after reflection of torques and impedances to the output; c. Block diagram
64
Transfer Function for System with Gears
The equation of motion Transfer function is found to be (2.139) (2.140)
65
Transfer Function for System with Gears
The gear train formulation (2.141) Figure Gear train
66
Electromechanical System Transfer Function
Electromechanical systems systems that are hybrids of electrical and mechanical variables DC motor system A motor is an electromechanical component that yields a displacement Figure DC motor; a. schematic; b. block diagram
67
Electromechanical System Transfer Function
A conductor moving at right angles to a magnetic field generates a voltage at the terminals of the conductor Since the current-carrying armature is rotating in a magnetic field, its voltage is proportional to speed vb(t) : back electromotive force (back emf) Kb: constant of proportionality called the back emf constant Tacking the Laplace transform (2.144) (2.145)
68
Electromechanical System Transfer Function
Loop equation around the armature circuit The torque developed by the motor is proportional to the armature current Tm : the torque developed by the motor Kt : motor torque constant Rearranging (2.146) (2.147) (2.148)
69
Electromechanical System Transfer Function
To find the transfer function of the motor, we first substitute Eq.(2.145) and (2.148) into (2.146), yielding Typical equivalent mechanical loading on a motor (2.149) Figure Typical equivalent mechanical loading on a motor
70
Electromechanical System Transfer Function
From Fig. 2.36 Substituting Eq. (2.150) into Eq. (2.149) yields If we assume that the armature induction, La , is small compared to the armature resistance, Ra, which is usual for a dc motor, Eq. (2.151) becomes (2.150) (2.151) (2.152)
71
Electromechanical System Transfer Function
(2.153) (2.154)
72
Electromechanical System Transfer Function
DC motor driving a rotational mechanical (2.155) Figure DC motor driving a rotational mechanical load
73
Electromechanical System Transfer Function
Electrical constants can be obtained through a dynamometer test To develop the relationships that dictate the use of dynamometer, substituting Eq. (2.145) and Eq. (2.148) into Eq. (2.146) Tacking the inverse Laplace transform, When the relationship exist when the motor is operating at steady state with a dc voltage input (2.156) (2.157) (2.158)
74
Electromechanical System Transfer Function
Solving for Tm yields Torque speed curve (2.159) Figure Torque speed curves with an armature voltage, ea, as a parameter
75
Electromechanical System Transfer Function
The mechanical constants of motor system The angular velocity: zero => the stall torque. The torque : zero => no-load speed (2.160) (2.161)
76
Electromechanical System Transfer Function
The electrical constant of the motor’s transfer function (2.162) dynamometer (2.163)
77
Electromechanical System Transfer Function
Ex 2.23 Transfer function – dc motor and load Given the system and torque-speed curve of Figure 2.39(a) and (b), find the transfer function, TABLE a. Dc motor and load; b. torque-speed curve; c. block diagram;
78
Electromechanical System Transfer Function
Begin by finding the mechanical constants, Jm and Dm in Eq.(2.153). From Eq.(2.155) , the total inertia at the armature of the motor is Total damping at the armature of the motor Now we will find the electrical , Kt / Ra and Kb. From the torque-speed curve of Figure 2.39(b), (2.164) (2.165) (2.166) (2.167) (2.168)
79
Laplace Transform Review
Electrical constants are Substituting Eqs.(2.164), (2.165), (2.169), and (2.170) into Eq.(2.153) yields We use the gear ratio, N1/N2=1/10, (2.169) (2.170) (2.171) (2.172)
80
Electrical Circuit Analogs
Electric circuit analogy It is analogous to a system from another discipline Series Analogy When compared with mesh equation, the resulting electrical circuit Parallel analogy When compared with nodal equation, the resulting electrical circuit
81
Electrical Circuit Analogs
We can create a direct analogy by operating on Eq.(2.173)to convert displacement to velocity by dividing and multiplying the left side by s, yielding (2.175) Figure Development of series analog: a. mechanical system; b. desired electrical representation; c. series analog; d. parameters for series analog
82
Electrical Circuit Analogs
Parallel analog A system can also be converted to an equivalent series analog Kirchhoff’s nodal equation for the simple parallel RLC network We identify the sum of admittances and draw the parallel analog circuit (2.177)
83
Nonlinearities A linear system's properties Superposition :
Homogeneity: Figure a. Linear system; b. nonlinear system Figure Some physical nonlinearities
84
Linearization Step 1. Recognize the nonlinear component and write the nonlinear differential equation. Step 2. Linearize the nonlinear differential equation. Step 3. Take the Laplace transform of the linearized differential equation, assuming zero initial conditions. Step 4. Separate input and output variables and form the transfer function. (2.182) (2.183)
85
Linearization Ex 2.27 Linearizing a differential equation
Linearize Eq. (2.184) for small excursions about x=π/4. Sol) The presence of the term cos x makes this equation nonlinear. Since we want to linearize the equation about x=π/4 , let x=δx+π/4, where δx is the small excursion about π/4, and substitute x into Eq.(2.184). (2.184) (2.185)
86
Linearization The term cos(δx+(π/4)) can be linearized with the truncated Taylor series. Substituting f(x) = cos(δx+(π/4)), f(x0)=f(π/4)=cos(π/4), and (x-x0)= δx into Eq.(2.182) yields (2.186) (2.187) (2.188)
87
Linearization Solving Eq.(2.188) for cos (δx+(π/4)),
Substituting Eqs. (2.186), (2.189) into Eq.(2.185) yields the following linearized differential equation: (2.189) (2.190)
88
Intelligent Robotics Laboratory
H A N K Y O U Homework: Divide by 10 Intelligent Robotics Laboratory
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.