A line loss measurement circuit and related devices

By using a combination of switching units and power detection units in the radio frequency signal transmission equipment, automated uplink and downlink line loss compensation measurement is achieved, which solves the problem of low manual line loss measurement efficiency and improves the accuracy and efficiency of measurement.

CN114624543BActive Publication Date: 2025-07-04FIBOCOM WIRELESS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210455296.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-24
Publication Date
2025-07-04
Estimated Expiration
2042-04-24

AI Technical Summary

Technical Problem

Existing equipment requires manual measurement of wire loss of RF cables before testing, resulting in low measurement efficiency and low accuracy.

Method used

A set of switching units is used to combine power detection units to realize uplink loss compensation and downlink loss compensation measurements of each channel of the radio frequency signal transmission device. Through switching of the switching unit and detection of the power detection unit, line loss measurement is automatically completed.

Benefits of technology

It improves the accuracy and efficiency of line loss measurement and is suitable for automated compensation in production line equipment testing environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114624543B_ABST
    Figure CN114624543B_ABST
Patent Text Reader

Abstract

The present application discloses a line loss measurement circuit and related devices, which are applied to the field of electronic power technology. The circuit includes: a switch unit and a power detection unit; wherein, the switch unit is configured to switch to the downlink power measurement mode according to a first control signal sent by the power detection unit, and the power detection unit is configured to detect a radio frequency signal sent by the radio frequency signal transmitting device in the downlink power measurement mode to obtain a downlink line loss compensation; the switch unit is configured to switch to the uplink power measurement mode according to a second control signal sent by the power detection unit, and the power detection unit is configured to obtain an uplink line loss compensation according to the downlink line loss compensation and detect a radio frequency signal sent by the radio frequency signal transmitting device in the uplink power measurement mode. This circuit can improve the accuracy and efficiency of line loss measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic power technology, and in particular, to a line loss measurement circuit and related devices. Background Art

[0002] Radio Frequency (RF) is an abbreviation for high-frequency alternating current changing electromagnetic waves, indicating electromagnetic frequencies that can be radiated into space, with a frequency range between 300 kHz and 300 GHz. Radio frequency cables generally need to undergo line attenuation loss measurement, abbreviated as line loss measurement or radio frequency cable insertion loss measurement. With the development of radio frequency wireless technology, radio frequency cables are increasingly widely used, and the requirements for line loss measurement of radio frequency cables are also getting higher and higher.

[0003] In the current equipment test environment, before testing, the line loss of the radio frequency test line needs to be measured manually, and the efficiency of line loss measurement is low, and the accuracy of line loss measurement is easily affected by manual misoperation. Summary of the Invention

[0004] Embodiments of this application provide a line loss measurement circuit and related devices, which can improve the accuracy and efficiency of line loss measurement.

[0005] In a first aspect, embodiments of this application provide a line loss measurement circuit, which includes:

[0006] A switch unit and a power detection unit;

[0007] Wherein, the first port of the switch unit is connected to the first radio frequency signal port of the radio frequency signal transmitting device, the second port of the switch unit is connected to the second radio frequency signal port of the radio frequency signal transmitting device, and the third port of the switch unit is connected to the first port of the power detection unit;

[0008] The switch unit is configured to switch to the downlink power measurement mode according to the first control signal sent by the power detection unit, and the power detection unit is configured to detect the radio frequency signal sent by the radio frequency signal transmitting device in the downlink power measurement mode to obtain downlink line loss compensation;

[0009] The switch unit is configured to switch to the uplink power measurement mode according to the second control signal sent by the power detection unit, and the power detection unit is configured to obtain uplink line loss compensation according to the downlink line loss compensation and detect the radio frequency signal sent by the radio frequency signal transmitting device in the uplink power measurement mode.

[0010] In the embodiments of the present application, a set of switching units are combined with a power detection unit to implement the measurement of uplink loss compensation and downlink loss compensation for each channel of a radio frequency signal transmitting device. Among them, the switching unit is composed of multiple groups of switch arrays, which are used to implement the power transmission of each channel and channel loopback. The power detection unit is used to detect the power transmission of each channel to obtain the uplink loss compensation and downlink loss compensation, which can be used for the automatic loss compensation of the production line equipment test environment, replacing the current manual method for measuring the loss of radio frequency test lines, and can improve the accuracy and efficiency of loss measurement. In a possible implementation manner, the switching unit includes:

[0011] a first switch, a second switch, and a third switch;

[0012] Among them, the first port of the first switch is connected to the first radio frequency signal port of the radio frequency signal transmitting device, the second port of the first switch is connected to the first port of the third switch, the third port of the first switch is connected to the second port of the second switch, the fourth port of the first switch is connected to the second radio frequency signal port of the radio frequency signal transmitting device, the first port of the second switch is connected to the fourth port of the third switch, and the second port of the third switch is connected to the first port of the power detection unit;

[0013] In the downlink power measurement mode, the first port of the first switch is connected to the third port of the first switch, the second port of the first switch is connected to the fourth port of the first switch, the first port of the second switch is connected to the second port of the second switch, and the fourth port of the third switch is connected to the second port of the third switch;

[0014] In the uplink power measurement mode, the first port of the first switch is connected to the third port of the first switch, the second port of the first switch is connected to the fourth port of the first switch, the first port of the second switch is connected to the second port of the second switch, and the fourth port of the third switch is connected to the first port of the third switch.

[0015] In the embodiments of the present application, by different connection methods of the respective ports of the first switch, the second switch, and the third switch, the downlink power measurement mode or the uplink power measurement mode can be correspondingly switched to implement the power transmission of each channel and channel loopback.

[0016] In a possible implementation manner, the power detection unit includes:

[0017] a logarithmic detector, an analog-to-digital converter ADC, and a microcontroller unit MCU;

[0018] Among them, the logarithmic detector is respectively connected to the switching unit and the ADC, the ADC is respectively connected to the logarithmic detector and the MCU, and the MCU is respectively connected to the switching unit and the ADC;

[0019] The logarithmic detector is used to detect the radio frequency signal sent by the radio frequency signal transmitting device and output an electrical signal. The ADC is used to convert the electrical signal into a digital signal. The MCU is used to generate a power signal according to the digital signal, and the power signal is used to obtain the uplink line loss compensation or the downlink line loss compensation.

[0020] In the embodiment of the present application, the power detection unit composed of a logarithmic detector, an ADC, and an MCU is used to detect the power transmission of each channel, obtain the uplink line loss compensation and the downlink line loss compensation, and can be used for the automatic line loss compensation in the production line equipment test environment. Instead of the current manual method for measuring the line loss of the radio frequency test line, it can improve the accuracy and efficiency of the line loss measurement.

[0021] In a possible implementation manner, the MCU is further used to send the first control signal to control the switching unit to switch to the downlink power measurement mode; or, the MCU is further used to send the second control signal to control the switching unit to switch to the uplink power measurement mode.

[0022] In the embodiment of the present application, the MCU controls the connection mode of each port of each switch in the switching unit through a control signal to realize the switching between the downlink power measurement mode and the uplink power measurement mode.

[0023] In a possible implementation manner, in the downlink power measurement mode during the self-calibration stage of the line loss measurement circuit, the switching unit is used to transmit the radio frequency signal sent by the radio frequency signal transmitting device to the power detection unit, and the power detection unit is used to detect the radio frequency signal to obtain a first power signal; wherein, the self-calibration stage is the measurement stage of the line loss measurement circuit after removing the radio frequency cable.

[0024] In a possible implementation manner, in the uplink power measurement mode during the self-calibration stage of the line loss measurement circuit, the switching unit is used to transmit the radio frequency signal sent by the radio frequency signal transmitting device back to the radio frequency signal transmitting device, and the power detection unit is used to detect the radio frequency signal to obtain a second power signal.

[0025] In a possible implementation manner, in the downlink power measurement mode of the line loss measurement circuit during the line loss measurement phase, the switching unit is used to transmit the radio frequency signal sent by the radio frequency signal transmitting device to the power detection unit, and the power detection unit is used to detect the radio frequency signal to obtain a third power signal; wherein, the line loss measurement phase is the measurement phase of the line loss measurement circuit after adding a radio frequency cable.

[0026] The power detection unit obtains the downlink line loss compensation according to the first power signal and the third power signal.

[0027] In a possible implementation manner, in the uplink power measurement mode of the line loss measurement circuit during the line loss measurement phase, the switching unit is used to transmit the radio frequency signal sent by the radio frequency signal transmitting device back to the radio frequency signal transmitting device, and the power detection unit is used to detect the radio frequency signal to obtain a fourth power signal.

[0028] The power detection unit obtains the uplink line loss compensation according to the second power signal, the fourth power signal, and the downlink line loss compensation.

[0029] In a second aspect, an embodiment of the present application provides a line loss measurement device, which includes a power supply, a chip, and the line loss measurement circuit according to any one of the first aspect and the corresponding implementation manners above.

[0030] In a possible implementation manner, the line loss measurement device further includes a radio frequency signal transmitting device, and the radio frequency signal transmitting device is directly connected to the line loss measurement circuit, or the radio frequency signal transmitting device is connected to the line loss measurement circuit through a radio frequency cable.

[0031] In a possible implementation manner, the line loss measurement circuit includes:

[0032] A switching unit and a power detection unit;

[0033] Wherein, the first port of the switching unit is connected to the first radio frequency signal port of the radio frequency signal transmitting device, the second port of the switching unit is connected to the second radio frequency signal port of the radio frequency signal transmitting device, and the third port of the switching unit is connected to the first port of the power detection unit;

[0034] The switching unit is used to switch to the downlink power measurement mode according to the first control signal sent by the power detection unit, and the power detection unit is used to detect the radio frequency signal sent by the radio frequency signal transmitting device in the downlink power measurement mode to obtain the downlink line loss compensation.

[0035] The switch unit is used to switch to the uplink power measurement mode according to the second control signal sent by the power detection unit. The power detection unit is used to obtain the uplink line loss compensation according to the downlink line loss compensation and detect the radio frequency signal sent by the radio frequency signal transmitting device in the uplink power measurement mode.

[0036] Regarding the technical effects brought by the second aspect and any possible implementation manners, reference may be made to the introduction of the technical effects corresponding to the first aspect and the corresponding implementation manners.

[0037] In the embodiments of the present application, a group of switch units are combined with a power detection unit to implement uplink line loss compensation measurement and downlink line loss compensation measurement for each channel of the radio frequency signal transmitting device, which can be used for automatic line loss compensation in the production line equipment test environment, replacing the current manual method for line loss measurement of the radio frequency test line, and can improve the accuracy and efficiency of line loss measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. Obviously, the following described drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.

[0039] Figure 1 It is a schematic structural diagram of a line loss measurement circuit provided by an embodiment of the present application;

[0040] Figure 2 It is a schematic structural diagram of a line loss measurement circuit provided by an embodiment of the present application;

[0041] Figure 3 It is a schematic structural diagram of a line loss measurement circuit provided by an embodiment of the present application;

[0042] Figure 4 It is a schematic diagram of control signals of a line loss measurement circuit provided by an embodiment of the present application;

[0043] Figure 5 It is a schematic structural diagram of a line loss measurement device provided by an embodiment of the present application;

[0044] Figure 6 It is a schematic structural diagram of a line loss measurement device provided by an embodiment of the present application;

[0045] Figure 7 It is a schematic flow diagram of line loss compensation provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0046] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described below in conjunction with the accompanying drawings in the embodiments of this application.

[0047] In the description of this application, the terms "first", "second", etc. in the specification, claims, and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device, etc. that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices, etc.

[0048] The "embodiments" mentioned herein mean that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art can explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0049] It should be understood that in this application, "at least one (item)" means one or more, "a plurality" means two or more, "at least two (items)" means two or three or more, and "and / or" is used to describe the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (one) of the following" or a similar expression means any combination of these items, including any combination of single items (ones) or plural items (ones). For example, at least one (one) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0050] This application provides a line loss measurement circuit. To describe the solution of this application more clearly, some knowledge related to line loss measurement will be introduced first below.

[0051] Radio frequency: It is an abbreviation for a high-frequency alternating current changing electromagnetic wave, indicating an electromagnetic frequency that can be radiated into space, with a frequency range between 300 kHz and 300 GHz. An alternating current that changes less than 1000 times per second is called a low-frequency current, and a current that changes more than 10000 times is called a high-frequency current, and radio frequency is such a high-frequency current.

[0052] Line loss measurement: Radio frequency cables generally need to undergo line attenuation loss measurement, abbreviated as line loss measurement or radio frequency cable insertion loss measurement.

[0053] Logarithmic detector: It is a device that detects certain useful information in a fluctuating signal. A device used to identify the presence or change of a wave, oscillation, or signal. Detectors are usually used to extract the information carried. Detectors are divided into envelope detectors and synchronous detectors. The output signal of the former has a corresponding relationship with the envelope of the input signal and is mainly used for the demodulation of standard amplitude modulation signals. The latter is actually an analog multiplier. In order to obtain the demodulation effect, an oscillation signal (coherent signal) that is exactly the same as the carrier of the input signal needs to be added additionally. Synchronous detectors are mainly used for the demodulation of single-sideband amplitude modulation signals or vestigial sideband amplitude modulation signals.

[0054] Analog-to-digital converter (ADC): Usually refers to an electronic component that converts an analog signal into a digital signal. Usually, an analog-to-digital converter converts an input voltage signal into an output digital signal. Since the digital signal itself does not have practical significance and only represents a relative magnitude. Therefore, any analog-to-digital converter requires a reference analog quantity as the conversion standard, and a relatively common reference standard is the maximum convertible signal size. And the output digital quantity represents the size of the input signal relative to the reference signal.

[0055] Microcontroller unit (MCU): Also known as a single-chip microcomputer or microcontroller, it appropriately reduces the frequency and specifications of the central processing unit and integrates peripheral interfaces such as memory and counters on a single chip to form a chip-level computer for different combinations of control in different application scenarios. Such as mobile phones, remote controls, and even automotive electronics, industrial stepping motors, and the control of robotic arms, etc., all can see the figure of the MCU.

[0056] With the development of radio frequency wireless technology, radio frequency cables are more and more widely used, and the requirements for line loss measurement of radio frequency cables are also getting higher and higher. In the current equipment test environment, before testing, the line loss measurement of the radio frequency test line needs to be carried out manually. The efficiency of line loss measurement is relatively low, and it is easy to cause a relatively low accuracy of line loss measurement due to manual misoperation.

[0057] Aiming at the technical problem of relatively low efficiency of line loss measurement of radio frequency test lines by the above-mentioned manual method, this application provides a line loss measurement circuit and related devices, which use a group of switch units combined with a power detection unit to realize the uplink line loss compensation measurement and downlink line loss compensation measurement of each channel of the radio frequency signal transmitting device, and can be used for the automatic line loss compensation of the production line equipment test environment, replacing the current manual method for line loss measurement of radio frequency test lines, and can improve the accuracy and efficiency of line loss measurement.

[0058] The embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.

[0059] Please refer to Figure 1 , Figure 1 , which is a schematic structural diagram of a line loss measurement circuit provided by an embodiment of the present application.

[0060] As Figure 1 shown, the line loss measurement circuit described in the embodiments of the present application includes:

[0061] a switch unit 10 and a power detection unit 20;

[0062] Among them, the first port of the switch unit 10 is connected to the first radio frequency signal port of the radio frequency signal transmitting device, the second port of the switch unit 10 is connected to the second radio frequency signal port of the radio frequency signal transmitting device, and the third port of the switch unit 10 is connected to the first port of the power detection unit 20;

[0063] The switch unit 10 is used to switch to the downlink power measurement mode according to the first control signal sent by the power detection unit 20, and the power detection unit 20 is used to detect the radio frequency signal sent by the radio frequency signal transmitting device in the downlink power measurement mode to obtain the downlink line loss compensation;

[0064] The switch unit 10 is used to switch to the uplink power measurement mode according to the second control signal sent by the power detection unit 20, and the power detection unit 20 is used to obtain the uplink line loss compensation according to the downlink line loss compensation and detect the radio frequency signal sent by the radio frequency signal transmitting device in the uplink power measurement mode.

[0065] In the embodiments of the present application, the power detection unit controls the connection modes of the ports of each switch in the switch unit through control signals to switch to the downlink power measurement mode or the uplink power measurement mode, so that the radio frequency signal sent by the radio frequency signal transmitting device passes through the switch unit in the downlink power measurement mode and is transmitted to the power detection unit, and in the uplink power measurement mode, it is looped back and transmitted to the radio frequency signal transmitting device. The power detection unit obtains the corresponding power signal by detecting the radio frequency signal transmitted in the downlink power measurement mode, and obtains the corresponding power signal by detecting the radio frequency signal transmitted in the uplink power measurement mode. Finally, according to each power signal, the downlink line loss compensation and the uplink line loss compensation are obtained.

[0066] Through the embodiments of the present application, a set of switch units in combination with a power detection unit are adopted to achieve the measurement of uplink line loss compensation and downlink line loss compensation for each channel of a radio frequency signal transmission device. Among them, the switch unit is composed of multiple groups of switch arrays, which are used to realize the power transmission and channel loopback of each channel. The power detection unit is used to detect the power transmission of each channel to obtain the uplink line loss compensation and downlink line loss compensation, which can be used for the automatic line loss compensation in the production line equipment test environment, replacing the current manual method for line loss measurement of radio frequency test lines, and improving the accuracy and efficiency of line loss measurement.

[0067] Please refer to Figure 2 , Figure 2 which is a schematic structural diagram of another line loss measurement circuit provided by the embodiments of the present application.

[0068] As Figure 2 shown, the line loss measurement circuit described in the embodiments of the present application includes a switch unit 10 and a power detection unit 20, where:

[0069] The switch unit 10 includes a first switch 101, a second switch 102, and a third switch 103;

[0070] Among them, the first port of the first switch 101 is connected to the first radio frequency signal port of the radio frequency signal transmission device, the second port of the first switch 101 is connected to the first port of the third switch 103, the third port of the first switch 101 is connected to the second port of the second switch 102, the fourth port of the first switch 101 is connected to the second radio frequency signal port of the radio frequency signal transmission device, the first port of the second switch 102 is connected to the fourth port of the third switch 103, and the second port of the third switch 103 is connected to the first port of the power detection unit 20;

[0071] In the downlink power measurement mode, the first port of the first switch 101 is connected to the third port of the first switch 101, the second port of the first switch 101 is connected to the fourth port of the first switch 101, the first port of the second switch 102 is connected to the second port of the second switch 102, and the fourth port of the third switch 103 is connected to the second port of the third switch 103;

[0072] In the uplink power measurement mode, the first port of the first switch 101 is connected to the third port of the first switch 101, the second port of the first switch 101 is connected to the fourth port of the first switch 101, the first port of the second switch 102 is connected to the second port of the second switch 102, and the fourth port of the third switch 103 is connected to the first port of the third switch 103.

[0073] In the embodiments of the present application, after the switch unit receives the control signal sent by the power detection unit, each port of the multiple groups of switch arrays (the first switch, the second switch, and the third switch) included therein can be correspondingly switched to the downlink power measurement mode or the uplink power measurement mode through different connection methods, so that the radio frequency signal sent by the radio frequency signal transmitting device passes through the switch unit in the downlink power measurement mode and is transmitted to the power detection unit, and in the uplink power measurement mode, it is looped back to the radio frequency signal transmitting device through the switch unit.

[0074] Through the embodiments of the present application, by using different connection methods for each port of the first switch, the second switch, and the third switch, it can be correspondingly switched to the downlink power measurement mode or the uplink power measurement mode to achieve power transmission and channel loopback for each channel.

[0075] Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a line loss measurement circuit provided by the embodiments of the present application.

[0076] As Figure 3 shown, the line loss measurement circuit described in the embodiments of the present application includes a switch unit 10 and a power detection unit 20, where:

[0077] The power detection unit 20 includes a logarithmic detector 201, an ADC (202), and an MCU (203);

[0078] Among them, the logarithmic detector 201 is respectively connected to the switch unit 10 and the ADC (202), the ADC (202) is respectively connected to the logarithmic detector 201 and the MCU (203), and the MCU (203) is respectively connected to the switch unit 10 and the ADC (202);

[0079] The logarithmic detector 201 is used to detect the radio frequency signal sent by the radio frequency signal transmitting device and output an electrical signal, the ADC (202) is used to convert the electrical signal into a digital signal, and the MCU (203) is used to generate a power signal according to the digital signal, and the power signal is used to obtain uplink line loss compensation or downlink line loss compensation.

[0080] In addition, the MCU (203) is further used to send a first control signal to control the switch unit 10 to switch to the downlink power measurement mode; or, the MCU (203) is further used to send a second control signal to control the switch unit 10 to switch to the uplink power measurement mode. The MCU (203) controls the connection methods of each port of each switch in the switch unit 10 through the control signal to achieve the switching between the downlink power measurement mode and the uplink power measurement mode.

[0081] In the embodiments of the present application, the logarithmic detector can measure the RF power with frequencies ranging from 1 MHz to 8 GHz, and the measurement range is approximately 60 dB. The output of the detector is converted into digital quantity through an ADC. By using the calibration coefficients stored in the non-volatile memory inside the MCU, the digital code obtained from the ADC can be converted into the transmitted power reading.

[0082] Through the embodiments of the present application, the power detection unit composed of a logarithmic detector, an ADC, and an MCU is used to detect the power transmission of each channel, obtain the uplink loss compensation and the downlink loss compensation, which can be used for the automatic loss compensation of the production line equipment test environment. Instead of the current manual method for measuring the line loss of the RF test line, it can improve the accuracy and efficiency of the line loss measurement.

[0083] Exemplarily, the above control signal can refer to Figure 4 , Figure 4 which is a schematic diagram of the control signal of a line loss measurement circuit provided by the embodiments of the present application.

[0084] As Figure 4 shown, the control signal described in this embodiment is a square wave signal that alternates between high level and low level. The control signal can include transmission control commands, and can also include data segments or data blocks. In the control signal, "0" corresponds to the low level and "1" corresponds to the high level. Taking the control command as an example, the control signal is at the low level "0" in the first time period, at the high level "1" in the second time period, at the low level "0" in the third time period, at the low level "0" in the fourth time period, and at the high level "1" in the fifth time period. The sum of the durations of these five time periods can be regarded as a cycle, and the corresponding levels of these five time periods will repeat in the next cycle, which can be used to periodically transmit the same control command. It should be noted that the high level and low level in the control signal do not correspond to two specific numerical voltages, but correspond to two voltage ranges. The control signal described in this embodiment can be the first control signal and the second control signal in the line loss measurement circuit.

[0085] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of a line loss measurement device provided by the embodiments of the present application.

[0086] As Figure 5 shown, the line loss measurement device described in the embodiments of the present application includes a power supply, a chip, and the line loss measurement circuit as shown in any one of the above Figure 1 or Figure 2 or Figure 3 wherein:

[0087] The power supply is used to supply power to the chip and the line loss measurement circuit. The chip can be a chip integrated inside the line loss measurement circuit or an independent chip outside the line loss measurement circuit, and is used to control the signal flow direction of the line loss measurement circuit.

[0088] In a possible implementation, the line loss measurement device further includes a radio frequency signal transmission device, and the radio frequency signal transmission device is directly connected to the line loss measurement circuit through a front-end circuit, where:

[0089] The radio frequency signal transmission device can specifically be a comprehensive tester;

[0090] The radio frequency channel of the front-end circuit uses a 3dB π attenuation to ensure the stability of the 50ohm impedance at the input port after connecting an external radio frequency cable; at the same time, the π attenuation value can also be adjusted to optimize the dynamic range of the input power.

[0091] In a possible implementation, the line loss measurement circuit includes:

[0092] A switch unit 10 and a power detection unit 20;

[0093] Among them, the first port of the switch unit 10 is connected to the first radio frequency signal port of the radio frequency signal transmission device, the second port of the switch unit 10 is connected to the second radio frequency signal port of the radio frequency signal transmission device, and the third port of the switch unit 10 is connected to the first port of the power detection unit 20;

[0094] The switch unit 10 is used to switch to the downlink power measurement mode according to the first control signal sent by the power detection unit 20, and the power detection unit 20 is used to detect the radio frequency signal sent by the radio frequency signal transmission device in the downlink power measurement mode to obtain the downlink line loss compensation;

[0095] The switch unit 10 is used to switch to the uplink power measurement mode according to the second control signal sent by the power detection unit 20, and the power detection unit 20 is used to obtain the uplink line loss compensation according to the downlink line loss compensation and the radio frequency signal sent by the radio frequency signal transmission device in the uplink power measurement mode.

[0096] In a possible implementation, the switch unit 10 includes a first switch 101, a second switch 102, and a third switch 103;

[0097] Among them, the first port of the first switch 101 is connected to the first radio frequency signal port of the radio frequency signal transmitting device, the second port of the first switch 101 is connected to the first port of the third switch 103, the third port of the first switch 101 is connected to the second port of the second switch 102, the fourth port of the first switch 101 is connected to the second radio frequency signal port of the radio frequency signal transmitting device, the first port of the second switch 102 is connected to the fourth port of the third switch 103, and the second port of the third switch 103 is connected to the first port of the power detection unit 20.

[0098] In a possible implementation manner, the power detection unit 20 includes a logarithmic detector 201, an ADC (202), and an MCU (203);

[0099] Among them, the logarithmic detector 201 is respectively connected to the switch unit 10 and the ADC (202), the ADC (202) is respectively connected to the logarithmic detector 201 and the MCU (203), and the MCU (203) is respectively connected to the switch unit 10 and the ADC (202);

[0100] The logarithmic detector 201 is used to detect the radio frequency signal transmitted by the radio frequency signal transmitting device and output an electrical signal. The ADC (202) is used to convert the electrical signal into a digital signal. The MCU (203) is used to generate a power signal according to the digital signal, and the power signal is used to obtain uplink line loss compensation or downlink line loss compensation.

[0101] Specifically, the connection manner and signal flow direction between the modules or units inside the switch unit 10 and the power detection unit 20 can refer to the above Figure 1 or Figure 2 or Figure 3 , and will not be elaborated here.

[0102] Since Figure 5 the radio frequency signal transmitting device in is directly connected to the line loss measurement circuit through the front-end circuit. At this time, the line loss measurement circuit in the line loss measurement device is in the self-calibration stage, that is, the measurement stage of the line loss measurement circuit after removing the radio frequency cable.

[0103] In the downlink power measurement mode in the self-calibration stage, the first port of the first switch 101 is connected to the third port of the first switch 101, the second port of the first switch 101 is connected to the fourth port of the first switch 101, the first port of the second switch 102 is connected to the second port of the second switch 102, and the fourth port of the third switch 103 is connected to the second port of the third switch 103.

[0104] At this time, the RF signal emitted by the comprehensive tester is a fixed power G. It is emitted from the P1 port, enters the switch unit through the first RF signal port (RFIN1), and sequentially passes through the first port of the first switch, the third port of the first switch, the second port of the second switch, the first port of the second switch, the fourth port of the third switch, and the second port of the third switch inside the switch unit, and then is transmitted to the power detection unit. The power detection unit is used to detect the RF signal and obtain a first power signal with a power of G1.

[0105] In the uplink power measurement mode during the self-calibration phase, the first port of the first switch 101 is connected to the third port of the first switch 101, the second port of the first switch 101 is connected to the fourth port of the first switch 101, the first port of the second switch 102 is connected to the second port of the second switch 102, and the fourth port of the third switch 103 is connected to the first port of the third switch 103.

[0106] At this time, the RF signal emitted by the comprehensive tester is a fixed power G. It is emitted from the P1 port, enters the switch unit through the first RF signal port (RFIN1), and sequentially passes through the first port of the first switch, the third port of the first switch, the second port of the second switch, the first port of the second switch, the fourth port of the third switch, the first port of the third switch, the second port of the first switch, and the fourth port of the first switch inside the switch unit, and then is looped back and transmitted to the P2 port of the comprehensive tester through the second RF signal port (RFIN2). The power detection unit is used to detect the RF signal and obtain a second power signal with a power of G1#.

[0107] It can be obtained that the link loss value from the P1 port to the P2 port is: IL2 = G - G1#.

[0108] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a line loss measurement device provided by an embodiment of the present application.

[0109] As Figure 6 shown, the line loss measurement device described in the embodiment of the present application is similar to the line loss measurement device shown above Figure 5 shown. The difference is that the line loss measurement device in the embodiment of the present application further includes a RF cable. The RF signal transmitting device is connected to the front-end circuit through the RF cable, and thus is connected to the line loss measurement circuit.

[0110] Since Figure 6 the RF signal transmitting device in

[0111] In the downlink power measurement mode during the line loss measurement phase, the first port of the first switch 101 is connected to the third port of the first switch 101, the second port of the first switch 101 is connected to the fourth port of the first switch 101, the first port of the second switch 102 is connected to the second port of the second switch 102, and the fourth port of the third switch 103 is connected to the second port of the third switch 103.

[0112] At this time, the RF signal emitted by the comprehensive tester is a fixed power G. It is emitted from the P1 port, passes through the first RF cable (LINE1) and the first RF signal port (RFIN1) to enter the switch unit, and inside the switch unit, it sequentially passes through the first port of the first switch, the third port of the first switch, the second port of the second switch, the first port of the second switch, the fourth port of the third switch, the second port of the third switch, and then is transmitted to the power detection unit. The power detection unit is used to detect the RF signal and obtain a third power signal with a power of G11.

[0113] In the uplink power measurement mode during the line loss measurement phase, the first port of the first switch 101 is connected to the third port of the first switch 101, the second port of the first switch 101 is connected to the fourth port of the first switch 101, the first port of the second switch 102 is connected to the second port of the second switch 102, and the fourth port of the third switch 103 is connected to the first port of the third switch 103.

[0114] At this time, the RF signal emitted by the comprehensive tester is a fixed power G. It is emitted from the P1 port, passes through the first RF cable (LINE1) and the first RF signal port (RFIN1) to enter the switch unit, and inside the switch unit, it sequentially passes through the first port of the first switch, the third port of the first switch, the second port of the second switch, the first port of the second switch, the fourth port of the third switch, the first port of the third switch, the second port of the first switch, the fourth port of the first switch, and then is looped back through the second RF signal port (RFIN2) and the second RF cable (LINE2) to the P2 port of the comprehensive tester. The power detection unit is used to detect the RF signal and obtain a fourth power signal with a power of G11#.

[0115] It can be obtained that the link loss value from the P1 port looped back to the P2 port is: IL22 = G - G11#.

[0116] From the above Figure 5 and Figure 6 line loss measurements in the downlink power measurement mode, uplink power measurement mode, downlink power measurement mode, and uplink power measurement mode during the self - calibration phase and line loss measurement phase shown, the downlink line loss compensation corresponding to the first RF signal port (RFIN1) and the uplink line loss compensation corresponding to the second RF signal port (RFIN2) can be obtained.

[0117] For details, please refer to Figure 7 , Figure 7 which is a schematic diagram of the line loss compensation process provided by the embodiment of the present application.

[0118] As Figure 7 shown, since the RF signal emitted from the P1 port of the comprehensive tester is a fixed power G, in the downlink power measurement mode during the self-calibration stage, the power of the detected RF signal is G1; in the downlink power measurement mode during the line loss measurement stage, the power of the detected RF signal is G11. It can be obtained that the downlink line loss compensation corresponding to the first RF signal port (RFIN1) is: DL_LOSS1 = (G - G11) - (G - G1) = G1 - G11.

[0119] Since the RF signal emitted from the P1 port of the comprehensive tester is a fixed power G, in the uplink power measurement mode during the self-calibration stage, the power of the detected RF signal is G1#, and the link loss value from the P1 port looped back to the P2 port is IL2 = G - G1#; in the uplink power measurement mode during the line loss measurement stage, the power of the detected RF signal is G11#, and the link loss value from the P1 port looped back to the P2 port is IL22 = G - G11#. It can be obtained that the uplink line loss compensation corresponding to the second RF signal port (RFIN2) is: UL_LOSS2 = IL22 - IL2 - DL_LOSS1 = (G - G11#) - (G - G1#) - DL_LOSS1 = G1# - G11# - DL_LOSS1 = G1# - G11# - G1 + G11.

[0120] Similarly, the downlink line loss compensation corresponding to the second RF signal port (RFIN2) and the uplink line loss compensation corresponding to the first RF signal port (RFIN1) can be obtained. Specifically as follows:

[0121] Since the RF signal emitted from the P2 port of the comprehensive tester is a fixed power G, in the downlink power measurement mode during the self-calibration stage, the power of the detected RF signal is G2; in the downlink power measurement mode during the line loss measurement stage, the power of the detected RF signal is G22. It can be obtained that the downlink line loss compensation corresponding to the second RF signal port (RFIN2) is: DL_LOSS2 = (G - G22) - (G - G2) = G2 - G22.

[0122] Since the RF signal emitted from the P2 port of the synthesizer tester has a fixed power G, in the uplink power measurement mode during the self-calibration phase, when detecting the RF signal, the obtained power is G2#, and the link loss value from the P2 port looped back to the P1 port is IL1 = G - G2#; in the uplink power measurement mode during the line loss measurement phase, when detecting the RF signal, the obtained power is G22#, and the link loss value from the P2 port looped back to the P1 port is IL11 = G - G22#. It can be obtained that the uplink line loss compensation corresponding to the first RF signal port (RFIN1) is:

[0123] UL_LOSS1 = IL11 - IL1 - DL_LOSS2 = (G - G22#) - (G - G2#) - DL_LOSS2 = G2# - G22# - DL_LOSS2 = G2# - G22# - G2 + G22.

[0124] Similarly, the downlink line loss compensation corresponding to the third RF signal port (RFIN3) and the uplink line loss compensation corresponding to the fourth RF signal port (RFIN4), as well as the downlink line loss compensation corresponding to the fourth RF signal port (RFIN4) and the uplink line loss compensation corresponding to the third RF signal port (RFIN3) can also be obtained, which will not be elaborated here. The specific downlink line loss compensation and uplink line loss compensation corresponding to each RF signal transmission port can be referred to the following table:

[0125]

[0126] Through the above application embodiments, by adopting a group of switch units combined with a power detection unit, the uplink line loss compensation measurement and downlink line loss compensation measurement of each channel of the RF signal transmitting device are realized, which can be used for the automatic line loss compensation in the production line equipment test environment, replacing the current manual method for line loss measurement of the RF test line, and can improve the accuracy and efficiency of line loss measurement.

[0127] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claimed rights.

Claims

1. A line loss measurement circuit, characterized in that, Comprising: A switch unit and a power detection unit; Wherein, a first port of the switch unit is connected to a first radio frequency signal port of a radio frequency signal transmitting device, a second port of the switch unit is connected to a second radio frequency signal port of the radio frequency signal transmitting device, and a third port of the switch unit is connected to a first port of the power detection unit; The switch unit is configured to switch to a downlink power measurement mode according to a first control signal sent by the power detection unit, and the power detection unit is configured to detect a radio frequency signal transmitted by the radio frequency signal transmitting device in the downlink power measurement mode to obtain a downlink line loss compensation; The switch unit is configured to switch to an uplink power measurement mode according to a second control signal sent by the power detection unit, and the power detection unit is configured to obtain an uplink line loss compensation according to the downlink line loss compensation and by detecting a radio frequency signal transmitted by the radio frequency signal transmitting device in the uplink power measurement mode; The switch unit includes: A first switch, a second switch, and a third switch; Wherein, a first port of the first switch is connected to a first radio frequency signal port of the radio frequency signal transmitting device, a second port of the first switch is connected to a first port of the third switch, a third port of the first switch is connected to a second port of the second switch, a fourth port of the first switch is connected to a second radio frequency signal port of the radio frequency signal transmitting device, a first port of the second switch is connected to a fourth port of the third switch, and a second port of the third switch is connected to a first port of the power detection unit; In the downlink power measurement mode, a first port of the first switch is connected to a third port of the first switch, a second port of the first switch is connected to a fourth port of the first switch, a first port of the second switch is connected to a second port of the second switch, and a fourth port of the third switch is connected to a second port of the third switch; In the uplink power measurement mode, a first port of the first switch is connected to a third port of the first switch, a second port of the first switch is connected to a fourth port of the first switch, a first port of the second switch is connected to a second port of the second switch, and a fourth port of the third switch is connected to a first port of the third switch.

2. The line loss measurement circuit according to claim 1, wherein The power detection unit includes: A logarithmic detector, an analog-to-digital converter ADC, and a micro-control unit MCU; Wherein, the logarithmic detector is respectively connected to the switch unit and the ADC, the ADC is respectively connected to the logarithmic detector and the MCU, and the MCU is respectively connected to the switch unit and the ADC; The logarithmic detector is configured to detect a radio frequency signal transmitted by the radio frequency signal transmitting device and output an electrical signal, the ADC is configured to convert the electrical signal into a digital signal, and the MCU is configured to generate a power signal according to the digital signal, and the power signal is used to obtain the uplink line loss compensation or the downlink line loss compensation.

3. The line loss measurement circuit according to claim 2, wherein, The MCU is further configured to send the first control signal to control the switching unit to switch to the downlink power measurement mode; or, the MCU is further configured to send the second control signal to control the switching unit to switch to the uplink power measurement mode.

4. The line loss measurement circuit according to any one of claims 1 to 3, characterized in that In the downlink power measurement mode when the line loss measurement circuit is in the self-calibration stage, the switching unit is configured to transmit the radio frequency signal sent by the radio frequency signal transmitting device to the power detection unit, and the power detection unit is configured to detect the radio frequency signal to obtain a first power signal; wherein, the self-calibration stage is the measurement stage of the line loss measurement circuit after removing the radio frequency cable.

5. The line loss measurement circuit according to claim 4, wherein In the uplink power measurement mode when the line loss measurement circuit is in the self-calibration stage, the switching unit is configured to transmit the radio frequency signal sent by the radio frequency signal transmitting device back to the radio frequency signal transmitting device, and the power detection unit is configured to detect the radio frequency signal to obtain a second power signal.

6. The line loss measurement circuit according to claim 5, wherein In the downlink power measurement mode when the line loss measurement circuit is in the line loss measurement stage, the switching unit is configured to transmit the radio frequency signal sent by the radio frequency signal transmitting device to the power detection unit, and the power detection unit is configured to detect the radio frequency signal to obtain a third power signal; wherein, the line loss measurement stage is the measurement stage of the line loss measurement circuit after adding the radio frequency cable. The power detection unit obtains the downlink line loss compensation according to the first power signal and the third power signal.

7. The line loss measurement circuit according to claim 6, characterized in that, In the uplink power measurement mode when the line loss measurement circuit is in the line loss measurement stage, the switching unit is configured to transmit the radio frequency signal sent by the radio frequency signal transmitting device back to the radio frequency signal transmitting device, and the power detection unit is configured to detect the radio frequency signal to obtain a fourth power signal. The power detection unit obtains the uplink line loss compensation according to the second power signal, the fourth power signal, and the downlink line loss compensation.

8. A line loss measurement device, characterized in that, Comprising a power supply, a chip, and the line loss measurement circuit according to any one of claims 1-7.

9. The line loss measurement device according to claim 8, wherein, The line loss measurement device further includes a radio frequency signal transmitting device, and the radio frequency signal transmitting device is directly connected to the line loss measurement circuit, or the radio frequency signal transmitting device is connected to the line loss measurement circuit through a radio frequency cable.

Citation Information

Patent Citations

  • Line loss point inspection system and method

    CN112816787A

  • Radiofrequency signal power detection circuit

    CN206004673U