This paper presents a new approach to the detection and localization of single hard and soft faults of analog parts in embedded mixed-signal electronic systems controlled with microcontrollers, DSPs, or systems-on-a-chip (SoCs) (generally control units). The approach consists of three stages: a pretesting stage of creation of the fault dictionary using identification curves, a measurement stage based on stimulating the tested circuit by a square-wave signal generated by the control unit, and measurements of voltage samples of the circuit response by the internal ADC of the control unit. In the final stage, fault detection and localization are performed by the control unit. The measurement microsystem [the built-in self test (BIST)] consists only of internal devices of the control unit already existing in the system. Hence, this approach simplifies the structure of BISTs, which allows reduction of test costs. The results of experimental verification of the approach are included in this paper.
In the paper a new implementation of a compact smart resistive sensor based on a microcontroller with internal ADCs is proposed and analysed. The solution is based only on a (already existing in the system) microcontroller and a simple sensor interface circuit working as a voltage divider consisting of a reference resistor and a resistive sensor connected in parallel with an interference suppression capacitor. The measurement method is based on stimulation of the sensor interface circuit by a single square voltage pulse and on sampling the resulting voltage on the resistive sensor. The proposed solution is illustrated by a complete application of the compact smart resistive sensor used for temperature measurements, based on an 8-bit ATxmega32A4 microcontroller with a 12-bit ADC and a Pt100 resistive sensor. The results of experimental research confirm that the compact smart resistive sensor has 1°C resolution of temperature measurement for the whole range of changes of measured temperatures.