Skip to main content
Current Control and FPGA-Based Simulation of Grid-Tied Inverters search search close


In this paper, the current controller synthesis and real-time testing in a grid-tied inverter system is discussed. The current loops are implemented using an observer–based linear quadratic regulator. The disturbance observer is employed to ensure zero steady state error in the presence of model uncertainties. A simulation model implemented in SimscapeTM ElectricalTM is used to evaluate the control algorithm in real–time on a Speedgoat real–time system with an IO334 field–programmable gate array (FPGA) I/O module. The results show the effectiveness of the proposed solution. 

⮕ See the publication in IEEE Xplore


  • Learn how to synthesize a controller for a grid-side converter using observer-based linear quadratic regulator (LQR) 
  • Hardware-in-the-loop testing of grid-tied inverter using Simulink and Speedgoat hardware  
  • Include switching dynamics for PWM frequencies up to 100 kHz. 
  • Generate real-time code from the electrical plant to an IO334 Simulink-programmable FPGA I/O module 
  • Experimental results from real-time simulation including plant and TI Launchpad microcontroller 


Product Highlights

Speedgoat Products

MathWorks Products

The Authors

Sabin Carpiuc

Sabin Carpiuc
Senior Engineer Physical Modeling at MathWorks, United Kingdom

Matthias Schiesser

Matthias Schiesser
FPGA Development Engineer at Speedgoat, Switzerland

Carlos Villegas

Carlos Villegas
Electrification Industry Manager at Speedgoat, Switzerland

Relevant Ressources

Let us help you to find the right solution for your project


Request a Configuration Proposal

Get a proposal for a real-time target
machine configured to your needs.

Request a proposal

Request a Free Workflow Demo

Curious how to accelerate control design
innovation with a modular controller hardware setup?

Request a free demo

Have Questions?

Talk to our experts about your project
and application requirements.

Contact us
Follow Speedgoat LinkedIn