On-off control system – x-engineer.org (2024)

In an industrial plant, a closed-loop control system has the role of keeping a measured physical signal to a predefined value (setpoint). The physical signal, also called controlled variable, can be of any kind, electrical (voltage, current, power), mechanical (position, speed, force, torque), hydraulic (pressure, flow) or thermal (temperature). The difference between the controlled variable(measured) and the predefined value is called error.

The input of the controller is the error and the controller output is an actuation signal which is send to an actuator. The controlled variable is further measured with a sensor and the information is feed back to the controller.

Image: Closed-loop (feedback) control system

The difference between the setpoint and the plant output (measured) occurs because of the disturbances which affect the plant (process). The role of the controller is to reject these disturbances and keep the plant output (controlled variable) to the predefined value (setpoint).

The ways in which the controller reacts to the error are called control laws or control modes. In industrial applications there are several control laws used, most of them being on-off control, PID control or other more advanced laws (fuzzy, neuro-fuzzy, optimal, etc.).

The on-off control is the simplest form of a controller, which switches ON when the error is positive and switches OFF when the error is zero or negative. An on-off controller doesn’t have intermediate states but only fully ON or fully OFF states. Due to the switching logic, an on-off controller is often called a bang-bang controller or a two-step controller.

Regardless of the size of the error, the output of the on-off controller can only be fully ON or fully OFF, it is not proportional with the error.

Let’s take as example the temperature control of an industrial oven. The temperature inside the oven is measured with a sensor and feed back to the controller. Based on the error (difference between setpoint temperature and measured temperature), the heating elements are turned ON or OFF by the controller. There are no intermediate values of the heating element, they are fully ON or fully OFF.

Image: Industrial oven on-off control

If we compare this system with the generic closed-loop system explained above, we can identify the following elements:

  • controller: switch
  • plant: oven
  • feedback (measured output): temperature

The industrial oven has two important characteristics which need to be explained, because they affect the response of the controller:

  • dead time
  • capacitance (inertia)

In most of the control systems with feedback loop, the system can not respond instantly to any disturbance and it takes time (delay) until the controller output has any effect on the measured (plant) output. This time delay is know as dead time. In the case of the industrial oven, if the access door is opened, it takes time until the temperature drops, the controller senses the difference, turns the heaters on and the temperature is brought back to setpoint. Dead time has the effect of hiding the disturbance from the controller and limits its ability to react quickly.

The capacitance of a system is seen as the resistance to changing inputs. The higher the capacitance of a system, the longer the time it takes to react to changes. With the oven cold, even if turning the heaters on, takes time for the temperature to start increasing and reach the nominal value. The advantage is that capacitance has the tendency to filter (dampen) out the effect of disturbances on a system.

In the theory of control systems, the industrial oven is defined as a first order process with dead time. The transfer function of a first order process with dead time is:

\[H(s) = \frac{K}{T \cdot s + 1} \cdot e^{- \tau \cdot s} \tag{1}\]

where:

K – gain
T – time constant
τ – dead time

The time constant is a measure of the capacitance of the system. The higher the time constant, the longer it takes for the system to react to changing inputs or disturbances.

If an on-off controller is set to control a first order process with dead time, the output of the controller and the plant (controlled variable / temperature) will have the following behaviour.

Image: On-off control example

Let’s assume that the setpoint temperature of the oven is 120 °C and the initial temperature is 0 °C. The dead time of the oven is 30 s.

When activated, the controller will sense the temperature difference via the temperature feedback and switch ON (1) the heating elements. Due to the dead time, only after 30 s, since the heating elements have been turned on, we can notice a rise in temperature. The rise in temperature is not abrupt but slow and it takes around 300 s until the temperature reaches the setpoint value. When the temperature is higher than 120°C, the controller switches OFF (0) the heating elements. Since the heating elements are still hot, the temperature will continue to rise for a short time, followed by a decrease. When the temperature goes below 120°C the on-off controller switches ON the heating elements. Since it takes time for the heating elements to reach nominal temperature, the temperature in the oven will still decrease for a short time, followed by an increase.

As you can see, the on-off controller can not keep a steady temperature in the oven but always goes above and below the setpoint. This cycling around the setpoint value is called “hunting“.

Image: On-off control output

The response of an on-off controller can be summarised as in the image above. When the error is positive, the controller is switched ON. When the error is zero or negative, the controller output is set to OFF.

Example 1. Implement an on-off controller for an industrial oven temperature control system with the following parameters:

  • open loop response of the oven at step input: 180 °C
  • time constant of the oven: 240 s
  • dead time of the process: 30 s

which will control the temperature for a setpoint of 120°C.

From the input parameters, we can write the transfer function of the plant as:

\[H(s) = \frac{180}{240 \cdot s + 1} \cdot e^{- 30 \cdot s} \tag{2}\]

In Xcos, the plant can be modelled as a first order Transfer Function with a Continuous fix delay:

Image: Plant model (industrial oven)

The on-off controller can be modelled in Xcos with a Dynamic Switch, which can output 1 (ON) or 0 (OFF) function of the sign of the temperature error.

Image: On-off controller Xcos block diagram

The setpoint is defined as a Constant block. The error is calculated as the difference between the setpoint and the current value of the temperature (plant output). Both the plant model and on-off controller are grouped together under User Defined Function blocks.

Image: On-off control Xcos block diagram

The simulation is run for 1000 s. The controller output and the plant output are plotted in the image below.

Image: On-off control Xcos plot

We can see how the on-off controller is switching the output from ON to OFF around the setpoint value. The constant switching, with high frequency around the setpoint, can lead to stress on the actuators and potential failure. For this reason, most of the on-off controlles have an integratedhysteresis.

The on-off controller with hysteresis will not switch around the setpoint but between an upper and a lower limit. This way, the frequency of the switching will decrease but the variation (overshoot) around the setpoint will increase.

Image: On-off control with hysteresis output

The error is not anymore compared against zero but against a hysteresis value. The higher the hysteresis value, the lower the switching frequency and the higher the overshoot.

For our particular example, if the oven temperature is set to 120 °C and the hysteresis to 20 °C, the on-off controller will switch OFF when the temperature is higher than 130 °C and switch ON when it is less than 110 °C.

Example 2. For the same plant defined in Example 1, design an on-off controller with a hysteresis of 20 °C.

For this example, as a on-off controller, we are going to use a Xcos standard Hysteresis block, with the following parameters:

  • switch on at: 10
  • switch off at: -10
  • output when on: 1
  • output when off: 0

Image: On-off hysteresis control Xcos block diagram

The simulation is run for 1000 s. The controller output and the plant output are plotted in the image below.

Image: On-off hysteresis control Xcos plot

The controller switching frequency has decreased but the variation of the temperature (overshoot) around the setpoint has increased. In practice, for a particular application, the hysteresis is set in order to get the best compromise between switching frequency and overshoot.

Instead of a hysteresis, an on-off controller can also have a dead band. The dead band represents the lower and upper limits of the error between which the controller doesn’t react. In this case the controller will have three states.

Image: On-off control with deadband output

As an application we can imagine an electric motor which needs to position roughly a component between some limits. The on-off controller will rotate the motor forward (FWD), backward (BWD) or wait (IDLE). If the position of the component is between the dead band, the controller will be in IDLE state.

The main advantages of on-off controllers are: simplicity, inexpensive and digital output (only two states). The main disadvantages are: the controlled parameter will continuously switch around the setpoint and if the hysteresis is not correctly set, the deviation from the setpoint could be quite significant.

On-off control is primarily used in non critical applications, where the error between the setpoint and plant output can vary with a relatively large amount. For example, temperature control systems for houses (heating and cooling), freezers and other home appliances are using on-off control.

How an on-off controller works it’s important because it lays the foundations for more complicated controllers. Understanding what are the disadvantages of a simple controller helps in the design phase of a more advanced controller.

On-off control system – x-engineer.org (2024)

FAQs

What is the biggest disadvantage of an on-off control system? ›

The main disadvantages are: the controlled parameter will continuously switch around the setpoint and if the hysteresis is not correctly set, the deviation from the setpoint could be quite significant.

What is the on and off control system? ›

On/Off control is one of the simplest methods for controlling temperature. The basis of this style of control is that full power is supplied to the system until the desired setpoint is reached. Once the pressure feedback reaches and surpasses the setpoint, the power is completely turned off to the heater.

How to learn control systems from scratch? ›

Control Systems Fundamentals
  1. What is a control system? ...
  2. What are the steps required to build a control system. ...
  3. Proportional Integral Derivative (PID) Controllers. ...
  4. Develop a PID Controller logic in Simulink. ...
  5. Mass-spring damper system with PID controller in Simulink. ...
  6. Integrate a PID Controller with plant system model.

What are the advantages of on off switches? ›

Convenience. These switches are easy to use because they can be operated with a simple on/off motion and do not require much force to activate. Moreover, magnetic switches typically have a neat design with few components, making them easy to operate even for people with no technical background.

What is the problem with on-off controller? ›

On-Off Control can result in excessive variability as the controller has so few options for maintaining Set Point. A process equipped with On-Off Control will constantly overshoot its Set Point and cycle as a result.

What are the negative effects of control systems? ›

Controls can cost the organization in several areas, including (1) financial, (2) damage to culture and reputation, (3) decreased responsiveness, and (4) botched implementation. An example of financial cost is the fact that organizations are often required to perform and report the results of a financial audit.

What is an example of an on off controller? ›

On-Off control is the simplest form of feedback control. An on-off controller simply drives the manipulated variable from fully closed to fully open depending on the position of the controlled variable relative to the setpoint. A common example of on-off control is the temperature control in a domestic heating system.

For which type of process is on-off control recommended? ›

On-off control is suitable if the response delay is short when the output is switched and the maximum rate of rise is small. Alternatively if a very stable process isn't needed then on off controllers are ideal.

What is the final control element in an on off system? ›

The final control element in a process plant is usually a control valve, the opening and closing of which is governed normally by a piston actuator. The actuator drives the valve stem to a position dictated by the signal, c, that it receives from the controller.

What math is needed for control systems? ›

Linear algebra is the branch of mathematics that deals with vectors, matrices, and linear transformations. It is fundamental for control systems design because many control problems can be formulated as linear systems of equations, which can be solved using matrix operations.

How hard is control systems engineering? ›

Mathematically, I think control systems is one of the hardest branches of electrical engineering. To truly control many real systems, one needs to understand very difficult topics in functional analysis and stochastic processes (see postscript).

What programming language is used for control systems? ›

Some examples of easy-to-use languages are Python, MATLAB, and LabVIEW, which are high-level and abstract and offer many built-in functions and libraries for control engineering.

What is the main disadvantage of on-off control? ›

The disadvantage of On/Off control is that dosing pump doses the same amount at both points A and B on Figure 1. As can be seen from the diagram less acid would be required to be dosed when the pH is at point B as it is heading towards the set point.

How does an on-off switch work? ›

Electronic switches provide on-off control for electrical circuits by interrupting the flow of current or allowing it to resume. This is achieved by removing a metal contact from the terminal (endpoint of a circuit) or bringing the two back into contact.

Why is the on-off switch important? ›

Answer. Turning off our electrical appliances using switches allows us to save electricity, so answer A is correct. Saving electricity helps us to save money and also to protect the environment.

What are the disadvantages of computer control systems? ›

Disadvantages of computer control systems

If a computer is underpowered it might take too long to do something in a time-critical situation. A computer faced with conditions not covered in its programming will not know what to do.

What is a disadvantage of automatic control system? ›

Other disadvantages of automated equipment include the high capital expenditure required to invest in automation (an automated system can cost millions of dollars to design, fabricate, and install), a higher level of maintenance needed than with a manually operated machine, and a generally lower degree of flexibility ...

What are the disadvantages of implementing a control system? ›

#1 Cost-Intensive and Time-Consuming

The implementation of an effective internal control system can be a costly endeavor, requiring the allocation of valuable resources and considerable time to design, execute, and uphold the system. Smaller organizations, in particular, may find this expenditure burdensome.

What is the disadvantage of management control system? ›

Resource Intensive: Implementing and maintaining control systems can be costly in terms of time, money, and manpower. Resource Allocation: Allocating resources to control measures may divert resources away from core activities.

Top Articles
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 6100

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.