Patent attributes
A sensor device includes a gas sensor disposed on a first substrate, a heating element disposed within the first substrate, a processor operatively coupled to the gas sensor and the heating element, and a memory storing a program to be executed by the processor. The gas sensor is configured to measure first sensor data points and second sensor data points. The gas sensor overlaps the heating element. The program includes instructions for performing the following steps in real-time: recording first resistance values and second resistance values of the heating element; adjusting the second sensor data points using the first sensor data points, the first resistance values, and the second resistance values to obtain corrected sensor data points; and determining sensed values from the corrected sensor data points.