Next Article in Journal
Model Predictive Controller Based on Online Obtaining of Softness Factor and Fusion Velocity for Automatic Train Operation
Next Article in Special Issue
MVDT-SI: A Multi-View Double-Triangle Algorithm for Star Identification
Previous Article in Journal
An Angle Error Compensation Method Based on Harmonic Analysis for Integrated Joint Modules
Previous Article in Special Issue
Sinusoidal Single-Pixel Imaging Based on Fourier Positive–Negative Intensity Correlation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of a Measuring System for Electricity Quality Monitoring within the SMART Street Lighting Test Polygon: Pilot Study on Adaptive Current Control Strategy for Three-Phase Shunt Active Power Filters

1
Department of Cybernetics and Biomedical Engineering, Faculty of Electrical Engineering and Computer Science, VSB–Technical University of Ostrava, 17. listopadu 15, 708 33 Ostrava, Czech Republic
2
College of Electrical and Information Engineering, Hunan University, Lushan Road, Yuelu District, Changsha 410082, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(6), 1718; https://doi.org/10.3390/s20061718
Submission received: 25 February 2020 / Revised: 12 March 2020 / Accepted: 16 March 2020 / Published: 19 March 2020

Abstract

:
This study focuses on the design of a measuring system for monitoring the power quality within the SMART street lighting test polygon at university campuses with relation to testing an adaptive current control strategy for three-phase shunt active power filters. Unlike conventional street lighting, SMART elements are powered 24/7. Due to the electronic character of the power part of such mass appliances, there are increased problems with the power quality of the electric energy. Compared to the current concept of street lighting, there is a significant increase in the content of higher current harmonic components, which cause several problems in the distribution system. The test polygon contains 16 luminaires made by various manufacturers and mounted with various SMART components. Using the polygon control and monitoring system, dynamic load scenarios were selected. These scenarios tested the possibilities of different adaptive current control strategies for three-phase shunt active power filters to improve the power quality of electricity. This study focuses on three adaptive algorithms that respond to dynamic changes of current harmonics level in real-time. The possibility of active filter control was tested using FPGA, mainly due to the low latency of the filter control part.

1. Introduction

Street lighting is responsible for up to 15% of the national energy consumption [1]. From the perspective of current technologies, the operation of street lighting luminaires is usually very inefficient. Conventional light sources hitherto used for street lighting often operate without the possibility of regulation and illuminate at maximum intensity even when it is not necessary [2,3]. They often emit light even when natural ambient light is fully sufficient for the operation of the infrastructure. This leads to unnecessarily higher operating costs [1,4]. There are several methods of reducing the losses. The most radical method of reducing losses is the general replacement of conventional lighting technology with modern technology [5]. In the case of the test polygon in the VSB–Technical University of Ostrava campus described here, it is a transition from sodium vapor lamps to LED lamps. It is predicted that, between 2020 and 2025, the existing conventional street lighting (predominantly sodium vapor lamps) will become obsolete to a critical level [3]. There are approximately 1.4 million street lighting poles in the Czech Republic and its total value is approximately CZK 98 billion. The annual investment in the entire system is approximately CZK 1.75 billion. According to the Society for the Development of Street Lighting, the estimated lifetime of street lighting is approximately 40 years. For the luminaire itself, it is less than half [4,6].
The new generation of LED luminaires is characterized by high efficiency in operation at maximum output as well as in operation at lower output when the illumination intensity is regulated to the desired level [3,7,8]. The first generation of these luminaires had a low power factor (PF) in the range of 0.4 to 0.6. A low power factor value causes the electrical device to consume more current at the same output compared to a situation when the power factor was closer to value 1 [9,10]. The negative impact of this fact is a higher loss in the distribution of electricity compared to a state when the power factor equals or approximates 1. In the next generation, LED luminaires were equipped with a Power Factor Correction (PFC) circuit that increased the power factor to values ranging from 0.8 to 0.95. There are two types of PFC circuits: passive and active [7,11,12]. Passive PFCs are used for equipment of up to 100 Watts. The power factor correction method is based on the use of a passive low-pass filter to suppress higher harmonic components of the current. The filter consists of a serial connection of the LC circuit. Active PFCs are used for circuits with power consumption higher than 100 W, and the principle is based on a suitable method of controlling the circuit of the power supply being switched. The control circuit measures the input voltage and the current, and subsequently adjusts the duty cycle and the switching frequency so that the current and the voltage were phase-shifted as little as possible. Active PFCs not only improve PF, but they also decrease the harmonic distortion of the THD current. However, this does not mean that using an active PFC leads to a sinusoidal shape. Three-phase PFC problematics is further explored by Kolar et al. [13] and Friedli et al. [14]. During the simultaneous operation of various appliances, the power quality (PQ) tends to deteriorate significantly. Therefore, there is still room for compensation of higher harmonics currents, which would lead to improvements in PQ.
Another way of saving money for street lighting operation is to optimize the performance and usability of this lighting [6,15]. This can be achieved using various control methods. For example, if, at a specific time, the natural ambient light is of sufficient intensity, the street lighting will not illuminate at 100% power, but only at 60%. Another possibility is to illuminate street areas at a lower level at night and to detect movement of people or vehicles by means of this area using motion sensors [16]. Lighting control responds to movement by increasing the lighting level during the movement. The benefit is that the luminaires only illuminate at 100% power when needed and not all night long. LED luminaires are a suitable technology for the operation of SMART lighting, as they allow easy regulation of light intensity.
With LED intensity control, there is a problem associated with the behavior of the LED power supplies, which are usually designed and optimized for operation at 100% of the possible power and not, for example, for half power. When operating at lower power, the resulting power consumption of the lighting system decreases, but, on the other hand, the extent of the higher harmonic components of the current is increased, as the power circuits do not operate in an optimum mode. Higher harmonic components of the current subsequently cause a deterioration in the voltage quality due to distribution network impedance, which can cause a number of negative consequences. Negative impacts of poor voltage quality are, for example, shortening the lifetime of some electrical equipment, malfunction of protections, poor functionality of Mass Remote Control (MRC) receivers, or electrical motor overheating [10]. In some cases, it is necessary to choose a compromise between the energy saved and the degree of deterioration in the quality of electricity.
The quality of electric energy can be improved by means of filtering devices. According to the basic classification, filtration is divided into passive and active filtration. Passive filtration means that a filter for a particular harmonic component having fixed parameters is inserted into the circuit [17]. This type of filter cannot dynamically respond to possible changes in the interference spectrum. The second type of filter used is the active filter. The active filter is a filter controlled by the control system, and thus it allows dynamic changes in the filter properties depending on the current interference status. Active filters are divided into series active and shunt active power classes. The serial voltage active filter allows correction of the voltage amplitude, compensation of drops and peaks, removal of higher harmonic components, and achieving voltage symmetry. This filter does not allow working with the current amplitude.
The Shunt Active Power Filter (SAPF) is essentially a controlled current generator that injects the current into the part of the electrical circuit being compensated in parallel, via the coupler [18]. The control unit contained in the filter uses a current sensor to measure the instantaneous current waveform that is processed in the control unit by a suitable algorithm. The correction signal, which is amplified by the power section of the filter and produces a compensating current, is obtained by calculation. The compensating current is injected into the network and the compensating current is added to the network current. This results in significant suppression of the higher harmonic components in the resulting total current. Further, by generating a positive sequence and negative sequence, an unsymmetrical 3-phase load can be corrected so as to appear symmetrical by using a filter. Both types of filters can be combined into one comprehensive unit. The serial part of the filter improves voltage, while the current part of the filter corrects the disturbing effects of the load connected.
The authors of the article focus mainly on the research of control of SAPF [18]. The main objective of the research is modern control methods that are able to dynamically react to changes in the interference spectrum. The area of modern SMART street lighting systems is very dynamic in terms of electricity consumption and it is necessary that the filtration is designed for this fact in consideration. Therefore, static filtration cannot be used because it cannot effectively cover all of the interference variants that occur. Conversely, active filtration can respond to changing interference and adjust filter settings for optimal interference suppression using appropriate algorithms.
Compensation of higher harmonic components of the current is performed mainly because they cause a change in voltage shape or impair the voltage quality with a number of negative consequences. Examples of negative impacts may include higher load on phase conductors, unexpected load on the neutral conductor, overheating of transformers and electrical motors, possible destruction of compensating capacitors, or reduction of the service life of electrical equipment.
Although LEDs and SMART elements in street lighting do not generate higher harmonic components of significant performance as individual devices, it is necessary to take into account the deployment of thousands of SMART elements within one city, because each lighting pole can contain, in addition to the light source, the SMART elements stated further in the text. In summary, this is a potentially large source of interference. SMART elements are primarily camera systems, measuring systems, charging devices for mobile electronics and e-mobility, security systems, information systems, etc. Each of these elements contains a switching power supply, and the switching power supplies are the biggest cause of the higher harmonic components of the current [3].
It follows from the above that the issue of network interference in modern street lighting is a very topical matter. In response to these problems, the BROADBAND LIGHT test polygon was built in the parking lot next to the Faculty of Electrical Engineering and Computer Science at the VSB–Technical University of Ostrava Campus [16,19,20,21]. The test polygon allows testing of new street lighting technologies; measuring their impact on the power quality in various operating states [22]; and, in the future, also testing active filtration [23].
Furthermore, various methodologies of SAPF control using adaptive algorithms are described in this work. Then, there is a text concerning the newly created test polygon for the needs of the testing LED light sources and SMART elements and their influence on the quality of electric energy. The next chapter describes the experiments carried out in the polygon and their methodology. Both the HW part of the polygon control and monitoring as well as the results for the individual types of adaptive filtering algorithms being examined are described. Next, there is a description of the implementation of the Least Mean Squares (LMS) algorithm on Field Programmable Gate Array (FPGA) and real experiments with network interference filtration. The last chapter contain a discussion on the results achieved and also to the outline of the future work.

2. Methods

Figure 1 shows the basic distribution of SAPF algorithms for harmonic component extraction, which are generally divided into three basic groups: time-domain [24,25,26], frequency-domain [27,28,29], and soft computing methods [30,31].
Time-domain algorithms for harmonic component extraction calculate the reference current signal in two different ways: The first way is to use the p–q methods [24,25,32,33,34], Unity Power Factor (UPF) [26,35], Perfect Harmonic Cancellation (PHC) [26,36], or Synchronous Detection Method (SDM) [36,37,38], which operate with instantaneous powers in a harmonic distorted power system. The second way is comprises use of the Synchronous Reference Frame Method (SRF) [25,37] or Id-Iq [26,39,40], which works with instantaneous current values. These methods have the lowest computational demands and have already been described by the team of authors in the publication on [41].
Frequency-domain algorithms for harmonic component extraction include Discrete Fourier Transform (DFT) [42], Fast Fourier transform (FFT) [43,44,45,46], Recursive Discrete Fourier Transform (RDFT), Kalman filter, and others [47]. These algorithms are characterized by high computational complexity and, in transient processes, a method error occurs because the Fourier transform requires an entire period or an integral multiple for reference computation.
Soft computing methods are suitable for the extraction of harmonic components, especially in a time-varying environment, as these methods can adapt to the environment. The main representatives of these methods are adaptive filtering [48,49,50,51], fuzzy logic [34,52,53,54]; artificial neural networks [30,55,56,57,58] and genetic algorithms [59,60,61] or, possibly, their combinations, e.g., the Neuro-Fuzzy approach [34,62].
In this study, the following methods were used for suppressing higher harmonic components in the electrical network; Clarke transformation, notch adaptive algorithms least mean squares (LMS) filter, and recursive least squares (RLS) filter. Clarke transformation is used to obtain a reference signal x ( n ) for the adaptive algorithm. Using the adaptive algorithm, we obtain a three-phase compensating current for the converter that generates the compensating current.

2.1. Clarke Transformation

This transformation converts three-phase coordinates a-b-c to two-phase coordinates α - β -0, as shown in Figure 2. The current waveforms obtained by Clarke Transformation serve as a reference for adaptive filtering [63,64]. Transformation itself can be seen in Equation (1) for voltage signals and Equation (2) for current signals.
U 0 U α U β = 2 3 · 1 2 1 2 1 2 1 1 2 1 2 0 3 2 3 2 · U a U b U c ,
I 0 I α I β = 2 3 · 1 2 1 2 1 2 1 1 2 1 2 0 3 2 3 2 · I a I b I c .

2.2. Notch Adaptive Filter

Figure 3 illustrates the principle of the Notch Adaptive Filter. This filter is able to process multiple reference input signals from different sources. One transverse Finite Impulse Response (FIR) filter weights vector coefficient ( w i ) is needed for each reference input signal. In this study, two w i coefficients are used, and the filter is used to process two input signals that are phase-shifted by 90 . The notch adaptive filtering procedure is similar to the classical adaptive filtering procedure [65,66,67].

2.3. Notch Adaptive LMS Algorithm

The LMS algorithm is an essential representative of stochastic gradient adaptation. Stochastic gradient descent is one of the most commonly used iterative methods for optimizing differentiable objective functions, due to its ability to effectively accelerate the learning process. This method is named stochastic as the samples are selected randomly and not as one group (as in the standard descent gradient) or in the order in which they appear in the training set. Each LMS algorithm iteration requires three different steps to be performed in the given order. Notch LMS is a modification of the classical LMS algorithm for the notch adaptive filter structure. As with the classical LMS, the notch LMS algorithm requires three different steps to be performed in the order given [65,68].
  • Calculation of the FIR filter output value:
    y ( n ) = x ( n ) · w 1 T ( n ) x 90 ( n ) · w 2 T ( n ) .
  • Calculation of the estimated e ( n ) error signal:
    e ( n ) = d ( n ) y ( n ) .
  • Finally, the vector weight values w 1 ( n ) and the w 2 ( n ) corresponding to the FIR filter values are updated with respect to the following iteration,
    w 1 ( n + 1 ) = w 1 ( n ) + 2 μ e ( n ) x ( n ) .
    w 2 ( n + 1 ) = w 2 ( n ) + 2 μ e ( n ) x 90 ( n ) .
Note that the choice of the μ convergence constant (step size) has a major influence on the function of the filter. Too large a value of the step size results in loss of stability and also inaccurate filtration. Conversely, a low step size causes an increase in computation time and augments computation demands.

2.4. Notch Adaptive RLS algorithm

Unlike the LMS algorithm inputs that are considered stochastic, the Recursive Least Squares (RLS)-based algorithms are considered deterministic. Implementation of the RLS algorithm consists of calculation of gain vector k ( n ) , error estimation e ( n ) , vector coefficients w ( n ) , and matrix P ( n ) = R XX 1 ( n ) . Notch RLS is a modification of the classical RLS algorithm for the notch structure. To implement the RLS algorithm, the following steps must be performed in the following order [65,69].
  • The filter output is calculated using filter weights from the previous iteration and the current input vector:
    y ( n ) = w 1 T ( n ) x ( n ) + w 2 T ( n ) x 90 ( n ) .
  • The mean gain vector is calculated using the following equation.
    k 1 ( n ) = P ( n 1 ) x ( n ) λ + x T ( n ) P ( n 1 ) x ( n ) .
    k 2 ( n ) = P 90 ( n 1 ) x 90 ( n ) λ + x 90 T ( n ) P 90 ( n 1 ) x 90 ( n ) .
  • The value of the estimated error is calculated according to the following equation.
    e ( n ) = d ( n ) w 1 T ( n 1 ) x ( n ) + w 2 T ( n 1 ) x 90 ( n ) .
  • The weights vector is updated using the following equation.
    w 1 ( n ) = w 1 ( n 1 ) + e ( n ) k 1 ( n ) .
    w 2 ( n ) = w 2 ( n 1 ) + e ( n ) k 2 ( n ) .
  • The inverse matrix is calculated using the following equation.
    P ( n ) = λ 1 P ( n 1 ) λ 1 k ( n ) x T ( n ) P ( n 1 ) .
    P 90 ( n ) = λ 1 P 90 ( n 1 ) λ 1 k 90 ( n ) x 90 T ( n ) P 90 ( n 1 ) .
The RLS algorithm functionality is fundamentally influenced by the choice of the forgetting factor λ , having the values of λ ( 0 , 1 ] . If λ = 1 , then we are talking about an estimate without forgetting. Due to the shape of λ n i , we can talk about weighting. The input values of the individual signals before i = 1 are considered as zero; the values from the last set of values are significant. Thus, the matrix or the vector of mutual correlations are weighted by the previous autocorrelation, adding the correction for the relevant values of the autocorrelation of the matrix or the vector of mutual correlations, see Equations (8) and (9). In practical implementation, we usually consider from λ = 0.98 to λ = 1 . For small values of the coefficient λ , there is little contribution of the previous samples to the covariance matrix. This makes the filter more sensitive to current samples.

2.5. Three-Phase Shunt Active Power Filter

Figure 4 shows a power system configuration containing SAPF. The purpose of SAPF is to compensate for the higher harmonic components contained in the power supply system due to nonlinear loads. The compensation itself occurs by SAPF delivering harmonic components generated by nonlinear loads to the Point of Common Coupling (PCC), but in the opposite phase. The SAPF can also compensate for idle power without any resonance. The SAPF is connected to the power system via an output filter to minimize switching ripples. Further information on SAPF can be found in [54,61,70,71,72].
The SAPF structure consists of two main parts: a control block and a voltage source inverter. The control block generally contains four main control algorithms: (1) harmonic extraction, (2) DC-link capacitor voltage regulation, (3) current control, and (4) synchronizer algorithms. The voltage source inverter contains six IGBT semiconductor switches in a three-phase system, which are connected in a bridge circuit [70].

3. SMART BROADBAND LIGHT Test Polygon

The SMART BROADBAND LIGHT test polygon is situated in the parking lot of the Faculty of Electrical Engineering and Computer Science at the VSB–Technical University of Ostrava Campus [73]. It currently contains 10 pylons for mounting of various equipment. The pylons are fitted with homologated luminaires in accordance with the applicable standards for the operation of street lighting in the Czech Republic. In total, they are fitted with four types of luminaires, which are conventional, and one type of experimental luminaire (L2L) that is being developed. Each of the pylons is also equipped with its own switchboard, in which a Wi-Fi router + various types of SMART sensors and SMART elements are installed. The individual pylons communicate with each other via a wireless network and, together, they form a Full-Mesh topology network. This network is controlled remotely from the lab where the network server is located as well as several PCs that can communicate with and manage the car park infrastructure. Each pylon forms a separate unit and can be controlled independently of the others, so that individual luminaires can be controlled independently. The parking lot plan can be seen in Figure 5. A simplified idea diagram of the SMART car park can be seen in Figure 6. In Figure 7, various photos from testing polygon are shown.

3.1. Luminaires in the Polygon

Currently, the polygon is fitted with four types of luminaires. All luminaires use LED light sources and there are 17 light sources altogether. Switching of the luminaires is performed by the DALI communication interface, which is converted to the Ethernet interface using a DALI2ETH converter. Each pylon is equipped with its own switchboard, which contains a Wi-Fi router, a 24VDC power supply, a DALI-Ethernet converter, and also other SMART technologies (a camera system, an Ethernet speaker, information boards, weather stations, etc.). Moreover, three switchboards use information transmission via the Power Line Communication (PLC) technology, where each of these luminaires is connected to a different phase of the electrical network.

3.2. System for Measurement and Evaluation of Electrical Power Quality

The system for measurement and evaluation of electric power quality designed according to standards IEC 61000-4-30 [74] and IEC EN 50160 [75] is also an integral part of the polygon system. The system is based on the modular measuring system equipped with National Instruments (NI) data acquisition HW. Special signal conditioning modules are used to measure three voltages of 230VAC and three currents. Signal conditioning modules outputs are connected to data acquisition HW. System wiring diagram can be seen in Figure 8.

3.3. Data Acquisition HW

The measurement system is based on the NI cDAQ-9185 4-slot chassis, which provides digitized data via Ethernet (Figure 9a). One slot in the chassis is fitted with the NI-9205 (Figure 9b) 32-input data acquisition module containing a 16-bit AD converter. The advantage of this concept of modular measuring HW is the simple extension of the system by additional HW modules and their use by modification of the software for operating this device. The cDAQ-9185 chassis is accessed by the software developed using NI-DAQ libraries. The data is read by means of a program implemented in LabVIEW on a PC in the control laboratory.

3.4. Signal Conditioning Modules for Voltage and Current Signals

The signal conditioning modules are designed for use in the field of electric power quality measurement. The voltage converter (Figure 9c) has 2 input ranges: 600 V and 300 V. The current converter (Figure 9d) has 2 input ranges: 25 A and 12.5 A. The output signal has an amplitude of ± 10 V. The modules are characterized by minimal harmonic distortion and high linearity of conversion. The frequency range of the converters is 100 kHz, with the option to activate a low-pass filter with a cut-off frequency of 2.5 kHz, which corresponds to the 50th harmonic component of the supply voltage [76,77].
The measuring HW is located in the substation of the faculty building from where the data is transmitted to the control laboratory via LAN. The electrical diagram of the system for measurement and evaluation of electrical power quality can be seen in Figure 8.

3.5. Server

The control server of the entire system is located within the control laboratory. The server runs on the Debian Linux distribution, which guarantees stability, easy maintenance, and is very popular in server installations. The server has both the MQTT (Message Queuing Telemetry Transport) broker control function and the functions of a web server as the database of all data that will pass through the test polygon [16,73]. The database is built on PostgreSQL, which is an open source object-relational database system. The web server is created in Apache HTTP Server and Daphne 2.1.0. The application framework for polygon handling runs on the Django platform.

3.6. Control Applications

The LabVIEW development environment was chosen for system integration of all systems into one unit. LabVIEW is extremely suitable for fast prototyping and excellent support of data acquisition. For the experiments, an application that can perform a sequence of commands with the test polygon and continuously records the voltage and current flowing in the test polygon electrical network has been designed. For simplicity reasons, we will call the sequence of commands a ”scenario”. The front panel of the control application written in LabVIEW can be seen in Figure 10.
First, the application loads the scenario, which is a specifically formatted .CSV file (example of formatting can be seen on Table 1). This scenario includes relative execution time of the command, the command itself, and the performance of each luminaire. Furthermore, the scenario contains the necessary delay time after the command is executed. The delay before the next command is necessary, because after sending the command, the polygon infrastructure needs up to 2 secs to execute the command, depending on the command type and the number of luminaires included in the command. Once all the commands are executed, a command to completely turn off the luminaires in the test polygon is sent and the process for operating the scenario execution is completed.
In parallel with the polygon control process, there are 3 other processes running: (1) measurement using the DAQ system, (2) recording of the data measured, and (3) operation of the MQTT communication.
MQTT stands for Message Queuing Telemetry Transport. It is a simple standardized protocol that is used to exchange messages between devices. Its most common use is in Internet of Things (IoT) applications. The protocol is designed to be used in large networks with a low data stream. It is adapted to use the smallest possible data streams. It is, therefore, suitable for use in situations where it is necessary to periodically gather data or the operation of the data network is somehow limited, e.g., slow network speed, high latency, or frequent network outages [73].
The principle that it operates an is that a device that acts as a client sends messages to, and receives messages from, the server. The filtration of unwanted messages is performed in such a way that the device subscribes only to those subjects on which it is written and ignores others. The subject is called the topic. The part of the message containing the data is called the Message. Each message contains these two items. The server also serves as a data concentrator for all messages from all clients connected. It is called the MQTT broker. Each device can work in three various modes: either it can only receive messages, send messages, or work in both modes. An idea diagram of a currently used MQTT network on a test polygon can be seen in Figure 11.
Simultaneously with the start of the application, the measurement of electrical quantities by means of a data collection system is commenced. As part of the initialization, the NI cDAQ-9185 measurement chassis is connected. The measurement channels are then created and the sampling rate is set. Furthermore, the measurement and the cyclic continuous reading of the data from the measuring card start. Next, the data is sent into the process for writing data to a file via the FIFO queue. The program runs until the scenario processing announces the end of the scenario; then, the measurement is terminated and the measurement chassis is disconnected.
At the start of the measurement, the data writing process first creates a TDMS file with a unique name and then begins to receive the continuously measured data by reading the queue. It cyclically saves data in each waveform to the TDMS file. The application does not store data in any buffer before saving either; memory leak is therefore avoided. The whole application runs until the ”end of scenario” message arrives. Then, the last data are saved and the file is closed.
In the case of MQTT communication, the connection to the MQTT broker will first be established using the IP address and port 1883, which is specified in the MQTT v3.1 standard [73]. Subsequently, there is a wait time and FIFO messages containing commands from the scenario are received. These commands are then converted to the specific MQTT message. MQTT topic device/lights/”MAC address of the second pole”/power/set with MQTT message 100.00 corresponds to scenario with index 3 from Table 1.
As the luminaires do not instantly respond to the received command, there is a wait time after each command, the length of which was chosen experimentally. The measurement revealed that a wait time of approximately 2 secs is safe enough for sending one command. Furthermore, because of the possibility of network congestion by the camera system running concurrently with the measurement, 1 sec was added to the wait time. Thus, a wait time of 3 secs is selected for one command. MQTT messages are sent to all ten luminaires when special commands Full OFF or Full ON are entered. Here, a wait time of 10 secs is selected at the beginning so that the data measured immediately shows where the polygon was switched off. From this starting point, further computational experiments were performed. After the end of the scenario is announced, the connection to the MQTT server is terminated correctly. Figure 12 shows the simplified scheme of the previously mentioned functionalities.

4. Experiments

To verify the theoretical assumptions of SAPF, we simulated the extraction of compensating currents i c L 1 ( t ) , i c L 2 ( t ) , and i c L 3 ( t ) . Figure 13 shows a diagram illustrating the experiment with the simulated inverter. Currents i L 1 ( t ) , i L 2 ( t ) , and i L 3 ( t ) and voltages u L 1 ( t ) , u L 2 ( t ) , and u L 3 ( t ) are measured using NI cDAQ-9185 with NI-9205 module. Subsequently, the whole experiment is performed on a PC and the compensating current is obtained. The three-phase signal is first converted using a Clarke transform of x ( n ) and x 90 ( n ) . These signals are then used as the primary inputs of each Notch Adaptive Filter, where the individual phases of the measured signal are used as reference inputs d ( n ) . The error signal e ( n ) is then used as the primary input of in the simulated inverter. Figure 14, Figure 15, Figure 16 and Figure 17 show the results of these simulations. It can be noticed that the noise in the output signal was not completely suppressed. This is due to the artificial delay that has been introduced and corresponds to the latency of the real inverter. The unbalanced three-phase load indicates the testing polygon itself. To provide better conditions for SAPF testing, the polygon was deliberately designed as an unbalanced load.

4.1. Comparison of Various Luminaries

Figure 18 shows the general course of the four-day consumption measurement on the previously described testing polygon. A total of 3 public lighting technologies are compared, namely, sodium-based, LED-based, and SMART LEDs. SMART LEDs are operated 24/7, whereas the other lighting technologies are only turned on when necessary, mainly during night and morning hours. The measured waveforms show that the SMART LEDs consume approximately 45W; however, when compared to conventional uncontrolled LED technology, the SMART LEDs operation was only maintained at 60% of total power to further save energy. In addition to the standard operation of the testing polygon—night lighting—various other scenarios were tested as well (letters corresponds with Figure 18):
  • Because of the morning arrivals of people to work, as the polygon fills up, the individual lighting poles responds and light up to almost full power.
  • Daily testing of the various components of the testing polygon.
  • A similar scenario as A), but, in addition, the rising sun was taken into account—with gradually higher ambient light intensity, there was no need to illuminate at higher power.
  • The consumption of SMART elements on the polygon is approximately 45W.
  • In the case of no recorded event (passing car, pedestrian, etc.), SMART lighting operation is maintained at 60% of total power.

4.2. Filter Settings Optimization

To determine the optimal settings of the LMS algorithm, an optimization algorithm was used, in which the filter length N and step size μ were gradually increased. The filter length was increased by Δ N = 1 , whereas the step size was increased by Δ μ = 1 × 10 7 . The final values were N M A X = 20 a μ M A X = 10 × 10 5 . Subsequently, the value of THD was thoroughly examined and its global maximum was sought. The settings coordinates for this specific T H D m i n were N o p t and μ o p t . The optimization was carried out separately for each individual phase. The block scheme of this experiment can be seen in Figure 19. A similar approach was used in [78].

4.3. Laboratory Experiment

In addition to the previously described experiment, a single-phase load variant was performed as well. The simulated converter was replaced by a real solution, consisting of a control unit built on the NI cRIO-9073 and an AE-TECHRON 7224 power amplifier. The control unit measures voltage signals through the NI-9225, whereas the current is measured by NI-9227 twice. The compensation current is generated through the analog output module NI-9263, amplified by AE-TECHRON 7224 amplifier, and coupled to the compensated circuit via the R-L coupling circuit. The frequency range of the amplifier is DC 300 kHz, the maximum voltage is 158 V, and the maximum current is 50 A. The supply network was replaced by a controllable AC source, and the short-circuit impedance was increased by series inductance. The block diagram of the experimental setup is shown in Figure 20, and the photograph of the whole experiment can be seen in Figure 21.

4.4. FPGA Experiment

To achieve the highest possible filtration quality, it was necessary to minimize the reaction time between data acquisition and the subsequent reaction of the inverter, i.e., by injecting the compensating current back into the load. For this reason, the FPGA was used for the implementation because it provides the possibility of almost parallel data processing. Figure 22 shows a block diagram of the experiment with FPGA described in Section 4.6.
Figure 23 shows the current waveform envelopes of the scenario developed, which are described in Section 3. The LED luminaires were switched on and off for 160 seconds according to the predefined scenario. The result is a varying three-phase unbalanced load with varying levels of higher harmonic components in the electrical network.
On these real waveforms it is demonstrated how the tested adaptive filter algorithm adapts to different loads over time. In the simulated experiments, no real active filter was used to compensate for higher harmonic components. To respect the properties of the real active filter, a 100 μ s delay was applied in the simulations, which simulates the latency of the real converter to which the adaptive algorithms will be applied.

4.5. Results

Figure 24 shows the Total Harmonic Distortion (THD) of the current on the L1 phase without filtration and with filtration applied. The THD values were calculated from time windows Tw = 200 ms. The changes in THD over time are caused by switching the LED luminaires on and off. The graph shows that it is possible to achieve THD reduction, and thus suppression of the higher harmonic components, by applying adaptive filtration and that both of the adaptive algorithms used achieve similar results.
Figure 25 shows the Signal-to-Noise Ratio (SNR) of the current on the L1 phase before and after filtration. The SNR values were again calculated from time windows: Tw = 200 ms. The decreases and increases in the SNR are, as well as with the THD, caused by switching the LED luminaires on and off. It is clear from the graph that the SNR increased (thus improved) after the filtration, but the behavior of the adaptive algorithms is different. It can be seen that the LMS algorithm achieves a more stable SNR than the RLS algorithm.

4.5.1. Total Harmonic Distortion

THD is defined as the sinusoidal signal distortion and is expressed in percent. It is referred to as the ratio of the sum of the RMS current values of all higher harmonic components to the RMS current value of the fundamental harmonic component.
T H D I = I 2 2 + I 3 2 + I 4 2 + + I n 2 I 1 · 100 ,
where I 1 is the RMS current value of the fundamental harmonic and I 2 , , I n are the RMS current values of higher harmonics.

4.5.2. Signal-to-Noise Ratio

SNR is defined as the useful signal-to-noise ratio and is indicated in decibels. If the SNR is greater than 0 dB, the useful signal is greater than the noise. It can also display the similarity between the signal measured and the ideal (reference) signal.
S N R OUT = 10 · log 10 i = 1 N 1 [ s i g ideal ( i ) ] 2 i = 1 N 1 [ s i g out ( i ) s i g ideal ( i ) ] 2 .
Figure 26 shows the current waveforms in the BROADBAND LIGHT test polygon when the LED luminaires are switched off and when the current is still consumed by the power sources switched and the SMART elements, which are permanently powered and consume a nonlinear current. This state is named as Idle run of the test polygon. Figure 14 andFigure 15 show the current waveforms after filtration, demonstrating a noticeable improvement in the THD. More accurate THD values before and after filtration are shown in Table 2.
The current spectra before and after the filter implementation in the Idle run state are shown in Figure 27. The graph shows that the LMS has a negative effect on the first harmonic component amplitude, which is caused by the long convergence time of the algorithm. Higher harmonic components are considerably suppressed using both adaptive algorithms.
Figure 28 shows the current waveforms in the BROADBAND LIGHT test polygon when the LED luminaires and the SMART elements are switched on. Figure 16 and Figure 17 show current waveforms after filtration, demonstrating a noticeable improvement in the THD, but the convergence time no longer affects the filtration negatively. More accurate THD values before and after filtration are shown in Table 3.
Figure 29 shows the current spectra before and after applying of filtration in switched on state. The graph shows that the LMS has a minimum effect on the first harmonic component amplitude, whereas the RLS has a slightly negative effect on the first harmonic component amplitude. Higher harmonic components were successfully suppressed using both adaptive algorithms.

4.6. Implementation on FPGA

One of the important factors influencing the quality of higher harmonic component compensation is the latency between the time of measurement of the relevant values of the load currents and the time when the values measured are processed by the control unit, and subsequently the instantaneous compensation current values are generated by the converter. The latency described should ideally be zero, practically as short as possible (tens, maximum hundreds of microseconds). It is defined as (A) the sum of the time of signal digitization and processing by the control unit and (B) the response time of the output electronics (generating a power compensating current) to the change of the desired output value. The (A) time can be minimized by an efficient and computationally undemanding signal processing algorithm and a high computational performance of the control unit. As part of our research, we implemented an adaptive notch filter with an LMS algorithm, Clarke transformation, and IIR filtration of orthogonal currents into a potential control unit (see Figure 3 and Figure 22). We decided to use virtual instrumentation approach using the NI cRIO platform, which features a FPGA and a microcontroller with a real-time operating system. The cRIO platform was selected specifically because it contains a FPGA that enables implementation of real parallel data processing with high bandpass and the highest level of determinism.
To conduct the experiment we selected the NI myRIO-1900 module intended for the development of control and measurement systems. The system features the Xilinx ZYNQ Z-7010 System on a Chip (SOC), integrating a FPGA and a dual-core ARM processor into a single chip. A variety of peripherals on myRIO-1900 is available to the user: 10 analogue inputs, 6 analogue outputs, and 40 digital input/output lines. A sample of the current waveforms mentioned above (beginning of Section 4) was used as a data source for our experiment. Figure 30 display samples of currents of individual loads, and their frequency characteristics can be seen in Figure 31, marked as L1, L2, and L3.
The algorithm implemented on the FPGA takes 8 clock cycles of the basic FPGA clock (40 MHz) to process the measured current signals from the moment they are digitized and read from the ADC by the FPGA. Thus, the signal processing time is 8 times the duration of one clock cycle of a 40 MHz clock signal, which corresponds to 8 × 25 ns = 200 ns. This is an extremely short time, representing what we wanted to achieve for this application. NI myRIO includes an ADC with a Successive approximation register (SAR) architecture having a sampling rate of 500 kSa/s. This corresponds to a theoretical conversion time of one sample of 2 μ s; when sampling three consecutive channels, the theoretical delay between the signals measured and processed is 6 μ s, which is more than sufficient for our project. The implemented system is therefore suitable as a control unit of an active power filter as it is able to control power electronics with a theoretical delay of 6.2 μ s. An example of the results obtained from the described experiment for step size μ = 0.001 is shown in Figure 31 and Figure 32. Tests were performed on all three phases for five different values of the convergence parameter μ (step size) ranging from 0.00025 to 0.005 with an adaptation time from 5 ms ( μ = 0.005 ) to 100 ms ( μ = 0.00025 ). A summary of the results is clearly shown in Table 4.

5. Discussion

As part of a future work, the team of authors intends to focus on the practical implementation and research of the real conditions of the power network. To create the necessary research conditions, a system for laboratory testing of various operating conditions of the power network was designed and development in cooperation with an industrial partner is planned. The whole system will consist of two parts.
The first part will be a controllable current source for the controlled injection of higher harmonic components into the power supply network, which will serve as a controllable compensator. The second part of the system will be a controllable three-phase load; this part will serve as an imaginary device that generates network interference in the power network. The main advantage of this approach is that further research will not only consist of simulations, but everything will be implemented and verified using real HW.
Another intention of the team is to test different types of adaptive filtration algorithms to obtain a compensating current signal. The effect of the size of the THD as well as the rate of convergence of the algorithm leading to a successful result will be examined.
The key component will be the implementation of control algorithms on the FPGA gate array, which has the main advantage of computational speed, as it enables native parallel data processing. The delay time of the calculation should ideally be up to tens of microseconds so that the quality of compensation of the higher harmonic components was sufficient. A certain disadvantage, which so far prevents mass deployment of the FPGA in active compensators, is the relatively complex implementation of gate array architecture design. As mentioned in the previous paragraphs, the team managed to implement the LMS algorithm in a gate array, which is the simplest one in terms of implementation. The implementation of other algorithms for active filter control is under development.
The above-mentioned system will form a platform for testing SAPF control algorithms. Initially, the testing will be performed under laboratory conditions at the VSB–Technical University of Ostrava campus. Subsequently, implementation in the BROADBAND LIGHT test polygon will be performed and operation with real SMART devices will be verified. The system will then be verified also in an industrial environment.

6. Conclusions

In this publication, the authors deal with monitoring the quality of electricity, focusing primarily on the issue of SMART street lighting. Particular attention is paid to the testing of individual types of SMART street lighting. Furthermore, there are presented individual algorithms that are used to control active compensators f non-harmonic SAPF waveforms. Subsequently, a unique testing platform for SMART street lighting experiments is presented. As a demonstration of one of the many functionalities, the so-called scenarios are introduced here, where the lighting is controlled via the MQTT communication protocol and the voltage and current data for each phase are collected by means of the measuring system.
In the first part of the practical publication, the authors deal with software implementation of the compensation system using adaptive LMS and RLS algorithms at a simulated converter delay of 100 μ s. The function of the adaptive algorithm is fundamentally influenced by its settings, such as the filter length, the step size, and the forgetting factor. Various filter parameter settings were tested by automation and, for ideal adaptive filter settings, a THD improvement of 26.5% for the LMS and 29.4% for the RLS is to be achieved, which is an average THD improvement of 75% for the LMS and 83% for the RLS. The LMS algorithm performs worse and has a longer convergence time than the RLS algorithm, but the RLS algorithm is more demanding computationally and in its implementation.
The second part of the publication deals with the implementation of the concept of active filter control on the FPGA designed, mainly due to the short time needed to calculate the filter algorithm. Due to the implementation on the gate array, a less complicated LMS method was selected. The results show that there was an improvement in all three phases and, therefore, a decrease in the THD value. The best results for the adaptation time were from 40 ms to 50 ms, which corresponds to step size μ = 0.001 . Here, the THD decreased by 19% on average, which is a relative improvement in the THD by an average of 80%. Lower step size values showed better THD values, but the adaptation time increased up to 100 ms.

Author Contributions

Conceptualization, R.M. and J.B. (Jan Baros); Methodology, R.M. and P.B.; Software, J.B. (Jan Baros), J.B. (Jindrich Brablik) and J.R.; Validation, R.M., J.B. (Jindrich Brablik), J.B. (Jan Baros), R.J., J.R.; Formal Analysis, R.M., P.B., J.B. (Jan Baros), R.K., H.W.; Investigation, R.M., J.B. (Jan Baros) and J.R.; Resources, R.M. and P.B.; Data Curation, L.D.; Writing—Original Draft Preparation, J.B. (Jan Baros), J.R., J.B. (Jindrich Brablik), R.K. and R.J.; Writing—Review & Editing, R.M., J.B. (Jan Baros) and R.J.; Visualization, J.B. (Jan Baros) and R.J.; Supervision, R.M. and P.B.; Project Administration, R.M. and P.B. All authors have read and agreed to the published version of the manuscript.

Funding

This article was supported by the Ministry of Education of the Czech Republic, Project No. SP2020/156 and SP2020/151. This work was supported by the European Regional Development Fund in the Research Centre of Advanced Mechatronic Systems project, project number CZ.02.1.01/0.0/0.0/16_019/0000867 within the Operational Programme Research, Development and Education.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dolara, A.; Faranda, R.; Guzzetti, S.; Leva, S. Power quality in public lighting systems. In Proceedings of the 14th International Conference on Harmonics and Quality of Power—ICHQP 2010, Bergamo, Italy, 26–29 September 2010; pp. 1–7. [Google Scholar] [CrossRef]
  2. Martirano, L. A smart lighting control to save energy. In Proceedings of the 6th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems, Prague, Czech Republic, 15–17 September 2011; pp. 132–138. [Google Scholar] [CrossRef]
  3. Novak, T.; Sokansky, K.; Koudelka, P.; Martinek, R. Implementation of smart technologies into cities and villages using elements of public lighting. Light 2017, 20, 46–52. [Google Scholar]
  4. National Energy Efficiency Action Plan of the Czech Republic; Ministry of Industry and Trade, Department of Energy Efficiency and Savings: Prague, Czech Republic, 2016.
  5. Cacciatore, G.; Fiandrino, C.; Kliazovich, D.; Granelli, F.; Bouvry, P. Cost analysis of smart lighting solutions for smart cities. In Proceedings of the 2017 IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar] [CrossRef]
  6. Half of the public lighting in the Czech Republic will have to undergo an overall renovation by 2025. Available online: https://ec.europa.eu/energy/sites/ener/files/ener-2017-00343-00-00-en-tra-00.pdf (accessed on 10 February 2020).
  7. Noshahr, J.B.; Meykhosh, M.H.; Kermani, M. Current harmonic losses resulting from first and second generation LED lights replacement with sodium vapor lights in a LV feeder. In Proceedings of the 2017 IEEE International Conference on Environment and Electrical Engineering and 2017 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Milan, Italy, 6–9 June 2017; pp. 1–5. [Google Scholar] [CrossRef]
  8. Zak, P.; Vodrackova, S. Conception of public lighting. In Proceedings of the 2016 IEEE Lighting Conference of the Visegrad Countries (Lumen V4), Karpacz, Poland, 13–16 September 2016; pp. 1–4. [Google Scholar] [CrossRef]
  9. Karawia, H.; Elhoseiny, M.; Mahmoud, M. Harmonic analysis for street lighting lamps. CIRED-Open Access Proc. J. 2017, 2017, 655–658. [Google Scholar] [CrossRef]
  10. Dolara, A.; Leva, S. Power Quality and Harmonic Analysis of End User Devices. Energies 2012, 5, 5453–5466. [Google Scholar] [CrossRef]
  11. Phannil, N.; Jettanasen, C.; Ngaopitakkul, A. Harmonics and Reduction of Energy Consumption in Lighting Systems by Using LED Lamps. Energies 2018, 11, 3169. [Google Scholar] [CrossRef] [Green Version]
  12. Qi, W.; Li, S.; Yuan, H.; Tan, S.C.; Hui, S.Y. High-Power-Density Single-Phase Three-Level Flying-Capacitor Buck PFC Rectifier. IEEE Trans. Power Electron. 2019, 34, 10833–10844. [Google Scholar] [CrossRef]
  13. Kolar, J.W.; Friedli, T. The Essence of Three-Phase PFC Rectifier Systems—Part I. IEEE Trans. Power Electron. 2013, 28, 176–198. [Google Scholar] [CrossRef]
  14. Friedli, T.; Hartmann, M.; Kolar, J.W. The Essence of Three-Phase PFC Rectifier Systems—Part II. IEEE Trans. Power Electron. 2014, 29, 543–560. [Google Scholar] [CrossRef]
  15. Bieliński, K.; Cieślik, S. Experimental Study of Higher Harmonics Content in Street Lighting System Current. Acta Energetica 2016, 2, 45–52. [Google Scholar] [CrossRef]
  16. Kuncicky, R.; Kolarik, J.; Soustek, L.; Kuncicky, L.; Martinek, R. IoT Approach to Street Lighting Control Using MQTT Protocol. In AETA 2018-Recent Advances in Electrical Engineering and Related Sciences: Theory and Application; Zelinka, I., Brandstetter, P., Trong Dao, T., Hoang Duy, V., Kim, S.B., Eds.; Springer International Publishing: Cham, Spain, 2020; Volume 554, pp. 429–438. [Google Scholar] [CrossRef]
  17. Sanjay, J.S.; Misra, B. Power Quality Improvement for Non Linear Load Applications using Passive Filters. In Proceedings of the 2019 3rd International Conference on Recent Developments in Control, Automation & Power Engineering (RDCAPE), Noida, India, 10–11 October 2019; pp. 585–589. [Google Scholar] [CrossRef]
  18. Martinek, R.; Rzidky, J.; Jaros, R.; Danys, L.; Baros, J.; Bilik, P. Shunt Active Power Filter Control Using Adaptive Algorithms NLMS and QR-RLS. Int J. Simul. Syst. Sci. Technol. 2019. [Google Scholar] [CrossRef]
  19. Martinek, R.; Danys, L.; Jaros, R. Visible Light Communication System Based on Software Defined Radio: Performance Study of Intelligent Transportation and Indoor Applications. Electronics 2019, 8, 433. [Google Scholar] [CrossRef] [Green Version]
  20. Danys, L.; Martinek, R.; Jaros, R.; Baros, J.; Bilik, P. Visible Light Communication System Based on Virtual Instrumentation. IFAC-PapersOnLine 2019, 52, 311–316. [Google Scholar] [CrossRef]
  21. Soustek, L.; Martinek, R.; Kuncicky, R.; Danys, L.; Baros, J. Possibilities of intelligent camera system based on virtual instrumentation: Technology of Broadband LIGHT for ’Smart City’ concept. IFAC-PapersOnLine 2019, 52, 170–174. [Google Scholar] [CrossRef]
  22. Baros, J.; Danys, L.; Jaros, R.; Martinek, R. Wireless Power Quality Analyser based on Virtual Instrumentation. IFAC-PapersOnLine 2019, 52, 465–472. [Google Scholar] [CrossRef]
  23. Baros, J.; Martinek, R.; Jaros, R.; Danys, L.; Soustek, L. Development of application for control of SMART parking lot. IFAC-PapersOnLine 2019, 52, 19–26. [Google Scholar] [CrossRef]
  24. Tsengenes, G.; Adamidis, G. An improved current control technique for the investigation of a power system with a shunt active filter. In Proceedings of the 2010 International Symposium on Power Electronics, Electrical Drives, Automation and Motion (SPEEDAM 2010), Pisa, Italy, 14–16 June 2010; pp. 239–244. [Google Scholar] [CrossRef]
  25. Wamane, S.S.; Baviskar, J.; Wagh, S.R. A Comparative Study on Compensating Current Generation Algorithms for Shunt Active Filter under Non-linear Load Conditions. Int. J. Sci. Res. Publ. 2013, 3, 1–6. [Google Scholar]
  26. Montero, M.I.M.; Cadaval, E.R.; Gonzalez, F.B. Comparison of Control Strategies for Shunt Active Power Filters in Three-Phase Four-Wire Systems. IEEE Trans. Power Electron. 2007, 22, 229–236. [Google Scholar] [CrossRef]
  27. Patel, P.J.; Patel, R.M.; Patel, V. Implementation of FFT Algorithm using DSP TMS320F28335 for Shunt Active Power Filter. J. Inst. Eng. India Ser. B. 2017, 98, 321–327. [Google Scholar] [CrossRef]
  28. Hrbac, R.; Mlcak, T.; Kolar, V. Improving Power Quality with the Use of a New Method of Serial Active Power Filter (SAPF) Control. Elektronika Elektrotechnika 2017, 23, 15–20. [Google Scholar] [CrossRef] [Green Version]
  29. Pigazo, A.; Moreno, V.M.; EstÉbanez, E.J. A Recursive Park Transformation to Improve the Performance of Synchronous Reference Frame Controllers in Shunt Active Power Filters. IEEE Trans. Power Electron. 2009, 24, 2065–2075. [Google Scholar] [CrossRef] [Green Version]
  30. Sabo, A.; Abdul Wahab, N.I.; Mohd Radzi, M.A.; Mailah, N.F. A modified artificial neural network (ANN) algorithm to control shunt active power filter (SAPF) for current harmonics reduction. In Proceedings of the 2013 IEEE Conference on Clean Energy and Technology (CEAT), Lankgkawi, Malaysia, 18–20 November 2013; pp. 348–352. [Google Scholar] [CrossRef]
  31. Martinek, R.; Vanus, J.; Kelnar, M.; Bilik, P. Control Methods of Active Power Filters Using Soft Computing Techniques. In Proceedings of the 8th International Scientific Symposium on Electrical Power Engineering (Elektroenergetika), Stara Lesna, Slovakia, 16–18 September 2015; p. 5. [Google Scholar]
  32. Akagi, H.; Kanazawa, Y.; Nabae, A. Instantaneous Reactive Power Compensators Comprising Switching Devices without Energy Storage Components. IEEE Trans. Ind. Appl. 1984, IA-20, 625–630. [Google Scholar] [CrossRef]
  33. Akagi, H.; Watanabe, E.H.; Aredes, M. Instantaneous Power Theory and Applications to Power Conditioning; Wiley-Interscience: Hoboken, NJ, USA, 2007. [Google Scholar]
  34. Kumar, P.; Mahajan, A. Soft Computing Techniques for the Control of an Active Power Filter. IEEE Trans. Power Deliv. 2009, 24, 452–461. [Google Scholar] [CrossRef]
  35. Zhao, H.J.; Pang, Y.F.; Qiu, Z.M.; Chen, M. Study on UPF Harmonic Current Detection Method Based on DSP. J. Phys. Conf. Ser. 2006, 48, 1327–1331. [Google Scholar] [CrossRef] [Green Version]
  36. Mercy, E.L.; Karthick, R.; Arumugam, S. A comparative performance analysis of four control algorithms for a three phase shunt active power filter. Int. J. Comput. Sci. Netw. Secur. 2010, 10, 1–7. [Google Scholar]
  37. Bajaj, M.; Rautela, S.; Sharma, A. A comparative analysis of control techniques of SAPF under source side disturbance. In Proceedings of the 2016 International Conference on Circuit, Power and Computing Technologies (ICCPCT), Nagercoil, India, 18–19 March 2016; pp. 1–7. [Google Scholar] [CrossRef]
  38. Kabir, M.A.; Mahbub, U. Synchronous detection and digital control of Shunt Active Power Filter in power quality improvement. In Proceedings of the 2011 IEEE Power and Energy Conference, Urbana, IL, USA, 25–26 Febuary 2011; pp. 1–5. [Google Scholar] [CrossRef]
  39. Bhattacharya, S.; Divan, D. Synchronous frame based controller implementation for a hybrid series active filter system. In Proceedings of the IAS ’95. Conference Record of the 1995 IEEE Industry Applications Conference Thirtieth IAS Annual Meeting, Orlando, FL, USA, 8–12 October 1995; Voulme 3, pp. 2531–2540. [Google Scholar] [CrossRef]
  40. Karslı, V.M.; Tümay, M.; Süslüoğlu, B. An evaluation of time domain techniques for compensating currents of shunt active power filters. In Proceedings of the 11th International Conference on Electrical and Electronics Engineering, Bursa, Turkey, 28–30 November 2019; pp. 1–5. [Google Scholar]
  41. Martinek, R.; Rzidky, J.; Jaros, R.; Bilik, P.; Ladrova, M. Least Mean Squares and Recursive Least Squares Algorithms for Total Harmonic Distortion Reduction Using Shunt Active Power Filter Control. Energies 2019, 12, 1545. [Google Scholar] [CrossRef] [Green Version]
  42. Zhang, J.; Wen, H.; Teng, Z.; Martinek, R.; Bilik, P. Power System Dynamic Frequency Measurement Based on Novel Interpolated STFT Algorithm. Adv. Electr. Electron. Eng. 2017, 15, 365–375. [Google Scholar] [CrossRef]
  43. Zhang, J.; Tang, L.; Mingotti, A.; Peretto, L.; Wen, H. Analysis of White Noise on Power Frequency Estimation by DFT-based Frequency Shifting and Filtering Algorithm. IEEE Trans. Instrum. Meas. 2019, 1. [Google Scholar] [CrossRef]
  44. Zhang, J.; Wen, H.; Tang, L. Improved Smoothing Frequency Shifting and Filtering Algorithm for Harmonic Analysis With Systematic Error Compensation. IEEE Trans. Ind. Electron. 2019, 66, 9500–9509. [Google Scholar] [CrossRef]
  45. Wen, H.; Li, C.; Yao, W. Power System Frequency Estimation of Sine-Wave Corrupted With Noise by Windowed Three-Point Interpolated DFT. IEEE Trans. Smart Grid 2018, 9, 5163–5172. [Google Scholar] [CrossRef]
  46. Wen, H.; Zhang, J.; Meng, Z.; Guo, S.; Li, F.; Yang, Y. Harmonic Estimation Using Symmetrical Interpolation FFT Based on Triangular Self-Convolution Window. IEEE Trans. Ind. Inf. 2015, 11, 16–26. [Google Scholar] [CrossRef]
  47. Vo, H.H.; Brandstetter, P.; Tran, T.C.; Dong, C.S.T. An Implementation of Rotor Speed Observer for Sensorless Induction Motor Drive in Case of Machine Parameter Uncertainty. Adv. Electr. Electron. Eng. 2018, 16, 426–434. [Google Scholar] [CrossRef]
  48. Pereira, R.R.; da Silva, C.H.; da Silva, L.E.B.; Lambert-Torres, G.; Pinto, J.O.P. New Strategies for Application of Adaptive Filters in Active Power Filters. IEEE Trans. Ind. Appl. 2011, 47, 1136–1141. [Google Scholar] [CrossRef]
  49. Pereira, R.R.; da Silva, C.H.; Veloso, G.F.C.; da Silva, L.E.B.; Torres, G.L. A New Strategy to Step-Size Control of Adaptive Filters in the Harmonic Detection for Shunt Active Power Filter. In Proceedings of the 2009 IEEE Industry Applications Society Annual Meeting, Houston, TX, USA, 4–8 October 2009; pp. 1–5. [Google Scholar] [CrossRef]
  50. Chen, Y.; Kong, Q.; Qian, H.; Xing, S. Shunt Active Power Filter Using Average Power and RLS Self-adapting Algorithms. In Proceedings of the Sixth International Conference on Intelligent Systems Design and Applications, Jian, China, 16–18 October 2006; Voulme 2, pp. 25–30. [Google Scholar] [CrossRef]
  51. Garanayak, P.; Panda, G.; Ray, P.K. Harmonic estimation using RLS algorithm and elimination with improved current control technique based SAPF in a distribution network. Int. J. Electr. Power Energy Syst. 2015, 73, 209–217. [Google Scholar] [CrossRef]
  52. Tsengenes, G.; Adamidis, G. Shunt active power filter control using fuzzy logic controllers. In Proceedings of the 2011 IEEE International Symposium on Industrial Electronics, Gdansk, Poland, 27–30 June 2011; pp. 365–371. [Google Scholar] [CrossRef]
  53. Pedapenki, K.K.; Gupta, S.P.; Pathak, M.K. Comparison of PI & fuzzy logic controller for shunt active power filter. In Proceedings of the 2013 IEEE 8th International Conference on Industrial and Information Systems, Peradeniya, Sri Lanka, 17–20 December 2013; pp. 42–47. [Google Scholar] [CrossRef]
  54. Sahu, I.; Gadanayak, D.A. Comparison between two types of current control techniques applied to shunt active power filters and development of a novel fuzzy logic controller to improve SAPF performance. Int. J. Eng. Res. Dev. 2012, 2, 1–10. [Google Scholar]
  55. Bhattacharya, A.; Chakraborty, C. A Shunt Active Power Filter With Enhanced Performance Using ANN-Based Predictive and Adaptive Controllers. IEEE Trans. Ind. Electron. 2011, 58, 421–428. [Google Scholar] [CrossRef]
  56. Tey, L.; So, P.; Chu, Y. Improvement of Power Quality Using Adaptive Shunt Active Filter. IEEE Trans. Power Deliv. 2005, 20, 1558–1568. [Google Scholar] [CrossRef]
  57. Marks, J.; Green, T. Predictive transient-following control of shunt and series active power filters. IEEE Trans. Power Electron. 2002, 17, 574–584. [Google Scholar] [CrossRef]
  58. EL-Kholy, E.; EL-Sabbe, A.; El-Hefnawy, A.; Mharous, H.M. Three-phase active power filter based on current controlled voltage source inverter. Int. J. Electr. Power Energy Syst. 2006, 28, 537–547. [Google Scholar] [CrossRef]
  59. Lenwari, W.; Sumner, M.; Zanchetta, P. The Use of Genetic Algorithms for the Design of Resonant Compensators for Active Filters. IEEE Trans. Ind. Electron. 2009, 56, 2852–2861. [Google Scholar] [CrossRef]
  60. Mishra, S.; Bhende, C.N. Bacterial Foraging Technique-Based Optimized Active Power Filter for Load Compensation. IEEE Trans. Power Deliv. 2007, 22, 457–465. [Google Scholar] [CrossRef]
  61. Zanchetta, P.; Sumner, M.; Marinelli, M.; Cupertino, F. Experimental modeling and control design of shunt active power filters. Control Eng. Pract. 2009, 17, 1126–1135. [Google Scholar] [CrossRef]
  62. Benyamina, A.; Moulahoum, S.; Colak, I.; Bayindir, R. Hybrid fuzzy logic-artificial neural network controller for shunt active power filter. In Proceedings of the 2016 IEEE International Conference on Renewable Energy Research and Applications (ICRERA), Birmingham, UK, 20–23 November 2016; pp. 837–844. [Google Scholar] [CrossRef]
  63. Buła, D.; Pasko, M. Model of Hybrid Active Power Filter in the Frequency Domain. In Analysis and Simulation of Electrical and Computer Systems; Gołębiowski, L., Mazur, D., Eds.; Springer International Publishing: Cham, Spain, 2015. [Google Scholar] [CrossRef]
  64. Clarke and Inverse Clarke Transformations HardwareImplementation User Guide. Available online: https://www.microsemi.com/document-portal/doc_view/132801-clarke-and-inverse-clarke-transformations-hardware-implementation-user-guide (accessed on 10 February 2020).
  65. McCool, J.; Widrow, B. Principles and Applications of Adaptive Filters: A Tutorial Review; Defense Technical Information Center: Fort Belvoir, VA, USA, 1977.
  66. Pereira, R.R.; da Silva, C.H.; da Silva, L.E.B.; Lambert-Torres, G.; Pinto, J.O.P. Improving the convergence time of adaptive notch filters to harmonic detection. In Proceedings of the IECON 2010-36th Annual Conference on IEEE Industrial Electronics Society, Glendale, AZ, USA, 7–10 November 2010; pp. 521–525. [Google Scholar] [CrossRef]
  67. Wang, Y.; Teng, Z.; He, W.; Li, J.; Martinek, R. A State Evaluation Adaptive Differential Evolution Algorithm for FIR Filter Design. Adv. Electr. Electron. Eng. 2018, 15, 770–779. [Google Scholar] [CrossRef]
  68. Haykin, S.S.; Widrow, B. Least-Mean-Square Adaptive Filters; Wiley-Interscience: Hoboken, NJ, USA, 2003. [Google Scholar]
  69. Haykin, S.S. Adaptive Filter Theory; Prentice Hall: Upper Saddle River, NJ, USA, 2002. [Google Scholar]
  70. Hoon, Y.; Mohd Radzi, M.; Hassan, M.; Mailah, N. Control Algorithms of Shunt Active Power Filter for Harmonics Mitigation: A Review. Energies 2017, 10, 2038. [Google Scholar] [CrossRef] [Green Version]
  71. Hoon, Y.; Mohd Radzi, M. PLL-Less Three-Phase Four-Wire SAPF with STF-dq0 Technique for Harmonics Mitigation under Distorted Supply Voltage and Unbalanced Load Conditions. Energies 2018, 11, 2143. [Google Scholar] [CrossRef] [Green Version]
  72. Hamoudi, F.; Amimeur, H. Analysis and Sliding Mode Control of Four-Wire Three-Leg Shunt Active Power Filter. Adv. Electr. Electron. Eng. 2015, 13, 430–441. [Google Scholar] [CrossRef]
  73. Baros, J. Sensor System Based on Virtual Instrumentation. Available online: https://dspace.vsb.cz/bitstream/handle/10084 (accessed on 13 February 2020).
  74. IEC 61000-4-30. Available online: https://webstore.iec.ch/publication/22270 (accessed on 21 February 2020).
  75. CSN EN 50160. Available online: https://www.technicke-normy-csn.cz/inc/nahled_normy.php?norma=330122-csn-en-50160-ed-3&kat=87467 (accessed on 21 February 2020).
  76. Voltage/Voltage Convertor. Available online: https://en.32dev.cz/subdom/en/products/voltage-voltage-convertor/ (accessed on 10 February 2020).
  77. Current/Voltage Convertor. Available online: https://en.32dev.cz/subdom/en/products/current-voltage-convertor/ (accessed on 10 February 2020).
  78. Martinek, R.; Konecny, J.; Koudelka, P.; Zidek, J.; Nazeran, H. Adaptive Optimization of Control Parameters for Feed-Forward Software Defined Equalization. Wirel. Pers. Commun. 2017, 95, 4001–4011. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of current estimation methods.
Figure 1. Schematic diagram of current estimation methods.
Sensors 20 01718 g001
Figure 2. Clarke transformation coordinates.
Figure 2. Clarke transformation coordinates.
Sensors 20 01718 g002
Figure 3. Block diagram of the notch adaptive filter.
Figure 3. Block diagram of the notch adaptive filter.
Sensors 20 01718 g003
Figure 4. Block diagram of the system for compensation of higher harmonic components using Shunt Active Power Filter (SAPF).
Figure 4. Block diagram of the system for compensation of higher harmonic components using Shunt Active Power Filter (SAPF).
Sensors 20 01718 g004
Figure 5. SMART car park plan.
Figure 5. SMART car park plan.
Sensors 20 01718 g005
Figure 6. A simplified idea diagram of the SMART car park components deployed.
Figure 6. A simplified idea diagram of the SMART car park components deployed.
Sensors 20 01718 g006
Figure 7. Photographs of the testing polygon.
Figure 7. Photographs of the testing polygon.
Sensors 20 01718 g007
Figure 8. Measurement system wiring diagram.
Figure 8. Measurement system wiring diagram.
Sensors 20 01718 g008
Figure 9. Power quality (PQ) system components: (a) NI cDAQ 9185 4-slot chassis, (b) NI-9205 data acquisition module, (c) voltage converter, and (d) current converter
Figure 9. Power quality (PQ) system components: (a) NI cDAQ 9185 4-slot chassis, (b) NI-9205 data acquisition module, (c) voltage converter, and (d) current converter
Sensors 20 01718 g009
Figure 10. Front panel of control application of testing polygon.
Figure 10. Front panel of control application of testing polygon.
Sensors 20 01718 g010
Figure 11. Diagram of possible MQTT network.
Figure 11. Diagram of possible MQTT network.
Sensors 20 01718 g011
Figure 12. Algorithm for experiment execution.
Figure 12. Algorithm for experiment execution.
Sensors 20 01718 g012
Figure 13. Simplified schematic diagram of the conducted experiment with simulated inverter.
Figure 13. Simplified schematic diagram of the conducted experiment with simulated inverter.
Sensors 20 01718 g013
Figure 14. Idle run of test polygon; current waveforms after applying the least mean squares (LMS) algorithm.
Figure 14. Idle run of test polygon; current waveforms after applying the least mean squares (LMS) algorithm.
Sensors 20 01718 g014
Figure 15. Idle run of test polygon; current waveforms after applying the recursive least squares (RLS) algorithm.
Figure 15. Idle run of test polygon; current waveforms after applying the recursive least squares (RLS) algorithm.
Sensors 20 01718 g015
Figure 16. Switched on test polygon; current waveforms after applying the LMS algorithm.
Figure 16. Switched on test polygon; current waveforms after applying the LMS algorithm.
Sensors 20 01718 g016
Figure 17. Switched on test polygon; current waveforms after applying the RLS algorithm.
Figure 17. Switched on test polygon; current waveforms after applying the RLS algorithm.
Sensors 20 01718 g017
Figure 18. Comparison of various types of luminaries.
Figure 18. Comparison of various types of luminaries.
Sensors 20 01718 g018
Figure 19. Diagram of optimization experiment of LMS algorithm setting.
Figure 19. Diagram of optimization experiment of LMS algorithm setting.
Sensors 20 01718 g019
Figure 20. Schematic diagram of realized laboratory experiment with AE-Techron 7224 amplifiers used as inverters.
Figure 20. Schematic diagram of realized laboratory experiment with AE-Techron 7224 amplifiers used as inverters.
Sensors 20 01718 g020
Figure 21. Realized laboratory experiment with AE-Techron 7224 amplifiers used as inverters.
Figure 21. Realized laboratory experiment with AE-Techron 7224 amplifiers used as inverters.
Sensors 20 01718 g021
Figure 22. Diagram of the conducted experiment.
Figure 22. Diagram of the conducted experiment.
Sensors 20 01718 g022
Figure 23. Current waveform envelopes of the test polygon. (a) L1—phase 1, (b) L2—phase 2, and (c) L3—phase 3.
Figure 23. Current waveform envelopes of the test polygon. (a) L1—phase 1, (b) L2—phase 2, and (c) L3—phase 3.
Sensors 20 01718 g023
Figure 24. Total Harmonic Distortion (THD) values at intervals of 200 ms.
Figure 24. Total Harmonic Distortion (THD) values at intervals of 200 ms.
Sensors 20 01718 g024
Figure 25. Signal-to-Noise Ratio (SNR) values at intervals of 200 ms.
Figure 25. Signal-to-Noise Ratio (SNR) values at intervals of 200 ms.
Sensors 20 01718 g025
Figure 26. Idle run of test polygon; current waveforms before filtration.
Figure 26. Idle run of test polygon; current waveforms before filtration.
Sensors 20 01718 g026
Figure 27. Idle run of test polygon; current spectra before and after application of the adaptive LMS and RLS algorithms.
Figure 27. Idle run of test polygon; current spectra before and after application of the adaptive LMS and RLS algorithms.
Sensors 20 01718 g027
Figure 28. Switched on test polygon; current waveforms before filtration.
Figure 28. Switched on test polygon; current waveforms before filtration.
Sensors 20 01718 g028
Figure 29. Switched on test polygon; current spectra before and after application of the adaptive LMS and RLS algorithms.
Figure 29. Switched on test polygon; current spectra before and after application of the adaptive LMS and RLS algorithms.
Sensors 20 01718 g029
Figure 30. Current waveforms of individual phases before filtration.
Figure 30. Current waveforms of individual phases before filtration.
Sensors 20 01718 g030
Figure 31. Field Programmable Gate Array (FPGA) Experiment; current spectra before and after application of the adaptive LMS Notch algorithm.
Figure 31. Field Programmable Gate Array (FPGA) Experiment; current spectra before and after application of the adaptive LMS Notch algorithm.
Sensors 20 01718 g031
Figure 32. An example of the filtration for all phases for the value μ = 0.001 , the resulting THDs for the depicted currents correspond to the highlighted column in Table 4. The waveforms of the currents show that the adaptation time is between 40 ms and 50 ms.
Figure 32. An example of the filtration for all phases for the value μ = 0.001 , the resulting THDs for the depicted currents correspond to the highlighted column in Table 4. The waveforms of the currents show that the adaptation time is between 40 ms and 50 ms.
Sensors 20 01718 g032
Table 1. Example of formatting a scenario file.
Table 1. Example of formatting a scenario file.
IndexTime (s)MethodPower (%)Wait After (s)
00Full OFF05
15Full ON10010
215Full OFF010
3252 - ON1003
431538,9,10 - OFF03
4415611 - OFF03
45159Full Off05
Table 2. Idle run THD values before and after application of the adaptive LMS and RLS algorithms.
Table 2. Idle run THD values before and after application of the adaptive LMS and RLS algorithms.
PhaseTHD ORIGINAL (%)THD LMS (%)THD RLS (%)
L127.834.013.62
L239.918.007.02
L331.086.175.25
Table 3. THD values in switched on state before and after application of the adaptive LMS and RLS algorithms.
Table 3. THD values in switched on state before and after application of the adaptive LMS and RLS algorithms.
PhaseTHD ORIGINAL (%)THD LMS (%)THD R L S (%)
L138.0613.076.59
L243.3312.917.89
L332.379.465.70
Table 4. THD values in the switched on state before and after application of the adaptive LMS algorithm.
Table 4. THD values in the switched on state before and after application of the adaptive LMS algorithm.
THD (%) without FiltrationTHD (%) (μ = 0.00025)THD (%) (μ = 0.0005)THD (%) (μ = 0.001)THD (%) (μ = 0.002)THD (%) (μ = 0.005)
L122.661.252.484.838.8615.8
L227.291.63.0035.6710.2718.323
L321.750.91.963.987.4913.938
Adaptation
time (ms)
-1006040155

Share and Cite

MDPI and ACS Style

Martinek, R.; Bilik, P.; Baros, J.; Brablik, J.; Kahankova, R.; Jaros, R.; Danys, L.; Rzidky, J.; Wen, H. Design of a Measuring System for Electricity Quality Monitoring within the SMART Street Lighting Test Polygon: Pilot Study on Adaptive Current Control Strategy for Three-Phase Shunt Active Power Filters. Sensors 2020, 20, 1718. https://doi.org/10.3390/s20061718

AMA Style

Martinek R, Bilik P, Baros J, Brablik J, Kahankova R, Jaros R, Danys L, Rzidky J, Wen H. Design of a Measuring System for Electricity Quality Monitoring within the SMART Street Lighting Test Polygon: Pilot Study on Adaptive Current Control Strategy for Three-Phase Shunt Active Power Filters. Sensors. 2020; 20(6):1718. https://doi.org/10.3390/s20061718

Chicago/Turabian Style

Martinek, Radek, Petr Bilik, Jan Baros, Jindrich Brablik, Radana Kahankova, Rene Jaros, Lukas Danys, Jaroslav Rzidky, and He Wen. 2020. "Design of a Measuring System for Electricity Quality Monitoring within the SMART Street Lighting Test Polygon: Pilot Study on Adaptive Current Control Strategy for Three-Phase Shunt Active Power Filters" Sensors 20, no. 6: 1718. https://doi.org/10.3390/s20061718

APA Style

Martinek, R., Bilik, P., Baros, J., Brablik, J., Kahankova, R., Jaros, R., Danys, L., Rzidky, J., & Wen, H. (2020). Design of a Measuring System for Electricity Quality Monitoring within the SMART Street Lighting Test Polygon: Pilot Study on Adaptive Current Control Strategy for Three-Phase Shunt Active Power Filters. Sensors, 20(6), 1718. https://doi.org/10.3390/s20061718

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop