Phase switching stable time testing method, control module and program product

By traversing the register values ​​and using an oscilloscope to obtain the signal change time, and calculating the phase switching stability time, the problem of insufficient detection success rate and measurement accuracy in the prior art is solved, and more efficient and accurate testing is achieved.

CN120195532AActive Publication Date: 2025-06-24SHANGHAI ARCHIWAVE MICROELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510668016.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-06-24
Estimated Expiration
2045-05-22

AI Technical Summary

Technical Problem

How to improve the detection success rate and measurement accuracy of phase switching stability time, especially in beam-formed phased array transmission and reception chips.

Method used

By traversing the assignment to the first register and/or the second register, the value of the detection signal is obtained and its maximum or minimum value is taken as the initial value. Based on the initial value, the register value is changed, so that the combined signal is phased by 180° relative to the initial value, and the change time of the trigger signal and the detection signal is obtained from the oscilloscope to calculate the phase switching stability time.

Benefits of technology

It improves the detection accuracy and efficiency of the phase switching stability time, ensures the satisfaction of system performance, reduces the test time and improves the obvious degree of signal changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120195532A_ABST
    Figure CN120195532A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a phase switching stable time testing method, a control module and a program product. The method comprises the following steps: traversing and assigning values to a first register and / or a second register of a to-be-detected component so as to change the phase shift of a first phase shifter and / or a second phase shifter of the to-be-detected component, and obtaining the value of a detection signal during each assignment, the detection signal being obtained by detecting the signal after the combination of a first radio frequency channel and a second radio frequency channel; taking the value of the first register and / or the second register as an initial value when the detection signal is maximum or minimum; based on the initial value, sending a trigger signal to change the value of the first register and / or the second register, so that the combined signal shifts the phase by 180 degrees relative to the initial value, and sending the trigger signal to an oscilloscope at the same time; acquiring the change time of the trigger signal and the change time of the detection signal from an oscilloscope; and obtaining phase switching stable time based on the difference between the change time of the trigger signal and the change time of the detection signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of electronic device testing, and relate to, but are not limited to, a method for testing the phase switching settling time, a control module, and a program product. Background Art

[0002] In a phased array transmit-receive chip with beamforming, the gain and directivity of the subsequent phased array antenna can be changed by adjusting the phases of the respective radio frequency channels in the phased array to meet different communication or detection requirements. Specifically, a phase shifter (PS) is integrated in the transmit channel and / or the receive channel of the transmit-receive chip. By changing the register value of the phase shifter, the phase of the radio frequency signal passing through the phase shifter can be changed, thereby realizing the control of the electromagnetic beam.

[0003] The phase switching settling time of the phase shifter refers to the time required for the phase shifter to reach a stable state in response to a trigger signal when the register value of the phase shifter is changed from one value to another under the control of the trigger signal. The length of the phase switching settling time directly affects the phase switching speed in the system. If the phase switching settling time is too long and the switching speed is too slow, on the one hand, it will reduce the accuracy of the phased array beam pointing; on the other hand, too long a phase switching settling time may cause unstable phase switching, thereby introducing distortion products, further interfering with the signal transmission and reception, and reducing the overall performance of the system. Therefore, when designing a phased array transmit-receive chip, it is necessary to consider the phase switching settling time characteristics of the phase shifter to ensure that the system can meet specific performance requirements.

[0004] How to improve the detection success rate and measurement accuracy of the phase switching settling time has become an urgent problem to be solved currently. Summary of the Invention

[0005] In view of this, embodiments of the present disclosure provide a method for testing the phase switching settling time, a control module, and a program product, which can improve the detection success rate and measurement accuracy of the phase switching settling time.

[0006] On the one hand, embodiments of the present disclosure provide a method for testing the phase switching settling time, wherein the component to be tested includes: a first radio frequency channel and a second radio frequency channel, the first radio frequency channel includes a first phase shifter and a first register, and the second radio frequency channel includes a second phase shifter and a second register; The method includes: Traversing and assigning values to the first register and / or the second register to change the phase shift of the first phase shifter and / or the second phase shifter, At each of the said assignments, obtain the value of the detected signal, where the detected signal is obtained by detecting the signal after combining the first radio frequency channel and the second radio frequency channel; Take the value of the first register and / or the second register when the detected signal is maximum or minimum as the initial value; Based on the initial value, change the value of the first register and / or the second register through a trigger signal, so that the combined signal is phase-shifted by 180° relative to the initial value, and at the same time send the trigger signal to the oscilloscope; Obtain the change time of the trigger signal and the change time of the detected signal from the oscilloscope; Based on the difference between the change time of the trigger signal and the change time of the detected signal, obtain the phase switching stabilization time.

[0007] On the other hand, an embodiment of the present disclosure further provides a control module, and the control module includes a processor and a memory; The processor is used to execute the instructions stored in the memory, so that the control module executes any of the above methods.

[0008] On yet another aspect, an embodiment of the present disclosure further provides a computer program product, including instructions, when the instructions run on a computer, any of the above methods is executed.

[0009] The test method provided by the embodiment of the present disclosure traverses and assigns values to the first register and / or the second register; at each of the said assignments, obtain the value of the detected signal; take the value of the first register and / or the second register when the detected signal is maximum or minimum as the initial value; based on the initial value, change the value of the first register and / or the second register, so that the first phase shifter and / or the second phase shifter is phase-shifted by 180° relative to the initial value, and at the same time send a trigger signal to the oscilloscope; obtain the change time of the trigger signal and the change time of the detected signal from the oscilloscope; based on the difference between the change time of the trigger signal and the change time of the detected signal, obtain the phase switching stabilization time.

[0010] By finding the initial value, the detected signal is made maximum or minimum. At this time, the phase shifts of the first phase shifter and the second phase shifter differ by 0° or 180°, and the amplitude of the detected signal reaches a preset extreme value (maximum or minimum), which can be used as the basis for subsequent comparison; Based on the initial value, control the values of the first register and / or the second register to be phase-shifted by 180° relative to the initial value. The detected signal changes from the maximum value to the minimum value, or from the minimum value to the maximum value. Therefore, compared with the initial value, the amplitude change of the detected signal is obvious, and there is a large enough voltage difference, so that the rising / falling edge of the detected signal can be accurately identified, improving the accuracy of the phase switching stability time test.

[0011] In addition, in this solution, the registers are sequentially assigned values to find the register values corresponding to the maximum or minimum detected signal after combining, and use them as the initial values, so that the register values in the state where the phases of the two phase shifters are closest to in-phase or anti-phase can be found, improving the obviousness of the signal change during the test, and further improving the test accuracy.

[0012] In this solution, the registers are sequentially assigned values, which can realize automatic testing. The initial phase optimization is quickly realized by using an algorithm, and the test efficiency is maximally improved while ensuring the accuracy.

[0013] This solution can adopt single-channel initial value optimization and calibration: fix the value of the first register and traverse all values of the second register; or, fix the value of the second register and traverse all values of the first register. It can effectively reduce the traversal times of the register values, significantly shorten the test time, and improve the test efficiency.

[0014] This solution also introduces a decision level difference threshold: judge whether the difference between the detected signal in the middle and the detected signals on both sides is greater than a preset value. When the difference between the detected signal in the middle and the detected signals on both sides is greater than the preset value, the initial value is confirmed, avoiding the test error caused by the noise on the oscilloscope link, and further improving the reliability and stability of the test. Description of the Drawings

[0015] Figure 1A It is a structural block diagram of the test platform in the embodiments of the present disclosure; Figure 1B It is a schematic structural diagram of a device under test (DUT) in the test platform in the embodiments of the present disclosure; Figure 2 It is a schematic diagram of the relationship between the input power and the detected voltage of a logarithmic detector in the embodiments of the present disclosure; Figure 3 It is a schematic diagram of the waveforms of a trigger signal and a detected signal shown by an oscilloscope in the embodiments of the present disclosure; Figure 4 It is a schematic diagram of the test principle of the phase switching stability time in the embodiments of the present disclosure; Figure 5Schematic diagram of the test principle for another phase switching stabilization time in the embodiments of the present disclosure; Figure 6 Schematic diagram of waveforms of another trigger signal and detection signal shown by an oscilloscope in the embodiments of the present disclosure; Figure 7 Another schematic diagram of the test principle for phase switching stabilization time in the embodiments of the present disclosure; Figure 8 Flowchart of a test method for phase switching stabilization time provided by the embodiments of the present disclosure; Figure 9A Schematic diagram of state 0 in the test method provided by the embodiments of the present disclosure; Figure 9B Schematic diagram of state 1 in the test method provided by the embodiments of the present disclosure; Figure 9C Schematic diagram of state 2 in the test method provided by the embodiments of the present disclosure; Figure 10 Flowchart of the first traversal assignment method in the test method provided by the embodiments of the present disclosure; Figure 11 Flowchart of the second traversal assignment method in the test method provided by the embodiments of the present disclosure; Figure 12 Flowchart of the third traversal assignment method in the test method provided by the embodiments of the present disclosure; Figure 13 Flowchart of the fourth traversal assignment method in the test method provided by the embodiments of the present disclosure; Figure 14 Block diagram of a control module provided by the embodiments of the present disclosure. Detailed implementation manners

[0016] To facilitate the understanding of the present disclosure, the present disclosure will be described more comprehensively below with reference to the relevant drawings. Preferred embodiments of the present disclosure are shown in the drawings. However, the present disclosure can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present disclosure more thorough and comprehensive.

[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this disclosure pertains. The terms used in the description of this disclosure herein are for the purpose of describing specific embodiments only and are not intended to limit this disclosure. The term "and / or" used herein includes any and all combinations of one or more of the related listed items. In the embodiments of this disclosure, the terms "first", "second", "third", and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", "third", and "fourth" may explicitly or implicitly include one or more of such features.

[0018] It should be understood that in the description of the embodiments of this disclosure, it should be noted that unless otherwise clearly specified and limited, the terms "connected" and "coupled" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a direct connection or an indirect connection through an intermediate medium, and it may be the internal communication of two components.

[0019] A beamforming transmit-receive (TR) chip for a phased array is the core integrated circuit for implementing beamforming and phased array antenna functions. It forms a directional beam by controlling the phase and amplitude of multiple antenna elements, thereby improving the signal quality, coverage range, and anti-interference ability of a communication system.

[0020] Beamforming refers to adjusting the phase and amplitude of each unit in an antenna array so that the signal is enhanced by superposition in a specific direction and weakened in other directions.

[0021] A phased array refers to using electronic control of the phase difference to achieve rapid beam scanning without mechanically rotating the antenna.

[0022] Exemplarily, a phased array TR chip may include a radio frequency front end, a phase / amplitude control module, a beamforming algorithm module, an integrated transceiver switch, and a calibration and compensation circuit, etc.

[0023] For a beamforming phased array TR chip, its transmit or receive channels integrate phase shifters (PSs). Each PS corresponds to a register. When the value of the PS register changes, the phase of the radio frequency signal passing through the radio frequency channel corresponding to this PS register also changes, thereby changing the gain and directivity of the subsequent phased array antenna to meet different communication / detection scenarios.

[0024] The phase switching stabilization time of the PS is used to represent the time between when the PS receives a trigger signal (such as a trigger signal indicating a change in the register value) and when the output phase stabilizes at the target value. This parameter directly affects the beam scanning rate and system real-time performance, and is particularly crucial in scenarios with rapid movement, such as radar tracking and satellite communication scenarios.

[0025] The register value refers to the numerical value stored in the register.

[0026] In some embodiments, the test of the phase switching stabilization time can be carried out through a test platform as Figure 1A shown. The test platform includes at least one device under test (DUT) 110, a signal generator 120, a combiner 130, a detector 140, an oscilloscope 150, and a control module 160. In addition, the test platform may further include a power supply module connected to the DUT 110 for providing a power supply voltage, and the control module 160 may also be connected to a host computer, and the host computer is used to provide relevant trigger signals or register values, etc.

[0027] Among them, the DUT 110 can be the above-mentioned phased array TR chip for beamforming. The signal generator 120 is used to output a test RF signal, and this RF signal is input into the DUT 110 through the RF input port (RF in) of the DUT 110. After the signal passes through the internal circuit of the DUT 110, two RF signals are output at two RF output ports RF1 out and RF2 out; the two RF signals are vectorially added by the combiner 130 to obtain a combined RF signal, and then after the detector 140 converts the combined RF signal into a DC detection signal, it enters the oscilloscope 150. The oscilloscope 150 is used to display the waveform of the detection signal.

[0028] Exemplarily, the structure of the DUT 110 can refer to the Figure 1B shown structure. The DUT 110 includes a first RF channel CH1 and a second RF channel CH2. The first RF channel CH1 includes a first phase shifter 01 and a first register 03, and the second RF channel CH2 includes a second phase shifter 02 and a second register 04. The value of the first register 03 is used to control the phase shift value of the first phase shifter 01, and the value of the second register 04 is used to control the phase shift value of the second phase shifter 02. That is to say, each PS corresponds to a register, and by changing the register value of the register corresponding to the PS, the phases of the RF signals output by the RF channel CH1 and the RF channel CH2 can be changed. The DUT 110 may further include a combiner / splitter 05, and the combiner / splitter 05 is used to divide one RF signal at the RF input port (RF in) into two paths, and the first phase shifter 01 and the second phase shifter 02 can be connected and receive the RF signals provided by the combiner / splitter 05.

[0029] It should be noted that the component to be measured can have multiple RF channels, such as 3, 4, etc. Each RF channel can include devices such as a phase shifter. When detecting the phase switching stabilization time, any 2 of the RF channels can be selected for detection. For example, if the component to be measured has 3 RF channels, the first and second RF channels can be selected first for detection, and then the first and third or the second and third RF channels can be selected as the first and second RF channels respectively for detection.

[0030] In some embodiments, the first register can be disposed within the first phase shifter or can be separately disposed. Similarly, the second register can be located within the second phase shifter or can be disposed independently of the second phase shifter.

[0031] In addition, it can be understood that the values of the first register and the second register can be switched by a trigger signal provided externally. The trigger signal can be provided to the register through the interface of the control module to write a new value into the register, thereby realizing the switching of the register values. The oscilloscope 150 is also used to display the waveform of the trigger signal.

[0032] It should be noted that the above two RF channels can be located on the same chip or can be located on different chips respectively. Figure 1A and Figure 1B shows that the two RF channels can be located on the same chip. The embodiments of the present disclosure are not limited to this structure. The two RF channels can be the same. Specifically, the two RF channels have the same phase shifter, and other various elements (such as attenuators) in the channels are the same.

[0033] In some embodiments, the detector 140 is a measurement tool that converts an RF input signal into a DC voltage signal, and the output voltage value is proportional to the power of the input signal. Therefore, according to the output voltage value of the detector 140, the power value of the input RF signal can be correspondingly determined. The detector can be a logarithmic detector, an envelope detector, a phase-locked loop detector, a coherent detector, etc.

[0034] The input-output relationship of the logarithmic detector can be referred to the following formula (1): (1) wherein, is the detected level output by the detector, with the unit of V (volt), is the logarithmic slope of the detector, with the unit of V / dB (volt per decibel), is the input signal power, with the unit of dBm (decibel-milliwatt), is the logarithmic intercept, with the unit of dBm (decibel - milliwatt).

[0035] When the logarithmic detector is a positive - slope detector. When the input power is the smallest, the detection level is the smallest; when the logarithmic detector is a negative - slope detector. When the input power is the smallest, the detection level is the largest. Figure 2 Fig. shows a schematic diagram of the input power and detection voltage of a logarithmic detector, and the negative - slope detector is adopted in this figure.

[0036] When testing the phase - switching stabilization time of PS, usually one RF channel does not change its amplitude and phase, and the other RF channel keeps its amplitude unchanged while its phase changes. The phase and amplitude of the combined signal change. At this time, the amplitude of the output signal at the output end of the combiner 130 changes accordingly, that is, the voltage value of the detection signal of the detector 140 changes. At this time, the effective rising / falling edge of the detection signal can be read on the oscilloscope 150.

[0037] Combined with Figure 1A and Figure 1B 's test platform, the test process can refer to Figure 3 . As Figure 3 shown, State 1 (S1) is the starting state. At this time, the first register 03 and the second register 04 are respectively written with their own values, and the first phase shifter 01 and the second phase shifter 02 are controlled to phase - shift the RF signals flowing through them respectively. Assume that in State 1, the phase - shifts of the two phase shifters are the same, the amplitudes of the output signals of RF channel CH1 and RF channel CH2 are the same (both are 1), and the phases of the two channels are also the same (both are ∠0°). For the sake of convenience, the amplitude and phase are normalized to 1∠0°; where 1 represents the normalized amplitude and ∠0° represents the phase; after vector addition by the combiner 130, the output signal is 2∠0°, and assume that the detection signal level of the detector 140 is 0.9V at this time.

[0038] In State 2 (S2), the control module 160 sends a trigger signal to the DUT 110 and the oscilloscope 150. The trigger signal is an input signal used to start the change of the phase shifter and is provided by the control module. For example, after the trigger signal is sent, the register value of the first register 03 remains unchanged, the register value of the second register 04 changes, the phase - shift of the second phase shifter 02 changes, the PS of RF channel CH1 remains unchanged, and the PS of RF channel CH2 changes by 90°. After vector addition by the combiner 130, the output signal is ∠45°, and assume that the detection signal level of the detector 140 is 1.2V at this time.

[0039] Because the detected signal levels in state 1 and state 2 are different, the effective rising / falling edges of the detected signal can be read on the oscilloscope 150; when the level change is stable, it indicates that the PS setting of the RF channel CH2 is completed (i.e., the phase is stably switched to the post-switching state), and this is the termination state at this time.

[0040] In the embodiments of the present disclosure, the above phase switching stabilization time can be defined as the response speed of the PS to the trigger signal for the change of the register value when the register receives the trigger signal and changes from one value to another. For example, it can be defined as 50% of the rising / falling edge of the trigger signal to 90% or 95% or 99% etc. of the change of the detected signal, and specifically can be set according to the actual accuracy requirements.

[0041] As Figure 4 shown, the upper part of the figure shows the level waveform of the trigger signal, that is, waveform 1. Waveform 1 represents the control signal for switching the PS register value. In this embodiment, the falling edge in waveform 1 represents the control module 160 sending a trigger signal to the DUT 110 and the oscilloscope 150. The lower part of the figure shows the level of the detected signal output by the detector, that is, waveform 2, and the two waveforms above and below are aligned in time. If the phase switching stabilization time of the PS is set to 50% of the falling edge of waveform 1 to 90% of the rising edge of the detected level, it can be shown as the distance between the two vertical dotted lines shown in the figure. Specifically, 50% of the falling edge of waveform 1 represents 50% of the high level and low level of waveform 1, and the ordinate position corresponding to the intersection of this horizontal dotted line and waveform 1 is the moment t1 of the vertical dotted line. 90% of the rising edge of waveform 2 represents 90% of the change from the low level to the high level of waveform 2, and the ordinate position corresponding to the intersection of this horizontal dotted line and waveform 2 is the moment t2 of the second vertical dotted line. The time period t between t1 and t2 is used to represent the phase switching stabilization time.

[0042] Since the detector 140 can only "scalarially" convert the power of the RF signal into voltage, if a high-frequency signal has a constant amplitude and only the phase changes, then the output voltage corresponding to the detector 140 will not change, and the waveform read on the oscilloscope 150 will be a horizontal straight line. At this time, the effective rising / falling edges of the detected signal cannot be read on the oscilloscope 150. As Figure 5 shown, in state 1, the amplitudes of the RF channel CH1 and the RF channel CH2 are the same and the phases are different (for example, they differ by 180°). At this time, the combined output is ∠45°. In state 2, after the register value of the RF channel CH2 changes by +180°, the combined output at this time is ∠-45°. Therefore, in states 1 and 2, the scalar power entering the detector is always , the change range of the voltage change is too small, and the clutter interference during the test, the overshoot and undershoot of the radio frequency signal, and the non-ideal characteristics will cause the oscilloscope 150 to misidentify the rising / falling edge of the detected signal, resulting in incorrect test results, such as Figure 6 as shown.

[0043] The applicant's research found that if the amplitude of the signal of the detector changes significantly after switching from state 1 to state 2, the rising / falling edge of the detected signal can be accurately identified. As Figure 7 shown, the signal amplitudes and phases of the radio frequency channel CH1 and the radio frequency channel CH2 are the same. At this time, the combined output is 2∠0°. In state 2, after the register value of the radio frequency channel CH2 changes by +180°, the combined output at this time is 0, and the scalar power entering the detector changes from 2 to 0, with an obvious change, and the rising / falling edge of the detected signal can be accurately identified, meeting the test requirements.

[0044] Based on this, the embodiments of the present disclosure provide a method for testing the phase switching stable time. By presetting the phases of two radio frequency channels, the amplitude of the combined signal changes significantly after switching from state 1 to state 2, so as to accurately test the phase switching stable time.

[0045] The test method provided by the embodiments of the present disclosure is as Figure 8 shown, in combination with the test platform as Figure 1A shown, this method includes: Step S101, traverse and assign values to the first register and / or the second register to change the phase shift of the first phase shifter and / or the second phase shifter; wherein, the value range of the traverse assignment depends on the phase adjustment range of the phase shifter; Step S102, at each assignment, obtain the value of the detected signal. The detected signal is the voltage signal extracted by the detector 140 after the two radio frequency signals are vectorially superimposed by the combiner 130; in addition, the value of the detected signal can also be read out by the oscilloscope 150; the value of the detected signal can be understood as the amplitude of the detected signal, which can reflect the amplitude of the combined signal; Step S103, take the value of the first register and / or the second register when the detected signal is the largest or the smallest (the maximum or minimum value can be determined by the reading of the oscilloscope 150) as the initial value; when the detected signal is the largest, the phases of the two radio frequency signals are the same; when the detected signal is the smallest, the phases of the two radio frequency signals are opposite; when the detected signal is the largest or the smallest, the amplitude of the combined signal is the largest or the smallest, which means that the amplitude of the detected signal reaches the preset extreme value (the maximum or the minimum value), and this is used as the basis for testing the phase switching stable time, which helps the amplitude of the detected signal to change significantly; Step S104: Based on the initial value, the control module 160 sends a trigger signal to the DUT 110 to change the values of the first register and / or the second register, so that the signal combined by the combiner 130 is phase-shifted by 180° relative to the initial value. Meanwhile, a trigger signal is sent to the oscilloscope, and the oscilloscope can display the rising edge or the falling edge of the trigger signal. The signal combined by the combiner 130 being phase-shifted by 180° relative to the initial value includes two cases: when the two RF signals change from being in the same phase to being in the opposite phase, the detected signal changes from the maximum to the minimum, showing an obvious change; or when the two RF signals change from being in the opposite phase to being in the same phase, the detected signal changes from the minimum to the maximum, showing an obvious change. Step S105: Obtain the change time of the trigger signal and the change time of the detected signal from the oscilloscope 150; the change time of the trigger signal can be the occurrence time of the rising edge or the falling edge of the trigger signal, such as 50% of the rising / falling edge of the trigger signal; the change time of the detected signal can be the time when the value of the detected signal changes to a certain degree, such as 90%, 95% or 99% of the rising / falling edge of the detected signal.

[0046] Step S106: Based on the difference between the change time of the trigger signal and the change time of the detected signal, obtain the phase switching stabilization time.

[0047] In the embodiment of the present disclosure, before performing the phase switching stabilization time test, the combinations of the register values of the RF channel CH1 and the RF channel CH2 are traversed first to find the minimum or maximum value of the amplitude after the vector addition of the two signals, and the values of the PS registers of the two channels at this time are recorded as the "initial value".

[0048] When the PS register of one of the RF channels starts to be phase-shifted based on the "initial value" at this time, the combined output will increase significantly or decrease significantly, and the difference in the detected signal levels before and after the trigger signal is relatively large on the oscilloscope, meeting the test requirements for the PS phase switching stabilization time, and the change time of the trigger signal and the change time of the detected signal can be accurately found, so as to obtain the accurate phase switching stabilization time.

[0049] Here, traversing and assigning values means changing the value of at least one of the first register and the second register each time, thereby changing the phase shift value of the first phase shifter or the second phase shifter, and changing the register values multiple times. It can be understood that the set value of each register corresponds to the phase shift value of the phase shifter. The register values can include a preset number of different values, and each value can correspond to a different phase. The number of register values can be set according to the phase shift accuracy requirements. When the number of register values is small, the phase shift accuracy is low. When the number of register values is large, the phase shift accuracy can be high. It should be noted that the correspondence between the register value and the phase can be linear, non-linear or irregular, as long as the phase corresponding to each value is clear, and when performing phase shift, the value of the register can be modified to the value corresponding to the required phase through a trigger signal.

[0050] In addition, the above traversing and assigning values can be traversing all possible amplitudes of the register, or only traversing some of the set values, or when the register value that meets the conditions is traversed, the traversing of other assignments is stopped.

[0051] Since in the initial state, the correspondence between the register value and the phase is unknown, as Figure 9A shown, the current state is set to state 0 here. This is the non-ideal situation after powering on the component to be measured. The amplitudes and phases of the radio frequency channel CH1 and the radio frequency channel CH2 are uncertain. For the sake of simplicity of description, it is assumed that the amplitudes of the radio frequency channel CH1 and the radio frequency channel CH2 are the same and the phases are different. Exemplarily, as Figure 9A in the case, the register value is an integer, and different numbers correspond to different phases. Exemplarily, the register can include 64 values from 0 to 63, corresponding to 64 different phases. In the default state, the register value of the radio frequency channel CH1 is PS = 0, and the actual signal is 1∠45°. The register state of the radio frequency channel CH2 is PS = 0, and the actual signal is 1∠90°. At this time, the combined output is 0.77∠-22.5°.

[0052] In the embodiments of the present disclosure, through the above step S101, the first register and / or the second register are traversed and assigned values, and after each assignment, the value of the detected signal is obtained through the above step S102 to determine the combined output situation. It should be noted that the above step S101 and step S102 are alternately performed repeatedly, or can be understood as being executed multiple times simultaneously, and are not executed in the order of the step numbers. The above order of each step number is only for convenience of description and does not limit the execution order of the method.

[0053] Then, by traversing the values, the phase state that meets the requirements is found and used as the calibrated initial state, as Figure 9BThe state 1 shown, namely the above-mentioned step S103. Exemplarily, in the embodiments of the present disclosure, the maximum or minimum value of the detection signal can be used as the calibrated initial value. In this way, the most obvious test effect can be obtained during subsequent tests. Then, enter the test process and execute step S104. Based on the initial value obtained after calibration corresponding to state 1, change the values of the first register and / or the second register again, so that the first phase shifter and / or the second phase shifter are phase-shifted by 180° relative to the initial value.

[0054] For example, in the case of state 1, the detection signal is the minimum value. At this time, the amplitude of the output signal of the combiner 130 is 0, as Figure 9B shown. At this time, the register value of the radio frequency channel CH1 is PS = 55, and the register value of the radio frequency channel CH2 is PS = 47. At this time, the phase of the radio frequency channel CH1 is 0°, the phase of the radio frequency channel CH2 is 180°, and the combined output bit 0 negative slope detection level is the largest (the positive slope detection level is the smallest). It can be seen that the phase of the radio frequency channel CH2 is switched from 90° to 180°, and the register value changes from 0 to 47. It should be noted that the register values here are only examples. In actual applications, the register value setting ranges and corresponding phases of different products are different.

[0055] During the test process, taking the above state 1 as the initial state, maintain the register setting value of the radio frequency channel CH1 as PS = 55. And send a trigger signal to switch the register value of the radio frequency channel CH2. Exemplarily, as Figure 9C shown in state 2, set the register value to PS = 15, so that the phase of the radio frequency channel CH2 is switched from 180° to 0°, and the combined output is 2∠0°, and the negative slope detection level is the smallest (the positive slope detection level is the largest).

[0056] It should be noted that the phase shift of the combined signal by 180° relative to the initial value proposed in the present disclosure can be understood as approximately 180°. Due to the influence of the phase shift value accuracy of the register setting, it may not be possible to achieve an accurate phase shift of 180° by adjusting the register value through the drive signal. Therefore, the phase shift from state 1 to state 2 can also be a phase shift slightly greater than or slightly less than 180°, such as a phase shift of 179° or 181°, or even 175°, 170°, 165°, 185°, etc. As long as it meets the phase shift range that can clearly detect the phase switching stable time, it is acceptable.

[0057] In addition, a 180° phase shift can be achieved by fixing one channel and phase-shifting the other channel. For example, fix the RF channel CH1 and phase-shift the RF channel CH2 by 180°; or fix the RF channel CH2 and phase-shift the RF channel CH1 by 180°. In addition, it is also possible to phase-shift both the RF channel CH1 and the RF channel CH2 so that the combined signal of the two is phase-shifted by 180° in total. For example, the RF channel CH1 is phase-shifted by -90° and the RF channel CH2 is phase-shifted by 90°; or the RF channel CH1 is phase-shifted by 100° and the RF channel CH2 is phase-shifted by 80°, and so on.

[0058] In this way, in the embodiment of the present disclosure, by finding the initial value to make the detected signal maximum or minimum, at this time, the phase shifts of the first phase shifter and the second phase shifter differ by 0° or 180°, so that the amplitude of the detected signal reaches a preset extreme value (maximum or minimum value), which can be used as the basis for subsequent comparison; Based on the initial value, control the values of the first register and / or the second register to be phase-shifted by 180° relative to the initial value, and the detected signal changes from the maximum value to the minimum value, or from the minimum value to the maximum value. Therefore, compared with the initial value, the amplitude change of the detected signal is obvious, and there is a large enough voltage difference, so that the rising / falling edge of the detected signal can be accurately identified, improving the accuracy of the phase switching stability time test.

[0059] In addition, in this solution, the registers are sequentially assigned values to determine the initial value, and the register values when the detected signal is maximum or minimum can be accurately found, avoiding the phase error that occurs when the first phase shifter and the second phase shifter have different register values, and further improving the test accuracy.

[0060] In some embodiments, the step of traversing and assigning values to the first register and / or the second register includes: Traverse all the values of the first register; For each value of the first register, traverse all the values of the second register.

[0061] Exemplarily, assume that the first phase shifter or the second phase shifter is a 6-bit digital phase shifter, and 2 6 register numerical values correspond to 64 different phases. Exemplarily, the register values can be consecutive values from 0 to 63.

[0062] First, fix the RF channel CH1, that is, the value of the first register, traverse all the register values of the RF channel CH2, record the detected voltage of the combined output RF signal on the oscilloscope, and obtain 64 groups of detected voltages.

[0063] Then, increment the register value of RF channel CH1 by 1, and traverse all the register values of RF channel CH2 again, recording the detected voltage of the combined output RF signal read on the oscilloscope. In this way, for each of the 64 values of RF channel CH1, all 64 values of RF channel CH2 are traversed, until all situations are traversed. In this case, a total of 64 × 64 = 4096 situations are traversed.

[0064] Among the 4096 detected levels, find the situation where the RF combined output of RF channel CH1 and RF channel CH2 is the smallest as the initial register value.

[0065] Exemplarily, the specific traversal process can be referred to as Figure 10 the process shown.

[0066] Here, it is described in combination with Figure 1A the control program of the control module 160 in the platform shown: Step S201: Determine that the value of the first register in RF channel CH1 is PS = i, and the value of the second register in RF channel CH2 is PS = j, and i = j = 0; That is, initialize the register assignment data of the control module 160 for RF channel CH1 and RF channel CH2.

[0067] Step S202: Write the register value i into RF channel CH1 and the register value j into RF channel CH2, read the detected voltage on the oscilloscope, and record it as V_PSi_PSj; After providing the initialized values to the first register and the second register, the first phase shifter and the second phase shifter both output corresponding phase shift signals. After being combined by the combiner 130, they are output to the detector 140. The detector 140 converts the RF signal into a DC detected signal and reads it out by the oscilloscope 150.

[0068] Step S203: Determine whether all the register values of RF channel CH2 have been traversed. If so, enter step S204; if not, set j = j + 1 and enter step S202; In this step, the control module 160 can determine whether the traversal is completed according to all the preset values of j that need to be traversed, or the preset maximum value of j, and determine whether the current j is equal to the maximum value. If so, it proves that the traversal is completed.

[0069] Step S204: Determine whether all the register values of RF channel CH1 have been traversed. If so, enter step S205; if not, set i = i + 1 and enter step S202; In this step, the control module 160 can also determine whether the traversal is completed according to all the preset values of i to be traversed, or the preset maximum value of i, and determine whether the current j is equal to the maximum value. If so, it proves that the traversal is completed.

[0070] Step S205: Among all 4096 cases of detection voltages from V_PS0_PS0 to V_PS63_PS63, find the maximum or minimum value, and record the register values of the radio frequency channel CH1 and the radio frequency channel CH2 at this time as the initial values: PS_init1 and PS_init2.

[0071] The control module 160 can be used to read and compare multiple values of the oscilloscope, or the oscilloscope 150 can compare multiple values until the maximum or minimum value is found.

[0072] It can be seen that by sequentially assigning values to the registers in this solution, automated testing can be achieved, and the fast initial phase optimization is realized using an algorithm, which maximally improves the test efficiency while ensuring accuracy.

[0073] In some embodiments, the step of traversing and assigning values to the first register and / or the second register includes: Fix the value of the first register and traverse all the values of the second register; Or, fix the value of the second register and traverse all the values of the first register.

[0074] For the convenience of comparison and description, it is still assumed here that the first phase shifter or the second phase shifter is a 6-bit digital phase shifter, and 2 6 register values correspond to 64 different phases. Exemplarily, the register values can be consecutive values from 0 to 63.

[0075] In this solution, it is possible to only traverse all the values of the registers in one channel and fix the other channel, that is, adopt single-channel initial value optimization and calibration. For example, fix the register value in the radio frequency channel CH1 and traverse all the register values of the radio frequency channel CH2, and record a total of 64 cases of the detected voltage of the combined RF output signal read by the oscilloscope. Among the 64 detected levels, find the case where the combined RF output of the radio frequency channel CH1 and the radio frequency channel CH2 is the smallest as the initial register value.

[0076] Exemplarily, the above traversal process can refer to the Figure 11 flow shown.

[0077] Step S301: Determine that the value of the first register PS in the radio frequency channel CH1 is 0, the value of the second register PS in the radio frequency channel CH2 is i, and set i = 0; That is, the register value is initialized. The fixed register value of radio frequency channel CH1 is 0, so a radio frequency signal with a fixed phase is output.

[0078] Step S302: Write the value i into the register in radio frequency channel CH2, read the detected voltage on the oscilloscope, and record it as V_PSi. Similarly, the register value is provided to the corresponding register for assignment, so that radio frequency channel CH2 outputs a corresponding radio frequency signal. After being combined with the radio frequency channel CH1 with a fixed phase by combiner 130, it is provided to detector 140, and the detected signal, that is, the above-mentioned detected voltage V_PSi, is read out through oscilloscope 150.

[0079] Step S303: Determine whether all register values of radio frequency channel CH2 have been traversed. If so, enter step S304; if not, set i = i + 1 and enter step S302. Here, the maximum value of i or all i values to be traversed can be preset by the control module, and then it can be determined whether the traversal is completed.

[0080] Step S304: Among all 64 cases of the detected voltages V_PS0 to V_PS63, find the maximum value or the minimum value, and record the register value of radio frequency channel CH2 at this time as the initial value: PS_init2 (in addition, the initial value of radio frequency channel CH1 is still 0).

[0081] In this step, the control module 160 can also be used to read each detected voltage, or the oscilloscope 150 itself can be used to compare each detected voltage to find the maximum value or the minimum value.

[0082] This method only needs to traverse the values of one register, which can effectively reduce the number of traversals of the register values, significantly shorten the test time, and improve the test efficiency.

[0083] In some embodiments, the step of traversing and assigning values to the first register and / or the second register includes: sequentially assigning 3 consecutive values to the first register or the second register. In each assignment, the step of obtaining the value of the detected signal includes: obtaining 3 detected signals corresponding to 3 consecutive values. The step of traversing and assigning values to the first register and / or the second register further includes: Judging whether the magnitude of the middle detected signal is the maximum value or the minimum value among the 3; If not, sequentially step 3 consecutive values and sequentially assign them to the first register or the second register; If so, stop changing the assignment of the first register and the second register.

[0084] Here, by finding the extreme points, the maximum or minimum value of the detected signal is quickly found. Since the correspondence between the values of the registers and the phase can be regular, if the middle value among three consecutive detected signals is the maximum or minimum value, then this value can be determined as the maximum or minimum value among all possible detected signals. If, among the detected signals corresponding to three consecutive values, the first or the third detected signal is the maximum or minimum value, it indicates that the detected signal corresponding to the value will continue to rise or fall. Therefore, the detected signals corresponding to these three consecutive values at this time cannot be considered as the maximum or minimum value, and one value needs to be shifted, and the next set of three consecutive values is taken for detection.

[0085] Still assume that the first phase shifter or the second phase shifter is a 6-bit digital phase shifter, and 2 6 register values correspond to 64 different phases. Exemplarily, the register values can be consecutive values from 0 to 63. At this time, the value of one register can be fixed, and the values of the other register can be traversed.

[0086] Exemplarily, for the first time, register values 0, 1, and 2 are selected, and the corresponding detected signals are obtained. If the values of these three detected signals increase or decrease in sequence, it indicates that the maximum or minimum value has not been found. Then continue to select the case where the register values are 1, 2, and 3, and obtain the corresponding detected signals. This continues until the case where the second detected signal among the three detected signals is the maximum or minimum value is found. It can be understood that the number of times of detection required in this way ranges from 1 to 63 times. For example, for the first detection, register values 0, 1, and 2 are selected, and when the register value is 1, the value of the detected signal is the largest or the smallest. Then the detection can be stopped at this time, and the case where the register value is 1 is set as the initial value. If the maximum or minimum value of the middle detected signal is not found after multiple detections, and when the last group, such as register values 61, 62, and 63, is detected and still not found, it indicates that when the register value is 0 or 63, the detected signal is the maximum or minimum value, that is, the detected signal increases or decreases monotonically as the register value increases. Therefore, in this case, one of the register values 0 or 63 can be selected as the initial value of this register.

[0087] To further simplify the algorithm, the idea of the dichotomy method can be utilized. Start the detection from the middle value of the register and traverse sequentially in one direction of decreasing or increasing. For the sake of illustration, here it is assumed that the value of the register ranges from -32 to 31, with 0 as the initial register value. Select three consecutive values, -1, 0, and 1, as the first group for detection. If the corresponding detection signals increase sequentially, it indicates that the maximum value is the voltage value of the detection signal corresponding to a certain value of the register ranging from 1 to 31, and the minimum value is the voltage value of the detection signal corresponding to a certain value of the register ranging from -32 to 0. On the contrary, if the corresponding detection signals decrease sequentially, it indicates that the minimum value is the voltage value of the detection signal corresponding to a certain value of the register ranging from 1 to 31, and the maximum value is the voltage value of the detection signal corresponding to a certain value of the register ranging from -32 to 0.

[0088] According to the slope of the detector, the maximum or minimum value can be selected as the initial value. For example, if the detector is a negative slope detector, the initial value can be determined according to the maximum value; if the detector is a positive slope detector, the initial value can be determined according to the minimum value. In fact, the negative slope detector can also use the minimum value, and the positive slope detector can also use the maximum value, but the effect of detecting the obviousness may be slightly inferior, but it does not affect the detection of the subsequent phase switching stable time.

[0089] It can be seen that the above process only needs to traverse sequentially forward or backward. Therefore, it only needs to traverse 32 times at most to find the maximum or minimum value, which can reduce the detection times and improve the efficiency compared with the above several methods.

[0090] In some embodiments, when determining whether the size of the middle detection signal is the maximum among the three, the step of stepping three consecutive values sequentially includes: If the three consecutive detection signals decrease sequentially, the three consecutive values step in the decreasing direction; If the three consecutive detection signals increase sequentially, the three consecutive values step in the increasing direction.

[0091] In some embodiments, the step of using the value of the register when the detection signal is the largest or smallest as the initial value includes: using the middle value of the three consecutive values when the assignment stops as the initial value.

[0092] When starting the test, record the value of the PS register as i. First, test the three cases of PS = i - 1 / i / i + 1, and determine whether the value of the register at this time is in the combined output decreasing interval / the combined output increasing interval / the extreme value (the choice of the maximum value or the minimum value can be determined according to the slope of the detector); If it is in the combined output decreasing / increasing interval, the value of i moves towards the peak direction until the detection voltage is at the peak when a certain value of i is taken.

[0093] Exemplarily, the above traversal process can refer to the process as shown in Figure 12 the following figure, and here we take finding the maximum value as an example for illustration.

[0094] Step S401: Set i = 0; set the register value of radio frequency channel CH1 to 0; That is, the register values of radio frequency channel CH1 and radio frequency channel CH2 are initialized through control module 160.

[0095] Step S402: Write the register values of radio frequency channel CH2 as i - 1, i, and i + 1 in sequence, read the detected voltage on the oscilloscope, and record it as V_PSi - 1, V_PSi, V_PSi + 1; Exemplarily, in the first group of detections, when i = 0, the register values of radio frequency channel CH2 are set to -1, 0, and 1 in sequence, so as to obtain the degrees of 3 detected voltages.

[0096] Step S403: Compare the 3 groups of corresponding detected signal levels: judge what kind of situation the levels meet: if V_PSi - 1 > V_PSi > V_PSi + 1 is satisfied, then set i = i - 1 and enter step S404; if V_PSi - 1 < V_PSi < V_PSi + 1 is satisfied, then set i = i + 1 and enter step S405; if V_PSi - 1 < V_PSi > V_PSi + 1 is satisfied, then enter step S406; Step S404: Write the PS register value of radio frequency channel CH2 as i - 1, read the detected voltage on the oscilloscope, and record it as V_PSi - 1; That is, judge the change trend of the detected level with the register value through 3 groups of detected signals, so as to judge whether the maximum or minimum value is in the direction of increasing i or decreasing i.

[0097] Step S405: Write the PS register value of radio frequency channel CH2 as i + 1, read the detected voltage on the oscilloscope, and record it as V_PSi + 1; Step S406: The current detected level is the maximum value, and record the register value of radio frequency channel CH2 at this time as the initial value: PS_init2.

[0098] If the middle one of the 3 groups of detected levels is the maximum or minimum value, the detection can be stopped.

[0099] It should be noted that for the above step 403, there is another possible situation: V_PSi - 1 > V_PSi < V_PSi + 1, that is, the middle value is the smallest. At this time, the maximum value may be in the direction of decreasing the register value or in the direction of increasing the register value. In order to further simplify the test process and reduce the number of traversals, the current register value can also be selected as the initial value, that is, the register value corresponding to the minimum detected voltage is used as the initial value.

[0100] In some embodiments, when determining whether the magnitude of the intermediate detection signal is the minimum among three, the step of sequentially stepping three consecutive values includes: If the three consecutive detection signals decrease in sequence, the three consecutive values step in the increasing direction; If the three consecutive detection signals increase in sequence, the three consecutive values step in the decreasing direction.

[0101] Here, taking the example of finding the minimum value of the detection voltage, similar to the process shown above, the stepping direction is opposite, and the specific process can be referred to the above for understanding. Figure 12 shown process, the stepping direction is opposite, and the specific process can be referred to the above for understanding. Figure 12 Understanding.

[0102] In some embodiments, the method further includes: If the magnitude of the detection signal in the middle among the three detection signals is the maximum or minimum among the three, it is determined whether the differences between the intermediate detection signal and the detection signals on both sides are both greater than a preset value; If not, continue to step three consecutive values; If so, stop changing the assignments of the first register and the second register.

[0103] For the method of comparing three detection signals each time in the above embodiments, if the slope of the detector is small, it may lead to incorrect judgments due to slight fluctuations or errors in the detection signals. For example, when it is detected that among the three detection signals, the second detection voltage is the largest, in fact, it is caused by fluctuations in the detection signal and is not the true maximum value. Therefore, here, by setting a preset value and adding the above step of comparing the differences in detection voltages when finding that the intermediate value is the maximum or minimum. If the difference between the second and the first detection voltages is greater than the preset value, and the difference between the second and the third detection voltages is also greater than the preset value, it can be considered that the current is not a detection result affected by interference but the true maximum value; on the contrary, if the difference between the second and the first detection voltages is less than the preset value, and / or the difference between the second and the third detection voltages is less than the preset value, it is considered that the current result is an incorrect result, and it is necessary to continue stepping and perform the next round of detection.

[0104] When the i value is selected as the minimum value of the combination of radio frequency channel CH1 and radio frequency channel CH2 (the detection voltage is the maximum or minimum), at this time, the level differences between V_PSi and V_PSi-1, V_PSi+1 are large and much larger than other register values, which is determined by the characteristics of the detector itself: even when the input power is 0, there is still a detection level output.

[0105] Therefore, the new solution introduces a decision level difference threshold V_threshold. If |V_PSi–V_PSi-1| and |V_PSi–V_PSi+1| are less than this threshold, it indicates that the current register value is in the interval with a smaller power / detection voltage. Therefore, the previous cycle is executed (i=i+1 / i=i-1); If |V_PSi–V_PSi-1| and |V_PSi–V_PSi+1| are greater than this threshold, when the current register value is such that the combination of the two channels is minimized, the register value at this time is used as the initial value of the PS register of the radio frequency channel CH2.

[0106] Exemplarily, the above traversal process can refer to, for example Figure 13 the process shown in the figure. Here, finding the maximum value is used as an example for illustration.

[0107] Step S501: Set the threshold value (i.e., the preset value in the above embodiment): Vth, and set i = 0; the register value of the radio frequency channel CH1 is set to 0; that is, perform initialization settings, fix the register value of the radio frequency channel CH1 to 0, and initialize the register value of the radio frequency channel CH2 to 0.

[0108] Step S502: Write the register values of i-1, i, and i+1 into the radio frequency channel CH2 in sequence, read the detection voltage on the oscilloscope, and record it as V_PSi-1, V_PSi, V_PSi+1; This step is the same as step 402 above.

[0109] Step S503: Compare the three groups of corresponding detection signal levels: Determine which situation the levels meet: If V_PSi-1>V_PSi>V_PSi+1 is satisfied, then set i = i-1 and enter step S504; if V_PSi-1<V_PSi<V_PSi+1 is satisfied, then set i = i+1 and enter step S505; if V_PSi-1<V_PSi>V_PSi+1 or V_PSi-1>V_PSi<V_PSi+1 is satisfied, then enter step S506; This step is the same as step 403 above.

[0110] Step S504: Write the PS register value of the radio frequency channel CH2 into i-1, read the detection voltage on the oscilloscope, and record it as V_PSi-1; Step S505: Write the PS register value of the radio frequency channel CH2 into i+1, read the detection voltage on the oscilloscope, and record it as V_PSi+1; Step S506: Determine whether |V_PSi - V_PSi-1| > Vth and |V_PSi - V_PSi+1| > Vth are satisfied. If satisfied, proceed to Step S507; if not, repeat the above Steps S502 and S503 with the current register value.

[0111] The judgment of the threshold value is added here, so as to reduce the detection errors caused by signal fluctuations.

[0112] Step S507: The current detected level is the maximum value, and the register value of the radio frequency channel CH2 at this time is recorded as the initial value: PS_init2.

[0113] In this way, by introducing the decision level difference threshold: judge whether the difference between the detected signal in the middle and the detected signals on both sides is greater than the preset value. When the difference between the detected signal in the middle and the detected signals on both sides is greater than the preset value, the initial value is confirmed, avoiding the test errors caused by the noise on the oscilloscope link and further improving the reliability and stability of the test.

[0114] Based on the same inventive concept, the embodiments of the present disclosure further provide a control module 160, as Figure 14 shown, the control module 160 includes a processor 201 and a memory 202; The processor 201 is configured to execute the instructions stored in the memory 202, so that the control module 160 executes any of the above test methods, for example Figures 8 to 13 any of the test methods in.

[0115] Here, the control module can be a hardware module or a software module, and can be a module set in certain detection devices or detection platforms, such as the above Figure 1A module, or can be a separate device, such as a computer.

[0116] Based on the same inventive concept, the embodiments of the present disclosure further provide a computer program product, including instructions, when the instructions are run on a computer, any of the above test methods is executed, for example Figures 8 to 13 any of the test methods in.

[0117] It should be understood that the "some embodiments", "one embodiment" or "an embodiment" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, the phrases "in one embodiment" or "in an embodiment" that appear throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present disclosure, the magnitude of the serial numbers of the respective processes does not imply the order of execution, and the order of execution of the respective processes should be determined by their functions and internal logics, and should not constitute any limitation to the implementation process of the embodiments of the present disclosure. The serial numbers of the embodiments of the present disclosure are only for description and do not represent the superiority or inferiority of the embodiments.

[0118] It should be noted that in this text, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising that element.

[0119] The above are only the implementation manners of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present disclosure can easily think of changes or substitutions, which should all be covered by the protection scope of the present disclosure.

Claims

1. A test method for the phase switching stable time, characterized in that The component under test includes a first radio frequency channel and a second radio frequency channel. The first radio frequency channel includes a first phase shifter and a first register, and the second radio frequency channel includes a second phase shifter and a second register; The test method includes: Traversing and assigning values to the first register and / or the second register to change the phase shift of the first phase shifter and / or the second phase shifter; At each assignment, obtaining the value of the detected signal, where the detected signal is obtained by detecting the signal output after combining the first radio frequency channel and the second radio frequency channel; Taking the value of the first register and / or the second register when the detected signal is maximum or minimum as the initial value; Based on the initial value, changing the value of the first register and / or the second register by a trigger signal to shift the combined signal by 180° relative to the initial value, and at the same time sending the trigger signal to an oscilloscope, where the oscilloscope is used to display the waveforms of the detected signal and the trigger signal; Obtaining the change time of the trigger signal and the change time of the detected signal from the oscilloscope; Based on the difference between the change time of the trigger signal and the change time of the detected signal, obtaining the phase switching stability time.

2. The method according to claim 1, wherein The step of traversing and assigning values to the first register and / or the second register includes: Traversing all values of the first register; For each value of the first register, traversing all values of the second register.

3. The method according to claim 1, characterized in that, The step of traversing and assigning values to the first register and / or the second register includes: Fixing the value of the first register and traversing all values of the second register; Or, fixing the value of the second register and traversing all values of the first register.

4. The method according to claim 1, characterized in that, The step of traversing and assigning values to the first register and / or the second register includes: sequentially assigning 3 consecutive values to the first register or the second register; The step of obtaining the value of the detected signal at each assignment includes: obtaining 3 detected signals corresponding to the 3 consecutive values; The step of traversing and assigning values to the first register and / or the second register further includes: Judging whether the size of the middle detected signal is the maximum or minimum among the 3; If not, then sequentially stepping the 3 consecutive values and sequentially assigning them to the first register or the second register; If so, then stop changing the assignment of the first register and the second register.

5. The method according to claim 4, wherein When judging whether the size of the middle detected signal is the maximum among the 3, the step of sequentially stepping the 3 consecutive values includes: If the 3 consecutive detected signals decrease in sequence, then the 3 consecutive values step in the decreasing direction; If the 3 consecutive detected signals increase in sequence, then the 3 consecutive values step in the increasing direction.

6. The method according to claim 4, characterized in that, When judging whether the size of the middle detected signal is the minimum among the 3, the step of sequentially stepping the 3 consecutive values includes: If the 3 consecutive detected signals decrease in sequence, then the 3 consecutive values step in the increasing direction; If the three consecutive detection signals increase in sequence, the three consecutive values step in the decreasing direction.

7. The method according to claim 4, wherein The step of using the value of the register when the detection signal is the largest or the smallest as the initial value includes: Using the middle value of the three consecutive values when the step of stopping the assignment is performed as the initial value.

8. The method according to claim 4, characterized in that The method further includes: If the magnitude of the detection signal in the middle among the three detection signals is the maximum or the minimum of the three, determine whether the differences between the detection signal in the middle and the detection signals on both sides are both greater than a preset value; If not, continue to step the three consecutive values; If so, stop changing the assignment to the first register and the second register.

9. A control module, characterized in that the control module includes a processor and a memory; the processor is configured to execute instructions stored in the memory, so that the control module executes the method according to any one of claims 1 to 8.

10. A computer program product, characterized in that it contains instructions that, when run on a computer, cause the method according to any one of claims 1 to 8 to be executed.

Citation Information

Patent Citations

  • Millimeter wave phase change detection method and system based on power synthesis efficiency theory

    CN113092876A

  • System and method for testing phase shift conversion time of multi-channel transmit-receive assembly

    CN114070433A

  • System and method for testing response time of liquid crystal phase shifter

    CN117761925A

  • Detecting circuit of frequency

    JP1990040569A

  • AGC apparatus and method in mobile-type broadcastingreceiver

    KR1020060057216A