Power Quality Analysis by H-Bridge DSTATCOM Control by Icos θ and ESRF SOGI-FLL Methods for Different Industrial Loads

: This work develops the analysis of power quality by the H-bridge Static Distribution Com-pensator (DSTATCOM) as well as its control techniques in different industry-based loading conditions. The function of DSTATCOM is to diminish power quality problems arising due to commercial as well as industrial loads. For reference current extraction, the novel Icos θ and proposed enhanced SRF SOGI-FLL (synchronous reference frame second-order generalized integrator frequency-locked loop) controller have been adopted in the H-bridge DSTATCOM. The Icos θ controller’s performance is dependent on the in-phase and quadrature-phase angle, which changes accordingly as load changes, whereas the proposed enhanced SRF SOGI-FLL controller works in synchronization with the grid with an inverter. The two control techniques were compared in terms of balancing, power factor improvement, DC-link voltage control, and harmonic minimization. The harmonics minimization of the proposed controller has been validated by IEEE 519 standards. The extracted reference currents are fed to the hysteresis current controller for the generation of pulses toward the inverter switches of DSTATCOM. The DSTATCOM system along with control algorithms have been tested on various loading conditions, i


Introduction
Today, non-linear loads based on power electronics are intrinsically used in AC power systems [1]. These loads represent non-linear characteristics of a time-varying nature and draw non-sinusoidal current from the grid, which results in the deterioration of the superiority of the power in the AC supply [2]. In the current situation, continuity and quality of electricity supply are critical because we rely heavily on electricity and its applications [3]. Many loads utilized for industrial [4], commercial [5], and domestic [6] reasons are made up of power electronic gadgets. Some examples of power electronics appliances based on non-linear loads are computers [7], induction furnaces, electric arc furnaces, EV chargers [8], traction systems [9], drive systems [10], etc. These loads create power quality problems in the AC distribution system. There are two types of power quality issues: voltage quality and current quality [11]. The DSTATCOM is one of several shuntconnected custom power devices that are employed in the supply structure to mitigate current quality problems [12].
In addition, when excess current flows through the neutral line of a three-phase fourwire (3P4W) structure due to unequal loads, this situation worsens [13]. Performances of DSTATCOM topologies in the 3P4W structures have been proposed in the literature [14]. The multilevel converter topologies discussed in the literature [15] have smaller losses, reduced filter size, and higher efficiency than conventional two-tier voltage source converters. However, they are expensive. The functioning of these topologies is based on the number of switches and their switching strategies. In this paper, H-bridge-based multilevel converter topology has been employed in DSTATCOM. In the last few decades, several researchers have focused on building up the efficient and robust control of DSTATCOM. To ensure control of the DSTATCOM, a number of control strategies have been discussed in the literature [16]. Phase-locked loop (PLL) in the SRF control technique synchronizes the grid frequency with the power inverter, but the major drawback of PLLs is their implementation in digital circuits, larger computational time, less efficiency to correct distortion of voltage profile, voltage frequency variation, etc. [17]. The literature [18] offers independent and enhanced DC voltage control capable of managing the insulated capacitors of an asymmetric converter. The design and functioning of DSTATCOM's robust control, i.e., sliding mode control (SMC) to adjust for voltage sag phenomena, were explained in [19]. The incorporation of electric vehicles (EVs) into the distribution system has an impact on power quality issues. This can be avoided by employing the neural fuzzy control technique [20]. This research presents a unique three-phase harmonic power flow (HPFA) algorithm for unbalanced radial distribution (URDN) networks with linear and non-linear loadings and the integration of a DSTATCOM device [21]. The recommended mitigation strategy has been incorporated in the distribution of static compensators, which successfully reduce light flickers regardless of whether the fast charging station's output power is estimated or actual [22]. A non-linear MINLP (Mixed Integer Programming) model is used to solve the problem of optimal regulation of the reactive power stream [23]. Reference [24] discussed a unique control strategy for improving power quality using an artificial neural network (ANN)-based distribution static compensator. The conventional proportional-integral (PI) controller is replaced with a novel online-trained wavelet Takagi-Sugeno-Kang fuzzy neural network (WTSKFNN) controller to improve the transient responses of grid currents and DC-link voltage control, as well as the performance of the DSTATCOM [25]. Incorporating DSTATCOM into the distribution system provides harmonic compensation, load balancing, and neutral current compensation [26]. The main difficulty of sliding mode control is to design the sliding surface in the dynamic system. If the surface design is not appropriate in dynamic conditions, it will give an unacceptable performance.
In this article, SRF control is used without PLL, and, for signal synchronization, SOGI-FLL is used. Less computational time, less complexity, and the minimum time requirement to synchronize the frequency and phase angle of the grid with a power inverter are the key advantages of SOGI-FLL as compared to other conventional controllers.
Hence, in this paper, the proposed enhanced SRF SOGI-FLL [27] and Icosθ controller [28] have been employed in the H-bridge DSTATCOM and performances have been compared under both control techniques. This paper has been organized into different sections. Section 1 covers the introduction of this paper. Section 2 elaborates on the circuit configuration of the H-bridge VSI-based DSTATCOM. Section 3 illustrates control methods adopted in the H-bridge DSTATCOM. Section 4 contains discussions of various types of non-linear loads employed in the distribution networks. Section 5 illustrates the discussion of results under various loading conditions. The last Section 6 is the conclusion of this paper.

Distribution Static Compensator (DSTATCOM)
To alleviate the current quality issue in the supply structure, DSTATCOM is adopted as a customized power supply device [29]. It also alleviates the odd and even harmonics of the grid current, which are generated due to the existence of non-linear loads. DSTATCOM comprises a voltage source inverter (VSI) having 12 IGBT/antiparallel diode switches, a DC capacitor, and an interfacing inductor L f for minimizing the ripples [30]. Figure 1 shows the circuit arrangement of three H-bridge DSTATCOMs bonded to a 3P4W structure feeding a non-linear load. In this figure, I sa , I sb , and I sc represent the source current of three-phase AC mains, respectively. I La , I Lb , and I Lc represent the three-phase load currents. Resistance and inductance of the three-phase supply are R s and L s , correspondingly. I c and V c denote the injecting current and DSTATCOM voltage. L f is an interfacing inductor connected at the AC side of the voltage source inverter. V dc is the internal voltage of the DC-link capacitor. The ripple filter is modeled as R f and C f , which are attached at the PCC. In this article, the control algorithms of the proposed enhanced SRF SOGI-FLL and Icosθ controller have been selected. The task of the hysteresis controller is to give out gate pulses for VSI switches.

Distribution Static Compensator (DSTATCOM)
To alleviate the current quality issue in the supply structure, DSTATCOM is adopted as a customized power supply device [29]. It also alleviates the odd and even harmonics of the grid current, which are generated due to the existence of non-linear loads. DSTAT-COM comprises a voltage source inverter (VSI) having 12 IGBT/antiparallel diode switches, a DC capacitor, and an interfacing inductor for minimizing the ripples [30]. Figure 1 shows the circuit arrangement of three H-bridge DSTATCOMs bonded to a 3P4W structure feeding a non-linear load. In this figure, , , and represent the source current of three-phase AC mains, respectively. , , and represent the three-phase load currents. Resistance and inductance of the three-phase supply are and , correspondingly.
and denote the injecting current and DSTATCOM voltage.
is an interfacing inductor connected at the AC side of the voltage source inverter. is the internal voltage of the DC-link capacitor. The ripple filter is modeled as and , which are attached at the PCC. In this article, the control algorithms of the proposed enhanced SRF SOGI-FLL and Icos controller have been selected. The task of the hysteresis controller is to give out gate pulses for VSI switches.

Control Algorithms
The key point of the DSTATCOM control algorithms is to compute the reference currents by means of feedback signals [31]. These reference currents and corresponding sensed currents are fed to hysteresis controllers to achieve PWM gating signals for switching devices (IGBTs) of the VSI employed as a DSTATCOM [32]. The control algorithms proposed in this paper are enhanced SRF SOGI-FLL and Icosθ controllers, which are discussed below:

Icosθ Controller
Step 1: Calculation of in-phase and quadrature-phase components of the unit vector V a , V b, and V c are the three-phase points of common coupling (PCC) voltage. The amplitude of the terminal voltage V t is obtained from these PCC voltages as shown in in Figure 2.

Control Algorithms
The key point of the DSTATCOM control algorithms is to compute the reference currents by means of feedback signals [31]. These reference currents and corresponding sensed currents are fed to hysteresis controllers to achieve PWM gating signals for switching devices (IGBTs) of the VSI employed as a DSTATCOM [32]. The control algorithms proposed in this paper are enhanced SRF SOGI-FLL and Icos controllers, which are discussed below:

Icos Controller
Step 1: Calculation of in-phase and quadrature-phase components of the unit vector , , are the three-phase points of common coupling (PCC) voltage. The amplitude of the terminal voltage is obtained from these PCC voltages as shown in in Figure 2.
In-phase component of the unit vector: Quadrature-phase component of the unit vector: Step 2: Calculation of I_cp, which is a part of the d-axis component The Figure 3 represents the design of I_cp. In-phase component of the unit vector: Quadrature-phase component of the unit vector: Step 2: Calculation of I_cp, which is a part of the d-axis component The Figure 3 represents the design of I_cp.
Smart Cities 2022, 5, FOR PEER REVIEW 5 In the DC bus, proportional and integral constants are kpd and kid, respectively.
Step 3: Calculation of I_cq, which is the part of the q-axis component The Figure 4 represents the design of I_cp. In the DC bus, proportional and integral constants are k pd and k id , respectively.
Step 3: Calculation of I_cq, which is the part of the q-axis component Smart Cities 2022, 5

1594
The Figure 4 represents the design of I_cp.
In the DC bus, proportional and integral constants are kpd and kid, respectively.

Step 3: Calculation of I_cq, which is the part of the q-axis component
The Figure 4 represents the design of I_cp.
For AC voltage controllers, proportional and integral constants are and , respectively.

Step 4: Computation of the d-axis and q-axis part of the three-phase load current
The Figure 5 represents the design of and .The magnitude of the real power and reactive power parts of the load current of phase "a" is extorted from the fundamental component of the load current (achieved after filtering through a low-pass filter) on the zero crossing of the p-phase and q-phase unit template of the PCC voltage ( and ). A zero-crossing detector and "sample and hold" logic have been employed to extort and . Similarly, the amplitudes of the active power and imaginary power parts of currents for line "b" and line "c" can be estimated. For AC voltage controllers, proportional and integral constants are k pa and k ia , respectively.
Step 4: Computation of the d-axis and q-axis part of the three-phase load current The Figure 5 represents the design of I Lpa and I Lqa .The magnitude of the real power and reactive power parts of the load current of phase "a" is extorted from the fundamental component of the load current I Lda (achieved after filtering through a low-pass filter) on the zero crossing of the p-phase and q-phase unit template of the PCC voltage (cosθ pa and sinθ qa ). A zero-crossing detector and "sample and hold" logic have been employed to extort I Lpa and I Lqa . Similarly, the amplitudes of the active power and imaginary power parts of currents for line "b" and line "c" can be estimated. Step

5: Calculation of amplitude of the d-axis component of load current
The Figure 6 represents the design of amplitude of d-axis load current. The magnitude of the real power part of the load current : Step

5: Calculation of amplitude of the d-axis component of load current
The Figure 6 represents the design of amplitude of d-axis load current.
Smart Cities 2022, 5, FOR PEER REVIEW 6 Figure 5. Design of and .

Step 5: Calculation of amplitude of the d-axis component of load current
The Figure 6 represents the design of amplitude of d-axis load current. The magnitude of the real power part of the load current : The real power part of load currents in the a-b-c frame is , , and . The magnitude of the real power part of the load current I Lpa : The real power part of load currents in the a-b-c frame is I Lap , I Lbp , and I Lcp .
The amplitude of the d-axis component of the load current: Step 6: Calculation of amplitude of q-axis component of load current The Figure 7 represents the design of amplitude of q-axis load current. The magnitude of the real power part of the load current : The real power part of load currents in the a-b-c frame is , , and . The amplitude of the d-axis component of the load current: Step 6: Calculation of amplitude of q-axis component of load current The Figure 7 represents the design of amplitude of q-axis load current.
The imaginary power part of load currents in the a-b-c frame are I Laq , I Lbq , and I Lcq .
The amplitude of the q-axis component of the load current: Step 7: Generation of gate pulses Active-phase parts of reference source currents have been computed as Quadrature-phase parts of reference source currents have been computed as Net reference three-phase supply currents are the addition of active-phase and qphase reference supply currents: These calculated reference supply currents (I * sa , I * sb , I * sc ) and the actual supply currents (I sa , I sb , I sc ) produce a gating pulse width modulation (PWM) signal as shown in Figure 8.
These calculated reference supply currents ( * , * , * ) and the actual supply currents ( , , ) produce a gating pulse width modulation (PWM) signal as shown in Figure 8.  Figure 9 represents the Enhanced SRF SOGI-FLL controller. In this novel control algorithm, conventional PLL has been replaced by SOGI-FLL [33]. SOGI-FLL has a faster response, less computational time, and better response in eliminating power quality issues present in the non-ideal grid. Here, mathematical modeling of the controller has been designed.  Figure 9 represents the Enhanced SRF SOGI-FLL controller. In this novel control algorithm, conventional PLL has been replaced by SOGI-FLL [33]. SOGI-FLL has a faster response, less computational time, and better response in eliminating power quality issues present in the non-ideal grid. Here, mathematical modeling of the controller has been designed.

Enhanced SRF SOGI-FLL
Smart Cities 2022, 5, FOR PEER REVIEW 8 Figure 9. Block diagram of enhanced SRF SOGI-FLL controller [34]. Figure 10 shows the block diagram of SOGI-FLL. is the single-phase input signal. � and � are the real and imaginary parts of the input signal , respectively. The input signal's magnitude, frequency, and phase are �, , and respectively. The value of gains for SOGI and FLL are K and , respectively. The output signal of the SOGI-FLL is represented by ( ) and ( ).  Figure 10 shows the block diagram of SOGI-FLL. v α is the single-phase input signal. v α andv β are the real and imaginary parts of the input signal v α , respectively. The input signal's magnitude, frequency, and phase arev, ω g , and θ respectively. The value of gains for SOGI and FLL are K and λ, respectively. The output signal of the SOGI-FLL is represented by v α (s) and v β (s).  Figure 9. Block diagram of enhanced SRF SOGI-FLL controller [34]. Figure 10 shows the block diagram of SOGI-FLL. is the single-phase input signal. � and � are the real and imaginary parts of the input signal , respectively. The input signal's magnitude, frequency, and phase are �, , and respectively. The value of gains for SOGI and FLL are K and , respectively. The output signal of the SOGI-FLL is represented by ( ) and ( ). Figures 11 and 12 show the frequency response of �( ) and �( ) for different values of k, respectively.    Figure 11. Frequency response plot of ( ).

Dynamics of SOGI-FLL
Initially, taking the supply voltage free from harmonic distortion: We take + = . The output of the SOGI for the d-axis and q-axis becomes:

Mathematical Modeling of Standard SOGI-FLL
We take ω g t + ϕ = θ. The output of the SOGI for the d-axis and q-axis becomes:

Mathematical Modeling of Standard SOGI-FLL
v andθ are the amplitude and phase angle of the input supply voltage, respectively. Assuming SOGI-FLL is in a quasi-locked state,v ∼ = v andθ ∼ = θ (extremely close values of v and θ are achieved during steady state), which indicates the linearization concept of FLL.
Substituting the value of v α andv α : .
Assume that sin(θ −θ) ∼ = (θ −θ): From the above assumption, the equation becomes: Phase angleθ is determined from the SOGI-FLL structure: Differentiating with respect to time yields: Substitute the value of v α and v β in Equation (36): The coefficient of kω g λ , i.e., . ω g , is grid frequency, which is the time-dependent parameter. So, the Laplace transform of Equation (37) is not possible. Hence, for obtaining the linear model, the estimated coefficient of the time-dependent frequency is approximated to its nominal value: .
Now, from the figure, the estimated amplitude for supply voltage is: Differentiating the above equation with respect to time yields Taking the value ofv α andv β in Equation (40): Consider cos(θ −θ) = 1, Vcos(θ +θ) −Vcos2θ = 0: The coefficient of k 2 , i.e., ω g , is grid frequency, which is the time-dependent parameter. So, the Laplace transform of Equation (43) is not possible. For obtaining the linear model, the estimated coefficient of the time-dependent frequency is approximated to its nominal value: Based on the above linearization model, the approximated magnitude of the supply voltage, phase angle, and angular frequency are obtained as:

Modeling of Tuning Parameters [35]
The characteristics equation obtained from Equation (47) is The generalized form of the characteristics equation for the second-order system is On comparing Equations (48) and (49), we found 2εω n = kω n/2, where = damping factor, ω 2 n = λ 2 , where ω n = natural frequency and ω n = nominal value of grid frequency. Consequently, only two parameters, k and λ are to be optimized to the best value so that the optimum tradeoff between settling time and overshoot will occur. From the frequency response of in-phase and quadrature-phase supply voltage, it is quite clear that = 0.707 (or 1/ √ 2 ) gives the best tradeoff between settling time and overshoot. So, = 0.707 (or 1/ √ 2 ) is considered.
From (52), it is quite obvious that k and λ are related to each other. In this work, k = 1/ √ 2 and λ = 12337 have been selected. Table 1 indicates parameters of SOGI-FLL

Non-Linear Load of the Voltage Source and Current Source Form
Non-linear loads can be categorized with respect to their harmonic attributes, i.e., voltage-source and current-source type. Figure 13a represents a diode rectifier having a smoothing DC capacitor. Here, the diode rectifiers act as a harmonic voltage source, and the combination of diode rectifiers with the DC capacitor (parallel connected) is known as a voltage source-type non-linear load. Figure 13b represents a diode rectifier with a DC inductor to decrease the DC load current ripple. Here, the diode rectifiers act as a harmonic current source and the combination of diode rectifiers with a DC inductor (series connected) is known as a current source-type non-linear load. (52) From (52), it is quite obvious that and are related to each other. In this work, = /√ and = have been selected. Table 1 indicates parameters of SOGI-FLL

Non-Linear Load of the Voltage Source and Current Source Form
Non-linear loads can be categorized with respect to their harmonic attributes, i.e., voltage-source and current-source type. Figure 13a represents a diode rectifier having a smoothing DC capacitor. Here, the diode rectifiers act as a harmonic voltage source, and the combination of diode rectifiers with the DC capacitor (parallel connected) is known as a voltage source-type non-linear load. Figure 13b represents a diode rectifier with a DC inductor to decrease the DC load current ripple. Here, the diode rectifiers act as a harmonic current source and the combination of diode rectifiers with a DC inductor (series connected) is known as a current source-type non-linear load.  Figure 14 represents the circuit diagram of an induction heating-based non-linear load. A-B-C represents the three phases of the grid. A power transformer has been employed to step down the voltage of the supply side [36]. The output voltage of the transformer is converted into DC voltage by means of a six-pulse rectifier. This stage is called  Figure 14 represents the circuit diagram of an induction heating-based non-linear load. A-B-C represents the three phases of the grid. A power transformer has been employed to step down the voltage of the supply side [36]. The output voltage of the transformer is converted into DC voltage by means of a six-pulse rectifier. This stage is called the rectifier stage. The combination of the inductor and capacitor increases the voltage to the desired level for the inverter. The DC voltage is converted into AC voltage, which increases the frequency in the inverter stage. The inverter output is connected to the induction furnace-based load. In order to provide regulated resonance frequency, the capacitor is shunted with an inductor coil and acts as a tank circuit. Smart Cities 2022, 5, FOR PEER REVIEW 13 the rectifier stage. The combination of the inductor and capacitor increases the voltage to the desired level for the inverter. The DC voltage is converted into AC voltage, which increases the frequency in the inverter stage. The inverter output is connected to the induction furnace-based load. In order to provide regulated resonance frequency, the capacitor is shunted with an inductor coil and acts as a tank circuit.   Figure 15 depicts the circuit diagram of the electric arc furnace (EAF), designed in MATLAB Simulink 2018a. An electric arc furnace has inherent non-linear characteristics due to its time-varying behavior. This property affects the power quality in a distribution line. An EAF is the largest source of flicker voltage and produces odd and even harmonics. Hence, electric arc furnaces are producing voltage quality problems in terms of flicker as well as current quality problems in terms of harmonics.

Electric Arc Furnace Type Non-Linear Load
Hence, electric arc furnaces are producing voltage quality problems in terms of flicker as well as current quality problems in terms of harmonics.
Detailed analysis of electric arc furnaces is described in [37]: = threshold voltage of arc length, i = phase current, C = arc power, and D = arc current.
Flicker voltage is always determined by its threshold voltage. = base reference voltage when the arc is absent, = modulation index, and = flicker frequency. Table 2 represents simulation parameters of the proposed work.  Table 2. Simulation parameters with the application of various loads [38]. Detailed analysis of electric arc furnaces is described in [37]: V at = threshold voltage of arc length, i = phase current, C = arc power, and D = arc current.
V at (t) = V at0 1 + msin(ω f t ] Flicker voltage is always determined by its threshold voltage. V at0 = base reference voltage when the arc is absent, m = modulation index, and ω f = flicker frequency. Table 2 represents simulation parameters of the proposed work. Table 2. Simulation parameters with the application of various loads [38].

Non-Linear Loads Parameter Used in the Simulation Application Power Quality Issues
Voltage source-based R 1 = 12 Ω, C 1 = 5 µF Household appliances, switched-mode power supply (SMPS) Harmonics, power factor deterioration, reactive power burden Current source-based L 1 = 0.002 H, R 1 = 12 Ω Electric motor, industrial load Current harmonics, power factor deterioration, reactive power burden Induction heating-based

Steel industries, cooking induction heater
Unbalanced phases, reactive power burden, harmonics   Figures 16 and 17 show the performance of DSTATCOM in uncompensated as well as compensated modes. DC voltage regulation, compensating current, source current, and load current waveforms are represented. During t = [0-0.2] s, DSTATCOM is in the "off" condition and no controller works, hence, no compensation occurs, i.e., no current until 0.2 s. DC voltages have a constant value of 700 V throughout the 0.2 s, and source currents are non-sinusoidal. After 0.2 s, when DSTATCOM is in the "on" condition, source currents become sinusoidal and compensations will start. After some gradual changes in DC voltages, it will stabilize at 0.25 s for Icosθ and at 0.22 s for enhanced SRF SOGI-FLL control, which has been depicted in the figures. Load currents remain non-sinusoidal and the same throughout time due to non-linear load.

Performances Investigation under Current Source-Based Non-Linear Load
DSTATCOM performances have been validated with current source-type non-linear load under Icosθ and enhanced SRF SOGI-FLL control techniques, which are depicted in Figures 18 and 19. In these figures, various waveforms of DC voltage regulation V dc , compensating current I c , source current I s , and load current I L have been represented. In the initial stage, when DSTATCOM is "off" at t = [0-0.2] s, source currents I s are distorted, and when DSTATCOM comes into operation, source currents become sinusoidal. DC voltage regulates near 700 V. Due to the transient in the system, the timing for DC voltage regulations differs with respect to controllers. Load currents are non-sinusoidal during the whole period. There are zero and non-zero values of compensating currents in the 'off' and 'on' states of DSTATCOM, respectively.

Performances Investigation under Electric Arc Furnace-Based Non-Linear Load
In the simulation works, the hyperbolic model of an electric arc furnace has been taken as a non-linear load. Figures 22 and 23 Figure 24 shows the comparative analysis of Icos and the proposed enhanced SRF SOGI-FLL controller with different non-linear loads. To visualize this figure, DC voltage regulations have been selected as 7 instead of 700 V. It has been also found that the proposed controller gives better features in terms of power factor improvement, THD [40], as well as DC voltage regulation.  Table 3 represents source current harmonic analysis in terms of % of total harmonic distortion (THD) under various non-linear loads, i.e., voltage Source, current Source, induction furnace, and arc furnace-type non-linear loads having Icosθ and an enhanced SRF SOGI-FLL controller. It has been found that the THDs of source current in Icosθ and the enhanced SRF SOGI-FLL controller are well within the stipulated limits of the IEEE-519 standard [39]. Additionally, the proposed enhanced SRF SOGI-FLL controllerbased DSTATCOM has lower THD values (of source current) as compared to the Icosθ controller-based DSTATCOM, which represents better power quality performances of the proposed enhanced SRF SOGI-FLL controller-based DSTATCOM.  Figure 24 shows the comparative analysis of Icosθ and the proposed enhanced SRF SOGI-FLL controller with different non-linear loads. To visualize this figure, DC voltage regulations have been selected as 7 instead of 700 V. It has been also found that the proposed controller gives better features in terms of power factor improvement, THD [40], as well as DC voltage regulation.

Conclusions
The deficit consequences of industrial-based non-linear loads on the active behavior of distribution systems are discussed in this article. Traditionally, the Icos technique is used to control H-bridge DSTATCOM, but a novel enhanced SRF SOGI-FLL control has also been implemented in the H-bridge DSTATCOM to study the proper behavior of DSTATCOM. This novel control technique is very efficient in grid synchronization and reference current generation for dynamic systems. PWM pulses are generated in a realtime system for voltage source converter switches using a hysteresis control scheme. Both control strategies are capable of controlling the THD value of source currents within the IEEE-519 standard. These control strategies also compensate for reactive power, balance voltage, and current phases, and improve the power factor under a variety of loading conditions. The H-bridge DSTATCOM comparative results demonstrated that the novel enhanced SRF SOGI-FLL control has better power quality improvement features than the Icos control under various loading conditions. Author Contributions: Conceptualization, S.I. and P.K.; methodology, S.I., A.K. and S.R.S.; software, S.I. and S.R.S.; validation, P.K., A.K. and S.R.S.; formal analysis, S.I., P.K., A.K. and S.R.S.; investigation, S.R.S.; resources, S.I. and S.R.S.; data curation, S.I.; writing-original draft preparation, P.K. and S.R.S.; writing-review and editing, S.I., P.K., A.K. and S.R.S.; visualization, S.I. and

Conclusions
The deficit consequences of industrial-based non-linear loads on the active behavior of distribution systems are discussed in this article. Traditionally, the Icosθ technique is used to control H-bridge DSTATCOM, but a novel enhanced SRF SOGI-FLL control has also been implemented in the H-bridge DSTATCOM to study the proper behavior of DSTATCOM. This novel control technique is very efficient in grid synchronization and reference current generation for dynamic systems. PWM pulses are generated in a real-time system for voltage source converter switches using a hysteresis control scheme. Both control strategies are capable of controlling the THD value of source currents within the IEEE-519 standard. These control strategies also compensate for reactive power, balance voltage, and current phases, and improve the power factor under a variety of loading conditions. The H-bridge DSTATCOM comparative results demonstrated that the novel enhanced SRF SOGI-FLL control has better power quality improvement features than the Icosθ control under various loading conditions.