Intermediate Time: 20 min Type: Applied Focus: Controls / Applied
After this module: Practical heater-control design splitting PI temperature control from time-proportioning output scheduling — minimum on/off time, state machine, and safety interlocks.
Prerequisites: Industrial PID Implementation

Purpose

This module explains a practical heater-control design for a heating-only process with temperature sensor feedback, a contactor output, and minimum 2-second on/off timing. This is the kind of structure that fits a real PLC implementation.

Control philosophy

Because the final device is a contactor, the controller should be split into two parts:

The scheduler must enforce:

That is the correct architecture for a binary heater actuator.

Why a contactor changes the design

A mechanical contactor is essentially:

That means a continuous controller output such as “37.4 percent” should not be sent directly to the contactor as if it were an analog final element.

The usual industrial pattern is:

temperature error → PI controller → 0 to 100% heat demand → time-proportioning block → contactor on/off command

This works because the heater and thermal mass average the switched power over time.

Why PI is usually the right starting point

For contactor-heated systems, PI is usually better than aggressive full PID.

Common reasons:

Derivative should usually stay at zero initially and only be added if overshoot remains a real problem after conservative PI tuning.

Functional block view

Setpoint
   |
   v
[ Error = SP - PV ]
   |
   v
[ PI Controller ]
   |
   v
[ Output Clamp 0..100% ]
   |
   v
[ Time Proportioning / Duty Scheduler ]
   |
   v
[ Min ON / Min OFF Enforcement ]
   |
   v
[ Safety Interlocks ]
   |
   v
[ Contactor Coil ]
   |
   v
[ Heater ]
   |
   v
[ Temperature Sensor ]
   |
   +--- feedback ---+

Time-proportioning window

The PI block produces a 0 to 100 percent demand, but that demand should be converted into on-time within a fixed scheduling window.

A typical starting point is:

Example with a 20-second window:

Demand On time Off time
10% 2 s 18 s
25% 5 s 15 s
50% 10 s 10 s
80% 16 s 4 s

Output conditioning and resolution limits

OnTime  = WindowTime × HeatDemandPct / 100
OffTime = WindowTime − OnTime

Then enforce mechanical limits:

With a 20-second window and a 2-second minimum pulse, the smallest valid on pulse is 10 percent. Longer windows improve duty resolution but slow effective control action.

Suggested state machine

A clean implementation uses a small state machine with four states:

State Description
OFF Heater is off; waiting for a valid heating demand
HEATING_ON Contactor energized for on portion of the duty window
HEATING_OFF Contactor de-energized for off portion; timer counting
FAULT High temperature or other safety condition — locked off

The FAULT state requires an explicit acknowledgement reset and cannot be self-cleared by the temperature loop.

Safety considerations


← Control Loop Architectures ↑ Control Systems PID in Drone and Motion Control →
Trust Boundary — Engineering Judgment Required

This site is a personal-use paraphrase and navigation reference for industrial automation standards. It is not a substitute for authoritative standards documents, professional engineering judgment, or legal review. All content is sourced from a local RAG corpus and has not been independently verified against current published editions.

Items marked TO VERIFY have limited or unconfirmed local coverage. Items marked NOT IN CORPUS are not covered in the local repository. Do not rely on this site for compliance determinations, safety-critical design decisions, or legal interpretation.