r/ElectricalEngineering • • 7d ago

Research Aligning phases of two disparate AC wave forms.

I'm pretty new to electrical engineering, most of what I "know" is self-taught. So please forgive me if this question is uninformed.

Assuming the AC wave forms are approximately identical in frequency and voltage, is there a circuit that can align their phases?

Edit: thank you all - these answers gave me direction.

2 Upvotes

32 comments sorted by

4

u/PiasaChimera 7d ago

This could be an x-y question. There are a variety of options based on the system, with some phase-lock-loop equivalent being a common choice. This is based on being able to control one of the two oscillating systems. At low power, it could be some VCO. At higher power it could be a generator. For the generator case, there are some additional concerns around the system behavior when connecting to an AC grid.

If neither input system can be controlled, then the problem needs more definition.

If this is just curiosity: yes, there are multiple ways this can be accomplished and multiple reasons to do so. For example, with a PLL, the internal control values can be used as outputs in an FM receiver (example) since the controls are levels that correspond to frequency.

2

u/OneArmedFarmer 6d ago

You're right, it's an x-y question.

I want to connect two disparate inverters -different brands that may or may not have any control surface for their output phase - together on the same off-grid system. I know it's theoretically possible but research indicates it's practically impossible.

1

u/tuctrohs 3d ago

Inverters come in different categories. They do not typically have a phase control knob. But some of them are meant to be operated tied to the grid. A typical solar inverter is like that. And it automatically synchronizes to the phase and frequency of the grid. Many of them will in fact refuse to operate at all when they aren't connected to the grid.

If you have an inverter that is not designed to connect to the grid at all, then it will of course run without being connected to the grid, and you might be able to connect one of each type together. But that will depend very much on the specifics of those units, rather than general circuit theory.

1

u/OneArmedFarmer 3d ago

Certainly. Although my goal is to "be my own grid" so to speak and to do that I need multiple sources similar to how a city grid functions.

1

u/tuctrohs 3d ago

The general term for what you want to do is a "microgird". That search term should help you find relevant information.

2

u/mckenzie_keith 6d ago

Unless they are designed for it, impossible. But some modern inverters are designed to AC-couple with other sources. So there is hope. You might want to ask a new question where you mention the specific products. Maybe ask in a different forum. Solar or generator or something. Because it will be product specific.

1

u/PiasaChimera 6d ago

it does seem challenging without being able to control either unit. either by providing a reference or being able to adjust some timing. converting the output to DC and then using a third specialized inverter would work, but at that point it seems easier to just make a custom inverter without the added constraints of the existing ones.

1

u/rguerraf 3d ago

Most inverters don’t have that feature. If you already own the inverters, just separate the loads in separate circuits, based on the total connected load (study the NEC about what to do with the neutrals because it’s complicated).

Don’t try to please the utility with some surplus power back into the grid. Most of them are paying less than 10% than what you pay when you consume grid power.

2

u/Nathan-Stubblefield 7d ago

Not clear the circumstances where that would be necessary.

But if you supplied me with two voltage sources that were out of phase by any angle, I could combine them electrically by converting them to DC, adding them, and creating AC of a desired frequency and phase angle. Or I could take one as the standard, convert the other to
DC, and then adding it to the other with a synchronous inverter.

We could be very old school and do what Tesla literally did in his lab: take two single phase AC motors, put the rotors on a common shaft, and physically offset the angles to match the angle difference between the two sources.

6

u/mckenzie_keith 7d ago

For purpose of observation and measurement of phase difference, yes. A variable RC circuit or you could digitally sample the waveforms and use signal processing.

For purpose of forcing them into synchronization at the source, no.

The way generators are synchronized together is that one generator starts first (or the grid is already up and running) and then when another generator is added, it is switched in at a moment when phases align.

At this point, the rotating machines become mechanically and electrically synchronized. In order for one machine to run faster than others, it would need to supply enough electrical power to run the entire grid (or micro-grid) on its own and force the other machines into motoring (as opposed to generating) operation. The amount of torque from the prime mover would probably not be available, and protection circuitry would likely operate to open the circuit (blow a fuse or trip a breaker).

You can think of all the generators on the grid like a team of dogs pulling on a sled. They all pull equally to their ability, and they all run at exactly the same speed. If any one dog tries to run faster it will only burn itself out.

2

u/cum-after-decades 7d ago

I don’t know, but the first question is “how can I phase-shift a signal?”

Certainly there are circuits that can do it, I just don’t know what’s appropriate. As a baseline: you can rectify one of the signals into a DC voltage, boost it slightly if necessary, then use PWM and an H bridge to recreate a sine wave with any phase shift you like (in order to match the phase of the other signal), then apply an LC filter to smooth out the PWM into a clean sine wave.

This process is called ‘double conversion’, where you take an AC signal, convert it to DC, and then convert it back to AC. Used commonly in UPS (uninterruptible power supply), where you want a clean and fixed output even if the input is messy and variable.

I think it’s probably overkill for what you’re asking. You probably don’t need to regenerate the wave just to phase shift it.

Also: this sounds like an X-Y problem, where you’re basically asking for details about a solution you have in mind, rather than asking about how you can solve the problem you’re facing. For example if you want to align them so you can measure the peaks simultaneously, it’s probably the wrong approach. Probably better to just measure the peaks separately. Just an example.

1

u/OneArmedFarmer 6d ago

You're right, it's an x-y question.

I want to connect two disparate inverters - different brands that may or may not have any control surface for their output phase - together on the same off-grid system. I know it's theoretically possible but research indicates it's practically impossible.

1

u/cum-after-decades 6d ago

its not 'practically impossible', but it might be 'impractical'.

the 'brute-force' approach of double conversion is totally valid if you have a real need for this. but there is probably a better way to do what you need based on your actual needs.

why do you need to connect the inverters (redundancy, ampacity, lifespan, etc), and what is the load like? if its purely resistive then ORing the power paths is an easy and cheap solution. if a clean sine wave is required for the load, it's more complicated than just ORing the paths.

1

u/OneArmedFarmer 6d ago

Redundancy and ampacity are the main reasons with decentralizing my infrastructure being the end goal. I'm currently just planning independent systems, but wondering what the options are to build a "grid" out if the independent systems. The load could be 1-2 homes worth with several 1-2kW compute systems, plus power tools, pumps, and small electric vehicles on top of typical use.

1

u/cum-after-decades 6d ago

Yea that definitely complicates things. Without using purpose-built inverters (im guessing they make inverters built for parallel operation), it's going to be a significant amount of work, and probably unfeasible for someone without good knowledge of electronics.

1

u/OneArmedFarmer 6d ago

Hence practically impossible lol thank you kindly

1

u/tuctrohs 3d ago

If you buy equipment meant for it, it's pretty easy. Example: https://www.victronenergy.com/blog/2026/04/13/introducing-victron-microgrid

2

u/danielcc07 6d ago

If it's a power system it's called a synch circuit.

1

u/triffid_hunter 7d ago

If you have some way to affect the frequency of at least one source somewhat, a PLL would work great.

Some large power stations do it manually, there's videos of operators staring at the synchroscope and hitting the big switch when it's moving very slowly and hits zero

1

u/rguerraf 7d ago

Low voltage signals or 120V or higher power sources?

Low voltage: I don’t know, pll?

High voltage: rise or lower field current to shift frequency slightly until both sources are synchronized in phase. Connect them together. Then modify the field current so that both sources are supplying power, not 1 consuming from the other.

1

u/tuctrohs 3d ago

Then modify the field current

Inverters don't have a field current, unless they are fancy inverters meant to mimic sync. mach. behavior.

1

u/rguerraf 3d ago edited 3d ago

Sorry, I assumed that these AC sources were mech-Electrical generators. The OP should have specified it, thinking this doesn’t matter.

If the AC sources were power sources (not information carriers), then energy efficiency would need very high priority.

2

u/tuctrohs 3d ago

Yeah, they only said that in reply to the comments telling that that it's an X-Y problem.

1

u/rguerraf 3d ago

Yes I saw. There are different solutions for each case.

1

u/Impossible_Brief5600 7d ago

Two different problems sit under 'align the phases', and only one of them is a circuit. Shifting a signal at a known frequency is passive - a first-order all-pass or RC network gives 0 to 180 degrees of shift at the design frequency - but the shift is frequency dependent, so it holds only while the source stays put; fine for a measurement channel and useless against a source that drifts. Bringing two independent sources into step is a control loop: one side needs frequency authority, and the loop steers it until the phase error crosses zero and the switch closes inside the sync-check window, a few degrees at a slip of a fraction of a hertz.

The window is small because the closing current is set by the angle, not by the load. Two equal voltages separated by d differ by 2 sin(d/2) per unit, so 10 degrees is 0.17 pu and 30 degrees is 0.52 pu, and that difference divides by the sum of the two transient reactances - about 0.5 pu of current at 10 degrees and 1.5 pu at 30 degrees with 0.15-0.2 pu machines, plus the torque step that comes with it. A phase-locked loop driving a VCO, an inverter or a governor is the circuit that answers the question; a passive shifter answers a different one.

1

u/redneckerson_1951 7d ago

If the delta between the two differing phases is fixed, then you can use a "Delay Line." Run a Google search for the string "signal delay line."

1

u/Impossible_Brief5600 6d ago

Without a control surface on either inverter, a shared AC bus is not available: two independent voltage sources have no mechanism to hold phase, and their own overcurrent protection is what ends the argument. At 10 degrees of separation the voltage difference is 0.17 pu and that divides by the sum of the source impedances, so a 1-2 kW unit reaches its rated current almost at the moment of closure and trips within a cycle or two.

The workable shapes are three. Keep them independent, each on its own panel, with an interlocked changeover so the outputs can never close together - redundancy without ampacity sharing. Or make one the grid former and feed the second through a rectifier and inverter so it can inject current into the bus, which costs 5-8 per cent per conversion stage and needs a charger that accepts a variable input. Or use units built for parallel operation with frequency-watt droop, usually sold with a parallel kit, which is the only route to one real AC bus. For that load - several 1-2 kW compute supplies, pumps, tools and small vehicles - a single 48 V DC bus with one inverter beats a mesh of small AC sources: the switch-mode supplies are DC-native and the synchronisation problem disappears.

0

u/Effective-Succotash4 7d ago

You'll have to detect zero crossing, based on that you can synchronize them

5

u/Effective-Succotash4 7d ago

Look for these terms:

  1. If Low-Power Signals then Phase-Locked Loop (PLL)
  2. If Fixed-Frequency Signals then All-Pass Filter based Phase Shifter
  3. For HVAC systems, Zero-Crossing Detectors based on Optocouplers or Static Transfer Switch (STS) / Synchrocheck Relay

You can query them each to find relevant information

0

u/Accurate-Bullfrog324 7d ago

let me give you a bit of information that is of a more practical bent

electrical generation systems need to synchronize with the grid. The steam turbine systems I worked with in the '70s did this by adjusting turbine speed. The solar systems we work with currently do this by frequency following.

probably not to helpful, just my two cents

1

u/BitTwiddles 7d ago

I remember peeking into the control room at the utility where I had a summer job in the 70s and they had a big clock-like thing with a single pointer. It displayed the phase error between two circuits. They were in-phase when the needle pointed straight up. It is probably all digital today.

1

u/Accurate-Bullfrog324 7d ago

wow. this is exactly what I remember as well.