Author Topic: 24VAC irrigation solenoid controller  (Read 12949 times)

0 Members and 1 Guest are viewing this topic.

Offline ilium007Topic starter

  • Frequent Contributor
  • **
  • Posts: 264
  • Country: au
Re: 24VAC irrigation solenoid controller
« Reply #25 on: July 01, 2021, 12:34:47 pm »
R21 prevents any leakage through the opo-coupler from triggering the TRIAC. Frustratingly, the minimum trigger current is often not specified on the TRIAC data sheet, but the minimum voltage is, which is 0.2V. Looking a the graphs on the opto-coupler data sheet gives a maximum leakage of 4µA, so a <50k resistor would be required to ensure a voltage drop of under 0.2V. Intuitively, I think it will be fine without R21, but resistors are cheap.

Thanks! This is the last piece of the schematic puzzle for me. I am going to try and incorporate a PCB spark gap as well, that's going to be another rabbit warren to go down with KiCAD.
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2152
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: 24VAC irrigation solenoid controller
« Reply #26 on: July 01, 2021, 12:44:31 pm »
Custom pad shapes are how you do spark gaps in KiCAD. Don't forget to remove the solder stop mask.
Everybody likes gadgets. Until they try to make them.
 
The following users thanked this post: ilium007

Offline ilium007Topic starter

  • Frequent Contributor
  • **
  • Posts: 264
  • Country: au
Re: 24VAC irrigation solenoid controller
« Reply #27 on: July 01, 2021, 01:14:03 pm »
Custom pad shapes are how you do spark gaps in KiCAD. Don't forget to remove the solder stop mask.

Yeah, I played around with them a while back. Hoping to find someones footprint library in GitHub.
 

Offline ilium007Topic starter

  • Frequent Contributor
  • **
  • Posts: 264
  • Country: au
Re: 24VAC irrigation solenoid controller
« Reply #28 on: July 01, 2021, 01:30:02 pm »
R21 prevents any leakage through the opo-coupler from triggering the TRIAC. Frustratingly, the minimum trigger current is often not specified on the TRIAC data sheet, but the minimum voltage is, which is 0.2V. Looking a the graphs on the opto-coupler data sheet gives a maximum leakage of 4µA, so a <50k resistor would be required to ensure a voltage drop of under 0.2V. Intuitively, I think it will be fine without R21, but resistors are cheap.

In the datasheet for the Z0109MN0 it says min Gate Trigger Current is 0.4mA = 400µA https://www.ween-semi.com/sites/default/files/2018-10/z0109mn0.pdf

So the optocoupler leakage current at 4µA isn't enough to trigger the Z0109MN0 TRIAC? What triggers the TRIAC? Voltage or current?
« Last Edit: July 01, 2021, 01:38:51 pm by ilium007 »
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 12860
Re: 24VAC irrigation solenoid controller
« Reply #29 on: July 01, 2021, 01:46:09 pm »
What triggers the TRIAC? Voltage or current?
Now *THAT* is a philosophical question!  The gate is effectively part of a BJT so a semiconductor physicist or an engineer performing quantitative circuit analysis would say Voltage and trot out an exponential equation for the resulting gate current, but a technician or hobbyist would say Current . . .

 

Offline ilium007Topic starter

  • Frequent Contributor
  • **
  • Posts: 264
  • Country: au
Re: 24VAC irrigation solenoid controller
« Reply #30 on: July 01, 2021, 01:48:55 pm »
What triggers the TRIAC? Voltage or current?
Now *THAT* is a philosophical question!  The gate is effectively part of a BJT so a semiconductor physicist or an engineer performing quantitative circuit analysis would say Voltage and trot out an exponential equation for the resulting gate current, but a technician or hobbyist would say Current . . .

hahahah I thought the answer would be along those lines  ;D
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19527
  • Country: gb
  • 0999
Re: 24VAC irrigation solenoid controller
« Reply #31 on: July 01, 2021, 02:04:37 pm »
R21 prevents any leakage through the opo-coupler from triggering the TRIAC. Frustratingly, the minimum trigger current is often not specified on the TRIAC data sheet, but the minimum voltage is, which is 0.2V. Looking a the graphs on the opto-coupler data sheet gives a maximum leakage of 4µA, so a <50k resistor would be required to ensure a voltage drop of under 0.2V. Intuitively, I think it will be fine without R21, but resistors are cheap.

In the datasheet for the Z0109MN0 it says min Gate Trigger Current is 0.4mA = 400µA https://www.ween-semi.com/sites/default/files/2018-10/z0109mn0.pdf

So the optocoupler leakage current at 4µA isn't enough to trigger the Z0109MN0 TRIAC?
That's a better data sheet, than the one I found. Good, then you don't have to worry about the resistor.
Quote
What triggers the TRIAC? Voltage or current?
Unless it's a superconductor, there can't be one, without the other!
« Last Edit: July 01, 2021, 02:23:28 pm by Zero999 »
 
The following users thanked this post: ilium007

Offline markitus

  • Newbie
  • Posts: 2
  • Country: es
Re: 24VAC irrigation solenoid controller
« Reply #32 on: January 20, 2022, 01:50:07 pm »
I’m also trying to learn about the opensprinkler design and looking at the schematic I can’t understand why the mcu pin does not get fried.

For example P0 when it’s HIGH (5v / 3.3v) by the MCU or the shift register it turns ON the triac, but it’s aparently connected with a pulldown to the ACRET which I understand it closes the AC part of the circuit to energize the solenoid. How this 24VAC don’t destroy the MCU pin /multiplexer/shiftregister connected to it?

1385906-0
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16284
  • Country: za
Re: 24VAC irrigation solenoid controller
« Reply #33 on: January 20, 2022, 07:02:26 pm »
Resistor is also there to reduce false triggering due to noise on the mains, which can capacitively couple either through the PCB traces, or through the TRIAC itself.  Easiest to keep it there, as while the TRIAC is likely not to trigger with 4uA of current flowing into the gate, with the gate at 0.15V, it is a lot less immune to noise then, and only a tiny bit more can start the triac conducting, and with it then slowly turning on from limited gate current, the voltage across it will be high while the current is rising, leading to very high instantaneous power dissipation. This can long term damage it, as the die area closest to the gate is stressed by heating, and this degrades that area of the junction. good reason why you have a gate pull down that handles any leakage, and you drive with more than the minimum gate current.
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2152
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: 24VAC irrigation solenoid controller
« Reply #34 on: January 20, 2022, 07:51:26 pm »
I’m also trying to learn about the opensprinkler design and looking at the schematic I can’t understand why the mcu pin does not get fried.

For example P0 when it’s HIGH (5v / 3.3v) by the MCU or the shift register it turns ON the triac, but it’s aparently connected with a pulldown to the ACRET which I understand it closes the AC part of the circuit to energize the solenoid. How this 24VAC don’t destroy the MCU pin /multiplexer/shiftregister connected to it?

(Attachment Link)

If I'm not mistaken the whole circuit GND "rides" on one of the AC lines. On the controller side, ACRET is likely connected to GND. I've made my own version of the OpenSprinkler circuit as a cape for the BeagleBone Black Wireless a few years ago. Looking back at the schematic, this is how I did it.
Everybody likes gadgets. Until they try to make them.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf