cagabit
Newbie level 4
- Joined
- Nov 4, 2014
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 137
Just to check whether it's just a GND symbol mismatching on your diagram or if it's a conceptual issue, but did you electrically connected the circuit GND reference to one of the phases of the electrical mains ? There should be the Earth instead the isolated ground. If this is the case, and was not the Neutral, the motor winding can be inducing noise from the electric bus to your board, enought to trigger the Triac.
Your power supply provide insufficient electrical insulation by RETURN path to ensure that any disturbance in the electric mains will not interfere in your circuit; it's likely another source of problem. Anyway, are you rure that both the phase and neutral connections are not swapped ?
Hi,
I think there is no return path for voltage for voltage measurement and zero cross curcuit.
You measure mains voltage (referenced to AGRN) via R7 and R8 to U1, but U1 is only referenced to DGRN.
Klaus
VR1 is wired incorrectly and C3 must be a non-polarized type.
Any difference between AGRN and DGRN will be seen at the inputs to the PIC so both the voltage measurement and zero-crossing signals will not work as expected. You really need to look at alternative ways of connecting those signals or linking (safety warning!) the two GRN points together. I think my preference would be to optically link the ZC signal and either optically link the voltage input or do some AC to DC conversion on the AGRN side of the circuit and numerically couple the measurement to the PIC.
Brian.
Zero crossing could be derived from the op-amp output if the circuit would work instead of directly from the AC but if mid-waveform can't be determined anyway, that method can't be used here. Either isolated signals have to be sent to the PIC or the AGRN and DGRN points have to be linked together.
Does this mean your detector sees zero crossings near the middle of a half period? Or just that your software gets confused by multiple triggers after the first zero crossing?it becomes something like 6ms / 14ms
I think it's normal operation to get multiple zero crossings when switching inductive loads, or noise from other devices is present in your local mains. One possible means is low-pass filtering of input voltage, involved phase shift can be corrected. Or use a timer that blocks zero crossing interrupts for a certain time interval.
Does this mean your detector sees zero crossings near the middle of a half period? Or just that your software gets confused by multiple triggers after the first zero crossing?
I expected that connecting AGRN and DGRN should solve the problem (but gives new safety problems).Brian; I did connect AGRN and DGRN together ( noted above ), without success ! The disturbance still present.
Or use a timer that blocks zero crossing interrupts for a certain time interval.
Sorry to bang on about this but the triac turns off when the current goes to zero. Therefore the PIC is measuring voltage to know when to turn the triac on but the triac will stay on for longer after the voltage goes back to zero.It doesn't measure the current so the phase relationship isn't relevant.
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?