Control of Power Electronics using FPGA and Zynq

ETH Research Assistant

Posted on Aug 28nd 2019

Source: https://pes.ee.ethz.ch/research/research-and-thesis-projects/ac-dc-converters/AC-DC-Converters-3.html

Team
Noah Hütter

Roles
Research Assistant

Methods
VHDL/C, Xilinx Zynq, Cocotb, Markdown

Abstract

Based on a simulation and multiple research papers I implemented a PI control algorithm and a complex PWM modulator in FPGA fabric and CPU to control a high power converter. The result are two IP cores that are controlled over an AXI4Lite interface by the CPU, both with PWM modulators, one having a PI controller built in and the other multi channel ADC support. A low level C driver can be used to communicate with the cores from the ARM CPU on the Zynq SoC.

Methods

All hardware code is written in VHDL and simulated using the open source VHDL vimulatur ghdl. Testbenches are written in Python to be used with the Cocotb testbench environment. This workflow enabled fast verification because the stimuli generation of complex interfaces such as AXI4 is already built into Cocotb.

The documentation is written in Markdown. Escpecially register documentation is vital when developing AXI4 IP cores. By writing in Markdown language I could make use of version control and the automatic linting of the version control server.

Hardware

A Xilinx Zynq FPGA + CPU system on chip is used for the project. It allows for the time critical parts can be implemented in hardware and the computation intensive task to be executed by the CPU. Furthermore a wide range of communication peripherals built into the SoC enables easy communication.

Projects

Selected projects

FPGA for Enhanced Image Processing

Bachelor's Thesis

Together with a fellow student we implemented an image processing algorithm on multiple FPGAs to accelerate image processing. Thanks to my implementaton of a full Ethernet stack, the solution is scalable on a network.

Read More

Control of Power Electronics using FPGA and Zynq

ETH Research Assistant

Based on a simulation and multiple research papers I implemented a PI control algorithm and a complex PWM modulator in FPGA fabric and CPU to control a high power cascaded H-Bridge converter.

Read More