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:
| Interface | Typical failure signature | Consequence |
|---|---|---|
| 0-10V | Broken wire → input approaches 0 V → read as “stop” | Silent thermal risk: the fan stops and the host system may never know |
| PWM | Insufficient amplitude / out-of-range frequency → duty misread | Speed departs from the command; the fan may sit at low speed or full speed |
| RS485 | 120 s without a valid frame → fan stops automatically | Visible 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
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
| Check | Requirement |
|---|---|
| Op-amp | RRIO type, 0 V output floor ≤ 100 mV (verify unloaded and at rated load) |
| Series resistor | 100 Ω |
| Input clamp | Bidirectional TVS, clamp voltage ≤ op-amp absolute maximum input / output rating |
| Isolation | Mandatory when the two grounds are not common |
| Line-break detection | Readback comparison, covering the “broken wire = 0 V” silent failure |
| Multiple fans | Confirm 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
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
| Check | Requirement |
|---|---|
| Optocoupler LED resistor | Sized for 5 mA: 3.3 V → ≈420 Ω; 5 V → ≈760 Ω |
| Secondary supply | Taken from the fan-side isolated domain |
| Amplitude | Secondary pull-up / supply keeps the high level inside 5–12 V |
| Frequency | Prefer about 1 kHz; approach 2 kHz only with a high-speed optocoupler |
| Pull-down | Keep a 10 kΩ pull-down between the optocoupler output and the fan input |
| Input clamp | TVS 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
- GDT: a three-terminal device, one shared by the differential pair, with a DC sparkover voltage above the normal bus voltage. 3R90A-TP1 (70–90 V breakdown) is a common choice: it does not load the ±5 V signal and can absorb high energy under the 8/20 μs waveform.
- PPTC: provides decoupling and current limiting between the GDT and the TVS. 0.5 A hold current, with a trip current around 1 A, is a common rating that matches a single EC fan node.
- SM712: an asymmetric TVS array designed for RS485, with a clamp voltage matched to the transceiver’s −7 V / +12 V common-mode range and low junction capacitance (SM712 series parts reach below 10 pF to a few tens of pF), so the 9600 bps signal is not visibly degraded. The Littelfuse / Bourns CDSOT23-SM712 covers IEC 61000-4-2 ±30 kV contact / air on ESD.
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
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
| Check | Requirement |
|---|---|
| Transceiver | Isolated type, isolation ≥ 2500 Vrms (ADM2483 / ISO3082 class) |
| Protection chain | GDT (3R90A-TP1 class) → PPTC (0.5 A) → SM712 → transceiver |
| Termination | 120 Ω at both ends, footprint reserved on the PCB |
| Shield | Twisted pair + single-point ground at the controller |
| Software heartbeat | Polling period far below 120 s, 5–10 s recommended |
| Timeout strategy | Warn on N consecutive missing replies; define a safe stop / fallback in the system layer |
4. Choosing between the three: one table
| 0-10V | PWM | RS485 Modbus RTU | |
|---|---|---|---|
| Core of the client circuit | Active output, isolation where required, line-break detection | Level raised to 5–12 V, optocoupler isolation, frequency window | Isolated transceiver, shielded twisted pair, three-stage protection |
| Failure to handle first | Broken wire = 0 V = stop | Amplitude or frequency out of window → duty misread | 120 s without communication → fan stops |
| Status readback | FG speed pulse only (if provided) | FG speed pulse only (if provided) | Speed, fault code, bus voltage, temperature, power all readable |
| Typical use | One or a few fans, speed setting only | One or a few fans, long cable or moderate interference | Systems 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)
- 0-10V: RRIO op-amp confirmed with a 0 V output floor ≤ 100 mV; 100 Ω series resistor and input TVS in place; line-break detection strategy defined.
- PWM: optocoupler LED resistor sized for 5 mA (not a default 1 kΩ); secondary taken from the fan-side isolated supply; frequency set near 1 kHz; 10 kΩ pull-down retained.
- RS485: isolated transceiver selected; GDT → PPTC → SM712 chain complete; 120 Ω reserved at both ends; firmware heartbeat ≤ 10 s and the 120 s stop protection aligned at system level.
The above applies only to the speed-control interface design of SUNXFAN EC fans; please verify applicability for your own application.