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
Community Hub
Community Hub
Member's Forum Triac not shutting off (24v AC sprinkler valve control)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 34 replies
  • Answers 16 answers
  • Subscribers 508 subscribers
  • Views 4483 views
  • Users 0 members are here
  • valve
  • ac
  • triac
  • sprinkler
  • 24v
  • opensprinkler
Related

Triac not shutting off (24v AC sprinkler valve control)

ntewinkel
ntewinkel over 8 years ago

Hi All,

 

I'm working on replacing my aging and broken sprinkler controller, and found some open source software (OpenSprinkler) to run on a Raspberry Pi that handles the scheduling very nicely (plus it has an app for my phone).

With that software I'm able to control a couple of shift registers to turn LEDs on and off, simulating the sprinkling zones.

 

I'm not very familiar with TRIACs (read: not at all familiar, never used them before image), but recently I learned that the sprinkler valves use 24v AC and that TRIACs would be a good way to switch them, with relays generally being rather big once you get 16 of them lined up, and regular power transistors only being good for DC.

 

I bought some BRT12H "non-zero crossing" opto-isolating TRIACs (datasheet: http://www.vishay.com/docs/83689/83689.pdf), because they seemed to meet the desirements of opto-isolating and AC for 250mA.

 

I hooked them up (with 220ohm resistors from shift registers to TRIACs), and it all looked promising when I turned the first zone on (sprinklers worked, yay!), but then it wouldn't shut off (sprinklers still working, not yay!). It only shuts off if I remove the 24v power momentarily.

 

I've done some Googling around but have not yet found any solution, and to be honest it's not making a whole lot of sense to me (yet... hopefully yet).

 

I did find out that TRIACs (in general?) need to cross zero (volts?) to turn off. I'm not sure what this "non-zero crossing" bit means but I have a nagging suspicion that it's a key part of the issue.

Should I have bought "zero crossing" TRIACs instead?

 

Can anyone help shed some light?  ...and hopefully also shed a solution image

 

ps, I did see that I can buy a pre-built board for not too expensive (about $80 after shipping and taxes), but it's a cool DIY project and it would be far more satisfying (and educational) to build it myself.

 

edit: While doing more searching for answers I noticed that SSRs (solid state relays) do exist that are tiny chips, like this one, DIP-8: http://www.sharpsma.com/webfm_send/335  - very cool.

 

Thanks!

-Nico

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 8 years ago in reply to ntewinkel +3 suggested
    Hi Nico, AC solenoids will convert to DC solenoids quite easily if you are willing to reduce the voltage. What will remain constant for proper operation is the wattage of the solenoid. For example your…
  • D_Hersey
    D_Hersey over 8 years ago in reply to jw0752 +2 suggested
    You are using LV, so it probably won't matter as much, but for line potentials, only certain types of Cs are a good choice in this rough service, metallized polyester being one.
  • jc2048
    jc2048 over 8 years ago in reply to ntewinkel +2 suggested
    "And what is the best way to figure out the values?" Iteration. Increase the capacitor value and decrease the resistor value a bit and try again. But when you get down to a resistor value of 100 ohms and…
  • ntewinkel
    0 ntewinkel over 8 years ago

    Here's more information I found (bottom right hand side of page 2: https://www.fairchildsemi.com/application-notes/AN/AN-3003.pdf )

     

    "Inductive loads (motors, solenoids, magnets, etc.) present a problem ... for triacs ... because the voltage and current are not in phase with each other. Since the triac turns off at zero current, it may be trying to turn off when the applied current is zero but the applied voltage is high. This appears to the triac like a sudden rise in applied voltage, which turns on the triac if the rate of rise exceeds the commutating dv/dt of the triac..."

     

    "The solution to this problem is provided by the use of “snubber” networks to reduce the rate of voltage rise seen by the device."

     

    Dang. Now I need to figure out what the heck a snubber network is! image   Maybe I'll order some SSRs image

     

    Thanks,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 8 years ago in reply to ntewinkel

    A dual-SCR output SSR would be a little bit better than a TRIAC-output SSR for retriggering, but we often have to snub or anti-spike SSR's as well.  You might use quencharcs.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 8 years ago

    http://www.onsemi.com/pub_link/Collateral/AN1048-D.PDF

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • ntewinkel
    0 ntewinkel over 8 years ago in reply to D_Hersey

    So if I figured this out correctly, the "snubber" consists of a capacitor and resistor in series on the output (ie, triac output pin A to capacitor to resistor to output pin B).

     

    All the calculations make my eyes water and make me realize that I'm missing a few years of electrical engineering in order to figure this out completely image

     

    The closest I can figure out, assuming 250 mA for the solenoid and from what I think are the correct values from the BRT12H datasheet is this:

    capacitor = about 10 nF ( = 0.01uF = 103 ?)

    resistor = about 620 ohm

     

    Does that sound like it's in the ballpark?  Also, how big is the ballpark? are those values strict or can I swap in some other capacitor values? I have a neat arrangement of resistor values, but the capacitors are of the "grab bag" variety and specific values are kinda hard to find. image

     

    Also, do I need a separate snubber for each triac or can they all share one set? In my case, only 1 triac will ever be on at one time.

     

    Thanks,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ntewinkel
    0 ntewinkel over 8 years ago in reply to D_Hersey

    Oh my... this is getting complicated image

     

    If I'd know that I might have skipped this lesson and just bought a board full of relays image 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 8 years ago in reply to ntewinkel

    That's a good app note from Motorola/On-semi - by the time you've read and digested it you'll know lots of good stuff and you'll feel better for it !!

     

    I had an issue recently with a current source that was fine with resistive loads but didn't like inductors - fortunately the inductive load was always the same so I put a series R and C in //, not just to snub but to cancel out the inductance completely. (Google "Zobel network").

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 8 years ago

    I am, as usual, in consonance with MK, I think you would be well served to slow down and do some more reading, the information is of fairly general relevance.  The snubber works equally well placed across the switch or placed across the load.  But it is dissipative.  If your duty cycle is <50%, as in your case, you want to shunt the load, for sake of efficiency.  Sometimes, shunting your snubber with a MOV can let you use a higher-Z snubber, it is useful to experiment.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 8 years ago in reply to ntewinkel

    Hi Nico,

    I tend towards the practical and the numbers you have suggested sound very close to what I have seen used in similar circumstances. It can't hurt anything to pop the R - C snubber in the circuit and see if it solves the problem.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • D_Hersey
    0 D_Hersey over 8 years ago in reply to jw0752

    You are using LV, so it probably won't matter as much, but for line potentials, only certain types of Cs are a good choice in this rough service, metallized polyester being one.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 8 years ago in reply to ntewinkel

    In time gone by we used to make a board that controlled Stage lighting.

    The pinspots were a large 24v transformer and a 6v lattern lamp, so were heavily inductive.

     

    Most designs take the phase and feed it through a resistor and opto, then into the gate.

    We found this caused lots of problems with inductive loads.

     

    We copied some piece of commercial gear that connected the opto/resistor between the gate and the load.

    Fixed all our issues .....

     

    image

     

    Hopefully this will fix your issues.

     

    Mark

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