Sign in to follow this  
shastashastasheen

PID control of humidity

Recommended Posts

Hello!

A naive question from a novice ...

I'm interested in using DAQFactory to control the humidity in my experimental system.  It is a flow-through system, and I need the total flow to be X.  I would like to input a setpoint humidity and then have the system send voltages to mass flow controllers to control two flows, wet air (a) and dry air (b), such that a + b = X.

Is this possible (i.e. to have two outputs)?

Thanks very much!

Sarah

Share this post


Link to post
Share on other sites

Sure, its just math.  Are you using PID or script to do your controlled loop?  Lets assume just a controlled loop, and lets assume that your wet air is 90% humid and your dry air is 0%.  So, the maximum humidity you could achieve would be 90% with full flow from the wet, and no flow from the dry.  And lets assume you have a variable called H which is the desired humidy (along with your a and b channels for the flow controllers, and a variable X for total flow).  Really you just want to apply enough wet air to get the desired humidity and then fill the rest with dry.  Give 90% humid wet air, the amount of wet flow you need is simply H / 90 * X.  So, you'd do a script like this:

while(1)
   a = H / 90 * X
   b = X - a[0] 
   delay(1)
endwhile

Note that you'll want to constrain H to 0 to 90 somewhere in the program, probably where the user specifies it, but you could also add some checks in the above script.

Share this post


Link to post
Share on other sites

Hi Sarah,

Did you use Daqfactory for this in the end? I have used it for exactly the same purpose and it's really very easy to program so I could send you my program as an example. The key to doing this practically though is to use the correct MFC for the 'wet flow' that isn't influenced by humidity. Normally, if you get condensed water in your MFC it will give some crazy readings

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this