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

After PID has run the heater doesn't reach it's setpoint #20

Open
jesman2 opened this issue Aug 7, 2022 · 1 comment
Open

After PID has run the heater doesn't reach it's setpoint #20

jesman2 opened this issue Aug 7, 2022 · 1 comment

Comments

@jesman2
Copy link

jesman2 commented Aug 7, 2022

After a succesfull run of the Stune PID code i get PID. When i put these PID values into my quickPID code the heater doesn't even reach it's Setpoint. It usually overschoots i tiny amount(0.5-1 degrees) and then it wont stay stable and is usually off by -2 degrees celcius. So i wonder if I have coded the stune config right so that i get good PID values.

Or is it that i have to tune the PID values myself to get perfect values? I have already verified that the system's ADC and everything around it is stable enough to get accurate readings.

I have added the two arduino files, one with your Stune code and one where I implemented it with QuickPID.
https://drive.google.com/drive/folders/1xJyZ1f-AH9hoV89mOSyx0aYwIFUbGc3g?usp=sharing

The system that i am using it on is a stm32f411ceu which is reading a 10kthermistor. The output is handled by a IRFz44n Mosfet which is controlled with a PWM signal. This controls the 12VDC towards the heater.

So can you help me and/or have a look at the stune code so that i get the best possible PID values.
Thanks in advance!

@Dlloydev
Copy link
Owner

Hello,
I can't access your files in Google Drive ... could you drag and drop (or copy / paste) them into a new comment here?

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

2 participants