Motor control using labview
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
Similar Messages
-
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 -
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 -
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 -
Simple motor control with Labview
Can anyone suggest a simple motor to be controlled by labview. I am interested in making a small scale elevator that is controlled with a labview interface. If anyone could point me in the right direction it would be greatly appreciated. - Bryan
Attached is the vi for the program. I will also try and attach the C code for the project. It took a lot of failed attempts to get it working so I hope this works for you. I don't have a schematic for you, but if you look over the C code it should let you know. Also I used the CCS development kit 16F877A. I'm not great at programming in C so there is a good chance you can clean it up a bit.
I'll keep an eye on this post if you have any questions, when winter comes I'll probably work on this some more.
Message Edited by nutmegzzzz on 09-19-2005 01:56 PM
Attachments:
Serial Read with Timeout version 1b.vi 169 KB
LED and Motor Control from LabView - Complete.c 3 KB -
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 -
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 -
Oriental Motor control with labview
I am trying to control third party (Oriental Motors) stepper motor
controllers with Labview. I have managed serial communication, but command
aren't being sent. Can anyone help me?Hi Azim,
It looks like Maxon posted a driver for the DES servoamplifier here:
http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
The DES can communicate via a command voltage from a motion controller, in the NI case you would use a PCI or PXI 7340 or 7350 series motion controller, and set the drive to +-10V command input mode.
It can also communicate over Serial RS-232 or CAN. I believe the above linked driver implements serial communication, but I haven't had a chance to look at it, so I'm not positive.
See description of modes and comm interfaces here:
http://shop.maxonmotor.com/maxon/assets_external/Katalog_neu/eshop/Downloads/maxon_motor_control/4-Q...
Best Regards,
Nate -
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] -
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 -
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 -
How to create a strictly typed refnum control using LabVIEW scripting
I wish to use LabVIEW scripting to create a strictly-typed refnum control that is bound to my custom control (a type-defined cluster), but I'm unfamiliar with scripting and can't see how to do it.
If I create a New VI Object, using Control Refnum as the Style, how do I provide my custom control to the VI Object Class terminal? When I try using a reference to my custom control.ctl file (using Open VI reference) I get an error: "Error 1057 occurred... Type mismatch: Object cannot be cast to the specified type."
Or, if I create a new Control Refnum as above, using a standard Cluster as the VI Object Class, how do I then convert this refnum control to a strictly typed refnum that is bound to my custom cluster control type?
Thanks in advance for any advice,
Thoric (CLA, CLED, CTD and LabVIEW Champion)
Solved!
Go to Solution.Here we go...
You have to create a new Control VI and then specify the VI Type as Typedef.
Regards,
Da Helmut
Attachments:
example.vi 22 KB -
Building SCADA software for substation automation control using LabVIEW
Hi, I would be interested to know if anyone has built or developed a SCADA software for substation automation control using purely LabVIEW and its add-on tools (beside NI LookOut). The SCADA software, somehow similar to WinCC, should fulfill basic SCADA function for substation such as monitoring and interlocking control of CB and DS (single/double point), generate event or alarm list which includes information such as topical/not topical, valid/invalid...., archiving, redundancy, etc.
Hi Remzi,
Thank you for your information.
I understand that the DSC Module is a tool capable of developing monitoring and control system. Using the module would enable me to build a SCADA software (similar to LookOut) according to my requirement. But I think it's quite a difficult task to design and build a SCADA software from the scatch. Unlike a SCADA software, the DSC module is not really a SCADA software where user can directly parameter the I/O points and graphics via GUI. I've actually tried the LookOut software, but found that it's not really suitable for substation automation & control field. Hence, I would be grateful to know if anyone in this field has developed similar SCADA software for substation automation.
Best Regards,
Edmund -
i am currently trying to design a circuit that utilizes a L293D h-brigde. however, i've come to a problem is that NIELVIS does not have sufficient current to run the motor. from other tests, we found that the motor runs at .6 A. please help. the motor's rating is U= 12v . we are using labview 2 generate the pwm signals.
Thank you for contacting National Instruments. I apologize for the delay in responding; our email box has been overrun lately.
Based on the hardware specifications of ELVIS and the DAQ hardware, you will not be able to source that much current directly. You will need to build or buy external circuitry to amplify the current. You can find examples of how to build a current amplifier in an electronics textbook. There is probably a simple, inexpensive version that you can create with on the breadboard itself.
Again, the hardware you have simply cannot source that much current, so building (or buying) a constant voltage current amplifier is the way to solve your problem.
Regards,
Mike G.
National Instruments Support
Maybe you are looking for
-
Would someone be able to explain to me the following issue with Iphoto? I ordered 8 same calendars for my soccer team and received them fine. Although a couple of pictures on it are a little off (out of focus). I need to order two more of the same ca
-
How to Restrict adding AR-Delivery connecting to Sales Order
Good Day Experts, I am newbie in SAP Business One, Please me help on this scenario: I have created an Series Numbering in Sales Order (SO-BOM) No.17 and a User Define Field (ORDR_DwnPayment) with option w/DP and w/out DP (DP means DownPayment). Now i
-
Updater Adobe Bridge CS5 4.0.2 fails to install
Any ideas here...I keep getting a signal from Adobe Updater that my Adobe Bridge CS5 needs an update. Downloads CS5 4.0.2 ok...then the installation fails...no logging appears to occur of the problem. Has anyone dealt with this before, I cant seem to
-
Hi all, We have a problem with an application (LV7.1 / WXP) which has to decode serial data from a smart actuator. This actuator sends 8 bytes of data @38400 bps every 3ms (which leaves about 1ms interval between these blocks of data). The applicatio
-
[SOLVED, I hope] Xfce and Firefox "renewed" by shutdown
I closed all the apps, exited X and turned the box off # shutdown -h now On booting the next day, xfce was reset to "just installed" status (all settings gone) and Firefox was brand new, welcoming me for the "first" time -- no bookmarks. I never saw