Search the Community
Showing results for tags 'pid'.
-
Hello, I was setting up a PID and couldn't find the I-Gain term. I attached the page from the documentation about setting up the PID. Reading the rest of the section (Chapter 10 of MELSEC IQ-F FX5 User's Manual (Application)), doesn't reveal how to use an integral gain either. It skips over it; showing K and D gains and times but only showing I time. Is integral gain something derived or implied by other configurations?
- 1 reply
-
- mitsubishi
- fx5uc
-
(and 2 more)
Tagged with:
-
Hello, I have a PIDE Instruction to control a control valve. The CV minimum is 6% and Max is 100% But when ever the SP is not reached and it has to lower the CV it goes to zero rather than maintaining minimum of 6%.
- 1 reply
-
- allen braldey
- plc
-
(and 10 more)
Tagged with:
-
Hello everyone, Not sure if I have the right forum, so please forgive me; but... I have a control loop to tune, and it's the first one that I've ever been in charge of. My question is about tuning PID. The loop I have to tune is controlling a pressure reactor to setpoints ~3000psi with a safety valve that blows around 4500 psi. My question is what procedure you might go through to tune it safely. I'm quite honestly a bit afraid of the high pressures and I really don't want to make anything "pop". What also makes it tricky is that the reactor has to heat up to get to full pressure. Without heat, the reactor will reach ~1000 psi, then it sits there for a long time and eventually the heat kicks in and the pressure can rises up very quickly. I currently have a very small gain value, something like 0.009 and an integral time of ~7sec. I'm getting pretty good results in that the PID controller will bring the reactor up to pressure without major overshoot, but it oscillates at ~ +-100psi, which seems excessive to me. [The situation is further complicated by the material in the reactor, a slurry, which has variable density often causing pressure spikes and drops as thicker sediments blob through. Then, valves that we are using to control appear to be only opening ~10% to maintain setpoint, meaning I only get 1/10th the resolution I would be hoping for. Also, the valve responds quite slowly to command signal changes. The controller will be attempting to open the valve in 0.1% increments, but it only responds at minimum to 0.4% changes in the control signal, and when it reverses directions it seems to only respond after a ~5% change in control signal. This alone appears to cause oscillations that I don't know if a PID loop could ever get ahold of.] Anyways, aside from the obvious valve issues, is there any tips for tuning a system with this high pressure? I need fast response, but slow buildup... (Oh yeah, I'm also having to use connected components workbench for control software. At least the newest version of CCW seems to have a nice iPID control block; but man, I have never had to ctrl-alt-delete a program more times due to freezing while building or downloading...so frustrating...).
-
Hello. I will be very grateful for your help! There is a MELSEC-L controller (GX Works2), it is necessary to implement PID controllers. Question: Is it possible to work with 33 or more PID controllers at the same time? Why I have this question: 1) There is a dl.mitsubishielectric.com : MELSEC-Q/L/QnA Programming Manual (PID Control Instructions) On page №16, there is a table that says "Number of PID control loops: 32 loops (maximum)". 2) In the dl.mitsubishielectric.com : MELSEC-Q/L Programming Manual (Common Instruction) On page №737, there is a description of the "PID" function block, where there is no limit on the number of uses. I saw a note about the CPU serial number. 3) On the Mitsubishi website there is a library fb-cpu-pid_v110l_e.zip www.mitsubishielectric.co.jp : fb-cpu-pid_v110l_e.zip I can't figure out if there's a limit to how many PID controllers can work at the same time in a program. What is the difference between PID controllers (from the points above)? p.s. I liked the pid regulator from point №2 the most.
-
Hello, I have a function block that uses a PID control to operate a heater (actually a number of them). The engineer who wrote this is gone and I have no experience with this particular utility. The voltage on the heater ramps up from zero over a number of seconds (about 10 - 30 seconds). We need to increase this time but I don't know which variable controls the time. Would anyone be able to guide me in the right direction? A PDF of the function block is attached. Thanks for the help, Rath Filament Control - FB1.pdf
-
Hello Everyone... I got a project of pumping station... Need your help to fulfill client requirements through PLC logic... #System# There are 6 pumps, every pump is Controlled by Individual VFD, and all 6 VFDs are in Communication with PLC. Output header is common for all pumps, and a Pressure Transmitter is connected at output header... #Logic Requirements# Now when we start sequence in auto, the least run hour vfd should start first and increase the frequency slowly to maintain the pressure setpoint, now if vfd1 at 50hz and pressure is lower then the SP next vfd according to run hour should start and and increase frequency slowly, afterwords 3rd vfd according to runhour and so on untill pressure match SP, then maintain the pressure of header... If pressure increases above the setpoint, last started vfd should reduce rpm and shut down first and then second last started to shutdown and so on... And client also need enable-disbale logic, if they mark a pump disable then that pump should not start... Can you help me out and suggest anything, or provide some sample backups or documents ?
- 12 replies
-
- bubblesort
- plc
- (and 7 more)
-
can some one post a cp1h pid controller exsampel. i hav trubels and i dont understand manual or the help page in cx-programmer
-
Version 1.0.0
82 downloads
A simple test program and starting values for the PIDAT instruction in Sysmac Studio. Simply run the simulator (Simulation-> Run) and toggle the Test_PID bit. Simulated feedback will allow the loop to operate normally. The setpoint can be adjusted by modifying the PID_SP variable. There is a pre-programmed data trace that traces the SP, MV, and PV. To use the data trace navigate to DataTrace0 and start the trace, flip the Test_PID bit true and the trace will log 10k samples. Change the SP and view the behavior when the trace finishes. -
Hi Guys, Did anyone have PID Control example to share? (For Omron CJ2M CPU12) thanks. Charles SK
-
Hello every one in this video, you will learn about Omron PLC PID Control (CX-Programmer) you could download as free by using the below referral link: Omron PLC PID Control (CX-Programmer) | Udemy I marked free download for 1000 people. I hope it will be useful for you. Regards Mehdi
-
Hey guys I am strugeling with how to code a autotune algorithm in Gx Works 2 structured text. Does someone have any useful information or code to lend me, this is for a school project please help
-
Hello all, There are two pressure gauges in a line with a flow of water. The flow is controlled by the pumps which is controlled by the PID whose control variable is pressure gague -2 . In ideal condition the pressure gauge -2 remains at 55 psi and pressure gauge -1 stays at 82 PSI. But in the line if someone opens a manual valve then pressure gauge - 1 reads 100 psi because the pump is running as per pressure gauge 2 . Is is possible to clamp the PID so that pressure gauge 1 remains at 82 psi. FYI: Pressure gauge 1 is right after the pumps and pressure gauge 2 is at the end of the line.
- 4 replies
-
- allen bradley
- clamping
-
(and 4 more)
Tagged with:
-
View File Sysmac Studio Simple PID Example A simple test program and starting values for the PIDAT instruction in Sysmac Studio. Simply run the simulator (Simulation-> Run) and toggle the Test_PID bit. Simulated feedback will allow the loop to operate normally. The setpoint can be adjusted by modifying the PID_SP variable. There is a pre-programmed data trace that traces the SP, MV, and PV. To use the data trace navigate to DataTrace0 and start the trace, flip the Test_PID bit true and the trace will log 10k samples. Change the SP and view the behavior when the trace finishes. Submitter photovoltaic Submitted 02/13/2022 Category PLC Sample Code
-
Hi I have already posted this question in Matlab questions, but have yet to have an answer. I am having issues attaching images here, but this link contains the PID tuning window in Simulink and the relevant section of the PLC manual - https://uk.mathworks.com/matlabcentral/answers/1620110-using-pid-block-values-in-mitsubishi-plc I am using a FX3GE-24MT PLC and GX works 2. After modelling the system in Simulink I obtained these PID parameters Proportional = 2.5 Integral = 0.0058 Derivative = 0.1 Filter = 70 Sample Time = 0.1 Does anyone have experience of transferring these values from Matlab/Simulink to the PLC code? My main issues are that the PLC code wants two values for derivative (time and gain) but I am only given one value, and also that the PID registers will only accept INT datatype, but the integral time is (x100ms) with my required value appearing to be 58 ms (I think??). Basically, does anyone know what I should use as my values for KP, TI, KD and TD from my Simulink output?
-
Beste allen, Voor een temperatuurregeling om een watertank om product op de juiste temperatuur te krijgen en te houden voor een aantal minuten. Wil ik een PID regeling toepassen, want volgens mij is dit de beste methode om zoiets toe te passen Of heb ik dit verkeerd? Een situatie schets is: Er komt product in een watertank. Dit wordt doormiddel van water en stoom verwarmt naar 120 graden. Hier 20 min gehouden en dan terug gekoeld naar 30 graden. Hoe kan ik het beste mijn PID regeling maken om zo snel mogelijk op de 120 graden te komen en daar stabiel te laten blijven? Bij het afkoelen mag het Delta T verschil niet groter zijn dan 50 graden anders gaat het product kapot. Ik heb wel wat ervaring met het programmeren van plc's, maar nog nooit een PID regelkring toegepast. Vandaar mijn vraag hoe werkt zo'n regeling precies. Ik heb wel wat filmpjes bekeken hoe je het kan programmeren. Maar voor mij is het niet duidelijk wat er nauw precies gedaan werd en waarom. Kunnen jullie mij dit uitleggen, zodat ik het begrijpen ga? Er wordt gebruik gemaakt van een fx5u plc, geprogrammeerd in gx works 3 en een got 1000 scherm om de data te lezen en te schrijven. Warm water is een open/dicht klep. Koud water en stoom zitten een regelklep van 4 - 20ma in het leidingwerk. Ik wacht in spanning af. Groeten A. J
-
Hi ALL! Do not compile project on GX Works: Type mismatch? But type is match!!! Equivalent project on Delta ISPSoft compile OK: What wrong?
-
We've had intermittent trouble with a PID control loop on a simple electrical heater with RTD feedback. The heater heats a block of aluminium and disc-shaped tool which is pressed down to preheat a part. If the setpoint is 90°C the temperature might rise to 95 or 97°C and stay there. The PID.SO is remaining at 8% or so when I would expect it to drop to zero. My initial thought was that it sounded like integral windup. I'm not too familiar with the data structure but .DATA[0] looks like the integral value. It was at 44 so I set it to zero and the loop has stabilised with DATA[0] at about 0.02. Has anyone any wisdom to offer on this? Is there any good anti-windup practice (if that's what I'm seeing)? Many thanks.
-
Hello ! The idea is to heat greenhouse with stable temp at 13*C. Heating method is with circulating hot water(80*C) true pipe, and open/close three-way valve. Output 1 is for open big circul Output 2 is for close big circul valve is 50 mm , step is 10 mm per minute In theory water heater start at temp 15*C to be prepear and for about 40 min is ready with 80*C . Temp is continue droping and at 14*C three-way valve start to open circul 1(big one) and need to open 10 mm After 0.2*C drop down open 10mm again ... and when temp is drop to 13*C 3-way valve need to be open at all 50mm ... So the greenhouse is big ( arount 10.000 sq.m. ) And temp continue drop(or not) but in fact is drop to arount 12,5*C to 12*C and stop. When greenhouse start heating. Temp is start to go up. 3-way valve need to start closeing,and at temp 13*C need to be fully close. Problem is that : when temp is going up Delta DT320 is operating at the same time OUT1(because temp is lower then 13) and the same time OUT2 is try to close, so the 3-way valve stay at the same place and not closing because is have "line" on open and "line" for close. setting from Delta DT320 Control Ctrl Method : PID RUN/STOP : RUN Heat/Cool : Heat(out1)/Cool(out2) Com Write : enable Lock status : normal AT : Stop SV control : Const SV Input Type : 4-20mA Unit : EU SV : 13.0 Range Hi : 50 Range LO : -20 Pointer : 1 PID Parametyer Pb : 0.2 Ti : 787 Td : 196 Ctrl Period : 20 I offset : 0.0 PID set : AUTO PID SV(auto) : 100.0
-
Hey all, Further to my other post I need to read an analog input flowmeter signal (4-20mA) and scale it to litres per minute flow-rate. Then display on HMI...... Then use a PID control block to control a output water control valve (4-20mA) to a calculated set point (litres per minute) The flowmeter is measuring water flow in a pipe & The control valve is controlling the flow rate in the pipe. The water is then sprayed onto a conveyor belt - measured at a percentage SP depending on the amount of powder product on the conveyor belt (in KG) 1. So inputs to PID is the SP (litres per sec) calculated every few seconds from product weights (kg) in bins. 2. And the PV is the flowmeter reading. 3. Output is the control valve (4-20mA) Does anyone have any tips to do this or some good flow PID and flowmeter example. Your help would be much appreciated. Thanks Richard
-
Hello Everyone. We have Schneider TM241 PLC Along with Citect SCADA System at 100MWp Solar Power Plant to monitor and control various equipments like Inverters, Switch-Yard, MFMs, Weather Monitoring Systems etc... Government Authority here asked every solar plant to control the generation as per the instructions by Load Dispatch Center, for that we need to implement logic to control Generation as per requirement. For that we are controlling generation from inverters by giving them generation setpoints calculated by PLC using PID function. But we are facing one problem while using PID. (FB_PID of Toolbox Library) Suppose we need to generate only 60MW out of 100MW. So we set PID setpoint to 60MW and according to that we get PID output and according to that PID output value we provide generation setpoint to every inverters. This system works very fine until the clouds comes into the picture. Now suppose Setpoint of PID is 60MW and PV is also near about 60MW, and suddenly large cloud comes over plant and block solar radiation. In this case generation comes down to 10MWp(or any value below 60MW), So output of PID will Increase and keep increasing and settle at the Maximum value. but without solar radiation generation value stays very down then Setpoint. Now suddenly Cloud moves and again solar radiation increase, but the PID output is maximum at that time so, Suddenly Generation goes from 10MW to near about maximum capacity (100MW) instead of 60MW, and then it will slowly comes down to 60MW. We need to rectify this generation shoot up when cloud moves. Anyone have idea how can we solve this problem or anyone have programmed PID in this kind of situation. Is there any function block available to do this correctly like function block of PID with two Reference or something like that... We are using TM241 which is CoDeSys based PLC.
-
Hi. Is there any way PID instruction would run without having an actual PLC hardware?. Currently, i'm not having an output. Thanks in advance
-
Hello PLC Users, I have recently final year project for my college. And i make PID instruction to control pressure and used VFD to control the pump. also used 4-20mA for Pressure sensor and 0-10V for VFD. But, i don't know how to use PIDAT instruction, please help me to understanding PIDAT Instruction, or do you have example ladder for my problem. Thank's :)
-
Hi, i'm planning on building a AIO electric beer brewer with about 80 liter capacity. i was thinking of using an micro 850 i have for controlling mashing stages, circulation pumps, temp controll. i was thinking of using two 1600w heating elements and a 24vDC pump. My I/O options are 14/10 (micro 850 lc-50 24qwb) only relay outputs, an analog input plugin with 4 inputs and an analog output plug in with 2 outputs. since i cannot run any SSR directly from the PLC because of the relay outputs, what can i ad to best control the heating elements? it requires accurate temp controlling within +- 0,5 degree. Also, what would be the best solutuion to controlling the pump? i have an 7" TFT HMI from AB i was planning on using for set values, temp readings, timers etc. and ofc some awesome graphic simulation of the system. BRGDS Cato
-
Hi all, I am trying to set up a PID loop for a project I'm working on, and I was hoping someone could take a look at it for me. Most of what is written comes from the Q, L programming manual, but I've changed a few things so that the program can write changes to the SV as needed. The processor is a Q03UDE and the Analog Module is a Q64AD2DA, using only channels 1 and 5. Thanks for looking! PID Project.gxw