Aclosed-loop controller orfeedback controller is acontrol loop which incorporatesfeedback, in contrast to anopen-loop controller ornon-feedback controller.A closed-loop controller uses feedback to controlstates oroutputs of adynamical system. Its name comes from the information path in the system: process inputs (e.g.,voltage applied to anelectric motor) have an effect on the process outputs (e.g., speed or torque of the motor), which is measured withsensors and processed by the controller; the result (the control signal) is "fed back" as input to the process, closing the loop.[1]
In the case of linearfeedback systems, acontrol loop includingsensors, control algorithms, and actuators is arranged in an attempt to regulate a variable at asetpoint (SP). An everyday example is thecruise control on a road vehicle; where external influences such as hills would cause speed changes, and the driver has the ability to alter the desired set speed. ThePID algorithm in the controller restores the actual speed to the desired speed in an optimum way, with minimal delay orovershoot, by controlling the power output of the vehicle's engine.Control systems that include some sensing of the results they are trying to achieve are making use of feedback and can adapt to varying circumstances to some extent.Open-loop control systems do not make use of feedback, and run only in pre-arranged ways.
Closed-loop controllers have the following advantages over open-loop controllers:
In some systems, closed-loop and open-loop control are used simultaneously. In such systems, the open-loop control is termedfeedforward and serves to further improve reference tracking performance.
A common closed-loop controller architecture is thePID controller.
Fundamentally, there are two types of control loop:open-loop control (feedforward), andclosed-loop control (feedback).
The definition of a closed loop control system according to theBritish Standards Institution is "a control system possessing monitoring feedback, the deviation signal formed as a result of this feedback being used to control the action of a final control element in such a way as to tend to reduce the deviation to zero."[4]
Likewise; "AFeedback Control System is a system which tends to maintain a prescribed relationship of one system variable to another by comparing functions of these variables and using the difference as a means of control."[5]The output of the systemy(t) is fed back through a sensor measurementF to a comparison with the reference valuer(t). The controllerC then takes the errore (difference) between the reference and the output to change the inputsu to the system under controlP. This is shown in the figure. This kind of controller is a closed-loop controller or feedback controller.
This is called a single-input-single-output (SISO) control system;MIMO (i.e., Multi-Input-Multi-Output) systems, with more than one input/output, are common. In such cases variables are represented throughvectors instead of simplescalar values. For somedistributed parameter systems the vectors may be infinite-dimensional (typically functions).
If we assume the controllerC, the plantP, and the sensorF arelinear andtime-invariant (i.e., elements of theirtransfer functionC(s),P(s), andF(s) do not depend on time), the systems above can be analysed using theLaplace transform on the variables. This gives the following relations:
Solving forY(s) in terms ofR(s) gives
The expression is referred to as theclosed-loop transfer function of the system. The numerator is the forward (open-loop) gain fromr toy, and the denominator is one plus the gain in going around the feedback loop, the so-called loop gain. If, i.e., it has a largenorm with each value ofs, and if, thenY(s) is approximately equal toR(s) and the output closely tracks the reference input.
A proportional–integral–derivative controller (PID controller) is acontrol loopfeedback mechanism control technique widely used in control systems.
A PID controller continuously calculates anerror valuee(t) as the difference between a desiredsetpoint and a measuredprocess variable and applies a correction based onproportional,integral, andderivative terms.PID is an initialism forProportional-Integral-Derivative, referring to the three terms operating on the error signal to produce a control signal.
The theoretical understanding and application dates from the 1920s, and they are implemented in nearly all analogue control systems; originally in mechanical controllers, and then using discrete electronics and later in industrial process computers.The PID controller is probably the most-used feedback control design.
Ifu(t) is the control signal sent to the system,y(t) is the measured output andr(t) is the desired output, ande(t) =r(t) −y(t) is the tracking error, a PID controller has the general form
The desired closed loop dynamics is obtained by adjusting the three parametersKP,KI andKD, often iteratively by "tuning" and without specific knowledge of a plant model. Stability can often be ensured using only the proportional term. The integral term permits the rejection of a step disturbance (often a striking specification inprocess control). The derivative term is used to provide damping or shaping of the response. PID controllers are the most well-established class of control systems: however, they cannot be used in several more complicated cases, especially ifMIMO systems are considered.
ApplyingLaplace transformation results in the transformed PID controller equation
with the PID controller transfer function
As an example of tuning a PID controller in the closed-loop systemH(s), consider a 1st order plant given by
whereA andTP are some constants. The plant output is fed back through
whereTF is also a constant. Now if we set,KD =KTD, and, we can express the PID controller transfer function in series form as
PluggingP(s),F(s), andC(s) into the closed-loop transfer functionH(s), we find that by setting
H(s) = 1. With this tuning in this example, the system output follows the reference input exactly.
However, in practice, a pure differentiator is neither physically realizable nor desirable[6] due to amplification of noise and resonant modes in the system. Therefore, aphase-lead compensator type approach or a differentiator with low-pass roll-off are used instead.