You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The controller only updates when it sees a change in the process variable. This means that the integral doesn't keep winding up as it should and makes behavior erratic. If I have the update set to 30s, and I have an error the integral should add to the output every 30s. Am I doing something wrong, or is this how it is intended to work?
Noting the output is prodominately Integral
Also the scaling is a problem. It is okay with temperatures, but I want to use W into the house and adjust loads to suit. So typically the number is between -5000 and +5000, even with a proportional and integral at 0.01 and the output range set to 100 000 it saturates in one scan if there is -500 W of power.
The text was updated successfully, but these errors were encountered:
Hello! I know that this is a huge limitation! I've been struggling to have time to address all this issues! I'm also using a lot this component, and I also need this. I'll make this my priority change!
Thanks, I have been doing a fair bit of testing on it. I put it on my inbound power use that moves more than once a minute, and with the once a minute PV copy it updates. Another thing I notice is that I can get it to wind up slowly, but when the error goes the other way it jumps back to zero.
(btw on the scaling, I just divided the power by 1000 in the 1 minute write automation so it is -5, to +5 and that seems to give me latitude.)
I really appreciate the work that goes into these things, and I have been involved in software dev in my life previously, and understand that it takes a fair bit of time and effort to test and find issues, so just take this as trying to help out (and not a complaint or anything like that).
Confirmed, this is should be fixed as soon as possible. As a workaround, I've created a "noise generator" and added this value to the sensor input value. The noise is just a toggle between 0 and 0.01°C, with an automation routine every second. I wonder if adding a specified amount of noise to a discrete input value (21.0, 21.5, ...) would be helpful for the controller to avoid oscillations and windup near the target value.
The controller only updates when it sees a change in the process variable. This means that the integral doesn't keep winding up as it should and makes behavior erratic. If I have the update set to 30s, and I have an error the integral should add to the output every 30s. Am I doing something wrong, or is this how it is intended to work?
Noting the output is prodominately Integral
![2023-08-04_09-02-26](https://private-user-images.githubusercontent.com/48985019/258255360-84f0760a-ef75-4e15-a3f1-ae11169fad66.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNTYzNzUsIm5iZiI6MTcyMDE1NjA3NSwicGF0aCI6Ii80ODk4NTAxOS8yNTgyNTUzNjAtODRmMDc2MGEtZWY3NS00ZTE1LWEzZjEtYWUxMTE2OWZhZDY2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDA1MDc1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiZjU0MWY3NTBkNGI5MjM4OWI3YzI1ZDE5Nzk3MTMxMTE1OWJhNWUwNGU0M2E1ZGYwNDEzNTlkMDllY2FkNzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.z6e4mORHs8UcPtj758BiAuh0hdx9uOZGTRk3LlEL3NY)
Also the scaling is a problem. It is okay with temperatures, but I want to use W into the house and adjust loads to suit. So typically the number is between -5000 and +5000, even with a proportional and integral at 0.01 and the output range set to 100 000 it saturates in one scan if there is -500 W of power.
The text was updated successfully, but these errors were encountered: