07-24-2018 04:02 AM
Hi i'm new to LabVIEW. I have a Vernier SensorDAQ board connected to a Tacmina pump and a pH sensor probe which then connect to the computer. I need to maintain a buffer solution at pH 7, the pump is connected to two solution, Citric acid(pH4) and Sodium Carbonate(pH10). When the pH increase or decrease, signal will send to the pump to neutralize it automatically (two inlet and one outlet to the pump). I have already created a code to detect pH but i do not know how to create code for pump and automation. How do i create a code for it using LabVIEW? Please advice me. Send pictures or word document please.
07-24-2018 04:10 AM
Hi Kimmy,
How do i create a code for it using LabVIEW?
By programming!?
When the pH increase or decrease, signal will send to the pump to neutralize it automatically (two inlet and one outlet to the pump).
Something like:
IF pH > 8 then pump(acid) IF pH < 6 then pump(base)
Think about the use (and value) of a hysteresis for such simple control schemes…
07-24-2018 04:11 AM - edited 07-24-2018 04:13 AM
the general solution should be a PID controller, which tries to maintain a specific setpoint.
there is no general solution, mostly you try to find the right parameters for your systems either by try-and-error or e.g. ziegler-nichols.
seeing your code, i would also recommend you to get through some labview tutorials,
have a look at the top of the forum, there are some links.
and possibly get rid of all the express VIs.
most definately try to follow the data-flow paradigm (which at least means, data goes into the left, data comes out of the right).
regards