CN113422621A - Cable loss measuring device and method - Google Patents
Cable loss measuring device and method Download PDFInfo
- Publication number
- CN113422621A CN113422621A CN202011550484.9A CN202011550484A CN113422621A CN 113422621 A CN113422621 A CN 113422621A CN 202011550484 A CN202011550484 A CN 202011550484A CN 113422621 A CN113422621 A CN 113422621A
- Authority
- CN
- China
- Prior art keywords
- cable
- switch
- module
- signal
- power
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/46—Monitoring; Testing
- H04B3/48—Testing attenuation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Measurement Of Resistance Or Impedance (AREA)
Abstract
The invention provides a device and a method for measuring the line loss of a cable, wherein the device comprises a comprehensive tester and a calibration board, wherein the calibration board comprises a port module, an attenuation module and a processing module which are electrically connected in sequence; the comprehensive tester is electrically connected with the first end of the cable, and the port module is electrically connected with the second end of the cable; the comprehensive tester is used for sending an initial signal to the cable, the attenuation module is used for adjusting the size of the signal transmitted by the cable and outputting a target signal, and the processing module is used for measuring the power of the target signal, obtaining the target power and determining the line loss of the cable based on the target power. The device can improve the efficiency of line loss measurement of the cable.
Description
Technical Field
The invention relates to the technical field of radio frequency, in particular to a cable loss measuring device and method.
Background
Radio frequency cables are cables that transmit electromagnetic energy in the radio frequency range and are indispensable components in various radio communication systems and electronic devices. During the insertion connection and transmission of the rf cable, the rf power transmitted by the rf cable may generate line loss, and therefore, the line loss of the cable needs to be tested.
At present, the line loss test of cables by using mobile phone production lines is mainly carried out by purchasing a 5G (5th generation mobile networks, fifth generation mobile communication technology) comprehensive tester with a radio frequency port line loss measurement option. However, the main integrated tester in the market cannot support the function of measuring the line loss of the radio frequency port, so that a 5G integrated tester must be purchased from outside to perform the line loss test, and the production cost of the production line is increased. Meanwhile, when the 5G comprehensive tester is used for testing the line loss, the line loss of the cable and the loss of the comprehensive tester are required to be measured together. Therefore, the cost for measuring the line loss of the cable by adopting the 5G comprehensive tester in the prior art is higher, and the efficiency is lower.
Disclosure of Invention
The embodiment of the invention provides a cable loss measuring device and method, and aims to solve the problems of high cost and low efficiency of cable loss measurement in the prior art.
In a first aspect, an embodiment of the present invention provides a cable loss measurement apparatus, including a comprehensive tester and a calibration board, where the calibration board includes a port module, an attenuation module, and a processing module, which are electrically connected in sequence;
the comprehensive tester is electrically connected with a first end of a cable, and the port module is electrically connected with a second end of the cable;
the comprehensive tester is used for sending an initial signal to the cable, the attenuation module is used for adjusting the size of a signal transmitted by the cable and outputting a target signal, and the processing module is used for measuring the power of the target signal, obtaining the target power and determining the line loss of the cable based on the target power.
In a second aspect, an embodiment of the present invention provides a method for measuring a line loss of a cable, which is applied to the apparatus for measuring a line loss of a cable described above, and the method includes:
transmitting an initial signal to the cable;
adjusting the size of the signal transmitted by the cable, and outputting a target signal;
carrying out power measurement on the target signal to obtain target power;
based on the target power, determining a line loss of the cable.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the cable loss measuring method comprises a memory, a processor and a program or instructions stored on the memory and capable of running on the processor, wherein the program or instructions realize the steps in the cable loss measuring method provided by the embodiment of the invention when being executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, where a program or instructions are stored on the readable storage medium, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the line loss measurement method for a cable provided in an embodiment of the present invention.
In the embodiment of the invention, the cable loss measuring device comprises a comprehensive tester and a calibration board, wherein the calibration board comprises a port module, an attenuation module and a processing module which are sequentially and electrically connected, when the cable loss measurement is carried out, the comprehensive tester is electrically connected with a first end of a cable, the port module is electrically connected with a second end of the cable, the comprehensive tester sends an initial signal to the cable, the signal on the cable is transmitted to the processing module through the port module and the attenuation module, and the processing module can obtain the target power of a target signal and determine the cable loss of the cable. The line loss measurement from the port module to the cable can be realized by the calibration plate with the signal power measurement function and the universal comprehensive tester, so that the cost of the cable line loss measurement can be reduced; the line loss measuring result of the obtained cable comprises the loss of the comprehensive tester, and the loss of the comprehensive tester does not need to be measured, so that the line loss measuring efficiency of the cable can be improved.
Drawings
Fig. 1 is one of structural diagrams of a line loss measuring apparatus of a cable according to an embodiment of the present invention;
fig. 2 is a second structural diagram of a cable loss measuring apparatus according to an embodiment of the present invention;
fig. 3 is a third structural diagram of a cable loss measuring apparatus according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for measuring a line loss of a cable according to an embodiment of the present invention;
fig. 5 is a fourth structural diagram of a cable loss measuring apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that embodiments of the application can be practiced in sequences other than those illustrated or described herein, and the terms "first" and "second" used herein generally do not denote any order, nor do they denote any order, for example, the first object may be one or more.
Referring to fig. 1, fig. 1 is a structural diagram of a cable loss measuring device according to an embodiment of the present invention, and as shown in fig. 1, the cable loss measuring device includes a comprehensive tester and a calibration board, where the calibration board includes a port module, an attenuation module and a processing module that are electrically connected in sequence;
the comprehensive tester is electrically connected with the first end of the cable, and the port module is electrically connected with the second end of the cable;
the comprehensive tester is used for sending an initial signal to the cable, the attenuation module is used for adjusting the size of the signal transmitted by the cable and outputting a target signal, and the processing module is used for measuring the power of the target signal, obtaining the target power and determining the line loss of the cable based on the target power.
The comprehensive tester can transmit an initial signal with certain frequency and power and can also receive a continuous wave signal with certain frequency and power, and the comprehensive tester is a general-type comprehensive tester on the market; the attenuator module can adjust the size of a signal transmitted by a cable and output the adjusted target signal, so the attenuator module can be used for improving the standing wave of the port module, the attenuation value of the attenuator module can be selected according to the actual condition, and the attenuation value is 3-5 dB generally; the processing module can measure the power of the received target signal, obtain the target power of the target signal, and determine the line loss of the cable through the calculation of the line loss based on the target power.
In addition, when the line loss of the cable is measured, the comprehensive measuring instrument is electrically connected with the first end of the cable, and the port module is electrically connected with the second end of the cable, that is, the comprehensive measuring instrument is electrically connected with the port module through the cable. The comprehensive tester transmits an initial signal to the cable, the initial signal sequentially transmits the signal to the processing module through the cable, the port module and the attenuation module, the signal received by the processing module is a target signal, the processor can measure the target power of the target signal, and then the line loss of the cable is determined through calculation of the line loss based on the target power.
In an actual application scene, the comprehensive tester and the processing module are respectively connected with the input and output module, and the input and output module can respectively perform data interaction with the comprehensive tester and the processing module, so that the input and output module can display the line loss of the cable determined by the processing module. The input/output module may be a mouse, a keyboard, and a display, and specifically, an input/output device of a computer may be used, which is not limited herein.
In the embodiment of the invention, the cable loss measuring device comprises a comprehensive tester and a calibration board, wherein the calibration board comprises a port module, an attenuation module and a processing module which are sequentially and electrically connected, when the cable loss measurement is carried out, the comprehensive tester is electrically connected with a first end of a cable, the port module is electrically connected with a second end of the cable, the comprehensive tester sends an initial signal to the cable, the signal on the cable is transmitted to the processing module through the port module and the attenuation module, and the processing module can obtain the target power of a target signal and determine the cable loss of the cable. The line loss measurement from the port module to the cable can be realized by the calibration plate with the signal power measurement function and the universal comprehensive tester, so that the cost of the cable line loss measurement can be reduced; the line loss measuring result of the obtained cable comprises the loss of the comprehensive tester, and the loss of the comprehensive tester does not need to be measured, so that the line loss measuring efficiency of the cable can be improved.
As an optional implementation, the integrated tester includes N first ports, the port module includes N second ports, and the attenuation module includes N attenuators, where N is a positive integer greater than or equal to 2;
and the N second ports are respectively connected with the N attenuators in a one-to-one correspondence manner.
The integrated tester may include N first ports, the port module may include N second ports, and the attenuation module may include N attenuators, where the N second ports are connected to the N attenuators in a one-to-one correspondence. When the line loss of carrying out the cable is measured, N first ports of comprehensive tester can be connected with N second port one-to-one of port module through N cable, and N second port is connected with N attenuator one-to-one respectively, so, comprehensive tester can send the signal to the second port of the port module that corresponds through a plurality of first ports and many cables to the line loss measuring device of cable can measure the line loss of many cables.
In this embodiment, because the integrated tester includes a plurality of N first ports, the port module includes a plurality of N second ports, the attenuation module includes a plurality of N attenuators, a plurality of second ports are connected with a plurality of N attenuators one-to-one respectively, when carrying out the line loss measurement of cable, the integrated tester can send the signal to the second port of the port module that corresponds through a plurality of first ports and a plurality of cables to can measure the line loss of a plurality of cables, improve the measurement efficiency of the line loss of cable.
Optionally, the apparatus further comprises a switch module, and the attenuation module is connected to the processing module through the switch module.
Wherein, through the switching of control switch module, can control the transmission direction of the signal that the comprehensive tester sent to the cable. The processing module can transmit signals sent by the comprehensive tester to the cable to the processing module by controlling the state of the switch module, and the processing module determines the transmitting line loss of the cable by measuring the target power of the received target signals and the calibration parameters of the transmitting channel of the port module and calculating the line loss.
In addition, the processing module can also transmit a signal sent by the comprehensive tester to a first cable of the cables to a second cable of the cables by controlling the state of the switch module, the second cable transmits the signal to the comprehensive tester, the comprehensive tester transmits the power of the received signal to the processing module, and the processing module can determine the receiving line loss of the second cable through calculation according to the power of the signal received by the comprehensive tester, the target power and the calibration parameter of the receiving channel of the port module. Through the state of control switch module, the signal that comprehensive appearance sent to the second cable in many cables can transmit the first cable in many cables, and the rethread calculates the receiving line loss that can confirm first cable.
Simultaneously, under the condition that a plurality of first ports of comprehensive tester are connected through a plurality of cables and a plurality of second ports one-to-one of port module, switch module can form the switch matrix through setting up a plurality of switches, so, can measure the line loss of many cables through the opening and shutting of a plurality of switches of processing module control.
In this embodiment, because the line loss measuring device of cable still includes switch module, the decay module passes through switch module and is connected with processing module, so, through processing module control switch module's state, can measure the line loss of many cables to improve the line loss measuring efficiency of cable.
Optionally, the switch module includes a first switch, a second switch and a third switch, and the attenuation module includes a first attenuator;
the first end of the first switch is connected with the first attenuator, the second end of the first switch is connected with the first end of the second switch, the second end of the second switch is connected with the first end of the third switch, and the second end of the third switch is connected with the processing module;
and the signal on the cable is transmitted to the processing module sequentially through the first attenuator, the first switch, the second switch and the third switch.
As shown in fig. 2, when the transmission line loss of the cable is tested, the processing module transmits the signal transmitted by the cable to the processing module by controlling the state of the switch in the switch module. The switch of the switch module may be a single-pole multi-throw switch, and here, the switch of the switch module is a single-pole double-throw switch in the single-pole multi-throw switch as an example. The switch module comprises a first switch, a second switch and a third switch, wherein a first end of the first switch, a second end of the second switch and a first end of the third switch are moving ends in the single-pole double-throw switch, a second end and a third end of the first switch, a first end and a third end of the second switch and a second end and a third end of the third switch are fixed ends in the single-pole double-throw switch, and the processing module can control signals to be output to two different directions by controlling the connection of the moving ends and the fixed ends of the switches.
The first end of the first switch is connected with the first attenuator, the second end of the first switch is connected with the first end of the second switch, the second end of the second switch is connected with the first end of the third switch, and the second end of the third switch is connected with the processing module. The processing module may control the first end of the first switch to be communicated with the second end of the first switch, the first end of the second switch to be communicated with the second end of the second switch, and the first end of the third switch to be communicated with the second end of the third switch, so that after the first attenuator adjusts the magnitude of the signal transmitted by the received cable and outputs the adjusted target signal, the target signal sequentially passes through the first switch, the second switch, and the third switch and is transmitted to the processing module.
In the embodiment, the connection of the movable end and the fixed end of the first switch, the second switch and the third switch is controlled, so that the signals on the cable can be controlled to be transmitted to the processing module sequentially through the first attenuator, the first switch, the second switch and the third switch.
Optionally, the attenuation module further comprises a second attenuator;
the third end of the first switch is connected with the third end of the third switch, and the third end of the second switch is connected with the second attenuator;
the first switch, the second switch and the third switch are all single-pole multi-throw switches;
and the signal on the cable is transmitted to the comprehensive tester through the first attenuator, the first switch, the third switch, the second switch and the second attenuator in sequence.
As shown in fig. 3, the attenuation module further includes a second attenuator, and the first switch, the second switch and the third switch of the switch module are all single-pole multi-throw switches. The processing module can control the first end of the first switch to be connected with the third end of the first switch, the first end of the third switch to be connected with the third end of the first switch, and the second end of the second switch to be connected with the third end of the second switch, so that the comprehensive tester sends an initial signal to a first cable which is connected with the comprehensive tester and the port module, the signal on the cable is transmitted to a second cable which is connected with the comprehensive tester and the port module through the first attenuator, the first switch, the third switch, the second switch and the second attenuator in sequence, and then the signal is transmitted to the comprehensive tester through the second cable; further, the comprehensive tester can transmit the power of the received signal to the processing module to calculate the receiving line loss of the cable.
In the embodiment, the movable end and the immovable end of the first switch, the second switch and the third switch are controlled to be connected, so that the signals transmitted by the cable can be transmitted to the comprehensive tester sequentially through the first attenuator, the first switch, the third switch, the second switch and the second attenuator.
Optionally, the processing module includes a power detection chip, a digital-to-analog converter and a processor, which are connected in sequence;
the power detection chip is used for measuring the power of the target signal to obtain target power;
the digital-to-analog converter is used for obtaining an analog signal corresponding to the target power according to the target power;
the processor is used for obtaining the line loss of the cable based on the analog signal.
The processing module comprises a power detection chip, a digital-to-analog converter and a processor which are connected in sequence. The power detection chip receives a target signal output by the attenuation module, performs power measurement on the received target signal to obtain target power, and transmits the target power to the digital-to-analog converter; the digital-to-analog converter can digitally quantize the direct current voltage of the target power output by the power detection chip to acquire an analog signal which can be identified by the processor; the digital-to-analog converter can carry out data interaction with the processor, and can transmit an analog signal to the processor; the processor may calculate the line loss of the cable based on the analog signal.
The power detection chip can effectively detect the port input power within the dynamic range of 60dB within 8 GHz; the digital-to-analog converter can digitally quantize the power measurement direct-current voltage output by the power detection chip and transmit an analog signal of target power to the processor through the serial port bus; the processor can store calibration parameters, control the switch module and other board card devices, and perform data interaction with the input and output module through a Universal Serial BUS (USB).
In this embodiment, processing module is including the power detection chip, digital-to-analog converter and the treater that connect gradually, and the power detection chip can detect signal power, and digital-to-analog converter can obtain the analog signal of signal power, and the treater can be based on the line loss of analog signal calculation cable, simple structure to can reduce the line loss measuring cost of cable.
Optionally, the device further includes an input/output module, and the input/output module is connected to the comprehensive tester and the processing module respectively.
It should be noted that the input/output module may be a mouse, a keyboard, and a display, and specifically, an input/output device of a computer may be used, which is not limited herein.
The input and output module is respectively connected with the comprehensive tester and the processing module, so that the input and output module can respectively carry out data interaction with the comprehensive tester and the processing module. The input and output module can display the line loss result of the cable calculated by the processing module and can also control the frequency of the signal transmitted to the cable by the comprehensive measuring instrument. When the receiving line loss of the cable is measured, the power data of the signal received by the comprehensive tester can be transmitted to the processing module through the input and output module to calculate the receiving line loss.
In this embodiment, the line loss measuring device of the cable further includes an input/output module, the input/output module is respectively connected to the comprehensive tester and the processing module, and power data of signals received by the comprehensive tester can be transmitted to the processing module, so that connection between the comprehensive tester and the processing module can be simplified.
Referring to fig. 4, fig. 4 is a flowchart of a cable loss measuring method, and as shown in fig. 4, the cable loss measuring method may be applied to the cable loss measuring apparatus, and includes:
When the line loss of the cable is measured, the integrated measuring instrument of the line loss measuring device of the cable sends an initial signal to the cable.
The initial signal is transmitted to the attenuation module through the cable and the port module, during the transmission process, the initial signal may generate line loss, and the power of the signal received by the attenuation module may be smaller than that of the initial signal. The attenuation module selects an attenuation value according to actual conditions, can adjust the size of signals transmitted by the cable, and outputs the adjusted target signals.
And 403, performing power measurement on the target signal to obtain target power.
The processing module of the cable loss measuring device can measure the power of the target signal to obtain the target power.
And step 404, determining the line loss of the cable based on the target power.
The processing module of the line loss measuring device of the cable may determine the line loss of the cable based on the target power. The line loss of the cable mainly comprises transmitting line loss and receiving line loss.
In addition, before the measurement of the transmission line loss and the reception line loss of the cable, the transmission channel and the reception channel of the port module need to be calibrated respectively to obtain related calibration parameters. Further, according to the calibration parameter and the target power, the processing module may perform calculation to obtain the transmission line loss and the reception line loss.
In this embodiment, the integrated tester sends an initial signal to the cable; the attenuator adjusts the size of the signal transmitted by the cable and outputs a target signal; the processor measures the power of the target signal to obtain target power, and determines the line loss of the cable based on the target power. Because the determined line loss of the cable comprises the loss of the comprehensive tester, the loss of the comprehensive tester does not need to be calculated, and the efficiency of measuring the line loss of the cable can be improved.
Optionally, the target power is obtained by the following expression:
Pd=C1-(Pk-Pfx)/K1
wherein, PdIs the target power; c1The first power of a signal sent to the port module by the comprehensive tester when the transmitting channel of the port module is calibrated; pkIs the power of the signal received by the processing module when calibrating the transmit channel of the port module; pfxThe power of a signal received by the processing module is used for carrying out line loss test on a transmitting channel of the port module; k1Is a calibration parameter for a transmit channel of the port module.
It should be noted that, before the measurement of the transmission line loss and the reception line loss of the cable is performed, the transmission channel and the reception channel of the port module need to be calibrated respectively to obtain the relevant calibration parameters. The calibration parameter of the transmitting channel is obtained by the following steps: connecting a signal source to a port module of a calibration board according to a frequency f1~fnSequentially inputting C to the port module1A signal; the processor can control the switch module of the calibration board to make the signal enter the power detection chip and read the received power value P of the analog-to-digital converter of the calibration boardkCan acquire a plurality of PkCan be denoted as Pk1~Pkn(ii) a Further, the power of the output signal of the signal source is changed to C3Repeating the above operation to read the received power value P of the A/D converterk‘Can acquire a plurality of Pk‘Can be denoted as Pk‘1~Pk‘n(ii) a Further, the calibration parameters of the transmitting channel of the port module are calculated according to the following expression:
K1=(Pki-Pk‘i)/(C1-C3)
wherein, K1Calibration parameters for a transmit channel of the port module; i is f1~fnThe number of each frequency in the frequency is that i is more than or equal to 1 and less than or equal to n; pkiFor transmitting f when calibrating the transmission channel of the port moduleiC of frequency1A signal, the power of the signal received by the processing module; pk‘iFor transmitting f when calibrating the transmission channel of the port moduleiC of frequency3Signal, power of the signal received by the processing module.
In addition, according to the calibration parameters of the transmitting channel of the port module, the steps of performing the transmitting line loss test are as follows: the first end of the first cable is connected with the comprehensive tester, and the second end of the first cable is connected with the port module of the calibration board; frequency f of comprehensive tester1~fnSending C to the first cable2A signal of which C2Is C1And C3Intermediate value of (C), i.e. C2=(C1+C3) 2; the processor controls the switch module, and signals sequentially pass through the cable, the port module, the attenuator and the switch module and are transmitted to the power detection chip; reading a power value P of a received signal of an analog-to-digital converterfx(ii) a According to a calibration parameter K1Power value PfxThe target power of the signal at the port module of the calibration board can be calculated to be C1-(Pk-Pfx)/K1。
In the embodiment, the calibration parameters of the transmitting channel of the port module are considered in the acquired target power, and the acquired target power is more accurate, so that the accuracy of the line loss measurement result of the cable can be improved.
Optionally, the determining the line loss of the cable based on the target power includes:
calculating the transmission line loss of the cable based on the target power through the following expression:
A=C2-Pd
wherein A is the transmission line loss of the cable; c2The second power of the signal sent to the port module by the comprehensive tester is the second power of the signal sent to the port module when the line loss test is carried out on the transmitting channel of the port module;
and/or the presence of a gas in the gas,
calculating the receiving line loss of the cable according to the following expression based on the target power:
B=Pd-K2-Pjx
wherein, B is the receiving line loss of the cable; k2Calibration parameters for a receive channel of the port module; pjxWhen the line loss test is carried out on the receiving channel of the port module, the power of the signal received by the comprehensive tester is high.
Wherein, when measuring the transmission line loss of the cable, the comprehensive tester outputs signals C to the tested cable in sequence2And obtaining the receiving line loss of the cable according to the target power obtained by calculation, wherein the target power is the actual power of the signal at the port module of the calibration board.
In addition, before the receive line loss of the cable is measured, the receive channel of the port module needs to be calibrated to obtain the relevant calibration parameters. The calibration parameter acquisition step of the receiving channel comprises the following steps: connecting the signal source to a second port of the port module of the calibration board according to the frequency f1~fnTo the second port C is input in sequence1A signal; the processor may control the opening of the calibration plateAnd the switch module enables the signal to pass through the first and second ports of the switch module and loop back to the port module, and receives the power of the recording signal through the first and first ports of the comprehensive tester, and at the moment, the absolute value of the power difference between the power of the signal received by the first and second ports of the port module and the input initial signal is the calibration parameter K2。
Further, according to the calibration parameter of the receiving channel of the port module, the step of performing the line loss test of the receiving channel is as follows: the first end of the first cable is connected with a first port of the integrated tester, the second end of the first cable is connected with a first second port of the port module of the calibration board, the first end of the second cable is connected with a second first port of the integrated tester, and the second end of the second cable is connected with a second port of the port module of the calibration board; frequency f of comprehensive tester1~fnSequentially outputting second power C to the second cable2Wherein C is2Is C1And C3Middle value of (C)2=(C1+C3) 2; the processor controls the switch module, the signal passes through a first port of the switch module loop-back inlet port module, which is connected with the first cable, and the port of the comprehensive tester receives the record, so that the power of the received signal can be acquired as Pjx(ii) a Calibration parameter K according to receiving channel2Power value PjxAnd a target power, and the received line loss of the first cable can be obtained by calculation.
In the embodiment, based on the target power, the transmitting line loss and the receiving line loss of the cable can be determined, the line loss measurement is convenient, the calculation is simple and convenient, the obtained line loss measurement result comprises the loss of the comprehensive tester, and the loss of the comprehensive tester does not need to be measured, so that the efficiency of the line loss measurement of the cable can be improved.
One specific implementation manner, as shown in fig. 5, the line loss measuring device of the cable includes a comprehensive tester and a calibration board, the comprehensive tester is provided with 16 first ports RF 1-RF 16, the calibration board is provided with a Port module including 16 second ports Port 1-Port 16, and the calibration board is further provided with an attenuation module including 16 attenuators UI-U16, wherein the first ports of the comprehensive tester can be connected with the second ports of the Port modules in a one-to-one correspondence manner through 16 cables, and the second ports of the Port modules are connected with the attenuation modules in a one-to-one correspondence manner. In addition, the calibration board is further provided with a switch module comprising 8 switches SW 1-SW 8, wherein SW1 and SW6 are single-pole double-throw switches, and SW 2-SW 5, SW7 and SW8 are single-pole four-throw switches, so that for the convenience of distinguishing, the fixed ends of the switches are named as a first fixed end, a second fixed end, a third fixed end and a fourth fixed end from top to bottom. SW7 can summarize the signal transmission of the second Port 1-Port 16, SW8 is connected with the power detection chip D1 of the processing module, the power detection chip is also connected with the digital-to-analog converter D2, and the digital-to-analog converter can perform data interaction with the processor D3. In addition, the input and output device is a testing computer, is respectively connected with the comprehensive tester and the processor, and can perform data interaction with the comprehensive tester and the processor.
Based on the line loss measuring device of the cable, the transmitting channels of the 16 second ports of the calibration board can be calibrated to obtain calibration parameters. Connecting a signal source to a calibration board Port1 Port at frequency f1~fnThe-10 dBm signal is input to the Port1 Port in turn. At this time, the processor controls the states of SW1 to SW8 such that the moving end of SW1 is connected to the second fixed end, the moving end of SW2 is connected to the first fixed end, the moving end of SW7 is connected to the first fixed end, and the moving end of SW8 is connected to the second fixed end, and transmits signals to the power detection chip through SW1, SW2, SW7 and SW8, and simultaneously, the receiving power value of the analog-to-digital converter can be read and is marked as P1k1~P1knAnd may also be expressed as the power of the signal received by the processing module when calibrating the transmit channel of Port1 Port. Further, the power of the output signal of the signal source is changed to-30 dBm, the operation is repeated, and the receiving power value P1 of the analog-to-digital converter is readk‘Can be marked as P1k‘1~P1k‘n(ii) a Further, the calibration parameters of the transmit channel of the Port1 Port are calculated by the following expression:
K11=(P1k1-P1k‘1)/(-10+30)
wherein, K11Calibration parameters for the transmit channel that is the Port1 Port; p1k1To send f to Port1 Port when calibrating the transmit channel at Port1 Port1A-10 dBm signal of frequency, a power of a signal received by the processing module; pk‘1To calibrate the transmit channel of Port1 Port, send f to Port1 Port1At-30 dBm signal of frequency, the power of the signal received by the processing module.
The transmitting channels of the other second ports are sequentially subjected to power calibration according to the steps, and the corresponding slope coefficient (PN) of the Port N Port can be obtainedki-PNk‘i) /(-10+30) where i is f1~fnThe number of each frequency in the frequency is that i is more than or equal to 1 and less than or equal to n.
Further, according to the calibration parameters of the transmitting channel of the Port1 Port, the transmitting line loss test of the first cable connected with the Port1 Port is carried out. The first cable is connected to an RF1 Port of the integrated tester and a Port1 Port of the switch module, the integrated tester is based on the frequency f1~fnOutputting-20 dBm signals to the first cable in sequence; the processor transmits signals to the power detection chip through the cable, the Port1 Port, the attenuator U1 and the switch module in sequence by controlling the states of the SW 1-SW 8; further, reading the power value P of the received signal of the analog-to-digital converterfx1~Pfxn(ii) a According to the calibration parameter and the power value, the frequency f of the transmitted signal can be calculated by the following expression1Target power of time:
P1d1=-10-(P1k1-P1fx1)/K11
wherein, P1d1The target power is the target power when the line loss measurement is carried out on the first cable; p1k1For transmitting f to the first cable while calibrating the transmitting channel of the port module1A-10 dBm signal of frequency, a power of a signal received by the processing module; p1fx1For transmitting f to the first cable while calibrating the transmitting channel of the port module1-30dBm signal of frequency, power of signal received by the processing module; (ii) a K11Calibration parameters for the transmit channel of the Port1 Port connected to the first cable.
Further, based on the target power when the line loss of the first cable is measured and the-20 dBm signal sequentially output to the first cable by the comprehensive measuring instrument, the transmitting line loss of the first cable is calculated by the following expression:
A1=-20-P1d1
where a1 is the transmission line loss of the first cable.
Expanding on the above expression, the transmission line loss of the first cable is-10 + (P1)k1-P1fx1)/K11。
The line loss test is carried out on the transmitting channels of the other second ports in sequence according to the steps, and the transmitting line loss-10 + (PN) of the Nth cable connected with the second Port N can be obtainedki-PNfxi)/KNiWherein i is f1~fnThe number of each frequency in the frequency is that i is more than or equal to 1 and less than or equal to n.
In addition, based on the cable loss measuring device, the receiving channels of the 16 second ports of the calibration board can be calibrated, and the calibration parameters of the receiving channels can be obtained.
Connecting a signal source to a calibration board Port1 Port at frequency f1~fnThe-10 dBm signal is input to Port1 in sequence. At this time, the states of the processor controls the SW 1-SW 8 are that the moving end of the SW1 is connected with the first fixed end, the moving end of the SW8 is connected with the first fixed end, the moving end of the SW7 is connected with the first fixed end, the moving end of the SW2 is connected with the second fixed end, the signals are transmitted to the second port through the SW1, the SW8, the SW7 and the SW2, the power of the recorded signals is received through the RF2 port of the comprehensive measuring instrument, at this time, the absolute value of the power difference between the received signal power and the input initial signal power is recorded as a calibration parameter of the receiving channel, and K2 is recorded as a calibration parameter of the receiving channel2。
It should be noted that, since the Port1 Port cannot receive from the host, the Port16 Port needs to be used to calibrate the receive channel of the Port1 Port individually. Connecting a signal source to a calibration board Port16 Port at a frequency f1~fnThe-10 dBm signal is input in sequence. At this time, it is necessary for the processor to control the active end of SW6 to be connected to the second inactive end, the active end of SW8 to be connected to the fourth inactive end, the active end of SW7 to be connected to the first inactive end, the active end of SW2 to be connected to the first inactive end, and the active end of SW1 to be connected to the second inactive end, so as to connect the message to the first inactive endThe signal loop is transmitted to a Port1 Port, and the power of the recording signal is received by a Port RF1 of the comprehensive measuring instrument, at the moment, the absolute value of the power difference between the power of the received signal and the power of the input initial signal is a calibration parameter of a receiving channel, and is recorded as K12。
Further, the Port of the integrated instrument RF1 is connected with the Port1 of the calibration board through a cable, and the test computer can control the Port of the integrated instrument RF1 to follow the frequency f1~fnA-20 dBm signal is sent to the cable. Meanwhile, the processor controls the switches on the calibration board to gate the ports 2-16 in turn, so that the signals input from the Port1 are looped back to other ports in turn, such as the Port 2. Receiving the recording power P through each corresponding port of the integrated testerjxFor example, the integrated meter RF2 receives a recording power P2jx. Similarly, the Port of the integrated instrument RF16 can be controlled to send a signal of-20 dBm, the signal is looped back to the Port1 Port, and the receiving recording power of the integrated instrument RF1 is P1jx. Then the received line loss of the first cable connected to Port1 Port can be obtained: -10- (P1ki-P1fxi)/K11i-K12i-P1jxiI is f1~fnThe number of each frequency in the frequency is that i is more than or equal to 1 and less than or equal to n.
Accordingly, through the above steps, the received line loss of the Nth cable connected to the second Port N can be acquired as-10- (PN)ki-PNfxi)/KN1i-KN2i-PNjxi。
Referring to fig. 6, fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device includes: the memory 601, the processor 602, and a program or instructions stored on the memory 601 and executable on the processor 602, wherein the program or instructions, when executed by the processor 602, implement the steps in the line loss measurement method of the cable.
The embodiment of the present invention further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned cable line loss measurement method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or device that comprises the element. Further, it should be noted that the apparatus and the scope of the apparatus in the embodiments of the present application are not limited to performing the functions in the order shown or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order depending on the functions involved, for example, the described apparatus may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. The cable loss measuring device is characterized by comprising a comprehensive tester and a calibration board, wherein the calibration board comprises a port module, an attenuation module and a processing module which are electrically connected in sequence;
the comprehensive tester is electrically connected with a first end of a cable, and the port module is electrically connected with a second end of the cable;
the comprehensive tester is used for sending an initial signal to the cable, the attenuation module is used for adjusting the size of a signal transmitted by the cable and outputting a target signal, and the processing module is used for measuring the power of the target signal, obtaining the target power and determining the line loss of the cable based on the target power.
2. The cable loss measuring device of claim 1, wherein the integrated meter comprises N first ports, the port module comprises N second ports, and the attenuation module comprises N attenuators, wherein N is a positive integer greater than or equal to 2;
and the N second ports are respectively connected with the N attenuators in a one-to-one correspondence manner.
3. The apparatus of claim 1, further comprising a switch module, wherein the attenuation module is coupled to the processing module via the switch module.
4. The line loss measuring device of a cable according to claim 3, wherein the switch module includes a first switch, a second switch, and a third switch, and the attenuation module includes a first attenuator;
the first end of the first switch is connected with the first attenuator, the second end of the first switch is connected with the first end of the second switch, the second end of the second switch is connected with the first end of the third switch, and the second end of the third switch is connected with the processing module;
and the signal on the cable is transmitted to the processing module sequentially through the first attenuator, the first switch, the second switch and the third switch.
5. The cable loss measurement apparatus of claim 4, wherein the attenuation module further comprises a second attenuator;
the third end of the first switch is connected with the third end of the third switch, and the third end of the second switch is connected with the second attenuator;
the first switch, the second switch and the third switch are all single-pole multi-throw switches;
and the signal on the cable is transmitted to the comprehensive tester through the first attenuator, the first switch, the third switch, the second switch and the second attenuator in sequence.
6. The cable loss measuring device according to claim 1, wherein the processing module includes a power detection chip, a digital-to-analog converter, and a processor connected in sequence;
the power detection chip is used for measuring the power of the target signal to obtain target power;
the digital-to-analog converter is used for obtaining an analog signal corresponding to the target power according to the target power;
the processor is used for obtaining the line loss of the cable based on the analog signal.
7. The cable loss measuring device according to claim 1, further comprising an input/output module, wherein the input/output module is connected to the comprehensive tester and the processing module, respectively.
8. A method for measuring a line loss of a cable, applied to the apparatus for measuring a line loss of a cable according to any one of claims 1 to 7, the method comprising:
transmitting an initial signal to the cable;
adjusting the size of the signal transmitted by the cable, and outputting a target signal;
carrying out power measurement on the target signal to obtain target power;
based on the target power, determining a line loss of the cable.
9. The cable line loss measuring method according to claim 8, wherein the target power is obtained by the following expression:
Pd=C1-(Pk-Pfx)/K1
wherein, PdIs the target power; c1The first power of a signal sent to the port module by the comprehensive tester when the transmitting channel of the port module is calibrated; pkIs the power of the signal received by the processing module when calibrating the transmit channel of the port module; pfxThe power of a signal received by the processing module is used for carrying out line loss test on a transmitting channel of the port module; k1Is a calibration parameter for a transmit channel of the port module.
10. The method for measuring the line loss of the cable according to claim 9, wherein the determining the line loss of the cable based on the target power includes:
calculating the transmission line loss of the cable based on the target power through the following expression:
A=C2-Pd
wherein A is the transmission line loss of the cable; c2The second power of the signal sent to the port module by the comprehensive tester is the second power of the signal sent to the port module when the line loss test is carried out on the transmitting channel of the port module;
and/or the presence of a gas in the gas,
calculating the receiving line loss of the cable according to the following expression based on the target power:
B=Pd-K2-Pjx
wherein, B is the receiving line loss of the cable; k2Calibration parameters for a receive channel of the port module; pjxWhen the line loss test is carried out on the receiving channel of the port module, the power of the signal received by the comprehensive tester is high.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011550484.9A CN113422621B (en) | 2020-12-24 | 2020-12-24 | Cable loss measuring device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011550484.9A CN113422621B (en) | 2020-12-24 | 2020-12-24 | Cable loss measuring device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113422621A true CN113422621A (en) | 2021-09-21 |
CN113422621B CN113422621B (en) | 2022-03-11 |
Family
ID=77711713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011550484.9A Active CN113422621B (en) | 2020-12-24 | 2020-12-24 | Cable loss measuring device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113422621B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116660807A (en) * | 2023-07-28 | 2023-08-29 | 荣耀终端有限公司 | Line loss detection method and related equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166067A (en) * | 2006-10-17 | 2008-04-23 | 中兴通讯股份有限公司 | Testing device and method for radiation dispersion of CDMA mobile terminal |
CN101989743A (en) * | 2009-07-31 | 2011-03-23 | 华东电力试验研究院有限公司 | Energy-saving power generation dispatching optimization method based on direct current power flow |
CN105933034A (en) * | 2016-04-22 | 2016-09-07 | 广东欧珀移动通信有限公司 | Line loss measurement method and device |
CN107888232A (en) * | 2017-11-21 | 2018-04-06 | 广东欧珀移动通信有限公司 | Detect the method and test system, host computer, computer-readable recording medium of line loss |
CN109212450A (en) * | 2018-09-21 | 2019-01-15 | 北京小米移动软件有限公司 | The detection method and device of power loss in test macro |
US20190215091A1 (en) * | 2018-01-10 | 2019-07-11 | Infinera Corporation | Optical channel power control system and method |
-
2020
- 2020-12-24 CN CN202011550484.9A patent/CN113422621B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166067A (en) * | 2006-10-17 | 2008-04-23 | 中兴通讯股份有限公司 | Testing device and method for radiation dispersion of CDMA mobile terminal |
CN101989743A (en) * | 2009-07-31 | 2011-03-23 | 华东电力试验研究院有限公司 | Energy-saving power generation dispatching optimization method based on direct current power flow |
CN105933034A (en) * | 2016-04-22 | 2016-09-07 | 广东欧珀移动通信有限公司 | Line loss measurement method and device |
CN107888232A (en) * | 2017-11-21 | 2018-04-06 | 广东欧珀移动通信有限公司 | Detect the method and test system, host computer, computer-readable recording medium of line loss |
US20190215091A1 (en) * | 2018-01-10 | 2019-07-11 | Infinera Corporation | Optical channel power control system and method |
CN109212450A (en) * | 2018-09-21 | 2019-01-15 | 北京小米移动软件有限公司 | The detection method and device of power loss in test macro |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116660807A (en) * | 2023-07-28 | 2023-08-29 | 荣耀终端有限公司 | Line loss detection method and related equipment |
CN116660807B (en) * | 2023-07-28 | 2023-10-20 | 荣耀终端有限公司 | Line loss detection method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113422621B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100421277B1 (en) | Architecture for rf signal automatic test equipment | |
CN101915909B (en) | Implementing method for calibrating amplitude and phase of system receiving channel | |
CN105548978B (en) | A kind of phased array antenna active refelction coefficient test system and method | |
US6421624B1 (en) | Multi-port device analysis apparatus and method and calibration method thereof | |
CN101958756B (en) | Standing wave detection method, standing wave detection device and base station | |
CN110572223B (en) | Calibration method of radio frequency baseband integrated terminal automatic test system | |
CN110031811B (en) | Multichannel broadband signal coherent characteristic rapid calibration system | |
US20090174415A1 (en) | Method for Calibrating a Real-Time Load-Pull System | |
US20140327429A1 (en) | Vector network power meter | |
EP0234112B1 (en) | Six-port reflectometer test arrangement | |
CN114114177B (en) | Method and device for testing internal calibration and measurement of radar system and storage medium | |
CN113422621B (en) | Cable loss measuring device and method | |
US10591522B2 (en) | Measurement apparatus | |
CN114325312A (en) | Chip testing device, chip testing system and data acquisition method | |
CN111162848A (en) | Multichannel radio frequency test system | |
CN217183303U (en) | Full-automatic calibration device of calibration circuit and radio frequency test machine | |
CN104391284A (en) | Numerical control excess noise ratio noise source and achieving method thereof | |
CN206161841U (en) | 6~18GHZ active phased array function debug system | |
CN213903613U (en) | Integrated field uniformity calibration signal generation device | |
WO2022256713A1 (en) | Multi-input remote heads for sequential testing | |
JP2009180749A (en) | Noise generator, measurement apparatus, and testing apparatus | |
KR100448840B1 (en) | Apparatus for Measuring Multi-Channel Impedance for Use in Testing Secondary Battery | |
KR101894833B1 (en) | Performance Testing System for Frequency Synthesis Apparatus | |
CN107918070B (en) | Digital T/R assembly test system and transmitting and receiving state test method thereof | |
Simpson | High power load pull with X-parameters-a new paradigm for modeling and design |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |