• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Inverter Circuits / SPDT Relay Switch Circuit using Triac

SPDT Relay Switch Circuit using Triac

Last Updated on September 13, 2019 by Swagatam 27 Comments

An efficient solid state single pole double throw or SPDT switch can be built using triacs for replacing a mechanical SPDT.

Table of Contents
  • Introduction
  • Circuit Operation
    • Circuit Diagram
    • Adding an attached power supply and Delay Effect

In this post I have explained a simple solid state triac SPDT relay circuit, using an optocoupler and a couple of triacs, which can be used as an effective replacement for mechanical relays. The idea was requested by "Cypherbuster".

Introduction

In one of the other posts I have explained how to make an DPDT SSR using mosfets, however this design could be used only for high current DC loads, and not with AC loads at the mains level.

In this article we will see how a simple mains operated solid-state relay can be made using triacs and an optocoupler.

The working of any relay is specifically intended to operate two different high power loads individually and alternately with the help of an external isolated low power trigger.

In a conventional mechanical type of rely this is done by toggling the loads across its N/O and N/C contacts in response to the activation applied across its coil.

However mechanical relays have their own drawbacks such as higher degree of wear and tear, lower life, generation of RF disturbance due to sparks across the contacts, and the most vital being the delayed switching response which could be crucial in systems like UPS.

Circuit Operation

In our triac SPDT relay circuit the same function is executed through the switching of two triacs via two BJT stages and an isolating optocoupler which ensures that the changeover operation for this relay has no drawbacks as mentioned above.

Referring to the diagram, the left side triac represents the N/O contact while the right side triac operates like the N/C contact.

Circuit Diagram

Triac based SPDT Relay Switch Circuit

While the optocoupler is in the non-triggered mode, the BC547 directly associated with the opto goes into the triggered mode, which keeps the second BC547 switched OFF. This situation enables the right side triac to remain switched ON, and the other triac is held switched OFF.

In this condition any load connected with the right triac becomes operational and stays switched ON.

Now as soon as a trigger is applied to the opto coupler, it switches ON, and in turn switches OFF the connected BC547.

This situation switches ON the second BC547 and consequently the right side triac is switched OFF, ensuring that the left side triac is now switched ON.

The above condition immediately toggles the second load ON and switches OFF the earlier load, effectively fulfilling the required alternate switching of the load with the help of an isolated external DC trigger.

The two LED connected with the bases of the two BJTs indicate which load is in the activated state at any moment while the triac SPDT relay circuit is being operated.

Adding an attached power supply and Delay Effect

The above design could be further enhanced and made fully independent of an external DC power source by upgrading it with its own transformerless power supply, as shown below:

You will find the following changes in this upgraded diagram:

Addition of a 1K at the base of the right BC547 to ensure correct triggering of the left side triac

Addition of R/C network across the gates of the triacs to ensure that the two triacs are never ON together at any given instance or during the changeover periods. The diodes can be 1N4148, resistors can be 22K or 33K, and the capacitors can be around 100uF/25V.

There's one more thing that seems to be missing in the diagram, and it is a limiting resistor (approximately 22 ohms) between the 12V zener diodes and the 0.33uF capacitor, this may be important to safeguard the zener diode from sudden in rush surge through the capacitor during power switch ON.

triac based solid state relay with delay

Warning: The circuit shown above is not isolated from the mains AC input supply and therefore is extremely dangerous to touch in the switched ON condition. 

You'll also like:

  • sg3525INVERTERCIRCUITWITHOVERLOADLOWBATTPROTECTIONCIRCUITSG3525 Inverter Circuits with Low Battery Cut-off and Overvoltage Regulation
  • Pure Sine Wave Inverter Circuit Using IC 4047
  • arduinoinvertercircuitHow to Interface Arduino PWM with any Inverter
  • IC555invertercircuit6 Best IC 555 Inverter Circuits Explored

Filed Under: Inverter Circuits Tagged With: Relay, SPDT, Switch, Triac

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!



Previous Post: « 2 Simple Arduino Temperature Meter Circuits Explored
Next Post: Connecting MPPT with Solar Inverter »

Reader Interactions

Questions & Answers

Total Posts: 27
Newest Oldest
Cypherbuster
July 23, 2016 • 10 years ago #42911

Thanks a Ton!
Another thought: A relay does not require a continuous power supply, i.e, even under no power conditions, there's a connected terminal and an open terminal.
Would it be possible to do away with the external 5-12 Volt and make this an exact Solid State version of a relay?

Reply
SwagatamAdmin
July 24, 2016 • 10 years ago #42924

I am glad you liked it…please check out the last diagram I have updated it as per your suggestion.

Reply
SwagatamAdmin
July 24, 2016 • 10 years ago #42932

It is my pleasure Devendra ji. thank you and God bless you!

Reply
Sharoj Al Hasan
August 2, 2016 • 10 years ago #43189

Sir i dont find transistor BC517 sir can i use BC547 replace of that Transistor ??

Reply
SwagatamAdmin
August 3, 2016 • 10 years ago #43206

you can use two BC547 and connect them in Darlington form for getting the equivalent of BC517

Reply
SwagatamAdmin
September 9, 2016 • 10 years ago #44383

yes that's possible.

Reply
Puneet Swarup
December 15, 2016 • 10 years ago #47362

Hello Swagatam,

I have sent the modified diagram on mail, as you had suggested. Please have a look and let me know your valuable feedback.

Thanks,
Puneet

Reply
SwagatamAdmin
December 16, 2016 • 10 years ago #47374

Hello Puneet, I have replied it.

Reply
Puneet Swarup
December 22, 2016 • 10 years ago #47507

Hi Swagatam,

One more query in your mail, please suggest.

Thank you

Reply
SwagatamAdmin
December 23, 2016 • 10 years ago #47515

answered!!

Reply
Waqar
January 16, 2018 • 8 years ago #57715

Brother,
Can you provide circuit for three phase Solid State Contactor.
Thanks.

Reply
SwagatamAdmin
January 16, 2018 • 8 years ago #57718

sure bro, I’ll do it soon using heavy duty triacs.

Reply
Lane Fishburn
August 8, 2018 • 8 years ago #62272

Do you need a capacitor delay of some sort so both NO & NC aren’t on at the same time? Even, ever so slight?

Great Circuit — !

Reply
SwagatamAdmin
August 8, 2018 • 8 years ago #62278

Thanks Lane for pointing it out, I have updated the design with the delay feature at the bottom of the article, you can check it out.

Reply
Craig Riddle
July 14, 2024 • 2 years ago #154681

Great Circuit. Does this work with 230v ac?

Reply
SwagatamAdmin
July 14, 2024 • 2 years ago #154690

Yes, the last circuit can be used with 220V AC

Reply
Craig Riddle
July 15, 2024 • 2 years ago #154792

Thank you very much for your quick reply Swagatam.
Great Site. Have a great day.

Reply
SwagatamAdmin
July 15, 2024 • 2 years ago #154807

You are welcome Craig!

Reply
Ismael
January 21, 2026 • 6 months ago #199399

Hi, can I use triac for control in between AC Transformer 440v output and diode bridge ? load is inductive

Reply
SwagatamAdmin
January 22, 2026 • 6 months ago #199420

Yes, you can use it…

Reply
ismael Aviso
January 23, 2026 • 6 months ago #199508

Thanks for your quick reply, Based from your circuit without outside bat source , I analyze it ( Triac gate can be trigger only by positve polarity ) and looking on the cct we can use only the positive cycle to trigger the Triac. It means the supply to the load will be intermittent supply. Do I am right ?

Reply
SwagatamAdmin
January 23, 2026 • 6 months ago #199510

Without the +5 to +12V source the circuit will fail to function. No, the load working will not be intermittent because the both triacs MT1 is connected to the circuit’s common ground…

Reply
ismael
January 25, 2026 • 6 months ago #199616

Re: Triac is 2 SCR parallel. I need a high voltage Triac but its expensive in the market. I have several stock of High voltage SCR. Can I connect it in parallel and connect together the two gate to function as a Triac ? any disadvantage of doing this connection ?

Reply
SwagatamAdmin
January 26, 2026 • 6 months ago #199642

No, practically that’s not possible and may malfunction, you must use only a triac…

Reply
ismael
January 26, 2026 • 6 months ago #199680

Many thanks for your quick reply

Reply
Zdravko
July 1, 2026 • 2 weeks ago #209202

Can two triacs be connected in parallel to double the current consumption? What is the connection diagram?

Reply
SwagatamAdmin
July 1, 2026 • 2 weeks ago #209208

Sure, you can try the following method:
connect triacs in parallel

As a rule of thumb for safety, you should always double this power calculation so the component runs reliably without burning out. For a 15-watt requirement, you should use a ceramic wirewound or aluminum-housed resistor rated for at least 25 Watts or 30 Watts.

If you want a quick shortcut without doing the math, using a ballast resistor between 0.1 Ohms and 0.22 Ohms rated for 10W to 25W works as the sweet spot for most common setups running between 10A and 30A. Anything lower than 0.1 Ohms won’t balance the current effectively, and anything higher will just waste too much power as heat.

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar



My Youtube Channel

Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (88)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (99)
  • Lamps and Lights (162)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (45)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |



Recent Comments

  • Swagatam on 3 Tested 220V High and Low Voltage Cut OFF Circuits Using IC LM324 and Transistors
  • ENGR BRIGHT on 3 Tested 220V High and Low Voltage Cut OFF Circuits Using IC LM324 and Transistors
  • Swagatam on IC LM393 Complete Datasheet with Circuit Diagram
  • Norman D Kelley on IC LM393 Complete Datasheet with Circuit Diagram
  • Swagatam on Simple Capacitive Discharge Ignition (CDI) Circuit

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

© 2026 · Swagatam Innovations