Advanced controller auto-tuning and its application in HVAC systems