Power Analysis of Sensor Node Using Simulation Tool

Power consumption of sensor node is analyzed in this paper. In order to analyze the energy consumption, the node model is simulated using Proteus Software tool. The proposed sensor node’s power characteristics are measured by using different combinations of microprocessors and sensors. Using this, the energy consumption of the node is calculated. This is a cost-effective method and provides appropriate power model for specific applications.


Introduction
Wireless sensor networks technology has various applications such as surveillance and information gathering in the uncontrollable area of human.In order to further increase the applicability in real world applications, minimizing power consumption is one of the most critical issues.Therefore, accurate power model is required for the evaluation of wireless sensor networks [1] [2].In a typical temperature measurement, successive samples do not vary much over time.Samples are highly correlated over time (Temporal Correlation).Hence, the difference between adjacent samples has a variance that is smaller than the variance of the signal itself.Instead of transmitting the samples per second by transmitting the difference between samples, the number of bits is reduced.Thus, the transmitting power is reduced which in turn reduces the overall power consumption of the sensor node.Hence, differential encoding offers a way to increase the lifetime [3] [4].Different types of microcontroller are available which have different internal architecture, power consumption, speed and instruction set [5].Also, sensors vary in their power consumption.
Hence, by trying different combinations of microcontroller and sensor and measuring their power usage and lifetime [6], we can find the optimum node design.

Block Diagram
To capture the power consumption, a digital oscilloscope was set up to measure the voltage v(t) over a series resistor R. A small resistance value was chosen in order to minimize additional voltage drop.The setting is shown below in Figure 1.During measurement the oscilloscope has been set up to use as much as possible of the available resolution.
Different types of microcontroller are available which have different internal architecture, power consumption, speed and instruction set [7] [8].Also, sensors vary in their power consumption.Hence, by trying different combinations of microcontroller and sensor and measuring their power usage and lifetime, we can find the optimum node design.The output of the microcontroller is in parallel form.Since, temperatures are inherently, computed and processed in BCD form, it makes the processing easier.In order to convert the parallel data into serial, a multiplexer is used.The select lines are generated from a counter, the frequency of which decides the output frequency of the multiplexer.

Low Pass Filtering
The output of the multiplexer is digital.For the purpose of modulation, it is also multiplied with high frequency sine wave.To avoid abrupt transitions in the modulated wave, the digital output of multiplexer must be smoothened [9].There will be sharp discontinuities which result in the signal having an unreasonably wide bandwidth.Band limiting is generally introduced before transmission, in which case these discontinuities would be "rounded off".The band limiting may be applied to the digital message, or the modulated signal itself.In order to execute this function, a LPF is used.

Analog to Digital Conversion
An analog-to-digital converter is used to analog signal into digital.The conversion involves quantization of the input, so it necessarily introduces a small amount of error [10].Instead of doing a single conversion, an ADC often performs the conversions ("samples" the input) at regular intervals.The result is a sequence of digital values that have converted a continuous-time and continuous-amplitude analog signal to a discrete-time and discrete-amplitude digital signal.
When an analog sensor (e.g.LM 35) is used and microcontroller doesn't have an inbuilt ADC, an external ADC is used.

Binary Amplitude Shift Keying
Binary Amplitude shift Keying is used in this model (ASK).The advantage of using ASK scheme is that it has a simple modulation and demodulation technique.Since, the output of the sensor node is in burst rather than continuous form, ASK offers a simple transmission scheme within tolerable average probability of symbol error.

Formulae Used
Total energy consumed = ∑(power for active mode * active time) + ∑(power for sleep mode * sleep time).
Average power consumed = Total energy/Total time.
Energy supplied from the battery = voltage * current * time.
Lifetime of the sensor node = energy from battery/average power consumed.
By placing the Microcontroller and sensor, the temperature measurement was carried out.The readings were taken using the in-build Oscilloscope.To estimate the lifetime of sensor node, the power characteristics of sensor node were measured by calculating voltage drop across the resistor and calculating the current.This operation was repeated for various Microcontrollers and Sensors at different temperatures.The parameters measured are substituted in the formulae and thus the lifetime of the sensor node can be calculated.
In Figure 2, ATMEL 89C51 Microcontroller is connected with DS18B20 digital temperature sensors and the temperature reading are given as the input for the Microprocessor.The digitized output is combined with carrier frequency generated by the oscillator and the Amplitude shift keying response is viewed using cathode ray oscilloscope.
From the response, the voltage and Current are noted.Using this, the Power consumed by the node is calculated.From the reading the lifetime of the sensor node is calculated.
The Microcontrollers and sensors are varied and the lifetime of the sensor node was calculated and readings are tabulated in Tables 1-3 respectively.

Calculations
Power calculated from the graph, W = 0.6348 mW

Calculations
Power calculated from the graph, W = 0.

Calculations
Power calculated from the graph, W = 0.6904 mW

Conclusions
The results of this study reveal that, ATMEGA16 microcontroller used in combination         with DS18B20 digital sensor has the least power consumption, hence the longest lifetime.Further, it is observed that by using differential encoding, power is drastically reduced.By transmitting the difference, the number of bits is reduced.Thus the transmission power is reduced which in turn reduces the overall power consumption.Since this is done in software by the microcontroller, no external hardware is needed.

Figures 3 -
Figures 3-7 shows the waveforms associated with various Microcontroller and temperature sensors.

Figure 14 .
Figure 14.Power consumption comparison of various sensors and microcontrollers.

Figure 15 .
Figure 15.Power consumption comparison of various sensors and microcontrollers.

Table 1 .
Lifetime and power consumption comparison between different microcontrollers and sensors at 25˚C.

Table 2 .
Lifetime and power consumption comparison between different microcontrollers and sensors at 30˚C.

Table 3 .
Lifetime and power consumption comparison between different microcontrollers and sensors at 35˚C.