 |
Figure 1: Voltage output of a temperature sensor. As the temperature rises, the output voltage falls. |
The microcontrollers/microprocessors in deeply embedded systems often are set up to monitor and control operational parameters. Take, for example, a deeply embedded system where a microcontroller is used to control temperature that has been sensed by a temperature sensor. The sensor is read through one of the microcontrollers analog interfaces. As temperature changes are sensed, the microcontroller adjusts the speed of a cooling fan, which is driven by a pulse width modulated signal. The microcontroller uses a program algorithm to convert the DC level of the sensor into a PWM signal with an appropriate duty cycle to set the fan speed to correct any changes in temperature.
Where it is possible to probe the temperature sensor, the output is a DC signal that changes very slowly over time. Figure 1 shows a direct measurement of the temperature sensor using a heavily filtered oscilloscope channel to minimize noise pickup.