SUNXFAN

Last updated:

How to design EC fan 0-10V / PWM / RS485 circuits

SUNXFAN Editorial Team

SUNXFAN EC fans offer three speed-control entry points: a 0-10V linear voltage, a PWM duty-cycle signal, and RS485 Modbus RTU. The first two are scalar commands — the controller sends a voltage or a duty cycle, and the fan samples and acts on it. The third is a bus conversation: start/stop, speed and status readback all go through Modbus registers. The receiving circuit inside the fan is fixed; what the client has to get right is sending the signal in the right electrical domain, blocking faults, and providing enough isolation.

This article sets out the required client-side circuit for each of the three, with schematics and a design checklist that can be used directly as a hardware design input.

Further reading: how the interface layers are organised, and how to decide whether the fan needs to “talk” at all, are covered in the SUNXFAN technical blog How to choose a fan speed-control interface: 0-10V, PWM, Modbus, CAN.

0. Design premise: separate what the fan already does from what the client must do

The EC fan already receives the speed command, samples it and drives the motor. The client does not need to — and should not try to — “drive” the fan. The client is responsible for delivering a command the fan can interpret correctly, inside the right electrical domain, and for making sure that when the command path fails, the failure itself does not become a system-level thermal risk.

The three interfaces fail very differently:

InterfaceTypical failure signatureConsequence
0-10VBroken wire → input approaches 0 V → read as “stop”Silent thermal risk: the fan stops and the host system may never know
PWMInsufficient amplitude / out-of-range frequency → duty misreadSpeed departs from the command; the fan may sit at low speed or full speed
RS485120 s without a valid frame → fan stops automaticallyVisible stop, and it cannot restart until communication returns

The design strategies therefore differ: 0-10V must prevent the silent stop, PWM must keep the signal recognisable, RS485 must keep the link alive.

1. 0-10V linear voltage — the interface that fears a broken wire

1.1 Fan-side constraints and failure mode

EC092 specification: minimum start voltage 1.0 ± 0.2 V, 9.5 V corresponds to maximum speed, and 9.5–10 V holds maximum speed. The fan-side 0-10V input is a high-impedance sampling node.

The most important failure mode: when the controller output is open or the cable is broken, the fan input approaches 0 V and the fan interprets that as a stop command. If that fan provides the base cooling for heat-generating equipment, 0 V equals stop is usually unacceptable from a thermal standpoint.

1.2 Controller-side output stage

Do not use the fan’s own 10 V reference with a potentiometer divider. The 10 V auxiliary supply on the fan side is usually limited to a few milliamps, a worn potentiometer wiper drops into the same 0 V failure region, and there is no isolation between the reference and the controller.

Recommended topology: local reference → op-amp follower / non-inverting gain → series resistor → fan input.

Key op-amp constraint: if the output must reliably reach near 0 V (the stop command), do not use a single-supply LM358 — its output floor sits at tens to hundreds of millivolts. Use an RRIO (rail-to-rail input/output) op-amp such as LMC6482 or MCP6002, which keeps linearity and floor accuracy at 0 V. If the load current exceeds roughly 50 mA (several fans in parallel or a long capacitive cable), consider a higher-drive part such as LM7322 / OPA369.

Output protection: put 100 Ω in series with the op-amp output, and a TVS from the fan input to ground (for example P6KE12A or a 15 V bidirectional part) to clamp field-induced transients below the op-amp absolute maximum ratings. The 100 Ω balances current limiting against ADC / sampling settling time.

1.3 Isolation and line-break detection

If the controller ground and the fan-side ground are not the same reference, the 0-10V channel must be galvanically isolated. Without isolation the ground-potential difference adds directly to the 0-10V signal, which shows up as speed drift with load or grounding changes. Use a linear optocoupler or an isolation amplifier; when the 0-10V has to be converted to an isolated PWM and fed back to the controller side, a part such as the GP9301B converts 0-10V linearly to duty cycle with < 0.5 % linearity error and works well as the middle stage of an isolated chain.

Line-break detection cannot be delegated to the fan — the controller must do it. The fan will not report “the 0-10V wire is broken”; it simply executes 0 V. If the application’s thermal safety does not allow a silent stop, add output-node readback: measure the actual voltage at the 0-10V output node with a second ADC and compare it with the DAC / command value; when the deviation exceeds a threshold (for example > 0.5 V for several hundred milliseconds), declare a cable or interface fault and raise a system alarm or switch to a safe operating mode.

1.4 Client-side circuit

0-10V client circuit: RRIO buffer, 100 Ω series resistor, TVS, controller-side readback
0-10V client circuit: RRIO buffer, 100 Ω series resistor, TVS, controller-side readback

Key points: series resistor for current limiting + input TVS clamping + isolation where required + controller-side line-break / fault detection.

1.5 0-10V design checklist

CheckRequirement
Op-ampRRIO type, 0 V output floor ≤ 100 mV (verify unloaded and at rated load)
Series resistor100 Ω
Input clampBidirectional TVS, clamp voltage ≤ op-amp absolute maximum input / output rating
IsolationMandatory when the two grounds are not common
Line-break detectionReadback comparison, covering the “broken wire = 0 V” silent failure
Multiple fansConfirm the op-amp drive covers the load current with the fan input impedances in parallel

2. PWM — better noise immunity than 0-10V, but the frequency and amplitude windows still apply

2.1 Fan-side constraints and signal-integrity window

EC092 specification: PWM input frequency range 0.1–2 kHz, amplitude 5–12 VDC, minimum start duty 10%, 95% duty reaches maximum speed.

Compared with 0-10V, PWM encodes the information in the time ratio, so the absolute level does not set the speed directly and the interface tolerates ground-potential differences and some amplitude loss better. But two hard constraints must be met at the same time: amplitude inside 5–12 V and frequency inside 0.1–2 kHz. Below 5 V the fan input stage may not reliably recognise a high level; at high frequency the optocoupler and the cable capacitance round off the edges and the duty cycle is distorted at the receiver.

2.2 Level shifting and isolation in one stage

A controller MCU typically outputs 3.3 V or 5 V PWM, below the fan’s 5 V amplitude floor. It cannot be fed in directly; it must be raised to 5 V or 12 V logic.

The recommended approach is one optocoupler doing both the level shift and the isolation, rather than cascading a level shifter and an isolator. A general-purpose part such as the PC817 handles PWM near 1 kHz, but the current-limiting resistor must be sized for the LED drive current: at about 5 mA LED current, use ≈420 Ω from 3.3 V and ≈760 Ω from 5 V. Substituting a blanket 1 kΩ leaves the optocoupler switching uncleanly, and the duty cycle loses edges or becomes non-linear at both ends, which shows up as a narrowed control range.

The secondary side (collector / emitter) connects to the fan PWM input and the fan-side isolated ground. The secondary must be powered from the fan-side isolated supply domain — never tapped from the controller’s 3.3 V / 5 V, or the isolation is void.

If edge fidelity matters more (for example operation up to the 2 kHz limit, or linearity near the 10 % / 95 % boundaries), upgrade the PC817 to a high-speed optocoupler (6N137 or a similar 10 MBd part), keep a 10 kΩ pull-down on the optocoupler output so the secondary does not float to an undefined level when the controller side is unpowered or high-impedance, and add a 5–12 V TVS to ground against long-line induced surges.

2.3 Frequency choice

The protocol allows 0.1–2 kHz, but do not run at the upper limit. The PC817 rise and fall times start to distort narrow duty pulses above 1 kHz, and the time constant formed by the cable capacitance (tens to a hundred-plus pF per metre) and the optocoupler output pull-up / pull-down degrades further with length. Around 1 kHz is the safe compromise for a general-purpose optocoupler; move towards 2 kHz only when controller resources are tight and the cable is short.

2.4 Client-side circuit

PWM client circuit: optocoupler isolation, 10 kΩ pull-down, series resistor and TVS
PWM client circuit: optocoupler isolation, 10 kΩ pull-down, series resistor and TVS

Key points: level raised to 5–12 V + optocoupler isolation + series resistor + pull-down + TVS + frequency near 1–2 kHz.

2.5 PWM design checklist

CheckRequirement
Optocoupler LED resistorSized for 5 mA: 3.3 V → ≈420 Ω; 5 V → ≈760 Ω
Secondary supplyTaken from the fan-side isolated domain
AmplitudeSecondary pull-up / supply keeps the high level inside 5–12 V
FrequencyPrefer about 1 kHz; approach 2 kHz only with a high-speed optocoupler
Pull-downKeep a 10 kΩ pull-down between the optocoupler output and the fan input
Input clampTVS to ground, 5–12 V class

3. RS485 / Modbus RTU — align the protocol parameters first, then harden the port

3.1 Protocol parameters are the precondition

EC092 factory defaults: 9600 bps, 8 data bits, no parity, 1 stop bit, slave address 1. The host must leave ≥ 20 ms of bus idle before sending a control frame, and the slave answers about 10 ms after receiving a valid frame.

The line that most needs to reach the controller firmware specification: if the slave receives no host data for 120 seconds, or receives data with errors, it declares a communication fault and the fan stops. That means the RS485 link is not designed to “work at all”, it is designed to guarantee at least one valid exchange inside every 120 s window. A polling period of 5–10 s is recommended, with a warning on N consecutive missing replies instead of discovering the problem after the fan has already stopped.

Register map (EC092 protocol): holding register 1001 writes the speed setpoint (rpm); input registers 3001 read actual speed, 3002 the fault code, 3003 the derating code, 3006–3009 bus voltage / phase current / power / IPM temperature. The host or PLC should organise polling around these addresses rather than expecting one read/write frame to cover everything.

3.2 Isolated transceiver

Industrial installations should default to an isolated RS485 transceiver rated ≥ 2500 Vrms. Recommended parts: ADI ADM2483 (magnetic isolation) or TI ISO3082. Without isolation, a ground-potential difference can push the common-mode voltage outside the −7 V to +12 V window, which at best produces errors and at worst destroys the interface. Power the isolated side from an isolated DC-DC and never share one ground across the barrier.

3.3 Port protection: three stages, not one

A single TVS on an RS485 port is not enough. Facing an induced surge or the high energy coupled into a long line, the peak current easily exceeds the junction limit and the TVS fails short or open, taking the transceiver with it.

Recommended three-stage chain:

GDT (three-terminal ceramic gas discharge tube) → PPTC (resettable fuse) → SM712 (asymmetric TVS array) → isolated transceiver

In engineering practice this combination covers IEC 61000-4-5 Level 4-class test conditions (1.2/50 μs 4 kV / 10/700 μs 6 kV / 8/20 μs 3 kA and similar combinations), but the final protection level must be based on testing of the complete port, not on individual device ratings.

3.4 Physical layer and software heartbeat

Use shielded twisted pair, with the A/B differential pair on the same twisted pair, and ground the shield at one point on the controller side. Fit 120 Ω termination at the physical first and last node only, not at intermediate nodes. For 9600 bps over short distances (< 50 m, few nodes) the termination can be left unpopulated, but reserve the footprint.

Because the fan stops after 120 s without valid communication, the host should implement periodic polling or a heartbeat register write and not send frames only when the speed has to change. Keep the polling period far below 120 s (for example every 5–10 s) and warn on N consecutive missing replies rather than discovering the stop after the fact.

3.5 Client-side circuit

RS485 client circuit: isolated transceiver and GDT-PPTC-SM712 chain, 120 Ω at both ends
RS485 client circuit: isolated transceiver and GDT-PPTC-SM712 chain, 120 Ω at both ends

Key points: 9600/8/N/1 + address 1 aligned first; isolated transceiver + GDT/PPTC/SM712 three-stage protection; 120 Ω at both ends; a software heartbeat so the 120 s stop protection is not tripped by accident.

3.6 RS485 design checklist

CheckRequirement
TransceiverIsolated type, isolation ≥ 2500 Vrms (ADM2483 / ISO3082 class)
Protection chainGDT (3R90A-TP1 class) → PPTC (0.5 A) → SM712 → transceiver
Termination120 Ω at both ends, footprint reserved on the PCB
ShieldTwisted pair + single-point ground at the controller
Software heartbeatPolling period far below 120 s, 5–10 s recommended
Timeout strategyWarn on N consecutive missing replies; define a safe stop / fallback in the system layer

4. Choosing between the three: one table

0-10VPWMRS485 Modbus RTU
Core of the client circuitActive output, isolation where required, line-break detectionLevel raised to 5–12 V, optocoupler isolation, frequency windowIsolated transceiver, shielded twisted pair, three-stage protection
Failure to handle firstBroken wire = 0 V = stopAmplitude or frequency out of window → duty misread120 s without communication → fan stops
Status readbackFG speed pulse only (if provided)FG speed pulse only (if provided)Speed, fault code, bus voltage, temperature, power all readable
Typical useOne or a few fans, speed setting onlyOne or a few fans, long cable or moderate interferenceSystems with a PLC that need monitoring and diagnostics

There is no absolute ranking of “more advanced”. The real dividing line is whether you only need to give the fan a speed command, or you need the fan to report its state back. If speed control is all you need, a solid 0-10V or PWM circuit is enough; if you need fault codes, temperature or interlocked shutdown, RS485 Modbus RTU is the correct entry point.

5. Handover checklist (attach it to the schematic review)

The above applies only to the speed-control interface design of SUNXFAN EC fans; please verify applicability for your own application.

Frequently Asked Questions

Why does a broken 0-10V wire stop the fan instead of raising an alarm?
The 0-10V input is a high-impedance sampling node. When the controller output opens or the cable breaks, the input falls towards 0 V and the fan reads that as a zero-speed command. It has no way to tell a deliberate stop from a broken wire, so line-break detection has to be done on the controller side by reading the output node back.
Why is a single-supply LM358 unsuitable for the 0-10V output?
A single-supply LM358 cannot swing its output closer to ground than tens to hundreds of millivolts, so it cannot reliably cover the 0 V end of the range, which is the stop command. Choose an RRIO rail-to-rail op-amp such as LMC6482 or MCP6002, which keeps linearity and floor accuracy at 0 V.
Can a 3.3 V or 5 V PWM output drive the fan directly?
No. The fan PWM input expects 5–12 V amplitude; below 5 V the input stage may not recognise the high level reliably. Raise the level to 5 V or 12 V logic first, and the cleanest way is to let one optocoupler do the level shift and the isolation in a single stage instead of cascading a level shifter and an isolator.
How long can RS485 be silent before the fan stops, and how do I avoid tripping it?
If the slave receives no host data for 120 seconds, or receives data with errors, it treats that as a communication fault and stops the fan. Avoid it by polling or writing a heartbeat register continuously, every 5–10 seconds, and by warning on N consecutive missing replies instead of waiting for a stop.
Why is one TVS not enough on an RS485 port?
A single TVS facing an induced surge or a long coupled line can exceed its junction limit, fail short or open, and take the transceiver with it. The usual three-stage chain is GDT → PPTC → SM712: the GDT dumps the bulk energy, the PPTC decouples and limits, and the SM712 clamps the residual to the transceiver common-mode range.
All Articles