Radio frequency path impedance debugging method and device, electronic equipment and storage medium
By automatically detecting the ratio of transmitted signals and reflected signals of the radio frequency path and updating the device parameters, the problems of cumbersome and inaccurate RF path impedance debugging in the prior art are solved, and simpler and more accurate RF path impedance debugging is achieved.
Patent Information
- Application Number
- CN202411349307.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2024-12-27
AI Technical Summary
The existing RF path impedance debugging methods are cumbersome and labor costs are high. Relying on manual experience may be inaccurate judgment, resulting in repeated passive and active verification, which is a large workload.
By obtaining the transmit signal strength and reflected signal strength of the radio frequency path, the ratio is calculated to automatically detect whether the impedance meets the standard, and update the device parameters until the standard is met, reducing manual operation steps and improving the accuracy of judgment.
It realizes automatic debugging of RF path impedance, reduces labor costs, simplifies operating procedures, and improves the accuracy and efficiency of judgment.
Smart Images

Figure CN119210947A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio frequency technology, and in particular to a method, device, electronic device and storage medium for debugging radio frequency path impedance. Background Art
[0002] In the process of RF hardware development and debugging, RF path impedance debugging is the most basic and important task. The result of RF path impedance debugging directly affects the performance of the product. Therefore, it is very important to confirm whether the RF path impedance is debugged to meet the standards.
[0003] At present, the debugging method of RF path impedance is mainly that the debugging personnel first use a vector network analyzer for passive debugging. When the debugging personnel roughly judge that the RF path impedance meets the standard based on experience, they will then perform active verification to confirm whether certain RF performance meets the standard. Through these RF performance standards, it is confirmed whether the RF path impedance really meets the standard. However, this method requires manual operation by the debugging personnel throughout the process, and because the debugging personnel judge whether the RF path impedance meets the standard based on experience, there are many subjective factors, so the judgment may be inaccurate, resulting in the need for repeated passive debugging and active verification, which is a large workload. It can be seen that the current debugging method of RF path impedance is cumbersome and has high labor costs. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, electronic device and storage medium for debugging RF path impedance that is easy to operate and has low labor costs in order to solve the above technical problems.
[0005] The present application provides a method for debugging radio frequency path impedance, the method comprising:
[0006] Obtain the transmission signal strength and reflection signal strength of the target radio frequency path;
[0007] According to the strength of the transmitted signal and the strength of the reflected signal, detect whether the impedance of the target RF path meets the standard;
[0008] If the impedance of the target RF path does not meet the standard, the device parameters of the device on the target RF path are updated, and the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path is returned until the impedance of the target RF path meets the standard.
[0009] Optionally, detecting whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength includes:
[0010] Calculate the ratio of the transmitted signal strength to the reflected signal strength;
[0011] If the difference between the ratio and the preset reference value is less than or equal to the preset threshold, it is determined that the impedance of the target RF path meets the standard; otherwise, it is determined that the impedance of the target RF path does not meet the standard.
[0012] Optionally, the method further includes: if the impedance of the target radio frequency path does not meet the standard, determining recommended device parameters of the device on the target radio frequency path;
[0013] Wherein, updating the device parameters of the device on the target radio frequency path includes: updating the current device parameters of the device on the target radio frequency path to recommended device parameters.
[0014] Optionally, determine recommended device parameters for devices on the target RF path, including:
[0015] Recommended device parameters are determined based on a ratio of the transmitted signal strength to the reflected signal strength, a preset reference value, a preset threshold, a matching network type of a target RF path, and current device parameters.
[0016] Optionally, before obtaining the transmission signal strength and the reflection signal strength of the target radio frequency path, the method further includes:
[0017] Determine a target radio frequency link to which the target radio frequency path belongs, and determine a target operating frequency of the target radio frequency link;
[0018] If the target radio frequency link is a TX radio frequency link, controlling a transmitting port of a radio frequency transceiver in the target radio frequency link to transmit a radio frequency signal having a frequency that is a target operating frequency;
[0019] If the target radio frequency link is an RX radio frequency link, a receiving port of a radio frequency transceiver in the target radio frequency link is controlled to transmit a radio frequency signal having a frequency that is a target operating frequency.
[0020] Optionally, the target RF path is a TX RF link, a portion of a TX RF link, a RX RF link, or a portion of a RX RF link.
[0021] The present application provides a device for debugging radio frequency path impedance, the device comprising:
[0022] A first acquisition module, used to acquire the transmission signal strength and the reflection signal strength of the target radio frequency path;
[0023] A first detection module, used to detect whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength;
[0024] The first update module is used to update the device parameters of the devices on the target RF path if the impedance of the target RF path does not meet the standard, and return to the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path until the impedance of the target RF path meets the standard.
[0025] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method for debugging the impedance of a radio frequency path provided in any embodiment of the present application are implemented.
[0026] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for debugging the impedance of a radio frequency path provided in any embodiment of the present application are implemented.
[0027] The debugging method, device, electronic device and storage medium of the RF path impedance provided in the embodiment of the present application can obtain the transmission signal strength and reflection signal strength of the target RF path; detect whether the impedance of the target RF path meets the standard according to the transmission signal strength and reflection signal strength; if the impedance of the target RF path does not meet the standard, update the device parameters of the device on the target RF path, and return to the step of obtaining the transmission signal strength and reflection signal strength of the target RF path until the impedance of the target RF path meets the standard. It can be seen that the above technical solution can automatically detect whether the impedance of the target RF path meets the standard according to the transmission signal strength and reflection signal strength, so that the debugging personnel can update the device parameters of the device on the target RF path in time when the impedance of the target RF path does not meet the standard until the impedance of the target RF path meets the standard. In this way, there is no need for debugging personnel to manually perform tedious passive debugging and active debugging to detect whether the impedance of the target RF path meets the standard, and there is no need for debugging personnel to manually and subjectively judge whether the impedance of the target RF path meets the standard during the passive debugging process. In this way, fewer steps require manual operation, and the judgment of whether the impedance of the target RF path meets the standard is simpler and more accurate, thereby making the debugging operation of the RF path impedance simpler and with lower labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flowchart of a method for debugging radio frequency path impedance in one embodiment;
[0029] Figure 2 A schematic diagram of a structure in which a radio frequency path is regarded as a two-terminal network in one embodiment;
[0030] Figure 3 A schematic diagram of a debugging scenario of radio frequency path impedance in an embodiment;
[0031] Figure 4 It is a structural schematic diagram of a device for debugging radio frequency path impedance in one embodiment;
[0032] Figure 5 FIG. 1 is a schematic diagram of the structure of an electronic device in an embodiment. DETAILED DESCRIPTION
[0033] 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.
[0034] In one embodiment, Figure 1 As shown, a method for debugging radio frequency path impedance is provided, which can be applicable to the scenario of debugging radio frequency path impedance. The method can be performed by a debugging device for radio frequency path impedance, which can be implemented by software and / or hardware methods and can be integrated on an electronic device. The electronic device can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. In this embodiment, the method includes the following steps:
[0035] S110: Obtain the transmission signal strength and the reflection signal strength of the target radio frequency path.
[0036] Specifically, the target RF path can be any RF path to be subjected to impedance debugging. Optionally, the target RF path is a TX RF link, a portion of a TX RF link, an RX RF link, or a portion of an RX RF link, wherein the main task of the TX RF link is to convert the baseband signal into a RF signal suitable for propagation in the air, and the main task of the RX link is to recover the original baseband information from the received RF signal.
[0037] Specifically, Figure 2 As shown, the RF path can be regarded as a two-port network, the signal strength of the RF signal transmitted from the transmitting end 10 of the RF path is the transmitted signal strength, and the signal strength of the RF signal reflected back from the transmitting end 10 of the RF path is the reflected signal strength.
[0038] It should be noted that the transmission signal strength and the reflection signal strength can be obtained by any method known to those skilled in the art, without limitation. For example, a power meter, a signal strength sensor, etc. can be used to obtain the transmission signal strength and the reflection signal strength, but it is not limited thereto.
[0039] S120: Detect whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength.
[0040] In some embodiments, S120 may include: inputting the transmission signal strength and the reflection signal strength into a pre-trained detection model, and obtaining a detection result output by the detection model as to whether the impedance of the target radio frequency path meets the standard.
[0041] In other embodiments, S120 may include: calculating the ratio of the transmitted signal strength to the reflected signal strength; if the difference between the ratio and a preset reference value is less than or equal to a preset threshold, determining that the impedance of the target RF path meets the standard, otherwise determining that the impedance of the target RF path does not meet the standard.
[0042] Specifically, the ratio of the transmission signal strength to the reflection signal strength is a quotient obtained by dividing the reflection signal strength by the transmission signal strength, or a quotient obtained by dividing the transmission signal strength by the reflection signal strength.
[0043] Specifically, for the RF path, insertion loss = reflection loss + line loss, that is, insertion loss is the superposition effect of reflection loss and line loss. Line loss is affected by factors such as line length during the early design and cannot be optimized. Reflection loss mainly depends on the reflection coefficient of the RF path and can be optimized by debugging the RF path matching. Figure 2 As shown, the RF path is regarded as a two-port network, and the reflection coefficient is calculated as follows:
[0044]
[0045] Among them, S is the reflection coefficient, Z0 is the pure line impedance, that is, the inherent impedance without considering any external influence (such as matching network, parasitic effects caused by routing, etc.), ZL is the actual impedance of the RF path, that is, the total impedance after considering all practical factors, including but not limited to path matching, line impedance and parasitic capacitance caused by routing, V0 is the reflected voltage, Vs is the source voltage, it can be seen that when Z0 = ZL, the reflection coefficient is the smallest, that is, the reflection loss is the smallest. Exemplarily, in actual applications, the matching of 50Ω takes into account the advantages of power resistance and low loss, so the debugging goal is to use matching to offset parasitic capacitance (ideal state), and finally Z0 = ZL = 50Ω.
[0046] From the above, it can be seen that when Z0=ZL, the reflection loss is the smallest. Therefore, if the ratio of the transmitted signal strength and the reflected signal strength is the quotient obtained by dividing the reflected signal strength by the transmitted signal strength, the quotient obtained by dividing the reflected signal strength by the transmitted signal strength when Z0=ZL can be used as the preset reference value; if the ratio of the transmitted signal strength and the reflected signal strength is the quotient obtained by dividing the transmitted signal strength by the reflected signal strength, the quotient obtained by dividing the transmitted signal strength by the reflected signal strength when Z0=ZL can be used as the preset reference value.
[0047] Specifically, the difference between the ratio and the preset reference value is an absolute value of the difference obtained by subtracting the preset reference value from the ratio.
[0048] Specifically, the specific value of the preset threshold can be set by those skilled in the art according to actual conditions and is not limited here.
[0049] It can be understood that by setting the ratio of the transmitted signal strength and the reflected signal strength to be compared with a preset reference value to determine whether the impedance of the target RF path meets the standard, human subjective factors are avoided, making the determination of whether the impedance of the target RF path meets the standard simpler and more accurate.
[0050] S130: If the impedance of the target RF path does not meet the standard, update the device parameters of the devices on the target RF path, and return to the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path until the impedance of the target RF path meets the standard.
[0051] Specifically, if the impedance of the target RF path does not meet the standard, the device parameters of the devices on the target RF path are updated, and the transmitted signal strength and reflected signal strength of the target RF path are re-obtained based on the updated device parameters. Then, based on the transmitted signal strength and the reflected signal strength, whether the impedance of the target RF path meets the standard is detected. If the impedance of the target RF path still does not meet the standard, the device parameters of the devices on the target RF path continue to be updated, and so on and so forth until the impedance of the target RF path meets the standard.
[0052] In the above scheme, it is possible to automatically detect whether the impedance of the target RF path meets the standard according to the strength of the transmitted signal and the strength of the reflected signal, so that the debugging personnel can timely update the device parameters of the devices on the target RF path when the impedance of the target RF path does not meet the standard until the impedance of the target RF path meets the standard. In this way, there is no need for the debugging personnel to manually detect whether the impedance of the target RF path meets the standard through cumbersome passive debugging and active debugging, and there is no need for the debugging personnel to manually and subjectively judge whether the impedance of the target RF path meets the standard during the passive debugging process. In this way, fewer steps are required for manual operation, and the judgment of whether the impedance of the target RF path meets the standard is simpler and more accurate, thereby making the debugging operation of the RF path impedance simpler and lowering the labor cost.
[0053] In some embodiments, the method further includes: if the impedance of the target RF path does not meet the requirements, determining recommended device parameters of the device on the target RF path;
[0054] Wherein, updating the device parameters of the device on the target radio frequency path includes: updating the current device parameters of the device on the target radio frequency path to recommended device parameters.
[0055] In the above solution, the recommended device parameters are determined automatically by setting, so that the debugging personnel do not need to estimate the recommended device parameters based on experience, which is conducive to reducing labor costs.
[0056] It should be noted that there are many specific ways to determine the recommended device parameters. Typical examples are described below, but they do not constitute a limitation of the present disclosure.
[0057] Optionally, determining recommended device parameters of a device on a target RF path includes determining the recommended device parameters based on a ratio of transmitted signal strength to reflected signal strength, a preset reference value, a preset threshold, a matching network type of the target RF path, and current device parameters.
[0058] Specifically, the matching network is used to adjust and optimize the matching between the line impedance and the load impedance. The types of matching networks generally include L-type network, π-type network, and T-type network.
[0059] Specifically, the current device parameters are the current device parameters of the device on the target RF path, wherein the device mentioned here refers to a device that affects or is associated with the RF path impedance, such as capacitors and / or inductors, but is not limited to this.
[0060] Further optionally, determining recommended device parameters of the device on the target RF path includes: inputting the ratio of the transmitted signal strength to the reflected signal strength, a preset reference value, a preset threshold, the matching network type of the target RF path and the current device parameters into the simulation optimization software, and the simulation optimization software can output the recommended device parameters.
[0061] Specifically, the simulation optimization software may include a trained recommendation model, etc., but is not limited thereto.
[0062] In the above scheme, the recommended device parameters are determined by setting the ratio, preset reference value, preset threshold, matching network type of the target RF path and current device parameters, so that the factors referenced in the calculation of the recommended device parameters are more comprehensive, and thus the recommended device parameters are closer to the corresponding device parameters when the RF path impedance meets the standard, so that the RF path impedance meets the standard as soon as possible and the debugging efficiency is improved.
[0063] In one embodiment, before obtaining the transmission signal strength and the reflection signal strength of the target radio frequency path, the method further includes:
[0064] Determine a target radio frequency link to which the target radio frequency path belongs, and determine a target operating frequency of the target radio frequency link;
[0065] If the target radio frequency link is a TX radio frequency link, controlling a transmitting port of a radio frequency transceiver in the target radio frequency link to transmit a radio frequency signal having a frequency that is a target operating frequency;
[0066] If the target radio frequency link is an RX radio frequency link, a receiving port of a radio frequency transceiver in the target radio frequency link is controlled to transmit a radio frequency signal having a frequency that is a target operating frequency.
[0067] Specifically, the target operating frequency is the frequency used by the radio frequency signal transmitted on the target radio frequency link during the transmission process.
[0068] In some examples, the target operating frequency is a specific frequency. In this case, "transmitting a radio frequency signal having a frequency of the target operating frequency" means that the frequency of the transmitted radio frequency signal is the target operating frequency.
[0069] In other examples, the target operating frequency is a frequency range. In this case, "transmitting a radio frequency signal having a target operating frequency" means that the frequency of the transmitted radio frequency signal is within the frequency range corresponding to the target operating frequency.
[0070] In the above scheme, by setting the target RF link transmission frequency of the target RF path to which the target RF path belongs to be the RF signal of the target operating frequency, and then obtaining the transmission signal strength and reflected signal strength of the target RF path, accurate impedance debugging can be performed at the actual operating frequency, thereby ensuring that the target RF path has the best performance within the expected operating frequency range.
[0071] The following is a detailed description of the method for debugging the impedance of the RF path provided by the embodiment of the present disclosure with reference to a specific example. Figure 3As shown, the RF circuit includes an RF transceiver 110, an RF power amplifier 120, a duplexer 130, an RF switch 140, a coupler 150, a TX filter 160, an RX filter 170, and an antenna. Among them, the duplexer 130 is used for transmitting and receiving filtering in the FDD frequency band, the RF switch 140 is used for switching the RF link, the coupler 150 is used to check the transmission power, the TX filter 160 is used for transmitting and receiving channel filtering in the TDD frequency band, the RX filter 170 is used for receiving channel filtering, and the antenna includes a main antenna 181 and a diversity antenna 182, which are used to transmit and receive RF signals. The RF transceiver 110 integrates a first processor 210, and the first processor 210 is used to obtain the ratio of the transmission signal strength and the reflection signal strength in the RF path belonging to the RX RF link, and the RF power amplifier 120 integrates a second processor 220, and the second processor 220 is used to obtain the ratio of the transmission signal strength and the reflection signal strength in the RF path belonging to the TX RF link. The third processor 230 (such as a CPU, etc.) is used to determine whether the difference between the "ratio of the transmission signal strength and the reflected signal strength" and the preset reference value is less than a preset threshold value, thereby confirming whether the impedance of the RF link meets the standard. The judgment result of whether the impedance of the RF link meets the standard can be reflected by a display device (such as a screen, etc.), or transmitted to the PC through a transmission interface such as a USB for display. For example, when it is necessary to debug the impedance of the TX RF link, the TX port transmits a RF signal of the target operating frequency of the TX RF link, the second processor 220 obtains the ratio of the transmission signal strength and the reflected signal strength, and transmits the ratio to the third processor 230, compares it with the preset reference value, and confirms whether the impedance of the TX RF link meets the standard. Similarly, when confirming the impedance of the RX RF link, the RX port (such as a PRX1 port, a PRX2 port, a DRX1 port, or a DRX2 port) can also transmit a RF signal of the target operating frequency of the RX RF link, the first processor 210 obtains the ratio of the transmission signal strength and the reflected signal strength, and transmits the ratio to the third processor 230, compares it with the preset reference value, and confirms whether the impedance of the RX RF link meets the standard.
[0072] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0073] In one embodiment, Figure 4 As shown, a device for debugging radio frequency path impedance is provided, comprising:
[0074] A first acquisition module 410 is used to acquire the transmission signal strength and the reflection signal strength of the target radio frequency path;
[0075] A first detection module 420, configured to detect whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength;
[0076] The first updating module 430 is used to update the device parameters of the devices on the target RF path if the impedance of the target RF path does not meet the standard, and return to the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path until the impedance of the target RF path meets the standard.
[0077] Optionally, the first detection module 420 is specifically configured to calculate a ratio of the transmitted signal strength to the reflected signal strength;
[0078] If the difference between the ratio and the preset reference value is less than or equal to the preset threshold, it is determined that the impedance of the target RF path meets the standard; otherwise, it is determined that the impedance of the target RF path does not meet the standard.
[0079] Optionally, the device further comprises: a first determination module, configured to determine recommended device parameters of devices on the target RF path if the impedance of the target RF path does not meet the standard;
[0080] The first update module 430 includes a first update submodule, which is used to update device parameters of devices on the target RF path. The first update submodule is specifically used to update current device parameters of devices on the target RF path to recommended device parameters.
[0081] Optionally, the first determination module includes a first determination sub-module, which is used to determine the recommended device parameters of the device on the target RF path. The first determination sub-module is specifically used to determine the recommended device parameters based on the ratio of the transmitted signal strength to the reflected signal strength, a preset reference value, a preset threshold, the matching network type of the target RF path and the current device parameters.
[0082] Optionally, the device further includes: a second determination module, configured to determine a target radio frequency link to which the target radio frequency path belongs, and determine a target operating frequency of the target radio frequency link before acquiring the transmission signal strength and the reflection signal strength of the target radio frequency path;
[0083] A first control module is used for controlling a transmitting port of a radio frequency transceiver in the target radio frequency link to transmit a radio frequency signal having a target operating frequency if the target radio frequency link is a TX radio frequency link;
[0084] The second control module is used to control the receiving port of the RF transceiver in the target RF link to transmit a RF signal with a target operating frequency if the target RF link is an RX RF link.
[0085] Optionally, the target RF path is a TX RF link, a portion of a TX RF link, a RX RF link, or a portion of a RX RF link.
[0086] In the above-mentioned debugging device for the impedance of the RF path, it is possible to automatically detect whether the impedance of the target RF path meets the standard according to the strength of the transmitted signal and the strength of the reflected signal, so that the debugging personnel can timely update the device parameters of the devices on the target RF path when the impedance of the target RF path does not meet the standard until the impedance of the target RF path meets the standard. In this way, there is no need for the debugging personnel to manually detect whether the impedance of the target RF path meets the standard through cumbersome passive debugging and active debugging, and there is no need for the debugging personnel to manually and subjectively judge whether the impedance of the target RF path meets the standard during the passive debugging process. In this way, fewer steps are required for manual operation, and the judgment of whether the impedance of the target RF path meets the standard is simpler and more accurate, thereby making the debugging operation of the RF path impedance simpler and with lower labor costs.
[0087] The specific definition of the debugging device for the RF path impedance can be found in the definition of the debugging method for the RF path impedance in the above text, which will not be repeated here. Each module in the above-mentioned debugging device for the RF path impedance can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0088] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for debugging the impedance of a radio frequency path is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the housing of the electronic device, or an external keyboard, touch pad or mouse, etc.
[0089] Those skilled in the art will understand that Figure 5 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0090] In one embodiment, the RF path impedance debugging device provided by the present application can be implemented in the form of a computer program. The computer program can be used in Figure 5 The memory of the electronic device may store various program modules constituting the debugging device of the RF path impedance, for example, Figure 4 The first acquisition module 410, the first detection module 420, and the first update module 430 are shown. The computer program composed of various program modules enables the processor to execute the steps of the method for debugging the impedance of the radio frequency path of each embodiment of the present application described in this specification.
[0091] For example, Figure 5 The electronic device shown can be Figure 4 The first acquisition module 410 in the device shown obtains the transmission signal strength and the reflection signal strength of the target RF path; the electronic device can use the first detection module 420 to detect whether the impedance of the target RF path meets the standard based on the transmission signal strength and the reflection signal strength; the electronic device can use the first update module 430 to update the device parameters of the devices on the target RF path if the impedance of the target RF path does not meet the standard, and return to the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path until the impedance of the target RF path meets the standard.
[0092] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program: obtaining a transmission signal strength and a reflection signal strength of a target radio frequency path;
[0093] According to the strength of the transmitted signal and the strength of the reflected signal, detect whether the impedance of the target RF path meets the standard;
[0094] If the impedance of the target RF path does not meet the standard, the device parameters of the device on the target RF path are updated, and the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path is returned until the impedance of the target RF path meets the standard.
[0095] In one embodiment, when the processor executes the computer program, the following steps are further implemented: detecting whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength, including:
[0096] Calculate the ratio of the transmitted signal strength to the reflected signal strength;
[0097] If the difference between the ratio and the preset reference value is less than or equal to the preset threshold, it is determined that the impedance of the target RF path meets the standard; otherwise, it is determined that the impedance of the target RF path does not meet the standard.
[0098] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the impedance of the target RF path does not meet the standard, determining the recommended device parameters of the device on the target RF path;
[0099] Wherein, updating the device parameters of the device on the target radio frequency path includes: updating the current device parameters of the device on the target radio frequency path to recommended device parameters.
[0100] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining recommended device parameters of the device on the target radio frequency path, including:
[0101] Recommended device parameters are determined based on a ratio of the transmitted signal strength to the reflected signal strength, a preset reference value, a preset threshold, a matching network type of a target RF path, and current device parameters.
[0102] In one embodiment, when the processor executes the computer program, the following steps are further implemented: before obtaining the transmission signal strength and the reflection signal strength of the target radio frequency path, the following steps are also included:
[0103] Determine a target radio frequency link to which the target radio frequency path belongs, and determine a target operating frequency of the target radio frequency link;
[0104] If the target radio frequency link is a TX radio frequency link, controlling a transmitting port of a radio frequency transceiver in the target radio frequency link to transmit a radio frequency signal having a frequency that is a target operating frequency;
[0105] If the target radio frequency link is an RX radio frequency link, a receiving port of a radio frequency transceiver in the target radio frequency link is controlled to transmit a radio frequency signal having a frequency that is a target operating frequency.
[0106] In one embodiment, the target RF path is a TX RF link, a portion of a TX RF link, a RX RF link, or a portion of a RX RF link.
[0107] In one embodiment, the processor includes: a first processor, the first processor being disposed on the RF transceiver, and configured to obtain a transmission signal strength and a reflection signal strength of the target RF path when the target RF path belongs to at least a portion of the RX RF link, and to calculate a ratio of the transmission signal strength to the reflection signal strength;
[0108] A second processor, which is disposed on the RF power amplifier and is used to obtain a transmission signal strength and a reflection signal strength of the target RF path when the target RF path belongs to at least a part of the TX RF link, and calculate a ratio of the transmission signal strength to the reflection signal strength;
[0109] The third processor is used to determine that the impedance of the target radio frequency path meets the standard if the difference between the ratio and the preset reference value is less than or equal to the preset threshold, otherwise determine that the impedance of the target radio frequency path does not meet the standard.
[0110] In the above electronic device, it is possible to automatically detect whether the impedance of the target RF path meets the standard according to the strength of the transmitted signal and the strength of the reflected signal, so that the debugging personnel can timely update the device parameters of the devices on the target RF path when the impedance of the target RF path does not meet the standard until the impedance of the target RF path meets the standard. In this way, there is no need for the debugging personnel to manually detect whether the impedance of the target RF path meets the standard through cumbersome passive debugging and active debugging, and there is no need for the debugging personnel to manually and subjectively judge whether the impedance of the target RF path meets the standard during the passive debugging process. In this way, fewer steps are required for manual operation, and the judgment of whether the impedance of the target RF path meets the standard is simpler and more accurate, thereby making the debugging operation of the RF path impedance simpler and lowering the labor cost.
[0111] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: obtaining a transmission signal strength and a reflection signal strength of a target radio frequency path;
[0112] According to the strength of the transmitted signal and the strength of the reflected signal, detect whether the impedance of the target RF path meets the standard;
[0113] If the impedance of the target RF path does not meet the standard, the device parameters of the device on the target RF path are updated, and the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path is returned until the impedance of the target RF path meets the standard.
[0114] In one embodiment, when the processor executes the computer program, the following steps are further implemented: detecting whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength, including:
[0115] Calculate the ratio of the transmitted signal strength to the reflected signal strength;
[0116] If the difference between the ratio and the preset reference value is less than or equal to the preset threshold, it is determined that the impedance of the target RF path meets the standard; otherwise, it is determined that the impedance of the target RF path does not meet the standard.
[0117] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the impedance of the target RF path does not meet the standard, determining the recommended device parameters of the device on the target RF path;
[0118] Wherein, updating the device parameters of the device on the target radio frequency path includes: updating the current device parameters of the device on the target radio frequency path to recommended device parameters.
[0119] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining recommended device parameters of the device on the target radio frequency path, including:
[0120] Recommended device parameters are determined based on a ratio of the transmitted signal strength to the reflected signal strength, a preset reference value, a preset threshold, a matching network type of a target RF path, and current device parameters.
[0121] In one embodiment, when the processor executes the computer program, the following steps are further implemented: before obtaining the transmission signal strength and the reflection signal strength of the target radio frequency path, the following steps are also included:
[0122] Determine a target radio frequency link to which the target radio frequency path belongs, and determine a target operating frequency of the target radio frequency link;
[0123] If the target radio frequency link is a TX radio frequency link, controlling a transmitting port of a radio frequency transceiver in the target radio frequency link to transmit a radio frequency signal having a frequency that is a target operating frequency;
[0124] If the target radio frequency link is an RX radio frequency link, a receiving port of a radio frequency transceiver in the target radio frequency link is controlled to transmit a radio frequency signal having a frequency that is a target operating frequency.
[0125] In one embodiment, the target RF path is a TX RF link, a portion of a TX RF link, a RX RF link, or a portion of a RX RF link.
[0126] In the above-mentioned storable medium, it is possible to automatically detect whether the impedance of the target RF path meets the standard according to the transmission signal strength and the reflection signal strength, so that the debugging personnel can timely update the device parameters of the devices on the target RF path when the impedance of the target RF path does not meet the standard until the impedance of the target RF path meets the standard. In this way, there is no need for the debugging personnel to manually detect whether the impedance of the target RF path meets the standard through cumbersome passive debugging and active debugging, and there is no need for the debugging personnel to manually and subjectively judge whether the impedance of the target RF path meets the standard during the passive debugging process. In this way, fewer steps are required for manual operation, and the judgment of whether the impedance of the target RF path meets the standard is simpler and more accurate, thereby making the debugging operation of the RF path impedance simpler and lowering the labor cost.
[0127] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0129] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for debugging radio frequency path impedance, characterized in that: The method comprises: Obtain the transmission signal strength and reflection signal strength of the target radio frequency path; Detecting whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength; If the impedance of the target RF path does not meet the standard, update the device parameters of the devices on the target RF path, and return to the step of obtaining the transmitted signal strength and the reflected signal strength of the target RF path until the impedance of the target RF path meets the standard.
2. The method according to claim 1, characterized in that The detecting, according to the transmitted signal strength and the reflected signal strength, whether the impedance of the target radio frequency path meets the standard comprises: Calculating the ratio of the transmitted signal strength to the reflected signal strength; If the difference between the ratio and the preset reference value is less than or equal to a preset threshold, it is determined that the impedance of the target RF path meets the standard; otherwise, it is determined that the impedance of the target RF path does not meet the standard.
3. The method according to claim 1, characterized in that Also includes: If the impedance of the target RF path does not meet the standard, determining recommended device parameters of the device on the target RF path; Wherein, updating the device parameters of the device on the target radio frequency path includes: updating the current device parameters of the device on the target radio frequency path to the recommended device parameters.
4. The method according to claim 3, characterized in that The determining of the recommended device parameters of the device on the target radio frequency path includes: The recommended device parameters are determined according to a ratio of the transmitted signal strength to the reflected signal strength, a preset reference value, a preset threshold, a matching network type of the target radio frequency path, and the current device parameters.
5. The method according to claim 1, characterized in that: Before obtaining the transmission signal strength and the reflection signal strength of the target radio frequency path, the method further includes: Determine a target radio frequency link to which the target radio frequency path belongs, and determine a target operating frequency of the target radio frequency link; If the target radio frequency link is a TX radio frequency link, controlling a transmitting port of a radio frequency transceiver in the target radio frequency link to transmit a radio frequency signal having a frequency that is the target operating frequency; If the target radio frequency link is an RX radio frequency link, a receiving port of a radio frequency transceiver in the target radio frequency link is controlled to transmit a radio frequency signal having a frequency that is the target operating frequency.
6. The method according to any one of claims 1 to 5, characterized in that: The target RF path is a TX RF link, a portion of a TX RF link, an RX RF link, or a portion of an RX RF link.
7. A device for debugging radio frequency path impedance, characterized in that: The device comprises: A first acquisition module, used to acquire the transmission signal strength and the reflection signal strength of the target radio frequency path; A first detection module, used to detect whether the impedance of the target radio frequency path meets the standard according to the transmission signal strength and the reflection signal strength; The first updating module is used to update the device parameters of the devices on the target RF path if the impedance of the target RF path does not meet the standard, and return to the step of obtaining the transmission signal strength and the reflection signal strength of the target RF path until the impedance of the target RF path meets the standard.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. The method according to claim 8, characterized in that The processor comprises: a first processor, the first processor being arranged on the RF transceiver, and configured to obtain, when the target RF path belongs to at least a part of the RX RF link, a transmission signal strength and a reflection signal strength of the target RF path, and calculate a ratio of the transmission signal strength to the reflection signal strength; a second processor, the second processor being arranged on the RF power amplifier, and being used for obtaining, when the target RF path belongs to at least a part of the TX RF link, a transmission signal strength and a reflection signal strength of the target RF path, and calculating a ratio of the transmission signal strength to the reflection signal strength; The third processor is used to determine that the impedance of the target RF path meets the standard if the difference between the ratio and the preset reference value is less than or equal to a preset threshold, otherwise determine that the impedance of the target RF path does not meet the standard.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.