Analysis of Proportional, Proportional-Integral, and Proportional-Integral-Derivative Controllers in pH Control

Categories: Chemistry

Abstract

This experiment explores the performance of three different types of controllers—Proportional (P), Proportional-Integral (PI), and Proportional-Integral-Derivative (PID)—in the context of pH control. An acidic solution of pH 4 (diluted HCl solution) and an alkali solution of pH 9 (diluted NaOH solution) are mixed in a reaction vessel, with the pH of the solution being controlled by adjusting the flow rates of these solutions. The controllers are used to regulate the pH of the solution to a set point (SP). The experiment aims to compare and contrast the characteristics, strengths, and drawbacks of each controller.

The results are presented in graphical form to analyze the controller responses.

Introduction

pH control is a crucial aspect of various industrial processes, including chemical manufacturing and wastewater treatment. In this experiment, we investigate the effectiveness of three different types of controllers: Proportional (P), Proportional-Integral (PI), and Proportional-Integral-Derivative (PID) controllers, in regulating the pH of a solution. Each of these controllers applies a corrective action based on the error signal, which is the difference between the measured pH value (PV) and the desired set point (SP) pH value.

Get quality help now
Writer Lyla
Writer Lyla
checked Verified writer

Proficient in: Chemistry

star star star star 5 (876)

“ Have been using her for a while and please believe when I tell you, she never fail. Thanks Writer Lyla you are indeed awesome ”

avatar avatar avatar
+84 relevant experts are online
Hire writer

The controllers aim to maintain the PV as close to the SP as possible while responding to disturbances in the system.

Get to Know The Price Estimate For Your Paper
Topic
Number of pages
Email Invalid email

By clicking “Check Writers’ Offers”, you agree to our terms of service and privacy policy. We’ll occasionally send you promo and account related email

"You must agree to out terms of services and privacy policy"
Write my paper

You won’t be charged yet!

The P controller operates by adjusting the control valve proportionally to the error signal. When the PV deviates from the SP, the valve opening is modified to bring the pH back to the desired level. While P controllers provide a fast initial response, they have a significant drawback: they cannot eliminate offset errors that occur due to disturbances in the system. Offset errors represent the difference between the SP and the actual PV and persist even after the system has stabilized. Additionally, P controllers tend to exhibit overshoot, where the PV briefly exceeds the SP during the correction process.

To address the offset error issue, the PI controller is introduced. It combines the proportional action of the P controller with integral action, which integrates the error signal over time. This integration gradually reduces the offset error and moves the proportional band closer to the SP, ultimately achieving a nullified error and the desired SP. However, the integral action introduces slower response times and can lead to overshoot as well as sensitivity to disturbances and noise.

Finally, the PID controller further enhances control by adding a derivative action to the proportional and integral actions. The derivative term predicts the future trend of the PV by considering the rate of change of the error with time. This addition allows the PID controller to provide a fast response when the PV is far from the SP, gradually reducing the control signal as it approaches the SP to minimize overshoot and shorten settling time. Furthermore, the integral term in the PID controller eliminates offset errors.

Materials and Methods

The materials used in this experiment include:

  • Acidic solution with a pH of 4 (diluted HCl solution)
  • Alkali solution with a pH of 9 (diluted NaOH solution)
  • Reaction vessel with control valves
  • Data logger

The experiment involves mixing the acidic and alkali solutions in the reaction vessel. The alkali solution flow rate is manually controlled, while the acidic solution is added automatically via a control valve to adjust the pH. The control valve opens or closes based on the difference between the measured PV and the SP pH value. Three types of controllers—P, PI, and PID—are employed in the experiment to compare their performance.

Experimental Procedure

The experimental procedure consists of the following steps:

  1. Prepare the acidic and alkali solutions.
  2. Set up the reaction vessel with control valves and a data logger.
  3. Start the experiment with the PV and SP values specified.
  4. Observe and record the behavior of each controller as they regulate the pH of the solution.
  5. Collect data and generate graphs to analyze the controller responses.

Results

The results of the experiment are presented in graphical form. The following graphs illustrate the performance of the three types of controllers: P, PI, and PID.

Proportional (P) Controller

Figure 1 shows the response of a Proportional (P) controller. Initially, when the PV is lower than the SP, the control valve remains fully closed (0% valve opening), allowing the input of pH 9 solution to increase the pH to the SP. The P controller exhibits a fast response in this phase because the output is directly proportional to the error signal, and the proportion coefficient can be adjusted to control the speed of the process. However, when the PV exceeds the SP, the valve opens to allow pH 4 solution to reduce the pH back to the SP. Nevertheless, after stabilization, the PV remains constant at a level higher than the SP due to the inability of a P controller to eliminate offset errors. The offset error represents the difference between the SP and the actual PV value and persists in proportional control systems. Consequently, P controllers provide a fast rise time but cannot eliminate offset errors and tend to exhibit overshoot due to their rapid response without mechanisms to slow down the control signal as the PV approaches the SP.

Proportional-Integral (PI) Controller

Figure 3 illustrates the response of a Proportional-Integral (PI) controller. Similar to the P controller, when the PV is below the SP, the control valve remains closed to allow pH 9 solution to increase the pH to the SP. However, the PI controller exhibits a high overshoot and slow settling time due to the integral term, which introduces a slower response. While the PI controller successfully eliminates offset errors, it is sensitive to disturbances and noise, as shown in Figure 4.

Proportional-Integral-Derivative (PID) Controller

Figure 5 demonstrates the response of a Proportional-Integral-Derivative (PID) controller. At the start of the reaction, when the PV is lower than the SP, the control valve remains fully closed to allow the inflow of pH 9 solution to increase the measured pH value to the SP. The PID controller combines proportional action for a fast response and derivative action to slow down the control signal as the PV approaches the SP, significantly reducing overshooting and settling time. Figure 6 highlights the advantages of using a PID controller, including a short rise time, minimal overshoot, short settling time, and the elimination of offset errors.

Discussion

In this section, we discuss the key findings and observations from the experiment. Each controller type—P, PI, and PID—has its unique characteristics, strengths, and drawbacks.

The Proportional (P) controller provides a rapid response due to its proportional action. The gain and error signal can be adjusted to control the process speed. However, a major drawback is its inability to eliminate offset errors, which persist in the system. P controllers are suitable for processes that require a proportional control signal but may not be ideal for systems sensitive to offset errors or those prone to overshooting.

The Proportional-Integral (PI) controller addresses the offset error issue by adding integral action. It gradually reduces the offset error and moves the proportional band closer to the SP. While offset errors are eliminated, the PI controller exhibits slower response times, and it is susceptible to disturbances and noise. PI controllers find application in systems where a slower response is acceptable, and cost-effectiveness is a priority.

The Proportional-Integral-Derivative (PID) controller combines the advantages of fast response from proportional action, offset error elimination from integral action, and future trend prediction from derivative action. PID controllers offer short rise times, minimal overshoot, and short settling times. They are well-suited for processes that demand precise control and minimal disturbance response. However, the selection of an appropriate controller should consider the specific requirements of the industrial process and its application.

Conclusion

In conclusion, the comparative analysis of Proportional (P), Proportional-Integral (PI), and Proportional-Integral-Derivative (PID) controllers in pH control reveals the following key points:

  • P controllers provide a fast response but cannot eliminate offset errors.
  • PI controllers eliminate offset errors but exhibit slower response times and are sensitive to disturbances.
  • PID controllers combine fast response, offset error elimination, and minimal disturbance response, making them highly effective for precise control.

The choice of controller type depends on the specific requirements of the industrial process and its application. PID controllers are recommended for processes that demand precise control and minimal disturbance response.

Recommendations

Based on the findings of this experiment, the following recommendations are made:

  1. For processes where fast response is critical and offset errors are not a concern, P controllers can be considered.
  2. PI controllers are suitable for systems where cost-effectiveness and a slower response time are acceptable, and offset errors need to be eliminated.
  3. PID controllers are highly recommended for processes that require precise control and minimal disturbance response.

Additionally, further research and experimentation can be conducted to fine-tune controller parameters and investigate their performance in a broader range of industrial applications.

Updated: Jan 08, 2024
Cite this page

Analysis of Proportional, Proportional-Integral, and Proportional-Integral-Derivative Controllers in pH Control. (2019, Nov 14). Retrieved from https://studymoose.com/document/this-experiment-is-carried-out-by-mixing-an-acidic-solution-of-ph-example

Analysis of Proportional, Proportional-Integral, and Proportional-Integral-Derivative Controllers in pH Control essay
Live chat  with support 24/7

👋 Hi! I’m your smart assistant Amy!

Don’t know where to start? Type your requirements and I’ll connect you to an academic expert within 3 minutes.

get help with your assignment