A shiny new way of calculating PID parameters

Based on my previous post about specification of PID parameters, I developed a basic shiny web app to do all of the calculations for you. You can choose different levels of action (aggressive, moderate, conservative), and easily visualize the impact of things such as dead time in process (longer deadtimes results in slower control). Shiny web apps are written in the R language for statistical computing (I’m a PhD student in statistics, remember?). The code is all in this github repository, which also holds a link to a version of the app hosted on shinyapps.io. The live online version of the app may or may not be accessible because with a free “shinyapps” account there are traffic/use limitations… nonetheless the app can always be ran on your local machine if you follow the instructions.

 

shiny2

 

  5 comments for “A shiny new way of calculating PID parameters

  1. cas
    April 22, 2015 at 7:15 pm

    Hello. Good idea, very useful.

    ¿can you implement ºC option?
    ¿can you put a help description in each bar concept?

    Thanks

    • Justin
      April 23, 2015 at 11:55 am

      If the values you use for the equilibrium temperatures are in degrees celsius, your PID parameters will also be in degrees celsius as intended. No modification of the program is necessary is really necessary… but I will make this more obvious the next time I update it.

      • cas
        May 3, 2015 at 5:55 pm

        thanks Justin.

  2. Joe Solomon
    May 20, 2016 at 10:55 pm

    Hi Justin,
    Found your PID calculator and I’m trying to calibrate my HERMS with SB Elsinore. When figuring out the equilibrium temp, seems mine is taking a long time to get to a constant temp @ 8% load; I’m assuming equilibrium temp is a constant temp, basically when it stops rising at the 8% load. I started at 68 degrees, after about 2 hours its still rising and is at 91. Does it sound like I’m doing this right? Do I let it keep going until it stays constant?

    Thanks for your help and love the blog!

    Joe

    • Joseph Solomon
      May 20, 2016 at 10:59 pm

      Forgot to mention I’m measuring temp in the MLT while heating HLT via HERMS coil.

Leave a Reply

%d bloggers like this: