Mismatch calibration method and mismatch calibration system
By using the signal input module and the digital signal processor for mismatch calibration in the time interleaved analog-to-digital converter, the problem of high mismatch calibration costs and high power consumption in the prior art is solved, and the effect of reducing costs and power consumption is achieved. , while simplifying the calibration process.
Patent Information
- Application Number
- CN202411368233.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-29
AI Technical Summary
In the prior art, mismatch calibration of time interleaved analog-to-digital converters has problems of high cost and high power consumption.
Using a mismatch calibration method and system, through signal input module, test branch, time interleaved analog-to-digital converter and digital signal processor, the controller writes offset, gain and timing calibration signals in random memory, and passes digital The signal processor adjusts the operating parameters of the sub-analog-digital converter until the mismatch errors between all sub-analog-digital converters are equal, achieving mismatch calibration.
No additional mismatch calibration circuits are required, reducing hardware complexity and cost, simplifying calibration processes, improving mismatch calibration efficiency and reducing power consumption.
Smart Images

Figure CN118890047B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of mismatch calibration, and in particular to a mismatch calibration method and a mismatch calibration system. Background Art
[0002] The Serializer and Deserializer (SERDES) system is a common high-speed communication system in electronic devices, which is widely used in computer networks, communication systems, storage devices, graphic displays and other fields.
[0003] As the transmission rate continues to increase, the SERDES system architecture design begins to widely adopt digital receiving solutions based on digital signal processors (DSP).
[0004] In a digital signal processor-based SERDES system, the analog to digital converter (ADC) is a key component. In order to achieve accurate analog-to-digital conversion with low power consumption, a time-interleaved ADC (TI-ADC) is usually used as the ADC implementation structure in a high-speed SERDES system.
[0005] The time-interleaved analog-to-digital converter includes multiple sub-analog-to-digital converters (sub ADCs), which are combined in a time-interleaved manner to relax the sampling rate requirements of each sub-analog-to-digital converter, thereby achieving the purpose of reducing the power consumption of the entire time-interleaved analog-to-digital converter.
[0006] However, since the time-interleaved analog-to-digital converter includes multiple sub-analog-to-digital converters, multiple data transmission channels are formed, and there are inherent mismatch effects between the multiple data transmission channels. Among them, the inherent mismatch effects between the data transmission channels of the time-interleaved analog-to-digital converter mainly include offset mismatch, gain mismatch and timing mismatch. The mismatch error between multiple data transmission channels will produce frequency phase difference on the output signal and significantly reduce the performance of the time-interleaved analog-to-digital converter. By accurately estimating and calibrating the mismatch error, the problem of performance degradation of the time-interleaved analog-to-digital converter caused by mismatch can be effectively solved.
[0007] At present, the calibration of mismatch error is mainly achieved by adding a mismatch calibration circuit. The mismatch calibration circuit injects a known reference signal and calibrates the mismatch value between different data transmission channels, so that the offset mismatch value, gain mismatch value and timing mismatch value of each channel tend to 0, thereby improving the performance of the time-interleaved analog-to-digital converter.
[0008] However, adding a mismatch calibration circuit will not only increase the cost, but also increase the power consumption of the entire SERDES system.
[0009] In summary, the mismatch calibration of the time-interleaved analog-to-digital converter in the prior art has the problems of high cost and high power consumption. Summary of the invention
[0010] The purpose of the present application is to provide a mismatch calibration method and a mismatch calibration system to solve the problems of high cost and high power consumption in the prior art for mismatch calibration.
[0011] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0012] In a first aspect, an embodiment of the present application provides a mismatch calibration method, which is applied to a mismatch calibration system, wherein the mismatch calibration system includes a signal input module, a test branch, a time-interleaved analog-to-digital converter, a digital signal processor, and a controller, wherein the signal input module, the test branch, the time-interleaved analog-to-digital converter, and the digital signal processor are connected in sequence, the signal input module includes a random access memory, and the controller is connected to the random access memory and the digital signal processor respectively; the time-interleaved analog-to-digital converter includes a plurality of sub-analog-to-digital converters combined by time interleaving; the method includes:
[0013] When in the calibration mode, the controller writes an offset mismatch calibration signal, a gain mismatch calibration signal and a timing mismatch calibration signal to the random access memory in batches; wherein the offset mismatch calibration signal is a 0V DC signal, the gain mismatch calibration signal is a DC signal greater than 0V, the timing mismatch calibration signal is a sinusoidal signal, and the greatest common divisor of the frequency of the timing mismatch calibration signal and the sampling clock frequency of the time-interleaved analog-to-digital converter is 1;
[0014] The offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal stored in the random access memory are sequentially transmitted to the time-interleaved analog-to-digital converter through the test branch; and each of the sub-analog-to-digital converters outputs a corresponding digital signal to the digital signal processor according to the offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal;
[0015] The digital signal processor adjusts the operating parameters of some or all of the sub-analog-to-digital converters in turn according to the digital signal output by each of the sub-analog-to-digital converters until the offset mismatch error, gain mismatch error and timing mismatch error between all the sub-analog-to-digital converters are respectively less than the corresponding threshold values.
[0016] On the other hand, an embodiment of the present application further provides a mismatch calibration system, the mismatch calibration system is used to perform the above-mentioned mismatch calibration method, the mismatch calibration system includes a signal input module, a test branch, a time-interleaved analog-to-digital converter, a digital signal processor and a controller, the signal input module, the test branch, the time-interleaved analog-to-digital converter and the digital signal processor are connected in sequence, the signal input module includes a random access memory, the controller is connected to the random access memory and the digital signal processor respectively; the time-interleaved analog-to-digital converter includes a plurality of sub-analog-to-digital converters combined by time interleaving;
[0017] When in the calibration mode, the controller is used to write an offset mismatch calibration signal, a gain mismatch calibration signal and a timing mismatch calibration signal to the random access memory in batches; wherein the offset mismatch calibration signal is a 0V DC signal, the gain mismatch calibration signal is a DC signal greater than 0V, the timing mismatch calibration signal is a sinusoidal signal, and the greatest common divisor of the frequency of the timing mismatch calibration signal and the sampling clock frequency of the time-interleaved analog-to-digital converter is 1;
[0018] The offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal stored in the random access memory are sequentially transmitted to the time-interleaved analog-to-digital converter through the test branch; and each of the sub-analog-to-digital converters is used to output a corresponding digital signal to the digital signal processor according to the offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal;
[0019] The digital signal processor is used to adjust the operating parameters of some or all of the sub-analog-to-digital converters in turn according to the digital signal output by each of the sub-analog-to-digital converters until the offset mismatch error, gain mismatch error and timing mismatch error of all the sub-analog-to-digital converters are respectively equal.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] An embodiment of the present application provides a mismatch calibration method, which is applied to a mismatch calibration system. The mismatch calibration system includes a signal input module, a test branch, a time-interleaved analog-to-digital converter, a digital signal processor and a controller. The signal input module, the test branch, the time-interleaved analog-to-digital converter and the digital signal processor are connected in sequence. The signal input module includes a random access memory, and the controller is respectively connected to the random access memory and the digital signal processor; the time-interleaved analog-to-digital converter includes a plurality of sub-analog-to-digital converters combined by time interleaving; when in a calibration mode, the controller writes an offset mismatch calibration signal, a gain mismatch calibration signal and a timing mismatch calibration signal to the random access memory in batches, and the digital signal processor adjusts the operating parameters of some or all of the sub-analog-to-digital converters in sequence according to the digital signal output by each sub-analog-to-digital converter until the offset mismatch error, gain mismatch error and timing mismatch error of all the sub-analog-to-digital converters are respectively equal.
[0022] On the one hand, since the SERDES system needs to perform tests such as bit error rate, it is necessary to set up inherent modules such as test branches and random access memories. In the mismatch calibration method provided by the present application, the controller is directly used to write the corresponding calibration signal in the random access memory, and then the signal is transmitted to the time-interleaved analog-to-digital converter through the test branch, so that the digital signal processor can calibrate the offset mismatch error, gain mismatch error and timing mismatch error of all sub-analog-to-digital converters in turn according to the digital signal output by each sub-analog-to-digital converter. On this basis, the entire mismatch calibration scheme is based on the inherent module implementation of the SERDES system, without the need to add additional mismatch calibration circuits, reducing the hardware complexity, and thus achieving the effect of reducing cost and power consumption.
[0023] On the other hand, since the inherent mismatch effect of each sub-ADC is difficult to adjust, it is difficult to adjust the offset mismatch value, gain mismatch value and timing mismatch value to 0. Compared with the traditional method of adjusting specific mismatch values so that the offset mismatch value, gain mismatch value and timing mismatch value are all adjusted to 0, the present application only needs to adjust the mismatch error between different sub-ADCs so that the mismatch value between each sub-ADC is equal, without adjusting the mismatch value of each sub-ADC to 0, thereby greatly reducing the difficulty of mismatch calibration.
[0024] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 A schematic diagram of a module of a mismatch calibration system provided in an embodiment of the present application.
[0027] Figure 2 Another module schematic diagram of the mismatch calibration system provided in an embodiment of the present application.
[0028] Figure 3 An exemplary flow chart of the mismatch calibration method provided in an embodiment of the present application.
[0029] Figure 4 Provided in the embodiments of this application Figure 3 An exemplary flowchart of the sub-steps of S106.
[0030] Figure 5 Provided in the embodiments of this application Figure 4 An exemplary flowchart of one of the sub-steps of S1061.
[0031] Figure 6 Provided in the embodiments of this application Figure 4 Another exemplary flowchart of the sub-steps of S1061.
[0032] Figure 7 Provided in the embodiments of this application Figure 4 An exemplary flowchart of one of the sub-steps of S1062.
[0033] Figure 8 Provided in the embodiments of this application Figure 4 Another exemplary flowchart of the sub-steps of S1062.
[0034] Fig. 9 Provided in the embodiments of this application Figure 4 An exemplary flowchart of the sub-steps of S1063.
[0035] Fig.10 A module diagram of a digital signal processor provided in an embodiment of the present application.
[0036] In the figure:
[0037] 110-signal input module; 111-random access memory; 112-first selector X1; 113-digital-to-analog converter; 120-test branch; 130-time interleaved analog-to-digital converter; 140-digital signal processor; 141-feedforward equalizer; 142-decision feedback equalizer; 143-offset mismatch calibration module; 144-gain mismatch calibration module; 145-timing mismatch calibration module; 150-controller; 160-main path; 170-second selector X2. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0039] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0040] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0041] It should be noted that, in this document, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0042] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0043] As described in the background technology, currently, in the SERDES system, in order to achieve accurate analog-to-digital conversion under the premise of low power consumption, a time-interleaved analog-to-digital converter can be used as the implementation structure of analog-to-digital conversion in the high-speed SERDES system. The time-interleaved analog-to-digital converter is composed of multiple sub-analog-to-digital converters combined in a time-interleaved manner, and then during data transmission, multiple sub-analog-to-digital converters can be used to reduce the sampling rate requirements.
[0044] For example, when data needs to be transmitted at a rate of 32 GHz, if a traditional single-channel analog-to-digital converter is used, its sampling rate requirement is 32 GHz, the sampling rate of the entire system is high, and the power consumption is large. However, if a time-interleaved analog-to-digital converter is used, such as an 8-channel time-interleaved analog-to-digital converter (that is, the time-interleaved analog-to-digital converter includes 8 sub-analog-to-digital converters), the sampling rate requirement for each sub-analog-to-digital converter is only 4 GHz, thus greatly reducing the sampling rate requirement and achieving the purpose of reducing the power consumption of the entire time-interleaved analog-to-digital converter.
[0045] However, due to the inherent mismatch effect in each channel, the mismatch error will produce frequency out-of-phase on the output signal, thus affecting the performance of the time-interleaved ADC.
[0046] Specifically, under ideal conditions, the output of the time-interleaved analog-to-digital converter satisfies the formula:
[0047]
[0048] in, Indicates the sampling value of the nth sampling point in the digital signal output by the kth sub-ADC, V in represents the input signal of the time-interleaved ADC, M is the total number of sub-ADCs, T s is the equivalent system sampling interval of the time-interleaved ADC, represents the kth subchannel of the time-interleaved analog-to-digital converter The input analog signal is sampled at a sampling interval.
[0049] However, due to the inherent mismatch effect, the actual output of the time-interleaved ADC satisfies the formula:
[0050]
[0051] in, represents the offset mismatch value, represents the gain mismatch value, represents the timing mismatch value, k=0, 1, 2..., M-1, n=0, 1, 2.... Due to the existence of offset mismatch, gain mismatch and timing mismatch, the mismatch values of all sub-ADCs are different, resulting in mismatch errors between channels.
[0052] For example, in a time-interleaved ADC, if the offset mismatch value of one sub-ADC is 0.1 and the offset mismatch value of the other sub-ADC is 0.2, then for the same input analog signal, there will be a difference between the digital signals output by the two sub-ADCs, resulting in frequency phase difference on the output signal.
[0053] Therefore, in order to improve the performance of the time-interleaved analog-to-digital converter, it is necessary to calibrate the mismatch error between channels. At present, the traditional calibration method is to add a mismatch calibration circuit on the basis of the SERDES system, and use the mismatch calibration circuit to calibrate the offset mismatch value, gain mismatch value and timing mismatch value of each analog-to-digital converter, so that the offset mismatch value, gain mismatch value and timing mismatch value are as close to 0 as possible, thereby reducing the mismatch error between each sub-analog-to-digital converter.
[0054] However, implementing mismatch calibration by adding a mismatch calibration circuit not only increases the occupied area of the entire SERDES system, but also increases the cost and power consumption.
[0055] In view of this, in order to reduce the cost and power consumption of mismatch calibration, the present application provides a mismatch calibration system, which achieves the purpose of reducing cost and power consumption by not adding additional mismatch calibration circuits.
[0056] As an implementation, see Figure 1 The mismatch calibration system includes a signal input module 110, a test branch 120, a time-interleaved analog-to-digital converter 130, a digital signal processor 140 and a controller 150. The signal input module 110, the test branch 120, the time-interleaved analog-to-digital converter 130 and the digital signal processor 140 are connected in sequence. The signal input module 110 includes a random access memory 111, and the controller 150 is respectively connected to the random access memory 111 and the digital signal processor 140; the time-interleaved analog-to-digital converter 130 includes a plurality of sub-analog-to-digital converters combined by time interleaving.
[0057] Among them, see Figure 2 The SERDES system (i.e., the mismatch calibration system provided by the present application) generally includes a main path 160 and a test branch 120. When in a normal working state, the system will select to conduct the main path 160 to achieve serial communication. When the system is in a test state, the system will select to conduct the test branch 120 and implement the test of related parameters through the test branch 120, such as the bit error rate test.
[0058] Specifically, the signal input module 110 includes a transmitting end, a random access memory 111, and a first selector 112 ( Figure 2X1) and a digital-to-analog converter 113, a transmitting end is connected to a first input end of a first selector 112, a random access memory 111 is connected to a second input end of the first selector 112, an output end of the first selector 112 is connected to the digital-to-analog converter 113, and a control end of the first selector 112 is connected to a controller 150.
[0059] The SERDES system further includes a second selector 170 ( Figure 2 In X2, the digital-to-analog converter 113 is connected to the first input end of the second selector 170 through the main path 160, and is connected to the second input end of the second selector 170 through the test branch 120. The output end of the second selector 170 is connected to the digital signal processor 140, and the control end of the second selector 170 is connected to the controller 150.
[0060] When normal operation is required (i.e., when communication is achieved using the SERDES system), the controller 150 sends a control signal to the first selector 112 and the second selector 170, so that the first selector 112 and the second selector 170 both select the signal at the first input end as the output. At this time, the signal input from the transmitting end passes through the first selector 112 and is transmitted to the main path 160 through the digital-to-analog converter 113. The main path 160 generally includes a channel, a continuous time linear equalization module (CTLE) and an automatic gain control module (AGC). After passing through the main path 160, the recovered data signal and clock signal are input to the time-interleaved analog-to-digital converter 130 through the second selector 170. Figure 2 In FIG. 1 , S0, S1, ..., Sn-1 represent sub-ADCs respectively, and S0, S1, ..., Sn-1 together constitute a time-interleaved ADC 130. Through the function of the time-interleaved ADC 130, the final output is transmitted to the digital signal processor 140.
[0061] The digital signal processor 140 generally includes a feed forward equalizer 141 (Feed Forward Equalizer, FFE) and a decision feedback equalizer 142 (Decision Feedback Equalizer, DFE). After the digital signal processor 140 processes the signal, the processed signal is sent to the deserializer and finally outputted through the deserializer.
[0062] When in the test state, the controller 150 sends a control signal to the first selector 112 and the second selector 170, so that the first selector 112 and the second selector 170 both select the signal at the second input end as the output. In addition, the system writes specific test data in the random access memory 111. After the test signal passes through the first selector 112 and the digital-to-analog converter 113, it is sent to the time-interleaved analog-to-digital converter 130 through the test branch 120, and then processed by the digital signal processor 140 to implement the bit error rate test.
[0063] Therefore, in an existing SERDES system, two signal flow paths are generally constructed, one of which is a signal flow path in a normal operating mode, and the other is a test path.
[0064] In the present application, when performing mismatch calibration of the time-interleaved analog-to-digital converter 130, the test branch 120 is used to implement it, thereby eliminating the need to add an additional mismatch calibration circuit, thereby reducing costs and effectively reducing power consumption.
[0065] As an implementation method, based on the above mismatch calibration system, this application provides a mismatch calibration method, please refer to Figure 3 , the method comprising:
[0066] S102, when in calibration mode, the controller 150 writes the offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal to the random access memory 111 in batches; wherein the offset mismatch calibration signal is a DC signal of 0V, the gain mismatch calibration signal is a DC signal greater than 0V, the timing mismatch calibration signal is a sinusoidal signal, and the greatest common divisor of the frequency of the timing mismatch calibration signal and the sampling clock frequency of the time-interleaved analog-to-digital converter 130 is 1.
[0067] S104, the offset mismatch calibration signal, gain mismatch calibration signal and timing mismatch calibration signal stored in the random access memory 111 are transmitted to the time-interleaved analog-to-digital converter 130 in sequence through the test branch 120; and each sub-analog-to-digital converter outputs a corresponding digital signal to the digital signal processor 140 based on the offset mismatch calibration signal, gain mismatch calibration signal and timing mismatch calibration signal.
[0068] S106, the digital signal processor 140 adjusts the operating parameters of some or all of the sub-analog-to-digital converters in turn according to the digital signal output by each sub-analog-to-digital converter until the offset mismatch error, gain mismatch error and timing mismatch error between all the sub-analog-to-digital converters are respectively less than the corresponding threshold values.
[0069] It can be seen that when performing mismatch calibration, the present application does not adjust the offset mismatch value, gain mismatch value and timing mismatch value of each sub-ADC to 0, but adjusts the mismatch error between different sub-ADCs so that the mismatch value between each sub-ADC is equal. Through this adjustment method, the difficulty of mismatch calibration can be effectively reduced, thereby completing mismatch calibration without adding additional mismatch calibration circuits.
[0070] As an implementation method, when performing mismatch calibration, the offset mismatch error, gain mismatch error, and timing mismatch error can be adjusted in sequence, and finally the mismatch calibration of all sub-ADCs can be achieved. On this basis, please refer to Figure 4 , S106 includes:
[0071] S1061, after the controller 150 writes the offset mismatch calibration signal to the random access memory 111, the digital signal processor 140 adjusts the DC bias of part or all of the sub-analog-to-digital converters according to the first digital signal output by each sub-analog-to-digital converter until the offset mismatch errors between all sub-analog-to-digital converters are less than the first threshold, and sends a first aligned signal to the controller 150, so that the controller 150 writes the gain mismatch calibration signal to the random access memory 111 after receiving the first aligned signal.
[0072] S1062, after the controller 150 writes the gain mismatch calibration signal to the random access memory 111, the digital signal processor 140 adjusts the gain parameters of some or all of the sub-analog-to-digital converters according to the second digital signal output by each sub-analog-to-digital converter until the gain mismatch errors between all the sub-analog-to-digital converters are less than the second threshold value, and sends a second aligned signal to the controller 150; so that the controller 150 writes the timing mismatch calibration signal to the random access memory 111 after receiving the second aligned signal.
[0073] S1063, after the controller 150 writes the timing mismatch calibration signal to the random access memory 111, the digital signal processor 140 adjusts the reference clock of part or all of the sub-analog-to-digital converters according to the third digital signal output by each sub-analog-to-digital converter until the timing mismatch errors between all sub-analog-to-digital converters are less than the third threshold, and sends a third aligned signal to the controller 150.
[0074] That is, in the present application, three different signals are written into the random access memory 111 by the controller 150, and then the mismatch calibration of all sub-analog-to-digital converters is realized in sequence by the digital signal processor 140. Specifically, when the controller 150 writes a 0V DC signal to the random access memory 111, the digital signal processor 140 can calibrate the offset mismatch error of all sub-analog-to-digital converters accordingly. When the controller 150 writes a DC signal greater than 0V to the random access memory 111, the digital signal processor 140 can calibrate the gain mismatch error of all sub-analog-to-digital converters accordingly. When the controller 150 writes a specific sinusoidal signal to the random access memory 111, the digital signal processor 140 can calibrate the timing mismatch error of all sub-analog-to-digital converters accordingly. Therefore, in the mismatch calibration method provided by the present application, only three rounds of mismatch error calibration are needed to realize the calibration of offset mismatch error, gain mismatch error and timing mismatch error, which simplifies the calibration process and improves the efficiency of mismatch calibration.
[0075] The following describes each mismatch error calibration in turn:
[0076] According to the formula:
[0077]
[0078] It can be seen that when V in =0, The value is equal to , and it can be seen from the formula that when performing mismatch error calibration, calibration for the offset mismatch error is the basis. Therefore, in the first round of mismatch calibration, calibration for the offset mismatch error is performed.
[0079] As an implementation of this application, please refer to Figure 5 When performing offset mismatch error calibration, the steps of S1061 include:
[0080] S1061 - 1 , the digital signal processor 140 determines the offset mismatch value of each sub-ADC according to the expectation of the first digital signal outputted by each sub-ADC.
[0081] S1061-2, when the offset mismatch value is greater than the first threshold, the digital signal processor 140 adjusts its DC bias until the offset mismatch value is less than the first threshold.
[0082] That is, in this implementation, the specific offset mismatch value of each sub-ADC is directly determined. The offset mismatch value of each sub-ADC satisfies the formula:
[0083]
[0084] in, represents the offset mismatch value, Represents the expectation of the first digital signal output by the kth sub-ADC.
[0085] In this implementation, the digital signal processor 140 can calculate the offset mismatch value of each sub-ADC and then adjust the DC bias of the sub-ADC so that the offset mismatch value of each sub-ADC can be less than the first threshold.
[0086] It should be noted that the first threshold value provided in the present application should be set close to 0 so that the offset mismatch value can approach 0. For example, the first threshold value can be set to 0.05. On this basis, if the offset mismatch value of the sub-ADC satisfies the condition of being less than the first threshold value, it can be determined that the offset mismatch value has been calibrated to 0. Of course, in practical applications, the first threshold value can be adjusted according to the actual accuracy requirements. For example, if the first threshold value is reduced, the calibration accuracy of the offset mismatch error can be higher.
[0087] It should also be noted that when the DC bias is adjusted, it can be adjusted in a smaller step size, for example, each adjustment step size is one fifth or one tenth of the first threshold value.
[0088] Based on the above offset mismatch error calibration principle, this application is described in detail with the following examples:
[0089] For example, the number of sub-ADCs is 8. After the controller 150 writes a 0V DC signal to the random access memory 111, the digital signal processor 140 can receive the first digital signals output by the 8 sub-ADCs. At this time, the digital signal processor 140 will first calibrate the offset mismatch error of the first sub-ADC, that is, first calculate its expectation according to the first digital signal output by the first sub-ADC, and use it as the offset mismatch value. If the offset mismatch value is 0.1, if the first threshold is set to 0.02, then the digital signal processor 140 will adjust the DC bias of the first sub-ADC, for example, according to the step size of 0.005, that is, the DC bias of the first sub-ADC is a, then the digital signal processor 140 will adjust the DC bias to a-0.005 or a+0.005. Afterwards, the digital signal processor 140 will calculate the expectation based on the first digital signal output by the first sub-ADC. If the expectation is updated to 0.05, it means that further adjustment is required. If the expectation is updated to 0.01, it means that the calibration of the offset mismatch error has met the conditions.
[0090] By continuously adjusting the DC bias, the offset mismatch value of the first sub-ADC can be adjusted to below the first threshold. Then, the digital signal processor 140 will adjust the DC bias of the second sub-ADC in the same way. For example, if the offset mismatch value of the second sub-ADC is 0.2, the DC bias will be adjusted successively until the offset mismatch value is less than the first threshold. After the mismatch calibration of the second sub-ADC, the mismatch calibration of the remaining sub-ADCs is performed in turn until the mismatch calibration of all sub-ADCs is completed.
[0091] It should be noted that, in a possible implementation, in order to quickly implement calibration, the digital signal processor 140 can determine a specific adjustment step size according to the offset mismatch value calculated each time, such as the larger the offset mismatch value, the larger the step size of adjusting the DC bias. For example, when the offset mismatch value is 0.2, the step size of adjusting the DC bias is 0.05, so that the offset mismatch value changes quickly; and when the offset mismatch value is 0.1, the step size of adjusting the DC bias is 0.02, so as to accurately adjust the offset mismatch value to ensure that it can meet the requirement of being less than the first threshold.
[0092] It should also be noted that when the offset mismatch value of each sub-analog-to-digital converter is adjusted to be less than the first threshold value, that is, the offset mismatch value of each sub-analog-to-digital converter has defaulted to 0, then the difference in the offset mismatch value between every two sub-analog-to-digital converters is also basically zero, thereby achieving the adjustment of the offset mismatch error.
[0093] As another implementation of this application, please refer to Figure 6 When performing offset mismatch error calibration, the steps of S1061 include:
[0094] S1061-3, use any sub-analog-to-digital converter as a reference converter and the remaining sub-analog-to-digital converters as converters to be aligned, and the digital signal processor 140 determines the offset mismatch error of each converter to be aligned based on the difference between the expected first digital signal output by the reference converter and the expected first digital signal output by each converter to be aligned.
[0095] S1061-4, when the offset mismatch error is greater than the first threshold, the digital signal processor 140 adjusts the DC bias of the converter to be aligned until the offset mismatch error is less than the first threshold.
[0096] That is, in this implementation, the offset mismatch error is directly adjusted so that the offset mismatch error can approach 0, rather than adjusting the specific offset mismatch value to approach 0. The offset mismatch error described in this application refers to the difference between the offset mismatch values of every two sub-analog-to-digital converters. For example, the offset mismatch value of the first sub-analog-to-digital converter is 0.1, and the offset mismatch value of the second sub-analog-to-digital converter is 0.2, then the offset mismatch error between the first sub-analog-to-digital converter and the second sub-analog-to-digital converter is 0.2-0.1=0.1.
[0097] The offset mismatch error satisfies the formula:
[0098]
[0099] represents the offset mismatch error, It represents the sampling value of the nth sampling point in the digital signal output by the kth sub-ADC. represents the expectation of the first digital signal output by the kth sub-ADC, Represents the expectation of the first digital signal output by the reference converter.
[0100] In the specific mismatch calibration, the first sub-ADC is generally used as a reference converter, and the remaining sub-ADCs are used as converters to be aligned. In this way, the offset mismatch error of each converter to be aligned can be determined by calculating the expected difference between the first output signals output by the two. Then, the DC bias of the converter to be aligned is adjusted until the offset mismatch error is less than the first threshold.
[0101] The first threshold in this implementation may be equal to the first threshold compared with the expectation in the above description, or may be different from the first threshold, which is not limited here.
[0102] The following is an explanation with practical examples:
[0103] For example, if there are eight sub-ADCs numbered 0 to n-1, the sub-ADC numbered 0 can be used as a reference converter, and the other seven sub-ADCs (numbered 1 to n-1) can be used as converters to be aligned.
[0104] First, the offset mismatch calibration of the converter to be aligned numbered 1 is performed, and the offset mismatch value of the reference converter and the offset mismatch value of the converter to be aligned numbered 1 are determined by calculating the expectation of the first digital signal output by the reference converter and the converter to be aligned numbered 1, and the difference between the two is the offset mismatch error. If the offset mismatch value of the reference converter is 0.1 and the offset mismatch value of the converter to be aligned numbered 1 is 0.2, then the offset mismatch error of the converter to be aligned numbered 1 can be calculated to be 0.1, which represents the difference in the offset mismatch value between it and the reference converter.
[0105] If the first threshold is set to 0.01, the digital signal processor 140 will adjust the DC bias of the converter to be aligned numbered 1 until the offset mismatch error is less than the first threshold. It can be understood that after the mismatch calibration, the offset mismatch value between the reference converter and the converter to be aligned numbered 1 can be considered equal. Then, the offset mismatch errors of the remaining numbered converters to be aligned are adjusted so that the offset mismatch errors of all sub-ADCs are less than the first threshold.
[0106] It should be noted that, through this mismatch calibration method, the mismatch calibration process can be reduced once (the reference converter does not need to calibrate the offset mismatch error), thereby achieving the advantage of improving the mismatch calibration efficiency.
[0107] It should also be noted that, since in this mismatch calibration method, what is calibrated is the offset mismatch error, rather than the specific offset mismatch value, the calibration difficulty is greatly reduced. Specifically, in this calibration method, the offset mismatch value of each converter to be aligned is calibrated to be consistent with the offset mismatch value of the reference converter. For example, when the offset mismatch value of the reference converter is 0.1, and the offset mismatch values of each converter to be aligned are 0.2, 0.3, and 0.4, respectively, then through the calibration of the offset mismatch error, the essence is to calibrate the offset mismatch value of each converter to be aligned to 0.1. Therefore, after this calibration method, each sub-analog-to-digital converter still has an offset mismatch value, but the offset mismatch value of each sub-analog-to-digital converter is equal, which ensures that the first digital signal output by each sub-analog-to-digital converter is consistent. The elimination of the specific offset mismatch value can be achieved by further processing of the digital signal processor 140, which will not be repeated here.
[0108] Due to the inherent mismatch effect of each sub-ADC, reducing the offset mismatch value of each sub-ADC to 0 actually requires eliminating the mismatch, which is difficult in the actual calibration process and may require multiple DC bias adjustments with very small steps to achieve. In this implementation, the mismatch is not eliminated, but fine-tuned, that is, the mismatch still exists, and only the offset mismatch value needs to be adjusted, thus greatly reducing the difficulty of mismatch calibration.
[0109] After the offset mismatch error calibration is completed, it can be determined that the offset mismatch values of each sub-ADC are equal. At this time, the digital signal processor 140 can send a first aligned signal to the controller 150 to enable the controller 150 to write a gain mismatch calibration signal to the random access memory 111 for the next round of calibration.
[0110] Similarly, when performing gain mismatch error calibration, it can also be implemented in two ways. As one of the implementation methods, please refer to Figure 7 When performing gain mismatch error calibration, the step of S1062 includes:
[0111] S1062-1, the digital signal processor 140 determines the gain mismatch value of each sub-ADC according to the variance of the second digital signal outputted by each sub-ADC.
[0112] S1062-2, when the gain mismatch value is greater than the second threshold, the digital signal processor 140 adjusts its gain parameter until the gain mismatch value is less than the second threshold.
[0113] Among them, the gain mismatch value satisfies the formula:
[0114]
[0115] represents the gain mismatch value, represents the sampling value of the nth sampling point in the second digital signal output by the kth sub-ADC, represents the variance of the second digital signal output by the kth sub-ADC.
[0116] Similar to the above-mentioned offset mismatch error calibration, the second threshold value can also be set to a parameter close to 0, so that after obtaining the gain mismatch value of each sub-analog-to-digital converter, the gain mismatch value of each sub-analog-to-digital converter can be adjusted to approach 0, thereby ensuring that the gain mismatch error can also approach 0.
[0117] It should be noted that when performing gain mismatch calibration, the controller 150 needs to write a DC signal greater than 0V to the random access memory 111. In order to ensure that during the calibration process, the second digital signal output by each sub-ADC will not be distorted due to the signal being too large or too small, the DC signal written by the controller 150 to the random access memory 111 is a half-scale signal, that is, the size of the DC signal written by the controller 150 to the random access memory 111 is half of the range of each sub-ADC. For example, if the range of each sub-ADC is 5V, then when performing gain mismatch calibration, the controller 150 writes a 2.5V DC signal to the random access memory 111. Of course, it can also be adjusted according to actual needs, such as writing a DC signal of one quarter or three quarters of the range.
[0118] As another implementation, see Figure 8 When performing gain mismatch error calibration, the step of S1062 includes:
[0119] S1062-3, use any sub-analog-to-digital converter as a reference converter and the remaining sub-analog-to-digital converters as converters to be aligned, and the digital signal processor 140 determines the gain mismatch error of each converter to be aligned based on the difference between the variance of the second digital signal output by the reference converter and the variance of the second digital signal output by each converter to be aligned.
[0120] S1062-4, when the gain mismatch error is greater than the second threshold, the digital signal processor 140 adjusts the gain parameter of the converter to be registered until the gain mismatch error is less than the second threshold.
[0121] Among them, the gain mismatch error satisfies the formula:
[0122]
[0123] represents the offset mismatch error, represents the sampling value of the nth sampling point in the second digital signal output by the kth sub-ADC, represents the variance of the second digital signal output by the kth sub-ADC, The variance of the second digital signal output by the reference converter is represented.
[0124] It can be understood that in this mismatch calibration method, what is calibrated is the gain mismatch error, rather than the specific gain mismatch value, so the calibration difficulty is greatly reduced. Specifically, in this calibration method, the gain mismatch value of each converter to be aligned is calibrated to be consistent with the gain mismatch value of the reference converter. Therefore, after this calibration method, each sub-analog-to-digital converter still has a gain mismatch value, but the gain mismatch value of each sub-analog-to-digital converter is equal, which ensures that the second digital signal output by each sub-analog-to-digital converter is consistent. The elimination of the specific gain mismatch value can be achieved by further processing of the digital signal processor 140, which will not be repeated here.
[0125] Similarly, by calibrating the gain mismatch error, the mismatch calibration efficiency can be improved and the mismatch calibration difficulty can be reduced, which will not be elaborated here.
[0126] In one implementation, see Fig. 9 When performing timing mismatch error calibration, the step S1063 includes:
[0127] S1063-1, using the sub-analog-to-digital converter numbered 0 as a reference converter, and constructing a virtual sub-analog-to-digital converter numbered n, wherein the third digital signal output by the virtual sub-analog-to-digital converter numbered n is the third digital signal output by the reference converter in the next sampling period, and the reference converter and the virtual sub-analog-to-digital converter are used as aligned converters;
[0128] S1063-2, determining a target calibration sub-analog-to-digital converter based on two adjacent registered converters, wherein the target calibration sub-analog-to-digital converter is numbered at half the sum of the numbers of the two adjacent registered converters;
[0129] S1063-3, determining a timing mismatch error of a target calibration sub-analog-to-digital converter according to a third digital signal output by two adjacent aligned converters and a target calibration sub-analog-to-digital converter;
[0130] S1063-4, when the timing mismatch error is greater than a third threshold, adjusting the reference clock of the target calibration sub-analog-to-digital converter until the timing mismatch error is less than the third threshold;
[0131] S1063-5, repeatedly executing the steps of determining the target calibration sub-analog-to-digital converter based on two adjacent aligned converters, and adjusting the reference clock of the target calibration sub-analog-to-digital converter so that the timing mismatch error of the target calibration sub-analog-to-digital converter is less than a third threshold, until the gain mismatch errors of all sub-analog-to-digital converters except the reference converter are less than the third threshold.
[0132] When performing timing mismatch calibration, since the calculation of the timing mismatch value is difficult, the timing mismatch error can be estimated by directly using a cost function, wherein the cost function is able to estimate the timing mismatch error on the premise of maintaining a monotonically increasing or decreasing trend. Therefore, when the controller 150 writes a timing mismatch calibration signal, a specific sinusoidal signal needs to be written, that is, the greatest common divisor of the frequency of the timing mismatch calibration signal and the sampling clock frequency of the time-interleaved analog-to-digital converter 130 is 1 (mutually prime) to achieve calibration of the timing mismatch error.
[0133] Among them, the timing mismatch error satisfies the formula:
[0134]
[0135] represents the timing mismatch error of the kth sub-ADC, represents the third digital signal output by the first registered converter, represents the third digital signal output by the second registered converter, represents the third digital signal output by the kth sub-ADC, represents the variance of the third digital signal output by the first aligned converter and the third digital signal output by the kth sub-ADC, Represents the variance of the third digital signal output by the kth sub-analog-to-digital converter and the third digital signal output by the second aligned converter.
[0136] Therefore, in the timing mismatch error calibration solution of the present application, the timing mismatch error is actually calibrated for a target calibration sub-ADC by two aligned sub-ADCs. Therefore, when performing the timing mismatch error calibration, a virtual sub-ADC needs to be constructed.
[0137] Specifically, the sub-analog-to-digital converters are arranged as numbered from 0 to n-1, and for the time-interleaved analog-to-digital converter 130, the number of sub-analog-to-digital converters included therein is generally an even number. For example, when the number of sub-analog-to-digital converters is 8, the 8 sub-analog-to-digital converters are numbered from 0 to 7, respectively. On this basis, the sub-analog-to-digital converter numbered 0 is used as a reference converter, and a virtual sub-analog-to-digital converter numbered 8 (which does not actually exist) is constructed at the same time, and the third digital signal output by the virtual sub-analog-to-digital converter numbered 8 is the third digital signal output by the reference converter in the next sampling period.
[0138] That is, for the digital signal processor 140, it samples the third digital signals output by the eight sub-ADCs in sequence according to the sampling period, and then continues to sample the third digital signals output by the eight sub-ADCs in the next period, and so on. On this basis, the constructed virtual sub-ADC is actually the same as the sub-ADC numbered 0, except that the third digital signals corresponding to the two are signals in different sampling periods.
[0139] It can be seen from this that the timing mismatch values of the reference converter and the virtual sub-ADC are the same, and the timing mismatch error between the two is 0. The reference converter and the virtual sub-ADC can be regarded as two aligned converters. The reference converter and the virtual sub-ADC can be used to align the remaining sub-ADCs (numbered 1 to n-1).
[0140] In order to achieve the alignment of the timing mismatch error as quickly as possible, in the implementation of the present application, a binary method is used to align the sub-ADCs. That is, in each alignment, two adjacent aligned converters are used to determine the target calibration sub-ADC, and the number of the target calibration sub-ADC is half of the sum of the numbers of the two adjacent aligned converters.
[0141] Taking the example of 8 sub-ADCs, in the first alignment, the target calibration sub-ADC is determined to be numbered (0+8) / 2=4 based on the reference converter and the virtual sub-ADC. Therefore, in the first timing mismatch error calibration, the sub-ADC numbered 4 is calibrated. According to the above timing mismatch error formula, the timing mismatch error of the sub-ADC numbered 4 can be determined. If the timing mismatch error is greater than the third threshold, its reference clock is adjusted until the timing mismatch error is less than the third threshold. At this point, the timing mismatch error calibration of the sub-ADC numbered 4 is completed, so that the timing mismatch value of the sub-ADC numbered 4 is equal to the timing mismatch value of the reference converter and the virtual sub-ADC.
[0142] Then, the second timing mismatch error calibration is performed. In the second timing mismatch error calibration, since the sub-ADCs No. 0, 4 and 8 have completed the timing mismatch error calibration, the two adjacent aligned converters are actually two groups, No. 0 and No. 4, and No. 4 and No. 8. On this basis, the timing mismatch error calibration of the sub-ADC No. 2 can be performed using the third digital signal output by No. 0 and No. 4; at the same time, the timing mismatch error calibration of the sub-ADC No. 6 can be performed using the third digital signal output by No. 4 and No. 8. The specific calibration scheme is not repeated here.
[0143] After the second calibration is completed, the remaining sub-ADCs are calibrated for timing mismatch errors. The timing mismatch error of the sub-ADC numbered 1 is calibrated using the third digital signal output by numbered 0 and 2; the timing mismatch error of the sub-ADC numbered 3 is calibrated using the third digital signal output by numbered 2 and 4; the timing mismatch error of the sub-ADC numbered 5 is calibrated using the third digital signal output by numbered 4 and 6; the timing mismatch error of the sub-ADC numbered 7 is calibrated using the third digital signal output by numbered 6 and 8, thereby completing the timing mismatch error calibration of all sub-ADCs.
[0144] It can be seen that the timing mismatch error calibration of all sub-ADCs is realized by the binary method, and the total number of calibrations required is times, M represents the number of sub-ADCs. Compared with the method of using a reference converter to calibrate the timing mismatch error of all other sub-ADCs, the timing mismatch error calibration is realized by the binary method. On the one hand, the timing mismatch error calibration of each sub-ADC can be carried out in an orderly manner, and all sub-ADCs can be calibrated quickly with as few calibration times as possible. On the other hand, each time the timing mismatch error calibration is performed, the numbers of the two adjacent aligned converters can be renumbered, so that the correlation between the sub-ADCs is stronger.
[0145] After the above three rounds of mismatch calibration, the offset mismatch error, gain mismatch error and timing mismatch error are calibrated respectively, so that the offset mismatch value, gain mismatch value and timing mismatch value of all sub-analog-to-digital converters are equal, and no frequency phase difference will be generated on the output signal, thereby improving the performance of the time-interleaved analog-to-digital converter 130.
[0146] It should be noted that after three rounds of mismatch calibration, the offset mismatch value, gain mismatch value or timing mismatch value of each sub-ADC may be 0 or may not be 0. When the three mismatch values are not 0, the digital signal processor 140 may further process the output signals of each sub-ADC to make the three mismatch values 0, which will not be described in detail here. It can be seen that the present application utilizes the hardware architecture of the existing SERDES system to achieve the adjustment of the mismatch error, thereby achieving the purpose of reducing cost and power consumption.
[0147] It should also be noted that in the specific implementation, as an implementation method, please refer to Fig.10 The digital signal processor 140 may include a feedforward equalizer 141, a decision feedback equalizer 142, an offset mismatch calibration module 143, a gain mismatch calibration module 144, and a timing mismatch calibration module 145. The feedforward equalizer 141 and the decision feedback equalizer 142 are used to complete the signal processing function when the main path 160 is turned on. The offset mismatch calibration module 143 is used to send a first aligned signal to the controller 150 after completing the offset mismatch calibration; the gain mismatch calibration module 144 is used to send a second aligned signal to the controller 150 after completing the gain mismatch calibration; and the timing mismatch calibration module 145 is used to send a third aligned signal to the controller 150 after completing the timing mismatch calibration.
[0148] In summary, the embodiment of the present application provides a mismatch calibration method, which is applied to a mismatch calibration system, wherein the mismatch calibration system includes a signal input module, a test branch, a time-interleaved analog-to-digital converter, a digital signal processor, and a controller, wherein the signal input module, the test branch, the time-interleaved analog-to-digital converter, and the digital signal processor are connected in sequence, the signal input module includes a random access memory, and the controller is connected to the random access memory and the digital signal processor respectively; the time-interleaved analog-to-digital converter includes a plurality of sub-analog-to-digital converters combined by time interleaving; when in calibration mode, the controller writes offset mismatch calibration signals, gain mismatch calibration signals, and timing mismatch calibration signals to the random access memory in batches, and the digital signal processor adjusts the operating parameters of some or all sub-analog-to-digital converters in sequence according to the digital signals output by each sub-analog-to-digital converter, until the offset mismatch errors, gain mismatch errors, and timing mismatch errors of all sub-analog-to-digital converters are respectively equal. The effect of reducing cost and power consumption is achieved, while reducing the difficulty of mismatch alignment.
[0149] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0150] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A mismatch calibration method, characterized in that: The method is applied to a mismatch calibration system, which comprises a signal input module, a test branch, a time-interleaved analog-to-digital converter, a digital signal processor and a controller, wherein the signal input module, the test branch, the time-interleaved analog-to-digital converter and the digital signal processor are connected in sequence, the signal input module comprises a random access memory, and the controller is connected to the random access memory and the digital signal processor respectively; The time-interleaved analog-to-digital converter includes a plurality of sub-analog-to-digital converters combined by time interleaving; The method comprises: When in the calibration mode, the controller writes an offset mismatch calibration signal, a gain mismatch calibration signal and a timing mismatch calibration signal to the random access memory in batches; wherein the offset mismatch calibration signal is a 0V DC signal, the gain mismatch calibration signal is a DC signal greater than 0V, the timing mismatch calibration signal is a sinusoidal signal, and the greatest common divisor of the frequency of the timing mismatch calibration signal and the sampling clock frequency of the time-interleaved analog-to-digital converter is 1; The offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal stored in the random access memory are sequentially transmitted to the time-interleaved analog-to-digital converter through the test branch; and each of the sub-analog-to-digital converters outputs a corresponding digital signal to the digital signal processor according to the offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal; The digital signal processor adjusts the operating parameters of some or all of the sub-analog-to-digital converters in turn according to the digital signal output by each of the sub-analog-to-digital converters until the offset mismatch error, gain mismatch error and timing mismatch error between all the sub-analog-to-digital converters are respectively less than the corresponding threshold values.
2. The mismatch calibration method according to claim 1, wherein: The step of the digital signal processor sequentially adjusting the operating parameters of some or all of the sub-analog-to-digital converters according to the digital signal output by each of the sub-analog-to-digital converters until the offset mismatch error, gain mismatch error and timing mismatch error between all the sub-analog-to-digital converters are respectively less than the corresponding thresholds includes: After the controller writes the offset mismatch calibration signal to the random access memory, the digital signal processor adjusts the DC bias of part or all of the sub-analog-to-digital converters according to the first digital signal output by each sub-analog-to-digital converter until the offset mismatch errors between all the sub-analog-to-digital converters are less than the first threshold value, and sends a first aligned signal to the controller, so that the controller writes the gain mismatch calibration signal to the random access memory after receiving the first aligned signal; After the controller writes the gain mismatch calibration signal to the random access memory, the digital signal processor adjusts the gain parameters of some or all of the sub-analog-to-digital converters according to the second digital signal output by each sub-analog-to-digital converter until the gain mismatch errors between all the sub-analog-to-digital converters are less than the second threshold value, and sends a second aligned signal to the controller; so that the controller writes the timing mismatch calibration signal to the random access memory after receiving the second aligned signal; After the controller writes the timing mismatch calibration signal to the random access memory, the digital signal processor adjusts the reference clock of part or all of the sub-analog-to-digital converters according to the third digital signal output by each sub-analog-to-digital converter until the timing mismatch errors between all sub-analog-to-digital converters are less than a third threshold, and sends a third aligned signal to the controller.
3. The mismatch calibration method according to claim 2, characterized in that: The step of the digital signal processor adjusting the DC bias of part or all of the sub-analog-to-digital converters according to the first digital signal output by each sub-analog-to-digital converter until the offset mismatch errors between all the sub-analog-to-digital converters are less than the first threshold comprises: The digital signal processor determines the offset mismatch value of each sub-ADC according to the expectation of the first digital signal outputted by each sub-ADC; When the offset mismatch value is greater than a first threshold, the digital signal processor adjusts its DC bias until the offset mismatch value is less than the first threshold.
4. The mismatch calibration method according to claim 2, wherein: The step of the digital signal processor adjusting the DC bias of part or all of the sub-ADCs according to the first digital signal output by each sub-ADC until the offset mismatch errors of all the sub-ADCs are equal comprises: Any sub-analog-to-digital converter is used as a reference converter, and the remaining sub-analog-to-digital converters are used as converters to be aligned, and the digital signal processor determines the offset mismatch error of each converter to be aligned according to the difference between the expectation of the first digital signal output by the reference converter and the expectation of the first digital signal output by each converter to be aligned; When the offset mismatch error is greater than a first threshold, the digital signal processor adjusts the DC bias of the converter to be aligned until the offset mismatch error is less than the first threshold.
5. The mismatch calibration method according to claim 2, wherein: The digital signal processor adjusts the gain parameters of some or all of the sub-analog-to-digital converters according to the second digital signal output by each sub-analog-to-digital converter until the gain mismatch errors between all the sub-analog-to-digital converters are less than the second threshold value, and sends the second aligned signal to the controller, comprising: The digital signal processor determines the gain mismatch value of each sub-ADC according to the variance of the second digital signal outputted by each sub-ADC; When the gain mismatch value is greater than a second threshold, the digital signal processor adjusts its gain parameter until the gain mismatch value is less than the second threshold.
6. The mismatch calibration method according to claim 2, wherein: The digital signal processor adjusts the gain parameters of some or all of the sub-analog-to-digital converters according to the second digital signal output by each sub-analog-to-digital converter until the gain mismatch errors between all the sub-analog-to-digital converters are less than the second threshold value, and sends the second aligned signal to the controller, comprising: Any sub-analog-to-digital converter is used as a reference converter, and the remaining sub-analog-to-digital converters are used as converters to be aligned, and the digital signal processor determines the gain mismatch error of each converter to be aligned according to the difference between the variance of the second digital signal output by the reference converter and the variance of the second digital signal output by each converter to be aligned; When the gain mismatch error is greater than a second threshold, the digital signal processor adjusts the gain parameter of the converter to be aligned until the gain mismatch error is less than the second threshold.
7. The mismatch calibration method according to claim 2, wherein: The plurality of sub-analog-to-digital converters are arranged in numbers from 0 to n-1, and the digital signal processor adjusts the reference clocks of some or all of the sub-analog-to-digital converters according to the third digital signal output by each sub-analog-to-digital converter until the timing mismatch errors between all the sub-analog-to-digital converters are less than the third threshold, comprising: The sub-analog-to-digital converter numbered 0 is used as a reference converter, and a virtual sub-analog-to-digital converter numbered n is constructed, wherein the third digital signal output by the virtual sub-analog-to-digital converter numbered n is the third digital signal output by the reference converter in the next sampling period, and the reference converter and the virtual sub-analog-to-digital converter are used as aligned converters; Determine a target calibration sub-analog-to-digital converter according to two adjacent registered converters, wherein the target calibration sub-analog-to-digital converter is numbered as half of the sum of the numbers of the two adjacent registered converters; Determining a timing mismatch error of the target calibration sub-analog-to-digital converter according to a third digital signal output by two adjacent aligned converters and the target calibration sub-analog-to-digital converter; When the timing mismatch error is greater than a third threshold, adjusting the reference clock of the target calibration sub-analog-to-digital converter until the timing mismatch error is less than the third threshold; Repeat the steps of determining a target calibration sub-analog-to-digital converter based on two adjacent aligned converters, and adjusting a reference clock of the target calibration sub-analog-to-digital converter so that a timing mismatch error of the target calibration sub-analog-to-digital converter is less than a third threshold, until gain mismatch errors of all sub-analog-to-digital converters except the reference converter are less than the third threshold.
8. The mismatch calibration method according to claim 7, characterized in that: The timing mismatch error satisfies the formula: in, represents the timing mismatch error of the kth sub-ADC, represents the third digital signal output by the first registered converter, represents the third digital signal output by the second registered converter, represents the third digital signal output by the kth sub-ADC, represents the variance of the third digital signal output by the first aligned converter and the third digital signal output by the kth sub-ADC, Represents the variance of the third digital signal output by the kth sub-ADC and the third digital signal output by the second aligned converter.
9. A mismatch calibration system, characterized in that: The mismatch calibration system is used to perform the mismatch calibration method according to any one of claims 1 to 8, the mismatch calibration system comprises a signal input module, a test branch, a time-interleaved analog-to-digital converter, a digital signal processor and a controller, the signal input module, the test branch, the time-interleaved analog-to-digital converter and the digital signal processor are connected in sequence, the signal input module comprises a random access memory, the controller is respectively connected to the random access memory and the digital signal processor; the time-interleaved analog-to-digital converter comprises a plurality of sub-analog-to-digital converters combined by time interleaving; When in the calibration mode, the controller is used to write an offset mismatch calibration signal, a gain mismatch calibration signal and a timing mismatch calibration signal to the random access memory in batches; wherein the offset mismatch calibration signal is a 0V DC signal, the gain mismatch calibration signal is a DC signal greater than 0V, the timing mismatch calibration signal is a sinusoidal signal, and the greatest common divisor of the frequency of the timing mismatch calibration signal and the sampling clock frequency of the time-interleaved analog-to-digital converter is 1; The offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal stored in the random access memory are sequentially transmitted to the time-interleaved analog-to-digital converter through the test branch; and each of the sub-analog-to-digital converters is used to output a corresponding digital signal to the digital signal processor according to the offset mismatch calibration signal, the gain mismatch calibration signal and the timing mismatch calibration signal; The digital signal processor is used to adjust the operating parameters of some or all of the sub-analog-to-digital converters in turn according to the digital signal output by each of the sub-analog-to-digital converters until the offset mismatch error, gain mismatch error and timing mismatch error of all the sub-analog-to-digital converters are respectively equal.
10. The mismatch calibration system according to claim 9, wherein: The signal input module further includes a first selector, a transmitting end, and a digital-to-analog converter, the mismatch calibration system further includes a main path and a second selector, the first input end of the first selector is connected to the transmitting end, the second input end of the first selector is connected to the random access memory, the output end of the first selector is connected to the main path and the test branch through the digital-to-analog converter, the main path is connected to the first input end of the second selector, the test branch is connected to the second input end of the second selector, the output end of the second selector is connected to the time-interleaved analog-to-digital converter, and the control ends of the first selector and the second selector are both connected to the controller; When in a normal working mode, the controller controls the first selector and the second selector to select the signal of the first input end for output; In the calibration mode, the controller controls the first selector and the second selector to select the signal of the second input terminal for output.
Citation Information
Patent Citations
Analog-to-digital converter correction device and method
CN117526938A
Programmable analog calibration circuit supporting iterative measurement of an input signal from a circuit by
CN117837088A
Circuit with dynamic current sensing calibration
CN118294714A
Linear and Non-Linear Calibration for Time Interleaved Digital-to-Analog Converter
US20200212922A1
