element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum Detecting OFF state of an AC Load
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 36 replies
  • Answers 19 answers
  • Subscribers 394 subscribers
  • Views 4444 views
  • Users 0 members are here
Related

Detecting OFF state of an AC Load

anishkgt
anishkgt over 7 years ago

Hi All,

 

I am trying to switch on a LOAD from its OFF state by detecting a change in the voltage. Here the load is a MOT, the voltage at the primary is 1VAC when OFF.

 

My idea is to switch ON the MOT by detecting the voltage change at the primary when the Secondary are shorted. I can see a voltage drop of .5VAC when shorted. How can i monitor this voltage change with an Arduino.

 

My solution to the problem is shown below.

image

The Live of mains is connected to the MOT through the LIVE_LOAD in the schematic. During the OFF state the Optocoupler is triggered so that the 1VAC is seen by the Precision rectifier LT1078 and is rectified and send to the Analog pin A0 on the Arduino. With a code i could detect the voltage change and use it trigger the MOT again and at the same disable the optocoupler to break the circuit to the LT1078. Basically eliminating the need to press a switch two switch ON the MOT.

 

is there a better way to get this done. I was thinking of using the basic 1N4007 to convert the 1VAC to dc but that would be a problem when the MOT is switched ON allowing the mains 240VAC to flow through the DIODE.

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 7 years ago in reply to anishkgt +4 suggested
    1.3 V rms rectified is 1.8 Vdc minus the drop in a lightly loaded Schottky diode of 0.3 V is 1.5 V dc peak. The zener on the Schottky diode output is just to clamp the signal so it doesn't exceed your…
  • shabaz
    shabaz over 7 years ago in reply to anishkgt +4
    Electrodes? Important information like this is kind of missing in your question.. If you provide half the information, it's not a surprise that it wasn't understandable.
  • shabaz
    shabaz over 7 years ago +3 suggested
    The question (and the circuit) is not understandable I think : ( Could you rephrase the question, or draw a block diagram? The circuit doesn't make sense.
Parents
  • anishkgt
    0 anishkgt over 7 years ago

    So i've been simulating this, sharing graphs

     

    At 240vac

    image

     

    At 1vac

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • anishkgt
    0 anishkgt over 7 years ago

    So i've been simulating this, sharing graphs

     

    At 240vac

    image

     

    At 1vac

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • fmilburn
    0 fmilburn over 7 years ago in reply to anishkgt

    In simplest form, I believe Douglas Wong was suggesting something like this:

    image

    D1 is a Schottky which is used in order to minimize the voltage drop to around 0.3V and serves as a half wave rectifier.  D2 is a Zener which should be specified at a voltage which will protect the Arduino (i.e. clamp).  R1 is high resistance, say 100k, so as to minimize current.  The value of C1 is chosen to smooth out the voltage where it is sensed.  It goes without saying that all components should be able to handle the maximum voltage at Vin, but there, I said it anyway.

     

    dougw, if I got this wrong I would be appreciative of your comments for my own education.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • genebren
    0 genebren over 7 years ago in reply to fmilburn

    Frank,

     

    I think that there needs to be a resistor following the diode and before the zener (there needs to be something to safely drop the excess voltage).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fmilburn
    0 fmilburn over 7 years ago in reply to genebren

    Thanks Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 7 years ago in reply to fmilburn

    This is what I was thinking fmilburn except as genebren points out it needs a current limiting resistor directly before or directly after D1 and of course R1 needs to have much higher resistance than the current limiter. Thanks Frank and Gene.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fmilburn
    0 fmilburn over 7 years ago in reply to dougw

    Makes good sense to me :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • anishkgt
    0 anishkgt over 7 years ago in reply to fmilburn

    Just another version, would this be any good if not wrong ?

     

    At 240vac

    image

     

    At 1vac

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • genebren
    0 genebren over 7 years ago in reply to anishkgt

    George,

     

    It looks from your simulations that you have a clearly detectable difference between 'ON' and 'OFF'.  This should work.

     

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • anishkgt
    0 anishkgt over 7 years ago in reply to genebren

    Thank you all, very much appreciated, I've been asking this around in other forums but none seem to knowing or maybe not bothered.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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