Impulseausgabe ENGLISH, Ausgabe 02/11
SENSOR APPLICATIONS IN THE MICROAMPERE RANGE
|
SENSOR APPLICATIONS IN THE MICROAMPERE RANGE ENERGY MICRO develops new type of sensor interface to allow the implementation of particularly energy-friendly sensor applications in deep sleep mode. ENERGY MICRO has developed a new type of sensor interface for its Tiny and Giant Gecko ultra-low power controller families which enables the autonomous monitoring of up to 16 sensors in deep sleep mode. Both active and passive analogue sensors (such as capacitive, inductive and resistive sensors)) can be included in the applications. The name LESENSE (low energy sensor interface) is based on the feature that the monitoring and measurement of the sensors takes place on a fully autonomous basis, in other words without the intervention of the Cortex-M3. This allows particularly energy-friendly solutions to be created since the aim of the sensor measurement can be completely outsourced to the LESENSE module whose average current consumption of a few µA is unrivalled. The PRS (Peripheral Reflex System) which is already established in the Gecko family also allows the integration of other peripherals such as PCNT (Pulse Counter), RTC (Real Time Counter), LETIMER (Low Energy Timer) and GPIOs. The PRS in this case acts as a wired network which allows the exchange of trigger signals between the various peripherals, even if they are in deep sleep mode. This means that even complex measurements are possible which suppress the use of the Cortex-M3 and the change to run mode which this involves, even for lengthy periods of time. The user has two ACMP (analogue comparators) available to measure the sensors, each of which has eight analogue inputs connected upstream of them. Several sources are available to act as reference voltage, such as two 12-bit DACs, an internal LDO (1.25V and 2.5V), a “finely” scalable supply voltage or an external reference. The measurement results from the ACMPs are sent to the LESENSE module which provides the actual intelligence for the allocation and evaluation of the results and for the entire process controller. The configurable sequencer defines in which order and duration the sensors are measured and evaluated. Passive sensors in particular require excitation before a measurement can be started. The sequencer provides various stimulus scenarios for this purpose which can be output at the measurement pin or alternatively at a different pin. The integral “count & compare” function allows pulses generated at the output of the ACMPs during a measurement cycle to be counted. The result can be compared to a reference value or saved in a buffer for later evaluation. The decoder has an integral and configurable FSM (finite state machine) with 16 states which provides additional intelligence for more complex measurement scenarios such as those required for a quadrature decoder. The function of LESENSE is described in the following on the basis of three examples of capacitive, inductive and resistive sensors. Example: capacitive sensors Example: inductive sensors Within a short excitation time the capacitor of an LC oscillating circuit is precharged by the DAC. During this excitation phase the ACMPn_CHx pin is connected to earth by the sequencer. In the subsequent measurement phase the ACMPn_CHx pin is switched to tristate and DAC0_OUTx is connected to earth and the oscillating circuit starts to oscillate at its resonance frequency of The parasitic ohmic losses of the components result in the oscillating circuit losing energy, however, and the oscillation comes to an end. With the integration of the ACMP it is possible to count the peaks above a defined threshold voltage. For this purpose the signal at ACMPn_CHx is connected to the non-inverting input of an ACMP whilst the reference voltage (threshold voltage) is provided at the inverting input by the DAC. This means that each peak above the threshold voltage generates a 1 at the output of the ACMP which can be counted by the LESENSE counter. Example: resistive sensors Throughout the entire measurement the light sensor is supplied with a voltage by LES_ALTEX0. The phototransistor acts as a voltage splitter which changes its resistance value depending on the exposure and therefore affects the voltage drop through the second resistor. This voltage drop is measured by ACMP0_CH4 at the input of the ACMP against a reference voltage which can be varied over the course of a measurement period. This allows the user to determine whether the light intensity is above or below a certain value. Depending on the measurement repetition frequency the average current consumption is 1.2µA at 20Hz and 2.3µA at 100Hz. All the examples described above and many others can be tested using the Tiny Starter Kit. The Starter Kit contains all the peripherals required for this purpose such as a light sensor, a capacitive touch slider and an LC oscillating circuit. The source code and application notes are available at: http://www.energymicro.com/downloads/application-notes The launch of this new sensor interface means that ENERGY MICRO has taken an important step forwards in its efforts to reduce current consumption in sensor applications. This is made possible by the autonomous peripheral functions which require just a few µA in deep sleep mode without the use of the Cortex-M3. Please do not hesitate to contact us. A05 |






