Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using the controller for ppm and fanspeed #40

Open
checkiecheck opened this issue Jan 15, 2023 · 3 comments
Open

using the controller for ppm and fanspeed #40

checkiecheck opened this issue Jan 15, 2023 · 3 comments

Comments

@checkiecheck
Copy link

So I see the output in documentation is in same unit as sensor. But , i want to control the fanspeed of a ventilation unit to keep the Co2 ppm on a specific level.
Should min and max output then be in PPM or in RPM (or % of max speed which is easier)

so sensor.co2 = ppm
output.min= 5 (% of max rpm)
output.max = 95 (% of max rpm)

OR
output.min = 400ppm
output.max=1400ppm

but then i dont know what to put the fan speed at.
Could you please enlighten me before i plunge into a wrong direction?

@Cor1984
Copy link

Cor1984 commented Jan 16, 2023

I would say that an output of 0-100% is best. In most cases the controller is used to control something (like fan speed) sticking to just a range in percentage gives the user the freedom to control whatever device he wants to control.

@soloam
Copy link
Owner

soloam commented Jan 18, 2023

Mostly I use the output from 0-100% as @Cor1984 stated, then I calculate the percentage accordingly. But if you prefer, you could set the minimum to 400 and the max to 1400, that that would be the rpm to pass to the fan.

@checkiecheck
Copy link
Author

yeah.. thx both.. Did some more reading on PID controllers in general. I did go with the 100% approach. Ventilator has hard time (capacity wise) to pull ppm levels down when more people are present, so i have no good way to adjust the parameters.. will play for a few days from here (though setpoint changes are disrupting the controller i have the feeling)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants