An automatic gain control method for an ultra-wideband chip

By employing automatic gain control in an ultra-wideband chip and utilizing multi-threshold and count value determination techniques to dynamically adjust the AGC level, the problems of unstable signal gain and interference are solved, achieving stable signal acquisition and anti-interference capabilities.

CN121396112BActive Publication Date: 2026-05-19CHANGSHA CHIXIN SEMICON TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHANGSHA CHIXIN SEMICON TECH CO LTD
Filing Date
2025-10-27
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing ultra-wideband chips struggle to maintain stable signal gain when faced with varying spatial environments and distances between transceivers, and are susceptible to interference that can lead to signal acquisition failure or saturation distortion.

Method used

The automatic gain control method is adopted. Multiple preset thresholds and count values ​​are used to judge the input IQ data and dynamically adjust the AGC level to ensure that the signal remains stable in different environments and reduce the impact of interference.

Benefits of technology

It achieves stability of signal gain and anti-interference capability in complex environments, and improves the accuracy of signal acquisition and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121396112B_ABST
    Figure CN121396112B_ABST
Patent Text Reader

Abstract

The application provides an automatic gain control method for an ultra-wideband chip, which comprises the following steps: determining whether input I / Q is greater than a first threshold value; if the input I / Q is greater than the first threshold value, a first count value is accumulated by 1, otherwise, the next group of I / Q data is input; determining whether the first count value is greater than an upper limit value; if the first count value is greater than the upper limit value, it is considered that the current input signal is too large, otherwise, the following first preset value of IQ data is skipped; if the first count value is greater than the upper limit value, it is determined whether the current AGC gear is the minimum gear; if the current AGC gear is the minimum gear, the first, second and third count values are cleared, and the whole determination process is restarted; if the current AGC gear is not the minimum gear, the AGC gear is down-regulated, and then the first, second and third count values are cleared, and the whole determination process is restarted. The automatic gain control method for the ultra-wideband chip provided by the application has better anti-interference ability while maintaining stable gain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ultra-wideband technology, and in particular to an automatic gain control method for ultra-wideband chips. Background Technology

[0002] Impulse Radio - Ultra Wideband (IR-UWB) is a wireless communication technology that uses ultra-short pulses with extremely low power spectral density as information carriers. It can share spectrum resources with other communication systems and operates in the unlicensed frequency band between 3.1 and 10.6 GHz, with transmit power limited to below -41.3 dBm / MHz. It boasts advantages such as good concealment, high transmission rate, low power consumption, high positioning accuracy, strong multipath resistance, strong penetration, and good security. Initially used in military radar, in February 2002, the U.S. Federal Communications Commission officially approved UWB technology for civilian communication applications, leading to its gradual application in various fields requiring high-precision ranging and positioning. To correctly capture UWB frames, the chip must possess sufficient sensitivity to accurately capture the UWB synchronization header.

[0003] However, due to variations in the spatial environment and the distance between the transmitter and receiver, the UWB signal may be significantly higher than or lower than the ambient noise. It is necessary to ensure that the receiver receives a reasonable signal, neither too weak to capture the synchronization header nor too strong to cause signal saturation and distortion.

[0004] Therefore, it is necessary to provide an automatic gain control method for ultra-wideband chips to effectively solve the above problems. Summary of the Invention

[0005] This invention addresses the problems and shortcomings of existing technologies by providing an automatic gain control method for ultra-wideband chips, which maintains stable gain while offering better anti-interference capabilities.

[0006] This invention provides an automatic gain control method for ultra-wideband chips. It presets a first threshold, a second threshold, a third threshold, a first count value, a second count value, and a third count value. IQ data is continuously input into the AGC module, and the following process is performed on each set of input IQ data:

[0007] Step S101: Determine whether the input I / Q is greater than the first threshold. If the input I / Q is greater than the first threshold, increment the first count value by 1; otherwise, input the next set of I / Q data.

[0008] Step S102: Determine whether the first count value is greater than the upper limit value. If it is greater than the upper limit value, the current input signal is considered to be too large. Otherwise, skip the next IQ data of the first preset value.

[0009] Step S103: If the first count value is greater than the upper limit value, then determine whether the current AGC gear is already the smallest gear;

[0010] Step S104: If the current AGC gear is already at the minimum gear, then clear the first count value, the second count value, and the third count value to zero, and restart the entire judgment process; if the current AGC gear is not at the minimum gear, then lower the AGC gear, then clear the first count value, the second count value, and the third count value to zero, and restart the entire judgment process.

[0011] Preferably, the method further includes:

[0012] Step S201: Determine whether the input I / Q is less than the second threshold. If the input IQ is less than the second threshold, increment the second count value by 1 and input the next set of IQ data.

[0013] Step S202: For each set of IQ data input, increment the third counter value by 1;

[0014] Step S203: Determine whether the third count value is equal to the third threshold;

[0015] Step S204: If the third count value is equal to the third threshold, determine whether the second count value is less than the lower limit. If it is less than the lower limit, the current input signal is considered to be too small; otherwise, clear the first count value, the second count value, and the third count value to zero and start a new determination process.

[0016] Step S205: If the second count value is less than the lower limit value, then determine whether the current AGC gear is already at the maximum gear;

[0017] Step S206: If the current AGC gear is already at the maximum gear, then the first count value, the second count value, and the third count value are cleared to zero, and a new judgment process is started again; if the current AGC gear is not at the maximum gear, then the AGC gear is increased, and the first count value, the second count value, and the third count value are cleared to zero again, and a new judgment process is started again.

[0018] Preferably, the first threshold, the second threshold, the third threshold, the upper limit value, the lower limit value, and the first preset value are preset and stored in a register.

[0019] Preferably, the downshifting of the AGC level is to reduce the gain of the preamplifier, thereby reducing the input signal size.

[0020] Preferably, the upward adjustment of the AGC level is to increase the gain of the preamplifier, thereby increasing the input signal.

[0021] Preferably, the first preset value represents multiple interference data.

[0022] Preferably, the third threshold represents the specified number of sampling points.

[0023] Compared with the prior art, the technical solution of the embodiments of the present invention has the following beneficial effects:

[0024] This invention provides a pulse shaping circuit for wireless communication. It presets a first threshold, a second threshold, a third threshold, a first count value, a second count value, and a third count value. IQ data is continuously input into an AGC module. For each set of input IQ data, the following process is performed: Step S101: Determine if the input I / Q is greater than the first threshold. If the input I / Q is greater than the first threshold, increment the first count value by 1; otherwise, input the next set of I / Q data. Step S102: Determine if the first count value is greater than an upper limit value. If it is greater than the upper limit value, the current input signal is considered too large; otherwise, skip the next preset IQ count. According to; Step S103: If the first count value is greater than the upper limit value, it is determined whether the current AGC gear is already at the minimum gear; Step S104: If the current AGC gear is already at the minimum gear, the first count value, the second count value, and the third count value are cleared to zero, and the entire determination process is restarted; If the current AGC gear is not at the minimum gear, the AGC gear is lowered, and the first count value, the second count value, and the third count value are cleared to zero again, and the entire determination process is restarted. While maintaining stable gain, it has better anti-interference capability. Furthermore, by determining each sampling point, the pulse saturation signal can be captured more accurately;

[0025] Furthermore, the first threshold, the second threshold, the third threshold, and other judgment thresholds, as well as all judgment thresholds and judgment windows of this AGC device, can be configured, which is very flexible and can adapt to various complex environments. Depending on the application scenario, the register can be modified to support high-sensitivity gain adjustment to ensure the optimal input signal strength, or it can support lower sensitivity to ensure system stability.

[0026] Furthermore, since there is a known interval between UWB pulses, when a large value is detected and triggered by a UWB pulse, the interference of the next few data frames (the first preset value agc_guard) will not be included in the first count value high_cnt. Also, since the resolution of the input IQ data is higher than that of one UWB pulse, and one UWB pulse lasts for about 2ns, which is reflected as 4 IQ sampling points, it can be ensured that one pulse is only included in the first count value high_cnt once.

[0027] Furthermore, when the detected large value is not triggered by a UWB pulse, for non-ideal large signals with a long duration, the protection interval of the first preset value agc_guard can significantly reduce the accumulation of the first count value high_cnt, because each adjustment of AGC will restart the entire receiving process, thereby reducing its interference, reducing the number of AGC adjustments, and improving the stability of the system. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention, but not all embodiments. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 This is a flowchart illustrating an automatic gain control method for an ultra-wideband chip according to a preferred embodiment of the present invention.

[0030] Figure 2 This is a flowchart illustrating an automatic gain control method for an ultra-wideband chip, according to another preferred embodiment of the present invention. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0032] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0033] This invention addresses the problems and shortcomings of existing technologies by providing an automatic gain control method for ultra-wideband chips, which maintains stable gain while offering better anti-interference capabilities.

[0034] Figure 1 This is a flowchart illustrating a preferred embodiment of the automatic gain control method for an ultra-wideband chip according to the present invention. (See now) Figure 1 This invention provides an automatic gain control method for ultra-wideband chips. It presets a first threshold high_thr, a second threshold low_thr, a third threshold window_len, a first count value high_cnt, a second count value low_cnt, and a third count value window_cnt. IQ data is continuously input into the AGC module, and the following process is performed on each set of input IQ data:

[0035] Step S101: Determine whether the input I / Q is greater than the first threshold high_thr. If the input I / Q is greater than the first threshold high_thr, increment the first count value high_cnt by 1. Otherwise, input the next set of I / Q data.

[0036] Step S102: Determine whether the first count value high_cnt is greater than the upper limit value adjust_high_thr. If it is greater than the upper limit value adjust_high_thr, the current input signal is considered to be too large. Otherwise, skip the IQ data of the next first preset value agc_guard.

[0037] Step S103: If the first count value high_cnt is greater than the upper limit value adjust_high_thr, then determine whether the current AGC gear is already the minimum gear;

[0038] Step S104: If the current AGC level is already at the minimum level, then clear the first count value high_cnt, the second count value low_cnt, and the third count value window_cnt to zero, and restart the entire determination process; if the current AGC level is not at the minimum level, then lower the AGC level, and then clear the first count value high_cnt, the second count value high_cnt, and the third count value window_cnt to zero, and restart the entire determination process.

[0039] Specifically, IQ data is the time-domain representation of the modulated signal. The I component is the amplitude of the cosine wave component of the signal and the carrier, and the Q component is the amplitude of the sine wave component of the signal and the carrier. Their complex forms represent the baseband representation of the signal, facilitating digital storage and processing. In ultra-wideband systems, processing IQ data enables modulation, demodulation, encoding, and decoding of ultra-wideband signals. The main function of the AGC (Automatic Gain Control) module is to automatically adjust the gain to ensure stable signal power, enabling the ultra-wideband system to output a stable signal amplitude under different signal strength inputs, while avoiding interference with other communication systems.

[0040] Since UWB signals are pulse signals with very short durations and are relatively sparse, if we determine whether the current signal meets expectations by calculating the average energy over a period of time, even if the UWB pulse signal has saturated, averaging may not adjust the final AGC gain. However, this method can capture the pulse saturation signal more accurately by judging each sampling point.

[0041] Figure 2 This is a flowchart illustrating an automatic gain control method for an ultra-wideband chip according to another preferred embodiment of the present invention. (See now) Figure 2 The method further includes:

[0042] Step S201: Determine whether the input I / Q is less than the second threshold low_thr. If the input I / Q is less than the second threshold low_thr, increment the second count value low_cnt by 1 and input the next set of I / Q data.

[0043] Step S202: For each set of IQ data input, increment the third counter value window_cnt by 1;

[0044] Step S203: Determine whether the third count value window_cnt is equal to the third threshold;

[0045] Step S204: If the third count value is equal to the third threshold, determine whether the second count value is less than the lower limit value adjust_low_thr. If it is less than the lower limit value adjust_low_thr, the current input signal is considered to be too small; otherwise, clear the first count value high_cnt, the second count value low_cnt, and the third count value window_cnt to zero, and start a new determination process.

[0046] Step S205: If the second count value is less than the lower limit value, then determine whether the current AGC gear is already at the maximum gear;

[0047] Step S206: If the current AGC level is already at its maximum, then the first count value high_cnt, the second count value low_cnt, and the third count value window_cnt are cleared to zero, and a new judgment process is started. If the current AGC level is not at its maximum, then the AGC level is increased, and the first count value high_cnt, the second count value low_cnt, and the third count value window_cnt are cleared to zero again, and a new judgment process is started. In specific implementation, the first threshold high_thr, the second threshold high_thr, the third threshold window_len, the upper limit value adjust_high_thr, the lower limit value adjust_low_thr, and the first preset value agc_guard are preset and stored in the register.

[0048] Specifically, the first threshold high_thr, the second threshold high_thr, the third threshold window_len, and other judgment thresholds, as well as all judgment thresholds and judgment windows of this AGC device, can be configured. This is very flexible and can adapt to various complex environments. Depending on the application scenario, the registers can be modified to support high-sensitivity gain adjustment to ensure the optimal input signal strength, or lower sensitivity can be supported to ensure system stability.

[0049] In practice, lowering the AGC level means reducing the gain of the preamplifier, thereby reducing the input signal size.

[0050] In practice, adjusting the AGC level increases the gain of the preamplifier, thereby increasing the input signal.

[0051] In specific implementation, the first preset value agc_guard represents multiple interference data.

[0052] In practice, the third threshold window_len represents the specified number of sampling points.

[0053] Specifically, due to the known spacing between UWB pulses, when a detected large value is triggered by a UWB pulse, the interference from the subsequent data (the first preset value agc_guard) will not be included in the first count value high_cnt. Furthermore, since the resolution of the input IQ data is higher than that of a single UWB pulse (approximately 2ns, equivalent to 4 IQ sampling points), it is ensured that each pulse is only counted once in the first count value high_cnt. When the detected large value is not triggered by a UWB pulse, for long-duration, non-ideal large signals, the protection interval of the first preset value agc_guard can significantly reduce the accumulated number of the first preset value agc_guard high_cnt. This is because each AGC adjustment restarts the entire reception process, thereby reducing interference, decreasing the number of AGC adjustments, and improving system stability.

[0054] In summary, the present invention provides a pulse shaping circuit for wireless communication. This pulse shaping circuit presets a first threshold, a second threshold, a third threshold, a first count value, a second count value, and a third count value. I / Q data is continuously input into the AGC module. For each set of input I / Q data, the following process is performed: Step S101: Determine whether the input I / Q is greater than the first threshold. If the input I / Q is greater than the first threshold, the first count value is incremented by 1; otherwise, the next set of I / Q data is input. Step S102: Determine whether the first count value is greater than an upper limit value. If it is greater than the upper limit value, it is considered that when... If the input signal is too large, skip the next preset IQ data; Step S103: If the first count value is greater than the upper limit value, determine whether the current AGC gear is already at the minimum gear; Step S104: If the current AGC gear is already at the minimum gear, clear the first count value, the second count value, and the third count value to zero and restart the entire determination process; If the current AGC gear is not at the minimum gear, lower the AGC gear, clear the first count value, the second count value, and the third count value to zero, and restart the entire determination process. While maintaining stable gain, it has better anti-interference capability;

[0055] Furthermore, by judging each sampling point, the pulse saturation signal can be captured more accurately;

[0056] Furthermore, the first threshold, the second threshold, the third threshold, and other judgment thresholds, as well as all judgment thresholds and judgment windows of this AGC device, can be configured, which is very flexible and can adapt to various complex environments. Depending on the application scenario, the register can be modified to support high-sensitivity gain adjustment to ensure the optimal input signal strength, or it can support lower sensitivity to ensure system stability.

[0057] Furthermore, since there is a known interval between UWB pulses, when a large value is detected and triggered by a UWB pulse, the interference of the next few data frames (the first preset value agc_guard) will not be included in the first count value high_cnt. Also, since the resolution of the input IQ data is higher than that of one UWB pulse, and one UWB pulse lasts for about 2ns, which is reflected as 4 IQ sampling points, it can be ensured that one pulse is only included in the first count value high_cnt once.

[0058] Furthermore, when the detected large value is not triggered by a UWB pulse, for non-ideal large signals with a long duration, the protection interval of the first preset value agc_guard can significantly reduce the accumulation of the first preset value agc_guardhigh_cnt, because each adjustment of AGC will restart the entire reception process, thereby reducing its interference, reducing the number of AGC adjustments, and improving the stability of the system.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An automatic gain control method for ultra-wideband chips, characterized in that, The AGC module continuously inputs IQ data, setting a first threshold, a second threshold, a third threshold, a first count value, a second count value, and a third count value. The following process is then performed on each set of input IQ data: Step S101: Determine whether the input IQ data is greater than the first threshold. If the input IQ data is greater than the first threshold, increment the first count value by 1; otherwise, input the next set of IQ data. Step S102: Determine whether the first count value is greater than the upper limit value. If it is greater than the upper limit value, the current input signal is considered to be too large. Otherwise, skip the next IQ data of the first preset value. Step S103: If the first count value is greater than the upper limit value, then determine whether the current AGC gear is already the minimum gear; Step S104: If the current AGC gear is already at the minimum gear, then clear the first count value, the second count value, and the third count value to zero, and restart the entire judgment process. If the current AGC level is not at the minimum level, then the AGC level is lowered, and the first, second, and third count values ​​are cleared to zero, and the entire judgment process is restarted. The method further includes: Step S201: Determine whether the input IQ data is less than the second threshold. If the input IQ data is less than the second threshold, increment the second count value by 1 and input the next set of IQ data. Step S202: For each set of IQ data input, increment the third counter value by 1; Step S203: Determine whether the third count value is equal to the third threshold; Step S204: If the third count value is equal to the third threshold, determine whether the second count value is less than the lower limit. If it is less than the lower limit, the current input signal is considered to be too small; otherwise, clear the first count value, the second count value, and the third count value to zero and start a new determination process. Step S205: If the second count value is less than the lower limit value, then determine whether the current AGC gear is already at the maximum gear; Step S206: If the current AGC gear is already at the maximum gear, then the first count value, the second count value, and the third count value are cleared to zero, and a new judgment process is started again; if the current AGC gear is not at the maximum gear, then the AGC gear is increased, and the first count value, the second count value, and the third count value are cleared to zero again, and a new judgment process is started again.

2. The automatic gain control method for ultra-wideband chips as described in claim 1, characterized in that, The first threshold, the second threshold, the third threshold, the upper limit value, the lower limit value, and the first preset value are preset and stored in a register.

3. The automatic gain control method for ultra-wideband chips as described in claim 1, characterized in that, The lowering of the AGC setting reduces the gain of the preamplifier, thus decreasing the input signal size.

4. The automatic gain control method for ultra-wideband chips as described in claim 1, characterized in that, The upward adjustment of the AGC setting is to increase the gain of the preamplifier, thereby increasing the input signal.

5. The automatic gain control method for ultra-wideband chips as described in claim 1, characterized in that, The third threshold represents the specified number of sampling points.