CN101119136A - Method and device for obtaining essential parameter of circuit - Google Patents

Method and device for obtaining essential parameter of circuit Download PDF

Info

Publication number
CN101119136A
CN101119136A CNA2006101038637A CN200610103863A CN101119136A CN 101119136 A CN101119136 A CN 101119136A CN A2006101038637 A CNA2006101038637 A CN A2006101038637A CN 200610103863 A CN200610103863 A CN 200610103863A CN 101119136 A CN101119136 A CN 101119136A
Authority
CN
China
Prior art keywords
sampling
frequency
dsp
line
cor
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
Application number
CNA2006101038637A
Other languages
Chinese (zh)
Other versions
CN101119136B (en
Inventor
晋兆国
李胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006101038637A priority Critical patent/CN101119136B/en
Publication of CN101119136A publication Critical patent/CN101119136A/en
Application granted granted Critical
Publication of CN101119136B publication Critical patent/CN101119136B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)

Abstract

The invention discloses a method and a device for acquiring basic parameter of a circuitry. The method contains the steps as follows: a digital signal processor DSP controls a signal generator SG to generate test signals of a frequency 1 and a frequency 2; sampling unit respectively samples the sampling voltages under the frequency 1 and the frequency 2, and then provides the sampling voltages to the DSP; the DSP obtains the vector ratios under the sampling voltages of the first frequency and the second frequency, thus the DSP obtains a Z parameter and then obtains the basic parameter of a circuitry. The method and the device provided by the invention can obtain the basic parameter of a circuitry, so as to realize the frequency responding measurement of the circuitry.

Description

Method and device for acquiring basic parameters of line
Technical Field
The present invention relates to the field of line evaluation, and in particular, to a method and an apparatus for obtaining basic line parameters.
Background
In the field of telecommunication Services, operators provide broadband telecommunication Services and narrowband telecommunication Services to users simultaneously through cables, such as Plain Old Telephone Service (POTS) adding Asymmetric Digital Subscriber Line (ADSL) over POTS), integrated Services Digital Network (ISDN) adding ADSL (ADSL over ISDN), and Plain Telephone adding Very High Speed Digital Subscriber line (VDSL (Very High Speed DSL) over POTS), which are Very popular both in China and abroad. Hereinafter, the DSL, VDSL, and the like are collectively referred to as an x Digital Subscriber line (xDSL).
Fig. 1 shows a schematic diagram of a service implementation principle for simultaneously providing a broadband telecommunication service and a narrowband telecommunication service in the prior art: the xDSL signal and the POTS/ISDN signal coexist in an outside line of a user, at the side of a local end, a Separator (SPL) in broadband access equipment (DSLAM) firstly distinguishes broadband service from narrow-band service, then sends broadband service data to a broadband service board, such as an xDSL service board, for processing, and sends narrow-band service data to a narrow-band service board, such as a POTS/ISDN service board, for processing; at the user end, the SPL located in the user end device sends the separated broadband service data to a Remote subscriber Unit (RTU) for processing, and sends the narrowband service data to the phone for processing.
In the operation and maintenance process of the above services, if a user declares a fault, it is often necessary to measure a subscriber line parameter, which may be a line voltage parameter, a line resistance parameter, a line capacitance parameter, a line frequency response, a line background noise, a line-to-ground balance, and the like. From these parameters, the quality of the line and the fault conditions, such as mixed line, broken line and short circuit, can be determined. The type of fault is used to automatically determine what kind of job needs to be dispatched to repair the fault, and the broadband line testing module shown in fig. 1 realizes the parameter testing functions.
The frequency response test of the line is an important function in the broadband test module, the frequency response is an important parameter in the broadband line test, and the broadband service rate which can be opened by the line can be accurately estimated according to the frequency response of the broadband service frequency band of the line and the background noise of the expanded service frequency band of the line. Single-ended line frequency response testing is also a difficulty in broadband line testing. Currently, most of the line frequency response tests are implemented by using the principle based on Time Domain Reflection (TDR).
Fig. 2 shows a schematic diagram of TDR implementation principle in the prior art: transmitting a main frequency voltage V to the cable at the local side s A typical value of 300 kilohertz (KHz) of the primary frequency of the pulse, which is transmitted from the source end of the cable to the termination end of the cable, will be totally reflected back if the termination end of the cable is open or short circuited, and the reflected pulse is returned back to the source end of the cable. If the main frequency voltage of the pulse reflected back to the source is V f Then the insertion loss of the cable to the main frequency voltage is obtained
Figure A20061010386300051
Wherein, the first and the second end of the pipe are connected with each other,
Figure A20061010386300052
the energy unit watts (W) is converted to DB, multiplied by 0.5, due to the signal being attenuated by twice the length of the cable.
Although the insertion loss is calculated by adopting a TDR mode, the test method has a black box effect, can reflect the insertion loss of the cable more objectively, and has higher test precision under the conditions that the cable is not very long, for example, the length of the cable is less than 3000 meters, and the terminal of the cable is open-circuited or short-circuited; however, there are many disadvantages to calculating the insertion loss using the TDR method. Because the tested pulse needs to go through twice the length of the cable to return to the data collector at the local side, when the cable is longer, the amplitude of the reflected pulse of the tested pulse is smaller, so that the test becomes very difficult. For example, the length of the tested cable is 4000 meters, the diameter of the cable is 0.4 millimeter, the main frequency component is a pulse of 300KHz attenuated by 14DB per kilometer, the pulse is attenuated by 56DB from the cable source end to the cable terminal, the pulse is transmitted to the cable source end after being totally reflected by the cable terminal, and is attenuated by 56DB again, and the total attenuation is 112DB; reflected pulses of very small amplitude are difficult to test accurately, given the presence of noise in the test environment. In addition, when the cable termination is in the matching state, the pulses transmitted from the cable source to the cable termination are all absorbed by the matching load, and basically no reflected pulses return to the cable source, so that it is not feasible to calculate the insertion loss by using the TDR method.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method for obtaining basic parameters of a line, which can obtain the basic parameters of the line to implement a frequency response test of the line.
Another objective of the present invention is to provide an apparatus for obtaining basic parameters of a line, which is capable of obtaining the basic parameters of the line to implement a frequency response test of the line.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method of obtaining line base parameters, the method comprising:
the DSP controls the signal generator SG to generate test signals of a first frequency and a second frequency, and the sampling unit samples sampling voltages under the first frequency and the second frequency respectively and provides the sampled sampling voltages for the DSP;
the DSP obtains a vector ratio of the sampling voltage under the first frequency and a vector ratio of the sampling voltage under the second frequency, and obtains a Z parameter according to the vector ratios;
and the DSP acquires the basic circuit parameters according to the Z parameters.
The method further comprises the following steps:
the circuit is disconnected, the DSP controls the SG to generate test signals of a first frequency and a second frequency, the sampling unit respectively samples calibration sampling voltages under the first frequency and the second frequency, and the sampled calibration sampling voltages are provided for the DSP;
the DSP obtains a vector ratio of the calibration sampling voltage under a first frequency and a vector ratio of the calibration sampling voltage under a second frequency of the access line;
the DSP obtaining the Z parameter according to the obtained vector ratio comprises: and acquiring the Z parameter according to the vector ratio of the calibration sampling voltage under the first frequency and the vector ratio of the calibration sampling voltage under the second frequency, and the vector ratio of the sampling voltage under the first frequency and the vector ratio of the sampling voltage under the second frequency.
The vector ratio obtained by the DSP is obtained by calculation through a Fast Fourier Transform (FFT) algorithm.
The basic parameters of the acquired line are as follows: the inductance of the line, the resistance of the line and the capacitance of the line.
The method further comprises the following steps:
and after the obtained Z parameter is used for correcting the calculated basic parameter to obtain the parameter of the line, obtaining the frequency response of the line according to the corrected parameter of the line.
The method further comprises the following steps: and comparing the acquired frequency response of the line with a frequency response standard to obtain the aging condition of the line.
A device for obtaining basic circuit parameters comprises a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a logic unit, a Signal Generator (SG) and a sampling unit, wherein the CPU is connected with the DSP, the DSP is connected with the logic unit, the signal generator is connected with the logic unit, the sampling unit is respectively connected with the logic unit, a signal emitter and the DSP,
the CPU is used for informing the DSP to carry out line test;
the DSP is used for informing the logic unit to send a test signal and sample according to the test notice of the CPU, and acquiring the basic parameters of the tested circuit according to the data provided by the sampling unit;
the logic unit is used for controlling the SG to generate a test signal and then controlling the sampling unit to sample; the SG is used for generating a test signal according to the control of the logic unit and sending the test signal to the sampling unit;
the sampling unit is used for receiving the test signal from the SG, sampling according to the control of the logic unit and then providing the sampled data for the DSP.
And the DSP is further used for acquiring the frequency response of the tested line according to the acquired basic parameters of the tested line.
The device also comprises an output display unit connected with the CPU, wherein the CPU is used for receiving the data provided by the DSP and providing the data to the output display unit; the output display unit is used for displaying data from the CPU.
The sampling unit comprises a linear filter LF, an analog/digital converter AD, a random access memory RAM, a relay, a sampling relay switch, a current sampling resistor and a grounding resistor,
where LF is used for linear filtering and AD is used for conversion between analog and digital quantities.
The RAM is a Static Random Access Memory (SRAM).
According to the scheme, the device for acquiring the basic parameters of the line is arranged, the device is adopted to measure the line to be measured, and the basic parameters of the line are calculated, so that the frequency response of the line is obtained. The device and the system provided by the invention are not influenced by the length of the line when the basic parameters are obtained, are accurate and stable, and solve the problems that the attenuation test of the long line is inaccurate by adopting a TDR method and the attenuation test is inaccurate when the terminal is matched in the prior art.
Drawings
Fig. 1 is a schematic diagram illustrating a service implementation principle of simultaneously providing a broadband telecommunication service and a narrowband telecommunication service in the prior art;
FIG. 2 is a schematic diagram of TDR implementation in the prior art;
FIG. 3A is a schematic diagram of a basic parametric model of a measured line;
FIG. 3B shows a two-port network model schematic of a baseline parametric model of the line under test;
FIG. 4 is a schematic diagram of an apparatus for obtaining basic line parameters according to the present invention;
FIG. 5 is a flow chart illustrating the basic line parameter acquisition according to the present invention;
fig. 6 shows a transmission line parametric model diagram of the inventive line.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
For a tested line such as a communication cable, the low frequency circuit model of the cable can be equivalent to the model shown in fig. 3A from the local side, and the basic parameters of the circuit model of the tested line include R 1 、R 2 、 C 1 、C 2 、G 1 、G 2 And Z, wherein R 1 Is A line resistance, R 2 Is a B line resistance, R 1 And R 2 In ohms; c 1 Is the capacitance of A line to ground, C 2 Is the capacitance of B line to ground, C 1 And C 2 Unit of (d) is farad; g 1 For A line to ground conductance, G 2 For B line to ground conductance, G 1 And G 2 Unit of (a) is siemens; z is the termination impedance in ohms, and these parameters may be referred to as primary parameters; then deducing the frequency response of the circuit according to the circuit model of the tested circuit, wherein the frequency response can also be called as a secondary parameter; and finally, correcting and mapping the basic parameters of the circuit model according to the deduced frequency response of the circuit to obtain the frequency response of the tested circuit.
Considering a two-port network model of the basic parameter model of the tested line at one of the ports of the tested line, as shown in fig. 3B, the two-port network model can be obtained according to the definition of Z matrix parameters:
Figure A20061010386300091
thus, the values of the elements of the Z matrix are obtained as follows:
Figure A20061010386300092
Figure A20061010386300093
according to the circuit model of fig. 3A, when the frequency is w, the values of the elements of the Z matrix of the two-port network are:
Figure A20061010386300096
as can be seen in FIG. 3A, due to Z 12 ≡Z 21 Therefore, among the four element values of the Z matrix, only three of them can be used to establish an equation. Without loss of generality, select Z 11 、Z 21 And Z 22 To establish an equation. Thus at frequencies w 1 And w 2 Then, the following 6 equations can be obtained:
Figure A20061010386300097
first of all, it is necessary to obtain Z 11 、Z 21 、Z 22 、Z 11 ′、Z 21 ' and Z 22 These six parameters can then be followed by Z 11 、Z 21 、Z 22 、Z 11 ′、Z 21 ' and Z 22 ', obtaining a basic line parameter R 1 、R 2 、C 1 、C 2 、G 1 、G 2 And Z. To obtain Z 11 、Z 21 、Z 22 、Z 11 ′、Z 21 ' and Z 22 ', and according to Z 11 、Z 21 、Z 22 、Z 11 ′、Z 21 ′ And Z 22 ' obtaining line fundamental parameter R 1 、R 2 、C 1 、C 2 、G 1 、G 2 And Z, the present invention provides a device for acquiring basic parameters of a line, which comprises a Central Processing Unit (CPU), a number, as shown in FIG. 4The device comprises a signal processor (DSP), a logic unit, a Signal Generator (SG) and a sampling unit, wherein a CPU is connected with the DSP, the DSP is connected with the logic unit, the signal generator is connected with the logic unit, and the sampling unit is respectively connected with the logic unit, a signal transmitter and the DSP. After the device is normally loaded, the CPU is used for informing the DSP to carry out line test; the DSP is used for informing the logic unit to send a test signal and sample according to the test notice of the CPU, and acquiring the basic parameters of the tested circuit according to the data provided by the sampling unit; the logic unit is used for controlling the SG to generate a test signal and then controlling the sampling unit to sample; the SG is used for generating a test signal according to the control of the logic unit and sending the test signal to the sampling unit; the sampling unit is used for receiving the test signal from the SG, sampling according to the control of the logic unit and then providing the sampled data for the DSP. The test signal may be a sine wave, a square wave, a modulated wave, etc. The DSP is further used for acquiring the frequency response of the tested line according to the acquired basic parameters of the tested line. The device can further comprise an output display unit connected with the CPU, and the CPU is further used for receiving the data provided by the DSP and providing the data to the output display unit; the output display unit is used for displaying data from the CPU.
In the invention, the sampling unit comprises a Linear Filter (LF), an analog-to-digital converter (AD), a Random Access Memory (RAM), a relay, a sampling relay switch, a current sampling resistor and a grounding resistor, wherein the LF is used for performing linear filtering, and the AD is used for converting between analog quantity and digital quantity. The RAM may be a Static Random Access Memory (SRAM).
In a specific implementation, in order to sample two test signals generated by the SG, the sampling unit includes two LFs, two ADs, two RAMs, six relays, two sampling relay switches, one current sampling resistor and two ground resistors.
The following describes a specific implementation process of the apparatus for acquiring basic parameters of a line. According to FIG. 4, Z can be seen 11 、Z 12 、Z 21 And Z 22 Are respectively as
Figure A20061010386300101
Figure A20061010386300111
Figure A20061010386300112
Figure A20061010386300113
Therefore, only four vectors are needed to be calculated to further obtain the basic parameters of the tested line, and the four vectors are I 2 When =0
Figure A20061010386300114
And
Figure A20061010386300115
I 1 when =0
Figure A20061010386300116
Andi.e. I 2 V at =0 a1 And V 21 , I 1 V when =0 a2 And V 12
Since the line resistance is much smaller than the capacitive reactance, the solution is very difficult; each vector comprises two components of amplitude and phase, and practice shows that
Figure A20061010386300118
Andthe amplitude or phase errors of the four vectors cannot meet the requirement on precision within one thousandth, the voltage error within one thousandth is difficult to avoid in time domain noise, and the amplitude and phase errors can be caused in the design of a Printed Circuit Board (PCB), so that accurate amplitude and phase errors can be obtained only by adopting a special algorithm and a special implementation process
Figure A200610103863001110
Andtherefore, two key methods are adopted to ensure the practicability of hardware, the amplitudes and phases of four vectors are obtained by Fast Fourier Transform (FFT) on sampling data, the influence caused by time domain noise is avoided by the frequency domain processing mode, very high precision can be achieved, and the practical requirement can be completely met; the inherent amplitude attenuation and phase delay of the channel are corrected.
Simultaneous acquisition of V by AD sampling a And V 1 Or V a And V 2 Or V 1 And V 2 The FFT is performed on the discrete sequence to obtain a frequency domain sequence thereof, and then the position of the excitation signal is found in the frequency domain sequence, the ratio of the amplitudes corresponding to the two sequences is the amplitude of the required vector, and the phase difference corresponding to the two sequences is the phase of the required vector.
Fig. 5 shows a flow chart of obtaining basic parameters of a line in the present invention, and corresponding to fig. 4, an implementation process of obtaining the basic parameters of the line includes the following steps:
open line calibration phase
Step 501: CPU controlled relay switch K 1 、K 2 Closed, and a relay switch K 6 、K 7 Switch K of AD sampling relay is disconnected and controlled 4 Contact point a, K 5 And contacting the point b.
Step 502: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 1 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, the AD is started to sample,obtaining N point sampling data V a_cor_w1 And V 1_cor_w1 And the AD sends the sampled data to the SRAM for storage.
Step 503: DSP detects AD and accomplishes N some sampled data V a_cor_w1 And V 1_cor_w1 After sampling, the SRAM stored N point sampling data V a_cor_w1 And V 1_cor_w1 Get to the cache inside the DSP for data processing, i.e. the DSP processes V a_cor_w1 And V 1_cor_w1 FFT is respectively carried out to obtain two new N point sequences V aw_cor_w1 And V 1w_cor_w1 . Through V aw_cor_w1 And V 1w_cor_w1 Determining the frequency as w 1 Vector ratio of test signals
Figure A20061010386300121
Wherein
Figure A20061010386300122
V aw_cor_w1 (k) Is a V aw_cor_w1 The kth element in the sequence, V 1w_cor_w1 (k) Is a V 1w_cor_w1 The kth element in the sequence.
Step 504: CPU controlled relay switch K 1 、K 2 、K 3 Closed, and a relay switch K 6 、 K 7 Switch K of AD sampling relay is disconnected and controlled 4 Point b of contact, K 5 And contacting the point b.
Step 505: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 1 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V 1_cor_w1 And V 2_cor_w1 And the AD sends the sampled data to the SRAM for storage.
Step 506: DSP detects AD and accomplishes N some sampled data V 1_cor_w1 And V 2_cor_w1 After sampling, the SRAM stored N-point sampling data V 1_cor_w1 And V 2_cor_w1 Get to the cache inside the DSP for data processing, i.e. the DSP processes V 1_cor_w1 And V 2_cor_w1 FFT is respectively carried out to obtain two new N point sequences V 1w_cor_w1 And V 2w_cor_w1 . Through V 1w_cor_w1 And V 2w_cor_w1 Determining the frequency as w 1 Of the test signalVector ratio
Figure A20061010386300131
Wherein
Figure A20061010386300132
V 1w_cor_w1 (k) Is a V 1w_cor_w1 The kth element in the sequence, V 2w_cor_w1 (k) Is a V 2w_cor_w1 The kth element in the sequence.
Step 507: CPU control relay switch K 8 、K 9 Closing, discharging the circuit, and after the discharging is finished, controlling a relay switch K by the CPU 8 、K 9 And (5) disconnecting.
Step 508: CPU controlled relay switch K 1 、K 3 Closed, and a relay switch K 6 、K 7 Switch K of AD sampling relay is disconnected and controlled 4 Contact point a, K 5 And contacting the point a.
Step 509: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 1 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_cor_w1 And V 2_cor_w1 And the AD sends the sampled data to the SRAM for storage.
Step 510: DSP detects AD and accomplishes N some sampled data V a_cor_w1 And V 2_cor_w1 After sampling, the SRAM stored N point sampling data V a_cor_w1 And V a_cor_w1 Get to the cache inside the DSP for data processing, i.e. the DSP processes V a_cor_w1 And V 2_cor_w1 FFT is respectively carried out to obtain two new N point sequences V aw_cor_w1 And V 2w_cor_w1 . Through V aw_cor_w1 And V 2w_cor_w1 Determining the frequency as w 1 Vector ratio of test signals
Figure A20061010386300133
Wherein
Figure A20061010386300134
V aw_cor_w1 (k) Is a V aw_cor_w1 The kth element in the sequence, V 2w_cor_w1 (k) Is a V 2w_cor_w1 The kth element in the sequence.
Step 511: CPU controlled relay switch K 1 、K 2 Closed, and a relay switch K 6 、K 7 Switch K of AD sampling relay is disconnected and controlled 4 Contact point a, K 5 And contacting the point b.
Step 512: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 2 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_cor_w2 And V 1_cor_w2 And the AD sends the sampled data to the SRAM for storage.
Step 513: DSP detects AD and accomplishes N some sampled data V a_cor_w2 And V 1_cor_w2 After sampling, the SRAM stored N point sampling data V a_cor_w2 And V 1_cor_w2 Get to the cache inside the DSP for data processing, i.e. the DSP processes V a_cor_w2 And V 1_cor_w2 FFT is respectively carried out to obtain two new N point sequences V aw_cor_w2 And V 1w_cor_w2 . Through V aw_cor_w2 And V lw_cor_w2 Determining the frequency as w 2 Vector ratio of test signals
Figure A20061010386300141
Wherein
Figure A20061010386300142
V aw_cor_w2 (k) Is a V aw_cor_w2 The kth element in the sequence, V 1w_cor_w2 (k) Is a V 1w_cor_w2 The kth element in the sequence.
Step 514: CPU controlled relay switch K 1 、K 2 、K 3 Closed, and a relay switch K 6 、 K 7 Switch K of AD sampling relay is disconnected and controlled 4 Point b of contact, K 5 And contacting the point b.
Step 515: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 2 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V 1_cor_w2 And V 2_cor_w2 And the AD sends the sampled data to the SRAM for storage.
Step 516: DSP detects AD and accomplishes N some sampled data V 1_cor_w2 And V 2_cor_w2 After sampling, the SRAM stored N point sampling data V 1_cor_w2 And V 2_cor_w2 Get to the cache inside the DSP for data processing, i.e. the DSP processes V 1_cor_w2 And V 2cor_w2 FFT is respectively carried out to obtain two new N point sequences V 1w_cor_w2 And V 2w_cor_w2 . Through V 1w_cor_w2 And V 2w_cor_w2 Determining the frequency as w 2 Vector ratio of test signals of
Figure A20061010386300143
Wherein
Figure A20061010386300144
V 1w_cor_w2 (k) Is a V 1w_cor_w2 The kth element in the sequence, V 2w_cor_w2 (k) Is a V 2w_cor_w2 The kth element in the sequence.
517: CPU control relay switch K 8 、K 9 Closing and laying the lineAfter the electricity is discharged, the CPU controls the relay switch K 8 、K 9 And (5) disconnecting.
Step 518: CPU controlled relay switch K 1 、K 3 Closed, and a relay switch K 6 、K 7 Switch K of AD sampling relay is disconnected and controlled 4 Contact point a, K 5 And contacting the point a.
Step 519: CPU sends test command to DSP, DSP receives test command and informs logicThe editing unit sends test signals and sampling basic data, and the logic unit controls SG sending frequency to be w 2 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_cor_w2 And V 2_cor_w2 And the AD sends the sampled data to the SRAM for storage.
Step 520: DSP detects AD and accomplishes N some sampled data V a_cor_w2 And V 2_cor_w2 After sampling, the SRAM stored N-point sampling data V a_cor_w2 And V 2_cor_w2 Get to the cache inside the DSP for data processing, i.e. the DSP processes V a_cor_w2 And V 2_cor_w2 FFT is respectively carried out to obtain two new N point sequences V aw_cor_w2 And V 2w_cor_w2 . Through V aw_cor_w2 And V 2w_cor_w2 Determining the frequency as w 2 Vector ratio of test signals
Figure A20061010386300151
Wherein
Figure A20061010386300152
V aw_cor_w2 (k) Is a V aw_cor_w2 The kth element in the sequence, V 2w_cor_w2 (k) Is a V 2w_cor_w2 The kth element in the sequence.
Step 521: CPU control relay switch K 1 、K 3 Open, and relay switch K 2 、K 6 、 K 7 Closing and controlling AD sampling relay switch K 4 Point a of contact、K 5 And contacting the point b.
Step 522: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sample basic data, logic unit controls SG sending frequency as w 1 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_w1 And V 1_w1 And the AD sends the sampled data to the SRAM for storage.
Step 523: DSP detects AD and accomplishes N some sampled data V a_w1 And V 1_w1 After sampling, the SRAM stored N point sampling data V a_w1 And V 1_w1 Fetching into cache inside DSP for data processing, i.e. DSP for V a_w1 And V 1_w1 FFT is respectively carried out to obtain two new N point sequences V aw_w1 And V 1w_w1 . Through V aw_w1 And V 1w_w1 Determining the frequency as w 1 Vector ratio of test signals
Figure A20061010386300153
Wherein
Figure A20061010386300154
V aw_w1 (k) Is a V aw_w1 The kth element in the sequence, V 1w_w1 (k) Is a V 1w_w1 The kth element in the sequence.
Step 524: CPU controlled relay switch K 1 、K 3 Open, and relay switch K 2 、K 6 、 K 7 Closing and controlling AD sampling relay switch K 4 Point b of contact, K 5 And contacting the point b.
Step 525: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sample basic data, logic unit controls SG sending frequency as w 1 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s Number of samplesIs N. After the state is stable, starting AD for sampling to obtain N-point sampling data V 1_w1 And V 2_w1 And the AD sends the sampled data to the SRAM for storage.
Step 526: n-point sampling data V after the DSP detects AD 1_w1 And V 2_w1 After sampling, the SRAM stored N point sampling data V 1_w1 And V 2_w1 Fetching into cache inside DSP for data processing, i.e. DSP for V 1_w1 And V 2_w1 FFT is respectively carried out to obtain two new N point sequences V 1_w1 And V 2w_w1 . Through V 1w_w1 And V 2w_w1 Determining the frequency as w 1 Vector ratio of test signals
Figure A20061010386300161
Wherein
Figure A20061010386300162
V 1w_w1 (k) Is a V 1w_w1 The kth element in the sequence, V 2w_w1 (k) Is a V 2w_w1 The kth element in the sequence.
Access line test phase
Step 527: CPU controlled relay switch K 8 、K 9 Closing, discharging the circuit, and after the discharging is finished, controlling a relay switch K by the CPU 8 、K 9 And (5) disconnecting.
Step 528: CPU controlled relay switch K 1 、K 2 Open, and relay switch K 3 、K 6 、 K 7 Closing and controlling AD sampling relay switch K 4 Contact point a, K 5 And contacting the point a.
Step 529: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 1 The logic unit sends sampling basic data to the AD, and the sampling basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_w1 And V 2_w1 AD will sampleAnd sending the data to the SRAM for storage.
Step 530: DSP detects AD and accomplishes N some sampled data V a_w1 And V 2_w1 After sampling, the SRAM stored N point sampling data V a_w1 And V 2_w1 Fetching into cache inside DSP for countingAccording to processes, i.e. DSP pairs V a_w1 And V 2_w1 FFT is respectively carried out to obtain two new N point sequences V aw_w1 And V 2w_w1 . Through V aw_w1 And V 2w_w1 Determining the frequency as w 1 Vector ratio of test signalsWherein
Figure A20061010386300172
V aw_w1 (k) Is a V aw_w1 The kth element in the sequence, V 2w_w1 (k) Is a V 2w_w1 The kth element in the sequence.
Step 531: CPU controlled relay switch K 1 、K 3 Open, and relay switch K 2 、K 6 、 K 7 Closing and controlling AD sampling relay switch K 4 Contact point a, K 5 And contacting the point b.
Step 532: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 2 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_w2 And V 1_w2 And the AD sends the sampled data to the SRAM for storage.
Step 533: DSP detects AD and accomplishes N some sampled data V a_w2 And V 1_w2 After sampling, the SRAM stored N point sampling data V a_w2 And V 1_w2 Fetching into cache inside DSP for data processing, i.e. DSP for V a_w2 And V 1_w2 FFT is respectively carried out to obtain two new N point sequencesColumn V a_w2 And V 1w_w2 . Through V aw_w2 And V 1w_w2 Determining the frequency as w 2 Vector ratio of test signalsWherein
Figure A20061010386300174
V aw_w2 (k) Is a V aw_w2 The kth element in the sequence, V 1w_w2 (k) Is a V 1w_w2 The kth element in the sequence.
Step 534: CPU controlled relay switch K 1 、K 3 Open, and a relay switch K 2 、K 6 、 K 7 Closing and controlling AD sampling relay switch K 4 Point b of contact, K 5 And contacting the point b.
Step 535: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sample basic data, logic unit controls SG sending frequency as w 2 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V 1_w2 And V 2_w2 And the AD sends the sampled data to the SRAM for storage.
Step 536: DSP detects AD and accomplishes N some sampled data V 1_w2 And V 2_w2 After sampling, the SRAM stored N point sampling data V 1_w2 And V 2_w2 Fetching into cache inside DSP for data processing, i.e. DSP for V 1_w2 And V 2_w2 FFT is respectively carried out to obtain two new N point sequences V 1w_w2 And V 2w_w2 . Through V 1w_w2 And V 2w_w2 Determining the frequency as w 2 Vector ratio of test signals of
Figure A20061010386300181
Wherein
Figure A20061010386300182
V 1w_w2 (k) Is a V 1w_w2 Kth in sequenceElement of V 2w_w2 (k) Is a V 2w_w2 The kth element in the sequence.
Step 537: CPU controlled relay switch K 8 、K 9 Closing, discharging the circuit, and after the discharging is finished, controlling a relay switch K by the CPU 8 、K 9 And (5) disconnecting.
Step 538: CPU controlled relay switch K 1 、K 2 Open, and relay switch K 3 、K 6 、 K 7 Closing and controlling AD sampling relay switch K 4 Contact point a, K 5 And contacting the point a.
Step 539: CPU sends test command to DSP, DSP receives the test command and informs logic unit to send test signal and sampling basic data, and logic unit controls SG sending frequency to be w 2 The logic unit sends sampling basic data to the AD, and the basic data can be sampling frequency w s And the number of sampling points is N. After the state is stable, starting AD for sampling to obtain N-point sampling data V a_w2 And V 2_w2 And the AD sends the sampled data to the SRAM for storage.
Step 540: DSP detects AD and accomplishes N some sampled data V a_w2 And V 2_w2 After sampling, the SRAM stored N point sampling data V a_w2 And V 2w2 Fetching into cache inside DSP for data processing, i.e. DSP for V a_w2 And V 2_w2 FFT is respectively carried out to obtain two new N point sequences V aw_w2 And V 2w_w2 . Through V aw_w2 And V 2w_w2 Determining the frequency as w 2 Vector ratio of test signals
Figure A20061010386300183
Wherein
Figure A20061010386300184
V aw_w2 (k) Is a V aw_w2 The kth element in the sequence, V 2w_w2 (k) Is a V 2w_w2 The kth element in the sequence.
Step 541: the DSP obtains V according to step 503 a1_cor_w1 Step (ii) of523 acquired V a1_w1 , Obtaining w 1 Lower Z 11 Parameters, i.e.V obtained according to step 506 21_cor_w1 V obtained in step 526 21_w1 Obtaining w 1 Lower Z 21 Parameters, i.e.
Figure A20061010386300192
V obtained according to step 510 a2_cor_w1 V obtained in step 530 a2_w1 Obtaining w 1 Lower Z 22 Parameters, i.e.
Figure A20061010386300193
According to V obtained in step 513 a1_cor_22 V obtained in step 533 a1_w2 Obtaining w 2 Lower Z 11 ' parameters, i.e.
Figure A20061010386300194
V obtained according to step 516 21_cor_w2 V obtained in step 536 21_w2 Obtaining w 2 Lower Z 21 ' parameters, i.e.
Figure A20061010386300195
V obtained according to step 520 a2_cor_w2 V obtained in step 540 a2_w2 Obtaining w 2 Lower Z 22 ' parameters, i.e.
Figure A20061010386300196
The steps 501 to 520 described above are calibration stages for disconnecting the tested line, and the steps 521 to 540 are test stages for accessing the tested line, and the ratio of the vector ratio obtained in the test stage to the vector ratio in the calibration stage is used to obtain w 1 Or w 2 The following Z parameter is to eliminate the difference between the two AD channels to eliminate the error to the maximum.
Step 542: acquiring a basic parameter R of the measured line according to the Z parameter acquired in the step 541 1 、 R 2 、C 1 、C 2 、G 1 、G 2 And Z, the specific process is as follows:
substituting Eq1-3 in the aforementioned system of equations into Eq1-1 and Eq1-2 yields:
(G 1 +jw 1 C 1 )Z 11 =R 1 (G 1 +jw 1 C 1 )+1-(G 2 +jw 1 C 2 )Z 21 …………Eq1-7
(G 2 +jw 1 C 2 )Z 22 =R 2 (G 2 +jw 1 C 2 )+1-(G 1 +jw 1 C 1 )Z 21 ………Eq1-8
substituting Eq1-6 in the aforementioned system of equations into Eq1-4 and Eq1-5 yields:
(G 1 +jw 2 C 1 )Z 11 ′=R 1 (G 1 +jw 2 C 1 )+1-(G 2 +jw 2 C 2 )Z 21 ′…………Eq1-9
(G 2 +jw 2 C 2 )Z 22 ′=R 2 (G 2 +jw 2 C 2 )+1-(G 1 +jw 2 C 1 )Z 21 ′………Eq1-10
each Z parameter is represented in real and imaginary form, respectively: z 11 =Z 11 +jZ 11i 、 Z 22 =Z 22r +jZ 22i 、Z 21 =Z 21r +jZ 21i 、Z 11 ′=Z 11r ′+jZ 11i ′、Z 22 ′=Z 22r ′+jZ 22i ' and Z 21 ′=Z 21r ′+jZ 21i ' then, respectively substituting each Z parameter represented by the imaginary part and the real part into equations Eq1-7 to Eq1-10, and separating the real part from the imaginary part to obtain a new equation set as follows:
Figure A20061010386300201
as can be seen from the above equation set, the eight equations include R 1 、R 2 、C 1 、C 2 、G 1 And G 2 These six variables, according to the structural symmetry of the above eight equations, can be easily seen as linear equations only if the following conditions are satisfied: the number of the equations selected from Eq1-11 to Eq1-14 and Eq1-15 to Eq1-18 must be equal, namely three equations are selected from the four equations Eq1-11, eq1-12, eq1-13 and Eq1-14, and three equations are selected from the four equations Eq1-15, eq1-16, eq1-17 and Eq 1-18; the equations selected from Eq1-11, eq1-12, eq1-13, eq1-14 and Eq1-15, eq1-16, eq1-17, eq1-18 must satisfy structural symmetry, so that there are only four cases of selection to satisfy these two requirements, respectively the following selection modes:
1、Eq1-11、Eq1-12、Eq1-13、Eq1-15、Eq1-16、Eq1-17
2、Eq1-11、Eq1-12、Eq1-14、Eq1-15、Eq1-16、Eq1-18
3、Eq1-11、Eq1-13、Eq1-14、Eq1-15、Eq1-17、Eq1-18
4、Eq1-12、Eq1-13、Eq1-14、Eq1-16、Eq1-17、Eq1-18
according to the characteristics of the line under test, of which the capacitance C is 1 And C 2 The impedance value of each element of the Z matrix is a main component which does not change along with the frequency and is a main component of the impedance value of each element of the Z matrix in low frequency, and the influence of the known quantity and the variable precision is small; and the resistance R 1 And R 2 At low frequencies, it is a very small component of the line impedance, greatly influenced by the known quantity and variable precision, so that stable C can be obtained first 1 And C 2 Then, an equation set which is relatively less influenced by the known quantity and the variable precision is searched to obtain R 1 And R 2 . To simplify the subsequent description of the equations, definitions are providedThe following constants: m is 1 =Z 11r -Z 11r ′、m 2 =Z 12r -Z 12r ′、m 3 =Z 22r -Z 22r ′、n 1 =w 1 Z 11i -w 2 Z 11i ′、 n 2 =w 2 Z 11i -w 1 Z 11i ′、n 3 =w 1 Z 12i -w 2 Z 12i ′、n 4 =w 2 Z 12i -w 1 Z 12i ′、n 5 =w 1 Z 22i -w 2 Z 22i ' and n 6 =w 2 Z 22i -w 1 Z 22i ′。
To simplify to obtain a linear equation according to (Eq 1-11) - (Eq 1-15), w 2 ×(Eq1-12)-w 1 ×(Eq1-16)、w 2 ×(Eq1-14)-w 1 X (Eq 1-18) and simplified to obtain: m is 2 G 2 -n 1 C 1 -n 3 C 2 =-m 1 G 1 、n 6 G 2 +m 2 w 1 w 2 C 1 +m 3 w 1 w 2 C 2 =-n 4 G 1 And n 4 G 2 +m 1 w 1 w 2 C 1 +m 2 w 1 w 2 C 2 =-n 2 G 1 . Note that matrices MAR1, MR1G2, MR1C1, and MR1C2 are:
Figure A20061010386300213
Figure A20061010386300214
recording the determinant of each matrix as follows: the ratio relationship among MAR1, MR1G2, MR1C1 and MR1C2 is
Figure A20061010386300215
Figure A20061010386300216
And
Figure A20061010386300217
this gives: g 2 =p 2 G 1 、C 1 =p 1 G 1 And C 2 =p 3 G 1 R can be obtained by substituting the above equality relationship into the equation Eq1-12 or Eq1-16 1 To substitute the equation Eq1-12 is an example:
Figure A20061010386300218
accordingly according to w 2 ×(Eq1-12)-w 1 ×(Eq1-16)、(Eq1-13)-(Eq1-17)、 w 2 ×(Eq1-14)-w 1 X (Eq 1-18) and simplified to obtain: n is 4 G 2 +m 1 w 1 w 2 C 1 +m 2 w 1 w 2 C 2 =-n 2 G 1 、 n 6 G 2 +m 2 w 1 w 2 C 1 +m 3 w 1 w 2 C 2 =-n 4 G 1 And m 3 G 2 -n 3 C 1 -n 5 C 2 =-m 2 G 1 . Let matrices MAR2, MR2G2, MR2C1, and MR2C2 be:
Figure A200610103863002110
Figure A200610103863002111
Figure A20061010386300221
recording the determinant of each matrix as follows: the ratio relationship between MAR2, MR1G2, MR2C1 and MR2C2 is
Figure A20061010386300222
Figure A20061010386300223
And
Figure A20061010386300224
this makes it possible to obtain: g 2 =q 2 G 1 、C 1 =q 1 G 1 And C 2 =q 3 G 1 R can be obtained by substituting the above equation into Eq1-12 or Eq1-16 1 Take the substitution equation Eq1-12 as an example:
Figure A20061010386300225
the obtained R 1temp And R 2temp Substituting the equations Eq1-11, eq1-12, eq1-13, eq1-14 or Eq1-15, eq1-16, eq1-17, eq1-18 into the equation so as to obtain the equation containing four variables C 1 、C 2 、G 1 And G 2 To obtain C from the four linear equations 1 、C 2 、G 1 And G 2 The specific value of (a). Take the first four equations as an example:
Figure A20061010386300226
the following equation set C 1 、C 2 、G 1 And G 2 And (6) solving.
Note that matrices M, MC, MC2, MG1 and MG2 are:
Figure A20061010386300228
Figure A20061010386300231
Figure A20061010386300232
and
Figure A20061010386300233
the determinant of each matrix is respectively recorded as: i M, MG1, MG2, MC1 and MC2, such that C 1 、C 2 、G 1 And G 2 Can be respectively expressed as:
Figure A20061010386300234
in the above equation set, the equations Eq1-23 and Eq1-2 are based on4 is stable and not affected by the known quantity and the variable precision. As mentioned before, due to R 1 And R 2 At low frequencies, it is a very small component of the Z parameter impedance and is therefore greatly affected by the known quantity and variable accuracy, the C which will now be stable 1 And C 2 As a known quantity, into equations Eq1-11 to Eq1-18, so that there are four variables in the eight equations, for a total of
Figure A20061010386300235
And (4) combining the solutions. After extensive simulation and calculation, e.g. based on the obtained line fundamental parameter R 1 、R 2 、C 1 、C 2 、G 1 And G 2 Calculating each Z parameter, and then calculating R according to the obtained Z parameters 1 、R 2 、C 1 、C 2 、G 1 And G 2 Finally, it is found that only one combination can obtain stable and accurate R 1 And R 2 The combination is: eq1-12, eq1-14, eq1-16, eq1-18. Thus, will be known as C 1 And C 2 Substituting into four parties Eq1-12, eq1-14, eq1-16 and Eq1-18In the process:
Figure A20061010386300241
the notation matrices MP, MR1 and MR2 are respectively:
Figure A20061010386300243
and
Figure A20061010386300244
the determinant of each matrix is respectively recorded as: i MP, MR1 and MR2, such that R 1 And R 2 Can be expressed as:
Figure A20061010386300245
in summary, R 1 、R 2 、C 1 、C 2 、G 1 And G 2 Eight line basic parameters are represented by six equations Eq1-23 to Eq1-28, respectively, and R to be obtained 1 、R 2 、C 1 、C 2 、G 1 And G 2 Substituting into the equation, the remaining variable Z can be represented as:
Figure A20061010386300246
step 543: r and L are corrected.
The above steps obtain the basic parameters of the line model, and usually, because the line is long, the circuit model of the line cannot reflect the real situation of signal transmission when the ADSL high-frequency band transmits signals, so the basic parameters obtained in the above steps need to be mapped to the transmission line model of the line through correction, as shown in fig. 6.
According to the transmission line equation, there are:
U (x) =A 1 e -γx +A 2 e γx
Figure A20061010386300251
the relationship between each parameter and the basic line parameter is as follows:
Figure A20061010386300253
since G is very small, it can be ignored. From this, the frequency response of the line attenuation can be determined as:
|S 21 |=e -αf
wherein
Figure A20061010386300254
Wherein the relation between R and C and the obtained R1, R2, C1 and C2 is as follows:
Figure A20061010386300255
r and C are only resistance and capacitance values under low frequency, because the line attenuation is a function of frequency, the line attenuation corresponding to different frequencies is different, and in order to obtain the line attenuation under other frequencies, according to the above formula, the invention needs to obtain the resistance R under other frequencies first (f) Capacitor C (f) And an inductance L (f)
For the line of the twisted pair, the capacitance does not change with the frequency, but the resistance and the inductance change with the frequency, so the capacitance under other frequencies does not need to be calculated, namely the capacitance under all the frequencies is the same, and the capacitance can be replaced by the obtained low-frequency capacitance C; i.e. C (f) =C
The invention only needs to calculate the resistance R under other frequencies (f) And an inductance L (f)
Calculation of the resistance at other frequencies f:
where R is the resistance at low frequencies and α is a certain constant. It can be seen that the resistance at different frequencies is different; with this formula, the resistances at other frequencies are all calculated.
Calculation of the inductances at other frequencies f:
Figure A20061010386300261
wherein L is a ,L a ,f p And b is a determined value: la: inductance per kilometer line in direct current; lo: the inductance limit value of each kilometer of the line when the frequency is infinite; fp: a critical frequency; b: and the inductance is a characteristic quantity of the frequency variation trend. It can be seen that the inductance at different frequencies is different; by means of this formula it is possible to,the inductances at other frequencies are all calculated.
And step 544, acquiring the frequency response of the line transmission attenuation.
Obtain the resistance R under different frequencies (f) Capacitor C (f) And an inductance L (f) Then, substituting into the formula for calculating attenuation derived, the attenuation at other frequencies can be calculated:
|S 21 |=e -αf
wherein
Figure A20061010386300262
When the line attenuation is obtained, the line attenuation is compared with a known standard, and a fault such as the aging condition of the line can be judged.
The system and the device provided by the invention can be accurate and stable without being influenced by the line length when the line parameters are obtained, and solve the defects that the TDR method adopted by the prior art is inaccurate in attenuation test of a long line and in attenuation test when a terminal is matched.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (11)

1. A method for obtaining basic parameters of a line, the method comprising:
the DSP controls the signal generator SG to generate test signals of a first frequency and a second frequency, and the sampling unit samples sampling voltages under the first frequency and the second frequency respectively and provides the sampled sampling voltages for the DSP;
the DSP obtains a vector ratio of the sampling voltage under the first frequency and a vector ratio of the sampling voltage under the second frequency, and obtains a Z parameter according to the vector ratios;
and the DSP acquires the basic circuit parameters according to the Z parameters.
2. The method of claim 1, further comprising:
the circuit is disconnected, the DSP controls the SG to generate test signals of a first frequency and a second frequency, the sampling unit respectively samples calibration sampling voltages under the first frequency and the second frequency, and the sampled calibration sampling voltages are provided for the DSP;
the DSP obtains a vector ratio of the calibration sampling voltage under a first frequency and a vector ratio of the calibration sampling voltage under a second frequency of the access line;
the DSP obtaining the Z parameter according to the obtained vector ratio comprises: and acquiring the Z parameter according to the vector ratio of the calibration sampling voltage under the first frequency and the vector ratio of the calibration sampling voltage under the second frequency, and the vector ratio of the sampling voltage under the first frequency and the vector ratio of the sampling voltage under the second frequency.
3. The method of claim 1 or 2, wherein the ratio of vectors obtained by the DSP is obtained by a fast fourier transform, FFT, algorithm calculation.
4. The method according to claim 1 or 2, wherein the basic parameters of the acquired line are: the inductance of the line, the resistance of the line and the capacitance of the line.
5. A method according to claim 1 or 2, characterized in that the method further comprises:
and after the obtained Z parameter is used for correcting the calculated basic parameter to obtain the parameter of the line, obtaining the frequency response of the line according to the corrected parameter of the line.
6. The method of claim 3, further comprising: and comparing the acquired frequency response of the line with a frequency response standard to obtain the aging condition of the line.
7. A device for obtaining the basic parameters of line is characterized by that it includes CPU, DSP, logic unit, signal generator SG and sampling unit, in which the CPU is connected with DSP, the DSP is connected with logic unit, the signal generator is connected with logic unit, the sampling unit is respectively connected with logic unit, signal emitter and DSP,
the CPU is used for informing the DSP to carry out line test;
the DSP is used for informing the logic unit to send a test signal and sample according to the test notice of the CPU, and acquiring the basic parameters of the tested circuit according to the data provided by the sampling unit;
the logic unit is used for controlling the SG to generate a test signal and then controlling the sampling unit to sample; the SG is used for generating a test signal according to the control of the logic unit and sending the test signal to the sampling unit;
the sampling unit is used for receiving the test signal from the SG, sampling according to the control of the logic unit, and then providing the sampled data for the DSP.
8. The apparatus of claim 7, wherein the DSP is further configured to obtain a frequency response of the line under test based on the obtained basic parameters of the line under test.
9. The apparatus of claim 7, further comprising an output display unit coupled to the CPU, the CPU being configured to receive data provided by the DSP and to provide the data to the output display unit; the output display unit is used for displaying data from the CPU.
10. The apparatus of claim 7, wherein the sampling unit includes a linear filter LF, an analog/digital converter AD, a random access memory RAM, a relay, a sampling relay switch, a current sampling resistor, and a ground resistor,
where LF is used for linear filtering and AD is used for conversion between analog and digital quantities.
11. The apparatus of claim 10, wherein the RAM is a Static Random Access Memory (SRAM).
CN2006101038637A 2006-08-04 2006-08-04 Method and device for obtaining essential parameter of circuit Expired - Fee Related CN101119136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101038637A CN101119136B (en) 2006-08-04 2006-08-04 Method and device for obtaining essential parameter of circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101038637A CN101119136B (en) 2006-08-04 2006-08-04 Method and device for obtaining essential parameter of circuit

Publications (2)

Publication Number Publication Date
CN101119136A true CN101119136A (en) 2008-02-06
CN101119136B CN101119136B (en) 2012-07-11

Family

ID=39055097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101038637A Expired - Fee Related CN101119136B (en) 2006-08-04 2006-08-04 Method and device for obtaining essential parameter of circuit

Country Status (1)

Country Link
CN (1) CN101119136B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102832970A (en) * 2012-08-06 2012-12-19 清华大学 Power line state monitoring method and device
CN103209144A (en) * 2013-03-15 2013-07-17 中国电子科技集团公司第二十二研究所 Relative extraction method for network parameters of transmission line impedance transformer
CN104467917A (en) * 2014-12-30 2015-03-25 唐山轨道客车有限责任公司 High-speed motor train unit communication cable test system and method
CN105656044A (en) * 2014-12-03 2016-06-08 中国航空工业集团公司雷华电子技术研究所 FFT (Fast Fourier Transform) based current harmonic wave inhibition method
CN105762798A (en) * 2014-12-17 2016-07-13 中国航空工业集团公司雷华电子技术研究所 Method for inhibiting current harmonics based on FFT (Fast Fourier Transform)
CN108075808A (en) * 2017-12-06 2018-05-25 珠海格力电器股份有限公司 Power carrier frequency control method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4404636A (en) * 1981-04-08 1983-09-13 Wilcom Products, Inc. Phasor impedance measuring test set
EP0624292B1 (en) * 1992-01-28 2001-09-05 ROSS, Alan Near-end communications line characteristic measuring system
IT1293441B1 (en) * 1997-07-11 1999-03-01 Sip PROCEDURE AND DEVICE FOR MEASURING THE ECHO PARAMETERS ON TELEPHONE LINES.
US6876725B2 (en) * 2001-05-09 2005-04-05 Centillium Communications, Inc. Single ended line probing in DSL system
JP4477626B2 (en) * 2003-05-12 2010-06-09 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and apparatus for signal loop testing
CN1588966A (en) * 2004-09-27 2005-03-02 新太科技股份有限公司 Method for detecting ADSC line parameter

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102832970A (en) * 2012-08-06 2012-12-19 清华大学 Power line state monitoring method and device
CN102832970B (en) * 2012-08-06 2015-02-18 清华大学 Power line state monitoring method and device
CN103209144A (en) * 2013-03-15 2013-07-17 中国电子科技集团公司第二十二研究所 Relative extraction method for network parameters of transmission line impedance transformer
CN105656044A (en) * 2014-12-03 2016-06-08 中国航空工业集团公司雷华电子技术研究所 FFT (Fast Fourier Transform) based current harmonic wave inhibition method
CN105762798A (en) * 2014-12-17 2016-07-13 中国航空工业集团公司雷华电子技术研究所 Method for inhibiting current harmonics based on FFT (Fast Fourier Transform)
CN104467917A (en) * 2014-12-30 2015-03-25 唐山轨道客车有限责任公司 High-speed motor train unit communication cable test system and method
CN108075808A (en) * 2017-12-06 2018-05-25 珠海格力电器股份有限公司 Power carrier frequency control method and device

Also Published As

Publication number Publication date
CN101119136B (en) 2012-07-11

Similar Documents

Publication Publication Date Title
JP4477626B2 (en) Method and apparatus for signal loop testing
US8265232B2 (en) Estimation of transmission line insertion loss
US20020172329A1 (en) Single ended line probing in DSL system
US20070206668A1 (en) Method and device for detecting inductive elements in a communication line
US6842012B2 (en) Modeling and calibrating a three-port time-domain reflectometry system
CN101119136B (en) Method and device for obtaining essential parameter of circuit
JP4495238B2 (en) Method, apparatus, and computer program for estimating characteristics of communication transmission path
WO2006063068A2 (en) System and method to determine loop characteristics
EP2438686A1 (en) Passive selt
WO2013154568A1 (en) Selt and delt based diagnostic methods & systems for twisted pair telephone lines
WO2010093300A1 (en) Methods and devices for transmission line analysis
RU2406224C2 (en) Method, device and software for evaluating properties of transmission line of communication system
AU2004237642B2 (en) Method and arrangement for signal loop test
GB2619257A (en) Detecting a loop length change in a digital subscriber line
WO2002033941A1 (en) Method and apparatus for testing voice and data lines in a telecommunication system
Costa et al. Characterization of subscriber local loop by measures and analysis of frequency and impulse responses

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120711

Termination date: 20170804