hi guys,
I m working on the DIMMER for resistive as well as inductive loads using PWM. i m using mikroc compiler . PWM output of the uC is used to control the firing angle of the triac, but my problem is that when i drive the triac through the MOC3041 then the output of the triac flickers .
i m using the 4MHz crystal for the uC, and tthe PWM frequrency is 250Hz.
can i rectify this by using 1MHz crystal oscillator, making the PWM frequency to 100Hz. If i use the 100Hz frequeny , it gives the 10ms a pulse.
any budy please help me ...
i want to vary the out put voltage of the triac using uC , any other method to complete the project or any other way to program the uC.
1. how to check the zero crossing of the ac voltage?
2.i fire the triac after timer overflows ,if input pulse again occurs, what will happen?
3. every time we should check for the ZC?
if u have any program like this plese send me , its just for the reference..
i want to complete this project within this week.
if u have any electronic ckt without uC its ok for me, but i m using tag switch for the variation..
How the input pulse again happens?For a 50Hz frequency for a one cycle it will take 20mS, so for a one phase it will be 10mS.Combining both edges will result 20mS period.So you have the timer to control (0-10mS) period to fire the triac.
in mikroC examples they are not including any such processor files, while creating project processor , clock frequency and other settings to be entered in mikroC.....
idon't think so there is no necessary of it.....
but i'll try for it....
helo guys ,
my zero crossing detector is not working ,i m not getting pulse whenever wave crosses the zero......i m just getting continueous high voltage,other than the waveform shown in the attachment.....
help me boss.............
im controling of this wpm sinnal with potansiyometer using 3 pics this only one of them but anyway when pwm signals changing with pot (ADC) there was on the problem of stoping pwm it is going on high pin but it must be 0 . if anybody help with where am ı making mistakes thxxxxx