JanM321 / esphome-lg-controller

Wired controller for LG HVAC units using ESPHome and ESP32
BSD Zero Clause License
80 stars 19 forks source link

Over heating settings - what exactly does it change? + EEV lifetime? #39

Open landrysik opened 4 months ago

landrysik commented 4 months ago

Hi, I am trying to understand the logic behind the AC's internal algorithm that regulates the actual compressor power. It is (should) be closely related with the "over heating setting" but what those numbers even mean? (+4/+6°C). What happens when the tempeature is (presumably) +4°C from setpoint and what happens at +6°C? What are the default (0) values? I am using LG Standard plus PC12SK

I have it set to +-1°C in hopes it will better regulate indoor temperature and I first thought it will just get to the setpoint +1°C and slow down the compressor and if it gets -1°C from setpoint it will speed up. But the "black box" is more complicated than this. When the temperature started to rise quickly I was still -1°C from setpoint and at this point the AC lowered compressor power.

Does anybody have more observations? Maybe we can get a better picture how it works together. One observation I can share is from before I started using this wired controller: I hardwired the actual thermistor input to fixed resistor to simulate 31°C. When set to 30°C and turned ON, the AC started at nominal power (around 900W input) and stayed there forever. When I wanted lower power I set the fan speed to low and the AC lowered power to around 500W within few minutes. When I then set fan speed back to HIGH it kept the 500W again forever. After defrost it started again at 900W. Why 30°C? because at JET fan mode the compressor power stayed the same (900 or 500W) and I got high fan speed. Btw interesting is that the actual power consumption actually drops by 100W after turning on the JET mode - presumably because the internal coil gets colder, pressure drops and the compressor does not have to work so hard even at the same speed (rpm/frequency). The opposite can be observed when lowering the fan speed - consumption immidiately starts to rise until some point when the AC decides to lower the compressor speed.

It is honestly really hard to get relevant data with a repeatability to understand the behaviour because sometimes even after power cycle the AC sets different power level even with the same setpoint + same measured temperature. Maybe outside temperature plays a role aswell? Or pipe temperatures/pressures/ time from the last compressor start?...

I tested the workaround template sensor that fakes the temperature reading but in my conditions it didn't work that great. The AC was constantly modifying the power up and down.* Maybe it should be "tuned" to specific room and the thermal inertia.

To work around 2), if the temperature drops below setpoint - 0.1 and it has been heating for more than 10 minutes, it forces the unit to work harder by reporting setpoint - 2.5.

I got a feeling that 2.5°C with just 0.1°C difference was too excessive. The AC started ramping the power too quickly and too much and overshoot the target temperature. It got me thinking that maybe report setpoint -2.5°C but only for a few minutes to get the AC power going up and then lower it to only setpoint +1 or even real temp so it won't ramp up that much? I have to test it further but we currently have quite a warm weather...

* EEV?

And one more thing to consider. As we see the AC is really lazy changing the compressor speeds. It likes to set one speed and let it run for hours even when the temperature is fluctuating. This got me thinking that maybe the manufacturer set the software this poorly on purpose! I am not a HVAC expert but the EEV (Electronics Expansion Valve) needs to change position every time the pressure changes to maintain ideal pressure difference for refrigerant evaporation. So with every compressor speed change the EEV needs to change aswell. And those EEV's have for sure limited cycle lifespan. So in typical conditions, even "shitty" EEV and compressor system can last projected 20 years or so...But once we start to mess with the AC by reporting fluctuating temperature and force it to change the compressor speed every 10minutes, those 20years can quickly shrink to much less.... Maybe I am just overly cautious but be aware of this aspect...

JanM321 commented 4 months ago

Hi, I am trying to understand the logic behind the AC's internal algorithm that regulates the actual compressor power. It is (should) be closely related with the "over heating setting" but what those numbers even mean? (+4/+6°C). What happens when the tempeature is (presumably) +4°C from setpoint and what happens at +6°C?

+4/+6 means it stops heating at setpoint + 6 and then starts heating again when the room temperature reaches setpoint + 4.

What are the default (0) values? I am using LG Standard plus PC12SK

It's the default behavior for the unit. For my units that's +1/+3 but it could be different for other units.

Maybe outside temperature plays a role aswell?

My units do modulate better (less Watt) when it's cold outside. I agree that the behavior of the unit is hard to predict unfortunately :/

landrysik commented 4 months ago

Ah, so +4/+6/whatever is just hard stop when the AC turns off. I see.

My units do modulate better (less Watt) when it's cold outside. I agree that the behavior of the unit is hard to predict unfortunately :/

This lower wattage does not come from any active modulation. It is purely physics. Lower temperature = lower pressures and lower heat transfer. This means that at the constant speed the compressor does not work so hard and has lower power input. The frequency/RPM is the same. I was thinking about different phenomenon - that for example when it is freeezing outdoors the AC will use full power when turned on with 24°C setpoint and 23.5°C indoors. While at +14°C it will start only at 50% as it "knows" that for a 0.5°C difference it will have too much power with so hot outside.

Here is a snippet from engineering manual/performance data for similar units. PI is power input and TC is kBTU/h output (nice units, right?) See how it changes with outdoor temperature

obrazek https://lghvac.com/resource-service?filename=EM_SZ_HighEfficiencyWallMount_HSV5.pdf

JanM321 commented 4 months ago

This lower wattage does not come from any active modulation. It is purely physics. Lower temperature = lower pressures and lower heat transfer. This means that at the constant speed the compressor does not work so hard and has lower power input.

I don't think it's that. A few degrees C can be the difference between < 300W or > 450W. This seems to be a multi-split issue though - single split units and units from other brands don't seem to have this.

SiboutVanLoo commented 1 week ago

This lower wattage does not come from any active modulation. It is purely physics. Lower temperature = lower pressures and lower heat transfer. This means that at the constant speed the compressor does not work so hard and has lower power input.

I don't think it's that. A few degrees C can be the difference between < 300W or > 450W. This seems to be a multi-split issue though - single split units and units from other brands don't seem to have this.

Yes it can, depending on the indoor setpoint vs indoor temp. And time cycle delays, (internal PID) Combined with Outdoor temp and RF-gas properties. Single split units are better at modulating if correctly sized in power for the room. Multi splits have a bigger "engine" they need to manage demand and offer more, especially if only 1 unit of 4 is running. (for example.)