03-28-2005 10:44 AM
03-29-2005
01:08 AM
- last edited on
04-17-2025
03:55 PM
by
Content Cleaner
1. The 7342 has its own CPU that's running multiple tasks in a time sliced model. One of the time slices is used for host communication. The PID algorithm is running on a seperate DSP. Thus host communication and PID control don't interfere with each other. So the preliminary answer is yes, you can run PID control and data acquisition in parallel.
2. As you need to acquire position and force simultaneously the only way to do this is with only a 7342 in the system is doing a software poll. You should expect a maximum poll rate of about 200 readings per second.
There are some drawbacks here:
a) Jitter. The CPU on the 7342 is running its own cycles that can't be synchronized with the reading cycles of your host system (this won't be improved by LabVIEW RT)
b) Synchronization. You can't make sure that you get the 100% exact correlation between force and position.
c) Accuracy. The ADCs on the 7342 are 12 bit and can't be calibrated. Still you could do a software calibration.
3. I don't understand exactly what you mean with this question:"can we also send the position control signal for the PID loop to the card?.
You can always send commands from the host to the board. This won't affect your reading rate significantly.
4. As you can tell from 2.) I don't think that this hardware setup would be the ideal solution but if the specs I provided meet your requirements just go for it.
If your standards are a bit higher NI can provide much better options for doing the measurements at low cost even without the need of using LabVIEW RT.
Even the cheapest M-Series board, the NI PCI-6220 provides superior accurracy (16 bit, calibratable) and performance (250 kS/s, hardware timed, DMA transfer)as well as direct quadrature encoder connectivity and buffered position measurement modes. I would highly recommend choosing this or a similar board for your measurements. You also can synchronize the two measurements in hardware.
Best regards,
Jochen Klier
National Instruments Germany
03-29-2005 03:02 PM
03-29-2005 09:44 PM
03-30-2005 01:16 AM
03-30-2005 09:35 AM
03-31-2005
01:10 AM
- last edited on
04-17-2025
03:55 PM
by
Content Cleaner
Yes, the PID loop rate depends very much on the CPU type used and it does not only depend on the clock rate of the CPU but on its architecture(shorter pipelines will yield better PID performance).
PXI solutions should give you much better PID performance than 1 kHz.
PC-based LV RT solutions are a bit tricky as you need special hardware but it could be a viable solution.
With a motion Control boards it's also possible to switch from position control to force control. I have worked with several customers who do this. But I agree that it might not be easy to switch flawlessly from one control type to the other. But on the other hand this will always be a tough issue if you need to do this dynamically - regardless which hardware you use.
Jochen
03-31-2005 06:13 AM
04-07-2010 01:11 AM
With ref. to Mr. Jochen's reply (message 2 of 8), I want a clarification. Does he mean that NI PCI 6220 alone is enough or should it be used along with the PCI 7342 card.
We have a similar application to be developed. We have to capture torque and also the angle of rotation of the motor. We need to get the data (torque) @ every .5 deg. angle of the motor. The speeed of the motor will be around 20-40 rpm per second.
Thanks