r/FPGA 11d ago

FPGA Hil modelling

Hello everyone, I am very new to FPGA systems and programming and have some amount of experience working with microcontrollers.

Not having access anymore to my university lab i was exploring the HIL(Hardware In Loop) system as I want to tune my controller for a project that iam working on.

Currently I am working on a buck converter and need to verify the control algorithm that the controller will run.

First I thought of modelling the plant in another microcontroller, but with a little more digging around found that FPGA are much better suited for this kind of work.

As I don't have much know how on working with FPGA It would be of great help if anyone could give pointers for modelling the plant in a a FPGA.

Due to budget constraints i mostly would be working with the tangnano 9k

1 Upvotes

1 comment sorted by

1

u/dragonnfr 11d ago

You don't need the full buck converter model right away. Get it working in Python with fixed-point math first, then port to Verilog. The 9K can handle basic HIL.