The post explains a simple configuration which can be used as a automatic changeover circuit for switching AC grid mains to generator mains, during power failures or outages.
The explained circuit will effectively switch the connected appliances to the generator mains during power failure however it won't be able to switch start the generator automatically, this will need to be done manually, because most generators involve a difficult mechanical actuation procedure.
How it Works
Referring to the given diagram we can see a simple circuit comprising of a TP relay (triple pole relay) as shown below, and a transformerless power supply circuit.


The input of the transformerless power supply circuit is connected to the mains 220V or 120V input.
When mains power is present, the connected relay activates with this power and switches ON the load or the appliances via its N/O contacts.
Conversely when mains power fails, the relay deactivates and connects with the N/C contacts which may be wired up with the generator mains.
Now as soon as the generator is pulled started, the mains finds its way through the connected N/O contacts of the relay to the appliances.
The third set of contacts is used for enabling and disabling of the CDI unit of the generator so that when mains is restored, the generator is automatically halted.
Simple yet effective.....
Circuit Diagram

3 Phase Grid to Generator Changeover Circuit
The following diagram shows how a 3 phase grid to generator changeover can be implemented using a couple of 3 phase contactors.

How the Circuit Works
Let's assume mains AC is not available, and generator is switched ON by the left side relay.
In this situation the center relay will be deactivated, and its pole will be connected with its N/C contact, so that the +12V DC from the generator passes through the N/C contact and actuates the bottom/right 3 phase generator contactor.
The top/right grid mains contactor remains switched OFF due to the absence of a +12V DC.
Therefore, the generator AC flows through this bottom/right contactor and operates the connected appliances or load.
Now, suppose the mains grid AC restores.
The left side relay activates and turns OFF the generator. Also, simultaneously the center relay switches ON through the +12V from the grid mains.
The center relay pole now shifts from N/C to N/O, so that the +12V from the mains grid AC passes through the N/O contacts and actuates the top/right contactor. The bottom/right generator contactor is simultaneously switched OFF.
With the top/right contactor switched ON, the grid AC now becomes available to the load.
Again, if the mains AC fails, the left side relay deactivates, switching ON the generator procedures, the center relay connects with its N/C contacts, turning on the generator 3 phase contactors and turning OFF the grid contactors.

If you are unable to get the above 12V electromechanical relay/contactor, you can go for a 3 phase SSR contactor instead, as shown below.

Good day sir, please I need a circuit that will automatically switch on a generator that has manual start facility when the mains power is off. That is just what I want
Moses, I think you should use a readymade control box which has automatic start and stop facility, building a circuit can be complex because generators cannot be started just by a push of a button
Hi, thanks for your informative page, just what I was looking for. In the first diagram you have a capacitor “474” – 474 what?
Thanks, Dan
I have a suggestion. How difficult would it be to add some sort of timer to the CDI switch output so the generator can run with the mains on, then be switched to when the mains goes off, and then be killed when the mains comes on again? This would allow you to test the switchover from mains to generator.
For delaying the CDI switch in the first diagram, you will have to isolate the CDI switch with a separate relay which must be connected with the main relay. The main relay now becomes DPDT relay and the CDI relay becomes SPDT relay. The timer could be added with this SPDT relay
Hi, the capacitor 474 is equivalent to a 0.47uF/400C PPC capacitor
Thanks!
Yes, the wiring is very simple. But my fear is if generator is switched on already and suddenly, mains supply becomes available, if your are using AH3-3 delay relay off timer, the pole of the center relay clicks the NO to power mains contactor (while generator runs for few seconds or minutes depending on the set timing to switch off), power supply from generator will still find its way to the mains circuitry via pole to the NO contacts of the center relay which can cause a short circuit.
The operation of the center relay can never keep the two contactors ON at the same instant. When it moves to N/O, the N/C side contactor releases, and vice versa.
Having gone through the schematic diagram diligently, I ran a simulation on Proteus CAD. These are my observations
1. Connecting different power supply on the pole of center relay is dangerous should the relay fails.
2. Mains power supply takes priority over generator that’s why on the center relay, NO contact is for mains, NC- generator and pole, load. It’s best to separate these contacts accordingly.
3. If you are using a delay-relay timer, the circuit can poise an hazard in that when generator is running and mains supply is available, generator will still be running. After the time interval of the timer lapses, generator stops working. You can see why generator and mains shouldn’t be connected to the pole.
Resolution
1. Disconnect generator +12V power supply from pole of center relay and connect pole back to +12V mains power supply (as in your previous schematic diagram before changing it to the present one). Now, disconnect the upper generator contactor coil from NC of center relay and connect it to generator +12V power supply. Since the lower contactor coil of both generator and mains are connected to ground, that forms the interlock. This arrangement is situable if you want to use a delay-relay timer. That coil will be connected to a timer. The moment generator starts, it will be delay the supply like 20secs (depending on the setting) before powering the load. By that time, the generator would have attained its maximum speed.
2. You can still maintain your previous schematic diagram which is ok.
It seems you did not understand the second schematic, that’s why you have opted for a proteus simulation….
the wring is so simple it can be simulated in mind to know the results.
The pole of the relay is connected to 12V DC from the generator and the mains grid AC, and the N/O N/C contacts are connected to the coils of the contactor relay.
There’s no AC present anywhere on the pole of the center relay.
The center relay only controls the contactor coils.
If the center relay fails, at the most there will be no AC to the load….and that’s all…there is absolutely no chance of any hazardous situation.
The two contactors on the extreme right can NEVER EVER operate at the same time, and therefore there’s absolutely no chance of any electrical hazard.
I have not used any delay relay timer for the contactors, that is your version, and might require a completely different circuit.
Your diagram, among others is too simple for me not to understand it. Using Proteus has nothing to do with my logic abilities. I use it to simulate all my designs and to also check mate possible features or amendments where necessary. If you say what you did is ok, then no problem. We are all entitled to our opinions.
Besides, what do you mean by strong 12VDC from generator and mains? I asked you a simple question that where lies the interlock in your connections. But you seem confused not to understand but instead you change the circuit diagram of which the previous diagram is much more better that the present one.
Again, you have neither understood my previous diagram nor the updated one, and yet you jumped to conclusions and opinions, which are misleading and wrong.
The previous diagram did not have a 12V from the generator, then how could the generator side contactor operate when the center relay contacts connect to the N/C points? To correct this, I added the +12V from the generator.
If you have used some external delay/relay with my circuit then that’s your problem. I cannot suggest about it since I have not seen the schematic.
Although not required, a delay feature can be added with the center relay and should be discretely built without depending on external circuits. In fact I have already provided the delay feature by adding a 1000uF capacitor with the center relay coil.
Proteus is a good software, but it is good only as long as the user has good knowledge of electronics, otherwise the results can be erroneous.
The bold 12V indicates only a DC is involved to operate the relays, and two DCs create nothing hazardous with the center relay….
The second diagram is fail-safe, failproof, hazard proof, under all circumstances.
You say you understood the diagrams, and then you ask whether it has an interlock?
The center relay ensures the interlock feature.
The center relay ensures that the two contactors can never operate at the same time.
I think I have already explained this many times, it’s no point discussing the same thing again and again.
Hi Swagatam, how are you doing? Having gone through the circuit thoroughly, I now realized that I have been mistaken all along. Without void of doubt, the diagram is very much ok. I didn’t do much due diligence on it that resulted to my conclusion. I’m sorry that our last conversation didn’t go well.
Regards.
Hi Olakunle, I am good, thank you! Not a problem at all! It is just a part of the learning process for all of us! I am glad the confusion is over now! Please keep up the good work!
Thank you for that response. Now, how does the relay gets energized (i.e. to supply power to the first contactor) when there is mains supply considering the fact that the pole or (com) of that relay is connected to the generator 12VDC supply?
When mains supply is present the generator will be switched OFF, and the center 12V relay pole will connect with its N/O contacts, and that will allow the Grid mains contactor to energize. The wiring is very simple, please check the 12V path across the relay contacts and the contactor coils….
I take it that the control cct is fed from a mains phase ?
yes that’s correct!
I have noticed that all changeover (generator-grid) circuits feature two contactors, one for the generator and one for the grid. Why can’t one contactor, with an array of NO and NC contacts do the job? Possibly extra safety? What can go wrong with a single contactor?
Thanks in advance.
Can you show me the contactor diagram link? I’ll try to figure it out.
The schematic is previously on this page (near the top).
Accommodating all the mechanism inside one unit can make the system congested and cluttered which may not be recommended for high power systems.