Gain calibration method of vehicle gauge level chip receiving link and related equipment

By introducing algorithm adjustment circuits and gain compensation tables into the gain calibration circuit of the automotive-grade chip reception link, and using the chirp signal for gain calibration, the traditional gain adjustment circuit has solved the shortcomings in timeliness, accuracy and channel consistency, and achieved higher system performance and safety.

CN119628666APending Publication Date: 2025-03-14MICROCREATIVE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411681534.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

Traditional automatic receiving gain adjustment circuits have obvious shortcomings in timeliness, accuracy and consistency of different channels, especially in automotive-grade applications, which may lead to system performance degradation and even safety risks.

Method used

Using a gain calibration method for automotive-grade chip reception link, the gain calibration is performed using the Chirp signal by introducing a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit into the gain calibration circuit. The method includes passing the chirp signal through a regulation process of a transimpedance amplifier, a first gain amplifier and a second gain amplifier, and after reaching the analog-to-digital converter, obtaining the digital signal through an algorithm adjustment circuit, calculating the signal energy value, and performing gain compensation based on a preset gain compensation table.

Benefits of technology

It improves the timeliness and accuracy of gain adjustment, ensures the consistent gain adjustment results of different receiving channels, improves the overall performance and reliability of the system, and can comply with the automotive-grade ASIL_B design standards and ISO26262 certification, thereby improving the safety of automotive-grade SoC chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628666A_ABST
    Figure CN119628666A_ABST
Patent Text Reader

Abstract

The invention provides a gain calibration method for a receiving link of a vehicle gauge level chip and related equipment, and the method comprises the steps: enabling a chirp signal for gain calibration to pass through a trans-impedance amplifier, a first gain amplifier and a second gain amplifier in sequence for adjustment processing, and enabling the chirp signal to pass through an analog-to-digital converter when the chirp signal reaches the analog-to-digital converter; obtaining a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter through an algorithm adjusting circuit; obtaining a signal energy value corresponding to the digital signal based on a preset digital algorithm through an algorithm adjusting circuit; the signal compensation value corresponding to the signal energy value is obtained through the algorithm adjusting circuit based on the preset gain compensation table, and the signal compensation value is sent to the trans-impedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal to perform gain compensation, so that the problems of poor timeliness, low precision and high efficiency of traditional receiving gain adjustment can be effectively solved. And due to the limitation of poor channel consistency of different channels, the reliability and the precision of gain calibration of the vehicle gauge level chip receiving link are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of millimeter wave radar technology, and in particular to a gain calibration method and related equipment for an automotive-grade chip receiving link. Background Art

[0002] In millimeter wave radar systems or wireless communication systems, the strength of the wireless signal received by the receiving antenna is affected by many factors, such as the transmission power of the transmitting antenna, the distance between the transmitting antenna and the receiving antenna, the multipath effect and fading during the radio wave propagation process, etc., which leads to significant differences in the effective signal strength induced on the receiving antenna, and this difference may change with time and environmental conditions. If weak signals are received, effective information may be lost due to low signal energy; and when strong signals are received, effective information may be lost due to saturation of the receiving link. Therefore, in order to ensure the effectiveness and reliability of the communication system, an automatic gain adjustment circuit needs to be designed to dynamically adjust the range of changes in the received signal strength during the system operation to ensure that effective information is not lost.

[0003] The traditional receiving gain automatic adjustment circuit usually includes two parts: a feedback controller and a control object. The feedback controller is composed of a level detector, a low-pass filter, a DC amplifier, a voltage comparator and a control voltage generator, while the controlled object is a controllable gain amplifier. Although this traditional method can achieve basic gain adjustment functions, it has obvious deficiencies in timeliness, accuracy and consistency of different channels. Especially in automotive-grade applications, these deficiencies may lead to system performance degradation and even safety hazards. Summary of the invention

[0004] The embodiments of the present application provide a gain calibration method and related equipment for an automotive-grade chip receiving link, which can effectively solve the limitations of traditional receiving gain adjustment, such as poor timeliness, low accuracy, and poor channel consistency of different channels, and improve the reliability and accuracy of the gain calibration of the automotive-grade chip receiving link.

[0005] To achieve the above-mentioned purpose, the first aspect of an embodiment of the present application provides a gain calibration method for an automotive-grade chip receiving link, the method being applied to a gain calibration circuit, the gain calibration circuit comprising a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence, the method comprising: when the chirp signal used for gain calibration is adjusted and processed by the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence and reaches the analog-to-digital converter, the digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter is obtained through the algorithm adjustment circuit; the signal energy value corresponding to the digital signal is obtained through the algorithm adjustment circuit based on a preset digital algorithm; the signal compensation value corresponding to the signal energy value is obtained through the algorithm adjustment circuit based on a preset gain compensation table, and the signal compensation value is sent to the transimpedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal for gain compensation.

[0006] In some embodiments, the gain calibration circuit also includes a transmitting circuit connected to the transimpedance amplifier, and the method also includes: sending a plurality of chirp signals corresponding to the transimpedance amplifier, the first gain amplifier and the second gain amplifier to the transimpedance amplifier in sequence through the transmitting circuit, so that the algorithm adjustment circuit performs the gain calibration on the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence according to the signal compensation values ​​corresponding to the plurality of chirp signals.

[0007] In some embodiments, the method also includes: sending a first chirp signal corresponding to the transimpedance amplifier to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a signal compensation value corresponding to the first chirp signal based on a preset TIA gain compensation table, and sends the signal compensation value to the transimpedance amplifier for TIA gain compensation.

[0008] In some embodiments, after performing TIA gain compensation, the method further includes: sending a TIA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a TIA compensation signal energy value corresponding to the TIA compensation check chirp based on a preset digital algorithm; when the TIA compensation signal energy value meets the target compensation range, sending a second chirp signal corresponding to the first gain amplifier to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a signal compensation value corresponding to the second chirp signal based on a preset first VGA gain compensation table, and sending the signal compensation value to the first gain amplifier to perform a first VGA gain compensation; when the TIA compensation signal energy value does not meet the target compensation range, performing the TIA gain compensation again.

[0009] In some embodiments, after performing the first VGA gain compensation, the method further includes: sending a first VGA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a first VGA compensation signal energy value corresponding to the first VGA compensation check chirp based on a preset digital algorithm; when the energy value of the first VGA compensation signal meets the target compensation range, sending a third chirp signal corresponding to the second gain amplifier to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a signal compensation value corresponding to the third chirp signal based on a preset second VGA gain compensation table, and sends the signal compensation value to the second gain amplifier to perform a second VGA gain compensation; when the energy value of the first VGA compensation signal does not meet the target compensation range, performing the first VGA gain compensation again.

[0010] In some embodiments, after performing the second VGA gain compensation, the method also includes: sending a second VGA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a second VGA compensation signal energy value corresponding to the second VGA compensation check chirp based on a preset digital algorithm; when the second VGA compensation signal energy value does not meet the target compensation range, performing the second VGA gain compensation again.

[0011] To achieve the above-mentioned purpose, the second aspect of an embodiment of the present application provides a gain calibration circuit for an automotive-grade chip receiving link, comprising a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence: wherein, when the chirp signal used for gain calibration is adjusted and processed by the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence and reaches the analog-to-digital converter, the algorithm adjustment circuit is used to obtain a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter; obtain a signal energy value corresponding to the digital signal based on a preset digital algorithm; obtain a signal compensation value corresponding to the signal energy value based on a preset gain compensation table, and send the signal compensation value to the transimpedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal for gain compensation.

[0012] In some embodiments, the gain calibration circuit also includes: a first high-pass filter, a second high-pass filter and a low-pass filter: wherein the first high-pass filter is arranged between the transimpedance amplifier and the first gain amplifier, the second high-pass filter is arranged between the first gain amplifier and the second gain amplifier, and the low-pass filter is arranged between the second gain amplifier and the analog-to-digital converter.

[0013] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application provides an electronic device, comprising: at least one processor; at least one memory for storing at least one program; when at least one of the programs is executed by at least one of the processors, a gain calibration method for an automotive-grade chip receiving link as described in any one of the first aspects is implemented.

[0014] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the gain calibration method for the automotive-grade chip receiving link as described in any one of the fourth aspects.

[0015] The embodiment of the present application provides a gain calibration method and related equipment for a vehicle-grade chip receiving link, which can be applied to a gain calibration circuit. The gain calibration circuit includes a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence. The method includes: when a chirp signal used for gain calibration is adjusted and processed by the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence and reaches the analog-to-digital converter, a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter is obtained through the algorithm adjustment circuit; a signal energy value corresponding to the digital signal is obtained through the algorithm adjustment circuit based on a preset digital algorithm; a signal compensation value corresponding to the signal energy value is obtained through the algorithm adjustment circuit based on a preset gain compensation table, and the signal compensation value is sent to the transimpedance amplifier, the first gain amplifier and the analog-to-digital converter corresponding to the chirp signal. A large or second gain amplifier is used for gain compensation; it can be understood that the embodiment of the present application sends redundant chirp signals, accurately calculates signal energy through digital algorithms, and quickly searches for suitable gain values ​​through a preset gain compensation table, so as to achieve fast and precise gain adjustment with short response time, and can adapt to changes in signal strength in a timely manner, thereby improving the timeliness and accuracy of gain adjustment; and the embodiment of the present application performs gain compensation based on digital algorithms and gain compensation tables to achieve gain calibration, thereby ensuring that the gain adjustment results of different receiving channels are consistent, improving the channel consistency of different channels, and thereby improving the overall performance and reliability of the system, ensuring that the corresponding circuit design, when applied to automotive-grade SoC chips, can comply with automotive-grade ASIL_B design standards and ISO26262 certification, thereby improving the safety of automotive-grade SoC chips. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a gain calibration circuit provided in an embodiment of the present application;

[0017] Figure 2 A flowchart of a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application;

[0018] Figure 3 A schematic diagram of performing gain calibration in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application;

[0019] Figure 4 A flow chart of performing TIA gain compensation in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application;

[0020] Figure 5 A flow chart of performing first VGA gain compensation in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application;

[0021] Figure 6 A flow chart of performing second VGA gain compensation in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application;

[0022] Figure 7 A schematic diagram of the chrip timing in the gain calibration method of the automotive-grade chip receiving link provided in one embodiment of the present application;

[0023] Figure 8 Another flowchart of the chrip timing in the gain calibration method of the automotive-grade chip receiving link provided in one embodiment of the present application;

[0024] Fig. 9 A specific flow chart of a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application;

[0025] Fig.10 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

[0026] Fig.11 A time domain diagram of data collected by the ADC before automatic gain adjustment of a low-energy wireless signal provided in an embodiment of the present application;

[0027] Fig.12 A time domain diagram of data collected by the ADC before automatic gain adjustment of a high-energy wireless signal provided in an embodiment of the present application;

[0028] Fig.13 A time domain diagram of data collected by the ADC after automatic gain adjustment for all energy signals provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0030] In some embodiments, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms first, second, etc. in the specification, claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0031] In addition, unless otherwise clearly specified and limited, the term "connected" should be understood in a broad sense. For example, it can be a fixed connection or a movable connection, a detachable connection or a non-detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or the two can communicate with each other; it can be a direct connection or an indirect connection through an intermediate medium.

[0032] In the description of the embodiments of the present application, the description of reference terms "one embodiment / implementation", "another embodiment / implementation" or "certain embodiments / implementations", "in the above embodiments / implementations", etc. means that the specific features, structures, materials or characteristics described in combination with the implementation or example are included in at least two embodiments or implementations disclosed in the present application. In the disclosure of this application, the schematic representation of the above terms does not necessarily refer to the same embodiment or implementation. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that in the flowchart.

[0033] In millimeter wave radar systems or wireless communication systems, the strength of the wireless signal received by the receiving antenna is affected by many factors, such as the transmission power of the transmitting antenna, the distance between the transmitting antenna and the receiving antenna, the multipath effect and fading during the radio wave propagation process, etc., resulting in significant differences in the effective signal strength induced on the receiving antenna, and this difference may change with time and environmental conditions. If a weak signal is received, the effective information may be lost due to the small signal energy; and when a strong signal is received, the effective information may be lost due to the saturation of the receiving link. Therefore, in order to ensure the effectiveness and reliability of the communication system, it is necessary to design an automatic gain adjustment circuit to dynamically adjust the received signal strength variation range during the system operation to ensure that the effective information is not lost; the traditional receiving gain automatic adjustment circuit usually includes a feedback controller and a control object, wherein the feedback controller is composed of a level detector, a low-pass filter, a DC amplifier, a voltage comparator and a control voltage generator, and the controlled object is a controllable gain amplifier. Although this traditional method can realize the basic gain adjustment function, it has obvious deficiencies in timeliness, accuracy and consistency of different channels. Especially in automotive-grade applications, these deficiencies may lead to system performance degradation and even safety hazards.

[0034] Based on this, the embodiments of the present application provide a gain calibration method and related equipment for the receiving link of an automotive-grade chip, which can effectively solve the limitations of traditional receiving gain adjustment, such as poor timeliness, low accuracy, and poor channel consistency of different channels, and improve the reliability and accuracy of the gain calibration of the receiving link of an automotive-grade chip.

[0035] The present application scheme is further described below with reference to the accompanying drawings.

[0036] refer to Figure 1 and Figure 2 , Figure 1 A schematic diagram of a gain calibration circuit provided in an embodiment of the present application; Figure 2 A flowchart of a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application; To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application provides a gain calibration method for a vehicle-grade chip receiving link, the method is applied to a gain calibration circuit, the gain calibration circuit includes a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence, the method includes:

[0037] Step S210, when the chirp signal used for gain calibration is adjusted and processed by the transimpedance amplifier, the first gain amplifier, and the second gain amplifier in sequence and reaches the analog-to-digital converter, a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter is obtained through an algorithm adjustment circuit;

[0038] Step S220, obtaining a signal energy value corresponding to the digital signal based on a preset digital algorithm through an algorithm adjustment circuit;

[0039] Step S230, obtaining a signal compensation value corresponding to the signal energy value based on a preset gain compensation table through an algorithm adjustment circuit, and sending the signal compensation value to a transimpedance amplifier, a first gain amplifier or a second gain amplifier corresponding to the chirp signal for gain compensation.

[0040] Among them, it can be understood that the embodiment of the present application sends redundant chirp signals, accurately calculates the signal energy through a digital algorithm, and quickly searches for a suitable gain value through a preset gain compensation table, so as to achieve fast and fine gain adjustment with a short response time, and can adapt to changes in signal strength in a timely manner, thereby improving the timeliness and accuracy of gain adjustment; and the embodiment of the present application performs gain compensation based on a digital algorithm and a gain compensation table to achieve gain calibration, thereby ensuring that the gain adjustment results of different receiving channels are consistent, improving the channel consistency of different channels, and thereby improving the overall performance and reliability of the system, ensuring that the corresponding circuit design, when applied to automotive-grade SoC chips, can comply with the automotive-grade ASIL_B design standards and ISO26262 certification, thereby improving the safety of automotive-grade SoC chips.

[0041] In some embodiments, the gain calibration circuit further includes: a first high-pass filter, a second high-pass filter and a low-pass filter: wherein the first high-pass filter is arranged between the transimpedance amplifier and the first gain amplifier, the second high-pass filter is arranged between the first gain amplifier and the second gain amplifier, and the low-pass filter is arranged between the second gain amplifier and the analog-to-digital converter; corresponding Figure 1, where TIA is a transimpedance amplifier, HPF1 is the first high-pass filter, VGA1 is the first gain amplifier, HPF2 is the second high-pass filter, VGA2 is the second gain amplifier, LPF is a low-pass filter, and ADC is an analog-to-digital converter; where HPF1 can filter out the DC component in the input signal, prevent the influence of DC bias on the subsequent amplifier, suppress low-frequency noise, and reduce the influence of these noises on the signal quality. By removing unnecessary low-frequency components, HPF1 helps to protect the subsequent amplifiers and ADC from low-frequency interference; HPF2 can further filter out the low-frequency noise after amplification by VGA1, ensuring that the signal entering VGA2 is purer, and by removing unnecessary low-frequency components, VGA2 and subsequent circuits are protected from low-frequency interference, ensuring that the signal performs better in the high-frequency band; LPF can filter out high-frequency noise in the signal and prevent high-frequency components from aliasing during ADC sampling, ensuring the accuracy of the digital signal output by the ADC, so that the frequency range of the signal at the ADC input end meets the requirements.

[0042] In some embodiments, automotive-grade chips refer to integrated circuits specially designed for automotive electronic systems. Such chips need to meet the automotive industry's strict requirements for reliability, safety, environmental adaptability, etc. Automotive-grade chips need to pass a series of rigorous tests and certifications, such as AEC-Q100, ISO26262, etc., to ensure that they can still work stably under extreme environmental conditions (such as high temperature, low temperature, vibration, etc.).

[0043] In some embodiments, the gain calibration circuit is a circuit used to automatically adjust the gain of the received signal to ensure that the received signal is within a certain range and avoid information loss caused by overload or too weak a signal. The gain calibration circuit in the present application can be used in wireless communications and radar systems to dynamically adjust the gain of the received signal to ensure signal quality.

[0044] In some embodiments, a transimpedance amplifier (TIA) is an amplifier that can convert a current signal into a voltage signal. It is often used in optical communications, sensor signal processing and other fields. In the receiving link, the TIA is responsible for converting the weak current signal received from the receiving antenna into a voltage signal for subsequent processing; a variable gain amplifier (VGA) is an amplifier that can adjust the gain. It is used for signal amplification and gain control. In the receiving link, the VGA is used to further amplify the voltage signal output by the TIA and adjust the gain as needed to ensure that the signal is within an appropriate range; an analog-to-digital converter (ADC) is a device that can convert an analog signal into a digital signal. In the receiving link, the ADC converts the analog signal output by the VGA into a digital signal for subsequent digital signal processing.

[0045] In some embodiments, the algorithm adjustment circuit can be a circuit based on a digital signal processing algorithm, which is used to analyze and process the digital signal output by the ADC and adjust the gain as needed. In the receiving link, the algorithm adjustment circuit calculates the signal energy through a digital algorithm and adjusts the gain according to a preset gain compensation table to ensure signal quality; the Chirp signal is a signal whose frequency changes linearly with time in radar and communication systems. In the gain calibration process of the present application, the Chirp signal is used to test and calibrate the gain of the receiving link. By sending Chirp signals of different frequencies, the performance of the receiving link can be comprehensively evaluated.

[0046] In some embodiments, a digital algorithm refers to a mathematical method used to process digital signals. Specifically, the mathematical method in the present application may include FFT (Fast Fourier Transform), de-averaging, windowing, etc. In gain calibration, a digital algorithm is used to calculate the energy of a Chirp signal. These algorithms can more accurately measure the signal strength and thus adjust the gain.

[0047] It can be understood that after the ADC samples the data, the DC bias in the sampled ADC is removed by a de-averaging algorithm; in order to suppress the influence of the out-of-band signal after sampling, the out-of-band information is removed by a windowing algorithm. FFT performs FFT calculation on the windowed data, transfers the time domain information to the frequency domain, and searches for the maximum value of the result after the FFT calculation. The frequency and energy of the current maximum value can be obtained, and the frequency and energy values ​​are used to search the automatic gain table.

[0048] In some embodiments, the gain compensation table is a table pre-set in the present application, which records the gain compensation values ​​corresponding to different signal energy values. In gain calibration, the algorithm adjustment circuit searches the gain compensation table for the corresponding gain compensation value based on the calculated signal energy value, and then adjusts the gain of the gain amplifier.

[0049] In some embodiments, it is understood that the traditional method relies on continuous level detection and voltage comparison, has a long response time, and is difficult to quickly adapt to rapid changes in signal strength. The present invention can quickly obtain signal energy in a short time by sending redundant chirp signals and performing FFT calculations in the digital domain, thereby achieving rapid gain adjustment; the traditional method uses analog circuits for level detection and voltage comparison, which is easily affected by factors such as temperature and noise, resulting in low accuracy. The present invention can more accurately quantify signal energy and improve the accuracy of gain adjustment through FFT calculations in the digital domain.

[0050] In some embodiments, it can be understood that the present application obtains the signal energy value corresponding to the digital signal based on a preset energy algorithm through an algorithm adjustment circuit, obtains the signal compensation value corresponding to the signal energy value through the algorithm adjustment circuit based on a preset gain compensation table, and sends the signal compensation value to the transimpedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal for gain compensation; wherein, the traditional method requires multiple iterative adjustments to find a suitable gain value, and the response speed is slow. The present invention uses a preset gain compensation table to quickly find the corresponding gain compensation value according to the calculated signal energy value, thereby reducing the adjustment time and improving the response speed. In addition, the present invention ensures that the gain adjustment results of different channels are consistent through a unified digital algorithm and gain compensation table, thereby improving the overall performance of the system.

[0051] In some embodiments, corresponding to steps S210 to S230, the Chirp signal is adjusted and processed by a transimpedance amplifier (TIA), a first gain amplifier (VGA1) and a second gain amplifier (VGA2) in sequence to reach an analog-to-digital converter (ADC), and the algorithm adjustment circuit obtains the digital signal output by the ADC, and provides a data basis for subsequent gain calibration by sending the Chirp signal and obtaining its digital representation at each stage of the receiving link; the algorithm adjustment circuit calculates the signal energy value corresponding to the digital signal based on a preset digital algorithm (such as FFT), and accurately measures the energy of the Chirp signal through a digital algorithm to provide an accurate reference value for gain compensation; the algorithm adjustment circuit obtains the signal compensation value corresponding to the signal energy value according to a preset gain compensation table, and sends the value to the corresponding amplifier (TIA, VGA1 or VGA2) for gain compensation, and quickly searches for a suitable gain value through the gain compensation table to achieve accurate gain adjustment.

[0052] refer to Figure 3 , Figure 3 A schematic diagram of gain calibration in a gain calibration method for a receiving link of an automotive-grade chip provided in an embodiment of the present application; in some embodiments, the gain calibration circuit further includes a transmitting circuit connected to a transimpedance amplifier, and the method further includes:

[0053] In step S310, a plurality of chirp signals corresponding to the transimpedance amplifier, the first gain amplifier and the second gain amplifier are sent to the transimpedance amplifier in sequence through the transmitting circuit, so that the algorithm adjustment circuit performs gain calibration on the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence according to the signal compensation values ​​corresponding to the plurality of chirp signals.

[0054] In some embodiments, the transmitting circuit sends multiple Chirp signals to the transimpedance amplifier in sequence, and the algorithm adjustment circuit performs gain calibration on the TIA, VGA1 and VGA2 respectively according to the signal compensation values ​​corresponding to the multiple Chirp signals, and ensures that the gain of each amplifier is within an appropriate range by sending multiple Chirp signals.

[0055] refer to Figure 4 , Figure 4 A flow chart of performing TIA gain compensation in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application; in some embodiments, the method further includes:

[0056] Step S410, sending a first chirp signal corresponding to the transimpedance amplifier to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a signal compensation value corresponding to the first chirp signal based on a preset TIA gain compensation table, and sends the signal compensation value to the transimpedance amplifier to perform TIA gain compensation.

[0057] Among them, TIA gain compensation refers to adjusting the gain of the transimpedance amplifier to ensure that its output signal is within an appropriate range. By sending a specific chirp signal, the algorithm adjustment circuit calculates the output signal energy of the TIA and adjusts the gain of the TIA according to the TIA gain compensation table.

[0058] In some embodiments, the transmitting circuit sends the first Chirp signal corresponding to the TIA to the transimpedance amplifier, the algorithm adjustment circuit obtains the signal compensation value corresponding to the first Chirp signal based on the TIA gain compensation table, and sends the value to the TIA for gain compensation, and performs a separate gain calibration for the TIA to ensure that its output signal is within an appropriate range.

[0059] refer to Figure 5 , Figure 5A flow chart of performing first VGA gain compensation in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application; in some embodiments, after performing TIA gain compensation, the method further includes:

[0060] Step S510, sending the TIA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the TIA compensation signal energy value corresponding to the TIA compensation check chirp based on a preset digital algorithm;

[0061] Step S520, when the energy value of the TIA compensation signal meets the target compensation range, the second chirp signal corresponding to the first gain amplifier is sent to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the signal compensation value corresponding to the second chirp signal based on the preset first VGA gain compensation table, and sends the signal compensation value to the first gain amplifier to perform the first VGA gain compensation;

[0062] Step S530 : When the TIA compensation signal energy value does not meet the target compensation range, TIA gain compensation is performed again.

[0063] Among them, VGA gain compensation refers to adjusting the gain of the gain amplifier to ensure that its output signal is within an appropriate range. By sending a specific Chirp signal, the algorithm adjustment circuit calculates the output signal energy of the VGA and adjusts the gain of the VGA according to the VGA gain compensation table; the compensation check verification Chirp is a Chirp signal used to verify the gain compensation effect. After gain compensation, by sending the compensation check verification Chirp, the algorithm adjustment circuit can verify whether the gain compensation has achieved the expected effect. If not, gain compensation is performed again.

[0064] In some embodiments, the transmitting circuit sends the TIA compensation check verification Chirp to the transimpedance amplifier, and the algorithm adjustment circuit calculates the TIA compensation signal energy value corresponding to the TIA compensation check verification Chirp to verify the effect of the TIA gain compensation and ensure that it meets expectations; if the TIA compensation signal energy value meets the target compensation range, the transmitting circuit sends a second Chirp signal corresponding to VGA1 to the transimpedance amplifier, and the algorithm adjustment circuit obtains the signal compensation value corresponding to the second Chirp signal based on the VGA1 gain compensation table, and sends the value to VGA1 for gain compensation, so as to perform gain calibration on VGA1 after the TIA gain calibration is completed; if the TIA compensation signal energy value does not meet the target compensation range, TIA gain compensation is performed again to ensure that the TIA gain compensation achieves the expected effect and avoids affecting subsequent calibration.

[0065] refer to Figure 6 , Figure 6A flow chart of performing second VGA gain compensation in a gain calibration method for a vehicle-grade chip receiving link provided in an embodiment of the present application; in some embodiments, after performing the first VGA gain compensation, the method further includes:

[0066] Step S610, sending a first VGA compensation check chirp to a transimpedance amplifier through a transmitting circuit, so that an algorithm adjustment circuit obtains a first VGA compensation signal energy value corresponding to the first VGA compensation check chirp based on a preset digital algorithm;

[0067] Step S620, when the energy value of the first VGA compensation signal meets the target compensation range, the third chirp signal corresponding to the second gain amplifier is sent to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the signal compensation value corresponding to the third chirp signal based on the preset second VGA gain compensation table, and sends the signal compensation value to the second gain amplifier to perform second VGA gain compensation;

[0068] Step S630: When the energy value of the first VGA compensation signal does not meet the target compensation range, the first VGA gain compensation is performed again.

[0069] In some embodiments, the transmitting circuit sends the VGA1 compensation check verification Chirp to the transimpedance amplifier, and the algorithm adjustment circuit calculates the first VGA compensation signal energy value corresponding to the VGA1 compensation check verification Chirp to verify the effect of the VGA1 gain compensation and ensure that it meets expectations; if the energy value of the first VGA compensation signal meets the target compensation range, the transmitting circuit sends the third Chirp signal corresponding to VGA2 to the transimpedance amplifier, and the algorithm adjustment circuit obtains the signal compensation value corresponding to the third Chirp signal based on the VGA2 gain compensation table, and sends the value to VGA2 for gain compensation, so as to perform gain calibration on VGA2 after the VGA1 gain calibration is completed; if the energy value of the first VGA compensation signal does not meet the target compensation range, VGA1 gain compensation is performed again to ensure that the VGA1 gain compensation achieves the expected effect and avoids affecting subsequent calibration.

[0070] In some embodiments, after performing the second VGA gain compensation, the method also includes: sending the second VGA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the second VGA compensation signal energy value corresponding to the second VGA compensation check chirp based on a preset digital algorithm; when the second VGA compensation signal energy value does not meet the target compensation range, performing the second VGA gain compensation again. It can be understood that when the second VGA compensation signal energy value does not meet the target compensation range, VGA2 gain compensation is performed again to ensure that the VGA2 gain compensation achieves the expected effect and avoids affecting the calibration effect.

[0071] It can be understood that TIA is a coarse adjustment and VGA is a fine adjustment. When adjusting TIA, VGA is adjusted to 0 gain gear. After TIA adjustment is completed, TIA gain is placed in the adjusted gear. At this time, VGA adjustment is performed. The calculation of VGA adjustment is based on the current TIA adjustment. "Conforming to the target compensation range" means that under the current compensation value setting, the signal energy conforms to the expected range. The control of signal energy, according to actual tests, different energies are fed back to the ADC bit width used by the ADC data value. Specifically, the current target compensation range can use 80% of the ADC range, which can effectively avoid the risk of a small amount of signal overflow.

[0072] In some embodiments, TIA is a coarse adjustment, and VGA1 and VGA2 are fine adjustments. It is necessary to adjust TIA first, adjust the signal energy to a certain range, and then adjust VGA for fine adjustment. For example, when TIA is adjusted, VGA is set to 0 gain gear. After TIA adjustment is completed, VGA adjustment is performed. If the calculation result is that VGA still remains at 0, there is no need to adjust VGA, and VGA is kept at 0 gain gear. Among them, since the VGA value has not been calculated after TIA adjustment, the order of chirp is fixed in the order of TIA, VGA1, and VGA2. It is just that after TIA adjustment is completed, the VGA result is calculated. If it is at 0 gain gear, VGA is not actually adjusted.

[0073] refer to Figure 7 , Figure 7In the gain calibration method for the automotive-grade chip receiving link provided in one embodiment of the present application, the schematic diagram of the chrip timing is as follows: AGC-TIA Testing chirp: corresponding to the first Chirp signal in step S410, used to perform gain testing and compensation on the transimpedance amplifier (TIA); AGC-TIA Check chirp: corresponding to the TIA compensation check verification Chirp in step S510, used to verify the effect of TIA gain compensation; AGC-VGA Testing chirp: corresponding to the second Chirp signal in step S520, used to perform gain testing and compensation on the first gain amplifier (VGA1); AGC-VGACheck chirp: corresponding to the first VGA compensation check verification Chirp in step S610, used to verify the effect of VGA1 gain compensation.

[0074] In some embodiments, Figure 7 It can be seen that the timing logic relationship between the automatic gain adjustment of the receiving circuit and the main frame in this application is that after a frame starts working, the transmitting circuit first transmits a redundant chirp signal adjusted by TIA, and the receiving circuit receives the redundant chirp signal adjusted by the current TIA. After adjustment by the "controllable gain amplifier" circuit in the default state, the ADC collects the corresponding data, and calculates the current energy value through algorithm processing. According to the energy value calculated by the current TIA, the table is looked up in the TIA gain compensation table to obtain the value that the TIA currently needs to compensate, and the TIA is energy compensated. After completing a TIA gain compensation, it is necessary to confirm whether the current compensation of the TIA circuit is within the expected compensation range. Therefore, the transmitting circuit needs to send another TIA compensation check chirp signal, and the energy is calculated by the same circuit. If the calculated energy is within the expected compensation range of the previous chirp signal, it enters the VGA compensation process; if the energy tested by the TIA is not within the compensation value range, it needs to be compensated again; the compensation process of VGA is similar to that of TIA, but a different energy lookup table is used. After the VGA compensation check is completed, the sending and receiving process of the valid frame is officially entered.

[0075] refer to Figure 8 , Figure 8In the gain calibration method of the automotive-grade chip receiving link provided in one embodiment of the present application, another flowchart of the chrip timing is provided, wherein, Tx_Chirp0: after sending the stabilization time, collect data and calculate FFT and energy to determine the TIA compensation value, which corresponds to the first Chirp signal in step S410, which is used to perform gain testing and compensation on the transimpedance amplifier (TIA); Tx_Chirp1: complete FFT and energy calculation, and decide whether the next Chirp will enter VGA compensation or continue TIA adjustment according to the energy calculation result, which corresponds to the TIA compensation check verification Chirp in step S510 rp, used to verify the effect of TIA gain compensation; Tx_Chirp2: complete FFT and energy calculation, and decide whether further adjustment of VGA compensation is needed according to the energy calculation result, which corresponds to the second Chirp signal in step S520, used to perform gain test and compensation on the first gain amplifier (VGA1); Tx_Chirp3: complete FFT and energy calculation, and decide whether effective reception and transmission or VGA compensation calculation is needed again according to the energy calculation result, which corresponds to the first VGA compensation check Chirp in step S610, used to verify the effect of VGA1 gain compensation.

[0076] In some embodiments, Figure 8 It can be seen that the logical relationship between the redundant chirp emitted by the present application and the data received by the receiving circuit is that in order for the receiving circuit to receive a stable signal, after the transmitting circuit starts to transmit the signal, the circuit stabilizes for a period of time, as shown in the figure. The system waits for a "transmission stabilization time" before the receiving circuit starts to collect data. This is mainly to prevent the system from being in an unstable state at the beginning of the transmission, which will bring unpredictable effects on the automatic gain adjustment.

[0077] refer to Fig. 9 , Fig. 9A specific flow chart of a gain calibration method for a receiving link of an automotive-grade chip provided in an embodiment of the present application; in some embodiments, the gain calibration method for a receiving link of an automotive-grade chip includes: Initialization parameter setting: First, initialization parameter setting is performed, including sending a stable Chirp signal (such as Tx_Chirp0). TIA gain detection and compensation: Send a TIA energy detection Chirp signal, and the receiving circuit receives the signal at the same time. According to the received energy, the TIA compensation value is obtained by looking up the table and the TIA is gain compensated. Energy check after TIA compensation: Send a TIA energy check Chirp signal, and the receiving circuit receives the signal at the same time. According to the received energy, check whether the energy range after TIA compensation is within the predetermined compensation range. If not, return to the TIA gain detection and compensation step; if yes, proceed to the next step. VGA gain detection and compensation: Send a VGA energy detection Chirp signal, and the receiving circuit receives the signal at the same time. According to the received energy, the VGA compensation value is obtained by looking up the table and the VGA is gain compensated. Energy check after VGA compensation: Send a VGA energy check Chirp signal, and the receiving circuit receives the signal at the same time. Based on the received energy, check whether the energy range after VGA compensation is within the predetermined compensation range. If not, return to the VGA gain detection and compensation step; if yes, proceed to the next step. Normal frame transmission and reception: When all gain compensation and checks meet the requirements, start normal frame transmission and reception operations. End: After completing the transmission and reception of a frame, the process returns to the IDLE state and waits for the next round of operations.

[0078] In summary, it can be understood that the present application calculates the energy of the currently received signal by multiplexing the post-stage digital processing algorithm of the receiving circuit, thereby eliminating the level detector, voltage comparator, control voltage generator and other components of the traditional receiving gain automatic adjustment circuit, and using digital algorithms such as FFT, the energy value of the signal can be accurately calculated, thereby realizing the ability to accurately control the gain adjustment. In the system applied by this patent, according to the needs of the system function, 28-speed fine gain automatic adjustment is realized, while the traditional method of using level comparison cannot achieve such fine gear control adjustment; in addition, due to the digital implementation method used in this application, the digital circuit accurately calculates the ADC data energy, and the digital circuit controls the front-end analog circuit to realize automatic gain adjustment. According to the needs of the application, a rich functional safety check circuit is added to this adjustment circuit, such as ECC, LBSIT, loop detection and other self-check logic circuits, so that this circuit design meets the requirements of automotive-grade design.

[0079] To achieve the above-mentioned purpose, the second aspect of an embodiment of the present application provides a gain calibration circuit for an automotive-grade chip receiving link, comprising a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence: wherein, when the chirp signal used for gain calibration is adjusted by the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence and reaches the analog-to-digital converter, the algorithm adjustment circuit is used to obtain a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter; a signal energy value corresponding to the digital signal is obtained based on a preset digital algorithm; a signal compensation value corresponding to the signal energy value is obtained based on a preset gain compensation table, and the signal compensation value is sent to the transimpedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal for gain compensation; wherein, the gain calibration circuit of the present application changes the traditional gain adjustment structure, substantially and preferentially modifies the traditional level detection, voltage comparison and other circuits from the root, and uses a digital algorithm to calculate the energy of the receiving circuit to achieve the replacement of the level detection, voltage comparison and other circuits, so as to achieve the purpose of accurately quantifying the received energy, and through the accurate energy quantization result, the gain on the receiving circuit is accurately adjusted.

[0080] It can be understood that since this circuit uses a digital circuit to implement the gain compensation algorithm of the analog receiving circuit, the implementation area and power consumption of the analog receiving circuit can be greatly saved; while saving the area of ​​the analog receiving circuit, the energy quantization of the receiving circuit is also realized. According to the quantized energy value, the user can accurately control the ADC quantization range according to the system ADC performance, and can make great use of the ADC effective performance.

[0081] In some embodiments, the gain calibration circuit also includes: a first high-pass filter, a second high-pass filter and a low-pass filter: wherein the first high-pass filter is arranged between the transimpedance amplifier and the first gain amplifier, the second high-pass filter is arranged between the first gain amplifier and the second gain amplifier, and the low-pass filter is arranged between the second gain amplifier and the analog-to-digital converter.

[0082] Some embodiments of the present application provide an electronic device, Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, referring to Fig.10 The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the gain calibration method for the automotive-grade chip receiving link of any of the above embodiments is implemented. For example, the above described Figure 2 Steps S210 to S230 of the method, Figure 3 In method step S310, Figure 4 In method step S410, Figure 5 Steps S510 to S530 of the method, Figure 6 Method steps S610 to S630.

[0083] The electronic device 1000 of the embodiment of the present application includes one or more processors 1010 and a memory 1020. Fig.10 In the figure, a processor 1010 and a memory 1020 are taken as an example.

[0084] The processor 1010 and the memory 1020 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0085] The memory 1020, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1020 may optionally include a memory 1020 remotely disposed relative to the processor 1010, and these remote memories may be connected to the electronic device 1000 via a network. At the same time, examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0086] In some embodiments, when the processor executes the computer program, the gain calibration method for the automotive-grade chip receiving link of any one of the above embodiments is performed at preset intervals.

[0087] Those skilled in the art will understand that Fig.10 The device structure shown in the figure does not constitute a limitation on the electronic device 1000, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0088] exist Fig.10 In the electronic device 1000 shown, the processor 1010 can be used to call the gain calibration method of the automotive-grade chip receiving link stored in the memory 1020, thereby implementing the gain calibration method of the automotive-grade chip receiving link.

[0089] Based on the hardware structure of the above-mentioned electronic device 1000, various embodiments of the gain calibration device for the automotive-grade chip receiving link of the present application are proposed. At the same time, the non-transient software program and instructions required to implement the gain calibration method for the automotive-grade chip receiving link of the above-mentioned embodiment are stored in the memory. When executed by the processor, the gain calibration method for the automotive-grade chip receiving link of the above-mentioned embodiment is executed.

[0090] The embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned gain calibration method for the automotive-grade chip receiving link, which can enable the above-mentioned one or more processors to execute the gain calibration method for the automotive-grade chip receiving link of any of the above-mentioned embodiments, for example, to execute the above-mentioned Figure 2 Steps S210 to S230 of the method, Figure 3 In method step S310, Figure 4 In method step S410, Figure 5 Steps S510 to S530 of the method, Figure 6 Method steps S610 to S630.

[0091] The embodiment of the present application also provides a computer program product, which includes a computer program, which is stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the gain calibration method for the automotive-grade chip receiving link implementing any one of the above embodiments, for example, executing the above described Figure 2 Steps S210 to S230 of the method, Figure 3 In method step S310, Figure 4 In method step S410, Figure 5 Steps S510 to S530 of the method, Figure 6 The method steps S610 to S630 in the above device embodiment are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network nodes. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0092] refer to Figures 11 to 13 , Fig.11 A time domain diagram of data collected by the ADC before automatic gain adjustment of a low-energy wireless signal provided in an embodiment of the present application; Fig.12 A time domain diagram of data collected by the ADC before automatic gain adjustment of a high-energy wireless signal provided in an embodiment of the present application; Fig.13 The time domain diagram of data collected by ADC after automatic gain adjustment for all energy signals provided in one embodiment of the present application; wherein, Figures 11 to 13They are respectively the effects of wireless signals of different energies before and after adjustment by the receiving circuit after the implementation of the patent of the present invention; specifically, RX1 to RX4 in the figure are the actual signals collected by the ADC of four channels on a chip. It can be seen from the figure that RX1, RX2, and RX3 have good consistency without AGC adjustment, all between -70 and 60, but the consistency of channel RX4 is different from that of the other channels, only between -50 and 40. Currently, there is an error of nearly 30% for small signals. One problem that this patent needs to solve is the problem of consistency of the energy of the received signals. As shown in 13 of this patent, after adjustment, each channel is in the same range after ADC acquisition.

[0093] It is worth noting that since the gain adjustment of this application is performed before the ADC, it is an adjustment of the analog signal, so the original signal cannot be quantified. The only thing to do is to calculate the signal collected by the ADC, adjust the TIA, and repeatedly test and debug the VGA to finally obtain a reasonable gain adjustment algorithm and a lookup table of adjustment values.

[0094] In summary, before using automatic gain adjustment, if Fig.11 and Fig.12 As shown in the figure, when the system inputs a small energy signal, the signal amplitude after ADC quantization is small. Since the ADC range is not fully utilized, part of the received signal information is lost due to the ADC quantization error. When the system is input with a large energy signal, after ADC quantization, some channels may be saturated due to their different system positions (such as Fig.12 As shown in the RX4 channel in Figure 1), which will also lead to the loss of valid information; Fig.13 It is the time domain diagram of all input energy signals after automatic gain adjustment. It can be seen that after the input signal is adjusted, the signal is quantized by the ADC, which is about 70% of the maximum range of the ADC (in this system, the user can freely adjust the ADC range that needs to be quantized), thereby retaining the original information as much as possible and minimizing the system error introduced by the ADC quantization error. Fig.13 As shown, it is shown that the system can effectively realize the automatic gain adjustment function of the receiving circuit.

[0095] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer-readable storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD to ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present application, and these equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A gain calibration method for a receiving link of an automotive-grade chip, characterized in that: The method is applied to a gain calibration circuit, the gain calibration circuit comprising a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence, and the method comprises: When the chirp signal used for gain calibration is adjusted and processed by the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence and reaches the analog-to-digital converter, a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter is obtained through the algorithm adjustment circuit; Obtaining a signal energy value corresponding to the digital signal based on a preset digital algorithm by the algorithm adjustment circuit; The algorithm adjustment circuit obtains a signal compensation value corresponding to the signal energy value based on a preset gain compensation table, and sends the signal compensation value to the transimpedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal for gain compensation.

2. The gain calibration circuit of the automotive-grade chip receiving link according to claim 1, characterized in that: The gain calibration circuit further includes a transmitting circuit connected to the transimpedance amplifier, and the method further includes: A plurality of chirp signals corresponding to the transimpedance amplifier, the first gain amplifier and the second gain amplifier are sent to the transimpedance amplifier in sequence through the transmitting circuit, so that the algorithm adjustment circuit performs the gain calibration on the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence according to the signal compensation values ​​corresponding to the plurality of chirp signals.

3. The gain calibration circuit of the automotive-grade chip receiving link according to claim 2, characterized in that: The method further comprises: A first chirp signal corresponding to the transimpedance amplifier is sent to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a signal compensation value corresponding to the first chirp signal based on a preset TIA gain compensation table, and sends the signal compensation value to the transimpedance amplifier to perform TIA gain compensation.

4. The gain calibration circuit of the automotive-grade chip receiving link according to claim 3, characterized in that: After performing TIA gain compensation, the method further includes: Sending the TIA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the TIA compensation signal energy value corresponding to the TIA compensation check chirp based on a preset digital algorithm; When the energy value of the TIA compensation signal meets the target compensation range, the second chirp signal corresponding to the first gain amplifier is sent to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the signal compensation value corresponding to the second chirp signal based on the preset first VGA gain compensation table, and sends the signal compensation value to the first gain amplifier to perform first VGA gain compensation; When the energy value of the TIA compensation signal does not meet the target compensation range, the TIA gain compensation is performed again.

5. The gain calibration circuit of the automotive-grade chip receiving link according to claim 4, characterized in that: After performing the first VGA gain compensation, the method further includes: Sending a first VGA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a first VGA compensation signal energy value corresponding to the first VGA compensation check chirp based on a preset digital algorithm; When the energy value of the first VGA compensation signal meets the target compensation range, the third chirp signal corresponding to the second gain amplifier is sent to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains the signal compensation value corresponding to the third chirp signal based on the preset second VGA gain compensation table, and sends the signal compensation value to the second gain amplifier to perform second VGA gain compensation; When the energy value of the first VGA compensation signal does not meet the target compensation range, the first VGA gain compensation is performed again.

6. The gain calibration circuit of the automotive-grade chip receiving link according to claim 4, characterized in that: After performing the second VGA gain compensation, the method further includes: Sending a second VGA compensation check chirp to the transimpedance amplifier through the transmitting circuit, so that the algorithm adjustment circuit obtains a second VGA compensation signal energy value corresponding to the second VGA compensation check chirp based on a preset digital algorithm; When the energy value of the second VGA compensation signal does not meet the target compensation range, the second VGA gain compensation is performed again.

7. A gain calibration circuit for a vehicle-grade chip receiving link, characterized in that: It includes a transimpedance amplifier, a first gain amplifier, a second gain amplifier, an analog-to-digital converter and an algorithm adjustment circuit connected in sequence: wherein, when a chirp signal used for gain calibration is adjusted and processed by the transimpedance amplifier, the first gain amplifier and the second gain amplifier in sequence and reaches the analog-to-digital converter, the algorithm adjustment circuit is used to obtain a digital signal corresponding to the adjusted chirp signal output by the analog-to-digital converter; obtain a signal energy value corresponding to the digital signal based on a preset digital algorithm; obtain a signal compensation value corresponding to the signal energy value based on a preset gain compensation table, and send the signal compensation value to the transimpedance amplifier, the first gain amplifier or the second gain amplifier corresponding to the chirp signal for gain compensation.

8. The gain calibration circuit of the automotive-grade chip receiving link according to claim 7, characterized in that: The gain calibration circuit also includes: a first high-pass filter, a second high-pass filter and a low-pass filter: wherein the first high-pass filter is arranged between the transimpedance amplifier and the first gain amplifier, the second high-pass filter is arranged between the first gain amplifier and the second gain amplifier, and the low-pass filter is arranged between the second gain amplifier and the analog-to-digital converter.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the gain calibration method for the automotive-grade chip receiving link as described in any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the gain calibration method for an automotive-grade chip receiving link as described in any one of claims 1 to 6.

Citation Information

Cited By

  • Gain compensation system, method and device, storage medium and product

    CN121283437A