Filter circuit

The filter circuit employs a depth-first search with a tree structure to minimize quantization noise in digital sigma DACs, addressing instability and calculation complexity by selecting output sequences within a threshold, thus optimizing filter output and reducing computational load.

WO2024202046A1PCT designated stage expired Publication Date: 2024-10-03MITSUBISHI ELECTRIC CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/013641
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing filter circuits in digital sigma DACs face instability due to quantization noise, leading to divergent buffer values, and previous methods either discard optimal output sequences or increase calculation complexity by calculating noise for all samples.

Method used

A filter circuit that uses a depth-first search with a tree structure to find output signal sequences minimizing total quantization noise within a set threshold, reducing calculation by aborting searches when noise exceeds the threshold and updating thresholds based on found candidates.

Benefits of technology

Effectively reduces calculation complexity while ensuring the selection of output signal sequences with minimal total quantization noise, preventing buffer instability and optimizing filter output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023013641_03102024_PF_FP_ABST
    Figure JP2023013641_03102024_PF_FP_ABST
Patent Text Reader

Abstract

This filter circuit searches for a candidate for an output signal sequence after quantization on the basis of the sum Ci (j) of quantization noise generated when a filter output for an input signal is quantized. The filter circuit searches for a candidate for the output signal sequence by depth priority search of a tree structure within a range of a threshold C set for the sum Ci (j) of the quantization noise.
Need to check novelty before this filing date? Find Prior Art

Description

filter circuit

[0001] The present disclosure relates to a filter circuit.

[0002] The noise generated when a signal is quantized is called quantization noise. For example, in a digital sigma DAC (Digital Analog Converter), the filter output is quantized and output by a quantizer, which generates quantization noise. In a digital sigma DAC, the output is fed back and used to calculate the next signal. For this reason, if the filter output exceeds the output limit of the quantizer due to quantization noise, the buffer value in the filter circuit may diverge and become unstable.

[0003] For this reason, Patent Document 1 discloses a method for improving stability by calculating the quantization noise for multiple output sequence candidates and selecting the output sequence candidate with the smallest quantization noise. In this case, it is desirable to calculate the quantization noise for all output sequence candidates and select the output sequence candidate with the smallest quantization noise, but this results in a large amount of calculation. For this reason, Patent Document 1 also discloses a method for reducing the amount of calculation by narrowing down the signal sequences to be searched using the Viterbi algorithm.

[0004] Japanese Patent Application Laid-Open No. 2003-124812

[0005] However, the technique described in Patent Document 1 has a problem in that the globally optimal output sequence candidate with the smallest quantization noise may be discarded. Specifically, the technique disclosed in Patent Document 1 calculates the quantization noise each time a signal is input, and instead of calculating the quantization noise for all samples included in the sequence, a certain number of output sequence candidates with the smallest total quantization noise are retained. However, the output sequence candidate with the smallest quantization noise during the search is not necessarily the sequence with the smallest quantization noise of all sequences.

[0006] The present disclosure has been made in view of the above, and aims to provide a filter circuit that is capable of searching for a candidate output signal sequence that minimizes the total amount of quantization noise generated when quantizing a filter output, while reducing the amount of calculation.

[0007] In order to solve the above-mentioned problems and achieve the object, the filter circuit according to the present disclosure is a filter circuit that searches for candidates for an output signal sequence after quantization based on the sum of quantization noise that occurs when quantizing a filter output for an input signal, and is characterized in that it searches for candidates for the output signal sequence by a tree-structured depth-first search within a range of a threshold value that is set for the sum of quantization noise.

[0008] The filter circuit according to the present disclosure has an advantage in that it is possible to search for a candidate output signal sequence that minimizes the total amount of quantization noise generated when quantizing the filter output, while reducing the amount of calculation.

[0009] FIG. 1 is a diagram conceptually illustrating a process for searching for candidates for an output signal sequence of the filter circuit according to the first embodiment; FIG. 2 is a diagram illustrating the overall configuration of the filter circuit according to the first embodiment; FIG. 3 is a flowchart illustrating the internal process of the path selector shown in FIG. 2; and FIG. 4 is an explanatory diagram of the process content of step S108 in FIG.

[0010] Hereinafter, a filter circuit according to an embodiment of the present disclosure will be described in detail with reference to the drawings.

[0011] First Embodiment. Figure 1 is a diagram conceptually illustrating a process for searching for candidates for an output signal sequence of a filter circuit according to a first embodiment. Although not shown here, the digital sigma DAC according to the first embodiment is referred to as a filter circuit 10. In Figure 1, in order to suppress the quantization noise of the digital sigma DAC, a tree-structured depth-first search is used to search for a candidate with the minimum quantization noise from among all candidates for the output signal sequence. The tree structure shown in Figure 1 is conceptual, and a tree-structured circuit is not actually implemented in the filter circuit 10. However, the actual filter circuit 10 does implement the algorithm for performing the search described here.

[0012] The filter circuit 10 calculates the filter output of the digital sigma DAC each time an input signal included in the input signal sequence is input. In conventional digital sigma DACs, the filter output is passed through a quantizer and quantized, and the quantized output is the output of the digital sigma DAC. However, in this case, the error between the filter output and the candidate output signal for each of all output patterns of the quantizer is calculated as quantization noise. The sum of the quantization noises calculated for each of the multiple input signals included in the input signal sequence is referred to as the sum of quantization noises.

[0013] The tree structure shown in Figure 1 is composed of "nodes" represented by circles and "branches" that connect the nodes. Each branch corresponds to one of a number of candidates for the output signal, and the sum of the quantization noise when the candidate output signal for each branch is selected is calculated for each node. Here, it is assumed that a 1-bit quantizer is used, and the output signal "+1" is assigned to the left branch, and the output signal "-1" is assigned to the right branch. If the number of each layer is i when the root node is the "0" layer, and the number of the node in each layer is j, then the sum of the quantization noise C i (j) is expressed by the following mathematical formula (1) when j is an odd number, and by the following mathematical formula (2) when j is an even number. Here, since the number of samples included in the input signal sequence is 3, i is an integer between 0 and 3. Also, j is an integer between 1 and 2. i The sum of quantization noise C is the following integer. i (j) is the sum of quantization noise when output signal candidates corresponding to each branch on the path from the root node to the jth target node in the i-th layer are selected.

[0014]

[0015] The filter circuit 10 searches for candidates for the output signal sequence after quantization based on the sum of quantization noise that occurs when the filter output for the input signal is quantized. i (j) A candidate output signal sequence is searched for by depth-first search of a tree structure within the range of a threshold C set for .

[0016] Specifically, the filter circuit 10 first (1) The search starts from C1 (1) and C1 (2) For example, if the first input signal c(0) is "0.5", the total quantization noise C (1) is calculated by using the formula (1), (1) = C0 (1) + | 0.5 - (+1) | 2 = 0.25. In addition, the total quantization noise C (2) is calculated by using the formula (2), (2) = C0 (1) + | 0.5 - (-1) | 2 = 2.25. In this case, the left branch is selected as the path. Once the path is determined, the filter circuit 10 calculates the total sum of quantization noise C1 (1) is compared with a threshold C. Here, the total quantization noise C (1) is equal to or smaller than the threshold C, and the process proceeds to the node i=1, j=1.

[0017] The filter circuit 10 then calculates the sum C of quantization noise when the output signal is "+1" for the next input signal c(1). (1) and the sum of quantization noise when the output signal is "-1" C2 (2) The branch with the smaller sum of quantization noise is selected. Here, the sum of quantization noise when the output signal is "-1" is C2 (2) The sum of quantization noise when the output signal is "+1" is C2 (1) is smaller than the total quantization noise C (2) If is less than or equal to the threshold C, we can proceed to node i=2, j=2.

[0018] The filter circuit 10 calculates the sum of quantization noise C3 when the output signal is "+1" for the subsequent input signal c(2). (3) and the sum of quantization noise when the output signal is "-1" C3 (4) The branch with the smaller sum of quantization noise is selected. Here, the sum of quantization noise when the output signal is "-1" is C3 (4)The sum of quantization noise when the output signal is "+1" is C3 (3) is smaller than the total quantization noise C (4) If is less than or equal to the threshold C, we can proceed to node i=3, j=4.

[0019] Here, for simplicity, the number of samples included in the input signal sequence is "3", so the total sum of quantization noise C i (j) does not exceed the threshold C, C (4) The output signal corresponding to the branch selected before reaching the node corresponding to is saved as a candidate for the output signal sequence. In this case, the candidate for the output signal sequence {+1, -1, -1} is found. Note that the sum of quantization noise C i (j) When a candidate for an output signal sequence is found in which the sum of quantization noises of the found candidate is equal to or less than the threshold C, the filter circuit 10 i (j) The threshold C is updated with the value of

[0020] Sum of quantization noise C i (j) When a candidate output signal sequence is found for which the sum of quantization noises of the nodes of the route, C, is updated, the search continues within the range of the updated threshold C. i (j) exceeds the threshold C, the search for branches connected to that node is discontinued. Also, if there is no branch that can proceed to the next layer during the search, the search returns to the layer above and continues searching for branches that have not yet been searched.

[0021] Here, the total quantization noise C (3) is compared with the updated threshold C, and the sum of the quantization noise C (3) exceeds the updated threshold C, so the filter circuit 10 does not proceed to the node at i=3, j=3. In this case, the filter circuit 10 returns to the next layer at i=1 because there is no branch to proceed to, and the sum of quantization noise C (1) is compared with the updated threshold C. Here, the total quantization noise C (1)exceeds the updated threshold C, the search for the branch connected to i=2, j=1 is discontinued. Note that from the node i=2, j=1, a branch connected to the node i=3, j=1 and a branch connected to the node i=3, j=2 extend, but the total quantization noise C (1) exceeds the threshold C, the sum of the quantization noise C (1) and the sum of quantization noise C (2) is the sum of quantization noise C (1) quantization noise of each branch is added to this, and naturally, this exceeds the threshold C, so even if the search is terminated, it will not affect the final search result.

[0022] The search is continued in the same manner, and each time a candidate output signal sequence is found, the sum of the quantization noise of the found candidate output signal sequence, C i (j) By updating the threshold C with the value of i (j) Here, the total quantization noise C i (j) If exceeds the threshold C, the search for that branch is terminated, thereby making it possible to reduce the amount of calculation.

[0023] In the example of FIG. (4) than the total quantization noise C3 (6) A candidate output signal sequence with a small value {-1, +1, -1} is found, and C3 (6) After the threshold C is updated with the value of (6) than the total quantization noise C3 (7) A candidate output signal sequence with a small value {-1, -1, +1} is found, and C3 (7) The threshold C is updated with the value of C3 (7) than the total quantization noise C3 (8) In this case, the last found output signal sequence candidate {-1, -1, -1} is the output signal sequence candidate with the smallest total sum of quantization noise, and is therefore output as the search result.

[0024] As described above, the filter circuit 10 according to the first embodiment calculates the quantization noise for each input signal, compares it with the threshold C, and searches for candidates for the output signal sequence within the range of the threshold C. The filter of the digital sigma DAC stores not only the current input but also past inputs and outputs in an internal buffer, and calculates the filter output based on the stored values. Therefore, the total sum of the quantization noise C i (j) In order to search for a candidate for an output signal sequence with a small quantization noise, it is necessary to search among all the candidates for the output signal sequence. Even if the left branch of the output signal "+1" extending from the root node in Figure 1 has a smaller quantization noise than the right branch of the output signal "-1", it does not necessarily mean that a globally optimal node exists among the nodes connected to the left branch. In the above method, it is possible to find a candidate that does not need to be searched among all the candidates for the output signal sequence, that is, a candidate that always has a small quantization noise total C i (j) For candidates whose quantization noise exceeds the threshold C, the search is stopped and the calculation is omitted. i (j) It is possible to search for an output signal sequence that minimizes

[0025] 2 is a diagram showing the overall configuration of a filter circuit 10 according to the first embodiment. The filter circuit 10 includes an input sequence memory 11, an FIR (Finite Impulse Response) filter 12, an FIR memory 13, an IIR (Infinite Impulse Response) filter 14, an IIR memory 15, a metric calculation unit 16, a metric memory 17, a path selector 18, an output sequence memory 19, and difference calculation units 20-1 and 20-2.

[0026] The input sequence memory 11 stores the input signal. The FIR filter 12 and the IIR filter 14 are both circuits that perform convolution processing, outputting the inner product of the past few input samples of the signal and predetermined coefficient values. The FIR filter 12 has a finite impulse response, and the output is calculated only using the convolution sum of the input. The difference between the input signal stored in the input sequence memory 11 and the output signal stored in the output sequence memory 19 is input to the FIR filter 12 via the difference calculation unit 20-1. The IIR filter 14 has an infinite impulse response, and the output is calculated using not only the convolution sum of the input but also the convolution sum of past outputs. The difference between the output of the FIR filter 12 and the output of the IIR filter 14 is input to the IIR filter 14. The FIR memory 13 is a memory that stores buffer values ​​in the FIR filter 12. The IIR memory 15 is a memory that stores buffer values ​​in the IIR filter 14.

[0027] The metric calculation unit 16 calculates the sum of the quantization noise. Here, the sum of the quantization noise is expressed as an array v[N count The difference between the output of the FIR filter 12 and the output of the IIR filter 14 is input to the metric calculation unit 16 via the difference calculation unit 20-2. The metric calculation unit 16 calculates the input difference as a function of the array v[N count ] and calculate the result as v[N count +1].

[0028] The path selector 18 selects an array v[N count +1] with the threshold C, and the counter N count The search path is selected based on the values ​​of . The output sequence memory 19 stores candidates for the output signal sequence.

[0029] Here, the overall operation of the filter circuit 10 will be described. If there is an input signal, the filter circuit 10 stores it in the input sequence memory 11. The filter circuit 10 stores the counter N count th input signal and the counter N of the output sequence memory 19 countThe difference between the first and second output signals is input to the FIR filter 12. The input value is written to a buffer in the FIR filter 12, and at this time, the filter circuit 10 stores the value originally written to the buffer in the FIR memory 13.

[0030] The filter circuit 10 calculates the output of the FIR filter 12 and the output of the IIR filter 14, and the calculation result obtained by subtracting the output of the IIR filter 14 from the output of the FIR filter 12 is input to the metric calculation unit 16. The calculation result is saved in a buffer in the IIR filter 14. At this time, the filter circuit 10 stores the value originally written in the buffer in the IIR memory 15. The metric calculation unit 16 also calculates the calculation result in the array v[N count ] and the result is v[N count +1].

[0031] The path selector 18 selects an array v[N count +1] and the array v[N count +1] is equal to or less than the threshold C, the counter N count Increase the counter N by 1. count If the value of is smaller than the total number of input samples N, the same process is repeated from the process of storing the next input signal in the input sequence memory 11 to the path selector 18 .

[0032] Counter N count When the value of reaches the total number of input samples N, the value of the output sequence memory 19 is output and the process ends. count ], and the same process is repeated from the process of storing the next input signal in the input sequence memory 11 to the path selector 18.

[0033] The array v[N count +1] exceeds the threshold C, the filter circuit 10 refers to the output sequence memory 19 and increments the counter N count The th value y[N count ]∈{s0,s1,...,s M-1}, if there are other candidates, count] is updated, and the same process is repeated from the process of storing the input signal in the input sequence memory 11 to the path selector 18. i is a candidate for the output signal. If there are no other candidates for the output signal, the counter N count is decremented by 1, and the internal variables of the FIR filter 12 and the IIR filter 14 are set to the counters N count The input signal is updated to the th value, and the same process is repeated from the process of storing the input signal in the input sequence memory 11 to the path selector 18.

[0034] 3 is a flowchart for explaining the internal processing of the path selector 18 shown in FIG. 2. The path selector 18 selects an array v[N count +1] and compare it with the threshold C, and count +1] is less than the threshold C (step S100). count +1] is less than the threshold C (step S100: Yes), the path selector 18 count = N count Then, the path selector 18 increments the counter N by +1 to update the counter (step S101). count It is determined whether the value of the counter N is less than the total number of input samples N (step S102). count If the value of the counter N is less than the total number of input samples N (step S102: Yes), the process shown in FIG. 3 is terminated. count If the value of is not less than the total number of input samples N (step S102: No), the path selector 18 selects i=0 to N count -1, the output signal y[i] is s M-1 It is determined whether the output signal y[i] is s (step S103). M-1 If not (step S103: No), threshold C=v[N count ], the value of the threshold C is updated (step S104), and the process shown in FIG. 3 ends.

[0035] The output signal y[i] is M-1If so (step S103: Yes), all output signal sequences stored in the output sequence memory 19 are output (step S109), all internal variables are reset (step S110), and the processing shown in FIG. 3 is terminated.

[0036] Array v[N count +1] is not less than the threshold C (step S100: No), the path selector 18 selects the output signal y[N count ]is M-1 (Step S105). count ]is M-1 If not (step S105: No), the path selector 18 selects the output signal y[N count ] as s i+1 (step S106), and the process shown in FIG. 3 is terminated.

[0037] Output signal y[N count ]is M-1 (step S105: Yes), the path selector 18 count = N count The value is decremented by 1 to -1 (step S107), the internal variables of the FIR filter 12 and the IIR filter 14 are obtained from the FIR memory 13 and the IIR memory 15 (step S108), the buffer values ​​of the FIR filter 12 and the IIR filter 14 are updated, and the processing shown in FIG. 3 is terminated.

[0038] Fig. 4 is an explanatory diagram of the processing content of step S108 in Fig. 3. The FIR memory 13 stores the value that existed before the buffer of the FIR filter 12 was overwritten. The IIR memory 15 stores the value that existed before the buffer of the IIR filter 14 was overwritten. In step S108 in Fig. 3, in order to return the buffers of the FIR filter 12 and the IIR filter 14 to their previous states, the path selector 18 retrieves the value stored in the FIR memory 13 and writes it into the buffer of the FIR filter 12, and retrieves the value stored in the IIR memory 15 and writes it into the buffer of the IIR filter 14.

[0039] As described above, the filter circuit 10 according to the first embodiment reduces the sum C of quantization noise that occurs when the filter output for the input signal is quantized. i (j) A filter circuit that searches for candidates for a quantized output signal sequence based on the sum of quantization noise C i (j) A candidate output signal sequence is searched for by depth-first search of a tree structure within the range of a threshold C set for the sum of quantization noise C i (j) It is possible to perform a search for all candidates for the output signal sequence for which the sum of quantization noise generated when the filter output is quantized is within the range of the threshold C. Therefore, calculations are omitted for candidates that are outside the range of the threshold C, so it is possible to reduce the amount of calculations and search for candidates for the output signal sequence for which the sum of quantization noise generated when the filter output is quantized is minimized.

[0040] Specifically, the filter circuit 10 sets each of a plurality of candidates for the output signal corresponding to each input signal included in the input signal sequence as a branch of a tree structure, and calculates the sum C of quantization noise when a branch on the path is selected. i (j) is a node, and the sum of quantization noise C when selecting an output signal candidate corresponding to a branch branching from the node i (j) If exceeds the threshold, the search for that branch is terminated. i (j) For candidates of output signal sequences for which σ exceeds the threshold C, the search is terminated and calculations are omitted, so that the amount of calculations can be reliably reduced.

[0041] The filter circuit 10 updates the threshold C every time a candidate for the output signal sequence is found within the range of the set threshold C, and continues searching for a candidate for the output signal sequence within the range of the updated threshold. At this time, the filter circuit 10 updates the threshold with the value of the sum of quantization noise for the candidate for the output signal sequence found every time a candidate for the output signal sequence is found within the range of the set threshold. As a result, during the search, the smallest sum of quantization noise C among the candidates for the output signal sequence found at that time is updated. i (j)Since the value of is set as the threshold C, it is possible to reliably reduce the amount of calculation, and at the time when the search is completed, the value set as the threshold C becomes the minimum value of the sum of quantization noise, and the candidate output signal sequence corresponding to this value becomes the candidate output signal sequence with the minimum sum of quantization noise.

[0042] The filter circuit 10 also stores in memory the candidates for the output signal sequence found during the search, as well as the filter output calculated during the search and the sum of the quantization noise calculated during the search.

[0043] Each function of the filter circuit 10 is realized by a processing circuit. These processing circuits may be realized by dedicated hardware or a control circuit using a central processing unit (CPU). The dedicated hardware may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a combination thereof. A control circuit using a CPU may include, for example, a CPU and a memory. The memory may be, for example, a non-volatile or volatile semiconductor memory such as random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read only memory (EPROM), or electrically programmable programmable read only memory (EEPROM), a magnetic disk, a flexible disk, an optical disk, a compact disk, a minidisk, or a digital versatile disk (DVD).

[0044] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, and parts of the configurations may be omitted or modified without departing from the spirit of the invention.

[0045] 10 filter circuit, 11 input sequence memory, 12 FIR filter, 13 FIR memory, 14 IIR filter, 15 IIR memory, 16 metric calculation unit, 17 metric memory, 18 path selector, 19 output sequence memory, 20-1, 20-2 difference calculation units.

Claims

1. A filter circuit that searches for candidates for a quantized output signal sequence based on the sum of quantization noise that occurs when quantizing a filter output for an input signal, characterized in that the filter circuit searches for candidates for the output signal sequence using a tree-structured depth-first search within a threshold range set for the sum of the quantization noise.

2. The filter circuit according to claim 1, characterized in that each of a plurality of candidates for the output signal for each input signal included in the input signal sequence is defined as a branch of the tree structure, the sum of the quantization noise when the branch on the path is selected is defined as a node, and if the sum of the quantization noise when the candidate for the output signal corresponding to the branch branching off from the node is selected exceeds the threshold value, the search for that branch is terminated.

3. The filter circuit according to claim 2, characterized in that each time a candidate for the output signal sequence is found within the set range of the threshold, the threshold is updated, and the search for a candidate for the output signal sequence is continued within the range of the updated threshold.

4. The filter circuit according to claim 3, characterized in that, each time a candidate for the output signal sequence is found within the range of the set threshold, the threshold is updated with the value of the sum of the quantization noise for the found candidate for the output signal sequence.

5. The filter circuit according to claim 1, wherein candidates for the output signal sequence found during the search are stored in a memory.

6. The filter circuit according to claim 1, wherein the filter output calculated during the search and the sum of the quantization noise calculated during the search are stored in a memory.

Citation Information

Patent Citations

  • A tree search method using depth-first search to detect MIMO received signals.

    JP2012522446A

  • Communication device and decoding method

    JP2021529452A