Control of maxon dc motor

Hello everybody, I am new here and I am new with Labview. My project is a single link manipulator attached to a DC motor with epos2 50/5 controller connected to pc using usb. The goal of my study is to develop a control strategy to make the outputposition (angle) of the motor to follow a reference position (angle) using labview.
There are many problems:
what is the connection between epos2 studio and labview
how can l start to develop my own controller
l used example data recording.vi from epos library and l found that the position waveform graph display only for 100 ms .
If any of you all can help me it will be greatly appreciated. Thanks ahead. 

الرجاء كتابة السؤال بالعربية فهذا منتدى عربي

Similar Messages

  • Controlling brushless maxon DC motors using NI6229 PCI card

    Dear All,
    I have the EPOS 24/5 controller and PCI 6229. How could I control the motor to move in Labview 8.50? Is there any vi example?
    Do I have to buy CAN as the interface of PCI card adn EPOS controller?
    cheers
    dan

    Hi Michael,
    Thanks for your time to reply on my message.
    Below is my only HW available.
    1.ordinay dc fan(ex. exhaust fan of PC with two terminals only,(+)and(-)
    2.parallel port interface
    3.pci-6503
    With I would like to seek your help on how to measure the speed of an ordinary DC fan using the above resources.
    if I will be using parallel port\pci-6503 what will be the possible connection between the fan and parallel port?
    can you give me sample VI program.
    Your help is very much appreciated. Thanks in advance.
    Best Regards,
    toberts

  • Controlling Brushless maxon DC motrs using NI 6221 PCI Daq card

    Hi ,
    I have a NI 6221 PCI Daq (M Series) card. I need to know how to use it to control a brushless DC motor from maxon with digital encoder? Also I need to know how to access the daq from matlab 7.0 as i am not familiar with labview and i need to know where i can get the matlab drivers for the card. Also i am trying to learn labview in the course of time. So it would be great if someone can give me some good tutorials in labview for motor control.
    Thanks
    Venkat
    Venkat
    Message Edited by venkata83 on 11-24-2005 03:30 PM

    The lowest cost servo control option from NI is the PCI-7342 board which allows you to control two servo motors.
    Please have a look at the datasheet for a detailed description.
    Both, the 6221 and the 7342 provide synchronisation capabilities through the internal RTSI-Bus interface. This makes it easy to correlate e. g. analog values and motor positions.
    As the 7342 doesn't provide power you will need to connect the board to an external drive.
    Jochen

  • PID Control and Maxon EPOS 24/5

    Hello,
    I'm trying to control a Maxon RE-40 motor through a Maxon EPOS 24/5 motor controller. I'd like to use torque control, and eventually stiffness control, but for now I'm just hoping to do something super simple like current control. The attached VI is as simple as they come, but I can't find a set of control gains to make the system stable. I mounted my motor into an MTS Servo-Hydraulic System
    and oscilated the motor with a sine wave (1 deg amplitude, 0.5 Hz frequency) and no matter what set point or control gains I use, the PID output exceeds the maximum range I've specified (and I've been very generous with that). Do you have any ideas of what I might be doing wrong?
    Please help. I'm desperate
    Thanks,
    Brian
    Attachments:
    Current Control V1.vi ‏51 KB

    Hi,
    I am interested in doing torque control, but I think that's equivalent to current control for a DC motor. I can't open the VI you uploaded in your message. It's missing sub VI's that start with "PID." If you're willing to share your code, can you post all the VI's associated with it? I would like to send a particular current profile to the EPOS2 24/5 and have it execute the movement, and then send me back all the associated position data. Do you have this functionality?
    Thanks,
    Mary

  • 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

  • Softmotion control of piezoelectric linear motor

    I am struggling to understand how to use softmotion to control a piezoelectric linear motor.  The motors position is directly related to the control voltage.  In my case a 0-100000 position range is directly mapped to a -1 to 4 V control voltage range.  My understanding is that this type of control requires a position Feedforward calculation CO=(SP/100000)*5 - 1.  I am planning on adding this FF to the FPGA PID calculation and then letting softmotion handle the trajectory generation and PID effect to close the loop on position error.  Does this make sense as a starting point?

    Hi sachsm, 
    I was able to find a KB on implementing Feed-Forwarding in NI-Motion, but was not able to find any documentation on implementing this in SoftMotion. I am going to forward this information onto R&D for them to review and address. 
    Relevent KB:
    http://digital.ni.com/public.nsf/allkb/53BF23F982C3BF17862572AD00701503?OpenDocument
    Other than that, you sound like you're on track, I was able to find how SoftMotion handles velocity feed forward, but it doesn't mention much about the implementation. 
    http://zone.ni.com/reference/en-XX/help/371093G-01/nismlvhlp/control_loop/
    I hope this helps answer some of your questions
    -N
    National Instruments
    Applications Engineer

  • Control a 3 phase motor and convert input voltages into pressure values.

    Hi,
    I'm in my 4th year at university and I have been given a project that involves the experimental investigation of the interaction between fishing gears and the seabed. The work will consist dragging full-size or scale trawl components along a channel containing typical seabed sediments. I aim to create a LabView program that will allow me to operate the motor and analyze the 6 transducers I will be using.
    For the motor I desire to be able to:
    1 - Start the motor.
    2 - Define the speed it accelerates to.
    3 - Have the ability to switch off automatically depending on its speed and distance it has to the end of the rig to avoid the trolley crashing.
    For the 6 transducers (4 pressures, 1 load cell, 1 horizontal displacement) I desire to be able to:
    1 - Convert the voltage signal into the relevant unit of measurement.
    2 - Record data at a rate of 10Hz.
    3 - Output the recorded data into a file and also onto graphs.
    I also intend to introduce an emergency shut down facility for the whole system.
    I have started doing the built-in tutorials so i am able to do the basic routines. However I have no idea where to start creating a program to control a 3 phase motor and to be able t convert voltages from transducers into pessures and distances.
    I have version 8.5 if anyone has any information or advice i would greatly appreciate it .
    Thanks,
    Grant.
    Message Edited by grantstephen on 03-14-2008 11:28 AM

    You should try in the LabVIEW forum.  This forum is for Employers with LabVIEW job openings.
    http://forums.ni.com/ni/board?board.id=170
    =============
    XP SP2, LV 8.2
    CLAD

  • Controlling more than 4 motors simultaneously using 7344

    Is there any way of controlling more than 4 motors by using a multiplexing scheme. or can it be done in any other way.

    The 7344 supports four motors (servo or stepper) simultaneously. As long as you are using stepper motors you could also think of switching the motion signals with an external relay multiplexer to more motors but then the multiplexed motors couldn't run in parallel. Depending on your application this would mean that you would have to switch a lot of signals (step, direction, limit switches, inhibt outputs,...) and I don't think that this would make much sense. With servo motors this approach wouldn't work anyway as the control loop would be interrupted.
    If you want to control more than four motors you better should use another PCI-7340 (2 or 4 axes) or a PCI-7350 (2, 4, 6 or 8 axes).
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Can DAQ 6008 control degree of servo motor ?

    Hi, I'm new using DAQ and LabVIEW. I've project to control degree of servo motor. can device NI-DAQ6008 control it? I ever used pwm example but I had some error before the program running it.
    example motor servo which I want control.
    thank's

    Hello NMaolana
    This is another thread that actually talks the same issue https://forums.ni.com/t5/Multifunction-DAQ/usb-6008-dc-stepper-servo-motor/td-p/2320144  and in there you can see that you can't do a proper control for a servo due to the jitter given the fact that this device only has software timed outputs. If you would like, read through said thread.
    Juan B.
    National Instruments

  • Feedback application for a maxon brushed motor controlled with a EPOS2

    Hi,
    I want to implement a VI that controls a linear stage moving vertically. On the platform that is mounted on the linear stage i sitting a load cell. The platform has to move up and down in a sinusoidal kind of way, maintaining a constant load on the load cell (one can imagine a piston and cam system, where the piston is applying the load).
    The load cell is connected through a PCI 6014 and is working fine. 
    The computer can communicate with the motor through the "EPOS studio" provided by maxon, but it cannot perform such an advanced task and therefore I decide to use labview.
    I'm trying to modify the VI that is provided by maxon by implementing a feedback with the voltage from the load cell. I want the motor to move in such a way to maintain the voltage from the load cell constant. 
    I'm not very proficient with labview and I would like to know if this is possible and if so can anyone give some directions?
    Thank you very much,
    Matteo 

    Dear Jochen,
    Thank you for your answer.
    1. Which type of EPOS drive are you using? Could you please provide a link to a datasheet? 
    I am using a EPOS2 50/5, see attached pdf.
    2. Are you using a CANopen interface to the EPOS drive and is there also an option to use an analog signal as torque command?
    No, I'm not using the CANopen interface, but the labview VI provided by maxon (see attached).
    No, the controller has no input analog signal capability. 
    3. Are you using LabVIEW for Windows?
    Yes. 
    4. What's the voltage level of your load cell signal?
    +10V to - 10V 
    5. Do you have any idea about the required control loop timing?
    I'm not even sure I understand what you mean, so no, I don't.
    I just want to add that my application won't require a high speed. The vertical motion will be around 2 cm/s at most 3 cm/s and I was considering that quasi-static.
    Thanks a lot,
    Matteo 
    Attachments:
    EPOS2-50-5-347717_09_EN_303.pdf ‏472 KB
    maxon EPOS.zip ‏1520 KB

  • How to finetune the force control of an AC Motor Linear Actuator?

    Hello,
    I
    am hoping to find some help here with the following problem, which I am trying
    to solve for several days now....
    I
    am using the UMI-7774 and an AC servo-motor-driven linear actuator to do
    force control. Basically, I need the actuator to apply a constant force and
    react quickly to force changes. My system setup is as follows: I am using
    a PCI-7344 Motion Control Card to provide the analogue command signal
    (0-10V). This signal is supplied to the actuator controller (through a
    UMI-7774), which transforms the command signal to an amperage command signal
    (0-2.17Arms). This is the signal controlling the actuator’s torque. The actuator controller is working in torque mode. I use
    a Kistler PZT force sensor (ring type) and a Kistler amplifier as my feedback
    source. The signal from the sensor amplifier is directly connected to the ADC of the
    UMI. I am using MAX to tune my system and define a PID controller that gives
    me a good step response.
    (1)
    The results so far show that it works in principle, but I believe my system is
    not yet tuned optimally. However, the best step response results I have
    obtained and the PID parameters I used are shown in the attached files. As I am
    relatively new to this area, could you please advise me on how I could further
    improve the step response of the system? The current rise time and
    overshoot values are very good (a 3% overshoot would also be acceptable),
    but the observed undershoot is causing delayed settling. Also, the oscillation
    observed during undershoot is something I would like to remove.
    (2)
    I have tried increasing Kp and Kd values. Increased Kd does not seem to correct
    the oscillation problem. On the contrary, it destabilises the system. Increasing
    Kp causes an unwanted overshoot.  I have also tried to reduce the
    Derivative Sampling Period but that gave even worse results (System Inertia: J
    = 1.8629*10^-5 Kgm^2).
    At
    Td=2 the actuator was retracting on its own to its home position when I set Ki>=8.
    I got the most stable behaviour using Td=4. Is there any other way I could
    improve the actuator’s response?
    (3)
    I have seen that in some cases people have used a “double PID loop” one
    for the encoder feedback and one for the force feedback. Do you believe that
    this would improve system behaviour? If so, how could
    I implement two PID loops? I mean, MAX only allows me to enter
    one set of PIDs....or is there a possibility to set up a second PID-loop
    somewhere?....I have seen that the "Force Control Using Monitoring
    Force" example essentially works with two Closed-loops, but one of them is
    implemented in the application software and this would result in a
    non-deterministic and comparatively slow response of the system, right??
    Sorry for the long post and thanks
    a lot in advance for help and advice.
    Attachments:
    Force Conrtol Loop Settings Actuator-BEST.JPG ‏41 KB
    Step Responce Actuator-Force Feedback-BEST.JPG ‏58 KB

    Hello Jochen and thank you for your very nice reply.
    The past few days I have been trying to implement your advice, but unfortunately I did not have much success. Let me start by saying that explanations to my problem, the 2nd one looked more probable, as I always make sure that there is contact between my actuator and the workpiece I am pushing against. So, I unmapped my DAC by setting up the axis as a stepper axis with no feedback and I used the Load DAC to apply voltage and see when my actuator starts moving. That gave me the upper and lower limits for the Static Friction Compensation filter (please refer to attached image). I then implemented this filter and tried to retune the PID parameters, but the results I got were poor.
    I can now adjust the parameters so that there is no initial spike and undershoot, but now the force ramps up fast to a specific value and then keeps rising slowly. Vibration is observed at the point of transition from fast to slow ramp-up (ref. Step Responce Actuator-Force Feedback-WITH FILTER_v2).
    I could not eliminate the steady state error. When I tried to eliminate the steady state error by increasing Ki, or tried to create an initial overshoot by increasing Kp, I always ended up with an unstable system or a system with a response similar to the one shown in attached figure “Step Responce Actuator-Force Feedback-WITH FILTER_v1”.
      Do you perhaps have an explanation or comments for this behaviour? As for your other questions:
    Sensor Bandwidth: N/A, Charge Amplifier Bandwidth: 200 kHz, Low pass filter: No (Amplifier has the capability though)
    PID Update Period: 250 microseconds (fastest available)
    NI Motion Version 2.3
    Labview Version 8.5.1
      Thank you,
    Thomas
    Attachments:
    Step Responce Actuator-Force Feedback-Filter Settings.JPG ‏28 KB
    Step Responce Actuator-Force Feedback-WITH FILTER_v2.JPG ‏69 KB
    Step Responce Actuator-Force Feedback-Filter Settings.JPG ‏28 KB

  • How it is possible to control torque of dc motor by 0 rpm

    I want to realise a stand to test elements to get the max torque. The elements do not rotate. My plan is to take a dc motor if it is necessary additional a gearbox and impact it up to breakdown. In fact controlling dc motors torqu sounds easy because it is commensurate with the current.
    My requirements are:
    - possibility of setting dI / dt = dT / dt independant of U
    - I-signal logging as indikator for the torque
    - T<10 Nm
    Maybe someone of you has a better idea or a proposal how to solve my problem. I still do not have any equipment for measuring. So it is necessary to buy smth

    Hello,
    to give you some good advice there are several Information which are helpful.
    Do you have some Datasheets of your Motor, Converter and Gearbox.
    Do you want only measure or do you want also control and regulate the components of
    your test stand.
    After Data Acquisition do you want to analyze the Data or only generate an Report.
    Best Regards

  • Vi control of Thorlabs TDC001 motor control,need to generate a ref # for ActiveX

    I am trying to create a custom program for control of a Thorlabs TDC001 motor controller.   The stand alone Thorlabs software works,  I also created a Active X window using the Thorlabs software in Labview.  I would like to create an automated look with specific directions for the motor.   I think my problem is not being able to generate a valid device reference ID at the start of the process to pass to each of the subroutines.  Is there a subVI for this?

    Hey LIBS,
    Unfortunately, I am not familiar with the Thorlabs motor controller or its software's ActiveX interface. When you created the ActiveX window in LabVIEW, were you able to control your motor? Since the control of you motor is all done through ActiveX, the only way to get a device reference would be through the ActiveX interface. You will want to check the properties and methods associated with your Thorlabs ActiveX control to see if there is such a device reference available.
    Hope this helps.
    -Ben
    WaterlooLabs

  • Controlling a 24V .2A motor

    I had no answer on getting a MID-7654 to control a 24V, .2A servo, so I thought I would ask it a different way.
    Is there any way at all to control a 24V, .2A servo through LabVIEW? I have found quite a few sites with stand alone controller/drivers, but I have not run across anything that will work for controlling this with labVIEW. Granted I could probably control one of those stand alones with serial commands, but I think that may be too slow for my application.
    Another idea was to use a UMI-7774. Will the UMI-7774 do it alone or do I still need a driver/amplifier. If I do, any suggestions as to which one?
    As you might have guessed, motion control is very new to me and this servo was requested by my customer, so I need some help making it work.
    Thanks,
    BobMessage Edited by Bob Y. on 05-17-2005 04:14 PM
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

    Bob,
    you could control the 24V motor with the MID-7654 by adding inductances in series to the coils of the motor. Ideally the inductance should have the same ratings like the coils in your motor. This inductance would act like a inductive voltage divider but of course the drawback is the fact that 50% of the power is wasted in these additional inductances.
    Probably a 3rd party drive would be a better solution. The UMIs are active breakout boxes for 3rd party drives and they add filtering and isolation but they don't drive power by themselves.
    A lot of our customers use 3rd party drives in combination with NI's motion control boards. Typically those drives provide a command input (-10V to 10V) to connect to motion control devices like the NI-73xx boards. The serial port is used for drive configuration.
    You might also have a look at our Drive Advisor. Here you can find a list of drives that have been tested with NI motion control boards. Some of them provide also direct connectivity to NI-73xx boards without the need of a UMI. I point out explicitely that there are many many more drives available that are not on that list but that work also perfectly with our boards.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • CPU-Usage during control of a DC Motor with the PCI-7344 board?

    Hello!
    I want do control a DC-motor (no stepper motor). Now i´m using the PCI-6527 board and simulating the delay between "high" and "low" on the Simulate-signal-vi. This works fine while no other process on the PC is running. The CPU-usage rises up to 100%. Is it possible to use the PCI-7344 board for controlling my DC-motor and having enough CPU resources to do other things like capturing pictures with a cam at the same time? The CPU is a Pentium 3 1Ghz.

    The PCI-7344 is a perfect solution for your problem. This board is designed for motion control applications and it's running everything on its own DSP and CPU:
    Trajectory Generation, PID control, limit switch monitoring and so on.
    Thus the PC's CPU is free for other tasks. Please note that you need a position feedback signal from a quadrature encoder.
    Best regards,
    Jochen Klier
    National Instruments Germany

Maybe you are looking for

  • Certificate problem, can not delete it on my IP 4S

    Hi all, i have got an iphone 4S and I need to know where I can delete a certificate. I already reset the network settings and I already deleted my e-mail account (no cloud-mail-account). Unfortunately without success. thx in advance, Martin

  • Delete a row from a data object using an AQ-driven EMS

    Hello, technetwork. I need to show the contents of a table that changes frequently (inserts, updates and deletes) at ORDBMS 10g in my BAM dashboard. What i have done is: - Create two different queue tables, queues. - Create two triggers: one for "AFT

  • Logic 9.1.8  !!!!

    I don't know about anyone else, but this new version goes along VERY smooth....have worked all day and not a glitch,no laggy stuff, and it's very responsive. It's working GREAT!!!!  Like the commercial.... I'm happier than a witch in a broom factory!

  • DVD_RTAV Folder saying "you don't have permission to see its contents" HELP!

    Hi Community, I have bee going thrugh internet posts for an hour! Tried everything. On a DVD there is a folder called DVD_RTAV. On the bottom right of that folder us that little red circle with the white bar in it. I cannot open, nor can I change its

  • Automatic Batch Determination in MIGO

    Hi, We have batch determination set up for inventory management and works correctly. However, everytime we go to MIGO, we have to click on "Batch Determination" icon. Our requirement is that system should be able to determine the batch automatically