• 沒有找到結果。

Conclusions

在文檔中 可調式數位濾波器之設計 (頁 33-0)

Chapter 2. Design of Variable Fractional-Delay FIR Filters

2.5 Conclusions

In this chapter, the conventional WLS method which is using coefficient symmetric technique for designing the VFD filters has been reviewed. Then, a new coefficient relationship is proposed and conventional WLS method. From the comparison, it has been shown that the number of the filter coefficients which need to be designed in proposed method is only nearly a half of that in conventional method. Moreover, from the error tables of two methods, the performance of the proposed method has better frequency characteristic for larger filter length and subfilter order. So, this novel technique is the best method for designing the VFD filters up to the present.

Chapter 3

Design of Allpass Variable

Fractional-Delay Digital Filters

3.1 Introduction

After detailing the design of VFD FIR filter in the previous chapter, this chapter introduces the design of allpass VFD filters.So far, there have been developed many methods to design VFD FIR filters as introduced in section 2.1. In contrast, allpass VFD filters are much more difficult to design because the stability problem must be taken into account and the design of allpass VFD filters usually involves nonlinear optimization or iterative procedures. However, since allpass VFD filters have two major advantages comparing with FIR VFD filters so that the design and implementation of allpass VFD filters have received more attention recently [19]–[22]. First, the allpass VFD filters can achieve higher design accuracy than FIR VFD filters in terms of smaller frequency response errors [11]. Second important advantage is that allpass VFD filters always have unity magnitude responses in the entire frequency band, which is the utile property when the applications of unity gain are required to design.

This chapter presents a latest WLS method for designing allpass VFD filters. First, each coefficient of the design variable allpass filter is expressed as the polynomial of the fractional delay parameter. Then, the WLS method developed in [23] would be used to find the optimal polynomial coefficients of variable allpass filters by minimizing the phase response errors.

To further reducing the filter complexity, the constraint on the VFD filter coefficients proposed by [24] would be imposed in WLS approach. As a result, in deriving the objective error functions, all elements of the relative vectors and matrix can be evaluated in

closed-forms and without any iterative calculus procedures by exploiting the identities of trigonometric expansions.

In section 3.2, the problem formulation for the design of allpass VFD filters would be derived and, in section 3.3, WLS minimizing approaching method would be used to obtain the optimal solution. Then, section 3.4 givens the design example to illustrate the effectiveness of the WLS design method. Finally section 3.5 givens some conclusions of designing VFD allpass filters.

3.2 Problem Formulation for the Design of Allpass Variable Fractional-Delay Filter

For the design of allpass VFD filter, the desired frequency response is given by

(

,

)

j p I( ) ,

[

- ,

]

,

D ω p =e + ω ω∈ απ απ (3.1)

where I is a prescribed integer group-delay, α is a fixed number for specifying in the passband and the parameter p is a variable fractional group delay in the range [0.5, 0.5 .] The transfer function of variable IIR allpass filter is characterized as

( ) ( ) ( ) ( )

which is chosen to approximate the desired frequency response D

(

ω,p

)

, and the

denominator of (3.2) is defined by

where the coefficients a p are expressed as the polynomial of parameter p as n

( )

Substituting (3.4) into (3.3) yields

( ) ( )

To further reduce the number of the designed coefficients b n m , the coefficient constraint

(

,

)

would be imposed in (3.5) as proposed by [24]. Considering p= in (3.1) and (3.5), the 0 desired frequency response of the allpass VFD filter is

( )

,0 jI

Then, by substituting (3.9) into (3.2), the frequency response of design VFD allpass filter at 0

p= would equal to the desired frequency response D

( )

ω,0 as

(

j ,0

)

jI

( )

,0.

H eω =e ω=Dω (3.10)

Notice that imposing the constraint (3.8) on the designed VFD allpass filter coefficients

(

,

)

VFD allpass filter reduces to determine the optimal coefficient b n m which were the

(

,

)

elements of vector B such that H e

(

jω,p

)

can approach D

(

ω,p

)

as well as possible at the difference values of parameter p during the range [0.5, 0.5 .]In the following section, the WLS approach would be introduces to solve this problem.

3.3 Design Method by Using Weighted Least-Squared Approach

To formulate the objective error function, the further analysis would be presented between the frequency responses H e

(

jω,p

)

and D

(

ω,p

)

. Based on A e

(

jω,p

)

in (3.11), the frequency response of the actual VFD allpass filter (3.2) can be rewritten as

( ) ( )

where * denotes the complex conjugate operator. By correspondence between (3.1) and (3.13), the approximative equation can be obtained as

( )

After some manipulations, the further approximative equation would be achieved as

(

j ,

)

j(p 2) *

(

j ,

)

j(p 2).

A eω p e ωA eω p e ω (3.15)

By means of the identity

( )

( 2)

( )

( ) *

* j , j p j , j p 2 ,

A eω p e ω = ⎣⎡A eω p e ω ⎤⎦ (3.16) the approximation in (3.15) can be rewritten as

(

j ,

)

j p( 2)

(

j ,

)

j p( 2) *,

A eω p e ω ≈ ⎣⎡Aeω p e ω ⎤⎦ (3.17)

and then

( )

( 2)

Im⎡⎣Aejω,p ej pω ⎤ ≈⎦ 0 (3.18)

which means the objective weighted squared error function can be formed as

( )

( ) ( )

( )

Notice that, in (3.20), Q and c Q are symmetric matrices. To achieve the optimal s coefficient vector B such that the error function e( )B would be minimized, e( )B in (3.19) is differentiated with respect to the unknown vector B and set the result to zero,

( ) c 2 c s 2 s

(

cs cs

)

0.

By substituting (3.20a) to (3.20f) and (3.22) into (3.19), the weighted least-squared error ( )B

e can be obtained. Moreover, in the following text of this section, the elements of (3.20b) to (3.20f) would be calculated as detail as possible. First, by assuming the independence between ω and p , the weighted function W

(

ω,p

)

could be separated into W1

( )

p W2( )ω . Then, by considering three identities of trigonometric expansions

1)

( ) ( )

( )( )

( )

( )

( ) ( )

( )

( ) ( ) ( )

( ) ( )

2sin cos cos sin

,

3.4 Numerical Example

This section presents an example to illustrate the effectiveness of the WLS technique. The parameter K=10 is chosen and take the weighting functions as.

( ) [ ]

1 1, for 0.5,0.5

W p = p∈ − (3.24a)

and

( )

[ ]

2 1, for ,

W ω = ω∈ −απ απ (3.24b)

Fig. 3-1 shows the actual variable fractional group-delay of the designed allpass filter when α=0.9, N=35 and M=5.

Fig. 3-1 Variable Fractional Delay of the designed filter using WLS approach when α=0.9, N=35 and M=5.

3.5 Conclusions

The design of the allpass variable fractional group-delay filter is introduced in this chapter.

The WLS method is used to achieve the optimal solution in the whole band. In the procedure of formulating objective error function, the technique of Taylor series expansion is used such that all elements of relative vectors and matrices can be calculated in closed-forms without any annoying iterative integral. Moreover, a coefficient constraint is exploited in the WLS design. It not only can reduce the complexity in terms of the total number of VFD filter coefficients but also assure no distortion of frequency response at p= . The example has 0 shown the effectiveness of the WLS method.

In chapter 2 and 3, the designs of VFD digital filters are detail presented in both FIR and IIR cases. The methods mentioned in these two chapters are the latest techniques for designing VFD filters in the world. Based on WLS method, the optimal solution could be obtained such that the frequency response of designed filter would have high performance in the whole band.

Chapter 4

Variable Fractional-Order Differentiators and Integrators

4.1 Introduction

Fractional calculus is an important topic in mathematical analysis which deals with derivatives and integrals of arbitrary order. The theory of fractional-order derivative and integral was developed in the nineteenth century. However, just during the last three decades, the concept of fractional calculus start to be investigated in different areas of engineering applications such as electromagnetic theory, fluid flow, automatic control and electrical networks [25]-[32]. In signal processing, it has also drawn considerable attention in implementing digital fractional-order differentiators and integrators [33]-[38].

So far, several methods have been developed to design digital fractional-order different- tiators, which can be classified into time domain method [33], [34] and frequency domain method [35]-[38]. Among these methods, the FIR approximation methods which were proposed by Tseng [33], [35] are simple, but the frequency response at high frequency band is less accurate than that at low frequency band. To solve this problem, the analysis of fractional calculus in frequency domain was generated in [36]. In this chapter, the design of variable fractional-order differintegrators which contain differentiators and integrators is proposed by using weighted least-squares approach. To avoid numerical integrals, the closed-from error function is derived by using two proposed methods, one is the binomial series expansion and the other one is Taylor series expansion. Both of them can obtain nearly optimal solution.

This chapter is organized as follows. In section 4.2, the design formulation of variable

fractional-order differintegrators by using binomial series is derived step by step. Then, the same design approach by using the Taylor series expansion would be introduced in section 4.3. Section 4.4 provides some design examples to demonstrate the effectiveness of these two proposed methods. Finally, conclusions of designing variable fractional-order differ- integrators are given in section 4.5.

4.2 Formulation for the Design of Fractional-Order Differintegrators by Using Binomial Series

For the design of variable fractional-order differintegrators, the desired frequency response is given by

(

,

) ( )

p

D ω p = jω (4.1)

where the parameter p is a variable fractional number in the range [ ,p1 p2]. Notice that the designed filter is named differentiator when p is positive and named integrator when

p is negative. The variable transfer function is characterized as

( )

, N n

( )

n So the frequency response of the designed system can be represented as

( ) ( )

(

,0 , ,

) (

,

)

, ,

(

,0 ,

)

,

(

,

)

t passband which is chosen as

2 1 1 2 complex number. To minimize e A

( )

, Eq. (4.8) is differentiated with respect to the unknown

vector A and set the result to zero as

then the optimal coefficient vector A is obtained as

= − -1 .

A Q P (4.11)

The elements of Q can be represented in closed-forms easily, but those of P are not so. In this section, the binomial series method is proposed, such that closed-forms of elements in P can be derived and the performance of the nearly optimal filter is satisfactory. For simplification, we set W

(

ω,p

)

=1 in this chapter. By (4.9b), the elements of P are given

By applying the binomial series

( ) ( ) ( ) ( )

which is substituted into (4.13), then

( )

1 2

( ) ( ) ( )( )

In practice, only the first K+ terms in the above series are needed to be considered, and 1 the remaining terms are truncated. Hence, the elements of P can be approximated as

( ) ( )

where the coefficients b in the above series satisfy the following recursive formula k i,

( )

Moreover, the integrals in (4.16) can be computed by using the following formulas respectively. By substituting (4.17)~(4.19) into (4.16), the vector P can be evaluated in the closed-forms. Furthermore, the elements of matrix Q can also be evaluated in closed-forms as

4.3 Formulation for the Design of Fractional-Order Differintegrators by Using Taylor Series Expansion

In this section, the second method would be proposed to derive the objective error function in closed-form. This method is using the technique of Taylor series expansion such that the relative vector and matrix can be formulated easily and the nearly optimal solution can be also obtained.

As the same analysis in section 4.2, the objective error function (4.8) in the normal least-squares design, W

(

ω,p

)

=1, can be written as

To avoid annoying numerical integrals in (4.22b), P can be evaluated by using the Taylor series expansion of D*

(

ω,p

)

as

In practice, only the first K + terms in the above series are considered as in [17]. Hence, 1

by substituting (4.23) into (4.22b), the elements of P can be approximated as

and the latter integral of (4.24) can be computed by using the Taylor series expansion of ejnω as

Moreover, in the last equation of (4.25), only the first L+ terms are considered, and the 1 following formula is applied to evaluate this equation

( ) ( ) ( ) ( )

By substituting (4.26) and (4.25) into (4.24), all elements of P can be represented in closed forms after some mathematical manipulations. In addition, the elements of Q can also be evaluated in closed forms easily as (4.20).

4.4 Numerical Examples

To illustrate the effectiveness of these two proposed method, some examples of designing variable fractional-order differintegrators with different variable ranges are presented in this section. The parameter K =20 and L=120 are chosen, and it the obtained results are satisfied. Fig. 4-1 illustrates the magnitude response of the designed variable fractional-order differentiator by using the binomial series, when N =40, M =5, fractional-order integrator, and the obtained magnitude response is shown in Fig. 4-2 with

40 of frequency edge

p1

ω must be larger than zero when the integrator is designed .

Fig. 4-1 Magnitude response of the designed variable fractional-order differentiator by using binomial series, when

40

Fig. 4-2 Magnitude response of the designed variable fractional-order integrator by using binomial series, when N =40,

5 M =

1 0.05

ωp = π ,

2 0.95

ωp = π , p1 = − and 1 p2 = . 0

As usual, some examples would be presented by using the method of Taylor series expansion. Fig. 4-3 presents the magnitude response of the designed variable fractional-order differentiator when the parameters N =13, M =6, 0.9ω =c π , p1 = and 0 p2 = . Also, 1 the magnitude response of the designed variable fractional-order integrator is shown in Fig.

4-4, when N =13, M =6,

1 0.05

ωp = π,

2 0.95

ωp = π , p1= − and 1 p2 = . 0

Fig. 4-3 The magnitude response of the designed variable fractional-order differentiator by using Taylor series expansion, when N =13 , M =6 ,

1 0

ωp = ,

2 0.95

ωp = π , p1 = and 0

2 1

p = .

Fig. 4-4 The magnitude response of the designed variable fractional-order integrator by using Taylor series expansion, when

13

N = , M =6 , ωp1 =0.05π , ωp2 =0.95π , p1= − and 1

2 0

p = .

4.5 Conclusions

Two methods have been proposed to design the FIR variable fractional-order differintegrators in this chapter. First one is the binomial series expansion method and the other one is Taylor series expansion. By using these two expansions, the annoying difficult numerical integrals can be totally avoided in the procedures of evaluating filter coefficients and all elements of calculated matrices can be obtained through using the corresponding closed-form integrals. To achieve the optimal solution, the WLS approach technique was used in the design of FIR variable fractional-order differintegrators as introduced in the chapters 2 and 3. Some examples have shown the performance and effectiveness of these two methods.

Chapter 5

Design of Variable 2-D FIR Digital Filters by McClellan Transformation

5.1 Introduction

Among the existing methods, it is no doubt that the McClellan transformation [39]–[47] is one of the most powerful and popular techniques for designing 2-D FIR digital filters. The purpose of transformation is mapping 1-D prototype filters into 2-D filters by a change of variables. The procedure of design can be divided into two steps. First, a low-order 2-D subfilter, which is the kernel of transformation, is designed such that the contour of the cut-off edge can meet the requirement for the designed 2-D filter. And then, a high-order 1-D prototype filter can be designed easily by the existing methods, for example the Remez exchange algorithm [48]. Furthermore, these 2-D filters can be implemented with highly structured architecture [41][42]. The McClellan transformation not only can be used to design 2-D fan-type, circularly symmetric, elliptically symmetric and diamond-shape filters, but also complex coefficient filters [47].

Recently, variable 2-D digital filters receive considerable attention for their wide usages in communication systems and image processing where the frequency characteristics need to be adjustable [49]–[53]. Among them, only [53] deals with the application of McClellan transformation for designing variable 2-D filters.

In this chapter, the application of McClellan transformation for designing variable 2-D filters is investigated again. Comparing with [53], the proposed method designs both variable 2-D subfilters and variable 1-D prototype filters. Moreover, they are tunable by the same variable parameter, so that the variable characteristics of 1-D prototype filters are compatible with those of 2-D subfilters.

This chapter is organized as follows. Section 5.2 deals with the variable structure of 2-D filters designed by McClellan transformation, which are modified from the Farrow structure [1]. In section 5.3, the procedure of designing variable 2-D fan filters is presented in several subsections. First, in section 5.3.1, a cut-off orbit function is found by solving an overdetermined system; and then both variable 2-D subfilters and variable 1-D prototype filters are designed by least-squares approach in section 5.3.2 and 5.3.3, respectively. Finally, in section 5.3.4, the coefficients of variable 2-D filters can be obtained by using the recurrence relations for Chebyshev polynomial. Following the steps in section 5.3, the designs of variable circularly symmetric filters and variable elliptically symmetric filters with arbitrary orientation are presented in section 5.4 and section 5.5, respectively. Finally, the conclusions are given in section 5.6.

5.2 Structure of Variable 2-D FIR Filters by McClellan Transformation

For a variable zero-phase FIR digital filter, its frequency response is represented by

( ) ( ) ( ) Following the McClellan transformation [39]–[47] and substituting the variable 2-D

transformation subfilter

into (5.3), we can obtain the frequency response of the desired variable 2-D filter

(

1 2

)

( )

(

1 2

)

In this chapter, the variable 2-D subfilter is also designed such that its variable characteristics can be controlled by the same parameter as the variable 1-D prototype filter, i.e. the parameter p as in (5.1) and (5.2). For simplification, M =M1 is used in this paper.

Moreover, due to the recurrence relations for Chebyshev polynomial as follows,

0( ) 1 ,

the structure of the designed variable 2-D FIR filters is illustrated in Fig. 5-1(a), and the variable coefficient generator for both variable 1-D prototype filters and variable 2-D subfilters is shown in Fig. 5-1(b).

Fig. 5-1 (a) Structure of the proposed variable 2-D FIR filters.(N =5) (b) Variable coefficient generator for both variable 1-D prototype filters and variable 2-D subfilters. ( cp( )i may be ap( )i , tp

( )

i j, or sp

( )

i j, )

5.3 Design of Variable 2-D FIR Fan Filters

For designing 2-D fan filters, the original substitution

( )

( ) ( ) ( )

1

( ) ( )

2

( ) ( ) ( )

1 2

cos ω =t 0,0 +t 1,0 cos ω +t 0,1 cos ω +t 1,1 cos ω cos ω (5.7)

for McClellan transformation is used. To avoid scaling problem, it is desired to give the following constraints: (i) the 1-D frequency origin, ω =0 , is mapped into the

(

0,π point

)

of the 2-D frequency plane, and (ii) the point ω = π of the 1-D frequency is mapped into the

(

π,0

)

point of the 2-D frequency plane, which result in

( ) ( )

0,0 1,1 ,

t =t (5.8a) and

( )

1,0 1

( )

0,1 .

t = +t (5.8b) (b)

(a)

p

(, )

c i M c i M

(

,1

)

c i M

(

, −2

)

p( ) c i

( )

,1

c i c i

( )

,0

Hence the transformation becomes

( )

( ) ( ( ) ( )

1 2

) ( ) ( ( )

1

( )

2

) ( )

1

cos ω =t 1,1 1 cos+ ω cos ω +t 0,1 cos ω +cos ω +cos ω (5.9) .

To find the proper cut-off frequency ω of 1-D prototype low-pass filter and the c transformation coefficients, the following objective error function is defined as in [46],

( )

( ) ( )

1

( )

1 2 1 inclination angle of the 2-D fan filter, and

, 0 45 ,

When different values of inclination angle θ are given in the 2-D fan filter, the optimal cut-off frequency ω of the 1-D prototype low-pass filter is also changed according to c θ and it can be achieved by the method in [44]. To illustrate the relationship between θ and

ω , Fig. 5-2 shows the cut-off frequency orbit for individual designing integer inclination c

angles in the range 30 ≤ θ ≤45 marked by “ ”.

Fiq. 5-2 The cut-off frequency orbit of 1-D prototype low-pass filters for designing variable 2-D fan filters. ( and solid line: individual design, × and dotted line: variable design)

5.3.1 Determination of the Cut-Off Frequency Orbit function

To further design variable 2-D subfilters and variable 1-D prototype filters, a function

( )

c p

ω , which can represent the cut-off frequency orbit shown in Fig. 5-2, should be determined. In this chapter, the method for solving least-squares problems, which occur in overdetermined systems [54], is applied as follows.

Suppose the variable range of inclination angle θ for designing a variable 2-D fan filter is

[

θ θ1, 2

]

where θ , and 1 θ are integer degrees for simplification, and the variable parameter 2 p is defined by

tan( ),

p= θ (5.14)

then the corresponding overdetermined system can be represented by

( ) ( ) ( )

which can be expressed in matrix form as

= .

5.3.2 Design of Variable 2-D Transformation Subfilters

For designing variable 2-D fan filters, the variable transformation

( )

( ) ( ( ) ( )

1 2

) ( ) ( ( )

1

( )

2

) ( )

1

cos ω =tp 1,1 1 cos+ ω cos ω +tp 0,1 cos ω +cos ω +cos ω (5.19)

is applied, in which

As the same formula in (5.10), the corresponding objective error function of (5.19) can be represented by

So the transformation coefficient vector T can be obtained by p contours for different integer inclination degrees from 30 to 45 are shown in Fig. 5-3(a).

5.3.3 Design of Variable 1-D Prototype Low-Pass Filters

By Eqs. (5.1) and (5.2), the frequency response of a variable zero-phase 1-D prototype low-pass filter is characterized by

( )

( )

( ) which is used to approach the desired variable frequency response

( )

( )

where ω represents the width of transition band. Defining T

( ) ( )

0,0 , 1,0 , ,

(

,0 ,

)

,

(

0,

) (

, 1,

)

, ,

(

,

)

t,

and following section 5.3.2, the objective error function is defined by

( ) ( )

( ( ) ) ( ) ( )

Also, differentiating (5.28) with respect to A and setting the result to zero, the optimal solution is given by

magnitude responses of the variable 1-D prototype low-pass filter are shown in Fig. 5-3(b).

5.3.4 Derivation of Variable 2-D Fan Filters

Once the variable 2-D subfilter and the variable 1-D prototype filter have been designed, we can obtain the coefficients of variable 2-D fan filters by (5.5) after some mathematic manipulations. Fig. 5-3(c) presents the obtained magnitude responses of variable 2-D fan filter for p=tan 30

( )

, tan 35 ,

( )

tan 40 and

( )

tan 45 .

( )

(a)

(b)

Fig. 5-3 Design of variable 2-D fan filter. (a) The isopotential cut-off edge contours for different integer inclination degrees from 30 to 45 . (b) Magnitude responses of variable 1-D prototype low-pass filter. (c) Magnitude responses of variable 2-D fan filter for p=tan 30

( )

, tan 35 ,

( )

tan 40 and

( )

tan 45 .

( )

(c)

5.4 Design of Variable 2-D Circularly Symmetric Filters

In this section, the transformation of (5.7) is used for designing 2-D circularly symmetric filters. Also, there are three constraints to be considered: (i) ω =0 is mapped into

( )

0,0 , (ii)

ω = π is mapped into

(

π π , and (iii) ,

)

t

( )

1,0 =t(0.1) due to the symmetric contour, which result in

( )

0,0

( )

1,1

t = −t (5.31a) and

( ) ( )

1,0 0,1 1.

t =t =2 (5.31b)

So the transformation becomes

( )

( )

1

( )

2

( ) ( ( ) ( )

1 2

)

1 1

cos cos cos 1,1 cos cos 1

2 2 t

ω = ω + ω + ω ω − (5.32)

in which only one transformation coefficient needs to be determined.

in which only one transformation coefficient needs to be determined.

在文檔中 可調式數位濾波器之設計 (頁 33-0)

相關文件