Questions tagged [zero-crossing]

Zero-crossing refers to detecting the point at which a sine wave reaches the zero point of magnitude. In AC circuits it corresponds to the point at which no voltage is present so switching at that point reduces interference.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

Understanding violation of the common mode voltage range of the input in ZCD [closed]

Trying to reproduce an analog circuit using LM324 to have at output 100Hz squarewave 5% duty cycle from 230Vac mains frequency. The circuit has to be in sync with it. Picture and LTSpice simulation ...
Houseman's user avatar
1 vote
1 answer
66 views

Right dimensioning of zero cross detection circuit

I need to detect the zero cross of AC main (220V - 50Hz) with an ESP32 to make a phase shift control of a resistive load. Searching the web I found this circuit but I have some doubts on how to ...
Angel0ne's user avatar
0 votes
1 answer
44 views

Triac Phase angle control Heating method

I purchased a soldering station (Product Link: Tenma 2064549. Just for give more idea. Not for taking about the product.) few years ago and replaced the heating element. After replacing heating ...
user_fs10's user avatar
  • 861
2 votes
2 answers
218 views

Will a zero-crossing SSR activate with shorted load contacts?

If I have a zero-crossing SSR switching 240VAC (e.g. this LS240D12), will the zero-crossing detection function if the load side is shorted? I know that zero-crossing SSR's can't be used with DC loads ...
user272901's user avatar
-1 votes
1 answer
76 views

Zero Crossing Detector

Thanks for your help in advance! I'm doing a zero cross detector for a microcontroller, PIC16F15223. I will be reading this as a digital input, and not as analog. The circuit is posted below. I know ...
samuel mattio's user avatar
0 votes
1 answer
111 views

Zero Crossing Detector for Microcontroller

Im trying to design a control circuit for charge a battery, for this i will be controlling the battery charge by a 40tps ( SCR ), phase control. So my little understanding for what i read is that i ...
samuel mattio's user avatar
0 votes
2 answers
119 views

Zero crossing detector - MCU interrupt is delayed

I'm trying to catch zero crossing (using below circuit) when it exactly happened. Rising and falling edge intervals are not equal and they need 0.3-0.7 ms to reach corresponding logic level. Let say ...
subavet995's user avatar
0 votes
1 answer
131 views

How to make 3-phase 230V AC zero crossing detection with Arduino UNO [closed]

I am working on making a 3-phase power control of a heating element using PWM control with an SSR. I have a problem making a zero crossing detection to control the duty cycle of the PWM to turn it on ...
Smrtngy's user avatar
  • 37
1 vote
1 answer
149 views

When to use a non-zero crossing opto-TRIAC and when a zero-crossing opto-TRIAC?

I have two simple questions. From what I know, if we want to use an opto-TRIAC (with another TRIAC of course) to control an AC motor, if we want to use it as an ON/OFF switch, then I have to go for a &...
Cblue X's user avatar
  • 173
5 votes
2 answers
242 views

Zero crossing detection and full-wave rectifier for non-AC voltage

Our control signal that ranges from -5 to 5 V needs to be split up such that the magnitude and sign can be send through different wires. So, for example, a -3 V input sends a 3 V signal through one ...
9sven6's user avatar
  • 151
0 votes
1 answer
155 views

Troubleshooting a ZCD TRIAC circuit

Can someone see what's wrong here? My 50 W LED light doesn't shine. Here is my code from the Arduino IDE: ...
Mickolini's user avatar
0 votes
0 answers
67 views

LED-flash during powerup with my ZCD/Triac-circuit

Friends, I've made a ZDC-circut to dim my 230VAC LED-chip. It works fine except for a short, flashy, annoying blink when powered up!! It happens about 8/10 times when I switch the power on/off. Any1 ...
Mickolini's user avatar
2 votes
1 answer
411 views

BLDC back-EMF zero-crossing detection using comparators: resistor confusion

I am building a sensorless BLDC driver development board using an RP2040 chip and I plan on detecting the back-EMF using comparators. After reading quite a bit about the BLDC phases and methods to ...
vm1988's user avatar
  • 59
0 votes
0 answers
119 views

Zero-Crossing Detector Circuit for a PWM-Generated Sine Wave

Given this PWM, How to detect a zero crossing without a dual-voltage supply? There is only VCC and GND. I've tried using a low-pass filter approach, but the PWM frequency is not guaranteed to be ...
Drakes's user avatar
  • 259
0 votes
0 answers
68 views

Comparator output problem for zero cross detection

. Could anyone give me advice on this zero cross detection circuit I'm working on to allow for phase angle detection? Just to add I'm only a student so I'm very much still learning. My background is ...
Ant.F's user avatar
  • 1
1 vote
0 answers
74 views

Choose appropriate opto-isolator for 230 Vac zero-cross detection circuit

I struggle to understand the datasheet for opto-isolators. I am making a 230 Vac circuit with a full-bridge rectifier. What should I look for when choosing an appropriate opto-isolator? I've been ...
Mickolini's user avatar
3 votes
3 answers
117 views

Low power isolated mains voltage zero crossing detection (without optocoupler)?

There are a lot of "classic" zero crossing detectors out there that drive an optocoupler more or less precisely around the mains voltage zero crossing. I am not so much interested in ...
handle's user avatar
  • 446
1 vote
1 answer
98 views

Strange measurements on zero-cross detection circuit

I'm building a cross detection circuit op-amp. I did something like this, coming from https://www.circuits-diy.com/zero-crossing-detector-circuit/ : In my case, primary is 230V AC, secondary is ...
Julien's user avatar
  • 477
0 votes
1 answer
88 views

Zero-cross detection phase delay BLDC motor

Low-speed output: High-speed output: In the above circuit, output channel 1 (yellow) is a Hall signal and channel 2 (Green) is the ZCD output. There is a phase delay between channel 1 and channel 2 ...
anbu b's user avatar
  • 127
1 vote
1 answer
560 views

Firing a triac with PWM

I want to use an ESP32 microcontroller to power a 3600 W load with a triac. Using phase control requires accurate timing and that is nearly impossible with a lot of code already running in the ESP32. ...
hennep's user avatar
  • 191
4 votes
1 answer
112 views

ROHM AC zero cross chip/circuit not working

I'm using the ROHM chip BM1Z003FJ to detect AC zero cross and send that pulse to the micro, the only problem is the ROHM chip never outputs a pulse. My circuit is shown below: The ACOUT pin should ...
nickf's user avatar
  • 43
1 vote
1 answer
386 views

Why my ACS712 current sensor accuracy so bad and scale non linear?

Below is my circuit diagram for ACS712 5A current sensor using peak detector circuit. Currently I facing 2 problems. i)zero cross dc voltage keep changing ii)The current scale is non linear and not ...
chuackt's user avatar
  • 609
0 votes
2 answers
123 views

Why this ZCD not working?

I have a simple drawing of ZCD by using potential divider to stepdown the voltage feeding to the inverting and non-inverting input of LM358N. The simulation result as below In practical, I connect ...
chuackt's user avatar
  • 609
1 vote
1 answer
192 views

PWM signal generator circuit does not work in real life

I designed the motor soft start circuit in the figure below. I ran the circuit in simulation programs, but when I tried it on a breadboard in real life, I could not get a PWM signal. When I examined ...
First-rate Richard's user avatar
4 votes
0 answers
161 views

Fixing overshoot in current regulation of AC electronic load

My AC electronic load (previous question here) shall have a constant-current mode. It is being simulated in LTspice. @devnull helped design the circuit for AC loads, but for simplicity's sake in the ...
1N4001's user avatar
  • 163
1 vote
3 answers
213 views

How to guarantee clearance/creepage on mains side of an optocoupler used for 230VAC zero-crossing detection?

Update: Added a diode to protect optocoupler LED As stated in several safety standards (UL 60950 or UL 60750 for example,) we have to guarantee a minimum clearance/creepage between signals of opposite ...
sgio's user avatar
  • 11
0 votes
1 answer
181 views

Zero-cross detector does not detect all the zeroes

I'm trying to do a zero-crossing detector but it is only able to mark half the number of zero passings. It seems to work fine with input voltages of 10-20V, but when using a +120VRMS it checks only on ...
riccs_0x's user avatar
  • 520
1 vote
1 answer
95 views

Suggestions to clarify comparator circuit

I'm confused with the next issue from school that I can't figure out and wasn't able to solve (this is homework already graded, but the teacher refused to explain me). I was asked to design and ...
avelardo's user avatar
  • 495
0 votes
1 answer
97 views

What are the disadvantages of using NZC Optocoupler as switch

I've bought some MOC3023 to use with a triac for turning some home appliance on/off using an EPS8266. The thing is.. every place that I search says that for on/off the best is a zero crossing detector ...
Vinícius 's user avatar
1 vote
4 answers
361 views

Unexpected Crossover Distortion

I created and built the following circuit: When the SWITCH is closed, the audio amplifier works as expected, with no noticeable crossover distortion. When the SWITCH is open, the amplifier still ...
Christopher H.'s user avatar
0 votes
0 answers
150 views

Zero current detect circuit

I would like to make a primary side regulation (PSR) flyback converter, but I have one thing I do not understand. I read this document from ON Semi. If I want to do PSR, I need to detect the diode ...
EEC's user avatar
  • 403
0 votes
2 answers
167 views

Unexpected voltage shift in zero-crossing detector circuit

I have designed following circuit of a zero-crossing detector, which is supposed to amplify small sine wave signal and convert it to (digital) square wave. It uses one single supply op amp for ...
simonov's user avatar
  • 111
4 votes
2 answers
257 views

TRIAC phase angle control 120 VAC line ripple

I'm working on a phase angle controlled TRIAC dimming circuit (schematic attached below), and I'm seeing a lot of ripple/noise on the 120 VAC input as I near 50% power. I'm wondering what I can do in ...
JesseBuesking's user avatar
0 votes
3 answers
265 views

Does a signal that doesn't change polarity charge a capacitor?

I'm wondering if a digital signal that does not change polarity charges a capacitor. If the signal has a frequency of 1 MHz, does that charge the capacitor faster? And if so, is it possible to ...
Joggem's user avatar
  • 25
1 vote
1 answer
186 views

acs37800 zero-crossing signal timing problem

I'm working on a project that is using ACS37800 for measuring current and voltage and for detecting zero-crossing. However, there is some issues with the timing as the zero-crossing detection is off. ...
teb's user avatar
  • 21
2 votes
1 answer
775 views

Optocoupler 4N25 cut and saturation for zero crossing detector circuit

This is my first time working with an optocoupler and I'm trying to find the right resistors for a zero crossing detector circuit that has a 4N25 optocoupler, but the values I've calculated are not ...
Samu R's user avatar
  • 215
0 votes
1 answer
269 views

Resistors for zero crossing detector with optocoupler

I'm trying to understand how to calculate the right value for resistors R1 and R2 in this circuit using the 4N25 optocoupler, and with 12Vac. With 12Vac, Vp is 16.27v. In this case, the optocoupler ...
Samu R's user avatar
  • 215
1 vote
1 answer
1k views

AC zero Crossing detection with transformer

I am working on a circuit that requires zero crossing detection. I detected the zero crossings of the 230 Volt AC sine with the help of a full bridge rectifier and a 4N25 optocoupler with a pull up ...
WillyBogard's user avatar
0 votes
1 answer
68 views

Detecting absence of current in transformer secondary

Beginner here. I'm trying to build a circuit which charges a capacitor to an arbitrary voltage in the shortest possible time. I want the high voltage part of the circuit to be galvanically isolated ...
Mathis's user avatar
  • 97
0 votes
1 answer
40 views

Zero current switching SMPS with common emitter or source

Is there any? Is it even possible that such arrangement could exist? Im interested in SMPS where both, turn ON and turn OFF processes of all switching elements happen at zero current through that ...
Surprised Seagull's user avatar
2 votes
4 answers
2k views

Finding zero cross of AC signal digitally

I'm measuring 50/60 Hz with STM32 microcontroller. The signal comes from current transformer. I'm adding a DC shift to the signal equal to 1.65V. As the signal is riding in 1.65V, this will be my zero ...
Blue_Electronx's user avatar
0 votes
1 answer
122 views

Generating a cross zero pulse wave

For a project I need a zero crossing wave like this Its generated by an inductive coil of a distributor of a car engine where that signal triggers a CDI (capacity discharge ignition) when it falls ...
ShortCircuit's user avatar
0 votes
1 answer
225 views

Switching Relay at Zero_Cross Point

I'm controlling 4 Relays(10A) with a controller. While randomly switching it without zero-cross my controller gets restart. To avoid this I'm switching relays at the zero-cross point, But my question ...
ravi teja's user avatar
2 votes
3 answers
1k views

Zero Crossing Detector Circuit

I am working on a zero crossing detector circuit. Can anyone please explain the function of highlighted circuit?
saman wajid's user avatar
0 votes
1 answer
173 views

Zero cross control for inductive loads

Is zero cross control acceptable for small motors? I know it is bad to have voltage and current out of phase for inductive loads but wanted to know if it would not be harmful to small motors (< 500 ...
coolro's user avatar
  • 41
0 votes
1 answer
100 views

Doubt about zero-cross circuit

I have simulated the following circuit on MultiSim, and it seems to work well doing its job. The first element is a full wave bridge rectifier. At its output is connected the input of the zero-cross ...
abomin3v3l's user avatar
2 votes
2 answers
717 views

Using a behavioral voltage source as a zero crossing detector for inductance current in LTSpice

I'm trying to simulate a buck converter IC in LTSpice (MP4569) based on the functional block diagram from the datasheet using behavioral voltage sources to represent the logic from the block diagram. ...
axk's user avatar
  • 817
0 votes
2 answers
307 views

Zero crossing circuit

I have made a simlpe zero crossing circuit to control the speef of a single phase AC fan through conduction angle control with a Triac. The circuit looks like this with the use of 4n25, an optocoupler:...
NeuroEng's user avatar
  • 462
3 votes
4 answers
1k views

Tachometer IC that does not require zero-crossings?

I recently built the basic tachometer circuit in this LM2917/LM2907 Datasheet shown below using the 8-Pin version of the device. I realize this circuit requires a VR pickup sensor, and so the LM2907/...
user avatar
1 vote
1 answer
218 views

Zero Crossing Detector using comparator

I followed SNOA999 for a zero crossing detector using TLV7011 as a comparator. I am not sure about short-circuiting grounds between AC and DC power sources. My concern is creating negative currents on ...
Otávio Borges's user avatar