CN108964696B - Radio frequency circuit debugging method and related product - Google Patents

Radio frequency circuit debugging method and related product Download PDF

Info

Publication number
CN108964696B
CN108964696B CN201810791649.8A CN201810791649A CN108964696B CN 108964696 B CN108964696 B CN 108964696B CN 201810791649 A CN201810791649 A CN 201810791649A CN 108964696 B CN108964696 B CN 108964696B
Authority
CN
China
Prior art keywords
radio frequency
circuit
port
master
matching
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
CN201810791649.8A
Other languages
Chinese (zh)
Other versions
CN108964696A (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.)
Guangdong Oppo Mobile Telecommunications 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 CN201810791649.8A priority Critical patent/CN108964696B/en
Publication of CN108964696A publication Critical patent/CN108964696A/en
Application granted granted Critical
Publication of CN108964696B publication Critical patent/CN108964696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • 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)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electromagnetism (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Transceivers (AREA)

Abstract

The application discloses radio frequency circuit debugging method and related products are applied to debugging radio frequency circuits, the radio frequency circuit comprises a radio frequency transceiver, a PA, a duplexer, a filter, a master set switch and a master set antenna, the radio frequency transceiver transmits radio frequency signals through the PA, the duplexer, the master set switch and the master set antenna in sequence, the radio frequency transceiver receives the radio frequency signals through the master set antenna, the master set switch, the duplexer and the filter in sequence, and the method comprises the following steps: extracting circuit parameters from a master set switch to a master set antenna through a Printed Circuit Board (PCB); simulating by simulation software and circuit parameters to obtain target scattering parameters of the output end of the master set switch; and simulating by simulation software and target scattering parameters to obtain first matching parameters of a matching circuit between the master set switch and the master set antenna. By adopting the embodiment of the application, the simulation efficiency can be improved.

Description

Radio frequency circuit debugging method and related product
Technical Field
The present application relates to the field of simulation technologies, and in particular, to a radio frequency circuit debugging method and a related product.
Background
The third Generation (3rd-Generation, 3G) communication and the fourth Generation (4 th-Generation, 4G) communication of electronic devices (such as smart phones) are mainly divided into two communication modes, namely Frequency Division Duplexing (FDD) and Time Division Duplexing (TDD), wherein the FDD transmit-receive path mainly realizes the simultaneous operation of transmitting and receiving through a duplexer without interfering with each other. In the debugging process, the radio frequency performance of the corresponding FDD frequency band is often optimized by optimizing the matching of the common end of the duplexer. In the conventional method, after a Printed Circuit Board (PCB) is returned, a vector network analyzer is used to analyze scattering parameters of a path, 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 a related product, 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 method is used to debug a radio frequency circuit, the radio frequency circuit includes a radio frequency transceiver, a PA, a duplexer, a filter, a master set switch, and a master set antenna, the radio frequency transceiver passes through the PA, the duplexer, the master set switch, and the master set antenna in sequence to transmit a radio frequency signal, the radio frequency transceiver passes through the master set antenna, the master set switch, the duplexer, and the filter in sequence to receive a radio frequency signal, and the method includes:
extracting circuit parameters of a path routing between the main set switch and the main set antenna through a PCB;
simulating by simulation software and the circuit parameters to obtain target scattering parameters of the output end of the master set switch;
and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the master set switch and the master set antenna.
In a second aspect, an embodiment of the present application provides a radio frequency circuit debugging device, which is applied to debugging a radio frequency circuit, the radio frequency circuit includes a radio frequency transceiver, a PA, a duplexer, a filter, a master set switch and a master set antenna, the radio frequency transceiver loops through the PA, the duplexer, the master set switch and the master set antenna transmit radio frequency signals, the radio frequency transceiver loops through the master set antenna, the master set switch, the duplexer and the filter receive radio frequency signals, the radio frequency circuit debugging device includes:
the extraction unit is used for extracting circuit parameters of the path routing between the main set switch and the main set antenna through a PCB;
the simulation unit is used for carrying out simulation through simulation software and the circuit parameters to obtain target scattering parameters of the output end of the master set switch; and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the master set switch and the master set antenna.
In a third aspect, an embodiment of the present application provides a radio frequency circuit debugging apparatus, including a processor, a memory, 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 is used to store a computer program, where the computer program is used to make 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 radio frequency circuit debugging method and the related product are applied to the debugging of the radio frequency circuit, the circuit parameters between the master switch and the master antenna extracted by the PCB are firstly passed, and then the matching circuit between the master switch and the master antenna is simulated by the circuit parameters and the simulation software. Therefore, the debugging method provided by the embodiment of the application is flexible to operate, the common end matching of the master switch and the master switch can be accurately simulated only by reasonable modeling, and the simulation efficiency is improved.
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.
It should be noted that, in the embodiment of the present application, 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, an electronic device, and the like.
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 first filter, a diversity switch, a diversity antenna, a Power Amplifier (PA), a duplexer, a second filter, a main set switch, and a main set antenna. The radio frequency transceiver is respectively connected with a first filter, a second filter and a PA, the first filter is connected with a diversity switch, the diversity switch is connected with a diversity antenna, the second filter and the PA are both connected with a duplexer, the duplexer is connected with a main set switch, and the main set switch is connected with the main set antenna.
The radio frequency signals sent by the radio frequency transceiver are amplified through the PA, the duplexer and the master set switch respectively and are finally transmitted through the master set antenna. The main set antenna receives the radio frequency signal, then passes through the main set switch, the duplexer and the second filter respectively, and finally reaches the radio frequency transceiver. The diversity antenna receives the radio frequency signal, then passes through the diversity switch and the first filter respectively, and finally reaches the radio frequency transceiver.
The number of the main set antennas may be one or multiple, and is not limited herein. The number of diversity antennas may be one or more, and is not limited herein.
The radio frequency signal may be a radio frequency signal in an LTE Band, for example, 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 may be, for example, a global system for mobile communication (GSM) Band2, Band3, Band5, Band8, or the like.
The radio frequency transceiver is a device capable of receiving and transmitting radio frequency signals.
The PA is an important component of the radio frequency signal transmitter, and is used for amplifying the power of the radio frequency signal transmitted by the radio frequency signal transmitter, so as to ensure that the radio frequency signal can be fed to the antenna for transmission.
The duplexer is a special bidirectional three-terminal filter, is mainly applied to an FDD system, and mainly plays a role in filtering and isolating signals.
The main set antenna is an antenna capable of transmitting and receiving radio frequency signals in an antenna diversity operation mode, and serves as the main set antenna.
The main set switch is a switch for switching the working state of the main set antenna.
The diversity antenna is an antenna that can only receive radio frequency signals in an antenna diversity operation mode.
The diversity switch is a switch for controlling an operating frequency band and a receiving or transmitting state of the diversity antenna.
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:
201. and the radio frequency circuit debugging device extracts circuit parameters of the path routing between the master switch and the master antenna through a Printed Circuit Board (PCB).
Specifically, a specific implementation manner of extracting the circuit parameters of the path routing from the main set switch to the main set antenna is extracted in a passive test manner by a vector network analyzer.
Optionally, in step 201, the circuit parameters between the main set switch and the main set antenna are extracted through the printed circuit board PCB, which may be implemented as follows:
loading a PCB file corresponding to the PCB, and converting the PCB file into a target file which can be read by the simulation software; and extracting circuit parameters from the target file between the main set switch and the main set antenna.
For example, the radio frequency circuit debugging device can convert a PCB file into an ODB + + format file which can be read by simulation software, and the whole simulation process can use PCB drawing software Mentor Graphics to export the file.
The radio frequency circuit is applied to an electronic device, and the electronic device 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), Mobile Stations (MS), terminal devices (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
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.
202. And the radio frequency circuit debugging device simulates the circuit parameters through simulation software to obtain the target scattering parameters of the output end of the master switch.
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 output end of the master switch through the simulation circuit, so as to obtain the target scattering parameters.
The simulation software is, for example, Advanced Design System (ADS) simulation software. The target scattering parameter is, for example, S11.
203. And the radio frequency circuit debugging device simulates through the simulation software and the target scattering parameters to obtain first matching parameters of a matching circuit between the master set switch and the master set antenna.
Specifically, the radio frequency circuit debugging apparatus first establishes a simulation circuit through simulation software, and then simulates the matching circuit between the master switch and the master antenna 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 parameters between the main set switch and the main set antenna extracted by the PCB are firstly used, and then the matching circuit between the main set switch and the main set antenna is simulated through the circuit parameters and the simulation software. Therefore, the debugging method provided by the embodiment of the application is flexible to operate, the common end matching of the master switch and the master 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 an output end of the master set switch, and a second port of the first two-port network model is used as a master set antenna end; 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 master switch to obtain the target scattering parameters of the output end of the master switch.
The two-port network model refers to a two-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. Therefore, 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 master set switch 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 is not limited herein.
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 master switch model, a matching circuit model, a device 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 master switch and the master antenna.
Optionally, the impedance value of the fourth port refers to an impedance value of a resistor at the fourth port, the impedance value being equal to a solution of the conjugate of the scattering parameter of the target.
Optionally, before the second port network model is established, the radio frequency circuit debugging apparatus first extracts the circuit parameters of the duplexer and the circuit parameters of the main set switch through the PCB.
Optionally, 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.
Optionally, the matching circuit is a "pi" type matching circuit.
Optionally, 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 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 75 ohms, and the impedance value of the resistor at the fourth port is equal to a solution of the conjugate of the target scattering parameter. And the circuit parameters of the master set switch are used as the circuit parameters of the master set switch model, and the circuit parameters of the device model are used as the circuit parameters of the device model. It can be seen that, in the second two-port network model, when the circuit parameters of the main set switch model are known, the circuit parameters of the device 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 difference loss, and S22 is the closest to 75 ohms, so that the first matching parameters of the matching circuit between the main set switch and the main set antenna 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 is not limited herein.
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 the scattering parameters of the master switch to the master antenna, e.g., S11, S12, S21, and S22, and the test results obtained by the test step contain the values of S11, S12, S21, and S22 of the master switch to the master antenna.
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.
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:
501. and the radio frequency circuit debugging device extracts circuit parameters from the master set switch to the master set antenna through the PCB.
502. 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 an output end of the master set switch, and a second port of the first two-port network model is used as the master set antenna end.
503. And the radio frequency circuit debugging device leads the circuit parameters into the first two-port network model.
504. And the radio frequency circuit debugging device simulates the output end of the master switch to obtain the target scattering parameters of the output end of the master switch.
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 master switch model, a matching circuit model, a device 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.
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 master switch and the master antenna.
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.
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, fig. 6 is a schematic structural diagram of a radio frequency circuit debugging apparatus according to 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 from the master set switch to the master set antenna through a PCB;
simulating by simulation software and the circuit parameters to obtain target scattering parameters of the output end of the master set switch;
and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the master set switch and the master set antenna.
In an implementation manner of the present application, in terms of obtaining the target scattering parameter at the output end of the main set switch through simulation software and simulation of 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 an output end of the master set switch, and a second port of the first two-port network model is used as the master set antenna end;
and importing the circuit parameters into the first two-port network model, and simulating the output end of the master switch to obtain the target scattering parameters of the output end of the master switch.
In an implementation manner of the present application, in terms of obtaining the first matching parameter of the matching circuit between the main set switch and the main set antenna 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 master switch model, a matching circuit model, a device 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 master set switch and the master set antenna.
In an implementation manner of the present application, after the first matching parameter of the matching circuit between the main set switch and the main set antenna is obtained through simulation performed by the simulation software and a 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.
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:
an extracting unit 701, configured to extract, through a printed circuit board PCB, a circuit parameter of a path routing between the main set switch and the main set antenna;
a simulation unit 702, configured to perform simulation through simulation software and the circuit parameter to obtain a target scattering parameter at the output end of the master switch; and simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the master set switch and the master set antenna.
In an implementation manner of the present application, in the aspect of extracting the circuit parameter between the main set switch and the main set antenna through the printed circuit board PCB, the extracting unit 701 is specifically configured to:
loading a PCB file corresponding to the PCB, and converting the PCB file into a target file which can be read by the simulation software;
and extracting circuit parameters from the target file between the main set switch and the main set antenna.
In an implementation manner of the present application, in terms of obtaining the target scattering parameter at the output end of the main set switch through simulation by using 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 an output end of the master set switch, and a second port of the first two-port network model is used as the master set antenna end;
and importing the circuit parameters into the first two-port network model, and simulating the output end of the master switch to obtain the target scattering parameters of the output end of the master switch.
In an implementation manner of the present application, in terms of obtaining a first matching parameter of a matching circuit between the main set switch and the main set antenna through simulation performed by the simulation software and a 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 master switch model, a matching circuit model, a device 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 master set switch and the master set antenna.
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 master switch and the master antenna, 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 can be seen that, in the radio frequency circuit debugging apparatus in the embodiment of the present application, the circuit parameters between the master switch and the master antenna extracted through the PCB are first used for debugging the radio frequency circuit, and then the matching circuit between the master switch and the master antenna is simulated through the circuit parameters and the simulation software. Therefore, the debugging method provided by the embodiment of the application is flexible to operate, the common end matching of the master switch and the master switch can be accurately simulated only by reasonable modeling, and the simulation efficiency is improved.
It should be noted that the extracting unit 701, the simulating unit 702, and the testing 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: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
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 disk, ROM, RAM, magnetic or optical disk, 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 (10)

1. A radio frequency circuit debugging method is characterized in that the method is applied to debugging a radio frequency circuit, the radio frequency circuit comprises a radio frequency transceiver, a Power Amplifier (PA), a duplexer, a filter, a master set switch and a master set antenna, the radio frequency transceiver transmits radio frequency signals through the PA, the duplexer, the master set switch and the master set antenna in sequence, the radio frequency transceiver receives the radio frequency signals through the master set antenna, the master set switch, the duplexer and the filter in sequence, and the method comprises the following steps:
extracting circuit parameters from the master switch to the master antenna through a Printed Circuit Board (PCB);
simulating by simulation software and the circuit parameters to obtain target scattering parameters of the output end of the master set switch;
simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the master set switch and the master set antenna, including:
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 master switch model, a matching circuit model, a device 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 75 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 master set switch model are known, the circuit parameters of the device model are known, and the impedance values of the two ports are also known in the second two-port network model, the reverse isolation degree in the transmission of the second two-port network is guaranteed to be the most convergent, and the insertion loss in the transmission is the least, the insertion loss is the load power loss generated 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 the closest to 75 ohms, so that the first matching parameter of the matching circuit between the master set switch and the master set antenna is obtained.
2. The method of claim 1, wherein said extracting circuit parameters between said main set switch to said main set antenna via a Printed Circuit Board (PCB) comprises:
loading a PCB file corresponding to the PCB, and converting the PCB file into a target file which can be read by the simulation software;
and extracting circuit parameters from the target file between the main set switch and the main set antenna.
3. The method of claim 1 or 2, wherein the simulating by the simulation software and the circuit parameter to obtain the target scattering parameter at the output of the main set switch 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 an output end of the master set switch, and a second port of the first two-port network model is used as the master set antenna end;
and importing the circuit parameters into the first two-port network model, and simulating the output end of the master switch to obtain the target scattering parameters of the output end of the master switch.
4. The method of claim 1, wherein said simulating by said simulation software and a target scattering parameter to obtain a first matching parameter of a matching circuit between said main set switch and said main set antenna comprises:
and simulating the matching circuit model to realize impedance matching, and obtaining a first matching parameter of the matching circuit between the master set switch and the master set antenna.
5. The method of claim 1, wherein after the first matching parameter of the matching circuit between the main set switch and the main set antenna is obtained by the simulation software and the target scattering parameter, 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.
6. 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.
7. The method according to claim 6, 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.
8. The utility model provides a radio frequency circuit debugging device, its characterized in that is applied to the debugging radio frequency circuit, the radio frequency circuit includes radio frequency transceiver, power amplifier PA, duplexer, wave filter, main set switch and main set antenna, the radio frequency transceiver loop through the PA the duplexer main set switch with main set antenna transmission radio frequency signal, the radio frequency transceiver loop through main set antenna main set switch the duplexer with the wave filter receives radio frequency signal, the radio frequency circuit debugging device includes:
the extraction unit is used for extracting circuit parameters of the path routing between the main set switch and the main set 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 output end of the master set switch; simulating by the simulation software and the target scattering parameter to obtain a first matching parameter of a matching circuit between the master set switch and the master set antenna, including:
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 master switch model, a matching circuit model, a device 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 75 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 master set switch model are known, the circuit parameters of the device model are known, and the impedance values of the two ports are also known in the second two-port network model, the reverse isolation degree in the transmission of the second two-port network is guaranteed to be the most convergent, and the insertion loss in the transmission is the least, the insertion loss is the load power loss generated 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 the closest to 75 ohms, so that the first matching parameter of the matching circuit between the master set switch and the master set antenna is obtained.
9. A radio frequency circuitry debugging apparatus comprising a processor, a memory, 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 one of claims 1-7.
10. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN201810791649.8A 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related product Active CN108964696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810791649.8A CN108964696B (en) 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810791649.8A CN108964696B (en) 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related product

Publications (2)

Publication Number Publication Date
CN108964696A CN108964696A (en) 2018-12-07
CN108964696B true CN108964696B (en) 2021-04-09

Family

ID=64497807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810791649.8A Active CN108964696B (en) 2018-07-18 2018-07-18 Radio frequency circuit debugging method and related product

Country Status (1)

Country Link
CN (1) CN108964696B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625932B (en) * 2020-04-28 2023-03-14 中国电子科技集团公司第三十八研究所 Semi-physical antenna simulation method and system
CN111880982B (en) * 2020-07-30 2023-08-08 南京星火技术有限公司 Performance debugging method and device of radio frequency piezoelectric device and related products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753553A (en) * 2013-12-26 2015-07-01 中兴通讯股份有限公司 Device, mobile terminal and method for improving radiofrequency link receiving/transmitting performance
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753553A (en) * 2013-12-26 2015-07-01 中兴通讯股份有限公司 Device, mobile terminal and method for improving radiofrequency link receiving/transmitting performance
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
CN108964696A (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
CN109412657A (en) Radio frequency system, antenna switching control method and Related product
CN108833031B (en) Radio frequency circuit debugging method and related product
CN108900260B (en) Radio frequency circuit debugging method and related device
CN108964793B (en) Radio frequency circuit debugging method and related device
CN108964696B (en) Radio frequency circuit debugging method and related product
CN109120353B (en) Radio frequency circuit simulation method, radio frequency circuit simulation device, and storage medium
CN109001540B (en) Dielectric constant acquisition method and related device
CN106464389A (en) Antenna testing apparatus, system and method, and related device
CN108923862B (en) Parameter extraction method and related device
CN108923868B (en) Radio frequency circuit debugging method and related device
CN108964816B (en) Radio frequency circuit debugging method and related device
CN114337703B (en) Radio frequency circuit, communication device and electronic equipment
CN109041096B (en) Radio frequency circuit simulation method and related device
CN108964801B (en) Radio frequency circuit debugging method and related device
CN109041094B (en) Radio frequency circuit debugging 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
CN204011708U (en) Wireless fidelity WIFI auxiliary antenna
US9866335B2 (en) Testing circuit with directional coupler
CN103050791A (en) Circuit with multi-antenna compatibility
CN202435394U (en) Mobile terminal and RF transmitting and receiving circuit thereof

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