Previous in Forum: Air Velocity and Temperature Measurement   Next in Forum: intools intergraph presentation
Close
Close
Close
12 comments
Rate Comments: Nested
Active Contributor

Join Date: Jul 2009
Posts: 10

PID Calculation

08/26/2009 9:32 PM

How do i the calculate water flow rate for PID controller. Or which website can i refer to, as i search online, mostly is the turning of PID..

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#1

Re: PID Calculation

08/26/2009 10:32 PM

This has already been answered on CR4 before. A google search of "PID tuning" also produced the answer in the first hit.

__________________
jack of all trades
Register to Reply
Active Contributor

Join Date: Jul 2009
Posts: 10
#2
In reply to #1

Re: PID Calculation

08/26/2009 11:44 PM

I want to do all the calculation from very begining until PID tuning. I cant find the website which shown all the calculation. Which web should i go to?

Register to Reply
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#3
In reply to #2

Re: PID Calculation

08/27/2009 12:28 AM

From 'the very beginning' is rather vague but I think you mean water flow calculations (which is a separate topic and unlikely to be on the same website as PID tuning).

There is a lot of basic knowledge in a number of areas you need to know first (there is a reason engineers train for years rather than just going to a website for all the answers).

Try previous threads on CR4 (I believe this has been covered in part at least) and a google search of fluid or liquid flow calculations (for a more detailed guide to valve and pipe sizing for a flowing liquid).

http://en.wikipedia.org/wiki/Fluid_dynamics

http://en.wikipedia.org/wiki/Hagen%E2%80%93Poiseuille_equation

http://en.wikipedia.org/wiki/Valve

http://www.pipeflowcalculations.com/

etc.

__________________
jack of all trades
Register to Reply
Active Contributor

Join Date: Jul 2009
Posts: 10
#6
In reply to #3

Re: PID Calculation

08/27/2009 11:39 AM

how do i combined "the thinking" of water flow with PID tuning.

As i search, water flow can be controlled by PID controller, is it PID controller is to stabilization of the water flow?

Register to Reply
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#7
In reply to #6

Re: PID Calculation

08/27/2009 3:33 PM

See my previous comments regarding valves. A valve is an element which allows liquid to flow thru it at various rates. Valves come in two basic types - on/off and variable flow. PID control of a suitable variable flow valve will allow you to alter the amount of liquid flowing thru the valve (hence flow control).

For your application are you sure you don't just want simple on/off control to control the level of a tank? This is THE most common method and doesn't require a PID controller (just a level float switch or similar.

Please provide much more information on your application, what do you actually want to achieve and what are you trying to fill? Is this a school project as from your comments you don't seem to fully understand what PID control is and where it is used.

http://en.wikipedia.org/wiki/PID_controller

Please provide more information.

__________________
jack of all trades
Register to Reply
Active Contributor

Join Date: Jul 2009
Posts: 10
#8
In reply to #7

Re: PID Calculation

08/27/2009 10:25 PM

At first, i think to do water control by using PID controller as my project. As it is too simple, so i think to implement this basic to water plant as the control of water flow to used plant. As i reserch on net, water plant can be controlled by PID controller.

I plan to do the mathematic calculation on compared the P,PI,PID control. But not seem like i am in the wrong direction. As i studied, if wan to do the PID control need transfer function.

i am starting to comfuse where should i start and what to do next.

Register to Reply
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#11
In reply to #8

Re: PID Calculation

08/30/2009 3:58 PM

If you are getting confused start back at the basics

http://en.wikipedia.org/wiki/PID_controller

As for PID control it can be entirely implemented, simulated and displayed using software alone using the three basic P, I and D formulas (see above link).

Read the information in the above link carefully (a few times). All the information you need to understand and implement PID control is there, but if you don't understand the basic concepts of PID it will not make sense.

Remember (for say a water example), the SP is what you want the output to be (eg- flow of 100 L/min), the PV is what the output actually is and the MV is what you set the variable water valve opening too to allow the water to flow (a clearer example of MV would be a variable heater heating an oven to a specific temperature).

Do you understand the point of PID process control and why in a real world process like temperature control or liquid flow there will always be PV overshoot because the MV cannot change instantly when the PV reaches the SP. The whole point of PID control is to minimise the overshoot and stabilize the output around the SP

If this is still confusing have a further look on the internet for more PID tutorials (ignore the PID controller tuning ones and concentrate), some have diagrams that will make what I have written above clearer.

__________________
jack of all trades
Register to Reply
Active Contributor

Join Date: Jul 2009
Posts: 10
#12
In reply to #11

Re: PID Calculation

08/31/2009 11:02 AM

i understand of the concept of PID controller.

I got a PID controller simualator with adjecting the Ki,Kp and kd to meet the desired output. but in the simulator, it require a transfer function block. Example: mass spring transfer function is 8/(2s3+7s2+10s+3). So, is that water also got such transfer functin represent of it?

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#4

Re: PID Calculation

08/27/2009 3:12 AM

The PID controller will be there to maintain a constant flowrate.

Use the Ziegler-Nicholls method to tune it.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Active Contributor

Join Date: Jul 2009
Posts: 10
#5
In reply to #4

Re: PID Calculation

08/27/2009 11:32 AM

is that mean that i need to find the flow in transfer function, then to put on the PID controller to tune?

water in water tank is that sonsider incompressible flow?

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#9
In reply to #5

Re: PID Calculation

08/28/2009 4:03 AM

The above method is a practical one, and needs nothing other than some sort of timing device and some simple arithmetic to tune the controller in real time. Transfer functions and S-plane algebra are all very well, though completely unneccessary with this method.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Active Contributor

Join Date: Jul 2009
Posts: 10
#10
In reply to #9

Re: PID Calculation

08/28/2009 1:42 PM

How to proved in theoretically as the P,PI and PID controller is more useful.

As i planed, i dun think to do any in hardware. i just want to do in calculation and software part.

Register to Reply
Register to Reply 12 comments
Copy to Clipboard

Users who posted comments:

jack of all trades (4); PWSlack (2); StYlIsHgAl (6)

Previous in Forum: Air Velocity and Temperature Measurement   Next in Forum: intools intergraph presentation

Advertisement