Project - Speed Control of a Direct Current (DC) motor
Aim: To design a Simulink model for the DC motor shown in Figure 1. amd aslo by Using the Proportional, Integral, and Derivative (PID) control design knowledge gained in the training to design, develop and test a controller to maintain a desired speed for the motor.
Answer:
- Here the Speed control of a DC motor is either done manually by the operator or by means of an automatic control device.
- This is different to speed regulation where the speed is trying to be maintained or regulated against the natural change in speed due to a change in the load on the shaft
-
so the speed can be varied by changing:
- The terminal voltage of the armature V
- The external resistance in armature circuit Ra
- The flux per pole
-
So Terminal voltage and external resistance involve a change that affects the armature circuit while flux involves a change in the maginetic field
-
so Therefore speed control of DC motor can be classified into:
- Armature Control Methods
- Field Control Methods
the comparison of three DC motor control techniques for tracking setpoint commands and reducing sensitivity to load disturbances:
-
feedforward command
-
integral feedback control
-
LQR regulation
In armature-controlled DC motors, the applied voltage Va controls the angular velocity w of the shaft.
This example shows two DC motor control techniques for reducing the sensitivity of w to load variations (changes in the torque opposed by the motor load).
A simplified model of the DC motor is shown above. The torque Td models load disturbances. You must minimize the speed variations induced by such disturbance
Simulink model :
- Here first we need to creat simulink model of the DC motor and make it as subsytem called the DC motor
- So next the subsytem of DC motor is connected to the discrete PID controller which helps in maintaining the desired speed
- So after the PID controller we need to start with the kp ki kd such as 1.0 1.0 0 after tunin accordingly so by this we can adjust the kp /ki/ kd values as 31.5/ 82.3 /2.3
- Which is used to obtaine the control design objectives
Simulink model for DC motor:


Over all Simulink block:

MATLAB COMMAND:


Output Waveform:
speed reference given as 5:

speed reference given as 55:

By optimising the Ki value, the Steady state response error is minimised.




ecall that the transfer function for a PID controller is:
(4)
Here we consider the PID control paramters as :
Kp =1 ki = 1 kd 0
But after tuning we set kp ki kd to 31.5 82.3 2.3 which is used to obtaine the control objectives of the settling time overshoot time and steady state error
Plot for when tuning settling time as 1.5sec:
Plot for tuning as overshoot is less than 5%:
Plot for tuning as steadt state error less than 1 %
Final plot:
Now For maintaing the stabilty of a dynamic system :
Output results:
Case : 1 When maintaining a desired speed of the motor at 100 :

Case : 2 When maintaining a desired speed of the motor at 230v :

- Here by observing the above two graphs we change the desired speed as 100 in the case1 and 230 in the case 2
- But here both the plots reamains same
- So by this we can say that we maintained desired speed of a DC motor
Conclusion:
we have desined In this project a Simulink model for the DC motor as shown in Figure 1.and also we Use the Proportional Integral and Derivative PID control design knowledge gained in the training to design develop and test a controller to maintain a desired speed for the motor