What causes disturbance in mains at zero cross? - Page 1
Forum section: electronics / general

author: Faringdon
author_rank: Super Contributor
timestamp: November 05, 2023, 07:40:45 pm
content: What might cause electrical disturbance at the mains zero cross?Is it mainly CCM PFC stages whereby they lack mitigation of the problem where at zero cross, the demand is very low, but because the inductor is rel. large, the current cant be raised up enough in the inductor near zero cross, so therefore the error amp saturates high, and then when the mains rises further in the half cycle, the current then overshoots, causing high di/dt current spikeing which comes with V=Ldi/dt, so a voltage disturbance in the mains at zero cross, would you agree this is the main causation?

author: jonpaul
author_rank: Super Contributor
timestamp: November 06, 2023, 06:47:14 pm
content: NOTE: This message has been deleted by the forum moderator Simon for being against the forum rules and/or at the discretion of the moderator as being in the best interests of the forum community and the nature of the thread.If you believe this to be in error, please contact the moderator involved.An optional additional explanation is:

author: floobydust
author_rank: Super Contributor
timestamp: November 06, 2023, 06:54:01 pm
content: Why rationalize that your design approach is wrong.Anybody in playing in the big league of 3-phase power systems - knows the presence of mains noise and never uses a circuit such as zero-cross detection there.

author: DavidAlfa
author_rank: Super Contributor
timestamp: November 06, 2023, 07:21:33 pm
content: Some parts of the statement could be true under certain conditions, but undetermined in the current present, being unable to predict the future at this stage of human development, thus might be also be false, variable, completely wrong or not exposed correctly.

author: Faringdon
author_rank: Super Contributor
timestamp: November 07, 2023, 09:33:42 pm
content: QuoteThanks, we have a 3 phase heating system, its about turning resistive heaters on at the zero cross for x half cycles, then off for x half cycles, repeatedly....so we need a zero cross detector on each phase.Is there any reason why we cant use a standard discrete R/C/BJT or R/C/diode type zero cross detector in the AC front end section?...on each phase.?

author: floobydust
author_rank: Super Contributor
timestamp: November 08, 2023, 04:01:01 am
content: How are you going to deal with noise - it's not a textbook sinewave and heaters with their cabling have inductance.Why do you need to monitor all 3 phases, why not one phase? You want micro-degree accuracy for a heater?In your old post of the zero-cross schematic on the other forum (before you deleted it), you need post-processing - a PLL is what bigger systems use, done in firmware.Just use software to LPF the incoming zero-cross and sync the PLL.If this notion is alien, there are many app notes on phase-control firmware out there that outline the technique.

author: tggzzz
author_rank: Super Contributor
timestamp: November 08, 2023, 08:51:53 am
content: NOTE: This message has been deleted by the forum moderator Simon for being against the forum rules and/or at the discretion of the moderator as being in the best interests of the forum community and the nature of the thread.If you believe this to be in error, please contact the moderator involved.An optional additional explanation is:

author: BrokenYugo
author_rank: Super Contributor
timestamp: November 08, 2023, 02:34:53 pm
content: Quote from: tggzzz on November 08, 2023, 08:51:53 amThat's the pattern that jumps out at me too "Tell me it's ok to design this 240 volt power circuit to $1 phone charger standards." Always trying to do something cheaper and/or cruder than is safe/legal/practical. And it's not little details they're missing, it's basic stuff that often immediately jumps out even to a hobbyist like me, heat dissipation, insulation, false triggers on a zero cross detector are probably bad, etc. often at least safety adjacent. I still say it's some sort of trolling.

author: floobydust
author_rank: Super Contributor
timestamp: November 08, 2023, 07:43:08 pm
content: OP had posted his zero-cross detector schematic, in the usual LT Spice pseudo-design he posts. Then he takes it down and says he can't post it. I didn't see anything great in the circuit, it's a copy of theEDNdesign but he screwed it up changing to using dropper capacitors.It's trolling. We get withheld information - schematic or requirements, scope traces, the real problem - in every single thread that OP starts. It just is filling the Internet forums with garbage. There is no solution or outcome or closure ever.

author: tggzzz
author_rank: Super Contributor
timestamp: November 08, 2023, 08:45:32 pm
content: NOTE: This message has been deleted by the forum moderator Simon for being against the forum rules and/or at the discretion of the moderator as being in the best interests of the forum community and the nature of the thread.If you believe this to be in error, please contact the moderator involved.An optional additional explanation is:

author: f4eru
author_rank: Super Contributor
timestamp: November 08, 2023, 09:19:17 pm
content: Quote from: Faringdon on November 05, 2023, 07:40:45 pmTechnically correct answer: Harmonics

author: Faringdon
author_rank: Super Contributor
timestamp: November 10, 2023, 06:51:53 am
content: Thanks,Ayk, A really good zero cross detector for mains can be had by literally three 1n4148's in series, and two such branches in reverse parallel, (so 6 1n4148's altogether), and this in series with a lowish value resistor.......you put it before or after an offline smps AC filter and it gives true zero cross all the time without jittering....it does need a comparator to look at it, and the isolated supply to feed that comparator...but it gives a magnificent zero cross....i cant immediately think of apps that would require a phase locked loop type instead, but of course there are many.....(i suppose GTI's?)I once got a 2kW PFC'd SMPS to look at... (EV charger) it had two 1kW parallel interleaved PFCs...alternately on each 10ms...and they had just a cheap zero cross detector for that....so they knew when to switch over from one PFC to the other.

author: floobydust
author_rank: Super Contributor
timestamp: November 10, 2023, 09:01:13 pm
content: I say it needs more than a comparator's hysteresis - any spike or noise can still false trigger that. Any filtering introduces a lag.As well the problem is 3-phase transmission and distribution systems have failures such as loss of a phase, phase-phase short etc. as lines get tossed in the wind, that squirrel gets roasted, one of three fuses blows etc.Breaker reclosing and tap changing voltage regulators also cause disturbances up to a few cycles.If a phase drops out, gets lost, loads will backfeed and put voltage on the lost phase. I had one site missing a phase (broken wire at pole transformer) and the induction motors were not happy, growling a bit and through transformer-action they were putting voltage on the missing phase. You don't measure 0VAC. It's just a low voltage and the angle was lagging, way off. Power meter read -ve power for that phase on a motor, +ve high power on the other two. Had me totally confused.Search for phase sequence detector or phase-loss detector these are used to protect motors and there are tons of weird circuits out there.Yes you apparently have a resistive heater but what will it do with a missing or shorted phase?If you have 3 zero-cross detectors, one for each phase, you still need to detect zero-sequence.So all this ends up best implementing a PLL or oscillator in firmware.The MCU has a sync'd oscillator and knows mains angle internal and compared to what is seen. You can wait for several seconds before syncing. Then a small correction for drift and small frequency changes.Because mains absolute phase does not change unless there is a blackout or grid collapse, so the MCU will have an accurate mirror of it.

author: fourtytwo42
author_rank: Super Contributor
timestamp: November 11, 2023, 06:17:33 pm
content: NOTE: This message has been deleted by the forum moderator Simon for being against the forum rules and/or at the discretion of the moderator as being in the best interests of the forum community and the nature of the thread.If you believe this to be in error, please contact the moderator involved.An optional additional explanation is:

author: tggzzz
author_rank: Super Contributor
timestamp: November 11, 2023, 07:45:32 pm
content: NOTE: This message has been deleted by the forum moderator Simon for being against the forum rules and/or at the discretion of the moderator as being in the best interests of the forum community and the nature of the thread.If you believe this to be in error, please contact the moderator involved.An optional additional explanation is:

author: Zero999
author_rank: Super Contributor
timestamp: November 12, 2023, 09:59:16 am
content: Quote from: floobydust on November 10, 2023, 09:01:13 pmDo the spikes really get that big they spuriously set off the zero-crossing? I've not seen a mains waveform that was bad enough not to be able to detect the zero-crossing with a simple comparator with hysteresis?

author: floobydust
author_rank: Super Contributor
timestamp: November 12, 2023, 07:41:09 pm
content: Just a note - these threads are proven doomed because too many details are missing or facticious and they might trickle in.OP's question is a bit silly because who cares why it's happening - more important is a design being immune to it.What voltage window is considered zero by the circuit? For a MOC3061 inhibit voltage is 12V which I calculate as 2° or 113usec (240VRMS, 50Hz). TheEDN circuitauthor mentions 200usec for 21V?I had seen industrial sites with sqiggles at zero-cross, looks like ringing and a few volts p-p. One had many VFD drives in the plant and the second was a large DC power supply, 3-phase with SCR rectifier (on the secondary) of the step-down transformer. That had a magic phase-angle when things went noisy. I wonder if anyone has looked at solar grid-tie inverters, they have the same challenge - to sync to the grid yet survive their own output hash. I changed to using a PLL.I think the assumption is that things are quiet over a narrow portion of the sine wave around zero-cross. That's when in time its impedance is highest but dV/dt is highest as well.Power-line communication or X-10 at zero-cross impose their HF carrier with TX data slots. I'm not saying that their (data) voltage is enough for false triggering, just that it seems to be most vulnerable time for noise to happen. Many industrial loads have energy storage and it takes just one to push around zero-cross and scuttle things.Good info:Elliott Sound Products AN-005 - Zero Crossing Detectors and ComparatorsTI AMC23C12but hey where is the noise rejection?

author: mtwieg
author_rank: Frequent Contributor
timestamp: November 15, 2023, 12:55:10 pm
content: Quote from: floobydust on November 12, 2023, 07:41:09 pmI agree that the OP is vague on what they're asking about. No numbers, no waveforms... but it seems like this time they're not talking about zero cross detection, but about line current distortion in active PFC circuits. This isn't a disturbance originating from the mains, but from nonlinearity in the PFC itself.

author: floobydust
author_rank: Super Contributor
timestamp: November 15, 2023, 06:08:28 pm
content: How do you scope the mains to get the zero cross?https://www.electro-tech-online.com/threads/how-do-you-scope-the-mains-to-get-the-zero-cross.165428/Local interference is different than mains distribution-level disturbances and we'll never know what it was or what fix was found.