06-11-2013 08:27 AM
Hi!
I'm using LV 2011 and a cRIO-9025 Chassis 9118 and module NI 9239. I want to obtain the current space-vector components id(t) and iq(t) as a function of stator current phase variables ia(t), ib(t) and ic(t) in FPGA and represent it in RT. I've used the example NI 923x continuous DMA to develop my application. It works but I can't see an exact phase difference of 90º (but it's closed). Am I programming right? This program is located in the "It works" folder and the data obtained too.
On the other hand, when I also try to calculate the instanteneous phase and frequency the application is automatically stopped but without any underflow/overflow error. This program is located in the "It does not work" folder.
Any help is grateful!
Thanks
06-12-2013 01:42 PM
I want to use a derivative function in FPGA but this block doesn't exist, so I want to implement it by this way:
https://decibel.ni.com/content/docs/DOC-20069
But I've some doubts about this code. The enum constant which has "Operation" and "Reset", when it is changed?
On the other hand I want to use the Derivative value obtained outside the while loop, what value in the other state I have to connect to the tunnel? (because it becomes white when I put the value outside the while loop).
Thanks!
06-13-2013 05:56 AM
I've found the answer for the first post. But now I still having problems with derivative function, because in the graph I can only see this signal as 0 all the time (in this .vi I'm trying to implement d(ia)/dt. I've attached the FPGA.vi with the code used, any help is grateful!!!
Thanks