The present invention relates to compensating for hysteresis, and other processes related to hysteresis.
The exhibition of hysteresis by certain materials used in certain systems, for example those used in a deformable mirror, is known.
A known problem relating to hysteresis in deformable mirrors is as follows. An input voltage is applied to an actuator in a deformable mirror, which causes it to change shape. When the input voltage is turned off, the actuator will return to its original shape in time, but in a slightly different manner. It is likely that the actuator will experience a second applied input voltage before it has returned to its original position. This causes the actuator to expand and contract in an unintended fashion. Thus, there is a degree of inaccuracy in the deformable mirror system.
Known methods of reducing the degree of this inaccuracy (i.e. methods of compensating for hysteresis in, for example, a deformable mirror) implement the Preisach model to model hysteresis in the material, and then implement an Inverse Preisach model to reduce the inaccuracy caused by hysteresis. Conventional applications of the Inverse Preisach model require large amounts of processing, for example much greater amounts of processing than is typically required for the forward Preisach model.
Conventionally, the Inverse Preisach model is implemented using a linear interpolation based inversion algorithm, which requires large amounts of processing. Also, an increasing input to the system tends not to consistently lead to an increasing output from the system. This can cause interpolation problems.
The remainder of this section introduces Preisach model terminology used later below in the description of embodiments of the present invention.
The Preisach model describes hysteresis in terms of an infinite set of elementary two-valued hysteresis operators (hysterons).
Graphically,
Thus, the hysteron takes the path of a loop, and its subsequent state depends on its previous state. Consequently, the current value of the output y of the complete hysteresis loop depends upon the history of the input x.
Within a material, individual hysterons may have varied α and β values. The output y of the system at any instant will be equal to the sum over the outputs of all of the hysterons. The output of a hysteron with parameters α and β is denoted as ξαβ(x). Thus, the output y of the system is equal to the integral of the outputs over all possible hysteron pairs, i.e.
where μ(α,β) is a weighting, or density, function, known as the Preisach function.
This formula represents the Preisach model of hysteresis. The input to the system corresponds to the input of the Preisach model (these inputs correspond to x in the above equation). The output of the system corresponds to the output of the Preisach model (these outputs correspond to y in the above equation).
Increasing the input x from its lowest amount (minus 2) to a value x=u1 provides that all of the hysterons with an α value less than the input value of u1 will be switched ‘on’. Thus, the triangle 20 of
Decreasing the input x from the value x=u1 to a value x=u2 provides that all of the hysterons with a β value greater than the input value of u2 will be switched ‘off’. Thus, the on-region 22 and the off-region 24 of the triangle 20 change as the input x is decreased from the value x=u1 to the value x=u2.
An increasing input can be thought of as a horizontal link that moves upwards on the graph shown in
By alternately increasing and decreasing the input x, the triangle 20 is separated in to two regions, the boundary between which has a number of vertices.
In
For the Preisach Model to represent a material's behaviours, the material has to have the following two properties: the material must have the wiping-out property, which provides that certain increases and decreases in the input x can remove or ‘wipe-out’ x-vertices; and the material must have the congruency property, which states that all minor hysteresis loops that are formed by the back-and-forth variation of inputs between the same two extremum values are congruent.
The output y of the system is dependent upon the size and shape of the on-region 22. The on-region 22, in turn, is dependent upon the x-vertices 30, 32, 34, 36. Thus, as described in more detail later below, the output y of the system can be determined using the x-vertices 30, 32, 34, 36 of the boundary between the on-region 22 and the off-region 24.
The output y of the system illustrated by
In the on-region 22, all hysterons are switched on, and therefore ξαβ(x)=1. Similarly, in the off-region 24 all hysterons are switched off, and therefore ξαβ(x)=0. Thus,
By considering the x-vertices on the boundary 300, it can be shown that the integral can be estimated as follows:
where:
In practice, to calculate the above equation, values of yαβ for a number of points in the triangle 20 are generated. Typically, a value of yαβ for each α-β pairs in a grid of α-β pairs in the triangle 20 is calculated. This is done by increasing the input x from its minimum (minus two) to α, and then decreasing it to β, and measuring the output y of the system. For α-β pairs not on the grid, a value of yαβ is found using bilinear interpolation, or linear interpolation, using α-β pairs on the grid.
In a first aspect the present invention provides a method of compensating for hysteresis in a system, the method comprising: determining a required input to the system from an output of the system using the Preisach model with the input of the Preisach model corresponding to the output of the system, and with the output of the Preisach model corresponding to the input of the system.
Using the Preisach model with the input of the Preisach model corresponding to the output of the system, and with the output of the Preisach model corresponding to the input of the system, may comprise determining a value of an input x to the system using the following formula:
where: y is an output of the system; γ is the level to which the output y is increased as the input x is increased; δ is the level to which the output y is decreased as the input x is decreased; λ(γ,δ) is a density function; and εγδ(y) is the output of an imaginary hysteron having parameters γ and δ.
Using the Preisach model with the input of the Preisach model corresponding to the output of the system, and with the output of the Preisach model corresponding to the input of the system, may comprise determining a value of an input x to the system using the following formula:
where: xγ
The formula
may be calculated by: determining a value for xγδ for each γ-δ pair in a discrete set of γ-δ pairs; and for all required values of xγ
The system may be an adaptive optics system.
The input x may be an input voltage of an actuator that deforms a deformable mirror, and the output y may be a value of a displacement of a deformable mirror.
The method may further comprise a process of determining an updated required input to the system, the determining process comprising: measuring a value of the input to the system; and determining the updated required input to the system using the determined required input to the system and the measured required input to the system.
The method may further comprise a process of determining an updated required input to the system, the determining process comprising: measuring a value of the output of the system to determine αmeasured output value corresponding to the determined required input; and determining the updated required input to the system using the measured output value and the output of the system.
In a further aspect the present invention provides an apparatus adapted to perform the method of any of any of the above aspects.
In a further aspect the present invention provides a computer program or plurality of computer programs arranged such that when executed by a computer system it/they cause the computer system to operate in accordance with the method of any of the above aspects.
In a further aspect the present invention provides a machine readable storage medium storing a computer program or at least one of the plurality of computer programs according to the above aspect.
The mirror interrogation system 99 comprises a controller 100, a deformable mirror 101, a beam-splitter 106, and a wave-front sensor 108. The deformable mirror 101 comprises an actuator 102 and a mirror 104.
The controller 100 comprises an output and an input. The output of the controller 100 is connected to the actuator 102. The input of the controller is connected to the wave-front sensor 108. The controller 100 receives a signal from the wave-front sensor 108. The controller processes the signal received from the wave-front sensor 108, as described in more detail later below. The controller 100 sends a control signal to the actuator 102. The control signal depends on the signal received by the controller 100 from the wave-front sensor 108, as described in more detail later below.
The actuator 102 comprises an output and an input. The input of the actuator 102 is connected to the controller 100. The output of the actuator 102 is connected to the mirror 104. The actuator 102 receives the control signal from the controller 100. The actuator changes the shape of, or deforms, the mirror 104 via the actuator output, depending on the received control signal. In this embodiment, the control signal received by the actuator is an input voltage. This input voltage to the actuator corresponds to the input x for a Preisach model, as described above and referred to later below. The value of the input x determines the amount by which the actuator 102 deforms the mirror 104.
The mirror 104 is deformed by the actuator 102. The displacement of the mirror, i.e. the amount by which the mirror 104 is deformed by the actuator 102, corresponds to the output y for a Preisach model, as described above and referred to later below.
In this embodiment, a beam of light is reflected and split by the mirror interrogation system 99. The beam of light is indicated by arrows in
The beam splitter splits the reflected beam 106 into the image beam 114 and the feedback beam 116.
The feedback beam 116 is incident on the wave-front sensor 108.
The wave-front sensor 108 detects the feedback beam 116. The wave-front sensor 108 measures a value of the curvature of the mirror 104. The wave-front sensor 108 comprises an output. The wave-front sensor 108 sends a signal corresponding to the detected feedback beam 116, i.e. a signal corresponding to the curvature of the mirror 104, to the controller 100 via the output of the wave-front sensor 108.
The controller 100 receives the signal corresponding to the detected feedback beam 116 from the wave-front sensor 108. In this embodiment, the controller 100 comprises a processor (not shown). The processor uses the signal corresponding to the detected feedback beam 116 to determine αvalue corresponding to the displacement of the mirror 104, i.e. a value for the output y of the Preisach model. The processor further generates a control signal, i.e. the input x for the Preisach model, using the determined output y. The control signal is sent to the actuator 102, and the actuator 102 deforms the mirror 104 depending on the received control signal as described above.
An embodiment in which an Inverse Preisach model is performed, in the mirror interrogation system 99 described above with reference to
In this embodiment, the deformable mirror 101 has the wiping-out property as described above for the forward Preisach model, and described below for this embodiment.
As described in more detail above, alternately increasing and decreasing the input x (which in this embodiment is the input voltage applied to the actuator 102) produces the α-β graph shown in
The output y (which in this embodiment is the displacement of the mirror 104 by the actuator 102) of the system is, in general, an increasing function with respect to the input x, i.e. as the input x increases, the output y increases, and as the input x decreases, the output y decreases. Thus, alternately increasing and decreasing the input x, produces alternating increases and decreases in the output y. This is shown schematically in
The first x-vertex 30 of the boundary 300 shown in the α-β graph for the input x (
The second x-vertex 32 of the boundary 300 shown in the α-β graph for the input x (
The third x-vertex 34 of the boundary 300 shown in the α-β graph for the input x (
The fourth x-vertex 36 of the boundary 300 shown in the α-β graph for the input x (
In this embodiment, the wiping-out property, which holds for the α-β graph for the input x shown in
In this embodiment, the congruency property, which holds for the α-β graph for the input x shown in
In this embodiment, it is not necessary for the congruency property to hold for the inverse because, in practice, the material tends not to have a perfect congruency property for the forward Preisach model. Also, minor hysteresis loops near the centre of the major hysteresis loop are likely to all be very similar. In practice, the better the congruency property holds, the better the inverse Preisach model, herein described, will work. In other words, the material does not have a perfect ‘forward’ congruency property, so the ‘inverse’ congruency property tends not be detrimentally limited. Also, for readings in the middle of the hysteresis loop, all of the loops are quite similar. Thus, the congruency property tends to hold reasonably well in this middle range.
The formula for the inverse model is:
This formula represents an Inverse Preisach model of hysteresis for the present embodiment. The input to the system, i.e. the input voltage to the actuator 102, corresponds to the output of the Inverse Preisach model (these correspond to x in the above equation). The output of the system, i.e. the displacement of the mirror 104, corresponds to the input of the Inverse Preisach model (these correspond to y in the above equation).
This formula can be rewritten as a summation, in the same way as for the forward model:
where:
As described above for the forward Preisach model, values of xγδ where γ and/or δ are not on the grid, is found using bilinear or linear interpolation using determined values of xγδ where γ and δ are on the grid.
In this embodiment, the minimum output is 0. However, in other embodiments, the minimum output is not zero. In embodiments in which the minimum output is not zero, an appropriate additional constant is added to the sum/integral in the above equations for the inverse Preisach model to account for the non-zero minimum output.
In a corresponding way to performing the forward Preisach model, a value of the input x is generated for each γ-δ pair in a grid of γ-δ. These values are hereinafter denoted as xγδ. For γ-δ pairs not on the grid, a value of x is found using bilinear interpolation, or linear interpolation, using γ-δ pairs on the grid.
In this embodiment, the grid input values are generated using the forward Preisach model. The input x is increased slowly (i.e. in small increments) until y=γ, and then the input x is slowly decreased until y=β. This embodiment of implementing an Inverse Preisach model is described in more detail later below, with reference to
At step s2, a grid of γ-δ pairs is defined on the space of all possible γ-δ pairs. In other words, a grid of points is defined on the space of γ-δ pairs 21 shown in
At step s4, for a particular γ-δ pair, the input x to the system is slowly increased from the minimum input (minus two) until the output y of the system equals the value of γ of the particular γ-δ pair.
At step s6, for the particular γ-δ pair, the input x to the system is slowly decreased until the output y of the system equals the value of δ of the particular γ-δ pair.
At step s8, the value of the input x after having performed the steps s4 and s6 above is stored in a table for that particular γ-δ pair, i.e. the value of the input x is stored as xγδ, as described above.
At step s10, the steps s4, s6 and s8 are repeated for all remaining γ-δ pairs. Thus, for each value of the output y that is defined as a point on the grid of γ-δ pairs in
In this embodiment, steps s2-s10, as described above, are performed once and the grid of input values xγδ is stored and used as a reference for performing step s12.
At step s12, the input x for a series system of outputs is calculated using the formula (described earlier above):
where:
A value of xγδ for values of γ and/or δ not on the grid, is found using bilinear interpolation, or linear interpolation, using determined grid values of xγδ.
Thus, a method of performing an Inverse Preisach model is provided. The provided inverse procedure tends to be faster than conventional, iterative inverse procedures.
A further advantage is that algorithms prepared for the forward Preisach model tend to be usable (with the alternative grid of points) for implementing the provided inverse procedure.
A further advantage of above described Inverse Preisach model is that the grid of γ-δ pairs provided by the process can be updated using feedback from sensors, for example the wave-front sensor 108. This tends to allow for faster processing and more accurate estimations.
The above described Inverse Preisach model is used to compensate for hysteresis in a system. In the following embodiment, the Inverse Preisach model is used to compensate for hysteresis in an adaptive optics system.
The adaptive optics system described in the following embodiment comprises the same deformable mirror 101 (i.e. the same actuator 102 and mirror 104) present in the mirror interrogation system 99. This is so that the inverse Preisach information generated by the mirror interrogation system 99 (as described above) can be used to compensate for hysteresis in the adaptive optics system, i.e. the inverse Preisach information is derived from the particular deformable mirror 101. Alternatively, in other embodiments a deformable mirror of the same type as the deformable mirror that has been interrogated and had inverse Preisach information generated for it, for example a deformable mirror manufactured to the same specifications as those of the interrogated deformable mirror, is used. In other embodiments, a deformable mirror is arranged as part of a mirror interrogation system and as part of an adaptive optics system at the same time.
The adaptive optics system 150 comprises the controller 100, the deformable mirror 101, a further beam splitter 152, and a further wave-front sensor 154. The deformable mirror 101 comprises the actuator 102 and the mirror 104.
In this embodiment, a beam of light is split and reflected by the adaptive optics system 150. The beam of light is indicated by arrows in
In this embodiment, the actuator 102 deforms the mirror 104 to generate a spherical surface to enable the system to correct for spherical aberrations.
The further wave-front sensor 154 detects the sensor beam 158. The further wave-front sensor 154 sends a signal corresponding to the detected sensor beam 158, i.e. a signal corresponding to the further incident beam 156, to the controller 100.
The controller 100 receives the signal corresponding to the detected sensor beam 158 from the further wave-front sensor 154. The processor in the controller uses the signal corresponding to the detected sensor beam 158 to determine αvalue corresponding to the displacement of the mirror 104, i.e. a value for the output y of the Preisach model. The processor further generates a control signal using the above described Inverse Preisach model, i.e. the input x using the determined output y. The control signal is sent to the actuator 102, and the actuator 102 deforms the mirror 104 depending on the received control signal. In this way, the hysteresis experienced by the mirror 104 resulting from operation in response to the further incident beam 156 is compensated for.
In the above embodiments, the light can be of any wavelength, for example infra-red.
In the above described embodiment, a grid of γ-δ pairs is defined. In this embodiment, the spacing between the grid pairs is small. In the above described embodiment 8001 grid points are implemented. Typically, the larger the number of grid points, the more accurate the estimates of the input x to the system are.
In the above embodiments, the output y (shown in
In the above embodiments, the congruency property does not hold for the output y. However, in other embodiments, the congruency property does hold for the output y.
In the above embodiments, the grid of γ-δ pairs, as shown in
In the above described embodiments, the values of xγδ for each γ-δ pair on the grid of γ-δ pairs are determined one at a time, as described above with reference to steps s4-s10 of the above described method, and
In the above embodiments, the values of xγδ for each γ-δ pair on the grid of γ-δ pairs are determined by increasing the output to γ, then decreasing the output to δ. However, in other embodiments, the values of are determined in a different manner. For example, a series of xγδ values could be found by increasing the output to a particular value, and then decreasing the output to a series of values, each value lower than the last.
Returning to
A further optional process of adaptively updating the Inverse Preisach model may be incorporated into the above described Inverse Preisach process to provide a further embodiment of an Inverse Preisach process. This further embodiment will now be described. In this further embodiment, the deformable mirror is arranged as part of the mirror interrogation system and as part of the adaptive optics system at the same time.
The above described formula used to determine the input x for a series system of outputs is adapted as follows:
where x is the estimation of the input to the system based on the above described embodiment of an Inverse Preisach model. Thus, the following formula holds:
where xA is the actual input to the system (required to produce the desired output).
Thus, adjusting the value of xγ
In practice, it may not be possible to determine αvalue of xA. However, the output y as a function of the input x tends to be smooth. Thus, the value of k(xA−x) may be estimated by the following term:
K(yA−δn)
where:
The actual output of the system yA may be determined by any appropriate means. For example, the actual output of the system yA may be determined by directly coupling a strain gauge or a capacitive sensor to the mirror 104, or by implementing the mirror interrogation system 99, as described above with reference to
In the above embodiments, the grid points surrounding the γ-δ pair (yn, δn) are each adjusted by an amount equal to k(xA−x) (or K(yA−δn)). For example, the four points surrounding the particular grid point (γn, δn) are each adjusted. In other examples a different number of points can be adjusted. For example, in other embodiments more than four points surrounding the particular grid point (γn, δn) are each adjusted by different amounts. An advantage provided by this is that more accurate estimations tend to be produced.
The above described adaptive updating process tends to provide that a grid of γ-δ pairs in which the spacing between the grid pairs is small, is not necessary. Indeed, the adaptive updating process tends to provide more accurate results using a grid of γ-δ pairs in which the spacing between the grid pairs is larger. In this embodiment, 351 γ-δ pairs are utilised. This tends to advantageously allow for faster computation of the estimated values.
In the above embodiments, the value of the constant k used in the adaptive updating process is 0.005. However, in other embodiments different values of k are used.
The above described adaptive updating process advantageously provides that the grid of γ-δ pairs (or the grid of α-β pairs) used in the process can be updated using feedback from sensors. This tends to provide more accurate estimations.
In the above embodiments, the controller comprises a processor which uses the signal corresponding to the detected feedback beam to determine a value corresponding to the displacement of the deformable mirror, i.e. a value for the output y of the Preisach model. However, in other embodiments the value corresponding to the displacement of the deformable mirror is determined in a different appropriate way. For example, in other embodiments the processor determines the displacement of the deformable mirror using signals from sensors that directly measure the displacement of the deformable mirror.
In the above embodiments, the deformable mirror comprises a mirror that is deformed by an actuator. However, in other embodiments the deformable mirror is a different appropriate type of deformable mirror, for example a bimorph mirror.
In a further embodiment, the actuator 102 is used to control the position of the mirror 104 to generate a piston action, correcting phase. In a further embodiment, a discrete array of such phase correctors is used to generate a multi-element deformable mirror. Each discrete corrector can be controlled as described above.
In the above embodiments, the output y of the Preisach model is a value of the displacement of the deformable mirror. However, in other embodiments the output y of the Preisach model is a different appropriate parameter. For example, in other embodiments the output is the measured value of the feedback beam detected by the wave-front sensor.
In the above embodiments, the input x of the Preisach model is a value of the input voltage (control signal) received by the actuator. However, in other embodiments the input x of the Preisach model is a different appropriate parameter.
In the above embodiments, the processor generates the control signal, i.e. the input x for the Preisach model, using the determined output y. However, in other embodiments the control signal is generated using different means, or a combination of means. For example, in other embodiments the control is determined from a user input.
In the above embodiments, a wave-front sensor is used to provide the signal corresponding to the detected feedback beam, i.e. a signal corresponding to the curvature of the mirror. However, in other embodiments a different appropriate device is used. For example, a strain gauge or capacitive sensor directly coupled to the mirror could be used.
In the above embodiments, hysteresis is compensated for in a deformable mirror of an adaptive optics system. However, in other embodiments, hysteresis is compensated for in any appropriate material of the adaptive optics system. Also, in other embodiments, hysteresis is compensated for in other materials of other appropriate systems, for example systems other than optics systems. In these embodiments, the input and output of the Preisach model are different appropriate parameters.
Number | Date | Country | Kind |
---|---|---|---|
09275081.9 | Sep 2009 | EP | regional |
0916245.4 | Sep 2009 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB2010/051487 | 9/7/2010 | WO | 00 | 3/15/2012 |