## 1. Introduction

The design of controllers for the rejection of multisine disturbances with time-varying frequencies is considered. The frequencies are assumed to be known. Such a control problem frequently arises in active noise and vibration control (ANC/AVC) applications where the disturbances are caused by imbalances due to rotating or oscillating masses or periodically fluctuating excitations, for example the torque of a combustion engine, and the rotational speed is measured. Application examples are automobiles and aircrafts.

For the rejection of disturbances with time-varying frequencies, time-varying controllers that are automatically adjusted to the disturbance frequencies are usually used. Although time-invariant controllers might be sufficient in some applications [Koro Scherer, 2008a], time-varying controllers usually result in a much better performance, particularly if the disturbance frequencies vary over fairly wide ranges. Such a controller can be constructed in several ways (see Sec. 2.1). Two observer-based state-feedback controllers are presented in this chapter (see Sec. 3). General output-feedback controllers are treated in the next chapter. The approaches presented in this chapter use state augmentation in order to achieve disturbance rejection. One consists of a time-invariant plant observer and a time-varying state-feedback gain for the state-augmented plant, where the state augmenation is based on a time-varying error filter, as proposed by [Kinney de Callafon, 2006a]. The other controller approach is based on the disturbance observer of [Bohn et al., 2003], where the plant is augmented with a time-varying disturbance model. A time-varying observer for the overall system and a time-invariant state-feedback gain are used to track and reject the disturbance.

The remainder of this chapter is organized as follows. In Sec. 2, existing approaches to the problem are classified and some general control design considerations are discussed. The state-augmented observer-based state-feedback approaches are described in Sec. 3. In Sec. 4, the calculation of stabilizing state-feedback gains for time-varying systems in polytopic linear parameter-varying (pLPV) form is discussed. The application of this method for the rejection of harmonic disturbances is treated in Sec. 5. Real-time results are presented in Sec. 6. A discussion and conclusions are given in Sec. 7.

## 2. Controller design: Overview, stability and implementation aspects

In this section, an overview of control approaches for the rejection of harmonic disturbances with time-varying frequencies is given (Sec. 2.1) and stability and implementation aspects are discussed (Secs. 2.2 and 2.3, respectively).

### 2.1. Overview and classification of control approaches

A common approach in ANC/AVC is adaptive filtering, where the filter weights are usually updated with the FxLMS algorithm [Kuo Morgan, 1996]. In most cases, disturbance feedforward is used, although it is possible to use an adaptive filter in feedback control with a technique called “secondary path neutralization” [Kuo Morgan, 1996], which is equivalent to internal model control [Morari Zafiriou, 1989].

Another approach is to use gain scheduling, where the scheduling parameters are calculated from the disturbance frequencies. This can be further subdivided into indirect and direct scheduling methods. In indirect scheduling, the controller, or part of it, for example a state-feedback or observer gain, is determined from a set of pre-computed quantities through interpolation or switching. For example, for linear parameter-varying (LPV) systems, where the uncertain parameters are contained in a polytope, one controller is calculated for each vertex and the resulting controller is obtained from interpolation [Apkarian et al., 1995]. For the rejection of harmonic disturbances, continuous-time LPV approaches have been suggested by [Darengosse Chevrel, 2000], [Du Shi, 2002, Du et al., 2003], [Witte et al., 2010], [Balini et al., 2011] and tested for a single sinusoidal disturbance by [Darengosse Chevrel, 2000], [Du et al., 2003], [Witte et al., 2010] and [Balini et al., 2011]. Methods based on observer-based state-feedback controllers are presented by [Bohn et al., 2003, Bohn et al., 2004], [Kinney de Callafon, 2006a, Kinney de Callafon, 2006b, Kinney de Callafon, 2007] and [Heins et al., 2011, Heins et al., 2012]. In the approach of [Bohn et al., 2003, Bohn et al., 2004], the observer gain is selected from a set of pre-computed gains by switching. In the other approaches of [Kinney de Callafon, 2007], [Heins et al., 2012] and in this chapter, the observer gain is calculated by interpolation. In the other approach presented here, which is also used by [Kinney de Callafon, 2006a, Kinney de Callafon, 2006b] and [Heins et al., 2011], the state-feedback gain is scheduled using interpolation.

In direct scheduling, the dependence of the controller on the scheduling parameter does not correspond to a simple interpolation or switching law [Apkarian et al., 1995, Kinney de Callafon, 2007, Koro Scherer, 2008b, Ballesteros Bohn, 2011a, Ballesteros Bohn, 2011b, Shu et al., 2011]. For example, for LPV systems where the parameter dependence is expressed as a linear fractional transformation (LFT), the uncertain parameters also enter the controller through an LFT [Apkarian et al., 1995]. For harmonic disturbances, an LPV-LFT approach has been suggested and applied in real time by [Ballesteros Bohn, 2011a, Ballesteros Bohn, 2011b] and [Shu et al., 2011]. Another example for direct scheduling is a controller based on a time-varying state estimator, for example a Kalman filter, where the scheduling parameters enter the controller through the recursive equations for the state estimate and the error covariance matrix. Such a controller is presented and compared to an indirect (interpolation) approach by [Kinney de Callafon, 2007].

### 2.2. Stability considerations

The existing design approaches can be classified as approaches that take stability into consideration and such that do not. In indirect scheduling, for example, the controllers or gains are sometimes pre-computed for fixed operating points and then interpolated in an ad-hoc fashion [Bohn et al., 2003, Bohn et al., 2004, Kinney de Callafon, 2006b]. Stability is then not guaranteed, although it might be expected that the system is stable for slow variations of the scheduling parameter. For the adaptive filtering approaches, only approximate stability results seem available to date [Feintuch Bershad, 1993, Kuo Morgan, 1996]. To take stability into consideration, it is attractive to model the control problem as an LPV system and then use suitable gain-scheduling techniques [Darengosse Chevrel, 2000, Kinney de Callafon, 2006a, Koro Scherer, 2008b, Witte et al., 2010, Balini et al., 2011, Ballesteros Bohn, 2011a, Ballesteros Bohn, 2011b, Shu et al., 2011, Heins et al., 2011, Heins et al., 2012]. If parameter-independent Lyapunov functions are used, this guarantees closed-loop stability even for arbitrarily fast changes of the scheduling parameters at the expense of conservatism. The methods presented in this chapter guarantee closed-loop stability. In designs based on parameter-dependent Lyapunov functions, limits on the rate of change of the parameters can be incorporated.

### 2.3. Implementation aspects

For a practical application, the resulting controller has to be implemented in discrete time. In applications of ANC/AVC, the plant model is often obtained through system identification. This usually gives a discrete-time plant model. It is therefore most natural to carry out the whole design in discrete time. If a continuous-time controller is computed, the controller has to be discretized. Since the controllers considered here are time-varying, the discretization would have to be carried out at each sampling instant. An exact discretization involves the calculation of a matrix exponential, which is computationally too expensive. Particularly in LPV gain-scheduling control, an approximate discretization is proposed by [Apkarian, 1997]. However, this leads to a distortion of the frequency scale. Usually, this can be tolerated, but not for the suppression of harmonic disturbances. It is therefore not surprising that the continuous-time controllers of [Darengosse Chevrel, 2000], [Du et al., 2003], [Kinney de Callafon, 2006a] and [Koro Scherer, 2008b] are only tested in simulation studies with a very simple system as a plant and a single frequency in the disturbance signal. The design methods that are tested in real time are usually formulated in discrete time [Bohn et al., 2003, Bohn et al., 2004, Kinney de Callafon, 2006b, Kinney de Callafon, 2007, Ballesteros Bohn, 2011a, Ballesteros Bohn, 2011b, Shu et al., 2011, Heins et al., 2011, Heins et al., 2012]. Exceptions are [Witte et al., 2010] and [Balini et al., 2011], who designed continuous-time controllers which then are approximately discretized. However, [Witte et al., 2010] use a very high sampling frequency of 40 kHz to reject a harmonic disturbance with a frequency up to 48 Hz (in fact, the authors state that they chose “the smallest [sampling time] available by the hardware”) and [Balini et al., 2011] use a maximal sampling frequency of 50 kHz. It seems more natural to directly carry out the design in discrete time to avoid discretization issues.

## 3. State-augmented observer-based state-feedback control

Usually, disturbances act somewhere on the plant under consideration. The control objective is then to reject this disturbance. For the design methods considered in this paper, it is assumed that the disturbance acts on the plant input. For linear systems, a disturbance acting somewhere in the plant can be represented as a disturbance acting on the plant input under very mild assumptions. Therefore, assuming an input disturbance does not mean that the true disturbance has to act on the plant input (in fact, it usually does not). The design method used in this chapter is based on the internal model principle [Francis Wonham, 1976]. Applying this principle results in controllers with high gain in the frequency ranges where disturbances are assumed. These disturbances are then rejected no matter where they act upon the plant.

A discrete-time model for the plant with a disturbance

In the approaches presented in the following, the disturbance rejection will be achieved with observer-based state-feedback controllers. The design methods presented here use state augmentation to add certain desired dynamics to the controller. In the time-invariant case, such a state augmentation can be used to prescribe controller poles. It can easily be verified that controller poles show up as zeros in the closed-loop disturbance transfer functions. Therefore, controller poles can be chosen to correspond to disturbances that are to be suppressed.

This argumentation, of course, only holds in the time-invariant case for which transfer functions and poles are defined (and only for controller poles that are not cancelled by plant zeros). If a time-varying internal model is used, it is not easy to interpret what happens when the internal model changes. Conceptually, the argument that the controller has high (infinite) gain at the disturbance frequencies that are to be rejected should still hold. It is confirmed by experiments (see Sec. 6) that even for fairly fast changes of the disturbance frequencies, excellent disturbance rejection is achieved.

### 3.1. State augmentation through an error filter

In this approach, disturbance rejection is achieved by including additional dynamics in a state-feedback controller through error filtering. A general error filter in state-space representation is given by

and interconnected with the plant model (without disturbance input)

as shown in Fig. 1. Usually, the controller error

The dynamics of the error filter can be used to include additional desired dynamics in a state-feedback controller for the overall system given by the plant and the filter. The additional dynamics can be chosen such that they describe the disturbances that the controller should reject, which corresponds to the internal model principle [Francis Wonham, 1976]. The additional dynamics can therefore be referred to as the “internal (disturbance) model.” If, as in the control problem considered in this chapter, the disturbance characteristics change over time, a time-varying internal model

can be used.

In order to design a state-feedback controller for the overall system, first the overall system model is formed by combining the plant model (3) and the error filter dynamics (4) through introduction of an augmented state vector. This yields

Then, a state-feedback gain

Usually the plant states are not available for feedback. Therefore, an identity observer

is used to obtain an estimate

For an overall state-feedback gain

where

The structure of the overall closed-loop system is shown in Fig. 2. The plant is affected by a disturbance

For stability analysis of the closed-loop system it is convenient to separate the state-space representation of the overall closed-loop dynamics including plant, observer, error filter, state-feedback and disturbance input in several parts as derived in the following. First, the controlled plant under disturbance at the input can be derived by combining (1), (6) and (8) to

It is driven by the error filter states

The dynamics of the identity observer for the plant states are described by (6). Since the observer does not include a model of the disturbance, the dynamics of the observer error, from now on denoted by

which means that the observer is driven by the unknown disturbance

The overall system behavior is shown in Fig. 3. From this representation it can be seen that the time-varying dynamics of the augmented plant under state feedback are driven by the time-varying dynamics of the observer error for the plant states. The augmented plant under state feedback and the dynamics of the observer error for the plant states can therefore be interpreted as two distinct systems connected in series. From this it follows that choosing an observer gain

### 3.2. State augmentation through a disturbance model

In this approach, the disturbance

as shown in Fig. 4. An overall linear time-varying system model is then given by the combination of the plant model (1), which is affected by the disturbance

With

the overall system can be written as

Estimates for the states of the disturbance and the plant model can then be obtained by application of a linear time-varying identity observer with time-varying observer gain

A state-feedback control for the overall system is given by

This leads to the typical structure of an observer-based state-feedback controller, but due to the time-varying disturbance model, the observer gain as well as state-feedback gain might be time-varying. Fig. 5 shows the general structure. The idea behind the disturbance observer is to use the estimate of the disturbance states (with a sign reversal) as control input. This should lead to perfect disturbance cancellation if the disturbance model is chosen appropriately. For a more detailed analysis of this aspect, in the following observer gains and state-feedback gains are seperated into a part that feeds back the disturbance states via

and the estimated plant states are given through

where

In Fig. 6, this more detailed representation is illustrated.

For stability analysis of the overall system including overall observer dynamics and state feedback, the dynamics of the observer error for the plant states

are considered.

The dynamics of the states of the plant under state feedback are given by

This yields the overall closed-loop system dynamics given by

Fig. 7 illustrates the structure of the overall system dynamics. This representation shows, similiar to the error filtering approach, that the dynamics of the plant under state feedback are driven by the time-varying dynamics of the observer for the augmented system, where in this case the outputs are given by the estimate of the disturbance states and the observer error for the plant states. The plant under state feedback and the observer of the augmented system can therefore be considered as two distinct systems in series connection. From this it follows that as long as a stabilizing state-feedback gain

## 4. Gain-scheduled state-feedback and observer design for pLPV systems

In this section, design methods for time-varying state-feedback and observer gains for pLPV systems based on quadratic stability theory are reviewed.

An LPV system is a linear system described by

with

In the following, only unforced systems of the form

are considered. In general, an LPV system is called a pLPV system, if the matrices depend affinely on the varying parameter. For the unforced system given in (26), this means that it is a pLPV system, if the system matrix

where

Defining

The matrices

and the current system (26) is a convex combination of the vertex systems in (30).

The pLPV system (26) is called *quadratically stable* in

or equivalently via the Schur complement [Horn Johnson, 1985]

where “

Since (32) has to hold for every

or equivalently

for all

These results can be applied to the design of time-varying state-feedback and observer gains, as reviewed in the following sections.

### 4.1. State-feedback design for pLPV systems based on quadratic stability

A system of the form

is considered and the objective is to find a state-feedback gain

From the above result it follows that it suffices to find a single symmetric positive definite matrix

Then,

because then it holds that

and therefore quadratic stability of (36) is implied due to the results presented above.

### 4.2. Computation of state-feedback gains for the vertex systems

In this section, sufficient conditions that guarantee closed-loop stability and a certain

As a performance output, the artificial signal

is defined that weighs the states and the control signal with matrices

This objective can be stated as the minimization of the

which has the state-space representation

with

If the system is stable, the

where the controllability gramian

Therefore, if there exist symmetric positive definite matrices

then it follows that

Introducing

it follows that if solutions for the matrix variables

then the system

Quadratic stability is then implied for each closed-loop vertex system because of (48). In order to guarantee quadratic stability for the whole parameter space, solutions for the matrix variables

Once state-feedback gains are found for the vertex systems, in any instant of time of a realization of the pLPV system (35) with

### 4.3. Observer design for pLPV systems based on quadratic stability

Although the observer design is dual to the controller design, the LMIs for observer design are shortly presented here for completeness.

For observer design, a system of the form

is considered and the objective is to find an observer gain

From the above result it follows that it suffices to find a single symmetric positive definite matrix

and

As in the design of the state-feedback gain in the previous section, sufficient conditions for quadratic stability of (59) and a certain

The

this transfer path is described by

Therefore the objective is to minimize the

with

If the system is stable, the

where the observability gramian

For the same arguments as in Sec. 4.1 and with the introduction of

it follows that if solutions for the matrix variables

then the system

In order to guarantee quadratic stability for the whole parameter space, solutions for the matrix variables

Once observer gains are found for the vertex systems, in any instant of time an observer gain for the realization of the pLPV system (58) with

### 4.4. Computation of the coordinates for interpolation

The computation of the coordinates

Existence of the solution is guaranteed as long as

In most cases, ranges of components of the parameter vector are given by closed intervals in

If no further information on the relations between parameters are known, the polytope

One way to compute a set of coordinates

The

are pre-computed such that

The following steps are then carried out in every sampling instant:

## 5. Application for the rejection of harmonic disturbances

In this section, the methods described in Sec. 4 are applied to the case of a harmonic multisine disturbance. Specific system models and the transformation that leads to a pLPV system are presented.

### 5.1. Internal model for harmonic disturbances

The disturbance is assumed to be a multisine. Let

As discussed in Sec. 3, an error filter or a disturbance model can be used to include desired dynamics in the controller according to the internal model principle [Francis Wonham, 1976]. Since the following relations are used for either

where

with sampling time

Unfortunately, through

a non-affine dependence is introduced into the model. To circumvent this, additional parameters

could be introduced. The use of this internal model leads to a large dimension of the parameter space and a polytope with many vertices. It can be expected that controllers based on this model are quite conservative, if there exists a solution to the LMIs at all. Therefore, a simplified disturbance model that leads to less conservative conditions is used for the controller design.

In the case of constant frequencies, instead of (84), the matrices

can be used in the system matrix of the internal model (83). This leads to a time-invariant overall system model. As discussed in Sec. 3, the internal model then is a way to determine controller poles (that show up as zeros in the disturbance transfer functions). With the above approach, for a frequency

Although this model does not take into account the rate of change of the disturbance frequencies and the argumentation based on controller poles is valid only in the time-invariant case, this simpler model is used here even for the case of time-varying frequencies, since it reduces the dimension of the parameter space. Thus, the matrices

are used for the time-varying disturbance model. This might have an effect on the disturbance attenuation for fast changes of the frequencies, but it is expected that other effects are more dominant than the “incorrect” disturbance model. There will always be delay between the measured frequency used in the controller and the true frequency. Also, if the disturbance and the control signal do not enter at exactly the same point and the disturbance frequency varies, it is unclear which frequency “is present” at the point where the control signal enters the plant at a certain time. As shown in Sec. 3, closed-loop stability is not affected by the choice of the internal model.

### 5.2. Transformation to pLPV form

If the internal model can be written in the form of a pLPV system, it is possible to find a representation of the system matrix

If the sampling theorem applies (which should be the case for any practical application), it holds that

respectively. Defining

with vertices

is always inside the hyper box

with

where

and

Therefore, the system matrix

with

and analogously in (15) for the disturbance observer approach

with

Since

Since

where

The required time-varying state-feedback and observer gains for the overall systems (5) and (15), respectively, can therefore be obtained by application of the design methods based on quadratic stability theory as reviewed in Sec. 4.

### 5.3. Controller implementation

Once the pLPV representation of the considered system is found, the required time-varying state-feedback and observer gains for the overall systems (5) and (15), respectively, can be obtained by application of the design methods based on quadratic stability theory as reviewed in Sec. 4.

The time-invariant vertex state-feedback or vertex observer gains are calculated in advance. Since the plant itself is linear time-invariant, also the time-invariant observer required for the estimation of the plant states in the error filter approach as well as the time-invariant state-feedback gain of the disturbance observer approach can be calculated off-line with a standard method (e.g. LQR or pole placement). The controllers are then implemented according to the structures given in Sec. 3 and shown in Figs. 8 and 9 with the interpolation. Wherever possible, system matrices are updated in every sampling instant directly with the measured frequencies, while the time-varying state-feedback and observer gains are obtained by interpolation with the coordinates obtained by the scheme given in Sec. 4.4.

## 6. Real-time results

The gain-scheduled observer-based state-feedback controllers obtained through the design procedures presented in this chapter are validated with experimental results. Both controllers have been tested on an AVC and an ANC system and were found to work well. Results are presented for the test of the error filter with time-varying state-feedback gain on an ANC headset and the controller based on a disturbance observer with time-varying observer gain on an AVC test bed.

### 6.1. Real-time results for state-feedback gain-scheduling (error filtering) approach

The controller based on a disturbance observer with time-varying observer gain is tested experimentally on a Sennheiser PXC 300 headset. The experimental setup is shown schematically in Fig. 10. An external loudspeaker is used to generate a harmonic disturbance. The headset has one microphone on each loudspeaker. The objective is to cancel the disturbance with the loudspeakers of the headset. An anti-aliasing filter is applied to the output signal and a reconstruction filter to the control input. The control algorithm is implemented on a rapid control prototyping unit (dSpace MicroAutoBox). A sampling frequency of 1 kHz was used.

Standard black-box system identification techniques were used to obtain the transfer function between output and input of the control unit. The identified transfer function is of 12th order and the resulting controller of 20th order. As a disturbance signal, a sum of four harmonically related sine signals with fundamental frequency between 90 Hz and 100 Hz is used. The control algorithm has been implemented on both sides and results for the right side are shown.

Fig. 11 shows the amplitude frequency responses for constant fundamental frequencies of 90 Hz and 100 Hz. The amplitude frequency response plots show that amplification takes place in some frequency ranges, which is the known “waterbed” effect. It might cause problems in practical applications where significant background noise, e.g. broadband stochastic disturbances, is present. In Fig. 12, results are shown for a case where the fundamental frequency suddenly jumps from 90 Hz to 100 Hz. The controller remains stable even for such drastic variations of the fundamental frequency. The transient spike might be undesirable, particularly in ANC applications where it could be audible. However, a step change in the frequency does not commonly occur in real applications.

In Fig. 13, results for a gradually changing fundamental frequency are shown. The measurements show that excellent disturbance attenuation is achieved. The performance of the controller is tested with fast variations of the disturbance frequencies. Results for this experiment are shown in Fig. 14. It can be observed that the attenuation performance decreases, but the system remains stable.

### 6.2. Real-time results for observer gain-scheduling (disturbance model) approach

The scheme and a photograph of the AVC test bed are shown in Fig. 15. Two shakers (inertia mass actuators) are attached to a steel cantilever beam. One shaker acts as the disturbance source and the other shaker is driven by the control signal to counteract this disturbance. An accelerometer is used to measure the output signal. An anti-aliasing filter is applied to the output signal and a reconstruction filter to the control input.

A multisine test signal is used to identify the transfer function between output and input of the control unit using standard black-box system identification techniques. The controller is implemented on a rapid control prototyping unit (dSpace MicroAutoBox). A sampling frequency of 1 kHz was chosen. The identified system is of 10th order and the controller of 16th order.

As a disturbance signal, a sum of three harmonically related sine signals with fundamental frequency between 110 and 120 Hz is used. The amplitude frequency responses of the open-loop and closed-loop systems for fixed disturbance frequencies of 110 Hz, 220 Hz and 330 Hz and 120 Hz, 240 Hz and 360 Hz are shown in Fig. 16. The resonance frequencies are damped by a factor 0.9 using pole placement with the state-feedback gain

In Fig. 18, results for a gradually changing fundamental frequency are shown. It decreases linearly from 120 Hz to 110 Hz, remains constant for a while and then rises back to 120 Hz. This is repeated four times, every time in a shorter time interval. At the end the fourth harmonic rises from 330 Hz to 360 Hz and decreases back to 330 Hz in less than two seconds. The effect of fast variations of the disturbance frequencies has been further investigated in another experiment. The results are shown in Fig. 19. The disturbance frequency varies sinusoidally between the minimum and the maximum value with a period that decays from 10 to 0.5 seconds. It is seen that for very fast frequency variations, the attenuation performance decreases slightly (but the system remains stable).

## 7. Discussion and conclusion

Two discrete-time LPV observer-based state-feedback controllers for the rejection of harmonic disturbances with time-varying frequencies are presented. The control design methods are based on quadratic stability theory for pLPV systems. They guarantee stability of the closed-loop system also for arbitrarily fast changes of the disturbance frequencies. This is an advantage over other approaches such as adaptive filtering or heuristic gain scheduling. The experimental results show that an excellent disturbance rejection is achieved and that the proposed controllers can be applied in a real-time setup.

However, some degree of conservatism is present in these approaches. Using a single parameter independent Lyapunov function limits the range of admissible disturbance frequencies that can be covered with the resulting controller. Also, the polytope that contains the uncertain parameters could be chosen much smaller and with fewer vertices than the cuboid applied here, if information on the relations between the disturbance frequencies is given (as, for example, in the case of harmonically related frequencies). Thus, feasibility of the LMIs and the upper bound on the system performance could be improved as well as the computation time for the coordinates required for the on-line interpolation. This might be important for applications where many harmonics have to be cancelled, a wide frequency range has to be covered and the computational resources are limited, for example in automotive applications [Bohn et al., 2003]. This aspect as well as a direct comparison of the proposed methods with conventional algorithms (such as the FxLMS) will be subject of future research.

To the best of the authors’ knowledge, industrial applications of LPV controllers are rather limited. The results of this and the following chapter show that the implementation of even high-order LPV controllers can be quite straightforward.

## Nomenclature

### Acronyms

ANCActive noise control.

AVCActive vibration control.

FxLMSFiltered-x least mean squares.

LFTLinear fractional transformation.

LMILinear matrix inequality.

LPVLinear parameter varying.

pLPVPolytopic linear parameter varying.