I want to hack my car's climate control system, make it a little #smarter. Look, I use the #car to go places. And it usually includes getting out of the car and being outside for some while. So most of the time I dress according to the weather: in winter I put a warm coat and in summer I'm in no more than a T-shirt. And it can be not only seasonal. Some days are cooler or hotter than others. Even mornings can be much different that the afternoons. The thermostat that keeps the same temperature in the car's cabin no matter the weather outside is pretty dumb. It could be smarter than that. The car is already equipped with all necessary sensors and processing power.
Here is the idea. The thermostat doesn't have to keep the temperature precisely at the setpoint. When it's cool outside, which means I wear a sweater (likely), the temp can be somewhat below the setpoint. Conversely, in a hot summer day it's OK if the temperature is slightly higher.
Now, how would I program the thermostat? First of all it needs the reading from the outside thermometer. Which the car, I'm sure, has. This reading could add bias to the current setpoint that was set manually, almost following the outside temperature when it's not too far from the setpoint, but not too much off if it's really freezing or hot outside. One approach that I can think of is a #sigmoid function. The basic sigmoid, the logistic function needs 3 parameters, well, 2 if I fix the translation to 0, and my x will be the diff between the outside temperature and the #setpoint. Or even one parameter, the max allowed bias, if I fix the slope to 1 at x=0. This one parameter is some kind of "laziness" of the #thermostat that can be stored in settings.
๐ค




