Electronic – Synchronizing a diesel generator with a pure sine wave inverter

acgeneratorinverterpower-generationsynchronization

As the title reads, I'm trying to understand the best (Practical) way to synchronize a diesel generator with a pure sine wave inverter, in order to implement an automatic synchronizer based on microcontrollers.

I've searched alot for references, books and articles related to this topic and I came up (theoretically) with these conclusions :

To Synchronize any two sources of single phase AC power, these conditions must be achieved:

  1. Phase angle between the two wave forms must match.
  2. Voltage on both terminals of the sources must match.
  3. Frequency between the two sources must match.

Now, frequency synchronization seems to be achieved since both the inverter and the generator is designed to output 50 Hz pure sine wave,
Phase angle condition can be achieved by studying the initial state of the inverter wave then start the inverter based on this method in order to make the phase difference between the two sources zero, for voltage It seems to be more complicated to match the voltage of both sources (since both sources are not designed by me /and seems to me that I can't control their voltage output/ neither the generator nor the pure sine wave inverter, I bought them both) so here lies the problem , how can this be done ?

Also I want to know (please) what's the effect of slightly different values in each condition of synchronization, and is my approach to this goal totally wrong ?

This is my first time doing something like this, but not the first time I deal with 220 volts AC, so any advice would be much appreciated.

Best Answer

First, you have to control one of the sources. I don't think there is anything to do about power network, but you must be able to control the diesel. There should be some throttle something.

Actually, it could be a very nice control project. You should measure the phase and by changing throttle keep the phase error zero. Like a diesel PLL.

But a more practical way is to convert the diesel output to DC and then with an invertor just create any sine wave you want.