Blog Archive

Thursday, 21 April 2016

POWER QUALITY MONITORING AND POWER MEASUREMENTS BY USING VIRTUAL INSTRUMENTATION

POWER QUALITY MONITORING AND POWER MEASUREMENTS BY USING VIRTUAL INSTRUMENTATION

ABSTRACT
The presented paper describes a virtual instrument used for monitoring and analysis of the relevant power quality parameters and power measurements. The metrological support block is realized in LabVIEW environment which uses advanced methods for measurement and recording of the power quality parameters in accordance with the European quality standards. In that way, a suitable hardware solution for signal conditioning and load control is proposed. The most important parameters (voltage, current, power) are recorded into text files which are further used for measurement data analyses. The measurement results are obtained by using waveform simulator METREL.
key words - Power Quality, Data Acquisition, Virtual

INTRODUCTION
The electric power is essential for running industrial production processes, for commercial use, for transport and other purposes. In the last years this dependency has increased and all these processes relay on the quality of electricity supply, namely power quality. The detection of the disturbances affecting the line voltages is one of the most qualifying points in the estimation of the “voltage quality” or “supply quality”. The correct assessment of the quality of the supplied voltage has become one of the key issues in the deregulated electricity market. Ensuring a “high quality” of the supply voltage is the main requirement for ensuring a high “power quality”. Great attention is therefore paid to the definition of suitable indexes of voltage quality and the definition of suitable measurement procedure to evaluate these indexes. A large number of power quality disturbances have been reported in the literature-some of them being transient in nature and others being related to periodic, steady – state operation.
Some of the more common disturbances are: voltage and current harmonics, voltage dips, electric noise, impulses, notches and flicker.
Because of these disturbances measurement of the electric quantities, such as voltage, current and power by using equipment commonly used for measurement of sinusoidal signals can result in errors. In this way, inclusion of the digital signal processing techniques can be much more adequate. Anyway, a suitable digital signal processing approach must be provided. In the recent years adoption of personal computers (PCs) in the field of the measurement technique offers great progress and flexibility. Step ahead for development of modern measurement systems is achieved by adopting the concept of Virtual Instrumentation. It is a methodology for realization of measurement instruments by using standard PC’s, hardware data acquisition components for signal conversions and specialized program platforms for processing and recording of the measurement results. In this paper a Virtual Instrument for power quality monitoring is proposed.

POWER QUALITY PARAMETERS
The ideal supply voltage is pure sinusoidal voltage with nominal frequency and nominal amplitude. Any variation from this is considered as a power quality event or a disturbance. One important aspect in the field of power quality is monitoring and control of the qualitative parameters of the electrical energy according to today’s standards. In that way, a big attention is paid to define the disturbances and determination of procedures for their measurement. A large number of power quality disturbances have been reported in the literature. In general, the parameters could be divided in two groups - voltage amplitude variations and wave-form distortion. A short classification of power quality parameters is given in Table I.
TABLE I
POWER QUALITY PARAMETERS
In the following section some theoretical analyses relied on the signal processing are reported.

SIGNAL PROCESSING ANALYZES
Analyzing a periodic signal u(t) with angular frequency w and having in mind the Nyquist criteria, the signal limited with it’s Nth harmonic can be represented by 2N+1 samples over the period T.
The active power value of the voltage u(t) and current i(t) is represented with the equation:
 ............................(1)
Analyzing (1), measurement of the active power demands estimation of two time dependent components.
The p(t) spectrum is given by:
.....................(2)
According to relation (2) the spectrum of p(t) is wider than that of u(t) and i(t) and is limited to its 2Nth harmonic. From this analysis it can be clearly seen that if the moment value and the spectrum of the power is required, u(t) and i(t) must be sampled with frequency twice than the sampling theorem criteria. Theoretically, it is possible to acquire only 2N+1 samples for the voltage and current, but in practice the sampling frequency must be significantly increased.
The same considerations can be applied for evaluation of the RMS value of u(t) which is expressed by the relation:
 ...............................(3)
The appropriate evaluation of (1) and (3) also demands for proper definition of the observation interval. The observation interval needs to be an integer multiply of the signal period T in order to minimize the leakage errors in the frequency domain. Otherwise under non-synchronous sampling conditions an interpolation algorithm must be employed.

HARDWARE SOLUTION
The hardware is realized by using National Instruments multifunctional data acquisition (DAQ) card containing 32 analog input channels with resolution of 16 bits, programmable input range (±10V) and sampling rate up to 250kS/s. Two hardware boards for voltage and current signal conditioning are realized using six analog input channels, and three digital channels for load switching. The current measurement signals are obtained by using three electronic transducers incorporating current transformers and the load switching is realized by three relay switches controlled by the DAQ card. The voltage measurement signals from the power lines are obtained with precise resistive dividers. Block diagram of the hardware solution is shown in Fig.1
fig. 1. Hardware block diagram
The signal conditioning circuits should provide few functions like: galvanic isolation from supply network, attenuation or amplification of the measured signals, protection of DAQ card and noise suppression. The main role of the signal conditioning circuit is to adjust the sensor’s output signal span to match the analog-to-digital converter (ADC) input range. The block diagram of the signal conditioning circuits is shown on Fig.2
fig. 2. Signal conditioning circuit block diagram
In the absence of proper signal conditioning the signal can exceed the ADC input range and cause saturation of its output. The signal is first attenuated or amplified and DC level shifted with the input attenuator/amplifier. The next block is a unity gain buffer with very high input impedance which is used for adaptation of the impedances of the attenuator and the filter. Sixth order active anti-aliasing filter has been designed with cut-off frequency of 6 kHz and near flat amplitude frequency and phase-frequency characteristics. The filter is used before a signal sampler to restrict the signal’s bandwidth and to satisfy the sampling theorem. Fast circuits for limiting the input voltage to the ADC input range have been designed. These circuits allow signals below a specified input level to pass unaffected while attenuating the peaks of stronger signals that exceed this level. The used data acquisition card is with galvanic isolated inputs. The galvanic separation eliminates all forms of operating disturbances such as ground loop and potential separation.

LABVIEW BASED VIRTUAL INSTRUMENT
LabView is a National Instrument development software that allows rapidly and cost-effectively interface with measurement and control hardware, data analyzes, share results, and distribute systems. It is based on graphical programming techniques that allow programming with visual expressions, spatial arrangements of text and graphic symbols. The software is based on a block diagram (intended for graphical program development) and front panel (graphic interface formed by switches and panels intended for user interaction).The Virtual Instrument described in this paper consists of two parts:
1) Power line voltage analyzes
2) Current and power analyzes
Fig.3 represents the voltage analyzes block diagram. This block is identical for all three power lines.
Fig. 3. Signal conditioning circuit block diagram
Samples from three analog channels are successively taken with sampling frequency of 2kHz per channel for sampling interval of 100ms and are fed to a signal selection block. Every sample is multiplied by a constant factor which indeed is the attenuation coefficient of the signal conditioning circuits. The obtained signal is further processed and used for measurement of the RMS, total harmonic distortion (THD), frequency and phase difference of the input signal.
The virtual instrument contains two sub-virtual blocks for filtration of the spectral components and data recording. The filtration block contains sixth order Chebyshev band pass IIR filters with central frequency at the odd spectral components and the data recording sub-virtual block stores the results for RMS, frequency and THD of the input signal in interval of 100ms.
The programming points are implemented as follows:
• Sample gathering;
• Voltage RMS calculation, equation (3);
• Frequency measurement;
• Phase difference calculation;
• Analyzes of the Total Harmonic Distortion, relation (4);
100,n 2,3..N
....................(4)
• Analyze amplitude spectrum by using Amplitude
spectrum VI, equation (5);
......................(5)
• Analyze signal power spectrum using Auto Power spectrum VI, equation (6);
...............(6)
where * is a complex conjugate.
• Display the signal waveform, amplitude and power spectrum on a waveform graph;
• Filtration and measurement of RMS for 5 odd spectral components;
For this purpose a sixth order Chebyshev band pass IIR filters are used with central frequency at the odd spectral components. The pass band of the filters is 20Hz.
• Write the amplitude RMS, signal frequency and THD into text files;
All measurement data with time and date of recording are recorded into separate text files. These data can be further used for data storage and analysis by using some graphical presentation software such as DIAdem or MS Excel.
Fig.4 represents the front panel of the virtual instrument
Fig. 4. Front panel of the virtual instrument

CURRENT AND POWER ANALYZES
Three current channels are sampled with frequency of 2kHz per channel and a sampling interval of 100ms. Every sample is multiplied by constant factor corresponding to the transducer attenuation. The obtained signal is further processed and used for measurement of the RMS, total harmonic distortion (THD), and the active and reactive power of the input signal.
Fig.5 shows the LabView programming block diagram for current and power measurements for one measurement channel.
Fig. 5. Current and power measurements block diagram
The programming points are implemented as follows:
•Sample gathering;
•Current RMS calculation;
•Analyzes of the Total Harmonic Distortion;
•Analyze amplitude spectrum;
•Current phase measurement and current-voltage phase difference calculation;
• Active (7) and reactive (8) power calculation;
• Display the signal waveform and amplitude spectrum on a waveform graph;
• Write the current RMS, active and reactive power into a text file;
The front panel corresponding to the LabView programming sequence is shown in (in) Fig.6
Fig. 6. Front panel of the virtual instrument for current and power measurements

MEASUREMENT RESULTS
Measurement of the power quality is usually defined as a measurement of low frequency conducted disturbance with the addition of transient phenomena. The ideal single phase supply voltage is a pure sine wave with nominal frequency and voltage amplitude. Any variation of this is considered as a power quality disturbance.
The following parameters of supply voltage are influenced by disturbances:
• Frequency
• Voltage level
• Wave shape
• Symmetry of three phase system
In the experimental tests one phase power simulator Metrel MI 2191 is used. The instrument is able to simulate typical voltage and current shapes, such as voltage and current harmonics, flickers, transients, voltage interruptions etc. Three examples for measurement of transients, flickers and harmonics are shown in the results.
• Transient is a term for short, highly damped momentary voltage or current disturbance Fig.7 and Fig.8;
• Flicker is a visual sense caused by unsteadiness of a light. The level of the sense depends on the frequency and magnitude of a light change and the observer itself Fig.9;
• Harmonics are any periodic deviation of a pure sinusoidal voltage Fig.10;
Fig.11.a, Fig.11.b and Fig.11.c represent the recorded values for the RMS voltage, frequency and THD during 10 hour interval by using the text files from the virtual instrument. In the second experiment measurement of current and power of a 100W light is presented (Fig.6).
Switching of the light is controlled by the DAQ card.
Fig. 7. Transients caused by SRC switching
Fig. 8. High transient pulse caused by lightning
Fig. 9. Flicker with square distribution
Fig. 10. Highly distorted signal of a simple chopper voltage converter
Fig. 11.a Current and power measurements block diagram
Fig. 11.b. Current and power measurements block diagram
Fig. 11.c. Current and power measurements block diagram
In Fig.11.a, Fig.11.b and Fig.11.c recorded values for the RMS voltage, frequency and THD during 10 hour interval are presented. The graphs are obtained by using the data records from text files presented in MS Excel. The virtual instrument detected appearance of short voltage interruption, as it can be seen from the results.

CONCLUSIONS
This paper has summarizes theoretical and practical facts concerning the monitoring and analysis of power quality parameters. One possible hardware solution for signal conditioning in combination with DAQ card is implemented. This system is used for measurement and analyzes of different power quality disturbances. The signal conditioning module is developed in a way so it can be used for measurement of all power quality parameters. The voltage, current and power analyses are completely developed using virtual instrumentation techniques implemented in LabView software. Measurement data are recorded in text files for further analysis by using some graphical presentation software such as DIAdem or MS Excel. The performance of the proposed equipment is good enough for an effective application to test the power quality parameters.
The implemented system worked correctly in real time and detected and stored different types of disturbances.

REFERENCES
[1] M. H. J. Bollen, “What is power quality?”, Elect. Power Syst. Res.vol.66, pp. 5-14, 2003
[2] E. Acha, M. Madrigal. (2002, January) Power systems harmonics, Wiley
[3] R. G. Ellis, “Harmonic analysis of industrial power systems”, IEEE Trans. Ind. Apl., vol.32, no.2, pp.209-214, May 2001
[4] EN50160 Power quality standard, Power quality access meters and EN50160, Simens, May 2003
[5] G. Proakis, Dimitris G. Manolakis. (2007) Digital Signal Processing, Pearson Prentice Hall
[6] National Instruments, LabView Measurements Manual
[7] L. Cristaldi, A. Ferrero, R. Ottoboni: “Measuring equipment for the Electric Quantities at the Terminals of an Inverter-Fed Induction Motor”, IEEE Tech. Update Series, Instr. and Meas. Technology and Applications, ed. E. Petriu, 1998
[8] Power Simulator MI 2191 Instruction Manual
[9] D. Kottick. (2008, August) Power Quality monitoring system – voltage dips, short interruptions and flicker, Elect. Power Qual. & Utilisagion Magazine Vol.3. (Issue.2), [Online]. Available: http://www.scribd.com/doc/3306358/Power-Quality-Monitoring-System-Voltage-Dips-Short-Interruptions-and-Flicker
[10] A. Greenwood. (1991, April 4). Electrical transients in power systems (2nd ed.) [Online] . Available: http://www.amazon.ca/gp/reader/0471620580/ref=sib_dp_pt/187-5038544-5391220#reader-link

SPEED SYNCHRONIZATION OF MULTIPLE BLDCMOTORS IN TEXTILE & PAPER MILLS USING MICRO CONTROLLER

SPEED SYNCHRONIZATION OF MULTIPLE BLDCMOTORS IN TEXTILE & PAPER MILLS USING MICRO CONTROLLER
ABSTRACT
Multiple motor setups have vast application in industries. The application can be in textile mills, paper mills and robotics. In these all application the synchronization is must between the motors to perform certain task. Speed synchronization is very essential in these all operation to avoid damage to the product. The synchronization is done by using microcontroller chip which controls the master slave whose speed is followed by the other motors which all have to be synchronized.
Key words: Speed synchronization, textile mills, paper mills, microcontroller chip, and master slave.

INTRODUCTION
In this project motors are wirelessly synchronized to make the differential speed error among multiple motors to zero. One motor acts here as transmitter and rest of all as receivers. So, if a particular speed is set in the transmitter then automatically rest of the motors speed would be matched to the same speed of the master slave. A display unit connected with the module will display the full speed in rpm and the observer can enter the required percentage with help of a keypad to obtain the required speed for rest of the motors. The pulse width output from the microcontroller would be automatically adjusted by the microcontroller to maintain the DC power to the motor such that the entered speed percentage matches the running RPM. The above operation is taken care by using OPTO isolator and a MOSFET connected to motor. The aim of this project is synchronization of multiple motor system by making use of wireless technology. This project uses radio frequency to synchronize different motors speeds. This system is used in many industries like textile mills, steel plants, and paper plants where large numbers of the motors used on conveyor are desired to be synchronized for performing certain task. In paper mills & textile mills where multiple motors work together on a conveyor belt to draw clothes, it is desirable that all the motors should run at same speed, so that balanced tension can be achieved to avoid damage to the clothes. Manpower and time is also saved in this arrangement. User can set the desired rpm for the motors. As this system is Wireless, it is easy to operate and control the system which eases the whole process. The speed synchronization of multiple motor arrangements is very important task which is here carried out wirelessly by using microcontroller chip. Due to wireless connection between the motors the motors can be kept in any position it is not necessary as earlier old concept of conveyor belt that the motors should be kept only on parallel series or mixed with each other. Multiple motors used in textile industries & paper mills or any other for cloth drawing or to pull the paper as in paper mill need to be synchronized for same speed. Traditionally we use conveyor belts in order to synchronize multiple motor for such works. But that has many draw backs. This can be come over by using the wireless synchronization of multiple motors.

Drawbacks of using conveyor belt for speed synchronization. [Earlier Method]
• The master slave [main motor] will be the hardest to start, stop and maintain smooth motion on the whole process.
• All the motors should be connected in Parallel.
• As there are moving elements like belts between the motors, we need to change then if it is not serviceable and regular service in also required when they will get damage.
• The design of master slave or follower motors in the system may be series, branch, or mixed.
• Again the system and its product will determine what piece of equipment is directly synched or digitally rationed to each other piece of equipment.
Maintenance is bit difficult as there are more mechanical parts in the system.

Solution for old Concept of Conveyor Belt:
There are so many other different techniques for the solution this problem. But those are not that reliable. In order to reduce man intervention and save the labor cost and time both we can use microcontroller to control, operate and synchronize this task. As compared to conveyor belt method is compatible as it involves hardware as well as software in this module. We can program microcontroller to control its speed and also can set the required speed through keypad to get our work done. Synchronization can done either wired or wirelessly. In this project we are using RF communication technology for wireless communication.

HARDWARE REQUIREMENTS:
8051 series Microcontroller, Crystal, RF MODULE, LEDs, Resistors, Capacitors, Diodes, Transformer, Voltage Regulator, IR sensor, MOSFET, Keypad, Transistor, OPTO-isolator, BLDC fan.

SOFTWARE REQUIREMENTS:
MPLAB & CCS C compiler. Language: Embedded C or Assembly.

BLOCK DIAGRAM FOR TRANSMITTING UNIT:
 
BLOCK DIAGRAM FOR RECEIVER UNIT:
BLOCK DIAGRAM FOR RECEIVER UNIT:
HARDWARE COMPONENT:
WORKING OF PROJECT:
·  The speed of the motor is sensed by an IR pair and is displayed on LCD and is also fed to the MC.
· The required speed is entered using a keypad which is interfaced with MC.
·  The motor is interfaced to the MC through aopto-coupler & a MOSFET which drives the motor.
· PWM pulses are generated from MC according to the entered speed and the motor is adjusted to that speed and maintained at that speed.
FLOW CHART:
SOFTWARE REQUIRED:
· Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051 MCU families.
·Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.
·i.e., the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x86 (underlying microprocessor in the computer).
· For example compilers for Dos platform is different from the Compilers for Unix platform So if one wants to define a compiler then compiler is a program that translates source code into object code.
ADVANTAGE OF USING BLDC MOTOR OVER BRUSHED DC MOTOR:
The BLDC motor has to many advantages over the brushed DC motor which is shown below:
·       Higher efficiency and reliability
·       Lower acoustic noise due to absence of brushes
·       Smaller and lighter
·       Greater dynamic response
·       Better speed versus torque characteristics
·       Higher speed range
·       Longer life span

OBSERVATIONS AND CONCLUSION:
We can tabulate different-different speeds of motor as we keep on giving input from the Keypad and same speed change can be observed and displayed at the receiving motors. From this project we can successfully control the speed of multiple motors wirelessly through RF communication. Whatever the percentage of speed that we enter at transmitter unit of system same can be observed at the receiving motors. The whole operation is made simple by using this technology. The future works include giving intelligence to the whole system like if any of the motor senses any fault, the whole system will shut down.

REFERENCES:
[1]. MOTOR SELECTION for BELT-CONVEYOR DRIVES by Garry E. Paulson, P. Eng.
[2]. http://www.bonfiglioli.com/en/industrial/applications/conveyors/
[3]. Unique Conveyor Problems and Solutions :- Fenner Dunlop
[4]. The Use of PIC Microcontrollers in Multiple DC Motors Control Applications By Dr. Steve C. Hsiung
[5]. Wireless Digital Control and Synchronization of Master-Slave Multiple Motors Using Microcontroller PratikshaShingade, AratiDalavi, PriyankaShipate, Megha Barge
[6] http://www.controldesign.com

ULTRA-FAST ACTING ELECTRONIC CIRCUIT BREAKER

ULTRA-FAST ACTING ELECTRONIC CIRCUIT BREAKER
ABSTRACT
The steadily increasing population has more demand and consumption of electric energy in the market as raised and that of equipment’s used like electrical and electronics are also costlier. So to protect the electrical system from overload or short circuit here is one possibility, which is by ultrafast acting electronic circuit breaker. A circuit breaker is automatic operated switch designed to shut down the power supply when overloaded. The tripping depends on the current passing through the CT’s which is connected in series with load. It uses the PIC- microcontroller into which program is dumped for the operation. The unit is extremely fast and over comes the drawback of thermal type circuit breaker like MCB based on a thermal bimetal lever-trip mechanism which is very slow. Here an electronic circuit breaker is designed which is based on the current sensing across a series element typically a CT (current Transformer). The current sensed which is compared against the preset value proportional to the voltage by comparator which is inbuilt in PIC Micro controller to generate an output that drives a relay through a MOSFET to trip the load very fastly.
Keywords: Microcontroller, CT, Relay, MOSFET.

INTRODUCTION
In this project electrical system can be protected from the over load condition. Industrial instruments or home appliances failures have many causes and one of the main causes is over load. The primary of the distribution transformer or any other transformer is designed to operate at certain specific current, if that current flowing through that instrument is more than the rated current, then immediately the System may burn because of over load, through this project we are going to protect the system from over load condition. In this project work for generating high current or over load current more loads are applied to the circuit; so that the current will be increased. Whenever the over current is drawn by load the circuit will be tripped. To trip the circuit we are using one relay which will be controlled through PIC microcontroller. When over load occurred the relay will trip the total circuit. And it will be monitored on the LCD. LCD displays are used to display the status of circuit breaker. For protection from over current condition first we have to measure the total load current. Here we are using CT for measuring the load current and the output of CT is given to ADC for converting analog output of CT into digital data. Hence ADC output is given for monitoring purpose. When current increases behind certain limit then we are going to trip the load by using relay. In this project we are using 230v bulbs as a load. We are going to increase the load by increasing the number of bulbs ON. When we ON more bulbs it causes over load condition and microcontroller will detect that and it will trip the total load by using relay through MOSFET which acts as switching circuit.

EXPLANATION
The main power supply is given directly to load through CT and step down transformer. 230 volt is Step down to 12v and supplied to regulated supply unit which consist of bridge rectifier to convert ac to dc and passed through 7805 regulator to get 5v supply for working of microcontroller, capacitor filters are used to remove the ripples to get pure constant dc voltage. The current passing to load is sensed by the current transformer and output of CT will be in analog form is given to the ADC pin of PIC microcontroller for converting the analog output to digital data. The current sensed is compared with the inbuilt comparator of microcontroller which as pre-set reference value. If the current sensed is less than the pre-set value than MOSFET will be in OFF state and relay will not trip the supply to load. As we increase the load current drawn is more so if the current is increase than the pre-set value than MOSFET will turn ON and energizes the relay. Thus LED used as an indicator is properly biased, and it glows. The relay coil gets energized, causing the armature to shift its position to the normal open point from the normal closed point.
The AC supply to the load is thus cut off from the load and the load is tripped. Once the circuit is tripped it must be reset for further use using reset button as shown in Fig.1. In either case, the microcontroller is programmed so as to show the status of the output on the LCD interfaced to it. In case of normal operation microcontroller will pin will receive 5v dc from regulator and accordingly displays the status on the LCD. In case of any abnormalities, the microcontroller pin doesn’t receive the 5V input signal and the related status is accordingly displayed on the LCD.
 
Fig.1. Block Diagram of Proposed System.
TABLE I: Trip Current Setting


 
Fig.2. PIC Microcontroller.
During this implementation an 8 bit peripheral interfaced controller microcontroller is used with following specifications as shown in Fig.2.
·       RAM 256 bytes
·       ROM 4 kilo bytes
·       8 bit Processor
·       4 I/O Ports
·       Timers 2
·       Power saving mode
·       RXD TXD interfacing

HARDWARE IMPLEMENTATION
The fig.3 shows the hardware implementation of ultra fast acting electronic circuit breaker using microcontroller.
 
Fig.3. Hardware implementation.
CONCLUSION
Now A days the protection and control of equipment plays a very important role. To avoid electrical failure we use fast responding circuit breakers because of its considerable accuracy in fault detection and cut off- time, and also its smooth operation compared to conventional type. Future Scope: The operating time of electromagnetic relay can be improved by using sophisticated electronic components.

REFFERENCE
[1]Raj kamal –Microcontrollers Architecture, rogramming, Interfacing and System Design.
[2]Mazidi and Mazidi –Embedded Systems.
[3]PIC-Microcontroller Manual – Microchip.
[4]A M S Almadji & J G J Sloot review of Current limitting IEEE.
[5]T. Genji , Nakamar: high speed circuit Breaker for electric power system.
[6]200WAS RI BIN ABU ,HARUN:Over Current protection using PIC Microcontroller IEEE.