element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Automatic generator start
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 288 subscribers
  • Views 870 views
  • Users 0 members are here
Related

Automatic generator start

andrequeiroz.com
andrequeiroz.com over 6 years ago

My electricity grid is dropping frequently. When the power drops, I have to manually connect a small diesel generator.

I would like to use a raspberry to automate the triggering of the generator.

Which sensor should I use to detect the power drop ?

 

ops: 380v

 

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 6 years ago +3
    It would seem that you need a battery or uninterruptible power supply to run the Raspberry Pi when the power fails. A simpler method would be to have a relay that is powered by mains voltage. When the…
  • jw0752
    jw0752 over 6 years ago +3
    Hi Andre, I like dougw suggestion and I would also look to include some sort of Hysteresis so that once the relay triggers the start of the generator and the switching of the power grid from external to…
  • a531016
    a531016 over 6 years ago +3
    Andre, The simplist verson of monitoring mains voltage is a relay with a 380V coil, and a normally closed secondary. This would open on power failure, and the RPI can start the generator (assuming an electronic…
  • dougw
    dougw over 6 years ago

    It would seem that you need a battery or uninterruptible power supply to run the Raspberry Pi when the power fails.

    A simpler method would be to have a relay that is powered by mains voltage. When the mains power fails the (normally open) relay switches on and triggers the generator start sequence.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • jw0752
    jw0752 over 6 years ago

    Hi Andre,

    I like dougw  suggestion and I would also look to include some sort of Hysteresis so that once the relay triggers the start of the generator and the switching of the power grid from external to internal this process continues for 10 minutes or more even if the external power grid comes back on. You will need a mechanized transfer switch so that your electrical service sees only the external grid or the generator and not both. This switch should also rule out the possibility of the generator being connected to the external grid. The coil of the relay Doug recommended will be connected to the external grid even if the system is on the generator. You will have to make sure there is isolation between the internal system and this relay coil so that you do not accidentally bridge the two grids. There may be some commercial products that do these procedures for you. If you make the modifications and design yourself you are signing up for some serious liability if things go wrong. Depending on where you live in the world this may be regulated or not. In any case do it safely. I remember the recommendation of a friend who was admittedly ignorant of electricity. He used to say that he only knew two things about electricity. #1 If you don't pay the bill they turn it off. #2 If you play with it, it will kill you.

     

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • andrequeiroz.com
    andrequeiroz.com over 6 years ago in reply to dougw

    Mr. Douglas your idea is very good and practical, but the generator can not be triggered immediately. I would also like to register some data by raspberry for reporting. I think the best alternative would be to monitor the electrical grid with sensors.

    Is there any digital sensor that identifies phase failure?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • andrequeiroz.com
    andrequeiroz.com over 6 years ago in reply to jw0752

    Hi, Mr. John, I need to send more details of the operation that is done manually today.

    I agree with your friend, electricity punishes the inattentive.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rsc
    rsc over 6 years ago

    https://www.youtube.com/watch?v=jwBI-rd3-I4

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • a531016
    a531016 over 6 years ago

    Andre,

     

    The simplist verson of monitoring mains voltage is a relay with a 380V coil, and a normally closed secondary. This would open on power failure, and the RPI can start the generator (assuming an electronic ignition).

     

    Please remember to introduce a delay on start up and shut down - out of phase generator and mains electricity on grid restoration will blow everything up! This could be a 2 pole relay (phase and neutral) with a timed delay switching from mains to generator. This is where the UPS would come in.

     

    In commercial installations, the critical load is driven by a UPS, with perhaps 20 minutes of autonomy. The UPS input would have 2 feeds, mains and a generator backup. In normal operation the mains charges the UPS and powers the Critical devices. When power fails, critical devices are supplied by the batteries, the supply changes over and the generator starts to charge the batteries. Some other supplies may be deemed necessary, which will be generator supplied, but 15 -20 seconds of generator start up is acceptable. On restoration of power the generator will shut down and mains power will switch over.

     

    ATS (automatic transfer switches) are the commercial switching product, but a good quality relay / contactor with a delay would do.

     

    Of course, if you are having brown outs, not just blackouts, that's a whole different thing. Then you are definitely into phase monitoring (I would reccomend a meter with Modbus, some have aux output contacts that can drive relays).

     

    I hope that makes sense and helps!

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube