DC motor control using PWM

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

Similar Messages

  • 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 KB

    Continued 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.

  • 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

    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.T

    You 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

  • Dc motor control using myDAQ

    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 KB

    Hi 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

  • FPGA programming for motor control using free downloadable IP cores for PWM and Quadrature encoder interfacing

    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.
    Thanks

    Hi 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

  • 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

  • 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?

  • 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 diagram

    Hi 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?thanx

    Please 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

  • 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

  • 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

  • Servo motor control using CRIO+FPGA and 9477 digital out module

    Hello experts,
    I have a futaba BLS551 brushless motor digital servo (3 wires-+,-, signal). i also have a CRIO+real-time+fpga and 9477 digital out module. how can i generate servo signals using this module
    please help...
    Thanks,

    freemason,
    In order to control your servo motor with the FPGA and or DIO module you will have to write drivers to control your motor and drive.  While this is possible is an extremely complicated and time consuming process.  I would highly recommend you consider using the NI 9514 with soft motion as it will provide full servo functionality and is relatively easy to use.
    Regards,
    Sam K
    Applications Engineer
    National Instruments

Maybe you are looking for

  • FDMEE - unable to load an erronous file

    Hello, I created an HFM and FDMEE application. I was able to load a flat file, whose dimensions' values were identical to the metadata. I tried loading a file with values that are not in metadata, to see a validation report, but I keep getting this:

  • Mackbook to HDMI tv

    I have a MacBook 13" Intel. I want to connect it to a LG 50" HDMI plasma TV so as to use Front Row on the bigger screen. i bought mini DVI to HDMI cable and HDMI cable,now its connected but the tv screen show only mackbook desktop picture n nothin on

  • Flash not working in website

    I'm new to flash and created a movie, tested it in Flash, put it in the htm, played it in Dreamweaver, it plays in browser (F12), but when I upload it to our website, there is nothing. I've attached the file. What am I doing wrong? TIA Rush

  • Problem in the program for disply of flight details. webdynpro tutorial 4

    I am new to WebDynpro. I have succesfully learnt the navigation between views (tutorial 3). In the tutorial 4, I wrote the simple select query for displaying the flight details, but I get a runtime error. METHOD IF_WD_CONTEXT_ELEMENT~GET_STATIC_ATTRI

  • My i pon is not connected on pc wit i tune

    my ipon 4s not connected wit itunes just showing charging but not working ,,,,but import pics n videos