Dear bobOriginally Posted by BobEdge
i am also trying to do the same thing but unable to do in software.
If you need any theoritical explanation i can help but trying to do in pbp not succeeded till now
thanks
pramod
Dear bobOriginally Posted by BobEdge
i am also trying to do the same thing but unable to do in software.
If you need any theoritical explanation i can help but trying to do in pbp not succeeded till now
thanks
pramod
Hi All,
This wouldn't have anything to do with active regeneration/braking(for DC servo motor drives) - would it? Wrote my electronics degree dissertation on this if I can be of any help. Decided not to use a PIC (but did write some code). A PLL and a CPLD is a much neater and less time consuming solution than a microcontroller, (spent many, many hours of development on this) but I'll try and dig the code out for you if you would like. let me know what you think, may also be able to provide you with some documentation regarding firing angles etc. and development notes if they help
Neil
Hi Neil,
After you fire one phase, can you not just fire the second and the third after a delay of 3.33 ms and 6.67 ms respectively (for 50 hz)?
The delays would change proportionately for 60 hz, of course.
I have not tried this, but in a different context, this is what all X10 transmitters do to ensure that *all* three phases receive a signal during their own zero crossing.
Regards,
Anand
Hi there,
Yes you can do that, however if there is any slight phase shift in any of the three phases, the crossover angles (and hence the timing!)will change. This is the biggest problem with using just timing to fire the thyristors in the inverter. The easiest way to ensure that this does not happen is to use a PLL (phased locked loop - a lot easier than you might think!) synchronised with phase AB (ph C can be derived mathematically so don't need to worry about this and we can add some dead-time to allow for any phase shift) thus ensuring any phase shift can be detected.
The beauty of a PLL is that it does not matter what the input frequency is as all you are doing is detecting the crossover angles and syncing with them (you can use an analogue comparator to do this with about 3/4 discrete components. Use the PIC to count output pulses of the comparator and then fire your thyristors! And hey presto active braking/regen!
Let me know if this is of any help, if you require more in-depth info just say so and I can provide timing diagrams and I could probably put a simple circuit diagram together, I will however need to know what its application is so that I can implement some extra protection in the way of delays etc. for you.
There are other simpler PIC only ways of doing it by detecting the frequency of ph AB and just timing it, but these are scary if you are dealing with high-voltages.
Neil
Hi,
By measuring the period between one zero cross to other it is possible to to get the frequency of the input frequency. If you are turning off the TRIACS/SCR while a zero cross occurs then there should be no problem. All you need is a timer locked to the first AC input (R) and have some pseudo timers running in software which gets reset at zero cross signals from the other sources (You need 3 interrupt sources). The only problem is that with a 8 bit timer you get a low resolution. With one 16 bit and 2 virtual 16 bit counters the process is further complicated. I posted a thread (I do not remember now) for dimming various channel with a PIC16F84. It was not tested by me and basically an adaption of my big brother program. It is heavily commented and might help out in your algo design.
My suggestions are :
1. Strictly asm interrupts
2. High Priority 18F interrupt vector
3. High Oscillator speed (I use x4 PLL @ 10 MHz with 18F452 )
My design is a commercial one and cannot share the code thus. However always willing to help out (within my scope of little knowledge).
I have the habbit of looking into the PRO forum only so overlooked this thread.
BTW Pramod I lost your telephone number. One of my partner is right now in Delhi for some component purchase and needs your assistance. Please drop me a private mail or to my regular email with your Phone No.
Thanks and Regards
Sougata
Why don't u simply use optoisolator like MOC3063? it's zero crossing triac driver and I have used few thousands of those without any problems... and they cost about 1eur@farnell.. If u are after power adjusting, then thyristors are not a proper componets due RF-noice.. IMHO..
/MRa
Hi! I have a question for the same problem..
I'm using 3 zero crossing detector with 3 optoisolators..
The problem is that the load of the motor is an inductive type and the triac stops at the zero current...that is not the zero voltage.
I think that the solution could be starting the firing angle at the shift current phase..
Any suggest?
Thanks.
Bookmarks