The usage and effects of gain constants proportional integral (PI) control were explored throughout this experiment. The experiment adjusted the proportional and integral constants to perform five different tests. The group tested using only proportional feedback, only integral feedback, both proportional and integral feedback with no set point parameter, traditional PI control with a set point of one, and lastly PI control with an adjusted optimal set point parameter. The group tested all of these settings for the speed controller and concluded that in order to have the best response, both proportional and integral control should be used along with an adjusted optimal value for the set point parameter that provided a critically damped response. When done this provided the best response with the smallest percent overshoot, lowest settling time, along with no steady state error.
Set point parameter
Control systems are used in just about everything these days. They are in vehicles, they are in manufacturing robots, and they are used in many different applications all over the world. This report explores the factors that affect and determine the response for a specific type of control system. This control system examined is PI control or proportional integral control. This system is a loop control, where once the signal is sent; it goes through a loop back to the PI controller where they verify that the value is the correct value. If not the controller corrects the value and the process repeats. The process is then repeated until the correct value is reached.
If you need assistance with writing your essay, our professional essay writing service is here to help!
PI control is extremely useful for speed control. Applying PI to motors or other objects that require a desired speed works well as it is extremely hard to get the speed correct on the first attempt for most processes and therefore it is good to have a controller that will correct the speed value until the desired speed is reached.
The PI control is applied to the DC motor that was modeled in the previous lab. In the previous lab, the output function of a DC motor was determined to be
However, for this lab a low pass filter was added to reduce the noise as the noise can greatly influence the accuracy and effectiveness of the PI controller. The low pass filter used was
This is represented by the block diagram below,
is the proportional control constant, kis
is the integral control component, and bsp
is the set point parameter. When bsp
is equal to one the controller is just the standard PI controller. In algebraic form the controller is
Then the transfer function is
As found in the previous lab. Then when equation 3 is substituted into equation 5 we get
Then when solved for y(s) we find
Then when plugging in equations 1 and 2
Then getting rid of the complex fraction and finding H(s) from equation 5
The goal of this lab is to determine the values of parameters kp
that provide no steady state error, no overshoot, and a settling time of roughly 2%. This is done using five different strategies. For most of these methods, the third order polynomial in the denominator of H(s) is reduced to a second order polynomial. This is done to be able to compare it to the wave equation
Where the fastest settling time with no overshoot occurs when ζ=1
and the wave is critically damped. Two percent settling time will occur when τs=4ζωn
. It is also recalled that using the final value theorem when H(0)=1 then there is no steady state error.
The first method is using only the proportional feedback only to adjust the signal. For this method, we set ki=0
as we are not using any integral control. This reduces Hs
Therefore, this method will have steady state error. To determine what kp
provides critical damping. Poles:
Where the coefficient to S is ζ
and the last term is ωn2
. Plugging into
Which then becomes
And then solving for kpc
The second method uses only integral control by setting kp
equal to zero, and therefore H(s) becomes
Then when applying the FVT (final value theorem)
Therefore, there is no steady state error for this method. The denominator for this method is a third order polynomial not a second order. However, when comparing the coefficient of the cubed term to the other coefficients it tends to be significantly smaller and is ignored, reducing this to a second order polynomial.
Then we recall from equation 11 we know that
Then solving for ki
Which corresponds with
The next method used involves both proportional and integral control, however the bsp
is set to zero. When the bsp
And when the FVT is applied it is found that H(0) does equal one so there will be no steady state error. Now if we once again assume that the coefficient to S3
is much smaller than the rest then it can once again be reduced to a second order polynomial.
We then say that we want the case where the settling time is no more than a quarter of a second and that we want the critically damped case. To apply this we use
Where zeta is equal to 1 for the critically damped case and the settling time is equal to 0.25 seconds and solve for the natural frequency. Then once we know the natural frequency, we use that in equations 15 & 16 in order to solve for ki
and then use that to solve for kp
For the fourth method, we set the bsp
value equal to one, which gives us traditional PI control. With the bsp
equal to one the FVT still holds and we still get H(0) equal to ,. For this method, we instead use the Ziegler-Nichols approach as opposed to analyzing the transfer function in the manner we did previously. We use this approach because it can be used even when the transfer function is not known. The first step is to find the P becomes unstable by varying the kp
value. The value of kp
at which the time response becomes unstable is referred to as kpu
. Another value we found was Tu
which is the time from peak to peak during the instability. For the Ziegler-Nichols method we know that
For the last approach of using PI control with an optimal bsp
value, we did not analyze the transfer function to find the optimal bsp
value. The optimal bsp
value can be determined by varying it from zero to one until the best response is found.
Experimental Equipment and Procedure:
For the experiment a DCMCT motor unit was used. The lab teaching assistant powered up the unit. Once the unit was turned on the program LabVIEW was downloaded with its contents being placed on a folder on the desktop. Next Labview.exe was double clicked and opened. To verify the program was working the group input a value for kp
and noticed the motor respond with motion.
For the first method of proportional control without integral control the group set the signal to a square wave. It is very important that the control signal does not saturate. There is a green box in the center of the screen that will turn red if this occurs. The group then adjusted the offset of the slider so that the sign convention, or direction, of the velocity did not change to avoid coulomb friction affecting the results. The group then used the values of 25 radss
for the amplitude, 0.6 Hz for the frequency, and an offset of 50 radss
. The group then varied the frequency from 0.1 to 1 Hz in increments of 0.1 to determine the best value to observe a steady state behavior. The group ended up staying with 0.6 Hz. In the previous lab the group obtained values for K and τ
for the system. However in this experiment the group used K=16 and τ=0.13
for consistency along with tc=0.03
for the filter to eliminate unwanted noise. Next the group set ki=0
to verify that the proportional control was the only thing affecting the signal. At this point the group started with a value of 0.01 for kp
and increased it with a step of 0.01 until a second order response was noticed. After this the group adjusted the kp
value until it produced a critically damped solution. The value was then further increased until the system went unstable to find the value for kpu
along with the period of instability Tu
For the next method of Integral control, a similar procedure was used. The proportional gain was set to zero, and the integral gain was varied from 0 Vsrad
to 5 Vsrad
. The group then found the value for integral gain that provided a critically damped solution.
Now the group applied both proportional and integral control while setting the bsp=0
. For this case the calculations previously computed will provide the values of the integral and proportional gain. The group found and used ki=2.56
. The Labview simulation was then run with these values. The settling time was then observed and compared. The group then adjusted both gains to attempt to get a better response.
Next the group will test proportional and integral control with bsp=1
using the Ziegler-Nichols (ZN) method. The group used the results from the pure proportional section to calculate the proportional and integral gain values using the ZN method. LabVIEW was then run with the values obtained. From the response graph the overshoot and settling time were determined.
Lastly the group set the values for both gains to the values used for the method when the bsp
was 0. The group then slowly increased the bsp
from 0 to 1 and observed. The group then adjusted the value until they found the optimal value that provided the fastest settling time while allowing no overshoot.
The group found many things from performing the six different methods to control the DC motor. The group found that for only proportional control the response was of the same shape however not of the same magnitude with an extremely large steady state error shown in figure 6.2.3a.
As the group increased the proportional gain constant the group noticed the response get closer to the correct values despite still a significant steady state error however becoming extremely unstable with an extremely large overshoot and no settling time as the response never reached steady state shown in figure 6.2.3b.
For the second method where the group used solely integral control the group noticed a response that had little to no overshoot however a long settling time and no steady state error. This is seen in figure 6.3.3a.
For the next method where the bsp
value was set to zero the group found that despite using the estimated values for both of the gain constants the response looked extremely similar to solely integral control with a very long settling time and no overshoot, however with slightly more noise and not really any steady state error. (shown in figure 6.4.2)
The group then found that by using the theoretical gain values along with a bsp
of 1 (traditional PI control) the group got a good result with a fairly short settling time, low noise, and no steady state error. This is shown in figure 6.5.2.
Overall, the results aligned with what was expected from the theory behind the experiment. The group noticed that for each of the methods there were issues. The first method used with solely proportional control at the theoretically optimal value provided a very bad response as the steady state error was extremely large. However, this was expected to occur due to the final value theorem providing a value other than 1. As the proportional gain constant was increased the response’s steady state error slowly reduced however the response became much more unstable at a kp
value of 0.35 where it was hard to distinguish the correct value due to the noise.
For the second method using only integral control at the theoretical optimal values the group received a slightly better result with a time response that had no steady state error (shown in equation 19) and very little to no overshoot. This time response did however have a very large settling time which made this controller not as useful as it could have been. When the integral gain constant was increased the response shifted from an overdamped response (seen in figure 6.3.3a) to an underdamped response with a large overshoot and steady state error.
Our academic experts are ready and waiting to assist with any writing project you may have. From simple essay plans, through to full dissertations, you can guarantee we have a service perfectly matched to your needs.
The next method used was a combination of the previous two methods however altered the set point parameter to be a value of zero instead of 1. This provided a result that was extremely similar to the second method that used only integral control (no overshoot, long settling time, no steady state error). The group expected this to occur as when zero is used for the bsp
value in equation ten it reduces to a very similar equation to that used in pure integral control with only one additional term in the denominator. Therefore, it makes sense that the response is very similar to the pure integral control response.
Now the group adjusted the value of the set point parameter to 1. This is known as traditional PI control. This combination of values proved to be extremely effective. The response had no steady state error and an extremely low settling time. The only downside to this method was that the percent overshoot was slightly large. This aligned with what the group expected as this set of parameters was the theoretical optimal values. With the set point parameter equal to one it essentially had no affect and allowed the optimal values to perform well.
The last method used uses the optimal gain constants for both integral and proportional control however uses a manually determined set point parameter value instead of 0 or 1. The group found that as the set point parameter increased from zero to one the settling time decreased, however that the amount of overshoot increased. This was accurate with what was previously noted for the methods where the bsp
was set to zero and one. By increasing the bsp
value from zero to one, the group found the response transition from overdamped at a set point parameter of zero to underdamped at a set point parameter of one.
The following conclusions are supported by the results of this experiment.
- While both effective, proportional and integral control are most effective and accurate when coupled
- The optimal bspfor a system is the value that produces a critically damped solution that happened at 0.1 for our system.
- It is better to have a set point parameter of one than zero.
- Dorf, C R. and R. H. Bishop. Modern Control Systems Twelfth Edition, Prentice Hall, 2011