Section 1

PI and PID control are currently being applied to a wide variety of applications such as process control, motor speed and position control, robot control, control of power plants, automotive and aerospace applications etc.

1) Explain the strengths and limitations of PID control. In your answer, consider ease of implementation, stabilisation requirements, performance, robustness, energy consumption and steady state error.

2) Provide one example of systems that can be controlled using PI methods and one example for which PID control is more adequate. Describe the control systems’ inputs and outputs and the sensing/actuation methods used for the examples.

3) Describe two modern alternatives to PID control for slow processes and systems with uncertain parameters. Compare these control approaches with PID control.

4) Explain the increasing need for discretisation in modern control applications.

5) Explain how motor angular velocity control can be relevant to complex systems, such as control of humanoid robots.

## PI and PID controllers

Figure 1. 1: The electric circuit of the armature and the free-body diagram of the rotor

In this assignment, it deals with Continuous and discrete time PID control of DC motor angular velocity. The major control system considered in this assignment is the PID controller, which is simulated using MATLAB software. The system is then discretized and compared with the continuous time control.

**Section 1: PI and PID controllers.**

**1) The strengths and limitations of PID control.**

PID (Proportional+ Integral+ Derivative) controller provide a range of amendments because it contains three (3) key controls which includes P-control, I-control and D-control which may be altered. PID Controller control and handles system characteristics like settling time, percentage overshoot, stability, steady-state error, rise time, etc. Even if there are three control elements in the controller, it still has some disadvantage, because the implementation complexity increases in the system (Abu-Khalaf, et al., 2009). Though, each control element has different functions, the elements are exclusively dependent to each other; since single element can be varied by changing another element. Consequently, PID design is complex as compared to the designing P- controller, PD- controller or PI- controller (Anon., 2016). In this part, the strength and disadvantages of PID controller in terms of implementation of the controller, stabilization requirements, performances, robustness, energy consumptions and steady state error

** a).Implementation of the controller**.

During implementation of PID controller, one strength on implementing the PID controller is that it is easier to construct and design. The PID controllers can be an analogue circuit or a logic gate circuit or MCU or inductors and resistor circuit. Conversely, PID controller needs acceptable and a better sampling time for implementing which requires to be very accurate

**b).Stabilization requirements.**

The PID controllers to be stable it needs several factor such as Kp, Ki, and Kd. When the needs are all met the PID controller is more stable. The following table 1.1 illustrate how these element affect the PID percentage overshoot, rise time and steady state error.

Elements |
Effect on Rise time |
Effect on overshoot |
Effect on steady state error |

Kp |
Reduces |
increases |
Reduces |

Ki |
Reduces |
increases |
Eliminates |

Kd |
No/small chage |
Reduces |
No effect |

In obtaining a very accurate PID controlled system, these requirements indicated in table 1.1 above must be met to be able to withstand external disturbances like noise, vibrations, etc. Failure to meet the requirement, the system becomes unstable.

## Strengths and Limitations of PID Control

**c).Performances**

The performances of PID control systems is evaluated by its ability to overcome the disturbances effects referred to as the disturbance rejection of the control systems.

A small value for derivative value is required since it might result into unstable system due to the high sensitivity to disturbance such as noise and vibration. High value of derivative will result to oscillation of the system, thus unstable system.

The rise time or responses time of PID controller is required to be less than 2 percent of the system output and having a stable state. Moreover, speed of the peak time is required to be considerably faster in reaching the peak values for the given system.

**d).Robustness**

The robustness of a system can be attained when the stability and the performance of PID Controllers are not affected by a smaller differences in plant or the operating condition. The advantage of the PID controller is that, the robustness is achieved for system with less robust.

**e).Energy consumptions.**

The PID controller are designed to consume less power, for a system which is unstable it may consume a lot of power. But when PID contlol are introduce the system gains its stability, thus less energy is dissipated resulting to less power consumption

**f).steady state errors**

Steady state errors can be well-defined as the difference values between the exact output produced by the system and the desired output of the same system. PID controllers are used to minimize the steady state error in the control systems over time and the error rate (Novotecknik, 2009). For a PID, it reduces the error rate and sse of the system, When sse is zero, that means the desired output of the system is met. The integral components (Ki) sums the error term over time. The integral components increase continuously if there exist a small error. The phenomenon in which the integral component continue to increase is referred to as integral windup, which occurs when the integral actions reach to saturations and does not reduce the error to zero. The importance for the integrator are the ant windup operations for saturating the actuator (Owen, 2012).

**2: Examples of PI-controlled system and PID controlled system**.

**PI Controller:**

PI controllers are mostly used in eliminating the steady state error which may result from P-controllers. An example is the cruise control systems control which is used to control the speed/velocity of the vehicle, similarly by regulating the throttle positions. In fact cruise controls actuate the throttle valves by a cable connection to actuators in place of pressing the car pedals. Figure 1.2 below shows the pi cruise control (Deka & Haloi, June, 2014).

## Implementation of the Controller

The aim of cruise control systems are maintaining constant car speed in spite of having external disturbances such as change of road grade or wind. The control is accomplished by computing the car speed, therafter the speed is compared with the reference/desired speed and automatically, the throttle is adjusted in accordance with control law (Deka & Haloi, June, 2014).

**PID Controller:**

PID controllers have the best control dynamic counting zero steady state errors, faster responses (shorter rise-time), higher stability and no oscillations as compared to other controllers such as PI-controller. An example used in PID control in many industries is a DC servo motor. The elementary components of normal servo motion systems are illustrated in figure 1.2 below. Yy use of standard Laplace notations. In the figure 1.2, servo drive close a current loops and are made simply as linear transfer functions Obviously, the servo drive contains a peak current limit, thus the linear models are not completely accurate; nevertheless, it provides a sensible representations for the analysis. Basically, servo drives receives voltage commands that represent the preferred motor currents. The shaft torque, of the motor, is directly associated to motor current, by torque constant, Equation (1.1) below shows the mentioned above relationships.

The servo-motors are made as torque constant, a viscous damping term, , and lump inertia. The lump inertia terms contains the servo-motor and inertia of the load. There is an assumption that the loads are firmly coupled in such a way that the torsional rigidity passes the natural mechanical resonance points further than the servo controller bandwidths. In this case, it become easier to model the total systems inertia as the sum of load inertia and the motor for a frequency that can be controlled. Slightly added complicated models are required if coupler dynamic is integrated.

The real motor positions, typically estimated by by a resolve or an encoder couples directly to the motor shaft. Once more, the assumption made above also assumes that the feedback devices are firmly mounted in a way that mechanical resonant frequency can be ignored without any effect. Disturbances from external shaft torque, is added to the generated torque by the current of the motor to give the torque available for accelerating the total inertia, J (Ziegler & Nichols, 2000).

## Stabilization Requirements

There exist three (3) gains for adjusting in PID controllers, which acts on the position errors given in equation 1.2 below. The superscript * denotes a commanded values (Ziegler & Nichols, 2000):

The outputs of PID controllers are torque signals. The mathematical expressions in time domain is illustrated in equation 1.3 below (Ziegler & Nichols, 2000):

**3).Modern alternatives to PID control**

The two modern alternative to PID controls for slow process and system with uncertain parameters are Ziegler-Nicholas method and good gain control method. These two are lab methods used in tuning PID controller (WILLIAMSON, 2015).

The Ziegler–Nichols methods are exploratory methods whereby PID controllers are tuned through setting the D (derivative) and I (integral) gains to zero (WILLIAMSON, 2015). The "P" (proportional) gain, K p is raised till it attains the final gain. This is the point at which the outputs of the control loops has consistent and stable oscillations. The maximum gain attained and the oscillation period are used to set the derivative, D, promotional, P and integral, I gains which depends on controller type used. This method can be used for simulations and it is also probably the most common to use in real life.

The Good Gain method is used to give better stability to the control loop better stability than that of Ziegler-Nichols' methods (OGATA, 2013). The Good Gain method, as simple as it is, can be used both on real processes (without any knowledge about the processes to be controlled), and in simulated systems. This method gives better stability and does not need the control loop to get into oscillations when tuning (OGATA, 2013). These are two benefits of this method as compared with the Ziegler-Nichols’ methods.

4.**Reason for ****discretizing system in modern control.**

The system which is digitized it has several advantages over time continuous system. The flexibility and capability of decision making in the control program is the chief benefits of digital control systems (Anon., n.d.)among others:

- High accuracy, since digitized system is represented by 0s and 1s which results to a very small errors where noise and power supply drift are present
- Low implementation error
- High speed
- Low cost

The modern control applications are using process control where the power of digital processing techniques are used to perform the desired control tasks (KUO & HASELMAN, 2014). Although the majority of systems that need to be controlled are often analog nature, the modern digital control applications are using A/D- and D/A-conversions as the principal operations to achieve appropriate control of processes. This has brought the increasing need for discretization in modern control applications where sampling is carried out by point measurements (OGATA, 2013).

## Performances

**5.motor angular velocity control relevance to complex systems**

Motor drives requires a rotor position sensors to correctly perform phase commutations and current controls. A constant supplies of position data is essential; therefore position sensors having high resolution, such as a resolver or a shaft encoders, is characteristically used (Gamazo-Real, et al., July, 2010). For complex systems, therefore, low-cost Hall-effects sensor are typically used. Moreover, accelerometers or electromagnetic variables reluctance sensors has widely applied in measuring motor position and speed (Deka & Haloi, June, 2014). The angular motion sensors based on magnetic fields sensing principle stand out due to several inherent advantages and sensing benefits (Deka & Haloi, June, 2014).

**Conclusions:**

The assignment consisted three (3) parts. In the first part, I was able to understand the major benefits and drawback of PID controllers. Some applications of PI and PID controller in day-todays life is discussed. Furthermore in this part, the advantages of using digital systems over continuous time systems. It is found that, discrete system are more proffered than continuous time system since discrete system has low error rate, low cost, high speed, etc. Also, we found how motor angular velocity control can be relevant to complex systems in day today life.

In part two (2), the control of angular velocity of a DC motor shaft by varying an input voltage u is illustrated. Simulation of continuous time PID control system of a DC motor is done using MATLAB software. The system stability, robustness, response time and other characteristics of system are simulated. A tuning PID controller is then simulated using different metric to determine which metrics is better and preferred to control the DC motor. It is found that, the Ziegler-Nichols method produces a faster response of the system having acceptable overshoot while Chien-Hrones-Reswick method of tuning the PID has a smaller overshoot having suitable system transient responses.

In the last part of the system, the DC motor is discretized and simulated in MATLAB to compare with the continuous time system. Different metrics of discrete system is used to determine the system response, robustness, stability and easiness of implementation and the error rate of the system. It is found that, using discrete system, the DC motor is more stable, more robust, less response time and less error rate as compared to continuous time system. Although, in both continuous and discrete system, choosing the PID controller should be chosen carefully to provide a stable and robust system

## Robustness

Many industrial sectors today, direct current motors (also called DC motors) are used in different ways from automobiles to robotics small and medium-sized driving applications regularly features DC motors for the wide range of functionalities. A DC motor can be defined as an electric motor which runs on direct current. Common actuators in control systems are Direct Current motors. The DC motors provide direct rotary motion and, coupled with cables and drums or wheels, providing translational motion. The electric circuit of the armature and the free-body diagram of the rotor are shown in figure 1.1 below (Melkin, 2017):

**References:**

Aalto, 2010. Discrete-time approximations of continuous controllers; discrete PID controller. s.l.:Lecture notes.

Abdulameer, A., Sulaiman, M., Aras, M. & Saleem, D., 2016. uning Methods of PID Controller for DC Motor Speed Control. Indonesian Journal of Electrical Engineering and Computer Science, 2 August, pp. 343-349.

Abu-Khalaf, M., Chen, R. & Turevskiy, A., 2009. PID Control Design Made Easy. Matlab digest.

Anon., 2016. PID control strengths and limitations. [Online]

Available at: https://forum.allaboutcircuits.com/threads/what-are-the-pid-control-strengths-and-limitations.133881/

[Accessed 18 February 2018].

Anon., 2017. DC Motor Speed: Simulink Modeling. [Online]

Available at: https://ctms.engin.umich.edu/CTMS/index.php?example=MotorSpeed§ion=ControlPID

[Accessed 15 February 2018].

Anon., n.d. Introduction to Discrete-Time Control System. [Online]

Available at: https://wikieducator.org/images/8/82/Chp_1.pdf

[Accessed 20 February 2018].

Deka, J. & Haloi, R., June, 2014. Study of Effect of P, PI Controller on Car Cruise Control System and Security. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, III(6), pp. 980-987.

Dorf & Bishop, 2001. Modern Control Systems. 9th ed. Inc: Prentice-Hall.

Fadali, M. S. & Visioli, A., 2013. Digital control engineering : analysis and design. 2nd ed. USA: Academic Press.

Gamazo-Real, J. C., Vázquez-Sánchez, E. & Gómez-Gil, J., July, 2010. Position and Speed Control of Brushless DC Motors Using Sensorless Techniques and Application Trends. Articles from Sensors (Basel, Switzerland).

KUO, B. C. & HASELMAN, P., 2014. Matlab tools for control systems. Analysis and design. s.l.:Prentice Hall, .

MathWorks, 1994-2018. PID controller in standard form. [Online]

Available at: https://www.mathworks.com/help/control/ref/pidstd.html

[Accessed 18 February 2018].

Melkin, C., 2017. DC Motor Speed: Root Locus Controller Design. [Online]

Available at: https://ctms.engin.umich.edu/CTMS/index.php?example=MotorSpeed§ion=ControlRootLocus

[Accessed 15 February 2018].

Novotecknik, 2009. P-I-D Controller:. Introduction to PID control, Volume III.

OGATA, K., 2013. Discrete time control systems. s.l.:Prentice Hall.

Owen, F., 2012. Designing and tuning PID controllers.. In Control Systems Engineering A Practical Approach, pp. 1-41.

Phillips, C. & Harbor, R., 2000. FEEDBACK CONTROL SYSTEMS. 4th ed. New Jeresy: Prentice-Hall.

phillips, H., 2012. Discrete PID Control. UK: s.n.

ResearchGate, 2015. Discover scientific knowledge at ResearchGate. [Online]

Available at: https://www.researchgate.net/post/What_is_the_difference_between_continuous_and_discrete_PID_controllers

[Accessed 18 February 2018].

sailan, K. & Kuhnert, K.-D., 2015. DC Motor Angular Position Control using PID Controller for the porpuse of controlling the Hydraulic Pump. Germany, s.n.

Thomas, N. & Poongod, P., 2009. Position Control of DC Motor Using Genetic Algorithm Based PID Controlle. London, U.K, s.n.

WILLIAMSON, D., 2015. Digital control and implementation.. s.l.: Prentice Hall, .

Ziegler, J. & Nichols, N., 2000. Optimum Settings for Automatic Controllers. Transactions of the American Society of Mechanical Engineers (ASME), Volume 64, pp. 759-768.

**Cite This Work**

To export a reference to this article please select a referencing stye below:

My Assignment Help. (2020). *Continuous And Discrete Time PID Control Of DC Motor Angular Velocity Essay. (70 Characters)*. Retrieved from https://myassignmenthelp.com/free-samples/306se-continuous-and-discrete-time-pid-control-of-dc-motor-angular-velocity.

"Continuous And Discrete Time PID Control Of DC Motor Angular Velocity Essay. (70 Characters)." My Assignment Help, 2020, https://myassignmenthelp.com/free-samples/306se-continuous-and-discrete-time-pid-control-of-dc-motor-angular-velocity.

My Assignment Help (2020) *Continuous And Discrete Time PID Control Of DC Motor Angular Velocity Essay. (70 Characters)* [Online]. Available from: https://myassignmenthelp.com/free-samples/306se-continuous-and-discrete-time-pid-control-of-dc-motor-angular-velocity

[Accessed 17 July 2024].

My Assignment Help. 'Continuous And Discrete Time PID Control Of DC Motor Angular Velocity Essay. (70 Characters)' (My Assignment Help, 2020) <https://myassignmenthelp.com/free-samples/306se-continuous-and-discrete-time-pid-control-of-dc-motor-angular-velocity> accessed 17 July 2024.

My Assignment Help. Continuous And Discrete Time PID Control Of DC Motor Angular Velocity Essay. (70 Characters) [Internet]. My Assignment Help. 2020 [cited 17 July 2024]. Available from: https://myassignmenthelp.com/free-samples/306se-continuous-and-discrete-time-pid-control-of-dc-motor-angular-velocity.