MATLAB: How to give temperature setpoint to speed controller

speed controltemperature referance

hello friends. I need to control the speed of compressor to make the cabinet temperature to meet my set point temperature. I am confusing how to make my temperature error (cabinet temp – setpoint temp) to give as input to BLDC motor.
Thanks to the responds.

Best Answer

You don't give temperature error to BLDC motor directly. You give it as an input to your controller and your controller will produce the desired voltage value for the BLDC motor.
Related Question