Skip to content
October 18, 2011 / nehemiahjandroeppewa

Using HYSTERESIS with your Temperature Controller

A temperature controller is a device that you can employ to provide a consistent temperature in your process.  Panasonic temperature controllers have a PID function to calculate an appropriate counter response to fluctuations in the process.

Briefly, the PID algorithm involves three separate constant parameters: the proportional, the integral and derivative values, called P, I, and D.  You can think of the algorithm as measuring present errors, accumulation of past errors and prediction of future errors based on the current rate of change.  The weighted sum of these three measurements is used to adjust the process as necessary to reach and sustain a set value (SV) typically in temperature.

Fig. 1 PID Block diagram

Our temperature controllers provide heating and/or cooling action as well as an auto-tuning process.  The auto-tune process will vary the output of the controller (on/off, or low to high) and monitor the change in response of the process (typically temperature). The function of the auto-tune is after monitoring is completed the controller has calculated an optimal set of PID values to reliably control the process.  Note: every process will have its own optimal PID constants.

System or process stability is only as good as the PID constants and the PID algorithm used.  In applications where stability based on a specific value (SV) is not critical a Hysteresis can be used instead.  Hysteresis doesn’t use a set point but instead a range for process control action.  For example, instead of controlling the process precisely to a SV of 100°F we can have the controller respond when the present value (PV) is +/- 10°F from SV.  This gives us a 20 degree band for hysteresis response.

Fig.2 Example Response of PID vs. Hysteresis

Above is a example of using setpoint control, like PID, verse band control, like hysteresis.  The pink line is the setvalue at 100°F.  This is the value at which our green wave PID is struggling to hold.  This means the PID is constantly working to keep the process at 100°F.  During this time the output is constantly oscillating.  The hysteresis behaves quite differently however also keep temperature around the SV.  Notice after the first overshoot (see the asterix on the diagram in Fig. 2) the red line, hysteresis, will only turn on again until the temperature drops out of the lower constraint in purple.  Hysteresis will constantly turn the output on until temperature rise above the upper constraint, represented by the blue line.  Both of these controls have advantages and disadvantage.

PROS

CONS

Hysteresis

  • Good at holding process to a temperature band.
  • Better for relay type outputs.
  • No PID functions or auto-tuning needed.
  • Can not tune process to a specific value SV.
  • Overshoot can be larger than PID depending on process response.
  • Can not tune process to a specific value SV.

PID

  • Good at holding process to a specific temperature, SV.
  • Once tuned, overshoot is better than hysteresis.
  • Better for sensitive processes.
  •  Oscillating output bad for relay type output (transistor or analog preferred)
  • PID constants must be tuned accurately
  • PID algorithm must be accurate.

Table.1 Pros v Cons.

Setting Hysteresis control:

In order to use the Hysteresis in the AKT4 you must set the device in the ON/OFF control action.  The ON/OFF control action is active when the proportional band setting (P or P_b) is set to 0 or 0.0 degrees C (degrees F).

  1. Proportional Band Set to 0 degrees: Enter the Sub setting mode (from the PV/SV display hold up arrow + mode button for 3 sec.)  Scroll to “P” for OUT1 or “P_b” for OUT2.  Set this parameter to Zero.
  2. Set Hysteresis value: Enter the Auxiliary function setting mode 2 (from the PV/SV display hold up arrow + down arrow + mode button for 3 sec.)  Scroll to the OUT ON/OFF action hysteresis setting and set the Parameter.

Fig.3 Control Action Using Hysteresis.

 

Fig.4 Hysteresis menu on the AKT4.

 NOTE:

Hysteresis mode will remove the use of the PID function and instead depend on turning on or off the output when below the SV (setvalue) setting.  The turning on or off of the output near SV depends on whether heating or cooling control action is selected.

Panasonic Electric Works, PEWA

Panasonic Temperature Controller

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: