sTune
sTune copied to clipboard
After PID has run the heater doesn't reach it's setpoint
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!