percentage of absolute units PID

Hello!

I want to update and make some changes on an old LabView project, done like 10 years ago.

I opened it in my 2012 LabVIEW. A VI make sure PID control, and it contains a VI the obsolete PID toolkit. I have attached the VI simplified with some notes made by me, I left only the relevant parts of the VI as a whole.

What I want to do is to implement the same control but in LabView 2012, using advanced PID VI. I would also use the absolute values for the PID, so don't not percentage values.

I got a little confused with this very old VI, I hope someone can clarify the situation for me.

My questions:

1, in my new LabView VI, I will automatically be set the range on the Keithley, when it is necessary during the control. Given that I'll use absolute value for the PID, which gain approach P should be used?

(I guess the I and D can remain the same) Should I use P = 0.03? Note, I want to the wire that the value of process directly to the advanced PID VI, not the difference between the PV and SV. Also, the PID on must be directly in Ampere, connected directly to Keithley screws.

2, in this old VI, what "iteration" means? I don't see any similar parameters between my toolkit LabView 2012 PID live...

3, I wonder, too, why the developer in the old days used dt = 20 s, and structure has been placed in a while loop traveled in 1 second. What that entails actually in control
I am interested because I would like to make a very close copy of this VI, but somehow new, as explained above.

Thanks much for any note, advice and help.

Best regards

Martins wrote:

1, in my new LabView VI, I will automatically be set the range on the Keithley, when it is necessary during the control. Given that I'll use absolute value for the PID, which gain approach P should be used?

(I guess the I and D can remain the same) Should I use P = 0.03? Note, I want to the wire that the value of process directly to the advanced PID VI, not the difference between the PV and SV. Also, the PID on must be directly in Ampere, connected directly to Keithley screws.

You may think the P gain as a ratio of output devices to deal with variable units, which could help you to calculate the correct gain setting when you change units (in percentage of absolute units). However, I missed where the percentages here - are all PV is no logic not any sense. Why it calculate the difference between the setpoint and process variable, multiply it by a large number, then tighten it between-100 and + 100 and use it as the process variable? It's unlikely work well, because the variable setpoint and process should have the same units, they not here. You may be better off than fixing and then retune the controller.

Martins wrote:

2, in this old VI, what "iteration" means? I don't see any similar parameters between my toolkit LabView 2012 PID live...

Senior year "iteration" is somewhat similar to the entrance of "Reset". You can search in the VI and see what he does. For most it resets the Integrator and disables the derived control when it is 0 (the first iteration). It also disables the process variable of filtering for the first 3 iterations. The idea is that you connect directly to the terminal of the iterator of a while loop.

Martins wrote:

3, I wonder, too, why the developer in the old days used dt = 20 s, and structure has been placed in a while loop traveled in 1 second. What that entails actually in control

I don't see where the dt is set to 20. The dt is purely a mathematical structure, and assuming that the timing is consistent from one iteration to the next, you can set the I and the D values to match any dt value and get the same result. A detachment of the 1920s and a me 20s should be identical to a detachment of 1 s and an I 1 s (note, however, that in the current PID toolkit, I made a few minutes even if dt is in seconds) - in both cases, you are saying that the full time is a simple loop cycle. Definition of dt to do anything other than-1 is mainly useful to simulate a controller offline, for example in the simulation, if you can run the controller much faster than real-time.

Tags: NI Software

Similar Questions

  • Conversion gain proportional and derivative to significant stiffness and damping units PID

    Hi all

    I appreciate if someone could give some insight on how to convert the proportional gain (Kc) and secondary gain (Kc * Td/Ts) in meaningful units in terms of stiffness(Nm/rad) and damping (Nm/rad.s)

    I do a position with PID (FPGA) .vi control... I only perform a check of the PD.

    My process variable is the position of encoder in charges.

    Thank you!

    PS: To make things more confusing (for me), these gains are represented by a number fixed point in the express PID (FPGA) .vi and they are normalized too.

    Hi Nathan,

    Thanks for your reply. I gave her a reflection more and that's what I found.

    My process variable is the location information of the encoder, which is the unit of account. My controller, multiplies the P position error, more the rate of change of position time D and it sends to the engine as a control voltage. It is:

    output of the PD controller = control voltage of the motor amplifier = P * (Pos (setpoint) - Pos (process variable)) + D * d (Pos) /dt

    So my P gain has the unit of volt/count. To convert this to N/m or (Nm/rad), I need to know what the relationship is between 1 volt for the engine and the torque generated (1 volt = 1 * K1 amp = 1 * 1 m end * K2 Nm). I also have calibration, namely the relationshio between 1 County of the encoder and displacement of end effector (1 count = K3 * rad)

    Knowing these values K1, K2 and K3, I can convert my P gain to a setting of significant rigidity in terms of N/m or Nm/rad for the torsional stiffness. Similarly, the D can be converted into a unit of depreciation.

    It's my understanding. If anyone has a comment on this approach, I am happy to hear it.

    See you soon!

  • How to activate the position as display of percentage?

    When I activate the window information (F8) and select 'percentage' as display unit, it does not - it always shows the last selected display unit

    -is this known bug, when it be fixed?

    / JS

    Ah, the percentage of displayactually works - but only if it is defined in the Preferences (Edit - Preferences - units & rulers) dialog box-> sovereigns: P

    -It works _not_, percent is selected in the F8 dialogue (Infolog); and if it is changed there, must be changed back to % via the preferences only :/

    a little mean, but at least it works... would be nice to have this problem one day

  • Is it possible to change the default subject for px (pixel) units/scale?

    Is it possible to change the scale by default/units px (pixels) instead of % or Auto?

    I suspect you're talking about reactive nature projects in CP8? It sounds a little crazy, why have an absolute unit for all the objects in such a project, for me, it's contradictory. If you want a fixed layout, please create a normal life, not a sensitive project.

  • Simple Question on Dreamweaver & wordpress :)

    Quick information on my site:

    • Right now, it is connected to my Localhost using WAMP and I use Wordpress.
    • Technically, what I do is to create my own personal theme for my Wordpress site.


    I have connected my website for the theme I have to use, however, a few questions.

    1. Style.CSS does not seem to appear on the site.
    2. If I move the size of the browser that links to DO NOT move. Basically, they move with the page (I guess I should use some code here to allow links to follow the page... to enable them to change position to follow the new dimensions of the browser).
    3. The background of my Web site on my site & dreamweaver LIVE but not appear on the Dreamweavers "design" mode

    The first problem is resolved when I press F12 in dreamweaver, sent me to:

    http://localhost/mywebsitename/WP-content/themes/mythemel/index.php

    What more he would soon go to

    http://localhost/mywebsitename/

    What is the difference? Why the power I appear on the first link that will clear everything right on the theme style but do not appear on the direct link to my Web site?
    The theme still works on my Web site?
    As I've mentioned that my site is already connected to this theme. so why not appear then on the live Web site link?

    As for the other 2 questions, if you know the answers to these questions, please share

    1. the link to the CSS file is incorrect. WordPress uses .htaccess to reduce the length of the URL

    2. for a delicate design, you must have the aid percentage or similar units. If you use absolute units as pixels, the provision will not change with the width of the screen.

    3. it could be that you had an error in the markup, Design view is not as forgiving as a browser.

    If you want more specific answers, we must be aware of the full code. A link to your site is the best way, although it does not allow us to see the code on the server side.

    As a side note, it is best to use the Panel that comes with WordPress. Design changes are possible using Dreamweaver, but you must have a GOOD understanding of the rules of style.

  • Photoshop CC 2014 skew issue action layer

    Hello

    I have a set of actions since a previous version of PSD (CS6 > CC) which includes a tilt layer and placing it in an exact position. Worked like a charm.

    Now I upgraded to CC 2014 and these actions are useless...

    For example - what a single action done in previous versions of the PSD:

    two documents are open in PSD:

    (1) take open document > flatten > size to the report width 1000px Dungeon issues of image > select all > Ctrl + C

    (2) select previous document > paste > move > free transform including obliques

    In previous versions of PSD result was exactly the same. PSD CC 2014, the inclination is different (incorrect) and the implementation of the transformed layer is false.

    Tried to create the same action in the new PSD CC 2014 and the result was the same. Even more - the new transformed layer is placed as if chaotically, according to zoom in the document she transformed into.

    Suggestions, please? I am quite desperate - I need to process a large number of files in this way...

    THANK YOU VERY MUCH IN ADVANCE FOR ANY HELP

    Tom

    Correct result of previous versions of the PSD:

    obraz-na-zdi-02---SIRKA-correct.jpg

    Error in PSD CC 2014 result:

    obraz-na-zdi-02---SIRKA-error.jpg

    If you are replacing the image of wall with image files are of the same size a resolution.   Have you tried to place the image in the PSD file as a smart object layer, and then save the action to use replace content of dynamic object layer.  Rather than paste it into a new layer of the image and transform the new layer.   As the problem you seem to have is the transformation step does not work correctly.  Registration of the transformation steps can be as delicate.  You must have put the rule of Photoshop units so step is recorded the way it should be. Transformations can be saved using the pixel values of absolut, relitive to the size of the document in percentages and relative units like inches which depends on the Resolution of document CIO. If it's a CC 2014 bug you should report using this Photoshop community customer family link

  • Volume Z10 blackBerry buttons are not tactile feedback

    Hello

    I finally bought a z10 in a store in India, today. I was very happy with my purchase. But a few minutes, in the purchase, I was rather unsatisfied and disappointed. The reason: the volume buttons Up and Down was missing any tactile feedback and were uneven. The phone was made in may 2014 and was conducted at the Mexico. I checked a piece of screen and button feedback has been excellent.

    Have an any BB users faced you these issues. If Yes, have you guys tried to address these issues with the help of BB? have you guys managed to replace your phones?

    Help, please!

    Very much appreciated. Ta

    So, I don't see how it's lack of BlackBerry. Yes, the unit may be damaged. It gets to a certain percentage of any unit of mass production, be it a cell phone or a car. This is why there is a guarantee. BlackBerry is committed to stand behind it. However, everything goes through the dealer... IF this dealer is an "authorized" dealer If they are not an authorized dealer that BB will not guarantee the device so that the unauthorized dealer and buyer (i.e. you) gets ripped off because of poor quality of dealer unathorized commercial practices sell devices that are not supposed to.

  • T61p broken Grafics card... Now, what

    Hello

    I am a student of the Germany and I the T61P now for three years and it is no longer under warranty for one year. Unfortunately the grafics card just died yesterday. Something like this can happen, but to such a cheap laptop from a reasonable manufacturer, in my view it must be covered for reasons of quality and image. I understand that I am not a lot of value to Lenovo as a private person, but I have recommended the Thinkpad products for four private and two customers of the company successfully. Anyway it was not so much an attraction to the customer service either.

    anyway I won't recommend products Lenovo in the future because of their housing. Other companies like Siemens, whose much better take care of their customers, are much more tiled...

    Now, my question would be where I could get a new Board or are there other solutions for that?

    Best regards

    Farbio

    I also work on a guide to correct those parts retrieved from the huge quantity of units on the used computer market.

    Please also understaqnd that even if it's any comfort to you, but the actual percentage of failed units is stil low, and lenovo did do a lot of post warranty repairs, but this could not continue indefinitely, after all, used electronic die and the true beauty of thinkpads is at the time where a rare failure , there is a huge amount of used computers and leave available replacement for this purpose.

    Consider also looking for a replacement card to a late model T61/T61p with nVidia graphics, the date codes 08/08, 08/09, 08/10. These should have a GPU that is more reliable.

    PS. I can send you the text of my guide of prilimary (without graphics) in private, if you want to look at, send me a PM

  • Sum of columns together in the responses, and then calculated off summary columns

    I have three questions answers (with 4 columns) that I have gathered the results for:

    Four columns are: campaign # promoted # Respones, # Respones promoted

    Query 1:

    Campaign, # promoted, 0, 0

    Query 2:

    Campaign responses #, 0, 0,.

    Query 3:

    Campaign, 0, 0, # promoted Respones

    My query returns the following (assuming that the campaign code is ABC) 3 rows:

    Campaign of # Promoted # Responses # Promoted answers
    ABC10000
    ABC0120
    ABC009

    I want to put in place so that it adds campaign to get a row of results as follows:

    Campaign of # Promoted # Responses # Promoted answers
    ABC100129

    I can get this result using the conversion to a PivotTable (won't go thought road if possible because I have other calculations that I need to add).   Once I get this summary to a single row result I then do a few such analyses that create:

    1. Response % (Respones # / # promoted)
    2. Promoted to the rank of % (# promoted answers / # promoted)

    When I add the calculatinos to the percentages to the United query I get null or zero for my results.   I used the Add button to insert a calcuation and then I used the following formula: saw_2 / saw_3

    Here's what I would preferably:

    1. Sum of answers (not a pivot table) Table columns.
    2. Add columns calculated at United query that will produce results based on the combined pivot columns
    3. If I use the PivotTable, and then how to get the values calculated for work

    Thank you...

    Ben,

    Try to use the rule of aggregation on the columns in the Table view and see if that makes a difference.

    I just tried this and the SUM of each of the criteria provided the results I wanted, which in turn you are looking for.

    If nothing works for you send me the screenshot of what you are trying to do at vijaybez at gmail and I can understand what is happening properly...

  • Fluid footer - all the way down

    Hello

    New models but fluid is code I have to add to make sure that the foot of fluid is at the bottom of the page, regardless of the absolute unit?

    Thanks in advance.

    MD

    Here's how:

    http://ALT-Web.com/demos/CSS2-sticky-header.shtml

    http://ALT-Web.com/demos/CSS2-sticky-footer.shtml

    NOTE: Headers and fixed are running well in all devices, especially the more iPhones and androids.  So I do not recommend to do it in your page FluidGrid layout because it will probably cause problems of usability that beats the whole point of FluidGrid layouts.

    Nancy O.

  • Bug with all numbered, measures the percentages and units. Help!

    Hello! Im having some struggles with '00' behind each individual measure, percentage, unity and point I use. This allso mess up to the size of things.

    measurements-units etch bug.PNG

    Does anyone know how to fix this?

    Hello

    We have released an WINDOWS ONLY fix today that solves this problem of corrupted preferences. Go to the creative cloud application and download the patch CC 20151.1 (19.1.1)

    If you see not the patch in the creative Cloud application wait on or refresh cycle you can disconnect and connect to force refresh the list of available patches.

    Kind regards

    Ashutosh

    On behalf of the Illustrator engineering team

  • PID change of range change P param too?

    Hello

    I have a very general question on the PID control. (I have the pid toolkit)

    I have a process value is measured (PV, it's the temperature), and I have a fixed setpoint. The output of the PID readers regulator current source (Keithley 2400 sourcemeter). When the PV is far (the State) of the target value, production is expected to be high enough to reduce the transitional period. So let's say, we start with the 1Amp range control in the Keithley. Of course, when the PID does not need too high output, I can go down, first at the beach of my 100 and so on. Also, when I change the range of the Keithley, I change the Terminal value of maximum/minimum scope on the vi of PID.

    (Of course, the much better resolution of the Keithley to 1mA compared to 1 ampere)

    I have PID adjust such a system at 1 ampere range, for example, and I have the P, I, D params. If I move the range of 1 ampere to the 100mAmp range, do I need to change the P parameter?

    Thank you!

    It depends on.  If you feed the Keithley in absolute real units (milliamps or amperes) value so there is not need to change the PID gains.  If the value of the Keithley is a relative unit - for example a percentage of full scale - then Yes, you need to adjust your P gain such as changes in range full scale.

  • NEITHER 9237 quarter bridge absolute accuracy

    Given a NI 9237 bridge completion Module with NI 9944 accessory Terminal strain gauges and 120 ohms with GF = 2.11, how calculate we precision of strain?

    I was told that the absolute accuracy for bridges of quarter is given by

    Absolute accuracy = (Gain error * reading) + (error offset * range) + noise + half bridge watchkeeping tolerance tolerance.

    Since I'm on the NI 9944, watchkeeping tolerance would be 500 uV/V (given by OR R & D). The tolerance of half bridge is given in the manual OR 9237 being 1.2 mV/V.

    (1) it has no value of 'Noise' of entry for bridges on watch in the NI 9237 manual; We use only the sound of half-bridge?

    (2) if I use a sample rate of 1,613 kech. / s (the rate guaranteed valid sampling for the NI 9237 module) and my system is always in his 1st year of use, always is my gain error 0.05%? It is worth noting that 0.05% applies to the 50 kech. / s ; If the gain error does not apply to my low sampling frequency, how can I find the error of gain?

    (3) if my maximum/minimum deformation measures around 600 EU (microstrains), how can I change my values "Reading" and "Range" in the equation for absolute accuracy above, if they need to be adjusted?

    (4) why the absolute accuracy for a quarter-bridge set up does not include the half bridge tolerance?

    (5) is the equation for the conversion of precision of voltage precision for quarter of a bridge, of the strain , where U is the precision of the voltage given by the equation of absolute accuracy above.

    Example of calculation using the values assumed for quarter-bridge:

    Error error/gain Offset = 0.05%

    Reading distance / = 25 mV/V

    Half bridge noise = 1.6 mV/V * 3

    Half bridge tolerance = 1.2 mV/V

    Tolerance of watchkeeping = 500 uV/V

    Absolute accuracy = (V/V 0.0005*.025) + (0.0005*.025 V/V) + ((1.6e-6) * 3 V/V) + (1.2e - 3 V/V) + (500-6 V/V) = 25 mV/V +/-1.73 mV/V

    Accuracy of the strain =-4(V/Vex) / GF (1 + 4 (V/Vex)) = - 4 * (25 mV/V +/-1.73 mV/V) / (2.11) * (1 + 4 * (25 mV/V +/-1.73 mV/V))

    How to simplify this precision of strain to get a reading + / range of precision?

    Thanks for any help.

    (2) if I use a sample rate of 1,613 kech. / s (the rate guaranteed valid sampling for the NI 9237 module) and my system is always in his 1st year of use, always is my gain error 0.05%? It is worth noting that 0.05% applies to the 50 kech. / s ; If the gain error does not apply to my low sampling frequency, how can I find the error of gain?

    This applies at a rate of 50 kech. / s. lower data rate can have up to 0.20% gain additional error reading.  This can be found on page 24 the unit operating instructions and specifications document

    You get to know how to calculate what percentage of Reading (Gain error) I'd get according to what sampling frequency use? Otherwise, I guess I could use the error of gain of 0.20% in the worst case scenario.

    Yes, I so calculate the error of Gain for the worst case scenario (0.2%)

    (5) is the equation for the conversion of precision of voltage precision for quarter of a bridge, of the strain , where U is the precision of the voltage given by the equation of absolute accuracy above.

    Yes, I think it's the correct equation.

    It is more a matter of math - since you will be in the form of a reading + / a range (for example 25 mV/V +/-1.73 mV/V), do you know how I simplify or interpret the accuracy of strain after its replacement by the U-value?

    Accuracy of the strain =-4(V/Vex) / GF (1 + 4 (V/Vex)) = - 4 * (25 mV/V +/-1.73 mV/V) / (2.11) * (1 + 4 * (25 mV/V +/-1.73 mV/V))

    Just reuse the worst cases to calculate positive and negative values on 1.73mV.

  • Satellite M70-340: I don't see that the DVD absolutely menu Cup after reinstalling

    Hello
    I recently bought Toshiba M70 - 340 2 weeks. Now I learn that it is better Toshiba comparing the My.
    My question is that I don't see on the screen the DVD absolutely cut menu. First time when I opened it it was on the Ra±ght referring
    of the screen and my machine was Turkish Win XP Home edition. I have reformat and changes in the English version of Windows XP that accompanies it in Toshiba Recovery CD. But I lost the menu screen for the DVD I guess. A± now don't know how to reinstall this option.

    In addition, my machine is using the Intel Centrino 1.7, but I don't know if it is a two-way process. Second, the ram is 512 MB and I'm looking to buy 2 GB ram extened but seems still very very expensive (around $1100) why is that 2 GB of ram so expensive?

    I am using my laptop for software engineering but also using Macromedia flash and Adobe Photoshop.
    The application and MS VS.NET 2005 as long as SQL Server 2000 and SQL Server 2005 to the application is very slow and sometimes it takes more than 30
    min. compile or open it.

    I have my home PC P4 3.2 G with 1 GB of ram and it is faster than my Toshibe laptop.

    Be honest with me, after a 5 years later, I bought my second computer laptop and everything first a laptop from a different manufacture.
    I'm looking on the internet and I find the M70-340 with Turkish Q keyboard was the best option and it cost me $1450.

    All I need to know how to overcome my problem and I need a Toshiba to explained to me carefully.
    Can someone read my post and answer my question and concerns?

    Thank you very much and I look forward to receiving help.

    Kind regards
    NTMS2006

    Hello

    I don t want to disappoint you, but please don t wait for someone from Toshiba will write to you because it comes to the forum user. I will try to write a few comments because I have the same unit as you.

    This DVD shortcut is really not understandable for me and I really put t know what you are writing about. If the DVD drive is recognized and installed correctly, it should be listed in the Device Manager and also shown in Windows Explorer. If you want to launch about it please describe the exact location of the DVD drive in Device Manager and Windows Explorer.

    You're right about the memory. This laptop comes with 512 MB of Ram. According to the specifications of the laptop can handle max with 2 GB of Ram and if you want to use max please use 2x1GB module. Is compatible DDR2 400/533 1 GB (PA3411U-1M1G).

    2 GB modules are the latest and newest is very expensive. I put t know how much it can cost but certainly not around $1100. With this money, you can buy the laptop integer.

    The list of the used software is impressive and not wonder if the laptop is running slowly. Upgrade of Ram max and it will be much faster. Please don't compare your office with this mobile unit.

    Pick up the news how much memory costs PA3411U-1M1G module and two of them use for RAM max. You will see that unit will go faster and I hope that you will be satisfied with the performance.

    Good day!

  • My battery percentage is not accurate, I will let it charge all night, I wake up and it's on 80 so so I cut my phone to make it precise. Also my alarm clocks do not go to sea, and it's starting to be a problem.

    I need a solution to my battery unaccurate percentage and help with my alarm clocks that they leave mounting

    Hi there alara11,

    It seems that your phone battery does not charge, and your alarms do not seem to jump when you value. We should be able to solve that with troubleshooting software, so I would like to start by leaving the clock app and the settings:

    Force an app to close the iOS
    https://support.Apple.com/en-us/HT201330

    1. press the Home button twice quickly. You will see small glimpses of your applications recently used.
    2. slide to the left to find the application you want to close.
    3. push upward on the overview of the application to close.

    When you did this force restart the unit with the Home and Sleep/Wake buttons as described in the following article and test questions again:

    iOS: switch off and on (restart) and reset
    http://support.Apple.com/en-us/HT201559
     
    I don't think that, but if the problem persists, save your device in iTunes, then restore it like new and verify that it works.
     
    How to clear your iOS device and then set up as a new device or restore from backups
    https://support.Apple.com/en-us/HT204686

    If this is the case, restore your backup either check it still works and just reinstalled software or circumvent the problem in the backup file itself. Thank you for using communities of Apple Support, let us know how it goes!

Maybe you are looking for

  • How the auto uppercase the first letter of each sentence

    I use the latest version of the Pages on the Sierra of the OS and I am trying to find a way to automatically capitalize the first letter of each sentence with nothing doesn't. I've been a user of Pages for years and every time announced a new update

  • Of worksheet Numbers does not open in iCloud

    Numbers worksheets will not open via iCloud.com.  The new tab opens and then it just says: 'Loading... '. "forever.  It has always worked until this week.  Synchronized spreadsheets can be opened with the application of office numbers, yet is no long

  • This could be the cause the dervishes ball or freezing page in Safari (most often in the Amazon)?

    It is a relatively new problem.  My iMac is running Yosemite 10.10.5 with Safari 9.0.3. I deleted all the data of the Safari preferences Web site, deleted history and permissions repaired without any significant improvement There is no list extension

  • Missing contextual menu key X 1 German keyboard?

    I recently bought the X 1 with a German keyboard. The manual indicates the keyboard has a touch of context menu but is "Druck" on what is 'Print' in English and this key is indeed something else. Where is the context menu key? Or I can it remap someh

  • RV042 and WAG54G2

    Hello I have a dual WAN RV042 router and an ADSL modem WAG54G2. I would like to connect the two, but I am facing difficulties in obtaining this configuration works correctly. Basically, I connected the ADSL modem for the RV042 through the WAN interfa