Moderator: pebe
pebe wrote:Hi Bhante,
Page 4/11 of your link to the ST switch does not give a full description of how the micro is powered. I remember when I was using the ST62 series of micros that they gave an application note for connecting one to a triac for power conrtol, such as you need. It is their AN392/0591. If you cannot find it I could send you a copy of the circuit.
To PWM a triac I think you need to sense the zero voltage mains crossover point and put a delay in from there (each half cycle) before putting a voltage on the gate to fire the triac.
The original circuit was for a lamp dimmer with 'brighter' and 'dimmer' push buttons, but opto isolators could be used.
pebe wrote:Your resistive power load can be controlled either by phase delay or by PWM. But I presume you have some reason wanting only PWM control for the pump.
pebe wrote:The AN shows how to get a 5V supply from the 200V supply by using a diode pump. You could use that to get 5V below Neutral and then use your optocoupler to drive the gate of the ACS120 negative to trigger it on.
Ah, is that what it is? I tried googling for diode pump but after a couple of hours I am only a little bit the wiser - I couldn't find anything powering a low-voltage circuit from the mains. Only audio circuits, voltage multipliers, and various other things. What I do notice is that in the bottom left corner of both Fig 2 and Fig 4 of the AN there is something looking a bit similar to the voltage doubler circuits I found.
Nevertheless it does not explain why the current is not shorted from Live through the Vdd pin of ST62 via the Vss pin to ground! Also would I be right in believing that this circuit only works for the micro that is embedded and "floating with mains" in some way (I don't yet understand what that might mean) - and not where I have the Arduino powered from USB? Also is it specific to the ST62 that it can be powered in this way?
The typical application diagram in the ACS120 datasheet implies a much simpler way of powering the microprocessor and does not (that I could find) say anything about powering the micro from a diode pump.
pebe wrote:using a zener diode as one of the diodes ensures the maximum voltage across the reservoir cap is limited to the zener diode voltage.
pebe wrote:The 0V shown beneath a bar is not a ground symbol.
pebe wrote:If you like we can go through the circuit.
pebe wrote:But before I can suggest anything, could we clear up a point about PWM? A triac (or the SSR you mention) cannot be turned off during a half cycle – it has to wait for the next zero current crossover. So can I assume that your PWM allows the triac to fire for a number of half cycles and then inhibits a number of them?
pebe wrote:I'll draw up a circuit for an optocoupler driving the triac.
Return to Electronic Circuits Help
Users browsing this forum: No registered users and 13 guests