Two Machine Dynamics

Two single-phase AC electric machines are connected to each other through an inductor, as shown in the diagram. Each machine has a moving rotor with a magnet, which induces a voltage at its stator terminals.

The machine model is as follows:

λ 1 = V m ω 0 cos θ 1 λ 2 = V m ω 0 cos θ 2 V t 1 = λ 1 ˙ V t 2 = λ 2 ˙ d d t ( 1 2 J θ 1 ˙ 2 ) = P M 1 P E 1 d d t ( 1 2 J θ 2 ˙ 2 ) = P M 2 P E 2 \lambda_1 = \frac{V_m}{\omega_0} \cos \theta_1 \\ \lambda_2 = \frac{V_m}{\omega_0} \cos \theta_2 \\ V_{t1} = \dot{\lambda_1} \\ V_{t2} = \dot{\lambda_2} \\ \frac{d}{dt} \Big(\frac{1}{2} J \dot{\theta_1}^2 \Big) = P_{M1}-P_{E1} \\ \frac{d}{dt} \Big(\frac{1}{2} J \dot{\theta_2}^2 \Big) = P_{M2}-P_{E2}

In the model, λ \lambda is the stator magnetic flux linkage as a function of rotor angular position θ \theta . The terminal voltage V t V_t is the time derivative of the stator flux linkage. The third pair of equations states that the rotor is gaining kinetic energy at a rate equal to the difference between the mechanical input power P M P_M and the electrical output power P E P_E (a statement of energy conservation). The parameter J J is the machine inertia constant.

At time t = 0 t = 0 , θ 1 = π 9 \theta_1 = \frac{\pi}{9} , θ 2 = 0 \theta_2 = 0 , θ ˙ 1 = ω 0 \dot{\theta}_1 = \omega_0 , and θ ˙ 2 = ω 0 \dot{\theta}_2 = \omega_0 . The current through the inductor is zero at this time.

Let θ ˙ 1 M \dot{\theta}_{1M} be the maximum speed of Machine 1 over the time period 0 t 1 0 \leq t \leq 1 ?

What is θ ˙ 1 M ω 0 \dot{\theta}_{1M} - \omega_0 ?

Bonus: Why does Machine 1 1 initially slow down while Machine 2 2 initially speeds up? What if θ 1 \theta_1 had initially been π 9 -\frac{\pi}{9} ? Qualitatively, why do we see these oscillations?

Details and Assumptions (assume standard SI units):
1) V m = 120 2 V_m = 120 \sqrt{2}
2) ω 0 = 120 π \omega_0 = 120 \pi
3) J = 0.01 J = 0.01
4) L = 1 ω 0 L = \large{\frac{1}{\omega_0}}
5) P M 1 = P M 2 = 0 P_{M1} = P_{M2} = 0 (prime movers are disconnected from both generators)


The answer is 16.56.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Karan Chatrath
Sep 28, 2019

First and in my opinion, the most crucial part of this problem is the obtainment of the expressions for P E 1 P_{E1} and P E 2 P_{E2} .

Consider the equation of the circuit shown in the diagram. Consider the current to be flowing clockwise at an arbitrary instant of time. The equation is:

L d I d t = V t 1 V t 2 L\frac{dI}{dt} = V_{t1} - V_{t2}

Multiplying both sides by I d t Idt and integrating from 0 0 to t t gives us:

1 2 L I 2 = 0 t V t 1 I d t 0 t V t 2 I d t = 0 t P E 1 d t + 0 t P E 2 d t \frac{1}{2}LI^2 = \int_{0}^{t} V_{t1} Idt - \int_{0}^{t} V_{t2} Idt =\int_{0}^{t} P_{E1}dt+ \int_{0}^{t} P_{E2}dt

The way to interpret the above equation is that the electrical energy outputs of the generators are stored in the inductor. In other words,

P E 1 = V t 1 I P_{E1} = V_{t1} I

and

P E 2 = V t 2 I P_{E2} = -V_{t2} I

Having established this, the next step is to derive the governing differential equations of this electromechanical system. After simplifying and rearranging the given equations, the following are obtained:

θ ¨ 1 = V m ω o J I sin θ 1 ( 1 ) \ddot{\theta}_1 = \frac{V_m}{\omega_oJ} I\sin{\theta_1} \ \dots (1) θ ¨ 2 = V m ω o J I sin θ 2 ( 2 ) \ddot{\theta}_2 = -\frac{V_m}{\omega_oJ} I\sin{\theta_2}\ \dots (2)

Replacing terms in the circuit equation gives:

d I d t = V m ω o L ( sin θ 1 θ ˙ 1 sin θ 2 θ ˙ 2 ) ( 3 ) \frac{dI}{dt} = -\frac{V_m}{\omega_oL} \left(\sin{\theta_1}\dot{\theta}_1 - \sin{\theta_2}\dot{\theta}_2\right) \ \dots (3)

Now, this given system of equations is converted into a nonlinear state-space form as such:

Let: x 1 = θ 1 ; x 2 = θ 2 ; x 3 = θ ˙ 1 ; x 4 = θ ˙ 2 ; x 5 = I x_1 = \theta_1;\ x_2 = \theta_2 ; \ x_3 = \dot{\theta}_1 ;\ x_4 = \dot{\theta}_2 ;\ x_5 = I

Doing so gives us the following system description:

[ x ˙ 1 x ˙ 2 x ˙ 3 x ˙ 4 x ˙ 5 ] = [ x 3 x 4 ( V m ω o J ) x 5 sin x 1 ( V m ω o J ) x 5 sin x 2 ( V m ω o L ) ( x 4 sin x 2 x 3 sin x 1 ) ] x ˙ = f ( x ) \left[\begin{matrix}\dot{x}_1\\\dot{x}_2\\\dot{x}_3\\\dot{x}_4\\\dot{x}_5\end{matrix}\right] = \left[\begin{matrix}x_3\\x_4\\\left(\frac{V_m}{\omega_oJ}\right)x_5\sin{x_1}\\-\left(\frac{V_m}{\omega_oJ}\right)x_5\sin{x_2}\\\left(\frac{V_m}{\omega_oL}\right)\left(x_4\sin{x_2}-x_3\sin{x_1}\right)\end{matrix}\right] \implies \dot{x} = f(x)

Initial conditions are:

x ( 0 ) = [ π / 9 0 ω o ω o 0 ] x(0) = \left[\begin{matrix}\pi/9\\0\\\omega_o\\\omega_o\\0\end{matrix}\right]

Integrating the above using the explicit Euler method and evaluating the required expression using a computer program gives:

θ ˙ 1 M ω o = 16.5667 \boxed{\dot{\theta}_{1M} - \omega_o = 16.5667}

As for the bonus question:

The following plots should provide some insight:

It is seen that initially flows anticlockwise. Looking back at the angular acceleration equations, one can see that the value of the angular acceleration of the first machine is negative and that of the second machine is positive. Therefore, the speed of the first machine initially reduces while that of the second machine increases. If θ 1 ( 0 ) = π / 9 \theta_1(0) = -\pi/9 and θ 2 ( 0 ) = 0 \theta_2(0) = 0 , the opposite would happen. This can again be understood by looking at the structure of the equations of the system. We see an oscillatory behavior as the flux associated with the two machines is of a periodic nature. As a result of that, the output voltages are oscillatory in nature and consequently, from the energy conservation principle, the rotational rate of both the machines are periodic. If there is more to this than meets the eye, please share your comments.

Thanks for the detailed and comprehensive solution. My interpretation of the bonus question is as follows (taking a few liberties and applying AC steady state concepts to a dynamic system):

1) Active power flows from leading angle to lagging angle
2) Consequently, energy is transferred from Machine 1 to Machine 2 until the rotor angles are equal
3) By the time the angle of Machine 2 catches up with that of Machine 1, Machine 2 is necessarily going faster
4) That extra speed causes the Machine 2 angle to begin to exceed that of Machine 1
5) When the Machine 2 angle exceeds that of Machine 1, energy begins to flow in the opposite direction
6) Energy sloshes back and forth between the two machines in perpetuity, since there are no losses


Steven Chase - 1 year, 8 months ago

It would be interesting to try to apply some control theory (of the sort you have been playing with), to damp out these oscillations

Steven Chase - 1 year, 8 months ago

Log in to reply

Consider two control inputs which are like electric motors applying corrective torques to the rotors. Let these inputs be u 1 u_1 and u 2 u_2 and affect the system as such

[ x ˙ 1 x ˙ 2 x ˙ 3 x ˙ 4 x ˙ 5 ] = [ x 3 x 4 ( V m ω o J ) x 5 sin x 1 + u 1 ( V m ω o J ) x 5 sin x 2 + u 2 ( V m ω o L ) ( x 4 sin x 2 x 3 sin x 1 ) ] \left[\begin{matrix}\dot{x}_1\\\dot{x}_2\\\dot{x}_3\\\dot{x}_4\\\dot{x}_5\end{matrix}\right] = \left[\begin{matrix}x_3\\x_4\\\left(\frac{V_m}{\omega_oJ}\right)x_5\sin{x_1} + u_1\\-\left(\frac{V_m}{\omega_oJ}\right)x_5\sin{x_2} + u_2\\\left(\frac{V_m}{\omega_oL}\right)\left(x_4\sin{x_2}-x_3\sin{x_1}\right)\end{matrix}\right]

Assume all the signals of the system can be measured and the measurements are noise-free. Then for a start, take:

u 1 = ( V m ω o J ) x 5 sin x 1 + K ( ω o x 3 ) n u_1 = -\left(\frac{V_m}{\omega_oJ}\right)x_5\sin{x_1} + K (\omega_o - x_3)^n u 2 = ( V m ω o J ) x 5 sin x 2 + K ( ω o x 4 ) n u_2 = \left(\frac{V_m}{\omega_oJ}\right)x_5\sin{x_2} + K (\omega_o - x_4)^n

Here, K K must be a positive real number and n n must be a positive odd integer. By using K K and n n as tuning parameters, observe how the amplitude of oscillations reduce. The oscillations do not damp out, however. This is an elementary approach. There are more sophisticated methods which I have not yet tried.

Karan Chatrath - 1 year, 8 months ago

Log in to reply

This looks basically like what I would do as well. Have an extra control torque for the rotor which has the form K ( θ ˙ ω 0 ) -K (\dot{\theta} - \omega_0)

Steven Chase - 1 year, 8 months ago

When I apply the simple damping method, the speed oscillations gradually (and significantly) reduce, but do not completely disappear.

Steven Chase - 1 year, 8 months ago

Log in to reply

@Steven Chase Yes, I made the same observation. However, adding an additional term which is proportional to the derivative of the error is likely to induce some damping. I tried it and it works.

Karan Chatrath - 1 year, 8 months ago

Thanks for the comments. I will give the control problem a bit of thought and share them when I have a result.

Karan Chatrath - 1 year, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...