This document describes a project to improve power factor using static variable compensation. It contains 5 chapters that discuss: 1) an introduction to power factor and the objectives of the project, 2) a literature review and theoretical background, 3) the main components of the project including a zero crossing detector and triac, 4) the methodology including closed and open loop control approaches, and 5) results and conclusions from testing the project. The project aims to minimize the effects of reactive power flow on transmission lines by using a thyristor switched capacitor to generate reactive power and control the power factor, providing advantages over traditional capacitor banks and synchronous condensers.
Inter Connected Power System(Turbine Speed Governing Mechanism)Raviraj solanki
Inter Connected Power SystemTOPIC : Turbine Speed Governing Mechanism
Introduction
Turbine Speed Governing Mechanism
Mathematical Modeling
Adjustment Of Governor Characteristics
The speed governing system consists of the following parts .
Speed governor
Linkage mechanism
Hydraulic amplifier
Speed changer
Power Quality is a combination of Voltage profile, Frequency profile, Harmonics contain and reliability of power supply.
The Power Quality is defined as the degree to which the power supply approaches the ideal case of stable, uninterrupted, zero distortion and disturbance free supply.
the ratio of the actual electrical power dissipated by an AC circuit to the product of the r.m.s. values of current and voltage. The difference between the two is caused by reactance in the circuit and represents power that does no useful work.
Inter Connected Power System(Turbine Speed Governing Mechanism)Raviraj solanki
Inter Connected Power SystemTOPIC : Turbine Speed Governing Mechanism
Introduction
Turbine Speed Governing Mechanism
Mathematical Modeling
Adjustment Of Governor Characteristics
The speed governing system consists of the following parts .
Speed governor
Linkage mechanism
Hydraulic amplifier
Speed changer
Power Quality is a combination of Voltage profile, Frequency profile, Harmonics contain and reliability of power supply.
The Power Quality is defined as the degree to which the power supply approaches the ideal case of stable, uninterrupted, zero distortion and disturbance free supply.
the ratio of the actual electrical power dissipated by an AC circuit to the product of the r.m.s. values of current and voltage. The difference between the two is caused by reactance in the circuit and represents power that does no useful work.
Power Factor Correction Methods
Fixed Capcitors
Synchronous Condensors
Phase Advancers
Switch Capacitors
Static Var Compensator(SVC)
Static Synchronous Compensator(STATCOM)
Modulated power filter capacitor compensator
Economics of power factor improvement
Economical comparison of increasing the power supply
The concept of FACTS (Flexible Alternating Current Transmission System) refers to a family of power electronics-based devices able to enhance AC system controllability and stability and to increase power transfer capability.
The cosine of angle made between the voltage and current is called the power factor.
In AC circuits, there is always the phase deference between the voltage and current, which is calculated in terms of power factor.
If the load is inductive the current lags behind the voltage and the power factor is lagging.
If the load is capacitive the current leads the voltage and the power factor is leading.
The value of power factor can never be more than unity.
These slides present about islanding detection techniques in microgrid systems. Later on the classes other aspects of microgrid protection will be discussed in more detail
Soft power factor modification using staticchodachude
A good power quality at a system can optimize the efficiency of electrical energy utilization.
Comparison of active power and apparent power will produce a power factor (COS ø).Capacitors bank can
maintain optimum power factor with compensating some reactive power to the system. Static VAR
Compensator (SVC) is generally composed of a conventional capacitor bank in parallel with the load contactor
switch. This leads to a very large inrush current to the capacitor which will resulting damage to the
contactor switches and also capacitors. To reduce inrush current, thyristor is used as a replacement of
contactor switch. Switch can be set by adjusting the firing angle of thyristor. Power factor improvement consists
of a voltage sensor, current sensor, zero crossing detector, thyristor driver and the capacitor bank. The existing
load on the system consists of induction motor 125W, rectifier with load of series of incandescent lamp with
ballasts 85W and fluorescent lamp 20W.Cos phi variation of the load is 0.49 (lag), 0.99 (lag), 0.92 (lag) and 0.62
(lag) when all the loads connect to the system. Through the calculation, the value of capacitor that can
compensate the reactive power to the system is 5.12 µF, 2.71 µF, 2.41 µF and 9.55µF. The capacitor
installation obtain good response because it can increase the cos phi of system to 0.99 (lag) and the current
consumption of the system is smaller than the pre-installation of capacitors, which can reduce the line system
current up to 30% of the system current
Power Factor Correction Methods
Fixed Capcitors
Synchronous Condensors
Phase Advancers
Switch Capacitors
Static Var Compensator(SVC)
Static Synchronous Compensator(STATCOM)
Modulated power filter capacitor compensator
Economics of power factor improvement
Economical comparison of increasing the power supply
The concept of FACTS (Flexible Alternating Current Transmission System) refers to a family of power electronics-based devices able to enhance AC system controllability and stability and to increase power transfer capability.
The cosine of angle made between the voltage and current is called the power factor.
In AC circuits, there is always the phase deference between the voltage and current, which is calculated in terms of power factor.
If the load is inductive the current lags behind the voltage and the power factor is lagging.
If the load is capacitive the current leads the voltage and the power factor is leading.
The value of power factor can never be more than unity.
These slides present about islanding detection techniques in microgrid systems. Later on the classes other aspects of microgrid protection will be discussed in more detail
Soft power factor modification using staticchodachude
A good power quality at a system can optimize the efficiency of electrical energy utilization.
Comparison of active power and apparent power will produce a power factor (COS ø).Capacitors bank can
maintain optimum power factor with compensating some reactive power to the system. Static VAR
Compensator (SVC) is generally composed of a conventional capacitor bank in parallel with the load contactor
switch. This leads to a very large inrush current to the capacitor which will resulting damage to the
contactor switches and also capacitors. To reduce inrush current, thyristor is used as a replacement of
contactor switch. Switch can be set by adjusting the firing angle of thyristor. Power factor improvement consists
of a voltage sensor, current sensor, zero crossing detector, thyristor driver and the capacitor bank. The existing
load on the system consists of induction motor 125W, rectifier with load of series of incandescent lamp with
ballasts 85W and fluorescent lamp 20W.Cos phi variation of the load is 0.49 (lag), 0.99 (lag), 0.92 (lag) and 0.62
(lag) when all the loads connect to the system. Through the calculation, the value of capacitor that can
compensate the reactive power to the system is 5.12 µF, 2.71 µF, 2.41 µF and 9.55µF. The capacitor
installation obtain good response because it can increase the cos phi of system to 0.99 (lag) and the current
consumption of the system is smaller than the pre-installation of capacitors, which can reduce the line system
current up to 30% of the system current
Design of a 3-phase FC-TCR Static Var Compensator for Power factor correction...Hardik Parikh, E.I.T.
The research has shown that SVC has been proved successful to prevent negative sequence current more over it also has capabilities for Power factor correction.
• Negative-sequence current causes some problems in generator systems. Though every generator is capable of withstanding a certain level of negative-sequence current, excess and/or persistent amounts of negative sequence current may cause rotor overheating and serious damage.
• Since its frequency quite matches the natural mechanical frequency of turbine blades and the zero sequence current is blocked by delta connected step-up transformer, the negative sequence current becomes the only reason for the super synchronous resonance of a generator due to an unbalanced system, especially in an isolated power system.
• SVC has the potential to overcome some adverse effects of the negative sequence current to the turbine generator systems
After you've been in the workforce awhile, it can be hard to switch back to study mode. Members of Connect: Professional Women's Network share the tips that helped them through continuing education, professional development and college as an adult.
Connect is online community with more than 360,000 members that discusses issues relevant to women and their success. The free LinkedIn group powered by Citi also features videos interviews with influential businesswomen, live Q&As with experts and slideshows with career advice. To learn more and join the conversation in the largest women's group on LinkedIn, visit http://www.linkedin.com/womenconnect.
Analyses of reactive power compensation schemes in MV/LV Networks with RE infeedAushiq Ali Memon
-Reactive power compensation in MV/LV Networks
-Voltage control with renewable energy infeed
- Power factor correction with reactive power compensation schemes (SVC and STATCOM)
-DFIG wind turbine grid-code requirements according to bdew standard.
FIRING ANGLE SVC MODEL FOR ANALYZING THE PERFORMANCE OF TRANSMISSION NETWORK ...IAEME Publication
This paper deals with Power flow, which is necessary for any power system solution and carry
out a comprehensive study of the Newton- Raphson method of power flow analysis with and without
SVC. Voltage stability analysis is the major concern in order to operate any power system as
secured. This paper presents the investigation on N-R power flow enhancement of voltage stability
and power loss minimization with & without FACTS controllers such as Static Var Compensator
(SVC) device. The Static Var Compensator (SVC) provides a promising means to control power
flow in modern power systems. In this paper the Newton-Raphson is used to investigate its effect on
voltage profile and power system lossess with and without SVC in power system.. Simulations
investigate the effect of voltage magnitude and angle with and without SVC on the power flow of
the system. This survey article will be very much useful to the researchers for finding out the
relevant references in the field of Newton-Raphson power flow control with SVC in power systems.
In order to reach the above goals, these devices must be located optimally. In this paper the
Optimal placement of SVC is carried out by Voltage collapse Prediction Index (VCPI).The size of
the SVC is determined by suitable firing angle which reduces the losses in the system. Simulations
have been implemented in MATLAB Software and the IEEE 14 and IEEE 57-bus systems have been
used as case studies.
Micro-controller based Automatic Power Factor Correction System ReportTheory to Practical
This project report represents one of the most effective automatic power factor improvements by using static capacitors which will be controlled by a Microcontroller with very low cost although many existing systems are present which are expensive and difficult to manufacture. In this study, many small rating capacitors are connected in parallel and a reference power factor is set as standard value into the microcontroller IC. Suitable number of static capacitors is automatically connected according to the instruction of the microcontroller to improve the power factor close to unity. Some tricks such as using resistors instead of potential transformer and using one of the most low cost microcontroller IC (ATmega8) which also reduce programming complexity that make it one of the most economical system than any other controlling system.
Power factor improvement is the essence of any power sector for realible operations. This report provides literature study of a fixed capacitor thyristor controlled reactor type of power factor compensator by matlab simulation and implementation in programmed microcontroller. To retaining power factor closed to unity under various load condition the arduino ATmega8 microcontroller is used which is programmed by keil software. The simulation is done using proteus software which display power factor according to the variation in load whenever a capacitive load is connected to the transmission line, a shunt reactor is connected which injects lagging reactive VARs to the power system. This report also includes the matlab simulation for three phase power factor improvement by using fixed capacitor thyristor controlled reactor. As a
result the power factor is improved. The results given in this report provides
suitable matlab simulation and proteus simulation based reactor power compensation and power factor improvement and techniques using a FCTCR.
The International Journal of Engineering and Science (IJES)theijes
The International Journal of Engineering & Science is aimed at providing a platform for researchers, engineers, scientists, or educators to publish their original research results, to exchange new ideas, to disseminate information in innovative designs, engineering experiences and technological skills. It is also the Journal's objective to promote engineering and technology education. All papers submitted to the Journal will be blind peer-reviewed. Only original articles will be published.
In the modern power system the reactive power compensation is one of the main issues, the transmission of active power requires a difference in angular phase between voltages at the sending and receiving points (which is feasible within wide limits), whereas the transmission of reactive power requires a difference in magnitude of these same voltages (which is feasible only within very narrow limits). The reactive power is consumed not only by most of the network elements, but also by most of the consumer loads, so it must be supplied somewhere. If we can't transmit it very easily, then it ought to be generated where it is needed." (Reference Edited by T. J. E. Miller, Forward Page ix).Thus we need to work on the efficient methods by which VAR compensation can be applied easily and we can optimize the modern power system. VAR control technique can provides appropriate placement of compensation devices by which a desirable voltage profile can be achieved and at the same time minimizing the power losses in the system. This report discusses the transmission line requirements for reactive power compensation. In this report thyristor switched capacitor is explained which is a static VAR compensator used for reactive power management in electrical systems.
Seminar Topic For Electrical and Electronics Engineering (EEE)
Simulation and Analysis of a D-STATCOM for Load Compensation and Power Facto...IJMER
Power Generation and Transmission is a complex process, requiring the working of many
components of the power system in tandem to maximize the output. One of the main components to form
a major part is the reactive power in the system. It is required to maintain the voltage to deliver the
active power through the lines. Loads like motor loads and other loads require reactive power for their
operation. To improve the performance of ac power systems, we need to manage this reactive power in
an efficient way and this is known as reactive power compensation. In developing countries like India,
where the variation of power frequency and many such other determinants of power quality are
themselves a serious question, it is very vital to take positive steps in this direction.
The work presented here illustrates a method to compensate for the load reactive power using a
DSTATCOM
A DSTATCOM injects a current into the system to provide for the reactive component of the load
current. The validity of proposed method and achievement of desired compensation are confirmed by
the results of the simulation in MATLAB/ Simulink.
Augmentation of Real & Reactive Power in Grid by Unified Power Flow ControllerIJERA Editor
In this paper, a Power Flow Control in transmission line with respect to voltage condition (L-G, L-L-G, L-L)
over come by using unified power flow controller. The existing system employs UPFC with transformer less
connection with both series and shunt converter. This converter have been cascaded with multilevel inverters
which is more complicated to enhance the performance of UPFC.A proposed system consist of three terminal
transformer for shunt converter and six terminal transformer for series converter. Shunt converter & series
converter is coupled with common DC capacitor. DC link capacitor voltage is maintained using PID controller
and synchronous reference frame theory (SRF) is used to generate reference voltage & current signal.
Simulation studies are carried out for (L-G, L-L-G, L-L real & reactive power compensation results will be
shown in this paper)
1.compensation of reactive power using d statcom in grid interfaced pv systemEditorJST
This paper displays the upgrade of voltage droops, Harmonic mutilation and low power figure utilizing Distribution Static Compensator (D-STATCOM) with LCL Passive Filter in Distribution Framework. At whatever point there is an entrance of photovoltaic cell energy to the low voltage appropriated matrix, there happen the issue of confuse in voltage and recurrence in the system, maybe brought on by non-direct loads, creating music. The model depends on the Voltage Source Converter (VSC) guideline. The D-STATCOM infuses a current into the framework to alleviate the voltage lists. LCL Passive Filter Was then added to D-STATCOM to enhance symphonies bending and low power figure. The reproductions were performed utilizing MATLAB SIMULINK.
This is my own engineering power factor project for city and guilds advanced diploma
don't copy this because city and guilds always checking duplicates
Filter Based Solar Power Generation System with a Seven Level InverterIJMTST Journal
This paper proposes a new solar power generation system, which is composed of a DC/DC power converter and a new seven-level inverter. The DC/DC power converter integrates a DC-DC boost converter and a transformer to convert the output voltage of the solar cell array into two independent voltage sources with multiple relationships. This new seven-level inverter is configured using a capacitor selection circuit and a full-bridge power converter, connected in cascade. The capacitor selection circuit converts the two output voltage sources of DC-DC power converter into a three-level DC voltage and the full- bridge power converter further converts this three- level DC voltage into a seven-level AC voltage. In this way, the proposed solar power generation system generates a sinusoidal output current that is in phase with the utility voltage and is fed into the utility. The salient features of the proposed seven-level inverter are that only six power electronic switches are used and only one power electronic switch is switched at high frequency at any time. A prototype is developed and tested to verify the performance of this proposed solar power generation system.
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
This paper addresses the vulnerability of deep learning models, particularly convolutional neural networks
(CNN)s, to adversarial attacks and presents a proactive training technique designed to counter them. We
introduce a novel volumization algorithm, which transforms 2D images into 3D volumetric representations.
When combined with 3D convolution and deep curriculum learning optimization (CLO), itsignificantly improves
the immunity of models against localized universal attacks by up to 40%. We evaluate our proposed approach
using contemporary CNN architectures and the modified Canadian Institute for Advanced Research (CIFAR-10
and CIFAR-100) and ImageNet Large Scale Visual Recognition Challenge (ILSVRC12) datasets, showcasing
accuracy improvements over previous techniques. The results indicate that the combination of the volumetric
input and curriculum learning holds significant promise for mitigating adversarial attacks without necessitating
adversary training.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
Maintaining high-quality standards in the production of TMT bars is crucial for ensuring structural integrity in construction. Addressing common defects through careful monitoring, standardized processes, and advanced technology can significantly improve the quality of TMT bars. Continuous training and adherence to quality control measures will also play a pivotal role in minimizing these defects.
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Vaccine management system project report documentation..pdfKamal Acharya
The Division of Vaccine and Immunization is facing increasing difficulty monitoring vaccines and other commodities distribution once they have been distributed from the national stores. With the introduction of new vaccines, more challenges have been anticipated with this additions posing serious threat to the already over strained vaccine supply chain system in Kenya.
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
Presented at NUS: Fuzzing and Software Security Summer School 2024
This keynote talks about the democratization of fuzzing at scale, highlighting the collaboration between open source communities, academia, and industry to advance the field of fuzzing. It delves into the history of fuzzing, the development of scalable fuzzing platforms, and the empowerment of community-driven research. The talk will further discuss recent advancements leveraging AI/ML and offer insights into the future evolution of the fuzzing landscape.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Courier management system project report.pdfKamal Acharya
It is now-a-days very important for the people to send or receive articles like imported furniture, electronic items, gifts, business goods and the like. People depend vastly on different transport systems which mostly use the manual way of receiving and delivering the articles. There is no way to track the articles till they are received and there is no way to let the customer know what happened in transit, once he booked some articles. In such a situation, we need a system which completely computerizes the cargo activities including time to time tracking of the articles sent. This need is fulfilled by Courier Management System software which is online software for the cargo management people that enables them to receive the goods from a source and send them to a required destination and track their status from time to time.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
1. An-Najah National University
Faculty of Engineering
Electrical Engineering Department
Power factor correction by Static Variable
Compensator
Prepared by:
Mohammed AbdallateefAbdaljawwad 11005554
Amjad Mohammad Adarba 11001713
Eyad Riad Amer 11001996
Supervised by:
Dr. Kamil Salih
2. Acknowledgement
we take thisopportunitytoexpress ourprofoundgratitude anddeepregardsto ourguide Dr.Kamil
Salihforhisexemplaryguidance,monitoring, continued support andconstant encouragement
throughoutthe course of thisproject.
3. Table of Contents
Chapter 1...................................................................................................1
Section 1.1 :Introduction..........................................................................1
Section 1. 2 . Objectives............................................................................2
Chapter 2...................................................................................................4
Section 2.1 : Literature review.................................................................4
Section 2.2 :Theoretical background..................................................... 5
Chapter 3: components of the project ……............................................8
Section 3.1 : zero crossing detector ………….…………………………8
Section 3.2 Triac ………….………………………………….…………9
Section 3.3 : Arduino ……………...…………………..…….…………10
Chapter 4 :Methodology…………………………………….……….….11
Section 4.1: Static Variable Compensation in closed loop control..….11
Section 4.2: : Static Variable Compensation in open loop control …..14
Section 4.2.1: PM meter ……………………………………………….15
Section 4.2.2: determine the firing angle …………………………….18
Section 4.2.3: Generating the firing angle………………….................24
Chapter 5: results and conclusions…………………………………...26
References ………………………………………………………..33
Appendix A……………………………………………………….34
Appendix B ……………………………………………………….37
4. List of Figures
Figure.1: Load connectedto the Generatorthrough a Transmission
line..............................................................................................................5
Figure.2: Lag betweenvoltage and current..........................................6
Figure.3:Compensatedloadon The Transmission line.......................6
Figure.4:Schematic of the relation betweenPF with the Apparent
power, Powerangle and Reactive power................................................6
Figure 5: The current and voltage citation after correction................7
Figure 6: circuit of zero crossing detection……………………………….8
Figure 7: the Triac symbol and a simplifiedcross sectionofthe
device………………………………………………………………………………………9
Figure 8: simulation of closedloopsystem ………………………….12
Figure 9 : power factorbehavior at closedloopsystem ……………13
Figure 10 : zero cross detectoroutput ……………………………….15
Figure 11 : comparing betweenthe voltage signaland ZCD ……….16
Figure 12 : triac operation……………………………………………19
Figure 13:the shape of firing equation ……………………………..20
Figure 14 : a graphicaldepiction of the bisection method…………21
5. Figure 15:the code of bisectionmethod to determine firing angle..22
Figure 16:changing alfa with changing load condition……………24
Figure 17: arduino results 1 ……………………………………….26
Figure 18:arduino results 2 ……………………………………….27
Figure 19 :arduino results 3 ………………………………….…….28
Figure 20 :arduino results 4 ………………………………….…….29
Figure 21:arduino results 5 ………………………………….…….30
Figure 22:comparing betweenalfa 1 and current ZCD …………...31
Figure 23:comparing betweenalfa 2 and current ZCD …………...31
Figure 24:comparing betweenalfa 3 and current ZCD …………...32
Figure 25:comparing betweenalfa 4 and current ZCD …………...33
6.
7. List of Tables
Table 1 : the relationbetweennumber of iterationand the max error
knowing that the value of alfa included in the interval of [0 , pi]…………23
8. :Nomenclatureor list of symbols
Z = Circuit impedance, Ω.
R = load Circuit resistance, Ω.
XL = load inductive reactance, Ω..
Xc= capacitor reactance
L= inductance value (Henry)
C= capacitive value (Farad)
I = Load current, A.
PF= power factor
Vrms= rms value of voltage at the shunt compensator
Vm= peak value of the voltage supplied by the source
P= real power consumed by the resistive part of the load
Qc= reactive power generated by the capacitor branch
Ql= reactive power consumed by the inductor (load branch)
S= apparent power transmitted from the source to the load
α= firing angle of the Triac
Ɵ= phase shift between voltage and currentat the end of the
transmission line
W= radial frequency of the source
f= frequency of the source in Hz
Ton= the time of the periodic signal that gives ONE value
ZCD= zero cross detector
9. ABSTRACT
The objective of this project is to improve power factor of transmission
lines using SVC (Static Variable Compensator). Static VAR Compensation under
FACTS uses TSC (ThyristorSwitched Capacitors) based on shunt compensation duly
controlled from a programmed microcontroller.
done bypower factor compensation wasPrior to the implementation of SVC,
.or switched capacitor bankssynchronous condenserlarge rotating machines such as
These were inefficient and because of large rotating parts they got damaged quickly.
This proposed system demonstrates power factor compensation using thyristor
switched capacitors.
Shunt capacitive compensation – This method is used to improve the
powerfactor. Whenever an inductive load is connected to the transmission line, power
factor lags because of lagging load current. To compensate for this, a shunt capacitor
is connected which draws current leading the source voltage. The net result is
improvement in power factor. The time lag between the zero voltage pulse and zero
current pulse duly generated by suitable operational amplifier circuits in comparator
mode are fed to two interrupt pins of the 8 bit microcontroller of Arduino family.
Thereafter program takes over to actuate appropriate number of opto-isolators duly
interfaced to back to back SCRs. This results in bringing shunt capacitors into the
load circuit to get the power factor till it reaches unity.
Further the project can be enhanced to thyristor controlled triggering for
precise PF correction instead of thyristor switching in steps.
10. 1
Chapter 1
Section1.1 : Introduction
Modern civilization depends mostly on electrical energy for agricultural, commercial,
domestic, industrial and social purposes [1]. The electrical energy is
exclusively generated, transmitted and distributed in the form of alternating
current(a.c.). Any load can be presented basically in three elements which are resistor
, inductor and capacitor. The resistor consumes active energy in which the electrical
energy takes a new form of energy (eg. Heat , mechanical, illumination …etc) while
the inductor and capacitor store the electrical energy in magnetic field and electric
field respectively which means the electrical energy still in its original form.
The actual amount of power being used, or dissipated, in a circuit is called real power.
Reactive loads, inductors and capacitors dissipate zero power, yet they drop
voltageand draw current giving the deceptive impression that they actually do
dissipate power. This “phantom power” is called reactive power[2]. More precisely
power dissipated by a load is referred to as real power where as power merely
absorbed and returned in load due to its reactive properties is referred to as reactive
power. However in nature, most of the loads are inductive loads consuming reactive
power and resulting in low lagging power factor, on the other hand capacitive load
(capacitor banks) generating reactive power and resulting in leading power factor. So
the capacitors and inductors loads have a opposite effect on power factor .
Effects of reactive power flow in line network
1- Poor transmission efficiency
Losses in all power system elements from the power station generator to the
utilization devices increase due to reactive power drawn by the loads, thereby
reducing transmission efficiency.
2- Poor voltage regulation
Due to the reactive power flow in the lines(higher current), the voltage drop in the
lines increases due to which low voltage exists at the bus near the load and makes
voltage regulation poor.
3- Low power factor
The operating power factor reduces due to reactive power flow in transmission lines.
4- Needof large sized conductor
Power factor correction allows to obtain advantages also for cable sizing. In fact, as
previously said, at the same output power, by increasing the power factor the current
diminishes. This reduction in current can be such as to allow the choice of conductors
with lower cross sectional area.
5- Increase in KVA rating of the systemequipment
Generators and transformers are sized according to the apparent power S. At the same
active power P, the smaller the reactive power Q to be delivered, the smaller the
apparent power. Thus, by improving the power factor of the installation, these
machines can be sized for a lower apparent power, but still deliver the same active
power.
11. 2
6- Reduction in the handling capacity of all systemelements
Reactive component of the current prevents the full utilization of the installed
capacity of all system elements and hence reduces their power transfer capability. A
power system is expected to operate under both normal and abnormal conditions and
under these conditions it is desired that the voltage must be controlled for system
reliability, the transmission loss should be reduced and power factor should be
improved (Rajesh Rajaramanet.al., 1998). In this paper the effect of line reactive
power flow on transmission efficiency, voltage regulation and power factor with and
without VAR compensation techniques are presented.
7- Penalties on consumers.
Consumers pay extra fees on bills for poor factor, e.g. in Palestine there is a penalty
for PF < 0.92
Section 1.2 : Objectives
The objective of the project is to minimize the effects of reactive power flow in the
line network, where the project will contributes the generator in supplying the load by
reactive power, so the project will reduce the power flow from generators to load,
therefore reducing the current, which in turn reduce the effects of reactive power flow
in the line network.
Now starting with the common methods which are used for solving poor PF of loads
problem, which are Capacitor Banks and Synchronous Condenser.[3]
Capacitor Banks is a method of adding capacitors in parallel at the load to generate a
part of the needed reactive power rather than the reactive power totally generated by
the power supply, they are a group of capacitors that are connected together
depending on how poor the PF load is, which reflects that the load requires more
reactive power. The main disadvantage of this method is that it requires high load to
sense the change on the power factor, therefore the generated reactive power by the
capacitor banks changes in steps and not in a smooth way, so we can't achieve a
specific PF at some loads.
Synchronous Condenser is a Synchronous motor which is over excited and most of
the time it's at no load or low load, itgenerates reactive power controlled accurately by
the field current, and the PF can be raised smoothly to achieve the required value.
Synchronous Condenser usually used for heavy load due its high cost. [3]
Taking into consideration the previous methods, the project tried to take the
advantages of both methods and avoid the disadvantages as much as possible. The
method of this project uses one large capacitor bank in series with a Triac. The firing
angle of the Triac controls the flow of reactive power from the capacitor. The
controller specifies the firing angle of the Triac to supply a part of reactive power of
the load depending on the reference PF. The main advantages of this method are low
cost with respect to the mentioned methods, this method is sensitive to any changes at
the load even for small changes and by this method a specific PF can be achieved.
13. 4
Chapter 2
Literature review
Section 2.1: Citation relevant work and results
There are too many research on the ordinary methods of PF correction.
Arteche is a huge company in Spain which is a major manufacturer of
reactive compensation and harmonic mitigation products, this company
published a research aboutmany types of capacitor compensation, their
research shows differenttypes of compensation to different types of
load, and also shows the importanceof reactive power compensation.
A group of companies called ABB is a leader in power and automation
technologies that enable utility and industry customers to improve
performancewhile lowering environmental impact. ABB inserted the
TSC (thyristor switched capacitors ) as one of the mean technique in PF
correction methods and mentioned that this method could replace
synchronous condenser, where this method can correct the PF smoothly.
This method suffer from harmonics and ABB gave visualization for
solving this problem in their published paper (Technical Application
Papers No.8 Power factor correctionand harmonic filtering in
electrical plants).
14. 5
Section 2.2
Theoretical background
From the expertise that have been gained through past courses it was easier to deal
with the project. The PF correction has been mentioned in different courses such as
Electrical Circuits, Fundamental Machines and Power Systems. Many other courses
helped us in performing this project such as Power Electronic, 'Signals and Systems',
Drive of Electrical Machines and modeling using Matlab.
The following figuer.1 shows a load connected to a generator through a
transmission line, where Vs is the terminal voltage of the generator.
Figure.1
SL = 𝑃 + 𝑗𝑄𝑙
The power factor present the ratio between the real power consumed at the load to
the apparent power delivered to the load :
𝑃𝐹 =
𝑃
𝑆
=
𝑃
√𝑃2 + 𝑄𝑙2
Also the PF gives an indicator of the phase shift between current wave and voltage
wave, where PF is the cosine of the angle between current and voltage, a lagging PF
means that the current lags the voltage by an angle ( cos−1
𝑃𝐹) and a leading PF
means that the current leads the voltage by an angle ( cos−1
𝑃𝐹). As much as the
angle become bigger the power factor becomes smaller and vice versa.
In real life the loads always have lagging power factor due to inductive loads
Figure.2 shows a schematic for a current lags voltage with relatively low PF:
15. 6
Figure.2
For adding a shunt compensation (shunt capacitor branch ) to the load it will
contribute the generator in generating reactive power to the load .
Figure.3 shows the compensated load:
Figure.3
*note that the load will consume the same amount of real and reactive power
SL = 𝑃 + 𝑗𝑄𝑙
Shunt Compensation will generate reactive power to the load at a value of Qc that
will correct the PF by reducing the amount of reactive power delivered by the
generator which in turn reduce the apparent power :
𝑃𝐹 =
𝑃
𝑆
=
𝑃
√𝑃2 + ( 𝑄𝑙 − 𝑄𝑐)2
Figure.4: schematic the relation between PF with apparent power , power angle and
reactive power Where
Figure.4
16. 7
Figure.5 shows the current and voltage citation after correction:
Figure.5
We notice that the enhanced PF the smaller phase shift be.
Now the importance of PF correction is that the reactive power transmitted will be
smaller so the apparent power will be reduced
𝑆. 𝑜𝑙𝑑 = √ 𝑃2 + 𝑄𝑙2
𝑆. 𝑛𝑒𝑤 = √ 𝑃2 + ( 𝑄𝑙 − 𝑄𝑐)2
Which in turn reduce the current at the transmission line
𝐼. 𝑜𝑙𝑑 =
𝑆. 𝑜𝑙𝑑
𝑉
=
√𝑃2 + 𝑄𝑙2
𝑉
𝐼. 𝑛𝑒𝑤 =
𝑆. 𝑛𝑒𝑤
𝑉
=
√𝑃2 − ( 𝑄𝑙 − 𝑄𝑐)2
𝑉
Then the voltage drop will decrease , the losses at the transmission line will reduce ,
which enhance the efficiency of the transmission line ,avoid extra fees on bills and the
rated power of the system equipment will be reduced ,that’s means we need smaller
sized and cheaper equipment and transmission lines.
17. 8
Chapter 3: main components of the project
Section 3.1: zero crossing detector
The zero cross detection circuit is the most critical part for designing a PF
meter in our project. This circuit will watch the input voltage and current waveforms
and detect when this waveforms cross the zero axis .
Zero cross detection circuits are mainly used in cases when the PF needs to be
measured by micro controller. In that case, the micro-controller needs to know the
zero cross detection point of the voltage waveform, so that it can calculate the angle
offset to send the trigger pulse to the gate of the triac.
Here is an example calculation. Suppose that the AC power oscillates in a
50Hz cycle. This means that each cycle will take 1/50Hz = 20 mSec to be completed.
During those 20mSec, the waveform will cross the zero point two times, one at the
beginning and one in the middle of the cycle, that will be after 20/2 = 10mSec.
If we want the capacitor to inject reactive power from applying a half
waveform of the voltage , then the microcontroller needs to send a pulse in the middle
of each semi-cycle. Thus, a pulse must be sent after 5mSec after each time the
waveform passes the zero point. For this to be done, the microcontroller will watch
the zero cross detection circuit (ZCD) for a pulse. When the ZCD send this pulse,
the micro controller will count 5 mSec and then will trigger the gate of the triac.
The following circuit will perform a Zero Cross Detection circuit. This circuit
is very stable and accurate, and has a controllable pulse width. Another great
advantage is that because of the transformer, this circuit has a complete galvanic
isolation with the mains supply so that it makes it completely safe and risk free of
destroying the microcontroller due to power peaks.[4]
Figure 6
18. 9
Section 3.2 : Triac
The Triac or bi-directional Thyristor, is a device that can be used to pass or block
current in either direction. It is therefore classed as an AC power control device. It is
equivalent to two Thyristor in anti-parallel with a common gate electrode. As only
one device is required there are cost and space savings.
Figure 7.
The Triac has two main terminals. TE1/ TE2 (power in and load out) and a single gate
connection. The main terminals are connected to both p and n regions since the
current can be conducted in either direction. The gate is similarly connected, since a
Triac can be triggered by both negative and positive pulses.
The ON state voltage or current characteristics resembles a Thyristor. The Triac static
characteristics show that the device acts as a bi-directional switch. The condition
where terminal TE2 is positive with respect to terminal 1 is denoted by the term
TE2+. If the Triac is not triggered the low level of leakage current increases as the
voltage increases until the break over voltage V is reached and then the Triac turns
ON. The Triac can be triggered below V by a pulse to the gate, provided that the
current through the device exceeds the latching current I before the trigger pulse is
removed. The Triac has a holding current value below which conductance cannot be
maintained.
If terminal 2 is negative with respect to terminal TE2 the blocking and conducting
conditions are similar to the TE2+ condition, but the polarity is reversed. The Triac
can be triggered in either direction by both negative or positive pulses on the gate.
The actual values of gate trigger current and holding current as well as latching
current can be slightly different in the different operating quadrants of the Triac due to
the internal structure of the device. [5]
19. 10
Section3.3: Arduino
The Arduino Uno isa microcontroller board based on the Atmega328
which can be programmed withthe Arduino software. Ithas 14
digital input/outputpins(of which 6 can be used as PWM outputs), 6
analog inputs, a 16 MHz ceramic resonator, the Arduino Uno can be
powered viathe USB connection or with an external power supply.
The power sourceis selected automatically.
The Atmega328 has32 KB memory (with 0.5 KB used for the boot
loader). It also has 2 KB of SRAM and 1 KB of EEPROM (which can be
read and written with the EEPROM library).
"Uno" means onein Italian and is named to mark the upcoming
release of Arduino 1.0. TheUno and version 1.0 will be the reference
versionsof Arduino, movingforward. TheUno is the latest in a series
of USB Arduino boards, and thereference modelfor the Arduino
platform; for a comparison with previousversions. [6]
20. 11
Chapter 4: Methodology
This chapter will explain the used method for calculating the power factor, firing
angle for the triac and time of phase shift also dealing with zero cross detector and
Arduino programming.
In the last semester it was discussed that the Static Variable Compensation mainly
works on measuring the PF of the load then the controller will keep adjusting the
amount of reactive power that should be injected to the load by controlling the firing
angle of the traic until the new PF will be equal to reference (needed) PF which means
that the methodology used a closed loop system.
In this semester, due to the high difficulty finding some of important tools to achieve
the project in mentioned methodology (closed loop method), it could be found some
of these tools but with a high cost. So we concentrated on the main units of the project
which are PF meter and control unit which responsible to generate the firing angle to
the triac, so the applied voltage to the capacitor bank is controlled then the amount of
reactive power generated from the capacitor and injected to the load also is controlled.
This chapter will include two sections.
At first section we will discuss the closed loop methodology in correcting the power
factor which is very efficient and practical method .
The second section discuss use open loop method which means there is no feedback
comes from the load to the controller, because actually to deal with a real load we
need instruments tools such as current and potential transformers to convert the real
voltages and currents to measurable values suites the control unit, but unfortunately
these instruments transformers are difficult to find at the market
21. 12
Section4.1:Static Variable Compensationin closedloopcontrol
In the last semester we built simulation on MATlap for static variable compensation
in closed loop control manner, see figure
Figure 8
As seen from the figure the module consist of load, measuring instrument for the
load's current and voltage, PF meter, a capacitor bank connected in series with a triac,
and most critical part which is the control unit.
The control unit will keep adjusting the value of firing angle until that the the
measured PF on the load exactly equal the reference PF, where as seen the control
unit take the measured PF as feedback. The main element in the control unit is the
integration which actually the controller, this controller obviously works in integral
manner, where the output of this element is additives depending on the
inputs(reference PF and the feedback measured PF), it can be noted that when the
22. 13
reference PF equals the measured PF then the difference between them is zero,
therefore the output of the integration unit is constant or DC value, this DC value is
translated to the value of firing angle (alfa) for the triac by using a saw tooth oscillator
and comparators. The module is able to correct the PF under changing load and
achieve the reference PF, the following figure shows how was the module able to
correct the PF under changing load and achieving the reference PF(0.9 in our case).
Figure 9
The main advantages of this method are
The simplicity of its control specially using Arduino
In this method there is need only for a PF meter at the load
There is no need for KW meter at the load and there is no need to measure the
voltage and the current at the load because the controller specify the value of
the firing angle depending on the value of the PF on the load and the reference
PF
Ability to supply exact amounts of reactive power to achieve specific
reference PF regardless for light or heavy load, where traditional ways to
correct the PF face problems to deal with different load sizes
The module is able to deal with the changing the voltage at the bus of the load
23. 14
Section 4.2: Static Variable Compensation in open loop control
In this semester we obliged to work in open loop Static Variable Compensation
control system because to deal with a real load we need instruments tools such as
current and potential transformers to convert the real voltages and currents to
measurable values suites the control unit (control’s voltage-level is low), but
unfortunately these instruments transformers are difficult to find at the market, and
because we couldn’t bring instruments transformers we didn’t try to test our project
on a real load bring such as an induction motor.
Open loop method which means there is no feedback comes from the load to the
controller, so the accuracy to achieve the reference PF will be less than it for closed
loop
In our methodology of open loop Static Variable Compensation we need a PF meter
and KW meter, we were able to build a PF meter as will be discussed in this section
but we assumed that we have constant consumption of real power instead of KW
meter and also a constant voltage at the load, this section will show why these
assumptions made. So briefly in our project we will show how the controller changes
the value of the firing angle depending on the measured PF.
The used methodology consists of mainly two parts. First part is building a PF meter.
Secondly, determining the suitable value of the firing angle, which is supposed to
control suitable voltage to control the amount of reactive power the must be generated
to the load achieve the reference PF.
24. 15
Section4.2.1 : PF meter
The firstpart of calculatingthe PFisto findthe phase shiftbetweenthe voltage andcurrent
waveforms,thatmeanswe have tofindthe time difference betweenwhenthe voltage cross
the zero axisandwhenthe currentwave cross the zeroaxis,inorder to applythe previous,a
ZeroCross DetectorCircuit(ZCD) isused.
As mentionedbeforeZCDcircuitgivespulse phase modulationPPMtogive an indication
whenthe signal (sinusoidalinthe project) startto rise or fall fromthe zeroaxis,whichgive
a duplicate the frequencyatthe output,wheneverthatoccursthe generatedpulse givesan
indicationthatthere isa zerocross inthisplace .
The followingfigure showsthe outputsignal fromZCDcircuit
Figure 10
However,if bothvoltage andcurrentappliedtoZCDcircuits,we can findthe phase shift
betweenZCDof voltage andZCD of current andthat meanswe findthe phase shiftbetween
the voltage andthe current waveformsthemselves.
the current shouldpassthrougha resistance inordertoconvertit to a voltage:Note
waveformbecause the ZCDcircuits dealswithvoltage input,andthe resistance makesno
phase shiftforthe current.
The followingfigure showsthe relationbetweenvoltageorcurrentwaveformwithitsZCD
25. 16
Figure 11
The secondpart is to use the PPMfromthe twoZCD circuitsto determine the powerfactor,
the ZCD for the voltage andthe current will be connectedtoarduinoinput,pinforeach(D2
for voltage andD3 for current),we wrote a code to findoutthe time betweenthe ZCD
pulsesof the voltage andthe ZCD pulsesof the current thencalculate the phase shift
betweenthesetwoinputs,whichmeansthatwe foundthe phase shiftbetweenthe original
waveformsof voltage andcurrent.
There isa functionatthe arduinocalled“micros()”,whichisabuiltintimerstartto count in
microsecondsince the processerstartsto work,we use thisfunctiontocapture the time
storedinthe micros functionwhenthe voltage crossesthe zero,afterthatwe capture the
time storedinthe microsfunctionwhenthe currentcrossesthe zero,sosimplythe time of
phase shiftwill be the difference betweenthe capturedtime of current ZCDand the
capturedtime of voltage.
Here is an example of simple microsfunctioncode todeterminethe knowntime,where in
thiscode we capture the time of the micros andsimplyapplyadelayby1000 mille second
and againcapturedthe storedtime at microsthenwe findthe differencebetweenthe two
captures,the difference will me inmicrosandto findthe resultinmille secondwe dividethe
resultby1000, finallywe showedthe resultatthe monitortocompare betweenthe code
resultandthe appliedtime delay:
26. 17
The followingshowsthe monitoroutputresults which shows that the difference in reading
the micros function match the supposed delay (1000 Milles).
There isa small errorineach cycle of the programequal to 20 microsecondat most which is
high precision.
Aftercalculatingthe time betweenthese twoinputs,the phase shiftcanbe calculatedin
linearmannerwhere full periodoccursafter20 mille seconds(1/freq=1/50second)
correspond360 degree,sothe relationbetweenphaseshiftandtime of phase shiftis:
𝑝ℎ𝑎𝑠𝑒 𝑠ℎ𝑖𝑓𝑡 = 𝑡𝑖𝑚𝑒 𝑠ℎ𝑖𝑓𝑡 ∗
360
20
Then the PF will be equal to cosin the phase shift in radial as in the equations:
Ɵ = 𝑝𝑎𝑠ℎ𝑒 𝑠ℎ𝑖𝑓𝑡 ∗
𝜋
360
𝑃𝐹 = 𝑐𝑜𝑠Ɵ
27. 18
Section4.2.2:determine the firing angle
In order to control the generated reactive power from the capacitor bank we have to
control the value of either the capacitance or the applied voltage to the capacitor bank
according to the following equation:
𝑄𝑐 = 𝑉𝑟𝑚𝑠2
∗ 𝑊 ∗ 𝐶
Traditional method control the capacitance to control the reactive power generated, in
our project we control the applied voltage to the capacitor bank.
The main relation is between the firing angle (α) of the triac and the applied voltage
according to the following equations:
𝑉𝑟𝑚𝑠 = √
1
𝜋
∫ (𝑉𝑚 sin 𝑊𝑡)2
𝜋
𝛼
𝑑𝑤𝑡
= √
𝑉𝑚2
𝜋
∫ (sin 𝑊𝑡)2
𝜋
𝛼
𝑑𝑤𝑡
= √
𝑉𝑚2
𝜋
∫
1
2
(1 − 𝑐𝑜𝑠2𝑤𝑡)
𝜋
𝛼
𝑑𝑤𝑡
= √
𝑉𝑚2
2𝜋
[𝑤𝑡 −
𝑠𝑖𝑛2𝑤𝑡
2
] ; 𝑤𝑡 =∝ 𝑡𝑜 𝜋
= √
𝑉𝑚2
2𝜋
[𝜋 −
𝑠𝑖𝑛2𝜋
2
− 𝛼 +
𝑠𝑖𝑛2𝛼
2
]
= √
𝑉𝑚2
2𝜋
[𝜋 − 𝛼 +
𝑠𝑖𝑛2𝛼
2
]
= √
𝑉𝑚2
2𝜋
[𝜋 − 𝛼 +
𝑠𝑖𝑛2𝛼
2
]
Then 𝑉𝑟𝑚𝑠 = 𝑉𝑚√
1
2𝜋
[𝜋 − 𝛼 +
𝑠𝑖𝑛2𝛼
2
]
28. 19
The following figure shows the relation between the firing angle of the triac and the
applied voltage to the capacitor
Figure 12
As mentioned before we assumed that the consumption of real power of the load is
constant because it is hard to build KW meter also we assumed that the voltage at the
load is constant and equal to the nominal voltage, we also assumed that the worst PF
at the load is 0.4.
Now after finding the PF we found the required amount of generated reactive power
according to the following equation
𝑄𝑐 = 𝑃 (tan (acos𝑃𝐹𝑜𝑙𝑑) − tan(acos 𝑃𝐹𝑛𝑒𝑤))
Now to generate required reactive power to achieve reference PF the voltage should
be set according to the following
𝑄𝑐 = 𝑉𝑟𝑚𝑠2
∗ 𝑊 ∗ 𝐶
Then
𝑉𝑟𝑚𝑠 = √
𝑄𝑐
𝑊 ∗ 𝐶
29. 20
To control the applied voltage, the firing angle (α) should be set according to
following equations
𝑉𝑟𝑚𝑠 = 𝑉𝑚√
1
2𝜋
[𝜋 − 𝛼 +
𝑠𝑖𝑛2𝛼
2
]
With some manipulations with this equation we reached the following equation
sin2α − 2α = 𝑐𝑜
Where 𝑐𝑜 =
𝑉𝑟𝑚𝑠2
𝑉𝑚2
∗ 4𝜋 − 2𝜋
To solve this equation we use numerical method called Bisection Method
The shape of sin 2α − 2α will be as followed
Figure 13
When alfa included inside the interval of [0,π],
it can be concluded that the value of “co” has a range between 0 and -6.3
30. 21
-Bisection method
The bisectionMethod,whichisalternativelycalledbinarychopping,interval halving,or
Bolazan’s method,isone type of incrementalsearchnumerical methodinwhichthe interval
isalwaysdividedinhalf.If afunctionchangessignoveraninterval,the functionvalueatthe
midpointisevaluated.The locationof the rootsisthendeterminedaslying atthe midpoint
if the subinterval withinwhichthe signchange occurs.The processisrepeatedtoobtain
refinedestimates.A simple algorithmforthe bisectioncalculatedinthe nextstepsanda
graphical depictionof the methodisprovidedin the followingfigure [7].
Figure 14
31. 22
The main methodologyof programmingthe bisectionmethod(numerical)
Step1-Choose lowerxl andupperxu guessesforthe rootsuch that the functionchanges
signoverthe interval.Thiscanbe checkedbyensuringthatf(xl)*f(xu)<0
Step2-Anestimate of the root xris determinedby
xr=(xl+xu)/2
Step3-Make the followingevaluationstodetermine inwhichsubinterval.Thereforeset
xu=xrand
a) if f(xl)*f(xr)<0,the rootliesinthe lowersubinterval.Therefore,setxu=xrandreturnto
step2
b) if f(xl)*f(xr)>0,the rootliesinthe uppersubinterval.Therefore,setxl=xrandreturnto
step2
c) if f(xl)*f(xr)=0,the root equal x;terminate the computation.
Dependsonthe previous,the followingfigure showsthe bisectionusedcode toestimate the
value of alfain orderto control the rms voltage appliedtothe capacitorto control the
injectedreactive powertothe loadto correctthe powerfactorof the load.
Figure 15
32. 23
as the numberof iterationincrease the errorwill rapidlydecrease:Note
followingtable showsthe relationbetweennumberof iterationandthe max errorknowing
that the value of alfaincludedinthe interval of [0, pi].
Number of iterations Max Error (%) Max Error (degree)
1 50
90
2 25
45
3 12.5
22.5
4 6.25
11.25
5 3.125
5.625
6 1.56
2.808
7 0.78
1.404
8 0.39
0.702
9 0.19
0.342
10 0.097
0.1746
Table 1
33. 24
Section4.2.3:Generating the firing angle
Thissectioninterestedatthe usedmethodologiestogenerate the firingangle tothe triacin
orderto control the appliedvoltageatthe capacitorbank.
Simplythe projectuse twodifferentmethodologiestogenerate alfa afterfindingitin
numerical methodas mentionedinthe previoussectionof thischapter.
-first methodology :-
The firstmethodologymakesatestat everypossible”time point”of the period tofindoutif
thisisthe correct time togenerate alfaor not
The test mainly comparesbetweenthe foundedalfaintime domainwiththe difference
betweenthe presenttime andthe time where the ZCDof the voltage start, if theyare equal
thena highvoltage will appliedtooutputpinfora small periodof time (0.5in our project),
thenthe program start fromthe beginningtorepeatthisgenerationateverycycle with
difference firingangle dependsonthe new conditionof the load.
So if there isa newloadpowerfactor, the controllerwill make averyfast new firingangle to
control the amountof injectedreactive power.
Figure 16
34. 25
- secondmethodology :-
The secondmethodology hasthe same testwhichcompare betweenthe foundedalfa in
time domainwiththe difference betweenthe presenttime andthe time wherethe ZCDof
the voltage start,alsoif theyare equal thena highvoltage will appliedtooutputpinfora
small periodof time (0.5in our project),themaindifference isthat the programgenerates
the same alfa for50 times(one second) bycalculatingitonce inthe second,thenthe
program start fromthe beginningtorepeatthisgenerationateverysecondwithdifference
firingangle dependsonthe newconditionof the load.
Thismethodologyalsohasafast and practical response tothe changinginthe load
conditions,
Althoughthe second methodologyhas slowerresponse,it hasgoodaccuracy and evermore
practical effectiveness.
35. 26
Chapter 4: results and conclusions
This chapter shows the ability of the project to correct the PF of the load by
generation the firing angle to control the applied voltage of the capacitor bank, the
results shows both of the positive and negative parts of the sinusoidal signal have a
generated alfa related to the measured PF of the load,
As mentioned before. the PF calculated related to the time of phase shift between the
voltage and current ZCD which frequency duplicated from the sinusoidal signal, this
because of the ZCD should applied to both positive and negative part of the sin wave,
Using arduino monitor, we get the result of calculating the time of phase shift, PF and
firing angle.
The fpllowing figures shows that results for different values :-
Figure 17
40. 31
Also we get results from the oscilloscope to get the results comparing different values
of the generated firing angle with respect ZCD of the voltage as shown in the
following figures :-
Figure 22
Figure 23
42. 33
References:
[1] B.R.Gupta, (1998), Power System Analysis And Design, Third Edition ,
S.Chandand Company Ltd
[2] Van Cutsem T., 1991, “A method to compute reactive power margins with respect
to voltage collapse”, IEEE Transactions on Power Systems, pp 145
[3] Stephen J. Chapman,2004, Electric Machinery Fundamentals, p(363,364).
[4] http://pcbheaven.com/wikipages/Dimmer_Theory
[5]http://www.sprags.com/summary.html
http://arduino.cc/en/Main/arduinoBoardUno[6]
[7] book-numerical method for engineering, 6th
Edition 2009 Chapra Canal, page 124
43. 34
Appendix A
int VZD = 2; // voltage zero cross at pin 2
int IZD = 3; // current zero cross at pin 3
int fire =8;// output pin for fireing angle pin 8
float tv; // initial time of shifting calculatio from voltage crossing
float ti; // fianl time of shifting calculatio from current crossing
float Ton;
double theta;
const float pi = 3.14;
double PF;
float alfa;
float alfa1;
float TF=4000;
int flag1=0;
int flag2=0;
int flag3=0;
int flag4=0;
double co;
double Vrms;
int Vm=326;
int P = 5000;
int C=0.0014;
double PFn=0.95;
double xl;
double xu;
double xr;
double xrold;
int iter;
double fxl;
double fxr;
double test;
double ea;
int es=2;
double Qc;
double ea1;
void setup() {
Serial.begin(9600);
pinMode(VZD,INPUT);
pinMode(IZD,INPUT);
pinMode (fire,OUTPUT);
}
void loop() {
// finding the time of voltage ZCD
while (digitalRead(VZD) != 0 ){
tv = micros() ;
flag3=1; // allow to genrate alfa
flag4=1; // allow the current code
}
44. 35
if ((micros()-tv)>=TF && flag3==1){ // generat alfa if it's in the regon between ZCD of voltage
and current
digitalWrite (fire , HIGH );
delay (0.5);
digitalWrite (fire , LOW );
flag3=0;
}
//finding the time of current ZCD
if (flag4==1){
while (digitalRead(IZD) != 0 ){
ti = micros() ;
flag1=1;
}
}
if (flag1==1){ // there is a measured time shift between the two inputs
flag1=0;
Ton = ti-tv; // find the time between tv and ti
Ton=Ton/1000; // transfer the time phase shift to milli second
if (Ton >0.1 && Ton <4.359){ // the accepted values of Ton related to the accepted values of PF
// calculating PF
theta = Ton * pi/10 ; // finding the phase shift angle in rad
PF=cos(theta ); // calculating the power factor
// finding the firing angle using bisectional method
xr=0;
xl=0;
xu=pi;
Qc=P*(0.328- tan(theta));
Qc=abs (Qc);
Vrms = sqrt(Qc/C*100*pi);
co=((Vrms*Vrms)/8419)-(6.28); // co=((Vrms*Vrms)*4*pi/(Vm*Vm))-(2*pi)
iter = 0;
while (iter <=10 && ea<es ){
xrold=xr;
xr=(xl+xu)/2;
iter++;
if (xr != 0){
ea1=(xr-xrold)/xr;
ea =(abs(ea1))*100;
}
fxl=sin (2*xl)-(2*xl)-co;
fxr=sin (2*xr)-(2*xr)-co;
test = fxl*fxr;
if (test<0){
xu=xr;
}
45. 36
else if (test >0){
xl=xr;
}
else {
ea=0;
}
}
alfa = xr;// firing angle in rad
TF=alfa*10000/pi;// finding the fiering angle as time in micro second
flag2=1; // there is allowed values to print
}
else if (Ton <=0.1 && Ton >=0){
theta = Ton * pi/10 ;
PF=cos(theta );
alfa=pi;
flag2=1;//there is allowed values to print
}
else if (Ton <=5 && Ton >=4.359){
theta = Ton * pi/10 ;
PF=cos(theta );
alfa=0.01;
flag2=1;//there is allowed values to print
}
alfa1= alfa*180/pi; // firing angle in degree...only for monitoring
TF=alfa*10000/pi;// finding the fiering angle as time in micro second
if (flag2==1){ // variables to be prented
flag2=0;
Serial.println("time of phase shift : ");
Serial.println(Ton);
Serial.println("");
Serial.println("value of power factor");
Serial.println(PF);
Serial.println("");
Serial.println("value of fiering angle");
Serial.println(alfa1);
Serial.println("");
}
}
if ((micros()-tv)>=TF && flag3==1){ // generat alfa if it's not in the regon between ZCD of
voltage and current
digitalWrite (fire , HIGH );
delay (0.5);
digitalWrite (fire , LOW );
flag3=0;
}
}
46. 37
Appendix B
int VZD = 2; // voltage zero cross at pin 2
int IZD = 3; // current zero cross at pin 3
int fire =8;// output pin for fireing angle pin 8
float tv; // initial time of shifting calculatio from voltage crossing
float ti; // fianl time of shifting calculatio from current crossing
int flag1=0;
float Ton;
double theta;
const float pi = 3.14;
int flag2=0;
double PF;
double alfa;
float TF=4;
int flag3=0;
int counter;
double co;
double Vrms;
int Vm=326;
int P = 5000;
int C=0.0015;
double PFn=0.92;
double xl;
double xu;
double xr;
double xrold;
int iter;
double fxl;
double fxr;
double test;
double ea;
int es=2;
double Qc;
double ea1;
int counter ;
void setup() {
Serial.begin(9600);
pinMode(VZD,INPUT);
pinMode(IZD,INPUT);
pinMode (fire,OUTPUT);
}
void loop() {
while (digitalRead(VZD) != 0 ){
tv = micros() ;
flag3=1; // can search for TF
}
47. 38
}
while (digitalRead(IZD) != 0 && flag3==1 ){
ti = micros() ;
flag1 =1;
flag3=0;
}
if (flag1==1){ //PF meter
flag1 =0;
Ton = ti-tv; // find the time between tv and ti
Ton=Ton/1000; // transfer the time phase shift to milli second
flag2=1;
if (Ton > 5){
flag2=0;
}
if(PF>0.95|| PF<0.2){
flag1=0;
}
}
if (flag1 ==1){//dteremining the value of alfa (firing angle) using neumerical Bisectional metheod
theta = Ton * pi/10 ; // finding the phase shift angle in rad
PF=cos(theta ); // calculating the power factor
PF=abs (PF);
Serial.println("time of phase shift : ");
Serial.println(Ton);
Serial.println("");
Serial.println("value of power factor");
Serial.println(PF);
Serial.println("");
flag2=0;
xr=0;
xl=0;
xu=pi;
Qc=P*(0.328- tan(theta));
Vrms = sqrt(Qc/C*100*pi);
co=((Vrms*Vrms)*12.56/(106276))-(6.28); // co=((Vrms*Vrms)*4*pi/(Vm*Vm))-(2*pi)
iter = 0;
while (iter <=10 || ea<es ){
xrold=xr;
xr=(xl+xu)/2;
iter++;
if (xr != 0){
ea1=(xr-xrold)/xr;
ea =(abs(ea1))*100;
}
fxl=sin (2*xl)-(2*xl)-co;
fxr=sin (2*xr)-(2*xr)-co;
test = fxl*fxr;
if (test<0){
xu=xr;
}
else if (test >0){
48. 39
xl=xr;
}
else {
ea=0;
}
}
alfa = xr;
if(PF>0.92){
alfa=pi;
}
alfa=alfa*180/pi;
TF=alfa*20/360;// finding the fiering angle as time in mille second
Serial.println("value of fiering angle");
Serial.println(alfa);
Serial.println("");
}
counter = 0;
while (counter<100){
while(digitalRead(VZD) != 0){
TF = TF+1;
delay (TF);
digitalWrite (fire, HIGH);
delay (1.1);
digitalWrite (fire, LOW);
counter ++;
}
}
}