yes, i understood that and that's actually what i am doing. at very first post i have also uploaded the waveform.That picture is as useful as a picture of your house You dont even say WHAT that board is.
You need to generate a trigger pulse of about 50uS. What don’t you understand about that?
i have attached the PCB image.Hi,
I agree with barry.
At least we have nothing that shows or proofs this.
I like to see pictures instead of text.
* a photo that shows the wiring. All scope connections, line, neutral, triac, ZCD circuit ... at least
* a scope picture. 3 channels: microcontroller_ZCD_signal, microcontroller_MOC_signal, load voltage
Klaus
Which picture shows this? I see no scope connection at all. I see more wires than expected .. don´t know what they are used for.* a photo that shows the wiring. All scope connections, line, neutral, triac, ZCD circuit ... at least
So I guess your scope is 2 channel only.* a scope picture. 3 channels: microcontroller_ZCD_signal, microcontroller_MOC_signal, load voltage
i have used 220 V to 12V trasfomer and transfomer output is being monitored on scopeHi,
The linked circuit does work in completely different situiation with RC delay and diac trigger. Not useuful to find the problem of your application. Stay focused on the problem.
Which picture shows this? I see no scope connection at all. I see more wires than expected .. don´t know what they are used for.
So I guess your scope is 2 channel only.
Both pictures show the sine to be about 12.7V RMS. How comes? I´d expect 230V?
Klaus
this is the image for 50us trigger after 7.5ms where the motor rotates at full speed.Hi,
The linked circuit does work in completely different situiation with RC delay and diac trigger. Not useuful to find the problem of your application. Stay focused on the problem.
Which picture shows this? I see no scope connection at all. I see more wires than expected .. don´t know what they are used for.
So I guess your scope is 2 channel only.
Both pictures show the sine to be about 12.7V RMS. How comes? I´d expect 230V?
Since "phase" = timing is important ... please choose the scope trigger at exactly "0V"
None of the pictures show the requested "short" trigger pulse in the range of 50...100us.
You say "7ms delay". Please tell us:
* which edge of the ZCD pulse is used as start of the delay
* .. to which edge of the trigger pulse
Just to be sure: in all pictures/photos/scope pictures/text .. we want to see the "in the faulty situation".
Properly working situations are likely not to show the cause of the problem.
Klaus
But without transfomer, how can i check the AC waveform. i cannot connect AC mains directly to scope probe.Hi,
you know your application is a phase control .. this means timing critical.
A transformer will introduce some delay. Usually the smaller the more delay.
How much? We don´t know. But you need to know.
We even did not know it existed...
Don´t get me wrong. We need clear and complete informations we can rely on. Otherwise it takes long time until you get your circuit working.
Klaus
but cannot we take a reference from zero cross detection, are they more accurate then transfomer.But without transfomer, how can i check the AC waveform. i cannot connect AC mains directly to scope probe.
what is the other way to check the AC waveform.
the transfomer i am using is just for viewing purpose only,Hi,
you know your application is a phase control .. this means timing critical.
A transformer will introduce some delay. Usually the smaller the more delay.
How much? We don´t know. But you need to know.
We even did not know it existed...
Don´t get me wrong. We need clear and complete informations we can rely on. Otherwise it takes long time until you get your circuit working.
Klaus
A suitable scope probe...But without transfomer, how can i check the AC waveform. i cannot connect AC mains directly to scope probe.
what is the other way to check the AC waveform.
Here is the exact problem.but cannot we take a reference from zero cross detection, are they more accurate then transfomer.
yes surely i am interested in finding out the root problem. please guide me.Hi,
A suitable scope probe...
A resistive divider ... introduces about zero delay.
A transformer which is specified for this usage. Regarding timing.
A reference ZCD circuit with specified timing.
It does not matter which one.... just one with known timing behaviour.
An isolating transformer from mains to your application increases safety and reduces GND problems.
Here is the exact problem.
The absolute reference to zero crossing timing is mains voltage. This is the one and only true reference.
For sure you may use ZCD output signal ... but only after knowing how the ZCD signal is related to the true zero cross reference.
You also may use the transformer --- but only after knowing how it is related to the true mains zero cross reference.
I´m interested in finding out what´s the root problem, then remove it.
Are you interested in the same?
Klaus
here is my zero cross detection waveform on MCU interrupt pin (CH2) and MCU pin which is used to trigger the MOC3021 (CH1).Hi,
A suitable scope probe...
A resistive divider ... introduces about zero delay.
A transformer which is specified for this usage. Regarding timing.
A reference ZCD circuit with specified timing.
It does not matter which one.... just one with known timing behaviour.
An isolating transformer from mains to your application increases safety and reduces GND problems.
Here is the exact problem.
The absolute reference to zero crossing timing is mains voltage. This is the one and only true reference.
For sure you may use ZCD output signal ... but only after knowing how the ZCD signal is related to the true zero cross reference.
You also may use the transformer --- but only after knowing how it is related to the true mains zero cross reference.
I´m interested in finding out what´s the root problem, then remove it.
Are you interested in the same?
Klaus
is there any other possibilites by changing the circuit. also dont know why it works well when triac is triggered after ZCD after around 8ms, but lower than that, it rotates at full speedHi,
So I don´t get the timing information from true mains to ZCD signal.
How to go on then? What´s your idea?
Klaus
I don´t know either, thus I tried to find out... I guess I failed.also dont know why it works well when triac is triggered after ZCD after around 8ms, but lower than that, it rotates at full speed
CH2 is the MCU interrupt pin for Zero Cross Detection.Now would be a good time to step back and maybe start over. First of all, your zero-crossing output looks wrong (Post #30). Why do you have the two signals laying on top of each other? Why do you not identify which signal is what?
Yes, I am generating an interrupt on falling edge. Interrupt is occurred as soon as the voltage level is below 2VI'm assuming you've got 50 Hz. Your "zero crossing" signal is low for quite a long time. And you are STILL generating a MUCH LONGER than 50uS trigger. Are you generating an interrupt on the falling edge of the zero-cross, or when the LEVEL is zero?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?