Whatever you do, you will need a zero-crossing detector on the input, and an optically coupled output circuit.I was hoping I could come up with something simpler, but maybe that's not possible![]()
Whatever you do, you will need a zero-crossing detector on the input, and an optically coupled output circuit.I was hoping I could come up with something simpler, but maybe that's not possible![]()
Yeah, I'm pretty clear on that now.Whatever you do, you will need a zero-crossing detector on the input, and an optically coupled output circuit.
That ruins it completely. If you use a zero-crossing opto-triac, you can only get complete half-cycles at the output. You need a random-phase optotriac (MOC3021) so that it can trigger at any point in the cycle.Wondering, the MOC3041 opticoupler has a zero-crossing detector. What does that accomplish in the coupling stage?
Phew, okay, good, that makes more sense. I must have have been mixing your circuit up with another one I saw using a 3041, or maybe I just accidentally typed 3041 instead of 3021 when looking it up.That ruins it completely. If you use a zero-crossing opto-triac, you can only get complete half-cycles at the output. You need a random-phase optotriac (MOC3021) so that it can trigger at any point in the cycle.
Haven't designed it yet. The point is, I want to control the phase angle of a triac using a voltage input. Where the voltage comes from is inconsequential, no?Still haven't seen this temperature sensor circuit.
If you are controlling a heater, and the object to be heated has a large thermal mass, then you would be better off with a proportional control circuit, not a phase control circuit, so that the output is always complete mains cycles. It eliminates the interference from the triac circuit.Haven't designed it yet. The point is, I want to control the phase angle of a triac using a voltage input. Where the voltage comes from is inconsequential, no?
Not sure I follow. I am making a proportional control circuit, and using phase control to modulate the heater. The modulation is proportional to the change in temp at the sensor, within the proportional band.If you are controlling a heater, and the object to be heated has a large thermal mass, then you would be better off with a proportional control circuit, not a phase control circuit, so that the output is always complete mains cycles. It eliminates the interference from the triac circuit.
The module from Amazon I posted should work with a DC input, if you want to minimize what you need to build.I was hoping I could come up with something simpler,
The terminology is confusing. What you are doing is generically "proportional control", but the term "proportional control" has acquired a specific meaning where it means switching the power on for a certain number of complete cycles in a time period.Not sure I follow. I am making a proportional control circuit, and using phase control to modulate the heater. The modulation is proportional to the change in temp at the sensor, within the proportional band.
Hi,That's a perfect description of the circuit I posted (except that the ramp is done with transistors)
Yes, exactly. I didn't know quite how to put it which is why I used the light dimmer example. Thank you.
A PWM with too short of a cycle (much less than 60 HZ) would just turn the triac on at almost the beginning each phase, and a long PWM cycle, (much greater than 60 HZ) would allow for too much variation of temp of the heater between cycles, as well as much indetermination as you never know where in the 60 HZ phase it is going to trigger. A PWM close to 60 HZ would just be a crap shoot as to its behavior, unless it is synced like you say.
Yes, I was wondering if I would have to design a circuit which is also synced with the line voltage.
That would be perfect if you can find it.
Thank you for your input.
Okay, I follow you. So a cycle would be 166 ms. I'm wondering though, if you are no longer synced to mains zero crossing, how is it able to ensure you are using complete cycles? At some point the triac could be triggered at a phase angle other than zero.The terminology is confusing. What you are doing is generically "proportional control", but the term "proportional control" has acquired a specific meaning where it means switching the power on for a certain number of complete cycles in a time period.
i.e. you vary the power by switching the triac ON for between 0 and 10 cycles in every ten.
You can achieve this with the MOC3041, if you swap the ramp circuit for a much slower ramp (say 5Hz) which no longer needs to be synchronised to mains zero crossing. The result is much less interference and no need for filtering on the output.
Obviously, you couldn't use it as a light dimmer!
Thanks, yes this is a much simpler circuit.Hello again,
Ok I'll post my circuit so you can compare with Ian's circuit too.
Keep in mind this actual circuit was used in real life for a few different purposes.
...
Because you use the MOC3041 and it will only trigger at zero-crossing.Okay, I follow you. So a cycle would be 166 ms. I'm wondering though, if you are no longer synced to mains zero crossing, how is it able to ensure you are using complete cycles? At some point the triac could be triggered at a phase angle other than zero.
Very much the same - you did the zero crossing with an op-amp acting as a comparator (you could have save that diode if you have used an LM393!). Mine has a linear ramp, yours has an exponential ramp. Neither is perfectly correct, because of the weird power v. trigger angle relationship, but if it is a light dimmer then linear power isn't too great either.Hi,
Oh ok, i'll post my circuit next so we can compare.
The circuit i post will have a transformer but this circuit can go transformerless also.
Okay, so now I see the usefulness of the MOC3041. So if the driving pulse is anything less than a full AC cycle, the triac will remain off.Because you use the MOC3041 and it will only trigger at zero-crossing.
A cycle time can be anything you like.
If you make it really long (like a minute or two) it will behave like a bimetallic-strip thermostat.
Hello again,Very much the same - you did the zero crossing with an op-amp acting as a comparator (you could have save that diode if you have used an LM393!). Mine has a linear ramp, yours has an exponential ramp. Neither is perfectly correct, because of the weird power v. trigger angle relationship, but if it is a light dimmer then linear power isn't too great either.