Bang–bang Control
   HOME

TheInfoList



OR:

In
control theory Control theory is a field of mathematics that deals with the control of dynamical systems in engineered processes and machines. The objective is to develop a model or algorithm governing the application of system inputs to drive the system to a ...
, a bang–bang controller (2 step or on–off controller), is a
feedback control Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit or loop. The system can then be said to ''feed back'' into itself. The notion of cause-and-effect has to be handled c ...
ler that switches abruptly between two states. These controllers may be realized in terms of any element that provides hysteresis. They are often used to control a plant that accepts a binary input, for example a furnace that is either completely on or completely off. Most common residential
thermostats A thermostat is a regulating device component which senses the temperature of a physical system and performs actions so that the system's temperature is maintained near a desired setpoint. Thermostats are used in any device or system tha ...
are bang–bang controllers. The
Heaviside step function The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function, named after Oliver Heaviside (1850–1925), the value of which is zero for negative arguments and one for positive argum ...
in its discrete form is an example of a bang–bang control signal. Due to the
discontinuous Continuous functions are of utmost importance in mathematics, functions and applications. However, not all functions are continuous. If a function is not continuous at a point in its domain, one says that it has a discontinuity there. The set of a ...
control signal, systems that include bang–bang controllers are
variable structure systems A variable structure system, or VSS, is a discontinuous nonlinear system of the form :\dot = \varphi( \mathbf, t ) where \mathbf \triangleq _1, x_2, \ldots, x_n \in \mathbb^n is the state vector, t \in \mathbb is the time variable, and \varphi(\m ...
, and bang–bang controllers are thus variable structure controllers.


Bang–bang solutions in optimal control

In optimal control problems, it is sometimes the case that a control is restricted to be between a lower and an upper bound. If the optimal control switches from one extreme to the other (i.e., is strictly never in between the bounds), then that control is referred to as a bang-bang solution. Bang–bang controls frequently arise in minimum-time problems. For example, if it is desired for a car starting at rest to arrive at a certain position ahead of the car in the shortest possible time, the solution is to apply maximum acceleration until the unique ''switching point'', and then apply maximum braking to come to rest exactly at the desired position. A familiar everyday example is bringing water to a
boil A boil, also called a furuncle, is a deep folliculitis, which is an infection of the hair follicle. It is most commonly caused by infection by the bacterium '' Staphylococcus aureus'', resulting in a painful swollen area on the skin caused by ...
in the shortest time, which is achieved by applying full heat, then turning it off when the water reaches a boil. A closed-loop household example is most thermostats, wherein the heating element or air conditioning compressor is either running or not, depending upon whether the measured temperature is above or below the setpoint. Bang–bang solutions also arise when the
Hamiltonian Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
is linear in the control variable; application of Pontryagin's minimum or maximum principle will then lead to pushing the control to its upper or lower bound depending on the sign of the coefficient of ''u'' in the Hamiltonian. In summary, bang–bang controls are actually ''optimal'' controls in some cases, although they are also often implemented because of simplicity or convenience.


Practical implications of bang-bang control

Mathematically or within a computing context there may be no problems, but the physical realization of bang-bang control systems gives rise to several complications. First, depending on the width of the hysteresis gap and inertia in the process, there will be an oscillating error signal around the desired set point value (e.g., temperature), often saw-tooth shaped. Room temperature may become uncomfortable just before the next switch 'ON' event. Alternatively, a narrow hysteresis gap will lead to frequent on/off switching, which is often undesirable (e.g. an electrically ignited gas heater). Second, the onset of the step function may entail, for example, a high electrical current and/or sudden heating and expansion of metal vessels, ultimately leading to
metal fatigue In materials science, fatigue is the initiation and propagation of cracks in a material due to cyclic loading. Once a fatigue crack has initiated, it grows a small amount with each loading cycle, typically producing striations on some parts o ...
or other wear-and-tear effects. Where possible, continuous control, such as in
PID control A proportional–integral–derivative controller (PID controller or three-term controller) is a control loop mechanism employing feedback that is widely used in industrial control systems and a variety of other applications requiring continuous ...
will avoid problems caused by the brisk state transitions that are the consequence of bang-bang control.


Pulse-width modulation

A
PID controller A proportional–integral–derivative controller (PID controller or three-term controller) is a control loop mechanism employing feedback that is widely used in industrial control systems and a variety of other applications requiring continuou ...
can send pulse-width modulation control signals that reduce switching of motors, solenoids, etc. by setting "minimum ON times" and "minimum OFF times."
Honeywell User manual , Excel 15 W7760C Plant Controller System Engineering Guide


See also

* Euler equation *
Double-setpoint control {{unreferenced, date=July 2016 A Double-setpoint control is quite similar to bang–bang control. It is an element of a feedback-loop and therefore evaluated by application of control theory Control theory is a field of mathematics that deals ...
* Fuzzy Logic *
Lyapunov's theorem In mathematics, a vector measure is a function defined on a family of sets and taking vector values satisfying certain properties. It is a generalization of the concept of finite measure, which takes nonnegative real values only. Definitions an ...
* Optimal control *
PID controller A proportional–integral–derivative controller (PID controller or three-term controller) is a control loop mechanism employing feedback that is widely used in industrial control systems and a variety of other applications requiring continuou ...
*
Robust control In control theory, robust control is an approach to controller design that explicitly deals with uncertainty. Robust control methods are designed to function properly provided that uncertain parameters or disturbances are found within some (typicall ...
*
Sliding mode control In control systems, sliding mode control (SMC) is a nonlinear control method that alters the dynamics of a nonlinear system by applying a discontinuous control signal (or more rigorously, a set-valued control signal) that forces the system to ...
*
Vector measure In mathematics, a vector measure is a function defined on a family of sets and taking vector values satisfying certain properties. It is a generalization of the concept of finite measure, which takes nonnegative real values only. Definitions and ...
*
Pulse and glide Energy-efficient driving techniques are used by drivers who wish to reduce their fuel consumption, and thus maximize fuel efficiency. The use of these techniques is called "hypermiling". Simple fuel-efficiency techniques can result in reduction ...
*
Hit-and-miss engine A hit-and-miss engine or Hit 'N' Miss is a type of stationary internal combustion engine that is controlled by a governor to only fire at a set speed. They are usually 4-stroke but 2-stroke versions were made. It was conceived in the late 19th c ...
*
GBU-12 Paveway II The GBU-12 Paveway II is an American aerial laser-guided bomb, based on the Mk 82 500-pound (227 kg) general-purpose bomb, but with the addition of a nose-mounted laser seeker and fins for guidance. A member of the Paveway series of weapons, ...
– a laser-guided bomb which uses a simplified bang-bang steering mechanism


References

* * * * * * {{DEFAULTSORT:Bang-Bang Control Optimal control