Output/Input Scale Factor

I have a high resolution stage used for a scanning application.  I'm using a pci-7344 to control the stage.  The system is marginally stable with kp=1 and various values set for ki and kd.  I have found several posts with the same issue:
http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/tuning-servo-system/m-p/139507/highlight/tru...
http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Is-there-any-way-to-drcease-the-open-loop-ga...
http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/MAX-Reducing-Encoder-Resolution/m-p/1030934/...
http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/7344-PID-proportional-gain-1-but-actuator-st...
It is apparent that the gain needs to be set below one and the only current solutions (decrease encoder resolution or decreasing the output limits) are both unacceptable.  Encoders aren't free (and in my case extremely difficult to replace) and I want my stage to run as fast as possible.
Many other modern controllers allow the input and/or the output of the PID loop to be scaled (even if it's only by factors of two for non floating point dsp's) for exactly this reason.  This allows one to arbitrarily place the optimal kp value within the allowable integer range (i.e. 1<kp<32768).  Is there a way to do this on ni controllers?  If not is there a propper place to request features?

Unfortunately you can't scale the input or output of the PID loop. I am attaching two links below that discuss how to tune the servo motor and also where you can make product suggestions. I'm sorry I don't have better news for you, but please post your ideas to the idea exchange below so our developers can look at them. Thank you!
A Simple Method for Servo Motor Tuning
NI Idea Exchange
Mychal F
Applications Engineer
National Instruments

Similar Messages

  • Thermocoup​le Scale Factor

    Hi,
    As I learned in Basic I & II, 100 is the scale facto to measure thermocouple. Is this valid for all type or just the device at the training center.
    I am reading thermo Type K as a voltage with scale of 100 but the reading is .4 V instead of 70 deg c. The range set to 25-100 C.
    My Q is: Do you have to do some measurment to set the scale factor to the right number?
    Thanks 

    What device are you using to measure the voltage from the thermocouple? Are you using a National Instruments DAQ board, or something else to input the voltage to the PC? Is the voltage from the thermocouple amplified by anything before you measure it? That would help a great deal in determining the answer to your question.
    But this might be useful info:
    According to this website: http://www.picotech.com/applications/thermocouple.​html
    Type K (Chromel / Alumel)
    Type K is the 'general
    purpose' thermocouple. It is low cost and, owing to its popularity, it
    is available in a wide variety of probes. Thermocouples are available
    in the -200 °C to +1200 °C range. Sensitivity is approx 41 µV/°C. Use
    type K unless you have a good reason not to.
    So, at 100°C, without any amplification, the thermocouple would output a voltage of
    .000041V/°C * 300°C = 0.0123V (the TC range starts at -200, so add 200 to the desired temp)
    And at 25°C, the TC output would be
    .000041V/°C * 225°C = 0.009225V
    So, I would say that you have some kind of device that is amplifying your TC to a higher voltage. Therefore, you need to know what that amplification factor is before converting that voltage to a temperature. If, just as an example, you have a circuit or box that inputs a TC voltage and outputs 10mV/°C, then your 25-100°C range would be .250V - 1.00V. In that case, the .010 is your scale factor, and your 0.4V output would translate to 40°C. Again, that depends on the hardware you are using.
    Does that help at all, or just confuse you more?
    B-)

  • Problem in JAI scale factor

    I am using scale method for Zooming purpose.So i set scale factor as 0.5 for Zoom-in and 1 for Zoom-out.First I load the image,then i perform Zoom-in to make fit width.After Zoom-in,i am getting the image co-ordinates which is totally different from that of original.But actually what I need is the image co-ordinates to be same when i Zoom-in or Zoom-out. So i think Scale in JAI is only for Resize and not for Zoom.So please provide me the solution for Zooming as early as possible.
    Thanking You,
    Kannan

    I am not saying it will work, but I would ask if you tried "Dilate"? I don't know what the parameters are supposed to be for the different methods, but I do know how to get a listing of them. See the code below:
              OperationRegistry ory = JAI.getDefaultInstance().getOperationRegistry();
              String [] temp = ory.getRegistryModes();
              String []temp2;
              for (int which = 0; which < temp.length; which++) {
                   temp2 = ory.getDescriptorNames(temp[which]);
                   System.out.println("\t"+temp[which]+":");
                   for (int cual = 0; cual < temp2.length; cual++) {
                        System.out.println("\t\t"+temp2[cual]);
    That will get you a listing of all of the registry modes and the descriptor names within each mode. For parameters and explanations, well, I guess check out the source code for the JAI library and then rifle through it until you find an example, or use trial-and-error, since the only documentation seems to refer to deprecated calls (as I have noted in the most recent version of JAI).

  • Scale factor change in 11g?

    This is what i do on Oracle 10g R2 and 11g.
    select wktext from cs_srs where srid = 28992;
    On 10g R2 I get:
    PROJCS["Amersfoort / RD New",
              GEOGCS [ "Amersfoort",
                   DATUM ["Amersfoort (EPSG ID 6289)",
                        SPHEROID ["Bessel 1841 (EPSG ID 7004)",
                        6377397.155, 299.1528128], 593.16, 26.15, 478.54, -1.30439800822601264037402186442411206952, -.103297414968545854662361857351254024323, -1.14450153042326354585672371782129234178, .9999959225],
                   PRIMEM [ "Greenwich", 0.000000 ],
                   UNIT ["Decimal Degree", 0.01745329251994328]],
              PROJECTION ["RD New (EPSG OP 19914)"],
         UNIT ["Meter", 1]]
    On 11g I get:
    PROJCS["Amersfoort / RD New",
              GEOGCS [ "Amersfoort",
                   DATUM ["Amersfoort (EPSG ID 6289)",
                        SPHEROID ["Bessel 1841 (EPSG ID 7004)", 6377397.155, 299.1528128],
                        593.16, 26.15, 478.54, -1.304398008226, -.103297414969, -1.144501530423, 4.0775],
                   PRIMEM [ "Greenwich", 0.000000 ],
                   UNIT ["Decimal Degree", 0.01745329251994328]],
              PROJECTION ["RD New (EPSG OP 19914)"],
              UNIT ["Meter", 1]]
    Now the interesting part is in the scale factor of the datum transform:
    On 10g R2 this is:
    .9999959225],
    on 11g this is
    4.0775
    I understand that 11g is doing it correct as the scale factor needs to be defined in Parts Per million, so it should be read as:
    1.0 + 4.0775 * 1.0e-6.
    But then I don't get 0.9999959255.
    I only get that value when I do:
    1.0 - 4.0775 * 1.0e-6.
    So has the scale factor been wrong in Oracle 10g R2 all the time?
    Is Oracle Spatial wrong again as it should be 1.0 + ppm * 1.0e-6?
    Am very confused here...
    Edited by: [email protected] on Jan 25, 2010 4:04 PM

    Yes, a small subset of the EPSG SRIDs had this problem in 10gR2. OGC SRIDs were not affected. The value in 11g is correct, based on the EPSG data.

  • Scale Factor for Photoshop and Firefox

    Hi everyone,
    I am attempting to adjust the scale factor on my macbook pro. Everything is good so far except several applications (firefox and cs5 photoshop) do not readjust well. I am wanting to set the independent scale factor of these applications back to there original settings.
    To do this I need to know the location of bot firefox and photoshop .plist file. (ie: com.apple.photoshop) - this is not correct file name...
    If I know this, I can type this command into terminal:
    defaults write com.apple.photoshop AppleDisplayScaleFactor 1.00
    Does anyone know the name or location of the files?
    Thanks,
    Calvin

    I am attempting to adjust the scale factor on my macbook pro.
    If you mean so images display the correct size on screen when you choose Print Size, you do that in Photoshop by opening the preferences.
    Create any blank document at the resolution you most commonly use. Something small enough to fit the screen and be measured with a ruler. 3"x5" or somewhere around there.
    Open Photoshop's preferences and click on Units and Rulers in the left column. You want to change the settings in the New Document Preset Resolutions section. Since I mostly do print work, I set Print Resolution to 300 pixels/inch. Then start changing the Screen Resolution field until you find the number that gives you the closest setting to actual size when you choose View > Print Size. I ended up using 94 on a monitor with a 1920x1200 resolution.
    Photoshop is also smart enough to use those values to interpolate other file resolutions. If I make a copy of a 4"x6" image and scale it down to 200 pixels/inch, it still displays the correct size when choosing Print Size.

  • Change scale factor on runtime

    Hello!!
    Can somebody advice me about a way to change charts scale factor(wad 7.0). Something like doing zoom in and out.
    Thanks!!

    Hi Ben,
    Chandrasekar's approach was to create a new template & bind the list items to the new template which is also a good solution, but a better way would be just updating the list Aggregation that would have solved your issue,
    oList.updateAggregation("items");
    JS Bin - Collaborative JavaScript Debugging&lt;/title&gt; &lt;link rel=&quot;icon&quot; href=&quot;http://static.jsbin.…
    Regards
    Sakthivel

  • Getting error code 2 and also "selected driver not found (-10202)" when trying to change output/input in garage band. Driver issue?

    Garage band newbie here...Been trying to record using PreSonus as my interface..having nothing but problems when I try to bring up
    garageband. Multible restarts did help at first but now I can get no sound and cant seem to load the drivers at all in output/input...any help with this problem?

    YES!!! YES!!! YES!!!
    I got it!!! Yes!!!
    Guys, I've solved my problem about that error -10202 (Selected driver not found).
    I have installed in my Mac Pro (OS X 10.5.8) a document with an extension ".rsrc" to correct the position of the accents in my keyboard, like acute accent, tilde and circumflex.
    That file is called "U.S. - International.rsrc" and it's stored in the following path:
    "Macintosh HD/Library/Keyboard Layouts"
    So, when it's properly installed, I can choose 2 country flags on the right side of the menu bar (U.S. - International and Brazilian).
    That's the clue!
    When I pick up "U.S. - International", my keyboard works fine with the accents, >>>BUT<<< Logic Pro 9 doesn't recognize my audio driver; and when I pick up "Brazilian", my keyboard doesn't work with the accents exactly as it shows me on each key, BUT Logic Pro 9 DOES recognize my audio driver.
    So, when I want to write anything out, I will pick up the "US - International" and when I want to work on the Logic Pro 9, I will pick up "Brazilian".
    I hope I can help all of you.
    Regards,
    Renato Veiga.

  • LVPDA 8.5 picture set origin, scale factor??

    Hi!
    I want to display an image on the screen of the PDA. It will be a navigation like application:  i have to show a small detail of a bigger image, but always another detail. In desktop applications I can do this with changing the "origin" and "scale factor" property of the picture. But if I use these invoke properties of a picture with PDA target settings, i get a "target specific" error message. How to use these without getting error / is there another simple way to do this?
    Thanks:
    tomidevil

    Hello,
    Thank you for your answer.
    The error message box looks as following:
    "Target specific errosrs and warnings:
            Property Node 'Picture':     (nothing)
    Details:
    Could not get error details"
    "you have to use ActiveX Property Nodes, linked to the image you want to process" - I don't really understand what this means, and how to do it? 
    Regards,
    Tamas Gusztav

  • Presario 6320US-No system/CD/​video output: input OK.

    Presario 6320US-No system/CD/video output:input OK.
    I have an Ion iTTUSB turntable to record vinyl to MP3s. Everything was OK. Copied dozen records
    with EZ Vinyl Controller v2.1 w/ Gracenote: this converts the sound & sends it to iTunes. All good with
    playback until I recorded ABBA's Greatest Hits! (Yes HA-HA! That was my 1st problem.) There occured
    a harmonic distortion event (loud hum developed-feedback loop). I quickly turned down my external Labtec
    speakers. The hum was recorded in the iTunes MP3 file and I heard it in playback. Then there was no playback
    sound at all: no system sounds, CDs, movies, etc. However, there is still audible input sound when I record
    vinyl while recording, but no playback sound afterwards. Fried soundcard? Drivers? (Realtek AC'97 Audio for VIA)

    You can check if your Mac requires a firmware (Boot ROM version in System Profiler) update. Mac OS X: Available firmware updates
    http://docs.info.apple.com/article.html?artnum=86117 If an update is required, the update must be installed (using OS 9) BEFORE you install OS X.
    If you want to leave OS 9 on your hard drive so you can run classic applications, you need to update to OS 9.2.1 or 9.2.2.
     Cheers, Tom

  • W540 - Toggle output/input from 3.5mm plug to speakers/microphone.

    >> W540 - Swissvoice, iPhone earbuds/microphone toggle to/from built in audio hardware and Fn Key toggle ,,
    I still can't figure out how to program the Fn Keys.
    Scenario: I use a Swissvoice handset at home, an iPhone earbud/microphone combo on the road, and when on a business link with more than one person in front of the W540, I switch to the built in speaker/microphone.
    Right now to switch from the mini plug to the hardware speaker/microphone, it's several steps to achieve the objective.
    With the multitune of Fn keys, can one be programed to quickly switch thew output/input from the micro 3.5mm connector to the built in hardware?
    -= Bauden =-

    I can hear the noise through all kinds of headphones and the internal speakers, but the power running through those is usually so low that the pop is negligible.
    My speakers are set to 0 dB, which is massively loud (the volume control kind of clicks in place at 0 dB, so I keep it there), so I keep the volume down digitally on my MBA. But this means that any "uncontrolled" sound output will be pretty loud, such as if I unplug the jack and touch it.

  • Geometric Template Matching Scale Factor

    Hey,
    I've been having some problems with the Geometric Pattern matching. I have a few images that I've been testing, and it seems like the scale factor I specify doesn't compensate for different sizes in the image.
    The three images are attached below. all.jpg is being successfully matched and the match cluster says it has a scale factor of 70%. I took the all image and increased it's size slightly to create all2.jpg. all2.jpg cannot be matched. I increased the size by 25%, and in the geometic pattern matching stuff I have a range of 25% to 150% so it seems like it should still be matched.
    Any help would be appreciated,
    Kevin
    Attachments:
    all.jpg ‏211 KB
    all2.jpg ‏113 KB
    template.jpg ‏132 KB

    That's interesting you would think that rotation was the problem after I explained taking all.jpg and increasing it's size to create all2.jpg, and that change caused all2.jpg to no longer contain a pattern match. So, I took all2.jpg and created all3.jpg by rotating all2.jpg to match the rotation of template.jpg. all3.jpg also does not contain a pattern match. Now for fun, I'll take all.jpg and create all4.jpg by rotating all.jpg to match template.jpg. all4.jpg also contains a match. So to summarize my findings:
    all.jpg - original - pattern found
    all2.jpg - all.jpg size increase - pattern not found
    all3.jpg - all2.jpg rotated - pattern not found
    all4.jpg - all.jpg rotated - pattern found
    This leads me to believe that the pattern matching is not accounting for the scale factor, but is accounting for the rotation. Although, the interesting thing is all2.jpg is closer in size to the template than all.jpg.
    Attachments:
    all3.jpg ‏124 KB
    all4.jpg ‏81 KB

  • Timestep too small and Input Power Factor cannot be got

    Hi All
    I've just started using multisim 2001 to simulate Electronic Ballast circuits and am having trouble.
    About Double-Stage Electronic Ballast circuit,it works well before using EMI circuit,but I get a "timestep too small" error message after using EMI circuit.
    About Single-Stage Electronic Ballast circuit,it also works well before using Wattmeter,so I cannot get input Power Factor.Besides, I try to add EMI circuit, but noting works.
    I attached my circuit to this email, could someone please give me some assistant? I would be really appreciated
    Thanks
    Attachments:
    Double-Stage.msm ‏33 KB
    Single-Stage.msm ‏20 KB

    I have tried something, but I am still not sure I am getting accurate readings. What I did was to remove the bridge rectifiers and the AC Voltage source and replace them by a DC power source at the same voltage value. It seems to stablize the reading, but I am not sure how reliable it is or if that is what it should be. What I will do is post the two circuit for you and let you look at them. It takes a little bit for the reading to stabalize so just be patient.
    Here they are:
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day
    Attachments:
    Double-Stage_2.msm ‏30 KB
    Single-Stage_Modified.msm ‏32 KB

  • Adaptive Limiter: What's input scale?

    I'm reading the plug-in manual and it says this about the ad-limiter:
    Start the process by adjusting the Input Scale, just as you would set a mixing desk’s
    Gain parameter, or a digital recorder’s recording level. The parameter behaves much
    like a Gain control, but its purpose is to adjust the input level, which must never exceed
    0 dBFS. Adjust the Gain parameter to musically control the internal process of peak
    smoothing and gain increase.
    Does that mean the margin value should never exceed 0.0? I'm not sure exactly what they mean my that. Then I use the gain to control the amount of limiting right?
    Also, why is it that when I crank the gain all the way up the levels actually drop down a bit? Sure it sounds like crap but I'm just curious if anyone knows.

    yes bnob, the input scale should not be set so the left hand meter zero's out.
    ever.
    digital clipping will result. basically it's just a trim control.
    once this is set correctly, the gain control should be used to pump up da volume. bare in mind that too much of this leads to mixes with little energy or dynamic. not a good thing, generally.
    a more sane approach is to put a compressor plug before it set as a leveller.
    a leveller has a deep threshold, slow attack, low ratio, mid-slow release and soft knee. also try the soft clip with it. this setting will make things louder but you might get overs. that where the ad lim comes in.
    it takes care of the peaks.

  • Calculating scale factor from miliamps input to labview output

    I am setting up a testing fixture with Fieldpoint and Labview. I am bringing in a 4-20MA single to the fieldpoint. I need to scale it so I can have a pressure and vacuum reading in my labview screen. Do I use a multiply function or make a sub VI.
    Thanks, Bob

    I built a sub VI for my amp meter. I have a current transducer that is set to read 100 amps. So we used y=mx+b and got the scaling right on. I copied the Sub VI and used it for a pressure reading. This time the scale was based on a 250 PSI Transducer. This transducer puts out a 4 to 20ma signal. Again this one works perfect. It is dead on compared to the precision analog gauge. The problem is with my Vacuum Transducer. It is a 0-200 psi or 0-30" in Hg. I calculated the y=mx+b for this sub VI and I can not get a valid vacuum reading. I checked the port to make sure I was pulling vacuum there.
    In the sub VI if you click on it, it shows the original calculation for the amps. I tried to save the sub VI as a different name but it will not allow two sub VI's in the same state. I was able to get the pressure to work by changing the value in the constant that is connected to the Y multiplier.
    So how do I get the vacuum meter to show a 0-30" value.
    Thanks for the reply, Bob

  • Dynamic output & input fields in the table control

    HI Guys,
    How can one change the attribute of  input field to output field basically greying of field) dynamically
    based on the some flag. Loop at screen does not work. I need to change the attributes
    of field 'outfiled' and output field display only'.
    Any help is highly appreciated.
    Regards,
    Harsha

    Hi Harsha,
    I generated a table control (ERP 6.2) and somewhere I found the coding like this (the name of the table control is TABLE_CONTROL):
    *&spwizard: output module for tc 'TABLE_CONTROL'. do not change this lin
    *&spwizard: get lines of tablecontrol
    module TABLE_CONTROL_get_lines output.
      g_TABLE_CONTROL_lines = sy-loopc.
    If I do a loop at the screen at this place, I can control the individual input/output for the screen fields (the table fields). In my work area (WA_CONTROL) I can see the actual value of fields. Depending on this, I choose to enable/disable input via:
    loop at screen.
    if wa_control-material <> ' '.
    screen-input = '0'.
    modify screen.
    endif.
    endloop.

Maybe you are looking for

  • IMovie HD 6.0.3 will no longer recognize my Sony DCR-HC40 camcorder

    My Sony DCR-HCR 40 previously worked with iLife 4 until I upgraded to Mac OS 10.4.6. After that iMovie no longer recognized my camcorder. I then upgraded to iLife 6 and iMovie HD 6.0.3. Again, iMovie does not recognize my camcorder. I've read everyon

  • Java Web Start on Mac OS X

    Hi, I am trying to deploy my Java (Swing) application using Java Web Start - unsigned. When running on Mac (OS X 10.4, JRE 1.5) I seam to be getting java.security.AccessControlException when accessing different com.apple.eawt.Application methods (for

  • SOAP Support

    Hi, its not clear for me... does PI only support document/literal soap messages for receiver (PI->3rd party) interfaces ? It seems it handles WSDL in RPC (it can import them ! as stated in sap help) but I think it only handles document/literal messag

  • Managed Default versus Managed Custom Folder, and Default Folder Type Options

    I am looking to create some new managed folders needed for company retention policy. It seems pretty forward to create the folder:  New-ManagedFolder -Name "[Name Here]" -DefaultFolderType Inbox -Comment "[comments here]" -MustDisplayComment $true Ho

  • MDT 2013 Windows 8.1 Deployment Starts Prompting For Administrator Login In Middle Of Task Sequence

    I have a 8.1 deployment task sequence that automatically logs into the administrator account until about half way through the deployment. It actually looks like it logs in for a second and then dumps back out to the login prompt. After this reboot, t