Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I develop an advanced control algorithm using Ni 7831R? What kind of software is needed?

Hi,

I am working on a project to control a piezo actuator driven xy stage. Since the plant of piezo actuator is quite different to the traditional motor, PID control doesn't work well. So I need to develop some advance control algorithm and implement it on some controller while keeping high servo update rate(>20k).

I wondering if NI 7831R provide the flexibilties to let users develop their own control algorithm on board and also could keep high servo update rate? I looked at description of your but I am not sure if I can develop my own advanced control algorithm on board. And also if it can support 5 microseconds / axis servo rate with complex control algorithm (since computional burden may be much higher than PID controller)?

If I could use NI 7831R form my work, which software package should I used? From the introduction, the development tools include NI LabVIEW Real-Time, NI LabVIEW FPGA, NI SoftMotion Development Module for LabVIEW. Do I need all of them or only one of them?

Thanks
Jingyan
Message 1 of 7
(6,381 Views)
Jingyan,

the 7831R is an multifunction I/O board with a reconfigurable FPGA onboard that can be programmed with LabVIEW FPGA. You can expect PID performance of up to 100 kHz. The more complex your algorithm is the slower is the performance but as you don't run the control loop on a CPU but on an FPGA you can parallelize many calculations so you don't have to sum up the time needed for each calculation so a targeted loop rate of > 20 kHz is realistic.

For motion control applications NI has developed the NI SoftMotion module. This software module provides all components needed to create a software based motion controller (e. g. trajectory generator and spline calculations). For more information please click here.

The FPGA has a limited amount of gates that can be used for your application and there is no floating point unit on it so you should run only the control algorithm on the FPGA. Everything else like trajectory generation, limit switch monitoring, calculation of the spline parameters and so on should run on the host system.
As the host system needs to be synchronized to the application running on the FPGA it can't run on a non deterministic operating system like Windows. This is why you need LabVIEW RT and a PXI based setup.

Based on the shipping examples I have successfully created an FPGA/RT based SoftMotion controller so please feel free to post detailed questions to this thread.

Best regards,
http://forums.ni.com/ni/board/post?board.id=240&message.reply_to_id=1930#
Preview Post
Jochen
National Instruments Germany
Message 2 of 7
(6,372 Views)
Jingyan,

You might also check this out:

http://zone.ni.com/devzone/conceptd.nsf/webmain/59CCB6478D6F0C0A86256F7E000EF552

Using FPGA or compact RIO you can obtain rates of up to 5 microseconds with SoftMotion.

Regards

Dan
National Instruments
0 Kudos
Message 3 of 7
(6,360 Views)
Thank you all for your help. I have one more question.

The introduction of SoftMotion Development Module says that it includes VIs for LabVIEW Real-Time and LabVIEW FPGA. Does that mean LabVIEW RT and FPGA has been integrated into SoftMotion and I don't need to buy LabVIEW RT and FPGA seperately if I have SoftMotion?

Thanks
Jingyan
0 Kudos
Message 4 of 7
(6,355 Views)
Jingyan,

You will need to purchase LabVIEW RT and FPGA separately if you want to use SoftMotion. Are you with a University? If so, you may already have access to some of this software, and academic discount pricing would also apply for the software you needed to purchase. Give us a call and we'd be glad to talk with you!

Dan
National Instruments
0 Kudos
Message 5 of 7
(6,351 Views)
Yes, it is a university research project. Actually now I am searching for available hareware and software development tools for out project. I will discuss with my professor to decide which hareware and software tools to choose. After that I will try to put an order.

By the way, what is the rate for the academic discount? It may be helpful for my professor to make a decision.

Thanks
Jingyan
0 Kudos
Message 6 of 7
(6,342 Views)
Hi Jingyan,

I'm not sure exactly what the discounts are- if you give our sales department a call they would be able to discuss these with you.

Regards

Dan
0 Kudos
Message 7 of 7
(6,324 Views)