Laplace transforms:DC Motor circuit: Difference between revisions
(New page: === Problem === Find the steady state current ''i(t)'' through a DC motor represented by a series R-L-Motor circuit. The resistance (R) is from the armature winding. The inductance (L) is ...) |
|||
(49 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=== Problem === |
=== Problem === |
||
Find the steady state current ''i(t)'' through a DC motor represented by a series R-L-Motor circuit. The resistance (R) is from the armature winding. The inductance (L) is the equivalent inductance of the wire coil (which turns by current flowing through the coil in a permanent magnetic field). The motor has input current ''i(t)'' and output angular velocity &omega(t). |
Find the steady state current ''i(t)'' through a DC motor represented by a series R-L-Motor circuit. The resistance (R) is from the armature winding. The inductance (L) is the equivalent inductance of the wire coil (which turns by current flowing through the coil in a permanent magnetic field). J<sub>m</sub> is the combined moment of inertia of the armature and load. B is the coefficient of friction. The motor has input current ''i(t)'' and output angular velocity ω(t). Let v(t) = 110u(t)V, R = 20Ω, L = 50mH, k = 0.05N*m/A, J<sub>m</sub> = 0.01 kg*m<sup>2</sup>, and B = e<sup>-4</sup>N*m*s. |
||
[[Image:DCMotorPic.jpg]] |
|||
=== Solution === |
=== Solution === |
||
Since some of the elements of a motor are not typical circuit elements, we must solve this problem using Laplace transforms. |
|||
The torque is proportional to the armature current. |
|||
<math>T(t) = k i(t) \, </math> |
|||
Similarly, relating mechanical (''T(t)ω(t)'') and electrical (''v<sub>m</sub>(t)i(t)'') power, the conservation of energy requires the same proportionality between the voltage across the motor (''v<sub>m</sub>(t)'') and the angular velocity (''ω(t)''). |
|||
<math>v_m(t) = k \omega(t) \, </math> |
|||
We want to find the Laplace transfer function of the motor, and we define it as follows. |
|||
<math>\Omega(s) = \mathcal{L}[\omega(t)]/v_s(s)</math> |
|||
Summing the voltages around the series circuit gives us our differential equation. |
|||
<math>v_s(t) = R i(t) + L \frac{di(t)}{dt} + k \omega(t)</math> |
|||
Take the Laplace transform. |
|||
<math>V_s(s) = R I(s) + Ls( I(s) - i(0) ) + k\Omega(s) \, </math> |
|||
If we let i(0) equal zero, the transformed differential equation gives us Equation *1*. |
|||
<math>V_s(s) = R I(s) + LsI(s) + k\Omega(s) *1* \, </math> |
|||
Repeat the process with the analogous mechanical differential equation. Here J<sub>m</sub> is the moment of inertia of the combined armature, shaft, and load. B is the coefficient of friction. |
|||
<math>T(t) = J_m \frac{d\omega(t)}{dt} + B \omega(t)</math> |
|||
Transforming yields the following. |
|||
<math>T(s) = J_m s(\Omega(s) - \omega(0)) + B \Omega(s) \, </math> |
|||
Recall T(t) = k i(t), and so T(s) = k I(s). Again let ω(0) = 0. This gives us Equation *2*. |
|||
<math>k I(s) = (J_ms + B) \Omega(s) *2* \, </math> |
|||
Solve Equation *2* for I(s) and substitute that into Equation *1*. |
|||
<math>V_s(s) = (R + Ls) \frac{(J_ms + B)}{k} \Omega(s) + k\Omega(s)</math> |
|||
Solve this equation for Ω(s), some simplification steps are skipped here. Equation *3* |
|||
<math>\Omega(s) = \frac{\frac{k}{J_mL}}{s^2 + (\frac{B}{J_m} + \frac{R}{L}) s + \frac{RB + k^2}{J_mL}}V(s) *3*</math> |
|||
===Final Value Theorem=== |
|||
Now in order to apply the final value theorem we let V<sub>s</sub>(s) = K/s. The s's in the limit definition and in K/s cancel. We can now see ω in steady state. |
|||
<math>\omega_{ss} = \lim_{s\rightarrow 0} s \Omega(s) = \frac{k}{RB + k^2}K = \omega(\infty)</math> |
|||
Take Equation *2* and Equation *3* and this time solve for I(s). This will get us a form of the final answer in the s domain. |
|||
<math>I(s) = \frac{(J_ms + B)}{k} \left [ \frac{\frac{k}{J_mL}}{s(s^2 + (\frac{B}{J_m} + \frac{R}{L}) s + \frac{RB + k^2}{J_mL})} \right ] K = \frac{\frac{s}{L} + \frac{B}{J_mL}}{s(s^2 + (\frac{B}{J_m} + \frac{R}{L}) s + \frac{RB + k^2}{J_mL})} K</math> |
|||
Finally was can apply the final value theorem to see what our steady state response will be for the armature current. |
|||
<math>i_{ss} = \lim_{s \to 0} sI(s) = \frac{B}{RB + k^2} K = i(\infty)</math> |
|||
=== Answers === |
|||
Of interest are the ω(∞) and i(∞), found by plugging values into the steady state solutions above. |
|||
<math>\omega(\infty) = 14.91 radians/second</math> |
|||
<math>i(\infty) = 5.46 Amperes</math> |
|||
=== Bode Plot=== |
|||
[[Image:Dcmotorbode.JPG]] |
|||
=== Break Points and Asymptotes=== |
|||
The transfer function of the motor voltage over the voltage source. |
|||
<math>H(s) = \frac{V_m(s)}{V_s(s)} = \frac{\Omega(s)}{k} = \frac{\frac{1}{J_mL}}{s^2 + (\frac{B}{J_m} + \frac{R}{L}) s + \frac{RB + k^2}{J_mL}}V(s)</math> |
|||
Now we need to plug in the given values to find our transfer function and characteristic equation. |
|||
<math>H(s) = \frac{2000}{s^2 + 401.8s + 737.6}V(s) = \frac{2000}{(s + 1.844)(s + 399.956)}V(s)</math> |
|||
At zero's we would see an increase of 20 dB/decade, but the numerator has no zeros. |
|||
At poles we see drops of 20 dB/decade, and we see 2 such drops at the appropriate values of 1.8 and 400 on the frequency graph. |
|||
You can find the starting point on the dB scale by evaluating the transfer function when s=0 and taking 20log<sub>10</sub>(H(0)) of this value. In this case we'd have H(0)=2000/1.8*400=2.71. So our expected starting value should be 20log(2.71)=8.67, and it appears to be correct. If the graph was larger, it would be apparent that we have asymptotic behavior going down at 40 dB/decade to the right of 400 radians/second. This is because 400 is the largest root in the denominator of the transfer function and as s goes to infinity the bode plot will never go above that asymptote. |
|||
===Convolution=== |
|||
For this we need the inverse Laplace transform of our H(s). |
|||
First use partial fraction expansion, or your fancy calculator, to expand the transfer function. |
|||
<math>\frac{2000}{(s + 1.844)(s + 399.956)} = \frac{A}{s + 1.844} + \frac{B}{s + 399.956}</math> |
|||
I found A = 5.0237 and B = -5.0237 |
|||
Now we can take the inverse transform. |
|||
<math>h(t) = \mathcal{L}^{-1} \left [ \frac{5.0237}{s+1.844}-\frac{5.0237}{s+399.956} \right ]</math> |
|||
<math>h(t) = [5.0237e^{-1.844t} - 5.0237e^{-399.956t}]u(t) \,</math> |
|||
===State Equations=== |
|||
First we need to write our state equations, which are rearranged forms of our original differential equations. The state variables will be current (i) and angular velocity (ω). |
|||
<math>\dfrac{di(t)}{dt}=-\frac{R}{L}i(t)+\frac{v_s(t)}{L}-\frac{v_m(t)}{L}</math> |
|||
<math>\dfrac{d\omega(t)}{dt}=\frac{k}{J_m}i(t)-\frac{B}{J_m}\omega(t)</math> |
|||
The following is an alternate way to represent the dc motor circuit as a matrix system of equations. |
|||
<math>\begin{bmatrix} \tfrac{di}{dt} \\ \tfrac{d\omega}{dt} \end{bmatrix}=\begin{bmatrix} -\frac{R}{L} & k \\ \frac{R}{J_m} & \frac{B}{J_m} \end{bmatrix} \begin{bmatrix} i \\ \omega \end{bmatrix} + \begin{bmatrix} \frac{1}{L} \\ 0 \end{bmatrix}V_s</math> |
|||
---- |
|||
Reviewed by Andrew Hellie |
Latest revision as of 11:00, 16 November 2009
Problem
Find the steady state current i(t) through a DC motor represented by a series R-L-Motor circuit. The resistance (R) is from the armature winding. The inductance (L) is the equivalent inductance of the wire coil (which turns by current flowing through the coil in a permanent magnetic field). Jm is the combined moment of inertia of the armature and load. B is the coefficient of friction. The motor has input current i(t) and output angular velocity ω(t). Let v(t) = 110u(t)V, R = 20Ω, L = 50mH, k = 0.05N*m/A, Jm = 0.01 kg*m2, and B = e-4N*m*s.
Solution
Since some of the elements of a motor are not typical circuit elements, we must solve this problem using Laplace transforms.
The torque is proportional to the armature current.
Similarly, relating mechanical (T(t)ω(t)) and electrical (vm(t)i(t)) power, the conservation of energy requires the same proportionality between the voltage across the motor (vm(t)) and the angular velocity (ω(t)).
We want to find the Laplace transfer function of the motor, and we define it as follows.
Summing the voltages around the series circuit gives us our differential equation.
Take the Laplace transform.
If we let i(0) equal zero, the transformed differential equation gives us Equation *1*.
Repeat the process with the analogous mechanical differential equation. Here Jm is the moment of inertia of the combined armature, shaft, and load. B is the coefficient of friction.
Transforming yields the following.
Recall T(t) = k i(t), and so T(s) = k I(s). Again let ω(0) = 0. This gives us Equation *2*.
Solve Equation *2* for I(s) and substitute that into Equation *1*.
Solve this equation for Ω(s), some simplification steps are skipped here. Equation *3*
Final Value Theorem
Now in order to apply the final value theorem we let Vs(s) = K/s. The s's in the limit definition and in K/s cancel. We can now see ω in steady state.
Take Equation *2* and Equation *3* and this time solve for I(s). This will get us a form of the final answer in the s domain.
Finally was can apply the final value theorem to see what our steady state response will be for the armature current.
Answers
Of interest are the ω(∞) and i(∞), found by plugging values into the steady state solutions above.
Bode Plot
Break Points and Asymptotes
The transfer function of the motor voltage over the voltage source.
Now we need to plug in the given values to find our transfer function and characteristic equation.
At zero's we would see an increase of 20 dB/decade, but the numerator has no zeros. At poles we see drops of 20 dB/decade, and we see 2 such drops at the appropriate values of 1.8 and 400 on the frequency graph. You can find the starting point on the dB scale by evaluating the transfer function when s=0 and taking 20log10(H(0)) of this value. In this case we'd have H(0)=2000/1.8*400=2.71. So our expected starting value should be 20log(2.71)=8.67, and it appears to be correct. If the graph was larger, it would be apparent that we have asymptotic behavior going down at 40 dB/decade to the right of 400 radians/second. This is because 400 is the largest root in the denominator of the transfer function and as s goes to infinity the bode plot will never go above that asymptote.
Convolution
For this we need the inverse Laplace transform of our H(s).
First use partial fraction expansion, or your fancy calculator, to expand the transfer function.
I found A = 5.0237 and B = -5.0237
Now we can take the inverse transform.
State Equations
First we need to write our state equations, which are rearranged forms of our original differential equations. The state variables will be current (i) and angular velocity (ω).
The following is an alternate way to represent the dc motor circuit as a matrix system of equations.
Reviewed by Andrew Hellie