Laplace transforms:DC Motor circuit: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 50: Line 50:


<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>
<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 &omega; in steady state.
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 &omega; in steady state.
Line 72: Line 74:
=== Bode Plot===
=== Bode Plot===


[[Image:Dcmotorbode.jpg]]
[[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 (&omega;).

<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
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.

DCMotorPic.jpg

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

Dcmotorbode.JPG

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