Book Intro
Book Intro
Book Intro
INTRODUCTION
1.1 GENERAL
1
Extended power interruptions
Harmonic distortion
Ground loops
High-speed transients
Electrical noise
Lightning damage or lack of preparedness
The important thing to know is that the power quality at your place of
business can have a big effect on your work. You have to make sure the
power coming in is of the right quality and that your machines are set to
function properly with the power they are supplied.
3
that is too small or unreliable for traditional grid use. A microgrid allows
communities to be more energy independent and, in some cases, more
environmentally friendly.
1.6 OBJECTIVE
CHAPTER 2
4
LITERATURE SURVEY
YEAR: 2019
DESCRIPTION:
5
AUTHOR: Bousnoubra Chouaib, Hassen Belila
YEAR: 2023
DESCRIPTION:
The quality of electrical power plays vital role in the utility systems and
industry. The quality of the power tends to have a direct economic impact on
consumers and suppliers. Growing consumer demands lead to power quality
issues. Many consumers may experience severe technical and economic impacts
due to power quality problems such as voltage sag, swell, harmonics and
voltage interruptions. In this paper the main focus is on UPQC, which is a
combination of series and shunt active power filters. The series APF alleviates
voltage based distortions, while shunt APF mitigates current based distortions.
UPQC alleviates the voltage and current based distortions concurrently as well
as independently. UPQC improves power quality by compensating both
harmonics and load current which thereby makes source current and load
voltage sinusoidal at the required voltage level. The modeling of series APF,
shunt APF and the UPQC has been carried out using MATLAB/Simulink.
YEAR: 2015
DESCRIPTION:
The major power quality issues are voltage sag, voltage swell and voltage
harmonics in distribution system. These power quality issues are solved by
custom power conditioning devices such as Dynamic Voltage Restorer (DVR),
Distributed Static Compensator (DSTATCOM) and Unified Power Quality
Conditioner (UPQC). This paper presents the ability of Unified Power Quality
6
Conditioner to mitigate voltage sag, voltage swell and voltage harmonics in
distribution system. UPQC is modeled in MATLAB_SIMULINK environment
with Fuzzy Logic (FL), Neural Network (NN) controllers. The performances of
UPQC with two controllers are compared.
YEAR: 2019
DESCRIPTION:
7
YEAR: 2019
DESCRIPTION:
Recently power quality has become more important issue. Now a day’s power
electronics based appliances are widely used in industries and in distribution
system which creates more power quality problems. The power electronics
based power conditioning devices can be an effective solution to improve power
quality in power system. Unified Power Quality Conditioner (UPQC) is one of
the custom power devices which are used to solve voltage and current related
problems simultaneously. In this paper, combined operation of UPQC with
Distributed Generation (DG) is discussed. This system integrated with wind
energy is able to compensate voltage sag/swell, load current disturbances. Also
proposed system is able to compensate voltage interruption and active power
transfer to load and source in both interconnected and islanding mode and help
to improve power quality. The operation of UPQC with DG has been evaluated
through simulation studies using MATLAB/SIMULINK software.
CHAPTER 3
EXISTING SYSTEM
3.1 INTRODUCTION
8
Increasing Electrification Of Daily Life Causes Growing Electricity
Consumption, Rising Number Of Sensitive/Critical Loads Demand For High-
Quality Electricity, The Energy Efficiency Of The Grid Is Desired To Be
Improved, And Considerations On Climate Change Are Calling For Sustainable
Energy Applications. The Grid-Interfacing Architecture, Taking Into Account
How To Interconnect DG Systems In The Future Grid With Enhanced Voltage
Quality. The Desirable Approach Should Be Able To Maintain High-Quality
Power Transfer Between DG Systems And The Utility Grid, Even In Disturbed
Grids, And Be Able To Improve The Voltage Quality At The Both User And
Grid Side. As a basic structure of the smart grid, plug-and-play integration of
microgrids is essential, which can function whether they are connected to or
separate from the electricity grid. In existing system , adopts the conventional
series–parallel structure to construct a grid-interfacing converter system. By
reconfiguring the system functionalities, a versatile powerelectronics-based
interface is derived for DG applications, voltage quality enhancement, and
flexible power transfer.
A general structure consisting of two converters, one in series and the other one
in parallel with the grid, has conventionally been used for power quality
regulation or power flow control in transimission and distribution systems. The
capacitor between the series and parallel converters serves as a common dc bus.
9
Figure 3.2.1: Single-line diagram of a conventional series–parallel structure
In order to maintain voltage of good quality for the local loads, at least two
shunt converters are required for the shunt-connected system in Fig. 2. One is
the same as the parallel converter in the series–parallel system for supplying the
local loads or the grid with a certain amount of power based on the distributed
sources; the second one must be used for regulating the voltage under disturbed
10
grid conditions. Considering that the feeder could be inductive over-head lines
or resistive underground cables, all the converters used for compensation are
installed with primary sources so as to inject active or reactive power for
voltage regulation. Although the two shunt converters can be combined into one
larger-power converter in practice, the hardware cost can roughly be considered
twice the cost of one low-power converter.
The distributed grid module is divided into two levels. The fundamental
unit of the first level, consisting of a series–parallel grid-interfacing converter
system, distributed sources, energy storages, and local loads, is connected to the
utility grid at the point of connection (PoC). It is pointed out that sensitive loads
demanding for a continuous and balanced sinusoidal voltage can be put in as
local loads.To configure the system module for more general applications, a
four-leg converter is used as the basic pulse width modulation converter unit for
a case study on three-phase four-wire systems. Because of the extra degree of
freedom brought by the fourth leg of the structure, the outputs of the three
phases become independent. As a result, a balanced output voltage can be
11
achieved for unbalanced loads, and the neutral current in an unbalanced or
distorted utility situation can be handled.
To specify the Exisiting concepts and system control, a laboratory set-up has
been designed. By defining multilevel control objectives for the system module,
it has been shown that the proposed system can ride through grid disturbances,
maintain good-quality voltage and achieve flexible power control. Also, the
possibilities to integrate auxiliary functions like grid unbalance correction and
harmonic current compensation into the system .
UPQC is mainly used reduce the power quality problems in micro grid,
which takes place when micro grid is connected with the utility grid enormous
amount of power is produced between them and leads to voltage unbalances and
harmonics. Here unified power quality conditioner is placed between the micro
grid and utility grid. The UPQC is the most versatile FACTS device with all
capabilities voltage regulation, series compensation and phase shifting. It
consists of two voltage source converter (VSC) coupled through a common dc
terminal.
12
Other converter is inserted in series with the transmission line and is
named as series converter.
13
FACTS devices. Interline power quality conditioner (IPQC) is a new concept of
FACTS controller for series compensation with the unique capability of power
flow management among multiple line of a system. Voltage source converter is
employed in the IPQC. A simple and typical test system model has been
developed to check the performance of IPQC an advanced FACTS controller. It
is common that, the IPQC employs a number of dc to ac inverters in order to
offer series compensation for each line. As a new concept for the compensation
and effective power flow management, it addresses the target of compensating a
number of transmission lines at a given substation. The IPQC is a combination
of two or more independently controllable SSSC which are solid-state voltage
source converters. Construction of IPQC is same as that of unified power
quality conditioner, has two voltage source converters.
Fig
ure 3.6: IPQC Device
15
CHAPTER 4
PROPOSED SYSTEM
16
4.1.VOLTAGE AND CURRENT
17
harmonics, reactive power and elimination of the unwanted effects of non ideal
ac mains supplies only unity power factor sinusoidal balanced three-phase
currents. It is considered an ideal AF which eliminates voltage and current
harmonics and has the capability of giving clean power to critical and harmonic-
prone loads, such as computers, medical equipment, etc. It can balance and
regulate terminal voltage and eliminate negative-sequence currents. The demits
of such equipment is the large cost and structure complexity because of the
large number of solid-state devices involved[14]. The Structure of UPQC
shown in Fig. 4. is similar to a DFIG except the grid side converter is connected
in series with the stator before it is connected to the grid through a connection
transformer. The RSC rotor side converter controls the active and reactive
power output to the grid according to the maximum power tracking curve
designed for the generator. distortion and at the desired magnitude voltage at the
load terminal. The injected voltage by the series inverter to maintain voltage at
the load terminal at reference value. The control system of UPQC controller is
comprised of three following parts A. Shunt inverter control B. DC link voltage
control C. Series inverter control.
The UPQC shunt inverter controlling block diagram shown in fig.3 using
synchronous reference frame theory where the sensitive load currents are (ILa,
ILb, ILc). The measured currents of load are transferred into dq0 frame using
sinusoidal functions through dq0 synchronous reference frame conversion. The
sinusoidal functions are obtained through the grid voltage using PLL. Here, the
currents are divided into AC and DC component. The active part of current is id
while iq represent the reactive one. AC and DC elements can be derived by a
low pass filter. Controlling algorithm corrects the system's power factor and
compensates the all current harmonic components by generating the reference
currents as relation (2): Here, the system currents are: Switching losses and the
18
power received from the DC link capacitors through the series inverter can
reduce the average value of DC bus voltage. Other distortions such as unbalance
conditions and sudden changes in load current can result in fluctuation in DC
bus voltage. Here PI controller is necessary in order to track the error between
the measured and desired capacitor voltage values. The resulted controlling
signal is applied to current control system in shunt voltage source inverter
which stabilizes the DC capacitor voltage by receiving required power from the
grid. ∆idc, the output of PI controller is added to the q component of reference
current and so the reference current would be as relation (4): As shown in fig. 4,
the reference currents are transferred into abc frame through reverse conversion
of synchronous reference frame. Resulted reference currents (IFa * IFb * and
IFc*) are compared with the output currents of shunt inverter (IFa, IFb and IFc)
in PWM. Now, the current controller and the required. controlling pulses are
generated. Required compensation currnt is generated by inverter applying these
signals to shunt inverter's power switch gates
19
voltage distortions and maintains load voltage 3-phase balanced sinusoidal
through compensation duty. The synchronous reference frame theory is applied
to achieve that aim. In this method the desired value of load phase voltage in d-
axis and q-axis is compared with the load voltage and the result is considered as
the reference signal. It is considered an ideal AF which eliminates voltage and
current harmonics and has the capability of giving clean power to critical and
harmonic-prone loads, such as computers, medical equipment, etc. It can
balance and regulate terminal voltage and eliminate negative-sequence currents.
The demits of such equipment is the large cost and structure complexity because
of the large number of solid-state devices involved.
20
4.4 BLOCK DIAGRAM EXPLANATION
21
4.2.3.Optimization and Refinement:
Optimize the control algorithms and system parameters to improve the
efficiency, stability, and response time of the UPQC.
Address any issues or limitations encountered during testing and refine the
design as needed.
It's important to note that while implementing a UPQC using an Arduino
microcontroller can be a valuable learning experience, it may have limitations in
terms of processing power, sampling rate, and scalability compared to dedicated
industrial controllers or digital signal processors. Therefore, this approach is
best suited for educational or small-scale experimental projects rather than
commercial or industrial applications. Additionally, ensure safety precautions
are taken when working with high-voltage and high-current electrical systems.
22
ADVANTAGE
23
CHAPTER 5
HARDWARE IMPLEMENTATION
5.1.HARDWARE REQUIREMENT
ATMEGA 328
POWER SUPPLY
BRIDGE RECTIFIER
MOSFET
DRIVER BOARD
STEP UP TRANSFORMER 230V TO 12V
STEP DOWN TRANSFORMER
RESISTIVE LOAD
DC LOAD
LCD
CURRENT SENSOR
SPECIFICATION:
24
website. Layout and production files for some versions of the hardware are also
available. "Uno" means one in Italian and was chosen to mark the release of
Arduino Software (IDE) 1.0. The Uno board and version 1.0 of Arduino
Software (IDE) were the reference versions of Arduino, now evolved to newer
releases. The Uno board is the first in a series of USB Arduino boards, and the
reference model for the Arduino platform. The ATmega328 on the Arduino Uno
comes preprogrammed with a boot loader that allows uploading new code to it
without the use of an external hardware programmer. It communicates using the
original STK500 protocol. The Uno also differs from all preceding boards in
that it does not use the FTDI USB-to-serial driver chip. Instead, it uses the
Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial
converter
The Arduino project started at the Interaction Design Institute Ivrea (IDII)
in Ivrea, Italy. At that time, the students used a BASIC Stamp microcontroller at
a cost of $100, a considerable expense for many students. In 2003 Hernando
Barragán created the development platform Wiring as a Master's thesis project
at IDII, under the supervision of Massimo Banzi and Casey Reas, who are
known for work on the Processing language. The project goal was to create
simple, low-cost tools for creating digital projects by non-engineers. The Wiring
platform consisted of a printed circuit board (PCB) with an ATmega168
microcontroller, an IDE based on Processing and library functions to easily
program the microcontroller. In 2003, Massimo Banzi, with David Mellis,
another IDII student, and David Cuartielles, added support for the cheaper
ATmega8 microcontroller to Wiring. But instead of continuing the work on
Wiring, they forked the project and renamed it Arduino. Early arduino boards
used the FTDI USB-to-serial driver chip and an ATmega168. The Uno differed
from all preceding boards by featuring the ATmega328P microcontroller and an
25
ATmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial
converter.
5.2.1.SPECIFICATION
LED: There is a built-in LED driven by digital pin 13. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off.
VIN: The input voltage to the Arduino/Genuino board when it's using an
external power source (as opposed to 5 volts from the USB connection or
other regulated power source). You can supply voltage through this pin, or,
if supplying voltage via the power jack, access it through this pin.
5V: This pin outputs a regulated 5V from the regulator on the board. The
board can be supplied with power either from the DC power jack (7 - 20V),
the USB connector (5V), or the VIN pin of the board (7-20V). Supplying
voltage via the 5V or 3.3V pins bypasses the regulator, and can damage the
board.
3V3: A 3.3 volt supply generated by the on-board regulator. Maximum
current draw is 50 mA.
GND: Ground pins.
27
IOREF: This pin on the Arduino/Genuino board provides the voltage
reference with which the microcontroller operates. A properly configured
shield can read the IOREF pin voltage and select the appropriate power
source or enable voltage translators on the outputs to work with the 5V or
3.3V.
Reset: Typically used to add a reset button to shields which block the one on
the board.
5.3 POWER SUPPLY
There are various types of power supplies, each designed for specific
applications and requirements.
29
5.4 BRIDGE RECTIFIER
When an AC voltage is applied to the input terminals of the bridge rectifier, the
diodes conduct alternately, allowing current to flow through the circuit during
both the positive and negative half-cycles of the input waveform. As a result,
the output voltage across the load resistor is a pulsating DC voltage, with the
negative half-cycles inverted to positive by the diode configuration.
To smooth out the pulsating DC voltage and obtain a steady DC output, a filter
capacitor is often connected across the output terminals of the bridge rectifier.
This capacitor stores charge during the peaks of the pulsating waveform and
30
releases it during the troughs, effectively reducing the ripple voltage and
producing a more stable output.
Bridge rectifiers are widely used in various electronic applications due to their
simplicity, efficiency, and ability to convert AC voltage to DC voltage with
relatively low cost and complexity. They play a crucial role in powering
electronic devices and equipment, ranging from small household appliances to
industrial machinery
5.5 MOSFET
31
Applications: MOSFETs are used in a wide range of electronic circuits and
systems, including power amplifiers, digital logic circuits, switching regulators,
motor control circuits, and voltage regulators. They offer advantages such as
high switching speed, low power consumption, high input impedance, and
compatibility with integrated circuit (IC) fabrication processes.
Signal Generation: Driver boards generate the required control signals, such as
voltage or current pulses, timing signals, or modulation signals, to drive the
32
target device. These signals may be generated based on input commands from a
microcontroller, digital signal processor (DSP), or other control systems.
Overall, driver boards play a crucial role in driving and controlling electronic
devices and systems, providing the necessary signals, power, and protection to
ensure reliable operation and efficient performance in a variety of applications
across industries such as robotics, automotive, industrial automation, and
consumer electronics.
33
proportionally, according to the principle of electromagnetic induction. It is
commonly used in various electrical and electronic applications where a higher
voltage is required than the input voltage.
34
It is widely used in electrical and electronic applications where a lower voltage
is required than the input voltage.
35
VI, where P is the power in watts (W), V is the voltage across the load in volts
(V), and I is the current flowing through the load in amperes (A).
5.10 DC LOAD
Types of DC Loads:
36
Electronic Loads: Electronic loads are more complex devices that can
dynamically adjust their impedance to simulate various load conditions. They
are often used in testing and characterization of power supplies, batteries, and
other DC sources.
LCD stands for Liquid Crystal Display. It's a type of display technology that
utilizes liquid crystals to produce images.
37
Structure: An LCD typically consists of several layers. These layers include two
polarized glass panels with a layer of liquid crystals sandwiched between them.
The liquid crystals are usually twisted in their natural state, but when an electric
current is applied, they untwist to varying degrees, allowing light to pass
through.
38
A current sensor is a type of sensor used to measure the electrical current
flowing through a conductor or circuit. It provides real-time feedback on the
magnitude and direction of current, allowing for monitoring, control, and
protection in various electrical and electronic systems.
Hall Effect Sensors: These sensors use the Hall effect to measure the magnetic
field generated by the current flowing through a conductor. They are non-
contact sensors and are commonly used in automotive, industrial, and consumer
electronics applications.
Current Transformers (CTs): CTs are passive devices that induce a secondary
current proportional to the primary current flowing through a conductor. They
are widely used for monitoring and protection in power distribution systems and
electrical equipment.
Hall Effect Current Sensors: These sensors utilize the Hall effect to measure the
magnetic field generated by the current passing through a magnetic core. They
offer high accuracy, wide bandwidth, and galvanic isolation, making them
suitable for high-performance applications.
39
Accuracy and Resolution: The accuracy and resolution of current sensors vary
depending on factors such as sensor type, technology, measurement range, and
calibration. High-precision sensors offer accurate measurement with minimal
errors, making them suitable for precise control and monitoring applications.
40
CHAPTER 6
SOFTWARE IMPLEMENTATION
The source code for the IDE is released under the GNU General Public
License, version 2. The Arduino IDE supports the languages C and C++ using
special rules of code structuring. The Arduino IDE supplies a software
library from the Wiring project, which provides many common input and output
procedures. User-written code only requires two basic functions, for starting the
sketch and the main program loop, that are compiled and linked with a program
stub main() into an executable cyclic executive program with the GNU tool
chain, also included with the IDE distribution. The Arduino IDE employs the
program argued to convert the executable code into a text file in hexadecimal
encoding that is loaded into the Arduino board by a loader program in the
board's firmware.
41
Figure 6.1: The Arduino IDE
Projects made using the Arduino are called sketches, and such sketches
are usually written in a cut-down version of C++ (a number of C++ features
are not included). Because programming a microcontroller is somewhat
different from programming a computer, there are a number of device-
42
specific libraries (e.g., changing pin modes, output data on pins, reading
analog values, and timers). This sometimes confuses users who think
Arduino is programmed in an “Arduino language.” However, the Arduino is,
in fact, programmed in C++. It just uses unique libraries for the device.
6.1.1 LIBRARIES
43
6.2 SOFTWARE DEVELOPMENT
lcd.setCursor(0,1);
lcd.print("DC:");
lcd.setCursor(3,1);
lcd.print(vin1);
void voltage2()
value1 = analogRead(analogInput1);
lcd.setCursor(0,1);
lcd.print("DC:");
lcd.setCursor(3,1);
lcd.print(vin1);
float getVPP()
float result;
44
int minValue = 1024; // store min value here
readValue = analogRead(sensorIn);
maxValue = readValue;
minValue = readValue;
return result;}
45
CHAPTER 7
ADVANTAGES
Improved Power Factor Correction: UPQC can correct power factor issues by
dynamically controlling reactive power, reducing losses and improving the
efficiency of the system.
Dynamic Response: UPQC offers fast and precise control over power quality
parameters, enabling rapid response to sudden disturbances or changes in the
system, thus minimizing downtime and equipment damage.
Cost Savings: By eliminating the need for separate devices to address different
power quality issues, UPQC can reduce overall system complexity and
maintenance costs.
Compliance: UPQC helps utilities and industries meet regulatory standards for
power quality, ensuring compliance with voltage and frequency requirements.
46
APPLICATIONS
47
CHAPTER 8
48
CHAPTER 9
CONCLUSION
By leveraging the capabilities of series and shunt active power filters within the
UPQC, various power quality issues such as voltage sag, swell, interruptions,
harmonics, and power factor problems can be effectively addressed.
Furthermore, the integration of distribution generation, utilizing renewable
energy sources like solar photovoltaic (PV) and wind, offers additional benefits
by enhancing overall system efficiency and reliability.
The control algorithms developed for the UPQC and distribution generation
systems have been designed to detect and mitigate power quality disturbances in
real-time, ensuring consistent and reliable power delivery to electrical devices
and equipment.
49
REFERENCE
50
8. Ye, Jian, et al. "Two-Level Algorithm for UPQC Considering Power
Electronic Converters and Transformers." 2019 IEEE Applied Power
Electronics Conference and Exposition (APEC). IEEE, 2019.
9. Patel, Ashish, Hitesh Datt Mathur, and Surekha Bhanot. "A new SRF‐based
power angle control method for UPQC‐DG to integrate solar PV into grid."
International Transactions on Electrical Energy Systems 29.1 (2019): e2667.
10. Lakshmi, Shubh, and Sanjib Ganguly. "Multi-objective planning for the
allocation of PV-BESS integrated open UPQC for peak load shaving of
radial distribution networks." Journal of Energy Storage 22 (2019): 208-
218.
51