Adaptive CTLE system assisted by digital circuits
Through the adaptive CTLE system assisted by digital circuits, low-frequency and high-frequency signals are used to adjust the gain values of VGA and CTLE, which solves the problem that the balance degree of the existing CTLE system is difficult to control when the channel changes, and achieves a high-frequency signal output signal-to-noise ratio. improvement and system stability.
Patent Information
- Application Number
- CN202410630644.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-05-21
AI Technical Summary
The existing CTLE equalization system is difficult to effectively control the degree of equalization when faced with changes in transmission channel length and material, resulting in signal eye diagrams showing excessive or insufficient equalization, and the adaptive equalization effect is not ideal.
Design a digital circuit-assisted adaptive CTLE system. Through the low-frequency gain adjustment loop and the equalization gain adjustment loop, the low-pass filter and the high-pass filter are used to obtain the low-frequency and high-frequency signals of the signal respectively. According to the rectified voltage value and the target voltage value Based on the comparison results, adjust the gain values of VGA and CTLE to achieve adaptive adjustment.
It improves the output signal-to-noise ratio of high-frequency signals, enhances the stability and balance control capabilities of the system, reduces the input signal requirements, and obtains the best quality output signal.
Smart Images

Figure CN118214397B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of linear equalization, and in particular to an adaptive CTLE system assisted by a digital circuit. Background Art
[0002] In serial communication systems such as high-speed backplane transmission, optical fiber communication, coaxial cable communication, and twisted pair communication, equalization technology is usually used to compensate for the channel and the overall system characteristics in order to reduce the impact of inter-code crosstalk and inter-channel interference, reduce the bit error rate, and obtain good communication quality.
[0003] Continuous Time Linear Equalizer (CTLE) has the advantages of low circuit cost and high high-frequency gain, and is widely used in equalization systems. In practical applications, factors such as the length and material of the transmission channel vary greatly, which requires the equalization system to have an adaptive function that can automatically adjust the equalization gain value according to the high-frequency attenuation of the transmission channel. Summary of the invention
[0004] The present invention provides a digital circuit-assisted adaptive CTLE system, which can automatically adjust a low-frequency gain value and an equalization gain value according to the attenuation degree of a transmission channel.
[0005] The digital circuit-assisted adaptive CTLE system provided by the present invention comprises a signal input terminal, a VGA, a CTLE and an output stage connected in sequence, and also comprises a low-frequency gain adjustment loop and an equalization gain adjustment loop;
[0006] The low-frequency gain adjustment loop is used to obtain the output signal of the VGA, and obtain a low-frequency signal by passing the output signal of the VGA through a low-pass filter, and adjust the gain value of the VGA according to the low-frequency signal;
[0007] The equalization gain adjustment loop is used to obtain the output signal of the CTLE, and obtain a high-frequency signal by passing the output signal of the CTLE through a high-pass filter, and adjust the gain value of the CTLE according to the high-frequency signal.
[0008] In some embodiments, adjusting the gain value of the VGA according to the low-frequency signal includes:
[0009] The gain value of the VGA is adjusted according to a comparison result between the rectified voltage value of the low-frequency signal and the first target voltage value.
[0010] In some embodiments, adjusting the gain value of the VGA according to a comparison result between the rectified voltage value of the low-frequency signal and the first target voltage value includes:
[0011] When the rectified voltage value of the low-frequency signal is not equal to the first target voltage value, the gain value of the VGA is changed so that the rectified voltage value of the low-frequency signal obtained by the output signal of the VGA through the low-pass filter after the gain value is changed is equal to the first target voltage value;
[0012] When the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the gain value of the VGA is kept unchanged.
[0013] In some embodiments, the low-frequency gain adjustment loop includes the low-pass filter, a first power detector, a first error amplifier, a state machine, and a register;
[0014] The low-frequency signal output by the low-pass filter is passed through the first power detector to obtain a rectified voltage value of the low-frequency signal, the rectified voltage value of the low-frequency signal is compared with the first target voltage value through the first error amplifier, and the comparison result is input into the state machine;
[0015] When the rectified voltage value of the low-frequency signal is not equal to the first target voltage value, the state machine changes the gain value of the VGA by adjusting the value of the first register parameter in the register;
[0016] When the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the state machine keeps the value of the first register parameter in the register unchanged.
[0017] In some embodiments, adjusting the gain value of the CTLE according to the high-frequency signal includes:
[0018] The gain value of the CTLE is adjusted according to a comparison result between the rectified voltage value of the high frequency signal and the second target voltage value.
[0019] In some embodiments, adjusting the gain value of the CTLE according to a comparison result between the rectified voltage value of the high-frequency signal and the second target voltage value includes:
[0020] When the rectified voltage value of the high-frequency signal is not equal to the second target voltage value, changing the gain value of the CTLE so that the rectified voltage value of the high-frequency signal obtained by the output signal of the CTLE through the high-pass filter after the gain value is changed is equal to the second target voltage value;
[0021] When the rectified voltage value of the high frequency signal is equal to the second target voltage value, the gain value of the CTLE is kept unchanged.
[0022] In some embodiments, the equalization gain adjustment loop includes the high-pass filter, the second power detector, the second error amplifier, and a state machine and registers shared with the low-frequency gain adjustment loop;
[0023] The high-frequency signal output by the high-pass filter is passed through the second power detector to obtain a rectified voltage value of the high-frequency signal, the rectified voltage value of the high-frequency signal is compared with the second target voltage value through the second error amplifier, and the comparison result is input into the state machine;
[0024] When the rectified voltage value of the high-frequency signal is not equal to the second target voltage value, the state machine changes the gain value of the CTLE by adjusting the value of the second register parameter in the register;
[0025] When the rectified voltage value of the high-frequency signal is equal to the second target voltage value, the state machine keeps the value of the second register parameter in the register unchanged.
[0026] In some embodiments, the system also includes a flash memory for storing and configuring register parameters, the register parameters including a first register parameter for controlling a gain value of the VGA, a second register parameter for controlling a gain value of the CTLE, a third register parameter for controlling a first target voltage value, and a fourth register parameter for controlling a second target voltage value.
[0027] In some embodiments, when the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the low-frequency gain adjustment loop enters a sleep mode.
[0028] In some embodiments, when the rectified voltage value of the high-frequency signal is equal to the second target voltage value, the equalization gain adjustment loop enters a sleep mode.
[0029] The digital circuit-assisted adaptive CTLE system provided by the present invention is that the signal is first amplified by VGA and then equalized by CTLE. Compared with direct CTLE equalization, the signal-to-noise ratio of the high-frequency signal output can be improved, and both VGA and CTLE can be adaptively adjusted, the gain and equalization target degree can be controlled, and the system is stable. In addition, the input signal first passes through the low-frequency gain adjustment loop to obtain the ideal low-frequency amplitude, and then further increases the high-frequency gain through the equalization gain adjustment loop, which can reduce the requirements of the input signal and obtain the output signal with the best quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 A schematic diagram of a single-loop adaptive equalization system provided for related technologies;
[0032] Figure 2 A schematic diagram of a single-loop adaptive equalization system with a cutting circuit provided for related technology;
[0033] Figure 3 A schematic diagram of an adaptive CTLE system assisted by a digital circuit provided by the present invention;
[0034] Figure 4 An adaptive adjustment flow chart of the adaptive CTLE system provided by the present invention;
[0035] Figure 5 An example diagram of a single-stage VGA circuit of digital control provided by the present invention;
[0036] Figure 6 This is an example diagram of a digitally controlled CTLE single-stage circuit provided by the present invention. DETAILED DESCRIPTION
[0037] In the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0038] In the present invention, the term "plurality" refers to two or more than two, and other quantifiers are similar to them.
[0039] In the present invention, the terms "first", "second", etc. are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] In order to more clearly understand the technical solution of the present invention, some technical contents related to the present invention are first introduced.
[0042] Figure 1 A schematic diagram of a single-loop adaptive equalization system provided for related technologies, such as Figure 1 As shown, the adaptive control circuit in the equalization system is composed of a low-pass filter, a high-pass filter, a rectifier and an error amplifier.
[0043] The single-loop adaptive equalization system detects the total power of the signal in two frequency bands after the transmission data is equalized by the equalization filter, and then calculates the deviation between the power ratio and the ideal value, and then transmits the difference to the error amplifier, and uses the output voltage of the error amplifier to change the high-frequency gain of the equalization filter. The system has the following disadvantages: the degree of equalization is difficult to effectively control. The cutoff frequency of the filter varies greatly with PVT (process, voltage and temperature), and the cutoff frequency in actual application after tape-out cannot be guaranteed to be consistent with the ideal frequency range of the design, which leads to a deviation in the calculated values of the low-frequency signal power and the high-frequency signal power. This deviation cannot be eliminated, which is manifested as the degree of equalization cannot be controlled to be optimized, and the signal eye diagram is manifested as excessive equalization or the eye cannot be opened.
[0044] Figure 2 A schematic diagram of a single-loop adaptive equalization system with a cutting circuit provided for related technologies, such as Figure 2 As shown, in the adaptive control circuit, the output signal of the slicer circuit is used as a reference signal, the high-frequency energy of the slicer circuit input signal is compared with the high-frequency energy of the output reference signal, and the comparison result is amplified by the error amplifier to adjust the high-frequency gain of the equalization filter to achieve adaptive equalization.
[0045] In a single-loop adaptive equalization system with a cutting circuit, the prerequisite for adaptive equalization is that the input and output signal swings of the cutting circuit are equal, that is, the low-frequency energy of the signals on both sides is equal. If the input and output signal swings of the cutting circuit are different, even if the adaptive loop composed of the high-pass filter, rectifier and error amplifier reaches a stable state, the equalization value generated by the adaptation is incorrect, which will eventually lead to equalization failure and even worse signal quality after equalization. Therefore, when using a single-loop adaptive control structure with a cutting circuit, it is important to ensure that the signals on both sides of the cutting circuit have equal swings, which is crucial when selecting an adaptive equalization structure. However, in the actual application of the equalization system, it is common for the input and output signal amplitudes of the cutting circuit to be different. The output swing of the cutting circuit is usually larger, generally greater than the swing of its input signal.
[0046] Based on the problem that the equalization effect of the traditional adaptive equalization system is not ideal, the present invention provides a new type of digital circuit assisted adaptive CTLE system. Figure 3-Figure 6 Make an introduction.
[0047] Reference Figure 3 , the digital circuit-assisted adaptive CTLE system provided by the present invention comprises a signal input terminal, a VGA, a CTLE and an output stage connected in sequence, and also comprises a low-frequency gain adjustment loop and an equalization gain adjustment loop;
[0048] The low-frequency gain adjustment loop is used to obtain the output signal of the VGA, and obtain a low-frequency signal by passing the output signal of the VGA through a low-pass filter, and adjust the gain value of the VGA according to the low-frequency signal;
[0049] The equalization gain adjustment loop is used to obtain the output signal of the CTLE, and obtain a high-frequency signal through a high-pass filter of the output signal of the CTLE, and adjust the gain value of the CTLE according to the high-frequency signal.
[0050] Wherein, VGA is a digitally controllable variable gain amplifier (VGA), and CTLE is a digitally controllable CTLE. The present invention does not limit the specific design of VGA and CTLE, and the existing design can be adopted as long as it can be digitally controlled. In the present invention, the gain values of VGA and CTLE are adaptively adjusted through a low-frequency gain adjustment loop and an equalization gain adjustment loop, respectively.
[0051] The low-frequency gain adjustment loop detects the output signal of the VGA, passes the output signal of the VGA through a low-pass filter (LPF) to obtain a low-frequency signal, and adjusts the gain value (low-frequency gain value) of the VGA according to the low-frequency signal, thereby obtaining an ideal low-frequency amplitude. The specific design of the low-pass filter is not limited by the present invention and can be selected according to needs.
[0052] The equalization gain adjustment loop detects the output signal of the CTLE. After the VGA gain adjustment reaches the target, the equalization gain adjustment loop can be used to adjust the gain of the CTLE. The output signal of the CTLE is passed through a high-pass filter (HPF) to obtain a high-frequency signal. The gain value (equalization gain value) of the CTLE is adjusted according to the high-frequency signal, thereby increasing the high-frequency gain. The specific design of the high-pass filter is not limited in the present invention and can be selected according to needs.
[0053] The digital circuit-assisted adaptive CTLE system provided by the present invention is that the signal is first amplified by VGA and then equalized by CTLE. Compared with direct CTLE equalization, the signal-to-noise ratio of the high-frequency signal output can be improved, and both VGA and CTLE can be adaptively adjusted, the gain and equalization target degree can be controlled, and the system is stable. In addition, the input signal first passes through the low-frequency gain adjustment loop to obtain the ideal low-frequency amplitude, and then further increases the high-frequency gain through the equalization gain adjustment loop, which can reduce the requirements of the input signal and obtain the output signal with the best quality.
[0054] In some embodiments, adjusting the gain value of the VGA according to the low-frequency signal includes:
[0055] The gain value of the VGA is adjusted according to a comparison result between the rectified voltage value of the low-frequency signal and the first target voltage value.
[0056] The first target voltage value may be set according to an expected target. If the rectified voltage value of the low-frequency signal is consistent with the first target voltage value, it indicates that the gain value of the VGA reaches the expected target.
[0057] In some embodiments, adjusting the gain value of the VGA according to a comparison result between the rectified voltage value of the low-frequency signal and the first target voltage value includes:
[0058] When the rectified voltage value of the low-frequency signal is not equal to the first target voltage value, the gain value of the VGA is changed so that the rectified voltage value of the low-frequency signal obtained by passing the output signal of the VGA through the low-pass filter after the gain value is changed is equal to the first target voltage value;
[0059] When the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the gain value of the VGA is kept unchanged.
[0060] Specifically, the purpose of the low-frequency gain adjustment loop is to make the gain value of the VGA reach the expected target. Whether the gain value of the VGA reaches the expected target can be judged by whether the rectified voltage value of the low-frequency signal obtained by the output signal of the VGA through the low-pass filter is equal to the first target voltage value. If the rectified voltage value of the low-frequency signal is not equal to the first target voltage value, the gain value of the VGA needs to be changed to make it closer to the expected target until it is detected that the rectified voltage value of the low-frequency signal is equal to the first target voltage value, then the gain value of the VGA is kept unchanged, that is, the gain value of the VGA reaches the expected target.
[0061] In some embodiments, the low frequency gain regulation loop includes a low pass filter, a first power detector, a first error amplifier, a state machine, and a register;
[0062] The low-frequency signal output by the low-pass filter is passed through the first power detector to obtain a rectified voltage value of the low-frequency signal. The rectified voltage value of the low-frequency signal is compared with the first target voltage value through the first error amplifier, and the comparison result is input into the state machine;
[0063] When the rectified voltage value of the low-frequency signal is not equal to the first target voltage value, the state machine changes the gain value of the VGA by adjusting the value of the first register parameter in the register;
[0064] When the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the state machine keeps the value of the first register parameter in the register unchanged.
[0065] Reference Figure 3 The hardware implementation of the low-frequency gain adjustment loop may include a low-pass filter, a first power detector, a first error amplifier, a finite state machine (SFM), and a register. The output signal of the VGA first passes through a low-pass filter to output a low-frequency signal, and the low-frequency signal then passes through the first power detector to obtain a rectified voltage value of the low-frequency signal. The rectified voltage value of the low-frequency signal is compared with a preset first target voltage value through a first error amplifier, and the comparison result is fed back to the state machine.
[0066] The gain value of the VGA can be digitally adjusted and controlled by a register. The state machine adjusts the gain value of the VGA by changing the value of the corresponding register parameter (the first register parameter). When the rectified voltage value of the low-frequency signal is adjusted to be consistent with the first target voltage value, the adaptive adjustment of the VGA is completed.
[0067] In some embodiments, adjusting the gain value of the CTLE according to the high frequency signal includes:
[0068] The gain value of the CTLE is adjusted according to a comparison result between the rectified voltage value of the high frequency signal and the second target voltage value.
[0069] The second target voltage value may be set according to an expected target. If the rectified voltage value of the high-frequency signal is consistent with the second target voltage value, it indicates that the gain value of the CTLE reaches the expected target.
[0070] In some embodiments, adjusting the gain value of the CTLE according to a comparison result between the rectified voltage value of the high-frequency signal and the second target voltage value includes:
[0071] When the rectified voltage value of the high-frequency signal is not equal to the second target voltage value, the gain value of the CTLE is changed so that the rectified voltage value of the high-frequency signal obtained by passing the output signal of the CTLE through the high-pass filter after the gain value is changed is equal to the second target voltage value;
[0072] When the rectified voltage value of the high frequency signal is equal to the second target voltage value, the gain value of the CTLE is kept unchanged.
[0073] Specifically, the purpose of the equalization gain adjustment loop is to make the gain value of the CTLE reach the expected target. Whether the gain value of the CTLE reaches the expected target can be judged by whether the rectified voltage value of the high-frequency signal obtained by the output signal of the CTLE through the high-pass filter is equal to the second target voltage value. If the rectified voltage value of the high-frequency signal is not equal to the second target voltage value, the gain value of the CTLE needs to be changed to make it closer to the expected target, until it is detected that the rectified voltage value of the high-frequency signal is equal to the second target voltage value, then the gain value of the CTLE is kept unchanged, that is, the gain value of the CTLE reaches the expected target.
[0074] In some embodiments, the equalization gain adjustment loop includes a high pass filter, a second power detector, a second error amplifier, and a state machine and registers shared with the low frequency gain adjustment loop;
[0075] The high-frequency signal output by the high-pass filter is passed through the second power detector to obtain a rectified voltage value of the high-frequency signal. The rectified voltage value of the high-frequency signal is compared with the second target voltage value through the second error amplifier, and the comparison result is input into the state machine.
[0076] When the rectified voltage value of the high frequency signal is not equal to the second target voltage value, the state machine changes the gain value of the CTLE by adjusting the value of the second register parameter in the register;
[0077] When the rectified voltage value of the high-frequency signal is equal to the second target voltage value, the state machine maintains the value of the second register parameter in the register unchanged.
[0078] Reference Figure 3The hardware implementation of the equalization gain adjustment loop may include a high-pass filter, a second power detector (Power Detector), a second error amplifier (Error Amplifier), a state machine (SFM) and a register (Register), such as Figure 3 As shown, the equalization gain adjustment loop and the low-frequency gain adjustment loop can share the same state machine and register.
[0079] The output signal of CTLE first passes through a high-pass filter to output a high-frequency signal, and the high-frequency signal then passes through a second power detector to obtain a rectified voltage value of the high-frequency signal. The rectified voltage value of the high-frequency signal is compared with a preset second target voltage value through a second error amplifier, and the comparison result is fed back to the state machine.
[0080] The gain value of CTLE can be digitally adjusted and controlled by a register. The state machine adjusts the gain value of CTLE by changing the value of a corresponding register parameter (a second register parameter). When the rectified voltage value of the high-frequency signal is adjusted to be consistent with the second target voltage value, the adaptive adjustment of CTLE is completed.
[0081] In some embodiments, the system also includes a flash memory (Flash) for storing and configuring register parameters, the register parameters including a first register parameter for controlling a gain value of the VGA, a second register parameter for controlling a gain value of the CTLE, a third register parameter for controlling a first target voltage value, and a fourth register parameter for controlling a second target voltage value.
[0082] Specifically, in some implementations, the gain value of the VGA, the gain value of the CTLE, the first target voltage value, and the second target voltage value can be controlled and adjusted by corresponding register parameters in the register. The register parameters are configured through the flash memory. For example, when the power is turned on, the flash memory first configures the register parameters. After the adaptive adjustment of the VGA and CTLE is completed, the values of the corresponding register parameters are stored in the flash memory, and are directly configured to the registers after the next power-on, which can save the time of the adaptive adjustment process.
[0083] In some embodiments, when the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the low-frequency gain adjustment loop enters a sleep mode.
[0084] For example, if the state machine determines that the rectified voltage value of the low-frequency signal is equal to the first target voltage value based on a comparison result of the first error amplifier feedback, the adaptive adjustment process of the VGA can be terminated, and the low-frequency gain adjustment loop enters the sleep mode to save power consumption. For example, the low-frequency gain adjustment loop no longer obtains the output signal of the VGA, and the low-pass filter, the first power detector and the first error amplifier enter the sleep state.
[0085] In some embodiments, when the rectified voltage value of the high-frequency signal is equal to the second target voltage value, the equalization gain adjustment loop enters a sleep mode.
[0086] For example, the state machine determines that the rectified voltage value of the high-frequency signal is equal to the second target voltage value based on a comparison result of a second error amplifier feedback, and then the adaptive adjustment process of the CTLE can be terminated. At this time, the balanced gain adjustment loop and the low-frequency gain adjustment loop can both enter the sleep mode to save power consumption. For example, the low-frequency gain adjustment loop no longer obtains the output signal of the VGA, the balanced gain adjustment loop no longer obtains the output signal of the CTLE, and each device in the balanced gain adjustment loop and the low-frequency gain adjustment loop enters the sleep state.
[0087] Figure 4 The adaptive adjustment flow chart of the adaptive CTLE system provided by the present invention is as follows: Figure 4 As shown, the system starts to work after power-on. First, the Flash configures the register parameters, and then starts the low-frequency gain adjustment of the VGA. The FSM determines whether the low-frequency gain adjustment meets the expectations based on the comparison result fed back by the first error amplifier. If it does not meet the expectations, the register parameters corresponding to the VGA gain adjustment are adjusted until they meet the expectations. After the low-frequency gain adjustment meets the expectations, the CTLE high-frequency gain adjustment is started. Similarly, the FSM determines whether the high-frequency gain adjustment meets the expectations based on the comparison result fed back by the second error amplifier. If it does not meet the expectations, the register parameters corresponding to the CTLE gain adjustment are adjusted until they meet the expectations. After the high-frequency gain adjustment meets the expectations, the register adaptive adjustment results are written into the Flash, and the adaptive loop (low-frequency gain adjustment loop and equalization gain adjustment loop) can enter the sleep mode, the adaptive adjustment ends, and the circuit works stably.
[0088] In an embodiment of the present invention, the endpoint target value (first target voltage value) of the low-frequency gain adaptive adjustment can be manually intervened. After the input signal is processed by the VGA, the low-frequency signal is filtered through a low-pass filter. After the low-frequency signal passes through the energy detection circuit, a rectified voltage value is obtained, which is compared with the first target voltage value through the first error amplifier. The comparison result is fed back to the state machine. The state machine adjusts the gain value of the VGA by changing the value of the register. When the rectified voltage value is adjusted to be consistent with the first target voltage value, the adaptive adjustment of the VGA ends. The first target voltage value is controlled by the register, and this value can be manually intervened, so that the actual circuit optimization can be achieved to meet expectations. After the adaptive equalizer is powered on, the value of the register that controls the first target voltage value can be written into the Flash. The user can adjust this value according to expectations and update the value stored in the Flash. This innovation has the following benefits: (1) Avoid failure of the low-frequency gain adjustment loop and make up for the deviation between the actual effect of the circuit and the design value. Reduce the PVT design requirements of the low-frequency gain adjustment loop. When the circuit is designed, the signal passes through the low-pass filter and the first power detector to obtain a low-frequency energy rectified value. When this value is consistent with the first target voltage value, the adaptive adjustment ends. If the actual effect of the low-pass filter and the first power detector deviates from the design value, the amplitude of the low-frequency signal after passing through the VGA will naturally deviate from the design expectation, and this deviation cannot be corrected. By introducing artificial intervention of the endpoint target value of the low-frequency gain adaptive adjustment, the adaptive adjustment endpoint effect can be changed, which can overcome the deviation and relax the circuit design requirements on the low-frequency adaptive loop; (2) Users can customize the low-frequency gain amplitude value in the system by adjusting the first target voltage value to better adapt to application requirements.
[0089] In an embodiment of the present invention, the endpoint target value (second target voltage value) of the adaptive adjustment of the equalization gain can be manually intervened. The input signal adjusted by the low-frequency gain adjustment loop enters the equalization gain adjustment loop. The signal obtains high-frequency energy through a high-pass filter, and obtains a rectified voltage value after passing through an energy detection circuit. The signal is compared with the second target voltage value through a second error amplifier, and the comparison result is fed back to the state machine. The state machine adjusts the gain value of CTLE through a register. When the rectified voltage value is adjusted to be consistent with the second target voltage value, the adaptive adjustment ends. The second target voltage value is controlled by a register, and this value can be manually intervened, so that the actual circuit equalization effect can be optimized to meet expectations. After the adaptive equalizer is powered on, the value of the register controlling the second target voltage value can be written into the Flash. The user can adjust this value according to expectations and update the value stored in the Flash. This innovation has the following benefits: (1) Avoiding failure of the equalization gain adjustment loop and compensating for the deviation between the actual effect of the circuit and the design value. Reduce the PVT design requirements of the equalization gain adjustment loop. When designing the circuit, the signal obtains a high-frequency energy rectified value through a high-pass filter and a second power detector. When this value is consistent with the target value, the adaptive adjustment ends. If the actual effect of the high-pass filter and the second power detector deviates from the design value, there will be a natural deviation between the equalization effect and the design expectation, resulting in insufficient or excessive equalization, and this deviation cannot be corrected. By introducing the artificial intervention of the endpoint target value of the equalization gain adaptive adjustment, the adaptive adjustment endpoint effect can be changed, which can overcome the deviation and relax the circuit design requirements on the equalization adaptive loop; (2) Users can customize the degree of equalization in the system by adjusting the second target voltage value to better adapt to application requirements.
[0090] In the embodiment of the present invention, in order to achieve the output signal with the best quality after the input signal passes through the adaptive equalizer, two loop adaptive processes (i.e., the low-frequency gain adjustment loop and the equalization gain adjustment loop) are carefully designed to reduce the requirements for the input signal. The input signal first passes through the low-frequency gain adjustment loop to obtain the ideal low-frequency amplitude. This loop has two advantages: (1) improving the signal-to-noise ratio of the input signal when the channel attenuation is severe. When the channel attenuation is severe, the high-frequency signal amplitude is very small. The signal is first amplified by the VGA and then equalized by the CTLE. Compared with direct CTLE equalization, it can improve the output signal-to-noise ratio of the high-frequency signal. (2) The low-frequency amplitude is controlled at the expected value, and the system is robust. The signal processed by the low-frequency gain adjustment loop enters the equalization gain adjustment loop to further improve the high-frequency gain. The two loops work independently in succession, and the system has no stability problems and high reliability.
[0091] In an embodiment of the present invention, the adaptive equalizer has training and memory functions. In the debugging stage, the adaptive equalizer of the present invention can first determine the first target voltage value and the second target voltage value, and observe the adaptive output result. The first target voltage value and the second target voltage value are manually adjusted so that the output reaches the expected state. After the adaptive adjustment is completed, the value of the adaptive register can be stored in Flash. When working next time, the adaptive adjustment result of the last time is memorized, which is convenient for quick adjustment and saves adjustment time and power consumption.
[0092] In the embodiment of the present invention, the digitally controlled VGA can be cascaded in multiple stages, wherein a circuit of a single stage is implemented as follows: Figure 5 As shown in Figure 1. CS is used to expand bandwidth and its value is in pF level. Gain[n:0] (including Gain[0], ..., Gain[n]) is used to control RS (RS、RS 0 ,…,RS n ) is selected (n is an integer greater than or equal to 1) to achieve gain adjustment. Gain[n:0] can be used as the first register parameter to control the gain value of the VGA. As a variation, the load RD can also be used to adjust the gain. Figure 5 In the figure, VIP and VIN represent the positive and negative input terminals, VOUTP and VOUTN represent the positive and negative output terminals, VDD represents the device operating voltage, CS represents the capacitor, RS and RS 0 ,…,RS n All are resistors.
[0093] In the embodiment of the present invention, the digitally controlled CTLE may also be cascaded in multiple stages, wherein a circuit of a single stage is implemented as follows: Figure 6 As shown. Among them, EQ[m:0] (including EQ[0], EQ[1], ..., EQ[m-1], EQ[m]) is used to control RS ( Figure 6 RS 0 , RS 1 etc.) and CS ( Figure 6 CS k-1 , CS k The CTLE gain can be adjusted by selecting the RS and CS bits (the total number of RS and CS bits is m+1, the total number of CS bits is k, and both m and k are integers greater than or equal to 1). EQ[m:0] can be used as the second register parameter to control the gain value of CTLE. Figure 6 In, R.S. 0 , RS 1 All are resistors, CS k-1 , CS k All are capacitors. The meanings of other parameters can be found in Figure 5 , I will not go into details here.
[0094] In the embodiment of the present invention, the output stage may include a buffer stage (Buffer) and a driver stage (Driver), and the buffer stage may be designed using a limiting amplifier or in combination with the level type of the driver stage.
[0095] The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0096] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution 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 can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A digital circuit-assisted adaptive CTLE system, It is characterized in that It includes a signal input terminal, a VGA, a CTLE and an output stage connected in sequence, and also includes a low-frequency gain adjustment loop and an equalization gain adjustment loop; The low-frequency gain adjustment loop is used to obtain the output signal of the VGA, and obtain a low-frequency signal by passing the output signal of the VGA through a low-pass filter, and adjust the gain value of the VGA according to the low-frequency signal; The equalization gain adjustment loop is used to obtain the output signal of the CTLE, and obtain a high-frequency signal by passing the output signal of the CTLE through a high-pass filter, and adjust the gain value of the CTLE according to the high-frequency signal; The low-frequency gain adjustment loop includes the low-pass filter, a first power detector, a first error amplifier, a state machine and a register; The low-frequency signal output by the low-pass filter is passed through the first power detector to obtain a rectified voltage value of the low-frequency signal, the rectified voltage value of the low-frequency signal is compared with a first target voltage value through the first error amplifier, and the comparison result is input into the state machine; In the case that the rectified voltage value of the low-frequency signal is not equal to the first target voltage value, the state machine changes the gain value of the VGA by adjusting the value of the first register parameter in the register, so that after the gain value is changed, the rectified voltage value of the low-frequency signal obtained by the output signal of the VGA through the low-pass filter is equal to the first target voltage value; When the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the state machine keeps the value of the first register parameter in the register unchanged, so as to keep the gain value of the VGA unchanged; The equalization gain adjustment loop includes the high-pass filter, the second power detector, the second error amplifier, and a state machine and register shared with the low-frequency gain adjustment loop; The high-frequency signal output by the high-pass filter is passed through the second power detector to obtain a rectified voltage value of the high-frequency signal, the rectified voltage value of the high-frequency signal is compared with the second target voltage value through the second error amplifier, and the comparison result is input into the state machine; In a case where the rectified voltage value of the high-frequency signal is not equal to the second target voltage value, the state machine changes the gain value of the CTLE by adjusting the value of the second register parameter in the register, so that after the gain value is changed, the rectified voltage value of the high-frequency signal obtained by the output signal of the CTLE through the high-pass filter is equal to the second target voltage value; When the rectified voltage value of the high-frequency signal is equal to the second target voltage value, the state machine keeps the value of the second register parameter in the register unchanged, so as to keep the gain value of the CTLE unchanged.
2. The digital circuit-assisted adaptive CTLE system according to claim 1, It is characterized in that The system also includes a flash memory for storing and configuring register parameters, the register parameters including a first register parameter for controlling a gain value of the VGA, a second register parameter for controlling a gain value of the CTLE, a third register parameter for controlling a first target voltage value, and a fourth register parameter for controlling a second target voltage value.
3. The digital circuit-assisted adaptive CTLE system according to claim 1, It is characterized in that When the rectified voltage value of the low-frequency signal is equal to the first target voltage value, the low-frequency gain adjustment loop enters a sleep mode.
4. The digital circuit-assisted adaptive CTLE system according to claim 1, It is characterized in that When the rectified voltage value of the high-frequency signal is equal to the second target voltage value, the equalization gain adjustment loop enters a sleep mode.
