Phase simulation method, device, storage medium and network analyzer

By setting the phase modulator and attenuator in the network analyzer, calculating and setting the target phase delay and loss, the impedance phase difference problem at the component matching device is solved, and accurate matching and efficiency improvement of RF debugging are achieved.

CN115150006BActive Publication Date: 2024-10-25GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110284393.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-16
Publication Date
2024-10-25
Estimated Expiration
2041-03-16

AI Technical Summary

Technical Problem

During the radio frequency debugging process of electronic equipment, there is a phase difference between the impedance at the component matching device and the impedance at the power amplifier port, which makes debugging more difficult.

Method used

By setting the phase modulator and attenuator in the network analyzer, obtain the phase delay and loss data of the device under test and the matching device, calculate the target phase delay and loss, and set the phase modulator and attenuator based on these data to achieve the phase Simulation to adjust the impedance at different locations.

Benefits of technology

Phase simulation is achieved, which simplifies impedance matching debugging at different locations and improves the accuracy and efficiency of RF debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150006B_ABST
    Figure CN115150006B_ABST
Patent Text Reader

Abstract

The present application discloses a phase simulation method, which relates to the technical field of electronic device testing. First, the first phase delay and the first loss extending from the receiving port to the port of the device to be tested are obtained, and the second phase delay and the second loss extending from the receiving port to the matching device are obtained; then the target phase delay is determined according to the first phase delay and the second phase delay, and the target loss is determined according to the first loss and the second loss; finally, the phase modulator and the attenuator are respectively set based on the target phase delay and the target loss, thereby realizing phase simulation, and the phase transformation of impedances at different positions is also realized through phase simulation. Since the phase modulator and the attenuator can be set according to the phase delay data and the loss data extending from the receiving port to different positions, the position of the impedance at different positions can be obtained through phase simulation, which is also convenient for matching and debugging at different positions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic device testing, and in particular to a phase simulation method, device, storage medium and network analyzer. Background Art

[0002] With the development of science and technology, more and more electronic devices are used in people's lives. Electronic devices generally need to be debugged during design. How to conveniently debug electronic devices has also become one of the focuses of research for technical personnel in this field.

[0003] In the related art, a network analyzer can be used to perform radio frequency debugging on electronic equipment. During the debugging of a power amplifier, it is often encountered that there is a certain phase difference between the impedance at the matching device and the impedance at the power amplifier port, which makes the final debugging difficult. Summary of the invention

[0004] The present application provides a phase simulation method, device, storage medium and network analyzer, which can solve the technical problem in the related art that there is a certain phase difference between the impedance at the component matching device and the impedance at the power amplifier port, which brings difficulty to the final debugging.

[0005] In a first aspect, an embodiment of the present application provides a phase simulation method, which is applied to a network analyzer, wherein the network analyzer includes at least a phase modulator and an attenuator connected in series between a receiving port and a measuring receiver, and the method includes:

[0006] Acquire a first phase delay and a first loss extending from the receiving port to the port of the device under test, and acquire a second phase delay and a second loss extending from the receiving port to the matching device;

[0007] determining a target phase delay according to the first phase delay and the second phase delay, and determining a target loss according to the first loss and the second loss;

[0008] The phase modulator and the attenuator are set based on the target phase delay and the target loss, respectively.

[0009] Optionally, a connecting device with impedance is connected in series between the port of the device under test and the matching device.

[0010] Optionally, obtaining a second phase delay and a second loss extending from the receiving port to a matching device includes: obtaining a second phase delay and a second loss extending from the receiving port to a matching device, wherein a port of the device under test is disconnected from the matching device.

[0011] Optionally, the setting of the phase modulator and the attenuator based on the target phase delay and the target loss respectively includes: determining corresponding phase adjustment parameters and loss adjustment parameters based on the target phase delay and the target loss respectively; inputting the phase adjustment parameters and the loss adjustment parameters into the phase modulator and the attenuator respectively, so that a first theoretical impedance extending from the receiving port to the matching device measured by the measuring receiver is the same as a second theoretical impedance extending from the receiving port to the port of the device under test measured by the measuring receiver.

[0012] Optionally, determining the target phase delay based on the first phase delay and the second phase delay, and determining the target loss based on the first loss and the second loss include: taking the difference between the first phase delay and the second phase delay as the target phase delay, and taking the difference between the first loss and the second loss as the target loss.

[0013] Optionally, the number of the matching devices is at least two, and after the phase modulator and the attenuator are set respectively based on the target phase delay and the target loss, the method includes: after replacing the matching device corresponding to the extended position of the receiving port, displaying the corresponding matching debugging result.

[0014] Optionally, the network analyzer includes at least two receiving ports and at least two measuring receivers, one receiving port corresponds to one measuring receiver, and a corresponding phase modulator and attenuator are respectively arranged between each receiving port and the corresponding measuring receiver.

[0015] In a second aspect, an embodiment of the present application provides a phase simulation device, which is applied to a network analyzer, wherein the network analyzer includes at least a phase modulator and an attenuator connected in series between a receiving port and a measuring receiver, and the device includes:

[0016] A data acquisition module, used to acquire a first phase delay and a first loss from the receiving port extending to the port of the device under test, and to acquire a second phase delay and a second loss from the receiving port extending to the matching device;

[0017] a data calculation module, configured to determine a target phase delay according to the first phase delay and the second phase delay, and to determine a target loss according to the first loss and the second loss;

[0018] A setting module is used to set the phase modulator and the attenuator respectively based on the target phase delay and the target loss.

[0019] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method.

[0020] In a fourth aspect, an embodiment of the present application provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.

[0021] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0022] The present application provides a phase simulation method, firstly obtaining the first phase delay and the first loss from the receiving port extending to the port of the device under test, and obtaining the second phase delay and the second loss from the receiving port extending to the matching device; then determining the target phase delay according to the first phase delay and the second phase delay, and determining the target loss according to the first loss and the second loss; finally, setting the phase modulator and the attenuator respectively based on the target phase delay and the target loss, thereby realizing phase simulation, and also realizing the phase transformation of the impedance at different positions through phase simulation. Since the phase modulator and the attenuator can be set according to the phase delay data and the loss data from the receiving port extending to different positions, the position of the impedance at different positions can be obtained through phase simulation after the port extension position of the network analyzer changes, and it is also convenient to perform matching and debugging at different positions. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 A system interaction diagram of a phase simulation method provided in an embodiment of the present application;

[0025] Figure 2 A schematic flow chart of a phase simulation method provided in another embodiment of the present application;

[0026] Figure 2A A schematic diagram of the structure of a network analyzer provided in another embodiment of the present application;

[0027] Figure 3 A schematic structural diagram of a device under test and a matching device provided in another embodiment of the present application;

[0028] Figure 4 A schematic diagram of a noise coefficient circle and a gain circle provided in another embodiment of the present application;

[0029] Figure 5 A schematic diagram of the structure of a phase simulation device provided in another embodiment of the present application;

[0030] Figure 6 A structural schematic diagram of a network analyzer is provided for another embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0032] See also Figure 1 , Figure 1 A system interaction diagram of a phase simulation method provided in an embodiment of the present application.

[0033] It should be noted that the execution subject of the embodiment of the present application may be, for example, a central processing unit (CPU) or other integrated circuit chip in a network analyzer in terms of hardware, and may be, for example, a related service of a phase simulation method in a network analyzer in terms of software, without limitation. In the embodiment of the present application, the network analyzer includes at least a phase modulator and an attenuator arranged in series between a receiving port and a measuring receiver. The following takes the execution subject as an example of a processor in a network analyzer to introduce the system interaction process in the phase simulation method.

[0034] like Figure 1 As shown, the steps of system interaction in the embodiment of the present application include:

[0035] S101. The user extends the receiving port of the network analyzer to the port of the device under test.

[0036] S102: The processor obtains a first phase delay and a first loss extending from a receiving port to a port of a device under test.

[0037] S103: The user extends the receiving port of the network analyzer to the matching device.

[0038] A connecting device with impedance is connected in series between the port of the device under test and the matching device.

[0039] S104: The processor obtains a second phase delay and a second loss extending from the receiving port to the matching device.

[0040] Optionally obtaining a second phase delay and a second loss extending from the receiving port to the matching device includes: obtaining a second phase delay and a second loss extending from the receiving port to the matching device, wherein the port of the device under test is in a disconnected state from the matching device.

[0041] S105 , determining a target phase delay according to the first phase delay and the second phase delay, and determining a target loss according to the first loss and the second loss.

[0042] Optionally, determining a target phase delay based on the first phase delay and the second phase delay, and determining a target loss based on the first loss and the second loss, includes: taking the difference between the first phase delay and the second phase delay as the target phase delay, and taking the difference between the first loss and the second loss as the target loss.

[0043] S106 , respectively setting the phase modulator and the attenuator based on the target phase delay and the target loss.

[0044] Optionally, the phase modulator and the attenuator are set based on the target phase delay and the target loss, respectively, including: determining corresponding phase adjustment parameters and loss adjustment parameters based on the target phase delay and the target loss, respectively; inputting the phase adjustment parameters and the loss adjustment parameters into the phase modulator and the attenuator, respectively, so that a first theoretical impedance extending from the receiving port to the matching device measured by a measuring receiver is the same as a second theoretical impedance extending from the receiving port to the port of the device under test measured by the measuring receiver.

[0045] Optionally, the number of matching devices is at least two, and after the phase modulator and the attenuator are set based on the target phase delay and the target loss respectively, the method includes: after replacing the matching device corresponding to the extended position of the receiving port, displaying the corresponding matching debugging result.

[0046] Optionally, the network analyzer includes at least two receiving ports and at least two measuring receivers, one receiving port corresponds to one measuring receiver, and a corresponding phase modulator and attenuator are respectively arranged between each receiving port and the corresponding measuring receiver.

[0047] In the embodiment of the present application, firstly, the first phase delay and the first loss at the receiving port extending to the port of the device under test are obtained, and the second phase delay and the second loss at the receiving port extending to the matching device are obtained; then the target phase delay is determined according to the first phase delay and the second phase delay, and the target loss is determined according to the first loss and the second loss; finally, the phase modulator and the attenuator are respectively set based on the target phase delay and the target loss, thereby realizing phase simulation, and the phase transformation of the impedance at different positions is also realized through phase simulation. Since the phase modulator and the attenuator can be set according to the phase delay data and the loss data at different positions where the receiving port extends, the position of the impedance at different positions can be obtained through phase simulation after the port extension position of the network analyzer changes, which is also convenient for matching and debugging at different positions.

[0048] See also Figure 2 , Figure 2 A flow chart of a phase simulation method provided in another embodiment of the present application.

[0049] like Figure 2 As shown, the method includes:

[0050] S201, obtaining a first phase delay and a first loss from a receiving port extending to a port of a device under test, and obtaining a second phase delay and a second loss from a receiving port extending to a matching device.

[0051] In the embodiment of the present application, the phase simulation method is mainly applied to a network analyzer, wherein the network analyzer can be used to characterize radio frequency (RF) devices. Since radio frequency circuits require unique test methods, it is difficult to directly measure voltage and current at high frequencies. Therefore, when measuring high-frequency devices, they must be characterized by their response to radio frequency signals. The network analyzer can send a known signal to the device and then measure the input signal and the output signal at a fixed ratio to achieve the characterization of the device. Early network analyzers only measured amplitude. These scalar network analyzers can measure return loss, gain, standing wave ratio, and perform other amplitude-based measurements. Nowadays, most network analyzers are vector network analyzers-can measure amplitude and phase at the same time. Vector network analyzers are a very versatile class of instruments that can characterize S parameters, match complex impedances, and perform time domain measurements.

[0052] See also Figure 2A , Figure 2A A schematic diagram of the structure of a network analyzer provided in another embodiment of the present application.

[0053] like Figure 2AAs shown, the network analyzer 200 at least includes a phase modulator 230 and an attenuator 240 which are arranged in series between the receiving port 210 and the measuring receiver 220. Further, in order to ensure that the network analyzer can work normally, the network analyzer can also include a signal source 250, a power distribution / switch 260, a reference receiver 270, a source attenuator 280 and a coupling circuit module 290. One end of the signal source 250 is connected to the power distribution / switch 260, and the signal source 250 is used to provide a test signal. Since the network analyzer can perform a fixed ratio measurement on the input signal and the output signal of the device under test, the reference receiver 270 in the network analyzer at least includes a first reference receiver 2701 and a second reference receiver 2702, the source attenuator 280 at least includes a first attenuator 2801 and a second source attenuator 2802, the coupling circuit module 290 at least includes a first coupling circuit module 2901 and a second coupling circuit module 2902, the power distribution / switch 260 is respectively connected to the first reference receiver 2701, the second reference receiver 2702, the first attenuator 2801 and the second source attenuator 2802, the first attenuator 2801 is connected to the first coupling circuit module 2901, and the second source attenuator 2802 is connected to the second coupling circuit module 2902.

[0054] Further, the receiving port 210 also includes at least a first receiving port 2101 and a second receiving port 2102, the phase modulator 230 also includes at least a first phase modulator 2301 and a second phase modulator 2302, the attenuator 240 also includes at least a first attenuator 2401 and a second attenuator 2402, and the measuring receiver 220 also includes at least a first measuring receiver 2201 and a second measuring receiver 2202. The first coupling circuit module 2901 is connected to the first receiving port 2101, the first receiving port 2101 is also connected to the first phase modulator 2301, the first phase modulator 2301 is connected to the first attenuator 2401, and the first attenuator 2401 is connected to the first measuring receiver 2201. The second coupling circuit module 2902 is connected to the second receiving port 2202 , the second receiving port 2202 is further connected to the second phase modulator 2302 , the second phase modulator 2302 is connected to the second attenuator 2402 , and the second attenuator 2402 is connected to the second measurement receiver 2202 .

[0055] Among them, the network analyzer composed of the above-mentioned components, after the signal source sends a signal, firstly selects the power size and the test line to be distributed by the power distribution / switch. The test process is introduced by taking the first test line as an example. The first test line is composed of a first attenuator, a first coupling circuit module, a first receiving port, a first phase modulator, a second attenuator and a second measurement receiver. The first test line can send the test signal debugged by the first source attenuator to the device under test through the first coupling circuit module and the first receiving port, and receive the signal reflected by the device under test through the first coupling circuit module and the first receiving port. The signal is transmitted to the first measurement receiver through the first phase modulator and the first attenuator. The first measurement receiver receives the signal reflected by the device under test and debugged by the first phase modulator and the first attenuator, and can compare the signal with the original signal received by the first reference receiver.

[0056] Optionally, a second test circuit is formed by a second attenuator, a second coupling circuit module, a second receiving port, a second phase modulator, a second attenuator and a second measurement receiver. The test principle of the second test circuit is the same as that of the first test circuit, which will not be repeated here.

[0057] In the related art, in order to match and debug the device under test, that is, to adjust the external impedance of the device under test to the theoretical impedance, it is necessary to set up multiple matching devices near the device under test, wherein a connecting device with impedance is connected in series between the device under test and the matching device.

[0058] like Figure 3 As shown, Figure 3 A schematic structural diagram of a device under test and a matching device provided in another embodiment of the present application.

[0059] like Figure 3 As shown, a plurality of matching devices 320 are arranged near the device under test 310. The device under test 310 can be various amplifiers, such as a power amplifier or a low noise amplifier. The connector 330 with impedance can be a section of impedance line 3301 and a through-through DC blocking capacitor 3302. When matching and debugging the amplifier, we hope to adjust the impedance to the corresponding position where the power amplifier has better loadpull performance, or the position of the minimum noise coefficient circle of the low noise amplifier. Figure 4 As shown, Figure 4 A schematic diagram of a noise coefficient circle and a gain circle is provided for another embodiment of the present application. When we want to adjust the impedance of the low noise amplifier port to the dotted area between the minimum noise coefficient circle and the gain circle, the impedance of the dotted area is also the theoretical impedance of the device under test.

[0060] For debugging, the matching device in series with the device under test can be disconnected, and the network analyzer can be extended (port extension), and the receiving port can be extended across the connecting device with impedance to the first series matching pad, which can facilitate testing of different matching devices. At this time, when debugging, the matching device is close to the receiving port. When changing the matching device, the position trend of the impedance position on the Smith chart is consistent with the theory. We know that the theoretical impedance of the low noise amplifier at the port is Figure 4 In the dotted area, the theoretical impedance at this time includes the connecting device with impedance, but after extension, the receiving port crosses the connecting device with impedance and is at the matching pad. Due to the impedance influence of the connecting device, the theoretical impedance position at this position is unclear. The approximate phase can only be judged by the difference between the low-noise amplifier port impedance after fixed matching and the port extension position impedance, and the theoretical impedance at the extension cannot be accurately judged.

[0061] Therefore, in the embodiment of the present application, the first phase delay and the first loss at the receiving port extending to the port of the device under test can be obtained first, and the second phase delay and the second loss at the receiving port extending to the matching device can be obtained. Among them, the phase delay measurement function and the loss measurement function of the network analyzer can be used to measure the first phase delay and the first loss at the receiving port extending to the port of the device under test respectively, and then after obtaining the first phase delay and the first loss at the receiving port extending to the port of the device under test, the port of the device under test can be disconnected from the matching device, that is, the port of the device under test and the matching device are in a disconnected state, and the receiving port of the network analyzer can also be extended to any matching device across the connecting device with impedance, that is, at this time, the receiving port does not measure the impedance of the connecting device, and at this time, the phase delay measurement function and the loss measurement function of the network analyzer can also be used to obtain the second phase delay and the second loss at the receiving port extending to the matching device.

[0062] S202: Determine a target phase delay according to the first phase delay and the second phase delay, and determine a target loss according to the first loss and the second loss.

[0063] Optionally, since the receiving port of the network analyzer is first at the port of the device under test and then at the matching device, the difference after the two extensions of the receiving port is that after the receiving port is at the matching device, the receiving port does not measure the impedance of the connecting device. Therefore, the phase delay data and loss data after the two port extensions can be used to determine the phase delay and loss corresponding to the impedance of the connecting device, that is, determine the target phase delay according to the first phase delay and the second phase delay, and determine the target loss according to the first loss and the second loss, including: taking the difference between the first phase delay and the second phase delay as the target phase delay, and taking the difference between the first loss and the second loss as the target loss.

[0064] S203 , respectively setting a phase modulator and an attenuator based on a target phase delay and a target loss.

[0065] Specifically, after determining that the impedance of the connecting device corresponds to the target phase delay and the target loss, the signal received by the measuring receiver extending from the receiving port to the matching device can be adjusted through a phase modulator and an attenuator connected in series between the receiving port and the measuring receiver, so that the adjusted external impedance (theoretical impedance) of the device under test is the same as the theoretical impedance of the receiving port of the network analyzer extending from the receiving port to the port of the device under test, thereby simulating the effect of a connecting device with impedance by setting a phase modulator and an attenuator connected in series between the receiving port and the measuring receiver.

[0066] Specifically, the corresponding phase adjustment parameters and loss adjustment parameters can be determined based on the target phase delay and the target loss, respectively. The phase adjustment parameters and loss adjustment parameters are also the corresponding working parameters of the phase modulator and the attenuator. Then, the phase adjustment parameters and the loss adjustment parameters are input into the phase modulator and the attenuator respectively. The phase modulator and the attenuator work according to the phase adjustment parameters and the loss adjustment parameters, so that the first theoretical impedance extending from the receiving port to the matching device measured by the measuring receiver is the same as the second theoretical impedance extending from the receiving port to the port of the device to be tested measured by the measuring receiver, that is, the phase simulation during the test process of the device to be tested is realized by adjusting the phase modulator and the attenuator, wherein setting the phase modulator and the attenuator can be regarded as the action corresponding to the phase simulation.

[0067] Optionally, the number of matching devices is at least two, so the user can replace the corresponding different matching devices of the device under test, and after replacing the matching device corresponding to the extended position of the receiving port, perform matching debugging on the device under test respectively, and can also obtain the matching debugging results and display the corresponding matching debugging results.

[0068] In the present application, firstly, the first phase delay and the first loss at the receiving port extending to the port of the device under test are obtained, and the second phase delay and the second loss at the receiving port extending to the matching device are obtained; then the target phase delay is determined according to the first phase delay and the second phase delay, and the target loss is determined according to the first loss and the second loss; finally, the phase modulator and the attenuator are respectively set based on the target phase delay and the target loss, thereby realizing phase simulation, and the phase transformation of the impedance at different positions is also realized through phase simulation. Since the phase modulator and the attenuator can be set according to the phase delay data and the loss data at different positions where the receiving port extends, the position of the impedance at different positions can be obtained through phase simulation after the port extension position of the network analyzer changes, which is also convenient for matching and debugging at different positions.

[0069] See also Figure 5 , Figure 5 A schematic structural diagram of a phase simulation device provided in another embodiment of the present application.

[0070] like Figure 5 As shown, the phase simulation device 500 is applied to a network analyzer, and the network analyzer at least includes a phase modulator and an attenuator arranged in series between a receiving port and a measuring receiver. The phase simulation device 500 includes:

[0071] The data acquisition module 510 is used to acquire a first phase delay and a first loss from the receiving port to the port of the device under test, and to acquire a second phase delay and a second loss from the receiving port to the matching device.

[0072] Among them, a connecting device with impedance is connected in series between the port of the device under test and the matching device. The network analyzer includes at least two receiving ports and at least two measuring receivers, one receiving port corresponds to one measuring receiver, and a corresponding phase modulator and attenuator are respectively arranged between each receiving port and the corresponding measuring receiver.

[0073] The data acquisition module 510 is further used to acquire a second phase delay and a second loss extending from the receiving port to the matching device, wherein the port of the device under test is disconnected from the matching device.

[0074] The data calculation module 520 is used to determine a target phase delay according to the first phase delay and the second phase delay, and to determine a target loss according to the first loss and the second loss.

[0075] The data calculation module 520 is further configured to use the difference between the first phase delay and the second phase delay as the target phase delay, and use the difference between the first loss and the second loss as the target loss.

[0076] The setting module 530 is used to set the phase modulator and the attenuator respectively based on the target phase delay and the target loss.

[0077] The setting module 530 is also used to determine the corresponding phase adjustment parameters and loss adjustment parameters based on the target phase delay and the target loss respectively; the phase adjustment parameters and the loss adjustment parameters are input into the phase modulator and the attenuator respectively, so that the first theoretical impedance extending from the receiving port to the matching device measured by the measuring receiver is the same as the second theoretical impedance extending from the receiving port to the port of the device under test measured by the measuring receiver.

[0078] The setting module 530 is further used to display the corresponding matching debugging result after the matching device corresponding to the extended position of the receiving port is replaced.

[0079] In an embodiment of the present application, a phase simulation device includes: a data acquisition module, which is used to obtain the first phase delay and the first loss at the receiving port extending to the port of the device under test, and to obtain the second phase delay and the second loss at the receiving port extending to the matching device; a data calculation module, which is used to determine the target phase delay according to the first phase delay and the second phase delay, and to determine the target loss according to the first loss and the second loss; a setting module, which is used to set the phase modulator and the attenuator respectively based on the target phase delay and the target loss, thereby realizing phase simulation, and the phase transformation of the impedance at different positions is also realized through phase simulation. Since the phase modulator and the attenuator can be set according to the phase delay data and the loss data at different positions of the receiving port, the position of the impedance at different positions can be obtained through phase simulation after the port extension position of the network analyzer changes, which is also convenient for matching and debugging at different positions.

[0080] The embodiment of the present application further provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the lifting and removing method in the above embodiment.

[0081] For further information, see Figure 6 , Figure 6 A schematic diagram of the structure of a network analyzer is provided for another embodiment of the present application. Figure 6 As shown, the network analyzer 600 may include: at least one central processor 601 , at least one network interface 604 , a user interface 603 , a memory 605 , a sensor 606 , and at least one communication bus 602 .

[0082] The network analyzer 600 may further include a phase modulator and an attenuator which are arranged in series between the receiving port and the measurement receiver.

[0083] The communication bus 602 is used to realize the connection and communication between these components.

[0084] The user interface 603 may include a screen (Display) and a camera (Camera), and the optional user interface 603 may also include a standard wired interface and a wireless interface.

[0085] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0086] Among them, the central processing unit 601 may include one or more processing cores. The central processing unit 601 uses various interfaces and lines to connect various parts within the entire network analyzer 600, and executes various functions and processes data of the network analyzer 600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the central processing unit 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 601 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics central processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 601, and can be implemented separately through a chip.

[0087] Among them, the memory 605 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 605 may optionally be at least one storage device located away from the aforementioned central processor 601. As Figure 6 As shown, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a phase simulation program.

[0088] exist Figure 6 In the network analyzer 600 shown, the user interface 603 is mainly used to provide an input interface for the user and obtain the data input by the user; and the central processor 601 can be used to call the phase simulation program stored in the memory 605 and specifically perform the following operations:

[0089] Acquire a first phase delay and a first loss from the receiving port extending to the port of the device under test, and acquire a second phase delay and a second loss from the receiving port extending to the matching device;

[0090] determining a target phase delay according to the first phase delay and the second phase delay, and determining a target loss according to the first loss and the second loss;

[0091] The phase modulator and the attenuator are set based on the target phase delay and the target loss, respectively.

[0092] Wherein, a connecting device with impedance is connected in series between the port of the device under test and the matching device.

[0093] Optionally, obtaining a second phase delay and a second loss extending from the receiving port to the matching device includes: obtaining a second phase delay and a second loss extending from the receiving port to the matching device, wherein the port of the device under test is in a disconnected state from the matching device.

[0094] Optionally, the phase modulator and the attenuator are set based on the target phase delay and the target loss, respectively, including: determining corresponding phase adjustment parameters and loss adjustment parameters based on the target phase delay and the target loss, respectively; inputting the phase adjustment parameters and the loss adjustment parameters into the phase modulator and the attenuator, respectively, so that a first theoretical impedance extending from the receiving port to the matching device measured by a measuring receiver is the same as a second theoretical impedance extending from the receiving port to the port of the device under test measured by the measuring receiver.

[0095] Optionally, determining a target phase delay based on the first phase delay and the second phase delay, and determining a target loss based on the first loss and the second loss, includes: taking the difference between the first phase delay and the second phase delay as the target phase delay, and taking the difference between the first loss and the second loss as the target loss.

[0096] Optionally, the number of matching devices is at least two, and after the phase modulator and the attenuator are set based on the target phase delay and the target loss respectively, the method includes: after replacing the matching device corresponding to the extended position of the receiving port, displaying the corresponding matching debugging result.

[0097] Optionally, the network analyzer includes at least two receiving ports and at least two measuring receivers, one receiving port corresponds to one measuring receiver, and a corresponding phase modulator and attenuator are respectively arranged between each receiving port and the corresponding measuring receiver.

[0098] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0099] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0100] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0101] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0102] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] The above is a description of a phase simulation method, device, storage medium and network analyzer provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A phase simulation method, characterized in that: Applied to a network analyzer, the network analyzer at least comprises a phase modulator and an attenuator arranged in series between a receiving port and a measuring receiver, the method comprising: Acquire a first phase delay and a first loss extending from the receiving port to the port of the device under test, and acquire a second phase delay and a second loss extending from the receiving port to the matching device; determining a target phase delay according to the first phase delay and the second phase delay, and determining a target loss according to the first loss and the second loss; Setting the phase modulator and the attenuator respectively based on the target phase delay and the target loss; The step of respectively setting the phase modulator and the attenuator based on the target phase delay and the target loss includes: Determine corresponding phase adjustment parameters and loss adjustment parameters based on the target phase delay and the target loss respectively; The phase adjustment parameter and the loss adjustment parameter are input into the phase modulator and the attenuator respectively, so that the first theoretical impedance extending from the receiving port to the matching device measured by the measuring receiver is the same as the second theoretical impedance extending from the receiving port to the port of the device under test measured by the measuring receiver.

2. The method according to claim 1, characterized in that A connecting device with impedance is connected in series between the port of the device under test and the matching device.

3. The method according to claim 2, characterized in that Obtaining a second phase delay and a second loss extending from the receiving port to the matching device, comprising: A second phase delay and a second loss extending from the receiving port to the matching device are obtained, wherein the port of the device under test is disconnected from the matching device.

4. The method according to claim 1, characterized in that: The determining a target phase delay according to the first phase delay and the second phase delay, and determining a target loss according to the first loss and the second loss, comprises: A difference between the first phase delay and the second phase delay is used as a target phase delay, and a difference between the first loss and the second loss is used as a target loss.

5. The method according to claim 1, characterized in that The number of the matching devices is at least two, and after the phase modulator and the attenuator are respectively set based on the target phase delay and the target loss, the method includes: After replacing the matching device corresponding to the extended position of the receiving port, the corresponding matching debugging result is displayed.

6. The method according to claim 1, characterized in that The network analyzer comprises at least two receiving ports and at least two measuring receivers, one receiving port corresponds to one measuring receiver, and a corresponding phase modulator and attenuator are respectively arranged between each receiving port and the corresponding measuring receiver.

7. A phase simulation device, characterized in that: Applied to a network analyzer, the network analyzer at least comprises a phase modulator and an attenuator arranged in series between a receiving port and a measuring receiver, the device comprising: A data acquisition module, used to acquire a first phase delay and a first loss from the receiving port extending to the port of the device under test, and to acquire a second phase delay and a second loss from the receiving port extending to the matching device; a data calculation module, configured to determine a target phase delay according to the first phase delay and the second phase delay, and to determine a target loss according to the first loss and the second loss; A setting module, configured to respectively set the phase modulator and the attenuator based on the target phase delay and the target loss; The setting of the phase modulator and the attenuator based on the target phase delay and the target loss includes: determining corresponding phase adjustment parameters and loss adjustment parameters based on the target phase delay and the target loss, respectively, and inputting the phase adjustment parameters and the loss adjustment parameters into the phase modulator and the attenuator, respectively, so that a first theoretical impedance extending from the receiving port to the matching device measured by the measuring receiver is the same as a second theoretical impedance extending from the receiving port to the port of the device under test measured by the measuring receiver.

8. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 6.

9. A network analyzer, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the program.