PID position control: guide me

Dear Member

I want to build a position of PID control

I read the DC position by potentiometer with 360 degrees-128 to 127 [complete]

If the pid entry is range of voltage between-128 to 127

the entrance of motor continuous is PWM and the direction of motor rotation

If the output of PID is PWM

What bit of direction? What will be this tour

also how to control the speed in the same system? is Taylor PID another?

Best regards

mangood wrote:

What, control the position and speed at the same time?

It's a complicated problem. A quick search on the internet turned to the top of this article that describes some possible approaches:

http://www.IDT.MDH.se/Kurser/ct3340/HT09/administration/IRCSE09-submissions/ircse09_submission_22.PD...

Tags: NI Software

Similar Questions

  • DC motor position control con encoder mediante Arduino

    Estoy tratando realize con position control a DC motor with encoder, ago prove the encoder mediante the los comandos LIFA of Labview utilsacion del lecctura y the tarjeta Arduino, pero al graficarlos este to salta pulsos del encoder, como muchos that without the da tiempo a leer todas las transiciones between las Pestana del al estar girando el motor encoder , por los than busco leer las transiciones directly in the tarjeta con los pines of interrupcion than detectan any State (0-1, 1-0) cambio y una interrupcion alternative. Lo are none to como making el código escrito directly in the tarjeta can mandar el conteo los pulsos (modificando el archivo LIFA_Base) a labView para ser procesados.

    Gracias

    Hola perluigui.

    Como mencionas, need Québec el archivo fuente (.pde) as the al Arduino programs. Te recomendaria mejor crearas UN programa Arduino diferente lea values led encoder is control the value of the position a LabVIEW, y realice el Control en el Arduino directly. Ordered find mejor usually como soporte este programa en page of Arduino, pero por el momento you puedo compartir some ligas con information basica sober interrupciones en Arduino el:

    http://Arduino.cc/en/reference/interrupts

    If tienes alguna duda podemos revisar.

    Saludos.

  • Position control text string bug

    Hello again all you posters useful forum!

    I have a strange bug for a control of the chain.  A sort of property has been set which causes the text it displays justified right as usual until what you press a button in the control.  Then the text jumps around 3 characters to the left.  By clicking on the right side of the new end text positions the cursor at the end of the text.  If I save the VI, the text jumps to the right.  Weirder yet, if I just hide the front panel of the VI with another window, when I discovered the text is on the right side once again.

    When I click in the text box with the mouse to position the cursor, the text does not move, but the cursor will only insert inbetween where the characters go when they jump to the left, where they are currently.  This highlighted the same behavior (see screenshot where I double-clicked in the control to highlight all of the text).

    I copy / pasted this control channel in a new VI with no logic, and it behaves in the same way.  So I guess it's a kind of property that I put at some point, but I can't understand it so I can stop doing it in the future (which is also the reason why I'm not only replace my order with another control of the chain and move - I don't want a new to get damaged in the same way).  I have attached the new VI for your reference.

    Control is updated the value that I type, and in my original VI (which I can't post, unfortunately), I have two cases of the event who get its updates of the value.  We seek a change in the value of this control, check if it is more than 12 characters and if yes what bands more than 12 characters and then it passes through the VI uppercase in and assigns the resulting string in the control.  The other looks for a value change parent of the control cluster, then takes the control reference that result and goes to a VI record KeyFocus and TextSelection property values, defines "BOLD", the blue police false KeyFocus, changes, then sets the KeyFocus and TextSelection values (in that order).   I have to take off bold KeyFocus, I discovered.

    Any suggestions as to what may be the cause of this would be appreciated.  Thank you!

    -Joe

    I bet that the text is right-justified.  Select the text, go to the menu drop-down font, select the option justify-> left and see what happens.

    Edit: interesting.  Out, tried changing the left justification and then right again seemed to fix it.

  • updated duty cycle in PWM/PID temperature control

    Hi fellow users of Labview,.

    I control the temperature in a box by reading the temperature (voltage) of a PT100 element and output pulses PWM with PCI 6221 counter to close the circuit of a relay to solid state to power my heating unit.

    Using PID (not quite yet set in the code below), I expect the cycle also adapt according to the proximity we are at the point (i.e. it would be pulse refine put it to not be 50% when sound near the set point, but rather be like 10% so it is not exceeded). Right now my code does nothing at the time when the process variable exceeds the set value (I have the operating factor set to 1E-5 in this case, mainly off the coast, because if I don't do this, the counter always pulse outputs...)

    How to integrate the update of the PWM pulses in my code?

    Thank you!

    HessenMob

    I think I solved the problem.

    As a new person on these forums, I didn't know how to remove my post...

    An updated version is attached below!

    Any thoughts on how to tune the K_p, K_i, K_d settings?

    Thank you

    HessenMob

  • line of control guide

    Hello

    Normally, I drag the line to the projected coordinate dragging and observing the Info pane. This requires much sick and some frustrating time of 1px or 2px wrong position

    Is there a way that I can type in the coordinate of the line? the way of fireworks.

    Also how can I set font in photoshop cs4?

    View > new guide.

    Fonts are available in the dropdown to the right fonts.

  • Based on a hierarchy of position control

    Hi all
    I have a functioning, tell THE company. Under the aegis of the society I have departments such as sales, HR - LA, LA - IT e.t.c. These have been setup in the hierarchy of the org as being under THE company.
    My question is this. When I define a position, is it possible to define the Organization of the position in society. So even if I add the organization used as THE sale I can't reach any body defined in the title of THE company to him? This will avoid me to define the position several times.
    Thank you very much
    Iraqi

    Hi innocent,

    I'm afraid that this does not work, and when an employee moves from IT HR you will need to close and re - create the position.
    Maybe you can think of using the mass move to allow transfer between subdivision. You can customize and make it more user-friendly.

    see you soon
    Giuseppe

  • Page change of position control buttons

    When I saw the Captivate project page previous/play/pause buttons are at the top of the screen.  When I publish to SWF format and add them to my website, the buttons to keep it from the page.  Is it possible to pin them at the top of the screen?

    You can change the position of editor of the skin game bar. Go to project > Skin Editor. In the Editor window of the skin which opens, select high in the drop Position.

    As a best practice, always preview your project in a web browser (F12). The overview of the project (F4) does not show the complete picture of your project. A lot of devices that work in F4 preview may not work in F12 and vice versa.

    Anthony

  • Scroll position control

    Hello!

    How can I set the position of the scroll bar in a container of canvas for example?

    Thank you!

    Just a small excerpt to give you an idea:

    var c:Canvas = new Canvas();

    c.verticalScrollPosition = somePosition;

    c.horizontalScrollPosition = somePosition;

    to scroll down or all the way to the right:

    c.verticalScrollPosition = c.maxVerticalScrollPosition;

    c.horizontalScrollPosition = c.maxHorizontalScrollPosition;

    I hope this helps.

    -sebastian

  • Image positioning control alert DVT

    Hello

    I have this problem with the alert image in my chart ADF Faces DVT. Please see the image below

    alertsetplacement.jpg

    I tried to do something like this

    hbg_gauge_4.png

    But I don't know how.  I'm following the idea of https://blogs.oracle.com/groundside/entry/an_enhanced_gauge_control_using

    but I don't know how to reach the image above as my arrow would be above the chart and not from the inside.

    Here is my code

    <dvt:horizontalBarGraph id="horizontalBarGraph1" subType="BAR_HORIZ_CLUST
                                inlineStyle="width:400px;height:95px;">
          <dvt:y1Axis axisMinValue="0" axisMaxValue="150" majorIncrement="30"
                      axisMaxAutoScaled="false"/>
          <dvt:legendArea automaticPlacement="AP_NEVER"/>
          <dvt:y1MajorTick tickStyle="GS_NONE"/>
          <dvt:referenceObjectSet>
            <dvt:referenceObject index="2" type="RO_AREA" association="SERIES"
                                 location="RO_BACK" color="#f7ffd6" lowValue="0"
                                 highValue="150"/>
          </dvt:referenceObjectSet>
          <dvt:alertSet>
            <dvt:alert imageSource="/images/arrowdown.png" yValue="40.0"
                       xValue="Projected Sales" yValueAssignment="Y1AXIS"/>
          </dvt:alertSet>
    </dvt:horizontalBarGraph>
    

    Thank you.  Any tips?

    JDEV 11G

    Adding two felds double Projected Sales in the t and adding to the existing bar in the horizontal bar chart, your code will be as follows:

    inlineStyle=">

    seriesEffect = "SE_NONE" >

    axisMaxAutoScaled = "false" / >

    location = color "RO_BACK" = "#f7ffd6" lowValue = '0 '.

    high value = "150" / >

    xValue = 'Projected Sales' yValueAssignment = "Y1AXIS" / >

    16.

    The output of the mine is as follows (I used an icon that I don't have the arrow pointing downwards, but the effect is similar to what you want):

    Hope this helps

  • tank coupled PID control

    Hye all the...

    I want to develop user interfaces graphics controller PID to control the level height and interfaces with device of tank coupled using NI - DAQ USB 6008...

    I found some good examples and I've attached here... I already change and there is 1 error to resolve...

    My problem is that the simulation cannot be performed because there is an error

    ~ Subvi ' IO Duncan .vi ubVI is missing...

    can you help me on how to change these problem? as long as the simulation may be simulated...

    thanx 4ur help...

    Kind regards...

    Azlan...

    Looks like when you have downloaded/saved the code example you've been working on you do not download the Subvi ' IO Duncan .vi - so LabVIEW can not find.

    In the same way that you have not included the Subvi PID you use when I opened your VI I get an error saying it is absent.

  • AI CC, horizontal and vertical guide lines disappear when aligning

    Hello

    I think I'm exactly as shown. I work with the rules and guidelines. My goal is to start from the upper left corner of the document (white Virgin) and drag the horizontal and vertical guidelines at the same time. Then I press Ctrl + R to hide the ruler guides, use the black arrow to select the guides that intersect (they turn blue), and align the center of vertical positioning. They should then be centered horizontally and vertically, but they disappear completely. I rebooted HAVE him, but that did not help. Kindly help, if I'm having trouble with this... Geez!

    Thanks in advance,

    Janice

    I experienced this with someone a few months ago, and we understand that they are no longer work as expected. After that you align the guides by following the steps you sketched out, zoom all the way (control-) until you can see the full editing table. They are way out of your sight.

    As an alternative, until it works again, note the height and width of the artboard and divide by 2. Use the numbers that result to position the guides manually.

  • Communication satellite U500 wifi switch control does not work

    Hello

    I have problem after update of the operating system from Vista 64 bit to win7 64-bit. The problem is in the wireless communication switch command before notebok. When I was with win vista, it works fine, post off - wifi off and post-wifi on (without restarting). But when I updated to win7 and install all the drivers of toshiba upgrade dvd, my wifi switch works as follows:

    When I turn on notebook with wifi off button - its turned off all the time and the wifi does not work and fn + F8 (shortcut key for wifi) does not work too. I have to restart the PC with wifi switch in position-the wifi works fine and fn + F8 is able to turn on and turn off the wifi. But that put the material do not react to pass and - diode LED is always on (in case when I start the pc with position control on and in the case where is when off wifi LED is not clear and switching does not work).

    I've updated wifi realtek drivers but still it does not work. IAM verry sorry for my English. I was looking into Toshiba diagnostic tool and there is no modem device, but yes, wifi is perhaps problem here?

    Thank you very much for the reply. Tom

    Hello

    Different Satellite U500 (and other models) supports various wireless network cards, and that's why you'll find also different WLan card drivers.

    Your U500 seems to be equipped with an Intel Wlan card and here you can also download the right Intel Wlan card driver for this card:
    http://APS2.toshiba-tro.de/WLAN/

    Welcome them

  • Understanding on the 9505 FPGA VI speed control

    I was able to quickly use the 9505 Servo Drive example for closed loop control of position on the FPGA, but I can't find how to change the code to take in charge the speed control (which I need to another axis).  I'm doing my changes on the FPGA VI itself rather than on the side of RT Softmotion.

    Here are the questions I have:

    If I use the PI speed loop with my speed and a set arbitrary control speed, I see the speed stabilizes (engine power seems uniform), but I can't correlate with the other speed reference that a larger number is faster.  Speed (from the loop of the encoder) seems collating in values from 0 to 2 just on my FPGA VI (I do not understand the units, but I see my position change on my collation of encoder in thousands of pulses per second).  Why are they so different/how I have adapted my encoder speed correctly?

    Using just the delivery example 9505 Servo Drive (position control), how to set the speed of moving of the FPGA code (in interactive mode)?

    Hello

    Speed is defined through position set points. Control of the speed in the screw RT does not actually send speed commands to the reader, but sends position set points at a known rate. Given that the position set points are sent at a constant rate, an effective speed can be calculated.

    A method to do so via the FPGA would synchronize a loop in your FPGA code for the analytical engine, which has a known rate. Once this is done, you can calculate the actual speed of the engine.

    -Erik S

  • Output of PID VI looks to On / Off signal

    Hi all

    I'm new to requests for PID and currently starting a project involving the PID of a heater of air command. I came across some problems and I'd appreciate really all of the suggestions here

    The installation consists of a cDAQ-9174 with RTD module (for example NOR-9217) and an output module current (NOR-9265). The process variable is the incoming temperature which is extracted from the RTD, and current output module sends the output of PID of 4-20mA to the incubator, 4mA is equivalent to heating off, and everything above that turns heater at different levels as a result.

    I found a sample program on the site OR I have changed according to my installation. PID loop rate is 10 Hz, and for this I used the calendar software (please see the attached VI). The output for the PID VI range is set to 4-20mA.

    During execution of the program, we can see RTD works well (process variable updates correctly), but the output of the PID VI signal varies between these two extremes (4 MA or 20 MA), which apparently turned into a On / Off attached template instead of PID (see the "On-off MV.jpg" screenshot). As a result, the oscillating system in undesirable ways.

    I looked at the example LabVIEW, ran to some of them, programs and they seem to work well. I also looked to their diagrams and outside the middle range output different (default is from-100 to 100), I can't see any significant difference for the other parameters to the PID VI.

    Was there everything I hard set, or was there something I missed? Any help will be greatly appreciated... Thank you!!

    Best regards

    Victor

    If you want to be using PID loops you need to learn about the setting of a PID.  There is a lot of information around on the internet on how to do and there are different methods depending on who you talk to.

    How is it tuned and the small selected output range will make things very quickly.  What you can do is to change the output of pid to 0-100 range.  Then you can use the percentage of PID to EGU vi use the output of the pid to control your 4-20mA signal.  So the 0-100 =.004 A02.  Then, you must always set the PID to your system.

    https://en.Wikipedia.org/wiki/PID_controller

  • Video controls under video rather than on top?

    A way to make the video controls that make edge under the video rather than on top of the video?

    That is to say in my example below it interferes with the white arc and text...

    controls.jpg

    Thanks in advance.

    Animate inside there is not a way to position controls.

Maybe you are looking for

  • My dear Apple Watch disintegrates

    My Apple Watch screen suddenly started shooting outside the door. I could see inside the watch by tilting my hand at an angle of about 45 degrees. It's really annoying when a fellow passenger tells you that your expensive watch falls an apart on an e

  • Factory reset does not work

    I have a Nighthawk X 8 I bought two months ago. Up to today (March 7), it worked fine. Today I came home and found it did not work. I tried to access it via routerlogin.net, nothing worked. I tried factory reset using a toothpick about 5 times now, b

  • Signature Edition in Australia return policy

    Hello I'm indenting to buy a signature edition XPS 13 9350 since the Microsoft Store in Australia. However, I'm not sure if if your stores adopt a system similar to apple Exchange, in which devices can be exchanged on the counter in their shop becaus

  • Windows 7 photo viewer shows pictures with a tinge of orange and yellow.

    It works on my windows 7 sp1

  • BlackBerry App Evernote App for Z10

    My most used application has been Evernote.  I had downloaded on my previous blackberry phone.  I also installed on my playbook of Evernote.  When I went to download Evernote on the Z10, it isn't one of the choices that I currently have.  Right now,