A/C three Phase motor control using 1/4 bridge Load Cell output and a USB 9172 Daq
NI Assistant,
I am tasked with setting up a Motion Control using two each OMEGA LC712-100K, -50K and -10K load cells to monitor the cable tension on six A/C motor driven winches. I also need to Monitor and calculate a Moment as well as the load slope for Load verses Time.
I have zero time to develop and I have searched your databases for existing Motor Controls to modify.
Should I use Case Structures and then place them in a while loop?
I setup a drawing in Word to visually define the task.
Signed,
Patrick Murphy
Attachments:
Layout for Testing Spars.docx 15 KB
Hi Patrick,
The reason why the Motion Control examples will not work for you is beacuse they are meant to be used with the NI Motion boards. Since you are using DAQ boards, the examples are probably not going to be able to help you too much. However, there is one example on the community that might be a place for you to start.
pmurphy wrote: Should I use Case Structures and then place them in a while loop?
What exactly do you mean by this? What do you want in the case structure or while loop?
Similar Messages
-
Hi,
I have a cRIO-9014 with a NI9505 DC brushed servo drive module, and I would like to program the FPGA for PWM and Quadrature encoder interfacing using the intellectual property IP functions mentioned in the "CompactRIO Motor Control Basics Tutorial":
Quadrature Encoder dX Method (FPGA, Use in SCTL).vi
Pulse Width Modulation (FPGA, Use in SCTL).vi
I made a search at ni.com/ipnet but I couldn't find them.
Where can I find free downloadable IP cores for PWM and encoder blocks to include them in my FPGA interface program?
Thanking you in advance,
Manuel
Solved!
Go to Solution.Found by myself (google search!) at:
https://lumen.ni.com/nicif/us/codepowelecguide/content.xhtml -
Dynamic force control using linear servo actuator + load cell
Hello,
I am designing a test fixture which will allow us to test the performance of actuators we install in our products. I need to apply a constant load to the actuator while it is extending/retracting. I would like to be able to use a linear servo actuator and a load cell on the same axis as the UUT to provide and monitor the load. The actuator under test does not travel at high speeds, its max speed is approximately 1in./sec.
I need to be able to maintain a constant load while the actuator is moving. Therefore I'll need some kind of closed loop system to maintain a velocity such that the load being reported from the load cell is equal to the expected load as the actuator is moving.
I am trying to figure out how to best implement this in a cost effective and time-saving way. I have not purchased any hardware at the moment so am open to suggestions. We do have LabView 2009 with all the toolkits. Would it be best to implement this using a motion controller card or would I be able to get good results using a standard DAQ?
Message Edited by fnaeem on 02-05-2010 05:58 PMAs you have stated correctly, you will need a deterministic closed loop system to accomplish this task. The most cost efficient while reliable solution for this purpose is a motion control board like the PCI-7352. This board provides quadrature encoder inputs for positioning tasks and analog inputs for any other type of control. Torque/force control is a very typical task for this board and it provides a simple API and useful configuration tools.
If cost savings are a primary goal, you could also use a PCI-7342, but for your application I would recommend the PCI-7352, as the PCI-7342 provides only 12-bit ADCs, while the PCI-7352 provides 16-bit ADCs, resulting in a much better resolution of your force feedback signal.
I hope that helps,
Jochen Klier
National Instruments -
I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor. Could you suggest me appropriate driver IC using which this problem can be solved.
Saravanan.TYou really should use a DC motor controller to control a DC motor, look at the 754410 IC for a good example. You should be able to interface these to most DAQ devices.
Alan -
Hi,
I'm building a DC motor control using myDAQ i have run into a couple of problem with the STOP button and the Max en Min speed. For some reason the waveform chart goes crazy i'm going to attach my the VI file.
Project description:
-An engine-ON-engine-OFF button
-A control for faster / slower
-A switch for left / right
-A button once maximum speed (100)
-A button once minimum speed (10)
-An indicator of the instantaneous speed (0 - stop, 100 maximum)
-An indicator for the direction
Could anybody tell me why it happens and how to solve the problem?
Thank you very much!
Best,
Istrael
Solved!
Go to Solution.
Attachments:
pulsgenerate Folder.zip 30 KBHi iounathing i appreciate the reply it works better now i have fixed the start button issue and the crazy waveform chart.
I think i'm missing something after falling edge and rising edge (if statement?) because when i turn the speedmeter to "0" or "100" the waveform chart keep sending low an high pulse. I wan't a high steady pulse by "100" and low steady pulse by "0" and in between low / high pulse.
Regards
Sorry for my bad english i'm from Aruba.
Attachments:
pulsgenerate Folder.zip 60 KB -
Brushless DC motor control using NI PCI 6251
am doing my project Speed control of a sensored Brushless DC motor. am using NI pCI 6251 daq. now my motor is running.but i dont know how to calculate the speed. in BLDC motor, hall sensor is attached. can you send me the sample program for calculating the speed and to give as a feedbackk
Will you please sent me VI model of BLDC ?
my mail id: [email protected] -
Communication with motor control using RS-232
I need to use labview to communication with a stepper motor drive using the serial port RS-232. Could someone please get me started I'm not sure if a should use VISA or instrument I/O. And if I use one of those, how would I set it up?
Hi Phil,
Outside of LabView, how do you communicate with or control the motor drive? If you are able to use software like HyperTerminal or Procomm, then using the VISA serial communication tools will be the simple way of implementing your solution.
Here are some links which may provide clues on how to proceed. You can also do a search on VISA Serial communication.
Happy wiring!!
JLV
LINKS:
Link 1: Although this one talks about an error, it does provide instructions on how to setup the VISA session:
http://forums.ni.com/ni/board/message?board.id=170&message.id=99660&query.id=0#M99660
Link 2: Here are some examples: (good starting point):
http://forums.ni.com/ni/board/message?board.id=170&message.id=65873&query.id=0#M65873
Link 3: more info:
http://forums.ni.com/ni/board/message?board.id=170&message.id=86971&query.id=0#M86971 -
CRIO motor control using AMC Drive
Hi
I am trying to setup a simple DC motor control system with cRIO-9081, NI 9401 and AMC PWM servo drive 12A8. Can someone please tell me if this AMC drive is compatible with my other NI products? Do I need anything else to setup a simple closed loop speed control for a small DC motor? Any advice or example is very much appreciated.
ThanksHi SunnyX,
It seems like your servo drive is expecting an input of +/-10V analog. Are you able to confirm this in the device manual? If that is correct, you will not be able to generate the necessary signal with the 9401. You will need another module that you can program to output this signal such as the 9263.
You could also consider using the modules designed specifically for motion control and the SoftMotion Module to simplify the motion control programming. Please let me know if you have any additional questions or comments! Thanks.
Regards,
Kira T -
Can i use PCI 6115 both as an output and input device simultaneosuly?
I would like to use PCI 6115 data acquisition card from National Instruments for both generating a signal and then configure it for receiving the generated signal. I am using MATLAB program.I ran a program and it shows no error. But the results are not what I expected. Any help will be appreciated
Hello,
The PCI-6115 can receive and generate signals. It can actually do both at the same time. However, this depends on how it is programmed. Since you are using MATLAB, I do not know what I can do to help. Are you making calls to NIDAQ32.dll?
Please post any follow questions or maybe some more information on what you are seeing.
Best regards,
Justin T. -
Servo motor control using MCB2300 and Labview
Hello Everyone,
I have to drive servo motor using MCB2300 board and labview. I am new to LabView as well as MCB2300 board. I understand that I have to generate Pulse to control the servo motor.
I have gone through some of the post but could not find something useful.
I need to do it asap, a fast and eloborating answer is much appreciated.
Thanks is advanced.I don't know if this will help you, but think about this tip:
On the back of my (digital-) Servo package there was some data written (see attached image).
You've heard of PWM (Pulse Width Modulation)? If not look it up in
wikipedia / microcontroller.net / (if you speak german) http://www.rn-wissen.de/index.php/Servos or google
The description of the Servo says that I have to send every 200ms +/- 1ms a positive (+5V +/- 1V) signal with a length depending on the angle I want the Servo to be set. The Signal is coded in conjunction to time, which means, as longer the Signal as higher the angle is. The Signal range is in between 70 to 240 ms (with my servo and not exactly). The Signal must repeated every 200 ms like I said before. I don't know, if you understand C but here is a function I wrote, which works fine for me:
void set_Servo_0(uint8_t angle)
DDRA |= 2; // Specific Port declaration for my µC (Atmel)
uint8_t tick; // a var to count how often I send my Signal
for(tick = 0; tick < 2; tick++) // loop to count -> send Signal three times
if(getStopwatch1() > 200) // getStopwatch is a libary specific function to measure time in ms steps
PORTA |= 1; // port high
sleep(angle); // angle comes from outside the function, it is a parameter for this function. Sleep for this time with port high = pos Signal
PORTA &= ~1; // then pull down
setStopwatch1(0); // reset the timer
mSleep(250); // Finally I have to wait for this time (in ms) when I send different angle parameters one after another, to let the whole system
// (µC + Servo and rest of program) to settle down, else I will loose signal steps due to incorrect timing (not nice, but works).
This function gets the angle as Integer from 7 to 24 and puts the Servo in corresponding position one time.
Maybe You can adapt it, good luck.
Attachments:
Servo.jpg 207 KB -
Help me in my mini project about dc motor control using labview
hi,
actually the idea is that using pid controller in labview.. controlling motor.i.e giving a setpoint to pid... n checking whether motor is running accordinly using a sensor.. i.e feedback n/w... i dnt knw hw to proceed.. can u help me with the circuit diagramHi swats,
"i dnt knw hw to proceed.."
I suppose you mean "I don't know how to proceed..", something is wrong with your "o" key
I would suggest going to the library of your school or university and get a book on basics of electric devices. There you will find a lot of hints on how to measure speed of motors and how they work. In fact your question covers several seminar hours in "Electrical Measurements" course at university...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
EMG based DC motor control using labview
I have a project where i need to use my EMG data to control DC motor
using labview.I've already got the EMG signal by using ADinstrument and
import the signal to labview. The problem is i don't know how to connect
the signal with DC motor. This motor will start to move when it detect
the signal exceed certain value and stop when it less that value. I'm
still new with labview and i'm using labview 8.0. Can someone help
me?thanxPlease check out our Biomedical User Group - there are similar project discussions going on there and links to the NI Biomedical Starter Kit - a free download for doing biomedical data acquisition, signal processing, and other tasks.
Steve
Visit the NI Biomedical User Group at:
www.ni.com/biomedusers -
I'm new to Labview. I just installed a new labview system with analog output.
What electrical component do I need so that I can power a decent size motor with labview output? The signal from Labview is only enough to power a tiny motor. Well, the only thing I know is to amplify its voltage using opamp, which doesn't do much since I need to increase its power.
I don't have good electrical background, but I'm trying my best to learn.....
Please help experts.MrCoolMan-
This depends on several things. I have a few questions about your application:
1. What National Instruments Hardware are you using to control your motor?
2. Are you using a Stepper or Servo Motor?
3. How much power does your motor require?
4. How are you planning on controlling your system?
5. Does your motor require an analog or digital signal?
The answers to these questions will be a good way to get started with your application.
Regards,
Mike S
NI AE -
Motor control using pwm,pid
Hi all,
Can anyone help with this please.
I have a counting circuit from a hall effect sensor and am controlling a motor using a PWM.I am controlling the speed of the motor varying the duty cycle and the motor is wired via solid state relay.these run fine.
What i am trying to do now is connect through a pid as to control the speed of the motor.
My understaning is that the set point is from the duty cycle, the process variable is the feed back from the sensor (rev per min) and the output is back to the motor to increase or decrease speed.
Is this the correct understanding? and if so can you help with setting up.
Attached is my vi.
Regards Anthony
Attachments:
rev per min 5.vi 117 KBContinued from here: http://forums.ni.com/t5/LabVIEW/Error-200290-when-running-a-pulse-count-and-pwm-program-together/m-p...
Please look at what I wrote there. You need only one loop. The PID and Counter Write functions should all be inside that same loop, along with the measurement. The PID will do nothing useful outside a loop. -
Really need help (motor control using labview)
hi all readers,
im new beginner. really need help for my project. i've been assigned to monitor/control motor using labview 8.5 (using NI DAQmx). the problem is, the techinician told me that i cant use 3phase motor with this card. things that i need to displayed using labview is :
torque
power
current
voltage
speed
really appreciated if readers can help me with this:
wut type of motor shud i use that compatible with NI DAQmx
thanks a lot.Hi fauziana,
NI data acquisition devices are primarily designed to take measurements, so it's a good idea to measure the signals that you have mentioned with a DAQ device.
You also can use DAQ devices for control tasks, but for reliable and deterministic control behavioryou typically need to use a real-time operating system (not Windows!). If you want to learn more about the pros and cons of using DAQ devices for motion control tasks, please refer to these threads. Still for standard motion control tasks it's much more efficient in terms of development time, to use a dedicated motion control device for the motion control part of your application.
In general the control part is independant from the motor type, as these devices only generate control signals (+/- 10 V). There are many power drives available, that accept this type of control signal and you should select your motor according to the requirements of your application.
For a more detailed system consulting, please contact your local NI branch. To select the products that fit best to your application requirements a face to face discussion is much more efficient than a discussion forum thread, because there are a lot of parameters that need to be taken into consideration. If you tell me in which country you are living, I can provide appropriate contact data to you.
Thanks and kind regards,
Jochen Klier
National Instruments
Maybe you are looking for
-
Hi All, Can anyone tell me how i can align the text in a text area to be vertically displayed?? how do i set it? Thank U in advance..
-
Problem in creating reservation MB21
Hi experts, When I create resevation thru tcode MB21. Error msg is coming : Field selectn for mvt type / acct 400601 differs from business area ( 033 ). In our case, GL account field is suppressed. whereas the movt type field is mandatory. Please
-
2 Flash SWFs Communicating in Captivate
Asked this question ithe Captivate forum but had little movement on it so thought I would try asking folks in the Flash community... I have a Captivate slide that I am importing 2 Flash generated SWFs into, and I would like these two SWFs to communic
-
Is there a possibility to include a Matlab program in LabView? Thanks, Victor
-
pls help me in knowing the differences between database and data warehousing in detail send me links and PDF if u have thanks