Hello friends, I hope you all are doing great. Today, I am going to share the new SSR-25DA Solid State Relay Library for Proteus Simulation. A solid-state relay does the job of a mechanical relay - a small DC signal switches a mains load - but with no coil, no contacts and no click. The SSR-25DA is the familiar white block with four big screws: 3 to 32 V DC on one side, up to 380 V AC and 25 A on the other. Inside, an LED shines on a light-sensitive triac driver, and a triac switches the load, timed to the zero crossings of the mains. With this library you can run a full Proteus simulation of the SSR-25DA: the input current, the zero-cross turn-on, the turn-off at the load current's zero, the voltage across it, its leakage and its heat.

Figure: The SSR-25DA simulation running: the input LED, the relay and the fan switching on and off.
Updates

SSR-25DA Solid State Relay Library for Proteus

Latest version: V1.0 (November 2026, this tutorial)

Other switches for AC loads: Relay Module · AC Dimmer Module · SCR and TRIAC

Helping Tools

The demo is the classic one: an Arduino switching a 230 V load. Our 120 mm AC fan runs from Proteus's own AC source through the relay, and the pop-up captures the exact moments the relay switches on and off.

NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the relay board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the SSR-25DA Solid State Relay Library for Proteus Simulation:

Figure: The SSR-25DA Solid State Relay Library for Proteus Simulation.

What Is the SSR-25DA Solid State Relay?

The name tells you its class: SSR for solid-state relay, 25 for 25 amps, D for a DC control input and A for an AC output. It is a sealed module about 62 x 45 mm with two screw terminals on each end and a mounting hole between them. Terminals 3 (+) and 4 (-) take the control voltage; terminals 1 and 2 go in series with the load. A small LED on the label lights while the input is on. The module is made to be screwed onto a heatsink, because the triac inside turns a little of the load's power into heat.

The SSR-25DA at a glance
SSR-25DA solid state relay
Input3 - 32 V DC, about 6 - 8 mA
Output24 - 380 V AC, 25 A (with a heatsink)
Switchingzero-cross turn-on, off at the current zero
On-state dropabout 1.2 - 1.6 V
Leakage when offa few mA (the snubber)
Usesheaters, fans, pumps, lamps, kilns, 3D printer beds

Inside: an LED, an Optocoupler and a Triac

The input side is an LED behind a small constant-current circuit, which is why the SSR-25DA works anywhere from 3 V to 32 V and draws only a few milliamps: a microcontroller pin can drive it directly, with no transistor and no flyback diode. The LED lights an optically coupled triac driver, so the mains side is completely isolated from your board. The driver fires the power triac, a semiconductor switch that conducts in both directions once it is triggered and keeps conducting until its current falls almost to zero. An RC snubber across the output protects the triac from fast voltage changes - and it lets a few milliamps through even when the relay is off.

Zero-Cross: When It Really Switches

The "zero-cross" in the specification is the key to this relay. When the input comes on, the relay does not switch at once: it waits until the mains voltage passes through zero, and fires the triac there. Switching at zero volts means no sudden step of current - no spark, no electrical noise, no stress on a lamp's cold filament. The price is a delay of up to half a cycle, 10 ms at 50 Hz. Turning off has its own rule: a triac cannot be switched off by its gate, so after the input goes low it keeps conducting until the load current reaches zero. With a resistive load that is the same moment as the voltage's zero; with a motor, whose current lags the voltage, it comes later.

SSR or Mechanical Relay?

Our Relay Module Library for Proteus covers the classic coil-and-contact relay. A mechanical relay has almost no voltage drop and no leakage, it switches AC or DC, and it costs very little - but its contacts wear, spark and bounce, and it clicks. A solid-state relay is silent, has no moving parts, switches millions of times without wearing out and does not bounce. In exchange it loses about a volt and a bit of power, needs a heatsink at high currents, leaks a few milliamps when off and, in the DA version, switches AC only. For a heater controlled every few seconds, or anything that switches often, the SSR wins.

The Relay in the Simulation

The library models what you see at the terminals. The input is a current regulator: nothing below 1.6 V, then a resistive rise, then a steady 6 mA from 3.1 V up to 32 V; the relay turns on from 2.4 V and off below 1.5 V. The output is a triac with a smooth on-state curve - about 0.9 V plus 25 milliohms - and a 150 kilohm leakage when off. The zero-cross logic watches the voltage across the output: with the input on, the triac fires the next time that voltage is under 15 V, and it stays on for as long as the input does. After the input goes off, the triac lets go as soon as its current falls under the 50 mA holding current. The case warms with the triac's loss through 4 K/W. And the pop-up keeps two 40 ms recordings - the last turn-on and the last turn-off - so you can see the switching on the waveform.

Features of the SSR-25DA Solid State Relay Library for Proteus Simulation

  • A real-looking relay: the 45 x 62.5 mm case at its real size, the four screws under their clear covers, the mounting holes, the label and the INPUT LED that lights.
  • A real input: 3 - 32 V DC at about 6 mA, the optocoupler's on and off thresholds.
  • Zero-cross switching: on at the next zero of the mains, off at the next zero of the load current - both recorded.
  • A real output: the triac's on-state drop, the snubber's leakage, the case temperature.
  • Works with our AC parts: our AC fan, AC dimmer and SCR / TRIAC libraries and Proteus's own AC source.
  • A pop-up: the last turn-on and turn-off captured, the state, eight tiles - graphs, an event log and a check page.
  • A complete package: about 1.6 MB with the library, our AC fan, our Arduino UNO V4.0 and the demo, without the source code of the model.

The SSR-25DA in Proteus

The device is SSRDA25TEP in TEPSSR25DA.LIB, under Switches & Relays > Relays, with the prefix U and the model TEPSSR25DA.DLL. Search SSR or solid state in Pick Devices. Four pins, where the screws are: T1 and T2 at the top for the AC load, IN+ and IN- at the bottom for the DC input. The relay has no properties: its behaviour comes from its ratings, and the load and the mains come from your circuit.

Figure: The SSR-25DA solid state relay.

Download SSR-25DA Solid State Relay Library for Proteus Simulation

Click the button below to download SSR-25DA-Solid-State-Relay-Library-for-Proteus-v1.0.zip (about 1.6 MB, without the source code of the models):

SSR-25DA Solid State Relay Library for Proteus V1.0
  • README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
  • Proteus Library Files: TEPSSR25DA.LIB, TEPACFAN120.LIB and ArduinoV4TEP.LIB.
  • Proteus Model Files: TEPSSR25DA.DLL, TEPACFAN120.DLL and TEPARDUINO.DLL.
  • Arduino Code: the demo sketch (no library).
  • Proteus Simulation: the demo project, its HEX file and copies of the DLLs.

No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.

How to Install SSR-25DA Solid State Relay Library for Proteus Simulation

  1. Close Proteus and extract the whole zip file, for example to your Desktop.
  2. Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
  3. Copy the files from Proteus Model Files into the MODELS folder.
  4. Delete TEPSSR25DA.IDX from the LIBRARY folder if it is there.
  5. Start Proteus, press P and search for SSR.

Proteus Simulation of an Arduino Switching a 230 V Fan

The demo uses an A3 sheet with our Arduino UNO Library for Proteus V4.0, the relay U1, Proteus's ALTERNATOR V1 set to 325 V peak (230 V RMS) at 50 Hz, and the 120 mm fan M1 from our 120mm 230V AC Fan Library for Proteus. D7 drives IN+ and IN- goes to ground. On the mains side the alternator's + feeds the net L, which goes to T1; T2 feeds the fan's L, and the fan's N returns to ground with the alternator's -. The Arduino's monitor is built in, the same window as our TEP Serial Monitor Advance for Proteus. Open SSR-25DA-AC-Fan-ArduinoUnoV4.pdsprj.

Figure: The whole simulation on an A3 sheet.

The Sketch

Driving an SSR is as simple as driving an LED - the relay's input current regulator does the rest:

  pinMode(PIN_SSR, OUTPUT); digitalWrite(PIN_SSR, LOW);

The fan runs for three seconds and rests for two:

const unsigned long ON_MS = 3000, OFF_MS = 2000;
  digitalWrite(PIN_SSR, HIGH);
  digitalWrite(PIN_SSR, LOW);

The sketch does not wait for the zero crossing - the relay does that by itself. It only prints when it changes the pin, so the monitor shows the commands and the pop-up shows when the relay actually obeyed.

SSR-25DA Simulation Results

Open the project and press Run. The demo runs 6.6 simulated seconds and took about two and a half minutes on our PC with the pop-ups open and the pictures being taken. Click the relay for its pop-up, or the fan for its own. Every number below comes from one simulation run, the demo exactly as it ships.

Off: Holding the Mains

Proteus's alternator puts 230 V RMS at 50 Hz on the net L. With D7 low the relay is off: it holds the whole mains voltage between T1 and T2 and lets only 1.5 mA RMS through its snubber - far too little to move the fan.

On at the Zero Crossing

At 1.0 s the sketch sets D7 high. The input sees 4.88 V and takes 6.0 mA - the regulator's current - and the INPUT LED lights. But the fan does not start yet: the relay waits for the mains to pass through zero. At 1.0799 s, 9.5 ms after the input, the voltage across it is down to 7.5 V and the triac fires. The pop-up's capture shows exactly this: the blue mains, the green input band starting, and the orange current beginning at the zero crossing, with no step.

Figure: The zero-cross turn-on.

The fan speeds up - 0.155 A RMS at 1.28 s while it accelerates, 0.130 A RMS at full speed - and the triac conducts 97 % of the time; the last few percent are the moments around each current zero. The current lags the voltage, because the fan's motor is inductive.

Figure: The relay on, the fan turning.
Figure: The simulation in the workspace.
Figure: The fan's own pop-up.

Off at the Current's Zero

At 4.0 s D7 goes low. The relay cannot stop the current at once: a triac only turns off when its current falls under the holding current. The fan's current reaches its zero at 4.0915 s - and by then the mains voltage is already at -144 V, because the current lags. The capture of the turn-off shows the orange current ending at zero while the blue voltage is far from it, and the relay holding the mains again from there on.

Figure: The turn-off at the current zero.

On Again

At 6.0 s D7 goes high again, and once more the relay waits: it turns on at 6.1199 s with 12.5 V across it, at the next zero of the mains. By 6.6 s the fan runs at 0.138 A RMS. Two turn-ons and one turn-off in all, each at the right moment.

The Graphs, the Event Log and the Check Page

The Graphs page plots the load current, the mains at T1, the input voltage and the case temperature. The Event log records each change of the input and each switching with the voltage or the current at that instant. The Check page sums up the run: the input at 4.88 V with 6.0 mA, two turn-ons at the mains' zero (the last with 12.5 V across) and one turn-off at 49 mA, the load at 0.138 A RMS conducting 97 % of the time, the mains at 230 V RMS, and the case at 25.0 C.

Figure: The Graphs page.
Figure: The Event log.
Figure: The Check page.

The Arduino's monitor shows the commands - and comparing its times with the Event log shows how long the relay waited for the zero.

Figure: The Arduino's monitor.

Zero-Cross or a Dimmer?

Because it fires only at the zero crossings, a zero-cross SSR is an on-off switch: you cannot dim a lamp or slow a fan by firing it part-way through each half cycle. For that you need phase-angle control - a random-turn-on SSR or a triac with its own zero-cross detector, like our AC Dimmer Module Library for Proteus. What you can do with a zero-cross SSR is switch whole cycles on and off, slowly: a heater controlled in a few-second window, on for 30 % of it, gets 30 % of the power - the way temperature controllers drive their SSRs.

Try It Yourself

  • Change ON_MS to 15 ms: each command gives the fan only a cycle or so, and every turn-on still waits for the next zero.
  • Lower the input to 3.3 V (a 3.3 V board): the relay still turns on, its input current regulated.
  • Change the alternator to 60 Hz: the turn-on delay is at most 8.3 ms.
  • Read the turn-off capture: the mains voltage at the moment the current reaches zero shows how much the fan's current lags.
  • Put a resistive load in place of the fan and compare the turn-off moment with the voltage's zero.

Ideas to Extend the Demo

  • A thermostat: a temperature sensor and the SSR switching a heater with a little hysteresis.
  • Time-proportional control: the SSR on for a fraction of each 2-second window.
  • A fan that runs while a PIR sensor sees someone and for a minute after.

Your Own Sketches

The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.

Things to Know Before Using a Real SSR-25DA

  • Mains is dangerous: an enclosure, a fuse, an earthed heatsink, and no touching while it is connected.
  • Heatsink: about 1.2 W per amp; above about 5 A mount it on a heatsink with thermal paste.
  • Leakage: off is not open - 1 - 2 mA flow, enough to make an LED lamp glow or a meter show voltage.
  • AC only: a DA relay cannot switch DC; a triac would never turn off.
  • Genuine parts: cheap copies often cannot carry their rated current; derate generously.

Troubleshooting

  • The INPUT LED stays dark: the input is under 2.4 V or reversed - + to the pin, - to GND.
  • The load never switches: T1 and T2 are not in series with the load, or the source's return is not connected to the load.
  • It turns on late: that is the zero-cross wait - up to 10 ms at 50 Hz.
  • It turns off late with a motor: it waits for the current's zero, which lags the voltage.
  • The part is not simulated: TEPSSR25DA.DLL is missing from MODELS and from the project folder.

Limitations of the Simulation

  • The input, the zero-cross turn-on, the turn-off at the current's zero, the on-state drop, the leakage and the case temperature follow the class's data sheets; the case is our own drawing.
  • Our own choices: on at 2.4 V and off at 1.5 V, 6 mA, a 15 V zero-cross window, 50 mA holding current, the on-state curve, 150 kohm leakage, 4 K/W and 60 J/K.
  • Not modelled: dv/dt false triggering, the snubber's capacitance, surge (I2t) failure, heatsinks, random-turn-on SSRs.
  • Arduino is a name of Arduino; this library is not made or endorsed by Arduino, Labcenter or any relay maker.
  • Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.

So, that was all about the SSR-25DA Solid State Relay Library for Proteus Simulation. I hope it helps you see what a solid-state relay really does with your signal - waiting for the zero, holding on until the current lets go - before you wire anything to the mains. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!