10-30-2015 03:01 PM
Great. I do want to say that there is no protection code in there, so you may want to have fuses, or put some safety code in the FPGA.
10-30-2015 04:56 PM
The LabVIEW PID toolkit is now included with LabVIEW Real-Time and no longer is an embedded firmware item required to be installed when you install software on the sbRIO or CompactRIO RTOS in NI MAX.
By the way, a couple of items that came up recently:
Make sure you don't have a firewall blocking Measurement and Automation Explorer (MAX) or LabVIEW or the embedded RIO target will not appear. Also, if you are xonnecting directly from an older computer (without a router or switch), a crossover Ethernet cable is required. Newer computers automatically crossover so a normal Ethernet cable can be used to direct connect.
11-02-2015 04:25 PM
Hello Brian,
I was working with your SVPWMTestHarness file and came accross an error. May be this is how you did it for somereason, but i though i would like you to know about it.
In the above figure, the circle marked A has output clusters disconnected. As far as i understand and see it, those output clusters should be going into the SVPWM module marked as circle B, rather than the input clusters going in the bundle by name function. Beacuse during testing, the deadtime ticks, freq carrier and triangular increment is not effecting the system in anyway.
Please correct me if i am wrong, i would like to disconnect the input cluster input to the SVPWM module and substitute that with the output clusters from the bundle name function.
Please let me know if i should proceed with this or have you done the above connections for some purpose.
looking forward for your reply.
Ammar Surti
11-03-2015 07:40 AM
You are correct. Bundle from cluster. In fact the control is a should probably just be a constant so that there is no confusion.
11-03-2015 11:34 PM
If you could please elaborate what you said in your previous message?
In the above figure, should i just remove the 2 circled blocks if they are just giving me some constants? and let the input clusters do the job??
Looking forward for your reply.
Ammar Surti
11-04-2015 11:36 AM
All I am saying is the clusters you have circled should be constants rather than controls. Thant is becuase the bundling is taking care of writing the individual parameters.
11-04-2015 01:33 PM
Just a quick question,
Why is that the motor is running in the opposite direction? I have tired with different values of the modulation, still it goes in the opposite direction. If you could help me out with it.
Thanks
11-04-2015 01:35 PM
And also, what values in the system will change the speed of the motor? I see the speed is set at 1800RPM, how can i change it while motor is running.
Thanks
11-04-2015 02:25 PM
The speed is determined by the A, B, and C signals. Notice that those are generated in the loop above it using the sin() VI. The frequency of the sine waves are determined by the freq input which is in Hz. The frequency of the sine waves is related to the speed of the motor based upon the number of pole pairs it has.
11-04-2015 02:33 PM
Right, I get that.
What about the motor running in opposite direction. How is that effecting the system ?