Gain circuit offset calibration method, calibration device and high-speed DRAM interface

By introducing a shift calibration method of the gain circuit into the high-speed DRAM interface, using the adder and sampler of DFE to process the signal, the problem of reception buffer deviation in the high-speed communication system is solved, and effective calibration of the received signal and stability improvement of data transmission is achieved.

CN119363093BActive Publication Date: 2025-03-28KINGTIGER TESTING TECH (SZ) LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411910697.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-03-28
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

In high-speed communication systems, multipath effect and interference factors of the signal affect the accuracy of data recovery at the receiving end, especially because the reception buffer deviation caused by transistor mismatch is difficult to effectively reduce.

Method used

By introducing an offset calibration method of the gain circuit into the high-speed DRAM interface, the original signal and error signals of the signal input circuit and the reference circuit are processed, the signal is added and sampled through the adder and sampler of the DFE, and the signal is adjusted through the offset control logic to achieve level state changes, thereby mitigating the deviation of the input buffer.

Benefits of technology

It effectively alleviates the deviation of the input buffer, reduces the distortion of the received signal, and improves the accuracy and stability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363093B_ABST
    Figure CN119363093B_ABST
Patent Text Reader

Abstract

The present application proposes an offset calibration method, a calibration device and a high-speed DRAM interface for a gain circuit, and relates to the field of high-speed communication technology. The offset calibration method for the gain circuit includes: obtaining the original signal and the error signal input by the signal input circuit and the reference circuit; adding the original signal and the error signal by the adder of the DFE, and outputting them to the sampler for sampling to output the corresponding sampling result; determining the offset adjustment direction corresponding to the sampling result by the offset control logic, and adjusting the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes. The present application can better alleviate the deviation of the input buffer and reduce the distortion of the received signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of high-speed communication technology, and in particular to an offset calibration method and calibration device for a gain circuit and a high-speed DRAM interface. Background Art

[0002] In the field of contemporary communication systems, especially in high-speed data transmission, the multipath effect and other interference factors of the signal often cause serious distortion of the signal, which in turn affects the accuracy of data recovery at the receiving end. The deviation of the receive buffer (RXbuffer) mainly comes from the mismatch of transistors, which is caused by the fluctuation of local threshold voltage. These fluctuations are affected by the well proximity effect (WPE) and shallow trench isolation (STI), which are common phenomena in advanced process technologies. Therefore, it is crucial to minimize the deviation of the input buffer.

[0003] In order to alleviate the deviation problem of the input buffer, various technical means are usually adopted, such as capacitor compensation and input transistor size control. However, these methods cannot completely eliminate the deviation on each sampling path. Summary of the invention

[0004] The main purpose of the present invention is to provide an offset calibration method for a gain circuit, aiming to alleviate the deviation of an input buffer so as to reduce the distortion of a received signal.

[0005] To achieve the above object, the present invention provides a gain circuit offset calibration method, which is applied to a high-speed DRAM interface.

[0006] The gain circuit includes a signal input circuit for connecting to a signal to be gained, a reference circuit for connecting to a reference voltage signal, and a current compensation circuit for increasing the current flowing through the signal input circuit and the reference circuit respectively when the reference voltage decreases, and the current compensation circuit is further used to connect the reference voltage signal to the signal input circuit when the signal input circuit disconnects the signal to be gained;

[0007] The high-speed DRAM interface includes a gain circuit and at least one signal processing path, each of the signal processing paths includes an adder, a sampler, and an offset control logic of a DFE electrically connected to each other;

[0008] Wherein, the offset calibration method of the gain circuit includes:

[0009] Acquire the original signal and the error signal input by the signal input circuit and the reference circuit;

[0010] The original signal and the error signal are added by the adder of the DFE, and output to the sampler for sampling to output a corresponding sampling result;

[0011] The offset control logic determines an offset adjustment direction corresponding to the sampling result, and adjusts the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes.

[0012] Optionally, the high-speed DRAM interface further comprises a variable gain amplifier, the input end of the variable gain amplifier is respectively connected to the signal input circuit and the reference circuit, and the output end of the variable gain amplifier is connected to the input end of the signal processing path;

[0013] The obtaining of the original signal and the error signal input by the signal input circuit and the reference circuit comprises:

[0014] Control the signal input circuit to stop receiving the signal to be amplified and receive a reference voltage signal, and the reference circuit to receive the reference voltage signal;

[0015] Inputting the reference voltage signal connected to the signal input circuit and the reference voltage signal connected to the reference circuit into the variable gain amplifier to obtain the original signal;

[0016] The original signal is preprocessed by the variable gain amplifier to generate a corresponding error signal.

[0017] Optionally, the offset control logic includes a detection circuit and a counter;

[0018] The offset adjustment direction corresponding to the sampling result is determined by the offset control logic as follows:

[0019] The level state of the sampling result is detected by a detection circuit, and a corresponding control signal is output to the counter, so that the counter performs offset adjustment according to the control signal.

[0020] Optionally, detecting the level state of the sampling result through a detection circuit and outputting a corresponding control signal to the counter so that the counter performs offset adjustment according to the control signal includes:

[0021] If the output sampling result is a high level, a low level signal is output to the counter to control the offset adjustment to decrease;

[0022] If the output sampling result is a low level, a high level signal is output to the counter to control the offset adjustment to increase.

[0023] Optionally, if the output sampling result is a high level, outputting a low level signal to the counter to control the offset adjustment reduction includes:

[0024] If the sampling result output is a high level, the control signal outputs a low level to control the counter to decrease, so as to control the offset adjustment to decrease.

[0025] Optionally, if the output sampling result is a low level, outputting a high level signal to the counter to control the offset adjustment to increase comprises:

[0026] If the output sampling result is a low level, the control signal outputs a high level to control the counter to increment, so as to control the offset adjustment to increase.

[0027] Optionally, the step of adjusting the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes is specifically:

[0028] If the offset adjustment direction is offset adjustment increase, adjusting the negative signal path;

[0029] If the offset adjustment direction is offset adjustment reduction, adjusting the forward signal path;

[0030] The negative signal path and the positive signal path are repeatedly adjusted until the level state of the signal output by the sampler changes, and it is determined that the calibration is completed, and the sampler outputs a square wave of a preset frequency.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a calibration device, which includes: a memory, a processor, and a signal offset calibration program stored in the memory and executable on the processor, wherein the signal offset calibration program is configured to implement the offset calibration method of the gain circuit as described above.

[0032] In addition, to achieve the above object, the present invention also provides a high-speed DRAM interface, including the calibration device as described above.

[0033] The embodiment of the present invention obtains the original signal of the signal input circuit and the original signal of the reference circuit input, processes the two original signals to obtain the corresponding error signal, adds the original signal and the error signal through the adder of the DFE, and outputs them to the sampler for sampling to output the corresponding sampling result, and finally determines the offset adjustment direction corresponding to the sampling result through the offset control logic, and adjusts the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes, which can better alleviate the deviation of the input buffer and reduce the distortion of the received signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0036] Figure 1 A model diagram of a high-speed DRAM interface of the present invention;

[0037] Figure 2 Schematic diagram of the circuit principle of the gain circuit in the present invention;

[0038] Figure 3 It is the timing diagram during the offset calibration process;

[0039] Figure 4 A schematic flow chart of an offset calibration method for a gain circuit according to an embodiment of the present invention;

[0040] Figure 5 For the present invention Figure 4 A detailed method flow chart of step S100 in FIG.

[0041] Figure 6 For the present invention Figure 4 A detailed method flow diagram of step S300 in FIG.

[0042] Figure 7 For the present invention Figure 6 A detailed method flow diagram of step S310 in FIG.

[0043] Figure 8 For the present invention Figure 7 A detailed method flow diagram of step S311 in FIG.

[0044] Fig. 9 For the present invention Figure 7 A detailed method flow diagram of step S312 in FIG.

[0045] Fig.10 FIG. 4 is a flow chart of an offset calibration method for a gain circuit according to another embodiment of the present invention.

[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] 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, and the well-known modules, units and their connections, links, communications or operations are not shown or described in detail. In addition, the described features, architectures or functions can be combined in any way in one or more embodiments. It should be understood by those skilled in the art that the various embodiments described below are only for illustration and not for limiting the scope of protection of the present invention. It can also be easily understood that the modules or units or processing methods in the various embodiments described herein and shown in the drawings can be combined and designed according to various different configurations. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0048] The limitations of various nouns or methods in the following embodiments, except for those that are logically untenable, are generally based on the broad concepts that can be implemented under the premise of the contents disclosed in the embodiments. Under such understanding, the various specific subordinate specific limitations of the nouns or methods should be regarded as the inventive content of the present invention, and should not be understood narrowly or interpreted in a biased manner on the grounds that the specification does not disclose the specific limitations. Similarly, under the premise that it can be implemented logically, the order of the steps in the method is flexible and changeable, and the specific subordinate specific limitations in the broad concepts of various nouns or methods all fall within the scope of protection of the present invention.

[0049] The main solution of the embodiment of the present application is: by acquiring the original signal of the signal input circuit and the original signal of the reference circuit input, and then processing the two original signals to obtain the corresponding error signal, and then adding the original signal and the error signal through the adder of the DFE, and outputting them to the sampler for sampling to output the corresponding sampling result, and finally determining the offset adjustment direction corresponding to the sampling result through the offset control logic, and adjusting the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes.

[0050] In this embodiment, for the convenience of description, the following description is made with the calibration device as the execution subject.

[0051] In the field of contemporary communication systems, especially in high-speed data transmission, the multipath effect and other interference factors of the signal often cause serious distortion of the signal, which in turn affects the accuracy of data recovery at the receiving end. The deviation of the receive buffer (RXbuffer) mainly comes from the mismatch of transistors, which is caused by the fluctuation of local threshold voltage. These fluctuations are affected by the well proximity effect (WPE) and shallow trench isolation (STI), which are common phenomena in advanced process technologies. Therefore, it is crucial to minimize the deviation of the input buffer.

[0052] However, the existing technology cannot completely eliminate the deviation on each sampling path by adopting various technical means such as capacitor compensation and controlling the size of input transistors.

[0053] The present application provides a solution that can better alleviate the deviation of the input buffer and reduce the distortion of the received signal.

[0054] To this end, the present invention proposes an offset calibration method for a gain circuit; it can be understood that a calibration device for storing and executing the following method is provided in the high-speed DRAM interface, and the calibration device can be implemented by a main controller, such as an MCU (Micro controller Unit), a DSP (Digital Signal Process), an FPGA (Field Programmable Gate Array), a SOC (System OnChip), etc.

[0055] It should be understood that the offset calibration method of the gain circuit proposed in the present invention is applied to high-speed DRAM interface, please refer to Figure 2 As shown, the gain circuit includes a signal input circuit 10 for connecting a signal to be gained, a reference circuit 20 for connecting a reference voltage signal, and a current compensation circuit 30 for increasing the current flowing through the signal input circuit 10 and the reference circuit 20 respectively when the reference voltage decreases. The current compensation circuit 30 is also used to connect the reference voltage signal to the signal input circuit 10 when the signal input circuit 10 disconnects the signal to be gained;

[0056] Please refer to Figure 1 As shown, the high-speed DRAM interface includes at least one signal processing path, each of which includes an adder, a sampler, and an offset control logic of a DFE electrically connected to each other.

[0057] Reference Figure 4 In one embodiment of the present invention, the offset calibration method of the gain circuit includes steps S100-S300, wherein:

[0058] S100, obtaining the original signal and the error signal input by the signal input circuit 10 and the reference circuit 20;

[0059] S200, adding the original signal and the error signal through the adder of the DFE, and outputting the added signal to the sampler for sampling to output a corresponding sampling result;

[0060] S300, determining an offset adjustment direction corresponding to the sampling result through an offset control logic, and adjusting a signal output by an adder of the DFE according to the offset adjustment direction until a level state of a signal output by the sampler changes.

[0061] In this embodiment, the original signal includes the signal to be gained connected to the signal input circuit 10, and the error signal includes the reference voltage signal connected to the reference circuit 20. The function of the adder of the DFE is to combine the original signal with the error signal to reduce the distortion of the signal during transmission. The sampler is responsible for sampling the signal output by the adder to obtain an accurate sampling result. The offset control logic adjusts the output signal of the adder of the DFE according to the sampling result to ensure that the signal offset in the signal processing path is effectively calibrated. Through such a cyclic adjustment, the signal processing of the high-speed DRAM interface is finally optimized, thereby improving the accuracy and stability of data transmission.

[0062] In practical applications, such as Figure 1 As shown, assuming that there are four signal processing paths, "IB path", "Q path", "QBpath" and "I path", this division results in the formation of four different paths in the receiver (RX). The "I path" path includes a DFE adder, a sampler and offset control logic, and the other three paths also include a DFE adder, a sampler and offset control logic, and the three form a closed-loop path. In the offset calibration mode, the offset between the paths will be reflected in the OUT_I result, and the offset will be adjusted through the offset control logic. For example, if the result of OUT_I is '1', the UP_DN output will be '0', and the OUT_DFE_P path will be adjusted. On the contrary, if the result of OUT_I is '0', the UP_DN output will be '1', and the OUT_DFE_N path will be adjusted. Once the offset calibration is completed, OUT_I will switch between '1010' or '0101'. For example, if Figure 3As shown in the timing diagram, if the OUT_I result remains at '1', the UP_DN output will remain at '0' until OUT_I becomes '0'. After this transition, the offset calibration is considered complete, that is, the output of the DFE's adder reaches a balanced state, and OUT_I will start toggling in a '0101' pattern.

[0063] This embodiment obtains the original signal of the signal input circuit 10 and the original signal input by the reference circuit 20, and then processes the two original signals to obtain the corresponding error signal, and then adds the original signal and the error signal through the adder of the DFE, and outputs them to the sampler for sampling to output the corresponding sampling result, and finally determines the offset adjustment direction corresponding to the sampling result through the offset control logic, and adjusts the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes, which can better alleviate the deviation of the input buffer and reduce the distortion of the received signal.

[0064] It should be understood that the high-speed DRAM interface also includes a variable gain amplifier, the input end of the variable gain amplifier is connected to the signal input circuit 10 and the reference circuit 20 respectively, and the output end of the variable gain amplifier is connected to the input end of the signal processing path.

[0065] Optionally, refer to Figure 5 Another embodiment of the present invention provides an offset calibration method for a gain circuit. Figure 1 In the embodiment shown, the step of obtaining the original signal and the error signal input by the signal input circuit 10 and the reference circuit 20 includes steps S110-S130, wherein:

[0066] S110, controlling the signal input circuit 10 to stop receiving the signal to be amplified and to receive a reference voltage signal, and the reference circuit 20 to receive a reference voltage signal;

[0067] S120, inputting the reference voltage signal connected to the signal input circuit 10 and the reference voltage signal connected to the reference circuit 20 into the variable gain amplifier to obtain the original signal;

[0068] S130, preprocessing the original signal through the variable gain amplifier to generate a corresponding error signal.

[0069] In this embodiment, the gain of the variable gain amplifier can be dynamically adjusted according to the strength of the signal to ensure the stability and accuracy of the signal during transmission. In this way, changes in signal strength due to line loss or signal attenuation can be compensated, thereby improving the performance of the overall signal processing.

[0070] When the signal input circuit 10 stops receiving the signal to be amplified, Figure 2 As shown, the signal input circuit 10 is connected to the reference voltage VREF in MN0<1:0>.

[0071] Among them, the gain adjustment of the variable gain amplifier is usually completed by the automatic gain control (AGC) circuit, which can automatically adjust the gain of the amplifier according to the real-time state of the signal to adapt to different signal transmission conditions. By combining the offset calibration method of the gain circuit and the use of the variable gain amplifier, the high-speed DRAM interface signal can be fully optimized to ensure efficient and stable data transmission.

[0072] Among them, in the offset calibration mode, the two input terminals of the variable gain amplifier (VGA) are set to the reference voltage VREF, one is the input terminal of the signal to be amplified, and the other is the input terminal of the reference voltage, both are set to the reference voltage VREF to provide the same input to the two paths. The signal from the VGA to the sampler runs in a differential manner, thereby achieving accurate comparison and calibration of the signal.

[0073] It should be understood that the offset control logic includes a detection circuit and a counter.

[0074] Optionally, refer to Figure 6 Another embodiment of the present invention provides an offset calibration method for a gain circuit. Figure 1 In the embodiment shown, the step of determining the offset adjustment direction corresponding to the sampling result by the offset control logic is specifically step S310, wherein:

[0075] S310, detecting the level state of the sampling result through a detection circuit, and outputting a corresponding control signal to the counter, so that the counter performs offset adjustment according to the control signal.

[0076] In this embodiment, the detection circuit may be a comparator for comparing the sampling result with a preset threshold level. When the sampling result exceeds the threshold, the comparator outputs a high level signal; otherwise, it outputs a low level signal. The counter counts according to the output signal of the comparator to determine the direction in which the adder output signal of the DFE needs to be adjusted. Through the counting result of the counter, the adder output signal of the DFE can be gradually fine-tuned until the optimal offset calibration state is reached.

[0077] Among them, the counting direction and step size of the counter can be adjusted according to the actual application requirements to adapt to different signal processing environments and requirements. For example, if the counting direction of the counter is positive, it means that the level of the positive signal output by the adder of the DFE needs to be increased, and if the counting direction of the counter is negative, it means that the level of the negative signal output by the adder of the DFE needs to be reduced. In this way, the offset of the signal can be accurately controlled to ensure the accuracy and stability of the high-speed DRAM interface during data transmission.

[0078] Optionally, refer to Figure 7 Another embodiment of the present invention provides an offset calibration method for a gain circuit. Figure 6 In the embodiment shown, the detection circuit detects the level state of the sampling result and outputs a corresponding control signal to the counter so that the counter performs offset adjustment according to the control signal, including steps S311-S312, wherein:

[0079] S311, if the output sampling result is a high level, output a low level signal to the counter to control the offset adjustment to decrease;

[0080] S312: If the output sampling result is a low level, output a high level signal to the counter to control the offset adjustment to increase.

[0081] In this embodiment, the output signal of the detection circuit is opposite to the counting direction of the counter, which ensures that the offset of the signal can be effectively adjusted during the offset calibration process. For example, when the detection circuit detects that the sampling result is a high level, it means that the output signal of the adder of the DFE is too high and the offset needs to be reduced. Therefore, the counter will reduce the count after receiving a low level signal, and vice versa. In this way, the counter can dynamically adjust the output signal of the adder of the DFE according to the level state of the sampling result to achieve accurate offset calibration. Finally, when the sampling result stably switches between high and low levels, it indicates that the offset calibration has been completed, and the signal offset in the signal processing path of the high-speed DRAM interface has been effectively calibrated, thereby ensuring the accuracy and stability of data transmission.

[0082] Optionally, refer to Figure 8 Another embodiment of the present invention provides a method for calibrating an offset of a gain circuit. Figure 7 In the embodiment shown, if the sampling result output is a high level, a low level signal is output to the counter to control the offset adjustment reduction, including step S3111, wherein:

[0083] S3111. If the sampling result output is a high level, the control signal outputs a low level to control the counter to decrease, so as to control the offset adjustment to decrease.

[0084] In this embodiment, the counter can be increased or decreased according to the level state of the sampling result to dynamically adjust the output signal of the adder of the DFE to achieve accurate offset calibration. Finally, when the sampling result stably switches between the high level and the low level, it indicates that the offset calibration has been completed, and the signal offset in the signal processing path of the high-speed DRAM interface has been effectively calibrated, thereby ensuring the accuracy and stability of data transmission.

[0085] Optionally, refer to Fig. 9 Another embodiment of the present invention provides an offset calibration method for a gain circuit. Figure 7 In the embodiment shown, if the sampling result output is a low level, a high level signal is output to the counter to control the offset adjustment to increase, including step S3121, wherein:

[0086] S3121. If the output sampling result is a low level, the control signal outputs a high level to control the counter to increment, so as to control the offset adjustment to increase.

[0087] In this embodiment, the counter can be increased or decreased according to the level state of the sampling result to dynamically adjust the output signal of the adder of the DFE to achieve accurate offset calibration. Finally, when the sampling result stably switches between the high level and the low level, it indicates that the offset calibration has been completed, and the signal offset in the signal processing path of the high-speed DRAM interface has been effectively calibrated, thereby ensuring the accuracy and stability of data transmission.

[0088] Optionally, refer to Fig.10 Another embodiment of the present invention provides an offset calibration method for a gain circuit. Figure 1 In the embodiment shown, the step of adjusting the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes specifically includes steps S320-S340, wherein:

[0089] S320, if the offset adjustment direction is offset adjustment increase, adjust the negative signal path;

[0090] S330, if the offset adjustment direction is offset adjustment reduction, adjusting the forward signal path;

[0091] S340, repeatedly adjusting the negative signal path and the positive signal path until the level state of the signal output by the sampler changes, determining that the calibration is completed, and the sampler outputs a square wave of a preset frequency.

[0092] In this embodiment, by specifically controlling the offset adjustment direction, fine adjustment of the adder output signal of the DFE can be achieved. When the signal output by the sampler stably outputs '1010' or '0101' or switches between the two, it means that the signal offset calibration has achieved the expected effect, thereby ensuring the accuracy and stability of the high-speed DRAM interface during data transmission. In this way, the offset problem that may occur in the high-speed transmission process of the signal can be effectively solved, and the performance and reliability of the overall system can be improved.

[0093] The present invention also proposes a calibration device, which includes: the calibration device includes: a memory, a processor, and a signal offset calibration program stored in the memory and executable on the processor, wherein the signal offset calibration program is configured to implement the offset calibration method of the gain circuit as described above.

[0094] It is worth noting that since the calibration device of the present invention is based on the above-mentioned offset calibration method of the gain circuit, the embodiments of the calibration device of the present invention include all technical solutions of all embodiments of the above-mentioned offset calibration method of the gain circuit, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0095] The present invention further proposes a high-speed DRAM interface, which includes the calibration device as described in the above embodiment.

[0096] It is worth noting that since the high-speed DRAM interface of the present invention is based on the above-mentioned calibration device, the embodiments of the high-speed DRAM interface of the present invention include all technical solutions of all embodiments of the above-mentioned calibration device, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0098] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0100] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A gain circuit offset calibration method, applied to a high-speed DRAM interface, characterized in that: The gain circuit includes a signal input circuit for connecting to a signal to be gained, a reference circuit for connecting to a reference voltage signal, and a current compensation circuit for increasing the current flowing through the signal input circuit and the reference circuit respectively when the reference voltage decreases, and the current compensation circuit is further used to connect the reference voltage signal to the signal input circuit when the signal input circuit disconnects the signal to be gained; The high-speed DRAM interface includes at least one signal processing path, each of which includes an adder, a sampler, and an offset control logic of a DFE electrically connected to each other; Wherein, the offset calibration method of the gain circuit includes: Acquire the original signal and the error signal input by the signal input circuit and the reference circuit; The original signal and the error signal are added by the adder of the DFE, and output to the sampler for sampling to output a corresponding sampling result; The offset control logic determines an offset adjustment direction corresponding to the sampling result, and adjusts the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes.

2. The offset calibration method of the gain circuit according to claim 1, characterized in that: The high-speed DRAM interface further comprises a variable gain amplifier, the input end of the variable gain amplifier is respectively connected to the signal input circuit and the reference circuit, and the output end of the variable gain amplifier is connected to the input end of the signal processing path; The obtaining of the original signal and the error signal input by the signal input circuit and the reference circuit comprises: Control the signal input circuit to stop receiving the signal to be amplified and receive a reference voltage signal, and the reference circuit to receive the reference voltage signal; Inputting the reference voltage signal connected to the signal input circuit and the reference voltage signal connected to the reference circuit into the variable gain amplifier to obtain the original signal; The original signal is preprocessed by the variable gain amplifier to generate a corresponding error signal.

3. The offset calibration method of the gain circuit according to claim 1, characterized in that: The offset control logic includes a detection circuit and a counter; The offset adjustment direction corresponding to the sampling result is determined by the offset control logic as follows: The level state of the sampling result is detected by a detection circuit, and a corresponding control signal is output to the counter, so that the counter performs offset adjustment according to the control signal.

4. The offset calibration method of the gain circuit as claimed in claim 3, characterized in that: The detecting circuit detects the level state of the sampling result and outputs a corresponding control signal to the counter so that the counter performs offset adjustment according to the control signal, including: If the output sampling result is a high level, a low level signal is output to the counter to control the offset adjustment to decrease; If the output sampling result is a low level, a high level signal is output to the counter to control the offset adjustment to increase.

5. The offset calibration method of the gain circuit as claimed in claim 4, characterized in that: If the sampling result output is a high level, outputting a low level signal to the counter to control the offset adjustment reduction includes: If the sampling result output is a high level, the control signal outputs a low level to control the counter to decrease, so as to control the offset adjustment to decrease.

6. The offset calibration method of the gain circuit as claimed in claim 4, characterized in that: If the sampling result output is a low level, outputting a high level signal to the counter to control the offset adjustment to increase includes: If the output sampling result is a low level, the control signal outputs a high level to control the counter to increment, so as to control the offset adjustment to increase.

7. The offset calibration method of the gain circuit according to claim 1, characterized in that: The step of adjusting the signal output by the adder of the DFE according to the offset adjustment direction until the level state of the signal output by the sampler changes is specifically: If the offset adjustment direction is offset adjustment increase, adjusting the negative signal path; If the offset adjustment direction is offset adjustment reduction, adjusting the forward signal path; The negative signal path and the positive signal path are repeatedly adjusted until the level state of the signal output by the sampler changes, and it is determined that the calibration is completed, and the sampler outputs a square wave of a preset frequency.

8. A calibration device, characterized in that: The calibration device comprises: a memory, a processor, and a signal offset calibration program stored in the memory and executable on the processor, wherein the signal offset calibration program is configured to implement the offset calibration method of the gain circuit according to any one of claims 1 to 7.

9. A high-speed DRAM interface, characterized in that: Comprising a calibration device as claimed in claim 8.

Citation Information

Patent Citations

  • Offset self-calibration circuit, method, chip and system

    CN115956919A

  • Voltage reference computations for memory decision feedback equalizers

    US10147466B1