DC Motor speed control

Hi,
I am trying to control the speed of a 36V 2.5Amp 3000 rpm max speed DC Motor using LabVIEW.
I need someone to guide me what are the hardware required to do this.
1) Which DAQ is most suited for controlling the DC motor ?
2) Any other hardware required such as a controller, etc ?
3) Any example programs for DC motor speed control ?
4) Any circuit diagrams explaining the connections to be made.
I wil be grateful if someone helps me with the above said things

Hi Kabi, 
A DAQ card will not be able to provide the power to the motor, you should be able to generate an analog control signal and pass it through an amplifier. If you are using a servo motor it should be possible, if the motor is a stepper motor you will need a drive that you can control with step and direction commands. 
-N
National Instruments
Applications Engineer

Similar Messages

  • Simulating Electronic (Analog) Motor Speed Control

    Is there a way of simulating (Analog) Electronic Speed Control in Multisim 10?  The system involves a permanent magnet DC motor with quadrature encoder, a frequency-to-voltage converter, operational amplifier circuits, and a MOSFET driver.  The parts that I am wondering about are the motor and encoder.

    Multisim has a motor but I don't see a quadrature encoder. The only problem I see is with the quadrature encoder as it partially works in  the mechanical area on a rotating shaft. There are no moving parts in Multisim or any other spice software that I know of. That would have to be simulated by creating a circuit in the electrical area that would mimic the mechanical function of the quadrature encoder. This could be a huge task and I wouldn't even begin to know how to accomplish that.
    Multisim's motor has a pin on it that electrically represents the RPM as a voltage that is read on a multimeter. I have found that it doesn't always work as expected in all applications. You would just have to try it and see it it works for you by adjusting it to your motor specifications.
    This is all I can tell you and if someone has an idea I would hope they would post it for you
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

  • URGENT!!! motor speed control

    Dear all,
    first let me tell you my system detail:
    1. Hacker A100-8 brushless DC motor
    2. Master spin 170 pro opto (speed controller)
    3. power supply
    4. NI DAQ USB-6353
    I have already run this motor by using transmitter and remot control, like RC planes fly. Now I would ilke to run this motor from computer. let me give you my setup:
    PC > DAQ > speed controller > motor
                                       ^
                            power supply 
    now I would like to use either matlab/simulink or labview, to control or run my motor in real time using generating PWM signal. can anybody help me out? Thanks in advance.

    Since you are wanting to use DAQmx and not any of the Motion software that is made for LabVIEW the examples will be very limited. I suggest playing around with the PWM and Digital Out functions to get an understanding of how they operate.
    http://www.ni.com/tutorial/2991/en/
    You can also take a look at this example below which uses DAQmx to control a stepper motor. This is a little different than what your DC motor control setup will look like but it should be good for reference if you understand how stepper motors work.
    https://decibel.ni.com/content/docs/DOC-6385
    I still suggest posting this in the general section of the forums as it will get many more views and thats really what your application is about. This forum will get more views for things like SoftMotion which is NIs motion control software. Since you are working with DAQmx however you would want people who work more frequently with DAQmx to view your post, which will be in the general section of the forum.

  • DC motor speed control using LQR controller

    can i control the speed of a DC motor using Linear Quadratic Regulator (LQR) controller in LAb view

    In short, yes. The best experience is when you actually have the LabVIEW Control Design and Simulation Module. Here are some examples related to this topic:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Case Studies\Mechatronics\DC Motor\CDEx DC Motor with State-Space.vi
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Case Studies\Mechatronics\DC Motor\CDEx Robust DC Motor.vi
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Control Design\State-Space Synthesis\CDEx LQR.vi
    Notice that you have much more examples of LQR and Motors under:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Control Design\State-Space Synthesis
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Case Studies\Mechatronics
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Case Studies\Electrical Machines
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Stepper motor speed control

    Dear Reader,
    I want to control the speed of a 4-phase stepper motor using LabVIEW 6i and PCI 6024E card. Hence I am approaching you for help and advice. I want to control the speed of a stepper motor, which is used for rotating the diffraction grating used in the monochromator.
    Please try and answer a few of my questions:
    1. Can I interface the stepper motor directly with the card PCI 6024E, or I need a drive for that purpose?
    2. I just want to rotate the stepper motor at a fixed speed, meaning that I don’t want to change the speed of the stepper motor in between, I need a few fixed speeds, what are the problems of controlling the stepper motor using the PCI 6024E cards?
    3.Have you been successful in interfacing your stepper motor
    with the 6025E card?

    I have attached a library about steppers from Brad Hedstrom. It is very old and I think he would write it differently today, but it answers all of your questions. Except the typenumbers of the interface cards and that is answered by: they all are ok.
    greetings from the Netherlands
    Attachments:
    stepper.zip ‏96 KB

  • BLDC Motor Speed from Controller

    In the tester I am building, I am having troubles acquiring a stable motor speed.  I need a stable speed so that I can control the motor speed to 1100 +/- 50 RPM.
    We have a compressor connected to a Dart 700BDC controller, and a cFP-CTR-502 counter input connected to one of the hall sensor inputs on the controller.  The counter is set up just to continually counting the number of pulses (counter overflow is handled within the test application).  The test application gets the counter value and timestamp from the Fieldpoint VI's approximately every 500 milliseconds. It compares these two items to the data from the previous iteration to generate an RPM.  I've attached a VI that has the routine that I am currently using.
    When I run the motor, I have RPM values that fluctuates beyond my 50 RPM window.  Do I need to tweak my routines to display a more stable reading?  Or is a different solution required?
    Attachments:
    Monitor Motor Speed.vi ‏13 KB

    Hi OlderJohn,
    The first you should try is lowering your sample time and perhaps even your proportional gain. Are you familiar with PID control. I recommend reading a great article on it here
    Joe Daily
    National Instruments
    Applications Engineer
    may the G be with you ....

  • Flash Web Gallery Slide Speed Control?

    Using LR 1.1 I put together (in the web module) and ftp'd to my web server a number of images of a dog show, as a slide show. I used the basic flash gallery template that comes with LR to do this.
    It works just fine for me but some of the viewers have asked for the ability to speed up or slow down the slides. Does LR have the ability to allow viewers to do that?
    Or on a more basic level, can I adjust the timing of the changes before I upload the gallery?
    I believe there is a speed control when creating a .pdf slide show but I can't find one in the web module.
    You can see the show (if you really like dog shows, or just want to see what I am talking about) at http://bobbaron.com/OKCClassic2007BW/index.html
    Thanks,
    --Bob

    One more Question: In the downloadable templates there is Web Gallery 3: In the Samplefile the thumbnails are all rotated a litte, how is that done?

  • [Solved] Asus L1366 mobo, cpu fan speed control

    Hi, everyone,
    I finally have this new core i7 system, to replace my old AMD athlonx2.  I have one question about the CPU fan speed control.
    I remember that in my old system, the cpu fan speed control works out of box, no configuration is needed.
    But when I install arch 64 on this new i7 system, the cpu fan is running at its maximum speed constantly while the CPU temperature is modestly low. I know there is a wiki teaching how to do it.
    However, I am just curious why it doens't work out of box any more? Does CPU fan control work for you guys out of box normally? especially the new Core i7 cpu users?
    Please let me know, really appreciated it.
    Thanks a lot.
    Update: the issue is solved, see my last post, the solution is blacklisting: asus_atk0110, instead use w83667hg.
    Cheers.
    Last edited by mark.altern (2009-10-01 08:18:18)

    First off, it would be useful to know what the sensors-detect script actually reports.
    Okay. How fan control works on Linux: First, navigate to /sys/class/hwmon
    Each of these folders, i.e. hwmon0, stands for a sensors monitor / fan controller on your mainboard that may control one or several fans. Inside hwmonN, there should be a subfolder called device, which contains several interfaces if your BIOS allows software-side fan control. You can read them with cat and write to them with echo.
    Examples:
    pwm1_enable shows if OS-level fan control is enabled (1) or disabled and in BIOS control (0). Changing fan speed won't work if this is disabled. (i.e. cat /sys/class/hwmon0/device/pwm1_enable reports 0 -> disabled; you could enable it with echo 1 > /sys/class/hwmon0/device/pwm1_enable).
    pwm1 allows to change fan speed. The values range from 0 (fan off) to 255 (full speed, 12V).
    fan1_input shows the current RPM if a fan is connected. You can only read from this interface. Its useful to check all of these in the each of the hwmon folders to find out if there is actually a fan connected to the fan controller (they often have more ports than mainboard manufacturers use).
    There might be a fan1_div, this is somehow related to how the kernel reads the RPM, I don't know how it works.
    temp1_input interfaces can appeare too, if some of the chips have temperature sensors located somewhere. I *think* lm_sensors places the core temperatures it reads from CPU (the coretemp-isa-000X thingies) in one of the hwmon-folders too.
    There might be interfaces for different fans in the same hwmon folder, i.e. pwm2_enable, pwm2, fan2_input, etc., all interfaces with the same index belong to the same physical fan connector, and all in the same hwmonN are managed by the same IC on your mainboard.
    Warning: These interfaces, if they work, control the fans directly without any kind of security measure. If you shut some essential fan down, it will stay off until you reboot your CPU shuts down.
    (If you see something likein0_alarm, in0_input, in0_max, etc. it's a voltage monitoring chip.)
    If one of those interfaces can do something, OS-level fan control does work, if none of those folders contain a working pwm interface, fan control seems to be unavailable.
    Sometimes there is an option in the BIOS to enable it, and for some BIOSs software-side fan control only works if dynamic fan control is disabled in the BIOS and fan speed is set to a static value - or vice versa.
    I don't know what you are using to control fan speed, there are many applications that use these interfaces, i.e. GNOME or KDE power managers, so I'm not sure what is happening:
    IF: Windows 7 enables OS-level fan control and sets it the RPM to those you observed and you have nothing that provides fan control in Arch and so fan control stays at BIOS-level, which might also read out a different sensor / the same sensor differently or it might be more conservative in setting fan speeds altogether;
    OR: You have something that provides fan control installed in Arch and it reads out a the wrong value supplied by lm_sensors and thus sets a higher fan speed.
    Anyway, possible solutions I can think of:
    Find out if you have some kind of fan control software and what it does. For example, I use the fancontrol daemon, I can't help you if you use something else.
    The wiki mentions how to assign a fan speed to a certain temperature sensors. You might assign it to a different one. For example, there are no sensor chips on the mainboard of my EEE (no temp1 etc.) so I assigned the fan speed to the temperature reported by the BIOS via ACPI (those are in /sys/class/thermal, also no "device" subfolder on EEEs):
    FCTEMPS=/sys/class/hwmon/hwmon0/pwm1=/sys/class/thermal/thermal_zone0/temp
    You could also change the MINTEMP/MAXTEMP values to one higher than those you actually want to compensate for the effect of lm_sensors reporting temperatures that are too high.
    It is currently not possible for a mortal user to change the coretemps lm_sensors reads, see this post, last paragraph.
    There is a configuration file, /etc/sensors3.conf, you can change sensor names and adjust offsets here, but only for the monitoring chips and their sensors that are on the mainboard.
    Last edited by Malstrond (2009-08-19 19:34:22)

  • Changing the EVB3 speed control

    How do I change the rotary speed control number on the EVB3 to accept controller change #82, which is what my Nord Electro is sending? I'm using the Electro as a MIDI controller for Mainstage, and I've got all three pedal jacks plugged in, but i don't want the sustain pedal to change speeds. What am I missing?
    Thanks,
    Stewart

    Duh...it's in the manual. Just change the Midi Mode in the EVB3 controls to NE (I think that might be short for Nord Electro)

  • How is the gallery autoplay speed controlled?

    How is the gallery autoplay speed controlled? I'm using the CADACPortfolio theme.

    Hi Kernelo,
    I think you are talking about changing the speed of the image slider in carousel in the cadac template. You need to make changes in the Javascript code for controlling the speed. This post has the information on it : http://forums.adobe.com/message/5060822#5060822
    Please let me know if you meant something else. Also, please provide us the page URL and screenshoot as well.
    Regards,
    Aishvarya Raj Rastogi

  • IMovie 10.0.3 on OSX 10.9.4 speed controls disabled on new projects

    Hi,
    Since iMovie 10.0.3 / OS X 10.9.4, the speed controls are disabled / greyed out for all clips added to new projects.
    However, I can still use the speed function on existing projects created prior the upgrade.
    Video Clips were shot with iPhone 5 and are imported from iPhoto.
    Do anyone experience the same issue ?
    And is there a workaround to this problem ?
    Thanks.

    *** update ***
    This bug only applies to new projects.
    I can still use the speed function on existing projects created prior the iMovie/OS X upgrade.
    I've just updated iMovie to 10.0.4 but the problem remains.
    Do anyone experience the same issue ?
    And is there a workaround to this problem ?
    I found a workaround for this issue, but it's neither convenient nor elegant. You have to duplicate and old project, created prior the last OS X update or prior the iMovie 10.0.3 or 10.0.4 upgrade, and remove all clips off the duplicated project, and there you have a clean project were all clips you'll add will be speed controls capable.
    Thanks.

  • Missing seek and speed controls on iPhone "iPod" app

    Yesterday I wanted to skip the end of a podcast so I brought up the speed control and clicked it to twice as fast, however just after I did this, the speed control and the line beside it that allows you to seek backwards and forwards in the podcast vanished. This is the same for music I play, so I cant skip forward or back in a song.
    I tried ending the application, restarting the phone, I can't see anything under settings for the iPod application. I really dont want to restore the phone for this, but now it's stuck playing on double speed and without the seeking control.
    Anyone have any ideas on what I might do?

    Hi lirril: Have you tried tapping the album art while the music or podcast is playing? That should bring the "scrub-bar" to the screen.
    Hope this helps
    Stedman

  • Motor speed implementa​tion

    My objective is to create code that will change the motor speed based off of user input and conditions. I am confused on how to get the motor input in. I am still new to this labview. I attached a block diagram for this if someone could lead me in the right direction it would greatly appreciated. With a timer for how long for the program to run before updating( I get that part). But I dont understand how to get the comparison to work correctly. When I say comparison I mean comparing the speed the user enters versus the max an min temp. I was reading and I think I would have to loop around the area I looped in the block diagram picture. Any help would be great like I said.
    Solved!
    Go to Solution.
    Attachments:
    Motor.png ‏15 KB

    I'm not too familiar with myRio, but if you program it the same way you do a cRIO, you will have to check if a digital line changes, and you need some time interval to count the number of changes over. The way I have done it in the past is check if your DI changes (you can store your DI line value in a shift register and check if the current value is greater than the stored value to indicate a change from false to true). If this change happens, increment a count. Also, keep a timer, say, for 100 ms. When the timer expires, stick the count into a DMA FIFO to the RT, and then let the RT convert pulses/time to whatever units you need it in. Does that make sense?
    CLA, LabVIEW Versions 2010-2013

  • Multisim dc motor speed controller skematic

    Where would I find schematics for a brushless dc motor speed controller to put into a Multisim circuit schematic?

    Hi Mikki1295,
    If you go to place->component, select Electro_Mechanical in the drop-down box in Group, then in the Family select MACHIENES, find the one you want in the component menu on the right. Same way for choosing the controller. Hope that helps.
    Regards,
    Derek Z.
    National Instruments

  • New Podcasts app - now no speed control!

    This morning, I updated to the newest Podcast app (version 1.2.1), as well as the newest iOS version (6.1.3). Now my Podcasts app doesn't have speed control! I read a review online that said it's supposed to look like this:
    But instead, mine looks like this, without all the features at the top:
    Am I missing something? Is there a way to customize it to show all those things at the top? Or did the new updates break something? Please help, since the speed option is the single most useful feature of Podcasts!
    Thanks

    This really ticked me off to think they would remove that functionality. It looks like I just found it for the iPhone, though for an hour podcast just concluded I went all through the interface with no luck at spreading up the podcast.
    So yes, it's still there, hopefully anyone looking can find the full screen album artwork within the interface to then touch and find the 1x, 1.5x, and 2x playback option.

Maybe you are looking for