Professional Documents
Culture Documents
So after set the Ti as and T out is we get the speed of fan as 510
Figure 5.6. result of simulation with Ti and To
5.4.2. create a fuzzy controller for controlling rotation of DC motor.
We have transfer function of motor when operating at no-load condition:
When using motor at 3.7kW, 240V, 1750rpm, parameteres of motor will be:
We need to build the Fuzzy controller with 2 inputs, which are E (steady state error)
and DE (changing speed of steady state error) and 1 output which is U.
Figure 5.7. Main window of fuzzy control with 2 inputs and 1 output.
Then we setup inputs and output follow fuzzy law with 5 ranges which is
NB,NS,Z,PS,PB then 2 inputs and output will have the form look like:
Figure 5.8a,b,c Form to build for 2 inputs and 1 output in Fuzzy controller.
Then based on the sumary table of fuzzy law for output U with 2 inputs DE and E
below:
Table 5.2: Fuzzy law for system of controlling rotation of DC motor
Then after building fuzzy controller, we will simulate the system for speed controling
of DC motor in mathlab like this:
Comment: When we increase the steady state error (E) the POT and settling time will
increase because when the bigger error is, the longer time it takes the system to be
stable. But when the overshoot increases, it will decrease the rise time of the system.
And when the system have input E big enough, the system will be unstable.
The grap of 4 cases when we put it on the same coordinate plane:
200
K1=1/500
180 K1=1/300
K1=1/200
160 K1=1/100
140
120
100
80
60
40
20
Figure 5.12. plot of 4 cases when setting K3=240, K2=0 and changing K1.
120
K2=1/300
K2=1/200
K2=1/100
100 K2=1/50
80
60
40
20
0
0 5 10 15 20 25 30 35 40 45 50
Time(s)
We have
Find and :
Based on transfer function we can find the expected temperature that we want the
furnace to get to be.
Assume that the lowest temperature that furnace can be is 0 degree.
Then:
And the output we set from 0-1 which performs the power of thermal driver
operating at power of 0 to 100%.
200
Temperature
150
100
50
expected temperature
thermal furnace
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time
Figure 5.20. Expected temperature is 250
160
140
120
100
Temperature
80
60
40
expected temperature
20
thermal furnace
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time