Step by step with NI 9503 motor control: cycle of use can be 50%

Hello world

I am using the module NOR 9503 with a cRIO 9006 to control an engine step by step using this module to rotatate a number of measures (480 steps) can change the direction of rotation. The frequency of the signals phase should be 200 Hz. What I need is a simple open-loop drive. No need to torque smoothing, anti-resonance coefficients, angle of correction... etc.

I tried using the example project in Labview "NOR 9503 Stepper point Position Drive". I changed so that I could set the market factor for each phase as a parameter (to 50%). Please find attached my project.

The question is when I run it, generated signals have the duty of less than 50% of the cycle. You can find oscilloscope capture in the folder "Capture". I don't know what the problem is. Please help me. Thank you very much.

I have the Labview 2014 and SoftMotion toolkit.

Best regards

Hi Paul,.

Thak you for your help.

My need is to drive an engine with 200 Hz frequency. Generate an output signal that will have this frequency playing on its cyclical report? The idea is to generate a 2 kHz PWM signal and run of 99% for a half of the period (2.5ms at 200 Hz) and then change the operating factor to 0% for the second half of the period. and so on. I think that in this way we have a resulting signal of 200 Hz.

But the challenge is to know how to generated 4 output signals? and how to change the direction of rotation?

Best regards

Lahcen

---------------------------------

Tags: NI Software

Similar Questions

  • Help me build a stepper motor control in LV?

    I need control a single linear axis slide that is driven by a motor nema 34. It will be very simple move, start, move at a constant speed, stop, return. I do not have the engine.  I can use a controller and a software company that sells me the slide, but prefer to use Labview.

    I currently have a PXI chassis with a 6713 or 6704 available, or a '2 M Gate FPGA and cRIO-9073' with a NI 9401 I'll take delivery of every day now. I don't know much about the system in real time, but I have to learn it soon in any case.

    Can I use my existing hardware/software to create a stepper motor control, or at least can I use Labview to interface with a motor drive step by step if this is not possible. I am currently looking at a 34T 1 Vexta engine, but do not know much about the stepper motors and do not really want.

    Edit: Should have mention that I LV 8.6, with no motion software.

    Engines step by step to have two power circuits creating magnetic fields perpendicular to each other inside the engine (in mathematics a certain sense anyway) you can consider working like pistons on a crankshaft which are out of step 90 degrees. You can use LV to manipulate these two. Want to make their vector sum in different directions while moving. Imagine making a point on a chart around the origin orbit. You need to consider things like the speed at which you can start the dot in orbit. Engines step by step can't go very fast if you add the requirement that the application start and stop without having to build your own ramp.

    But it would be a big enough work for all, but more simple movements. You will need to learn less about stepper motors if you buy a motor controller that supports ASCII strings on a line of serial port as its instructions. I did recently with good results. LV must compose strings and write to the serial port of the PC. Having the engine go to a post 2205 units requires composing a string like this:

    d 2205

    go

    It works fine without another component or software purchases.

    I did something a little more complicated and wish now I had started with a decision to use the material in motion control of OR, or at least look at more the issue. When things are more complicated, using a serial port as the bridge between the PC and whatever the microcontroller is located in the drive motor starts to introduce limits you can schedule around with a lot more trouble.

    You have many options depending on your purpose what is and how much trouble, you have to take.

  • How to remove a step with the polygon Lasso tool

    How to remove a step with the polygon Lasso tool

    In PS, all you have to do is to hit the DELETE key and you can go back a little with the polygon Lasso tool. How to accomplish this in Fireworks?

    Another option that gives you a lot of control is to use the tool pen instead of the polygon lasso. Because it's a vector path, you can refine the outline very easily using the tools of feather and Subselects and when you are satisfied with the result, click on modify > convert a path to the top. You can even choose to keep or delete the vector path in the preferences panel.

    HTH

  • Using step by step as an encoder motor

    IAM using 4 engine not unipolar stepper to coil with 48 poles, and I found that I can use another engine step by step as an encoder. IAM working on a project of education - and the equipment that I have is Council NI ELVIS with Labview data acquisition... I need to know what steps I have to take to use another engine step by step as an encoder.

    Thank you

    Hey SK0480,

    You can do this, but you have to build other circuits. Here's a simple circuit using 2 comparators. This pattern can also be useful for you. Hope that helps!

  • need suggestions on the way to a position on a motor control with current continuous

    Hi, I'm a newbie with labview

    I'm doing a position on current motor control continuous. I use a USB 6259 to generate an output voltage and acquire the angular position of a coder.

    I enclose my system of proaction

    How can I transform into a feedback system, with a given reference signal?

    Thank you

    The "cascade dc motor speed regulator" example uses the Control Design and Simulation Module, and it is thought to control a motor which is simulated. Since you have to acquire data from a real system the standard while loop is correct.

    With respect to the operation of PID control, you can take a look at the following examples:

    Control input PID Counter

    PID Control-single channel

    PID Control-Advanced

  • motor control not to no - heat - how to put in a mode to limit the dissipation of heat from the drive?

    Hello

    I use a system using a SMU with 2 Motors step by step NEMA34-6, driven by the readers of SMD-7621.

    The system needs to be powered 24/24 7/7.

    Most of the time, the engine didn't need to spend...

    It seems that the engine still somehow braking mode 'active', and the player constantly dissipate heat, even if no movement is required.

    I measured the temperature of the steady state of the reader, who is around 50 ° C, measured on the heat sink aluminum.

    It is safe to have the drive constantly at this temperature, 24/24, 7/7?

    Is it possible to move the reader into a kind of mode 'sleep', when no movement is required by the control? Would this mode, if it exists, decrease the temperature of the drive?

    I control the system using Labview on an SMU using a surfboard OR 73xx, so this mode should be controlled via the code of Labivew, in which I could detect situations when I will not have to move the engine more...

    Any help on this will be greatly appreciated.

    J.F.

    Yes, this is the setting you should change.  This player is actually a player movement applied Productss.  I do not know how critical it is to keep your position.  It is possible to lose the position a little bit if you go all the way up to 0%.  For example, if you use microstepping, and you reduce the current to 0, the engine could jump to the next full step.

  • How can I control external devices using a stand-alone touchscreen with a LabVIEW app

    For my senior project my group design and created a vehicle for extended range hybrid with 90 Li + battery which is charged by a 15 kW generator and/or who is also charged by a 5 kW fuel cell. Currently, our system is able to measure the tension on batteries and display them on a laptop via LabVIEW. To process these data, we use a cRIO FPGA. What we would like to do now, is having a touch screen for the pilot to choose which loads of source of battery power so that monitor a pressure reading from the fuel tank.

    What kind of touch screens to LabVIEW to be downloaded on and used for controls?

    A cRIO has the necessary capacity to supply such a screen and handle the transfer of the data from the sensor fuel and relay (for turning on and off will deepen)?

    Do I need an additional license to create stand-alone applications and how I would go about creating a stand-alone application?

    Sorry for the question as much. Any help with the answer. Thank you!

    This looks like a very interesting project.  If you are interested, National Instruments organizes an contest of Design student where you can win cash or a trip to Austin for NIWeek.

    steve215 wrote:

    What kind of touch screens to LabVIEW to be downloaded on and used for controls?

    NEITHER sells computers touch screen that can be used to control LabVIEW applications.  You can find more information here: HMIS and industrial touch panels and here: LabVIEW Real-time and Touch Panel Deployment and replication resources. Our computers 6-inch touchscreen , run Windows CE, programming on them is a little different from the programming on a full Windows operating system.  You can find useful getting started with LabVIEW Touch Panel Module .

    You can use third-party with the LabVIEW Touch Panel Module devices, although it takes a deployment license for it.  More information can be found in the getting started guide.

    If you were able to send the information of cRIO on a network (which according to your description, seems unlikely), you can use a smartphone to control your application.  More information on our community of Smartphone group.

    steve215 wrote:

    A cRIO has the necessary capacity to supply such a screen and handle the transfer of the data from the sensor fuel and relay (for turning on and off will deepen)?

    If you use the 6-inch touchscreen panels, they need 18 to 32 VDC (the fuse becomes an open circuit if the input level exceeds 33 VDC).  The transfer of data from the switching relay can be monitored and changed with the touch screen.

    steve215 wrote:

    Do I need an additional license to create stand-alone applications and how I would go about creating a stand-alone application?

    If you have traveled the road of the touch panel, you need to purchase the LabVIEW Touch Panel Module and a touchscreen.  Touchscreens OR have a touch panel deployment license.  Guides step by step to create the stand-alone application are in the getting started with LabVIEW Touch Panel Module .

    Kind regards

    Elizabeth K.

    National Instruments | Sales engineer | www.NI.com/support

  • "Question of possible priority with the operator to control flow.

    Hi guys

    I have the following problem:

    Yesterday, I did an upgrade from debian wheezy distribution Debian jessie.

    Since then, I had a problem with a plugin which I use for Icinga a surveillance system.

    When I run it, I got the error that there is a 'undefined subroutine.

    I read on google that I can fix it, with resettlement vsphere SDK, but the installation blocked to "CPAN is to download and install the pre-requisites Perl module"SOAP::Lite.

    Can I skip this step with Ctrl + C, and at the end he says «this Setup program has installed successfully...» ».


    But when I run the Plugin I get the error message 'problem priority Possible with operator control in the /usr/share/perl/5.20/VMware/VICommon.pm line flow 2147' and the whole stucks plugin.

    I tried the next step that I found in this forum and the error message does not appear, but the stucks again plugin...

    Re: VMware-vSphere-Perl-SDK-5.5.0-1384587 broke up with perl 5.20

    I also have Perl 5.20.2...

    Can you guys help me?

    Vinzenz

    OK I could fix it...

    I changed the line 2147

    "

    return (meaning $user_agent-> cookie_jar and)

    $user_agent->-> as_string cookie_jar don't ");

    "

    And this time I waited for a long time and I get an error message that there is a problem with the SOAP.

    The solution was to downgrade Net-HTTP and libwww-perl with the following commands:

    Perl - MCPAN-e shell

    o conf urllist push http://backpan.perl.org

    install GAAS/Net-HTTP-6.03.tar.gz

    install www-perl-6.03-tar.gz GAAS/lib

    The second command loads the old versions of the urllist.

    Thx for your help and I hope that I can help others with the same problem.

    Vinzenz

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

    Hello

    I have a cRIO-9014 with a NI9505 DC brushed servo drive module and I would like to program the FPGA to PWM and encoder, quadrature, interfacing using the functions of intellectual property intellectual property mentioned in "CompactRIO Motor Control Basics Tutorial":

    DX of encoder quadrature method (FPGA, using SCTL) .vi

    Pulse Width Modulation (FPGA, using SCTL) .vi

    I did a search at ni.com/ipnet but I could not find them.

    Where can I find free downloadable IP cores for the blocks of PWM and encoder to include them in my interface FPGA program?

    Thanking you in advance,

    Manual

    Found by myself (google search!) to:

    https://lumen.NI.com/nicif/us/codepowelecguide/content.XHTML

  • DC motor control - axis of movement back

    Hi all

    I am currently (trying) to design a control of a servomotor system.

    I use a cRIO 9082, NI 9514 C-module, a servo-drive Kollmorgen AKD and a Kollmorgen servo.

    My main goal is to make the engine during continuous running + 15 deg to-15 degrees and with varying frequencies.

    I checked my system using the 'straight axis' operation - example, that comes with LabVIEW.

    How do I start making a model more sophisticated movement?

    I modeled the DC motor in MatLAB using PID control. I can do something similar in LabVIEW?

    See the image as an attachment to the model of behavior, that I want to accomplish.

    Thanks in advance.

    Best regards

    JZaulich.

    Hi JZaulich

    You will need to use the NI Control Design and Simulation module to perform the simulation and model of different systems.

    http://sine.NI.com/NIPs/CDs/view/p/lang/da/NID/209850

    If you install this kit there are a good example called "DC speed control Cascade" engine that can show you how to model the motor and continuous control (both speed and current ". There are also examples of servo control.

    Best regards

    Anders Rohde

  • Problems with the 'levels' of control... it is

    After I move the sliders levels (black, gray, white) and the preview looks good, I click OK and the image returns to its pre-set state.

    For example, I try to gray to black in a jpg of a design, and it looks great in the preview but drops back to its original state after accepting the previewed change.

    I know that there must be something I'm not set up to do this, but I don't know what!

    Any help will be appreciated.

    I use PS CS5 with Mac 10.9,5

    Thank you.

    Yes, looks like some bad adjustment needs are engaged.

    You can try to reset the Photoshop preferences. Here are the steps:

    1. quit Photoshop

    2. open Finder

    3. click Go (in the menu bar), and choose go to folder

    4. type in ~/library and click on Go.

    5 open the folder Preferences

    6. move the Adobe Photoshop CS5 Settings folder on the desktop.

    Otherwise, you can follow the steps in this article to restore preferences:

    Using Photoshop | Preferences

    Then, re - open Photoshop and try to add levels.

    Let us know if that helps.

    Kind regards.

  • With LabVIEW how to control an instrument with a RS232 output, using a USB RS232 converter cable.

    With LabVIEW how to control an instrument with a RS232 output, using a USB RS232 converter cable, since I do not have rs232 ports. I have two instruments I want for the control in this way. One is a guarantee of strength Imada SPAS with RS232 output. The other is a micrometer Panasonic HL-G103-S-J laser sensor which is RS422. I have done significant programming LabVIEW using GPIB, but I have no experience with devices such as these. No matter what tutorial or examples would be greatly appreciated.

    Thank you.

    When you plug the USB-RS-232 converter, it installs a driver under Windows which makes it look like any other RS-232 port.  You may need to install the driver of everything that came on the CD with the converter.  It will get a Com as Com5 port number according to what is the next available number.

  • Save the selected value from the ListBox with its respective values control tab dropdown selected in another list box

    Hi all

    I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.

    It will work.

    Probably not the greatest solution well.

  • Can I activate a structure of the event with an another VI control

    I need activate an event structure in a VI with a change of value with an another VI control event. The code is included in the pictures, you can see in this post, and the variable stop is the control that should activate the structure of the event since another VI.

    .

    The code is on other forums of discurssion and is made by Randall Pursley (rpursley8).

    See the link: http://forums.ni.com/ni/board/message?board.id=250&thread.id=43960

    kiftren wrote:

    Hi to determine,

    Sorry, I can´t to open your archives because I use LabVIEW 8.2 and LabVIEW 8.5. Can you give me the image of the code in your screen in one archive .jpeg?

    Thank your for your help to determine.

  • "This version of this file is not compatible with the version of Windows you are using. Check your computer's system information to see if you need a x 86 (32 bit) or x 64 (64-bit) version of the program.

    Hello

    I seem to be having problems when you try to install a program on my Windows 7 that allows to launch on my Windows XP and Windows Vista. I used the tool to solve compatibility problems and selected these settings in the CONFIGURATION file, but nothing seems to work the error message I get is as follows:

    "This version of this file is not compatible with the version of Windows you are using. Check your computer's system information to see if you need a x 86 (32 bit) or x 64 (64-bit) version of the program, and then contact the software publisher. »

    Is it possible to set my computer to allow this program to run successfully? Any solution would be greatly useful.

    Hello Rdforbe,

    The problem is a software that was created for Windows 95, 98, and Windows XP has no way to work correctly with an operating system that didn't even exist when the software was written. However, the error message you get normally means that you have a 32-bit software that you are trying to install on a 64-bit system.

    To find out if your computer is running 32-bit Windows or 64-bit, follow these steps:
    System opened by clicking on the button start , by clicking on the Control Panel, click System.
    Under system, you can view the system type. This will describe if you have 32-bit or 64-bit.

    You can also try compatibility mode.

    If the program is not compatible, then you try to install and run the program in compatibility mode.

    Use the following steps:

    (1) right click on the program

    2) click Properties

    3) click on the Compatibility tab

    (4) select run this program in compatibility mode and select Windows Vista or other operating system, the program has been run successfully.

    Check out the link here: make sure to run older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    If you are running Windows 7 Professional or Ultimate version, install Windows Virtual PC and Windows XP mode (http://www.microsoft.com/windows/virtual-pc/default.aspx) and run your software in Windows XP.

    If you run Windows 7 Home Premium, try VirtualBox (www.virtualbox.org) or VMware Player (www.vmware.com), or any other software virtualization part 3rd and install a separate copy of Windows XP (family or professional edition) for this purpose. You can find the virtualization software free that will run on Windows 7 Home Premium.

    I hope this helps.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for