08-01-2022 08:14 AM
Hello!
I am a PhD student and I am trying to build a small shake table to simulate earthquakes or mining tremors. On this table, I would study models of various structures (mainly models of cooling towers). I am a civil engineer and my knowledge of automation is limited, so I am kindly asking you for help.
I have access to the cRIO-9056 controller, and the following modules are installed:
NI 9472 - two modules,
NI 9421 - one module,
NI 9263 - one module,
NI 9205 - two modules.
1. I would like to ask you, can I use LabView and the controller (together with modules) to control the servo motor (servo motor and servo amplifier)? The power of the engine would be about 2000 [W], 2.7 [hp].
2. Will I be able to control the servo motor with impulse?
3. Do any of the modules give me high-speed digital outputs and inputs?
4. Is it possible to get feedback to the computer?
Regards,
Dawid Cornik
08-03-2022 10:54 AM
Hi Dawid.
For us to supply meaningful answers we'd need a bit more information on what's happening beyond the cRIO and its modules.
I'll answer as best as I can with a few assumptions.
1. Yes cRIOs are great for controlling stuff, what you can control would depend on the inputs of what you need to control and what outputs you have available on the cRIO. To properly answer this we'd need to know what servo motor you have as these come in a wide selection.
2. I'd refer back to answer 1.
3. Your 9472 gives you Digital outputs, and your 9421 gives you inputs. High Speed is always a very personal term. I've worked with people defining high speed as anything above 100Hz, while others have been complaining that anything below GHz is too slow.
4. Yes the cRIO has multiple ways of sending data to a computer.
Best of luck
08-03-2022 02:02 PM
Yes, you need to give a bit more info. I would imagine that you are not connecting the cRIO directly to the motor, but instead the output channels probably go to the servo amplifier which in turn drives the motor - so really you need to consider what inputs that has. Sometimes motor control is done by PWM (pulse width modulation - i.e. quickly swicthing DOs), other times it is may be via an analogue signal to something like a drive / amplifier card, or even a network comms to a drive. The update rates for the DO or AO modules will be dictated by a) the type of signal, b) how fast you need the system (control) to respond - for earthquake / tremors I expect you have a well defined maximum frequency. For signal processing the minimum you need to sample at it twice as fast as the max frequency, but if you are doing control then sampling ideally needs to be at least 10 times faster than the max frequency. This sampling criteria applies to all signals in your control loop - inputs (sensors) and outputs (actuator / drive signals).
Whichever it is there will be a way to do it with a cRIO. The issue with sample rata may also influence how you use a cRIO - it has two modes Scan (on Labview Realtime) whcih is fine for signals down to few msec update (min is 1msec), but if you need to go faster then you will need to get the code onto the FPGA. Both LV Realtime and LV FPGA have complexities beyond the normal LV.
There are some dedicated servo motor IO modules, but whether or not they are approriate depends on your motor and any drive.
I am wondering if the term "servomotor", "servo amplifier" and the 2000W power means this is a hydraulic motor, which will be quite different to a an electrical motor.
04-27-2023 11:57 AM
Hi Andy,
I have a similar question!
I need to use a cRio 9056 to control a Harmonic Drive servo motor (RSF-5B-100-US050-BC).
Here is the product catalog: https://www.harmonicdrive.net/_hd/content/documents1/RSFsupermini.pdf
for my application, 10~20 Hz input and output sample rate would be quite enough.
Can you recommend a module and hardware for this?
The salesperson provided the following info:
Thank you for your help in advance.
04-27-2023 02:16 PM
Well that is a very open ended question - as there are lots of aspects to consider.
In general terms you could: