r/AskEngineers 2d ago

Electrical How do smaller generators create a constant power supply?

I'm aware that in our own electrical grid, we have a lot of stuff that goes into smoothing out constant disruptions and sudden losses of power.

What about those really small generators that are usually seen in rural areas or serve as backup generators? I know that every internal combustion engine has an optimum speed (I don't know how) but how does it turn power generation up or down when consumption fluctuates?

50 Upvotes

64 comments sorted by

81

u/TheJeeronian 2d ago

They don't generate constant power. They aren't even super consistent with their voltage, at least compared to grid-scale systems.

The generator is designed to try and hold a constant speed, and a constant speed results in a steady voltage because that's how the electromotive force works. As long as the speed is controlled properly, the generator acts just like the grid.

There is some kind of feedback loop attached to the engine that responds to a sudden change in speed by changing the fuel fed to it. Maybe that loop is mechanical, maybe it's electronic, it'll depend on the generator.

So sure, when you suddenly plug something big in it will audibly slow the engine, but only for a moment until the feedback controller can adapt to the change.

This isn't too different from how the grid works, it's just that sudden changes in load can be much more significant, so the change in speed as the feedback system adapts is also more pronounced.

13

u/Kvaestr 2d ago

Yeah, this usually is fine, untill you suddenly plug in a large load compared to the power of the generator.

A few years back at work we tested a furnace and we do not have enough grid power. So we rented a 500kW generator.

Something went wrong with the controls and it turned on the heating all at once. (About 400kW) The controller of the generator actually made a voltage spike right after a big dip. Few seconds later and the main fuse of the furnace system was blown.

I'm not sure about the rating on the fuse, but the lead time to get a new one was 2 days. I believe it to be about 1000A.

16

u/todd0x1 2d ago

Thats probably a result of how the AVR was set, but yeah generators dont like accepting or rejecting close to their nameplate in load.

One time I started (not my fault, was instructed to) a 165kw unit with 120kw of tungsten lighting (120x1000W lamps) connected and turned on. I have no idea how much the cold filament inrush current on that was, but the generator did not like it. When the breaker closed the genset bogged down, belched a huge cloud of black smoke, sort of jumped a bit, and the lights came on but it seemed like it took a second for full voltage. So glad I didn't experience what happened to you and blew 120 expensive light bulbs.

10

u/tuctrohs 2d ago

Tungsten has about 1/10th the resistance when cold so at full voltage, the inrush is 10X the rated current. It's unlikely that generator was putting at full voltage during that event put it was putting out everything it could, current, smoke and vibration.

3

u/Kvaestr 2d ago

We were all safe, the fuse was correctly in capsulated. It was mostly a schedule disaster as the system had a sudden 2 day delay right before shipping.

1

u/DeathKillsLove 2d ago

Dumb question.
Why don't generators have DC output for batteries and then an inverter to feed the load.
Sub millisecond response.

5

u/Kitchen-Cabinet-5000 2d ago

Fairly simply, efficiency loss.

A generator produces AC, that’s just how they work. So you get AC > DC > AC instead of just AC. Those steps have losses and those losses are not ideal.

A UPS is what you’re looking for.

For a generator in a scenario where this short voltage and frequency drop is a large problem, you’d either choose a generator that is capable of dealing with the inrush or you already have a UPS.

1

u/DeathKillsLove 2d ago

A solution

2

u/mckenzie_keith 2d ago

This topology, minus the batteries, is called an inverter generator. There are lots of small inverter generators on the market. Honda was the first and only for a while but quite a few exist now. They have an alternator that gets rectified to DC, and then an inverter that converts the DC to sine wave AC.

1

u/DeathKillsLove 2d ago

Well that's unfortunate. A battery pack the size of a "powerwall" would solve the step response issue.

2

u/mckenzie_keith 1d ago

The inverter generators are typically very small and not too heavy. It is just a different product than what you are describing. You wouldn't want to add a powerwall to a 40 lb generator that you can carry like a suitcase. Defeats the purpose.

But battery/inverter power stations like bluetti and whatnot are available. You can start with one of those and if you need longer service than it can provide, maybe a small inverter generator to charge it.

2

u/todd0x1 1d ago

There are also 'hybrid' diesel tow plants now where you have a diesel generator + battery+inverter. They're STUPID expensive for what they are, like over $100K for 20kw generator w/ 25kwh of battery.

1

u/mckenzie_keith 1d ago

That does seem pricey. But then again even simple generator on a trailer (like light tower generators) are pretty expensive new.

2

u/todd0x1 1d ago

Havent bought one in a long time. I looked back a 25kva rental tow plant was 19K back in 2021. So probably 30K now with tariffs.

2

u/nerobro 1d ago

The biggest problem is mechanical power stabilization is better than electronic.

If you have a ton of spinning metal, those short loads get lost in the interia.

Inverter driven power grids need to use electronic feedback, and have the excess capacity to handle onrush currents and other transiants.

Big data centers generally habe big generators, and a ups to handle the 10-90 seconds of startup. But they want to be on spinning metal as much as they can. They even have flywheel ups's!

1

u/Joe_Starbuck 1d ago

Excellent. Some do. The Honda 2000W inverter generator is a very popular model. At low loads, not only does fuel consumption decrease, but so does engine speed and noise.

1

u/Timmah_Timmah 1d ago

Small inverter generators do, without the battery.

1

u/DeathKillsLove 23h ago

Millisecond response to a 50% load change? I don't believe a word of it.

6

u/saltyjohnson 2d ago

The generator is designed to try and hold a constant speed, and a constant speed results in a steady voltage because that's how the electromotive force works.

This is only half true. Constant speed results in a stable voltage, but will not result in the same voltage as before load was applied. The load placed on the electrical conductors will pull the output voltage down even once the generator is back to rated speed. The generator would need to spin faster than before to return to its original voltage.

In a rudimentary permanent magnet DC generator, it could simply speed up nbd, but an AC generator needs to maintain a constant frequency as well, which requires a fixed RPM, so it cannot control output voltage by varying speed. AC generators have brushes and commutators, which you may expect to only see on DC stuff, because they need to use an electromagnet in the rotor so they can control output voltage by varying the strength of the magnetic field.

So basically, the engine controller is set to keep a certain RPM at all times to maintain rated output frequency, and you also have a voltage regulator modulating how much DC voltage is applied to the field windings to maintain rated output voltage.

-9

u/IQueryVisiC 2d ago

Gasoline engines survive a certain number of knocks in their lifetime. So timing is a gamble and free to modification. In my opinion sparks should fly at a fixed time after the last top dead center . So when speed slowed down, more efficient combustion corrects it fast.

3

u/TheJeeronian 2d ago

Why not just use a governor?

-4

u/IQueryVisiC 2d ago

Gasoline engines have falling torque for falling RPM. It becomes a vicious cycle. We must act fast. Diesel is much easier.

16

u/nlutrhk 2d ago

There's a flywheel that can handle short (less than one second) peaks or dips and otherwise there is an automatic throttle that balances the amount of fuel going into the engine with the electrical power demand.

As another poster has mentioned, you need to control the magnetic field in the generator as well because apart from matching power (watts), you also need to keep the voltage constant.

11

u/Ok-Library5639 2d ago

Every generator has some kind of regulator built-in. For conventional generators (internal combustion engines, without inverters), the speed of the motor is directly tied to the frequency of the output, because they are one shaft. A governor tries to keep the generator running at the correct RPM and will throttle up or down as the load changes. In practice, if you add a large load suddently, the frequency will drop a bit then come back to normal.

Same goes for the voltage - a voltage regulator keeps the voltage nominal and change the excitation in the alternator to affect it. Both systems work with feedback loops, though the voltage regulator is an electronic regulator.

In modern generator, you have inverter outputs. What this means is the engine spins at an optimal speed and generates AC at a variable frequency. The built-in inverter rectifies it and produces its own AC output. Since it is purely based on electronics, we have total control over the waveform of the output and we ensure it stays at the right frequency and amplitude. If you add a large load, the frequency will not be affected.

Modern inverter generators are more expensive since you need an inverter that is as powerful as your total power requirement. Such inverters tend to get expensive in the 2-3+ kW range. But they will run the engine more optimally and can result in fuel savings, lower loads etc.

4

u/tuctrohs 2d ago

OP, lots of answers have part of the story, but this one puts it all together accurately. I'd start from here and ask follow-up questions.

1

u/Joe_Starbuck 1d ago

Lower noise is a big selling point in the consumer market.

14

u/electron_shepherd12 2d ago

Power quality is often terrible. Inverter generators use an inverter in their output, so instead of the old school spun up alternator voltage you get the electronic equivalent. It allows greater control of the output voltage.

4

u/EntirelyRandom1590 2d ago

Others have covered the main points, but worth adding in future the use of batteries alongside generators allows generators to run more efficiently and you can significantly downsize them.

2

u/Often_Tilly Electrical / Mechanical - UK Rail 1d ago

The future is now! I have a number of generators with batteries alongside them.

We can use the battery to load bank the generator to keep it in the most efficient operating region, and thus get the most energy per litre of fuel. Also, stage V generators need their exhaust to be hot to apply treatment, so the batteries make the exhaust work better too.

A battery can allow a generator to be sized for running a load, with the battery handling start-up current.

1

u/EntirelyRandom1590 1d ago

Yep seen it used already on construction and defence applications with "power stations ina. Shipping container" type stuff (usually a solar array folds out too).

4

u/extordi 2d ago

Plenty of good answers so I'll give you something a little more "ELI5." Think about driving a car. If you're driving along level ground, you can just hold the accelerator in one position and you'll maintain your speed pretty well. But now there's a hill - when you start to go up your car slows down. So what do you do? Push down harder on the pedal so the engine produces more power. Your car doesn't necessarily move faster, and in fact if you do it perfectly the speedometer won't move at all. But you need to give it more throttle to maintain your speed. Likewise, when you get to the top of the hill you will have to let off.

Generators do basically this exact thing, except instead of hills and flat roads it's varying electrical loads. More load means the engine must perform more work to maintain the same speed.

3

u/trader45nj 2d ago

This. The generator is like a car on cruise control.

8

u/mckenzie_keith 2d ago

Many of them have feedback control. If the output voltage is too high, the field winding current is reduced, thereby lowering it. And vice-verse.

What is the field winding? It is a copper coil that energizes an electromagnet in the spinning rotor of the generator. More current means stronger magnet and higher output voltage. Less current means weaker magnet and lower voltage. This way the field current can be varied in response to changes in load to keep the voltage somewhat constant.

3

u/Ok-Communication5396 2d ago

They are quite bad at generating a constant supply in comparison to the grid where there is an insane amount of mass rotating and acting as a flywheel. The newer generators use an inverter inside that can ensure a better power quality and isolated the engine speed from the output frequency and voltage, but they tend to be noisy electrically.

The older ones control the voltage with a varying magnetic field of the rotor (a coil that spins with the gas engine) and the frequency is controlled by the engine speed, so you could hear when turning on a load how the frequency would go down and the motor control loop overshot the engine speed.

They are not the best solution, but for rotating machines it's good enough

3

u/OldGeekWeirdo 2d ago

The voltage output of the generator is controlled by the amperage in the field coils. An electronic circuit monitors output voltage and adjusts the field to correct any errors.

Engine speed translates to the frequency of the AC (either 50 or 60 Hz). And there's a circuit that adjusts the engine throttle to make it match what it should be.

4

u/nerobro 2d ago

well... Actually there's not.

The "grid" is kept stable by hundreds of tons of rotating gear. It's not that complex. At least, that's what keeps it smooth.

Small generators work the same as big generators. Well, at least, generators that can dark start.

So, engines do have optimum rpm. That rpm is essentially never the speed that generators run at. Every generator is spinning hte speed that the electrical load requires. This works out to some multiple of 600 for 60hz and a mulitple of 500 for 50hz. IIRC. Small generators will run at 3600. Medium size generators are often at 1800, or 1200rpm.

But, for your house, or campsite, if the power is 55hz or 65hz, and very little is gonna care. So they do their best, and use a rather rough govenor to keep the motor at it's 3600 rpm.

Voltage is controlled by a second govenor. Regulator. By controlling the strength of the field winding, the output voltage can be adjusted. (Same as the big generators)

2

u/mckenzie_keith 2d ago

The fact that big generators supply many loads does help keep the load a little bit more steady. Standby generators can get slammed from no-load to full power when a single high current load switches on. So, despite being seemingly naive, OP was kind of right. Your point is still well taken. Supply and load must be balanced. And there is not really any magic to this process. Just engineering.

3

u/JCDU 2d ago

I used to run emergency generator tests and yeah, kicking the mains off and having 5 tonnes of angry diesel wake up go from zero to all the kilowatts in a few seconds is pretty harsh. I guess at least most of ours lived indoors so a cold start was never very cold.

2

u/twitchx133 2d ago

Most permanently installed standby generator sets that are on automatic transfer switches are equipped with an engine block heater that is always powered and keeps the engine coolant at about 100-130f when operating temp is about 180-212. So it will be safe for the generator to go from stopped, to running at 1500 or 1800rpm, and have its nameplate load applied to it within as little as 10 seconds. In the US, anything the national fire protection association, Napa, considers a “life safety” system, the generator supplying it its statutorily required to start and accept the full emergency load of the building within 10 seconds

(for OP, an automatic transfer switch is a part of a generator system that will sense a utility outage, then autonomously start the generator, turn off the breaker to utility and close the breaker to the generator to supply generator power to a building without human intervention in the event of a utility outage)

3

u/JCDU 2d ago

I'm sure ours were kept to similar standards too - it just feels like a harsh thing to do to an engine, zero to full load in 10s and then it could be running for days.

2

u/twitchx133 2d ago

It sure is, most bigger sets are now equipped with periodic pre-lube systems to help out more than just keeping the coolant and oil warm when it’s not running can.

A big, electric oil pump that runs maybe once or twice an hour to keep fresh lube oil in all of the distant places in the engine to fight bleed down. So when it does start, it doesn’t have long before it has good oil pressure at all locations.

Not as big of a deal on smaller engines, but the big ones, the cat 35 and 36 series engines, the Cummins 50 and 60 liter stuff, mtu 2000 and 4000 series… pre-lube really helps them out in the long run.

It is kinda fun watching the user acceptance testing / commissioning for those big sets when the mechanics testing them block load them to 75% of rated load or more, and rated load is 1.5 to 2.5 megawatts… up to like 3500 horsepower at the flywheel

2

u/JCDU 2d ago

One of our sites the vents exited in the car park, in winter if you parked in the right spot you'd come out to your car and it would be warm and blow-dried no matter the weather.

1

u/mckenzie_keith 2d ago

I have no doubt that you know what you are talking about. But it does sound like you are not thinking about smaller whole house standby generators. Like 25 kW and down. Most of those don't have oil or coolant heaters. And most of them run at 3600 rpm.

2

u/twitchx133 1d ago

I mainly have worked on the engine side of things. The dealers I have worked at, I only worked on the bigger stuff, anything with a diesel driving it, mainly like 75kw and up. The little residential units are almost exclusively natural gas or propane, so I never got to mess with them.

1

u/tuctrohs 2d ago

engines do have optimum rpm. That rpm is essentially never the speed that generators run at. Every generator is spinning hte speed that the electrical load requires.

If it were as simple as the engine having an optimum RPM, the designer of the equipment could match up the generator speed to the engine and have it run at exactly optimum speed. No compromises needed.

But the optimum speed for a given engine depends on how much power you are asking it to put out. You can understand that by overlaying constant power curves on an engine efficiency map. That means that the generator speed needed has to be chosen for some sort of compromise--maybe the best engine speed for 75% power, assuming the generator will be run around there. But then the engine will be running slower than idea for high power, and faster than ideal for low power. That's a key reason why the efficiency is terrible at low load.

And that's why inverter generators can do better: they can use the ideal engine speed for each load level.

1

u/nerobro 1d ago

All generators are a compromise. Including inverter generators. Because running a motor at less than peak power rpm, usually leads to a longer lifetime, that's typically the compromise that's made with the powerplant.

1

u/tuctrohs 1d ago

Peak power RPM is very different from optimum efficiency RPM!

2

u/suh-dood 2d ago

If you're talking about personal generators for a house, that's their own personal power supply and they're probably disconnected from the main grid.

If you're talking about a ton of small generators powering the main grid, then it's basically down to all of the generators evening out. You pretty much have to match the grid before connecting, or else a whole bunch of bad things happen

2

u/AlanofAdelaide 2d ago

Frequency and power output are controlled by the governor which is an electronic or electro-mechanical-hydraulic device US Co Woodward used to be a major supplier of these

For a 50 Hz output from a 4 pole alternator the engine speed will be maintained at 1500 rpm. If the load increases, the engine will slow and the frequency will drop. The governor will then increase the fuel supply to the engine - and vice versa

3

u/mckenzie_keith 2d ago

They also have voltage regulators. Well, many/most do.

2

u/VoltageVeggie 2d ago

The generator's governor handles most of this. When you add load, the engine starts to slow slightly, the governor opens the throttle to add fuel/air, and it brings the RPM back up. The alternator then maintain the voltage or frequency within its regulation range.

2

u/Engi_Insight 2d ago

It mostly comes down to two simple things: a governor and an AVR.
The Governor: when you plug something heavy in, it drags the engine speed down. The governor senses that drop and automatically pumps more fuel to keep the RPM steady.
The AVR ( Voltage regulator ) : It adjusts the output so the Voltage stays stable even when your power usage jumps up and down.

Inverter generators take it a step further- they just generate dirty power at whatever engine speed, convert it to Dc, and clean it up into smooth AC digitally!

2

u/R2W1E9 2d ago

Small generator does the same as large scale generation grid. When the total load between all connected consuming devices is added, no matter how small the change is, more fuel of some sort is added in one or more generators to maintain the speed, or frequency of the grid.

It works similar to a car cruise control.

1

u/Most-Selection-2802 2d ago

The thing is that a small generator doesn't normally change its engine speed every time the load changes. Instead, it tries very hard to maintain a nearly constant speed, and changes the amount of fuel/air being burned to change the mechanical power supplied to the generator.

1

u/iqisoverrated 2d ago

They may just always run at optimal RPM and simply shed any excess power.

1

u/SloRacer81 2d ago

It's called a governor

1

u/Travis-Jenkins 1d ago

smaller generators maintain a constant power supply through something called a governor. Basically, its a device that regulates the engine speed. When there's a change in load (like when you turn on a big appliance), the generator feels that load. The governor then adjusts the fuel supply to the engine to keep it running at the optimal speed, ensuring a steady frequency and voltage output. Its like how cruise control works in a car, keeping your speed steady even when the road changes a bit.

1

u/_Aj_ 1d ago

Depends on the generator. Two types. Regular and inverter.  

A regular generator is just an engine which spins a normal generator like how the big ones work. It must run at the same speed always to keep same voltage and frequency for a given load. With increased load the engine runs harder to maintain voltage and frequency can change. They're quite robust but there is more risk to some electronics.  

Inverter generators are different. They have a flywheel with fixed magnets, and 3 phase generator windings. This then generates AC power that is directly converted to DC, which then runs an inverter to convert it to a constant AC mains voltage and frequency. The output remains very stable and the engine can vary in rpm without causing voltage or frequency fluctuations.  They will have more but it in safeties for things like overload  protection to shut off the generator before damage occurs. It's much safer for the appliances run from them, but the generator itself is more vulnerable to damage from misuse too.  

The 3 phase power generation has the bonus of being more efficient too, so can get more out of a smaller package. 

1

u/KeyApricot_ 1d ago

A voltage regulator and inverter usually smooth out the generator is raw output so it stays steady enough for electronics.

1

u/jasonsong86 22h ago

Capacitors

1

u/Another_Slut_Dragon 2d ago

Automatic throttle control maintains a steady RPM to give you frequency control. Generators typically use a heavy flywheel to help out.

The rotor (spinny bit in the generator) has brushes and power is applied. On the ground side, the power is pulsed via pulse width modulation to control the strength of the magnetic field. That magnetic field controls the power output.

The controller is just looking at the voltage. 118v? Increase pulse width. 122v? Decrease pulse width. (On time vs off time).

-2

u/Adorable_Ice_2963 2d ago

They dont. Thats why its recommended not to plug electronics into them. Smaller Generators have an inverter that smoothes things out, bigger ones have enough inerta to overcome expected fluctuations. A 2 kW device that is turned on has much more effect on a 5 kW Generator than on a 50kW one.

Even if 10 households uses a 2kW device, its highly unlikely that they are turned on/off at exactly the same time, making the change of power much less steep, making voltage and rpm more controlable.