Digital filter and δς type a / d converter

The digital filter configuration with a first and second FIR filter enables faster processing of digital signals in ΔΣ type A/D converters, addressing slow response issues and ensuring accurate signal conversion during switching.

JP2024119598AInactive Publication Date: 2024-09-03ROHM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023026607
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

ΔΣ type A/D converters struggle to properly convert analog input signals when the digital filter's response speed is slow, especially during signal switching.

Method used

A digital filter configuration that includes a first FIR filter with multiple delay devices and a second multi-stage FIR filter, allowing for quick signal processing by selecting either the first or second filter output based on a control unit, enabling faster filtering of digital signals.

Benefits of technology

The digital filter can process digital signals more quickly, ensuring accurate conversion even during signal switching, and can generate output signals with varying levels of precision based on filter selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119598000001
    Figure 2024119598000001
Patent Text Reader

Abstract

To provide a technique to realize a digital filter that can more quickly filter a digital signal.SOLUTION: A digital filter 20 filters a digital signal Sin and generates a digital output signal Dout. The digital filter 20 includes: a first filter 200 which has a FIR filter including multiple first delay units and filters the digital signal Sin; a selection part 30 which selects one of the digital signal Sin and a signal obtained by filtering the digital signal Sin by the first filter 200; and a second filter 220 which has at least one FIR filter including multiple second delay units in the number larger than the first delay units and generates a digital output signal on the basis of the signal selected by the selection part 30.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a digital filter and a ΔΣ A / D converter. [Background technology]

[0002] A / D converters that use ΔΣ modulation (hereinafter also referred to as "ΔΣ type A / D converters") are widely used in audio signal processing and the like (see Patent Documents 1 and 2). A ΔΣ type A / D converter oversamples an analog input signal, smoothes the oversampling result using a digital filter, and generates a digital output signal. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2014-171035 A [Patent Document 2] JP 2017-208667 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, when the analog input signal input to a ΔΣ A / D converter switches, if the response speed of the digital filter is slow, it becomes difficult to properly A / D convert the analog input signal when the analog input signal switches.

[0005] The present disclosure has been made in light of the above circumstances, and one of its exemplary purposes is to provide a technique for realizing a digital filter that can filter digital signals faster. [Means for solving the problem]

[0006] A digital filter according to an embodiment of the present disclosure is a digital filter that filters a digital signal and generates a digital output signal. The digital filter includes a first filter that filters the digital signal and has an FIR filter including a plurality of first delay units, a selection unit that selects either the digital signal or a signal obtained by filtering the digital signal with the first filter, and a second filter that has at least one FIR filter including a plurality of second delay units that are greater than the first delay units and generates a digital output signal based on the signal selected by the selection unit.

[0007] Another embodiment of the present disclosure is a ΔΣ A / D converter that includes a ΔΣ modulator that oversamples an analog signal to generate a digital signal, and the above digital filter.

[0008] Any combination of the above components and conversion of the expressions of the present disclosure between methods, devices, systems, etc. are also valid aspects of the present disclosure. Effect of the Invention

[0009] According to the present disclosure, it is possible to provide a technique for realizing a digital filter that can filter digital signals faster. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram showing a ΔΣ A / D converter according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram of an analog section according to the first embodiment. [Diagram 3] FIG. 3 is a block diagram of the digital filter according to the first embodiment. [Figure 4] FIG. 4 is a diagram for explaining an example of the operation of the ΔΣ A / D converter according to the first embodiment. [Diagram 5] FIG. 5 is a block diagram of a digital filter according to a comparison technique. [Figure 6]FIG. 6 is a diagram for explaining an example of the operation of the digital filter according to the comparison technique. [Figure 7] FIG. 7 is a diagram for explaining an example of the operation of the digital filter according to the first embodiment and the digital filter 40 according to the comparison technique. [Figure 8] FIG. 8 is a block diagram of a digital filter according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] (overview) A summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified overview of some concepts of one or more embodiments for a basic understanding of the embodiments as a prelude to the detailed description that follows, and is not intended to limit the scope of the invention or disclosure. This summary is not intended to be an exhaustive overview of all possible embodiments, nor is it intended to identify key elements of all embodiments or to delineate the scope of some or all aspects. For convenience, the term "one embodiment" may be used to refer to one embodiment (example or variant) or multiple embodiments (examples or variants) disclosed in this specification.

[0012] A digital filter according to an embodiment filters a digital signal and generates a digital output signal. The digital filter includes a first filter having an FIR filter including a plurality of first delay units for filtering the digital signal, a selection unit for selecting either the digital signal or a signal obtained by filtering the digital signal with the first filter, and a second filter having at least one FIR filter including a plurality of second delay units that is greater than the first delay units and for generating the digital output signal based on the signal selected by the selection unit.

[0013] This configuration allows faster filtering of the digital signal.

[0014] In one embodiment, each of the second delay units may be arranged to receive the signal selected by the selection unit.

[0015] In one embodiment, the second filter may include a multi-stage FIR filter, and the first filter may constitute a first-stage FIR filter included in the second filter.

[0016] A ΔΣ A / D converter according to one embodiment includes a ΔΣ modulator that oversamples an analog signal to generate a digital signal, and the above digital filter.

[0017] In one embodiment, the ΔΣ A / D converter may further include a switching unit that switches the analog signal. When the analog signal is switched, the selection unit may select the signal obtained by filtering the digital signal by the first filter.

[0018] In one embodiment, the digital filter may start filtering the digital signal in response to a predetermined time having elapsed since the analog signal was switched by the switching unit.

[0019] (Embodiment) Hereinafter, preferred embodiments will be described with reference to the drawings. The same or equivalent components, parts, and processes shown in each drawing will be given the same reference numerals, and duplicated descriptions will be omitted as appropriate. In addition, the embodiments are illustrative and do not limit the disclosure and invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the disclosure and invention.

[0020] (First embodiment) 1 is a block diagram showing a ΔΣ A / D converter 1 according to a first embodiment. The ΔΣ A / D converter 1 selects one analog signal from m (m: an integer of 2 or more) analog signals Ain1 to Ainm, and converts the selected analog signal Ain into a digital output signal Dout. The ΔΣ A / D converter 1 mainly includes a multiplexer 10 (switching section), an analog section 11 (also referred to as a "ΔΣ modulator"), a digital filter 20, and a control section 30.

[0021] The multiplexer 10 inputs an analog signal Ain to the analog section 11 and is configured to switch the analog signal Ain. Specifically, the multiplexer 10 selects one analog signal from the m analog signals Ain1 to Ainm based on a signal Sch from the control section 30, and inputs the selected analog signal Ain to the analog section 11. The analog section 11 oversamples the analog signal Ain to generate a digital signal Sin. The configuration of the analog section 11 according to this embodiment will be described later with reference to FIG. 2.

[0022] The digital filter 20 filters (smooths) the digital signal Sin generated by the analog section 11, and generates a digital output signal Dout. The configuration of the digital filter 20 according to this embodiment will be described later with reference to FIG.

[0023] The control unit 30 transmits various signals to control the operations of the multiplexer 10 and the digital filter 20. For example, the control unit 30 may transmit a signal Sch to the multiplexer 10 to specify an analog signal to be selected by the multiplexer 10. The control unit 30 may also transmit a signal Scon to the digital filter 20 to instruct the operation of the digital filter 20. The signal Scon may include, for example, a signal to instruct the timing at which the digital filter 20 starts filtering, and a signal to instruct the signal used by the digital filter 20 for filtering. The control unit 30 may include a central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM) as necessary.

[0024] 2 is a block diagram of the analog section 11 according to the first embodiment. The analog section 11 according to the present embodiment includes an integrating circuit 12, a quantizer 14, and a D / A converter 16. Each component of the analog section 11 may operate based on a clock signal generated by a circuit not shown.

[0025] The D / A converter 16 converts the digital signal Sin generated by the analog unit 11 into an analog feedback signal Sfb.

[0026] The integrating circuit 12 integrates a signal corresponding to the difference between a signal corresponding to the analog signal Ain and a signal corresponding to the feedback signal Sfb. The integrating circuit 12 has a plurality of integrators connected in series (specifically, a first-stage integrator 121, a second-stage integrator 122, and a third-stage integrator 123), coefficient circuits COa1 to COa3, COb4, and an adder ADD4. Note that the circuit configuration of the integrating circuit 12 is not limited to the configuration shown in FIG. 2, and those skilled in the art will understand that there are various modified examples. For example, an example in which the order of the integrating circuit 12 according to this embodiment is third order will be described, but the order of the integrating circuit 12 may be second order or fourth order or higher.

[0027] The first-stage integrator 121 generates a signal Sad1 corresponding to the difference between a signal Ain' corresponding to the input signal Ain and a signal Sfb' corresponding to the feedback signal Sfb. The first-stage integrator 121 has coefficient circuits COb1 and COc1, an adder ADD1, and a delay device DE1. The coefficient circuit COb1 multiplies the input signal Ain by a coefficient b1 to generate a signal Ain' (=b1×Sin). The coefficient circuit COc1 multiplies the feedback signal Sfb by a coefficient -c1 to generate a signal Sfb' (=-c1×Sfb). The adder ADD1 adds the signal Ain', the signal Sfb', and the output signal Sde1 of the first-stage integrator 121 to obtain Sad1=b1×Sin-c1×Sfb+Sde1 The delay element DE1 delays the signal Sa1 generated by the adder ADD1 to generate an output signal Sde1.

[0028] The second-stage integrator 122 has coefficient circuits COb2, COc2, and COg1, an adder ADD2, and a delay device DE2. The coefficient circuit COb2 generates a signal (=b2×Ain) by multiplying the input signal Ain by a coefficient b2. The coefficient circuit COc2 generates a signal (=c2×Sde1) by multiplying the output signal Sde1 of the first-stage integrator 121 by a coefficient c2. The coefficient circuit g1 generates a signal (=-g1×Sde3) by multiplying the output signal Sde3 of the third-stage integrator 123 by a coefficient -g1. The adder ADD2 adds the signals generated by the coefficient circuits COb2, COc2, and COg1 and the output signal Sde2 of the second-stage integrator 122, to obtain Sad2=b2×Ain+c2×Sde1+Sde2-g1×Sde3 The delay element DE2 generates a signal Sad2 represented by the following equation: The delay element DE2 delays Sad2 to generate an output signal Sde2.

[0029] The third-stage integrator 123 has coefficient circuits COb3 and COc3, an adder ADD3, and a delay device DE3. The coefficient circuit COb3 generates a signal (=b3×Ain) by multiplying the input signal Ain by a coefficient b3. The coefficient circuit COc3 generates a signal (=c3×Sde2) by multiplying the output signal Sde2 of the second-stage integrator 122 by a coefficient c3. The adder ADD3 adds the signals generated by the coefficient circuits COb3 and COc3 and the output signal Sde3 of the third-stage integrator 123, to obtain Sad3=b3×Ain+c3×Sde2+Sde3 The delay element DE3 delays the signal Sad3 to generate an output signal Sde3.

[0030] The coefficient circuit COb4 generates a signal (=b4×Ain) by multiplying the input signal Ain by a coefficient b4. The coefficient circuit COa1 generates a signal (=a1×Sde1) by multiplying the output signal Sde1 of the first-stage integrator 121 by a coefficient a1. The coefficient circuit COa2 generates a signal (=a2×Sde2) by multiplying the output signal Sde2 of the second-stage integrator 122 by a coefficient a2. The coefficient circuit COa3 generates a signal (=a3×Sde3) by multiplying the output signal Sde3 of the third-stage integrator 123 by a coefficient a3. The adder ADD4 adds the signals generated by the coefficient circuits COa1 to COa3 and COb4, Sad4=b4×Ain+a1×Sde1+a2×Sde2+a3×Sde3 The output signal Sad4 is input to the quantizer 14 as the output signal of the integrating circuit 12.

[0031] The quantizer 14 quantizes the output signal Sad4 of the integrating circuit 12 to generate a digital signal Sin.

[0032] 3 is a block diagram of a digital filter 20 according to the first embodiment. The digital filter 20 filters a digital signal Sin to generate a digital output signal Dout. The digital filter 20 mainly includes a first filter 200 and a second filter 220. Each component of the digital filter 20 may operate based on a clock signal generated by a circuit not shown.

[0033] The first filter 200 (also referred to as a "fast response filter") filters the digital signal Sin to generate a signal S1. The first filter 200 according to this embodiment functions as a fourth-order FIR (Finite Impulse Response) filter, and more specifically, has four delay elements D1 to D4, coefficient circuits Cf1 to Cf5, and adders A1 to A4. Note that the configuration of the first filter 200 is not limited to the configuration shown in FIG. 3, and the first filter 200 may be, for example, a second-order, third-order, or fifth-order or higher FIR filter.

[0034] Each of the delay units D1 to D4 delays the digital signal Sin or a signal input from a previous delay unit to generate each of the signals Sd1 to Sd4. For example, the delay unit D1 delays the digital signal Sin to generate the signal Sd1. The delay unit D2 delays the signal Sd1 to generate the signal Sd2. The delay unit D3 delays the signal Sd2 to generate the signal Sd3. The delay unit D4 delays the signal Sd3 to generate the signal Sd4. Note that, although an example in which the first filter 200 has four delay units will be described in this embodiment, the number of delay units may be two, three, five or more. The number and arrangement of the coefficient circuits and adders may be appropriately adjusted according to the number of delay units.

[0035] The coefficient circuits Cf1 to Cf5 multiply the input signals by the coefficients f1 to f5, respectively. The coefficient circuit Cf1 multiplies the digital signal Sin by the coefficient f1. The coefficient circuit Cf2 multiplies the signal Sd1 by the coefficient f2. The coefficient circuit Cf3 multiplies the signal Sd2 by the coefficient f3. The coefficient circuit Cf4 multiplies the signal Sd3 by the coefficient f4. The coefficient circuit Cf5 multiplies the signal Sd4 by the coefficient f5.

[0036] Each of the adders A1 to A4 adds a plurality of input signals. The adder A1 adds the signal generated by the coefficient circuit Cf1 (=f1×Sin) and the signal generated by the coefficient circuit Cf2 (=f2×Sd1) to generate a signal Sa1 expressed as Sa1=f1×Sin+f2×Sd1. The adder A2 adds the signal Sa1 generated by the adder A1 and the signal generated by the coefficient circuit Cf3 (=f3×Sd2) to generate a signal Sa2 expressed as Sa2=Sa1+f3×Sd2. The adder A3 adds the signal Sa2 generated by the adder A2 and the signal generated by the coefficient circuit Cf4 (=f4×Sd3) to generate a signal Sa3 expressed as Sa3=Sa2+f4×Sd3. The adder A4 adds the signal Sa3 generated by the adder A3 and the signal (=f5×Sd4) generated by the coefficient circuit Cf5 to generate a signal S1 expressed by S1=Sa3+f5×Sd4 as the output signal of the first filter 200.

[0037] The control unit 30 functions as a selection unit, selecting either the digital signal Sin or the signal S1 obtained by the first filter 200 filtering the digital signal Sin, and transmitting a signal Sini according to the selection result to the second filter 220.

[0038] The second filter 220 generates an output signal Dout based on a signal selected by the control unit 30, based on the signal Sini. The second filter 220 according to this embodiment includes a multi-stage filter having a greater number of delay devices than the delay devices D1 to D4 included in the first filter 200. The second filter 220 according to this embodiment includes a first-stage filter 222, a second-stage filter 224, and a third-stage filter 226.

[0039] The first-stage filter 222 functions as a y'-th order (y': an integer equal to or greater than 2) FIR filter, and generates a signal S2 based on either the signal S1 or the digital signal Sin. The filter 222 according to this embodiment has y' selectors M11 to M1y', y' delay devices D11 to D1y', y (y=y'+1) coefficient circuits Ca11 to Ca1y, and y' adders A11 to A1y'.

[0040] The selectors M11 to M1y' are each a two-input selector, and output a signal input to either the first or second input based on a signal Sini from the control unit 30. The signal S1 is input to the first input of the selectors M11 to M1y', and the digital signal Sin or a signal generated in the filter 222 based on the signal Sin is input to the second input of the selectors M11 to M1y'. The output signals Ss11 to Ss1y' are input to the delay devices D11 to D1y', respectively.

[0041] For example, the selector M11 receives the signal S1 and the digital signal Sin, and inputs one of these signals, Ss11, to the delay device D11. The selector M12 receives the signal S1 and the signal Sd11 generated by the delay device D11, and inputs one of these signals, Ss12, to the delay device D12. The selector M1y' receives the signal S1 and the signal Sd1y'' generated by the previous delay device, and inputs one of these signals, Ss1y', to the delay device D1y'.

[0042] The delay elements D11 to D1y' are arranged so that the signals selected by the selectors M11 to M1y' are input thereto, respectively. The delay elements D11 to D1y' delay the input signals S11 to Ss1y', respectively, to generate the signals Sd11 to Sd1y', respectively. For example, the delay element D11 delays the input signal Ss11 to generate the signal Sd11. Moreover, the delay element D12 delays the input signal Ss12 to generate the signal Sd12. Furthermore, the delay element D1y' delays the input signal Ss1y' to generate the signal Sd1y'.

[0043] The coefficient circuits Ca11 to Ca1y multiply the input signals by the coefficients a11 to a1y, respectively. For example, the coefficient circuit Ca11 multiplies the digital signal Sin by the coefficient a11. The coefficient circuit Ca12 multiplies the signal Sd11 by the coefficient a12. Furthermore, the coefficient circuit Ca1y multiplies the signal Sd1y' by the coefficient a1y.

[0044] Each of the adders A11 to A1y' adds a plurality of input signals. For example, the adder A11 adds a signal (=a11×Sin) generated by the coefficient circuit Ca11 and a signal (=a12×Sd11) generated by the coefficient circuit Ca12 to generate a signal Sa11 expressed as Sa11=a11×Sin+a12×Sd11. The adder A12 adds a signal Sa11 generated by the adder A11 and a signal (=a13×Sd12) generated by the coefficient circuit Ca13 to generate a signal Sa12 expressed as Sa12=Sa11+a13×Sd12. Furthermore, adder A1y' adds signal Sa1y'' generated by the previous adder and the signal (=a1y×Sd1y') generated by coefficient circuit Ca1y, and generates signal S2 expressed by Sa1y'=Sa1y''+a1y×Sd1y' as the output signal of the first-stage filter 222.

[0045] The second-stage filter 224 has a function as a third-order FIR filter, and generates a signal S3 based on the signal S2 generated by the first-stage filter 222 or the signal S1 generated by the first filter 200. The second-stage filter 224 has selectors M21-M24, a downsampler DS1, delay devices D21-D23, coefficient circuits Cb11-Cb14, and adders A21-A23.

[0046] Each of the selectors M21 to M24 is a two-input selector, and outputs a signal input to either the first input or the second input. A signal S1 is input to the first input of the selectors M21 to M24, and a signal S2 or a signal generated in the filter 224 based on the signal S2 is input to the second input of the selectors M21 to M24. Based on a signal Sini from the control unit 30, the selectors M21 to M24 input one of the first input signal and the second input signal, Ss21 to Ss24, to the downsampler DS1 or the delay devices D21 to D23.

[0047] For example, the selector M21 receives the signals S1 and S2, and inputs one of these signals, Ss21, to the downsampler DS1. The selector M22 receives the signal S1 and Sds1 generated by the downsampler DS1, and inputs one of these signals, Ss22, to the delay device D21. The selector M23 receives the signal S1 and the signal Sd21 generated by the delay device D21, and inputs one of these signals, Ss23, to the delay device D22. The selector M24 receives the signal S1 and the signal Sd22 generated by the delay device D22, and inputs one of these signals, Ss24, to the delay device D23.

[0048] The downsampler DS1 downsamples the input signal Ss21 to generate a signal Sds1. The delay unit D21 delays the signal Ss22 to generate a signal Sd21. The delay unit D22 delays the signal Ss23 to generate a signal Sd22. The delay unit D23 delays the signal Ss24 to generate a signal Sd23.

[0049] The coefficient circuit Cb11 multiplies the signal Sds1 by the coefficient b11. The coefficient circuit Cb12 multiplies the signal Sd21 by the coefficient b12. The coefficient circuit Cb13 multiplies the signal Sd22 by the coefficient b13. The coefficient circuit Cb14 multiplies the signal Sd23 by the coefficient b14.

[0050] Each of the adders A21 to A23 adds a plurality of input signals. For example, the adder A21 adds the signal (=b11×Sds1) generated by the coefficient circuit Cb11 and the signal (=b12×Sd21) generated by the coefficient circuit Cb12 to generate a signal Sa21 expressed as Sa21=b11×Sds1+b12×Sd21. The adder A22 adds the signal Sa21 generated by the adder A21 and the signal (=b13×Sd22) generated by the coefficient circuit Cb13 to generate a signal Sa22 expressed as Sa22=Sa21+b13×Sd22. Furthermore, the adder A23 adds the signal Sa22 generated by the adder A22 and the signal (=b14×Sa23) generated by the coefficient circuit Cb14, and generates a signal S3 expressed as S3=Sa22+b14×Sa23 as an output signal of the second stage filter 224.

[0051] The third-stage filter 226 has a function as a third-order FIR filter, and generates a signal Dout as an output signal of the digital filter 20 based on one of the signal S1 generated by the first filter 200 and the signal S3 generated by the second-stage filter 224. The third-stage filter 226 has selectors M31-M34, a downsampler DS2, delay devices D31-D33, coefficient circuits Cc11-Cc14, and adders A31-A33.

[0052] Each of the selectors M31 to M34 is a two-input selector, and outputs a signal input to either the first input or the second input. The first input of the selectors M31 to M34 receives the signal S1, and the second input of the selectors M31 to M34 receives the signal S3 or a signal generated in the filter 226 based on the signal S3. The selectors M31 to M34 input either the first input signal or the second input signal Ss31 to Ss34 to the downsampler DS2 or the delay devices D31 to D33 based on the signal Sini from the control unit 30.

[0053] For example, the selector M31 receives the signals S1 and S3, and inputs one of these signals, Ss31, to the downsampler DS2. The selector M32 receives the signals S1 and Sds2 generated by the downsampler DS2, and inputs one of these signals, Ss32, to the delay device D31. The selector M33 receives the signals S1 and Sd31 generated by the delay device D31, and inputs one of these signals, Ss33, to the delay device D32. The selector M34 receives the signals S1 and Sd32 generated by the delay device D32, and inputs one of these signals, Ss34, to the delay device D33.

[0054] The downsampler DS2 downsamples the input signal Ss31 to generate a signal Sds2. The delay unit D31 delays the signal Ss32 to generate a signal Sd31. The delay unit D32 delays the signal Ss33 to generate a signal Sd32. The delay unit D33 delays the signal Ss34 to generate a signal Sd33.

[0055] The coefficient circuit Cc11 multiplies the signal Sds2 by the coefficient c11. The coefficient circuit Cc12 multiplies the signal Sd31 by the coefficient c12. The coefficient circuit Cc13 multiplies the signal Sd32 by the coefficient c13. The coefficient circuit Cc14 multiplies the signal Sd33 by the coefficient c14.

[0056] The digital filter 20 according to this embodiment performs filtering according to the signal Sini from the control unit 30. Specifically, the digital filter 20 selects either the first input or the second input of each delay element according to the signal Sini, and performs filtering of the signal to the selected input.

[0057] When the second input is selected, the second filter 220 operates to filter the digital signal Sin through all the delay devices D11 to D1y', D21 to D23, and D31 to D33. Specifically, the first-stage filter 222 of the second filter 220 receives a signal Ss11 corresponding to the digital signal Sin at the delay device D11, and generates a signal Sd11 based on the digital signal Sin. Thereafter, the signals are sequentially delayed by the delay devices D12 to Dd1y', and a signal S2 including a signal delayed y' times is generated. The second-stage filter 224 generates a signal S3 that is further delayed three times through the delay devices D21 to D23 based on the signal S2. The third-stage filter 226 generates a signal Dout that is further delayed three times through the delay devices D31 to D33 based on the signal S3. In this way, when the second input is selected, the second filter 220 generates the output signal Dout through all the delay devices of the first to third stage filters 222, 224, and 226.

[0058] When the first input is selected, the second filter 220 generates an output signal Dout based on the signal S1 generated by the first filter 200. Specifically, the selectors Ss11-SsM1y', Ss21-Ss24, and Ss31-Ss34 select signals so that the signal S1 generated by the first filter 200 is input to the delay elements D11-D1y', D21-D23, and D31-D33 of the second filter 220. In this case, when the signal S1 is generated by the first filter 200, the selector Ss34 in the final stage of the second filter 220 can input the signal Ss34 corresponding to the signal S1 to the delay element D33 in the final stage. Thus, unlike the case where the second input is selected, the adder A33 in the final stage of the second filter 220 can generate the output signal Dout without waiting for the outputs of the delay devices D11-D1y', D21-D23, and D31-D32 preceding the delay device D33 in the final stage. This output signal Dout includes a signal delayed four times by the delay devices D1-D4 in the first filter 200 and delayed once by the delay device D33 in the final stage, for a total of five delays.

[0059] In this way, the output signal Dout includes a signal delayed by five delay devices when the first input is selected, and includes a signal delayed by (y'+6) delay devices when the second input is selected. Therefore, when the first input is selected, the delay is smaller than when the second input is selected, and as a result, the output signal Dout can be generated earlier than when the second input is selected. In this case, the accuracy of the output signal Dout generated first is lower than when the second input is selected, but the output signal Dout having a certain accuracy can be generated earlier. Even when the first input is selected, after the output signal Dout is generated first, signals processed by the delay devices D11-D1y', D21-D23, and D31-D32 before the final delay device D33 are sequentially added to the output signal Dout, and an output signal Dout with higher accuracy is generated as time passes.

[0060] Fig. 4 is a diagram for explaining an example of the operation of the ΔΣ A / D converter 1 according to the first embodiment. Fig. 4 shows an analog signal Ain input to the analog unit 11, a digital signal Sin input by the analog unit 11 to the digital filter 20, and a digital output signal Dout generated by the digital filter 20. In Fig. 4, the horizontal axis indicates the number of cycles of the clock signal, and the vertical axis indicates the value of each signal.

[0061] In the example shown in FIG. 4, the analog signal Ain switches at timing t1, and the analog signal Ain after switching converges at timing t2. In response to the switching of the analog signal Ain, its value changes from 0 to 0.37. At this time, the digital filter 20 may be controlled by the control unit 30 so as to start filtering at timing t2 when a waiting time Tw has elapsed from timing t1. At this time, the control unit 30 selects the signal S1 generated by the first filter 200, and transmits the signal Sini to the second filter 220 so that the output signal Dout based on the signal S1 is generated. As a result, the output signal Sout is generated based on the signal S1 generated by the first filter 200.

[0062] To realize a high-precision A / D converter, a ΔΣ A / D converter is used. The digital filter of a ΔΣ A / D converter attenuates the high-frequency range in the result of oversampling obtained by the analog section, but if the digital filter takes a long time to process for high-precision conversion, the response speed to the analog signal input will be slow. In particular, when analog signals are switched through multiple channels, if the response speed of the digital filter is slow, it becomes difficult to take appropriate action when an unexpected input is received.

[0063] According to the digital filter 20 of this embodiment, the first filter 200 with a low order (low delay) filters the digital signal Sin in advance to generate a signal S1, and the second filter 220 can generate a digital output signal Dout based on the signal S1. At this time, the signal S1 generated by the first filter 200 can be input to the delay element D33 in the final stage of the second filter 220 without passing through the other delay elements D11 to D1y', D21 to D23, and D31 to D32. Therefore, the digital filter 20 can filter the digital signal Sin faster than the input of the analog signal Ain.

[0064] Furthermore, in this embodiment, when the analog signal Ain switches, the control unit 30 selects the signal S1 obtained by filtering the digital signal Sin by the first filter 200. Therefore, even when the analog signal Ain switches, the digital filter 20 can filter the digital signal Sin more quickly based on the signal S1.

[0065] In this embodiment, the digital filter 20 starts filtering the digital signal Sin in response to the passage of a predetermined time (Tw) after the analog signal Ain is switched. This makes it possible to appropriately filter the digital signal Sin when it takes a long time for the analog signal Ain to converge.

[0066] (Comparative Technology) 5 is a block diagram of a digital filter 40 according to the comparison technique. The digital filter 40 according to the comparison technique includes a first filter 400, a second filter 402, a third filter 404, a fourth filter 406, and a fifth filter 408. Each component of the digital filter 40 may operate based on a clock signal generated by a circuit not shown.

[0067] The first filter 400 has a function as a ninth-order FIR filter, and filters the digital signal Sin to generate a signal S11. The first filter 400 has delay devices D41 to D49, coefficient circuits Ca21 to Ca30, and adders A41 to A49.

[0068] The delay element D41 delays the digital signal Sin to generate a signal Sd41. The delay elements D42 to D48 sequentially delay the input signals Sd41 to Sd47 to generate signals Sd42 to Sd48. The final-stage delay element D49 further delays the signal Sd48 that has been delayed eight times through the delay elements D41 to D48 to generate a signal Sd49.

[0069] The coefficient circuit Ca21 multiplies the digital signal Sin by a coefficient a21. The coefficient circuits Ca22 to Ca30 multiply the signals Sd41 to Sd49 by coefficients a22 to a30, respectively. The adders A41 to A49 each add a plurality of input signals. The adder A49 in the final stage S11=a21×Sin+a22×Sd41+a23×Sd42+a24×Sd43+a25×Sd44+a26×Sd45+a27×Sd46+a28×Sd47+a29×Sd48+a30×Sd49 The signal S11 is generated as follows:

[0070] The second filter 402 has a function as a third-order FIR filter, and generates a signal S12 by filtering the signal S11 generated by the first filter 400. The second filter 402 has a downsampler DS11, delay devices D50 to D52, coefficient circuits Cb21 to Cb24, and adders A50 to A52.

[0071] The downsampler DS11 downsamples the signal S11 to generate a signal Sds11. The delay device D50 delays the signal Sds11 to generate a signal Sd50, the delay device D51 delays the signal Sd50 to generate a signal Sd51, and the delay device D52 delays the signal Sd51 to generate a signal Sd52.

[0072] The coefficient circuit Cb21 multiplies the signal Sds11 by the coefficient b21, the coefficient circuit Cb22 multiplies the signal Sd50 by the coefficient b22, the coefficient circuit Cb23 multiplies the signal Sd51 by the coefficient b23, and the coefficient circuit Cb24 multiplies the signal Sd52 by the coefficient b24. Each of the adders A50 to A52 adds a plurality of input signals. The adder A52 in the final stage adds a plurality of input signals. S12=b21×Sds11+b22×Sd50+b23×Sd51+b24×Sd52 The signal S12 is generated as follows:

[0073] Third filter 404 has a function as a third-order FIR filter, and generates signal S13 by filtering signal S12 generated by second filter 402. Third filter 404 has downsampler DS12, delay devices D53-D55, coefficient circuits Cc21-Cc24, and adders A53-A55.

[0074] Downsampler DS12 downsamples signal S12 to generate signal Sds12. Delay device D53 delays signal Sds12 to generate signal Sd53, delay device D54 delays signal Sd53 to generate signal Sd54, and delay device D55 delays signal Sd54 to generate signal Sd55.

[0075] The coefficient circuit Cc21 multiplies the signal Sds12 by the coefficient c21, the coefficient circuit Cc22 multiplies the signal Sd53 by the coefficient c22, the coefficient circuit Cc23 multiplies the signal Sd54 by the coefficient c23, and the coefficient circuit Cc24 multiplies the signal Sd55 by the coefficient c24. Each of the adders A53 to A55 adds a plurality of input signals. The adder A55 in the final stage adds a plurality of input signals. S13=c21×Sds12+c22×Sd53+c23×Sd54+c24×Sd55 The signal S13 is generated as follows:

[0076] The fourth filter 406 has a function as a sixth-order FIR filter, and generates a signal S14 by filtering the signal S13 generated by the third filter 404. The fourth filter 406 has a downsampler DS13, delay devices D56 to D61, coefficient circuits Cd1 to Cd7, and adders A56 to A61.

[0077] Downsampler DS13 downsamples signal S13 to generate signal Sds13. Delay unit D56 delays signal Sds13 to generate signal Sd56. Delay units D57-D60 sequentially delay input signals Sd56-Sd59 to generate signals Sd57-Sd60. Final-stage delay unit D61 further delays signal Sd60, which has been delayed five times through delay units D56-D60, to generate signal Sd61.

[0078] The coefficient circuit Cd1 multiplies the signal Sds13 by a coefficient d1. The coefficient circuits Cd2 to Cd7 multiply the signals Sd56 to Sd61 by coefficients d2 to d7, respectively. The adders A56 to A61 each add a plurality of input signals. The adder A61 in the final stage S14=d1×Sds13+d2×Sd56+d3×Sd57+d4×Sd58+d5×Sd59+d6×Sd60+d7×Sd61 The signal S14 is generated as follows:

[0079] The fifth filter 408 has a function as a sixth-order FIR filter, and generates a signal S15 by filtering the signal S14 generated by the fourth filter 406. The fifth filter 408 has downsamplers DS14 and DS15, delay devices D62 to D67, coefficient circuits Ce1 to Ce7, and adders A62 to A67.

[0080] Downsampler DS14 downsamples signal S14 to generate signal Sds14. Delay unit D62 delays signal Sds14 to generate signal Sd62. Delay units D63-D66 sequentially delay input signals Sd62-Sd65 to generate signals Sd63-Sd66. Final-stage delay unit D67 further delays signal Sd66, which has been delayed five times through delay units D62-D66, to generate signal Sd67.

[0081] The coefficient circuit Ce1 multiplies the signal Sds14 by a coefficient e1. The coefficient circuits Ce2 to Ce7 multiply the signals Sd62 to Sd67 by coefficients e2 to e7, respectively. The adders A62 to A67 add a plurality of input signals. The adder A67 in the final stage S15=e1×Sds14+e2×Sd62+e3×Sd63+e4×Sd64+e5×Sd65+e6×Sd66+e7×Sd67 The downsampler DS15 downsamples the signal S15 to generate an output signal Dout1 of the digital filter 40.

[0082] Fig. 6 is a diagram for explaining an example of the operation of the digital filter 40 according to the comparison technique. Fig. 6 shows the analog signal Ain, the output of the analog section 11, and the digital output signal Dout1 generated by the digital filter 40 according to the comparison technique. In Fig. 6, the horizontal axis indicates the number of cycles of the clock signal, and the vertical axis indicates the value of each signal.

[0083] As shown in FIG. 6, at timing t11, the analog signal Ain switches and its value changes from 0 to 0.37. The analog section 11 can generate the digital signal Din in immediate response to this switching. The digital filter 40 according to the comparison technique generates a digital output signal Dout1 in response to the switching of the analog signal at timing t12. However, its value is 0.17, which is far from the value of the analog signal Ain after the switching. After that, at timing t13, a digital output signal Dout1 having the value of the analog signal Ain after the switching is generated.

[0084] In the digital filter 40 according to the comparative technique, the digital output signal Dout1 is generated based on the signals delayed by all of the delay devices D41 to D67. For this reason, the digital filter 40 cannot immediately respond to switching of the analog signal.

[0085] (simulation) 7 is a diagram for explaining an example of the operation of the digital filter 20 according to the first embodiment and the digital filter 40 according to the comparison technique. FIG. 7 shows an analog signal Ain input to the analog unit 11, a digital output signal Dout1 generated by the digital filter 40 according to the comparison technique, a digital output signal generated by the digital filter according to the first embodiment, and a digital output signal generated by the digital filter according to the second embodiment. The digital filter according to the first embodiment is a digital filter in which the first filter 200 is an eighth-order FIR filter in the digital filter 20 according to the first embodiment. The digital filter according to the second embodiment is the digital filter 20 according to the first embodiment.

[0086] 7, the analog signal switches at timing t21, and its value changes from 0 to 0.37. After that, the digital filter according to the comparative technique, the digital filter according to the first embodiment, and the digital filter according to the second embodiment filter the digital signal generated based on the analog signal after the switching.

[0087] The digital filter according to the first embodiment outputs a digital output signal at timing t22. The value of the output signal is 0.4, and then gradually approaches the value of the analog signal after the switching. Following the digital filter according to the first embodiment, the digital filter according to the second embodiment outputs a digital output signal having the same value as the value of the analog signal after the switching at timing t23.

[0088] The digital filter according to the comparison technique first outputs a digital output signal at timing t24, but the value of the output signal is significantly different from the value of the analog signal after the switch. After that, at timing t25, the value of the digital output signal output by the digital filter according to the comparison technique becomes the value of the analog signal after the switch.

[0089] In this way, when an analog signal is switched, the digital filters according to the first and second embodiments can generate a digital output signal faster than the digital filter according to the comparative technique. In addition, the second embodiment can generate a digital output signal having a higher accuracy than the first embodiment, although the output timing is slower than the first embodiment. By selecting the order of the auxiliary filter, the speed of the output of the digital filter and the accuracy of the output signal can be adjusted. The order of the auxiliary filter may be selected to be an optimal value according to the requirements of the system in which the digital filter is used.

[0090] Second embodiment In the second embodiment, the configuration of the digital filter is different from that of the digital filter 20 according to the first embodiment. Note that the multiplexer, analog unit, and control unit according to the second embodiment may have substantially the same configurations as the multiplexer 10, analog unit 11, and control unit 30 according to the first embodiment.

[0091] FIG. 8 is a block diagram of a digital filter 50 (second filter) according to the second embodiment. The digital filter 50 according to the second embodiment filters a digital signal Sin to generate a digital output signal Dout2. The digital filter 50 according to the second embodiment has three-stage filters, specifically, a first-stage filter 500, a second-stage filter 520, and a third-stage filter 540. Each component of the digital filter 50 may operate based on a clock signal generated by a circuit not shown. Note that, in this embodiment, an example in which the digital filter 50 is composed of three-stage filters will be described, but the digital filter 50 may be composed of two-stage filters or four or more stages of filters.

[0092] The first-stage filter 500 (first filter) has a function as a ninth-order FIR filter, and filters the digital signal Sin to generate a signal S21. The filter 500 has delay devices D71-D79, coefficient circuits Ca41-Ca50, and adders A71-A79.

[0093] The delay element D71 delays the digital signal Sin to generate a signal Sd71. The delay elements D72 to D78 sequentially delay the input signals Sd71 to Sd77 to generate signals Sd72 to Sd78. The final-stage delay element D79 further delays the signal Sd78 that has been delayed eight times through the delay elements D71 to D78 to generate a signal Sd79.

[0094] The coefficient circuit Ca41 multiplies the digital signal Sin by a coefficient a41. The coefficient circuits Ca42 to Ca50 multiply the signals Sd71 to Sd79 by coefficients a42 to a50, respectively. The adders A71 to A79 each add a plurality of input signals. The adder A79 in the final stage S21=a41×Sin+a42×Sd71+a43×Sd72+a44×Sd73+a45×Sd74+a46×Sd75+a47×Sd76+a48×Sd77+a49×Sd78+a50×Sd79 The signal S21 is generated as follows:

[0095] The control unit 32 according to the second embodiment selects either the digital signal Sin or the signal S21 generated by filtering the digital signal Sin by the first-stage filter 500. The control unit 32 transmits the signal Sini1 to the second-stage filter 520 and the third-stage filter 540 so that a digital output signal Dout2 based on the selected signal is generated.

[0096] Second-stage filter 520 has a function as a third-order FIR filter, and generates a signal S22 based on the signal S21 generated by first-stage filter 500. Second-stage filter 520 has selectors M41-M43, a downsampler DS31, delay devices D80-D82, coefficient circuits Cb31-Cb34, and adders A80-A82.

[0097] The selectors M41 to M43 are each a two-input selector, and output a signal input to one of the first input or the second input. The signal S21 is input to the first input of the selectors M41 to M43, and a signal generated in the filter 520 based on the signal S21 is input to the second input of the selectors M41 to M43. The selectors M41 to M43 input one of the first input signal and the second input signal, Ss41 to Ss43, to the delay devices D80 to D82 based on the signal Sini1 from the control unit 32.

[0098] For example, the selector M41 receives the signal S21 and the signal Sds21 generated by the downsampler DS21, and inputs one of these signals, Ss41, to the delay device D80. The selector M42 receives the signal S21 and the signal Sd80 generated by the delay device D80, and inputs one of these signals, Ss42, to the delay device D81. The selector M43 receives the signal S21 and the signal Sd81 generated by the delay device D81, and inputs one of these signals, Ss43, to the delay device D82.

[0099] The downsampler DS21 downsamples the input signal S21 to generate a signal Sds21. The delay unit D80 delays the signal Ss41 to generate a signal Sd80. The delay unit D81 delays the signal Ss42 to generate a signal Sd81. The delay unit D82 delays the signal Ss43 to generate a signal Sd82.

[0100] The coefficient circuit Cb31 multiplies the signal Sds21 by the coefficient b31, the coefficient circuit Cb32 multiplies the signal Sd80 by the coefficient b32, the coefficient circuit Cb33 multiplies the signal Sd81 by the coefficient b33, and the coefficient circuit Cb34 multiplies the signal Sd82 by the coefficient b34. The adders A80 to A82 add a plurality of input signals. The adder A82 in the final stage adds the signals generated by the coefficient circuits Cb31 to Cb34 to obtain the following: S22=b31×Sds21+b32×Sd80+b33×Sd81+b34×Sd82 The signal S22 is generated as follows:

[0101] Third-stage filter 540 has a function as a third-order FIR filter, and generates output signal Dout2 of digital filter 50 based on signal S21 generated by first-stage filter 500 or signal S22 generated by second-stage filter 520. Third-stage filter 540 has selectors M51-M54, downsampler DS22, delay devices D83-D85, coefficient circuits Cc31-Cc34, and adders A83-A85.

[0102] The selectors M51-M54 are each a two-input selector, and output one of the signals input to either the first input or the second input. The signal S21 is input to the first input of the selectors M51-M54, and the signal S22 or a signal generated in the filter 540 based on the signal S22 is input to the second input of the selectors M51-M54. The selectors M51-M54 select one signal from the signals of the first input and the signals of the second input based on the signal Sini1 from the control unit 30, and input the selected signal Ss51-Ss54 to the downsampler DS22 or the delay devices D83-D85.

[0103] For example, the selector M51 receives the signal S21 and the signal S22 generated by the first-stage filter 520, and inputs one of these signals Ss51 to the downsampler DS22. The selector M52 receives the signal S21 and the signal Sds22 generated by the downsampler DS22, and inputs one of these signals Ss52 to the delay device D83. The selector M53 receives the signal S21 and the signal Sd83 generated by the delay device D83, and inputs one of these signals Ss53 to the delay device D84. The selector M54 receives the signal S21 and the signal Sd84 generated by the delay device D84, and inputs one of these signals Ss54 to the delay device D85.

[0104] The downsampler DS22 downsamples the input signal Ss51 to generate a signal Sds22. The delay unit D83 delays the signal Ss52 to generate a signal Sd83. The delay unit D84 delays the signal Ss53 to generate a signal Sd84. The delay unit D85 delays the signal Ss54 to generate a signal Sd85.

[0105] The coefficient circuit Cc31 multiplies the signal Sds22 by the coefficient c31, the coefficient circuit Cc32 multiplies the signal Sd83 by the coefficient c32, the coefficient circuit Cc33 multiplies the signal Sd84 by the coefficient c33, and the coefficient circuit Cc34 multiplies the signal Sd85 by the coefficient c34. The adders A83 to A85 add a plurality of input signals. The adder A85 in the final stage adds the signals generated by the coefficient circuits Cc31 to Cc34 to obtain the following: Dout2=c31×Sds22+c32×Sd83+c33×Sd84+c34×Sd85 The output signal Dout2 is generated.

[0106] The digital filter 50 according to the second embodiment performs filtering according to the signal Sini1 from the control unit 32. Specifically, the digital filter 50 selects either the first input or the second input of each delay element according to the signal Sini1, and performs filtering of the signal to the selected input.

[0107] When the second input is selected, the digital filter 50 filters the digital signal Sin through all the delay devices D71 to D85 to generate a digital output signal Dout2. On the other hand, when the first input is selected, when the first-stage filter 500 generates a signal S21, the signal Ss54 corresponding to the signal S21 is input to the final-stage delay device D85 of the third-stage filter 540. The third-stage filter 540 generates the digital output signal Dout2 according to the signal Sd85 generated by the delay device D85. In this way, when the second input is selected, the digital output signal Dout2 can be generated without delaying some of the delay devices of the digital filter 50. Therefore, when the second input is selected, it is possible to filter the digital signal Sin faster than when the first input is selected.

[0108] The digital filter 50 according to the second embodiment is composed of multiple stages of filters, and the first stage filter 500 functions as a high-speed response filter. Therefore, according to the digital filter 50 according to the second embodiment, it is possible to configure the digital filter 50 with a smaller hardware configuration than in the first embodiment.

[0109] (supplement) Although the embodiments of the present disclosure have been described using specific terms, this description is merely an example to aid in understanding and does not limit the scope of the present disclosure or the claims, and the scope of the present invention is defined by the claims. In addition, not only the embodiments, but also embodiments, examples, and modified examples not described herein are included in the scope of the present invention.

[0110] (Additional Note) One aspect of the technology disclosed in this specification can be understood as follows.

[0111] (Item 1) 1. A digital filter for filtering a digital signal to generate a digital output signal, comprising: a first filter for filtering the digital signal, the first filter having an FIR filter including a plurality of first delays; a selection unit that selects either the digital signal or a signal obtained by filtering the digital signal by the first filter; A second filter having at least one FIR filter including a plurality of second delays greater than the first delays, and generating the digital output signal based on the signal selected by the selection unit. Digital filter.

[0112] (Item 2) each of the second delay units is arranged to receive the signal selected by the selection unit; Item 1. The digital filter according to item 1.

[0113] (Item 3) the second filter includes a multi-stage FIR filter; The first filter constitutes a first-stage FIR filter of the second filter. 3. The digital filter according to item 1 or 2.

[0114] (Item 4) a ΔΣ modulator that oversamples an analog signal to generate the digital signal; The digital filter according to any one of items 1 to 3 is provided. Delta-Sigma type A / D converter.

[0115] (Item 5) A switching unit for switching the analog signal is further provided, The selection unit selects the signal obtained by filtering the digital signal by the first filter when the analog signal is switched. The ΔΣ A / D converter described in Item 4.

[0116] (Item 6) the digital filter starts filtering the digital signal in response to a predetermined time having elapsed since the analog signal was switched by the switching unit. Item 5. The ΔΣ A / D converter described in item 5. [Explanation of symbols]

[0117] 1 ΔΣ type A / D converter, 10 multiplexer, 11 analog section, 20, 50 digital filter, 200 first filter, 220 second filter, 222,500 first stage filter, 224,520 second stage filter, 226,540 third stage filter, D1 to D4, D11 to D1y', D21 to D23, D31 to D33, D71 to D85 delay devices, 30 control section.

Claims

1. 1. A digital filter for filtering a digital signal to generate a digital output signal, comprising: a first filter for filtering the digital signal, the first filter having an FIR filter including a plurality of first delays; a selection unit that selects either the digital signal or a signal obtained by filtering the digital signal by the first filter; a second filter having at least one FIR filter including a plurality of second delays greater than the first delays, the second filter generating the digital output signal based on the signal selected by the selection unit; Digital filter.

2. each of the second delay units is arranged to receive the signal selected by the selection unit; 2. The digital filter of claim 1.

3. the second filter includes a multi-stage FIR filter; The first filter constitutes a first-stage FIR filter of the second filter.

2. The digital filter of claim 1.

4. a ΔΣ modulator that oversamples an analog signal to generate the digital signal; A digital filter according to claim 1, Delta-Sigma type A / D converter.

5. A switching unit for switching the analog signal is further provided, the selection unit selects, when the analog signal is switched, the signal obtained by filtering the digital signal by the first filter.

5. The ΔΣ A / D converter according to claim 4.

6. the digital filter starts filtering the digital signal in response to a predetermined time having elapsed since the analog signal was switched by the switching unit.

6. The ΔΣ A / D converter according to claim 5.

Citation Information

Patent Citations

  • Δσ a / d converter, audio signal processing circuit and electronic apparatus using the same, and δς modulation method

    JP2014171035A

  • A / d conversion circuit

    JP2017208667A