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

Поділитися
Вставка
  • Опубліковано 20 сер 2024

КОМЕНТАРІ • 66

  • @Vikingza
    @Vikingza 6 років тому +7

    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 років тому +4

      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 років тому +3

      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 4 місяці тому

      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 6 років тому +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  6 років тому +3

      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 років тому +2

      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 роки тому +3

    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.

  • @dzijacky37able
    @dzijacky37able 5 років тому +4

    Can you share a part list?

  • @EnriqueReyes
    @EnriqueReyes 5 років тому +3

    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 4 роки тому +5

      Use Timer relays. I try to avoid microcontrollers for this type of application

  • @hillarychinda1959
    @hillarychinda1959 4 роки тому +1

    Good Zambia

  • @realityScienceSimulation
    @realityScienceSimulation 5 років тому +3

    can you give link of where to get this contactors?

  • @simpliciocamirino2271
    @simpliciocamirino2271 2 роки тому

    thank you for that sharing sir.

  • @techguyz5916
    @techguyz5916 3 роки тому +1

    I have contactor having coil voltage of 220v can I trigger the coil input voltage with SSR (solid state relay) please reply 🙏

  • @kingsylla5633
    @kingsylla5633 6 років тому +2

    But how to me the générateur at automatical with 2 contacteur

  • @RajeshJDayalaniRavirjdayalani
    @RajeshJDayalaniRavirjdayalani 5 років тому +1

    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

  • @alolouh6785
    @alolouh6785 6 років тому +2

    Thx enteresting info.

  • @elektrolyte
    @elektrolyte 4 роки тому

    Brilliant instructional video! well done

  • @noelwong2320
    @noelwong2320 4 роки тому +1

    Hi Antony. Can i ask you a related question on a one way 240.flow contractor. Thanks

  • @BurkenProductions
    @BurkenProductions 3 роки тому +1

    You can't connect an output directly to a transistor, you'll need a resistor on the base

  • @jesseklate7072
    @jesseklate7072 3 роки тому +1

    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

  • @Mr31Vince
    @Mr31Vince 6 років тому +2

    Why not use high current 240v SSRs (solid state relays) switched by 5v directly from Arduino digital output pins?

    • @AntonyCartwright
      @AntonyCartwright  6 років тому +3

      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 6 років тому +5

      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  6 років тому +1

      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

  • @scottleggejr
    @scottleggejr 4 роки тому +2

    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 4 місяці тому

      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 4 місяці тому

      @@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.

  • @Qam001
    @Qam001 5 років тому +2

    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. UA-cam is great for learning but a class is what i need due to questions that arise. Thanks

    • @AntonyCartwright
      @AntonyCartwright  5 років тому +3

      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 років тому +1

      @@AntonyCartwright oh ok. Lol fair enough. I just thought there would be some kind of classes for it.

    • @mlgamer3405
      @mlgamer3405 4 роки тому +1

      @@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 роки тому +1

      Yes

  • @randijensen3518
    @randijensen3518 Рік тому

    Where can I get the part # for the switch and the connection pin?

  • @jolaoyesegun9729
    @jolaoyesegun9729 3 роки тому

    Hi love it

  • @BBTitansLiveStream
    @BBTitansLiveStream 4 роки тому +1

    Where is the aduino code ?
    Share info about the material used making the change over switch please

  • @FireAlert
    @FireAlert 5 років тому +2

    TIP41C

  • @loukelectravauxloukelec389
    @loukelectravauxloukelec389 6 років тому +2

    Merci pour votre produit

  • @pauljanssen2624
    @pauljanssen2624 5 років тому

    Moffett would have been better also diodes for protecting the circuit if not built into the moffett

  • @kingsylla5633
    @kingsylla5633 6 років тому

    Thankhs sir

  • @nmo0ory1
    @nmo0ory1 4 роки тому

    Hello, i want to controll a 380v motoro 1.5hp how can i do this ? what part to i ned?

  • @juliusparker3039
    @juliusparker3039 5 років тому +1

    Circuits

  • @nevinbeeraspat5788
    @nevinbeeraspat5788 5 років тому +1

    Are these contractors rated for AC or DC voltage?

  • @adeshinaajibola5114
    @adeshinaajibola5114 4 роки тому

    The schematic diagram and code

  • @nik0las1
    @nik0las1 4 роки тому +2

    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 роки тому +1

      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

  • @maxstechlab
    @maxstechlab 4 роки тому +1

    Can I use 5v relays instead of the transistors

    • @BradCagle
      @BradCagle 3 роки тому +1

      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.

  • @Sas2429
    @Sas2429 5 років тому +1

    G

  • @akelectronicsengineeringwork37
    @akelectronicsengineeringwork37 4 роки тому

    no req arduino

  • @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 роки тому +1

    Nice video but you could at least have cut your nails a bit shorter