Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Client
Control Room
RF module
Internet
Figure 4 Current sensing Arrangement Figure 5. (a) Data Acquisition module main loop (b)
Timer ISR
As the ADC of the PIC18F4620 requires the unipolar
signal, signal conditioning circuit has a clamper to shift 4.2.2 DATA PROCESSING PART:
the DC level of the bipolar voltage signal proposional
to the line current. The software has to be done such start
that the digital sample for the current is taken at the
sampling frequency of 25kHz to accommodate two
power cycles in 1024 data samples. The signal Level shift 1024 byte data
conditioning circuit has the amplifier to amplify the
incoming signal to make use of the full dynamic range Convert the data into current equivalent
of ADC of PIC microcontroller.
Do FFT calculation
4.2 FIRMWARE DESIGN FOR PQMN
The firmware is developed in C language using a cross Find the magnitude of complex o/p of FFT
compiler The firmware design of PQMN has three
parts. They are
1. Data acquisition part Calculate the THD
2. Data processing part
3. Communication layer part
Pack the PQ information into a packet
4.2.1 DATA ACQUISITION PART:
Set packet arrival flag
As the signal capturing and signal processing is
taking place in an 8 bit processor, 8 bit resolution is
used. The conversion time required by ADC of PIC
microcontroller is 0.7us. The firmware is designed to Stop
take the samples after every 40 µs. That is the sampling
frequency is set to 25KHz. Figure 6. Flow chart for data processing
The data processing module only gets executed after PQMN node is set to report the PQ information to the
the data acquisition module fills the entire buffer. In base station periodically. The communication software
the data processing module first the unipolar signal is has been developed with the following packet structure
converted into bipolar signal by level shifting the
acquired data. Then it is converted into its current
equivalent and then the FFT is calculated. To find the CRC0 CRC1 PL DATA
power spectral density at various frequencies the
magnitude of the complex quantity is found. The total
Figure 8. Packet structure
harmonic distortion (THD) is found out. Total
harmonic distortion and the power spectral densities at
various frequencies are packed as a single packet. After First two bytes are for cyclic redundancy check (CRC).
This is to ensure the packet integrity as the wireless
that the communication layer module sends the packet
channel is not reliable. The third byte holds the packet
wirelessly.
length which is the length of the data bytes followed.
Here the Manchester encoding is done for the proper
reception of data though the reception of continuous
4.2.3 COMMUNICATION LAYER PART: 1’s or 0’s occurs.
In this wireless distributed power quality
monitoring system single hop communication is used.
5. EMBEDDED GATEWAY NODE
That is for all PQMN nodes the base station is in its
5.1 HARDWARE DESCRIPTION
radio range and the topology is simple star topology.
Carrier Sense Multiple Access /Collision Avoidance
The Rabbit Semiconductor’s RCM4000
(CSMA/CA) is used in the MAC layer. The digital
Received Signal Strength Indicator (RSSI) capability of module development board is used as the gateway
node. This module has rabbit 4000, a 16 bit processor
ADF7020-, facilitates the development of CSMA/CA.
which operates at the clock speed up to 60MHz. The
There is no need for the specialized routing protocol as
processor also features I/O lines shared with five serial
PQ monitoring architecture consist only the single hop
wireless network. ports and four levels of alternate pin function that
include variable phase PWM, auxiliary I/O, quadrature
decoder and input capture. This module has an
start integrated 10 base T Ethernet port which allows the
node to be connected to the IP networks. This
Sense the carrier presence (RSSI) microprocessor has 512K Flash and 512K SRAM. The
wireless node is connected to the gateway node through
the serial Interface and the gateway node is connected
to the IP network through the switch.
Is
medium
idle?
Yes
Wait for channel
6. CONCLUSION
For the distributed Power Quality monitoring, a HTTP In future the 8 bit current sensor nodes can be replaced
form interface is used. A web interface is designed for by 32 bit current sensor nodes which will do more data
the client system in the intranet/ internet to monitor the processing in the PQMN itself and send only required
current harmonic levels of different process unit in an information.
industry. The figure 10 shows the web interface.
7. REFERENCES
[1] IEEE Recommended Practice for Monitoring
Electric Power Quality,IEEE Standard IEEE Std 1159-
1995.
[2] Byman, Ben, Schnorr von Carolsfeld, Rudolf,
Yarborough, Tom, Van Gorp, John, “Using Distributed
Power quality Monitoring for Better Electrical System
Mamagement,” in IEEE 1998
[2] Byman, Ben,Schnorr von Carolsfeld, Rudolf,
Yarborough, Tom, Van Gorp, John, "USING
DISTRIBUTED POWER QUALITY MONITORING
FOR BETTER ELECTRICAL SYSTEM
MANAGEMENT", IEEE transaction on industrial
applications, sep/oct 2000 Vol 36 Issue 5 Pages 1481 -
1485
[3] C. Sankaran , "Power Quality", CRC PRESS 2002
[4] M. A. Eldery, E. E El-Saadany, M. M. A. Salama,
Figure 11. Speed monitoring and control form in client "Optimum Number and Location of Power Quality
Monitors", 11th International Conference on
Harmonics and Quality of Power 2004
[5] Maxwell E. MONTEIRO, Elton S. MOURA,
Adrian B. DRAGO, Luiz 0. BONINO, Josi G.
PEREIRA P, Paul0 F. S. AMARAL, Domingos S. L.
SIMONETTI, Pedro. F. ROSA, Geraldo D.
BAZELATT0, "An Internet-Based Power Quality
Monitoring System" IEEE International symposium on
Industrial electronics 2003.
[6] Anne P. Stublen, Craig M.Wellan, Steven A. Kell,
and Terry W. Langston, "Justifing and Planning An
Energy Monitoring System", IEEE Indstry Application
Magazine 1997
[7]Douglas S . Don, "Point of Utilization Power
Quality Study Results",IEEE TRANSACTIONS ON
INDUSTRY APPLICATIONS, VOL. 31, NO. 4,
JULY/AUGUST 1995
[8]
[9] S. R. I. Gabran, G. S. A. Shaker, E. F. El-Saadany,
M. M. A. Salama, ” Real-Time Power Quality
Monitoring Using MEMS Based Wireless Current
Sensors “,Proceedings of the IEEE International
Conference on Mechatronics & Automation Niagara
Falls, Canada • July 2005