CN108900260B - Radio frequency circuit debugging method and related device - Google Patents
Radio frequency circuit debugging method and related device Download PDFInfo
- Publication number
- CN108900260B CN108900260B CN201810790598.7A CN201810790598A CN108900260B CN 108900260 B CN108900260 B CN 108900260B CN 201810790598 A CN201810790598 A CN 201810790598A CN 108900260 B CN108900260 B CN 108900260B
- Authority
- CN
- China
- Prior art keywords
- filter
- circuit
- radio frequency
- port
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/10—Monitoring; Testing of transmitters
- H04B17/15—Performance testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/02—Transmitters
- H04B1/04—Circuits
- H04B1/0458—Arrangements for matching and coupling between power amplifier and antenna or between amplifying stages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
- H04B1/18—Input circuits, e.g. for coupling to an antenna or a transmission line
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/20—Monitoring; Testing of receivers
- H04B17/29—Performance testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/005—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
- H04B1/0064—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with separate antennas for the more than one band
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Transceivers (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: extracting circuit parameters of a path routing between the first filter and the first antenna through the PCB; the matching circuit between the switch and the first filter is simulated by means of the mentioned circuit parameters and simulation software. By adopting the embodiment of the application, the simulation efficiency can be improved.
Description
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:
extracting circuit parameters of a path routing between the first filter and the first antenna through a Printed Circuit Board (PCB);
simulating through simulation software and the circuit parameters to obtain target scattering parameters of the first filter, which are far away from 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:
the parameter extraction unit is used for extracting circuit parameters of a path routing between the first filter and the first antenna through a Printed Circuit Board (PCB);
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 far away from 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 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 path routing from the first filter to the first antenna is extracted through the PCB, and then the matching circuit between the switch and the first filter is simulated through 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 device extracts Circuit parameters of a path between the first filter and the first antenna through a Printed Circuit Board (PCB).
Specifically, a specific implementation manner of extracting the circuit parameters of the path routing from the first filter to the first antenna is extracted by a passive test manner of a vector network analyzer.
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 far away from the change-over switch end.
Specifically, the radio frequency circuit debugging device firstly establishes a simulation circuit through simulation software, then introduces the extracted circuit parameters into the simulation circuit, and finally simulates the end of the first filter far away from the switch end through the simulation circuit, so that the target scattering parameters of the first filter far away from the switch end 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 path routing from the first filter to the first antenna is extracted through the PCB, and then the matching circuit between the switch and the first filter is simulated through 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, far away from the switch, of the first filter, and a second port of the first two-port network model is used as a first antenna terminal; and the radio frequency circuit debugging device leads the circuit parameters into the first two-port network model, simulates the end, close to the switch, of the first filter, and obtains target scattering parameters, far away from the switch, of the first filter.
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 device 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 used as the circuit parameter of the device 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 output end of the first filter 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, a first filter 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 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 the second port network model is established, the radio frequency circuit debugging device extracts the circuit parameters of the selector switch and the circuit parameters of the first filter through the PCB.
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 extracted circuit parameters of the change-over switch are used as the circuit parameters of the change-over switch model, and the extracted circuit parameters of the first filter are used as the circuit parameters of the first filter model. It can be seen that, in the second two-port network model, when the circuit parameters of the switch model are known, the circuit parameters of the first filter 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 most convergent, S21 has least differential loss, and S22 is 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: and the radio frequency circuit debugging device extracts circuit parameters of a path routing between the first filter and the first antenna through the PCB.
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, far away from the switch, of the first filter, and a second port of the first two-port network model is used as a first antenna terminal.
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 end, close to the switch, of the first filter to obtain a target scattering parameter of the first filter, far away from the 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, a first filter 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:
extracting circuit parameters of a path routing between the first filter and the first antenna through a PCB;
simulating through simulation software and the circuit parameters to obtain target scattering parameters of the first filter, which are far away from 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 far from the switch end through simulation by using simulation software and the circuit parameter, the program is specifically configured to execute instructions of the following steps:
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, far away from the switch, of the first filter, and a second port of the first two-port network model is used as the first antenna terminal;
and importing the circuit parameters into the first two-port network model, and simulating the first filter close to the switch end to obtain the target scattering parameters of the first filter far away from the 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, a first filter 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 extracting unit 701, configured to extract, through a PCB, a circuit parameter of a path routing between the first filter and the first antenna;
a simulation unit 702, configured to perform simulation through simulation software and the circuit parameter to obtain a target scattering parameter of the first filter, which is far away from 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 far from 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, far away from the switch, of the first filter, and a second port of the first two-port network model is used as the first antenna terminal;
and importing the circuit parameters into the first two-port network model, and simulating the first filter close to the switch end to obtain the target scattering parameters of the first filter far away from the 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, a first filter 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 extraction 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:
extracting circuit parameters of a path routing between the first filter and the first antenna through a Printed Circuit Board (PCB);
simulating through simulation software and the circuit parameters to obtain target scattering parameters of the first filter, which are far away from 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, far away from the switch, of the first filter, and a second port of the first two-port network model is used as the first antenna terminal;
importing the circuit parameters into the first two-port network model, and simulating the first filter close to the switch end to obtain target scattering parameters of the first filter far away from the switch end;
establishing a second two-port network model through the simulation software, wherein a third port of the second two-port network model is sequentially connected with a selector switch model, a matching circuit model, a first filter model and a fourth port of the second two-port network model, a resistor is arranged at each of the third port and the fourth port, 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,
the circuit parameters of the diverter switch are used as the circuit parameters of a diverter switch model, the extracted circuit parameters of the first filter are used as the circuit parameters of the first filter model, when the circuit parameters of the diverter switch model and the first filter model are known and the impedance values of two ports are known in the second two-port network model, the reverse isolation degree in transmission of the second two-port network is guaranteed to be most converged and the insertion loss in transmission is guaranteed to be minimum by adjusting the values of the matching network model, the insertion loss is load power loss caused by insertion of an element or device and the return loss of the output end of the second two-port network model are closest to 50 ohms, and the first matching parameters of the matching circuit between the diverter switch and the first filter are 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:
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 according to any one of claims 1-2, wherein after the simulation 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, the method further comprises:
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.
4. The method of claim 1, 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 is characterized in that the device 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, 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 radio frequency circuit debugging device comprises:
the parameter extraction unit is used for extracting circuit parameters of a path routing between the first filter and the first antenna through a Printed Circuit Board (PCB);
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 far away from 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, wherein obtaining the first matching parameter comprises:
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, far away from the switch, of the first filter, and a second port of the first two-port network model is used as the first antenna terminal;
importing the circuit parameters into the first two-port network model, and simulating the first filter close to the switch end to obtain target scattering parameters of the first filter far away from the switch end;
establishing a second two-port network model through the simulation software, wherein a third port of the second two-port network model is sequentially connected with a selector switch model, a matching circuit model, a first filter model and a fourth port of the second two-port network model, a resistor is arranged at each of the third port and the fourth port, 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,
the circuit parameters of the diverter switch are used as the circuit parameters of a diverter switch model, the extracted circuit parameters of the first filter are used as the circuit parameters of the first filter model, when the circuit parameters of the diverter switch model and the first filter model are known and the impedance values of two ports are known in the second two-port network model, the reverse isolation degree in transmission of the second two-port network is guaranteed to be most convergent and the insertion loss in transmission is guaranteed to be minimum by adjusting the values of the matching network model, the insertion loss is the load power loss caused by insertion of an element or device and the return loss of the output end of the second two-port network model are closest to 50 ohms, and the first matching parameters of the matching circuit between the diverter switch and the first filter are 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810790598.7A CN108900260B (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 |
---|---|---|---|
CN201810790598.7A CN108900260B (en) | 2018-07-18 | 2018-07-18 | Radio frequency circuit debugging method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108900260A CN108900260A (en) | 2018-11-27 |
CN108900260B true CN108900260B (en) | 2021-04-02 |
Family
ID=64351099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810790598.7A Active CN108900260B (en) | 2018-07-18 | 2018-07-18 | Radio frequency circuit debugging method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108900260B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625932B (en) * | 2020-04-28 | 2023-03-14 | 中国电子科技集团公司第三十八研究所 | Semi-physical antenna simulation method and system |
CN113746488B (en) * | 2021-08-31 | 2023-04-11 | 成都频岢微电子有限公司 | Radio frequency module and electronic equipment |
CN116539931B (en) * | 2023-06-16 | 2023-10-20 | 荣耀终端有限公司 | Radio frequency device test connection device and test system |
Citations (3)
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)
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 |
-
2018
- 2018-07-18 CN CN201810790598.7A patent/CN108900260B/en active Active
Patent Citations (3)
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 |
---|---|
CN108900260A (en) | 2018-11-27 |
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 | |
CN108964793B (en) | Radio frequency circuit debugging method and related device | |
CN108964816B (en) | Radio frequency circuit debugging method and related device | |
CN106464389A (en) | Antenna testing apparatus, system and method, and related device | |
CN109120353B (en) | Radio frequency circuit simulation method, radio frequency circuit simulation device, and storage medium | |
CN109001540B (en) | Dielectric constant acquisition method and related device | |
CN108923868B (en) | Radio frequency circuit debugging method and related device | |
CN106443220A (en) | Method and system for measuring noise coefficient of detected 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 | |
CN107682022A (en) | A kind of adjusting method of mobile terminal and antenna matching network | |
CN107276693B (en) | Method, equipment and system for testing radio frequency front end of terminal | |
CN108256368B (en) | Method and device for generating dual-port network |
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 |