1. Field of the Invention
The present invention relates to a design method, a design support apparatus, and a computer product for a feedback control system.
2. Description of the Related Art
Classical control theory is often used to design a feedback control system including a controlled plant and a controller that controls the controlled plant. The classical control theory allows intuitive and easy design. On the other hand, because gain and phase cannot be separately designed, the design requires trial-and-error.
A conventional design method based on H∞ control theory has been proposed as described in, for example, “State-Space Solutions to Standard H2 and H∞ Control Problems”, IEEE Transactions on Automatic Control, Vol. 34, No. 8, 1989. The H∞ control theory is more systematic compared to the classical control theory. With the conventional design method, a controller that ensures stability and robustness of a closed-loop control system can be designed, and an optimal controller that takes disturbances into consideration can be designed. However, in a standard H∞ control design procedure, a weighting function is difficult to set, and design of an actual controller requires considerable experience. Specifically, intuitive design parameters of the classical control theory are difficult to be correlated with parameters of the H∞ control theory. In addition, it is not always clear how minute changes in the weighting function of the H∞ control theory are reflected in a design result of a controller. Therefore, design of a controller based on the H∞ control theory is difficult to be applied to practical use.
To resolve the difficulty in weighting function setting in the H∞ control theory, H∞ loop shaping design procedure has been proposed in, for example, “A Loop Shaping Design Procedure Using H∞ Synthesis”, IEEE Transactions on Automatic Control, Vol. 37, No. 6, 1992, and “Finite Frequency Phase Property Versus Achievable Control Performance in H∞ Loop Shaping Design”, SICE-ICCAS International Joint Conference, 2006. In the Hoc loop shaping design procedure, frequency shaping is performed on an open-loop control system using a weighting function. The H∞ control theory is then applied to the shaped control system. Because the frequency shaping is performed on the open-loop control system, the design is highly compatible with a design based on the classical control theory, and also, correlation with the design parameters of the classical control theory, such as a phase margin, is clear. Therefore, an on-site designer can easily perform tuning during designing.
However, a complex real system cannot always be designed easily based on the H∞ control theory even with the H∞ loop shaping. For example, when a peak (hereinafter, “resonance mode”) of a narrow band is present in a high frequency area of a controlled plant model, correlation between the design parameters of the classical control theory and the parameters of the H∞ control theory, such as gain crossover frequency margin and phase margin, may deviate from a theoretical value. Besides, a designed controller may be of non-minimum phase.
In such a case, the H∞ loop shaping may be applied through compensation for the resonance mode by using a notch filter that rapidly attenuates part of a frequency band as a weighting function. The notch filter can be included in a controlled plant model. However, some filtering by the notch filter is partly cancelled by a designed controller, and desired filtering characteristics may not be achieved. Further, with such a notch filter, the designed controller becomes excessively high-dimensional.
Additionally, in the H∞ loop shaping, the correlation with the design parameters of the classical control theory is clear only in systems such as stable second-order systems and third-order systems of limited class. The correlation is not always clear in the real system. Because the correlation with the intuitive design parameters, such as phase margin, is not clear, it is difficult to manually modify and adjust a controller designed through the H∞ loop shaping and mounted.
Furthermore, narrow-band disturbances in a control loop of the real system are not easy to remove Generally, a resonance filter is used to remove narrow-band disturbances. However, to achieve desired effects through the classical control theory, it is necessary to change characteristics of the resonance filter based on phase conditions and frequency band as well as taking stability into consideration. When the standard H∞ control theory is applied, design can be performed with disturbances being included in a weighting function. However, as described above, the weighting function is difficult to set based on the H∞ control theory. Consequently, considerable trial-and-error is required to achieve desired controller characteristics.
It is an object of the present invention to at least partially solve the problems in the conventional technology.
According to an aspect of the present invention, there is provided a design method for a feedback control system in which a controlled plant is controlled based on output feedback from the controlled plant. The design method includes modeling a design controlled plant that includes the controlled plant and a controller that controls the design controlled plant and includes a weighting function; deriving the weighting function included in the controller modeled at the modeling; determining the weighting function derived at the deriving using any one of a desired gain crossover frequency and a desired stability margin; and designing an optimal controller by applying H-infinity control theory to the weighting function determined at the determining and the design controlled plant modeled at the modeling.
According to another aspect of the present invention, there is provided a design support apparatus for a feedback control system in which a controlled plant is controlled based on output feedback from the controlled plant. The design support apparatus includes a modeling unit that performs modeling of a design controlled plant that includes the controlled plant and modeling of a controller that controls the design controlled plant and includes a weighting function; a deriving unit that derives the weighting function included in the controller modeled by the modeling unit; a determining unit that determines the weighting function derived by the deriving unit using any one of a desired gain crossover frequency and a desired stability margin; and a designing unit that designs an optimal controller by applying H-infinity control theory to the weighting function determined by the determining unit and the design controlled plant modeled by the modeling unit.
According to still another aspect of the present invention, there is provided a computer-readable recording medium that stores therein a computer program that causes a computer to implement the above method.
The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
Exemplary embodiments of the present invention are explained in detail below with reference to the accompanying drawings.
According to an embodiment of the present invention, modeling is performed on a controller including a weighting function based on H∞ control theory. The weighting function is derived from physically meaningful gain crossover frequency or phase margin, and an optimal controller is designed using the weighting function.
This embodiment describes design of a feedback control system for positioning the head of a magnetic disk device. A controlled plant of the feedback control system is assumed to have frequency characteristics as shown in
Described First is modeling of the controlled plant performed at the first stage. A designer determines desired gain crossover frequency f0 and phase margin Pm required of the feedback control system to be designed, and sets them in the design support apparatus (Step S101). The gain crossover frequency f0 and the phase margin Pm are intuitive design parameters in the classical control theory and are easily determined. It is assumed herein that the gain crossover frequency f0 is 1500 Hz and the phase margin Pm is 30 degrees. After these design parameters are set, modeling of the controlled plant is performed by the design support apparatus.
Specifically, because the resonance mode often appears in the frequency characteristics of the controlled plant, the designer determines to compensate for the resonance mode by a notch filter. Upon receipt of this information, the design support apparatus is provided with a feedback control system configured, for example, as shown in
With the design support apparatus, the notch filter 101 is designed to compensate for the resonance mode (Step S102), and modeling of the controlled plant 102 is performed (Step S103). Incidentally, the controlled plant 102 is not a design controlled plant but an actual controlled plant having the frequency characteristics shown in
Described below is determination of design controlled plant performed at the second stage. After modeling of the feedback control system by the design support apparatus, the controlled plant 102 is separated into a resonance mode 102a and a rigid-body mode 102b (Step S104). Among these modes, the notch filter 101 compensates for the resonance mode 102a. However, filtering by the notch filter 101 is often partially canceled by the controller 104. Therefore, as shown in
Specifically, as shown in
Then, in a range of frequency 0 (zero) to the gain crossover frequency f0, the time delay Tdap is calculated that minimizes a phase difference between the model Pap′ and the phase θap (Step S204). The time delay Tdap is applied to the model Pap′, and the all-pass filter 201 is determined (Step S205).
Along with the design of the all-pass filter 201, the time delay 103 is approximated by the Pade approximation to a time delay 202. The all-pass filter 201, the rigid-body mode 102b, and the time delay 202 are determined to as a design controlled plant 203 (Step S106). Since the design controlled plant 203 includes the all-pass filter 201, the design controlled plant 203 is a controlled plant equivalent to the actual controlled plant 102 in which the notch filter 101 compensates for the resonance mode 102a. Although the design controlled plant 203 includes the notch filter 101, the notch filter 101 serves as the all-pass filter 201 during the design of a controller according to the embodiment. Therefore, the filtering by the notch filter 101 is not canceled by the controller 104. Besides, the controller 104 can be prevented from becoming unnecessarily high-dimensional.
As shown in
Described next is derivation of the weighting function performed at the third stage. According to the embodiment, the weighting function 104a is a product of a proportional integral (PI) compensation weight Wpi, a toll-off compensation weight Wro, a narrow-band disturbance compensation weight Wft, and a phase-lead weight Wpr. The design support apparatus designs each weight and derives the weighting function 104a.
Specifically, the design support apparatus designs the PI compensation weight Wpi that removes disturbances in the low frequency range using Equation (1) as follows (Step S107):
W
pi(S)=kpi(1+2πfpi/s) (1)
where kpi is gain of the PI compensation weight Wpi, and fpi is a break frequency.
At this time, the design support apparatus sets gain kpi of the PI compensation weight Wpi to 1 at the gain crossover frequency f0. Upon design of the PI compensation weight Wpi using Equation (1), for example, respective characteristics are determined to approximate disturbance frequency characteristics shown in
After the PI compensation weight Wpi is designed, the design support apparatus designs the roll-off compensation weight Wro that removes modeling errors and disturbances in the high frequency range using Equation (2) as follows (Step S108)
Upon design of the roll-off compensation weight Wro using Equation (2), a lower limit frequency flow and a higher limit frequency fhigh in Equation (2) are set to lower the gain in a band likely to have a large modeling error. Specifically, for example, when modeling error is likely to be large in frequency bands at 5 kHz or higher, as the frequency characteristics shown in
After the roll-off compensation weight Wro is designed, the design support apparatus designs the narrow-band disturbance compensation weight Wft that removes narrow-band disturbances using Equation (3) as follows (Step S109):
where ξi is a parameter indicating a width of an i-th resonance peak, and ηi is a parameter indicating a height of the i-th resonance peak.
Upon design of the narrow-band disturbance compensation weight Wft using Equation (3) ξi and ηi in Equation (3) are set such that narrow-band disturbances present in a large amount in a certain frequency band are removed. Specifically, for example, in the case of disturbance frequency characteristics as shown in
After the narrow-band disturbance compensation weight Wft is designed, the design support apparatus preliminary designs the phase-lead weight Wpr using Equation (4) as follows (Step S110):
where k is a gain of the overall weighting function 104a, and ω is a phase variable calculated from the desired phase margin Pm (30 degrees).
At this time, the design support apparatus sets the phase-lead weight Wpr to achieve a desired phase θ at the gain crossover frequency f0. The desired phase θ can be obtained from the phase margin Pm using Equation (5) as follows:
The desired phase θ herein is about 225 degrees because the phase margin Pm is 30 degrees. The phase-lead weight Wpr that achieves the desired phase θ is as shown in
At this point, the gain k and the phase variable ω in the phase-lead weight Wpr are not yet definitively determined. The phase-lead weight Wpr is determined at the fourth stage described below, and the weighting function 104a is determined.
Described next is derivation of a controller performed at the fourth stage. When the design support apparatus derives the weighting function 104a, the gain k of the weighting function 104a in the phase-lead weight Wpr shown in Equation (4) is adjusted (Step S112). Specifically, as shown in
After the gain k in the phase-lead weight Wpr is adjusted, the phase variable ω in the phase-lead weight Wpr is determined, and thereby the phase-lead weight Wpr is determined, As a result, the weighting function 104a is determined (Step S113). Specifically, as shown in
When the desired phase θ is calculated, the phase variable ω is determined that minimizes a phase difference between the desired phase θ and the weighted open-loop system at the gain crossover frequency f0 (Step S402). By substituting the determined phase variable ω for the phase-lead weight Wpr in Equation (4), the phase-lead weight Wpr is determined (Step S403). Thus, the weighting function 104a is determined.
The H∞ loop shaping is applied to the weighting function 104a and the design controlled plant 203 determined as above (Step S114), and the H∞ loop controller 104b is derived (Step S115). As a result, the frequency characteristics of the open-loop system are as shown in
It can be seen from
As described above, according to the embodiment, modeling is performed on a design controlled plant including an all-pass filter formed of a resonance mode and a notch filter, and on a controller including a weighting function and a H∞ loop controller. The phase-lead weight is preliminary designed using a phase variable to derive a weighting function. The gain of an overall weighting function and a phase-lead weight are adjusted from design parameters for a weighted controlled plant. Therefore, the design parameters can be intuitive as, for example, a gain crossover frequency and a phase margin used in the classic control theory. Also, systematic design can be performed based on the H∞ control theory, and a stable and robust real system can be efficiently designed. In addition, a filter based on the classic control theory is included in the controller as the weighting function, redesign, when required, can be handled on-site without using the H∞ control theory.
The design support apparatus can be provided with a graphical user interface (GUI). In this case, the designer can visually set parameters, for example, through a display screen as shown in
As set forth hereinabove, according to an embodiment of the present invention, a weighting function can be set by using intuitive design parameters as used in the classical control theory. Also, systematic design can be performed based on the H∞ control theory, and a stable and robust real system can be efficiently designed.
Moreover, a notch filter is not required to compensate for a resonance mode, and thus filtering by such a notch filter is not cancelled by an optimal controller. As a result, the resonance mode can be reliably compensated. After the optimal controller is designed, a weighting function included in the controller can be easily redesigned.
Furthermore, a weighting function can be derived that is capable of removing disturbances and modeling errors in various frequency bands. As a result, the optimal controller can reliably compensate for the disturbances. Besides, desired parameters based on the classical control theory can be easily achieved. In addition, robustness can be ensured that compensates for disturbances in all frequency bands.
Although the invention has been described with respect to specific embodiments for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2007-157986 | Jun 2007 | JP | national |