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

Similar Messages

  • Where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable.

    where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable. Thank you.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • I need an application for my iPad that is compatible with excel.  I appreciate there is a number of options, However i need to be able filter columns! is this possible

    I need an application for my iPad that is compatible with excel.  I appreciate there is a number of options, However i need to be able filter columns! is this possible.

    Note that I have not tested either of these and they will not be supported by Microsoft. 
    1. Copy your new version of Silverlight.exe to C:\Program Files\Microsoft Configuration Manager\Client\i386
    (you'll have to re-distribute the client package after this).
    OR
    2. You could edit the ccmsetup.xml file with an alternative location for silverlight.exe
    </Item>
     <Item FileName="i386/Silverlight.exe" FileHash="417B442E128D821119008ACEEEE6CDC2A41224377A829B6EC52BABA2724F0151">
      <Applicability Platform="ALL" OS="ALL">
       <Skip>Embedded</Skip>
      </Applicability>
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Looking for reference design about motor control

    hello everyone,
    i want to design a motor control system (PMSM) based on zynq. is there any reference design for me to develop the software with vivado 2014.4.please can you reference me a link ? thanks

    According to the datasheet, digital lines are individually programmable as either input or output.  Other than the two you need to reserve for your counter tasks, all the other digital lines should be available in the normal way.
    Note too that while certain specific PFI lines are the defaults for the counters, you can program the counter tasks to use different PFI lines instead.  This may help if either of the defaults conflict with DIO that's already been wired up.
    -Kevin P

  • 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

  • Advanced, Connected, Industrial Motor Control with Zynq-Take 2: The Avnet Intelligent Drives Kit II

    Avnet has just announced a revised Intelligent Drives Kit II for advanced, connected motor control based on the Xilinx Zynq Z-7020 SoC. The kit includes:
    An Avnet ZedBoard Z7020
    Xilinx Vivado Design Edition voucher
    Analog Devices AD-FMCMOTCON2-EBZ Module
    Brushless DC motor: 24V, 4000 RPM, with Hall sensors and a 1250 counts/rev indexed encoder
    8Gbyte SD card programmed with application
    Ethernet cable
    HDMI cable
    Micro USB cable
    12V ZedBoard power supply
    24V AD-FMCMOTCON2-EBZ power supply
    Linux drivers, application software, HDL source, reference designs, full schematics, and Gerber files
    MathWorks Motor Control Design Package (optional, North America only)
    Dynamometer dynamically adjustable load system (optional)
    Avnet Intelligent Drives Kit II
     

    Just to clarify one of the bullets, the MathWorks Motor Control Design Package is available from Avnet in North America, but the component products are available worldwide from MathWorks directly. Visit mathworks.com/zidk for a list of required products, getting started information, and links to tutorial webinars, or contact [email protected] for more information.
     

  • Motor control with 6024e

    I would like to set up a lab to control 1 to 4 axes using the 6024E card.
    Is it possible? I could do my own signal conditioning and amplification.
    I intend to try to use both stepper motors with some closed loop and brushless motors also with closed loop.
    Has anyone got some example solutions for this including what type of motors were used + labview VIs.
    Thanks
    Olivier

    I'm not sure if that would be possible/ or at least worthwhile, using one e series card. Have you considered using a motion control card? This will make the hardware and software implementation so much easier, and could be a cheaper solution in the long run:
    http://www.ni.com/motion/

  • 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

  • How can I get Firefox version 5? I use an application for banking that doesn't work with version 6 yet.

    I am using an application for banking with Bank of America that doesn't work with Firefox 6 so I need to install Firefox 5 until Bank of America can update their app to work with Firefox 6. Can you tell me how to find the download for Firefox 5?
    Thank you

    I have an old iPhoto version and it still works with Mavericks, the version before yours, that is puzzling.

  • Maxon motor control with LabView

    Hello everybody, I am new here and I have been trying to learn how to make this process work for a while and I have ran out of options. LabView is very hard to comprehend.
    I am trying to control a Maxon motor using the epos 24/5 controller. I have a vi that does what I need to do, but I need to find a way to make the process run faster. Basically is going to control a wing that is going to go back and forth at very high speeds. I am not sure what I need to do, also I would like to generalize the process by being a able to input a function or a position wave of my choosing. If any of you all can help me it will be greatly appreciated. Thanks ahead. 
    Solved!
    Go to Solution.
    Attachments:
    Absolute Position Attempt.vi ‏26 KB

    Davide,
    I found some screen captures, this vi worked really well the only problem I ran into was the I could not adjust for the inertia of what I was controlling so it would  not follow the sinousoidal wave I needed. You can do a similar set up for analog input for position.
    I highly advise of learning labview properly first, instead of just going at it. As starting small knowing what is going on( a lot of little things) and working your way up.
    (i had help in this one so some of the details of the control such as outputting of the digital signal I do not comprehend fully)
    Carlos
    Attachments:
    Capture1.JPG ‏141 KB
    Capture2.JPG ‏263 KB
    Capture3.JPG ‏170 KB

  • Spindle motor control with labview

    Hi
    I want to control the spindle motor with Labview. It is maxon motor EC 32 with encoder and controller. I can control it with the GUI software. But, I am not sure that there have any such options in labview to control the motor? Please let me how I can control this spindle with the help of labview.
    Thank you for your co-operation.
    Best Regards
    Azim

    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

  • DC Motor Controlling with ANSI C & DAQ Card

    Hello,
    I have 2 DC motors and a sensor. I have a NI Daq Card and i have a NI Connector board. I am trying to control DC motor with based on sensor values. Based on the conditions motors should move forward or backward. I am also using motor driver, i already connected my DAQ Card to computer and Connector block and i connected my motors to motor driver and my motor driver to connector block. And i also connected my sensor to connector board.
    I gave you a HIGH LOW example which is ritten in PIC BASIC. What i am trying to learn is how i will write in ANSI C and use with DAQ card. And with which function i can read the value of the sensor? Normally if i read port in PIC Basic i will easily read the value.
    I checked the DAQ CARD ANSI - C Examples but they aren't too clear. So this i just wanna ask someone who know this.
    And to show what i exactly mean, here are some code written in PIC BASIC
    INPUT PORTB.0                          ; Light Sensor
    OUTPUT PORTB.3                     ; Left Motor Forward
    OUTPUT PORTB.4                     ; Left Motor Backward
    OUTPUT PORTB.5                     ; Right Motor Forward
    OUTPUT PORTB.6                     ; Right Motor Backward
    ; to make code easy to read we are defining symbols for our ports:
    SYMBOL             LSENSOR                 PORTB.0
    SYMBOL             LMOTORF                 PORTB.3
    SYMBOL             LMOTORB                 PORTB.4
    SYMBOL             RMOTORF                 PORTB.5
    SYMBOL             RMOTORB                 PORTB.6
    Our functions:
    TURN_RIGHT_FORWARD:
    HIGH   RMOTORF
    LOW   RMOTORB
    LOW   LMOTORB
    LOW   LMOTORF
    TURN_LEFT_FORWARD:
    HIGH   LMOTORF
    LOW   RMOTORB
    LOW   LMOTORB
    LOW   RMOTORF
    GO_STRAIGHT_FORWARD:
    HIGH   LMOTORF
    HIGH   RMOTORF
    LOW   LMOTORB
    LOW   RMOTORB
    GO_STRAIGHT_BACKWARD:
    HIGH   LMOTORB
    HIGH   RMOTORB
    LOW   LMOTORF
    LOW   RMOTORF

    Hey there,
    I noticed that you have posted here (http://forums.ni.com/ni/board/message?board.id=250&message.id=31497) and got some answers
    Might be worth sticking to that forum.
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • Dc motor control with H-Bridge..DAQ

    So I have a USB DAQ 6008, DC motor, Hbridge and 2 Limit switches...
    What I need to have done is to control a DC motor so that it turns on for a 1 second and turn off for 2 seconds....and then as it approaches a limit switch it continues in the opposite dirrection and then for the switch vise versa...
    So far i can only turn on the motor but no timing sequence...
    I am kinda new to labview...so any help would work such as a tutorial or some guidance...thanks

    Hi cool,
    I'm not sure if the 6008 is the best option.  You may be able to do it by setting up a continuous analog output task.  Then you can use the DAQmx Stop VI to stop the task after 1 second and then the DAQmx start to start it again after 2 seconds.
    Justin D.
    Applications Engineer
    National Instruments

  • Tetrix DC motor control with Lego Mindstorm

    Hello, i am trying to finish an ongoing project which endpoint is to be able to graph equations on a white board by using the Lego Mindstorm and tetrix dc motors. THINK OF AN ARM. the problem i have been running into is that i do not know where to begin as synchronizing two tetrix dc motors seems to be impossible. if anyone has anything please let me know thank you. 

    Hi Lals25,
    I found a couple of articles that can come useful for you when trying to synchronize the motors. 
    Synchronizing Two Motors
    How to Calibrate NXT Motors to Travel the Same Distance
    Controlling NXT Motors
    Best Regards,
    amezam

  • Step motor control with a time delay

    Hi all,
    I am trying to control a step motor to move in vertical direction by Labview2010. The specific Labview function blocks are created by the manufacturer of the step motor. Now the axis can move up/down properly but my question is that I want it to move with a time interval. For example, we set the desired position to 10mm and waiting time 1s. When I click on the start button once only the axis moves 1mm and wait 1s. Then axis moves another 1mm and wait 1s. This action will obviously repeat 10 times until the axis reaches 10mm position.
    I will be very thankful if someone could give me some hints.
    Best regards,
    Nicky
    Solved!
    Go to Solution.

    You're welcome
    You should some more to the code so that it's more reliable. There might be some miscalculation between the travel distance and the resolution, i.e. 5mm travel and 2mm resolution will give the forloop 2,5. This should be either 2 or 3. I'm not quite sure how the for loop handles this. I think it will round to nearest. You should anyways check it out. Also avoid using 0mm.
    Good look with your project 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

Maybe you are looking for