Adjustment mode determination method, radio frequency chip, storage medium and electronic device
Through the signal detection of the front and back end of the radio frequency chip filter, determine the type of transmission signal and adjust the link gain, solve the problem that the existing technology cannot distinguish between the signal type and adjust the gain in time, and achieve a more efficient signal receiving.
Patent Information
- Application Number
- CN202310912966.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2025-01-24
AI Technical Summary
In the prior art, it is impossible to timely distinguish whether the transmission signal is a useful signal or a blocking interference signal, resulting in the inability to timely adjust the link gain of the RF chip.
Through signal detection of the front and back end of the filter, the first signal strength RSSI value and the second signal strength RSSI value is obtained. The type information of the transmission signal is determined according to the strength difference, and the link gain of the radio frequency chip is adjusted according to the type information. Essence
The type of timely distinguishing the transmission signal is realized, so that the link gain of the radio frequency chip based on different signal types adapts to adjusts the problem of adjusting gain in time, and the reliability of signal receiving is improved.
Smart Images

Figure CN119364499A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer communication technology, and in particular to a method for determining an adjustment mode, a radio frequency chip, a storage medium, and an electronic device. Background Art
[0002] In communication systems, AGC (Automatic Gain Control) is a common technology in the receiving link. During the transmission process, the signal received by the baseband will be saturated or very weak, which can easily cause the link to be disconnected. Therefore, the role of AGC is to adjust the gain of the link so that the signal reaching the baseband is kept in an appropriate range.
[0003] Currently, in the overall architecture of AGC, it is impossible to distinguish in time whether the transmitted signal is a useful signal or a blocking interference signal, which leads to the inability to adjust the gain of the link of the RF chip in time. Summary of the invention
[0004] The embodiments of the present application provide a method for determining an adjustment mode, a radio frequency chip, a storage medium, and an electronic device, so as to at least solve the problem in the related art that it is impossible to timely distinguish whether a transmission signal is a useful signal or a blocking interference signal, thereby causing the inability to timely adjust the gain of the link of the radio frequency chip.
[0005] According to an embodiment of the embodiments of the present application, a method for determining an adjustment method is provided, including: performing signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in a radio frequency chip; determining type information of a transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by a receiving antenna of the radio frequency chip, and the type information includes: a blocking interference signal, or a useful signal; determining an adjustment method for the gain of a link of the radio frequency chip according to the type information of the transmission signal.
[0006] In an exemplary embodiment, the type information of the transmission signal is determined based on the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, including: determining a first size relationship between the absolute value of the strength difference and a first threshold, or a second size relationship between the absolute value and a second threshold, wherein the first threshold is less than the second threshold; when the first size relationship indicates that the absolute value is less than or equal to the first threshold, determining that the type information of the transmission signal is the useful signal; when the second size relationship indicates that the absolute value is greater than the second threshold, determining that the type information of the transmission signal is the blocking interference signal.
[0007] In an exemplary embodiment, when the second size relationship indicates that the absolute value is greater than the second threshold, after determining that the type information of the transmission signal is the blocking interference signal, the method further includes: when the absolute value is greater than the second threshold and less than or equal to a third threshold, determining that the transmission signal is a blocking interference signal with an interference level of level one, wherein the second threshold is less than the third threshold; when the absolute value is greater than the third threshold and less than or equal to a fourth threshold, determining that the transmission signal is a blocking interference signal with an interference level of level two, wherein the third threshold is less than the fourth threshold; wherein determining the gain adjustment method of the link of the RF chip according to the type information of the transmission signal includes: determining a gain adjustment value according to the interference level of the blocking interference signal; and reducing the gain of the pre-amplifier in the link based on the gain adjustment value.
[0008] In an exemplary embodiment, a method for adjusting the gain of the link of the RF chip is determined according to the type information of the transmission signal, including: when the type information of the transmission signal is the useful signal, determining the signal amplitude value of the input port of the analog-to-digital converter ADC in the RF chip; determining the magnitude between the signal amplitude value and a preset amplitude value; when the signal amplitude value is greater than the preset amplitude value, reducing the gain of the post-stage amplifier in the link; when the signal amplitude value is less than the preset amplitude value, increasing the gain of the post-stage amplifier in the link.
[0009] In an exemplary embodiment, determining the gain adjustment value according to the interference level includes at least one of the following: determining the gain adjustment value corresponding to the interference level of the transmission signal based on the correspondence between different interference levels and gain adjustment values; determining the circuit temperature of the RF chip based on the interference level, and determining the gain adjustment value based on a comparison result between the circuit temperature and a preset temperature.
[0010] According to another embodiment of the embodiment of the present application, an analog AGC circuit is also provided, including: a detection module, used to perform signal detection on the front end and the back end of the filter, and obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in a radio frequency chip, and the detection module is connected to a logic control module; the logic control module is used to determine the type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, and determine the adjustment method of the gain of the link of the radio frequency chip according to the type information of the transmission signal, wherein the transmission signal is a signal transmitted by the receiving antenna of the radio frequency chip, and the type information includes: a blocking interference signal, or a useful signal.
[0011] According to another aspect of the embodiments of the present application, a radio frequency chip is provided, comprising the analog AGC circuit described in the above embodiments.
[0012] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the method for determining the adjustment mode when running.
[0013] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for determining the adjustment mode through the computer program.
[0014] In an embodiment of the present application, the front end and the back end of the filter are subjected to signal detection to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in the radio frequency chip, and then the type information of the transmission signal is determined according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the receiving antenna of the radio frequency chip, and the type information includes: a blocking interference signal, or a useful signal, and then the adjustment method of the gain of the link of the radio frequency chip is determined according to the type information of the transmission signal. The above technical solution is adopted to solve the problem that the transmission signal cannot be distinguished in time whether it is a useful signal or a blocking interference signal, thereby causing the inability to adjust the gain of the link of the radio frequency chip in time. The embodiment of the present application determines the type information of the transmission signal based on the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, and then determines the adjustment method of the gain of the link based on the type information of the transmission signal. It is realized that the type of the transmission signal can be distinguished in time, so that the gain of the link of the radio frequency chip can be adaptively adjusted based on different signal types. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 is a hardware environment schematic diagram of a method for determining an adjustment mode according to an embodiment of the present application;
[0018] Figure 2 is a flow chart of a method for determining an adjustment method according to an embodiment of the present application;
[0019] Figure 3 is a flow chart of a method for determining an adjustment mode according to an optional embodiment of the present application;
[0020] Figure 4 is a schematic diagram of a method for determining an adjustment mode according to an embodiment of the present application;
[0021] Figure 5 is a schematic diagram of a structural block diagram of an analog AGC circuit according to an embodiment of the present application;
[0022] Figure 6 is a schematic diagram of a video chip according to an optional embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to one aspect of an embodiment of the present application, a method for determining an adjustment mode is provided. The method for determining an adjustment mode can be executed in a terminal device or a similar computing device or radio frequency chip hardware. Take running on a terminal device as an example. Figure 1 FIG. 1 is a hardware structure block diagram of a terminal device of a method for determining an adjustment mode according to an embodiment of the present invention. Figure 1 As shown, the terminal device may include one or more ( Figure 1Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 104 for storing data. In an exemplary embodiment, the terminal device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the above terminal device. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.
[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for determining the adjustment mode in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal device via a network. 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 combinations thereof.
[0027] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the switching device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0028] In the related art, in the method of adjusting the front-end gain according to the energy of the input signal, the signal amplitude of the analog-to-digital converter ADC input port is detected, and the signal amplitude is compared with the reference amplitude. If it is greater than the reference amplitude, the gain of the pre-amplifier is reduced, and if it is less than the reference amplitude, the gain of the pre-amplifier is increased. Therefore, the gain can only be adjusted according to the signal energy of the analog-to-digital converter ADC, and the architecture of this method is simple and the control accuracy is low; in the method of combining software and hardware to adjust the gain, the speed of adjusting the gain through the overall architecture of the current AGC is slow, which increases the cost of software and hardware, and the above two methods cannot distinguish whether the transmission signal is a useful signal or a blocking interference signal in time when encountering blocking interference, and affect the normal reception of useful signals.
[0029] To this end, a method for determining an adjustment mode is provided in this embodiment, and the method can be applied to the above-mentioned terminal device, and can also be configured in a radio frequency chip. The terminal device can be a PC or a mobile terminal. This embodiment of the application does not limit this. Figure 2 is a flow chart of a method for determining an adjustment mode according to an embodiment of the present invention, the flow chart comprising the following steps:
[0030] S202, performing signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is set in the radio frequency chip.
[0031] In an embodiment of the present application, the front end and the back end of the filter can be detected by the detection module. Among them, the front end of the filter can be provided with a first detection module, and the back end of the filter can be provided with a second detection module. The front end of the filter can be detected by the first detection module to obtain a first signal strength RSSI value corresponding to the front end, and the back end of the filter can be detected by the second detection module to obtain a second signal strength RSSI value corresponding to the back end.
[0032] It should be noted that the RF chip receives the signal transmitted by the antenna, and the transmitted signal passes through the pre-amplifier, mixer, filter, post-amplifier and analog-to-digital converter ADC in the RF chip in sequence.
[0033] The first signal strength RSSI value can be understood as the signal strength indicator value transmitted by the RF chip receiving antenna. The higher the first signal strength RSSI value, the stronger the received signal; conversely, the lower the first signal strength RSSI value, the relatively weaker the received signal.
[0034] The second signal strength RSSI value may be understood as a received signal strength indicator value obtained after being processed by a filter.
[0035] S204, determining type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal.
[0036] In an embodiment of the present application, a first signal strength RSSI value and a second signal strength RSSI value are obtained, and the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value can be determined, and then based on the relationship between the absolute value and the first threshold or the second threshold, it is determined whether the transmitted signal is a blocking interference signal or a useful signal.
[0037] Among them, a first size relationship between the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value and a first threshold, or a second size relationship between the absolute value and the second threshold is determined, wherein the first threshold is smaller than the second threshold, and then the type information of the transmission signal is determined according to the first size relationship or the second size relationship.
[0038] S206: Determine a method for adjusting the gain of a link of the radio frequency chip according to the type information of the transmission signal.
[0039] In an embodiment of the present application, after determining the type information of the transmission signal, in order to ensure the linearity and sensitivity performance of the link of the RF chip, different gain adjustment methods of the front-end link of the RF chip can be performed based on the type information.
[0040] It should be noted that the link of the RF chip refers to the physical connection between the transmitter and the receiver in the wireless communication system. As an important component between the transmitter and the receiver, the main function of the RF chip is to ensure that the signal will not be lost or interfered during the transmission process, so as to achieve high-quality and reliable wireless communication effects.
[0041] The link gain of the RF chip refers to the degree of amplification experienced by the signal during transmission, usually expressed in decibels (dB). In the RF system, due to factors such as long signal transmission distance and limited receiver sensitivity, it is necessary to improve the signal strength and reliability by adjusting the link gain of the RF chip.
[0042] Through the above steps, the front end and the back end of the filter are subjected to signal detection to obtain the first signal strength RSSI value corresponding to the front end and the second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in the RF chip, and then the type information of the transmission signal is determined according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal, and then the gain adjustment method of the link of the RF chip is determined according to the type information of the transmission signal. The problem in the prior art that it is impossible to timely distinguish whether the transmission signal is a useful signal or a blocking interference signal, which leads to the inability to timely adjust the gain of the link of the RF chip, is solved. The embodiment of the present application determines the type information of the transmission signal based on the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, and then determines the gain adjustment method of the link based on the type information of the transmission signal. It is realized that the type of the transmission signal can be distinguished in time, so that the gain of the link of the RF chip can be adaptively adjusted based on different signal types.
[0043] In order to make it easier for those skilled in the art to understand the technical solutions of the embodiments of the present application, Figure 3 This is a method for determining the adjustment method of a specific embodiment of the present application, such as Figure 3 As shown, a method for determining an adjustment mode in a specific embodiment of the present application includes:
[0044] S302, performing signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is set in the radio frequency chip.
[0045] In the embodiments of the present application, the embodiment of S302 may refer to the embodiment of S202 described above.
[0046] S304: Determine a first magnitude relationship between the absolute value of the intensity difference and a first threshold, or a second magnitude relationship between the absolute value and a second threshold.
[0047] It should be noted that the first threshold and the second threshold can be set based on the experience of those skilled in the art.
[0048] That is, after obtaining the first signal strength RSSI value corresponding to the front end and the second signal strength RSSI value corresponding to the back end, the absolute value of the difference between the first signal strength RSSI value corresponding to the front end and the second signal strength RSSI value corresponding to the back end can be determined, and then the absolute value of the difference is compared with the first threshold to obtain the first size relationship, or the absolute value of the difference is compared with the second threshold to obtain the second size relationship. Wherein, the first threshold is less than the second threshold.
[0049] S306: Determine type information of the transmission signal according to the first size relationship or the second size relationship.
[0050] In an embodiment of the present application, when the absolute value of the first size relationship indication is less than or equal to the first threshold, the type information of the transmission signal is determined to be a useful signal; when the absolute value of the second size relationship indication is greater than the second threshold, the type information of the transmission signal is determined to be a blocking interference signal.
[0051] That is to say, when the absolute value of the difference between the first signal strength RSSI value corresponding to the current end and the second signal strength RSSI value corresponding to the back end is less than or equal to the first threshold, the type information of the transmission signal is determined to be a useful signal; when the absolute value of the difference between the first signal strength RSSI value corresponding to the current end and the second signal strength RSSI value corresponding to the back end is greater than the second threshold, the type information of the transmission signal is determined to be a blocking interference signal.
[0052] When it is determined that the type information of the transmission signal is a blocking interference signal, in order to achieve adaptive adjustment of the gain of the link of the RF chip, the blocking interference signal is also divided into different levels, so as to accurately control the gain of the link of the RF chip based on the interference level. In an embodiment of the present application, when the absolute value is greater than the second threshold and less than or equal to the third threshold, the transmission signal is determined to be a blocking interference signal with an interference level of one, wherein the second threshold is less than the third threshold; when the absolute value is greater than the third threshold and less than or equal to the fourth threshold, the transmission signal is determined to be a blocking interference signal with an interference level of two, wherein the third threshold is less than the fourth threshold; when the absolute value is greater than the fourth threshold and less than or equal to the fifth threshold, the transmission signal is determined to be a blocking interference signal with an interference level of three, wherein the fourth threshold is less than the fifth threshold; when the absolute value is greater than the fifth threshold, the transmission signal is determined to be a blocking interference signal with an interference level of four, wherein the interference degree of the blocking interference signal of level four is greater than that of the blocking interference signal of level three, the interference degree of the blocking interference signal of level three is greater than that of the blocking interference signal of level two, and the interference degree of the blocking interference signal of level two is greater than that of the blocking interference signal of level one.
[0053] In another embodiment of the present application, when it is determined that the strength difference between the first signal strength RSSI value and the second signal strength RSSI value is 0, it means that the first signal strength RSSI value and the second signal strength RSSI value are the same, and the type information of the transmission signal can be determined to be a useful signal.
[0054] S308: When the type information of the transmission signal is a useful signal, determine a method for adjusting the gain of the link of the radio frequency chip.
[0055] In the embodiment of the present application, when the type information of the transmission signal is a useful signal, the signal amplitude value of the analog-to-digital converter ADC input port in the radio frequency chip is determined, and the magnitude of the signal amplitude value and the preset amplitude value is determined. When the signal amplitude value is greater than the preset amplitude value, the gain of the post-stage amplifier in the link is reduced, and when the signal amplitude value is less than the preset amplitude value, the gain of the post-stage amplifier in the link is increased. When the transmission signal is determined to be useful, the gain of the post-stage amplifier in the link is adjusted to ensure the noise coefficient of the link of the radio frequency chip and optimize the signal-to-noise ratio.
[0056] For example, the signal amplitude value of the analog-to-digital converter ADC input port in the radio frequency chip can be obtained by an acquisition unit arranged at the analog-to-digital converter ADC input port.
[0057] S3110: When the type information of the transmission signal is a blocking interference signal, determine a method for adjusting the gain of the link of the radio frequency chip.
[0058] In an embodiment of the present application, when the type information of the transmission signal is a blocking interference signal, the interference level of the transmission signal is determined, the gain adjustment value is determined according to the interference level, and then the gain of the preamplifier in the link is reduced based on the gain adjustment value. It is achieved that when the transmission signal is determined to be a blocking interference signal, the gain of the preamplifier in the link is adjusted to ensure the linearity of the link of the RF chip and to ensure that the preamplifier in the link is not saturated. The unsaturation of the preamplifier means that the amplitude of the input transmission signal is small, and the amplitude of the transmission signal output by the preamplifier cannot reach the maximum value. In this case, the input transmission signal will be partially amplified rather than fully amplified. In addition, if the input transmission signal is too strong, distortion or other problems may occur.
[0059] As a possible implementation method, based on the correspondence between different interference levels and gain adjustment values, the gain adjustment value corresponding to the interference level of the transmission signal is determined, wherein the correspondence between different interference levels and gain adjustment values can be stored in a database. After determining the interference level of the blocking interference signal, the gain adjustment value corresponding to the interference level in the database can be called, and then the gain of the pre-amplifier in the link is reduced based on the gain adjustment value.
[0060] As another possible implementation, the circuit temperature of the radio frequency chip is determined based on the interference level, and the gain adjustment value is determined according to a comparison result between the circuit temperature and a preset temperature.
[0061] Among them, the higher the interference level, the higher the circuit temperature of the RF chip.
[0062] The circuit temperature corresponding to the interference level may be determined based on the corresponding relationship between different interference levels and circuit temperatures.
[0063] For example, when determining that the interference level is a blocking interference signal of level 4, the circuit temperature of the RF chip can be determined to be 120°C. When the circuit temperature is determined to be 120°C and greater than the preset temperature, the gain of the preamplifier in the link is reduced based on the first preset adjustment value, or when the circuit temperature is determined to be 120°C and less than the preset temperature, the gain of the preamplifier in the link is reduced based on the second preset adjustment value. In order to more accurately control the gain of the link of the RF chip, the higher the interference level, the higher the corresponding preset adjustment value, for example, the first preset adjustment value is greater than the second preset adjustment value, wherein the first preset adjustment value and the second preset adjustment value can be set based on the experience of those skilled in the art.
[0064] As another possible implementation, the absolute value of the strength difference between the first signal strength RSSI value and the second signal strength RSSI value is determined, and based on the correspondence between the absolute value and the preset adjustment value, the preset adjustment value corresponding to the absolute value is determined, and the preset adjustment value is used as the gain adjustment value. The correspondence between the absolute value and the preset adjustment value can be stored in a database.
[0065] In another embodiment of the present application, when the absolute value is greater than the second threshold and less than or equal to the third threshold, the transmission signal is determined to be a blocking interference signal with an interference level of one, indicating that the interference degree of the blocking interference signal is not large, and the front-end linearity and the dynamic range of the analog-to-digital converter ADC in the RF chip can be tolerated. Therefore, the signal amplitude value of the analog-to-digital converter ADC input port in the RF chip can be further determined, and the size of the signal amplitude value and the preset amplitude value can be determined. When the signal amplitude value is greater than the preset amplitude value, the gain of the post-stage amplifier in the link is reduced, and when the signal amplitude value is less than the preset amplitude value, the gain of the post-stage amplifier in the link is increased.
[0066] In a specific embodiment of the present application, Figure 4 As shown, the RSSI module (equivalent to the detection module) performs signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, and then inputs the first signal strength RSSI value and the second signal strength RSSI value into the logic control module, so that the logic control module determines the first signal strength RSSI value and the second signal strength RSSI value reported by the RSSI module, and then determines to start the normal AGC process or to start the anti-blocking AGC process based on the first signal strength RSSI value and the second signal strength RSSI value.
[0067] Among them, when it is determined that the first signal strength RSSI value is equal to the second signal strength RSSI value, it is determined that the difference between the first signal strength RSSI value and the second signal strength RSSI value is equal to 0, it can be determined that there is no interference signal, and the transmission signal is a useful signal, so it can be determined to start the normal AGC process.
[0068] When it is determined that the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value is less than or equal to A1, it can be determined that the transmission signal is a first-level blocking interference signal, but the degree of interference is not large, and the front-end linearity and the ADC dynamic range in the RF chip can withstand it. Therefore, it can be determined to start the normal AGC process.
[0069] When the normal AGC process is started, the gain of the post-stage amplifier in the link is controlled to be reduced or increased, wherein the signal amplitude value of the analog-to-digital converter ADC input port in the RF chip is determined, and the size of the signal amplitude value and the preset amplitude value is judged. When the signal amplitude value is greater than the preset amplitude value, the gain of the post-stage amplifier in the link is reduced, and when the signal amplitude value is less than the preset amplitude value, the gain of the post-stage amplifier in the link is increased.
[0070] When it is determined that the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value is greater than A1, it can be determined that the transmission signal is a blocking interference signal and the interference degree is large, so it can be determined to start the anti-blocking AGC process.
[0071] In order to accurately control the front-end link gain, when it is determined that the transmission signal is a blocking interference signal, the interference level of the blocking interference signal can be determined, wherein, when it is determined that the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value is greater than A1 and less than or equal to A2, it can be determined that the transmission signal is a second-level blocking interference signal; when it is determined that the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value is greater than A2 and less than or equal to A3, it can be determined that the transmission signal is a third-level blocking interference signal; when it is determined that the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value is greater than A3, it can be determined that the transmission signal is a fourth-level blocking interference signal. Then, the gain adjustment value is determined based on the interference level, and the gain of the preamplifier in the link is reduced according to the gain adjustment value. It is realized that the gain adjustment values of different gears are determined based on different interference levels, and the gain of the preamplifier in the link is reduced based on the adjustment values of different gears.
[0072] Through the above steps, by determining the absolute value of the difference between the first signal strength RSSI value and the second signal strength RSSI value, the type information of the transmission signal can be determined. When the type information of the transmission signal is a useful signal, the adjustment method of the gain of the link of the RF chip is determined. When the type information of the transmission signal is determined to be a blocking interference signal, the interference level of the blocking interference signal can be determined, and then based on the interference level, the gain of the link of the RF chip can be accurately controlled. It is achieved that the transmission signal can be distinguished in time as a useful signal or a blocking interference signal, and then the gain of the link of the RF chip can be adaptively adjusted, so that the link performance of the RF chip can be maintained in the case of strong interference, making the link performance of the RF chip more stable, and simplifying the process, saving software generation.
[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0074] Figure 5 is a structural block diagram of an analog AGC circuit according to an embodiment of the present application; Figure 5 As shown, including:
[0075] A detection module 520, configured to perform signal detection on the front end and the back end of the filter, and obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in a radio frequency chip, and the detection module is connected to a logic control module;
[0076] The logic control module 540 is used to determine the type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, and determine the adjustment method of the gain of the link of the RF chip according to the type information of the transmission signal, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal.
[0077] Through the above-mentioned device, the front end and the back end of the filter are subjected to signal detection to obtain the first signal strength RSSI value corresponding to the front end and the second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in the radio frequency chip, and then the type information of the transmission signal is determined according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the receiving antenna of the radio frequency chip, and the type information includes: a blocking interference signal, or a useful signal, and then the adjustment method of the gain of the link of the radio frequency chip is determined according to the type information of the transmission signal. The problem in the prior art that it is impossible to timely distinguish whether the transmission signal is a useful signal or a blocking interference signal, which leads to the inability to timely adjust the link gain, is solved. The embodiment of the present application determines the type information of the transmission signal based on the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, and then determines the adjustment method of the link gain based on the type information of the transmission signal. It is realized that the type of the transmission signal is distinguished in time, so that the gain of the link is adaptively adjusted based on different signal types.
[0078] In an exemplary embodiment, the logic control module 540 includes: a first determination unit, used to determine a first size relationship between the absolute value of the intensity difference and a first threshold, or a second size relationship between the absolute value and a second threshold, wherein the first threshold is less than the second threshold; a second determination unit, used to determine that the type information of the transmission signal is the useful signal when the first size relationship indicates that the absolute value is less than or equal to the first threshold; and to determine that the type information of the transmission signal is the blocking interference signal when the second size relationship indicates that the absolute value is greater than the second threshold.
[0079] In an exemplary embodiment, the logic control module 540 includes: a first control module, which is used to determine that the transmission signal is a blocking interference signal with an interference level of level one when the absolute value is greater than the second threshold and less than or equal to a third threshold, wherein the second threshold is less than the third threshold; when the absolute value is greater than the third threshold and less than or equal to a fourth threshold, determine that the transmission signal is a blocking interference signal with an interference level of level two, wherein the third threshold is less than the fourth threshold; determine a gain adjustment value according to the interference level of the blocking interference signal; and reduce the gain of the pre-amplifier in the link based on the gain adjustment value.
[0080] In an exemplary embodiment, the logic control module 540 includes: a second control module, which is used to determine the signal amplitude value of the analog-to-digital converter ADC input port in the RF chip when the type information of the transmission signal is the useful signal; determine the magnitude of the signal amplitude value and a preset amplitude value; reduce the gain of the post-stage amplifier in the link when the signal amplitude value is greater than the preset amplitude value; and increase the gain of the post-stage amplifier in the link when the signal amplitude value is less than the preset amplitude value.
[0081] In an exemplary embodiment, the first control module is used to determine the gain adjustment value corresponding to the interference level of the transmission signal based on the correspondence between different interference levels and gain adjustment values; determine the circuit temperature of the RF chip based on the interference level, and determine the gain adjustment value according to a comparison result between the circuit temperature and a preset temperature.
[0082] In order to make it easier for people in this field to understand the internal hardware structure of the RF chip, Figure 6 As shown, the internal hardware of the RF chip includes: a pre-amplifier, a mixer, a filter, a post-amplifier, and an analog-to-digital converter ADC, wherein energy detection (equivalent to a detection module) can be set at the front end and the back end of the filter, and the energy detection module is used to perform signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, and the first signal strength RSSI value and the second signal strength RSSI value are sent to the logic control module, so that the logic control module determines whether the transmission signal is a useful signal or a blocked interference signal according to the absolute value of the strength difference between the first signal strength RSSI value and the second signal strength RSSI value.
[0083] In the case where it is determined that the transmission signal is a blocking interference signal, the logic control module determines the interference level of the blocking interference signal, and then reduces the gain of the pre-amplifier based on the gain adjustment value corresponding to the interference level;
[0084] When it is determined that the transmission signal is a useful signal, the signal amplitude value of the analog-to-digital converter ADC input port is obtained, and the signal amplitude value is compared with ref (equivalent to the preset amplitude value) based on the comparison module, and the comparison result is sent to the logic control module, so that the logic control module reduces or increases the gain of the post-stage amplifier based on the comparison result.
[0085] An embodiment of the present application further provides a radio frequency chip, characterized in that it includes the analog AGC circuit described above.
[0086] In an exemplary embodiment, the radio frequency chip further includes: a mixer, the mixer is connected to the front end of the filter, and the mixer is used to mix transmission signals of different frequencies received by the radio frequency chip.
[0087] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.
[0088] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:
[0089] S1, performing signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is set in a radio frequency chip;
[0090] S2, determining the type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal;
[0091] S3: Determine a method for adjusting the gain of the link of the radio frequency chip according to the type information of the transmission signal.
[0092] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0093] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0094] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0095] S1, performing signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is set in a radio frequency chip;
[0096] S2, determining the type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal;
[0097] S3: Determine a method for adjusting the gain of the link of the radio frequency chip according to the type information of the transmission signal.
[0098] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0099] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0100] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0101] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for determining an adjustment mode, characterized in that: include: Performing signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is set in a radio frequency chip; Determine the type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal; A method for adjusting the gain of the link of the radio frequency chip is determined according to the type information of the transmission signal.
2. The method for determining the adjustment mode according to claim 1, characterized in that: Determining type information of a transmission signal according to a strength difference between the first signal strength RSSI value and the second signal strength RSSI value includes: Determine a first magnitude relationship between an absolute value of the intensity difference and a first threshold, or a second magnitude relationship between the absolute value and a second threshold, wherein the first threshold is smaller than the second threshold; In a case where the first magnitude relationship indicates that the absolute value is less than or equal to the first threshold, determining that the type information of the transmission signal is the useful signal; In a case where the second size relationship indicates that the absolute value is greater than the second threshold, it is determined that the type information of the transmission signal is the blocking interference signal.
3. The method for determining the adjustment mode according to claim 2, characterized in that: In a case where the second magnitude relationship indicates that the absolute value is greater than the second threshold, determining that the type information of the transmission signal is the blocking interference signal includes: When the absolute value is greater than the second threshold and less than or equal to a third threshold, determining that the transmission signal is a blocking interference signal with an interference level of level 1, wherein the second threshold is less than the third threshold; When the absolute value is greater than the third threshold and less than or equal to the fourth threshold, determining that the transmission signal is a blocking interference signal with an interference level of level 2, wherein the third threshold is less than the fourth threshold; Wherein, determining the adjustment method of the link gain of the radio frequency chip according to the type information of the transmission signal includes: Determining a gain adjustment value according to an interference level of the blocking interference signal; The gain of a preamplifier in the chain is reduced based on the gain adjustment value.
4. The method for determining the adjustment mode according to claim 1 or 2, characterized in that: Determining a method for adjusting the gain of a link of the radio frequency chip according to the type information of the transmission signal includes: In a case where the type information of the transmission signal is the useful signal, determining a signal amplitude value of an input port of an analog-to-digital converter ADC in the radio frequency chip; Determine the magnitude of the signal amplitude value and a preset amplitude value; When the signal amplitude value is greater than the preset amplitude value, reducing the gain of the subsequent amplifier in the link; When the signal amplitude value is less than the preset amplitude value, the gain of the subsequent amplifier in the link is increased.
5. The method for determining the adjustment mode according to claim 3, characterized in that: Determining the gain adjustment value according to the interference level of the blocking interference signal includes at least one of the following: Determining the gain adjustment value corresponding to the interference level of the blocking interference signal based on the correspondence between different interference levels and gain adjustment values; The circuit temperature of the radio frequency chip is determined based on the interference level, and the gain adjustment value is determined according to a comparison result between the circuit temperature and a preset temperature.
6. An analog AGC circuit, characterized in that: include: A detection module, used to perform signal detection on the front end and the back end of the filter to obtain a first signal strength RSSI value corresponding to the front end and a second signal strength RSSI value corresponding to the back end, wherein the filter is arranged in a radio frequency chip, and the detection module is connected to a logic control module; The logic control module is used to determine the type information of the transmission signal according to the strength difference between the first signal strength RSSI value and the second signal strength RSSI value, and determine the adjustment method of the gain of the link of the RF chip according to the type information of the transmission signal, wherein the transmission signal is a signal transmitted by the RF chip receiving antenna, and the type information includes: a blocking interference signal, or a useful signal.
7. A radio frequency chip, characterized in that: The analog AGC circuit comprising the above-mentioned claim 6.
8. The radio frequency chip according to claim 7, characterized in that: The radio frequency chip further includes: a mixer, which is connected to the front end of the filter and is used to mix transmission signals of different frequencies received by the radio frequency chip.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 5 through the computer program.