<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Closed-loop_controller</id>
	<title>Closed-loop controller - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Closed-loop_controller"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Closed-loop_controller&amp;action=history"/>
	<updated>2026-04-20T06:50:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Closed-loop_controller&amp;diff=343787&amp;oldid=prev</id>
		<title>imported&gt;Monkbot: /* top */ Monkbot/task 21: Replace page(s) with article-number;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Closed-loop_controller&amp;diff=343787&amp;oldid=prev"/>
		<updated>2025-10-01T01:57:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;top: &lt;/span&gt; &lt;a href=&quot;/index.php?title=User:Monkbot/task_21:_Replace_page(s)_with_article-number&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Monkbot/task 21: Replace page(s) with article-number (page does not exist)&quot;&gt;Monkbot/task 21: Replace page(s) with article-number&lt;/a&gt;;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Feedback controller}}&lt;br /&gt;
[[File:Industrial control loop.jpg|thumb|300px|Example of a single industrial control loop; showing continuously modulated control of process flow.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Closed Control Loop.svg|thumb|300px|Illustration of a Closed Loop Control consisting of [[Setpoint (control system)|Set Point]] &amp;lt;math&amp;gt;w(t)&amp;lt;/math&amp;gt;, [[Feedback|Measured Output]] &amp;lt;math&amp;gt;y_m(t)&amp;lt;/math&amp;gt;, Measured Error &amp;lt;math&amp;gt;e(t)&amp;lt;/math&amp;gt;, Controller Output &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt;, System Input &amp;lt;math&amp;gt;u_s(t)&amp;lt;/math&amp;gt;, Disturbance &amp;lt;math&amp;gt;d(t)&amp;lt;/math&amp;gt;, and System Output &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;closed-loop controller&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;feedback controller&amp;#039;&amp;#039;&amp;#039; is a [[control loop]] which incorporates [[feedback]], in contrast to an &amp;#039;&amp;#039;[[open-loop controller]]&amp;#039;&amp;#039; or &amp;#039;&amp;#039;non-feedback controller&amp;#039;&amp;#039;.&lt;br /&gt;
A closed-loop controller uses feedback to control [[state (controls)|states]] or [[Negative feedback#Overview|outputs]] of a [[dynamical system]]. Its name comes from the information path in the system: process inputs (e.g., [[voltage]] applied to an [[electric motor]]) have an effect on the process outputs (e.g., speed or torque of the motor), which is measured with [[sensor]]s and processed by the controller; the result (the control signal) is &amp;quot;fed back&amp;quot; as input to the process, closing the loop.&amp;lt;ref&amp;gt;{{Cite journal |last=Bechhoefer |first=John |date=2005-08-31 |title=Feedback for physicists: A tutorial essay on control |url=https://link.aps.org/doi/10.1103/RevModPhys.77.783 |journal=Reviews of Modern Physics |volume=77 |issue=3 |pages=783–836 |doi=10.1103/RevModPhys.77.783|url-access=subscription }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the case of linear [[feedback]] systems, a [[control loop]] including [[sensor]]s, control algorithms, and actuators is arranged in an attempt to regulate a variable at a [[Setpoint (control system)|setpoint]] (SP).  An everyday example is the [[cruise 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. The [[PID algorithm]] in the controller restores the actual speed to the desired speed in an optimum way, with minimal delay or [[Overshoot (signal)|overshoot]], by controlling the power output of the vehicle&amp;#039;s engine.&lt;br /&gt;
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 controller|Open-loop control systems]] do not make use of feedback, and run only in pre-arranged ways.&lt;br /&gt;
&lt;br /&gt;
Closed-loop controllers have the following advantages over open-loop controllers:&lt;br /&gt;
* disturbance rejection (such as hills in the cruise control example above)&lt;br /&gt;
* guaranteed performance even with [[mathematical model|model]] uncertainties, when the model structure does not match perfectly the real process and the model parameters are not exact&lt;br /&gt;
* [[instability|unstable]] processes can be stabilized&lt;br /&gt;
* reduced sensitivity to parameter variations&lt;br /&gt;
* improved reference tracking performance&lt;br /&gt;
* improved rectification of random fluctuations&amp;lt;ref&amp;gt;{{Cite journal |last=Cao |first=F. J. |last2=Feito |first2=M. |date=2009-04-10 |title=Thermodynamics of feedback controlled systems |url=https://link.aps.org/doi/10.1103/PhysRevE.79.041118 |journal=Physical Review E |volume=79 |issue=4 |article-number=041118 |doi=10.1103/PhysRevE.79.041118|arxiv=0805.4824 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some systems, closed-loop and open-loop control are used simultaneously. In such systems, the open-loop control is termed &amp;#039;&amp;#039;[[feed forward (control)|feedforward]]&amp;#039;&amp;#039; and serves to further improve reference tracking performance.&lt;br /&gt;
&lt;br /&gt;
A common closed-loop controller architecture is the [[PID controller]].&lt;br /&gt;
&lt;br /&gt;
[[File:Ideal feedback model.svg|thumb|right | A basic feedback loop]]&lt;br /&gt;
&lt;br /&gt;
== Open-loop and closed-loop ==&lt;br /&gt;
{{excerpt|Control loop#Open-loop and closed-loop}}&lt;br /&gt;
&lt;br /&gt;
==Closed-loop transfer function==&lt;br /&gt;
{{Main|Closed-loop transfer function}}&lt;br /&gt;
The output of the system &amp;#039;&amp;#039;y&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;) is fed back through a sensor measurement &amp;#039;&amp;#039;F&amp;#039;&amp;#039; to a comparison with the reference value &amp;#039;&amp;#039;r&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;). The controller &amp;#039;&amp;#039;C&amp;#039;&amp;#039; then takes the error &amp;#039;&amp;#039;e&amp;#039;&amp;#039; (difference) between the reference and the output to change the inputs &amp;#039;&amp;#039;u&amp;#039;&amp;#039; to the system under control &amp;#039;&amp;#039;P&amp;#039;&amp;#039;. This is shown in the figure. This kind of controller is a closed-loop controller or feedback controller.&lt;br /&gt;
&lt;br /&gt;
This is called a single-input-single-output (&amp;#039;&amp;#039;SISO&amp;#039;&amp;#039;) control system; &amp;#039;&amp;#039;MIMO&amp;#039;&amp;#039; (i.e., Multi-Input-Multi-Output) systems, with more than one input/output, are common. In such cases variables are represented through [[coordinate vector|vectors]] instead of simple [[scalar (mathematics)|scalar]] values. For some [[distributed parameter systems]] the vectors may be infinite-[[Dimension (vector space)|dimensional]] (typically functions).&lt;br /&gt;
&lt;br /&gt;
[[File:simple feedback control loop2.svg|center|A simple feedback control loop]]&lt;br /&gt;
&lt;br /&gt;
If we assume the controller &amp;#039;&amp;#039;C&amp;#039;&amp;#039;, the plant &amp;#039;&amp;#039;P&amp;#039;&amp;#039;, and the sensor &amp;#039;&amp;#039;F&amp;#039;&amp;#039; are [[linear]] and [[time-invariant]] (i.e., elements of their [[transfer function]] &amp;#039;&amp;#039;C&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;), &amp;#039;&amp;#039;P&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;), and &amp;#039;&amp;#039;F&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;) do not depend on time), the systems above can be analysed using the [[Laplace transform]] on the variables. This gives the following relations:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;Y(s) = P(s) U(s)&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;U(s) = C(s) E(s)&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;E(s) = R(s) - F(s)Y(s).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;#039;&amp;#039;Y&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;) in terms of &amp;#039;&amp;#039;R&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;) gives&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;Y(s) = \left( \frac{P(s)C(s)}{1 + P(s)C(s)F(s)} \right) R(s) = H(s)R(s).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The expression &amp;lt;math&amp;gt;H(s) = \frac{P(s)C(s)}{1 + F(s)P(s)C(s)}&amp;lt;/math&amp;gt; is referred to as the &amp;#039;&amp;#039;closed-loop transfer function&amp;#039;&amp;#039; of the system. The numerator is the forward (open-loop) gain from &amp;#039;&amp;#039;r&amp;#039;&amp;#039; to &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, and the denominator is one plus the gain in going around the feedback loop, the so-called loop gain. If &amp;lt;math&amp;gt;|P(s)C(s)| \gg 1&amp;lt;/math&amp;gt;, i.e., it has a large [[norm (mathematics)|norm]] with each value of &amp;#039;&amp;#039;s&amp;#039;&amp;#039;, and if &amp;lt;math&amp;gt;|F(s)| \approx 1&amp;lt;/math&amp;gt;, then &amp;#039;&amp;#039;Y&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;) is approximately equal to &amp;#039;&amp;#039;R&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;) and the output closely tracks the reference input.&lt;br /&gt;
&lt;br /&gt;
==PID feedback control==&lt;br /&gt;
{{main|PID controller}}&lt;br /&gt;
[[File:PID en.svg|right|thumb|400x400px|A [[block diagram]] of a PID controller in a feedback loop; {{math|&amp;#039;&amp;#039;r&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} is the desired process value or &amp;quot;set point&amp;quot;, and {{math|&amp;#039;&amp;#039;y&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} is the measured process value.]]&lt;br /&gt;
A proportional–integral–derivative controller (PID controller) is a  [[control loop]] [[feedback mechanism]] control technique widely  used in control systems.&lt;br /&gt;
&lt;br /&gt;
A PID controller continuously calculates an &amp;#039;&amp;#039;error value&amp;#039;&amp;#039; {{math|&amp;#039;&amp;#039;e&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} as the difference between a desired [[Setpoint (control system)|setpoint]] and a measured [[process variable]] and applies a correction based on [[Proportional control|proportional]], [[integral]], and [[derivative]] terms. &amp;#039;&amp;#039;PID&amp;#039;&amp;#039; is an initialism for &amp;#039;&amp;#039;Proportional-Integral-Derivative&amp;#039;&amp;#039;, referring to the three terms operating on the error signal to produce a control signal.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
The PID controller is probably the most-used feedback control design.&lt;br /&gt;
&lt;br /&gt;
If {{math|&amp;#039;&amp;#039;u&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} is the control signal sent to the system, {{math|&amp;#039;&amp;#039;y&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} is the measured output and {{math|&amp;#039;&amp;#039;r&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} is the desired output, and {{math|1=&amp;#039;&amp;#039;e&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;) = &amp;#039;&amp;#039;r&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;) − &amp;#039;&amp;#039;y&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} is the tracking error, a PID controller has the general form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;u(t) =  K_P e(t) + K_I \int^t e(\tau)\text{d}\tau + K_D \frac{\text{d}e(t)}{\text{d}t}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The desired closed loop dynamics is obtained by adjusting the three parameters {{math|&amp;#039;&amp;#039;K&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;}}, {{math|&amp;#039;&amp;#039;K&amp;lt;sub&amp;gt;I&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;}} and {{math|&amp;#039;&amp;#039;K&amp;lt;sub&amp;gt;D&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;}}, often iteratively by &amp;quot;tuning&amp;quot; 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 in [[process 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 if [[MIMO]] systems are considered.&lt;br /&gt;
&lt;br /&gt;
Applying [[Laplace transform]]ation results in the transformed PID controller equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;u(s) =  K_P \, e(s) + K_I \, \frac{1}{s} \, e(s) + K_D \, s \, e(s)&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;u(s) =  \left(K_P + K_I \, \frac{1}{s} + K_D \, s\right) e(s)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with the PID controller transfer function&lt;br /&gt;
:&amp;lt;math&amp;gt;C(s) = \left(K_P + K_I \, \frac{1}{s} + K_D \, s\right).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an example of tuning a PID controller in the closed-loop system {{math|&amp;#039;&amp;#039;H&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;)}}, consider a 1st order plant given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;P(s) = \frac{A}{1 + sT_P}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{mvar|A}} and {{math|&amp;#039;&amp;#039;T&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;}} are some constants. The plant output is fed back through&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F(s) = \frac{1}{1 + sT_F}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{math|&amp;#039;&amp;#039;T&amp;lt;sub&amp;gt;F&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;}} is also a constant. Now if we set &amp;lt;math&amp;gt;K_P=K\left(1+\frac{T_D}{T_I}\right)&amp;lt;/math&amp;gt;, {{math|1=&amp;#039;&amp;#039;K&amp;lt;sub&amp;gt;D&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; = &amp;#039;&amp;#039;KT&amp;lt;sub&amp;gt;D&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;}}, and &amp;lt;math&amp;gt;K_I=\frac{K}{T_I}&amp;lt;/math&amp;gt;, we can express the PID controller transfer function in series form as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;C(s) =  K \left(1 + \frac{1}{sT_I}\right)(1 + sT_D)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plugging {{math|&amp;#039;&amp;#039;P&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;)}}, {{math|&amp;#039;&amp;#039;F&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;)}}, and {{math|&amp;#039;&amp;#039;C&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;)}} into the closed-loop transfer function {{math|&amp;#039;&amp;#039;H&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;)}}, we find that by setting&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \frac{1}{A},   T_I = T_F,   T_D = T_P&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{math|1=&amp;#039;&amp;#039;H&amp;#039;&amp;#039;(&amp;#039;&amp;#039;s&amp;#039;&amp;#039;) = 1}}. With this tuning in this example, the system output follows the reference input exactly.&lt;br /&gt;
&lt;br /&gt;
However, in practice, a pure differentiator is neither physically realizable nor desirable&amp;lt;ref&amp;gt;{{cite journal |last1=Ang |first1=K.H. |last2=Chong |first2=G.C.Y. |last3=Li |first3=Y. |date=2005 |title=PID control system analysis, design, and technology |journal=IEEE Transactions on Control Systems Technology |volume=13 |issue=4 |pages=559–576|doi=10.1109/TCST.2005.847331 |s2cid=921620 |url=http://eprints.gla.ac.uk/3817/1/IEEE3.pdf |archive-url=https://web.archive.org/web/20131213200556/http://eprints.gla.ac.uk/3817/1/IEEE3.pdf |archive-date=2013-12-13 |url-status=live }}&amp;lt;/ref&amp;gt; due to amplification of noise and resonant modes in the system. Therefore, a [[Lead–lag compensator|phase-lead compensator]] type approach or a differentiator with low-pass roll-off are used instead.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Control theory]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Monkbot</name></author>
	</entry>
</feed>