This application claims priority to European patent application number 06114156.0 filed 18 May 2006.
The present invention relates to a method for compensating for backlash of control systems. The invention further relates to a control system for compensating for backlash. The invention still further relates to a computer programme comprising a programme code. The invention also relates to a computer programme product comprising a program code stored on a, by a computer readable, media. The invention finally relates to a computer programme product directly storable in an internal memory into a computer, comprising a computer programme.
In a general control system there might be several kinds of nonlinearities, e.g. rate-limiters, hysteresis, friction, backlash etc. Usually linear tools are used to design the control system. In a high-performance system a lot of money and effort are spent in order to make the influence of the nonlinearities as small as possible. For instance, in an aircraft system, the hydraulic system is dimensioned in order to have high rates available and backlash in the actuators are made as small as possible. This of course increases the cost of such a project.
In a low budget project however, it might be impossible to manufacture the actuators with such a precision that the backlash can be neglected as not effecting the control system.
Backlash is a nonlinearity that is present in most mechanical and hydraulic systems such as e.g. power trains, industrial robots and aircraft control surfaces. For example, by transmitting a control command from within an aircraft to the physical hardware, i.e. the rudder, or e.g. in robots, drive lines on cars, power transmission etc. for example, small movements on a steering wheel may, due to backlash, e.g. a play in a gear or the like, lead to no turning movement of the wheels, whereas a bigger movement on the steering wheel results in an output signal, i.e. causes the wheels to turn.
There exists different solutions of how to compensate for the problem of backlash. For example neural networks or fuzzy logic, may give satisfactory results. However these methods results in compensation schemes including quite large number of parameters to be tuned, and hence is more complicated and time consuming, which may lead to increased costs.
Another method is the so called backlash inverse method. A problem with this method is that it can only be used if the backlash is situated at the input of the system and the width is well known. Undercompensation result in degraded performance and overcompensation might result in oscillations.
Filters that increase the input signal to the backlash such that the signal comes through the backlash, i.e. a type of linear controller design is another way of compensating for backlash. An example is the lead-lag filter. The problem is that the lead lag filter is always present, even in case of large input signal amplitudes, when the effect of the backlash is minor. This results in larger control rates, and thus unnecessary stress of actuators. The lead-lag filter functions well when the input signal is small, e.g. small movement of a rudder, where the lead-lag filter reduces the effect of backlash. By larger movements of e.g. the rudder the movement is increased due to the lead-lag filter, which results in a higher speed of movement of e.g. the rudder which in turn results in increased stresses and ware. As a consequence a more advanced device, e.g. rudder/servo which is able to handle the increased speed of e.g. the rudder movement may be required, which then increases the costs. For example aircrafts are controlled in three dimensions, i.e. three axes, and the same physical rudder may be used for control in different axes. The effect of the lead-lag filter is that the control of one axis affects the control of the other axes.
An object of the present invention is to provide a method for compensating for the backlash of a control system, which method is simple, does not require a large number of parameters to be tuned, and provides satisfactory result with both large and small input signals.
Another object of the present invention is to provide a control system for compensating for the backlash, which means is simple, does not require a large number of parameters to be tuned, and provides satisfactory result with both large and small input signals.
These and other objects, apparent from the following description, are achieved by a method, control system, computer programme, and computer programme products which are of the type stated by way of introduction.
By providing a method for compensating for backlash of a control system, comprising the step of providing an input signal, the system producing an output signal, which is characterised by the steps of creating an error signal from a comparison between the input signal and the output signal; feeding the error signal to the input signal to produce a compensated input signal; and feeding the compensated input signal to the backlash to produce a compensated output signal, the backlash is compensated in a simple way, not requiring a large number of parameters to be tuned, which compensates for the backlash when the input signal does not come through the backlash, but does not affect the output signal when the input signal and output signal are equal.
Preferably the method further comprises the step of amplifying the error signal prior to feeding it to the input signal. This further improves the compensation of the backlash in that the compensation is quicker and that gain and phase properties become more accurate, i.e. the gain is increased and the phase retardation is decreased.
Preferably the method further comprises the step of filtering the error signal through a low pass filter prior to feeding it to the input signal. The low pass filter acts stabilising by means of suppressing higher frequency components which occur due to non-linearity.
Preferably the method further comprises the step: of measuring the output signal. By measuring the output signal a more accurate compensation of the backlash can be achieved, and there is no need for providing a software model.
Preferably the method further comprises the step of estimating the output signal from the backlash by means of a software model. This has the advantage that no measurement equipment is needed.
By providing a control system for compensating for backlash, which system is provided with an input signal and arranged to produce an output signal, wherein said control system comprises means for creating an error signal by means of comparing the input signal and the output signal, means for feeding the error signal to the input signal, and means for feeding the compensated input signal to the backlash to produce a compensated output signal, the backlash is compensated in a simple way, not requiring a large number of parameters to be tuned, which compensates for the backlash when the input signal does not come through the backlash, but does not affect the output signal when the input signal and output signal are equal.
Preferably the control system further comprises amplifying means arranged to amplify the error signal prior to feeding it to the input signal. This further improves the compensation of the backlash in that the compensation is quicker and that gain and phase properties become more accurate, i.e. the gain is increased and the phase retardation is decreased.
Preferably the control system further comprises a low pass filter arranged to filter the error signal prior to feeding it to the input signal. The low pass filter acts stabilising by means of suppressing higher frequency components which occur due to non-linearity.
Preferably the low pass filter has the transfer function G(s) according to:
where τ is a time constant and s is the Laplace transform.
Preferably the control system further comprises means for measuring the output signal. By measuring the output signal a more accurate compensation of the backlash can be achieved, and there is no need for providing a software model.
Preferably the control system further comprises a software model arranged to estimate the output signal. This has the advantage that no measurement equipment is needed.
There is further provided a computer programme comprising a programme code for performing the method for compensating for backlash of a control system, comprising the step of providing an input signal, the system producing an output signal, which is characterised by the steps of creating an error signal from a comparison between the input signal and the output signal; feeding the error signal to the input signal to produce a compensated input signal; and feeding the compensated input signal to the backlash to produce a compensated output signal, when said computer programme is run on a computer.
Preferably the computer programme comprises a programme code for performing the method step of amplifying the error signal prior to feeding it to the input signal, when said computer programme is run on a computer.
Preferably the computer programme comprises a programme code for performing the method step of filtering the error signal through a low pass filter prior to feeding it to the input signal, when said computer programme is run on a computer.
Preferably the computer programme comprises a programme code for performing the method the step of measuring the output signal, when said computer programme is run on a computer.
Preferably the computer programme comprises a programme code for performing the method the step of estimating the output signal from the backlash by means of a software model, when said computer programme is run on a computer.
There if further provided a computer programme product comprising a program code stored on a, by a computer readable, media for performing the method for compensating for backlash of a control system, comprising the step of providing an input signal, the system producing an output signal, which is characterised by the steps of creating an error signal from a comparison between the input signal and the output signal; feeding the error signal to the input signal to produce a compensated input signal; and feeding the compensated input signal to the backlash to produce a compensated output signal, when said computer programme is run on the computer.
Preferably the computer programme product comprises a programme code stored on a, by a computer readable, media for performing the method step of amplifying the error signal prior to feeding it to the input signal, when said computer programme is run on the computer.
Preferably the computer programme product comprises a programme code stored on a, by a computer readable, media for performing the method step of filtering the error signal through a low pass filter prior to feeding it to the input signal, when said computer programme is run on the computer.
Preferably the computer programme product comprises a programme code stored on a, by a computer readable, media for performing the method the step of measuring the output signal, when said computer programme is run on the computer.
Preferably the computer programme product comprises a programme code stored on a, by a computer readable, media for performing the method the step of estimating the output signal from the backlash by means of a software model, when said computer programme is run on the computer.
There is further provided a computer programme product directly storable in an internal memory into a computer, comprising a computer programme for performing the method for compensating for backlash of a control system, comprising the step of providing an input signal, the system producing an output signal, which is characterised by the steps of creating an error signal from a comparison between the input signal and the output signal; feeding the error signal to the input signal to produce a compensated input signal; and feeding the compensated input signal to the backlash to produce a compensated output signal, when said computer programme is run on the computer.
Preferably the computer programme product directly storable in an internal memory into a computer, comprises a computer programme for performing the method step of amplifying the error signal prior to feeding it to the input signal, when said computer programme is run on the computer.
Preferably the computer programme product directly storable in an internal memory into a computer, comprises a computer programme for performing the method step of filtering the error signal through a low pass filter prior to feeding it to the input signal, when said computer programme is run on the computer.
Preferably the computer programme product directly storable in an internal memory into a computer, comprises a computer programme for performing the method step of measuring the output signal, when said computer programme is run on the computer.
Preferably the computer programme product directly storable in an internal memory into a computer, comprises a computer programme for performing the method step of estimating the output signal from the backlash by means of a software model, when said computer programme is run on the computer.
A better understanding of the present invention will be had upon the reference to the following detailed description when read in conjunction with the accompanying drawings, wherein like reference characters refer to like parts throughout the several views, and in which:
a schematically shows a block diagram of the backlash;
b schematically shows a block diagram of a given backlash with an output signal for a specific input signal;
a schematically shows a diagram of a control system for compensating for backlash according to the invention;
b schematically shows a diagram of the control system for compensating for backlash in
a and 9b shows simulation results for the aircraft configuration in
a and 10b shows simulation results for the aircraft configuration in
a and 11b shows simulation results for the aircraft configuration in
a schematically shows a block diagram of the backlash BL and
The amplitude of the output signal y is the amplitude of the input signal u subtracted by half of the backlash, given that the input signal u has an amplitude larger than half of the backlash, and if not there is no output signal y, e.g. movement of rudder. In the example in
In order to analyse the effect of nonlinearity, like backlash in this case, the gain and phase properties as a function of input signal frequency can be derived and represented as a set of Bode diagrams depending on input signal amplitude. In
a schematically shows a diagram of a control system intended to be used for compensating for backlash of a control system with a compensating filter according to the invention. The control system comprises an input signal u and an output signal y, the output signal y being the result of an influence by backlash. An error signal e is arranged to be created by means of comparing the input signal u and the output signal y, e.g. by means of the difference u-y between the input signal u and the output signal y. The error signal e is then arranged to be amplified by means of amplifying means K′, and filtered by means of a low pass filter F2, resulting in a signal v. The low pass filter has the general transfer function G(s):
where K′ is the gain, τ is a time constant, and s is the Laplace transform=2□f, f being the frequency. The amplified and filtered error signal v is then arranged to be fed to the input signal, i.e. the signal v is added to the input signal u, resulting in a compensated input signal u′=u+v. If the input signal u and the output signal y are the same, i.e. if there is no backlash, the error signal will be zero, which means that the signal v will be zero, and thus u′=u, i.e. no overcompensation.
The inventive concept is the feedback of the error signal e, i.e. the difference between the input signal u and output signal y, to the input signal. By amplifying the error signal e the compensation of the backlash is improved in that the compensation is quicker and that gain and phase properties become more accurate, and by filtering the error signal through the low pass filter the filter acts stabilising by means of suppressing higher frequency components which occur due to non-linearity.
The backlash in the control system according to the invention is thus compensated according to the method comprising the steps of providing an input signal u, the system producing an output signal y, and the further steps of creating an error signal e from a comparison between the input signal u and the output signal y; amplifying the error signal; filtering the error signal through a low pass filter; feeding the error signal to the input signal to produce a compensated input signal u′; and feeding the compensated input signal u′ to the backlash to produce a compensated output signal.
In the embodiment shown in
By connecting the switch to the first connection a) there is no compensation for the backlash. By connecting the switch to the second connection b) the backlash is compensated by means of the lead-lag filter F1. By connecting the switch to the third connection c) the backlash is compensated by means of the compensating filter F2 according to the invention, as described in connection to
From the simulation results according to
Number | Date | Country | Kind |
---|---|---|---|
06114156.0 | May 2006 | EP | regional |