Error reduction circuit, method and comparator array
By introducing randomized comparators and related circuit structures into the comparator array and replacing some comparators, the problem of comparator array offset error in the data converter is solved, the system output accuracy is improved, and the design difficulty and power consumption are reduced.
Patent Information
- Application Number
- CN202211519816.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-11-30
AI Technical Summary
In the design of data converters, the offset error of the comparator array causes the loss of quantization accuracy, and the existing technology increases power consumption and design difficulty by optimizing a single comparator, affecting the linearity and accuracy of the overall circuit.
Using a random enable signal generator, a coprime filter unit, a reference voltage generation array and a randomized comparator, through the control of the random enable signal and reference voltage, one comparator in the comparator array is replaced to achieve randomization of the comparator array. It reduces the design difficulty and power consumption of a single comparator and improves the system output accuracy.
It effectively reduces the offset error of the comparator array, improves the output accuracy of the data converter, reduces the impact of a single channel fixed error on the overall circuit, and improves the designability of the circuit.
Smart Images

Figure CN115865081B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of semiconductor integrated circuits, and in particular to an error reduction circuit, method and comparator array. Background Art
[0002] In the design of data converters, a comparator array composed of multiple comparators is usually used to compare and quantize the input signal. The offset error of the comparator is an important non-ideal factor that causes the loss of quantization accuracy. In addition, in the actual production process, errors such as process deviation caused by the accuracy of process line equipment will cause the input crystal pair tube, sampling capacitor, etc. inside the comparator to deviate from the ideal value, further worsening the offset error of the comparator, affecting the result of the quantization output, and causing the loss of linearity and accuracy of the entire data converter. Therefore, how to reduce the offset error of the comparator and ensure that the quantization error is within the ideal error range is an urgent problem that technicians in this field need to solve.
[0003] In the prior art, the design optimization is mainly performed on a single comparator in a comparator array. However, this approach will increase the power consumption, area and design difficulty of the single comparator. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides an error reduction circuit, method and comparator array, which solve the problem of how to reduce the error of the comparator array in the prior art.
[0005] In a first aspect, the present invention provides an error reduction circuit, which is applied to a comparator array, wherein the number of comparators in the comparator array is N; the reduction circuit comprises: a random enable signal generator, a coprime filtering unit, a reference voltage generation array, a reference voltage gating unit and a randomized comparator; the random enable signal generator is respectively connected to the comparator array, the coprime filtering unit and the randomized comparator, and is used to generate an enable signal array and a random enable signal, and is also used to transmit the enable signal array to the comparator array and the coprime filtering unit respectively, and is also used to transmit the random enable signal to the randomized comparator; the coprime filtering unit is connected to the reference voltage gating unit, and is used to convert the enable signal array into a control signal array, and send the control signal array to the reference voltage gating unit; the reference voltage generation array is respectively connected to the reference voltage gating unit and the randomized comparator; The random comparator array is connected to the comparator array, and is used to send the generated reference voltage signal array to the comparator array and the reference voltage gating unit respectively; the N-1 comparators in the comparator array are used to start working according to the control of the received enable signal array, and compare the received input signal with the reference voltage array to obtain a comparison result array; the reference voltage gating unit is connected to the randomized comparator, and is used to generate a random reference voltage according to the control signal array and the reference voltage signal array, and transmit the random reference voltage to the randomized comparator; the randomized comparator is used to start working according to the control of the received randomized enable signal, and is also used to compare the received input signal with the random reference voltage to obtain a random comparison result, and is also used to replace the Nth comparator in the comparator array to output the random comparison result; wherein the Nth comparator is not included in the N-1 comparators.
[0006] Optionally, the randomized comparator and the comparator array are also used to receive clock signals at the same frequency, so that the randomized comparator and the comparator array are synchronized.
[0007] Optionally, the random enable signal generator is used to generate an enable signal array and a random enable signal according to the clock signal, wherein N-1 enable signals of the enable signal array in each clock cycle are set high, and the Nth enable signal of the enable signal array in each clock cycle is set low.
[0008] Optionally, N-1 comparators in the comparator array are used to start working according to N-1 high enable signals in the received enable signal array, and the Nth comparator in the comparator array is used to not start working according to the Nth low enable signal in the received enable signal array.
[0009] Optionally, the randomization comparator is used to start working when a received randomization enable signal is set high.
[0010] Optionally, the coprime filtering unit is used to convert the enable signal array into a control signal array, wherein N-1 control signals of the control signal array in each clock cycle are set low, and the Nth enable signal of the control signal array in each clock cycle is set high.
[0011] In a second aspect, the present invention provides an error reduction method, which is applied to the error reduction circuit, and the method includes: a random enable signal generator generates an enable signal array and a random enable signal; a coprime filtering unit converts the enable signal array into a control signal array; a reference voltage generation array generates a reference voltage signal array; N-1 comparators in the comparator array start working according to the control of the received enable signal array; a reference voltage gating unit generates a random reference voltage according to the control signal array and the reference voltage signal array; a randomized comparator starts working according to the control of the received randomized enable signal, compares the received input signal with the random reference voltage to obtain a random comparison result, and outputs the randomized comparison result instead of the Nth comparator in the comparator array.
[0012] Optionally, the method further includes: the randomized comparator and the comparator array receive a clock signal at the same frequency, so that the randomized comparator and the comparator array maintain synchronization.
[0013] Optionally, the random enable signal generator generating an enable signal array and a random enable signal comprises: the random enable signal generator generating an enable signal array and a random enable signal according to the clock signal.
[0014] In a third aspect, the present invention provides a comparator array, comprising the error reduction circuit.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] (1) Compared with the prior art in which the accuracy of a single comparator in a comparator array is improved, a random comparator is used to randomly replace a comparator in a comparator array, thereby reducing the design difficulty and power consumption of a single comparator, saving the comparator area, and improving the designability of the circuit.
[0017] (2) The comparator array is optimized from a system perspective. A randomized comparator is used to randomly replace the comparator array channels, averaging the offset errors from a system perspective, reducing the impact of a single channel fixed error on the overall circuit linearity, thereby improving the output accuracy of the random comparator array from the perspective of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A circuit diagram of an error reduction circuit provided by an embodiment of the present invention;
[0019] Figure 2 A waveform diagram of a clock signal, an enable signal array, a random enable signal and a control signal array provided in an embodiment of the present invention;
[0020] Figure 3 A flowchart of an error reduction method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0023] Figure 1 A circuit diagram of an error reduction circuit provided by an embodiment of the present invention, such as Figure 1 As shown, it is applied to a comparator array COMPAR, wherein the number of comparators in the comparator array COMPAR is N; the reduction circuit comprises: a random enable signal generator RAND, a mutual prime filter unit LPW, a reference voltage generation array VR_ARRY, a reference voltage selection unit VR_MUX and a randomized comparator COMPX;
[0024] The random enable signal generator RAND is connected to the comparator array COMPAR, the coprime filter unit LPW and the randomized comparator COMPX, respectively, and is used to generate an enable signal array K[N:1] and a random enable signal KX, and is also used to transmit the enable signal array K[N:1] to the comparator array COMPAR and the coprime filter unit LPW, respectively, and is also used to transmit the random enable signal KX to the randomized comparator COMPX;
[0025] The mutual prime filter unit LPW is connected to the reference voltage selection unit VR_MUX, and is used to convert the enable signal array K[N:1] into a control signal array S[N:1], and send the control signal array S[N:1] to the reference voltage selection unit VR_MUX;
[0026] The reference voltage generation array VR_ARRY is connected to the reference voltage selection unit VR_MUX and the comparator array COMPAR respectively, and is used to send the generated reference voltage signal array VR[N:1] to the comparator array COMPAR and the reference voltage selection unit VR_MUX respectively;
[0027] The N-1 comparators in the comparator array COMPAR are used to start working according to the control of the received enable signal array K[N-1:1], and compare the received input signal VIN with the reference voltage array to obtain a comparison result array;
[0028] The reference voltage selection unit VR_MUX is connected to the random comparator COMPX, and is used to generate a random reference voltage VRX according to the control signal array S[N:1] and the reference voltage signal array VR[N:1], and transmit the random reference voltage VRX to the random comparator COMPX;
[0029] The randomized comparator COMPX is used to start working according to the control of the received randomized enable signal, and is also used to compare the received input signal VIN with the random reference voltage VRX to obtain a random comparison result, and is also used to replace the Nth comparator in the comparator array COMPAR to output the random comparison result; wherein the Nth comparator is not included in the N-1 comparators.
[0030] In this embodiment, the random enable signal generator RAND generates an enable signal array K[N:1] and a random enable signal KX, so that the comparator array COMPAR can work according to the control of the enable signal array K[N:1], wherein each enable signal in the enable signal array K[N:1] corresponds to each comparator in the comparator array COMPAR one by one, and the random enable signal KX controls the random comparator to start working, and the N-1 comparators in the comparator array COMPAR start working according to the enable signal array K[N:1]; the reference voltage generating unit generates an array for generating a reference voltage signal array VR[N:1]; the N-1 comparators in the comparator array COMPAR start working according to the control of the received enable signal array K[N-1:1], and after starting, each comparator in the comparator array COMPAR compares the input signal VIN with the reference voltage signal and outputs the comparison result, and the Nth comparator is not started. Therefore, the comparison result is not outputted either; the reference voltage selection unit VR_MUX generates a random reference voltage VRX according to the control signal array S[N:1] and the reference voltage signal array VR[N:1]; after the randomized comparator COMPX starts working, the input signal VIN is compared with the randomized reference voltage VRX to obtain a random comparison result, and the comparator in the unstarted comparator array COMPAR is replaced to output the random comparison result; when a comparator with low precision appears in the comparator array COMPAR, the comparison result of any comparator in the comparator array COMPAR is randomly replaced by the randomized comparator COMPX, and each comparator in the comparator array COMPAR has the opportunity to be replaced to output the comparison result, and the comparator with low precision will not output the comparison result every time, thereby reducing the output probability of the comparator with low precision, realizing error matching averaging, and thus improving the output precision of the randomized comparator array COMPAR from the whole system.
[0031] It should be noted that the performance of the randomized comparator COMPX is good, the accuracy of the comparison result output is good, and the accuracy of the randomized comparator COMPX can be improved by a peripheral protection circuit or the like.
[0032] In another embodiment of the present invention, the randomized comparator COMPX and the comparator array COMPAR are further configured to receive a clock signal CLK at the same frequency, so that the randomized comparator COMPX and the comparator array COMPAR are synchronized.
[0033] In this embodiment, the randomized comparator COMPX and the comparator array COMPAR receive the clock signal CLK at the same frequency, so that the randomized comparator COMPX and the comparator array COMPAR can maintain synchronous operation.
[0034] Figure 2A waveform diagram of a clock signal CLK, an enable signal array K[N:1], a random enable signal KX and a control signal array S[N:1] provided by an embodiment of the present invention, such as Figure 2 As shown, the random enable signal KX generator RAND is used to generate an enable signal array K[N:1] and a random enable signal KX according to the clock signal CLK, wherein the N-1 enable signals of the enable signal array K[N:1] are set high in each clock cycle, and the Nth enable signal of the enable signal array K[N:1] is set low in each clock cycle.
[0035] The N-1 comparators in the comparator array COMPAR are used to start working according to the N-1 high enable signals in the received enable signal array K[N:1], and the Nth comparator in the comparator array COMPAR is used to not start working according to the Nth low enable signal in the received enable signal array K[N:1].
[0036] The randomization comparator COMPX is used to start working when the received randomization enable signal is set high.
[0037] The coprime filtering unit LPW is used to convert the enable signal array K[N:1] into a control signal array S[N:1], wherein N-1 control signals of the control signal array S[N:1] in each clock cycle are set low, and the Nth enable signal of the control signal array S[N:1] in each clock cycle is set high.
[0038] In this embodiment, by setting N-1 enable signals high, the N-1 comparators in the comparator array COMPAR are controlled to start working and can output comparison results normally. The N-th enable signal in the comparator enable signal array K[N:1] is set low, so as to control the N-th comparator in the comparator array COMPAR not to start, so that the randomized comparator COMPX can replace the comparator to output the comparison result. The mutual prime filter unit LPW converts the enable signal array K[N:1] into a control signal array S[N:1], wherein the N-1 control signals of the control signal array S[N:1] in each clock cycle are set low, and the N-th enable signal of the control signal array S[N:1] in each clock cycle is set high, so as to Figure 2It can be seen that the waveform models of the control signal array S[N:1] and the enable signal array K[N:1] are opposite, so the comparator that is not started in the current cycle can be determined, and then the control signal array S[N:1] is transmitted to the reference voltage selection unit VR_MUX; the reference voltage selection unit VR_MUX can determine the reference voltage that should be input to the unstarted comparator according to the control signal array S[N:1], that is, the random reference voltage VRX, and transmit it to the randomized comparator COMPX. The randomized comparator COMPX can obtain a random comparison result based on the comparison of the input voltage and the random reference voltage VRX.
[0039] Specifically, the first comparator COMP[1] receives an input signal VIN, a clock signal CLK, an enable signal K[1] and a comparison reference voltage signal VR[1]. When the enable signal K[1] is set high, the comparator is used to compare the values of the input signal VIN and the comparison reference voltage signal VR[1], and outputs a comparison result T[1]. The second comparator unit COMP[2] receives an input signal VIN, a clock signal CLK, an enable signal K[2] and a comparison reference voltage signal VR[2]. When the enable signal K[2] is set high, the comparator is used to compare the values of the input signal VIN and the comparison reference voltage signal VR[2], and outputs a comparison result T[2]. The rest are compared and output in sequence. The N-1th comparator COMP[N-1] receives an input signal VIN, a clock signal CLK, an enable signal K[N-1] and a comparison reference voltage signal VR[N-1]. When the enable signal K[N-1] is set high, it is used to compare the values of the input signal VIN and the comparison reference voltage signal VR[N-1], and output a comparison result T[N-1]. The Nth comparator unit COMP[N] receives an input signal VIN, a clock signal CLK, an enable signal K[N] and a comparison reference voltage signal VR[N]. When the enable signal K[N] is set high, it is used to compare the values of the input signal VIN and the comparison reference voltage signal VR[N], and output a comparison result T[N].
[0040] Figure 3 A flowchart of an error reduction method provided by an embodiment of the present invention is as follows: Figure 3 As shown, the method is applied to the above circuit, and the method includes:
[0041] Step S110: The random enable signal generator generates an enable signal array and a random enable signal.
[0042] In step S110, the random enable signal generator generates an enable signal array and a random enable signal according to the clock signal. The enable signal array sets N-1 enable signals high in each clock cycle, and sets the Nth enable signal low in each clock cycle.
[0043] The enable signal array is used to control the comparator array to start working, and the random enable signal is used to control the random comparator to start working. Specifically, the N-1 comparators in the comparator array are used to start working according to the N-1 high enable signals in the enable signal array received, and the Nth comparator in the comparator array is used to not start working according to the Nth low enable signal in the enable signal array received.
[0044] Step S120: the mutual prime filtering unit converts the enable signal array into a control signal array.
[0045] In step S120 , N−1 control signals of the control signal array in each clock cycle are set low, and the Nth enable signal of the control signal array in each clock cycle is set high.
[0046] Step S130: A reference voltage signal array generated by a reference voltage generation array.
[0047] By generating a reference voltage signal array, the comparator array can compare the input signal with the reference voltage signal array respectively.
[0048] Step S140: N-1 comparators in the comparator array start working according to the control of the received enable signal array.
[0049] The Nth comparator in the comparator array does not start working, and the operation of the comparator is replaced by outputting a random comparison result by randomizing the comparator.
[0050] Step S150: the reference voltage gating unit generates a random reference voltage according to the control signal array and the reference voltage signal array.
[0051] By obtaining a random reference voltage for randomization, the comparator can compare the reference voltage with the input signal and output a random comparison result.
[0052] Step S160: the randomized comparator starts working according to the control of the received randomized enable signal, compares the received input signal with the random reference voltage to obtain a randomized comparison result, and replaces the Nth comparator in the comparator array to output the randomized comparison result.
[0053] Through the error reduction method provided by this embodiment, when a comparator with low precision appears in the comparator array, the comparison result of any comparator in the comparator array is randomly replaced by a randomized comparator, and each comparator in the comparator array has the opportunity to be replaced to output a comparison result. The comparator with low precision will not output a comparison result every time, thereby reducing the output probability of the comparator with low precision, realizing error matching averaging, and thus improving the output accuracy of the random comparator array from the entire system.
[0054] In another embodiment of the present invention, the random enable signal generator generates the method further comprising:
[0055] Step S200: the randomized comparator receives a clock signal at the same frequency as the comparator array, so that the randomized comparator and the comparator array are synchronized.
[0056] In another embodiment of the present invention, a comparator array is provided, the comparator array includes the above-mentioned error reduction circuit, and the number of comparators is N; the reduction circuit includes: a random enable signal generator, a coprime filter unit, a reference voltage generation array, a reference voltage gating unit and a randomized comparator;
[0057] The random enable signal generator is connected to the comparator array, the coprime filter unit and the randomized comparator respectively, and is used to generate an enable signal array and a random enable signal, and is also used to transmit the enable signal array to the comparator array and the coprime filter unit respectively, and is also used to transmit the random enable signal to the randomized comparator;
[0058] The mutual prime filtering unit is connected to the reference voltage gating unit, and is used to convert the enable signal array into a control signal array, and send the control signal array to the reference voltage gating unit;
[0059] The reference voltage generation array is connected to the reference voltage gating unit and the comparator array respectively, and is used to send the generated reference voltage signal array to the comparator array and the reference voltage gating unit respectively;
[0060] The N-1 comparators in the comparator array are used to start working according to the control of the received enable signal array, and compare the received input signal with the reference voltage array to obtain a comparison result array;
[0061] The reference voltage gating unit is connected to the randomized comparator, and is used to generate a random reference voltage according to the control signal array and the reference voltage signal array, and transmit the random reference voltage to the randomized comparator;
[0062] The randomized comparator is used to start working according to the control of the received randomized enable signal, and is also used to compare the received input signal with the random reference voltage to obtain a random comparison result, and is also used to replace the Nth comparator in the comparator array to output the random comparison result; wherein the Nth comparator is not included in the N-1 comparators.
[0063] In another embodiment of the present invention, it includes a comparator array COMPAR, a randomized comparator COMPX, a random enable signal generator RAND, a reciprocal filter unit LPW, a reference voltage generation array VR_ARRY, a reference voltage selection unit VR_MUX, an input signal VIN, and a clock signal CLK.
[0064] Among them, a comparator array COMPAR has only 5 comparators in the data converter.
[0065] The random enable signal generator RAND receives the clock signal CLK, and is used to generate the enable signal array K[5:1] and the random enable signal KX for controlling the comparator array COMPAR. The enable signal array K[5:1] is used to control whether the comparator unit COMP[5:1] in the comparator array COMPAR is turned on and the random enable signal KX is used to control whether the randomized comparator COMPX is turned on and on. The mutual prime filter unit LPW receives the enable signal array K[5:1], and is used to generate the control signal array S[5:1]. The reference voltage generation array VR_ARRY is used to generate the comparison reference voltage signal array VR[5:1] of the comparator array COMPAR. The reference voltage selection unit VR_MUX receives the control signal array S[5:1] and the comparison reference voltage signal array VR[5:1], and is used to generate the random reference voltage VRX of the randomized comparator COMPX unit. The value of the random reference voltage VRX is randomly equal to one of the values of the comparison reference voltage signal array VR[5:1]. The comparator array COMPAR[5:1] receives the input signal VIN, the clock signal CLK, the enable signal array K[5:1] and the comparison reference voltage signal array VR[5:1]. When the enable signal K[5:1] is set high, it is used to compare the input signal VIN with the comparison reference voltage signal array VR[5:1] and output the comparison result array T[5:1]. The randomized comparator COMPX receives the input signal VIN, the clock signal CLK, the random enable signal KX and the random reference voltage VRX. When the random enable signal KX is set high, it is used to compare the input signal VIN with the comparison reference voltage VRX and output the random comparison result TX. In the comparator array COMPAR[5:1], the random 4-bit enable signal in the enable signal array K[5:1] is set high and the 1-bit enable signal is set low, so that 4 comparators in the comparator array COMPAR[5:1] are turned on and 1 comparator is not turned on. The comparison result array T[5:1] outputs a 4-bit comparison result, and the missing 1-bit comparison result is replaced by the random comparison result TX of the randomized comparator COMPX, thereby realizing mismatch error averaging, which is used in the data converter to reduce the comparison error probability caused by channel mismatch in the comparator array COMPAR[5:1].
[0066] The comparator array COMPAR includes N comparator units COMP. The first comparator unit COMP[1] receives an input signal VIN, a clock signal CLK, an enable signal K[1] and a reference voltage signal VR[1]. When the enable signal K[1] is set high, the comparator unit COMP[1] is used to compare the input signal VIN with the reference voltage signal VR[1] and output a comparison result T[1]. The second comparator unit COMP[2] receives an input signal VIN, a clock signal CLK, an enable signal K[2] and a reference voltage signal VR[2]. When the enable signal K[2] is set high, the comparator unit COMP[2] is used to compare the input signal VIN with the reference voltage signal VR[2] and output a comparison result T[2]. The rest of the comparator units are compared and output in sequence. The 4th comparator unit COMP[4] receives the input signal VIN, the clock signal CLK, the enable signal K[4] and the reference voltage signal VR[4]. When the enable signal K[4] is set high, it is used to compare the values of the input signal VIN and the reference voltage signal VR[4], and outputs a comparison result T[4]. The Nth comparator unit COMP[5] receives the input signal VIN, the clock signal CLK, the enable signal K[5] and the reference voltage signal VR[5]. When the enable signal K[5] is set high, it is used to compare the values of the input signal VIN and the reference voltage signal VR[5], and outputs a comparison result T[5].
[0067] like Figure 1 As shown, the random enable signal generator RAND receives the clock signal CLK, and is used to generate the enable signal array K[5:1] and the random enable signal KX for controlling the comparator array COMPAR. The enable signal array K[5:1] is synchronized with the clock signal CLK, and only one signal in each clock cycle of the enable signal array K[5:1] is set low, and the other four signals are set high. The signal set low is a random signal in the enable signal array K[5:1]. The random enable signal KX is set high at the same frequency as the clock signal CLK.
[0068] like Figure 2 As shown, the mutual prime filter unit LPW receives the enable signal array K[5:1] to generate the control signal array S[5:1]. In each clock cycle, only one signal in the control signal array S[5:1] is set high, and the remaining four cycle signals are set low; the high signal is complementary to the randomly low signal in the enable signal array K[5:1].
[0069] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. An error reduction circuit, It is characterized in that Applied to a comparator array, wherein the number of comparators in the comparator array is N; the reduction circuit comprises: a random enable signal generator, a coprime filter unit, a reference voltage generation array, a reference voltage gating unit and a randomized comparator; The random enable signal generator is connected to the comparator array, the coprime filter unit and the randomized comparator respectively, and is used to generate an enable signal array and a random enable signal, and is also used to transmit the enable signal array to the comparator array and the coprime filter unit respectively, and is also used to transmit the random enable signal to the randomized comparator; The mutual prime filtering unit is connected to the reference voltage gating unit, and is used to convert the enable signal array into a control signal array, and send the control signal array to the reference voltage gating unit; The reference voltage generation array is connected to the reference voltage gating unit and the comparator array respectively, and is used to send the generated reference voltage signal array to the comparator array and the reference voltage gating unit respectively; The N-1 comparators in the comparator array are used to start working according to the control of the received enable signal array, and compare the received input signal with the reference voltage array to obtain a comparison result array; The reference voltage gating unit is connected to the randomized comparator, and is used to generate a random reference voltage according to the control signal array and the reference voltage signal array, and transmit the random reference voltage to the randomized comparator; The randomized comparator is used to start working according to the control of the received randomized enable signal, and is also used to compare the received input signal with the random reference voltage to obtain a random comparison result, and is also used to replace the Nth comparator in the comparator array to output the random comparison result; wherein the Nth comparator is not included in the N-1 comparators.
2. An error reduction circuit as claimed in claim 1, It is characterized in that The randomized comparator and the comparator array are also used to receive clock signals at the same frequency, so that the randomized comparator and the comparator array are synchronized.
3. An error reduction circuit as claimed in claim 2, It is characterized in that The random enable signal generator is used to generate an enable signal array and a random enable signal according to the clock signal, wherein N-1 enable signals of the enable signal array in each clock cycle are set high, and the Nth enable signal of the enable signal array in each clock cycle is set low.
4. An error reduction circuit as claimed in claim 3, It is characterized in that The N-1 comparators in the comparator array are used to start working according to the N-1 high enable signals in the received enable signal array, and the Nth comparator in the comparator array is used to not start working according to the Nth low enable signal in the received enable signal array.
5. An error reduction circuit as claimed in claim 3, It is characterized in that The randomization comparator is used to start working when the received randomization enable signal is set high.
6. An error reduction circuit as claimed in claim 3, It is characterized in that The coprime filtering unit is used to convert the enable signal array into a control signal array, wherein N-1 control signals of the control signal array in each clock cycle are set low, and the Nth enable signal of the control signal array in each clock cycle is set high.
7. An error reduction method, It is characterized in that Applied to the error reduction circuit according to any one of claims 1 to 6, the method comprising: The random enable signal generator generates an enable signal array and a random enable signal; The mutual prime filtering unit converts the enable signal array into a control signal array; An array of reference voltage signals generated by a reference voltage generation array; The N-1 comparators in the comparator array start working according to the control of the received enable signal array; A reference voltage gating unit generates a random reference voltage according to the control signal array and the reference voltage signal array; The randomized comparator starts working according to the control of the received randomized enable signal, compares the received input signal with the random reference voltage to obtain a randomized comparison result, and replaces the Nth comparator in the comparator array to output the randomized comparison result.
8. An error reduction method as claimed in claim 7, It is characterized in that The method further comprises: The randomized comparator receives a clock signal at the same frequency as the comparator array, so that the randomized comparator and the comparator array are synchronized.
9. An error reduction method as claimed in claim 8, It is characterized in that The random enable signal generator generates an enable signal array and a random enable signal including: The random enable signal generator generates an enable signal array and a random enable signal according to the clock signal.
10. A comparator array, It is characterized in that The invention comprises the error reduction circuit as claimed in any one of claims 1 to 6.
