Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use tranfer functions and simulation loop with cRio?

Hi,
I want to make a feedback controls on a dc motor using cRio. I was wondering if I can use the Control Designs and Simulations module in  my host VI as well. I have already programmed the FPGA and it's working fine.. If it is not possible then I will have to implement my host VI controller using normal gains and descretization in the while loop.
Any help would be apreciated.
Thanks
0 Kudos
Message 1 of 2
(3,892 Views)

Sameh,

Yes, you can use the Control Design and Simulation Module on the controller (the floating-point part) of cRIO. So, you can execute any simple transfer function or advanced controller like MPC, LQR or Kalman-LQG. You can even design the controller on-the-fly using a non-critical loop and update it while the controller is running, like any RT target.

However, if you want to run the controller (implementation) on the FPGA target, this feature is not available with this module yet since we only have floating-point support. In this meanwhile, you can develop your own controller for FPGA using the components available with FPGA analysis functions or use the Digital Filter Design Toolkit. In this case, you just need to convert the controller into a filter and use the tools available.

Let me know if you have any more questions.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 2
(3,885 Views)