Field fix / guideDesign DocumentVendor-agnostic (IEC 61131-3)Generic Modulesindustrial-automation

Fan Control (Single — On/Off Soft-Start) — Control Design

Shared by TSIMEREZIVO Team · 4 Oct 2026 · 65 views

# Generic Module: Fan Control (Single — On/Off Soft-Start) **Version**: 1.0 **Complexity**: Low-Medium **Industries**: HVAC, Power Generation, Dust Collection, Ventilation, Cooling Systems **Motor Type**: 3-phase AC induction, 0.5-50 kW typical **Control**: Soft-starter or VFD (soft-start recommended to reduce inrush) --- ## 📋 Overview Start/stop a single ventilation or cooling fan with smooth acceleration and current limiting. Fan startup stress reduced dramatically via soft-start. **Use When:** - ✅ Fixed-speed fan operation (full capacity when running) - ✅ Inrush current damaging electrical supply (soft-start essential) - ✅ Motor thermal protection mandatory - ✅ Dust/contamination filtering needed (fan vent monitoring) **Do NOT Use When:** - ❌ Variable speed needed (use VFD Motor Control template) - ❌ Redundant fan required (use dual fan switchover) - ❌ No soft-start available (use simple contactor only) --- ## 🎯 Control Philosophy ``` Startup Sequence (Soft-Start): 1. Energize soft-starter 2. Internal thyristor gate angle ramps 0° → 90° (Output voltage: 0V → 480V over 3-5 seconds) 3. Motor current ramps smoothly (inrush: 2-3× nameplate vs 6-8× direct-on-line) 4. Motor reaches full speed at end of ramp 5. Contactor bypass engages (soft-starter shorts out, full voltage direct) Benefits: ✅ Electrical inrush <3× nameplate (vs 6-8× without soft-start) ✅ Mechanical shock eliminated (smooth acceleration) ✅ Bearing wear reduced (less bang at startup) ✅ Supply voltage sag minimized ✅ Fan blade stress reduced (gradual load rise) ``` **Typical Motor Inrush Comparison:** - Direct-on-line (DOL): 6-8× nameplate for 1-3 cycles - Soft-starter: 1.5-2.5× nameplate over 4-5 seconds - Energy imported at 2.5× over 5 sec = ~3.5 kJ - Energy imported at 7× over 1 sec = ~4.2 kJ → Soft-start: LOWER peak, longer duration (more tolerable for grid) --- ## 🏗️ Control Logic (Pseudocode) ```pascal PROGRAM Fan_Single_Control_Soft_Start VAR (* ─── COMMAND INPUTS ─── *) Start_Fan_Command : BOOL := FALSE; Stop_Fan_Command : BOOL := FALSE; Remote_Mode : BOOL := TRUE; (* ─── FEEDBACK FROM FAN MOTOR ─── *) Motor_Current : REAL; (* Amps *) Motor_Temperature : REAL; (* °C, if available *) Supply_Voltage_OK : BOOL := TRUE; Fan_Vibration_Alarm : BOOL := FALSE; (* Optional accelerometer *) (* ─── FEEDBACK FROM FAN DUCT ─── *) Duct_Pressure_Differential : REAL; (* Pascal, filter clogging indicator *) Duct_Temperature : REAL; (* °C *) (* ─── SETTINGS ─── *) Nameplate_Current : REAL := 15.0; (* Amps, motor datasheet *) Inrush_Current_Max : REAL := 45.0; (* 3× nameplate typical *) Overload_Threshold : REAL := 18.0; (* 1.2× nameplate *) Overload_Timeout_Sec : REAL := 10.0; (* Allow full ramp + settling *) Soft_Starter_Ramp_Time : REAL := 4.0; (* Seconds to full speed *) Filter_Clog_Pressure_Pa : REAL := 250.0; (* Pascal differential *) (* ─── STATE MACHINE ─── *) Fan_State : INT := 0; (* 0 = Stopped 1 = Starting (ramping via soft-starter) 2 = Running (contactor bypassed soft-starter) 3 = Fault (overload or blockage) *) (* ─── RUN TIME ACCOUNTING ─── *) Fan_Runtime_Seconds : REAL := 0.0; Fan_Runtime_Hours : REAL := 0.0; Fan_Starts : INT := 0; (* Cycle count *) (* ─── FAULT DETECTION ─── *) Motor_Overload : BOOL := FALSE; Filter_Clogged : BOOL := FALSE; Supply_Lost : BOOL := FALSE; Motor_Fault : BOOL := FALSE; Bearing_Fault : BOOL := FALSE; (* From vibration or sound *) Last_Fault_Code : INT := 0; (* ─── TIMING & CONTROL ─── *) Ramp_Timer_Sec : REAL := 0.0; Overload_Duration_Sec : REAL := 0.0; Restart_Delay_Sec : REAL := 0.0; (* ─── OUTPUTS ─── *) Soft_Starter_Ramp_Reference : REAL := 0.0; (* 0-100% ramp *) Motor_Contactor_Coil : BOOL := FALSE; (* Bypass after ramp *) (* ─── STATUS ─── *) Fan_Running : BOOL := FALSE; Ready_To_Start : BOOL := TRUE; END_VAR (* ═════════════════════════════════════════════════════════════ *) (* 1. FEEDBACK SIGNAL CONVERSION *) (* ═════════════════════════════════════════════════════════════ *) (* Motor current from CT transformer *) Motor_Current := READ_ANALOG_INPUT(AI_FAN_CURRENT) / 100.0; (* Duct differential pressure (filter clogging indicator) *) Duct_Pressure_Differential := (READ_ANALOG_INPUT(AI_DUCT_DP) / 4095.0) * 500.0; (* 0-500 Pa *) (* ═════════════════════════════════════════════════════════════ *) (* 2. FAULT LAYER DETECTION *) /* ═════════════════════════════════════════════════════════════ */ (* Filter clogging: high duct differential pressure *) IF Duct_Pressure_Differential > Filter_Clog_Pressure_Pa THEN Filter_Clogged := TRUE; IF Fan_Running THEN (* Continue running, but alert maintenance *) ALARM_FILTER_CLOGGED := TRUE; END_IF; ELSE Filter_Clogged := FALSE; END_IF; (* Motor overload *) IF Motor_Current > Overload_Threshold THEN Overload_Duration_Sec := Overload_Duration_Sec + SCAN_TIME_SEC; IF Overload_Duration_Sec > Overload_Timeout_Sec THEN Motor_Overload := TRUE; Motor_Fault := TRUE; Last_Fault_Code := 1; END_IF; ELSE Overload_Duration_Sec := 0.0; Motor_Overload := FALSE; END_IF; (* Supply voltage loss *) IF NOT Supply_Voltage_OK AND Fan_Running THEN Supply_Lost := TRUE; Motor_Fault := TRUE; Last_Fault_Code := 2; END_IF; (* Bearing fault from vibration sensor (optional) *) IF Fan_Vibration_Alarm THEN Bearing_Fault := TRUE; Motor_Fault := TRUE; Last_Fault_Code := 4; END_IF; (* ═════════════════════════════════════════════════════════════ *) (* 3. STATE MACHINE *) /* ═════════════════════════════════════════════════════════════ */ CASE Fan_State OF (* ───────────────────── STATE 0: STOPPED ───────────────────── *) 0: Soft_Starter_Ramp_Reference := 0.0; Motor_Contactor_Coil := FALSE; Fan_Running := FALSE; Ramp_Timer_Sec := 0.0; IF Start_Fan_Command AND Remote_Mode AND Ready_To_Start THEN (* Safe to start *) Fan_State := 1; (* Transition to STARTING *) Fan_Starts := Fan_Starts + 1; ALARM_FAN_STARTING := TRUE; END_IF; (* ───────────────────── STATE 1: STARTING (Ramp) ───────────────────── *) 1: (* Soft-starter ramp: 0% → 100% over Ramp_Time *) Soft_Starter_Ramp_Reference := (Ramp_Timer_Sec / Soft_Starter_Ramp_Time) * 100.0; Soft_Starter_Ramp_Reference := MIN(100.0, Soft_Starter_Ramp_Reference); Ramp_Timer_Sec := Ramp_Timer_Sec + SCAN_TIME_SEC; (* Check for faults during ramp *) IF Motor_Fault THEN Fan_State := 3; (* Go to FAULT *) (* Ramp complete *) ELSIF Ramp_Timer_Sec >= Soft_Starter_Ramp_Time THEN Motor_Contactor_Coil := TRUE; (* Bypass soft-starter with contactor *) Fan_Running := TRUE; Fan_State := 2; (* Go to RUNNING *) ALARM_FAN_RUNNING := TRUE; END_IF; (* ───────────────────── STATE 2: RUNNING ───────────────────── *) 2: Soft_Starter_Ramp_Reference := 100.0; (* Contactor bypasses soft-starter *) Motor_Contactor_Coil := TRUE; Fan_Running := TRUE; (* Accumulate runtime *) Fan_Runtime_Seconds := Fan_Runtime_Seconds + SCAN_TIME_SEC; IF Fan_Runtime_Seconds >= 3600.0 THEN Fan_Runtime_Seconds := 0.0; Fan_Runtime_Hours := Fan_Runtime_Hours + 1.0; END_IF; (* Check fault during running *) IF Motor_Fault THEN Fan_State := 3; (* Stop command *) ELSIF Stop_Fan_Command THEN Motor_Contactor_Coil := FALSE; Soft_Starter_Ramp_Reference := 0.0; Fan_State := 0; (* Go to STOPPED *) END_IF; (* ───────────────────── STATE 3: FAULT ───────────────────── *) 3: Motor_Contactor_Coil := FALSE; Soft_Starter_Ramp_Reference := 0.0; Fan_Running := FALSE; (* Mandatory restart delay (60 seconds for thermal overload) *) Restart_Delay_Sec := Restart_Delay_Sec + SCAN_TIME_SEC; IF Restart_Delay_Sec > 60.0 THEN (* Attempt auto-recovery *) IF NOT Motor_Fault THEN Ready_To_Start := TRUE; Fan_State := 0; (* Return to STOPPED *) Restart_Delay_Sec := 0.0; END_IF; END_IF; (* Manual reset *) IF Reset_Fault_Command THEN Motor_Fault := FALSE; Ready_To_Start := TRUE; Fan_State := 0; Restart_Delay_Sec := 0.0; END_IF; END_CASE; (* ═════════════════════════════════════════════════════════════ *) (* 4. OUTPUTS TO FIELD EQUIPMENT *) /* ═════════════════════════════════════════════════════════════ */ (* Soft-starter ramp (0-100%, controls thyristor gate angle) *) WRITE_ANALOG_OUTPUT(AO_SOFT_STARTER, Soft_Starter_Ramp_Reference); (* Contactor coil (energize after ramp completes) *) WRITE_DIGITAL_OUTPUT(DO_MOTOR_CONTACTOR, Motor_Contactor_Coil); (* ═════════════════════════════════════════════════════════════ *) (* 5. ALARMS & DIAGNOSTICS */ /* ═════════════════════════════════════════════════════════════ */ IF Motor_Fault THEN CASE Last_Fault_Code OF 1: ALARM_TEXT := "Motor overload - current threshold exceeded"; 2: ALARM_TEXT := "Supply voltage lost during operation"; 3: ALARM_TEXT := "Filter severely clogged - replace soon"; 4: ALARM_TEXT := "Bearing fault detected - vibration high"; END_CASE; END_IF; END_PROGRAM ``` --- ## 🏷️ Tag List | Tag | Type | I/O | Range | Description | |-----|------|-----|-------|-------------| | `FAN_01_START` | BOOL | Cmd | - | Start fan | | `FAN_01_STOP` | BOOL | Cmd | - | Stop fan | | `FAN_01_RESET_FAULT` | BOOL | Cmd | - | Reset fault code | | `FAN_01_RUNNING` | BOOL | Status | - | Fan motor energized | | `FAN_01_STATE` | INT | Status | 0-3 | 0=Stopped, 1=Starting, 2=Running, 3=Fault | | `FAN_01_READY` | BOOL | Status | - | Ready to start | | `FAN_01_CURRENT` | REAL | Feedback | 0-50 A | Motor current draw | | `FAN_01_CURRENT_NP` | REAL | Param | 1-100 A | Nameplate current | | `FAN_01_TEMPERATURE` | REAL | Feedback | -10…80 °C | Motor winding (if sensor) | | `FAN_01_SUPPLY_OK` | BOOL | Status | - | 480V ±10% available | | `FAN_01_DUCT_TEMP` | REAL | Feedback | -20…100 °C | Air temperature in duct | | `FAN_01_DUCT_PRESSURE_DP` | REAL | Feedback | 0-500 Pa | Filter differential pressure | | `FAN_01_FILTER_CLOGGED` | BOOL | Alarm | - | Duct DP > threshold | | `FAN_01_VIBRATION_ALARM` | BOOL | Alarm | - | High bearing vibration | | `FAN_01_FAULT` | BOOL | Alarm | - | ANY fault | | `FAN_01_FAULT_CODE` | INT | Alarm | 0-4 | 0=OK, 1=Overload, 2=SupplyLoss, 3=FilterClog, 4=BearingFault | | `FAN_01_RUNTIME_HOURS` | REAL | Metric | 0-99999 | Cumulative hours | | `FAN_01_RUNTIME_SECONDS` | REAL | Metric | 0-3600 | Seconds in current hour | | `FAN_01_STARTS` | INT | Metric | 0-999999 | Total start cycles | | `FAN_01_RAMP_TIME_SEC` | REAL | Param | 1-30 sec | Soft-start ramp duration | | `FAN_01_OVERLOAD_TIMEOUT` | REAL | Param | 1-60 sec | Overcurrent tolerance | | `FAN_01_FILTER_CLOG_THRESH` | REAL | Param | 0-500 Pa | Filter warning threshold | --- ## 🚨 Alarm & Trip Matrix | Alarm | Condition | Severity | Auto-Reset | |-------|-----------|----------|-----------| | **Motor Overload** | Current > Nameplate × 1.2 for 10 sec | Critical | Auto (after 60 sec cooldown) | | **Supply Voltage Lost** | 480V dropped during run | Critical | Auto (manual reset recommended) | | **Filter Clogged** | Duct DP > 250 Pa | Warning | Manual (replace filter) | | **Bearing Vibration** | Accelerometer > threshold | Critical | Manual (inspect bearing) | | **Soft-Starter Fault** | Ramp stuck at 50% for 10 sec | Critical | Manual | | **Motor Temperature High** | Winding > 80°C | Warning | Auto (reduce duty) | | **Voltage Sag** | Supply < 380V during ramp | Info | Auto | --- ## 📺 HMI Layout ``` ┌──────────────────────────────────────────┐ │ FAN MOTOR CONTROL #1 │ ├──────────────────────────────────────────┤ │ │ │ Status: [RUNNING] 🟢 (847h 22m) │ │ │ │ Motor Current: 12.4A / 15A rated ✓ │ │ [████████░░░░░░░░░░] 83% │ │ │ │ Duct Temperature: 45.5°C │ │ Filter Pressure Drop: 120 Pa ✓ │ │ (Clog limit: 250 Pa — OK) │ │ │ │ Soft-Start Ramp: Bypassed (running) │ │ Starts: 1,247 (avg 40 hours each) │ │ Runtime: 847 hours 22 minutes │ │ │ │ ┌────────────────────────────────┐ │ │ │ Quick Actions │ │ │ │ [STOP] [START] [RESET FAULT] │ │ │ └────────────────────────────────┘ │ │ │ │ Last Fault: None (21 days clean) │ │ │ │ Next Maintenance: │ │ Filter replacement: 130 Pa left │ │ Motor bearing service: 15,000 hrs │ │ │ └──────────────────────────────────────────┘ ``` --- ## 🔧 Configuration Parameters ```json { "nameplate_current_amps": 15.0, "nameplate_voltage_volts": 480.0, "nameplate_power_kw": 11.0, "motor_pole_pairs": 2, "inrush_current_max_amps": 45.0, "overload_threshold_amps": 18.0, "overload_timeout_seconds": 10.0, "soft_starter_ramp_time_seconds": 4.0, "filter_clog_pressure_threshold_pa": 250.0, "bearing_vibration_threshold_mm_sec": 7.1, "motor_cooling": "self_ventilating_tefc", "enclosure_type": "IP55", "supply_voltage_acceptable_range_percent": 10, "soft_starter_type": "electronic_soft_start" } ``` --- ## 📝 Implementation Checklist ### Before Deployment - [ ] **Motor nameplate** (verify current, voltage, power, cooling type) - [ ] **Current transformer verified** (5A secondary, <2VA burden) - [ ] **Soft-starter tested** (ramp smooth, voltage rise linear) - [ ] **Contactor tested** (pickup <90V, dropout >75V) - [ ] **Fan ductwork inspected** (no blockages, filters clean) - [ ] **Vibration sensor (optional) calibrated** (baseline at 0 dB) - [ ] **Supply voltage stable** (480V ±10%, <5% THD) ### During Commissioning 1. **Manual soft-start test** (no load on fan): - 0% ramp → no power, fan silent - 25% ramp → motor hums (no torque delivered) - 50% ramp → motor torque building - 100% ramp → full speed, soft-starter bypassed 2. **Auto start/stop cycle**: - Remote mode ON - Issue START command - Monitor ramp completion (4 seconds typical) - Verify RUNNING bit sets - Issue STOP command - Verify immediate stop (contactor de-energizes) 3. **Current monitoring**: - At idle (fan unloaded): ~50% nameplate - Under normal load: ~80% nameplate - Under blocked filter: >100% nameplate - Record baseline for condition monitoring 4. **Overload protection test**: - Restrict fan inlet (simulatefilter blockage) - Current rises to >120% nameplate - Monitor timer (0-10 seconds) - At 10 seconds: verify fan shuts down - Verify fault code = 1 5. **Filter clogging simulation**: - Block airflow progressively - Duct DP should rise - At 250 Pa: verify FILTER_CLOGGED alarm - Continue running, alert maintenance - Clear blockage, verify alarm clears --- ## 📊 Expected Performance | Metric | Target | Achievable | |--------|--------|-----------| | **Ramp time** | 4-5 sec | 4.0 sec (configurable) | | **Inrush current** | <3× nameplate | 2.5× nameplate | | **Time to full speed** | 4-5 sec | 4.0 sec | | **Overload detection** | <10 sec | 3-10 sec | | **Startup mechanical stress** | Minimal | <10% of DOL | | **Efficiency** | >92% | ~93-95% (soft-start bypass after ramp) | --- ## 🔄 Advanced Variations ### Dual Fan Redundancy Two identical fans on same motor; if one duct blockage, activate filter alert but continue running (works with one fan). ### Speed Modulation (VFD Upgrade) If thermal load varies seasonally, replace soft-starter with VFD → Run fan at 50% speed winter (energy savings 87.5% power) ### Condition-Based Maintenance Log runtime hours. Alert when: - 8,000 hours: bearing inspection due - 15,000 hours: bearing replacement due - Filter: track DP trend, predict failure ### Energy Optimization Monitor duct pressure. If DP rising slowly (aging filter), reduce fan speed 5% to maintain constant static pressure. --- **Production-ready fan control for HVAC, cooling, and ventilation systems.**

More like this

Rate, comment, and get full access

Members can download files, rate contributions, and discuss fixes with the engineers who posted them — free.

Join the library