When PID is reinitialized, it stays low

I am using a PID to control a power supply which alters its output in response to a current signal.  I am writing the output of the PID to the power supply via a compact field point, and reading the current produced by the power supply with a current transducer, which becomes the process variable.  It all works fine until I reinitialize the PID, or sometimes when it is first enabled.  Often what happens is that the PID will only put out the lowest possible output even though the set point is clearly higher than the process variable.  If I then alter one of the PID gains, the signal will jump, then begin to behave normally until I reinitialize it again, at which time it will often end up stuck low again.
I wrote a VI that simulates the response of the power supply, and the PID displays the same behavior.  Is this normal?  No matter how I set the gains it behaves the same, it always ends up stuck putting out 4mA no matter what I set the target to.
~Jo-Jo

Fellas,
Thanks for the responses.
Here are the two VIs I was using to test the PID.  The Payne Sim simulates the response from the power supply we are using which uses an input  which ranges from 4-20mA.  It should work with the current default values for all the controls.  If "reinitialize the PID" is pressed, the signal from the PID goes to 4, and stays there until one of the PID gains is changed, which changes the integrated error in the PID.
~Jo-Jo
Attachments:
PID Test.vi ‏29 KB
Payne Simulator2.vi ‏15 KB

Similar Messages

  • I have a iPhone 4 and lately it has been shutting down randomly when I still have battery left. It also doesn't turn back on, until I plug it in to the charger. But when I plug it in, the low battery sign shows up then comes to the lock screen with 68%.

    I have a iPhone 4 and lately it has been shutting down randomly when I still have battery left. It also doesn't turn back on, until I plug it in to the charger. But when I plug it in, the low battery sign shows up then comes to the lock screen with like 68% left.

    Morning Clementine Lin,
    For more information this, please see this article:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Take a look at the Will not turn on, will not turn on unless connected to power, or unexpected power off section.
    Have a nice day,
    Mario

  • My ipod touch 4g upgrade to version 5 and when I connect to iTunes stays in step 2 of 7 steps: backup saved ...... 1 hour goes well and you reinstall iTunes, reconnect, etc..

    my ipod touch 4g upgrade to version 5 and when I connect to iTunes stays in step 2 of 7 steps: backup saved ...... 1 hour goes well and you reinstall iTunes, reconnect, etc..HELPME!!!!

    Try:
    - Powering off and then back on your router.
    - Anything else here
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • Just installed IOS 7.0.2 (11A501) on Iphone now the sound when I play music is too low even when I crank it as loud as it will go. I used to be able to hear it when I mowed the lawn. not anymore. any suggestions?

    just installed IOS 7.0.2 (11A501) on Iphone now the sound when I play music is too low even when I crank it as loud as it will go. I used to be able to hear it when I mowed the lawn. not anymore. any suggestions?

    This should solve the problem
    Settings > General > Reset > Reset All Settings
    It will not erase any of your personal data, just reset the settings.
    Hope this helps.

  • When I select a title or lower thirds and try to enter text by double clicking on it I cannot enter any text at all. Also the text area box does not show up at all where you can enter text also.

    When I select a title or lower thirds and try to enter text by double clicking on it I cannot enter any text at all. Also the text area box does not show up at all where you can enter text also.

    It's a bit hit and miss, Walter. Sometimes the box to enter text shows up straight away in the inspector under "text". Other times, although you click "text" in the inspector, there's nowhere to actually write anything.... then what you have to do is move the trackbar over the Title Box until you see the text boxes in the main Viewer. In the Viewer, double click a text box.... you can enter text there, but it's a bit flaky, but when you've clicked in it, you'll find that under "Text" in the inspector, the box for inputting text has magically appeared!
    I'm not sure if anyone else has this trouble, but it is a bit of a pain!

  • I have a MacBook Pro OS X v10.6.8, when I turn on it stay searching. Also I need the software.

    I have a MacBook Pro OS X v10.6.8, when I turn on it stay searching. Also I need the software, I lose mine. 
    Tengo una MacBook Pro OS X v10.6.8, cuando la prendo se queda en la primera pantalla gris, pensando. Ademas perdi el software de ella. Que puedo hacer al respecto? 

    If you are asking about how to get the 2 discs that came with your mac..you need to call Apple and give them the serial number associated with your mac and they will send them to you for a fee (I dont know how much it costs)

  • I switched to the classic 'landscape' and when i reboot, it just stays at the greay screen, with the macintosh logo, and a blinking question mark. ive tried several methods of key combinations with rebooting etc.. i just bought this. please help.

    i switched to the classic 'landscape' and when i reboot, it just stays at the greay screen, with the macintosh logo, and a blinking question mark. ive tried several methods of key combinations with rebooting etc.. i just bought this. please help.
    I bought this off of craigslist with my christmas money, TODAY. i really need help, i have OS X experience from school, just not OS 9x. I need to reboot back to OS X asap. anything that may help is very appreciated. Thank You.
    Chris.

    Are you able to start up in Safe Mode?
    http://support.apple.com/kb/HT1455?viewlocale=en_US
    If this works you will see the normal desktop Once completely started up in Safe Mode, try to restart normally and go to Applications > Utilities > Disk Utility. Click on the top hard drive icon in the left sidebar and note the S.M.A.R.T. status at the bottom right of the pane. What does it say?
    Select the named boot volume in the left sidebar, ("Macintosh HD" unless it has been renamed). What is the hard drive capacity and how much space remains available on it? Repair permissions on it.
    See if you are able to do a little hard drive maintenance to help things out.

  • HT3140 put a date 1970 june 27 . and now the whole system is out of control i cant get to internet cannot change date and time  always when i opened system preferences stays in a waiting mode but doesnt show any opcion don t know what to do and i just bou

    put a date 1970 june 27 . and now the whole system is out of control i cant get to internet cannot change date and time  always when i opened system preferences stays in a waiting mode but doesnt show any opcion don t know what to do and i just bought this computer

    It may well be a driver issue but considering the loading: Xorg trying to load different drivers is somewhat normal. @cafe you can see that these are autoconfigured by X above the loading in the log:
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched intel as autoconfigured driver 0
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched intel as autoconfigured driver 1
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched modesetting as autoconfigured driver 2
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched fbdev as autoconfigured driver 3
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched vesa as autoconfigured driver 4
    As long as one of the drivers gets loaded, which it apparently does the failing of the others is fine.
    Was there an update maybe ?

  • I have an iPhone 5 and when I go to raise or lower my volume it says that my headphones are connected and they are not what should I do?

    I have an iPhone 5 and when I go to raise or lower my volume it says my headphones are connected and they are not how do I fix this?

    more here
    https://discussions.apple.com/thread/1343532?start=315&tstart=0
    and here
    https://www.google.dk/search?client=opera&q=iphone+stuck+in+headphone+mode&sourc eid=opera&ie=UTF-8&oe=UTF-8

  • If PC signal RTS gets low, it stays low.

    I use VISA Open. Property node is set to CTS/RTS flow control at 57600 bps. On some computers, the RTS gets low after receiving about 100 characters, and the sending unit stops. The problem is that the RTS is never asserted again to allow further communication. I use 4096 bytes of software buffer and checks the number of bytes received (using property node/Asrl Avail Num) before trying to read them. If I monitor the RTS state from labView, it reports that it is high when it is in fact still low. Adding extra stop-bits on the sending unit did not help (the unit still accepts 1 stop-bit for PC data flow).
    This behaviour occurs in labView 5.1.1 both in windows and in linux. I have done the loopback-test using Hyperterminal with
    local echo ON, failing to produce two characters on screen for each key pressed. Therefore, I assumed a PC hardware problem. However, today I was told that there was a bug in Windows98 Hyperterminal and that the computers fully passes the loopback test using Hyperterminal 6.3 from Hilgraeve.
    Has anyone heard of RTS bug in the VISA driver? Maybe I should try an older VISA version, from the ages when computers needed the RTS signal more frequently? The VISA files needed are
    serpdrv (perhaps not a VISA file)
    visa32.dll
    niviio.dll
    nivisv32.dll
    Is there a way to slow down a modern computer so that it is forced to use the RTS signal? That way I could see if the problem in fact occurs on all computers.
    Regard,
    Anders Jansson
    Piezomotor AB
    Sweden

    Hello Chris,
    I hope You are still out there!
    I tried NI-VISA 2.6 and it was all the same. However, the run-time files I listed still seem to be the 2.0 version.
    I downloaded and installed NI-VISA 2.6 Full development version, recompiled the application and tested the new stand alone program on a troublesome computer. An error occured because a VISA library were missing. The name of the missing file was not mentioned, so I copied the newest versions I could find of the VISA files niviio, nivisv32 and visa32 from the computer with VISA2.6. The program then worked, but no better than before.
    Since it works, I suppose the VISA files needed are the same as before, but from Your answer I expected new 2.6 files wit
    h other names to be needed.
    The VISA property node does not show if it is the UART or the serial driver who are responsible for clearing RTS signal. The status of RTS signal reported from within labView are incorrect!
    I have not tried to enlarge the VISA buffer since the error occures after only about 100 bytes transferred.
    /Anders.

  • File Error: Unknown File when trying to render a Motion Lower third

    I'm getting this: "File Error: Unknown File" when trying to render a Lower third made in the Motion tab. I'm using FCP 6.0.6 and haven't had any issues with this before. It seems to work fine if there is just text, but as soon as I apply any effect, like a drop shadow, I get that error message.
    Thanks,
    Joe

    What's the exact format of the video you're working with and the exact specification the sequence you're editing in?

  • My MacBook pro will not start up. when I boot up, it stays on a white screen

    I have a MacBook pro. My hard drive went out and I recently put a new one in it. Now when I Try to turn it on, it stays on a white screen and says loading but never does. I have Mac OS X install disc 1 and 2, and says when you put the cd in to hold down c, but every time I try, it just ejects the cd. Please help!!!Not sure of what operating system it has, or if it even has one. It had Mac OS X Snow Leopard. I am complete rookie to working on apple in general.

    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • When customising toolbar item only stays for current session, missing when Firefox is reopened

    I want to add a 'Bookmarks' icon next to the 'Refresh' icon on the tool bar. When I customise and then click 'Done' the icon appears and functions correctly. The icon stays for the open session with Firefox. However after closing and then reloading the icon is not there. Any ideas please.

    See this: <br />
    https://support.mozilla.com/en-US/kb/Preferences+are+not+saved

  • When rendered, still images appear in low quality

    Hello everyone.
    I'm facing an interesting dilemna with Adobe Premiere Elements 8. It usually works fine for me, and with time I have learned to fix most of the details that usually bother unexperienced users such as me.
    What happens is that I'm importing still images (JPEG) to my video, and when rendered they're final quality appears to be so low. I mean, you can see the pixels very large, square-like, you know... as if I had a small image and had it stretched out a lot, but that was not the case at all.
    I never had this problem before, and I can't recall anything different on my part in this new video.
    Any ideas as to how to fix this?
    Thanks everyone.

    Hi everybody,
    It is a bit late to join this discussion but for vacation reasons I didn't follow the PE-Forum for a while.
     I think I have a comparable problem like fmrees: Since a couple of days the resolution of the Preview in PE8 is rather poor. Unfortunately I can't say exactly when it startet. Maybe it begun after I rendered the project.
    After having read this issue I deleted the rendered files, looked at the preview: still the same. Re-rendering didn't improve the result.
    The difference between the problem of fmrees and mine is: I do not use at all still images. The only video sources are AVI-Files from MiniDV.
    I looked at other PE-projects I didn't touch for several week: I have the same problem! So probably it is something in the PE- or project-settings, but I have no idea what it could be (I am rather a newbee in PE).
    My Hard-/Software:
    Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz 2.80 Hz
    RAM 8.00 GB
    OS
    Windows 7 Home Premium
    Video:
    NVIDIA GeForce GTX 260
    Philips 244E
    Audio:
    AVerMedia H789 PCI-E DVB-T
    Realtek High Definition Audio
    Premiere Elements V8.0

  • When I close firefox it stays open, but visibly is closed, I have to log out or restart to make it close

    Not all the time, but very frequently when I close a tab it stays open in the background(if it is a video, I can hear it still playing) When I exit out of the browser completely it keeps running in the background. It appears to be closed. When I try to reopen it (i.e.- double click desktop icon, got to start menu and try to open), nothing happens. I have tried to reinstall firefox during some of these times and it says the browser is open and I have to close it before installation can continue. That tells me the browser is somehow not closing when I close it, that it runs in the background with no way to control it without logging out or restarting computer. I do not have any problems like this with Internet Explorer or Google Chrome.

    I only had a few addons installed, I disabled Zone Alarm toolbar, View Source Chart 3.01. I also had 5 separate java console updates/addons, and I uninstalled all but the latest java console 6.0.21. All I have now is Roboform 6.9.98, Firebug 1.5.4, Java console 6.0.21, Java quick starter 1.0. So far, so good, the problem has not occurred today. I hope this is it, I will be more sure after a few days problem free. Thanks for the info.

Maybe you are looking for

  • Old Version Script Obsoletion

    I have flash 5. I want to continue using it. (I cannot afford to buy a new version) I am used to using "tell target" and other obsolete scripting tools. If I make a website with flash 5 old school scripts, will the Internet continue to play these old

  • 2 external monitors and internal Screen on T430S and Mini Dock Plus

    Hi Community, I just got my new T430S and the MiniDock Plus. On the website I've ordered the combination I had the impression that I could use two external screens and the internal screen at once. Unfortunately I don't manage to find the right settin

  • Save - PDF - Print (Scripting to do in one click)

    Hi, have a workflow question for you script-writing gods. Is it possible to create a script that will automate the process of saving a document, then saving a PDF of that document, then printing that document out? Right now my manual process is: Save

  • Need to pick Bill to party and Payer from Ship to party instead of Sold to

    Hi, Please let me know the configuration setting needs to be done for capturing the Bill to party and Payer from the Ship to party instead of the Sold to party. This requirement needs to apply to curtain document types only. Please respond as soon as

  • Premiere Pro CS4 disables aero on launch inWin 7 64Bit

    Hi all, I have an odd problem, I've just received my copy of Win 7 Signature edition and I have installed Adobe Preimiere Pro CS4, but when I launch the application it disables my Aero theme! I've been running win7RC1 (buld 7100) for the last few mon