Professional Documents
Culture Documents
Power generation utilities must maintain the supply voltage within the prescribed tolerance about the
nominal level. As loads are switched on and off the system, the supply voltage changes and the
generators must respond by varying their speed to mitigate those changes. Therefore, the control of
the supply voltage is very important for ensuring the supply’s integrity. In this task, you have a dc
power generation plant consisting of a motor (that you will drive) and an attached generator. You are
required to design an analogue control system to control the speed of the motor/generator plant under
various load conditions.
Objectives
You will learn how to develop a linear model for the plant and controller, how to analyze the model
under MATLAB (poles, zeros, frequency response, time domain response, etc.), and how to design a
controller, and how to simulate the open-loop and closed-loop system under SIMULINK.
Components
1
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
Part 2: Requirements
Hard requirements:
Design an analogue control system to control the speed of the motor/generator plant under
various load conditions.
Maintain constant output voltage.
Minimize the rise and settling times of the speed as a result of a step change in the input or load
subject to a maximum overshoot of 5%.
Soft requirements:
Displaying the various output parameters (speed, output voltage) in Matlab.
Setting the desired point from Matlab.
Optimize power consumption and enforce the reliable of circuit design by high power rating
electronics.
The response of control circuit of changing load resistor should be settled down in a short period
of time.
2
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
By Kirchhoff’s Law
To calculate R, you need apply a voltage to motor but manually hold it standstill, so the goes
to 0, since there is no angular movement, and I is a constant so that voltage induced by inductor is
also eliminated, then you use multimeter to measure currents for different voltages, fill in the table
with experimental measurement values and plot it in excel and display the best fit line, then you find
the value of resistance.
Table 1 Input Voltage Vs Current
To calculate inductance, the method we are going to use is finding the time constant of step response,
then derive the value of inductor. To do this, you need to connected a 10 Ώ power resistor as the load
of motor (protect the circuit from exceeding current). And then change the CRO mode to single, and
then connect the motor to 3V voltage supply and remove it very fast. Try several times until you
obtain a nice display of step response. As long as you have the time constant value, then according to
4
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
5
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
The back electromotive force (emf), Vb, is related to the angular velocity by:
To measure the electromotive force constant K, you need to apply varies voltage to motor and also
measure the current. Use the speed measurement circuit shown below to measure its angular velocity
ω. An angular speed measurement mechanism is attached to the axle connecting the motor and
generator. This mechanism consists of a disk with a single hole in it, and a lamp and phototransistor
aligned on opposite sides of the disk. Each time the hole passes the light/phototransistor pair, the
latter “sees” the light and turns on producing a narrow pulse in a suitably designed circuit. A diagram
of the speed sensing circuit is shown below: The light is rated at 9V.
6
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
From the graph, you can get the frequency of the above wave, since every time the light turn on
photo transistor, the output voltage will drag to ground, then you can get the angular speed of motor,
try to fill in the table below and plot it in EXCEL to find the best fit line.
Table 2 values for calculate Km
V f(Hz) W(rad/s) I(A) Vm = V- I*R
1.2000 14.0000 87.9646 0.8700 0.5536
1.5000 25.5000 160.2212 0.9300 0.8090
1.8000 34.7200 218.1522 0.9900 1.0644
2.1000 43.8600 275.5805 1.0400 1.3273
2.5000 56.8200 357.0106 1.1300 1.6604
2.9000 68.4900 430.3354 1.2300 1.9861
7
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
Formula derivation
8
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
Let us design a PID feedback controller to control the velocity of the DC motor. Recall that the transfer
To model the whole feedback system, we can either simulate it by SIMULINK or doing direct
implementation in Matlab code.
Rl=10;
Rm=…;Rg=…; %%enter calculated value
10
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
%%PID
P=…;I=…;D=…; %%enter calculated value
PID=tf([P I D],[1 0]);
CL_PID=feedback(PID,1);
figure(2)
step(CL_PID)
title('Performance of PID’)
%%Closed-loop
CL=feedback(plant*PID,1);
figure(3)
step(CL,0:0.00001:0.0005)
title('Closed-loop Step Response')
11
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
Fig.8 Simulation by sisotool, root locus of close loop and open loop poles and zeros
12
Meng Chen(z3249436) & Kaiyi Ding(z3294330)
13