Controlling a small motor

Hello everyone,
I have a small and probably dumb problem I cannot seem to find a solution
for: I need a PCI board to control a small 24V, 3.5W max motor used to
rotate a piezo transducer.
The kind of control I need over the motor is very basic (on/off and little
else), the only requisite is that it can be controlled via software
(preferably labview).
In the future the system will be upgraded to a stepper motor (for which I
found many PCI-based options), but for now we're stuck with this one.
Any suggestions would be greatly appreciated.
Thank you
Marcello Barboni

Hi Marcello,
You need a Metrabyte Compatible I/O Card. The PCL725
was the most famous version of it.
I have used the following card from CyberResearch with phenomenal success
CYPDISO8 8 Mechanical Relays, 8 Isolated Inputs Board
This is a PCI Card with 8 Relay Outputs, which can be individually controlled. They will Handle your Motor Ratings. Unfortunatley the Data Sheet can be Obtained by Fax-On-Demand Only.
If you are not bent on PCI interface, there is another ISA card that will do the job and it is even cheaper.. $150.00 max.
CYDO 24HV/48HV High-Voltage, Direct Drive Digital Output Boards. These will Handle directly 50V/0.5A load. With Motor make sure you include a Freewheel diode to curb the transients.
http://www.cyberresearch.com/fod/fod5315
.pdf
Check www.cyberresearch.com
The Only drawback is that you have to purcahse the drivers seperately for about $50.00. They do have ready LabView Drivers.
http://www.cyberresearch.com/fod/fod6021.pdf
Good Luck!!
Mache
Good Luck!
Mache

Similar Messages

  • I am trying to use a SC-2024-RTD DAQ board to do 3 things (monitor two sensors (input) and control a small motor (output)) simultaneously. I have not been successful using labview for output. I can't even get it to show a voltage at the output pins.

    I have it configured for voltage modulation, channel 0, and I am testing Ix0+ and Ix0-. To run it, I am right-clicking on the function and clicking "test". What's wrong?
    thanks, Alex Millie
    [email protected]

    Ix0(+/-) are make the excitation current. You can see this in figure 4-1 in the user manual. You can see the output voltage from the MIO card by looking at the voltage from terminal 23 to terminal 20 (channel 0) and terminal 23 to terminal 21 (channel 1). You can see this pinout on page 3-5 of the SC-2042-RTD user manual.

  • Could someone tell me how to control a small dc motor by using labeled and a NI 6008 daq. The motor is adjustable by using a pot that ranges between 0-V if that is of any additional benefit

     Could someone tell me how to control a small dc motor by using labeled and a NI 6008 daq.  The motor is adjustable by using a pot  that ranges between 0-V if that is of any additional benefit.

    Read the second thread you have a link to. While both of these will produce PWM signals, the first one is a couple of orders of magnitude too slow to do anything useful in control the speed of a motor, what you would see would be the motor run at the full speed, then stop for a period, then run at full speed, rather than at the "average of on and off"  as the Pulse Widths will be very long relative to the motor's response. The second one has a better chance, IF all you want to do is run the motor. If there is any other calculations ...   Look at both and try and get an understanding of what they are doing. For PWM speed control of a motor you really need a pretty fast pulse width, and probably some filtering to smooth out the resulting "harsh" waveform, giving you the "average" voltage resulting from the PWM.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Closed loop control of step motors possible with 7344?

    Hi All
    I have been looking around here for a while for an answer to this question.
    For me, a closed loop control system is correcting for following errors all the time, also when the move is complete.
    If the load on a system changes, there will often be a need for compensation in order to keep the position right. Then you need a closed loop control system.
    I have made a system using DC motors with a 7342 controller. We are in the process og getting a new similar system, where the manufacturer chosed stepmotors in the believe that it can be used in closed loop.
    Is it really true that the NI version of closed loop is only performing a what you call a "pull-in" at the end of the move in order to correct for lost steps or flexibility of the connection between motor and object/encoder?
    I would call this "backlash compensation" or something like that.
    Why dont you make a real closed loop option. The control voltage from your servo motor control, could be fed into a voltage-frequency converter with a matchin sign signal.
    This shouldn't be too complicated to accomplish.
    /b

    You are right. NI motion control boards don't apply a control algorithm
    during moves when configured in closed loop stepper mode. In this mode
    the board monitors the following error during the move and generates an
    error when the following error limit is exceeded and they start the
    pull-in moves at the end of the move if necessary.
    If you really want to do PID control with stepper motors you still
    could connect an external V/f converter to the DAC outputs of the board
    and control the axes like DC motor axes. Some vendors implement this
    feature on their board but NI has decided not to do that as we don't
    think that this approach provides a good solution. Here are some reasons:
    The most important issue is the fact that you could easily exceed
    the maximum rate of change of the motor frequency in the case that the
    following error increases during the move. For a DC motor this would mean that the
    voltage of the controller increases to compensate for this error and
    the motor will follow - probably with some delay, but it will follow. For
    the stepper this could mean that the acceleration becomes so high
    that the motor stops immediately as it can't follow with a delay like a DC motor. What
    should the controller do then? Restart the move automatically? Generate
    an error? There is a big chance that you end up with a system moving in a stop and go mode.
    The second issue is related to the control algorithm itself. The transfer function of a stepper motor is not really linear so it will be quite hard to find good tuning parameters. A DC motor can be tuned by analyzing the step response and the Bode plot. For the reasons that I have described in 1.) this won't work for a stepper so how should you tune it?
    I have talked to some  motion control engineers who have tried to control steppers with a PID algorithm and they all agree that this is a real pain and it's not recommended.
    So if your system requirements involve online following error compensation I strongly recommend using a DC motor.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • What's the type of control for stepper motor?

    Hi,
    I'm using PXI-7358 controller, UMI-7774, Industrial Device NextStep third part microstepping drive, stepper motor SANYO-DENKI (type 103-8932-6421, NEMA42) and incremental encoder 3600 ppr (14400 count/round). I want to say what's the NI onboard type of control used to control motor step position? In the case of servomotor the type of onboard control is a PID, in the case of stepper motor what's the type of control? What's the MAX parameters to set for the project specific (overshoot, settling time, rise time etc..)? What does it means "Pull-in Window" e "Pull-in Tries" in MAX? So, it's possible control the stepper motor with user's algorithm control, excluding the onboard control?
    Thanks for your patience,
    Best regards
    Lorenzo

    >
    Matt wrote:
    > Go to SE24.  Type in cl_dd_document and press enter.  Select the methods tab.  Look for the method "CONSTRUCTOR".  Double click on it.   Click on SIGNATURE button.  The types of the parameters are clearly seen.
    >
    > matt
    TYPE and VALUES OF TYPE -- different things. For example, TYPE C -- CHAR. VALUES of this: A, B, C, ..., 1, 2, 3.
    Thus, return to question.
    TYPES: sdydo_attribute(50) TYPE c
    TYPE: sdydo_attribute
    VALUES: ???
    May be, value ABRAKADABRA correct?

  • How to control the step motor in this situation?

    I have a PHI TRIFT3 ToF-SIMS instrument. The instrument comes with a default
    software. However, the software don't offer fine step motor control. I want to control
    the step motor using Labview.
    I got some info from a Japanese engineer of the company.
    The step motor controller is connect to a card in ISA slot. In the default software, I
    can send command like D2000(distance 2000) and A100(acceleration 100) to "port 2"
    to control the motor. I have a manual of the commands.
    However, I don't know how to send command from Labview. Here is a joysticker
    connected to COM1, COM2 is used for other vacuum control. The joysticker can also
    control the motor..Here are some reply from the company about the control.
    "We do not use special driver for control the step motor.
    This is just sending the serial command via RS232C per command instruction I
    sent you before. The only difference is, to simplify the hardware, we just talk to data acq
    module(wave form card) via PAHOST card(installed in ISA bus slot of the PC)
    to passthru the RS232C command to stepper motor control unit.
    If you try to talk to step motor. just send the RS command from Labview
    platform. (of course need to connect the step motor controller from PC,
    default TRIFT PC does not have a spare COM channel, might be need to add
    serial etension card or add the computer for Labview control)
    "TRIFT PC passthru the RS232 command throught ISA bus to PHI data
    acquisition box to stepper motor control.
    Joystick handled by default software , convert to stage movement
    command X and Y then send thru to ISA. "
    I tried to use the Basic Serial Write and Read.vi to send command to COM1 but I always
    get an error"1073807246 ocurred at property node(arg 1) in VISA configure Serial prot(Instr).vi->
    Basic Serial Write and Read.vi  Possible reason: VISA: the resource is valid, but VISA cannot access
    it."   I think this happens because the default software is also open and trying to control COM1.
    What should I do to accomplish the step motor control? Thanks a lot

    Just to start from scratch, have you verified that you can do basic communication with your serial port, ie successfully perform a loopback test?  Please let me know, and we will go from there.
    Logan S.

  • How to control 2 epos motor using microcontroller 50/5

    Hi. i've done a program from epos integrated to labVIEW to control 1 epos motor. i do the program by using the given epos sub-vi to labVIEW, but i only know how to do for controlling 1 motor. Anyone can help me or tell me how to control 2 motors or wad is needed?? thanks for your help :-D
    Solved!
    Go to Solution.

    Hi Spydi,
    up to now, I never did it with two EPOS. But you should first check your setup with the EPOS-Studio. You need to set two different Node ID`s and after this works from the EPOS-Studio <you should do two seperate lines of programming in LabVIEW. I attach some VI`s from maxon which are simple in using for one EPOS. I assume you just need to program them in parallel.
    And you don`t need the CANopen Library, it`s possible to use but very difficult. The EPOS-Library from the download is a Set of VI`s which where developed by maxon in Switzerland and free of use, they use a Communication DLL behind. If you`re interested maxon develops a new release right now. If you want to use them instead of the one you already had, let me know, I can ask there for a BETA and place it here at the forum.
    Kind regards
    Alex Rudolph
    NI Switzerland
    Attachments:
    EPOS Module.zip ‏77 KB

  • Dreamweaver user interface controls appear small and hard-to-read on high-density displays.

    I have 3840x2160, 24" display and many of the user interface controls are small, hard to read and in some cases are cut off.
    I see this issue existed with Photoshop and Adobe introduced a "Introducing scale the UI 200% for high-density displays for Windows" under "Experimental Features"
    Photoshop: Introducing scale the UI 200% for high-density displays for Windows
    However I don't see this option available in Dreamweaver? Is there another work around?

    ArtJonak wrote:
    I have 3840x2160, 24" display and many of the user interface controls are small, hard to read and in some cases are cut off.
    Wow, 4K resolution within a 24" space. You need a 200% increase in UI size just to work, I would think. Can you post a screenshot of the issue? I would like to see that. ;-)
    With the changes the Dw team have made to the UI over the last few releases, and with the latest Workspaces, it almost feels like 720p is the main focus, or like the only Dw users that matter are on small Macbooks, with very limited screen real estate. I can still work on my laptop when I'm out of the office (17" at 1920x1080 on Windows 8.1), but the icons and controls are pretty small. Even with the added screen real estate, and the fact that the UI is still intact, I'd hate to have to use it for extended periods.
    I voted as well.

  • Control a servo motor thru labview.

    I want to control a servo motor thru labview. I have the following hardware: servo motor, electro-craft bdc-12, s8vm-15024 cd power supply, NI PCI-7831R, and scb-68 circuit board. I am new to the field and I have no idea how to connect the amplifier to the circuit board and create a program in labview to control the motor. Thank you for your help.

    reposted here: http://forums.ni.com/t5/LabVIEW/I-want-to-control-a-servo-motor-thru-labview/td-p/1651742

  • How can I control 3 stepper motors w/ amplifier by sending TTL pulses from DIO96

    We have NI PCI-DIO-96 board and we have 3 stepper motors with amplifier and encoders. We want to control the motors by sending TTL pulses directly from the DIO-96 board to the amplifiers. Is this possible? What would you recommend if this is not a good approach? Thanks in advance.
    Roman Zeylikovich

    Roman,
    Thank you for contacting National Instruments. While using a motion controller would be the recommended approach for any type of motion application, you may be able to use your DIO board to generate a TTL pulse train to control the step and direction inputs of your drive and motor. You will need to make sure that the current sinking and sourcing specification for the DIO-96 fits your stepper motor. That board is not designed to source very much current at all so this is one issue you will need to verify. Also, this board does not have any counter/timer logic that can handle quadrature encoder inputs.
    Again, this digital device is probably not the best solution to control a stepper motor, but, depending on your hardware, could be configured to work proper
    ly. The PCI-7334 is a low-cost stepper motion controller that can control up to 4 axes and is designed to easily accommodate these types of applications. You can browse through more information on our Motion controller boards at the following website:
    http://sine.ni.com/apps/we/nioc.vp?cid=3809〈=US
    Let us know if you have any more questions or comments.
    Regards,
    Michael
    Applications Engineer
    National Instruments

  • Accelerometer sense tilt then interface with USB-6008 and generate PWM to control M995 servo motor

    hi everyone,
    currently im doing a final year project in LabVIEW using USB6008. my project involve of sensing the tilt from accelerometer and convert the tilt into PWM to control the turning of servo motor.
    accelerometer that im using is ADXL322 which has Dual axis ±2g sense range
    servo motor that im using is M995. when the servo motor in neutral position it required 1500microseconds, while it turns 90degree it requires 2200microseconds and whilw it turns -90degree, it requires 800 microseconds.
    currently im facing problem in generating the PWM signal to control the operation of servo motor.
    attachment is my VI design that i have done to date.
    the program is about attracting tilt range from accelerometer using USB NI 6008 and then convert the tilt into angle in degree, and after that generate PWM to control two servo motor.
    hopefully there is somebody can help me on this. thanks.
    Attachments:
    FYP.vi ‏253 KB

    currently i need to generate PWM to control servo motor model MG995. but i am facing problem in generating the PWM in between 800usec to 2200usec to control the rotation of the servo motor. is there any example for me to refer.
    below is my VI that i have done to date.
    hopefully somebody can identify my mistake because my VI is not able to turn the servo motor.
    Attachments:
    pwm.vi ‏128 KB

  • How can I control 3 stepper motor in same time?

    I want to control 3 stepper motor and 30 electro-valves.
    I only had a few lessons on how to control one in C in college.
    Now I need to do this in labview and using an board from NI
    How can do the control of the three motors in same time?
    What the best board to do this. Maybe the NI PCI 6034.
    But I will need more than one?

    At least some of the NI motor controller boards have up to 32 digital lines which can be set to input or output. I did not write the software for our systems but we are using quite a few of the digital lines for our systems and have no problems reading the digital inputs or setting the digital outputs. Also, the digital outputs offer a high current sink capability and usually can be used to drive external drives without any interface circuits.
    The digital lines are available on a separate connector of the NI boards and there are also break-out boxes (with screw terminals) available. I do not see any serious problems to do your control tasks just with one NI motion controller board, as long as you do not have any special requirements (high sampling speed, high frequency pulse output etc) for the digital lines.

  • How can I control my step motor

    I am using a 6006-DB 3-mothor driver and a NEMA step motor model 405-SM, both from AMSI corp. I would like to control my step motor using LabVIEW. We use the LV. 5.1.1 version and we have a PCI-MIO-16E-40 as adquisition card.
    The sistem I want to built is to control my step motor and while turning detect the intesity variation on a photodetector which is conected to my adquisition card.
    I wonder if somebody has an idea how to do that.
    Thank you in advance
    Daniel Hernandez

    Ok I understood, I can use my PCI-MIO-16E card to control my steper motor driver, I will try to do that. But, if I use a DB-25 connector, how can I use my PCI card??
    I was thinking to use the parallel port, directly, to conect my steper motor driver.
    I attache some VI someone passed me. (It use a Setbit.vi and out port.vi)
    Attachments:
    MoteurGOTO6007-DB.vi ‏81 KB
    MoteurGOTO.vi ‏87 KB
    Commande_moteur.vi ‏10 KB

  • Amplifying the current of ni9264 for controlling a DC motor in both directions:

    I want to control a DC motor in both directions by NI9264. The problem is the module can not provide enough current.
    It is easy to amplify the current by a "common collector powr transistor" for 1 direction, but how can I make it reversible?
    p.s. It does not matter if I use one port with +/- 10v or two different ports for one mottor.
    Thank you for your answers in advance.

    Navid,
    typically DC motors are not driven by a proportional current signal, but by a PWM signal which is provided by an H-bridge circuitry that allows bidirectional moves.
    So you either could use an external power drive, that accepts a +/-10 V input signal from the NI 9264 or you could replace this module with an NI 9505, that has a powerful H-bridge circuitry built in in addtion to quadrature encoder inputs, which are typically required for a motion control application, too.
    Please note, that the NI 9505 can only be used in a cRIO chassis but not in a cDAQ chassis. In general for a motion control application should be done with a cRIO system and not with a cDAQ system, as you won't be able to run a stable and deterministic control loop with a cDAQ system.
    Kind regards,
    Jochen Klier
    National Instruments

  • Closed loop control of DC motor drive using PCI 6251

    Hi
    i am using NI PCI 6251 for closed loop control of dc drive.(shunt motor,220v, 0.5HP, 2.5A rated, 1500RPM)
    the dc motor is fed from a bidirectional dc-dc converter. this converter works in boost mode(forword motoring) and buck mode(braking mode/battery charging)
    the converter is built using mitsubishi IGBT module. at low voltage side of the converter a battery bank of 48V is connected and high voltage side the motor is connected.
    An IR sensor is developed to measure the speed of the motor and a hall current sensor is used to sense the converter current.
    in the control part i have an inner current control loop(PWM controller) and a outer speed control loop.both controllers are PI controller. To measure the speed i have used counter of the DAQ assistant, then frequency. then this frequency is converted to RPM using labview.after giving the speed and current signals  to the controllers , then i started  tunning the PI gain, but at the starting the duty cycles was 100%, so the IGBT got damaged immediately. now how to tune the controllers during the closed loop operation.  the switching frequency of the converter is 20KHz.   
    can any body suggest me how to run the dc drive in closed loop ?
    thanking you.

    Hi Premenanda
    The freq data receiverd from the daq assistant has the units of Hz, or in terms of motor speed, rps (rotations per second). I can see that you are trying to convert that to rpm (rotation per minute). which can be done by dividing the rps speed by 60. Instead, you are multiplying it by 60 and also comparing with 2000. the resultant multiplied value is displayed in your program only if it is smaller than 2000.which is causing the problem here.( as seen in file 'original code.png)
    I have attached a file named 'modified code.png' that shows how the conversion from rps to rpm is done. Please do the required changes in your code and let me know if it works.
    Attachments:
    modified code.png ‏18 KB
    Original code.png ‏15 KB

Maybe you are looking for

  • Can't get past the password

    I have a wrt54g router. It orks great for the one wireless laptop that I have.  When I bring home a new wireless device, Dell PDA, iPhone, Apple laptop they ask for the password-but will not allow them to get on to the network.  Where do I start look

  • Run a section of code a certain time of day

    I have a problem which I am stuggeling to get right. At a certain time of the day, the process must run a verification sequence which must be completed. I was thinking about using two time values, the one being the actual time and the other being the

  • DATE format mili seconds

    Do you know about Date format in miliseconds with TO_CHAR() function?

  • Cannot import MOV files

    Can anyone please suggest what I am doing wrong ? I use Final Cut Express v 4.0.1 to edit my films, then export as a Quicktime movie *.mov file. The file shows ok in Finder\Movies\Quicktime exports. When I open iDVD (v 7.0.4) the movie does not appea

  • How to Convert .ps to .pdf?

    Is it possible to convert the .ps file to .pdf file through ghost script. How? Is it possible to convert .ps to pdf through anyother third party tool. Kindly advice me.