TUTORIAL: How to Make an Automatic Transfer Changeover Switch with Contactors & Arduino! (Misc)

  Рет қаралды 108,918

Antony Cartwright (Electronics & Code)

Antony Cartwright (Electronics & Code)

Күн бұрын

Пікірлер: 66
@Vikingza
@Vikingza 6 жыл бұрын
Hi, when switching between 2 non synchronised 240 V AC supplies, you need to turn off 1 switch and wait a second or 2 before closing onto the other supply, if you don't do it this way and swith AC as per your sketch, you will get a high resultant voltage that will blow your load.
@AntonyCartwright
@AntonyCartwright 6 жыл бұрын
Hi! Thanks Ian! This has been wired up in this way for over a year now and nothing has blown yet! Maybe it will soon though, I don't know.
@marianoaldogaston
@marianoaldogaston 6 жыл бұрын
he is right, normally you need to use something to detect when AC is at 0v, and switch at that right moment
@BurkenProductions
@BurkenProductions 3 жыл бұрын
@@AntonyCartwright Doesn't matter, since your design is flawed. This isn't good at all you need to make a version two that is correct.
@guru253
@guru253 2 жыл бұрын
It would be a disaster to blow your load unintended.
@scottleggejr
@scottleggejr 5 ай бұрын
You only need it long enough to ensure it's less than the frequency of the line voltage minus inductance. Most contactors are not fast enough to overpower like this where you have two simultaneous peaks. 50/60hz is typical so 1/50th of a second times two for two waveforms. Most contactors (except SSR or other MOSFET) are not fast enough because they're mechanical.
@xanataph
@xanataph 7 жыл бұрын
Bi-polar transistors aren't like mosfets. You need a current limiting resistor between the Arduino pin & the base otherwise what you effectively have is your output pin connected to ground through something equivalent to a diode junction & the micro controller will pump out as much current as it can. It probably has some current limiting there...maybe?...but it can't be good for it in the long run nevertheless. And speaking of diodes, where are the back EMF cancelling diodes on those contractor coils? You never know when that "lucky" spike will come that will zap your transistor or even worse, your Arduino in the process.
@AntonyCartwright
@AntonyCartwright 7 жыл бұрын
Hi Xanataph! You're definitely right that it really should have resistors on the base. Looking at the project, I'd put aside 2 x 1k resistors for that purpose! I think I'd forgotten to put them on. Regarding the back EMF, I'd not considered it! Thanks for your comment! :-)
@jduhaney
@jduhaney 6 жыл бұрын
Antony Cartwright what size power transistor did you use and what would you recommend about the back voltage and the resistor before it reach the audrino
@michaelkeith6899
@michaelkeith6899 4 жыл бұрын
Nice video note though the NC contact will not become NO just open lol
@Core-vu6mc
@Core-vu6mc Жыл бұрын
Old video but I'll comment anyway. I went down a path years ago using computer (ESP32, RPi, Linux PC) control but there is one big flaw. Sooner or later you have to reboot the computer. If you don't the computer could lock up or reboot itself. At that point, both contactors open and your load gets no power. You can wire those contactors to be sensitive to one or the other power being present and switch accordingly. I did it with the inverter being the priority by using the NC aux terminals. I then added an SSR to allow my computer to interrupt the switching; essentially delay the switch from mains back to inverter. The computer give the batteries enough time to recharge then closes the SSR. I'm counting amp-hours in vs out. If the PC fails the system stays on mains power. Btw, you also need mains coils in your contactors for that to work. For me in the US that's 110v coils.
@simpliciocamirino2271
@simpliciocamirino2271 2 жыл бұрын
thank you for that sharing sir.
@AntonyCartwright
@AntonyCartwright 2 жыл бұрын
No problems!
@EnriqueReyes
@EnriqueReyes 5 жыл бұрын
Is this still the best way to make an automatic transfer switch? If not an update to this video would be a great idea :)
@faizanmuneeb6801
@faizanmuneeb6801 5 жыл бұрын
Use Timer relays. I try to avoid microcontrollers for this type of application
@elektrolyte
@elektrolyte 4 жыл бұрын
Brilliant instructional video! well done
@dzijacky37able
@dzijacky37able 5 жыл бұрын
Can you share a part list?
@alolouh6785
@alolouh6785 6 жыл бұрын
Thx enteresting info.
@realityScienceSimulation
@realityScienceSimulation 5 жыл бұрын
can you give link of where to get this contactors?
@techguyz5916
@techguyz5916 3 жыл бұрын
I have contactor having coil voltage of 220v can I trigger the coil input voltage with SSR (solid state relay) please reply 🙏
@BurkenProductions
@BurkenProductions 3 жыл бұрын
You can't connect an output directly to a transistor, you'll need a resistor on the base
@hillarychinda1959
@hillarychinda1959 4 жыл бұрын
Good Zambia
@RajeshJDayalaniRavirjdayalani
@RajeshJDayalaniRavirjdayalani 5 жыл бұрын
hi Sir, pls. guide for - i have two 3KVA UPS with 6 batteries set in each, i want to make redundancy between these two UPS, i mean if one UPS is down, its load should move to 2nd UPS without any power down (my devices must run continue) . pls. advice me sir, pls. reply
@noelwong2320
@noelwong2320 4 жыл бұрын
Hi Antony. Can i ask you a related question on a one way 240.flow contractor. Thanks
@scottleggejr
@scottleggejr 4 жыл бұрын
You could do all of this with one contactor just using the normally open(13/14)/closed(21/22) pins and just need a switch for A1/2 voltage to exist or not. I presume the NO would be from solar and NC from grid power...
@ArminYekkalam
@ArminYekkalam 5 ай бұрын
nope. those NC and NO terminals in the upper part are auxiliary. they are not rated for high Amps. Contactors by design are only NO. Just open one and see.
@scottleggejr
@scottleggejr 5 ай бұрын
@@ArminYekkalam I opened one. There's a contact on the top in its rested state (NC) and one when it's closed (NO). The ones "on the top" are signal and power the magnet. 🤷‍♂ So as I initially stated, if the input signal from the contactor is grid power running the magnet, it could be in either NO or NC however you design it to work. I would have the magnet NOT powered when grid power is applied personally. Then when you lose grid power, it flips and activates the solar source circuit and disconnects the connection to grid so it won't backfeed. Not that complicated.
@kingsylla5633
@kingsylla5633 6 жыл бұрын
But how to me the générateur at automatical with 2 contacteur
@jesseklate7072
@jesseklate7072 3 жыл бұрын
Why must it be PWM output pins on the microcontroller and not DigitalOut pins
@techguyz5916
@techguyz5916 3 жыл бұрын
It can be also digital output but the initial output voltage of the microcontroller must be 5v, for analogWrite(xyz,255); gives exact 5v and digital write function also provides 5v
@jolaoyesegun9729
@jolaoyesegun9729 3 жыл бұрын
Hi love it
@Qam001
@Qam001 5 жыл бұрын
Hi. Im wondering if anyone can help. Im an electrician and have been for the past 10 years. However i never learned any of this stuff in college. What course would i need to take to learn this stuff. I currently do fire alarm system installations aswell so the closest i get to this type of stuff is with relays powering AOV for smoke extraction. Ive recently been asked about a ATS for a lift supply in the event that the mains supply faily then a generator would kick in. However i dont really know what im doing so had to turn down the request, but i would live to learn. Can anyone point me in the right direction. KZbin is great for learning but a class is what i need due to questions that arise. Thanks
@AntonyCartwright
@AntonyCartwright 5 жыл бұрын
Hi, I didn't do a class for this either. I've never done any electronics class in my life. If you want to learn this, buy some second hand contactors and play around - safely!
@Qam001
@Qam001 5 жыл бұрын
@@AntonyCartwright oh ok. Lol fair enough. I just thought there would be some kind of classes for it.
@mlgamer3405
@mlgamer3405 4 жыл бұрын
@@Qam001 Sir, you can buy Arduino UNO (board with microcontroller good for starter) and download the Aruino IDE. This has sample basic codes and easy to learn.
@fidelisndukwe9203
@fidelisndukwe9203 4 жыл бұрын
Yes
@Mr31Vince
@Mr31Vince 7 жыл бұрын
Why not use high current 240v SSRs (solid state relays) switched by 5v directly from Arduino digital output pins?
@AntonyCartwright
@AntonyCartwright 7 жыл бұрын
Do you mean instead of the transistors? Or instead of the contactors? I wouldn't replace the transistors with relays because I think transistors are way better suited. About the contactors, I technically could replace those with relays, but it would lack protection. No mechanical interlock, and they can failed closed!!! That cannot be allowed to happen! :-)
@Mr31Vince
@Mr31Vince 7 жыл бұрын
SSRs are sold state devices and have no moving parts to fail closed. They dont need a transistor to drive them and can be driven directly from an Arduino digital pin. There are also SSRs that can handle up to 50 Amps. The only disadvantage I can see is that they dont have a mechanical interlock, but an electrical interlock could easily be implemented in the Arduino code ant this would always be more reliable than any mechanical interlock (no moving parts). I guess the other disadvantage would be that you would need 4 SSRs to provide complete switching of both live and neutral lines of both circuits.
@AntonyCartwright
@AntonyCartwright 7 жыл бұрын
Vince Williams I'll look into this. Thanks for your comment!
@martinhowarth1453
@martinhowarth1453 4 жыл бұрын
@@Mr31Vince hi i am very interested in this suggestion you have made could you please send me more detailed info on how i would do this i want to build an ATS to switch between a 240v petrol generator and the mains 240v due to frequent mains power outages thanks in advance email: Martinhowarth30@yahoo.co.uk
@randijensen3518
@randijensen3518 Жыл бұрын
Where can I get the part # for the switch and the connection pin?
@kingsylla5633
@kingsylla5633 6 жыл бұрын
Thankhs sir
@loukelectravauxloukelec389
@loukelectravauxloukelec389 6 жыл бұрын
Merci pour votre produit
@AntonyCartwright
@AntonyCartwright 6 жыл бұрын
loukelec loukelec thanks...
@bjohncyotu6395
@bjohncyotu6395 5 жыл бұрын
Automatic change
@BBTitansLiveStream
@BBTitansLiveStream 4 жыл бұрын
Where is the aduino code ? Share info about the material used making the change over switch please
@nmo0ory1
@nmo0ory1 4 жыл бұрын
Hello, i want to controll a 380v motoro 1.5hp how can i do this ? what part to i ned?
@pauljanssen2624
@pauljanssen2624 5 жыл бұрын
Moffett would have been better also diodes for protecting the circuit if not built into the moffett
@FireAlert
@FireAlert 5 жыл бұрын
TIP41C
@nik0las1
@nik0las1 4 жыл бұрын
I think we can do ATS much simple than this, by only one contactor, using the No contacts, and Nc contacts also.
@saeedhossain6099
@saeedhossain6099 4 жыл бұрын
you can but, you run into issues of the common ground, that is ok if you are controlling something stand alone but if you're joining something off grid to something on grid, I am not sure you want to be doing that for safety. ideally you want your load to be powered by isolated circuits, so you're either grid powered or off grid powered. your area might also have code requirements you'll need to follow depending on where you are. be safe
@kint5ugee
@kint5ugee 2 жыл бұрын
@@saeedhossain6099 A 2NO/ 2NC contactor easily solves that problem by switching both live and neutral
@adeshinaajibola5114
@adeshinaajibola5114 4 жыл бұрын
The schematic diagram and code
@nevinbeeraspat5788
@nevinbeeraspat5788 5 жыл бұрын
Are these contractors rated for AC or DC voltage?
@vishwanpurandat8302
@vishwanpurandat8302 5 жыл бұрын
Dc
@techguyz5916
@techguyz5916 3 жыл бұрын
Specified in datasheet
@juliusparker3039
@juliusparker3039 5 жыл бұрын
Circuits
@maxstechlab
@maxstechlab 4 жыл бұрын
Can I use 5v relays instead of the transistors
@BradCagle
@BradCagle 3 жыл бұрын
You would still need to drive the relay with a transistor, and a flayback diode. The i/o pins are not designed to sink that much current.
@akelectronicsengineeringwork5
@akelectronicsengineeringwork5 4 жыл бұрын
no req arduino
@Sas2429
@Sas2429 5 жыл бұрын
G
@jolaoyesegun9729
@jolaoyesegun9729 3 жыл бұрын
I want to have good contact with you sir
@AntonyCartwright
@AntonyCartwright 3 жыл бұрын
Hi, to make good contact, please heat wire thoroughly, tin the ends. Make sure that both surfaces are clean and free from oils before you apply solder.
@stephensickle
@stephensickle 4 жыл бұрын
Nice video but you could at least have cut your nails a bit shorter
Automatic Changeover Switch  | Automatic Transfer Switch
9:25
Kiyani's Lab
Рет қаралды 6 М.
Automatic generator changeover switch (with schematic).
27:06
bigclivedotcom
Рет қаралды 852 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 37 МЛН
Automatic transfer switch - adding a delay relay for going back to grid
5:41
ATS Automatic Transfer Switch Changeover
2:27
Jr Electric School
Рет қаралды 908 М.
Control AC Devices with Arduino SAFELY - Relays & Solid State Switches
43:46
Generator ATS (Automatic Transfer Switch)
11:25
Gavin’s Garage
Рет қаралды 19 М.
Different Ways for Measuring Current With Arduino
13:32
Electronoobs
Рет қаралды 76 М.
How to connect generator changeover switch?
48:48
ELECTRECA
Рет қаралды 162 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 37 МЛН