Harmonic ripple compensator for power electronics

IN597804BActive Publication Date: 2026-08-03INDIAN INSTITUTE OF SCIENCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
IN202341070546
Authority / Receiving Office
IN · IN
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2026-08-03
Estimated Expiration
2043-10-17

AI Technical Summary

Technical Problem

Conventional methods for mitigating second-harmonic ripple in power converters are inefficient, relying on bulky or unreliable capacitors and require complex active components, and struggle to maintain resonance frequencies under varying conditions.

Method used

A harmonic ripple compensator using a two-switch solid-state tuning restorer (SSTR) circuit within an LC filter circuit, which actively adjusts the voltage across the filter inductor and capacitor to maintain resonance and mitigate residual ripple voltage, allowing for adaptive tuning and improved filtering performance.

Benefits of technology

The solution effectively reduces residual ripple voltage, enhances filtering performance, extends the lifespan of power converters, and simplifies the architecture with reduced component count and energy consumption, making it more cost-effective and reliable.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

HARMONIC RIPPLE COMPENSATOR FOR POWER ELECTRONICS ABSTRACT A harmonic ripple compensator (102) for power electronics includes an LC filter circuit (106) connected to a power converter (104) across a DC bus voltage source (112). The LC filter circuit (106) comprises of a filter inductor (108) and a filter capacitor (110) in series. Additionally, there is a two-switch solid-state tuning restorer (SSTR) circuit (114) with a first switch (SA1) and a second switch (SA2). The first switch (SA1) is in series with a first capacitor (CA1), and the second switch (SA2) is in series with a second capacitor (CA2). The SSTR circuit (114) is connected in parallel to the LC filter circuit's (106) filter inductor (108). It aims to reduce harmonic ripple in the power converter (104) by ensuring that the voltage drop across the filter inductor (108) and filter capacitor (110) is equal but opposite in phase at a frequency of the harmonic ripple, addressing detuned conditions. FIG. 1
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELDThe present disclosure relates to the field of power electronics and, more specifically, to a harmonic ripple compensator configured to mitigate second-harmonic ripple in power converters.BACKGROUNDIn the field of power electronics, there exists a large number of converters that exchange power between alternating current (AC) and direct current (DC). In the case of single-phase and unbalanced three-phase, a second harmonic ripple manifests in electronic components due to the instantaneous mismatch between DC and AC power. The second harmonic ripple refers to a specific type of harmonic distortion in power systems where a signal at twice the frequency of the primary waveform is superimposed on the electrical supply is generated due to AC-DC conversions involving single-phase or unbalanced AC sources. Traditional methods of mitigating second-harmonic ripple often involve bulky solutions, such as an electrolytic capacitor or expensive solutions, such as polypropylene film capacitors. The electrolytic capacitors, while cost-effective in reducing ripple, have limitations in terms of reliability and lifespan. For example, electrolytic capacitors, commonly used in such filters, can be prone to aging and may not always provide the desired longevity. A more reliable method involves using metallized polypropylene (PP) film capacitors. However, the metallized polypropylene film capacitors have lower energy densities, making them impractical for achieving the required capacitance in such power electronics applications. Further, resonant inductor-capacitor (LC) filter circuits may be employed to filter second-harmonic ripple, but maintaining their resonance frequency under varying conditions is a challenge. Operating frequency variations and component degradation may cause detuning, leading to inadequate filtering performance.Existing methods to address detuning issues of the LC filter circuits, like automatic resonance frequency tuning, are not suitable for power frequency harmonic filtering applications in single-phase or three-phase systems. Modifying filter parameters dynamically is also challenging. Conventionally, solutions have involved the use of active methods to mimic capacitors and inductors for the purpose of second-harmonic ripple filters, but they often involve a high number of active components or require high-power-rated devices. Thus, there exists a technical problem of how to efficiently mitigate second-harmonic ripple in direct current bus systems.Therefore, in light of the foregoing discussion, there exists a need to overcome the aforementioned drawbacks.SUMMARYThe present disclosure provides a solution to the technical problem of how to mitigate second-harmonic ripple in high-power-density converters, particularly in single-phase or unbalanced three-phase power conversion scenarios, while addressing the limitations of conventional filtering methods. An aim of the present disclosure is to provide a solution that overcomes at least partially the problems encountered in the prior art and provide the harmonic ripple compensator that ensures reliable and efficient operation of power electronics by actively maintaining resonance frequencies of inductor- capacitor (LC) filters under varying conditions, thereby enhancing filtering performance and extending the lifespan of power converters.One or more objectives of the present disclosure is achieved by the solutions provided in the enclosed independent claims. Advantageous implementations of the present disclosure are further defined in the dependent claims.In an aspect, the present disclosure provides a harmonic ripple compensator for power electronics. The harmonic ripple compensator includes an inductor-capacitor (LC) filter circuit, consisting of a filter inductor and a filter capacitor connected in series. The LC filter circuit is connected across the direct current (DC) bus of the power converter. The harmonic ripple compensator further includes a two-switch solid state tuning restorer (SSTR) circuit that includes a first switch and a second switch. The first switch is connected in series with a first capacitor, and the second switch is connected in series with a second capacitor. The two-switch SSTR circuit is connected in parallel to the filter inductor. The two-switch SSTR circuit is configured to mitigate a second-harmonic ripple across the DC bus of the power converter by maintaining a voltage drop across the filter inductor and the filter capacitor of the LC filter circuit equal in magnitude but opposite in phase at a predefined operating frequency of the second-harmonic ripple in a detuned state of the LC filter circuit.Beneficially, by actively adjusting the voltage across the filter inductor and the filter capacitor of the LC filter circuit, the harmonic ripple compensator effectively mitigates residual ripple voltage, ensuring a higher level of filtering performance compared to traditional methods. By using the two-switch SSTR circuit, the harmonic ripple compensator facilitates the use of the LC filter circuit realised with a PP film capacitor instead of a bulky and failure-prone electrolytic capacitor, improving the overall reliability and lifespan of the harmonic ripple compensator. In the LC filter, the capacitance requirement is small, so the energy density concern of using polypropylene (PP) film caps is not an issue.The harmonic ripple compensator adapts to changing operating conditions and automatically maintains the LC filter circuit in a tuned state. Such adaptive tuning capability ensures consistent performance over time, even when the filter inductor and the filter capacitor within the LC filter circuit experience variations. Moreover, the SSTR circuit's design, with only two switches and a reduced number of components, simplifies the overall architecture, making it more cost-effective, compact, and easier to implement. In addition, the two-switch SSTR circuit of the present disclosure offers fine control over the voltage applied to the LC filter circuit, enabling precise adjustments to match the desired filtering frequency, which may be particularly important in applications with varying load conditions. Advantageously, the harmonic ripple compensator provides flexibility in configuring the SSTR circuit within the LC filter circuit. In other words, it provides versatility in how the SSTR circuit may be physically connected or integrated into the LC filter circuit. Also, the two switch SSTR circuit of the present disclosure are designed with low power-rated components, reducing energy consumption and minimizing heat generation, which can be crucial in high-power-density applications.It is to be appreciated that all the aforementioned implementation forms can be combined. All steps which are performed by the various entities described in the present application as well as the functionalities described to be performed by the various entities are intended to mean that the respective entity is adapted to or configured to perform the respective steps and functionalities. It will be appreciated that features of the present disclosure are capable of to being combined in various combinations without departing from the scope of the present disclosure as defined by the appended claims.Additional aspects, advantages, features and objects of the present disclosure would be made apparent from the drawings and the detailed description of the illustrative implementations construed in conjunction with the appended claims that follow.BRIEF DESCRIPTION OF THE DRAWINGSThe summary above, as well as the following detailed description of illustrative embodiments, is better understood when read in conjunction with the appended drawings. For the purpose of illustrating the present disclosure, exemplary constructions of the disclosure are shown in the drawings. However, the present disclosure is not limited to specific methods and instrumentalities disclosed herein. Moreover, those skilled in the art will understand that the drawings are not to scale. Wherever possible, like elements have been indicated by identical numbers.Embodiments of the present disclosure will now be described, by way of example only, with reference to the following diagrams wherein:FIG. 1 is a block diagram of a harmonic ripple compensator connected across a direct current (DC) bus of a power converter, in accordance with an embodiment of the present disclosure;FIG. 2 is a circuit diagram of the harmonic ripple compensator connected across the direct current (DC) bus of the power converter, in accordance with an embodiment of the present disclosure;FIG. 3A is a circuit diagram of another harmonic ripple compensator, in accordance with another embodiment of the present disclosure;FIG. 3B is a circuit diagram of another harmonic ripple compensator, in accordance with another embodiment of the present disclosure;FIG. 3C is a circuit diagram of the harmonic ripple compensator, in accordance with another embodiment of the present disclosure;FIGs. 4A, 4B and 4C are graphical representations depicting analytical waveforms of different variables pertaining to a power converter and the two-switch SSTR circuit, in accordance with another embodiment of the present disclosure;FIGs. 5A, 5B and 5C are graphical representations depicting analytical waveforms of different variables pertaining to the power converter and the two-switch SSTR circuit when drift in a filter inductor, and a filter capacitor are below nominal values, in accordance with another embodiment of the present disclosure;FIGs. 6A, 6B and 6C are graphical representations depicting analytical waveforms of different variables pertaining to the power converter and the two-switch SSTR circuit when drift in the filter inductor and the filter capacitor are above nominal values, in accordance with another embodiment of the present disclosure;FIGs. 7A,7B and 7C are graphical representations of simulation results depicting the power converter AC voltage, AC current, and DC voltage, in accordance with another embodiment of the present disclosure;FIG. 7D is a graphical representation of simulation results depicting the power converter corresponding to the harmonic content and discrete frequency spectrum plot of the current of the second harmonic, in accordance with another embodiment of the present disclosure;FIGs. 8A, 8B and 8C are graphical representations illustrating validation of the operation of the two switch SSTR depicting mitigation of the second-harmonic component in DC voltage of the power converter and corresponding AC voltage and AC current waveforms for "-30%" drift in the filter inductor and the filter capacitor parameters, in accordance with another embodiment of the present disclosure;FIGs. 9A, 9B and 9C are graphical representations of validation of the operation of the two switch SSTR circuit depicting mitigation of the second-harmonic component in DC voltage of the power converter and corresponding AC voltage and AC current waveforms for "+30%" drift in the filter inductor and the filter capacitor parameters, in accordance with another embodiment of the present disclosure;FIG. 10A is a graphical representation of validation of the operation of the two switch SSTR depicting mitigation of the second-harmonic component in DC voltage of the power converter and corresponding reduction in the 3rd harmonic content in AC current for the filter inductor and the filter capacitor parameter drift by "-30%", in accordance with another embodiment of the present disclosure;FIG. 10B is a graphical representation of validation of the operation of the two-switch SSTR circuit depicting mitigation of the second-harmonic component in DC voltage of the power converter and corresponding reduction in the 3rd harmonic content in AC for LC parameter drift by "+30%", in accordance with another embodiment of the present disclosure;FIGs. 11A, 11B, and 11C are graphical representations depicting verification of the presence of second- and fourth-harmonic ripple in the voltages across a first capacitor CA1 and a second capacitor CA2, and only fourth-harmonic ripple in total capacitor voltage for "-30%" drift, in accordance with another embodiment of the present disclosure; andFIGs. 12A, 12B, and 12C are graphical representations depicting verification of the presence of second and fourth-harmonic ripple in the voltages across a first capacitor CA1 and a second capacitor CA2, and only fourth-harmonic ripple in total capacitor voltage for "+30%" drift, in accordance with another embodiment of the present disclosure.In the accompanying drawings, an underlined number is employed to represent an item over which the underlined number is positioned or an item to which the underlined number is adjacent. A non-underlined number relates to an item identified by a line linking the non-underlined number to the item. When a number is non-underlined and accompanied by an associated arrow, the non-underlined number is used to identify a general item at which the arrow is pointing.DETAILED DESCRIPTION OF EMBODIMENTSThe following detailed description illustrates embodiments of the present disclosure and ways in which they can be implemented. Although some modes of carrying out the present disclosure have been disclosed, those skilled in the art would recognize that other embodiments for carrying out or practicing the present disclosure are also possible.FIG. 1 is a block diagram of a harmonic ripple compensator connected across a direct current bus of a power converter, in accordance with an embodiment of the present disclosure. With reference to FIG. 1, there is shown a block diagram 100 of a harmonic ripple compensator 102 for power electronics. The harmonic ripple compensator 102 is used to mitigate the second harmonic ripple in the electrical circuits.In some implementations, the harmonic ripple compensator 102 is connected to a direct current (DC) bus of a power converter 104. The harmonic ripple compensator 102 includes a series inductor-capacitor (LC) filter circuit 106 consisting of a filter inductor 108 and a filter capacitor 110, connected in series. The LC filter circuit 106 is connected to the DC bus of the power converter 104 and a DC bus voltage source 112. The harmonic ripple compensator 102 further includes a two-switch solid state tuning restorer (SSTR) circuit 114 that is connected to the filter inductor 108 of the LC filter circuit 106. Specifically, the two-switch SSTR circuit 114 is connected in parallel to the filter inductor 108 of the LC filter circuit 106. Further, the harmonic ripple compensator 102 is communicatively connected with a controller 116.The power converter 104 refers to power electronic devices or systems that are designed to convert electrical power between single-phase or three-phase alternating current (AC) to DC in the electrical systems. The power converter 104 is used in various applications where the source or load handles different types (AC or DC) of power, and they are responsible for converting the electrical power to the appropriate form. In some examples, the power converter 104 includes any one of a single-phase converter and a three-phase converter. The single-phase converters typically deal with single-phase AC and DC as input and output, while the three-phase converters handle three-phase AC and DC as input and output. Such converters play a crucial role in various applications, including industrial machinery, motor drives, renewable energy systems, and more, where the electrical power requirements can vary between single-phase and three-phase configurations.The LC filter circuit 106 refers to an electrical circuit that uses the filter inductor 108 and the filter capacitors 110 to filter electrical signals in electrical systems. The LC filter circuit 106 is used to pass certain frequencies while allowing others to block. The primary function of the LC filter circuit 106 is to attenuate or remove unwanted frequencies or harmonics from a signal, leaving behind the desired frequency components. The LC filter circuit 106 may be used to smooth out voltage or current waveforms to eliminate harmonic distortion.The two-switch SSTR circuit 114 refers to an electronic circuit used to actively mitigate residual ripple voltage across the LC filter circuit 106 when the LC filter circuit 106 is in a detuned condition, thereby helping to maintain the predetermined DC bus voltage within stipulated limits. The two-switch SSTR circuit 114 is implemented using solid-state electronic components, such as semiconductor switches like a metal-oxide-semiconductor field-effect transistors (MOSFETs) and passive components like inductors and capacitors, to restore the tuned state of the LC filter circuit 106. The two-switch SSTR circuit 114 may behave like either an electronic inductor or an electronic capacitor, depending on the specific detuning conditions. The specific detuning conditions refer to the circumstances under which the LC filter circuit 106 no longer operates optimally at its intended resonance frequency. The detuning conditions are situations where the resonance frequency of the LC filter circuit 106 drifts away from the defined frequency due to factors like component ageing, changes in operating conditions, or variations in the input signal. The drifting of the resonance frequency of the LC filter circuit 106 may occur in both positive and negative directions. In other words, the resonance frequency may either increase or decrease from its intended or tuned frequency. The two-switch SSTR circuit 114 is designed to enhance the performance and reliability of power electronics systems by effectively handling second-harmonic ripple issues.The controller 116 refers to an electronic device or system responsible for managing and controlling the operation of various components within the harmonic ripple compensator 102. The controller 116 may include microcontrollers, digital signal processors (DSPs), or other types of programmable hardware. The role of the controller 116 is to monitor and analyse the input signals, system parameters, and possibly external factors. Based on analysis information, the controller 116 makes decisions and generates control signals to adjust the operation of the two-switch SSTR circuit 114 to improve the performance of the LC filter circuit 106 and mitigate the second harmonic ripple. The controller 116 can be a simple open-loop control system in which the control signal is generated from the reference synthesized from the sensed voltage across the filter capacitor 110. In an open-loop control system, a control signal, synthesized from a setpoint or reference signal, is transmitted to the two-switch SSTR circuit 114, and the two-switch SSTR circuit 114 generates the appropriate voltage across 108, accordingly.In operation, the two-switch SSTR circuit 114 is configured to mitigate the second-harmonic ripple across the DC bus of the power converter 104 by maintaining a voltage drop across the filter inductor 108 and the filter capacitor 110 of the LC filter circuit 106 equal in magnitude but opposite in phase at a predefined operating frequency of the second harmonic ripple in the detuned state of the LC filter circuit 106. In order to mitigate the second harmonic ripple across the DC bus of the power converter 104, the two-switch SSTR circuit 114 is configured to draw a predetermined amount of current from the DC bus so that the ripple current does not flow into the DC bus voltage source 112. While applying the appropriate voltage across the filter inductor 108, the two-switch SSTR circuit 114 draws a predetermined amount of current, which is a fraction of the second harmonic component of the DC current of the power converter 104. The fraction is determined to be a value between 0 and 1 to adjust the voltage drop across the filter inductor 108 and the filter capacitor 110 of the LC filter circuit 106.In accordance with an embodiment, the controller 116 is configured to determine whether the LC filter circuit 106 is in a tuned or detuned state based on the impedance of the LC filter circuit 106 and the predefined operating frequency of the second harmonic ripple. In some implementations, the controller 116 is configured to control a switching operation of the two-switch SSTR circuit 114 as per the specific detuning condition in the detuned state of the LC filter circuit 106. FIG. 2 is a circuit diagram of the harmonic ripple compensator connected across the direct current (DC) bus of the power converter, in accordance with an embodiment of the present disclosure. FIG. 2 is explained in conjunction with elements from FIG. 1. With reference to FIG. 2, there is shown a circuit diagram 200 of the harmonic ripple compensator 102 for power electronics. The harmonic ripple compensator 102 is connected to the DC bus of the power converter 104 and the DC bus voltage source 112. Further, the harmonic ripple compensator 102 is connected to the controller 116.As illustrated in the embodiment of FIG. 2, the power converter 104 is a single-phase converter. The single-phase converter has a four-switch configuration, including a first switch S1, a second switch S2, a third switch S3, and a fourth switch S4. The first switch S1, the third switch S3 are connected with positive DC bus, and the second switch S2, the fourth switch S4 are connected with negative DC bus The switches are used to convert single-phase AC power into DC power or vice versa, depending on the converter's operating mode. In this example, the single-phase converter is used to convert DC power into AC power. In some other cases, a three-phase converter may also be used in the same manner to convert DC power into three-phase AC power or vice versa.Further, the LC filter circuit 106 includes the filter inductor 108 and the filter capacitor 110, as discussed above in FIG. 1. The filter inductor 108 has an inductance referred to as "L_r" and a voltage across the filter inductor 108, referred by "v_Lr" in the circuit diagram 200. The filter capacitor 110 has a capacitance referred by "C_r" and a voltage across the filter capacitor 110 referred by "v_Cr" in the circuit diagram 200. Further, as illustrated in FIG. 2, the DC bus voltage source 112 includes a voltage source referred by "v_s" and an internal source of resistance referred to by "R_s". The two-switch SSTR circuit 114 includes a first switch SA1 and a second switch SA2. The first switch, SA1, is connected in series with a first capacitor CA1, and the second switch SA2, is connected in series with a second capacitor CA2. The combination of the first switch SA1 and first capacitor CA1 is connected in parallel with the combination of the second switch SA2 and second capacitor CA2. A voltage across the first capacitor CA1 is referred by "v_CA1", and a voltage across the second capacitor CA2 is referred by "v_CA2". Further, a voltage across the two switch SSTR circuit 114 is referred by "v_CA". In some example, the voltage across the first capacitor CA1 referred by "v_CA1" and the voltage across the second capacitor CA2 referred by "v_CA2" may be equal and summation of the voltages "v_CA1" and "v_CA2" may give the voltage across the two switch SSTR circuit 114 referred by "v_CA".In an implementation, the first switch SA1 and the second switch SA2 are low voltage, low current MOSFETs with integrated anti-parallel diodes. The MOSFETs handle only a fraction of the main power flow, allowing for significantly lower voltage and current ratings compared to the main converter switches. The allowance of only lower voltage and current ratings results in reduced cost and a smaller physical size of the components. The lower voltage MOSFETs typically have lower on-state resistance (RDS(on)), reducing conduction losses and lower current ratings provide reduced switching losses, especially at higher frequencies. Lower voltage and current ratings allow for faster switching transitions. The faster switching transitions enable higher frequency operation, potentially reducing the size of passive components (inductors and capacitors) in the two-switch SSTR circuit 114. Integrated Anti-Parallel Diode eliminates the need for external diodes, reducing component count and board space and offers better performance than discrete diodes due to optimized packaging and reduced parasitic elements. Smaller components allow for a more compact overall design of the two-switch SSTR circuit 114. Operating components well below their maximum ratings typically increase their lifespan and reliability. Lower stress on components reduces the likelihood of failures. Further, low voltage MOSFETs require lower gate drive voltages, simplifying the gate driver circuitry and faster switching and lower parasitic capacitances allow for more precise control and potentially more advanced control strategies. In an implementation, a voltage stress on the components of the two-switch SSTR circuit 114 is less than the DC bus voltage. The lower voltage stress enables the use of devices optimized for faster switching, which allows for higher frequency operation, potentially reducing the size of passive components. In an implementation, the two-switch SSTR circuit 114 is configured to maintain linear modulation by ensuring the voltage across the first capacitor (CA1) and second capacitor (CA2) is greater than the voltage across the filter inductor 108. The SSTR continuously monitors the voltage across the filter inductor 108. The configuration of the SSTR is such that it ensures the voltage across each capacitor "v_CA1" and "v_CA2 is always greater than "v_Lr". The two switch SSTR circuit 114 actively controls the charging and discharging of CA1 and CA2 to maintain their voltages above "v_Lr". This is done through appropriate switching of SA1 and SA2. By keeping "v_CA1" and "v_CA2 greater than "v_Lr", the two switch SSTR circuit 114 ensures it can always generate the required compensating voltage across the filter inductor 108. In an implementation, the first capacitor CA1 and the second capacitor CA2 have equal capacitance values, and the midpoint between the first capacitor CA1 and the second capacitor CA2 is connected to one terminal of the filter inductor 108 to apply a zero-mean voltage "v_Lr" across the filter inductor 108. By connecting the midpoint to the filter inductor 108, a zero-mean voltage is applied across it, which prevents DC magnetization of the inductor core, avoiding saturation issues and enhances the linear operation range of the filter inductor 108, improving the overall performance of the harmonic ripple compensator 102. Each capacitor, CA1 and CA2, only experiences half of the total DC bus voltage. Lower voltage rating requirements for CA1 and CA2 provide improved reliability due to lower stress on components. The symmetrical arrangement of CA1 and CA2 creates a balanced structure. The midpoint provides a convenient reference for voltage measurements, allows for both positive and negative voltage swings relative to the midpoint. Voltage transitions across the filter inductor 108 are limited to half the DC bus voltage. The equal capacitance values tend to self-balance the voltage and minimize the need for additional balancing circuits. The midpoint acts as a low-impedance node for high-frequency components, enhancing the attenuation of switching frequency ripple. In case of a single capacitor failure, the system might still operate at reduced capacity. The balanced structure helps in reducing even-order harmonics.The controller 116 includes a bandpass filter 202 connected to the filter capacitor 110. The bandpass filter 202 allows only a specific frequency component to pass through while attenuating other frequencies. In this example, the bandpass filter 202 allows only a frequency component at "2ω" to pass through. The frequency component at "2ω" represents the frequency component of the LC filter circuit 106, that is a second-harmonic frequency component referred by "v_(Cr,2ω)". In other words, the bandpass filter 202 helps isolate the second-harmonic frequency component from an input signal that is further used to control a switching pattern and a duty cycle of the two-switch SSTR circuit 114. The controller 116 further includes a first gain block 204 connected to the bandpass filter 202. The first gain block 204 is used to invert the phase of the input signal. In an example, an output signal of the first gain block 204 may be "-v_(Cr,2ω)". The controller 116 further includes a signal processing device 206 connected to the first gain block 204. The signal processing device 206 is configured to receive the output signal of the first gain block 204 and the voltage across the two switch SSTR circuit 114 as input signals. The signal processing device 206 is further configured to determine a modulation index (m_A) by determining a ratio of the output signal of the first gain block 204 and the voltage across the two switch SSTR circuit 114.The controller 116 further includes a second gain block 208 connected to the signal processing device 206. The second gain block 208 is used to amplify an input signal by a magnitude of "0.5". Thus, an output signal of the second gain block 208 is "0.5m_A". The controller 116 further includes a summing point 210 at which a magnitude of 0.5 is added to the input signal. By adding the output signal of the second gain block 208 at the summing point 210, a duty cycle (d_A) is determined. The duty cycle (d_A) is given by "0.5+0.5m_A". The controller 116 further includes a modulator 212 configured to generate a first switch signal (g_A1) and a complimentary second switch signal (g_A2) for opening and closing of the first switch SA1 and the second switch SA2, respectively. In operation, the DC bus voltage source 112 is configured to provide an average DC current component referred by "I_s" as shown in the circuit diagram 200. A total DC current in a circuit illustrated in FIG. 2 is referred by "i_dc". The total DC current i_dc includes the average DC current component (I_s), a ripple current or the second-harmonic component (referred by "i_r") of the total DC current and a switching ripple current (referred by "i_sw "). The switching ripple (i_sw) present in i_dc is filtered by a capacitance "C_f " which is connected to the DC bus of the power converter 104. Further, the second-harmonic component i_r of the total DC current i_dc flows from the LC filter circuit 106. Therefore, as per the current direction shown in FIG. 2, a current "i_2" flowing in the LC filter circuit 106 is given by Equation 1 provided below.i_2=-i_r…………………… [Equation 1]The amplitude of the second-harmonic ripple component i_r is the same as the average DC current I_s.In a perfectly tuned state of the LC filter circuit 106, the second-harmonic voltage drop across the filter inductor 108 and the filter capacitor 110 cancels each other, resulting in zero second-harmonic ripple voltage across the DC bus of the power converter 104. Therefore, in the perfectly tuned state of the LC filter circuit 106, the current i_2 flowing in the LC filter circuit 106 is equal to a current "i_2L" flowing in the filter inductor 108, as given by Equation 2 provided below. Further, in the perfectly tuned state of the LC filter circuit 106, the voltage "v_Lr" across the filter inductor 108 is equal in magnitude but opposite in phase to the voltage "v_(Cr,2ω)" across the filter capacitor 110 at the second harmonic frequency "2ω", as given by Equation 3 provided below.i_2L=i_2……………….[Equation 2]v_Lr=-v_(cr,2ω)……………….[Equation 3]In an example, considering the filter inductor 108 and the filter capacitor 110 to be ideal inductor and capacitor, a relation is derived that corresponds to the perfectly tuned condition, as given by Equation 4 provided below.4ω2=1 / (L_r C_r )……………….[Equation 4]When the filter inductor 108 and the filter capacitor 110 are out of tuning or, in other words, the LC filter circuit 106 is in a detuned state, residual second-harmonic voltage remains across the DC bus. Under the detuned state of the LC filter circuit 106, the two-switch SSTR circuit 114 actively mitigates the residual ripple by applying the appropriate voltage across the filter inductor 108. The two-switch SSTR circuit 114 draws the current i_2A, which is a fraction (a) of the current i_2 so that the current in the filter inductor 108 and the filter capacitor 110 becomes unequal. However, the re-distribution of the current by the operation of switches ensures that the voltage drop across the filter inductor 108 and the filter capacitor 110 at the targeted filtering frequency becomes equal in magnitude and opposite in phase. Thus, in the first detuned state of the LC filter circuit 106, when 4ω2>1 / (L_r C_r ) to ensure the perfectly tuned state of the LC filter circuit 106 as shown in Equation 3, the current drawn by the two-switch SSTR circuit is given by Equation 5 provided below.i_2A=αi_2,where 0<α≤1………… [Equation 5]Further, in a second detuned state of the LC filter circuit 106, when 4ω2<1 / (L_r C_r ) to ensure the perfectly tuned state of the LC filter circuit 106 as shown in Equation 3, the current drawn by the two switch SSTR circuit is given by Equation 6 provided below.i_2A=-αi_2:0<α≤1………… [Equation 6]Thus, in the first detuned state, the two switch SSTR circuit 114 behaves as an inductor and in the second detuned state, the two switch SSTR circuit 114 behaves like a capacitor.In an implementation, the controller 116 is further configured to detect a detuning of the LC filter circuit 106. The LC filter circuit 106 is designed to suppress the second harmonic ripple in the DC bus. Over time, due to component ageing, temperature variations, or other factors, the filter circuit 106 may become detuned. Detuning reduces the effectiveness of the LC filter circuit 106, leading to increased ripple on the DC bus. The controller 116 may perform real-time frequency analysis of the DC bus voltage or current to measure the magnitude of the second harmonic component. The controller 116 monitors DC voltage, current through the filter inductor 108, voltage across the filter capacitor 110, AC input voltage and AC current. The controller 116 compares the measured response with the expected response of a perfectly tuned filter. The controller 116 may use adaptive thresholds to account for normal variations in operating conditions. The continuous detection process runs continuously or at frequent intervals to catch any changes in the LC filter circuit 106 performance. Once detuning is detected, the information is used to activate and control the SSTR circuit 114. The degree and nature of detuning (above or below nominal frequency) inform how the SSTR circuit 114 should compensate. The controller 116 distinguishes between actual detuning and other anomalies that may present similar symptoms. The effectiveness of the compensation of the two-switch SSTR circuit 114 is fed back into the detection algorithm, allowing for fine-tuning of the response.The controller 116 is further configured to determine the required emulated impedance to compensate for the detuning. The controller 116 assesses the degree and direction of detuning (above or below nominal frequency). Based on the detuning analysis, the controller 116 calculates the additional impedance needed to bring the LC filter circuit 106 back to its optimal resonant frequency. The controller 116 continuously adjusts calculation as operating conditions change. The controller 116 then controls switches of the two switch SSTR circuit 114 to emulate either an inductance or capacitance as needed. The harmonic ripple compensator 102 monitors the effectiveness of the compensation and fine-tunes the emulated impedance accordingly. The controller 116 aims to minimize the second harmonic ripple while using the least amount of active compensation.The controller 116 is further configured to generate appropriate switching signals for the first switch SA1 and the second switch SA2 to produce the required emulated impedance. For inductor emulation, the current lags the voltage. The controller 116 calculates the required duty cycle based on the needed impedance. A high switching frequency (typically in the kHz range) is used to achieve smooth emulation. The switching frequency is chosen to be much higher than the second harmonic being compensated (100 / 120 Hz). Further, the controller 116 adjusts the phase of the switching signals relative to the grid voltage to fine-tune the emulated impedance.The first switch SA1 and the second switch SA2, are switched in a complementary manner to ensure a continuous current path. Further, short dead times are inserted between switching transitions to prevent shoot-through. The controller 116 continuously adjusts the switching patterns based on real-time measurements of the parameters of the harmonic ripple compensator 102. In some implementations, advance control may implement soft switching techniques to reduce switching losses. Further, the controller 116 may intentionally inject specific harmonics through the switching pattern to achieve more precise impedance emulation. The switching pattern includes provisions to limit the current through the switches, protecting them from overcurrent. The controller 116 uses feedback from voltage and current sensors to fine-tune the switching signals in real-time.In an implementation, the controller 116 is further configured to detect the magnitude and phase of the second harmonic voltage across the filter capacitor 110. The controller 116 may use an Analog-to-Digital Converter (ADC) to sample the voltage across the filter capacitor 110. The sampling rate is usually much higher than the second harmonic frequency (e.g., at least 1 kHz for a 100 Hz second harmonic). The samples are stored in a buffer, usually collecting data for one or more fundamental cycles (e.g., 20 milliseconds for a 50 Hz system). The controller 116 may perform a fast Fourier transform (FFT) on the windowed data. The FFT transforms the time-domain voltage samples into the frequency domain. In the frequency domain, the controller 116 identifies the FFT bin corresponding to the second harmonic (e.g., 100 Hz for a 50 Hz system). The magnitude of the second harmonic is determined by the amplitude of the corresponding FFT bin. The FFT bin value may be scaled based on the FFT parameters and windowing function used. The phase of the second harmonic is calculated using the real and imaginary parts of the FFT result at the second harmonic frequency. The calculated phase is typically referenced to the fundamental voltage phase, that may involve an additional step of detecting the fundamental phase and adjusting the second harmonic phase accordingly. To improve accuracy and reduce noise, the controller 116 may apply digital filtering techniques or average results over multiple cycles. Further, periodic calibration routines may be implemented to ensure the accuracy of the detection process over time.The controller 116 is further configured to generate a complementary voltage to be applied across the filter inductor 108. The controller 116 first analyses the detected second harmonic voltage across the filter capacitor 110, determining its magnitude and phase. Using the information, the controller 116 calculates an equal but opposite voltage that needs to be applied across the filter inductor 108 to effectively cancel out the second harmonic ripple. The complementary voltage is then synthesized by controlling the switching patterns of the first switch SA1 and the second switch SA2, in the two switch SSTR circuit 114. The controller 116 modulates the first switch SA1 and the second switch SA2 using precise PWM signals, alternating between the voltages "v_CA1", and "v_CA2". to create the desired waveform. The resulting voltage applied across the filter inductor 108 is designed to be exactly out of phase with the second harmonic voltage on the filter capacitor 110, thus neutralizing its effect and restoring the optimal performance of the LC filter circuit 106.The controller 116 is further configured to modulate the first switch SA1 and the second switch SA2 to produce the complementary voltage. The controller 116 generates precise control signals (switching signals) for the first switch SA1 and the second switch SA2. The first switch SA1 and the second switch SA2 are turned on and off at specific times to shape the voltage across the first capacitors CA1 and the second capacitor CA2 in the two switch SSTR circuit 114. By modulating the timing and duration (duty cycle) of the switch operations, the controller 116 ensures that the voltage produced across the two capacitors will match the required complementary voltage. Once the switches are modulated correctly, the complementary voltage generated across the first capacitor CA1 and the second capacitor CA2 is applied across the filter inductor 108. The complementary voltage, being opposite in phase at the second harmonic, effectively cancels out the ripple, thus stabilizing the voltage across the DC bus of the power converter 104.In an implementation, the two-switch SSTR circuit 114 is configured to compensate for parameter drifts of up to "±30%" in the filter inductor 108 and filter capacitor 110 values, as well as variations in the operating frequency of the power converter 104. The two-switch SSTR circuit 114 maintains effective harmonic suppression and consistent power quality despite component variations and changing operating conditions. The robust performance extends to situations that would typically degrade filter effectiveness, allowing the use of wider tolerance components and potentially reducing system costs. The versatility of the two-switch SSTR circuit 114 enables a single design to be used across various applications with different frequency requirements. Additionally, the two-switch SSTR circuit 114 enhances grid compatibility by better handling frequency variations, is important for renewable energy integration, and maintains performance across varying thermal conditions by compensating for temperature-induced parameter drifts.In an implementation, the two-switch SSTR circuit 114 has voltage and current ratings lower than voltage and current ratings of the power converter 104, and a volt-ampere (VA) rating of the two-switch SSTR circuit 114 is a fraction of a volt-ampere (VA) rating of the power converter 104. This configuration is achieved by designing the SSTR circuit 114 to handle only the compensating currents and voltages, which are significantly smaller than the main power flow. For example, if the power converter 104 is rated for 400V and 100A (40kVA), the SSTR may be designed for 60V and 10A (600VA), just 1.5% of the rating of the power convertor 104.The lower ratings are possible because the SSTR circuit 114 only needs to process the difference between the actual and ideal filter currents, not the full power of the system. This allows for the use of smaller, less expensive components in the SSTR circuit 114, such as low-voltage MOSFETs and smaller capacitors. By operating at lower voltages and currents, the SSTR circuit 114 can switch at higher frequencies, enabling more precise control of harmonic compensation. This higher frequency operation also allows for smaller passive components, further reducing size and cost. The lower "VA" rating of the SSTR circuit 114 results in reduced power losses, improved efficiency, and simpler thermal management. It also enhances the overall system reliability by subjecting the SSTR components to less stress. This approach makes the harmonic ripple compensator a practical and economical solution for improving power quality in various applications, from renewable energy systems to industrial power supplies, without significantly increasing the overall system cost or complexity.FIG. 3A is a circuit diagram of another harmonic ripple compensator, in accordance with another embodiment of the present disclosure. FIG. 3A is explained in conjunction with elements from FIGs. 1 and 2. With reference to FIG. 3A there is shown harmonic ripple compensator 300A, including an inductor-capacitor filter circuit 302A and a two switch SSTR circuit 304A. The inductor-capacitor filter circuit 302A includes the filter inductor 108 and the filter capacitor 110. The filter inductor 108 has an inductance referred by "L_r" The filter capacitor 110 has a capacitance referred by "C_r". FIG. 3B is a circuit diagram of another harmonic ripple compensator, in accordance with another embodiment of the present disclosure. FIG. 3B is a circuit diagram of another harmonic ripple compensator, in accordance with another embodiment of the present disclosure. FIG. 3B is explained in conjunction with elements from FIGs. 1, 2 and 3. With reference to FIG. 3B there is shown harmonic ripple compensator 300B, including an inductor-capacitor filter circuit 302B and a two switch SSTR circuit 304B. The inductor-capacitor filter circuit 302B includes the filter inductor 108, referred by "L_r" and filter capacitor 110 with capacitance referred by "C_r". The two switch SSTR circuit 304B includes a first switch SA1 and a second switch SA2. The first switch SA1 and the second switch SA2 are connected in series with a capacitor CA. The two switch SSTR circuit 304B incorporates the blocking capacitor C_b within the it, requiring no modification in the inductor-capacitor filter circuit 302B design. Thus, the configuration of harmonic ripple compensator 300B is more adaptable to retrofit an existing LC resonant filter. However, the blocking capacitor C_b requires capacitance of few milli Farads (mF) to ensure no second-harmonic voltage drop across it.FIG. 3C is a circuit diagram of the harmonic ripple compensator, in accordance an embodiment of the present disclosure. FIG. 3A is explained in conjunction with elements from FIGs. 1 to 3B. With reference to FIG. 3C, there is the harmonic ripple compensator 102 as explained in FIGs. 1 and 2. The harmonic ripple compensator 102 has no blocking capacitor as against that present in the harmonic ripple compensator 300A and the harmonic ripple compensator 300B. The absence of reduces component count, lowering cost and improving reliability. Further, absence of blocking capacitor eliminates potential failure point and reduces power losses. Furthermore, split capacitor arrangement naturally provides zero average voltage across the filter inductor 108. The harmonic ripple compensator 102 depicts a balanced structure with a split capacitor, while the harmonic ripple compensator 300A and the harmonic ripple compensator 300B depict asymmetrical structure. The harmonic ripple compensator 300A and the harmonic ripple compensator 300B require additional components for certain control schemes. The harmonic ripple compensator 102 is adaptable to different control requirements without hardware changes and enables optimization for different operating conditions. Further, the harmonic ripple compensator 102 aligns well with modern trends in power electronics that emphasize efficiency, power density, and electromagnetic compatibility.FIGs. 4A, 4B and 4C are graphical representations depicting analytical waveforms of different variables pertaining to a power converter and the two-switch SSTR circuit, in accordance with an embodiment of the present disclosure. FIGs. 4A, 4B and 4C are described in conjunction with elements from FIGs. 1 to 3C. With reference to FIG.4A, there is shown a graphical representation 400A depicting sinusoidal AC voltage waveform over time. The graphical representation 400A includes a curve 402A representing an AC voltage across the power converter 104. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. The AC voltage across the power converter 104 ranges from approximately "-300V" to "+300V", with a peak-to-peak voltage of about 600V. The AC voltage waveform across the power converter 104 completes one full cycle in about 20 milliseconds, corresponding to a frequency of 50 Hertz. The sinusoidal AC voltage across the power converter 104 waveform depicted by the curve 402A is clean, indicating minimal distortion in the AC voltage.With reference to FIG.4B, there is shown a graphical representation 400B depicting a variation of sinusoidal current with the time. The graphical representation 400B includes a curve 402B representing AC current waveform across the power converter 104. Time is expressed in millisecond (ms) in an abscissa axis. Current is expressed in amperes (A) in an ordinate axis. The current ranges from "-10A" to "+10A", with a peak-to-peak current of around 20A. The AC current waveform completes one full cycle in about 20 ms, corresponding to a 50 Hz AC frequency. The sinusoidal AC current waveform across the power converter 104 depicted by the curve 402B is in phase with the sinusoidal AC voltage waveform depicted by the curve 402A, suggesting a unity power factor operation.With reference to FIG.4C, there is shown a graphical representation 400C depicting plurality of currents corresponding to DC link. The DC link is an intermediate circuit that connects the input stage to the output stage in a power electronic system. The DC link serves as a temporary energy storage and transfer medium between these stages. The graphical representation 400C includes a curve 402C, a curve 404C and a curve 406C. Time is expressed in millisecond (ms) in an abscissa axis. Current is expressed in amperes (A) in an ordinate axis. The curve 402C represents the second harmonic component represented by "i2" of the DC link current. "i2" amplitude is approximately ±5A peak-to-peak and has a frequency of 100 Hz (twice the fundamental 50 Hz). "i2" appears to be leading the other waveforms slightly. The curve 404C represents the ripple current represented by "ir" in the DC link, having an amplitude slightly smaller than "i2", about ±4A peak-to-peak. "ir" has a frequency of 100 Hz and appears to be slightly lagging "i2" and more sinusoidal compared to "i2". The curve 406C is a waveform depicting the switching cycle averaged DC link current represented by <idc>Ts. <idc>Ts is approximately 5A (positive offset) AC Component: 100 Hz ripple superimposed on the DC value Peak-to-peak Ripple: About 5A. Combines characteristics of both "i2" and "ir". The <idc>Ts are a combination of a DC offset, "i2" and "ir". The peaks and troughs of <idc>Ts align closely with those of "i2", suggesting a strong influence of the second harmonic. All waveforms (i.e., <idc>Ts, "i2" and "ir") complete four cycles in 40ms, confirming the 100 Hz frequency. The peak values of all waveforms align at approximately 5ms, 15ms, 25ms, and 35ms. The presence of significant 100 Hz components "i2" and "ir" indicates substantial second harmonic content in the DC link. The harmonic content is what the SSTR aims to mitigate to improve overall system performance. The 100 Hz frequency of "i2", "ir", and <idc>Ts currents are directly related to the 50 Hz AC input shown in the graphical representation 400A and the graphical representation 400B. The power pulsation in single-phase AC-DC conversion results in this doubled frequency in the DC link. The peak-to-peak amplitude of the ripple components "i2" and "ir" is nearly as large as the average DC value, indicating a significant ripple that could affect system performance. The "i2", "ir", and <idc>Ts currents fluctuations likely cause voltage ripple on the DC bus. The high ripple content can stress the DC link capacitors and other components. Without mitigation, these ripples may affect the quality of power delivered to the load or grid.FIGs. 5A, 5B and 5C are graphical representations depicting analytical waveforms of different variables pertaining to the single-phase main converter and its SSTR circuit when drift in the filter inductor and filter capacitor are below nominal values, in accordance with another embodiment of the present disclosure. FIGs. 5A, 5B and 5C are described in conjunction with elements from FIGs. 1 to 4C. With reference to FIG.5A, there is shown a graphical representation 500A showing a variation of current with time. The graphical representation 500A includes a curve 502A depicting the waveform of the current represented by "i2A" drawn by the two switch SSTR circuit 114 and a curve 504A depicting the waveform of the switching cycle averaged fourth harmonic current represented by "<i4A>Ts in the two switch SSTR circuit 114. Time is expressed in millisecond (ms) in an abscissa axis. Current is expressed in amperes (A) in an ordinate axis.The amplitude of the "i2A" is approximately ±5A peak-to-peak, and the frequency is 100 Hz (twice the fundamental frequency of 50 Hz). The current "i2A" is in phase with the second harmonic component "i2" of the DC link current, indicating the two-switch SSTR circuit 114 is behaving inductively. The current "<i4A>Ts has a much smaller amplitude (about ±1A peak-to-peak) than the "i2A" and a frequency of 200 Hz, i.e., four times the fundamental frequency. The current "<i4A>Ts results from the power balance in the two-switch SSTR circuit 114.In an implementation, the two-switch SSTR circuit 114 is configured to emulate an inductance when the LC filter circuit 106 is detuned above the nominal resonance frequency by drawing current in phase with the second harmonic component of the DC bus current. By emulating the inductance, the two-switch SSTR circuit 114 effectively lowers the overall inductance of the LC filter circuit 106. This helps bring the resonant frequency of the LC filter circuit 106 back towards its nominal value, improving filtering performance. The emulated inductance only processes the difference between the actual and ideal filter currents, which results in lower power handling requirements for the components of two switch SSTR circuit 114, improving efficiency. Effective compensation of the second harmonic ripple leads to reduced voltage fluctuations on the DC bus. With reference to FIG.5B, there is shown a graphical representation 500B depicting a variation of voltage across the first capacitor CA1 and the second capacitor CA2 in the two-switch SSTR circuit 114 with time. The graphical representation 500B includes a curve 502B depicting voltage across the first capacitor CA1, represented by "VCA1", and a curve 504B depicting voltage across the second capacitor CA2, represented by "VCA2". Time is expressed in milliseconds (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis.The amplitude of each of "VCA1 and "VCA2" varies between about 15V to 50V. The frequency is 100 Hz for the main component. The "VCA1" and "VCA2" are 180 degrees out of phase with each other. The complementary nature of "VCA1" and "VCA2" helps in generating the required compensating voltage for the operation of the two-switch SSTR circuit 114. With reference to FIG. 5C, there is shown a graphical representation 500C including a curve 502C depicting a variation of a total capacitor voltage "VCA" across the first capacitor CA1 and the second capacitor CA2. Time is expressed in milliseconds (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. The DC component of the voltage "VCA is approximately 60V, and the ripple is small (about ±5V peak-to-peak). The frequency of the ripple is 200 Hz (fourth harmonic). The relatively stable nature of this voltage is crucial for the proper operation of the two-switch SSTR circuit 114. The "i2A" current directly corresponds to the compensating action of the two-switch SSTR circuit 114, counteracting the second harmonic in the main DC link current. The voltages "VCA1" and "VCA2" show how the two-switch SSTR circuit 114 generates the compensating voltage by alternating between the voltage "VCA1" of the first capacitor CA1 and the voltage "VCA2" of the second capacitor CA2. The total capacitor voltage "VCA" remains relatively stable with a small fourth harmonic ripple, which is important for maintaining consistent performance of the two-switch SSTR circuit 114. The phase relationships between the waveforms represented by the graphical representation 500A, the graphical representation 500B and the graphical representation 500C are important for the proper operation of the two-switch SSTR circuit 114 in compensating for the second harmonic ripple in the main DC link. The magnitudes of current "i2" and current "<i4A>Ts and voltages "VCA1", "VCA2", and "VCA" are significantly smaller than those in the main power circuit, highlighting the low-power nature of the SSTR compared to the main converter. The phase relationships between the waveforms are critical for the proper operation of the two-switch SSTR circuit 114 in compensating for the second harmonic ripple in the main DC link.FIGs. 6A, 6B and 6C are graphical representations depicting analytical waveforms of different variables pertaining to the single-phase main converter and its SSTR when drifting in the filter inductor 108 and filter capacitor 110 above nominal values, in accordance with another embodiment of the present disclosure. FIGs. 6A, 6B and 6C are described in conjunction with elements from FIGs. 1 to 5C. With reference to FIG. 6A, there is shown a graphical representation 600A showing a variation of current with time. The graphical representation 600A includes a curve 602A depicting the waveform of the current represented by "i2B" drawn by the two switch SSTR circuit 114 and a curve 604A depicting the waveform of the switching cycle averaged fourth harmonic current represented by "<i4B>Ts" in the two switch SSTR circuit 114 and a curve 604A. Time is expressed in millisecond (ms) in an abscissa axis. Current is expressed in amperes (A) in an ordinate axis.Current "i2B" represents the current drawn by the two-switch SSTR circuit 114. Current "i2B" has approximately ±5A peak-to-peak value with the frequency of 100 Hz (twice the fundamental 50 Hz frequency). Current "i2B" is in phase opposition with the second harmonic component by "<i4B>Ts of the DC link current, indicating the two switch SSTR circuit 114 is behaving capacitively in this case. The switching cycle averaged the fourth harmonic current in the two-switch SSTR circuit 114. With reference to FIG. 6B, there is shown a graphical representation 600B depicting the variation of voltage across the first capacitor CA1 and the second capacitor CA2 in the two-switch SSTR circuit 114 with time. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. The graphical representation 600B includes a curve 602B depicting voltage across the first capacitor CA1, represented by "VCB1", and a curve 604B depicting voltage across the second capacitor CA2, represented by "VCB2". Each voltage "VCB1" and "VCB2" varies between about 20V to 40V. The frequency is 100 Hz for the main component. "VCB1" and "VCB2" are 180 degrees out of phase with each other. The peak-to-peak voltage of each capacitor (CA1 and CA2) is about 20V.With reference to FIG. 6C, there is shown a graphical representation 600C including a curve 602C depicting a variation of a total capacitor voltage "VCA" across the first capacitor CA1 and the second capacitor CA2. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. DC Component has approximately 60V and ripple is very small, about ±2V peak-to-peak. Further, the frequency of the ripple is 200 Hz (fourth harmonic).The "i2B"current is opposite in phase to that shown in the graphical representation 500A, indicating the two-switch SSTR circuit 114 is now behaving capacitively rather than inductively, which demonstrates the ability of the two-switch SSTR circuit 114 to adapt to different detuning conditions. The voltages "VCB1" and "VCB2" are complementary, allowing the two-switch SSTR circuit 114 to generate the required compensating voltage. The total capacitor voltage "VCB" remains very stable, which is crucial for the consistent operation of the two-switch SSTR circuit 114. The magnitudes of currents and voltages are relatively small, confirming the low-power nature of the two-switch SSTR circuit 114 compared to the main power circuit. All waveforms show a consistent 100 Hz or 200 Hz pattern, aligning with the expected second and fourth harmonic components in a 50 Hz system.The graphical representation 600A, the graphical representation 600B and the graphical representation 600C illustrate how the two-switch SSTR circuit 114 operates to compensate for detuning in the LC filter circuit 106, adapting its behaviour (capacitive in this case) to maintain optimal filtering performance. The stability of the total capacitor voltage and the controlled nature of the currents and individual capacitor voltages demonstrate the effectiveness of the proposed SSTR design in managing the second harmonic ripple. In an implementation, the two-switch SSTR circuit 114 is configured to emulate a capacitance when the LC filter circuit 106 is detuned below nominal resonance frequency by drawing current in phase opposition to the second harmonic component of the DC bus current.FIGs. 7A, 7B and 7C are graphical representations of simulation results depicting waveforms of ac voltage, ac current, and dc voltage for the power convertor, in accordance with another embodiment of the present disclosure. FIGs. 7A, 7B and 7C are described in conjunction with elements from FIGs. 1 to 6C. With reference to FIG. 7A, there is shown a graphical representation 700A including a curve 702A depicting sinusoidal waveform of AC Voltage (Vac). Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. AC Voltage (Vac) has approximately " ±400V peak (800V peak-to-peak)" and a frequency of 50 Hz (i.e., five complete cycles in 100 ms). With reference to FIG. 7B, there is shown a graphical representation 700B including a curve 702B depicting the sinusoidal waveform of AC current represented by "IAC" having an amplitude of approximately ±10A peak (20A peak-to-peak) and frequency of 50 Hz. "IAC" is in phase with the voltage (Vac), indicating unity power factor operation. The synchronization with the voltage waveform(Vac) suggests efficient power transfer.With reference to FIG. 7C, there is shown a graphical representation 700C including a curve 702C depicting waveform of DC Bus Voltage (Vdc). Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. DC Bus Voltage (Vdc) is a pulsating DC voltage with a significant ripple and the average value of around 400V DC Bus Voltage (Vdc) has a ripple amplitude of approximately ±20V (40V peak-to-peak) and ripple frequency of 100 Hz (twice the fundamental frequency). The AC voltage and current are perfectly in phase, indicating unity power factor. This suggests optimal power transfer and minimal reactive power flow.The peak-to-peak ripple in the DC bus voltage is about 10% of the average DC value, which is substantial and may affect the performance of connected DC loads or downstream converters. The peaks of the DC voltage ripple align with the peaks of the AC voltage and current, illustrating the direct relationship between AC power flow and DC bus voltage fluctuation. The consistent and clean sinusoidal shapes of the AC voltage and current suggest good power quality on the AC side despite the ripple on the DC side.The waveforms depicted by the graphical representations 700A, 700B and 700C are typical for the power converter 104, specifically single-phase AC-DC converter (like a rectifier) or a DC-AC inverter operating in unity power factor mode. The simulation result effectively demonstrates the challenge addressed by the two-switch SSTR circuit 114 significant second harmonic ripple on the DC bus voltage resulting from single-phase AC-DC conversion.FIG. 7D is a graphical representation of simulation results depicting the power converter corresponding to the harmonic content and THD (total harmonic distortion) of current "IAC" when both the filter inductor and filter capacitor parameters of second-harmonic tuned LC resonant filter drift by 30%, in accordance with another embodiment of the present disclosure. FIG. 7D is explained in conjunction with FIGs. 1 to 7C. With reference to FIG. 7D, there is shown a graphical representation 700D depicting discrete frequency spectrum plot of the current in power converter 104 with the LC filter circuit 106 of the harmonic ripple compensator 102. Frequency is expressed in hertz (Hz) in an abscissa axis. Amplitude of current harmonics is expressed as a percentage of fundamental in an ordinate axis. The graphical representation 700D includes a plurality of bars (for example, a bar 702D). It is to be noted due to illustration constraints only one bar is depicted and further a, section 704D depicts an enlarged view of lower amplitude region (ranging from 0% to 5%) of current harmonics having frequency in the range from 150 Hz to 450 Hz. The section 704D includes a bar 706D, a bar 708D and a bar 710D. The section 704D clearly shows the presence of even harmonics (100 Hz, 200 Hz) which are typically minimal in balanced systems.The largest spike occurs at 50 Hz with a current of 12.5 A and represents the main 50 Hz component of the current. The graphical representation 700D shows multiple harmonic components at different frequencies. The most prominent is the spike at 150 Hz (i.e., 3rd harmonic). Other visible harmonics at 250 Hz, 350 Hz, etc. Total Harmonic Distortion (THD) occurs at 5.17%, indicating the overall level of harmonic distortion relative to the fundamental. The parameter drift is likely the cause of the increased harmonic content, especially the prominent 3rd harmonic. The presence of a significant 3rd harmonic (150 Hz) indicates that the LC filter circuit 106 is not effectively suppressing 3rd harmonic (150 Hz) component, likely due to the parameter drift. The appearance of even harmonics (especially the 2nd harmonic at 100 Hz) suggests an imbalance in the system, possibly caused by the detuning of the LC filter circuits 106. The THD of 5.17% is relatively high for a well-tuned power system, indicating that the parameter drift is significantly affecting the current quality. The amplitude of harmonics decreases at higher frequencies, which is typical in power systems. The section 704D indicated 3rd harmonic is dominant, other low-order harmonics are also present at non-negligible levels. This frequency spectrum analysis clearly demonstrates the impact of LC filter detuning on the current quality in the single-phase converter system. It underscores the need for the proposed SSTR to mitigate harmonic issues and improve overall system performance.FIGs. 8A, 8B and 8C are graphical representations illustrating simulation results of an operation of the two switch SSTR depicting mitigation of the second-harmonic component for "-30%" drift in the filter inductor and the filter capacitor parameters, in accordance with another embodiment of the present disclosure. FIGs. 8A, 8B and 8C are described in conjunction with elements from FIGs. 1 to 7D. FIGs. 8A, 8B and 8C are explained in conjunction with FIGs. 1 to 7D. With reference to FIG. 8A, there is shown a graphical representation 800A including a curve 802 A depicting variation of sinusoidal waveform of voltage (VAC). Amplitude of the voltage (VAC). is approximately ±400V peak (800V peak-to-peak) and the frequency is 50 Hz (5 complete cycles in 100 ms). With reference to FIG. 8B, there is shown a graphical representation 800B including a curve 802B depicting sinusoidal waveform of current (IAC). Time is expressed in milliseconds (ms) in an abscissa axis. Current is expressed in amperes (A) in an ordinate axis. The current (IAC) has the amplitude of approximately ±10A peak (20A peak-to-peak). The current (IAC) is in phase with the voltage (VAC), indicating unity power factor operation.With reference to FIG. 8C, there is shown a graphical representation 800C including a curve 802C depicting a sinusoidal waveform of pulsating DC voltage (VR) with significant ripple Time is expressed in milliseconds (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. Average value of the voltage is around 400V. Ripple amplitude is approximately ±10V (20V peak-to-peak) and ripple frequency is 100 Hz (twice the fundamental frequency). The ripple appears more pronounced and "noisy" compared to ideal conditions.The DC bus voltage shows a significant 100 Hz ripple, characteristic of single-phase AC-DC conversion. The DC voltage ripple appears to have high-frequency components superimposed on the 100 Hz ripple, suggesting potential switching noise or other high-frequency disturbances. The ripple in the DC voltage is about 5% of the average DC value, which is significant and could affect system performance.FIGs. 9A, 9B and 9C are graphical representations illustrating simulation results of an operation of the two switch SSTR circuit depicting mitigation of the second-harmonic component for "+30%" drift in the filter inductor and the filter capacitor parameters, in accordance with another embodiment of the present disclosure. FIGs. 9A, 9B and 9C are explained in conjunction with elements from FIGs. 1 to 8C. With reference to FIG. 9A, there is shown graphical representation 900A including a curve 902A depicting variation of AC voltage with time. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis. The amplitude of the voltage is approximately ±400V peak (800V peak-to-peak) and frequency: 50 Hz (5 complete cycles in 100 ms). This represents the AC voltage of the system, likely the grid voltage or inverter output. The waveform is clean and stable, indicating good voltage quality. With reference to FIG. 9B, there is shown graphical representation 900B including a curve 902B depicting variation of AC current (I3) with time. Time is expressed in millisecond (ms) in an abscissa axis. Current is expressed in Amperes (A) in an ordinate axis. Amplitude of current (I3) current is approximately ±10A peak (20A peak-to-peak) with frequency of 50 Hz. With reference to FIG. 9C, there is shown graphical representation 900C including a curve 902C depicting variation of DC Bus Voltage (I3DC) current with time. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in Volts (V) in an ordinate axis. DC Bus Voltage (I3DC) has average value of approximately 400V and ripple amplitude is very small, about ±2V (4V peak-to-peak). DC Bus Voltage (I3DC) is much more stable than the depicted by the graphical representation 800C with significantly reduced ripple.The two switch SSTR circuit 114 has improved the overall performance of the power converter system. The reduction in DC voltage ripple and the clean AC waveforms indicate better power quality, which can lead to improved efficiency and reliability of the connected equipment.FIG. 10A is a graphical representation illustrating validation of an operation of the two switch SSTR depicting mitigation of the second-harmonic component for "-30%" drift in the filter inductor and the filter capacitor parameter, in accordance with another embodiment of the present disclosure. FIG. 10A is explained in conjunction with elements from FIGs. 1 to 9C. With reference to FIG. 10A, there is shown a graphical representation 1000A depicting a discrete frequency spectrum plot of the current in the power convertor with the LC filter circuit 106 of the harmonic ripple compensator 102. Frequency is expressed in hertz (Hz) in an abscissa axis. The amplitude of current harmonics is expressed as a percentage of fundamental in an ordinate axis. The graphical representation 1000A includes a plurality of bars (for example, a bar 1002A). It is to be noted due to illustration constraints only one bar is depicted and further a, section 1004A depicts an enlarged view of lower amplitude (ranging from 0% to 5%) of current harmonics having a frequency in the range from 150 Hz to 450 Hz. The section 1004A include a bar 1006A, a bar 1008A and a bar 1010A. The section 1004A clearly shows the presence of even harmonics (100 Hz, 200 Hz) which are typically minimal in balanced systems. The dominant frequency component in the signal is "12.5 A." which is fundamental. The fundamental frequency is typically the lowest frequency in the spectrum, and in power systems, it is often 50 Hz or 60 Hz. The THD is 1.28%, which is a measure of the distortion present in the signal due to harmonics. The THD of 1.28% indicates that the signal is fairly clean, with very little harmonic content relative to the fundamental.In the section 1004A small peaks at higher frequencies occur, particularly at 150 Hz (shown by the bar 1006A and represents 3rd harmonic), 250 Hz (shown by the bar 1008A and represents 5th harmonic), and 350 Hz (shown by the bar 1010A represents 7th harmonic). The amplitude of the harmonics is represented as a percentage of the fundamental component. For instance, the 150 Hz component (the 3rd harmonic) has an amplitude of about 4% of the fundamental.The graphical representation 1000A illustrates the harmonic analysis of a signal with a fundamental current of 12.5 A and a total harmonic distortion of 1.28%. The majority of the signal's energy is in the fundamental frequency, while the harmonics, particularly the 3rd, 5th, and 7th, have significantly smaller amplitudes. FIG. 10B is a graphical representation illustrating validation of the operation of the two switch SSTR circuit depicting mitigation of the second-harmonic component for "+30%" drift in LC parameter, in accordance with another embodiment of the present disclosure. FIG. 10B is explained in conjunction with elements from FIGs 1 to 10A. With reference to FIG. 10B, there is shown a graphical representation 1000B depicting a discrete frequency spectrum plot of the current in a single-phase converter system with the LC filter circuit 106 of the harmonic ripple compensator 102. Frequency is expressed in hertz (Hz) in an abscissa axis. Amplitude of current harmonics is expressed as a percentage of fundamental in an ordinate axis. The graphical representation 1000B includes a plurality of bars (for example, a bar 1002B). It is to be noted due to illustration constraints only one bar is depicted, and further a section 1004B depicting enlarged view of lower amplitude (ranging from 0% to 5%) of current harmonics having frequency in the range from 150 Hz to 450 Hz. The section 1004B includes a bar 1006B and bar 1008B. The section 1004B clearly shows the presence of even harmonics (100 Hz, 200 Hz), which are typically minimal in balanced systems.The main (or fundamental) current component is at 12.5 A, which is represented by the bar 1002B at the lowest frequency in the graphical representation 1000B. This is the dominant frequency component of the signal. The section 1004B represents harmonics shown at higher frequencies (e.g., 150 Hz, 250 Hz, etc.), but their amplitudes are very low, contributing to the low THD of 1.1%.FIGs. 11A, 11B and 11C are graphical representations depicting verification of the presence of second and fourth-harmonic ripple in the voltages for "-30%" drift, in accordance with another embodiment of the present disclosure. FIGs. 11A, 11B and 11C are explained in conjunction with elements from FIGs 1 to 10B. With reference to FIG. 11A, there is shown a graphical representation 1100A showing the variation of current with time. The graphical representation 1100A includes a curve 1102A depicting the waveform of the second harmonic current drawn by the two-switch SSTR circuit 114 and a curve 1104A depicting the waveform of the switching cycle averaged fourth harmonic current represented in the two-switch SSTR circuit 114. Time is expressed in milliseconds (ms) in an abscissa axis. Current is expressed Amperes (A) in an ordinate axis.With reference to FIG. 11B, there is shown a graphical representation 1100B depicting a variation of voltage across the first capacitor CA1 and the second capacitor CA2 in the two switch SSTR circuit 114 with time. The graphical representation 1100B includes a curve 1102B depicting voltage across the first capacitor CA1 represented by "VCA1" and a curve 1104B depicting voltage across the second capacitor CA2 represented by "VCA2". Time is expressed in milliseconds (ms) in an abscissa axis. Voltage is expressed in volts (V) in an ordinate axis.With reference to FIG. 11C, there is shown a graphical representation 1100C including a curve 1102C depicting a variation of a total capacitor voltage "VCA" across the first capacitor (CA1) and the second capacitor (CA2). Time is expressed in milliseconds (ms) in an abscissa axis. Voltage is expressed in volt (V) in an ordinate axis.The second harmonic current represented by curve 1102C directly corresponds to the compensating action of the two-switch SSTR circuit 114, counteracting the second harmonic in the main DC link current. The voltages "VCA1" and "VCA2" show how the two-switch SSTR circuit 114 generates the compensating voltage by alternating between these two capacitor voltages. The total capacitor voltage VCA remains relatively stable with a small fourth harmonic ripple, which is important for maintaining consistent performance of the two-switch SSTR circuit 114.FIGs. 12A, 12B and 12C are graphical representations depicting verification of the presence of second and fourth-harmonic ripple for "+30%" drift, in accordance with another embodiment of the present disclosure. FIGs. 12A, 12B and 12C are explained in conjunction with elements from FIGs 1 to 11C. With reference to FIG. 12A, there is shown a graphical representation 1200A showing a variation of current with time. The graphical representation 1200A includes a curve 1202A depicting the sinusoidal waveform of the current drawn by the two-switch SSTR circuit 114 and a curve 1204A depicting the sinusoidal waveform of the switching cycle averaged fourth harmonic current in the two switch SSTR circuit 114. Time is expressed in millisecond (ms) in an abscissa axis. Current is expressed in amperes (A) in an ordinate axisWith reference to FIG. 12B, there is shown a graphical representation 1200B depicting variation of voltage across the first capacitor CA1 and the second capacitor CA2 in the two switch SSTR circuit 114 with time. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volt (V) in an ordinate axis. The graphical representation 1200B includes a curve 1202B depicting sinusoidal waveform of voltage across the first capacitor CA1 represented by "VCA1" and a curve 1204B depicting sinusoidal waveform of the voltage across the second capacitor CA2 represented by "VCA2".With reference to FIG. 12C, there is shown a graphical representation 1200C including a curve 1202C depicting a variation of a total capacitor voltage "VCA" across the first capacitor CA1 and the second capacitor CA2. Time is expressed in millisecond (ms) in an abscissa axis. Voltage is expressed in volt (V) in an ordinate axis. The harmonic current component depicted by the curve 1202C is sinusoidal waveform of the total capacitor voltage "VCA" As depicted by the curve 1202C the total capacitor voltage "VCA" is opposite in phase to what is obtained in an inductive operation of the two switch SSTR circuit 114, indicating the two switch SSTR circuit 114 is now behaving capacitively. The ability of the two switch SSTR circuit 114 to adapt to different detuning conditions."VCA1" and "VCA2" are complementary, allowing the two-switch SSTR circuit 114 to generate the required compensating voltage. The total capacitor voltage "VCA" remains very stable, which is crucial for the consistent operation of the two-switch SSTR circuit 114. The magnitudes of currents and voltages are relatively small, confirming the low-power nature of the two switch SSTR circuit 114 compared to the main power circuit. The graphical representations 1200A, 1200B and 1200C illustrate how the two-switch SSTR circuit 114 operates to compensate for detuning in the LC filter circuit 106, adapting its behaviour (capacitive in this case) to maintain optimal filtering performance. Modifications to embodiments of the present disclosure described in the foregoing are possible without departing from the scope of the present disclosure as defined by the accompanying claims. Expressions such as "including", "comprising", "incorporating", "have", "is" used to describe and claim the present disclosure are intended to be construed in a non-exclusive manner, namely allowing for items, components or elements not explicitly described also to be present. Reference to the singular is also to be construed to relate to the plural. The word "exemplary" is used herein to mean "serving as an example, instance or illustration". Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments and / or to exclude the incorporation of features from other embodiments. The word "optionally" is used herein to mean "is provided in some embodiments and not provided in other embodiments". It is appreciated that certain features of the present disclosure, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, various features of the present disclosure, which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable combination or as suitable in any other described embodiment of the disclosure.

Claims

1. A harmonic ripple compensator (102) for power electronics, comprising: an inductor-capacitor filter circuit (106) comprising a filter inductor (108) and a filter capacitor (110), connected in series, wherein the LC filter circuit (106) is connected to a direct current (DC) bus of a power converter (104) in parallel with a DC bus voltage source (112); and a two-switch solid state tuning restorer (SSTR) circuit (114) that comprises a first switch (SA1) and a second switch (SA2), wherein the first switch (SA1) is connected in series with a first capacitor (CA1) and the second switch (SA2) is connected in series with a second capacitor (CA2), wherein the two-switch SSTR circuit (114) is connected in parallel to the filter inductor (108) of the LC filter circuit (106), and wherein the two-switch SSTR circuit (114) is configured to mitigate a second harmonic ripple across the DC bus of the power converter (104) by maintaining a voltage drop across the filter inductor (108) and the filter capacitor (110) of the LC filter circuit (106) equal in magnitude but opposite in phase at a predefined operating frequency of the second harmonic ripple in a detuned state of the LC filter circuit (106).

2. The harmonic ripple compensator (102) as claimed in claim 1, wherein the first capacitor (CA1) and the second capacitor (CA2) have equal capacitance values and wherein the midpoint between the first capacitor (CA1) and the second capacitor (CA2) is connected to one terminal of the filter inductor (108) to apply a zero-mean voltage across the filter inductor (108).

3. The harmonic ripple compensator (102) as claimed in claim 1, wherein the first switch (SA1) and the second switch (SA2) are low voltage, low current MOSFETs with integrated anti-parallel diodes.

4. The harmonic ripple compensator (102) as claimed in claim 1, wherein a voltage stress on the components of the two switch SSTR circuit (114) is less than the DC bus voltage.

5. The harmonic ripple compensator (102) as claimed in claim 1, wherein the two-switch SSTR circuit (114) is configured to maintain linear modulation by ensuring the voltage across the first capacitor (CA1) and second capacitor (CA2) is greater than the voltage across the filter inductor (108).

6. The harmonic ripple compensator (102) as claimed in claim 1, wherein the two-switch SSTR circuit (114) is configured to: emulate an inductance when the LC filter circuit (106) is detuned above the nominal resonance frequency by drawing current in phase with the second harmonic component of the DC bus current.

7. The harmonic ripple compensator (102) as claimed in claim 1, wherein the two-switch SSTR circuit (114) is configured to emulate a capacitance when the LC filter circuit (106) is detuned below nominal resonance frequency by drawing current in phase opposition to the second harmonic component of the DC bus current.

8. The harmonic ripple compensator (102) as claimed in claim 1, wherein, in order to mitigate the second harmonic ripple across the DC bus of the power converter (104), the two switch SSTR circuit (114) is configured to: draw a predetermined amount of current from the DC bus voltage source (112); dynamically adjust a voltage corresponding to the predetermined amount of current across the filter inductor (108); and mitigate the second harmonic ripple across the DC bus based on the dynamically adjusted voltage across the filter inductor (108).

9. The harmonic ripple compensator (102) as claimed in claim 1, wherein the harmonic ripple compensator (102) further comprises a controller (116) configured to determine whether the LC filter circuit (106) is in a tuned or detuned state based on an impedance of the LC filter circuit (106) and the predefined operating frequency of the second harmonic ripple.

10. The harmonic ripple compensator (102) as claimed in claim 9, wherein the controller (116) is further configured to: detect a detuning of the LC filter circuit (106); determine the required emulated impedance to compensate for the detuning; and generate appropriate switching signals for the first switch (SA1) and the second switch (SA2) to produce the required emulated impedance.

11. The harmonic ripple compensator (102) as claimed in claim 9, controller (116) is further configured to: detect the magnitude and phase of the second harmonic voltage across the filter capacitor (110); generate a complementary voltage to be applied across the filter inductor (108); and modulate the first switch (SA1) and the second switch (SA2) to produce the complementary voltage.

12. The harmonic ripple compensator (102) as claimed in claim 1, wherein the predetermined amount of current is a fraction of the second harmonic component of the current, and wherein the fraction is determined to be a value between 0 and 1 to adjust the voltage drop across the filter inductor (108) and the filter capacitor (110) of the LC filter circuit (106).

13. The harmonic ripple compensator (102) as claimed in claim 1, wherein the two-switch SSTR circuit (114) is configured to compensate for parameter drifts of up to ±30% in the filter inductor (108) and filter capacitor (110) values, as well as variations in the operating frequency of the power converter (104).

14. The harmonic ripple compensator (102) as claimed in claim 1, wherein the two-switch SSTR circuit (114) has voltage and current ratings lower than voltage and current ratings of the power converter (104), and wherein a volt-ampere (VA) rating of the two-switch SSTR circuit (114) is a fraction of a volt-ampere (VA) rating of the power converter (104).