CN108964816B - Radio frequency circuit debugging method and related device - Google Patents

Radio frequency circuit debugging method and related device Download PDF

Info

Publication number
CN108964816B
CN108964816B CN201810790600.0A CN201810790600A CN108964816B CN 108964816 B CN108964816 B CN 108964816B CN 201810790600 A CN201810790600 A CN 201810790600A CN 108964816 B CN108964816 B CN 108964816B
Authority
CN
China
Prior art keywords
filter
radio frequency
port
circuit
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810790600.0A
Other languages
Chinese (zh)
Other versions
CN108964816A (en
Inventor
徐庆山
熊良鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zeku Technology Beijing Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810790600.0A priority Critical patent/CN108964816B/en
Publication of CN108964816A publication Critical patent/CN108964816A/en
Application granted granted Critical
Publication of CN108964816B publication Critical patent/CN108964816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/391Modelling the propagation channel
    • H04B17/3912Simulation models, e.g. distribution of spectral power density or received signal strength indicator [RSSI] for a given geographic region

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The application discloses a radio frequency circuit debugging method and related equipment, the method is used for debugging a radio frequency circuit, the radio frequency circuit comprises a radio frequency transceiver, a PA, a first LNA, a change-over switch, a first filter, a coupler, a switch module and a first antenna, the radio frequency transceiver transmits radio frequency signals through the PA, the change-over switch, the first filter, the coupler, the switch module and the first antenna in sequence, the radio frequency transceiver receives the radio frequency signals through the first antenna, the switch module, the coupler, the first filter, the change-over switch and the first LNA in sequence, and the method comprises the following steps: assuming circuit parameters of the first filter, a matching circuit between the switch and the first filter is simulated by the circuit parameters and simulation software. By adopting the embodiment of the application, the simulation efficiency can be improved.

Description

Radio frequency circuit debugging method and related device
Technical Field
The present application relates to the field of simulation technologies, and in particular, to a method for debugging a radio frequency circuit and a related device.
Background
Radio frequency circuits often need to be debugged before being applied to mobile terminals (such as smart phones). In the debugging process, the radio frequency performance of the supported frequency band is often required to be optimized by optimizing the matching of some devices. In the conventional method, after a Printed Circuit Board (PCB) is returned, a vector network analyzer is used to analyze scattering parameters of a channel, so as to select a suitable radio frequency matching to achieve the best performance. At present, dozens of matching forms can be replaced in the debugging process to carry out debugging back and forth, and the debugging mode is complex and consumes long time.
Disclosure of Invention
The embodiment of the application provides a radio frequency circuit debugging method and related equipment, which are used for improving simulation efficiency.
In a first aspect, an embodiment of the present application provides a method for debugging a radio frequency circuit, where the radio frequency circuit includes a radio frequency transceiver, a PA, a first LNA, a switch, a first filter, a coupler, a switch module, and a first antenna, the radio frequency transceiver transmits a radio frequency signal through the PA, the switch, the first filter, the coupler, the switch module, and the first antenna in sequence, and the radio frequency transceiver receives a radio frequency signal through the first antenna, the switch module, the coupler, the first filter, the switch, and the first LNA in sequence, and the method includes:
assuming circuit parameters of the first filter;
simulating by simulation software and the circuit parameters to obtain target scattering parameters of the first filter close to the change-over switch end;
and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the selector switch and the first filter.
In a second aspect, an embodiment of the present application provides a radio frequency circuit debugging apparatus, where the method is used to debug a radio frequency circuit, where the radio frequency circuit includes a radio frequency transceiver, a PA, a first LNA, a switch, a first filter, a coupler, a switch module, and a first antenna, the radio frequency transceiver transmits radio frequency signals through the PA, the switch, the first filter, the coupler, the switch module, and the first antenna in sequence, and the radio frequency transceiver receives radio frequency signals through the first antenna, the switch module, the coupler, the first filter, the switch, and the first LNA in sequence, and the radio frequency circuit debugging apparatus includes:
a parameter assumption unit for assuming circuit parameters of the first filter;
the simulation unit is used for carrying out simulation through simulation software and the circuit parameters to obtain target scattering parameters of the first filter, which are close to the selector switch end; and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the selector switch and the first filter.
In a third aspect, an embodiment of the present application provides a radio frequency circuit debugging apparatus, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in the method according to the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that in the embodiment of the present application, the circuit parameter of the first filter is assumed, and then the matching circuit between the switch and the first filter is simulated by the circuit parameter and the simulation software. Therefore, the debugging method provided by the embodiment of the application is flexible to operate, the matching of the public end of the change-over switch can be accurately simulated only by reasonable modeling, and the simulation efficiency is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a radio frequency circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for debugging a radio frequency circuit according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a first two-port network model according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a second two-port network model provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of another radio frequency circuit debugging method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a radio frequency circuit debugging apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another radio frequency circuit debugging apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a radio frequency circuit according to an embodiment of the present disclosure. As shown in fig. 1, the rf circuit includes an rf transceiver, a Power Amplifier (PA), a first Low Noise Amplifier (LNA), a switch, a first filter, a coupler, a switch module, a first antenna, a second LNA, a second filter, a second antenna, a third LNA, a third filter, a third antenna, a fourth LNA, a fourth filter, and a fourth antenna.
The change-over switch is a double Throw switch, the switch module is a 4P4T switch module, the 4P4T switch module comprises 4P ports and 4T ports, the P ports are all called ports (polarization) ports in English, the P ports are called ports connected with an antenna, the T ports are all called Throw in English, and the T ports are called ports connected with a radio frequency circuit.
Radio frequency transceiver and first LNA, the PA, the second LNA, third LNA and third LNA are connected, first LNA and PA are connected with change over switch, change over switch is connected with first wave filter, first wave filter is connected with the coupler, the second wave filter, third wave filter and fourth wave filter are connected with the switch module, the switch module is connected with first antenna, the second antenna, third antenna and fourth antenna, the second LNA is connected with the second wave filter, the third LNA is connected with the third wave filter, the fourth LNA is connected with the fourth wave filter.
The radio frequency signal sent by the radio frequency transceiver passes through the PA, the change-over switch, the first filter, the coupler and the switch module respectively and is finally transmitted out through the first antenna. The first antenna receives radio frequency signals, then the radio frequency signals respectively pass through the switch module, the coupler, the first filter, the change-over switch and the first LNA, and finally reach the radio frequency transceiver. The second antenna receives the radio frequency signal, then passes through the second filter and the second LNA respectively, and finally reaches the radio frequency transceiver. The third antenna receives the radio frequency signal, then passes through the third filter and the third LNA respectively, and finally reaches the radio frequency transceiver. The fourth antenna receives the radio frequency signal, then passes through the fourth filter and the fourth LNA respectively, and finally reaches the radio frequency transceiver.
The radio frequency signal may be a radio frequency signal in a 5G frequency band. The radio frequency signal may be a radio frequency signal of an LTE Band, such as TDD-LTE Band38, Band39, Band40, and Band41, FDD-LTE Band1, Band3, and Band 7. The radio frequency signal may be a radio frequency signal of a 3G Band, for example, Time Division-Synchronous Code Division Multiple Access (TD-SCDMA) Band34 and Band39, Wideband Code Division Multiple Access (WCDMA) Band1, Band2, Band5, and Band 8. The radio frequency signal may be a radio frequency signal in a 2G Band, and the 2G Band includes, for example, Global System for Mobile Communication (GSM) Band2, Band3, Band5, and Band 8.
The radio frequency transceiver is a device capable of receiving and transmitting radio frequency signals.
Among them, the PA is an important component of a radio frequency signal transmitter. The power amplifier is used for amplifying the power of the radio frequency signal sent by the radio frequency signal transmitter and ensuring that the radio frequency signal can be fed to an antenna for transmission.
The coupler is a power divider, which is a device for dividing one input signal into multiple outputs in proportion.
The LNA refers to an amplifier with a low noise figure, and is used to determine the overall performance of the receiver.
The following describes embodiments of the present application in detail.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for debugging a radio frequency circuit according to an embodiment of the present application, where the method is used to debug the radio frequency circuit, and the method for debugging a radio frequency circuit includes:
step 201: the radio frequency circuit debugging means assumes circuit parameters of said first filter.
The radio frequency circuit is applied to a Mobile terminal, and the Mobile terminal may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), a Mobile Station (MS), a terminal device (terminal device), and the like, which have a wireless communication function. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal.
Wherein the circuit parameters include an S2P parameter, and the S2P parameter includes at least one of: s parameter, Z parameter, Y parameter and H parameter.
Wherein, the S-parameters are scattering parameters, the S-parameters are used to evaluate the amplitude and phase information of the reflected signal and the transmitted signal, and the S-parameters mainly include S11, S12, S21 and S22. Wherein, S12 is used to represent the inverse isolation in transmission and is used to describe the effect of the signal at the output of the device on the input. S21 is used to indicate gain in transmission, which is an increase in load power due to the insertion of an element or device, or insertion loss, which is a loss in load power due to the insertion of an element or device. S11 is used to indicate the return loss of the input end, and can be described as the ratio of the incident power to the reflected power of the rf signal at the input end. S22 is used to indicate the return loss of the output end, and can be described as the ratio of the incident power to the reflected power of the rf signal at the output end.
The Z parameter is an impedance parameter, and is used to represent the impedance in the two-port network, and the impedance parameter is related to the structure and parameter values of the two-port network and is unrelated to the external network. The impedance parameters mainly comprise Z11, Z21, Z12 and Z22. Where Z11 denotes the input impedance when the output port is open, Z12 denotes the transfer impedance when the input port is open, Z21 denotes the transfer impedance when the output port is open, and Z22 denotes the output impedance when the input port is open.
The Y parameter is an admittance parameter, and is used to indicate an admittance value when a port in the two-port network is short-circuited. The impedance parameters mainly comprise Y11, Y12, Y21 and Y22. Where Y11 denotes an input admittance when the output port is short-circuited, Y12 denotes a transfer admittance when the input port is short-circuited, Y21 denotes a transfer admittance when the input port is short-circuited, and Y22 denotes an output admittance when the input port is short-circuited.
The H parameter is a hybrid parameter, and is used to represent a parameter related to the current and voltage of the two-port network when the port in the port network is short-circuited. The mixing parameters mainly comprise H11, H12, H21 and H22. Where H11 denotes an input impedance when the output port is short-circuited, H12 denotes a reverse transfer voltage ratio when the input port is open-circuited, H21 denotes a forward transfer current ratio when the output port is short-circuited, and H22 denotes an output admittance when the input port is open-circuited.
Step 202: and the radio frequency circuit debugging device simulates the circuit parameters through simulation software to obtain the target scattering parameters of the first filter close to the change-over switch end.
Specifically, the radio frequency circuit debugging device firstly establishes a simulation circuit through simulation software, then introduces assumed circuit parameters into the simulation circuit, and finally simulates the end, close to the switch, of the first filter through the simulation circuit, so that target scattering parameters, close to the switch, of the first filter can be obtained.
The simulation software is, for example, Advanced Design System (ADS) simulation software. The target scattering parameter is, for example, S11.
Step 203: and the radio frequency circuit debugging device simulates through the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the selector switch and the first filter.
Specifically, the radio frequency circuit debugging apparatus first establishes a simulation circuit through simulation software, and then simulates the matching circuit between the switch and the first filter through the simulation circuit and the target scattering parameter obtained through simulation in step 202, so as to obtain the matching parameter of the matching circuit.
It can be seen that in the embodiment of the present application, the circuit parameter of the first filter is assumed, and then the matching circuit between the switch and the first filter is simulated by the circuit parameter and the simulation software. Therefore, the debugging method provided by the embodiment of the application is flexible to operate, the matching of the public end of the change-over switch can be accurately simulated only by reasonable modeling, and the simulation efficiency is improved.
In an implementation manner of the present application, the specific implementation manner of step 202 is as follows:
the radio frequency circuit debugging device establishes a first two-port network model through simulation software, wherein a first port of the first two-port network model is used as a terminal, close to the switch, of the first filter, and a second port of the first two-port network model is used as a terminal, far from the switch, of the first filter; and the radio frequency circuit debugging device leads the circuit parameters into the first two-port network model, and simulates the output end of the first filter to obtain the target scattering parameters of the first filter, which are close to the switch end.
The two-port network model refers to a multi-port network with the port number equal to 2, wherein one port of the two-port network is an input port and used for receiving signals or energy, and the other port of the two-port network is an output port and used for outputting signals or energy.
Specifically, the first two-port network model is shown in fig. 3, and the two-port network model includes a first port, a second port, and a first filter model, where the first port and the second port are both provided with a resistor, and impedance values of the resistors at the first port and the second port are both equal to 50 ohms. The circuit parameter is led into the first two-port network model, namely the circuit parameter is taken as the circuit parameter of the first filter model. It can be seen that, in the first two-port network model, when the circuit parameters of the device model are known and the impedance values of the two ports are also known, S11 of the first port of the first two-port network model can be directly simulated through simulation software, that is, S11 of the first filter close to the switch terminal is obtained through simulation.
It should be noted that the first two-port network model is not limited to the structure shown in fig. 3, and the structure shown in fig. 3 is only one example provided in this application.
In an implementation manner of the present application, the specific implementation manner of step 203 includes:
the radio frequency circuit debugging device establishes a second port network model through the simulation software, a third port of the second port network model is sequentially connected with a selector switch model, a matching circuit model and a fourth port of the second port network model, and the impedance value of the fourth port is associated with the target scattering parameter; and the radio frequency circuit debugging device simulates the matching circuit model to realize impedance matching and obtain a first matching parameter of the matching circuit between the selector switch and the first filter.
Further, the impedance value of the fourth port refers to the impedance value of the resistor at the fourth port, which is equal to a solution of the conjugate of the scattering parameter of the target.
Further, before establishing the second port network model, the radio frequency circuit debugging device assumes the circuit parameters of the switch.
Further, the matching circuit comprises an electronic device to be matched, and the electronic device to be matched comprises one of the following components: capacitance, inductance, resistance.
Further, the matching circuit is a "pi" type matching circuit.
Furthermore, the electronic device to be matched comprises a first capacitor, a first inductor and a second capacitor, one end of the first capacitor is connected with one end of the first inductor, one end of the second capacitor is connected with the other end of the first inductor, and the other end of the first capacitor and the other end of the second capacitor are both grounded.
Wherein the matching parameters of the matching circuit comprise the values of the electronic devices to be matched. For example, the electronic device to be matched includes a first capacitor, a first inductor and a second capacitor, and the matching parameters of the matching circuit include a capacitance value of the first capacitor, an inductance value of the first inductor and a capacitance value of the second capacitor.
Specifically, as shown in fig. 4, the second two-port network model includes a resistor at each of the third port and the fourth port, the impedance value of the resistor at the third port is equal to 50 ohms, and the impedance value of the resistor at the fourth port is equal to a solution of a conjugate of the target scattering parameter. The assumed circuit parameters of the diverter switch are used as the circuit parameters of the diverter switch model. It can be seen that, in the second two-port network model, when the circuit parameters of the switch model are known and the impedance values of the two ports are also known, the values of the matching network model are adjusted so that S11, S21 and S22 of the second two-port network are optimized, that is, S11 is the most convergent, S21 has the least differential loss, and S22 is the closest to 50 ohms, so that the first matching parameters of the matching circuit between the switch and the first filter can be simulated.
It should be noted that the first two-port network model is not limited to the structure shown in fig. 4, and the structure shown in fig. 4 is only one example provided in this application.
In an implementation manner of the present application, after step 203, the method further includes:
welding the matching circuit with the first matching parameters to the PCB by the radio frequency circuit debugging device for actual test to obtain a test result; and the radio frequency circuit debugging device carries out fine adjustment on the basis of the first matching parameters according to the test result to obtain second matching parameters of the matching circuit model.
Specifically, the test step tests scattering parameters such as S11, S12, S21, and S22 for the switch to the first filter, and the test results obtained by the test step include values for S11, S12, S21, and S22 for the switch to the first filter.
Therefore, in the embodiment of the application, after the matching parameters of the matching circuit are simulated through the simulation software, the matching circuit with the matching parameters is welded on the PCB for actual test to obtain a test result, and then fine tuning is performed based on the test result, so that more accurate matching parameters can be obtained, and the simulation accuracy is further improved.
It should be noted that the radio frequency circuit debugging apparatus is a computer device installed with simulation software, and the computer device may be, for example, a computer, a notebook, a tablet computer, an industrial computer, a mobile terminal, and the like.
The embodiment of the present application further provides another more detailed method flow, as shown in fig. 5, where the method is used for debugging the radio frequency circuit, and the method for debugging the radio frequency circuit includes:
step 501: the radio frequency circuit debugging means assumes circuit parameters of said first filter.
Step 502: the radio frequency circuit debugging device establishes a first two-port network model through simulation software, a first port of the first two-port network model is used as a terminal, close to the switch, of the first filter, and a second port of the first two-port network model is used as a terminal, far from the switch, of the first filter.
Step 503: and the radio frequency circuit debugging device leads the circuit parameters into the first two-port network model.
Step 504: and the radio frequency circuit debugging device simulates the output end of the first filter to obtain the target scattering parameters of the first filter close to the change-over switch end.
Step 505: the radio frequency circuit debugging device establishes a second port network model through the simulation software, a third port of the second port network model is sequentially connected with a selector switch model, a matching circuit model and a fourth port of the second port network model, and an impedance value of the fourth port is associated with the target scattering parameter.
Step 506: and the radio frequency circuit debugging device simulates the matching circuit model to realize impedance matching and obtain a first matching parameter of the matching circuit between the selector switch and the first filter.
Step 507: and the radio frequency circuit debugging device welds the matching circuit with the first matching parameters onto the PCB for actual test to obtain a test result.
Step 508: and the radio frequency circuit debugging device carries out fine adjustment on the basis of the first matching parameters according to the test result to obtain second matching parameters of the matching circuit model.
It should be noted that, for the specific implementation of the steps of the method shown in fig. 5, reference may be made to the specific implementation of the method, and a description thereof is omitted here.
Referring to fig. 6, in accordance with the embodiments shown in fig. 2 and fig. 5, fig. 6 is a schematic structural diagram of a radio frequency circuit debugging apparatus provided in an embodiment of the present application, where the radio frequency circuit debugging apparatus is used for debugging the radio frequency circuit, and as shown in the figure, the radio frequency circuit debugging apparatus includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
assuming circuit parameters of the first filter;
simulating by simulation software and the circuit parameters to obtain target scattering parameters of the first filter close to the change-over switch end;
and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the selector switch and the first filter.
In an implementation manner of the present application, in terms of obtaining the target scattering parameter of the first filter near the switch end through simulation by using simulation software and the circuit parameter, the program is specifically configured to execute instructions of:
establishing a first two-port network model through simulation software, wherein a first port of the first two-port network model is used as a terminal, close to the switch, of the first filter, and a second port of the first two-port network model is used as a terminal, far from the switch, of the first filter;
and importing the circuit parameters into the first two-port network model, and simulating the output end of the first filter to obtain target scattering parameters of the first filter, which are close to the change-over switch end.
In an implementation manner of the present application, in terms of obtaining the first matching parameter of the matching circuit between the switch and the first filter through simulation performed by the simulation software and the target scattering parameter, the program is specifically configured to execute instructions of:
establishing a second port network model through the simulation software, wherein a third port of the second port network model is sequentially connected with a selector switch model, a matching circuit model and a fourth port of the second port network model, and an impedance value of the fourth port is associated with the target scattering parameter;
and simulating the matching circuit model to realize impedance matching, and obtaining a first matching parameter of the matching circuit between the selector switch and the first filter.
In an implementation manner of the present application, after the first matching parameter of the matching circuit between the switch and the first filter is obtained through simulation by the simulation software and the target scattering parameter, the program is further configured to execute instructions of:
welding the matching circuit with the first matching parameters to the PCB for actual testing to obtain a test result;
and carrying out fine adjustment on the basis of the first matching parameter according to the test result to obtain a second matching parameter of the matching circuit model.
In one implementation of the present application, the matching circuit includes an electronic device to be matched, and the electronic device to be matched includes one of the following: capacitance, inductance, resistance.
In one implementation of the present application, the matching circuit is a "pi" type matching circuit.
In an implementation manner of the present application, the electronic device to be matched includes a first capacitor, a first inductor and a second capacitor, one end of the first capacitor is connected to one end of the first inductor, one end of the second capacitor is connected to the other end of the first inductor, and the other end of the first capacitor and the other end of the second capacitor are all grounded.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It is understood that the radio frequency circuit debugging means comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the radio frequency circuit debugging apparatus may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The following is an embodiment of the apparatus of the present application, which is used to execute the method implemented by the embodiment of the method of the present application. Referring to fig. 7, fig. 7 is a radio frequency circuit debugging apparatus according to an embodiment of the present application, where the radio frequency circuit debugging apparatus is configured to debug the radio frequency circuit, and the radio frequency circuit debugging apparatus includes:
a parameter assumption unit 701 for assuming circuit parameters of the first filter;
a simulation unit 701, configured to perform simulation through simulation software and the circuit parameter to obtain a target scattering parameter of the first filter, where the target scattering parameter is close to the switch end; and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the selector switch and the first filter.
In an implementation manner of the present application, in terms of obtaining a target scattering parameter of the first filter near the switch end through simulation performed by simulation software and the circuit parameter, the simulation unit 702 is specifically configured to:
establishing a first two-port network model through simulation software, wherein a first port of the first two-port network model is used as a terminal, close to the switch, of the first filter, and a second port of the first two-port network model is used as a terminal, far from the switch, of the first filter;
and importing the circuit parameters into the first two-port network model, and simulating the output end of the first filter to obtain target scattering parameters of the first filter, which are close to the change-over switch end.
In an implementation manner of the present application, in terms of obtaining a first matching parameter of a matching circuit between the switch and the first filter through simulation performed by the simulation software and the target scattering parameter, the simulation unit 702 is specifically configured to:
establishing a second port network model through the simulation software, wherein a third port of the second port network model is sequentially connected with a selector switch model, a matching circuit model and a fourth port of the second port network model, and an impedance value of the fourth port is associated with the target scattering parameter;
and simulating the matching circuit model to realize impedance matching, and obtaining a first matching parameter of the matching circuit between the selector switch and the first filter.
In an implementation manner of the present application, after the simulation unit 702 performs simulation through the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the switch and the first filter, the radio frequency circuit debugging apparatus further includes a testing unit 703, where:
the test unit 703 is configured to solder the matching circuit with the first matching parameter onto the PCB for an actual test, so as to obtain a test result;
the simulation unit 702 is further configured to perform fine tuning on the basis of the first matching parameter according to the test result, so as to obtain a second matching parameter of the matching circuit model.
In one implementation of the present application, the matching circuit includes an electronic device to be matched, and the electronic device to be matched includes one of the following: capacitance, inductance, resistance.
In one implementation of the present application, the matching circuit is a "pi" type matching circuit.
In an implementation manner of the present application, the electronic device to be matched includes a first capacitor, a first inductor and a second capacitor, one end of the first capacitor is connected to one end of the first inductor, one end of the second capacitor is connected to the other end of the first inductor, and the other end of the first capacitor and the other end of the second capacitor are all grounded.
It should be noted that the parameter assumption unit 701, the simulation unit 702, and the test unit 703 may be implemented by a processor.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a radio frequency circuit debugging apparatus.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising radio frequency circuitry debugging means.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. A radio frequency circuit debugging method is used for debugging a radio frequency circuit, the radio frequency circuit comprises a radio frequency transceiver, a Power Amplifier (PA), a first Low Noise Amplifier (LNA), a selector switch, a first filter, a coupler, a switch module and a first antenna, the radio frequency transceiver transmits radio frequency signals through the PA, the selector switch, the first filter, the coupler, the switch module and the first antenna in sequence, and the radio frequency transceiver receives radio frequency signals through the first antenna, the switch module, the coupler, the first filter, the selector switch and the first LNA in sequence, and the method comprises the following steps:
assuming circuit parameters of the first filter;
simulating by simulation software and the circuit parameters to obtain target scattering parameters of the first filter close to the change-over switch end;
simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the switch and the first filter, including:
establishing a first two-port network model through simulation software, wherein a first port of the first two-port network model is used as a terminal, close to the switch, of the first filter, and a second port of the first two-port network model is used as a terminal, far from the switch, of the first filter;
importing the circuit parameters into the first two-port network model, and simulating the output end of the first filter to obtain target scattering parameters of the first filter, which are close to the change-over switch end;
establishing a second port network model through the simulation software, wherein a third port of the second port network model is sequentially connected with a selector switch model, a matching circuit model and a fourth port of the second port network model, the impedance value of the resistor at the third port is 50 ohms, the impedance value of the resistor at the fourth port is equal to a solution of the conjugate of the target scattering parameter,
when the circuit parameters of the switch model are known and the impedance values of the third port and the fourth port are known, the value of the matching network model is adjusted to ensure that the reverse isolation degree in transmission of the second two-port network is most convergent and the insertion loss in transmission is minimum, the insertion loss is the load power loss caused by the insertion of an element or a device, and the return loss at the output end of the second two-port network model is closest to 50 ohms, so that the first matching parameter of the matching circuit between the switch and the first filter is obtained.
2. The method of claim 1, wherein said simulating by said simulation software and said target scattering parameter to obtain a first matching parameter of a matching circuit between said switch and said first filter comprises:
the impedance value of the fourth port is associated with the target scattering parameter;
and simulating the matching circuit model to realize impedance matching, and obtaining a first matching parameter of the matching circuit between the selector switch and the first filter.
3. The method of claim 1 or 2, wherein after the first matching parameter of the matching circuit between the switch and the first filter is obtained by the simulation through the simulation software and the target scattering parameter, the method further comprises:
welding the matching circuit with the first matching parameters to a PCB for actual test to obtain a test result;
and carrying out fine adjustment on the basis of the first matching parameter according to the test result to obtain a second matching parameter of the matching circuit model.
4. The method of claim 3, wherein the matching circuit comprises an electronic device to be matched, the electronic device to be matched comprising one of: capacitance, inductance, resistance.
5. The method of claim 4, wherein the matching circuit is a "pi" type matching circuit.
6. The method according to claim 5, wherein the electronic device to be matched comprises a first capacitor, a first inductor and a second capacitor, one end of the first capacitor is connected with one end of the first inductor, one end of the second capacitor is connected with the other end of the first inductor, and the other end of the first capacitor and the other end of the second capacitor are both grounded.
7. A radio frequency circuit debugging device, characterized in that, radio frequency circuit debugging device is used for debugging radio frequency circuit, radio frequency circuit includes radio frequency transceiver, power amplifier PA, first low noise amplifier LNA, change over switch, first filter, coupler, switch module and first antenna, radio frequency transceiver loop through the PA, change over switch, first filter, coupler, switch module and first antenna transmission radio frequency signal, radio frequency transceiver loop through the first antenna, the switch module, the coupler, first filter, change over switch and first LNA receives radio frequency signal, radio frequency circuit debugging device includes:
a parameter assumption unit for assuming circuit parameters of the first filter;
the simulation unit is used for carrying out simulation through simulation software and the circuit parameters to obtain target scattering parameters of the first filter, which are close to the selector switch end; simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the switch and the first filter, including:
establishing a first two-port network model through simulation software, wherein a first port of the first two-port network model is used as a terminal, close to the switch, of the first filter, and a second port of the first two-port network model is used as a terminal, far from the switch, of the first filter;
importing the circuit parameters into the first two-port network model, and simulating the output end of the first filter to obtain target scattering parameters of the first filter, which are close to the change-over switch end;
establishing a second port network model through the simulation software, wherein a third port of the second port network model is sequentially connected with a selector switch model, a matching circuit model and a fourth port of the second port network model, the impedance value of the resistor at the third port is 50 ohms, the impedance value of the resistor at the fourth port is equal to a solution of the conjugate of the target scattering parameter,
when the circuit parameters of the switch model are known and the impedance values of the third port and the fourth port are known, the value of the matching network model is adjusted to ensure that the reverse isolation degree in transmission of the second two-port network is most convergent and the insertion loss in transmission is minimum, the insertion loss is the load power loss caused by the insertion of an element or a device, and the return loss at the output end of the second two-port network model is closest to 50 ohms, so that the first matching parameter of the matching circuit between the switch and the first filter is obtained.
8. A radio frequency circuit debugging apparatus comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN201810790600.0A 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related device Active CN108964816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810790600.0A CN108964816B (en) 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810790600.0A CN108964816B (en) 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related device

Publications (2)

Publication Number Publication Date
CN108964816A CN108964816A (en) 2018-12-07
CN108964816B true CN108964816B (en) 2021-03-12

Family

ID=64481715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810790600.0A Active CN108964816B (en) 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related device

Country Status (1)

Country Link
CN (1) CN108964816B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474731A (en) * 2018-12-22 2019-03-15 Oppo(重庆)智能科技有限公司 Radio frequency adjustment method and Related product
CN111245469B (en) * 2020-01-17 2022-01-11 Oppo广东移动通信有限公司 Radio frequency circuit and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100761A (en) * 2016-06-07 2016-11-09 上海传英信息技术有限公司 Radio circuit adjustment method
CN106209282A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Radio circuit and terminal
CN107992689A (en) * 2017-12-07 2018-05-04 上海斐讯数据通信技术有限公司 A kind of method and system of impedance matching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9203455B2 (en) * 2012-08-14 2015-12-01 Broadcom Corporation Full duplex system with self-interference cancellation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100761A (en) * 2016-06-07 2016-11-09 上海传英信息技术有限公司 Radio circuit adjustment method
CN106209282A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Radio circuit and terminal
CN107992689A (en) * 2017-12-07 2018-05-04 上海斐讯数据通信技术有限公司 A kind of method and system of impedance matching

Also Published As

Publication number Publication date
CN108964816A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108964695B (en) Radio frequency circuit debugging method and related device
CN108923867B (en) Radio frequency circuit debugging method and related device
CN108964798B (en) Radio frequency circuit debugging method and related device
CN108900260B (en) Radio frequency circuit debugging method and related device
CN108833031B (en) Radio frequency circuit debugging method and related product
CN108964696B (en) Radio frequency circuit debugging method and related product
CN108964801B (en) Radio frequency circuit debugging method and related device
CN108964816B (en) Radio frequency circuit debugging method and related device
CN108964793B (en) Radio frequency circuit debugging method and related device
CN109120353B (en) Radio frequency circuit simulation method, radio frequency circuit simulation device, and storage medium
CN106464389A (en) Antenna testing apparatus, system and method, and related device
CN106443220A (en) Method and system for measuring noise coefficient of detected device
CN109001540B (en) Dielectric constant acquisition method and related device
CN108923868B (en) Radio frequency circuit debugging method and related device
CN108923862B (en) Parameter extraction method and related device
CN109041094B (en) Radio frequency circuit debugging method and related device
CN109041096B (en) Radio frequency circuit simulation method and related device
CN108964805B (en) Sensitivity attenuation test method and related device
CN109041095B (en) Radio frequency circuit debugging method and related device
CN108964799B (en) Radio frequency circuit debugging method and related device
CN110176966B (en) Radio frequency circuit debugging method and device and computer readable storage medium
US9866335B2 (en) Testing circuit with directional coupler
CN107276693B (en) Method, equipment and system for testing radio frequency front end of terminal
CN109714810B (en) Mobile terminal power consumption control method and related product
CN106911401B (en) Short wave antenna tuner insertion loss test method and clamp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220120

Address after: Room 1501, 15 / F, building 2, No. 10 yard, Chaoyang Park South Road, Chaoyang District, Beijing

Patentee after: Zheku Technology (Beijing) Co.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

TR01 Transfer of patent right