I designed and evaluated a non-isolated two-stage string solar inverter for small and medium photovoltaic power plants. The main purpose of this work was to improve the quality, efficiency, and reliability of the alternating current delivered to the public grid. In my design, the solar inverter converts the direct current generated by a photovoltaic string into alternating current that has the same frequency and phase as the grid. I selected an interleaved Boost converter as the front-end stage because it reduces input current ripple and improves reliability. I selected an H6 inverter bridge as the rear-end stage because it strongly suppresses common-mode leakage current. I also developed a variable-step incremental conductance method for maximum power point tracking and a quasi-proportional-resonant controller for grid current regulation. The complete system was implemented with a digital signal processor, and I verified the design through simulation and experiment.

The development of solar inverters is closely tied to the global need for cleaner and more sustainable electricity. Solar energy is abundant, safe, and environmentally friendly. Among photovoltaic system architectures, string solar inverters have become a mainstream solution for distributed generation and medium-scale plants. Compared with central solar inverters, string solar inverters provide module-level or string-level maximum power point tracking, easier maintenance, and better tolerance to partial shading. I therefore focused on a two-stage, non-isolated, grid-tied string solar inverter. This architecture separates the boost and maximum power point tracking function from the direct current to alternating current inversion function, which simplifies control and improves performance.
1. Background and Rationale
I began by comparing the main photovoltaic system architectures. A central solar inverter usually connects a large photovoltaic array to one inverter, while a string solar inverter connects a smaller photovoltaic string to its own inverter. The string architecture allows multiple maximum power point trackers to operate independently. If one solar inverter fails, the remaining solar inverters can continue to operate. This characteristic is important for reducing downtime and improving energy yield.
| Feature | Central Solar Inverter | String Solar Inverter |
|---|---|---|
| Typical application | Large ground-mounted plants | Small and medium plants, distributed systems |
| Maximum power point tracking | Centralized or few channels | String-level or module-level |
| Partial shading response | Poorer | Better |
| Maintenance | Single point of failure can affect a large area | Failure affects only one string or module |
| Flexibility | Lower | Higher |
| Energy yield | Lower under mismatch | Higher under mismatch |
I classified string solar inverters according to power conversion stages, isolation, and grid connection. The classification helped me choose the most suitable topology for the design.
| Classification | Type | Key Characteristics |
|---|---|---|
| Power conversion stages | Single-stage | Boost, maximum power point tracking, and inversion occur in one stage. High efficiency but complex control. |
| Power conversion stages | Two-stage | Front-end boost and maximum power point tracking; rear-end inversion. Simpler control but more components. |
| Isolation | Isolated | Contains a transformer. Safer but larger, heavier, and sometimes less efficient. |
| Isolation | Non-isolated | No transformer. Smaller, lighter, and more efficient but common-mode leakage current must be controlled. |
| Grid connection | Grid-tied | Current-controlled, synchronized with the grid, and may include islanding detection. |
| Grid connection | Off-grid | Voltage-controlled, usually connected to loads or batteries. |
I selected a non-isolated two-stage string solar inverter because it avoids the volume, cost, and loss associated with an isolation transformer. However, because the transformer is removed, a parasitic capacitance exists between the photovoltaic array and ground. This capacitance can drive a common-mode leakage current. The leakage current can cause electromagnetic interference, increase current harmonics, reduce efficiency, and create safety risks. Therefore, the suppression of common-mode leakage current is a central issue in non-isolated solar inverters. My design addresses this issue through both topology and modulation.
2. Front-End DC-DC Converter and Maximum Power Point Tracking
For the front-end stage, I compared conventional Boost and Buck-Boost converters with an interleaved Boost converter. The interleaved Boost converter uses two parallel branches with switching signals phase-shifted by 180 degrees. This arrangement reduces the total input current ripple because the two inductor currents rise and fall in an alternating manner. It also distributes current stress and improves reliability.
| Converter | Advantages | Disadvantages |
|---|---|---|
| Boost | Simple structure, simple control, voltage step-up | Higher input current ripple, lower reliability under high power |
| Buck-Boost | Can step up or step down | Complex control, more components, higher loss |
| Interleaved Boost | Lower input current ripple, lower device stress, higher reliability | More components, requires phase-shifted driving signals |
I analyzed the interleaved Boost converter in continuous conduction mode. The duty cycle is denoted by \(D\), the switching period by \(T\), and the two inductors by \(L_1\) and \(L_2\). When \(0 < D \le 0.5\), the converter has three operating modes. When \(0.5 < D < 1\), it also has three operating modes. The equivalent duty cycle and the total input current ripple depend on \(D\).
| Duty Cycle Range | Mode | Active Switches and Diodes | Inductor Current Behavior | Input Current Trend |
|---|---|---|---|---|
| \(0 < D \le 0.5\) | Mode 1 | \(S_1\), \(D_2\) on; \(S_2\), \(D_1\) off | \(i_{L1}\) increases, \(i_{L2}\) decreases | Increases |
| \(0 < D \le 0.5\) | Mode 2 | \(S_2\), \(D_1\) on; \(S_1\), \(D_2\) off | \(i_{L1}\) decreases, \(i_{L2}\) increases | Increases |
| \(0 < D \le 0.5\) | Mode 3 | \(S_1\), \(S_2\) off; \(D_1\), \(D_2\) on | \(i_{L1}\) and \(i_{L2}\) decrease | Decreases |
| \(0.5 < D < 1\) | Mode 4 | \(S_1\), \(D_2\) on; \(S_2\), \(D_1\) off | \(i_{L1}\) increases, \(i_{L2}\) decreases | Decreases |
| \(0.5 < D < 1\) | Mode 5 | \(S_2\), \(D_1\) on; \(S_1\), \(D_2\) off | \(i_{L1}\) decreases, \(i_{L2}\) increases | Decreases |
| \(0.5 < D < 1\) | Mode 6 | \(S_1\), \(S_2\) on; \(D_1\), \(D_2\) off | \(i_{L1}\) and \(i_{L2}\) increase | Increases |
The input current ripple of a conventional Boost converter is
$$ \Delta I_1 = \frac{V_o D (1-D) T}{L}. $$
For the interleaved Boost converter, the total input current ripple is
$$ \Delta I_2 =
\begin{cases}
\dfrac{V_o D (1-2D) T}{L}, & 0 < D \le 0.5, \\[8pt]
\dfrac{V_o (1-D)(2D-1) T}{L}, & 0.5 < D < 1.
\end{cases}
$$
I observed that the interleaved Boost converter has a smaller input current ripple over the full duty cycle range. At \(D = 0.5\), the ripple can be eliminated in theory. This property means that a smaller input capacitor can be used, which improves dynamic response. I verified this result through simulation. I used \(V_o = 400\,\text{V}\), \(L = 1\,\text{mH}\), and \(T = 50\,\mu\text{s}\). The simulated input current ripple was consistent with the equations.
| Parameter | Value |
|---|---|
| Output voltage \(V_o\) | 400 V |
| Inductance \(L_1 = L_2\) | 1 mH |
| Switching frequency | 20 kHz |
| Phase shift | 180 degrees |
| Load resistance | 50 ohm |
| Input voltage for ripple test | 250 V and 200 V |
For the photovoltaic source, I used the single-diode model. The output current-voltage relationship is
$$ I = I_{ph} – I_o \left[ \exp\left( \frac{q(U + I R_s)}{A K T} \right) – 1 \right] – \frac{U + I R_s}{R_{sh}}. $$
Here, \(I_{ph}\) is the photogenerated current, \(I_o\) is the reverse saturation current, \(R_s\) is the series resistance, \(R_{sh}\) is the shunt resistance, \(A\) is the diode ideality factor, \(K\) is Boltzmann’s constant, \(T\) is the absolute temperature, and \(q\) is the elementary charge. For engineering calculations, I used the simplified form
$$ I = I_{sc} \left[ 1 – C_1 \left( \exp\left( \frac{U}{C_2 U_{oc}} \right) – 1 \right) \right], $$
where
$$ C_1 = \left( 1 – \frac{I_m}{I_{sc}} \right) \exp\left( -\frac{U_m}{C_2 U_{oc}} \right), $$
$$ C_2 = \left( \frac{U_m}{U_{oc}} – 1 \right) \left[ \ln\left( 1 – \frac{I_m}{I_{sc}} \right) \right]^{-1}. $$
I modeled the photovoltaic source in simulation. The maximum power point is unique for a given irradiance and temperature. As irradiance increases, the maximum power increases. As temperature increases, the maximum power decreases slightly. The photovoltaic array behaves approximately as a current source before the maximum power point and approximately as a voltage source after it.
| Parameter | Value |
|---|---|
| Reference irradiance \(S_{ref}\) | 1000 W/m\(^2\) |
| Reference temperature \(T_{ref}\) | 25 degrees C |
| Open-circuit voltage \(U_{oc}\) | 22 V |
| Short-circuit current \(I_{sc}\) | 3.34 A |
| Maximum power point voltage \(U_m\) | 17.7 V |
| Maximum power point current \(I_m\) | 2.84 A |
| Series resistance \(R_s\) | 0.05 ohm |
Maximum power point tracking is essential because the maximum power point changes with irradiance and temperature. In my design, the front-end converter adjusts the duty cycle to match the equivalent resistance of the photovoltaic array to the load. For an interleaved Boost converter, the equivalent input resistance is
$$ R_{pv} = (1-D)^2 R. $$
Therefore, if the operating point is to the left of the maximum power point, I reduce the duty cycle to increase the equivalent resistance and raise the photovoltaic voltage. If the operating point is to the right, I increase the duty cycle to reduce the equivalent resistance. This relationship is the basis of maximum power point tracking in my solar inverter.
| Method | Principle | Advantages | Disadvantages |
|---|---|---|---|
| Constant voltage | Keep photovoltaic voltage near a fixed value | Simple, fast | Not true tracking, sensitive to temperature |
| Open-circuit voltage or short-circuit current | Use a proportional relationship | Simple model | Requires periodic disconnection, inaccurate |
| Perturb and observe | Perturb voltage and observe power change | Simple, widely used | Oscillation around maximum power point, possible misjudgment |
| Incremental conductance | Use \(dP/dU = 0\) at maximum power point | Good steady-state accuracy | Fixed step size causes trade-off |
| Variable-step incremental conductance | Adjust step size according to \(dP/dU\) | Fast response and good accuracy | Slightly more computation |
| Neural network or sliding mode | Use advanced control theory | Good dynamic performance | Complex, costly |
The incremental conductance method uses the fact that
$$ \frac{dP}{dU} = I + U \frac{dI}{dU}. $$
At the maximum power point,
$$ \frac{dP}{dU} = 0, $$
so
$$ -\frac{I}{U} = \frac{dI}{dU}. $$
I designed a variable-step incremental conductance method to balance dynamic speed and steady-state accuracy. The duty cycle update is
$$ D(t+1) = D(t) \pm N \left| \frac{P(t) – P(t-1)}{U(t) – U(t-1)} \right|, $$
where \(N\) is a scaling factor. The sign is chosen according to the position of the operating point. When the operating point is to the left of the maximum power point, the duty cycle is decreased. When it is to the right, the duty cycle is increased. A larger fixed step can be used initially to shorten the tracking time, and the variable step is used near the maximum power point to reduce oscillation. I simulated the method with an interleaved Boost converter. The variable-step method reached the maximum power point faster than the fixed-step method and maintained a more stable output power.
I also tested the response to irradiance changes. The initial irradiance was 1000 W/m\(^2\), then it increased to 1200 W/m\(^2\), and later decreased to 800 W/m\(^2\). The output power, voltage, and current followed the irradiance changes quickly and accurately. These results confirmed that the front-end solar inverter control can track the maximum power point under changing conditions.
3. Rear-End DC-AC Inverter and Current Control
For the rear-end stage, I compared several transformerless inverter topologies. The H4 inverter bridge is the earliest and simplest topology, but it suffers from high-frequency common-mode voltage variations and therefore leakage current. The H5 inverter bridge adds a switch to disconnect the direct current side during freewheeling. The Heric inverter bridge adds two switches on the alternating current side to form a freewheeling path. The six-switch inverter bridge uses six switches and two fast recovery diodes. Each topology has advantages and limitations. I selected the H6 inverter bridge because it can suppress common-mode leakage current and still handle reactive power.
| Topology | Number of Switches | Common-Mode Voltage | Leakage Current | Reactive Power Capability | Efficiency |
|---|---|---|---|---|---|
| H4 | 4 | High-frequency variation | Large | Limited | High |
| H5 | 5 | Constant \(U_{dc}/2\) | Small | Limited | Very high |
| Heric | 6 | Constant \(U_{dc}/2\) | Small | Limited | High |
| Six-switch | 6 + 2 diodes | Constant \(U_{dc}/2\) | Small | Good | High |
| H6 | 6 | Constant \(U_{dc}/2\) | Very small | Good | Very high |
I analyzed the H6 inverter bridge in four time intervals and six switching modes. The common-mode voltage and differential-mode voltage are defined as
$$ U_{CM} = \frac{U_{AN} + U_{BN}}{2}, $$
$$ U_{DM} = U_{AN} – U_{BN}. $$
In all six modes, \(U_{CM}\) remains equal to \(U_{dc}/2\). This constant common-mode voltage is the main reason for the low leakage current. The differential-mode voltage has three levels: \(U_{dc}\), \(0\), and \(-U_{dc}\). This three-level output reduces current ripple and improves harmonic performance.
| Mode | \(S_1\) | \(S_2\) | \(S_3\) | \(S_4\) | \(S_5\) | \(S_6\) | \(U_{AN}\) | \(U_{BN}\) | \(U_{CM}\) | \(U_{DM}\) |
|---|---|---|---|---|---|---|---|---|---|---|
| Mode 1 | On | Off | Off | On | Off | On | \(U_{dc}\) | 0 | \(U_{dc}/2\) | \(U_{dc}\) |
| Mode 2 | Off | Off | Off | Off | On | On | \(U_{dc}/2\) | \(U_{dc}/2\) | \(U_{dc}/2\) | 0 |
| Mode 3 | Off | On | On | Off | On | Off | 0 | \(U_{dc}\) | \(U_{dc}/2\) | \(-U_{dc}\) |
| Mode 4 | Off | On | On | Off | On | Off | 0 | \(U_{dc}\) | \(U_{dc}/2\) | \(-U_{dc}\) |
| Mode 5 | Off | Off | Off | Off | On | On | \(U_{dc}/2\) | \(U_{dc}/2\) | \(U_{dc}/2\) | 0 |
| Mode 6 | On | Off | Off | On | Off | On | \(U_{dc}\) | 0 | \(U_{dc}/2\) | \(U_{dc}\) |
I simulated the H6 inverter bridge with \(U_{dc} = 400\,\text{V}\), output voltage \(220\,\text{V}\) at \(50\,\text{Hz}\), filter inductors \(L_{f1} = L_{f2} = 3\,\text{mH}\), filter capacitor \(C_f = 2.2\,\mu\text{F}\), and parasitic capacitance \(C_{pv} = 50\,\text{nF}\). The common-mode voltage remained near \(200\,\text{V}\) without large oscillations. The differential-mode voltage had three levels. In comparison, an H4 inverter bridge with unipolar sinusoidal pulse width modulation produced a common-mode leakage current with a peak of about \(1.5\,\text{A}\). The H6 inverter bridge produced a leakage current close to \(0\,\text{A}\). These simulation results confirmed the leakage current suppression capability of the H6 topology.
| Inverter Topology | Peak Common-Mode Leakage Current |
|---|---|
| H4 with unipolar SPWM | Approximately 1.5 A |
| H6 with proposed modulation | Approximately 0 A |
For current control, I treated the inverter as a high-gain small-inertia element. The transfer function of the inverter is approximately
$$ G_{inv}(s) \approx K. $$
The filter and grid interface can be modeled as
$$ G_f(s) = \frac{1}{Ls + R}. $$
Therefore, the plant transfer function is
$$ G(s) = \frac{K}{Ls + R}. $$
I compared several current control methods. Deadbeat control has fast dynamic response but depends heavily on the exact model. Hysteresis control is simple and robust but has variable switching frequency. Repetitive control has excellent steady-state performance for periodic errors but poor dynamic response. PI control is simple and widely used but has steady-state amplitude and phase errors when tracking a sinusoidal reference. I therefore selected a quasi-proportional-resonant controller, which provides high gain at the fundamental frequency and enough bandwidth to tolerate small grid frequency variations.
| Current Control Method | Dynamic Response | Steady-State Accuracy | Switching Frequency | Implementation Complexity |
|---|---|---|---|---|
| Deadbeat | Very fast | High if model is accurate | Fixed | High |
| Hysteresis | Fast | Good | Variable | Low |
| Repetitive | Slow | Very good for periodic errors | Fixed | Medium |
| PI | Medium | Amplitude and phase error | Fixed | Low |
| PR | Medium | Zero steady-state error at fundamental | Fixed | Medium |
| QPR | Medium | Near-zero error and wider bandwidth | Fixed | Medium |
The PI controller transfer function is
$$ G_{PI}(s) = K_P + \frac{K_I}{s}. $$
The PR controller transfer function is
$$ G_{PR}(s) = K_P + \frac{2 K_R s}{s^2 + \omega_0^2}. $$
The PR controller has infinite gain at \(\omega_0\), but its bandwidth is narrow. If the grid frequency deviates from \(50\,\text{Hz}\), the gain drops significantly. To overcome this limitation, I used a quasi-proportional-resonant controller:
$$ G_{QPR}(s) = K_P + \frac{2 K_R \omega_c s}{s^2 + 2 \omega_c s + \omega_0^2}. $$
At the fundamental frequency, the QPR gain is
$$ A_{QPR}(\omega_0) = K_P + K_R. $$
I selected \(K_P = 2.5\), \(K_R = 50\), \(\omega_0 = 314\,\text{rad/s}\), and \(\omega_c = 3.14\,\text{rad/s}\). These values provide a bandwidth that covers a grid frequency variation of about \(\pm 0.5\,\text{Hz}\). The QPR controller maintains a high gain at the fundamental frequency and has better tolerance to frequency drift than the PR controller.
| Parameter | Value |
|---|---|
| DC bus voltage \(V_{dc}\) | 400 V |
| Filter inductance \(L\) | 6 mH |
| Equivalent resistance \(R\) | 1 ohm |
| Switching frequency | 20 kHz |
| Grid frequency | 50 Hz |
| Proportional gain \(K_P\) | 2.5 |
| Resonant gain \(K_R\) | 50 |
| Cutoff frequency \(\omega_c\) | 3.14 rad/s |
| Fundamental frequency \(\omega_0\) | 314 rad/s |
I simulated the H6 inverter bridge with PI, PR, and QPR controllers. Under normal grid frequency, the PI controller produced a current total harmonic distortion of about \(4.28\%\). The QPR controller produced a current total harmonic distortion of about \(2.16\%\). When the grid frequency shifted to \(49.5\,\text{Hz}\), the PR controller produced a current total harmonic distortion of about \(7.71\%\), while the QPR controller produced about \(4.07\%\). These results showed that the QPR controller achieves better steady-state accuracy and better robustness to grid frequency variation.
| Controller | Grid Frequency | Current THD |
|---|---|---|
| PI | 50 Hz | 4.28% |
| QPR | 50 Hz | 2.16% |
| PR | 49.5 Hz | 7.71% |
| QPR | 49.5 Hz | 4.07% |
4. Hardware and Software Design
I designed the complete non-isolated two-stage string solar inverter around a TMS320F28335 digital signal processor. The system main circuit includes the interleaved Boost converter, the H6 inverter bridge, and the output filter. The peripheral circuits include photovoltaic voltage and current sensing, DC bus voltage sensing, grid voltage and output current sensing, zero-crossing detection, gate driving, overcurrent protection, and auxiliary power. The control chip executes the variable-step incremental conductance algorithm, the quasi-proportional-resonant current controller, sinusoidal pulse width modulation, and digital phase-locked loop.
| Parameter | Value |
|---|---|
| Maximum output power | 1 kW |
| Photovoltaic input voltage | 100 V to 300 V |
| Rated grid voltage | 220 V |
| Maximum output current | 4.5 A |
| Rated grid frequency | 50 Hz \(\pm\) 1% |
| Current distortion limit | \(\le 5\%\) |
For the front-end circuit, I selected two SGH40N60UFD insulated-gate bipolar transistors, two RURP1560 fast recovery diodes, and two 1 mH inductors. The rated voltage of the switching devices and diodes is 600 V, and the rated current is sufficient for the maximum input current. The two inductors have equal value and are wound on iron-silicon-aluminum magnetic cores. The interleaved operation reduces the input current ripple and distributes the current stress.
| Component | Type | Rating | Purpose |
|---|---|---|---|
| Front-end switch | SGH40N60UFD | 600 V, 20 A | Interleaved Boost switching |
| Front-end diode | RURP1560 | 600 V, 15 A | Boost rectification |
| Front-end inductor | Iron-silicon-aluminum core | 1 mH | Energy storage and ripple control |
For the rear-end circuit, I calculated the DC bus capacitor using
$$ C_{dc} = \frac{P}{\omega_0 U_{dc} U_r}. $$
With \(P = 1000\,\text{W}\), \(\omega_0 = 314\,\text{rad/s}\), \(U_{dc} = 400\,\text{V}\), and \(U_r = 20\,\text{V}\), the calculated capacitance is about \(398\,\mu\text{F}\). I selected a \(1000\,\mu\text{F}\) electrolytic capacitor to provide margin and to decouple the front-end and rear-end stages. The maximum current through the inverter switches is
$$ I_{max} = \frac{\sqrt{2} P}{U_{g,min}}. $$
With \(U_{g,min} = 200\,\text{V}\), \(I_{max}\) is about \(7.07\,\text{A}\). After considering ripple and margin, I selected six STGW20NC60VD insulated-gate bipolar transistors rated at 600 V and 30 A for the H6 inverter bridge.
| Component | Type | Rating | Purpose |
|---|---|---|---|
| DC bus capacitor | Electrolytic capacitor | 1000 \(\mu\)F | DC bus stabilization |
| Rear-end switch | STGW20NC60VD | 600 V, 30 A | H6 inverter bridge |
For the output filter, I used an LC filter with two equal inductors and one capacitor. The inductor sum is determined by the maximum output current ripple:
$$ L_{f1} + L_{f2} = \frac{U_{dc} \Delta_{factor}}{f \Delta i}. $$
The ripple factor is
$$ \Delta_{factor} = M \sin(\omega_0 t) – M^2 \sin^2(\omega_0 t). $$
With \(M\) between 0.1 and 0.9, the maximum ripple factor is 0.25. I selected a maximum current ripple of \(1\,\text{A}\) and a switching frequency of \(20\,\text{kHz}\). The calculated inductor sum is about \(5\,\text{mH}\), and I used \(L_{f1} = L_{f2} = 3\,\text{mH}\). The filter capacitor is determined by the cutoff frequency:
$$ C_f = \frac{1}{4 \pi^2 f_s^2 L_f}. $$
With a cutoff frequency of \(2\,\text{kHz}\), the calculated capacitance is about \(2\,\mu\text{F}\). I selected \(2.2\,\mu\text{F}\) for the filter capacitor.
| Filter Parameter | Value |
|---|---|
| Filter inductors \(L_{f1}\), \(L_{f2}\) | 3 mH each |
| Filter capacitor \(C_f\) | 2.2 \(\mu\)F |
| Switching frequency | 20 kHz |
| Cutoff frequency | 2 kHz |
For the peripheral circuits, I designed sensing and protection blocks for safe operation. The photovoltaic voltage sensing circuit uses a resistor divider and a clamp circuit to keep the analog-to-digital converter input within 0 V to 3.3 V. The photovoltaic current sensing circuit uses a closed-loop Hall current sensor and an operational amplifier. The grid voltage sensing circuit uses differential scaling and a 1.5 V offset to measure a bipolar alternating current signal. The output current sensing circuit uses a similar Hall sensor and offset arrangement. The zero-crossing detection circuit uses a comparator and a transistor to produce a square wave synchronized with the grid voltage. The gate drive circuits use isolated drivers and bootstrap capacitors. The overcurrent protection circuit compares the output current signal with a threshold and disables the gate driver when a fault occurs. The auxiliary power circuit converts the grid alternating current into regulated 20 V, \(\pm 15\) V, 5 V, and 3.3 V rails.
| Peripheral Circuit | Main Device or Method | Function |
|---|---|---|
| Photovoltaic voltage sensing | Resistor divider and clamp | Measure input voltage for MPPT |
| Photovoltaic current sensing | Hall sensor and amplifier | Measure input current for MPPT |
| Grid voltage sensing | Differential scaling and offset | Measure grid voltage amplitude |
| Output current sensing | Hall sensor and offset | Measure grid current for control |
| Zero-crossing detection | Comparator and transistor | Provide grid phase information |
| Gate driving | Isolated driver and bootstrap | Drive power switches |
| Overcurrent protection | Comparator and optocoupler | Disable drivers during faults |
| Auxiliary power | Transformer, rectifier, regulators | Supply control and driver power |
I implemented sinusoidal pulse width modulation using the enhanced pulse width modulator module of the digital signal processor. The pulse width is
$$ t_{on} = \frac{T_c}{2} \left[ 1 + M \sin(\omega_m t_D) \right]. $$
For the \(k\)-th sampling period, the compare value is
$$ CMPA = \frac{1}{2} TBPRD \left[ 1 + M \sin\left( \frac{2\pi k}{N} \right) \right]. $$
I configured the time-base period register to 3750 for a 20 kHz carrier. The modulation index was 0.8, and the carrier ratio was 400. A sine lookup table was stored in memory and updated in the pulse width modulation interrupt service routine. Dead-band control was also configured to prevent shoot-through in the inverter legs.
| SPWM Parameter | Value |
|---|---|
| Carrier frequency | 20 kHz |
| Time-base clock | 150 MHz |
| Time-base period register | 3750 |
| Modulation index | 0.8 |
| Carrier ratio | 400 |
I implemented a digital phase-locked loop to ensure that the output current remains synchronized with the grid voltage. The zero-crossing detection circuit produces a square wave from the grid voltage. The enhanced capture module records the rising and falling edges of this square wave. The digital signal processor calculates the grid frequency and phase from the captured time stamps. If the output current frequency is lower than the grid frequency, the time-base period register is reduced to increase the carrier frequency. If a phase error exceeds the allowed range, the sine lookup table pointer is adjusted with a small time compensation. This method provides reliable synchronization for the solar inverter.
5. Experimental Platform and Results
I built an experimental platform to verify the design. The platform included the inverter prototype, a photovoltaic array simulator, a direct current power supply, a current clamp, an oscilloscope, a multimeter, and a smart power analyzer. The photovoltaic simulator was connected to the direct current side of the inverter prototype, and the alternating current side was connected to the smart power analyzer and the public grid. After the system started and reached steady state, I recorded the grid-connection data.
| Measured Quantity | Value |
|---|---|
| Grid voltage RMS | 218.2 V |
| Grid voltage peak | 308.5 V |
| Output current RMS | 4.322 A |
| Output current peak | 6.111 A |
| Power | 936.23 W |
| Power factor | 0.991 |
| Frequency | 49.99 Hz |
| Voltage total harmonic distortion | 1.8% |
| Current total harmonic distortion | 3.5% |
| European efficiency | 97.22% |
The measured current total harmonic distortion was \(3.5\%\), which satisfies the requirement that the grid current total harmonic distortion be less than \(5\%\). The power factor was close to unity, and the conversion efficiency was high. The output current waveform was a smooth sinusoid with low distortion. The output current and grid voltage were in phase, and the frequency error was less than \(0.3\,\text{Hz}\). I also observed the gate drive signals of the front-end interleaved Boost converter and the rear-end H6 inverter bridge. The phase-shifted drive signals were correct, and the maximum drive voltage was \(15\,\text{V}\), which meets the gate drive requirement. The phase-locked waveform showed only minor harmonic distortion near the zero crossing, which is within the acceptable range.
These experimental results confirmed that the non-isolated two-stage string solar inverter can deliver high-quality current to the grid. The interleaved Boost converter reduced input current ripple and provided effective maximum power point tracking. The H6 inverter bridge suppressed common-mode leakage current while maintaining good differential-mode behavior. The quasi-proportional-resonant controller achieved accurate current tracking and good tolerance to grid frequency variation. The overall system met the design targets for efficiency, power, and harmonic distortion.
6. Conclusion and Future Work
I designed, simulated, and tested a non-isolated two-stage string solar inverter for grid-connected photovoltaic applications. The front-end interleaved Boost converter reduced input current ripple and improved reliability. The variable-step incremental conductance method achieved fast and stable maximum power point tracking. The rear-end H6 inverter bridge suppressed common-mode leakage current and provided three-level differential-mode output. The quasi-proportional-resonant current controller enabled accurate grid current tracking and better performance under grid frequency variation. The hardware and software design included sensing, protection, gate driving, auxiliary power, sinusoidal pulse width modulation, and digital phase-locked loop. The experimental results showed that the solar inverter delivered current in phase with the grid voltage, with a current total harmonic distortion of \(3.5\%\), a power factor of \(0.991\), and a European efficiency of \(97.22\%\).
For future work, I would consider improving the maximum power point tracking algorithm further under partial shading and severe mismatch. I would also optimize the printed circuit board layout to reduce electromagnetic interference and reduce the volume of the solar inverter. I would investigate higher-precision sensors and improved filter design to increase robustness. Finally, I would add remote monitoring and communication functions so that multiple solar inverters can be managed and maintained more efficiently.
