WO2019001279A1 - Vector standing wave ratio acquisition method, fpga and remote radio frequency unit - Google Patents

Vector standing wave ratio acquisition method, fpga and remote radio frequency unit Download PDF

Info

Publication number
WO2019001279A1
WO2019001279A1 PCT/CN2018/091126 CN2018091126W WO2019001279A1 WO 2019001279 A1 WO2019001279 A1 WO 2019001279A1 CN 2018091126 W CN2018091126 W CN 2018091126W WO 2019001279 A1 WO2019001279 A1 WO 2019001279A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
amplitude value
period
maximum amplitude
signal period
Prior art date
Application number
PCT/CN2018/091126
Other languages
French (fr)
Chinese (zh)
Inventor
张恩溯
李虎虎
陈凯
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019001279A1 publication Critical patent/WO2019001279A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a vector standing wave ratio acquisition method, an FPGA, and a remote radio unit.
  • the vector standing wave ratio detection is applied to the remote radio unit (RRU) to solve the VSWR conversion scheme in the scalar standing wave ratio detection scheme (the power amplifier port reflection coefficient to the antenna standing wave ratio) ) and the error caused by the use of scalar calculations, causing a problem that the antenna standing wave ratio detection error is large.
  • RRU remote radio unit
  • a large amount of data of a transmitted signal and a reflected signal is collected by an FPGA (Field Programmable Gate Array), and is transmitted to a DSP (Digital Signal Processor). Processor) to calculate the reflection coefficient.
  • the DSP when calculating the reflection coefficient, performs delay alignment processing on the acquired data of a large number of transmitted signals and reflected signals, and performs data filtering, and calculates data according to the corresponding points of the transmitted signal and the reflected signal after the delay alignment processing.
  • the phase of the reflection coefficient is obtained, and the average power of the transmitted signal and the reflected signal are respectively calculated by Fourier transform and inverse Fourier transform according to the processed data of the transmitted signal and the reflected signal, and then the reflection is obtained according to the average power of the transmitted signal and the reflected signal.
  • the magnitude of the coefficient multiplies the amplitude and phase of the reflection coefficient to obtain the reflection coefficient.
  • the vector standing wave ratio is then obtained by the RRU's central processing unit based on the reflection coefficient calculated by the DSP.
  • the vector standing wave ratio is obtained according to the above existing method, the amount of data required to be acquired is large, the calculation process is complicated, and the demand for resources is high.
  • the present disclosure provides a vector standing wave ratio acquisition method of the embodiment, FPGA and remote RF unit.
  • An embodiment of the present disclosure provides a method for acquiring a vector standing wave ratio, including:
  • the embodiment of the present disclosure further provides a field programmable gate array FPGA, including: a signal transmitter, an acquisition processing device, and a reflection coefficient calculation device;
  • the signal transmitter is configured to transmit a periodic pulse transmission signal, and to a maximum amplitude value of the periodic pulse transmission signal in each signal period, and a maximum amplitude value of the periodic pulse transmission signal in the first signal period Corresponding time is sent to the reflection coefficient calculation device;
  • the collection processing device is configured to: when the signal transmitter transmits a periodic pulse transmission signal, acquire a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each of the signal periods according to a preset acquisition frequency, and Obtaining a time when the maximum amplitude value of the reflected signal is collected in each of the signal periods;
  • the reflection coefficient calculating means is configured to calculate a magnitude of a reflection coefficient of each signal period according to a maximum amplitude value of the periodic pulse transmission signal and a maximum amplitude value of the reflected signal in each of the signal periods;
  • the reflection coefficient calculation device is further configured to calculate, according to a time corresponding to a maximum amplitude value of the periodic pulse transmission signal sent by the signal transmitter in a first signal period, and a period duration of the signal period a time corresponding to the maximum amplitude value in the signal period, and combining the preset acquisition frequency and the time of the maximum amplitude value of the reflected signal obtained by the acquisition processing device, calculating a phase of the reflection coefficient of each signal period; and setting The amplitude and phase of the reflection coefficients for each signal period determine the reflection coefficient for each signal period.
  • the embodiment of the present disclosure further provides a remote radio unit, including: a processor, and the FPGA connected to the processor;
  • the FPGA is configured to transmit a periodic pulse transmission signal and calculate a reflection coefficient of the periodic pulse transmission signal in each signal period;
  • the processor is configured to calculate a vector standing wave ratio of the periodic pulse transmission signal in each signal period according to a reflection coefficient of the periodic pulse transmission signal calculated by the FPGA in each signal period.
  • An embodiment of the present disclosure further provides a vector standing wave ratio obtaining apparatus, including a data acquiring module and a processing module.
  • the data acquisition module is configured to acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period, and acquire a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency; And setting a time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period;
  • the processing module is configured to acquire, according to a maximum amplitude value of the periodic pulse transmitting signal and the reflected signal in each signal period, a magnitude of a reflection coefficient corresponding to each signal period, and obtain corresponding signals according to the collecting frequency and a delay corresponding to each signal period. a phase of the reflection coefficient of the period, thereby determining a reflection coefficient corresponding to each signal period; and being configured to acquire a vector standing wave ratio corresponding to each signal period according to a reflection coefficient corresponding to each signal period.
  • Embodiments of the present disclosure also provide a computer storage medium having stored therein computer executable instructions for performing the aforementioned vector standing wave ratio acquisition method.
  • FIG. 1 is a schematic flowchart diagram of a method for acquiring a vector standing wave ratio according to Example 1 of the present disclosure
  • Example 2 is a schematic diagram of waveforms of several periodic pulse transmission signals according to Example 1 of the present disclosure
  • Example 3 is a comparison diagram of an acquisition data and a periodic pulse transmission signal according to Example 1 of the present disclosure
  • Example 4 is a schematic flow chart of collecting a maximum amplitude value of a reflected signal in each signal period and determining a corresponding time according to Example 1 of the present disclosure
  • FIG. 5 is a schematic structural diagram of a vector standing wave ratio obtaining apparatus according to Example 2 of the present disclosure.
  • Example 6 is a schematic structural diagram of a remote radio unit according to Example 3 of the present disclosure.
  • Example 7 is a schematic structural diagram of a field programmable gate array according to Example 3 of the present disclosure.
  • Example 8 is a schematic structural diagram of an acquisition processing device according to Example 3 of the present disclosure.
  • Example 9 is a schematic structural diagram of a data processing unit according to Example 3 of the present disclosure.
  • Example 10 is a schematic structural diagram of a more detailed data processing unit of Example 3 of the present disclosure.
  • Example 11 is a schematic structural diagram of a reflection coefficient calculation device according to Example 3 of the present disclosure.
  • Example 12 is a schematic structural diagram of a detailed field programmable gate array according to Example 4 of the present disclosure.
  • FIG. 1 is a schematic flowchart of a method for acquiring a vector standing wave ratio according to an embodiment of the present invention, including:
  • S101 Acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period
  • the pulse transmission signal is periodic, only the maximum amplitude value in the first signal period can be obtained as the maximum amplitude value of the pulse transmission signal in each signal period;
  • the maximum amplitude value can also be reacquired in each signal cycle to ensure the accuracy of the maximum amplitude value obtained during the signal period.
  • the acquisition of the maximum amplitude value of the pulsed transmission signal over each signal period can be achieved by a signal detector.
  • the relevant parameters of the pulse transmission signal such as waveform, period, maximum amplitude, etc., are set in the signal generator in advance. Therefore, in order to reduce the circuit complexity, the signal detector may not be set. At this time, the preset maximum amplitude is directly obtained from the generating device of the periodic pulse transmitting signal as the maximum amplitude value of the pulse transmitting signal in each signal period. can.
  • a pulse signal For a pulse signal, it essentially transmits a pulse with a periodic interval, such as three periodic pulse transmission signals as shown in FIG. 2, and the signal waveform of the s 0 portion is the transmitted pulse, and the s 1 portion means that the signal waveform of the transmission pulse interval, i.e., a substantial portion of the transmitted pulse not s. Therefore, in the present embodiment, for the periodic pulse transmission signal, the start time must be the start time of transmitting the first pulse signal. That is, in the present embodiment, the waveform of each signal period is a waveform starting from a pulse signal waveform and ending with a line characterizing 0 level.
  • S102 Acquire a maximum amplitude value of a reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency
  • the pulse transmission signal is a periodic signal starting from a pulse signal and ending at a level of 0
  • the reflected signal is also within a signal period time (in time for receiving the reflected signal). Starting with the pulse signal, ending at level 0, the maximum amplitude is determined by the reflected pulse signal.
  • the data of the reflected signal may be collected when the periodic pulse transmission signal is transmitted. Since the received reflected signal is delayed compared to the pulsed transmitted signal, when the reflected signal is not returned, the data collected at this time is characterized by a 0 level, after which the pulse signal in the reflected signal is acquired, and the corresponding 0 power is thereafter Flat signal. Therefore, for the collected reflected signal data, it can be represented by a waveform diagram as shown in FIG. 3.
  • the upper waveform in FIG. 3 is a periodic pulse transmission signal, and the lower side is a waveform image formed by the collected data.
  • the starting time of collecting data is the starting time t 0 of the periodic pulse transmitting signal.
  • T denote the duration of the signal period
  • n denote the nth signal period.
  • the maximum amplitude value of the reflected signal in each signal period is: t 0 +(n-1)T to t 0 +nT The maximum amplitude value of the reflected signal data collected during the time period.
  • the transmission interval of the pulse signal in order to ensure that the collected data in each signal period contains the data of the pulse signal of the reflected signal, in the periodic pulse transmission signal, the transmission interval of the pulse signal must be greater than or equal to the received reflected signal and the transmitted pulse transmitted signal.
  • the acquisition frequency may be preset by an engineer according to actual needs. Thereafter, the collected data is divided according to the signal period, and the data in the same signal period is compared, thereby obtaining the maximum amplitude value corresponding to each signal period.
  • the delay between the pulsed emission signal and the reflected signal can be recorded by recording the start time t 0 of the transmitted pulse signal, and recording the time t 1 of the first acquisition of the non-zero data of the reflected signal (because the reflected signal is also The pulse signal is in front, so the time t 1 at which the non-zero data of the reflected signal is first collected can be used to indicate the reception time of the reflected signal), and the delay between the pulsed signal and the reflected signal can be determined by t 1 -t 0 . And determine that the delay is consistent within each signal period.
  • t 1 is the time when the reflected pulse signal is first collected, which is limited by the acquisition frequency, and may be greatly deviated from the reception time of the real reflected signal, and therefore, the signal period can be passed.
  • the time corresponding to the maximum amplitude of the internal pulsed emission signal and the reflected signal determines the time delay corresponding to the periodic pulsed emission signal and the reflected signal in each signal period. For example, the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in each signal period is obtained, and the time corresponding to the maximum amplitude value of the reflected signal in each signal period is obtained; and corresponding to the maximum amplitude value of the reflected signal in each signal period.
  • the time corresponding to the maximum amplitude value of the periodic pulse transmission signal determines the time delay corresponding to the periodic pulse transmission signal and the reflection signal in each signal period.
  • the time corresponding to the maximum amplitude of the pulse transmission signal in a certain signal period is t 2
  • the time corresponding to the maximum amplitude of the reflected signal is t 3
  • the calculation delay is t 3 -t 2 .
  • only the delay corresponding to the pulse transmission signal and the reflection signal in the first signal period may be calculated, and the delay is used as the corresponding delay in each signal period.
  • the delay corresponding to the pulsed emission signal and the reflected signal in each signal period can also be separately calculated.
  • S104 Acquire an amplitude of a reflection coefficient corresponding to each signal period according to a maximum amplitude value of the periodic pulse transmission signal and the reflection signal in each signal period;
  • the maximum amplitude value of the pulse transmission signal is A1 in a certain signal period, and the maximum amplitude value of the reflection signal is A2, and the amplitude of the reflection coefficient is A2/A1.
  • S105 Acquire a phase corresponding to a reflection coefficient of each signal period according to an acquisition frequency and a delay corresponding to each signal period;
  • the acquisition frequency be f
  • the delay in a signal period is ⁇
  • the phase of the corresponding reflection coefficient in the signal period is cos(2 ⁇ f ⁇ )+isin(2 ⁇ f ⁇ ).
  • the former formula is a complex number
  • cos(2 ⁇ f ⁇ ) is the real part of the complex number
  • sin(2 ⁇ f ⁇ ) is the imaginary part of the complex number
  • i is (-1) 1/2 .
  • S106 Determine a reflection coefficient corresponding to each signal period according to an amplitude and a phase of a reflection coefficient corresponding to each signal period;
  • S107 Acquire a vector standing wave ratio corresponding to each signal period according to a reflection coefficient corresponding to each signal period.
  • the reflection coefficient ⁇ is a vector value, it has amplitude and phase information, thereby accurately acquiring the standing wave ratio.
  • the time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period is determined by the time corresponding to the maximum amplitude of the pulse transmitting signal and the reflected signal in each signal period, for periodic pulses in each signal period.
  • the time corresponding to the maximum amplitude value of the transmitted signal may be obtained by detecting the maximum amplitude value of the periodic pulse transmission signal in each signal period and determining the corresponding time.
  • the pulse transmission signal is monitored in real time, and the demand for resources is large.
  • the pulse transmission signal is a periodic signal
  • the time corresponding to the maximum amplitude value in each cycle also corresponds. Therefore, it is possible to acquire only the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period; and calculate the remaining signal period based on the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period. The time corresponding to the maximum value.
  • the time corresponding to the maximum amplitude value in the first signal period is t 4
  • the time corresponding to the maximum amplitude value in the nth signal period is t 4 +(n-1)T.
  • the manner of determining the maximum amplitude value corresponding to the periodic pulse transmission signal in each signal period may be adapted to obtain the preset maximum amplitude directly from the generating device of the periodic pulse transmitting signal as the pulse transmitting signal in each signal period.
  • the solution of the maximum amplitude value, at this time, the time corresponding to the maximum amplitude value of the pulse transmission signal in each signal period can be determined according to the waveform of the pulse signal. For example, for the first arc pulse and the second triangular pulse as shown in FIG.
  • the duration of the pulse signal is T 1 , or the interval between the two pulse signals is T 2 , then the nth signal
  • the time corresponding to the maximum amplitude value in the period is 1/2T 1 +(n-1)T, or 1/2(TT 2 )+(n-1)T.
  • the generation time of the square wave pulse in each signal period can be used as the time corresponding to the maximum amplitude value.
  • the demand for resources is high due to the intervention of the relevant signal detecting means.
  • the time during which the square wave is generated to reach the maximum amplitude value is very short, so the start time of the square wave can be obtained as the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period.
  • the determination of the corresponding time of the maximum amplitude value in each signal period is performed.
  • the intervention of the relevant signal detecting device is not required, and the time corresponding to the maximum amplitude value of the periodic pulse transmitting signal in the first signal period can be obtained directly by the generating device of the periodic pulse transmitting signal.
  • the maximum amplitude value in each signal period is determined for the collected reflected signal and the corresponding time is determined.
  • the process is shown in FIG. 4, and includes:
  • S401 Acquire an amplitude value of the reflected signal according to a preset acquisition frequency
  • the determination as to whether or not the data is acquired in the same signal period can be determined by the sequence number of the record. For example, if the period of the signal period is T seconds and the preset acquisition frequency is M/T, the sequence number is 1+(n-1)M to nM, which is the data collected in the nth signal period.
  • the comparison of the acquired amplitude values in the same signal period may be: comparing the amplitude value of the previous sequence number with the amplitude value of the subsequent sequence number, discarding the smaller one; continuing with the next sequence The amplitude values of the numbers are compared so that the maximum amplitude value is finally retained.
  • S405 Calculate a time when the maximum amplitude value of the reflected signal is collected in each signal period according to the sequence number of the maximum amplitude value in each signal period and the preset acquisition frequency.
  • the sequence number of the record has a corresponding relationship with the preset acquisition frequency and the acquisition time.
  • the acquisition time sequence number ⁇ preset acquisition frequency.
  • the acquisition time of the sequence value corresponding to the sequence number is saved, and the correspondence between the sequence number and the acquisition time is established, and then the maximum is determined according to each signal period.
  • the sequence number of the amplitude value can directly get the corresponding time.
  • the data of the reflected signals collected according to the preset acquisition frequency may be averaged to determine the amplitude of each collection point, and finally find out more in each signal cycle. The exact maximum amplitude.
  • the average amplitude value of the acquired consecutive amplitude values of K sequence numbers in the same signal period can be calculated, and the calculated average amplitude value is used as the amplitude value corresponding to the smallest sequence number among the collected K sequence numbers, and finally The amplitude values corresponding to the sequence numbers collected in the same signal period are compared in size. At this time, the size comparison is performed on the calculated average value.
  • the average calculation in this embodiment is the data collected in the same signal period. For the last K-1 data collected in the same signal period, the number of the average values used for calculation is insufficient, and the complement is added by adding 0. For example, if K is 8, and there are 50 amplitude values collected in the same signal period, the final determined amplitude number of the sequence number is the average of the first 8 amplitude values collected, and the sequence number is 2 The value is the average value of the collected second amplitude value to the ninth amplitude value, and so on. For the amplitude value of sequence number 44, it is the collected 44th amplitude value to the 50th amplitude value.
  • Add an average value of 0 divided by 8 and the amplitude value of sequence number 45 is the average value of the 45th amplitude value to the 50th amplitude value, plus 2 zeros divided by 8 and so on.
  • the average value of the 50th amplitude value collected is further supplemented by 7 zeros divided by 8.
  • the method for acquiring the vector standing wave ratio provided by this embodiment may be implemented by using a DSP, or may be implemented only by using an FPGA.
  • FPGA When implemented only by FPGA, there is no need to set up the DSP in the RRU device, which reduces the cost and simplifies the circuit complexity.
  • the vector standing wave ratio obtaining method directly calculates the amplitude of the reflection coefficient corresponding to each signal period by acquiring the maximum amplitude value of the transmitted signal and the reflected signal in each signal period, directly passing the transmitted signal and the reflected signal.
  • the delay of each signal period calculates the phase of the reflection coefficient corresponding to each signal period, which reduces the amount of data to be acquired, simplifies the calculation process, and reduces the demand for resources.
  • FIG. 5 is a schematic structural diagram of a vector standing wave ratio obtaining apparatus according to an embodiment, which includes a data acquiring module 51 and a processing module 52, where:
  • the data acquisition module 51 is configured to acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period, and acquire a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency; And setting a time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period.
  • the processing module 52 is configured to obtain, according to the maximum amplitude value of the periodic pulse transmission signal and the reflection signal in each signal period, the amplitude of the reflection coefficient corresponding to each signal period, and obtain corresponding signals according to the acquisition frequency and the delay corresponding to each signal period. a phase of the reflection coefficient of the period, thereby determining a reflection coefficient corresponding to each signal period; and being configured to acquire a vector standing wave ratio corresponding to each signal period according to a reflection coefficient corresponding to each signal period.
  • the data acquisition module 51 can obtain only the maximum amplitude value in the first signal period, thereby using the maximum amplitude value of the pulse transmission signal in each signal period; In this embodiment, the data acquisition module 51 can also reacquire the maximum amplitude value once in each signal period, thereby ensuring the accuracy of the maximum amplitude value acquired in the signal period.
  • a pulsed transmit signal For a pulsed transmit signal, it is essentially a pulse with periodic intervals, so for a periodic pulsed transmit signal, its start time is the start time at which the first pulse signal is transmitted. That is, in the present embodiment, the waveform of each signal period is a waveform starting from a pulse signal waveform and ending with a line characterizing 0 level.
  • the pulse transmission signal is a periodic signal starting from a pulse signal and ending at a level of 0
  • the reflected signal is also within a signal period time (in time for receiving the reflected signal). Starting with the pulse signal, ending at level 0, the maximum amplitude is determined by the reflected pulse signal.
  • the data of the reflected signal may be collected when the periodic pulse transmission signal is transmitted. Since the received reflected signal is delayed compared to the pulsed transmitted signal, when the reflected signal is not returned, the data acquired by the data acquiring module 51 at this time is characterized by a level of 0, after which the pulse signal in the reflected signal is acquired, and thereafter Corresponding 0 level signal.
  • the starting time of the collected data is the starting time t 0 of the periodic pulse transmitting signal;
  • the maximum amplitude value of the collected reflected signal in each signal period is: at t 0 + (n-1)
  • T represents the duration of the signal period, and n represents the nth signal period.
  • the transmission interval of the pulse signal in order to ensure that the collected data of the data acquisition module 51 in each signal period includes the data of the pulse signal of the reflected signal, in the periodic pulse transmission signal, the transmission interval of the pulse signal must be greater than or equal to the received reflection signal and The delay between the transmission of the pulse transmission signal. In practical engineering applications, in the periodic pulse transmission signal, the transmission interval of the pulse signal is much larger than the delay between the received reflected signal and the transmitted pulse transmitted signal.
  • the acquisition frequency can be preset by the engineer according to actual needs.
  • the delay between the pulse transmission signal and the reflection signal acquired by the data acquisition module 51 can be performed by recording the start time t 0 of the transmission pulse transmission signal, and recording the first time the reflected signal is non-zero.
  • the time t 1 of the data (because the reflected signal is also the pulse signal first, the time t 1 at which the non-zero data of the reflected signal is first collected can be used to indicate the reception time of the reflected signal), and the pulse emission can be determined by t 1 -t 0
  • the delay between the signal and the reflected signal and determines that the delay is consistent over each signal period.
  • t 1 is the time when the reflected pulse signal is first collected, which is limited by the acquisition frequency, and may be greatly deviated from the reception time of the real reflected signal. Therefore, the data acquisition module 51 may The time delay corresponding to the periodic pulsed emission signal and the reflected signal in each signal period is determined by the time corresponding to the maximum amplitude of the pulsed signal and the reflected signal in each signal period. For example, the data acquisition module 51 acquires the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in each signal period, and acquires the time corresponding to the maximum amplitude value of the reflected signal in each signal period; and then reflects the signal according to each signal period.
  • the time corresponding to the maximum amplitude value and the time corresponding to the maximum amplitude value of the periodic pulse transmission signal determine the time delay corresponding to the periodic pulse transmission signal and the reflection signal in each signal period.
  • the data acquisition module 51 can also separately calculate the delay corresponding to the pulse transmission signal and the reflection signal in each signal period.
  • the processing module 52 can calculate the amplitude of the reflection coefficient according to the formula A2/A1, where A1 is the maximum amplitude value of the pulse transmission signal in a certain signal period, and A2 is the maximum amplitude value of the reflection signal in the signal period.
  • the phase of the reflection coefficient can be calculated according to the formula cos(2 ⁇ f ⁇ )+isin(2 ⁇ f ⁇ ), where f is the preset acquisition frequency, ⁇ is the corresponding delay of the signal period, and i is (-1) 1/2 .
  • the data acquiring module 51 determines the time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period by using the time corresponding to the maximum amplitude of the pulse transmitting signal and the reflected signal in each signal period, for each signal period.
  • One way of obtaining the time corresponding to the maximum amplitude value of the internal periodic pulse transmission signal may be to detect the maximum amplitude value of the periodic pulse transmission signal in each signal period and determine the corresponding time.
  • the data acquisition module 51 performs real-time monitoring on the pulse transmission signal, and the demand for resources is large.
  • the pulse transmission signal is a periodic signal
  • the time corresponding to the maximum amplitude value in each cycle also corresponds. Therefore, the data acquisition module 51 may only acquire the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period; and calculate the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period. The time corresponding to the maximum amplitude value in the remaining signal periods.
  • the manner in which the data acquiring module 51 determines that the maximum amplitude value of the periodic pulse transmission signal in each signal period corresponds to the time may be applied to directly obtain the preset maximum amplitude from the generating device of the periodic pulse transmitting signal as the pulse transmitting signal.
  • the scheme of the maximum amplitude value in each signal period, at which time the time corresponding to the maximum amplitude value of the pulse transmission signal in each signal period can be determined according to the waveform of the pulse signal.
  • the data acquisition module 51 can acquire the time when the amplitude value of the square wave reaches the maximum amplitude value in the first signal period as the periodicity. The time corresponding to the maximum amplitude value of the pulsed transmission signal in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period.
  • the time during which the square wave is generated to reach the maximum amplitude value is very short, so the data acquisition module 51 can acquire the start time of the square wave as the maximum amplitude value corresponding to the periodic pulse transmission signal in the first signal period. The time, thereby determining the corresponding time of the maximum amplitude value in each signal period.
  • the data acquiring module 51 determines the maximum amplitude value in each signal period and determines the corresponding time for the collected reflected signal, and the process is: collecting the amplitude value of the reflected signal according to the preset acquisition frequency, and recording and collecting.
  • the sequence number of each amplitude value obtained is compared with the amplitude values corresponding to the sequence numbers collected in the same signal period, thereby determining the maximum amplitude value of the reflected signal in each signal period, and finally according to each signal period.
  • the sequence number of the largest value and the preset acquisition frequency are used to calculate the time at which the maximum amplitude value of the reflected signal is acquired in each signal period.
  • the determination by the data acquisition module 51 as to whether or not data is acquired in the same signal period can be determined by the sequence number of the record.
  • the data acquisition module 51 compares the acquired amplitude values in the same signal period, and compares the amplitude value of the previous sequence number with the amplitude value of the subsequent sequence number, and discards the smaller one; continues with the next sequence.
  • the amplitude values of the numbers are compared so that the maximum amplitude value is finally retained.
  • the sequence number recorded by the data acquisition module 51 has a corresponding relationship with the preset acquisition frequency and the acquisition time.
  • the acquisition time sequence number ⁇ the preset acquisition frequency.
  • the sequence number in the formula is the sequence number corresponding to the maximum amplitude value, and is obtained based on the data. Module 51 can determine the time corresponding to the maximum amplitude value collected.
  • the data acquisition module 51 may also save the acquisition time of the sequence value corresponding to the amplitude value when the sequence number of each amplitude value is collected, and establish a correspondence between the sequence number and the acquisition time, and then according to each The sequence number of the maximum amplitude value in the signal period can directly obtain the corresponding time.
  • the data acquisition module 51 may perform mean processing on the data of the reflected signals collected according to the preset acquisition frequency, thereby determining the amplitude of each collection point, and finally finding out in each More accurate maximum amplitude during the signal period.
  • the average amplitude value of the acquired consecutive amplitude values of K sequence numbers in the same signal period can be calculated, and the calculated average amplitude value is used as the amplitude value corresponding to the smallest sequence number among the collected K sequence numbers, and finally The amplitude values corresponding to the sequence numbers collected in the same signal period are compared in size. At this time, the size comparison is performed on the calculated average value.
  • the vector standing wave ratio obtaining device directly acquires the maximum amplitude value of the transmitted signal and the reflected signal in each signal period through the data acquiring module, so that the processing module can directly calculate the amplitude of the reflection coefficient corresponding to each signal period;
  • the time delay of the transmitted signal and the reflected signal in each signal period is directly obtained by the data acquisition module, so that the processing module can directly calculate the phase of the reflection coefficient corresponding to each signal period, which reduces the amount of data required to be acquired, and simplifies the calculation. The process reduces the need for resources.
  • FIG. 6 is a schematic structural diagram of a remote radio unit according to an embodiment of the present disclosure, including a processor 61 and a field programmable gate array 62, where:
  • the field programmable gate array 62 is configured to transmit a periodic pulse transmission signal and calculate a reflection coefficient of the periodic pulse transmission signal in each signal period;
  • the processor 61 is configured to calculate the reflection coefficient of the periodic pulse transmission signal calculated in accordance with the FPGA 62 in each signal period, thereby calculating the vector standing wave ratio of the periodic pulse transmission signal in each signal period.
  • the structure of the field programmable gate array 62 can be seen in FIG. 7, and includes a signal transmitter 621, an acquisition processing device 622, and a reflection coefficient calculation device 623. among them,
  • the signal transmitter 621 is configured to transmit a periodic pulse transmission signal, and to output a maximum amplitude value of the periodic pulse transmission signal in each signal period, and a time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period. Sended to the reflection coefficient calculation device;
  • the acquisition processing device 622 is configured to: when the signal transmitter 621 transmits the periodic pulse transmission signal, acquire the maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to the preset acquisition frequency, and acquire the signal in each signal period. The time at which the maximum amplitude value of the reflected signal is collected;
  • the reflection coefficient calculation means 623 is arranged to calculate the amplitude of the reflection coefficient of each signal period according to the maximum amplitude value of the periodic pulse transmission signal and the maximum amplitude value of the reflection signal in each signal period;
  • the reflection coefficient calculation means 623 is further configured to calculate the time corresponding to the maximum amplitude value in each signal period according to the time corresponding to the maximum amplitude value of the periodic pulse transmission signal transmitted by the signal transmitter and the period duration of the signal period. And combining the preset acquisition frequency and the time of acquiring the maximum amplitude value of the reflected signal obtained by the processing device, calculating the phase of the reflection coefficient of each signal period; and setting the signal period according to the amplitude and phase of the reflection coefficient of each signal period. Reflection coefficient.
  • the pulse transmission signal transmitted by the signal transmitter 621 is periodic, when the pulse transmission signal is generated, the relevant parameters of the pulse transmission signal, such as the waveform, the period, are set in advance in the signal generator. , the maximum amplitude, etc. Therefore, the signal transmitter 621 can directly transmit the preset maximum amplitude of the periodic pulse transmission signal to the reflection coefficient calculation means 623 as the maximum amplitude value of the pulse transmission signal in each signal period.
  • the time corresponding to the maximum amplitude of each periodic pulse transmission signal of the signal transmitter 621 may be determined as follows: at this time, the maximum amplitude value of the pulse transmission signal in the first signal period can be determined according to the waveform of the pulse signal. Corresponding time, and calculating the time corresponding to the maximum amplitude value in the remaining signal periods according to the time and the signal period duration.
  • the signal detecting circuit can also be disposed in the signal transmitter 621, so that when the signal transmitter 621 generates and transmits the periodic pulse transmitting signal, the periodic pulse transmitting signal can be detected and acquired in each signal period.
  • the signal detection circuit can acquire only the maximum amplitude value in the first signal period as the maximum amplitude value of the pulse transmission signal in each signal period.
  • the signal detecting circuit when the signal detecting circuit is disposed in the signal transmitter 621, the corresponding time can be determined when detecting the maximum amplitude value of the periodic pulse transmitting signal in each signal period.
  • the pulse transmission signal is a periodic signal
  • the time corresponding to the maximum amplitude value in each cycle also corresponds. Therefore, the signal detecting circuit can only acquire the time corresponding to the maximum amplitude value of the periodic pulse transmitting signal in the first signal period; and calculate the rest based on the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period. The time corresponding to the maximum amplitude value in the signal period.
  • a pulsed transmit signal For a pulsed transmit signal, it is essentially a pulse with periodic intervals, so for a periodic pulsed transmit signal, its start time is the start time at which the first pulse signal is transmitted. That is, in the present embodiment, the waveform of each signal period is a waveform starting from a pulse signal waveform and ending with a line characterizing 0 level.
  • the pulse transmission signal is a periodic signal starting from a pulse signal and ending at a level of 0
  • the reflected signal is also within a signal period time (in time for receiving the reflected signal). Starting with the pulse signal, ending at level 0, the maximum amplitude is determined by the reflected pulse signal.
  • the data of the reflected signal may be simultaneously started when the signal transmitter 621 transmits the periodic pulse transmission signal. Since the reflected signal received by the acquisition processing device 622 is delayed compared to the pulsed signal, when the reflected signal is not returned, the data collected by the acquisition processing device 622 is characterized by a level of 0, after which the pulse in the reflected signal is acquired. The signal, and the corresponding 0-level signal thereafter. Therefore, for the data collected by the acquisition processing device 622, the start time of the collected data is the start time t 0 of the signal transmitter 621 transmitting the periodic pulse transmission signal; the acquisition processing device 622 is at the nth signal period. The maximum amplitude value of the internally collected reflected signal is the maximum amplitude value of the reflected signal data collected during the period from t 0 +(n-1)T to t 0 +nT. T represents the duration of the signal period.
  • the transmission interval of the pulse signal in order to ensure that the collected data of the signal transmitter 621 in each signal period includes the data of the pulse signal of the reflected signal, in the periodic pulse transmission signal, the transmission interval of the pulse signal must be greater than or equal to the received reflected signal and The delay between the transmission of the pulse transmission signal. In practical engineering applications, in the periodic pulse transmission signal, the transmission interval of the pulse signal is much larger than the delay between the received reflected signal and the transmitted pulse transmitted signal.
  • the acquisition frequency can be preset by the engineer according to actual needs.
  • the delay between the received reflected signal and the transmitted pulse transmitted signal is obtained by the reflection coefficient calculating means 623 according to the time corresponding to the maximum amplitude value of the periodic pulse transmitting signal in each signal period and the time of the maximum amplitude value of the collected reflected signal. of.
  • the signal transmitter 621 transmits only the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period
  • the time corresponding to the maximum amplitude value of the pulse transmission signal in each of the remaining signal periods is determined by the reflection coefficient calculation means 623.
  • the time corresponding to the maximum amplitude value in the first signal period and the duration of the signal period are calculated.
  • the periodic pulse transmission signal transmitted by the signal transmitter 621 may be a square wave pulse transmission signal.
  • the square wave pulse transmitting signal has more than one point corresponding to the maximum amplitude value in one signal period, so the signal transmitter 621 can use the time when the amplitude value of the square wave pulse in the first signal period reaches the maximum amplitude value as the periodic pulse.
  • the transmission signal is sent to the reflection coefficient calculation means 623 at a time corresponding to the maximum amplitude value in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period.
  • the signal transmitter 621 generates a square wave pulse until the time when the amplitude of the square wave pulse reaches the maximum amplitude value is very short, so the signal transmitter 621 can directly use the start time of transmitting the periodic pulse signal as the periodicity.
  • the pulse transmission signal is sent to the reflection coefficient calculation means 623 at a time corresponding to the maximum amplitude value in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period.
  • the acquisition processing device 622 includes a signal collector 6221 and a data processing unit 6222.
  • the signal collector 6221 is responsible for collecting the relevant data in the reflected signal, and the data processing unit 6222 determines the maximum amplitude value in each signal period and the time corresponding to the maximum amplitude value in each signal period.
  • the acquisition processing device 622 determines the maximum amplitude value in each signal period and determines the corresponding time for the collected reflected signal, by: collecting the periodic pulse emission by the signal collector 6221 according to the preset acquisition frequency. The amplitude value of the signal is recorded, and the sequence numbers of the acquired amplitude values are recorded; and the data processing unit 6222 compares the amplitude values corresponding to the sequence numbers collected in the same signal period to determine the reflection in each signal period. The maximum amplitude value of the signal is finally calculated according to the sequence number of the maximum amplitude value and the preset acquisition frequency in each signal period, and the time at which the maximum amplitude value of the reflected signal is collected in each signal period is calculated.
  • the sequence number of the data collected in this embodiment has a corresponding relationship with the preset acquisition frequency and the acquisition time.
  • the sequence number is 15, the preset acquisition frequency is 30 times/second, and the acquisition time is 0.5 seconds.
  • Frequency ⁇ acquisition time 15, which means that 15 times have been collected.
  • the sequence number of the newly acquired data is 15.
  • the data processing unit 6222 is to determine the data collected by the signal collector 6221 to determine if it was acquired in the same signal period. The determination can be performed by the sequence number of the record. For example, the preset acquisition frequency is 30 times/second, and the signal period duration is 5 seconds, indicating that one cycle is acquired 150 times, that is, starting from sequence number 1, each consecutive 150 sequence numbers. The corresponding data is in one signal period.
  • the data processing unit 622 may perform mean processing on the data of the reflected signals collected according to the preset acquisition frequency, thereby determining the amplitude of each collection point, and finally finding out the More accurate maximum amplitude during the signal period.
  • the data processing unit 6222 can calculate the average amplitude value of the acquired K consecutive number values of the sequence numbers in the same signal period, and then use the calculated average amplitude value as the smallest sequence number among the collected K sequence numbers. The amplitude value is finally compared with the amplitude values corresponding to the sequence numbers collected in the same signal period. At this time, the data processing unit 622 performs size comparison on the calculated average value.
  • the data processing unit 6222 can be a single input, a K output shift register 91, and a K input adder 92 connected to the K outputs of the shift register 91, respectively.
  • a first divider 93 connected to the K input adder 92 and a numerical comparator 94 connected to the first divider 93 are formed. among them:
  • the shift register 91 is arranged to input successive amplitude values of K sequence numbers located in the same signal period into the adder 92 through the K output terminals;
  • the adder 92 is arranged to sum the input K amplitude values, and send the result of the summation to the first divider 93;
  • the first divider 93 is arranged to calculate an amplitude average of the sum of the K amplitude values
  • the numerical comparator 94 is arranged to receive the amplitude average calculated by the first divider 93 and compare the amplitude averages to determine the maximum amplitude value of the reflected signal during each of the signal periods. For example, the value comparator 94 compares the amplitude value of the previous sequence number with the amplitude value of the latter sequence number, discards the smaller one; continues to compare with the amplitude value of the latter sequence number, and so on, and finally retains The most significant value.
  • the data whose amplitude average calculated by the first divider 93 is lower than the preset threshold may be directly discarded.
  • the shift register 91 may be formed by a series of K D flip-flops 911, and each D flip-flop is set to output a signal input to the shift register by the signal collector 6221 when triggered. Amplitude value.
  • the shift register 91 is composed of eight D flip-flops 911 connected in series. From the input end of the shift register 91, eight D flip-flops 911 are sequentially D1-D8, and the signal collector 6221 is sequentially input with eight amplitude values.
  • A11-A18 when the signal collector 6211 inputs the first amplitude value A11, D1 outputs A11, D2-D8 has no output; when the signal collector 6221 inputs the second amplitude value A12, D1 outputs A11 to D2, D1 output A12, D2 output A11, D3-D8 no output; when the signal collector 6221 inputs the third amplitude value A13, D2 outputs A11 to D3, D1 outputs A12 to D2, D1 outputs A13, and D2 outputs A12.
  • D3 output A11, D4-D8 has no output; and so on, finally when the signal collector 6211 inputs the eighth amplitude value A18, D1 outputs A18, D2 outputs A17, D3 outputs A16, ..., D8 outputs A11.
  • the signal collector 6221 continues to input the ninth amplitude value A19, the previously input A11 is discarded. At this time, D1 outputs A19, D2 outputs A18, D3 outputs A17, ..., and D8 outputs A12.
  • the reflection coefficient calculating means 623 may be constituted by a numerically controlled oscillator 6231 (NCO) and a second divider 6232.
  • the second divider 6232 divides the maximum amplitude value of the reflected signal and the pulsed emission signal in each signal period to obtain the magnitude of the reflection coefficient.
  • the digitally controlled oscillator 6231 is configured to calculate the real and imaginary parts of the phase of the emission coefficient in accordance with the time corresponding to the maximum amplitude value of the pulsed signal and the reflected signal in each signal period, in combination with the preset acquisition frequency.
  • the vector standing wave ratio is finally calculated by the processor 61 of the remote radio unit based on the reflection coefficient calculated by the FPGA 62.
  • the function of the processor 61 to calculate the vector standing wave ratio based on the reflection coefficient can also be implemented in the FPGA 62.
  • the remote radio unit provided in this embodiment includes an FPGA that can obtain a vector reflection coefficient, and directly transmits the maximum amplitude value of the transmitted signal and the reflected signal in each signal period to the reflection coefficient computing device through the signal transmitter and the acquisition processing device of the FPGA. So that the reflection coefficient calculation device directly calculates the amplitude of the reflection coefficient corresponding to each signal period; at the same time, directly transmits the transmitted signal and the reflected signal at the corresponding time of the maximum amplitude value of each signal period through the signal transmitter and the acquisition processing device of the FPGA.
  • the reflection coefficient calculating means causes the reflection coefficient calculating means to directly calculate the phase of the reflection coefficient corresponding to each signal period, thereby reducing the amount of data required to acquire the vector standing wave ratio, simplifying the calculation process, and reducing the resources Demand.
  • the remote radio unit provided in this embodiment can acquire the vector standing wave ratio by the FPGA and the processor, or even separately by the FPGA, so there is no need to set the DSP in the remote radio unit. Reduced costs.
  • the present example exemplifies the solution of the embodiment of the present disclosure on the basis of the third example, taking a case where the signal transmitter 621 transmits a periodic square wave pulse transmission signal.
  • FIG. 12 is a schematic structural diagram of an FPGA according to an embodiment of the present disclosure, including a signal transmitter 621, an acquisition processing device 622 including a signal collector 6221 and a data processing unit 6222, and a digital control oscillator 6231 and The reflection coefficient calculation means 623 of the second divider 6232.
  • the signal transmitter 621 transmits a periodic square wave pulse transmission signal, and the signal period duration is T, and the square wave pulse transmission signal starts time is t 0 .
  • the signal transmitter 621 transmits the start time t 0 to the signal collector 6221 and the reflection coefficient calculation means 623, and transmits the set square wave pulse transmission signal amplitude A1 to the reflection coefficient calculation means 623.
  • the signal collector 6221 starts sampling with the time t 0 as the starting time, and separately collects the data of the reflected signals in each signal period based on the signal period.
  • f is the preset sampling frequency.
  • there is a sampling point at t 0 that is, there is an initial sampling point, in order to ensure the accuracy of the calculation, that is, the sequence number of the initial sampling point in each period is 0. That is, the sampling point in the first period is N sample +1.
  • the data of the sampling point with the sequence number N sample in the previous signal period is The sampled data of its starting point.
  • the sequence numbers of the sampling points are not repeated. For example, if 101 points are collected in one signal period, the sampling point sequence number is 0-100 in the first signal period, and the sampling points in the first signal period. The sequence number is 100-200. Note that for a sample point with sequence number 100, it is the last sample point in the first signal period and the initial sample point in the second signal period.
  • the signal collector 6221 adds the amplitude of the sample point with the sequence number N and the amplitude of the 7 sample points after the point in the sampling process, and then averages the sample point with the sequence number N.
  • the magnitude of the. Where N 0, 1, 2, .... If there are not enough 7 sample points after the Nth sampling point, then by complementing 0, the average is still averaged according to 8 data.
  • the data processing unit 6222 finds the maximum value in the data after the equalization processing, for example, compares one data with the smallest sequence number with the latter data, and discards if it is smaller than the previous number, and is retained if it is greater than the previous number. The previous number and its location information are discarded.
  • the last retained data is the amplitude A2 of the maximum point of the amplitude and its sequence number N max .
  • the sampling time t 1 +(n-1)T can be calculated, where n is the number of signal periods, indicating that the signal collector 6221 collects the first few Cycle data.
  • the data processing unit 6222 transmits A2 and the corresponding sampling time t 1 +(n-1)T to the reflection coefficient calculating means 623, and the reflection coefficient calculating means 623 determines that the start time of the square wave pulse transmitting signal of the period is t 0 + (n-1)T, input t 0 +(n-1)T and t 1 +(n-1)T into the digitally controlled oscillator 6231, and calculate the real part cos of the reflection coefficient (2 ⁇ f(t 1 - t 0 )) and the imaginary part sin(2 ⁇ f(t 1 -t 0 )).
  • the reflection coefficient calculating means 623 also inputs the amplitude A1 of the square wave pulse transmitting signal and the maximum amplitude A2 of the collected reflected signal into the second divider 6232, and calculates the amplitude A2/A1 of the reflection coefficient.
  • Embodiments of the present disclosure also provide a computer storage medium having stored therein computer executable instructions for performing the aforementioned vector standing wave ratio acquisition method.
  • the vector reflection coefficient value is directly calculated by directly acquiring the square wave amplitude and the start time, and directly collecting the maximum amplitude value and the maximum amplitude value of the reflected signal, which makes the vector reflection coefficient value
  • the algorithm for calculating the vector standing wave ratio detection is simpler, and the whole process is realized by FPGA, which does not require DSP intervention, simplifies the circuit and reduces the cost.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .

Abstract

Provided are a vector standing wave ratio acquisition method, a field programmable gate array (FPGA) and a remote radio frequency (RF) unit, wherein an amplitude value of a reflection coefficient of each signal period is directly calculated (S104) by means of acquiring maximum amplitude values of a pulse emission signal and a reflection signal during each signal period (S101, S102); directly calculating a phase of the reflection coefficient of each signal period (S105) by means of acquiring a time delay of the pulse emission signal and the reflection signal during each signal period (S103) and combining the same with a preset acquisition frequency; determining the reflection coefficient of each corresponding signal period according to the amplitude and phase of the reflection coefficient of the each corresponding signal period (S106), and obtaining the vector standing wave ratio of the each corresponding signal period according to the reflection coefficient (S107).

Description

矢量驻波比获取方法、FPGA及远端射频单元Vector standing wave ratio acquisition method, FPGA and remote radio unit 技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种矢量驻波比获取方法、FPGA及远端射频单元。The present disclosure relates to the field of communications technologies, and in particular, to a vector standing wave ratio acquisition method, an FPGA, and a remote radio unit.
背景技术Background technique
在通信技术中,矢量驻波比检测是应用于远端射频单元(RRU,Radio Remote Unit)中,以解决标量驻波比检测方案中由于驻波比转换(功放口反射系数到天线驻波比)和使用标量计算带来的误差,造成天线驻波比检测误差较大的问题的。在现有的检测矢量驻波比的方法中,是通过FPGA(Field Programmable Gate Array,现场可编程门阵列)大量采集发射信号和反射信号的相关数据,并交由DSP(Digital Signal Processor,数字信号处理器)以计算反射系数。例如,DSP在计算反射系数时,会对获取到的大量发射信号和反射信号的相关数据进行时延对齐处理,并进行数据筛选,根据时延对齐处理后发射信号和反射信号对应点的数据计算得到反射系数的相位,同时分别根据处理后的发射信号和反射信号的数据通过傅立叶变换和反傅立叶变换分别计算发射信号和反射信号的平均功率,进而根据发射信号和反射信号的平均功率求取出反射系数的幅度,将反射系数的幅度和相位相乘得到反射系数。之后由RRU的中央处理器根据DSP计算得到的反射系数求取矢量驻波比。但是,根据上述现有方法获取矢量驻波比时,其所需获取的数据量很大,计算过程很复杂,对于资源的需求很高。In communication technology, the vector standing wave ratio detection is applied to the remote radio unit (RRU) to solve the VSWR conversion scheme in the scalar standing wave ratio detection scheme (the power amplifier port reflection coefficient to the antenna standing wave ratio) ) and the error caused by the use of scalar calculations, causing a problem that the antenna standing wave ratio detection error is large. In the existing method of detecting the vector standing wave ratio, a large amount of data of a transmitted signal and a reflected signal is collected by an FPGA (Field Programmable Gate Array), and is transmitted to a DSP (Digital Signal Processor). Processor) to calculate the reflection coefficient. For example, when calculating the reflection coefficient, the DSP performs delay alignment processing on the acquired data of a large number of transmitted signals and reflected signals, and performs data filtering, and calculates data according to the corresponding points of the transmitted signal and the reflected signal after the delay alignment processing. The phase of the reflection coefficient is obtained, and the average power of the transmitted signal and the reflected signal are respectively calculated by Fourier transform and inverse Fourier transform according to the processed data of the transmitted signal and the reflected signal, and then the reflection is obtained according to the average power of the transmitted signal and the reflected signal. The magnitude of the coefficient multiplies the amplitude and phase of the reflection coefficient to obtain the reflection coefficient. The vector standing wave ratio is then obtained by the RRU's central processing unit based on the reflection coefficient calculated by the DSP. However, when the vector standing wave ratio is obtained according to the above existing method, the amount of data required to be acquired is large, the calculation process is complicated, and the demand for resources is high.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
针对根据现有方法获取矢量驻波比时,所需获取的数据量很大,计算过程很复杂,对于资源的需求很高的问题,本公开提供实施例的一种矢量驻波比获取方法、FPGA及远端射频单元。When the vector standing wave ratio is obtained according to the existing method, the amount of data to be acquired is large, the calculation process is complicated, and the demand for resources is high, the present disclosure provides a vector standing wave ratio acquisition method of the embodiment, FPGA and remote RF unit.
本公开实施例提供了一种矢量驻波比获取方法,包括:An embodiment of the present disclosure provides a method for acquiring a vector standing wave ratio, including:
获取周期性脉冲发射信号在各信号周期内的最大幅度值,并按照预设采集频率采集所述周期性脉冲发射信号的反射信号在各信号周期内的最大幅度值;Obtaining a maximum amplitude value of the periodic pulse transmission signal in each signal period, and collecting a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency;
获取各信号周期内所述周期性脉冲发射信号和反射信号对应的时延;Obtaining a delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period;
根据各信号周期内所述周期性脉冲发射信号和反射信号的最大幅度值获取对应各信号周期的反射系数的幅度,并根据所述采集频率以及各信号周期对应的时延获取对应各信号周期的所述反射系数的相位;Obtaining, according to a maximum amplitude value of the periodic pulse transmitting signal and the reflected signal in each signal period, an amplitude of a reflection coefficient corresponding to each signal period, and acquiring, according to the acquiring frequency and a delay corresponding to each signal period, corresponding to each signal period. The phase of the reflection coefficient;
根据对应各信号周期的所述反射系数的幅度和相位确定对应各信号周期的所述反射系数,并根据对应各信号周期的所述反射系数获取对应各信号周期的所述矢量驻波比。And determining, according to the amplitude and phase of the reflection coefficient corresponding to each signal period, the reflection coefficient corresponding to each signal period, and acquiring the vector standing wave ratio corresponding to each signal period according to the reflection coefficient corresponding to each signal period.
本公开实施例还提供一种现场可编程门阵列FPGA,包括:信号发射器,采集处理装置,和反射系数计算装置;The embodiment of the present disclosure further provides a field programmable gate array FPGA, including: a signal transmitter, an acquisition processing device, and a reflection coefficient calculation device;
所述信号发射器设置为发射周期性脉冲发射信号,并将所周期性脉冲发射信号在各信号周期内的最大幅度值,以及所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间发送给所述反射系数计算装置;The signal transmitter is configured to transmit a periodic pulse transmission signal, and to a maximum amplitude value of the periodic pulse transmission signal in each signal period, and a maximum amplitude value of the periodic pulse transmission signal in the first signal period Corresponding time is sent to the reflection coefficient calculation device;
所述采集处理装置设置为在所述信号发射器发射周期性脉冲发射信号时,按照预设采集频率采集所述周期性脉冲发射信号的反射信号在各所述信号周期内的最大幅度值,并获取在各所述信号周期内采集到所述反射信号最大幅度值的时间;The collection processing device is configured to: when the signal transmitter transmits a periodic pulse transmission signal, acquire a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each of the signal periods according to a preset acquisition frequency, and Obtaining a time when the maximum amplitude value of the reflected signal is collected in each of the signal periods;
所述反射系数计算装置设置为根据各所述信号周期内的所述周期性脉冲发射信号的最大幅度值以及所述反射信号最大幅度值计算各信号周期的反射系数的幅度;The reflection coefficient calculating means is configured to calculate a magnitude of a reflection coefficient of each signal period according to a maximum amplitude value of the periodic pulse transmission signal and a maximum amplitude value of the reflected signal in each of the signal periods;
所述反射系数计算装置还设置为根据所述信号发射器发送的所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,以及所述信号周期的周期时长计算各所述信号周期内最大幅度值对应的时间,并结合预设采集频率以及所述采集处理装置获取的所述反射信号最大幅度值的时间,计算各信号周期的所述反射系数的相位;以及设置为根据各信号周期的反射系数的幅度和相位确定各信号周期的反射系数。The reflection coefficient calculation device is further configured to calculate, according to a time corresponding to a maximum amplitude value of the periodic pulse transmission signal sent by the signal transmitter in a first signal period, and a period duration of the signal period a time corresponding to the maximum amplitude value in the signal period, and combining the preset acquisition frequency and the time of the maximum amplitude value of the reflected signal obtained by the acquisition processing device, calculating a phase of the reflection coefficient of each signal period; and setting The amplitude and phase of the reflection coefficients for each signal period determine the reflection coefficient for each signal period.
本公开实施例还提供一种远端射频单元,包括:处理器,和所述处理器连接的上述FPGA;The embodiment of the present disclosure further provides a remote radio unit, including: a processor, and the FPGA connected to the processor;
所述FPGA设置为发送周期性脉冲发射信号,并计算所述周期性脉冲发射信号在各信号周期内的反射系数;The FPGA is configured to transmit a periodic pulse transmission signal and calculate a reflection coefficient of the periodic pulse transmission signal in each signal period;
所述处理器设置为根据所述FPGA计算得到的所述周期性脉冲发射信号在各信号周期内的反射系数,计算所述周期性脉冲发射信号在各信号周期内的矢量驻波比。The processor is configured to calculate a vector standing wave ratio of the periodic pulse transmission signal in each signal period according to a reflection coefficient of the periodic pulse transmission signal calculated by the FPGA in each signal period.
本公开实施例还提供一种矢量驻波比获取装置,包括数据获取模块和处理模块,An embodiment of the present disclosure further provides a vector standing wave ratio obtaining apparatus, including a data acquiring module and a processing module.
所述数据获取模块设置为获取周期性脉冲发射信号在各信号周期内的最大幅度值,并按照预设采集频率采集所述周期性脉冲发射信号的反射信号在各信号周期内的最大幅度值;以及设置为获取各信号周期内周期性脉冲发射信号和反射信号对应的时延;The data acquisition module is configured to acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period, and acquire a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency; And setting a time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period;
所述处理模块设置为根据各信号周期内周期性脉冲发射信号和反射信号的最大幅度值获取对应各信号周期的反射系数的幅度,并根据采集频率以及各信号周期对应的时延获取对应各信号周期的反射系数的相位,从而确定对应各信号周期的反射系数;以及设置为根据对应各信号周期的反射系数获取对应各信号周期的矢量驻波比。The processing module is configured to acquire, according to a maximum amplitude value of the periodic pulse transmitting signal and the reflected signal in each signal period, a magnitude of a reflection coefficient corresponding to each signal period, and obtain corresponding signals according to the collecting frequency and a delay corresponding to each signal period. a phase of the reflection coefficient of the period, thereby determining a reflection coefficient corresponding to each signal period; and being configured to acquire a vector standing wave ratio corresponding to each signal period according to a reflection coefficient corresponding to each signal period.
本公开实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的矢量驻波比获取方法。Embodiments of the present disclosure also provide a computer storage medium having stored therein computer executable instructions for performing the aforementioned vector standing wave ratio acquisition method.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本公开的本公开示例一的一种矢量驻波比获取方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a method for acquiring a vector standing wave ratio according to Example 1 of the present disclosure;
图2为本公开示例一的几种周期性脉冲发射信号波形示意图;2 is a schematic diagram of waveforms of several periodic pulse transmission signals according to Example 1 of the present disclosure;
图3为本公开示例一的一种采集数据与周期性脉冲发射信号的比对图;3 is a comparison diagram of an acquisition data and a periodic pulse transmission signal according to Example 1 of the present disclosure;
图4为本公开示例一的一种采集反射信号在各信号周期内的最大幅度值并确定对应时间的流程示意图;4 is a schematic flow chart of collecting a maximum amplitude value of a reflected signal in each signal period and determining a corresponding time according to Example 1 of the present disclosure;
图5为本公开示例二的一种矢量驻波比获取装置的结构示意图;FIG. 5 is a schematic structural diagram of a vector standing wave ratio obtaining apparatus according to Example 2 of the present disclosure;
图6为本公开示例三的一种远端射频单元的结构示意图;6 is a schematic structural diagram of a remote radio unit according to Example 3 of the present disclosure;
图7为本公开示例三的一种现场可编程门阵列的结构示意图;7 is a schematic structural diagram of a field programmable gate array according to Example 3 of the present disclosure;
图8为本公开示例三的一种采集处理装置的结构示意图;8 is a schematic structural diagram of an acquisition processing device according to Example 3 of the present disclosure;
图9为本公开示例三的一种数据处理单元的结构示意图;9 is a schematic structural diagram of a data processing unit according to Example 3 of the present disclosure;
图10为本公开示例三的一种更详细的数据处理单元的结构示意图;10 is a schematic structural diagram of a more detailed data processing unit of Example 3 of the present disclosure;
图11为本公开示例三的一种反射系数计算装置的结构示意图;11 is a schematic structural diagram of a reflection coefficient calculation device according to Example 3 of the present disclosure;
图12为本公开示例四的一种详细的现场可编程门阵列的结构示意图。12 is a schematic structural diagram of a detailed field programmable gate array according to Example 4 of the present disclosure.
详述Detailed
下面通过示例性实施方式结合附图对本公开实施例作详细说明。The embodiments of the present disclosure will be described in detail below by way of exemplary embodiments with reference to the accompanying drawings.
示例一:Example 1:
为降低获取矢量驻波比对于资源的需求,简化计算过程,本公开实施例提供了一种矢量驻波比获取方法。参见图1,图1为本实施例提供的一种矢量驻波比获取方法的流程示意图,包括:In order to reduce the requirement for resources of the vector standing wave ratio and simplify the calculation process, the embodiment of the present disclosure provides a vector standing wave ratio acquisition method. Referring to FIG. 1, FIG. 1 is a schematic flowchart of a method for acquiring a vector standing wave ratio according to an embodiment of the present invention, including:
S101:获取周期性脉冲发射信号在各信号周期内的最大幅度值;S101: Acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period;
在本实施例中,由于脉冲发射信号是周期性的,故可以仅获取第一个信号周期内的最大幅度值,以此作为脉冲发射信号在各信号周期内的最大幅度值;在本实施例中也可以在每个信号周期内均重新获取一次最大幅度值,从而保证在信号周期内获取到的最大幅度值的准确性。对于脉冲发射信号在各信号周期内的最大幅度值的获取可以是通过信号检测器来实现的。In this embodiment, since the pulse transmission signal is periodic, only the maximum amplitude value in the first signal period can be obtained as the maximum amplitude value of the pulse transmission signal in each signal period; The maximum amplitude value can also be reacquired in each signal cycle to ensure the accuracy of the maximum amplitude value obtained during the signal period. The acquisition of the maximum amplitude value of the pulsed transmission signal over each signal period can be achieved by a signal detector.
在生成周期性脉冲发射信号时,要预先在信号发生器中设定好脉冲发射信号的相关参数,如波形,周期,最大幅值等。因此,为减少电路复杂性,可以不设置信号检测器,此时直接从周期性脉冲发射信号的发生装置上获取到预设的最大幅值作为脉冲发射信号在各信号周期内的最大幅度值即可。When generating the periodic pulse transmission signal, the relevant parameters of the pulse transmission signal, such as waveform, period, maximum amplitude, etc., are set in the signal generator in advance. Therefore, in order to reduce the circuit complexity, the signal detector may not be set. At this time, the preset maximum amplitude is directly obtained from the generating device of the periodic pulse transmitting signal as the maximum amplitude value of the pulse transmitting signal in each signal period. can.
对于脉冲信号而言,其实质发送的是具有周期性间隔的脉冲,例如如图2所示的三种周期性脉冲发射信号,图示s 0部分信号波形即为发送的脉冲,而s 1部分信号波形即表示脉冲的发送间隔,即在s 1部分实质并未发射脉冲。因此,在本实施例中,对于周期性脉冲发射信号而言,其起始时间必然是发射第一个脉冲信号的起始时间。即在本实施例中,各信号周期的波形是以脉冲信号波形为起始,以表征0电平的直线为结束的波形。 For a pulse signal, it essentially transmits a pulse with a periodic interval, such as three periodic pulse transmission signals as shown in FIG. 2, and the signal waveform of the s 0 portion is the transmitted pulse, and the s 1 portion means that the signal waveform of the transmission pulse interval, i.e., a substantial portion of the transmitted pulse not s. Therefore, in the present embodiment, for the periodic pulse transmission signal, the start time must be the start time of transmitting the first pulse signal. That is, in the present embodiment, the waveform of each signal period is a waveform starting from a pulse signal waveform and ending with a line characterizing 0 level.
S102:按照预设采集频率采集周期性脉冲发射信号的反射信号在各信号周期内的最大幅度值;S102: Acquire a maximum amplitude value of a reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency;
在本实施例中,由于脉冲发射信号是以脉冲信号为起始,以0电平为结束的周期性信号,故其反射信号在一个信号周期的时间内(以接收到反射信号的时间)也是以脉冲信号为起始,以0电平为结束,最大幅值由反射的脉冲信号决定。In this embodiment, since the pulse transmission signal is a periodic signal starting from a pulse signal and ending at a level of 0, the reflected signal is also within a signal period time (in time for receiving the reflected signal). Starting with the pulse signal, ending at level 0, the maximum amplitude is determined by the reflected pulse signal.
在本实施例中,为保证对反射信号数据采集的及时性,可以在周期性脉冲发射信号被发送时即开始采集反射信号的数据。由于接收到的反射信号较脉冲发射信号有延迟,在反射信号未返回时,此时采集到的数据即表征0电平,此后才会采集到反射信号中的脉冲信号,以及此后对应的0电平信号。因此对于采集到的反射信号数据而言,其可以通过如图3所示的波形图来表示,图3中上方的波形为周期性脉冲发射信号,下方的为采集到的数据形成的波形图像,由两者比对可见,采集数据的起始时间即为周期性脉冲发射信号的起始时间t 0。设T即表示信号周期的时长,n表示第n个信号周期,则本实施例中反射信号在各信号周期内的最大幅度值即为:t 0+(n-1)T至t 0+nT时间段采集到的反射信号数据的最大幅度值。 In this embodiment, in order to ensure the timeliness of the data collection of the reflected signal, the data of the reflected signal may be collected when the periodic pulse transmission signal is transmitted. Since the received reflected signal is delayed compared to the pulsed transmitted signal, when the reflected signal is not returned, the data collected at this time is characterized by a 0 level, after which the pulse signal in the reflected signal is acquired, and the corresponding 0 power is thereafter Flat signal. Therefore, for the collected reflected signal data, it can be represented by a waveform diagram as shown in FIG. 3. The upper waveform in FIG. 3 is a periodic pulse transmission signal, and the lower side is a waveform image formed by the collected data. It can be seen from the comparison of the two that the starting time of collecting data is the starting time t 0 of the periodic pulse transmitting signal. Let T denote the duration of the signal period, and n denote the nth signal period. In this embodiment, the maximum amplitude value of the reflected signal in each signal period is: t 0 +(n-1)T to t 0 +nT The maximum amplitude value of the reflected signal data collected during the time period.
因此,为保证在各信号周期内的所采集到的数据包含有反射信号的脉冲信号的数据,周期性脉冲发射信号中,脉冲信号的发射间隔必然要大于等于接收到反射信号与发射脉冲发射信号间的时延。在实际工程应用中,周期性脉冲发射信号中,脉冲信号的发射间隔是远大于接收到反射信号与发射脉冲发射信号间的时延的。Therefore, in order to ensure that the collected data in each signal period contains the data of the pulse signal of the reflected signal, in the periodic pulse transmission signal, the transmission interval of the pulse signal must be greater than or equal to the received reflected signal and the transmitted pulse transmitted signal. The delay between. In practical engineering applications, in the periodic pulse transmission signal, the transmission interval of the pulse signal is much larger than the delay between the received reflected signal and the transmitted pulse transmitted signal.
在本实施例中,采集频率可以是工程师根据实际需求所预先设定的。此后根据信号周期对采集到的数据进行划分,对于同一信号周期内的数据进行 比较,从而得到各信号周期对应的最大幅度值。In this embodiment, the acquisition frequency may be preset by an engineer according to actual needs. Thereafter, the collected data is divided according to the signal period, and the data in the same signal period is compared, thereby obtaining the maximum amplitude value corresponding to each signal period.
在本实施例中步骤S101和S102不存在时序关系。There is no timing relationship in steps S101 and S102 in this embodiment.
S103:获取各信号周期内周期性脉冲发射信号和反射信号对应的时延;S103: Obtain a delay corresponding to a periodic pulse transmission signal and a reflection signal in each signal period;
在本实施例中,脉冲发射信号和反射信号之间的时延可以通过记录发射脉冲发射信号的起始时间t 0,再记录首次采集到反射信号非零数据的时间t 1(由于反射信号也是脉冲信号在前,故首次采集到反射信号非零数据的时间t 1即可用来表示反射信号的接收时间),通过t 1-t 0即可确定脉冲发射信号和反射信号之间的时延,并确定该时延在各信号周期内一致。 In this embodiment, the delay between the pulsed emission signal and the reflected signal can be recorded by recording the start time t 0 of the transmitted pulse signal, and recording the time t 1 of the first acquisition of the non-zero data of the reflected signal (because the reflected signal is also The pulse signal is in front, so the time t 1 at which the non-zero data of the reflected signal is first collected can be used to indicate the reception time of the reflected signal), and the delay between the pulsed signal and the reflected signal can be determined by t 1 -t 0 . And determine that the delay is consistent within each signal period.
在上述确定时延的过程中,t 1是首次采集到反射的脉冲信号的时间,受限于采集频率,其较真正的反射信号的接收时间可能存在较大偏差,因此,可以通过各信号周期内脉冲发射信号和反射信号最大幅值对应的时间来确定各信号周期内周期性脉冲发射信号和反射信号对应的时延。例如,会获取各信号周期内周期性脉冲发射信号的最大幅度值对应的时间,并获取各信号周期内反射信号的最大幅度值对应的时间;再根据各信号周期内反射信号的最大幅度值对应的时间和周期性脉冲发射信号的最大幅度值对应的时间确定获取各信号周期内周期性脉冲发射信号和反射信号对应的时延。 In the above process of determining the delay, t 1 is the time when the reflected pulse signal is first collected, which is limited by the acquisition frequency, and may be greatly deviated from the reception time of the real reflected signal, and therefore, the signal period can be passed. The time corresponding to the maximum amplitude of the internal pulsed emission signal and the reflected signal determines the time delay corresponding to the periodic pulsed emission signal and the reflected signal in each signal period. For example, the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in each signal period is obtained, and the time corresponding to the maximum amplitude value of the reflected signal in each signal period is obtained; and corresponding to the maximum amplitude value of the reflected signal in each signal period. The time corresponding to the maximum amplitude value of the periodic pulse transmission signal determines the time delay corresponding to the periodic pulse transmission signal and the reflection signal in each signal period.
例如,设获取到某一信号周期内脉冲发射信号最大幅值对应的时间为t 2,反射信号最大幅值对应的时间为t 3,此时计算时延即为t 3-t 2。在本实施例中可以仅计算第一个信号周期内脉冲发射信号和反射信号对应的时延,并以该时延作为各信号周期内对应的时延。在本实施例中也可以分别计算各信号周期内脉冲发射信号和反射信号对应的时延。 For example, it is assumed that the time corresponding to the maximum amplitude of the pulse transmission signal in a certain signal period is t 2 , and the time corresponding to the maximum amplitude of the reflected signal is t 3 , and the calculation delay is t 3 -t 2 . In this embodiment, only the delay corresponding to the pulse transmission signal and the reflection signal in the first signal period may be calculated, and the delay is used as the corresponding delay in each signal period. In this embodiment, the delay corresponding to the pulsed emission signal and the reflected signal in each signal period can also be separately calculated.
S104:根据各信号周期内周期性脉冲发射信号和反射信号的最大幅度值获取对应各信号周期的反射系数的幅度;S104: Acquire an amplitude of a reflection coefficient corresponding to each signal period according to a maximum amplitude value of the periodic pulse transmission signal and the reflection signal in each signal period;
设某一信号周期内,脉冲发射信号的最大幅度值为A1,反射信号的最大幅度值为A2,则反射系数的幅度即为A2/A1。It is assumed that the maximum amplitude value of the pulse transmission signal is A1 in a certain signal period, and the maximum amplitude value of the reflection signal is A2, and the amplitude of the reflection coefficient is A2/A1.
S105:根据采集频率以及各信号周期对应的时延获取对应各信号周期的反射系数的相位;S105: Acquire a phase corresponding to a reflection coefficient of each signal period according to an acquisition frequency and a delay corresponding to each signal period;
设采集频率为f,某一信号周期内时延为τ,则该信号周期内对应的反 射系数的相位即为cos(2πfτ)+isin(2πfτ)。前式为复数,cos(2πfτ)即为复数的实部,sin(2πfτ)即为复数的虚部,i为(-1) 1/2Let the acquisition frequency be f, and the delay in a signal period is τ, then the phase of the corresponding reflection coefficient in the signal period is cos(2πfτ)+isin(2πfτ). The former formula is a complex number, cos(2πfτ) is the real part of the complex number, and sin(2πfτ) is the imaginary part of the complex number, i is (-1) 1/2 .
在本实施例中步骤S104和S105不存在时序关系。There is no timing relationship in steps S104 and S105 in this embodiment.
S106:根据对应各信号周期的反射系数的幅度和相位确定对应各信号周期的反射系数;S106: Determine a reflection coefficient corresponding to each signal period according to an amplitude and a phase of a reflection coefficient corresponding to each signal period;
设某一信号周期内,反射系数的幅度即为A2/A1,相位为cos(2πfτ)+isin(2πfτ),则反射系数Г=A2/A1[cos(2πfτ)+isin(2πfτ)]。It is assumed that the amplitude of the reflection coefficient is A2/A1 and the phase is cos(2πfτ)+isin(2πfτ) in a certain signal period, and the reflection coefficient Г=A2/A1[cos(2πfτ)+isin(2πfτ)].
S107:根据对应各信号周期的反射系数获取对应各信号周期的矢量驻波比。S107: Acquire a vector standing wave ratio corresponding to each signal period according to a reflection coefficient corresponding to each signal period.
根据公式VSWR=(1+Г)/(1-Г)即可计算得到最终的驻波比VSWR。在本实施例中,由于反射系数Γ是矢量值,具有幅度和相位信息,从而准确地获取到驻波比。The final standing wave ratio VSWR can be calculated according to the formula VSWR=(1+Г)/(1-Г). In the present embodiment, since the reflection coefficient Γ is a vector value, it has amplitude and phase information, thereby accurately acquiring the standing wave ratio.
本实施例中,通过各信号周期内脉冲发射信号和反射信号最大幅值对应的时间来确定各信号周期内周期性脉冲发射信号和反射信号对应的时延时,对于各信号周期内周期性脉冲发射信号的最大幅度值对应的时间的获取方式可以是检测每一个信号周期内周期性脉冲发射信号的最大幅度值,并确定其对应的时间。In this embodiment, the time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period is determined by the time corresponding to the maximum amplitude of the pulse transmitting signal and the reflected signal in each signal period, for periodic pulses in each signal period. The time corresponding to the maximum amplitude value of the transmitted signal may be obtained by detecting the maximum amplitude value of the periodic pulse transmission signal in each signal period and determining the corresponding time.
上述方式中要对脉冲发射信号进行实时监测,对资源需求量较大,事实上,由于脉冲发射信号是周期信号,故各周期中最大幅度值对应的时间也是对应的。因此,可以仅获取周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间;并基于第一个信号周期内最大幅度值对应的时间以及信号周期的周期时长,计算其余信号周期内最大幅度值对应的时间。例如设信号周期的周期时长为T,第一个信号周期内最大幅度值对应的时间为t 4,则第n个信号周期内最大幅度值对应的时间为t 4+(n-1)T。 In the above method, the pulse transmission signal is monitored in real time, and the demand for resources is large. In fact, since the pulse transmission signal is a periodic signal, the time corresponding to the maximum amplitude value in each cycle also corresponds. Therefore, it is possible to acquire only the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period; and calculate the remaining signal period based on the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period. The time corresponding to the maximum value. For example, if the period of the signal period is T, and the time corresponding to the maximum amplitude value in the first signal period is t 4 , the time corresponding to the maximum amplitude value in the nth signal period is t 4 +(n-1)T.
上述确定各信号周期内周期性脉冲发射信号的最大幅度值对应时间的方式可以适用于直接从周期性脉冲发射信号的发生装置上获取到预设的最大幅值作为脉冲发射信号在各信号周期内的最大幅度值的方案,此时根据脉冲信号的波形即可确定出脉冲发射信号在各信号周期内的最大幅度值对应 的时间。例如,对于如图2所示的第一种弧形脉冲和第二种三角形脉冲而言,设脉冲信号的时长为T 1,或设两脉冲信号的间隔时长为T 2,则第n个信号周期内最大幅度值对应的时间为1/2T 1+(n-1)T,或者1/2(T-T 2)+(n-1)T。对于图2所示的第三种方波形脉冲而言,可以以各信号周期内方波脉冲的产生时间作为最大幅度值对应的时间。 The manner of determining the maximum amplitude value corresponding to the periodic pulse transmission signal in each signal period may be adapted to obtain the preset maximum amplitude directly from the generating device of the periodic pulse transmitting signal as the pulse transmitting signal in each signal period. The solution of the maximum amplitude value, at this time, the time corresponding to the maximum amplitude value of the pulse transmission signal in each signal period can be determined according to the waveform of the pulse signal. For example, for the first arc pulse and the second triangular pulse as shown in FIG. 2, the duration of the pulse signal is T 1 , or the interval between the two pulse signals is T 2 , then the nth signal The time corresponding to the maximum amplitude value in the period is 1/2T 1 +(n-1)T, or 1/2(TT 2 )+(n-1)T. For the third square waveform pulse shown in FIG. 2, the generation time of the square wave pulse in each signal period can be used as the time corresponding to the maximum amplitude value.
对于方波而言,其在一个信号周期内存在不止一个点对应最大幅度值,因此可以获取在第一个信号周期内方波的幅度值达到最大幅度值的时间作为与周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,从而进行各信号周期内最大幅度值的对应时间的确定。此时需要相关信号检测装置,以准确获取到方波的幅度值达到最大幅度值的时间。For a square wave, there is more than one point corresponding to the maximum amplitude value in one signal period, so it is possible to obtain the time when the amplitude value of the square wave reaches the maximum amplitude value in the first signal period as the signal with the periodic pulse emission. The time corresponding to the maximum amplitude value in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period. At this time, the relevant signal detecting device is needed to accurately obtain the time when the amplitude value of the square wave reaches the maximum amplitude value.
在上述方式中由于需要相关信号检测装置的介入,对于资源的需求较高。而在实际应用中,方波在产生至达到最大幅度值的时间十分短暂,因此可以获取方波的起始时间作为与周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,从而进行各信号周期内最大幅度值的对应时间的确定。这样即可不需要相关信号检测装置的介入,直接通过周期性脉冲发射信号的发生装置即可获取到周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间。In the above manner, the demand for resources is high due to the intervention of the relevant signal detecting means. In practical applications, the time during which the square wave is generated to reach the maximum amplitude value is very short, so the start time of the square wave can be obtained as the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period. Thereby, the determination of the corresponding time of the maximum amplitude value in each signal period is performed. In this way, the intervention of the relevant signal detecting device is not required, and the time corresponding to the maximum amplitude value of the periodic pulse transmitting signal in the first signal period can be obtained directly by the generating device of the periodic pulse transmitting signal.
本实施例中,为采集到的反射信号确定在各信号周期内的最大幅度值并确定其对应时间,其过程参见图4所示,包括:In this embodiment, the maximum amplitude value in each signal period is determined for the collected reflected signal and the corresponding time is determined. The process is shown in FIG. 4, and includes:
S401:按照预设采集频率采集反射信号的幅度值;S401: Acquire an amplitude value of the reflected signal according to a preset acquisition frequency;
S402:记录采集到的各幅度值的顺序号;S402: Record the sequence number of each amplitude value collected;
S403:将在同一信号周期内被采集的各顺序号对应的幅度值进行大小比较;S403: compare magnitudes corresponding to the sequence numbers collected in the same signal period;
对于是否为在同一信号周期内被采集的数据的判定,可以通过记录的顺序号进行判定。例如设信号周期的周期时长为T秒,预设采集频率为M/T,则顺序号为1+(n-1)M至nM即为在第n个信号周期内被采集的数据。The determination as to whether or not the data is acquired in the same signal period can be determined by the sequence number of the record. For example, if the period of the signal period is T seconds and the preset acquisition frequency is M/T, the sequence number is 1+(n-1)M to nM, which is the data collected in the nth signal period.
S404:确定各信号周期内反射信号的最大幅度值;S404: Determine a maximum amplitude value of the reflected signal in each signal period;
在本实施例中,同一信号周期内被采集幅度值的比较方式可以是,将前 一个顺序号的幅度值与后一个顺序号的幅度值进行比较,将小的一个丢弃;继续与后一个顺序号的幅度值进行比较,这样最终保留的即为最大幅度值。In this embodiment, the comparison of the acquired amplitude values in the same signal period may be: comparing the amplitude value of the previous sequence number with the amplitude value of the subsequent sequence number, discarding the smaller one; continuing with the next sequence The amplitude values of the numbers are compared so that the maximum amplitude value is finally retained.
S405:根据各信号周期内的最大幅度值的顺序号和预设采集频率,计算在各信号周期内采集到反射信号最大幅度值的时间。S405: Calculate a time when the maximum amplitude value of the reflected signal is collected in each signal period according to the sequence number of the maximum amplitude value in each signal period and the preset acquisition frequency.
记录的顺序号实质与预设采集频率和采集时间存在对应关系,采集时间=顺序号÷预设采集频率。The sequence number of the record has a corresponding relationship with the preset acquisition frequency and the acquisition time. The acquisition time = sequence number ÷ preset acquisition frequency.
在本实施例中,也可以在记录采集到的各幅度值的顺序号时,保存该顺序号对应幅度值的采集时间,并建立顺序号与采集时间的对应关系,此后根据各信号周期内最大幅度值的顺序号即可直接得到对应的时间。In this embodiment, when the sequence numbers of the acquired amplitude values are recorded, the acquisition time of the sequence value corresponding to the sequence number is saved, and the correspondence between the sequence number and the acquisition time is established, and then the maximum is determined according to each signal period. The sequence number of the amplitude value can directly get the corresponding time.
在本实施例中,为保证最终计算结果的准确性,可以对按照预设采集频率采集的反射信号的数据进行均值处理,从而确定各采集点的幅值,最终找出在各信号周期内更准确的最大幅值。In this embodiment, in order to ensure the accuracy of the final calculation result, the data of the reflected signals collected according to the preset acquisition frequency may be averaged to determine the amplitude of each collection point, and finally find out more in each signal cycle. The exact maximum amplitude.
可以计算采集到的位于同一信号周期内的K个顺序号连续的幅度值的平均幅度值,再将计算得到的平均幅度值作为采集到的K个顺序号中最小顺序号对应的幅度值,最终将在同一信号周期内被采集的各顺序号对应的幅度值进行大小比较。此时进行大小比较的是计算得到的平均值。The average amplitude value of the acquired consecutive amplitude values of K sequence numbers in the same signal period can be calculated, and the calculated average amplitude value is used as the amplitude value corresponding to the smallest sequence number among the collected K sequence numbers, and finally The amplitude values corresponding to the sequence numbers collected in the same signal period are compared in size. At this time, the size comparison is performed on the calculated average value.
本实施例中进行平均计算的是同一信号周期内采集的数据,对于同一信号周期内采集的最后K-1个数据,其用于计算平均值的个数不足,通过加0补足。例如,K为8,对于同一信号周期内采集的幅度值有50个,则最终确定的顺序号为1的幅度值即为采集到的前8个幅度值的平均值,顺序号为2的幅度值即为采集到的第2个幅度值至第9个幅度值的平均值,以此类推,对于顺序号为44的幅度值即为采集到的第44个幅度值至第50个幅度值再补充一个0除以8得到的平均值,顺序号为45的幅度值即为采集到的第45个幅度值至第50个幅度值再补充2个0除以8得到的平均值,以此类推,对于顺序号为50的幅度值即为采集到的第50个幅度值再补充7个0除以8得到的平均值。The average calculation in this embodiment is the data collected in the same signal period. For the last K-1 data collected in the same signal period, the number of the average values used for calculation is insufficient, and the complement is added by adding 0. For example, if K is 8, and there are 50 amplitude values collected in the same signal period, the final determined amplitude number of the sequence number is the average of the first 8 amplitude values collected, and the sequence number is 2 The value is the average value of the collected second amplitude value to the ninth amplitude value, and so on. For the amplitude value of sequence number 44, it is the collected 44th amplitude value to the 50th amplitude value. Add an average value of 0 divided by 8 and the amplitude value of sequence number 45 is the average value of the 45th amplitude value to the 50th amplitude value, plus 2 zeros divided by 8 and so on. For the amplitude value of sequence number 50, the average value of the 50th amplitude value collected is further supplemented by 7 zeros divided by 8.
本实施例提供的上述矢量驻波比获取方法,可以通过DSP来实现,也可以仅通过FPGA来实现。当仅通过FPGA来实现时,在RRU设备中即不 再需要设置DSP,降低了成本,简化了电路复杂性。The method for acquiring the vector standing wave ratio provided by this embodiment may be implemented by using a DSP, or may be implemented only by using an FPGA. When implemented only by FPGA, there is no need to set up the DSP in the RRU device, which reduces the cost and simplifies the circuit complexity.
本实施例提供的矢量驻波比获取方法,直接通过获取发射信号和反射信号在各信号周期的最大幅度值从而计算得到对应各信号周期的反射系数之幅值,直接通过发射信号和反射信号在各信号周期的时延计算对应各信号周期的反射系数之相位,减少了所需获取的数据量,简化了计算过程,降低了对于资源的需求。The vector standing wave ratio obtaining method provided in this embodiment directly calculates the amplitude of the reflection coefficient corresponding to each signal period by acquiring the maximum amplitude value of the transmitted signal and the reflected signal in each signal period, directly passing the transmitted signal and the reflected signal. The delay of each signal period calculates the phase of the reflection coefficient corresponding to each signal period, which reduces the amount of data to be acquired, simplifies the calculation process, and reduces the demand for resources.
示例二:Example two:
为降低获取矢量驻波比对于资源的需求,简化计算过程,本公开实施例提供了一种矢量驻波比获取装置。参见图5,图5为本实施例提供的一种矢量驻波比获取装置的结构示意图,包括数据获取模块51和处理模块52,其中:In order to reduce the requirement of resources for acquiring the vector standing wave ratio and simplify the calculation process, the embodiment of the present disclosure provides a vector standing wave ratio obtaining device. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a vector standing wave ratio obtaining apparatus according to an embodiment, which includes a data acquiring module 51 and a processing module 52, where:
数据获取模块51,设置为获取周期性脉冲发射信号在各信号周期内的最大幅度值,并按照预设采集频率采集所述周期性脉冲发射信号的反射信号在各信号周期内的最大幅度值;以及设置为获取各信号周期内周期性脉冲发射信号和反射信号对应的时延。The data acquisition module 51 is configured to acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period, and acquire a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency; And setting a time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period.
处理模块52,设置为根据各信号周期内周期性脉冲发射信号和反射信号的最大幅度值获取对应各信号周期的反射系数的幅度,并根据采集频率以及各信号周期对应的时延获取对应各信号周期的反射系数的相位,从而确定对应各信号周期的反射系数;以及设置为根据对应各信号周期的反射系数获取对应各信号周期的矢量驻波比。The processing module 52 is configured to obtain, according to the maximum amplitude value of the periodic pulse transmission signal and the reflection signal in each signal period, the amplitude of the reflection coefficient corresponding to each signal period, and obtain corresponding signals according to the acquisition frequency and the delay corresponding to each signal period. a phase of the reflection coefficient of the period, thereby determining a reflection coefficient corresponding to each signal period; and being configured to acquire a vector standing wave ratio corresponding to each signal period according to a reflection coefficient corresponding to each signal period.
在本实施例中,由于脉冲发射信号是周期性的,故数据获取模块51可以仅获取第一个信号周期内的最大幅度值,以此作为脉冲发射信号在各信号周期内的最大幅度值;在本实施例中数据获取模块51也可以在每个信号周期内均重新获取一次最大幅度值,从而保证在信号周期内获取到的最大幅度值的准确性。In this embodiment, since the pulse transmission signal is periodic, the data acquisition module 51 can obtain only the maximum amplitude value in the first signal period, thereby using the maximum amplitude value of the pulse transmission signal in each signal period; In this embodiment, the data acquisition module 51 can also reacquire the maximum amplitude value once in each signal period, thereby ensuring the accuracy of the maximum amplitude value acquired in the signal period.
对于脉冲发射信号而言,其实质是具有周期性间隔的脉冲,因而对于周期性脉冲发射信号而言,其起始时间是发射第一个脉冲信号的起始时间。即 在本实施例中,各信号周期的波形是以脉冲信号波形为起始,以表征0电平的直线为结束的波形。For a pulsed transmit signal, it is essentially a pulse with periodic intervals, so for a periodic pulsed transmit signal, its start time is the start time at which the first pulse signal is transmitted. That is, in the present embodiment, the waveform of each signal period is a waveform starting from a pulse signal waveform and ending with a line characterizing 0 level.
在本实施例中,由于脉冲发射信号是以脉冲信号为起始,以0电平为结束的周期性信号,故其反射信号在一个信号周期的时间内(以接收到反射信号的时间)也是以脉冲信号为起始,以0电平为结束,最大幅值由反射的脉冲信号决定。In this embodiment, since the pulse transmission signal is a periodic signal starting from a pulse signal and ending at a level of 0, the reflected signal is also within a signal period time (in time for receiving the reflected signal). Starting with the pulse signal, ending at level 0, the maximum amplitude is determined by the reflected pulse signal.
在本实施例中,为保证数据获取模块51对反射信号数据采集的及时性,可以在周期性脉冲发射信号被发射时即开始采集反射信号的数据。由于接收到的反射信号较脉冲发射信号有延迟,在反射信号未返回时,此时数据获取模块51采集到的数据即表征0电平,此后才会采集到反射信号中的脉冲信号,以及此后对应的0电平信号。因此对于采集到的数据而言,采集到的数据的起始时间即为周期性脉冲发射信号的起始时间t 0;采集反射信号在各信号周期内的最大幅度值即为:在t 0+(n-1)T至t 0+nT时间段采集到的反射信号数据的最大幅度值。T即表示信号周期的时长,n表示第n个信号周期。 In this embodiment, in order to ensure the timeliness of the data acquisition module 51 for the collection of the reflected signal data, the data of the reflected signal may be collected when the periodic pulse transmission signal is transmitted. Since the received reflected signal is delayed compared to the pulsed transmitted signal, when the reflected signal is not returned, the data acquired by the data acquiring module 51 at this time is characterized by a level of 0, after which the pulse signal in the reflected signal is acquired, and thereafter Corresponding 0 level signal. Therefore, for the collected data, the starting time of the collected data is the starting time t 0 of the periodic pulse transmitting signal; the maximum amplitude value of the collected reflected signal in each signal period is: at t 0 + (n-1) The maximum amplitude value of the reflected signal data collected from T to t 0 +nT period. T represents the duration of the signal period, and n represents the nth signal period.
因此,为保证数据获取模块51在各信号周期内的所采集到的数据包含有反射信号的脉冲信号的数据,周期性脉冲发射信号中,脉冲信号的发射间隔必然要大于等于接收到反射信号与发射脉冲发射信号间的时延。在实际工程应用中,周期性脉冲发射信号中,脉冲信号的发射间隔是远大于接收到反射信号与发射脉冲发射信号间的时延的。Therefore, in order to ensure that the collected data of the data acquisition module 51 in each signal period includes the data of the pulse signal of the reflected signal, in the periodic pulse transmission signal, the transmission interval of the pulse signal must be greater than or equal to the received reflection signal and The delay between the transmission of the pulse transmission signal. In practical engineering applications, in the periodic pulse transmission signal, the transmission interval of the pulse signal is much larger than the delay between the received reflected signal and the transmitted pulse transmitted signal.
在本实施例中,采集频率可以由工程师根据实际需求进行预先设定。In this embodiment, the acquisition frequency can be preset by the engineer according to actual needs.
在本实施例中,数据获取模块51获取的脉冲发射信号和反射信号之间的时延可以通过以下方式进行:记录发射脉冲发射信号的起始时间t 0,再记录首次采集到反射信号非零数据的时间t 1(由于反射信号也是脉冲信号在前,故首次采集到反射信号非零数据的时间t 1即可用来表示反射信号的接收时间),通过t 1-t 0即可确定脉冲发射信号和反射信号之间的时延,并确定该时延在各信号周期内一致。 In this embodiment, the delay between the pulse transmission signal and the reflection signal acquired by the data acquisition module 51 can be performed by recording the start time t 0 of the transmission pulse transmission signal, and recording the first time the reflected signal is non-zero. The time t 1 of the data (because the reflected signal is also the pulse signal first, the time t 1 at which the non-zero data of the reflected signal is first collected can be used to indicate the reception time of the reflected signal), and the pulse emission can be determined by t 1 -t 0 The delay between the signal and the reflected signal, and determines that the delay is consistent over each signal period.
在上述确定时延的过程中,t 1是首次采集到反射的脉冲信号的时间,受限于采集频率,其较真正的反射信号的接收时间可能存在较大偏差,因此,数据获取模块51可以通过各信号周期内脉冲发射信号和反射信号最大幅值 对应的时间来确定各信号周期内周期性脉冲发射信号和反射信号对应的时延。例如,数据获取模块51会获取各信号周期内周期性脉冲发射信号的最大幅度值对应的时间,并获取各信号周期内反射信号的最大幅度值对应的时间;再根据各信号周期内反射信号的最大幅度值对应的时间和周期性脉冲发射信号的最大幅度值对应的时间确定获取各信号周期内周期性脉冲发射信号和反射信号对应的时延。在本实施例中数据获取模块51也可以分别计算各信号周期内脉冲发射信号和反射信号对应的时延。 In the above process of determining the delay, t 1 is the time when the reflected pulse signal is first collected, which is limited by the acquisition frequency, and may be greatly deviated from the reception time of the real reflected signal. Therefore, the data acquisition module 51 may The time delay corresponding to the periodic pulsed emission signal and the reflected signal in each signal period is determined by the time corresponding to the maximum amplitude of the pulsed signal and the reflected signal in each signal period. For example, the data acquisition module 51 acquires the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in each signal period, and acquires the time corresponding to the maximum amplitude value of the reflected signal in each signal period; and then reflects the signal according to each signal period. The time corresponding to the maximum amplitude value and the time corresponding to the maximum amplitude value of the periodic pulse transmission signal determine the time delay corresponding to the periodic pulse transmission signal and the reflection signal in each signal period. In this embodiment, the data acquisition module 51 can also separately calculate the delay corresponding to the pulse transmission signal and the reflection signal in each signal period.
在本实施例中,处理模块52可以根据公式A2/A1计算得到反射系数的幅度,其中A1为某一信号周期内脉冲发射信号的最大幅度值,A2为该信号周期内反射信号的最大幅度值;可以根据公式cos(2πfτ)+isin(2πfτ)计算得到反射系数的相位,其中f为预设采集频率,τ为该信号周期对应时延,i为(-1) 1/2In this embodiment, the processing module 52 can calculate the amplitude of the reflection coefficient according to the formula A2/A1, where A1 is the maximum amplitude value of the pulse transmission signal in a certain signal period, and A2 is the maximum amplitude value of the reflection signal in the signal period. The phase of the reflection coefficient can be calculated according to the formula cos(2πfτ)+isin(2πfτ), where f is the preset acquisition frequency, τ is the corresponding delay of the signal period, and i is (-1) 1/2 .
处理模块52根据公式Г=A2/A1[cos(2πfτ)+isin(2πfτ)]计算得到反射系数Г,并根据计算得到的Г即可计算出最终的驻波比VSWR。The processing module 52 calculates the reflection coefficient Г according to the formula Г=A2/A1[cos(2πfτ)+isin(2πfτ)], and calculates the final standing wave ratio VSWR according to the calculated Г.
本实施例中,数据获取模块51通过各信号周期内脉冲发射信号和反射信号最大幅值对应的时间来确定各信号周期内周期性脉冲发射信号和反射信号对应的时延时,对于各信号周期内周期性脉冲发射信号的最大幅度值对应的时间的一种获取方式可以是:检测每一个信号周期内周期性脉冲发射信号的最大幅度值,并确定其对应的时间。In this embodiment, the data acquiring module 51 determines the time delay corresponding to the periodic pulse transmitting signal and the reflected signal in each signal period by using the time corresponding to the maximum amplitude of the pulse transmitting signal and the reflected signal in each signal period, for each signal period. One way of obtaining the time corresponding to the maximum amplitude value of the internal periodic pulse transmission signal may be to detect the maximum amplitude value of the periodic pulse transmission signal in each signal period and determine the corresponding time.
上述方式中数据获取模块51对脉冲发射信号进行实时监测,对资源需求量较大,事实上,由于脉冲发射信号是周期信号,故各周期中最大幅度值对应的时间也是对应的。因此,数据获取模块51可以仅获取周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间;并基于第一个信号周期内最大幅度值对应的时间以及信号周期的周期时长,计算其余信号周期内最大幅度值对应的时间。In the above manner, the data acquisition module 51 performs real-time monitoring on the pulse transmission signal, and the demand for resources is large. In fact, since the pulse transmission signal is a periodic signal, the time corresponding to the maximum amplitude value in each cycle also corresponds. Therefore, the data acquisition module 51 may only acquire the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period; and calculate the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period. The time corresponding to the maximum amplitude value in the remaining signal periods.
上述数据获取模块51确定各信号周期内周期性脉冲发射信号的最大幅度值对应时间的方式可以适用于直接从周期性脉冲发射信号的发生装置上获取到预设的最大幅值作为脉冲发射信号在各信号周期内的最大幅度值的方案,此时根据脉冲信号的波形即可确定出脉冲发射信号在各信号周期内的 最大幅度值对应的时间。The manner in which the data acquiring module 51 determines that the maximum amplitude value of the periodic pulse transmission signal in each signal period corresponds to the time may be applied to directly obtain the preset maximum amplitude from the generating device of the periodic pulse transmitting signal as the pulse transmitting signal. The scheme of the maximum amplitude value in each signal period, at which time the time corresponding to the maximum amplitude value of the pulse transmission signal in each signal period can be determined according to the waveform of the pulse signal.
对于方波而言,其在一个信号周期内存在不止一个点对应最大幅度值,因此数据获取模块51可以获取在第一个信号周期内方波的幅度值达到最大幅度值的时间作为与周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,从而进行各信号周期内最大幅度值的对应时间的确定。For a square wave, there is more than one point corresponding to the maximum amplitude value in one signal period, so the data acquisition module 51 can acquire the time when the amplitude value of the square wave reaches the maximum amplitude value in the first signal period as the periodicity. The time corresponding to the maximum amplitude value of the pulsed transmission signal in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period.
在实际应用中,方波在产生至达到最大幅度值的时间十分短暂,因此数据获取模块51可以获取方波的起始时间作为与周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,从而进行各信号周期内最大幅度值的对应时间的确定。In practical applications, the time during which the square wave is generated to reach the maximum amplitude value is very short, so the data acquisition module 51 can acquire the start time of the square wave as the maximum amplitude value corresponding to the periodic pulse transmission signal in the first signal period. The time, thereby determining the corresponding time of the maximum amplitude value in each signal period.
本实施例中,数据获取模块51为采集到的反射信号确定在各信号周期内的最大幅度值并确定其对应时间,其过程是,按照预设采集频率采集反射信号的幅度值,并记录采集到的各幅度值的顺序号,再将在同一信号周期内被采集的各顺序号对应的幅度值进行大小比较,从而确定各信号周期内反射信号的最大幅度值,最终根据各信号周期内的最大幅度值的顺序号和预设采集频率,计算在各信号周期内采集到反射信号最大幅度值的时间。In this embodiment, the data acquiring module 51 determines the maximum amplitude value in each signal period and determines the corresponding time for the collected reflected signal, and the process is: collecting the amplitude value of the reflected signal according to the preset acquisition frequency, and recording and collecting. The sequence number of each amplitude value obtained is compared with the amplitude values corresponding to the sequence numbers collected in the same signal period, thereby determining the maximum amplitude value of the reflected signal in each signal period, and finally according to each signal period. The sequence number of the largest value and the preset acquisition frequency are used to calculate the time at which the maximum amplitude value of the reflected signal is acquired in each signal period.
数据获取模块51对于是否为在同一信号周期内被采集的数据的判定,可以通过记录的顺序号进行判定。而数据获取模块51对于同一信号周期内被采集幅度值的比较方式可以是,将前一个顺序号的幅度值与后一个顺序号的幅度值进行比较,将小的一个丢弃;继续与后一个顺序号的幅度值进行比较,这样最终保留的即为最大幅度值。The determination by the data acquisition module 51 as to whether or not data is acquired in the same signal period can be determined by the sequence number of the record. The data acquisition module 51 compares the acquired amplitude values in the same signal period, and compares the amplitude value of the previous sequence number with the amplitude value of the subsequent sequence number, and discards the smaller one; continues with the next sequence. The amplitude values of the numbers are compared so that the maximum amplitude value is finally retained.
数据获取模块51记录的顺序号实质与预设采集频率和采集时间存在对应关系,采集时间=顺序号÷预设采集频率,该公式中顺序号为最大幅度值对应的顺序号,基于此数据获取模块51即可确定采集到的最大幅度值对应的时间。The sequence number recorded by the data acquisition module 51 has a corresponding relationship with the preset acquisition frequency and the acquisition time. The acquisition time=sequence number ÷the preset acquisition frequency. The sequence number in the formula is the sequence number corresponding to the maximum amplitude value, and is obtained based on the data. Module 51 can determine the time corresponding to the maximum amplitude value collected.
在本实施例中,数据获取模块51也可以在记录采集到的各幅度值的顺序号时,保存该顺序号对应幅度值的采集时间,并建立顺序号与采集时间的对应关系,此后根据各信号周期内最大幅度值的顺序号即可直接得到对应的时间。In this embodiment, the data acquisition module 51 may also save the acquisition time of the sequence value corresponding to the amplitude value when the sequence number of each amplitude value is collected, and establish a correspondence between the sequence number and the acquisition time, and then according to each The sequence number of the maximum amplitude value in the signal period can directly obtain the corresponding time.
在本实施例中,为保证最终计算结果的准确性,数据获取模块51可以对按照预设采集频率采集的反射信号的数据进行均值处理,从而确定各采集点的幅值,最终找出在各信号周期内更准确的最大幅值。In this embodiment, in order to ensure the accuracy of the final calculation result, the data acquisition module 51 may perform mean processing on the data of the reflected signals collected according to the preset acquisition frequency, thereby determining the amplitude of each collection point, and finally finding out in each More accurate maximum amplitude during the signal period.
可以计算采集到的位于同一信号周期内的K个顺序号连续的幅度值的平均幅度值,再将计算得到的平均幅度值作为采集到的K个顺序号中最小顺序号对应的幅度值,最终将在同一信号周期内被采集的各顺序号对应的幅度值进行大小比较。此时进行大小比较的是计算得到的平均值。The average amplitude value of the acquired consecutive amplitude values of K sequence numbers in the same signal period can be calculated, and the calculated average amplitude value is used as the amplitude value corresponding to the smallest sequence number among the collected K sequence numbers, and finally The amplitude values corresponding to the sequence numbers collected in the same signal period are compared in size. At this time, the size comparison is performed on the calculated average value.
本实施例提供的矢量驻波比获取装置,直接通过数据获取模块获取发射信号和反射信号在各信号周期的最大幅度值,使得处理模块得以直接计算得到对应各信号周期的反射系数之幅值;直接通过数据获取模块获取发射信号和反射信号在各信号周期的时延,使得处理模块得以直接计算得到对应各信号周期的反射系数之相位,这就减少了所需获取的数据量,简化了计算过程,降低了对于资源的需求。The vector standing wave ratio obtaining device provided in this embodiment directly acquires the maximum amplitude value of the transmitted signal and the reflected signal in each signal period through the data acquiring module, so that the processing module can directly calculate the amplitude of the reflection coefficient corresponding to each signal period; The time delay of the transmitted signal and the reflected signal in each signal period is directly obtained by the data acquisition module, so that the processing module can directly calculate the phase of the reflection coefficient corresponding to each signal period, which reduces the amount of data required to be acquired, and simplifies the calculation. The process reduces the need for resources.
示例三:Example three:
参见图6,图6为本公开实施例提供的一种远端射频单元的结构示意图,包括处理器61和现场可编程门阵列62,其中:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a remote radio unit according to an embodiment of the present disclosure, including a processor 61 and a field programmable gate array 62, where:
现场可编程门阵列62设置为发送周期性脉冲发射信号,并计算周期性脉冲发射信号在各信号周期内的反射系数;The field programmable gate array 62 is configured to transmit a periodic pulse transmission signal and calculate a reflection coefficient of the periodic pulse transmission signal in each signal period;
而处理器61设置为根据FPGA62计算得到的周期性脉冲发射信号在各信号周期内的反射系数,从而计算周期性脉冲发射信号在各信号周期内的矢量驻波比。The processor 61 is configured to calculate the reflection coefficient of the periodic pulse transmission signal calculated in accordance with the FPGA 62 in each signal period, thereby calculating the vector standing wave ratio of the periodic pulse transmission signal in each signal period.
现场可编程门阵列62的结构可以参见图7所示,包括:信号发射器621,采集处理装置622,和反射系数计算装置623。其中,The structure of the field programmable gate array 62 can be seen in FIG. 7, and includes a signal transmitter 621, an acquisition processing device 622, and a reflection coefficient calculation device 623. among them,
信号发射器621设置为发射周期性脉冲发射信号,并将所周期性脉冲发射信号在各信号周期内的最大幅度值,以及周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间发送给反射系数计算装置;The signal transmitter 621 is configured to transmit a periodic pulse transmission signal, and to output a maximum amplitude value of the periodic pulse transmission signal in each signal period, and a time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period. Sended to the reflection coefficient calculation device;
采集处理装置622设置为在信号发射器621发射周期性脉冲发射信号 时,按照预设采集频率采集周期性脉冲发射信号的反射信号在各信号周期内的最大幅度值,并获取在各信号周期内采集到反射信号最大幅度值的时间;The acquisition processing device 622 is configured to: when the signal transmitter 621 transmits the periodic pulse transmission signal, acquire the maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to the preset acquisition frequency, and acquire the signal in each signal period. The time at which the maximum amplitude value of the reflected signal is collected;
反射系数计算装置623设置为根据各信号周期内的周期性脉冲发射信号的最大幅度值以及反射信号最大幅度值计算各信号周期的反射系数的幅度;The reflection coefficient calculation means 623 is arranged to calculate the amplitude of the reflection coefficient of each signal period according to the maximum amplitude value of the periodic pulse transmission signal and the maximum amplitude value of the reflection signal in each signal period;
反射系数计算装置623还设置为根据信号发射器发送的周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,以及信号周期的周期时长计算各信号周期内最大幅度值对应的时间,并结合预设采集频率以及采集处理装置获取的反射信号最大幅度值的时间,计算各信号周期的反射系数的相位;以及设置为根据各信号周期的反射系数的幅度和相位确定各信号周期的反射系数。The reflection coefficient calculation means 623 is further configured to calculate the time corresponding to the maximum amplitude value in each signal period according to the time corresponding to the maximum amplitude value of the periodic pulse transmission signal transmitted by the signal transmitter and the period duration of the signal period. And combining the preset acquisition frequency and the time of acquiring the maximum amplitude value of the reflected signal obtained by the processing device, calculating the phase of the reflection coefficient of each signal period; and setting the signal period according to the amplitude and phase of the reflection coefficient of each signal period. Reflection coefficient.
在本实施例中,由于信号发射器621发射的脉冲发射信号是周期性的,在生成脉冲发射信号时,即预先在信号发生器中设定好了脉冲发射信号的相关参数,如波形,周期,最大幅值等。因此,信号发射器621可以直接将周期性脉冲发射信号预设的最大幅值发送给反射系数计算装置623以作为脉冲发射信号在各信号周期内的最大幅度值。此时对于信号发射器621各周期性脉冲发射信号最大幅值对应的时间的确定方式可以是:此时根据脉冲信号的波形即可确定出脉冲发射信号在第一个信号周期内的最大幅度值对应的时间,并依据此时间和信号周期时长计算出其余各信号周期内的最大幅度值对应的时间。In this embodiment, since the pulse transmission signal transmitted by the signal transmitter 621 is periodic, when the pulse transmission signal is generated, the relevant parameters of the pulse transmission signal, such as the waveform, the period, are set in advance in the signal generator. , the maximum amplitude, etc. Therefore, the signal transmitter 621 can directly transmit the preset maximum amplitude of the periodic pulse transmission signal to the reflection coefficient calculation means 623 as the maximum amplitude value of the pulse transmission signal in each signal period. At this time, the time corresponding to the maximum amplitude of each periodic pulse transmission signal of the signal transmitter 621 may be determined as follows: at this time, the maximum amplitude value of the pulse transmission signal in the first signal period can be determined according to the waveform of the pulse signal. Corresponding time, and calculating the time corresponding to the maximum amplitude value in the remaining signal periods according to the time and the signal period duration.
同时,在本实施例也可以在信号发射器621中设置信号检测电路,这样即可以在信号发射器621生成并发射周期性脉冲发射信号时,检测并获取到周期性脉冲发射信号在各信号周期内的最大幅度值。此外,由于脉冲发射信号是周期性的,故信号检测电路可以仅获取第一个信号周期内的最大幅度值,以此作为脉冲发射信号在各信号周期内的最大幅度值。Meanwhile, in the embodiment, the signal detecting circuit can also be disposed in the signal transmitter 621, so that when the signal transmitter 621 generates and transmits the periodic pulse transmitting signal, the periodic pulse transmitting signal can be detected and acquired in each signal period. The maximum amplitude value within. In addition, since the pulse transmission signal is periodic, the signal detection circuit can acquire only the maximum amplitude value in the first signal period as the maximum amplitude value of the pulse transmission signal in each signal period.
在本实施例中,信号发射器621中设置信号检测电路时,可以在检测每一个信号周期内周期性脉冲发射信号的最大幅度值时,即确定其对应的时间。但在实际操作中,由于脉冲发射信号是周期信号,故各周期中最大幅度值对应的时间也是对应的。因此,信号检测电路可以仅获取周期性脉冲发射 信号在第一个信号周期内最大幅度值对应的时间;并基于第一个信号周期内最大幅度值对应的时间以及信号周期的周期时长,计算其余信号周期内最大幅度值对应的时间。In the present embodiment, when the signal detecting circuit is disposed in the signal transmitter 621, the corresponding time can be determined when detecting the maximum amplitude value of the periodic pulse transmitting signal in each signal period. However, in actual operation, since the pulse transmission signal is a periodic signal, the time corresponding to the maximum amplitude value in each cycle also corresponds. Therefore, the signal detecting circuit can only acquire the time corresponding to the maximum amplitude value of the periodic pulse transmitting signal in the first signal period; and calculate the rest based on the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period. The time corresponding to the maximum amplitude value in the signal period.
对于脉冲发射信号而言,其实质是具有周期性间隔的脉冲,因而对于周期性脉冲发射信号而言,其起始时间是发射第一个脉冲信号的起始时间。即在本实施例中,各信号周期的波形是以脉冲信号波形为起始,以表征0电平的直线为结束的波形。For a pulsed transmit signal, it is essentially a pulse with periodic intervals, so for a periodic pulsed transmit signal, its start time is the start time at which the first pulse signal is transmitted. That is, in the present embodiment, the waveform of each signal period is a waveform starting from a pulse signal waveform and ending with a line characterizing 0 level.
在本实施例中,由于脉冲发射信号是以脉冲信号为起始,以0电平为结束的周期性信号,故其反射信号在一个信号周期的时间内(以接收到反射信号的时间)也是以脉冲信号为起始,以0电平为结束,最大幅值由反射的脉冲信号决定。In this embodiment, since the pulse transmission signal is a periodic signal starting from a pulse signal and ending at a level of 0, the reflected signal is also within a signal period time (in time for receiving the reflected signal). Starting with the pulse signal, ending at level 0, the maximum amplitude is determined by the reflected pulse signal.
在本实施例中,为保证采集处理装置622对反射信号数据采集的及时性,可以在信号发射器621发射周期性脉冲发射信号时就同时开始采集反射信号的数据。由于采集处理装置622接收到的反射信号较脉冲发射信号有延迟,在反射信号未返回时,此时采集处理装置622采集到的数据即表征0电平,此后才会采集到反射信号中的脉冲信号,以及此后对应的0电平信号。因此对于采集处理装置622采集到的数据而言,采集到的数据的起始时间即为信号发射器621发射周期性脉冲发射信号的起始时间t 0;采集处理装置622在第n各信号周期内采集反射信号的最大幅度值即为:在t 0+(n-1)T至t 0+nT时间段采集到的反射信号数据的最大幅度值。T即表示信号周期的时长。 In this embodiment, in order to ensure the timeliness of the acquisition of the reflected signal data by the acquisition processing device 622, the data of the reflected signal may be simultaneously started when the signal transmitter 621 transmits the periodic pulse transmission signal. Since the reflected signal received by the acquisition processing device 622 is delayed compared to the pulsed signal, when the reflected signal is not returned, the data collected by the acquisition processing device 622 is characterized by a level of 0, after which the pulse in the reflected signal is acquired. The signal, and the corresponding 0-level signal thereafter. Therefore, for the data collected by the acquisition processing device 622, the start time of the collected data is the start time t 0 of the signal transmitter 621 transmitting the periodic pulse transmission signal; the acquisition processing device 622 is at the nth signal period. The maximum amplitude value of the internally collected reflected signal is the maximum amplitude value of the reflected signal data collected during the period from t 0 +(n-1)T to t 0 +nT. T represents the duration of the signal period.
因此,为保证信号发射器621在各信号周期内的所采集到的数据包含有反射信号的脉冲信号的数据,周期性脉冲发射信号中,脉冲信号的发射间隔必然要大于等于接收到反射信号与发射脉冲发射信号间的时延。在实际工程应用中,周期性脉冲发射信号中,脉冲信号的发射间隔是远大于接收到反射信号与发射脉冲发射信号间的时延的。Therefore, in order to ensure that the collected data of the signal transmitter 621 in each signal period includes the data of the pulse signal of the reflected signal, in the periodic pulse transmission signal, the transmission interval of the pulse signal must be greater than or equal to the received reflected signal and The delay between the transmission of the pulse transmission signal. In practical engineering applications, in the periodic pulse transmission signal, the transmission interval of the pulse signal is much larger than the delay between the received reflected signal and the transmitted pulse transmitted signal.
在本实施例中,采集频率可以由工程师根据实际需求进行预先设定。In this embodiment, the acquisition frequency can be preset by the engineer according to actual needs.
上述接收到反射信号与发射脉冲发射信号间的时延即为反射系数计算装置623根据各信号周期内周期性脉冲发射信号最大幅度值对应的时间以及采集到的反射信号最大幅度值的时间求得的。当信号发射器621发送的仅 为周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间时,其余各信号周期内脉冲发射信号最大幅度值对应的时间由反射系数计算装置623根据第一个信号周期内最大幅度值对应的时间以及信号周期的时长计算得到。The delay between the received reflected signal and the transmitted pulse transmitted signal is obtained by the reflection coefficient calculating means 623 according to the time corresponding to the maximum amplitude value of the periodic pulse transmitting signal in each signal period and the time of the maximum amplitude value of the collected reflected signal. of. When the signal transmitter 621 transmits only the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period, the time corresponding to the maximum amplitude value of the pulse transmission signal in each of the remaining signal periods is determined by the reflection coefficient calculation means 623. The time corresponding to the maximum amplitude value in the first signal period and the duration of the signal period are calculated.
在本实施例中,信号发射器621发射的周期性脉冲发射信号可以是方波脉冲发射信号。方波脉冲发射信号在一个信号周期内存在不止一个点对应最大幅度值,因此信号发射器621可以将第一个信号周期内方波脉冲的幅度值刚达到最大幅度值的时间作为与周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间发送给反射系数计算装置623,从而进行各信号周期内最大幅度值的对应时间的确定。In the present embodiment, the periodic pulse transmission signal transmitted by the signal transmitter 621 may be a square wave pulse transmission signal. The square wave pulse transmitting signal has more than one point corresponding to the maximum amplitude value in one signal period, so the signal transmitter 621 can use the time when the amplitude value of the square wave pulse in the first signal period reaches the maximum amplitude value as the periodic pulse. The transmission signal is sent to the reflection coefficient calculation means 623 at a time corresponding to the maximum amplitude value in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period.
在实际应用中,信号发射器621在产生方波脉冲直至方波脉冲幅度达到最大幅度值的时间十分短暂,因此信号发射器621可以直接将发射周期性脉冲发射信号的起始时间作为与周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间发送给反射系数计算装置623,从而进行各信号周期内最大幅度值的对应时间的确定。In practical applications, the signal transmitter 621 generates a square wave pulse until the time when the amplitude of the square wave pulse reaches the maximum amplitude value is very short, so the signal transmitter 621 can directly use the start time of transmitting the periodic pulse signal as the periodicity. The pulse transmission signal is sent to the reflection coefficient calculation means 623 at a time corresponding to the maximum amplitude value in the first signal period, thereby determining the corresponding time of the maximum amplitude value in each signal period.
本实施例中,参见图8,采集处理装置622包括信号采集器6221和数据处理单元6222。其中信号采集器6221负责采集反射信号中相关数据交由数据处理单元6222确定各信号周期内的最大幅度值,以及各信号周期内的最大幅度值对应的时间。In this embodiment, referring to FIG. 8, the acquisition processing device 622 includes a signal collector 6221 and a data processing unit 6222. The signal collector 6221 is responsible for collecting the relevant data in the reflected signal, and the data processing unit 6222 determines the maximum amplitude value in each signal period and the time corresponding to the maximum amplitude value in each signal period.
本实施例中,采集处理装置622为采集到的反射信号确定在各信号周期内的最大幅度值并确定其对应时间,其方式是:由信号采集器6221按照预设采集频率采集周期性脉冲发射信号的幅度值,并记录采集到的各幅度值的顺序号;再由数据处理单元6222将在同一信号周期内被采集的各顺序号对应的幅度值进行大小比较,从而确定各信号周期内反射信号的最大幅度值,最终根据各信号周期内的最大幅度值的顺序号和预设采集频率,计算在各信号周期内采集到反射信号最大幅度值的时间。In this embodiment, the acquisition processing device 622 determines the maximum amplitude value in each signal period and determines the corresponding time for the collected reflected signal, by: collecting the periodic pulse emission by the signal collector 6221 according to the preset acquisition frequency. The amplitude value of the signal is recorded, and the sequence numbers of the acquired amplitude values are recorded; and the data processing unit 6222 compares the amplitude values corresponding to the sequence numbers collected in the same signal period to determine the reflection in each signal period. The maximum amplitude value of the signal is finally calculated according to the sequence number of the maximum amplitude value and the preset acquisition frequency in each signal period, and the time at which the maximum amplitude value of the reflected signal is collected in each signal period is calculated.
在本实施例中采集到的数据的顺序号与预设采集频率和采集时间存在对应关系,例如顺序号为15,预设采集频率为30次/秒,采集时间为0.5秒,则预设采集频率×采集时间=15,即表明已采集了15次,此时最新采集到的 数据的顺序号为15。基于此数据处理单元6222根据公式采集时间=顺序号÷预设采集频率即可确定采集到的最大幅度值对应的时间,该公式中顺序号为最大幅度值对应的顺序号。The sequence number of the data collected in this embodiment has a corresponding relationship with the preset acquisition frequency and the acquisition time. For example, the sequence number is 15, the preset acquisition frequency is 30 times/second, and the acquisition time is 0.5 seconds. Frequency × acquisition time = 15, which means that 15 times have been collected. The sequence number of the newly acquired data is 15. Based on the data acquisition unit 6222, the time corresponding to the acquired maximum amplitude value can be determined according to the formula acquisition time=sequence number ÷preset acquisition frequency, where the sequence number is the sequence number corresponding to the maximum amplitude value.
数据处理单元6222要对信号采集器6221采集到的数据进行判定,以确定是否为在同一信号周期内被采集到。该判定可以通过记录的顺序号进行,例如预设采集频率为30次/秒,信号周期时长为5秒,则表明一个周期采集150次,即从顺序号1开始,每连续的150个顺序号对应的数据在一个信号周期内。The data processing unit 6222 is to determine the data collected by the signal collector 6221 to determine if it was acquired in the same signal period. The determination can be performed by the sequence number of the record. For example, the preset acquisition frequency is 30 times/second, and the signal period duration is 5 seconds, indicating that one cycle is acquired 150 times, that is, starting from sequence number 1, each consecutive 150 sequence numbers. The corresponding data is in one signal period.
在本实施例中,为保证最终计算结果的准确性,数据处理单元622可以对按照预设采集频率采集的反射信号的数据进行均值处理,从而确定各采集点的幅值,最终找出在各信号周期内更准确的最大幅值。In this embodiment, in order to ensure the accuracy of the final calculation result, the data processing unit 622 may perform mean processing on the data of the reflected signals collected according to the preset acquisition frequency, thereby determining the amplitude of each collection point, and finally finding out the More accurate maximum amplitude during the signal period.
数据处理单元6222可以计算采集到的位于同一信号周期内的K个顺序号连续的幅度值的平均幅度值,再将计算得到的平均幅度值作为采集到的K个顺序号中最小顺序号对应的幅度值,最终将在同一信号周期内被采集的各顺序号对应的幅度值进行大小比较。此时数据处理单元622进行大小比较的是计算得到的平均值。The data processing unit 6222 can calculate the average amplitude value of the acquired K consecutive number values of the sequence numbers in the same signal period, and then use the calculated average amplitude value as the smallest sequence number among the collected K sequence numbers. The amplitude value is finally compared with the amplitude values corresponding to the sequence numbers collected in the same signal period. At this time, the data processing unit 622 performs size comparison on the calculated average value.
在本实施例中,参见图9所示,数据处理单元6222可以由一个一个单输入,K输出的移位寄存器91,与移位寄存器91的K个输出端分别连接的K输入加法器92,与K输入加法器92连接的第一除法器93,以及与第一除法器93连接的数值比较器94构成。其中:In the present embodiment, as shown in FIG. 9, the data processing unit 6222 can be a single input, a K output shift register 91, and a K input adder 92 connected to the K outputs of the shift register 91, respectively. A first divider 93 connected to the K input adder 92 and a numerical comparator 94 connected to the first divider 93 are formed. among them:
移位寄存器91设置为将位于同一信号周期内的K个顺序号连续的幅度值分别通过K个输出端输入到加法器92中;The shift register 91 is arranged to input successive amplitude values of K sequence numbers located in the same signal period into the adder 92 through the K output terminals;
加法器92设置为对输入的K个幅度值求和,并将求和结果发送给第一除法器93;The adder 92 is arranged to sum the input K amplitude values, and send the result of the summation to the first divider 93;
第一除法器93设置为计算K个幅度值之和的幅度平均值;The first divider 93 is arranged to calculate an amplitude average of the sum of the K amplitude values;
数值比较器94设置为接收第一除法器93计算得到的幅度平均值,并比较各幅度平均值,确定反射信号在各所述信号周期内的最大幅度值。例如,数值比较器94将前一个顺序号的幅度值与后一个顺序号的幅度值进行比 较,将小的一个丢弃;继续与后一个顺序号的幅度值进行比较,以此类推,最终保留下最大幅度值。The numerical comparator 94 is arranged to receive the amplitude average calculated by the first divider 93 and compare the amplitude averages to determine the maximum amplitude value of the reflected signal during each of the signal periods. For example, the value comparator 94 compares the amplitude value of the previous sequence number with the amplitude value of the latter sequence number, discards the smaller one; continues to compare with the amplitude value of the latter sequence number, and so on, and finally retains The most significant value.
为降低数值比较器94的工作任务,可以将第一除法器93计算得到的幅度平均值低于预设阈值的数据直接丢弃。In order to reduce the task of the numerical comparator 94, the data whose amplitude average calculated by the first divider 93 is lower than the preset threshold may be directly discarded.
在本实施例中,参见图10,移位寄存器91可以由K个D触发器911串联构成,各D触发器设置为在被触发时,分别输出一个被信号采集器6221输入到移位寄存器的幅度值。In this embodiment, referring to FIG. 10, the shift register 91 may be formed by a series of K D flip-flops 911, and each D flip-flop is set to output a signal input to the shift register by the signal collector 6221 when triggered. Amplitude value.
例如设移位寄存器91由8个D触发器911串联构成,从移位寄存器91的输入端起8个D触发器911依次即为D1-D8,设信号采集器6221会依次输入8个幅度值A11-A18,则在信号采集器6221输入第一个幅度值A11时,D1输出A11,D2-D8无输出;在信号采集器6221输入第二个幅度值A12时,D1将A11输出到D2,D1输出A12,D2输出A11,D3-D8无输出;在信号采集器6221输入第三个幅度值A13时,D2将A11输出到D3,D1将A12输出到D2,D1输出A13,D2输出A12,D3输出A11,D4-D8无输出;以此类推,最终在信号采集器6221输入第八个幅度值A18时,D1输出A18,D2输出A17,D3输出A16,……,D8输出A11。当信号采集器6221继续输入第九个幅度值A19时,则之前输入的A11即被丢弃,此时D1输出A19,D2输出A18,D3输出A17,……,D8输出A12。For example, the shift register 91 is composed of eight D flip-flops 911 connected in series. From the input end of the shift register 91, eight D flip-flops 911 are sequentially D1-D8, and the signal collector 6221 is sequentially input with eight amplitude values. A11-A18, when the signal collector 6211 inputs the first amplitude value A11, D1 outputs A11, D2-D8 has no output; when the signal collector 6221 inputs the second amplitude value A12, D1 outputs A11 to D2, D1 output A12, D2 output A11, D3-D8 no output; when the signal collector 6221 inputs the third amplitude value A13, D2 outputs A11 to D3, D1 outputs A12 to D2, D1 outputs A13, and D2 outputs A12. D3 output A11, D4-D8 has no output; and so on, finally when the signal collector 6211 inputs the eighth amplitude value A18, D1 outputs A18, D2 outputs A17, D3 outputs A16, ..., D8 outputs A11. When the signal collector 6221 continues to input the ninth amplitude value A19, the previously input A11 is discarded. At this time, D1 outputs A19, D2 outputs A18, D3 outputs A17, ..., and D8 outputs A12.
在本实施例中,参见图11,反射系数计算装置623可以由数字控制振荡器6231(NCO,numerically controlled oscillator)和第二除法器6232构成。其中,第二除法器6232将各信号周期内反射信号和脉冲发射信号的最大幅度值相除得到反射系数的幅度。数字控制振荡器6231设置为根据各信号周期内的脉冲发射信号和反射信号的最大幅度值对应的时间,结合预设采集频率计算出发射系数之相位的实部与虚部。In the present embodiment, referring to FIG. 11, the reflection coefficient calculating means 623 may be constituted by a numerically controlled oscillator 6231 (NCO) and a second divider 6232. The second divider 6232 divides the maximum amplitude value of the reflected signal and the pulsed emission signal in each signal period to obtain the magnitude of the reflection coefficient. The digitally controlled oscillator 6231 is configured to calculate the real and imaginary parts of the phase of the emission coefficient in accordance with the time corresponding to the maximum amplitude value of the pulsed signal and the reflected signal in each signal period, in combination with the preset acquisition frequency.
本实施例中,是由远端射频单元的处理器61根据FPGA62计算得到的反射系数最终计算得到矢量驻波比。但是,处理器61根据反射系数计算得到矢量驻波比这一功能也可以集成于FPGA62中实现。In this embodiment, the vector standing wave ratio is finally calculated by the processor 61 of the remote radio unit based on the reflection coefficient calculated by the FPGA 62. However, the function of the processor 61 to calculate the vector standing wave ratio based on the reflection coefficient can also be implemented in the FPGA 62.
本实施例提供的远端射频单元包括可求取矢量反射系数的FPGA,直接通过FPGA的信号发射器和采集处理装置将发射信号和反射信号在各信号 周期的最大幅度值发送给反射系数计算装置,使得反射系数计算装置直接计算得到对应各信号周期的反射系数之幅值;同时,直接通过FPGA的信号发射器和采集处理装置将发射信号和反射信号在各信号周期的最大幅度值对应时间发送给反射系数计算装置,使得反射系数计算装置直接计算得到对应各信号周期的反射系数之相位,这就减少了获取到矢量驻波比所需获取的数据量,简化了计算过程,降低了对于资源的需求。同时,本实施例所提供的远端射频单元,其矢量驻波比的获取过程可由FPGA和处理器共同完成,甚至仅由FPGA单独完成,因此不需要在远端射频单元中设置DSP,极大的降低了成本。The remote radio unit provided in this embodiment includes an FPGA that can obtain a vector reflection coefficient, and directly transmits the maximum amplitude value of the transmitted signal and the reflected signal in each signal period to the reflection coefficient computing device through the signal transmitter and the acquisition processing device of the FPGA. So that the reflection coefficient calculation device directly calculates the amplitude of the reflection coefficient corresponding to each signal period; at the same time, directly transmits the transmitted signal and the reflected signal at the corresponding time of the maximum amplitude value of each signal period through the signal transmitter and the acquisition processing device of the FPGA. The reflection coefficient calculating means causes the reflection coefficient calculating means to directly calculate the phase of the reflection coefficient corresponding to each signal period, thereby reducing the amount of data required to acquire the vector standing wave ratio, simplifying the calculation process, and reducing the resources Demand. In the meantime, the remote radio unit provided in this embodiment can acquire the vector standing wave ratio by the FPGA and the processor, or even separately by the FPGA, so there is no need to set the DSP in the remote radio unit. Reduced costs.
示例四:Example four:
本示例在示例三的基础上,以一种信号发射器621发射周期性方波脉冲发射信号的情况为例对本公开实施例的方案作示例性说明。The present example exemplifies the solution of the embodiment of the present disclosure on the basis of the third example, taking a case where the signal transmitter 621 transmits a periodic square wave pulse transmission signal.
参见图12,图12为本公开实施例提供的一种FPGA的结构示意图,包括信号发射器621,包含信号采集器6221和数据处理单元6222的采集处理装置622,以及包含数字控制振荡器6231和第二除法器6232的反射系数计算装置623。Referring to FIG. 12, FIG. 12 is a schematic structural diagram of an FPGA according to an embodiment of the present disclosure, including a signal transmitter 621, an acquisition processing device 622 including a signal collector 6221 and a data processing unit 6222, and a digital control oscillator 6231 and The reflection coefficient calculation means 623 of the second divider 6232.
其中,信号发射器621发射周期性方波脉冲发射信号,设信号周期时长为T,方波脉冲发射信号起始时间为t 0。信号发射器621将起始时间为t 0发送给信号采集器6221和反射系数计算装置623,将设定好的方波脉冲发射信号幅值A1发送给反射系数计算装置623。 The signal transmitter 621 transmits a periodic square wave pulse transmission signal, and the signal period duration is T, and the square wave pulse transmission signal starts time is t 0 . The signal transmitter 621 transmits the start time t 0 to the signal collector 6221 and the reflection coefficient calculation means 623, and transmits the set square wave pulse transmission signal amplitude A1 to the reflection coefficient calculation means 623.
信号采集器6221以时间t 0为起始时间开始采样,以信号周期为基准,分别采集各信号周期内反射信号的数据。在一个周期内,采样点的顺序号N sample=T×f,f为预设采样频率。在实际操作中,t 0存在采样点,即存在初始采样点,为保证计算的准确性,即各周期内初始采样点的顺序号为0。即第一个周期内的采样点为N sample+1个,对于第一个周期之后的其他信号周期内采集到的数据,上一信号周期内的顺序号为N sample的采样点的数据即为其起始点的采样数据。本实施例中各采样点的顺序号不会重复,例如设一个信号周期内采集101个点,则在第一个信号周期内采样点顺序号为0-100,第 一个信号周期内采样点顺序号为100-200。注意,对于顺序号为100的采样点,其既是第一个信号周期内的最后一个采样点,也是第二个信号周期内的初始采样点。 The signal collector 6221 starts sampling with the time t 0 as the starting time, and separately collects the data of the reflected signals in each signal period based on the signal period. In one cycle, the sequence number of the sampling point is N sample = T × f, and f is the preset sampling frequency. In actual operation, there is a sampling point at t 0 , that is, there is an initial sampling point, in order to ensure the accuracy of the calculation, that is, the sequence number of the initial sampling point in each period is 0. That is, the sampling point in the first period is N sample +1. For the data collected in other signal periods after the first period, the data of the sampling point with the sequence number N sample in the previous signal period is The sampled data of its starting point. In this embodiment, the sequence numbers of the sampling points are not repeated. For example, if 101 points are collected in one signal period, the sampling point sequence number is 0-100 in the first signal period, and the sampling points in the first signal period. The sequence number is 100-200. Note that for a sample point with sequence number 100, it is the last sample point in the first signal period and the initial sample point in the second signal period.
在本实施例中,信号采集器6221在采样过程中,会将顺序号为N的采样点和该点后7个采样点的幅值相加,然后求平均值作为顺序号为N的采样点的幅值。其中N=0,1,2,……。如果第N个采样点之后不够7个采样点,则通过补0补足,仍旧按照8个数据求平均值。In this embodiment, the signal collector 6221 adds the amplitude of the sample point with the sequence number N and the amplitude of the 7 sample points after the point in the sampling process, and then averages the sample point with the sequence number N. The magnitude of the. Where N=0, 1, 2, .... If there are not enough 7 sample points after the Nth sampling point, then by complementing 0, the average is still averaged according to 8 data.
数据处理单元6222在均值化处理后的数据中寻找最大值,例如,将顺序号最小的一个数据和后一个数据进行比较,如果小于前一个数则被丢弃,如果大于前一个数则被保留,前一个数和其位置信息被丢弃。依次类推,直至将一个周期的数据比较完,最终留存的数据就是幅值最大点的幅值A2和其顺序号N max。此后根据t 1+(n-1)T=N max/f,可计算出采样时间t 1+(n-1)T,其中n为信号周期数,表示信号采集器6221采集的是第几个周期的数据。 The data processing unit 6222 finds the maximum value in the data after the equalization processing, for example, compares one data with the smallest sequence number with the latter data, and discards if it is smaller than the previous number, and is retained if it is greater than the previous number. The previous number and its location information are discarded. By analogy, until the data of one cycle is compared, the last retained data is the amplitude A2 of the maximum point of the amplitude and its sequence number N max . Thereafter, according to t 1 +(n-1)T=N max /f, the sampling time t 1 +(n-1)T can be calculated, where n is the number of signal periods, indicating that the signal collector 6221 collects the first few Cycle data.
此后,数据处理单元6222将A2和对应采样时间t 1+(n-1)T发送给反射系数计算装置623,反射系数计算装置623确定该周期的方波脉冲发射信号起始时间为t 0+(n-1)T,将t 0+(n-1)T和t 1+(n-1)T输入到数字控制振荡器6231中,计算得到反射系数的实部cos(2πf(t 1-t 0))和虚部sin(2πf(t 1-t 0))。 Thereafter, the data processing unit 6222 transmits A2 and the corresponding sampling time t 1 +(n-1)T to the reflection coefficient calculating means 623, and the reflection coefficient calculating means 623 determines that the start time of the square wave pulse transmitting signal of the period is t 0 + (n-1)T, input t 0 +(n-1)T and t 1 +(n-1)T into the digitally controlled oscillator 6231, and calculate the real part cos of the reflection coefficient (2πf(t 1 - t 0 )) and the imaginary part sin(2πf(t 1 -t 0 )).
同时,反射系数计算装置623还会将方波脉冲发射信号的幅值A1和采集到的反射信号的最大幅值A2输入第二除法器6232中,计算得到反射系数的幅度A2/A1。At the same time, the reflection coefficient calculating means 623 also inputs the amplitude A1 of the square wave pulse transmitting signal and the maximum amplitude A2 of the collected reflected signal into the second divider 6232, and calculates the amplitude A2/A1 of the reflection coefficient.
本公开实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的矢量驻波比获取方法。Embodiments of the present disclosure also provide a computer storage medium having stored therein computer executable instructions for performing the aforementioned vector standing wave ratio acquisition method.
综上,利用本公开提供的FPGA,通过直接获取方波幅值和起始时间,以及直接采集反射信号的最大幅度值和最大幅度值的采集时间,直接计算得到矢量反射系数值,这就使得计算矢量驻波比检测的算法更加简单,同时整个过程都通过FPGA实现,不需要DSP介入,简化了电路,降低了成本。In summary, by using the FPGA provided by the present disclosure, the vector reflection coefficient value is directly calculated by directly acquiring the square wave amplitude and the start time, and directly collecting the maximum amplitude value and the maximum amplitude value of the reflected signal, which makes the vector reflection coefficient value The algorithm for calculating the vector standing wave ratio detection is simpler, and the whole process is realized by FPGA, which does not require DSP intervention, simplifies the circuit and reduces the cost.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
以上内容是结合示例性实施方式对本公开所作的详细说明,不能认定本公开的实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单推演或替换,都被视为属于本公开的保护范围。The above is a detailed description of the present disclosure in connection with the exemplary embodiments, and the implementation of the present disclosure is not limited to the description. It will be apparent to those skilled in the art that the present invention can be made in the scope of the present disclosure without departing from the scope of the present disclosure.

Claims (12)

  1. 一种矢量驻波比获取方法,包括:A vector standing wave ratio acquisition method includes:
    获取周期性脉冲发射信号在每个信号周期内的最大幅度值(S101),并按照预设采集频率采集所述周期性脉冲发射信号的反射信号在每个信号周期内的最大幅度值(S102);Obtaining a maximum amplitude value of the periodic pulse transmission signal in each signal period (S101), and acquiring a maximum amplitude value of the reflected signal of the periodic pulse transmission signal in each signal period according to a preset acquisition frequency (S102) ;
    获取每个信号周期内所述周期性脉冲发射信号和反射信号对应的时延(S103);Obtaining a delay corresponding to the periodic pulse transmission signal and the reflection signal in each signal period (S103);
    根据每个信号周期内所述周期性脉冲发射信号和反射信号的最大幅度值获取对应每个信号周期的反射系数的幅度(S104),并根据所述采集频率以及每个信号周期对应的时延获取对应每个信号周期的所述反射系数的相位(S105);Obtaining an amplitude of a reflection coefficient corresponding to each signal period according to a maximum amplitude value of the periodic pulse transmission signal and the reflection signal in each signal period (S104), and according to the acquisition frequency and a delay corresponding to each signal period Obtaining a phase of the reflection coefficient corresponding to each signal period (S105);
    根据对应每个信号周期的所述反射系数的幅度和相位确定对应每个信号周期的所述反射系数(S106),并根据对应每个信号周期的所述反射系数获取对应每个信号周期的矢量驻波比(S107)。Determining the reflection coefficient corresponding to each signal period according to the amplitude and phase of the reflection coefficient corresponding to each signal period (S106), and acquiring a vector corresponding to each signal period according to the reflection coefficient corresponding to each signal period Standing wave ratio (S107).
  2. 如权利要求1所述的矢量驻波比获取方法,其中,所述获取每个信号周期内所述周期性脉冲发射信号和反射信号对应的时延(S103)包括:The vector standing wave ratio acquisition method according to claim 1, wherein the obtaining a time delay corresponding to the periodic pulse transmission signal and the reflection signal in each signal period (S103) comprises:
    获取每个信号周期内所述周期性脉冲发射信号的最大幅度值对应的时间;Obtaining a time corresponding to a maximum amplitude value of the periodic pulse transmission signal in each signal period;
    获取每个信号周期内所述反射信号的最大幅度值对应的时间;Obtaining a time corresponding to a maximum amplitude value of the reflected signal in each signal period;
    根据每个信号周期内所述反射信号的最大幅度值对应的时间和所述周期性脉冲发射信号的最大幅度值对应的时间确定获取每个信号周期内所述周期性脉冲发射信号和反射信号对应的时延。And determining, according to a time corresponding to a maximum amplitude value of the reflected signal in each signal period and a time corresponding to a maximum amplitude value of the periodic pulse transmission signal, acquiring the periodic pulse transmission signal and the reflection signal in each signal period. Delay.
  3. 如权利要求2所述的矢量驻波比获取方法,其中,所述获取每个信号周期内所述周期性脉冲发射信号的最大幅度值对应的时间包括:The vector standing wave ratio acquisition method according to claim 2, wherein the acquiring the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in each signal period comprises:
    获取所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间;Obtaining a time corresponding to a maximum amplitude value of the periodic pulse transmission signal in the first signal period;
    基于所述第一个信号周期内最大幅度值对应的时间以及所述信号周期 的周期时长,计算其余信号周期内最大幅度值对应的时间。The time corresponding to the maximum amplitude value in the remaining signal periods is calculated based on the time corresponding to the maximum amplitude value in the first signal period and the period duration of the signal period.
  4. 如权利要求3所述的矢量驻波比获取方法,其中,所述周期性脉冲发射信号为方波;The vector standing wave ratio acquisition method according to claim 3, wherein the periodic pulse transmission signal is a square wave;
    所述获取所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间包括:The acquiring the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period includes:
    获取在第一个信号周期内所述方波的幅度值达到最大幅度值的时间作为与所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间;Obtaining, in a first signal period, a time when the amplitude value of the square wave reaches a maximum amplitude value as a time corresponding to a maximum amplitude value of the periodic pulse transmission signal in a first signal period;
    或,or,
    获取所述方波的起始时间作为与所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间。The start time of the square wave is obtained as the time corresponding to the maximum amplitude value of the periodic pulse transmission signal in the first signal period.
  5. 如权利要求2-4任一项所述的矢量驻波比获取方法,其中,所述按照预设采集频率采集所述周期性脉冲发射信号的反射信号在每个信号周期内的最大幅度值(S102)包括:The vector standing wave ratio acquisition method according to any one of claims 2 to 4, wherein the maximum amplitude value of the reflected signal of the periodic pulse transmission signal is acquired in each signal period according to a preset acquisition frequency ( S102) includes:
    按照预设采集频率采集所述反射信号的幅度值(S401),并记录采集到的每个幅度值的顺序号(S402);Collecting the amplitude value of the reflected signal according to a preset acquisition frequency (S401), and recording the sequence number of each amplitude value collected (S402);
    将在同一信号周期内被采集的每个顺序号对应的幅度值进行大小比较(S403),确定每个所述信号周期内所述反射信号的最大幅度值(S404);Amplifying the amplitude values corresponding to each sequence number acquired in the same signal period (S403), determining a maximum amplitude value of the reflected signal in each of the signal periods (S404);
    所述获取每个信号周期内所述反射信号的最大幅度值对应的时间包括:The obtaining the time corresponding to the maximum amplitude value of the reflected signal in each signal period includes:
    根据每个所述信号周期内的最大幅度值的顺序号和所述预设采集频率,计算在每个所述信号周期内采集到所述反射信号最大幅度值的时间(S405)。And calculating a time at which the maximum amplitude value of the reflected signal is acquired in each of the signal periods according to a sequence number of a maximum amplitude value in each of the signal periods and the preset acquisition frequency (S405).
  6. 如权利要求5所述的矢量驻波比获取方法,其中,所述将在同一信号周期内被采集的每个顺序号对应的幅度值进行大小比较(S403)包括:The vector standing wave ratio acquisition method according to claim 5, wherein said comparing magnitude values corresponding to each sequence number acquired in the same signal period (S403) comprises:
    计算采集到的位于同一信号周期内的K个顺序号连续的幅度值的平均幅度值,将所述平均幅度值作为采集到的所述K个顺序号中最小顺序号对应的幅度值;Calculating an average amplitude value of the acquired amplitude values of the K consecutive numbers in the same signal period, and using the average amplitude value as the amplitude value corresponding to the smallest sequence number among the collected K sequence numbers;
    将在同一信号周期内被采集的每个顺序号对应的幅度值进行大小比较。The amplitude values corresponding to each sequence number acquired in the same signal period are compared in size.
  7. 一种现场可编程门阵列FPGA(62),包括:信号发射器(621), 采集处理装置(622),和反射系数计算装置(623);A field programmable gate array FPGA (62) comprising: a signal transmitter (621), an acquisition processing device (622), and a reflection coefficient calculation device (623);
    所述信号发射器(621)设置为发射周期性脉冲发射信号,并将所述周期性脉冲发射信号在每个信号周期内的最大幅度值,以及所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间发送给所述反射系数计算装置(623);The signal transmitter (621) is configured to transmit a periodic pulse transmission signal and to a maximum amplitude value of the periodic pulse transmission signal in each signal period, and the periodic pulse transmission signal is in a first signal The time corresponding to the maximum amplitude value in the period is sent to the reflection coefficient computing device (623);
    所述采集处理装置(622)设置为在所述信号发射器(621)发射周期性脉冲发射信号时,按照预设采集频率采集所述周期性脉冲发射信号的反射信号在每个所述信号周期内的最大幅度值,并获取在每个所述信号周期内采集到所述反射信号最大幅度值的时间;The acquisition processing device (622) is configured to collect a reflected signal of the periodic pulse transmission signal according to a preset acquisition frequency when the signal transmitter (621) transmits a periodic pulse transmission signal in each of the signal periods a maximum amplitude value within, and obtaining a time at which the maximum amplitude value of the reflected signal is acquired during each of the signal periods;
    所述反射系数计算装置(623)设置为根据每个所述信号周期内的所述周期性脉冲发射信号的最大幅度值以及所述反射信号最大幅度值计算每个信号周期的反射系数的幅度;The reflection coefficient calculation means (623) is configured to calculate a magnitude of a reflection coefficient of each signal period according to a maximum amplitude value of the periodic pulse transmission signal and a maximum amplitude value of the reflected signal in each of the signal periods;
    所述反射系数计算装置(623)还设置为根据所述信号发射器(621)发送的所述周期性脉冲发射信号在第一个信号周期内最大幅度值对应的时间,以及所述信号周期的周期时长计算每个所述信号周期内最大幅度值对应的时间,并结合预设采集频率以及所述采集处理装置(622)获取的所述反射信号最大幅度值的时间,计算每个信号周期的所述反射系数的相位;以及设置为根据每个信号周期的反射系数的幅度和相位确定每个信号周期的反射系数。The reflection coefficient calculation means (623) is further configured to: time according to a maximum amplitude value of the periodic pulse transmission signal transmitted by the signal transmitter (621) in a first signal period, and the signal period The period of time is calculated for the time corresponding to the maximum amplitude value in each of the signal periods, and combined with the preset acquisition frequency and the time of the maximum amplitude value of the reflected signal obtained by the acquisition processing device (622), each signal period is calculated. a phase of the reflection coefficient; and a reflection coefficient determined for each signal period based on an amplitude and a phase of a reflection coefficient of each signal period.
  8. 如权利要求7所述的FPGA(62),其中,所述采集处理装置(622)包括:信号采集器(6221)和数据处理单元(6222);The FPGA (62) of claim 7, wherein said acquisition processing means (622) comprises: a signal collector (6221) and a data processing unit (6222);
    所述信号采集器(6221)设置为按照预设采集频率采集所述周期性脉冲发射信号的幅度值,并记录采集到的每个幅度值的顺序号;The signal collector (6221) is configured to collect an amplitude value of the periodic pulse transmission signal according to a preset acquisition frequency, and record a sequence number of each amplitude value collected;
    所述数据处理单元(6222)设置为将在同一信号周期内被采集的每个顺序号对应的幅度值进行大小比较,确定每个所述信号周期内所述反射信号的最大幅度值,并根据每个所述信号周期内的最大幅度值的顺序号和所述预设采集频率,计算在每个所述信号周期内采集到所述反射信号最大幅度值的时间。The data processing unit (6222) is configured to compare magnitude values corresponding to each sequence number acquired in the same signal period, and determine a maximum amplitude value of the reflected signal in each of the signal periods, and according to A sequence number of the maximum amplitude value in each of the signal periods and the preset acquisition frequency, and a time at which the maximum amplitude value of the reflected signal is acquired in each of the signal periods.
  9. 如权利要求8所述的FPGA(62),其中,所述数据处理单元(6222)设置为将在同一信号周期内被采集的每个顺序号对应的幅度值进行大小比较包括:The FPGA (62) of claim 8 wherein said data processing unit (6222) is arranged to compare the magnitudes of the amplitude values corresponding to each sequence number acquired during the same signal period comprising:
    所述数据处理单元(6222)设置为计算采集到的位于同一信号周期内的K个顺序号连续的幅度值的平均幅度值,将所述平均幅度值作为采集到的所述K个顺序号中最小顺序号对应的幅度值;再将在同一信号周期内被采集的每个顺序号对应的幅度值进行大小比较。The data processing unit (6222) is configured to calculate an average amplitude value of the acquired K consecutive number values of the sequence numbers in the same signal period, and use the average amplitude value as the collected K sequence numbers. The amplitude value corresponding to the minimum sequence number; and the magnitude values corresponding to each sequence number acquired in the same signal period are compared in size.
  10. 一种远端射频单元,包括:处理器(61),和所述处理器连接的如权利要求7-9任一项所述的FPGA(62);A remote radio unit comprising: a processor (61), and the FPGA (62) according to any one of claims 7-9 connected to the processor;
    所述FPGA(62)设置为发送周期性脉冲发射信号,并计算所述周期性脉冲发射信号在每个信号周期内的反射系数;The FPGA (62) is configured to transmit a periodic pulse transmission signal and calculate a reflection coefficient of the periodic pulse transmission signal in each signal period;
    所述处理器设置为根据所述FPGA(62)计算得到的所述周期性脉冲发射信号在每个信号周期内的反射系数,计算所述周期性脉冲发射信号在每个信号周期内的矢量驻波比。The processor is configured to calculate a vector of the periodic pulse transmission signal in each signal period according to a reflection coefficient of the periodic pulse transmission signal calculated by the FPGA (62) in each signal period. Bobby.
  11. 一种矢量驻波比获取装置,包括数据获取模块(51)和处理模块(52),其中:A vector standing wave ratio obtaining device includes a data acquiring module (51) and a processing module (52), wherein:
    所述数据获取模块(51)设置为获取周期性脉冲发射信号在每个信号周期内的最大幅度值,并按照预设采集频率采集所述周期性脉冲发射信号的反射信号在每个信号周期内的最大幅度值;以及设置为获取每个信号周期内所述周期性脉冲发射信号和反射信号对应的时延;The data acquisition module (51) is configured to acquire a maximum amplitude value of the periodic pulse transmission signal in each signal period, and collect a reflection signal of the periodic pulse transmission signal according to a preset acquisition frequency in each signal period. a maximum amplitude value; and a delay set corresponding to the periodic pulsed emission signal and the reflected signal in each signal period;
    所述处理模块52设置为根据每个信号周期内所述周期性脉冲发射信号和反射信号的最大幅度值获取对应每个信号周期的反射系数的幅度,并根据所述采集频率以及每个信号周期对应的时延获取对应每个信号周期的所述反射系数的相位,从而确定对应每个信号周期的所述反射系数;以及设置为根据对应每个信号周期的所述反射系数获取对应每个信号周期的矢量驻波比。The processing module 52 is configured to obtain an amplitude of a reflection coefficient corresponding to each signal period according to a maximum amplitude value of the periodic pulse transmission signal and the reflection signal in each signal period, and according to the acquisition frequency and each signal period Corresponding delays acquire phases corresponding to the reflection coefficients of each signal period, thereby determining the reflection coefficients corresponding to each signal period; and setting to acquire corresponding signals according to the reflection coefficients corresponding to each signal period The periodic vector standing wave ratio.
  12. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1-6中任一项所述的方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of any of claims 1-6.
PCT/CN2018/091126 2017-06-27 2018-06-13 Vector standing wave ratio acquisition method, fpga and remote radio frequency unit WO2019001279A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710501201.3 2017-06-27
CN201710501201.3A CN109150322B (en) 2017-06-27 2017-06-27 Vector standing-wave ratio obtaining method, FPGA and remote radio frequency unit

Publications (1)

Publication Number Publication Date
WO2019001279A1 true WO2019001279A1 (en) 2019-01-03

Family

ID=64741933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091126 WO2019001279A1 (en) 2017-06-27 2018-06-13 Vector standing wave ratio acquisition method, fpga and remote radio frequency unit

Country Status (2)

Country Link
CN (1) CN109150322B (en)
WO (1) WO2019001279A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090130989A1 (en) * 2007-11-21 2009-05-21 Nokia Corporation Qualify method for shielding of transceiver RF block
CN102185669A (en) * 2011-05-05 2011-09-14 中兴通讯股份有限公司 Method and device for determining state of antenna feed system
CN102291192A (en) * 2011-09-13 2011-12-21 中兴通讯股份有限公司 Method and device for acquiring standing-wave ratio
CN102983917A (en) * 2011-09-07 2013-03-20 华为技术有限公司 Voltage standing wave ratio measuring method and measuring device
CN106487461A (en) * 2015-08-28 2017-03-08 大唐移动通信设备有限公司 A kind of standing wave peak value determines method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6469672B1 (en) * 2001-03-15 2002-10-22 Agence Spatiale Europeenne (An Inter-Governmental Organization) Method and system for time domain antenna holography
CN102938904B (en) * 2011-08-15 2016-10-05 南京中兴新软件有限责任公司 A kind of standing-wave ratio detecting method, device and base station
CN102928851B (en) * 2012-11-13 2014-04-02 北京空间飞行器总体设计部 Method of obtaining maximal code tracking error of incoherent receiver caused by standing-wave ratio
CN106324352B (en) * 2015-06-18 2019-01-22 国家新闻出版广电总局无线电台管理局 The standing-wave ratio detection circuit of multifrequency medium wave transmitter
CN106771666A (en) * 2016-12-21 2017-05-31 中国电子科技集团公司第二十研究所 A kind of many standing wave point positioning systems of anti-interference high accuracy antenna-feedback system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090130989A1 (en) * 2007-11-21 2009-05-21 Nokia Corporation Qualify method for shielding of transceiver RF block
CN102185669A (en) * 2011-05-05 2011-09-14 中兴通讯股份有限公司 Method and device for determining state of antenna feed system
CN102983917A (en) * 2011-09-07 2013-03-20 华为技术有限公司 Voltage standing wave ratio measuring method and measuring device
CN102291192A (en) * 2011-09-13 2011-12-21 中兴通讯股份有限公司 Method and device for acquiring standing-wave ratio
CN106487461A (en) * 2015-08-28 2017-03-08 大唐移动通信设备有限公司 A kind of standing wave peak value determines method and apparatus

Also Published As

Publication number Publication date
CN109150322A (en) 2019-01-04
CN109150322B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
US9995818B2 (en) Method, apparatus, and computer program product for processing received signals for locating
WO2019000373A1 (en) Circuit, method and related chip for time measurement, system, and device
US10720168B2 (en) PPS tagging of acoustic sample data
KR101733660B1 (en) 10gbaset method and apparatus for data aided timing recovery in 10gbaset system
WO2021027448A1 (en) Photon counting method and device
CN102170347A (en) Synchronization signal detection apparatus
JP2002365362A (en) Pulse radar device
WO2018035719A1 (en) Method for acquiring phase discrimination signal in clock recovery circuit and phase discriminator
WO2019001279A1 (en) Vector standing wave ratio acquisition method, fpga and remote radio frequency unit
KR102096531B1 (en) Transmission and receiving method and apparatus for distance and doppler estimation of a target
JPH0146034B2 (en)
CN106559147B (en) Method for preamble-based transmission power detection and transmission power detector
CN103323843A (en) Signal processing method and device based on receiver stationary type double-base SAR system
FR2505113A1 (en) SYSTEM FOR VERIFYING SYNCHRONIZATION OF A RECEIVER
EP2769237A1 (en) Method for the rapid interrogation of a passive sensor, in particular of the surface acoustic waves type, and system for measuring the unique frequency of such a sensor
CN113219310B (en) Partial discharge positioning method, device, positioning equipment and storage medium
RU2427075C2 (en) Asynchronous-cepstrum method of extracting encoded information sent to user using ultra-wideband pulses
CN106612114B (en) Clock recovery device and clock recovery method
TWI636684B (en) Signal transceiving device and methods for detecting a synchronization point in a signal
CN113418579A (en) Discontinuous measurement method and system based on guided wave radar level meter
CN104569579A (en) Electric energy error detection method based on wireless network and error detection systems
CN117240394B (en) Synchronous calibrating device between transceiver chip channels
JPH022106B2 (en)
CN111371453A (en) Signal period measuring circuit and method
US11387922B2 (en) Receiver with a power detecting function for a pulsed signal and receiving method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18824665

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 07.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18824665

Country of ref document: EP

Kind code of ref document: A1