1、二轴陀螺仪动态平台控制及应用于自动测试系统中华科技大学The Implementation of PC-Based Real-Time Control Systems Using Pole-Zero Cancellation Method PC-Based即時控制系統之極點零點消去法實現 中華科技大學 11581 台北市南港區研究院路三段245號Tel: E-mail: ABSTRACTThe goal of this paper is to implement the pole-zero cancellation approach in PC-based real time control
2、systems by using mathematic model blocks in VisSim software package environment. We use PC as a controller to apply pole-zero cancellation approach in PC-based real time control systems. A design example using the real control system, FB-33 servo control system, based on the pole-zero cancellation a
3、pproach is given. The pole-zero cancellation controller can be easily obtained according to the desired dynamic performance specifications of the closed-loop system. Finally, the PC controller uses the pole-zero cancellation controller and data acquisition system to control the FB-33 servo control s
4、ystem. The satisfied results are shown in this paper.Keywords:PC-Based Real-Time Control System, Pole- Zero Cancellation Method, Data Acquisition摘要本文以VisSim為系統發展環境,以數學方塊圖模式設計開發極點零點消去法,以PC為主控制器,實現極點零點消去法於PC-Based 即時控制系統。首先以實際FB-33伺服控制系統為例,應用極點零點消去法,以滿足性能規格需求,得到控制器適當之極點與零點;另外以VisSim為系統發展環境,模擬加入控制器後系統動
5、態響應,並與性能規格需求作比對,驗證其正確性。然後再配合資料擷取模組與動態連結函數庫整合FB-33控制系統,完成PC-Based 即時控制系統,實現極點安置演算法於伺服控制系統。 關鍵詞:PC-Based即時控制系統、極點零點消去法、資料擷取I. IntroductionThe root-locus approach to design is very powerful when the performance specifications are given in terms of time-domain quantities. In designing a control system,
6、if other than a gain adjustment is need, we have to reshape the original root loci by adding a suitable compensator 1. The transfer functions of many systems contain one or more poles that are very close to the imaginer axis of the s-plane. These poles may cause the system to be slowly response or l
7、ightly damped. We may insert a pole-zero cancellation compensator that has a transfer function with zero selected, which would cancel the undesired pole of the uncompensated open-loop transfer function, and to place the pole of the compensator at more desirable location in the s-plane to meet the de
8、sired performance specifications23. This paper uses VisSim as a system developing environment to design and develop advance modern control algorithms by mathematic model blocks. VisSim is a Windows-based program for the modeling, design and simulation of complex control systems without writing a lin
9、e of code 45. It combines an intuitive drag-and-drop block diagram interface with a powerful mathematical engine. The visual block diagram interface offers a simple method for constructing, modifying and maintaining complex control system models. Furthermore, VisSim offers unprecedented ease-of-use
10、and consequently a shorter learning curve than competitive systems. Setting up a simulation in VisSim is simple. Connect the controller with pole-zero cancellation to the mathematical model and to a plot block. In practical, the pole of the transfer function of control systems may vary due to extern
11、al disturbance or noise during the operation of the system 6-10. However, we choose the varied range of the pole of the plant to be less than 10%. The resulting responses can be easily analyzed in VisSim. Once a satisfactory mathematical model has been obtained, the pole-zero cancellation compensato
12、r using operational amplifiers are applied in the FB-33 control system. Notice that the resulting responses show that exact cancellation is not necessary to precisely negative the influence of the undesirable poles 2 Once the pole-zero cancellation design is complete, the PC using VisSim/Real-Time c
13、an be used as on-line servo controller through a high-speed data acquisition card. PC-based real time control systems can be configured and executed by interfacing VisSim controller mode with the FB-33 control system. II. Mathematical Modeling of DC Motor Control SystemTo establish a mathematical mo
14、del of PM dc motor 26, we have the equivalent circuit diagram in Figure 1. Figure 1 Model of a separated excited dc motor.where is the angular displacement of the motor shaft, is the angular velocity of the motor shaft, is the rotor inertial, is the viscous-friction coefficient, is the torque of the
15、 motor, is the applied voltage, is the armature resistance, is the armature current, is the armature inductance, is the back emf, and is the magnetic flux in the air gap.When the armature is rotating, the back-emf votage is proportional to the angular velocity, we obtain (1)where is the back-emf con
16、stant of the motor.Applying Kirchhoffs voltage law to the system, the differential equation for the armature circuit is (2)The torque equations of the system is (3)Taking the Laplace transform of both sides of Equation (1),(2)and (3), we obtain (4) (5) (6)Substituting Equation (5)sand (6)sto Equatio
17、n (4),we have (7)If the armature inductance is really very small (), it can be neglected, and the transfer function relating and is given by (8)where is DC motor gain and is DC motor time constant. Consider a DC motor position system with proportional controller shown in Figure 2, the open-loop tran
18、sfer is (9)where =, is the amplifier gain,P1 is the attenuator gain, =, is the motor gain, and is the potentiometer gain.If the DC motor position control system with P controller shown in Figure 2 is a unit-feedback, the closed-loop transfer function is (10)where is the open-loop gain and.Figure 2 B
19、lock diagram of the DC motor position control system with P controller.III. Controller Design by Pole-Zero Cancellation The open-loop transfer function of the DC motor control system shown in Figure 2 contains one pole that is close to the imaginer axis of the s-plane in the root locus plot. This po
20、le may cause the closed-loop system to be slowly response or lightly damped. We can insert a pole-zero cancellation compensator that has a transfer function with zero selected, which would cancel the undesired pole of the open-loop transfer function, and to place the pole of the compensator at more
21、desirable location in the s-plane to meet the desired performance specifications12.Because the transfer function of elements in cascade is the product of their individual transfer functions 1, some undesirable poles and zeros can be cancelled by inserting a compensating element in cascade. For examp
22、le, the large time constant in Equation (9) may be cancelled by use of the compensator as follows:If is much smaller than, we can effectively obtain the small motor time constant by canceling the large time constantIn practical, the transfer function of the plant is usually obtained through testing
23、and physical modeling; linearization of a nonlinear process and approximation of a complex process are needed 2. Thus, the true poles and zeros of the transfer function of the plant may not be accurately modeled. In fact, the true order of the system may even be higher than that presented by the tra
24、nsfer function used for modeling purpose. Another difficulty is the dynamic properties of the plant may vary due to external disturbance or noise, so the poles and zeros of the transfer function may vary during the operation of the system. It is obvious that exact cancellation is physically impossib
25、le because of inaccuracies involved in the location of the poles and zeros of control systems. This problem can be solved in the following by showing that exact cancellation is not necessary to precisely negative the influence of the undesirable poles. Let us assume that the plant of the system is r
26、epresented by (11)where is the pole that is to be cancelled and is a very small value due to external disturbances of the plant. .Let the transfer function of the compensator be (12)where is the zero and c is the pole of the controller. The open-loop transfer function of the compensated system is (1
27、3)Because of inexact cancellation, it is obvious that the terms can not be cancelled in the denominator of Equation (13). The closed-loop transfer function is (14)Notice that one closed-loop pole due to a result of inexact cancellation is very close to the open-loop pole at. Thus, Equation (14) can
28、be approximated as (15)The partial-fraction expansion of Equation (10) isterms due to the remaining poles (16)We can show that is proportional to, which is a very small value. It can be seen that although the pole at cannot be cancelled accurately, the resulting transient-response term due to inexac
29、t cancellation will have a very small magnitude. The effect causing by inexact cancellation can be neglected for all practical purpose. IV. Verifying Pole-Zero Cancellation Method with VisSimTo verify the Pole-Zero Cancellation method for FB-33 control system 6 described above, it can be easily done
30、 using VisSim. It is convenient to use VisSim for the modeling, design and simulation of FB-33 control system without writing a line of code 4-5. It combines an intuitive drag-and-drop block diagram interface with a powerful mathematical engine. The visual block diagram interface offers a simple met
31、hod for constructing, modifying and maintaining complex control system models.The FB-33 Feedback control system shown in Figure 3, the apparatus of automatic control laboratory is a typical second-order system 7. The objective of this system is to control the position of the mechanical load in accor
32、dance with the reference position. The open-loop transfer function of the FB-33 control system obtained by the author 7 can be written as (17)where, , , and. The desired performance specifications are Maximum overshoot is less than 32% (i.e.)Natural frequency To meet the performance specifications, let us modify the closed loop poles so that an
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1