LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga hardware in the loop simulation

Hi,

 

I would like to know if it possible to perform an hardware in the loop simulation with a FPGA.

Basically, I have got a dynamical system modeled with the "control design and simulation" toolkit on a host PC and a controller designed and implemented on a NI FPGA (NI PXIe-5641).

Is there a way to execute the controller on the FPGA and the simulated system on a host PC?

 

Thank you

0 Kudos
Message 1 of 3
(2,325 Views)

Hello tommpogg,

 

You have to options depending on the hardware you want to use:

 

 If you want to execute the FPGA code in hardware, just implement the communication with your device, considering the Control Design Loop as a regular While Loop.

 

However, a better option is to execute the FPGA code without hardware, saving all time you need to spend compiling code. This link has information about that option:

 

https://decibel.ni.com/content/docs/DOC-19217

 

After reading this information, do you have any other doubt or question?

0 Kudos
Message 2 of 3
(2,308 Views)

Thank you for the reply.

 

I have one more doubt about sampling time: the FPGA samples the input signals at 40MSamples/s, will the Host be able to communicate with the FPGA (retrive and send data) and process the simulation loop at such a speed?

 

 

0 Kudos
Message 3 of 3
(2,289 Views)