WO2021104312A1 - Method for transmitting synchronization pulse, device, and system - Google Patents

Method for transmitting synchronization pulse, device, and system Download PDF

Info

Publication number
WO2021104312A1
WO2021104312A1 PCT/CN2020/131517 CN2020131517W WO2021104312A1 WO 2021104312 A1 WO2021104312 A1 WO 2021104312A1 CN 2020131517 W CN2020131517 W CN 2020131517W WO 2021104312 A1 WO2021104312 A1 WO 2021104312A1
Authority
WO
WIPO (PCT)
Prior art keywords
pulse
envelope
signal
level
synchronization
Prior art date
Application number
PCT/CN2020/131517
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 WO2021104312A1 publication Critical patent/WO2021104312A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details
    • H04L7/0087Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/02Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
    • H04L27/04Modulator circuits; Transmitter circuits

Definitions

  • This application relates to the field of communication technology, and in particular to a method, device and system for synchronous pulse transmission.
  • the uplink and downlink signals are transmitted in the same frequency band in time division.
  • the baseband processor or synchronization controller in the communication system needs to determine the direction of the data to be transmitted according to the content of the special subframe, and output the uplink and downlink synchronization pulse signal to switch the uplink and downlink of the transceiver road.
  • the access unit (AU) and each remote unit (RU) each contain radio frequency Transceiver link. These transceiver links need to work in the uplink or downlink state in time-sharing to ensure the normal operation of the entire communication system.
  • TDD synchronization signals can be included in protocols such as Common Public Radio Interface (CPRI) through media such as optical fibers, so that the transceiver systems of AU and RU can work synchronously .
  • CPRI Common Public Radio Interface
  • This transmission method requires complex coding, and requires expensive devices such as Field Programmable Logic Gate Array (FPGA) and Serial Transceiver (Serdes) to resolve the TDD synchronization pulse signal.
  • FPGA Field Programmable Logic Gate Array
  • Serdes Serial Transceiver
  • the TDD synchronization signal can be transmitted through the radio frequency feeder, and the high-speed data transmission chip can be used for the radio frequency feeder transmission.
  • Both the gateway and the active antenna side need to adopt high-speed data transmission chips and programmable logic circuits to realize the analysis of data packets and the maintenance and synchronization of pulse signals. At the same time, in the process of data transmission, there will be packet loss, which affects the stability of the system.
  • the disadvantages of this implementation method are complex structure, high cost, and low reliability.
  • a synchronization pulse transmission method includes the following steps:
  • the modulating signal is obtained by the transmitting end performing amplitude shift keying modulation on the first synchronization pulse signal, and the first synchronization pulse signal is extracted by the transmitting end from the communication radio frequency signal;
  • Envelope detection is performed on the modulated signal to obtain an envelope pulse
  • pulse shaping is performed on the envelope pulse
  • another synchronization pulse transmission method includes the following steps:
  • Envelope detection is performed on the modulated signal to obtain an envelope pulse
  • pulse shaping is performed on the envelope pulse
  • the step of pulse shaping the envelope pulse includes:
  • the envelope pulse is judged according to the first comparison level to obtain the first decision pulse, the envelope pulse is decided according to the second comparison level to obtain the second decision pulse, and the first decision pulse and the second decision pulse are combined to obtain the first decision pulse.
  • Two synchronization pulse signals can recover the synchronization pulse more accurately.
  • the envelope pulse is decided according to the first comparison level to obtain the first decision pulse, and the envelope pulse is decided according to the second comparison level, and the step of obtaining the second decision pulse includes:
  • the envelope pulse is judged according to the first comparison level. If the envelope pulse is less than the first comparison level, it is judged as a low level; if the envelope pulse is greater than the first comparison level, it is judged as a high level; A decision pulse;
  • the envelope pulse is judged according to the second comparison level. If the envelope pulse is less than the second comparison level, it is judged to be a high level; if the envelope pulse is greater than the second comparison level, it is judged to be a low level; Two decision pulses.
  • a two-level comparison method is adopted, and the first comparison level is used forward and the second comparison level reverse to determine the rising and falling edges of the pulse; the two-level decision comparison method Overcoming the influence of the integral effect on the waveform, the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the demodulation are improved.
  • the step of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal includes:
  • the step of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal includes:
  • the step of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal includes:
  • two short pulses are obtained, and after the pulse delay, the two rising edges are delayed to the next cycle. After the pulse delay, the two rising edges are accurately delayed to the next cycle, and zero delay can be achieved.
  • the above process of line AND, pulse delay, and frequency division can simplify the output process of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal, so that the upper and lower edges of the second synchronization pulse are extremely low compared to the first synchronization pulse. Delay.
  • the first comparison level and the second comparison level are obtained according to the preset high and low level ratio; the preset high and low level ratio is the ratio of the envelope pulse amplitude corresponding to the first comparison level and the second comparison level proportion.
  • the synchronization pulse transmission method further includes the following steps:
  • the updated comparison level queue is output every first preset time, and the comparison level corresponding to the envelope pulse is selected in the comparison level queue as the first comparison level and the second comparison level in the pulse shaping step of the envelope pulse Comparison level.
  • the corresponding decision level will also follow the maximum value of the envelope pulse according to a preset ratio to track changes, realizing the decision in the case of a changing input signal.
  • the alarm information is reported.
  • the fault alarm function is added to facilitate users to locate faults.
  • a synchronization pulse transmission device which includes:
  • the envelope detection module is used to detect the modulation signal to obtain an envelope pulse;
  • the modulation signal is obtained by amplitude shift keying modulation of the first synchronization pulse signal;
  • the envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
  • another synchronization pulse transmission device is also provided, and the device includes:
  • the synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal
  • the modulation module is used to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal
  • the modulated signal is used for envelope detection to obtain envelope pulses and pulse-shape the envelope pulses.
  • a synchronization pulse transmission system including:
  • the synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal
  • the modulation module is used to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal
  • Envelope detection module used for envelope detection of modulated signal to obtain envelope pulse
  • the envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
  • the envelope pulse shaping module includes a first comparator, a second comparator and a synchronization pulse generation module;
  • the first comparator is used for judging the envelope pulse according to the first comparison level to obtain the first judgment pulse
  • the second comparator is used for judging the envelope pulse according to the second comparison level to obtain the second judgment pulse
  • the synchronization pulse generation module is used to combine the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
  • the two input terminals of the first comparator input the first comparison level and the envelope pulse respectively, and the two input terminals of the second comparator input the second comparison level and the envelope pulse respectively;
  • the output terminals of the second comparator and the second comparator are connected to the synchronization pulse generation module.
  • two comparators output the first decision pulse and the second decision pulse, and the output terminal of the comparator with an open-drain output is pulled up and connected.
  • the line and the output terminal are connected to a pulse delay circuit.
  • the line and the output terminal are connected to a D flip-flop.
  • the envelope pulse shaping module further includes a control module; the control module collects data of the envelope pulse to generate a first comparison level and a second comparison level.
  • the control module is used to read the envelope pulse amplitude and store it in the sampling queue; determine the continuous interval of the envelope pulse amplitude greater than the preset amplitude threshold in the sampling queue, and determine the envelope pulse amplitude in the continuous interval. Take the average value as the peak envelope and store it in the peak envelope queue; perform multiple moving average filtering on the peak envelope queue to obtain the maximum value queue; obtain a set of first comparisons according to each amplitude value in the maximum value queue The level and the second comparison level; the comparison level queue is obtained according to multiple sets of the first comparison level and the second comparison level; and the updated comparison level queue is output every first preset time.
  • control module includes a single-chip microcomputer, and the envelope pulse amplitude is read through the ADC in the single-chip microcomputer and stored in the sampling queue; and the updated comparison level queue is output through the DAC in the single-chip microcomputer at regular intervals.
  • the single-chip microcomputer to assist in tracking and adjusting the two comparison levels, on the one hand, it realizes the judgment in the case of changing input signals, and on the other hand, it also adds a fault alarm function to the system, which is convenient for users to locate faults.
  • the above-mentioned devices and systems involve passive devices, linear devices, simple logic circuits and low-speed MCUs, and have extremely low costs compared to traditional methods.
  • amplitude shift keying modulation on the first sync pulse signal at the sync pulse transmitter to obtain the modulated signal; demodulate the modulated signal at the sync pulse receiver.
  • the steps of demodulation include envelope detection and envelope pulse shaping; obtained after demodulation The second sync pulse signal.
  • amplitude shift keying modulation mode transmission makes the synchronization pulse low in delay during transmission, no additional delay circuit is needed, and the complexity of the system is reduced.
  • Fig. 1 is a flowchart of a synchronization pulse transmission method according to an embodiment of the present application.
  • Fig. 2 is a schematic diagram of the steps of envelope pulse shaping according to an embodiment of the present application.
  • Fig. 3 is a schematic diagram of a judgment to obtain a second synchronization pulse signal according to an embodiment of the present application.
  • Fig. 4 is a working flowchart of the MCU of an embodiment of the present application.
  • Fig. 5 is a schematic diagram of a synchronization pulse transmission system according to an embodiment of the present application.
  • Fig. 6 is a schematic diagram of an envelope detection module according to an embodiment of the present application.
  • Fig. 7 is a schematic diagram of an envelope pulse shaping module according to an embodiment of the present application.
  • Fig. 8 is a schematic diagram of an active antenna indoor signal coverage system according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a transmission system according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of signal waveform changes in the transmission system according to an embodiment of the present application.
  • FIG. 11 is a working flow chart of the active antenna side MCU of the embodiment of the present application.
  • FIG. 12 is a schematic diagram of waveforms of a two-level comparison process in an embodiment of the present application.
  • the uplink and downlink signals are transmitted in the same frequency band in time division.
  • the baseband processor or synchronization controller in the communication system needs to determine the direction of the data to be transmitted according to the content of the special subframe, and output the uplink and downlink synchronization pulse signal to switch the uplink and downlink of the transceiver road.
  • the synchronization pulse controls the switches of the devices in the entire transceiver signal chain, and determines the current signal transmission direction of the system.
  • FIG. 1 is a flowchart of the synchronization pulse transmission method according to an embodiment of the present application. As shown in FIG. 1, the process includes the following steps:
  • Envelope detection is performed on the modulated signal to obtain an envelope pulse
  • pulse shaping is performed on the envelope pulse
  • Obtain the communication radio frequency signal at the synchronization pulse transmitter, and extract the first synchronization pulse signal from the communication radio frequency signal; performing amplitude shift keying (ASK) modulation on the first synchronization pulse signal to obtain the modulated signal includes: inputting the radio frequency signal as the carrier signal , So that the strength of the carrier signal changes with the change of the high and low levels of the first synchronization pulse signal to obtain a modulated signal.
  • the carrier frequency is selected in combination with the operating frequency of the transmission device between the transmitting end and the receiving end and the signal frequency of the communication system.
  • the ASK modulation method is adopted for transmission, so that the synchronization pulse has a lower delay during transmission, and no additional delay circuit is required, which reduces the complexity of the system.
  • an indoor coverage system composed of a gateway and an active antenna transmits 4G and 5G signals.
  • the gateway and the active antenna are interconnected by radio frequency feeders; the radio frequency feeder transmits TDD synchronization pulses, and the gateway is the transmitter.
  • the source antenna is the receiving end, and the transmission device is a radio frequency feeder.
  • the carrier frequency is selected according to the working frequency of the radio frequency feeder and the frequency of 4G and 5G signals. The carrier frequency needs to avoid the frequency band where the public network transmits 4G/5G signals to avoid interference.
  • the modulation signal is demodulated at the synchronization pulse receiving end, and the steps of demodulation include: performing envelope detection on the modulation signal, obtaining an envelope pulse, and performing pulse shaping on the envelope pulse.
  • the envelope pulse is obtained by envelope detection, and the way to obtain the envelope pulse includes the amplitude envelope pulse obtained by the detection or the synchronization envelope pulse.
  • the amplitude envelope pulse is obtained by envelope detection, and the amplitude envelope pulse can be obtained by diode envelope detection.
  • Diode envelope detection is an asynchronous demodulation method with a simple structure and a shorter time delay can be obtained.
  • the synchronous envelope pulse can also be obtained through envelope detection, and the synchronous envelope pulse can be obtained by using a logarithmic detector.
  • a logarithmic detector When extracting the envelope of a modulation signal with a large amplitude change, a logarithmic detector can be used; the amplification characteristic of the logarithmic detector is a piecewise linear logarithmic amplification, and a diode detection is used to extract the packet at each linear gain stage output. And superimpose all the envelopes to form a synchronous envelope pulse with the required logarithmic response.
  • the pulse signal is low-pass filtered to filter out high-frequency clutter.
  • the envelope pulse is amplified. Due to the uncertainty of factors such as the line loss of the transmission device and the number of networking between the transmitting end and the receiving end, the amplitude of the signal entering the detection will have a certain dynamic range. Considering that the amplitude of the input signal has exponential characteristics, in order to obtain a certain receiving dynamic range, an amplifier with logarithmic characteristics is used to amplify the envelope pulse to obtain a more linear output.
  • the pulse signal is low-pass filtered, and the envelope pulse is further amplified.
  • the use of logarithmic detection and amplification can make the receiver have a larger dynamic range and increase the flexibility of networking.
  • the modulation signal is demodulated at the synchronization pulse receiving end, and the steps of demodulation include: performing envelope detection on the modulation signal, obtaining an envelope pulse, and performing pulse shaping on the envelope pulse. Because the envelope pulse obtained by the detection is affected by the capacitance in the detection circuit, its rising and falling edges are slowed down to a certain extent; the rising edge rises faster near the low level; the falling edge falls more quickly near the high level. fast. In order to recover the synchronization pulse more accurately, reduce the time delay of the pulse, and shape the envelope pulse.
  • the step of pulse shaping the envelope pulse includes: judging the envelope pulse according to the first comparison level VL, obtaining the first decision pulse, judging the envelope pulse according to the second comparison level VH, obtaining the second decision pulse, and combining the first decision pulse.
  • the decision pulse and the second decision pulse obtain a second synchronization pulse signal.
  • the step of shaping the envelope pulse specifically includes:
  • the envelope pulse is judged according to the first comparison level VL. If the envelope pulse is less than the first comparison level VL, it is judged to be a low level; if the envelope pulse is greater than the first comparison level VL, it is judged to be a high level; A decision pulse;
  • the envelope pulse is judged according to the second comparison level VH. If the envelope pulse is less than the second comparison level VH, it is judged to be a high level; if the envelope pulse is greater than the second comparison level VH, it is judged to be a low level; Second decision pulse;
  • the high/low level starting point of the first decision pulse is extracted as one of the level starting points of the second synchronization pulse signal, and the high/low level starting point of the period corresponding to the second decision pulse is extracted as the second synchronization pulse signal Another level starting point, the second synchronization pulse signal is obtained.
  • the step of shaping the envelope pulse includes:
  • VL Assuming VL ⁇ VH, use the first comparison level VL to judge the envelope pulse in the positive direction.
  • the envelope pulse is less than the first comparison level VL, it is judged to be a low level; when the envelope pulse is greater than the first comparison level VL , The judgment is high; the first judgment pulse is obtained after the judgment is completed;
  • the second comparison level VH Use the second comparison level VH to reversely judge the envelope pulse.
  • the decision is high; when the envelope pulse is greater than the second comparison level VH, the decision is low. Level; the second decision pulse is obtained after the decision is completed.
  • the combination of "13" can be used: extract the high-level starting point of the first decision pulse as the high-level starting point of the second synchronization pulse signal, and extract the high-level starting point of the period corresponding to the second decision pulse as the second synchronization pulse signal Starting at the low level, the second synchronization pulse signal is obtained.
  • the foregoing embodiment adopts a two-level comparison method, using the first comparison level VL in the forward direction and the second comparison level VH in the reverse direction to determine the rising edge and the falling edge of the pulse.
  • the two-level decision comparison method overcomes the influence of the integral effect on the waveform, so that the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the system are improved.
  • the integral effect is formed by input resistance, load resistance, and load capacitance. This effect will slow the rising and falling edges of the ASK signal during the detection process, thereby increasing the detection delay.
  • the first and the second two pulses are output through a two-level decision; the two pulses are ANDed through the pull-up line to obtain two short rising edge pulses.
  • the signal after the line and is transformed into two short pulses.
  • the two short pulses respectively represent the position of the upper and lower edges of the second synchronization pulse that is restored later.
  • the two rising edge short pulses are divided into one pulse, that is, the second synchronization pulse signal.
  • the upper and lower edges of this sync pulse have a very low delay to the sync pulse at the transmitter.
  • the two rising edges are accurately delayed to the next cycle, so as to achieve zero delay.
  • the first comparison level VL and the second comparison level VH are obtained according to the preset high and low level ratio; the preset high and low level ratio is the ratio of the pulse amplitudes corresponding to the first comparison level VL and the second comparison level VH proportion.
  • control module is used to assist in tracking and adjusting the two comparison levels, so that the two comparison levels dynamically change, so as to realize the decision in the case of a changing input signal.
  • the specific steps include:
  • control module After the system is turned on, the control module reads the pulse envelope amplitude and stores it in the sampling queue;
  • the updated comparison level VL and VH queues are output every first preset time, and the comparison level corresponding to the envelope pulse is selected in the comparison level queue as the first comparison circuit in the pulse shaping step of the envelope pulse Harmonize the second comparison level.
  • a single-chip microcomputer (MCU) is used as a control module. After the entire system is turned on, the pulse envelope amplitude is read through the on-chip ADC and stored in the sampling queue. When the amplitude of the input signal is less than the preset threshold continuously for a certain preset time, the MCU will report an alarm message indicating that the link is attenuated too much or has been disconnected. Otherwise, by judging the sampling queue, the value greater than the preset threshold will be averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue.
  • the MCU workflow is shown in Figure 4. Using the MCU to assist in tracking and adjusting the two comparison levels, on the one hand, it realizes the judgment in the case of changing input signals. On the other hand, it also adds a fault alarm function to the system to facilitate users to locate faults.
  • a synchronization pulse transmission system As shown in FIG. 5, the system includes:
  • the synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal
  • the modulation module is used to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal
  • Envelope detection module used to detect the modulated signal to obtain envelope pulse
  • the envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
  • the modulation module is used to perform ASK modulation on the first synchronization pulse signal to obtain a modulation signal: input a radio frequency signal as a carrier signal, so that the strength of the carrier signal changes with the change of the high and low levels of the first synchronization pulse signal to obtain the modulation signal.
  • the carrier frequency is selected in combination with the operating frequency of the transmission device between the transmitting end and the receiving end and the signal frequency of the communication system.
  • the modulation module includes a radio frequency oscillator and a radio frequency switch.
  • the radio frequency signal generated by the radio frequency oscillator is passed into the radio frequency switch for modulation, and the first synchronous pulse signal is input to the control terminal of the radio frequency switch, so that the strength of the input carrier signal increases with the level of the pulse signal.
  • ASK signal can be obtained by level change.
  • the opening and closing time of the radio frequency switch needs to be as short as possible.
  • the radio frequency oscillator can use a frequency synthesizer integrated circuit or an LC resonant circuit.
  • the envelope detection module is used to detect the modulated signal to obtain an envelope pulse.
  • the envelope detection module adopts amplitude envelope pulse detection mode.
  • Obtaining the amplitude envelope pulse can be achieved by using diode envelope detection, which is an asynchronous demodulation method with a simple structure and a shorter time delay can be obtained.
  • diode envelope detection which is an asynchronous demodulation method with a simple structure and a shorter time delay can be obtained.
  • the low-frequency envelope information can be obtained.
  • Part of the current of the input signal charges the capacitor during the positive rising period and discharges through the load resistor RL during the negative half period to form an envelope.
  • the impedance of the parallel capacitor C is smaller than the impedance of the diode, and the parallel capacitor C is much larger than the junction capacitance of the diode.
  • the value of C and RL will affect the discharge speed, resulting in slower rise and fall times. Different carrier frequency and envelope frequency pulse width will affect the rise and fall time of the detected pulse, so the relevant parameters need to be tested in the circuit debugging process.
  • the envelope detection module adopts the synchronous envelope pulse detection mode.
  • Obtaining the synchronous envelope pulse can be achieved by using a logarithmic detector.
  • a logarithmic detector when extracting the envelope of a modulation signal with a large amplitude change, a logarithmic detector is used to achieve; the amplification characteristic of the logarithmic detector is a piecewise linear logarithmic amplification, and in each linear gain stage
  • the output uses diode detection to extract the envelope, and superimpose all envelopes to form a synchronous envelope pulse with the required logarithmic response.
  • a filter is connected after the envelope detection module to low-pass filter the pulse signal to filter out high-frequency clutter.
  • an amplifier is connected after the envelope detection module to amplify the envelope pulse. Due to the uncertainty of factors such as the line loss of the transmission device and the number of networking between the transmitting end and the receiving end, the amplitude of the signal entering the detection will have a certain dynamic range. Considering that the amplitude of the input signal has exponential characteristics, in order to obtain a certain receiving dynamic range, an amplifier with logarithmic characteristics is used to amplify the envelope pulse to obtain a more linear output.
  • the filter and amplifier are connected after the envelope detection module, the pulse signal is low-pass filtered, and the envelope pulse is further amplified.
  • the envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
  • the envelope pulse obtained by the detection is affected by the capacitance in the detection circuit, its rising and falling edges are slowed down to a certain extent; the rising edge rises faster near the low level; the falling edge falls more quickly near the high level. fast. In order to recover the synchronization pulse more accurately, reduce the time delay of the pulse, and shape the envelope pulse.
  • the envelope pulse shaping module includes a first comparator, a second comparator and a synchronization pulse generation module;
  • the first comparator is used for judging the envelope pulse according to the first comparison level to obtain the first judgment pulse
  • the second comparator is used for judging the envelope pulse according to the second comparison level to obtain the second judgment pulse
  • the synchronization pulse generation module is used to combine the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
  • the two input terminals of the first comparator respectively input the first comparison level VL and the envelope pulse
  • the two input terminals of the second comparator respectively input the second comparison level VH and the envelope pulse.
  • the output terminals of the first comparator and the second comparator are connected to the synchronization pulse generation module, and the synchronization pulse generation module generates the second synchronization pulse signal according to the output of the first comparator and the second comparator.
  • the first comparison level VL is connected to the "-" input terminal of the first comparator, and the envelope pulse is connected to the "+” input terminal of the first comparator;
  • the second comparison level VH is connected to the first comparator's “+” input terminal;
  • the "+” input terminal of the second comparator, and the envelope pulse is connected to the "-" input terminal of the second comparator; when the voltage at the "+” input terminal is higher than the "-” input terminal, the voltage comparator output is high ; When the "+" input terminal voltage is lower than the "-” input terminal, the voltage comparator output is low.
  • the comparator adopts a high-speed comparator. After two high-speed comparators, two pulses are output, and the output terminal of the open-drain output comparator is pulled up and connected. The signal after the line is transformed into two short pulses. The two short pulses respectively represent the position of the upper and lower edges of the synchronized pulse to be restored later.
  • the two rising edges can be accurately delayed to the next cycle, thereby achieving zero delay.
  • the two rising edge short pulses are divided into one pulse.
  • This pulse is the last required second synchronization pulse.
  • the upper and lower edges of this sync pulse have a very low delay to the first sync pulse.
  • control module is used to assist in tracking and adjusting the two comparison levels, so that the two comparison levels dynamically change, so as to realize the decision in the case of a changing input signal.
  • the envelope pulse shaping module includes a first comparator, a second comparator, a synchronization pulse generation module and a control module;
  • the control module collects data of the envelope pulse, and generates a first comparison level VL and a second comparison level VH;
  • the first comparator decides the envelope pulse according to the first comparison level VL, and obtains the first decision pulse
  • the second comparator decides the envelope pulse according to the second comparison level VH, and obtains the second decision pulse
  • the synchronization pulse generation module combines the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
  • the concrete steps of shaping the envelope pulse include:
  • control module After the system is turned on, the control module reads the pulse envelope amplitude and stores it in the sampling queue;
  • the amplitude of the input signal is less than the preset amplitude threshold continuously for a certain preset time, and an alarm information is reported on the control module, indicating that the link is attenuated too much or has been disconnected;
  • the sampling queue is judged, and the values greater than the preset amplitude threshold are averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue;
  • a single-chip microcomputer (MCU) is used as a control module. After the entire system is turned on, the pulse envelope amplitude is read through the on-chip ADC and stored in the sampling queue. When the amplitude of the input signal is less than the preset threshold continuously for a certain preset time, the MCU will report an alarm message indicating that the link is attenuated too much or has been disconnected. Otherwise, by judging the sampling queue, the value greater than the preset threshold will be averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue.
  • the foregoing embodiment adopts a two-level comparison method, using the first comparison level VL in the forward direction and the second comparison level VH in the reverse direction to determine the rising edge and the falling edge of the pulse.
  • the two-level decision comparison method overcomes the influence of the integral effect on the waveform, so that the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the system are improved.
  • This system includes passive devices, linear devices, simple logic circuits and low-speed MCUs, and has a very low cost compared to traditional methods.
  • an active antenna indoor signal coverage system its structure is shown in Figure 8, including a gateway and several antennas.
  • Micro base stations such as Picocell, Smallcell
  • the radio frequency feeder is used to connect to the active antenna.
  • active antennas are distributed in a star shape with the gateway as the center. The gateway supplies power to the active antenna through a DC-coupled radio frequency cable.
  • the gateway includes a power supply module, a DC coupling module, a synchronous ASK signal coupling module, a synchronous pulse extraction module, and a synchronous pulse transmitter module.
  • the synchronization pulse extraction module will analyze the input radio frequency signal by using devices such as transceivers and FPGAs, and output the synchronization pulse signal to the synchronization pulse transmission module.
  • the synchronization pulse transmitter module modulates the synchronization pulse and transmits it, and sends the ASK signal with the synchronization pulse information to the synchronization signal coupling module.
  • the active antenna includes a power supply module, a DC coupling module, a low noise amplifier LNA module, a power amplifier PA module, a synchronous pulse receiving module and a synchronous ASK signal coupling module.
  • the synchronization signal ASK coupling module sends the ASK signal with the synchronization pulse information to the synchronization pulse receiving module, the receiving module will demodulate the synchronization pulse.
  • the pulse is output to the LNA and PA modules for controlling the uplink and downlink.
  • TDD synchronization signals can be included in protocols such as Common Public Radio Interface (CPRI) through media such as optical fibers, so that the transceiver systems of AU and RU can work synchronously .
  • CPRI Common Public Radio Interface
  • This transmission method requires complex coding, and requires expensive devices such as Field Programmable Logic Gate Array (FPGA) and Serial Transceiver (Serdes) to resolve the TDD synchronization pulse signal.
  • FPGA Field Programmable Logic Gate Array
  • Serdes Serial Transceiver
  • an additional photoelectric composite cable needs to be used to power the RU.
  • the power amplifier reduces the transmission power under strict power consumption and linearity requirements.
  • its high frequency makes the signal fading in the propagation larger, and it is necessary to add more devices.
  • Source antenna this increases the amount of photoelectric composite cables, resulting in a significant increase in cost.
  • the method of transmitting TDD synchronization pulses on the radio frequency feeder proposed in this embodiment can enable the indoor coverage system composed of a gateway and an active antenna to only use the radio frequency feeder interconnection.
  • the feeder can transmit radio frequency signal, power supply and synchronous pulse ASK signal, which greatly reduces the cost.
  • the synchronization pulse controls the switches of the devices in the entire transceiver signal chain, and determines the current signal transmission direction of the system. Therefore, it needs to have lower delay and jitter. According to the requirements of 3GPP documents, for the 5G TDD system, it takes less than 10 ⁇ s to switch between uplink and downlink. This means that for the entire system, the jitter and delay of the synchronization pulse must be less than 10 ⁇ s.
  • This embodiment adopts a transmission method based on amplitude modulation and demodulation, and uses 2-ASK modulation at the transmitting end to move the synchronization pulse signal to a higher frequency to pass through radio frequency devices such as radio frequency feeder power dividers.
  • amplitude detection is used to extract the envelope pulse, and then through a low-pass filter circuit, a logarithmic amplifier circuit, a decision circuit and a pulse delay circuit, the switching signal is accurately restored.
  • the structure of the transmission system is shown in Figure 9, and the change of the signal waveform in the transmission system is shown in Figure 10.
  • ASK modulation transmission method solves the shortcomings of high cost and complex structure of the TDD synchronous pulse transmission system.
  • the transmitting part uses 2-ASK modulation.
  • the synchronization pulse extraction module inside the gateway analyzes the RF output signal of the Smallcell or Picocell to obtain the TDD uplink and downlink synchronization pulse signal.
  • the synchronous pulse extraction module is composed of FPGA and high-speed ADC. ADC samples 4G or 5G signals, and the output digital signal is analyzed and synchronized by FPGA.
  • the synchronization pulse transmitter module modulates the synchronization pulse and transmits it, and sends the radio frequency signal generated by the radio frequency oscillator to a radio frequency switch for modulation.
  • the TDD uplink and downlink synchronization pulse signal is input to the radio frequency switch control terminal, so that the strength of the input carrier signal changes with the high and low levels of the pulse signal to obtain a simple ASK signal.
  • the opening and closing time of the modulated switch needs to be as short as possible.
  • the carrier frequency can be selected according to the working frequency of the RF feeder and power divider, 4G and 5G signal frequency. The carrier frequency needs to avoid the frequency band where the public network transmits 4G/5G signals to avoid interference.
  • the radio frequency oscillator can use a frequency synthesizer integrated circuit or an LC resonant circuit.
  • Filter the ASK signal before detecting the ASK signal to filter out the 4G/5G frequency band of the public network to prevent the public network signal from interfering with the detection process.
  • increase the gain device to obtain a larger envelope detection range.
  • the synchronization pulse receiving module demodulates the synchronization pulse.
  • the amplitude envelope pulse is obtained by detecting the ASK signal, which is realized by the diode envelope detection.
  • Diode envelope detection is an asynchronous demodulation method, and because of its simple structure, a shorter time delay can be obtained.
  • the low-frequency envelope information can be obtained.
  • Part of the current of the input signal charges the capacitor during the positive rising period and discharges through the load resistor RL during the negative half period to form an envelope.
  • the impedance of the parallel capacitor C should be less than the impedance of the diode, so the parallel capacitor C is much larger than the junction capacitance of the diode.
  • the value of C and RL will affect the discharge speed, resulting in slower rise and fall times. Different carrier frequency and envelope frequency pulse width will affect the rise and fall time of the detected pulse, so it needs to be tested in the circuit debugging process.
  • the pulse signal is low-pass filtered to filter out high-frequency clutter. Due to the uncertainty of factors such as the line loss and the number of networking between the gateway and the active antenna, the amplitude of the signal entering the detection will have a certain dynamic range. Considering that the amplitude of the input signal has exponential characteristics, in order to obtain a certain receiving dynamic range, an amplifier with logarithmic characteristics is used to amplify the envelope pulse. In this way, a more linear output can be obtained.
  • a logarithmic detector can also be used to extract the envelope of the synchronous pulse ASK signal with a large amplitude change.
  • the amplifying characteristic of the logarithmic detector is piecewise linear logarithmic amplification.
  • diode detection is used to extract the envelope, and all the envelopes are superimposed to form a synchronous envelope pulse with the required logarithmic response.
  • a high-speed comparator is used to shape the envelope pulse. Since the envelope pulse obtained by the detection is affected by the capacitance in the detection circuit, its rising and falling edges are slowed to a certain extent. The rising edge rises faster near the low level; the falling edge falls faster near the high level. In order to recover the pulse more accurately and reduce the time delay of the pulse, a two-level comparison method is adopted, using the low-level VL forward and high-level VH reverse to judge the rising and falling edges of the pulse.
  • a single-chip microcomputer is used to read the synchronization pulse envelope through the on-chip ADC after the entire system is turned on and store it in the sampling queue.
  • the MCU When the amplitude of the input signal is less than the preset threshold continuously for a certain preset time, the MCU will report an alarm message indicating that the link is attenuated too much or has been disconnected.
  • the values greater than the preset threshold will be averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue. Perform 10 moving average filtering on the peak envelope queue to obtain the maximum value queue (for the input waveform, it is the maximum value, which is called the maximum value queue here for convenience, which is the maximum value of the sync pulse envelope).
  • the comparison level VL and VH queue according to the preset high and low level ratio, and update to the on-chip DAC output every 10s; for example, the preset comparison level VL and VH are respectively 1/5 and 4/5 of the pulse high and low level difference , According to different pulse high and low levels, different preset comparison levels VL and VH can be obtained.
  • the high comparison level VH and the low comparison level VL are calculated according to the preset ratio of high level and low level.
  • 10 times of moving average filtering can already filter out a lot of noise and interference, occupying too much system resources, and too little affects the stability of the decision.
  • the MCU workflow is shown in Figure 11.
  • the two pulses are pulled up and connected through the open-drain output of the comparator.
  • the signal after the line and is transformed into two short pulses, and the two short pulses respectively represent the position of the upper and lower edges of the synchronized pulse that is restored later.
  • these two rising edges can be accurately delayed to the next cycle, so as to achieve zero delay.
  • This system includes passive devices, linear devices, simple logic circuits and low-speed MCUs, and has a very low cost compared to traditional methods.
  • the ASK modulation method is adopted for transmission, so that the synchronization pulse has a lower delay during transmission, and no additional delay circuit is required, which reduces the complexity of the system.
  • the use of logarithmic detection and amplification can make the receiver have a larger dynamic range and increase the flexibility of networking.
  • the two-level decision comparison method overcomes the influence of the integral effect on the waveform, so that the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the system are improved.
  • the MCU to assist in tracking and adjusting the two comparison levels, on the one hand, it realizes the judgment in the case of changing input signals. On the other hand, it also adds a fault alarm function to the system to facilitate users to locate faults.
  • the above characteristics make this system very suitable for transmitting TDD sync pulse signals in radio frequency feeders.

Abstract

The present invention relates to a method for transmitting a synchronization pulse, a device, and a system. The method comprises: acquiring a communication radio frequency signal, and extracting a first synchronization pulse signal from the communication radio frequency signal; performing amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulated signal; and performing envelope detection on the modulated signal to obtain an envelope pulse, and performing pulse shaping on the envelope pulse. The present invention employs an ASK modulation scheme to perform transmission, such that delay of synchronization pulse transmission is reduced and no additional delay circuit is required, thereby reducing the complexity of a system. Moreover, shaping of an envelope pulse enables more accurate recovery of a synchronization pulse.

Description

同步脉冲传输方法、装置和系统Synchronous pulse transmission method, device and system
相关申请Related application
本申请要求2019年11月29日申请的,申请号为201911205410.9,发明名称为“同步脉冲传输方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 29, 2019, the application number is 201911205410.9, and the invention title is "Synchronous Pulse Transmission Method, Device and System", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信技术领域,特别是涉及一种同步脉冲传输方法、装置和系统。This application relates to the field of communication technology, and in particular to a method, device and system for synchronous pulse transmission.
背景技术Background technique
在使用时分复用(TDD)制式的无线通信的系统中,上下行信号在同一频段分时传输。信号在同一频率分时传输时,通信系统中的基带处理器或者同步控制器需要根据特殊子帧的内容判断即将传输的数据方向,并通过输出上下行同步脉冲信号,切换收发器的上下行链路。在使用第四代(4G)和第五代(5G)无线通信系统的基站中,例如微小基站Smallcell或者皮基站Picocell等,接入单元(AU)和各个远端单元(RU)中各自包含射频收发链路。这些收发链路需要分时工作在上行或者下行状态,才能保证整个通信系统的正常运行。In a wireless communication system using time division multiplexing (TDD), the uplink and downlink signals are transmitted in the same frequency band in time division. When the signal is transmitted at the same frequency in time-sharing, the baseband processor or synchronization controller in the communication system needs to determine the direction of the data to be transmitted according to the content of the special subframe, and output the uplink and downlink synchronization pulse signal to switch the uplink and downlink of the transceiver road. In the base stations that use fourth-generation (4G) and fifth-generation (5G) wireless communication systems, such as small cell or picocell, the access unit (AU) and each remote unit (RU) each contain radio frequency Transceiver link. These transceiver links need to work in the uplink or downlink state in time-sharing to ensure the normal operation of the entire communication system.
通常,在使用TDD工作方式的4G和5G的通信设备中,TDD同步信号可以通过光纤等介质,包含在例如通用公共无线接口(CPRI)等协议之中,使得AU和RU的收发系统能够同步工作。这种传输方式需要复杂的编码,并且需要使用现场可编程逻辑门阵列(FPGA)、串行收发器(Serdes)等昂贵器件去解析出TDD同步脉冲信号。Generally, in 4G and 5G communication devices using TDD working mode, TDD synchronization signals can be included in protocols such as Common Public Radio Interface (CPRI) through media such as optical fibers, so that the transceiver systems of AU and RU can work synchronously . This transmission method requires complex coding, and requires expensive devices such as Field Programmable Logic Gate Array (FPGA) and Serial Transceiver (Serdes) to resolve the TDD synchronization pulse signal.
另外,TDD同步信号可以通过射频馈线传输,对于射频馈线传输可以使用高速的数传芯片实现。在网关和有源天线端都需要采用高速数传芯片和可编程逻辑电路,以实现对数据包的解析和对脉冲信号的保持与同步。同时在数传过程中,会有丢包的情况,影响系统的稳定性。这种实现方式缺点是结构复杂,成本偏高,可靠性低。In addition, the TDD synchronization signal can be transmitted through the radio frequency feeder, and the high-speed data transmission chip can be used for the radio frequency feeder transmission. Both the gateway and the active antenna side need to adopt high-speed data transmission chips and programmable logic circuits to realize the analysis of data packets and the maintenance and synchronization of pulse signals. At the same time, in the process of data transmission, there will be packet loss, which affects the stability of the system. The disadvantages of this implementation method are complex structure, high cost, and low reliability.
发明内容Summary of the invention
根据本申请的各种实施例,提供一种同步脉冲传输方法,所述方法包括以下步骤:According to various embodiments of the present application, a synchronization pulse transmission method is provided, and the method includes the following steps:
接收发射端传输的调制信号,调制信号是发射端对第一同步脉冲信号进行幅移键控调制获得的,第一同步脉冲信号是发射端从通信射频信号中提取的;Receiving the modulated signal transmitted by the transmitting end, the modulating signal is obtained by the transmitting end performing amplitude shift keying modulation on the first synchronization pulse signal, and the first synchronization pulse signal is extracted by the transmitting end from the communication radio frequency signal;
对调制信号进行包络检波,获得包络脉冲,并对包络脉冲进行脉冲整形。Envelope detection is performed on the modulated signal to obtain an envelope pulse, and pulse shaping is performed on the envelope pulse.
根据本申请的各种实施例,还提供另一种同步脉冲传输方法,所述方法包括以下步骤:According to various embodiments of the present application, another synchronization pulse transmission method is also provided, and the method includes the following steps:
获取通信射频信号,从通信射频信号中提取第一同步脉冲信号;Acquire a communication radio frequency signal, and extract the first synchronization pulse signal from the communication radio frequency signal;
对第一同步脉冲信号进行幅移键控调制获得调制信号;Performing amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulated signal;
对调制信号进行包络检波,获得包络脉冲,并对包络脉冲进行脉冲整形。Envelope detection is performed on the modulated signal to obtain an envelope pulse, and pulse shaping is performed on the envelope pulse.
在其中一个实施例中,对包络脉冲进行脉冲整形的步骤包括:In one of the embodiments, the step of pulse shaping the envelope pulse includes:
根据第一比较电平判决包络脉冲,获得第一判决脉冲,根据第二比较电平判决包络脉冲,获得第二判决脉冲,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号,其中,第一比较电平小于第二比较电平。Judge the envelope pulse according to the first comparison level, obtain the first decision pulse, judge the envelope pulse according to the second comparison level, obtain the second decision pulse, combine the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal , Wherein the first comparison level is less than the second comparison level.
对包络脉冲整形,根据第一比较电平判决包络脉冲获得第一判决脉冲,根据第二比较电平判决包络脉冲获得第二判决脉冲,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号,能够更为精确地恢复同步脉冲。For envelope pulse shaping, the envelope pulse is judged according to the first comparison level to obtain the first decision pulse, the envelope pulse is decided according to the second comparison level to obtain the second decision pulse, and the first decision pulse and the second decision pulse are combined to obtain the first decision pulse. Two synchronization pulse signals can recover the synchronization pulse more accurately.
在其中一个实施例中,根据第一比较电平判决包络脉冲,获得第一判决脉冲,根据第二比较电平判决包络脉冲,获得第二判决脉冲的步骤包括:In one of the embodiments, the envelope pulse is decided according to the first comparison level to obtain the first decision pulse, and the envelope pulse is decided according to the second comparison level, and the step of obtaining the second decision pulse includes:
根据第一比较电平判决包络脉冲,若包络脉冲小于第一比较电平,判决为低电平,若包络脉冲大于第一比较电平,判决为高电平;根据判决结果获得第一判决脉冲;The envelope pulse is judged according to the first comparison level. If the envelope pulse is less than the first comparison level, it is judged as a low level; if the envelope pulse is greater than the first comparison level, it is judged as a high level; A decision pulse;
根据第二比较电平判决包络脉冲,若包络脉冲小于第二比较电平,判决为高电平,若包络脉冲大于第二比较电平,判决为低电平;根据判决结果获得第二判决脉冲。The envelope pulse is judged according to the second comparison level. If the envelope pulse is less than the second comparison level, it is judged to be a high level; if the envelope pulse is greater than the second comparison level, it is judged to be a low level; Two decision pulses.
上述对包络脉冲整形的步骤中采用一种双电平比较方式,分别使用第一比较电平正向和第二比较电平反向对脉冲的上升沿和下降沿进行判决;双电平判决比较方法克服了积分效应对波形的影响,使得上升沿和下降沿的延时都能控制在较小程度,提高了解调的精度和可靠性。In the above step of shaping the envelope pulse, a two-level comparison method is adopted, and the first comparison level is used forward and the second comparison level reverse to determine the rising and falling edges of the pulse; the two-level decision comparison method Overcoming the influence of the integral effect on the waveform, the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the demodulation are improved.
在其中一个实施例中,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号的步骤包括:In one of the embodiments, the step of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal includes:
提取第一判决脉冲的高电平起点作为第二同步脉冲信号的高电平起点,提取第二判决脉冲对应的周期的高电平起点作为第二同步脉冲信号的低电平起点,获得第二同步脉冲信号。Extract the high-level starting point of the first decision pulse as the high-level starting point of the second synchronization pulse signal, and extract the high-level starting point of the period corresponding to the second decision pulse as the low-level starting point of the second synchronization pulse signal to obtain the second Sync pulse signal.
在其中一个实施例中,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号的步骤包括:In one of the embodiments, the step of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal includes:
提取第一判决脉冲的低电平起点作为第二同步脉冲信号的低电平起点,提取第二判决脉冲对应的周期的低电平起点作为第二同步脉冲信号的高电平起点,获得第二同步脉冲信号。Extract the low-level starting point of the first decision pulse as the low-level starting point of the second synchronization pulse signal, and extract the low-level starting point of the period corresponding to the second decision pulse as the high-level starting point of the second synchronization pulse signal to obtain the second Sync pulse signal.
在其中一个实施例中,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号的步骤包括:In one of the embodiments, the step of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal includes:
对第一判决脉冲和第二判决脉冲上拉线与,获得两个短脉冲,选择两个短脉冲的上升沿位置分别为第二同步脉冲上下边沿的位置。Pull the AND on the first decision pulse and the second decision pulse to obtain two short pulses, and select the rising edge positions of the two short pulses to be the positions of the upper and lower edges of the second synchronization pulse respectively.
具体的,获得两个短脉冲,经过脉冲延时,将两个上升沿延时至下一周期。经过脉冲延时,对两个上升沿精确延时至下一周期,可以做到零延迟。Specifically, two short pulses are obtained, and after the pulse delay, the two rising edges are delayed to the next cycle. After the pulse delay, the two rising edges are accurately delayed to the next cycle, and zero delay can be achieved.
进一步的,获得两个短脉冲,将两个短脉冲分频为一个脉冲。Further, two short pulses are obtained, and the two short pulses are divided into one pulse.
上述线与、脉冲延时、分频的过程可以简化结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号的输出过程,使得第二同步脉冲的上下边沿拥有对于第一同步脉冲极低的延迟。The above process of line AND, pulse delay, and frequency division can simplify the output process of combining the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal, so that the upper and lower edges of the second synchronization pulse are extremely low compared to the first synchronization pulse. Delay.
在其中一个实施例中,根据预设高低电平比例获得第一比较电平和第二比较电平;预设高低电平比例为第一比较电平和第二比较电平对应的包络脉冲幅度的比例。In one of the embodiments, the first comparison level and the second comparison level are obtained according to the preset high and low level ratio; the preset high and low level ratio is the ratio of the envelope pulse amplitude corresponding to the first comparison level and the second comparison level proportion.
在其中一个实施例中,同步脉冲传输方法还包括以下步骤:In one of the embodiments, the synchronization pulse transmission method further includes the following steps:
读取包络脉冲幅度并存储于采样队列;Read the envelope pulse amplitude and store it in the sampling queue;
确定采样队列中大于预设幅度阈值的包络脉冲幅度的连续区间,对连续区间内的包络脉冲幅度取平均值,作为峰值包络并存储至峰值包络队列;Determine the continuous interval of the envelope pulse amplitude greater than the preset amplitude threshold in the sampling queue, take the average of the envelope pulse amplitude in the continuous interval, as the peak envelope and store it in the peak envelope queue;
对峰值包络队列进行多次滑动平均滤波,得到最大值队列;Perform multiple moving average filtering on the peak envelope queue to obtain the maximum value queue;
根据最大值队列中的每个幅度数值,获得一组第一比较电平和第二比较电平;根据多组第一比较电平和第二比较电平获得比较电平队列;Obtain a set of first comparison levels and second comparison levels according to each amplitude value in the maximum value queue; obtain a comparison level queue according to multiple sets of first comparison levels and second comparison levels;
每隔第一预设时间输出更新的比较电平队列,在比较电平队列中选择与包络脉冲对应的比较电平,作为对包络脉冲进行脉冲整形步骤中的第一比较电平和第二比较电平。The updated comparison level queue is output every first preset time, and the comparison level corresponding to the envelope pulse is selected in the comparison level queue as the first comparison level and the second comparison level in the pulse shaping step of the envelope pulse Comparison level.
随着包络脉冲幅度变化,其相应的判决电平也要随着包络脉冲的最大值按预设比例跟踪变化,实现了在变化的输入信号情况下的判决。As the amplitude of the envelope pulse changes, the corresponding decision level will also follow the maximum value of the envelope pulse according to a preset ratio to track changes, realizing the decision in the case of a changing input signal.
具体的,包络脉冲幅度小于预设幅度阈值的持续时间超过一定预设时间时,上报告警信息。增加了故障告警功能,方便用户定位故障。Specifically, when the duration of the envelope pulse amplitude being less than the preset amplitude threshold exceeds a certain preset time, the alarm information is reported. The fault alarm function is added to facilitate users to locate faults.
根据本申请的各种实施例,还提供一种同步脉冲传输装置,所述装置包括:According to various embodiments of the present application, there is also provided a synchronization pulse transmission device, which includes:
包络检波模块,用于对调制信号检波获得包络脉冲;调制信号经由第一同步脉冲信号进行幅移键控调制获得;The envelope detection module is used to detect the modulation signal to obtain an envelope pulse; the modulation signal is obtained by amplitude shift keying modulation of the first synchronization pulse signal;
包络脉冲整形模块,用于对包络脉冲进行整形获得第二同步脉冲信号。The envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
根据本申请的各种实施例,还提供另一种同步脉冲传输装置,所述装置包括:According to various embodiments of the present application, another synchronization pulse transmission device is also provided, and the device includes:
同步脉冲提取模块,用于从通信射频信号中提取第一同步脉冲信号;The synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal;
调制模块,用于对第一同步脉冲信号进行幅移键控调制获得调制信号;The modulation module is used to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal;
调制信号被用于包络检波,获得包络脉冲,并对包络脉冲进行脉冲整形。The modulated signal is used for envelope detection to obtain envelope pulses and pulse-shape the envelope pulses.
根据本申请的各种实施例,还提供一种同步脉冲传输系统,所述系统包括:According to various embodiments of the present application, there is also provided a synchronization pulse transmission system, the system including:
同步脉冲提取模块,用于从通信射频信号中提取第一同步脉冲信号;The synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal;
调制模块,用于对第一同步脉冲信号进行幅移键控调制获得调制信号;The modulation module is used to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal;
包络检波模块,用于对调制信号包络检波获得包络脉冲;Envelope detection module, used for envelope detection of modulated signal to obtain envelope pulse;
包络脉冲整形模块,用于对包络脉冲进行整形获得第二同步脉冲信号。The envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
在其中一个实施例中,包络脉冲整形模块包括第一比较器、第二比较器和同步脉冲生成模块;In one of the embodiments, the envelope pulse shaping module includes a first comparator, a second comparator and a synchronization pulse generation module;
第一比较器用于根据第一比较电平判决包络脉冲,获得第一判决脉冲;The first comparator is used for judging the envelope pulse according to the first comparison level to obtain the first judgment pulse;
第二比较器用于根据第二比较电平判决包络脉冲,获得第二判决脉冲;The second comparator is used for judging the envelope pulse according to the second comparison level to obtain the second judgment pulse;
同步脉冲生成模块用于结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号。The synchronization pulse generation module is used to combine the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
在其中一个实施例中,第一比较器的两个输入端分别输入第一比较电平和包络脉冲,第二比较器的两个输入端分别输入第二比较电平和包络脉冲;第一比较器和第二比较器输出端接入到同步脉冲生成模块。In one of the embodiments, the two input terminals of the first comparator input the first comparison level and the envelope pulse respectively, and the two input terminals of the second comparator input the second comparison level and the envelope pulse respectively; The output terminals of the second comparator and the second comparator are connected to the synchronization pulse generation module.
在其中一个实施例中,两个比较器输出第一判决脉冲和第二判决脉冲,通过开漏输出的比较器输 出端上拉线与。In one of the embodiments, two comparators output the first decision pulse and the second decision pulse, and the output terminal of the comparator with an open-drain output is pulled up and connected.
具体的,线与输出端连接脉冲延时电路。Specifically, the line and the output terminal are connected to a pulse delay circuit.
进一步的,线与输出端连接D触发器。Further, the line and the output terminal are connected to a D flip-flop.
在其中一个实施例中,包络脉冲整形模块还包括控制模块;控制模块采集包络脉冲的数据,生成第一比较电平和第二比较电平。In one of the embodiments, the envelope pulse shaping module further includes a control module; the control module collects data of the envelope pulse to generate a first comparison level and a second comparison level.
在其中一个实施例中,控制模块用于读取包络脉冲幅度并存储于采样队列;确定采样队列中大于预设幅度阈值的包络脉冲幅度的连续区间,对连续区间内的包络脉冲幅度取平均值,作为峰值包络并存储至峰值包络队列;对峰值包络队列进行多次滑动平均滤波,得到最大值队列;根据最大值队列中的每个幅度数值,获得一组第一比较电平和第二比较电平;根据多组第一比较电平和第二比较电平获得比较电平队列;每隔第一预设时间输出更新的比较电平队列。In one of the embodiments, the control module is used to read the envelope pulse amplitude and store it in the sampling queue; determine the continuous interval of the envelope pulse amplitude greater than the preset amplitude threshold in the sampling queue, and determine the envelope pulse amplitude in the continuous interval. Take the average value as the peak envelope and store it in the peak envelope queue; perform multiple moving average filtering on the peak envelope queue to obtain the maximum value queue; obtain a set of first comparisons according to each amplitude value in the maximum value queue The level and the second comparison level; the comparison level queue is obtained according to multiple sets of the first comparison level and the second comparison level; and the updated comparison level queue is output every first preset time.
在其中一个实施例中,控制模块包括单片机,通过单片机内ADC读取包络脉冲幅度并存储于采样队列;每隔一段时间通过单片机内DAC输出更新的比较电平队列。In one of the embodiments, the control module includes a single-chip microcomputer, and the envelope pulse amplitude is read through the ADC in the single-chip microcomputer and stored in the sampling queue; and the updated comparison level queue is output through the DAC in the single-chip microcomputer at regular intervals.
使用单片机辅助跟踪调整两个比较电平,一方面实现了在变化的输入信号情况下的判决,另一方面也为系统增加了故障告警功能,方便用户定位故障。Using the single-chip microcomputer to assist in tracking and adjusting the two comparison levels, on the one hand, it realizes the judgment in the case of changing input signals, and on the other hand, it also adds a fault alarm function to the system, which is convenient for users to locate faults.
上述装置和系统涉及到无源器件、线性器件、简单的逻辑电路和低速MCU,相较于传统方式拥有极低的成本。The above-mentioned devices and systems involve passive devices, linear devices, simple logic circuits and low-speed MCUs, and have extremely low costs compared to traditional methods.
上述同步脉冲传输方法、装置和系统具有以下优点:The above synchronization pulse transmission method, device and system have the following advantages:
在同步脉冲发射端对第一同步脉冲信号进行幅移键控调制获得调制信号;在同步脉冲接收端对调制信号解调,解调的步骤包括包络检波和包络脉冲整形;解调后获得第二同步脉冲信号。采用幅移键控调制方式传输,使得同步脉冲在传输时延迟较低,不需要增加额外的延时电路,降低了系统的复杂度。Perform amplitude shift keying modulation on the first sync pulse signal at the sync pulse transmitter to obtain the modulated signal; demodulate the modulated signal at the sync pulse receiver. The steps of demodulation include envelope detection and envelope pulse shaping; obtained after demodulation The second sync pulse signal. The use of amplitude shift keying modulation mode transmission makes the synchronization pulse low in delay during transmission, no additional delay circuit is needed, and the complexity of the system is reduced.
附图说明Description of the drawings
为了更好地描述和说明这里公开的那些发明的实施例和/或示例,可以参考一幅或多幅附图。用于描述附图的附加细节或示例不应当被认为是对所公开的发明、目前描述的实施例和/或示例以及目前理解的这些发明的最佳模式中的任何一者的范围的限制。In order to better describe and illustrate the embodiments and/or examples of the inventions disclosed herein, one or more drawings may be referred to. The additional details or examples used to describe the drawings should not be considered as limiting the scope of any of the disclosed inventions, the currently described embodiments and/or examples, and the best mode of these inventions currently understood.
图1是本申请实施例的同步脉冲传输方法流程图。Fig. 1 is a flowchart of a synchronization pulse transmission method according to an embodiment of the present application.
图2是本申请实施例的包络脉冲整形的步骤示意图。Fig. 2 is a schematic diagram of the steps of envelope pulse shaping according to an embodiment of the present application.
图3是本申请实施例的判决获得第二同步脉冲信号的示意图。Fig. 3 is a schematic diagram of a judgment to obtain a second synchronization pulse signal according to an embodiment of the present application.
图4是本申请实施例的MCU工作流程图。Fig. 4 is a working flowchart of the MCU of an embodiment of the present application.
图5是本申请实施例的同步脉冲传输系统示意图。Fig. 5 is a schematic diagram of a synchronization pulse transmission system according to an embodiment of the present application.
图6是本申请实施例的包络检波模块示意图。Fig. 6 is a schematic diagram of an envelope detection module according to an embodiment of the present application.
图7是本申请实施例的包络脉冲整形模块示意图。Fig. 7 is a schematic diagram of an envelope pulse shaping module according to an embodiment of the present application.
图8是本申请实施例的有源天线室内信号覆盖系统示意图。Fig. 8 is a schematic diagram of an active antenna indoor signal coverage system according to an embodiment of the present application.
图9是本申请实施例的传输系统结构示意图。FIG. 9 is a schematic structural diagram of a transmission system according to an embodiment of the present application.
图10是本申请实施例的传输系统中信号波形变化示意图。FIG. 10 is a schematic diagram of signal waveform changes in the transmission system according to an embodiment of the present application.
图11是本申请实施例的有源天线端MCU工作流程图。FIG. 11 is a working flow chart of the active antenna side MCU of the embodiment of the present application.
图12是本申请实施例的双电平比较过程波形示意图。FIG. 12 is a schematic diagram of waveforms of a two-level comparison process in an embodiment of the present application.
具体实施方式Detailed ways
为了便于理解本申请,为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图对本申请的具体实施方式做详细的说明。在下面的描述中阐述了很多具体细节以便于充分理解本申请,附图中给出了本申请的较佳实施方式。但是,本申请可以以许多不同的形式来实现,并不限于本文所描述的实施方式。相反地,提供这些实施方式的目的是使对本申请的公开内容理解的更加透彻全面。本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似改进,因此本申请不受下面公开的具体实施例的限制。In order to facilitate the understanding of this application, and to make the above-mentioned objectives, features and advantages of this application more obvious and understandable, the specific embodiments of this application will be described in detail below with reference to the accompanying drawings. In the following description, many specific details are explained in order to fully understand the application, and the preferred embodiments of the application are shown in the accompanying drawings. However, this application can be implemented in many different forms and is not limited to the implementation described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of this application more thorough and comprehensive. This application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of this application. Therefore, this application is not limited by the specific embodiments disclosed below.
显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其他类似情景。此外,还可以理解的是,虽然这种开发过程中所作出的努力可能是复杂并且冗长的,然而对于与本申请公开的内容相关的本领域的普通技术人员而言,在本申请揭露的技术内容的基础上进行的一些设计,制造或者生产等变更只是常规的技术手段,不应当理解为本申请公开的内容不充分。Obviously, the drawings in the following description are only some examples or embodiments of the application. For those of ordinary skill in the art, without creative work, the application can also be applied to the application according to these drawings. Other similar scenarios. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for those of ordinary skill in the art related to the content disclosed in this application, the technology disclosed in this application Some design, manufacturing or production changes made on the basis of the content are just conventional technical means, and should not be construed as insufficient content disclosed in this application.
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域普通技术人员显式地和隐式地理解的是,本申请所描述的实施例在不冲突的情况下,可以与其它实施例相结合。The reference to "embodiments" in this application means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those of ordinary skill in the art clearly and implicitly understand that the embodiments described in this application can be combined with other embodiments without conflict.
除非另作定义,本申请所涉及的技术术语或者科学术语应当为本申请所属技术领域内具有一般技能的人士所理解的通常意义。本申请所涉及的“一”、“一个”、“一种”、“该”等类似词语并不表示数量限制,可表示单数或复数。本申请所涉及的术语“包括”、“包含”、“具有”以及它们任何变形,意图在于覆盖不排他的包含;例如包含了一系列步骤或模块(单元)的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可以还包括没有列出的步骤或单元,或可以还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。本申请所涉及的“连接”、“相连”、“耦接”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电气的连接,不管是直接的还是间接的。本申请所涉及的“多个”、“各个”、“不同”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。本申请所涉及的术语“第一”、“第二”等仅仅是区别类似的对象,不代表针对对象的特定排序。Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the usual meanings understood by those with general skills in the technical field to which this application belongs. The terms "a", "an", "one", "the" and other similar words involved in this application do not mean a quantity limit, and may mean a singular or plural number. The terms "include", "include", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or product that includes a series of steps or modules (units) The equipment is not limited to the listed steps or units, but may further include unlisted steps or units, or may further include other steps or units inherent to these processes, methods, products, or equipment. Similar words such as "connected", "connected", "coupled" and the like referred to in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality", "individual", and "different" mentioned in this application refer to two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships. For example, "A and/or B" can indicate that: A alone exists, both A and B exist, and B alone exists. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. The terms "first", "second", etc. involved in this application only distinguish similar objects, and do not represent a specific order for the objects.
在使用时分复用(TDD)制式的无线通信的系统中,上下行信号在同一频段分时传输。信号在同 一频率分时传输时,通信系统中的基带处理器或者同步控制器需要根据特殊子帧的内容判断即将传输的数据方向,并通过输出上下行同步脉冲信号,切换收发器的上下行链路。同步脉冲控制着整个收发信号链上器件的开关,决定着系统当前信号传输的方向。这些收发链路需要分时工作在上行或者下行状态,才能保证整个通信系统的正常运行。In a wireless communication system using time division multiplexing (TDD), the uplink and downlink signals are transmitted in the same frequency band in time division. When the signal is transmitted at the same frequency in time-sharing, the baseband processor or synchronization controller in the communication system needs to determine the direction of the data to be transmitted according to the content of the special subframe, and output the uplink and downlink synchronization pulse signal to switch the uplink and downlink of the transceiver road. The synchronization pulse controls the switches of the devices in the entire transceiver signal chain, and determines the current signal transmission direction of the system. These transceiver links need to work in the uplink or downlink state in time-sharing to ensure the normal operation of the entire communication system.
本申请的实施例提供了一种同步脉冲传输方法,图1是本申请实施例的同步脉冲传输方法的流程图,如图1所示,该流程包括以下步骤:The embodiment of the present application provides a synchronization pulse transmission method. FIG. 1 is a flowchart of the synchronization pulse transmission method according to an embodiment of the present application. As shown in FIG. 1, the process includes the following steps:
获取通信射频信号,从通信射频信号中提取第一同步脉冲信号;Acquire a communication radio frequency signal, and extract the first synchronization pulse signal from the communication radio frequency signal;
对第一同步脉冲信号进行幅移键控调制获得调制信号;Performing amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulated signal;
对调制信号进行包络检波,获得包络脉冲,并对包络脉冲进行脉冲整形。Envelope detection is performed on the modulated signal to obtain an envelope pulse, and pulse shaping is performed on the envelope pulse.
在同步脉冲发射端获取通信射频信号,从通信射频信号中提取第一同步脉冲信号;对第一同步脉冲信号进行幅移键控(ASK)调制获得调制信号的步骤包括:输入射频信号作为载波信号,使得载波信号的强度随着第一同步脉冲信号的高低电平变化而变化,获得调制信号。具体的,结合发射端和接收端之间的传输装置的工作频率以及通信系统的信号频点,选择载波频率。采用ASK调制方式传输,使得同步脉冲在传输时延迟较低,不需要增加额外的延时电路,降低了系统的复杂度。Obtain the communication radio frequency signal at the synchronization pulse transmitter, and extract the first synchronization pulse signal from the communication radio frequency signal; performing amplitude shift keying (ASK) modulation on the first synchronization pulse signal to obtain the modulated signal includes: inputting the radio frequency signal as the carrier signal , So that the strength of the carrier signal changes with the change of the high and low levels of the first synchronization pulse signal to obtain a modulated signal. Specifically, the carrier frequency is selected in combination with the operating frequency of the transmission device between the transmitting end and the receiving end and the signal frequency of the communication system. The ASK modulation method is adopted for transmission, so that the synchronization pulse has a lower delay during transmission, and no additional delay circuit is required, which reduces the complexity of the system.
在一个具体应用场景中,以网关和有源天线组成的室内覆盖系统,传输4G和5G信号,网关和有源天线之间使用射频馈线互联;射频馈线传输TDD同步脉冲,网关为发射端,有源天线为接收端,传输装置为射频馈线,根据射频馈线的工作频率、4G和5G信号频点,选择载波频率。该载波频率需要避开公网传输4G/5G信号的频段,以免产生干扰。In a specific application scenario, an indoor coverage system composed of a gateway and an active antenna transmits 4G and 5G signals. The gateway and the active antenna are interconnected by radio frequency feeders; the radio frequency feeder transmits TDD synchronization pulses, and the gateway is the transmitter. The source antenna is the receiving end, and the transmission device is a radio frequency feeder. The carrier frequency is selected according to the working frequency of the radio frequency feeder and the frequency of 4G and 5G signals. The carrier frequency needs to avoid the frequency band where the public network transmits 4G/5G signals to avoid interference.
在同步脉冲接收端对调制信号解调,解调的步骤包括:对调制信号进行包络检波,获得包络脉冲,并对包络脉冲进行脉冲整形。通过包络检波获得包络脉冲,获得包络脉冲的方式包括检波获得的幅度包络脉冲或者同步包络脉冲。The modulation signal is demodulated at the synchronization pulse receiving end, and the steps of demodulation include: performing envelope detection on the modulation signal, obtaining an envelope pulse, and performing pulse shaping on the envelope pulse. The envelope pulse is obtained by envelope detection, and the way to obtain the envelope pulse includes the amplitude envelope pulse obtained by the detection or the synchronization envelope pulse.
通过包络检波获得幅度包络脉冲,获得幅度包络脉冲可以采用二极管包络检波实现。二极管包络检波是一种异步的解调方式,其结构简单,可以获得更短的时延。The amplitude envelope pulse is obtained by envelope detection, and the amplitude envelope pulse can be obtained by diode envelope detection. Diode envelope detection is an asynchronous demodulation method with a simple structure and a shorter time delay can be obtained.
也可以通过包络检波获得同步包络脉冲,获得同步包络脉冲可以采用对数检波器来实现。在对幅度变化较大的调制信号提取包络时,可以采用对数检波器来实现;对数检波器放大特性为分段线性的对数放大,在每一线性增益级输出使用二极管检波提取包络,并将所有包络叠加形成所需对数响应的同步包络脉冲。The synchronous envelope pulse can also be obtained through envelope detection, and the synchronous envelope pulse can be obtained by using a logarithmic detector. When extracting the envelope of a modulation signal with a large amplitude change, a logarithmic detector can be used; the amplification characteristic of the logarithmic detector is a piecewise linear logarithmic amplification, and a diode detection is used to extract the packet at each linear gain stage output. And superimpose all the envelopes to form a synchronous envelope pulse with the required logarithmic response.
具体的,在获得包络脉冲信号后,对脉冲信号低通滤波,滤除高频杂波。Specifically, after the envelope pulse signal is obtained, the pulse signal is low-pass filtered to filter out high-frequency clutter.
具体的,在获得包络脉冲信号后,对包络脉冲放大。由于在发射端和接收端之间传输装置的线损和组网数量等因素的不确定性,进入检波的信号幅度会有一定的动态范围。考虑到输入信号幅度具有指数特性,为了获得一定的接收动态范围,使用具有对数特性的放大器,对包络脉冲放大,可以获得较为线性的输出。Specifically, after obtaining the envelope pulse signal, the envelope pulse is amplified. Due to the uncertainty of factors such as the line loss of the transmission device and the number of networking between the transmitting end and the receiving end, the amplitude of the signal entering the detection will have a certain dynamic range. Considering that the amplitude of the input signal has exponential characteristics, in order to obtain a certain receiving dynamic range, an amplifier with logarithmic characteristics is used to amplify the envelope pulse to obtain a more linear output.
具体的,在获得包络脉冲信号后,对脉冲信号低通滤波,进一步对包络脉冲放大。使用对数检波 和放大可以使得接收机拥有更大的动态范围,增加了组网的灵活性。Specifically, after the envelope pulse signal is obtained, the pulse signal is low-pass filtered, and the envelope pulse is further amplified. The use of logarithmic detection and amplification can make the receiver have a larger dynamic range and increase the flexibility of networking.
在同步脉冲接收端对调制信号解调,解调的步骤包括:对调制信号进行包络检波,获得包络脉冲,并对包络脉冲进行脉冲整形。由于检波获得的包络脉冲受到检波电路中电容的影响,其上升沿和下降沿有一定程度的变缓;上升沿在靠近低电平处上升较快;下降沿在靠近高电平处下降较快。为了更为精确地恢复同步脉冲,减小脉冲的时延,对包络脉冲整形。The modulation signal is demodulated at the synchronization pulse receiving end, and the steps of demodulation include: performing envelope detection on the modulation signal, obtaining an envelope pulse, and performing pulse shaping on the envelope pulse. Because the envelope pulse obtained by the detection is affected by the capacitance in the detection circuit, its rising and falling edges are slowed down to a certain extent; the rising edge rises faster near the low level; the falling edge falls more quickly near the high level. fast. In order to recover the synchronization pulse more accurately, reduce the time delay of the pulse, and shape the envelope pulse.
对包络脉冲进行脉冲整形的步骤包括:根据第一比较电平VL判决包络脉冲,获得第一判决脉冲,根据第二比较电平VH判决包络脉冲,获得第二判决脉冲,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号。The step of pulse shaping the envelope pulse includes: judging the envelope pulse according to the first comparison level VL, obtaining the first decision pulse, judging the envelope pulse according to the second comparison level VH, obtaining the second decision pulse, and combining the first decision pulse. The decision pulse and the second decision pulse obtain a second synchronization pulse signal.
在一个实施例中,如图2,对包络脉冲整形的步骤具体包括:In an embodiment, as shown in Fig. 2, the step of shaping the envelope pulse specifically includes:
根据第一比较电平VL判决包络脉冲,若包络脉冲小于第一比较电平VL,判决为低电平,若包络脉冲大于第一比较电平VL,判决为高电平;获得第一判决脉冲;The envelope pulse is judged according to the first comparison level VL. If the envelope pulse is less than the first comparison level VL, it is judged to be a low level; if the envelope pulse is greater than the first comparison level VL, it is judged to be a high level; A decision pulse;
根据第二比较电平VH判决包络脉冲,若包络脉冲小于第二比较电平VH,判决为高电平,若包络脉冲大于第二比较电平VH,判决为低电平;获得第二判决脉冲;The envelope pulse is judged according to the second comparison level VH. If the envelope pulse is less than the second comparison level VH, it is judged to be a high level; if the envelope pulse is greater than the second comparison level VH, it is judged to be a low level; Second decision pulse;
结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号。Combine the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
具体的,提取第一判决脉冲的高/低电平起点作为第二同步脉冲信号的其中一个电平起点,提取第二判决脉冲对应的周期的高/低电平起点作为第二同步脉冲信号的另一个电平起点,获得第二同步脉冲信号。Specifically, the high/low level starting point of the first decision pulse is extracted as one of the level starting points of the second synchronization pulse signal, and the high/low level starting point of the period corresponding to the second decision pulse is extracted as the second synchronization pulse signal Another level starting point, the second synchronization pulse signal is obtained.
在一个实施例中,对包络脉冲整形的步骤包括:In one embodiment, the step of shaping the envelope pulse includes:
假设VL<VH,使用第一比较电平VL正向对包络脉冲进行判决,包络脉冲小于第一比较电平VL时,判决为低电平;包络脉冲大于第一比较电平VL时,判决为高电平;判决完成后获得第一判决脉冲;Assuming VL<VH, use the first comparison level VL to judge the envelope pulse in the positive direction. When the envelope pulse is less than the first comparison level VL, it is judged to be a low level; when the envelope pulse is greater than the first comparison level VL , The judgment is high; the first judgment pulse is obtained after the judgment is completed;
使用第二比较电平VH反向对包络脉冲进行判决,包络脉冲小于第二比较电平VH时,判决为高电平;包络脉冲大于第二比较电平VH时,下判决为低电平;判决完成后获得第二判决脉冲。Use the second comparison level VH to reversely judge the envelope pulse. When the envelope pulse is less than the second comparison level VH, the decision is high; when the envelope pulse is greater than the second comparison level VH, the decision is low. Level; the second decision pulse is obtained after the decision is completed.
如图3,序号1-第一判决脉冲高电平起点;4-第一判决脉冲低电平起点;2-第二判决脉冲低电平起点;3-第二判决脉冲高电平起点。As shown in Fig. 3, the serial number 1-the high-level start of the first judgment pulse; 4-the low-level start of the first judgment pulse; 2- the low-level start of the second judgment pulse; 3- the high-level start of the second judgment pulse.
可采用“13”的组合:提取第一判决脉冲的高电平起点作为第二同步脉冲信号的高电平起点,提取第二判决脉冲对应的周期的高电平起点作为第二同步脉冲信号的低电平起点,获得第二同步脉冲信号。The combination of "13" can be used: extract the high-level starting point of the first decision pulse as the high-level starting point of the second synchronization pulse signal, and extract the high-level starting point of the period corresponding to the second decision pulse as the second synchronization pulse signal Starting at the low level, the second synchronization pulse signal is obtained.
或者采用“24”的组合,提取第一判决脉冲的低电平起点作为第二同步脉冲信号的低电平起点,提取第二判决脉冲对应的周期的低电平起点作为第二同步脉冲信号的高电平起点,获得第二同步脉冲信号。Or use the combination of "24" to extract the low-level starting point of the first decision pulse as the low-level starting point of the second synchronization pulse signal, and extract the low-level starting point of the period corresponding to the second decision pulse as the second synchronization pulse signal The high-level starting point, the second synchronization pulse signal is obtained.
上述实施例采用一种双电平比较方式,分别使用第一比较电平VL正向和第二比较电平VH反向对脉冲的上升沿和下降沿进行判决。双电平判决比较方法克服了积分效应对波形的影响,使得上升沿和下降沿的延时都能控制在较小程度,提高了系统的精度和可靠性。积分效应由输入电阻、负载电阻、负载电容三者形成,该效应会使得ASK信号在检波过程中上升沿和下降沿变得缓慢,从而增加检波的时延。The foregoing embodiment adopts a two-level comparison method, using the first comparison level VL in the forward direction and the second comparison level VH in the reverse direction to determine the rising edge and the falling edge of the pulse. The two-level decision comparison method overcomes the influence of the integral effect on the waveform, so that the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the system are improved. The integral effect is formed by input resistance, load resistance, and load capacitance. This effect will slow the rising and falling edges of the ASK signal during the detection process, thereby increasing the detection delay.
具体的,在获得包络脉冲信号后,经过双电平判决输出第一第二两个脉冲;两个脉冲通过上拉线与,获得两个上升沿短脉冲。线与之后的信号转变为两个短脉冲,两个短脉冲分别代表了之后恢复的第二同步脉冲上下边沿的位置。Specifically, after the envelope pulse signal is obtained, the first and the second two pulses are output through a two-level decision; the two pulses are ANDed through the pull-up line to obtain two short rising edge pulses. The signal after the line and is transformed into two short pulses. The two short pulses respectively represent the position of the upper and lower edges of the second synchronization pulse that is restored later.
具体的,将两个上升沿短脉冲分频为一个脉冲,即第二同步脉冲信号。这个同步脉冲的上下边沿拥有对于发射端同步脉冲极低的延迟。Specifically, the two rising edge short pulses are divided into one pulse, that is, the second synchronization pulse signal. The upper and lower edges of this sync pulse have a very low delay to the sync pulse at the transmitter.
更进一步的,获得两个上升沿短脉冲后,经过脉冲延时,对两个上升沿精确延时至下一周期,从而做到零延迟。Furthermore, after obtaining two short pulses with rising edges, after pulse delay, the two rising edges are accurately delayed to the next cycle, so as to achieve zero delay.
具体的,根据预设高低电平比例获得第一比较电平VL和第二比较电平VH;预设高低电平比例为第一比较电平VL和第二比较电平VH对应的脉冲幅度的比例。Specifically, the first comparison level VL and the second comparison level VH are obtained according to the preset high and low level ratio; the preset high and low level ratio is the ratio of the pulse amplitudes corresponding to the first comparison level VL and the second comparison level VH proportion.
在一个实施例中,与前述实施例的区别在于,使用控制模块辅助跟踪调整两个比较电平,使两个比较电平动态变化,实现在变化的输入信号情况下的判决。具体步骤包括:In one embodiment, the difference from the previous embodiment is that the control module is used to assist in tracking and adjusting the two comparison levels, so that the two comparison levels dynamically change, so as to realize the decision in the case of a changing input signal. The specific steps include:
系统开启后,控制模块读取脉冲包络幅度并存储于采样队列;After the system is turned on, the control module reads the pulse envelope amplitude and stores it in the sampling queue;
当包络脉冲幅度小于预设幅度阈值的持续时间超过第二预设时间时,上报告警信息;When the duration of the envelope pulse amplitude being less than the preset amplitude threshold exceeds the second preset time, report an alarm message;
确定采样队列中大于预设幅度阈值的包络脉冲幅度的连续区间,对连续区间内的包络脉冲幅度取平均值,作为峰值包络并存储至峰值包络队列;Determine the continuous interval of the envelope pulse amplitude greater than the preset amplitude threshold in the sampling queue, take the average of the envelope pulse amplitude in the continuous interval, as the peak envelope and store it in the peak envelope queue;
对峰值包络队列进行多次滑动平均滤波,得到最大值队列;Perform multiple moving average filtering on the peak envelope queue to obtain the maximum value queue;
根据最大值队列中的每个幅度数值,获得一组第一比较电平VL和第二比较电平VH;最终获得比较电平VL和VH队列;Obtain a set of first comparison level VL and second comparison level VH according to each amplitude value in the maximum value queue; finally obtain the comparison level VL and VH queue;
每隔第一预设时间输出更新的比较电平VL和VH队列,在比较电平队列中选择与包络脉冲对应的比较电平,作为对包络脉冲进行脉冲整形步骤中的第一比较电平和第二比较电平。The updated comparison level VL and VH queues are output every first preset time, and the comparison level corresponding to the envelope pulse is selected in the comparison level queue as the first comparison circuit in the pulse shaping step of the envelope pulse Harmonize the second comparison level.
根据第一比较电平VL判决包络脉冲获得第一判决脉冲,根据第二比较电平VH判决包络脉冲获得第二判决脉冲,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号。这样随着包络脉冲幅度变化,其相应的判决电平也要随着包络脉冲的最大值按预设比例跟踪变化。Determine the envelope pulse according to the first comparison level VL to obtain the first decision pulse, decide the envelope pulse according to the second comparison level VH to obtain the second decision pulse, combine the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal . In this way, as the amplitude of the envelope pulse changes, the corresponding decision level will also track and change in accordance with the preset ratio with the maximum value of the envelope pulse.
在一个具体的应用场景中,使用一个单片机(MCU)作为控制模块,在整个系统开启后,通过片内ADC读取脉冲包络幅度并存储于采样队列。当输入信号的幅度连续一定的预设时间小于预设阈值时,MCU会上报告警信息提示链路衰减过大或已断开。否则,通过对采样队列判断,大于预设阈值的数值将会在其连续区间内取平均值,作为峰值包络并存储至峰值包络队列。对峰值包络队列进行N次滑动平均滤波,得到最大值队列(脉冲包络的最大值);按预设高低电平比例获得比较电平VL和VH队列,并每M秒更新至片内DAC输出。MCU工作流程如图4所示。使用MCU辅助跟踪调整两个比较电平,一方面实现了在变化的输入信号情况下的判决,另一方面也为系统增加了故障告警功能,方便用户定位故障。In a specific application scenario, a single-chip microcomputer (MCU) is used as a control module. After the entire system is turned on, the pulse envelope amplitude is read through the on-chip ADC and stored in the sampling queue. When the amplitude of the input signal is less than the preset threshold continuously for a certain preset time, the MCU will report an alarm message indicating that the link is attenuated too much or has been disconnected. Otherwise, by judging the sampling queue, the value greater than the preset threshold will be averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue. Perform N-time moving average filtering on the peak envelope queue to obtain the maximum value queue (the maximum value of the pulse envelope); obtain the comparison level VL and VH queue according to the preset high and low level ratio, and update to the on-chip DAC every M seconds Output. The MCU workflow is shown in Figure 4. Using the MCU to assist in tracking and adjusting the two comparison levels, on the one hand, it realizes the judgment in the case of changing input signals. On the other hand, it also adds a fault alarm function to the system to facilitate users to locate faults.
在一个实施例中,提供了一种同步脉冲传输系统,如图5所示,该系统包括:In one embodiment, a synchronization pulse transmission system is provided. As shown in FIG. 5, the system includes:
同步脉冲提取模块,用于从通信射频信号中提取第一同步脉冲信号;The synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal;
调制模块,用于对第一同步脉冲信号进行幅移键控调制获得调制信号;The modulation module is used to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal;
包络检波模块,用于对调制信号检波获得包络脉冲;Envelope detection module, used to detect the modulated signal to obtain envelope pulse;
包络脉冲整形模块,用于对包络脉冲进行整形获得第二同步脉冲信号。The envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
调制模块用于对第一同步脉冲信号进行ASK调制获得调制信号:输入射频信号作为载波信号,使得载波信号的强度随着第一同步脉冲信号的高低电平变化而变化,获得调制信号。具体的,结合发射端和接收端之间的传输装置的工作频率以及通信系统的信号频点,选择载波频率。The modulation module is used to perform ASK modulation on the first synchronization pulse signal to obtain a modulation signal: input a radio frequency signal as a carrier signal, so that the strength of the carrier signal changes with the change of the high and low levels of the first synchronization pulse signal to obtain the modulation signal. Specifically, the carrier frequency is selected in combination with the operating frequency of the transmission device between the transmitting end and the receiving end and the signal frequency of the communication system.
调制模块包括射频振荡器和射频开关,将射频振荡器产生的射频信号通入射频开关进行调制,将第一同步脉冲信号输入射频开关控制端,使得输入载波信号的强度随着脉冲信号的高低电平变化即可获得ASK信号。为了使得接收电路解调时获得更为精确的上升下降沿信号,射频开关的开启和关闭时间需要尽可能的短。射频振荡器可使用频率合成器集成电路,也可使用LC谐振电路。The modulation module includes a radio frequency oscillator and a radio frequency switch. The radio frequency signal generated by the radio frequency oscillator is passed into the radio frequency switch for modulation, and the first synchronous pulse signal is input to the control terminal of the radio frequency switch, so that the strength of the input carrier signal increases with the level of the pulse signal. ASK signal can be obtained by level change. In order for the receiving circuit to obtain more accurate rising and falling edge signals during demodulation, the opening and closing time of the radio frequency switch needs to be as short as possible. The radio frequency oscillator can use a frequency synthesizer integrated circuit or an LC resonant circuit.
包络检波模块用于对调制信号检波获得包络脉冲。The envelope detection module is used to detect the modulated signal to obtain an envelope pulse.
包络检波模块采用幅度包络脉冲检波模式。获得幅度包络脉冲可以采用二极管包络检波实现,二极管包络检波是一种异步的解调方式,其结构简单,可以获得更短的时延。具体的一种实施方式,如图6所示,将输入的调制信号通过一个单向导通的二极管器件整流后,再输入一个积分特性电路就能获得低频包络信息。输入信号的一部分电流在正上升周期为电容充电,在负半周期通过负载电阻RL放电,形成包络。其中,并联电容C的阻抗小于二极管的阻抗,并联电容C远大于二极管的结电容。C和RL取值会影响放电速度,导致上升下降时间变缓。不同的载波频率和包络频率脉宽都会影响检波出来的脉冲上升下降时间,因此相关参数需要在电路调试过程中具体测试。The envelope detection module adopts amplitude envelope pulse detection mode. Obtaining the amplitude envelope pulse can be achieved by using diode envelope detection, which is an asynchronous demodulation method with a simple structure and a shorter time delay can be obtained. In a specific embodiment, as shown in FIG. 6, after rectifying the input modulated signal through a unidirectional diode device, and then inputting an integral characteristic circuit, the low-frequency envelope information can be obtained. Part of the current of the input signal charges the capacitor during the positive rising period and discharges through the load resistor RL during the negative half period to form an envelope. Among them, the impedance of the parallel capacitor C is smaller than the impedance of the diode, and the parallel capacitor C is much larger than the junction capacitance of the diode. The value of C and RL will affect the discharge speed, resulting in slower rise and fall times. Different carrier frequency and envelope frequency pulse width will affect the rise and fall time of the detected pulse, so the relevant parameters need to be tested in the circuit debugging process.
包络检波模块采用同步包络脉冲检波模式。获得同步包络脉冲可以采用对数检波器来实现。具体的一种实施方式,在对幅度变化较大的调制信号提取包络时,采用对数检波器来实现;对数检波器放大特性为分段线性的对数放大,在每一线性增益级输出使用二极管检波提取包络,并将所有包络叠加形成所需对数响应的同步包络脉冲。The envelope detection module adopts the synchronous envelope pulse detection mode. Obtaining the synchronous envelope pulse can be achieved by using a logarithmic detector. In a specific embodiment, when extracting the envelope of a modulation signal with a large amplitude change, a logarithmic detector is used to achieve; the amplification characteristic of the logarithmic detector is a piecewise linear logarithmic amplification, and in each linear gain stage The output uses diode detection to extract the envelope, and superimpose all envelopes to form a synchronous envelope pulse with the required logarithmic response.
具体的,在包络检波模块之后连接滤波器,对脉冲信号低通滤波,滤除高频杂波。Specifically, a filter is connected after the envelope detection module to low-pass filter the pulse signal to filter out high-frequency clutter.
具体的,在包络检波模块之后连接放大器,对包络脉冲放大。由于在发射端和接收端之间传输装置的线损和组网数量等因素的不确定性,进入检波的信号幅度会有一定的动态范围。考虑到输入信号幅度具有指数特性,为了获得一定的接收动态范围,使用具有对数特性的放大器,对包络脉冲放大,可以获得较为线性的输出。Specifically, an amplifier is connected after the envelope detection module to amplify the envelope pulse. Due to the uncertainty of factors such as the line loss of the transmission device and the number of networking between the transmitting end and the receiving end, the amplitude of the signal entering the detection will have a certain dynamic range. Considering that the amplitude of the input signal has exponential characteristics, in order to obtain a certain receiving dynamic range, an amplifier with logarithmic characteristics is used to amplify the envelope pulse to obtain a more linear output.
具体的,在包络检波模块之后连接滤波器和放大器,对脉冲信号低通滤波,进一步对包络脉冲放大。Specifically, the filter and amplifier are connected after the envelope detection module, the pulse signal is low-pass filtered, and the envelope pulse is further amplified.
包络脉冲整形模块用于对包络脉冲进行整形获得第二同步脉冲信号。The envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
由于检波获得的包络脉冲受到检波电路中电容的影响,其上升沿和下降沿有一定程度的变缓;上升沿在靠近低电平处上升较快;下降沿在靠近高电平处下降较快。为了更为精确地恢复同步脉冲,减小脉冲的时延,对包络脉冲整形。Because the envelope pulse obtained by the detection is affected by the capacitance in the detection circuit, its rising and falling edges are slowed down to a certain extent; the rising edge rises faster near the low level; the falling edge falls more quickly near the high level. fast. In order to recover the synchronization pulse more accurately, reduce the time delay of the pulse, and shape the envelope pulse.
在一个实施例中,包络脉冲整形模块包括第一比较器、第二比较器和同步脉冲生成模块;In one embodiment, the envelope pulse shaping module includes a first comparator, a second comparator and a synchronization pulse generation module;
第一比较器,用于根据第一比较电平判决包络脉冲,获得第一判决脉冲;The first comparator is used for judging the envelope pulse according to the first comparison level to obtain the first judgment pulse;
第二比较器,用于根据第二比较电平判决包络脉冲,获得第二判决脉冲;The second comparator is used for judging the envelope pulse according to the second comparison level to obtain the second judgment pulse;
同步脉冲生成模块,用于结合第一判决脉冲和第二判决脉冲,获得第二同步脉冲信号。The synchronization pulse generation module is used to combine the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
具体的,如图7,第一比较器的两个输入端分别输入第一比较电平VL和包络脉冲,第二比较器的两个输入端分别输入第二比较电平VH和包络脉冲;第一比较器和第二比较器输出端接入到同步脉冲生成模块,同步脉冲生成模块根据第一比较器和第二比较器的输出生成第二同步脉冲信号。Specifically, as shown in Fig. 7, the two input terminals of the first comparator respectively input the first comparison level VL and the envelope pulse, and the two input terminals of the second comparator respectively input the second comparison level VH and the envelope pulse. ; The output terminals of the first comparator and the second comparator are connected to the synchronization pulse generation module, and the synchronization pulse generation module generates the second synchronization pulse signal according to the output of the first comparator and the second comparator.
在一个实施例中,第一比较电平VL接入第一比较器的"-"输入端,包络脉冲接入第一比较器的"+"输入端;第二比较电平VH接入第二比较器的"+"输入端,包络脉冲接入第二比较器的"-"输入端;当"+"输入端电压高于"-"输入端时,电压比较器输出为高电平;当"+"输入端电压低于"-"输入端时,电压比较器输出为低电平。In one embodiment, the first comparison level VL is connected to the "-" input terminal of the first comparator, and the envelope pulse is connected to the "+" input terminal of the first comparator; the second comparison level VH is connected to the first comparator's "+" input terminal; The "+" input terminal of the second comparator, and the envelope pulse is connected to the "-" input terminal of the second comparator; when the voltage at the "+" input terminal is higher than the "-" input terminal, the voltage comparator output is high ; When the "+" input terminal voltage is lower than the "-" input terminal, the voltage comparator output is low.
具体的,比较器采用高速比较器。经过两个高速比较器,输出两个脉冲,通过开漏输出的比较器输出端上拉线与。线与之后的信号转变为两个短脉冲,两个短脉冲分别代表了之后恢复的同步脉冲上下边沿的位置。Specifically, the comparator adopts a high-speed comparator. After two high-speed comparators, two pulses are output, and the output terminal of the open-drain output comparator is pulled up and connected. The signal after the line is transformed into two short pulses. The two short pulses respectively represent the position of the upper and lower edges of the synchronized pulse to be restored later.
进一步的,将两个短脉冲通入脉冲延时电路,可以对这两个上升沿精确延时至下一周期,从而做到零延迟。Further, by passing two short pulses into the pulse delay circuit, the two rising edges can be accurately delayed to the next cycle, thereby achieving zero delay.
具体的,通过D触发器,将两个上升沿短脉冲分频为一个脉冲。这个脉冲就是最后需要的第二同步脉冲。这个同步脉冲的上下边沿拥有对于第一同步脉冲极低的延迟。Specifically, through the D flip-flop, the two rising edge short pulses are divided into one pulse. This pulse is the last required second synchronization pulse. The upper and lower edges of this sync pulse have a very low delay to the first sync pulse.
在一个实施例中,与前述实施例的区别在于,使用控制模块辅助跟踪调整两个比较电平,使两个比较电平动态变化,实现在变化的输入信号情况下的判决。In one embodiment, the difference from the previous embodiment is that the control module is used to assist in tracking and adjusting the two comparison levels, so that the two comparison levels dynamically change, so as to realize the decision in the case of a changing input signal.
包络脉冲整形模块包括第一比较器、第二比较器、同步脉冲生成模块和控制模块;The envelope pulse shaping module includes a first comparator, a second comparator, a synchronization pulse generation module and a control module;
控制模块采集包络脉冲的数据,生成第一比较电平VL和第二比较电平VH;The control module collects data of the envelope pulse, and generates a first comparison level VL and a second comparison level VH;
第一比较器根据第一比较电平VL判决包络脉冲,获得第一判决脉冲;The first comparator decides the envelope pulse according to the first comparison level VL, and obtains the first decision pulse;
第二比较器根据第二比较电平VH判决包络脉冲,获得第二判决脉冲;The second comparator decides the envelope pulse according to the second comparison level VH, and obtains the second decision pulse;
同步脉冲生成模块结合第一判决脉冲和第二判决脉冲,获得第二同步脉冲信号。The synchronization pulse generation module combines the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal.
对包络脉冲整形的具体步骤包括:The concrete steps of shaping the envelope pulse include:
系统开启后,控制模块读取脉冲包络幅度并存储于采样队列;After the system is turned on, the control module reads the pulse envelope amplitude and stores it in the sampling queue;
输入信号的幅度连续一定的预设时间小于预设幅度阈值,控制模块上报告警信息,提示链路衰减过大或已断开;The amplitude of the input signal is less than the preset amplitude threshold continuously for a certain preset time, and an alarm information is reported on the control module, indicating that the link is attenuated too much or has been disconnected;
对采样队列进行判断,大于预设幅度阈值的数值在其连续区间内取平均值,作为峰值包络并存储至峰值包络队列;The sampling queue is judged, and the values greater than the preset amplitude threshold are averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue;
对峰值包络队列进行多次滑动平均滤波,得到最大值队列;Perform multiple moving average filtering on the peak envelope queue to obtain the maximum value queue;
根据最大值队列中的每个幅度数值,获得一组第一比较电平VL和第二比较电平VH;最终获得比较电平VL和VH队列;Obtain a set of first comparison level VL and second comparison level VH according to each amplitude value in the maximum value queue; finally obtain the comparison level VL and VH queue;
每隔一段时间将更新的比较电平VL和VH队列输出;The updated comparison level VL and VH queue output at regular intervals;
根据第一比较电平VL判决包络脉冲获得第一判决脉冲,根据第二比较电平VH判决包络脉冲获得第二判决脉冲,结合第一判决脉冲和第二判决脉冲获得第二同步脉冲信号。这样随着包络脉冲幅度变化,其相应的判决电平也要随着包络脉冲的最大值按预设比例跟踪变化。Determine the envelope pulse according to the first comparison level VL to obtain the first decision pulse, decide the envelope pulse according to the second comparison level VH to obtain the second decision pulse, combine the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal . In this way, as the amplitude of the envelope pulse changes, the corresponding decision level will also track and change in accordance with the preset ratio with the maximum value of the envelope pulse.
在一个具体的应用场景中,使用一个单片机(MCU)作为控制模块,在整个系统开启后,通过片内ADC读取脉冲包络幅度并存储于采样队列。当输入信号的幅度连续一定的预设时间小于预设阈值时,MCU会上报告警信息提示链路衰减过大或已断开。否则,通过对采样队列判断,大于预设阈值的数值将会在其连续区间内取平均值,作为峰值包络并存储至峰值包络队列。对峰值包络队列进行N次滑动平均滤波,得到最大值队列(脉冲包络的最大值);按预设高低电平比例获得比较电平VL和VH队列,并每M秒更新至片内DAC输出。In a specific application scenario, a single-chip microcomputer (MCU) is used as a control module. After the entire system is turned on, the pulse envelope amplitude is read through the on-chip ADC and stored in the sampling queue. When the amplitude of the input signal is less than the preset threshold continuously for a certain preset time, the MCU will report an alarm message indicating that the link is attenuated too much or has been disconnected. Otherwise, by judging the sampling queue, the value greater than the preset threshold will be averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue. Perform N-time moving average filtering on the peak envelope queue to obtain the maximum value queue (the maximum value of the pulse envelope); obtain the comparison level VL and VH queue according to the preset high and low level ratio, and update to the on-chip DAC every M seconds Output.
上述实施例采用一种双电平比较方式,分别使用第一比较电平VL正向和第二比较电平VH反向对脉冲的上升沿和下降沿进行判决。双电平判决比较方法克服了积分效应对波形的影响,使得上升沿和下降沿的延时都能控制在较小程度,提高了系统的精度和可靠性。本系统包括无源器件、线性器件、简单的逻辑电路和低速MCU,相较于传统方式拥有极低的成本。The foregoing embodiment adopts a two-level comparison method, using the first comparison level VL in the forward direction and the second comparison level VH in the reverse direction to determine the rising edge and the falling edge of the pulse. The two-level decision comparison method overcomes the influence of the integral effect on the waveform, so that the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the system are improved. This system includes passive devices, linear devices, simple logic circuits and low-speed MCUs, and has a very low cost compared to traditional methods.
为了更详细的说明本申请的实施方式,如下提供一个具体的应用举例:In order to explain the implementation of this application in more detail, a specific application example is provided as follows:
在一种有源天线室内信号覆盖系统中,其结构如图8所示,包括一个网关和若干天线。微小基站(例如Picocell、Smallcell)等无线覆盖设备通过射频馈线连接至网关,再由网关功分后,再分别使用射频馈线连接至有源天线。若干有源天线以网关为中心,星形分布。网关通过直流耦合的射频线缆为有源天线供电。In an active antenna indoor signal coverage system, its structure is shown in Figure 8, including a gateway and several antennas. Micro base stations (such as Picocell, Smallcell) and other wireless coverage devices are connected to the gateway through the radio frequency feeder, and after the power is divided by the gateway, the radio frequency feeder is used to connect to the active antenna. Several active antennas are distributed in a star shape with the gateway as the center. The gateway supplies power to the active antenna through a DC-coupled radio frequency cable.
网关内部包括电源模块、直流耦合模块、同步ASK信号耦合模块、同步脉冲提取模块和同步脉冲发射模块。其中,同步脉冲提取模块会通过使用收发器和FPGA等器件,对输入射频信号分析,并将同步脉冲信号输出给同步脉冲发射模块。同步脉冲发射模块会将同步脉冲调制后发射,并将带有同步脉冲信息的ASK信号送入同步信号耦合模块。The gateway includes a power supply module, a DC coupling module, a synchronous ASK signal coupling module, a synchronous pulse extraction module, and a synchronous pulse transmitter module. Among them, the synchronization pulse extraction module will analyze the input radio frequency signal by using devices such as transceivers and FPGAs, and output the synchronization pulse signal to the synchronization pulse transmission module. The synchronization pulse transmitter module modulates the synchronization pulse and transmits it, and sends the ASK signal with the synchronization pulse information to the synchronization signal coupling module.
有源天线内部包括电源模块、直流耦合模块、低噪声放大器LNA模块、功率放大器PA模块,同步脉冲接收模块和同步ASK信号耦合模块。同步信号ASK耦合模块将带有同步脉冲信息的ASK信号送入同步脉冲接收模块后,接收模块将解调出同步脉冲。该脉冲输出至LNA和PA模块用于控制上下行链路。The active antenna includes a power supply module, a DC coupling module, a low noise amplifier LNA module, a power amplifier PA module, a synchronous pulse receiving module and a synchronous ASK signal coupling module. After the synchronization signal ASK coupling module sends the ASK signal with the synchronization pulse information to the synchronization pulse receiving module, the receiving module will demodulate the synchronization pulse. The pulse is output to the LNA and PA modules for controlling the uplink and downlink.
通常,在使用TDD工作方式的4G和5G的通信设备中,TDD同步信号可以通过光纤等介质,包含在例如通用公共无线接口(CPRI)等协议之中,使得AU和RU的收发系统能够同步工作。这种传输方式需要复杂的编码,并且需要使用现场可编程逻辑门阵列(FPGA)、串行收发器(Serdes)等昂贵器件去解析出TDD同步脉冲信号。同时,在传输信号的过程中,需要另外使用光电复合缆为RU供电。尤其对于5G信号而言,由于其频率高,带宽大,功放在严苛的功耗和线性要求下降低了发射功率,同时其高频率使得信号在传播中衰落较大,需要增加更多的有源天线;这使得光电复合线缆用量增多,造成成本的显著上升。Generally, in 4G and 5G communication devices using TDD working mode, TDD synchronization signals can be included in protocols such as Common Public Radio Interface (CPRI) through media such as optical fibers, so that the transceiver systems of AU and RU can work synchronously . This transmission method requires complex coding, and requires expensive devices such as Field Programmable Logic Gate Array (FPGA) and Serial Transceiver (Serdes) to resolve the TDD synchronization pulse signal. At the same time, in the process of signal transmission, an additional photoelectric composite cable needs to be used to power the RU. Especially for the 5G signal, due to its high frequency and large bandwidth, the power amplifier reduces the transmission power under strict power consumption and linearity requirements. At the same time, its high frequency makes the signal fading in the propagation larger, and it is necessary to add more devices. Source antenna; this increases the amount of photoelectric composite cables, resulting in a significant increase in cost.
本实施例提出的射频馈线传输TDD同步脉冲的方式,能够使得以网关和有源天线组成的室内覆 盖系统仅使用射频馈线互联。馈线可以传输射频信号、电源和同步脉冲ASK信号,这样使得成本大大降低。The method of transmitting TDD synchronization pulses on the radio frequency feeder proposed in this embodiment can enable the indoor coverage system composed of a gateway and an active antenna to only use the radio frequency feeder interconnection. The feeder can transmit radio frequency signal, power supply and synchronous pulse ASK signal, which greatly reduces the cost.
同步脉冲控制着整个收发信号链上器件的开关,决定着系统当前信号传输的方向。因此其需要有较低的延迟和抖动。根据3GPP文件要求,对于5G的TDD系统,上下行切换需要小于10μs的时间。意味着对于整个系统,同步脉冲的抖动,延迟都必须小于10μs。The synchronization pulse controls the switches of the devices in the entire transceiver signal chain, and determines the current signal transmission direction of the system. Therefore, it needs to have lower delay and jitter. According to the requirements of 3GPP documents, for the 5G TDD system, it takes less than 10 μs to switch between uplink and downlink. This means that for the entire system, the jitter and delay of the synchronization pulse must be less than 10μs.
本实施例采用一种基于幅度调制解调的传输方式,在发射端使用2-ASK调制,将同步脉冲信号搬移至较高频率以通过射频馈线功分器等射频器件。在接收端使用幅度检波提取包络脉冲,再经过低通滤波电路,对数放大电路,判决电路和脉冲延时电路,将开关信号精确还原。传输系统结构如图9所示,传输系统中信号波形的变化如图10所示。基于射频线缆馈线传输的,低成本,低功耗,结构简单,性能稳定的TDD同步脉冲ASK调制传输方法,解决了TDD同步脉冲传输系统的高成本和结构复杂的缺点。This embodiment adopts a transmission method based on amplitude modulation and demodulation, and uses 2-ASK modulation at the transmitting end to move the synchronization pulse signal to a higher frequency to pass through radio frequency devices such as radio frequency feeder power dividers. At the receiving end, amplitude detection is used to extract the envelope pulse, and then through a low-pass filter circuit, a logarithmic amplifier circuit, a decision circuit and a pulse delay circuit, the switching signal is accurately restored. The structure of the transmission system is shown in Figure 9, and the change of the signal waveform in the transmission system is shown in Figure 10. Based on radio frequency cable feeder transmission, low cost, low power consumption, simple structure, and stable performance TDD synchronous pulse ASK modulation transmission method solves the shortcomings of high cost and complex structure of the TDD synchronous pulse transmission system.
发射部分,使用2-ASK调制。由网关端内部的同步脉冲提取模块对Smallcell或者Picocell的射频输出信号解析,获得TDD上下行同步脉冲信号。同步脉冲提取模块由FPGA和高速ADC组成。ADC采样4G或者5G信号,输出数字信号由FPGA解析同步。同步脉冲发射模块会将同步脉冲调制后发射,将射频振荡器产生的射频信号通入一个射频开关进行调制。调制时将TDD上下行同步脉冲信号输入射频开关控制端,使得输入载波信号的强度随着脉冲信号的高低电平变化即可获得简单的ASK信号。为了使得接收电路解调时获得更为精确的上升下降沿信号,调制的开关的开启和关闭时间需要尽可能的短。在本应用中可以根据射频馈线和功分器的工作频率,4G和5G信号频点,选择载波频率。该载波频率需要避开公网传输4G/5G信号的频段,以免产生干扰。考虑到接收端使用幅度检波方式提取脉冲,载波频率的相噪、抖动、频率稳定度等指标不需要很高。射频振荡器可使用频率合成器集成电路,也可使用LC谐振电路。The transmitting part uses 2-ASK modulation. The synchronization pulse extraction module inside the gateway analyzes the RF output signal of the Smallcell or Picocell to obtain the TDD uplink and downlink synchronization pulse signal. The synchronous pulse extraction module is composed of FPGA and high-speed ADC. ADC samples 4G or 5G signals, and the output digital signal is analyzed and synchronized by FPGA. The synchronization pulse transmitter module modulates the synchronization pulse and transmits it, and sends the radio frequency signal generated by the radio frequency oscillator to a radio frequency switch for modulation. During modulation, the TDD uplink and downlink synchronization pulse signal is input to the radio frequency switch control terminal, so that the strength of the input carrier signal changes with the high and low levels of the pulse signal to obtain a simple ASK signal. In order for the receiving circuit to obtain more accurate rising and falling edge signals during demodulation, the opening and closing time of the modulated switch needs to be as short as possible. In this application, the carrier frequency can be selected according to the working frequency of the RF feeder and power divider, 4G and 5G signal frequency. The carrier frequency needs to avoid the frequency band where the public network transmits 4G/5G signals to avoid interference. Considering that the receiving end uses the amplitude detection method to extract the pulse, the phase noise, jitter, frequency stability and other indicators of the carrier frequency do not need to be very high. The radio frequency oscillator can use a frequency synthesizer integrated circuit or an LC resonant circuit.
在对ASK信号检波之前对ASK信号进行滤波,滤除公网4G/5G频段,防止公网信号干扰检波过程。另外,在针对较小信号时增加增益器件以获得更大的包络检波范围。Filter the ASK signal before detecting the ASK signal to filter out the 4G/5G frequency band of the public network to prevent the public network signal from interfering with the detection process. In addition, when targeting smaller signals, increase the gain device to obtain a larger envelope detection range.
同步脉冲接收模块解调出同步脉冲。对ASK信号检波获得幅度包络脉冲,采用二极管包络检波实现。二极管包络检波是一种异步的解调方式,而且由于其结构简单,可以获得更短的时延。The synchronization pulse receiving module demodulates the synchronization pulse. The amplitude envelope pulse is obtained by detecting the ASK signal, which is realized by the diode envelope detection. Diode envelope detection is an asynchronous demodulation method, and because of its simple structure, a shorter time delay can be obtained.
将输入的ASK信号通过一个单向导通的二极管器件整流后,再输入一个积分特性电路就能获得低频包络信息。输入信号的一部分电流在正上升周期为电容充电,在负半周期通过负载电阻RL放电,形成包络。其中,并联电容C的阻抗应小于二极管的阻抗,因此并联电容C远大于二极管的结电容。C和RL取值会影响放电速度,导致上升下降时间变缓。不同的载波频率和包络频率脉宽都会影响检波出来的脉冲上升下降时间,因此需要在电路调试过程中具体测试。After rectifying the input ASK signal through a unidirectional diode device, and then inputting an integral characteristic circuit, the low-frequency envelope information can be obtained. Part of the current of the input signal charges the capacitor during the positive rising period and discharges through the load resistor RL during the negative half period to form an envelope. Among them, the impedance of the parallel capacitor C should be less than the impedance of the diode, so the parallel capacitor C is much larger than the junction capacitance of the diode. The value of C and RL will affect the discharge speed, resulting in slower rise and fall times. Different carrier frequency and envelope frequency pulse width will affect the rise and fall time of the detected pulse, so it needs to be tested in the circuit debugging process.
在获得包络脉冲信号后,对脉冲信号低通滤波,滤除高频杂波。由于在网关和有源天线之间线损和组网数量等因素的不确定性,进入检波的信号幅度会有一定的动态范围。考虑到输入信号幅度具有指数特性,为了获得一定的接收动态范围,使用具有对数特性的放大器,对包络脉冲放大。这样就可以获得较为线性的输出。After the envelope pulse signal is obtained, the pulse signal is low-pass filtered to filter out high-frequency clutter. Due to the uncertainty of factors such as the line loss and the number of networking between the gateway and the active antenna, the amplitude of the signal entering the detection will have a certain dynamic range. Considering that the amplitude of the input signal has exponential characteristics, in order to obtain a certain receiving dynamic range, an amplifier with logarithmic characteristics is used to amplify the envelope pulse. In this way, a more linear output can be obtained.
在对幅度变化较大的同步脉冲ASK信号提取包络时,也可以采用对数检波器来实现。对数检波 器放大特性为分段线性的对数放大,在每一线线性增益级输出使用二极管检波提取包络,并将所有包络叠加形成所需对数响应的同步包络脉冲。A logarithmic detector can also be used to extract the envelope of the synchronous pulse ASK signal with a large amplitude change. The amplifying characteristic of the logarithmic detector is piecewise linear logarithmic amplification. In each linear gain stage output, diode detection is used to extract the envelope, and all the envelopes are superimposed to form a synchronous envelope pulse with the required logarithmic response.
经过检波后,使用高速比较器对包络脉冲整形。由于检波获得的包络脉冲受到检波电路中电容的影响,其上升沿和下降沿有一定程度的变缓。上升沿在靠近低电平处上升较快;下降沿在靠近高电平处下降较快。为了更为精确地恢复脉冲,减小脉冲的时延,采用一种双电平比较方式,分别使用低电平VL正向和高电平VH反向对脉冲的上升沿和下降沿进行判决。After detection, a high-speed comparator is used to shape the envelope pulse. Since the envelope pulse obtained by the detection is affected by the capacitance in the detection circuit, its rising and falling edges are slowed to a certain extent. The rising edge rises faster near the low level; the falling edge falls faster near the high level. In order to recover the pulse more accurately and reduce the time delay of the pulse, a two-level comparison method is adopted, using the low-level VL forward and high-level VH reverse to judge the rising and falling edges of the pulse.
由于经过对数放大的包络脉冲幅度变化,其相应的判决电平也要随着包络脉冲的最大值按预设比例跟踪变化。本实施例使用一个单片机(MCU)在整个系统开启后,通过片内ADC读取同步脉冲包络并存储于采样队列。当输入信号的幅度连续一定的预设时间小于预设阈值时,MCU会上报告警信息提示链路衰减过大或已断开。通过对采样队列判断,大于预设阈值的数值将会在其连续区间内取平均值,作为峰值包络并存储至峰值包络队列。对峰值包络队列进行10次滑动平均滤波,得到最大值队列(对于输入波形来讲是其最大值,这里为了方便叫它最大值队列,就是同步脉冲包络的最大值)。As the amplitude of the envelope pulse after logarithmic amplification changes, its corresponding decision level will also follow the change in a preset proportion with the maximum value of the envelope pulse. In this embodiment, a single-chip microcomputer (MCU) is used to read the synchronization pulse envelope through the on-chip ADC after the entire system is turned on and store it in the sampling queue. When the amplitude of the input signal is less than the preset threshold continuously for a certain preset time, the MCU will report an alarm message indicating that the link is attenuated too much or has been disconnected. By judging the sampling queue, the values greater than the preset threshold will be averaged in its continuous interval, as the peak envelope and stored in the peak envelope queue. Perform 10 moving average filtering on the peak envelope queue to obtain the maximum value queue (for the input waveform, it is the maximum value, which is called the maximum value queue here for convenience, which is the maximum value of the sync pulse envelope).
按预设高低电平比例获得比较电平VL和VH队列,并每10s更新至片内DAC输出;比如预设比较电平VL和VH分别为脉冲高低电平差的1/5和4/5,则根据不同的脉冲高低电平差,可以得到不同的预设比较电平VL和VH。对最大值队列的数据按照预先设定的高电平和低电平比例,计算出高比较电平VH和低比较电平VL。本实施例中,10次滑动平均滤波已经能过滤掉很多的噪声和干扰,过多占用系统资源,过少影响判决的稳定性。每10s更新至片内DAC输出,更新太快会浪费系统资源,增加功耗,更新太慢会导致跟不上幅度的变化。MCU工作流程如图11所示。Obtain the comparison level VL and VH queue according to the preset high and low level ratio, and update to the on-chip DAC output every 10s; for example, the preset comparison level VL and VH are respectively 1/5 and 4/5 of the pulse high and low level difference , According to different pulse high and low levels, different preset comparison levels VL and VH can be obtained. For the data of the maximum value queue, the high comparison level VH and the low comparison level VL are calculated according to the preset ratio of high level and low level. In this embodiment, 10 times of moving average filtering can already filter out a lot of noise and interference, occupying too much system resources, and too little affects the stability of the decision. Update to the on-chip DAC output every 10s. Too fast an update will waste system resources and increase power consumption. If an update is too slow, it will cause the change to fail to keep up. The MCU workflow is shown in Figure 11.
经过判决后的一正一反两个脉冲,通过开漏输出的比较器输出端上拉线与。线与之后的信号转变为两个短脉冲,将两个短脉冲分别代表了之后恢复的同步脉冲上下边沿的位置。此时,通入脉冲延时电路,可以对这两个上升沿精确延时至下一周期,从而做到零延迟。After the judgment, the two pulses, one positive and one negative, are pulled up and connected through the open-drain output of the comparator. The signal after the line and is transformed into two short pulses, and the two short pulses respectively represent the position of the upper and lower edges of the synchronized pulse that is restored later. At this time, through the pulse delay circuit, these two rising edges can be accurately delayed to the next cycle, so as to achieve zero delay.
通过D触发器,将两个上升沿短脉冲分频为一个脉冲。这个脉冲就是最后需要的同步脉冲。这个同步脉冲的上下边沿拥有对于网关端同步脉冲极低的延迟。模拟信号的传输没有数传芯片同步的过程,保证了脉冲边沿拥有较低的抖动。图12展示了双电平比较时信号的具体变化。Through the D flip-flop, the two rising edge short pulses are divided into one pulse. This pulse is the last required synchronization pulse. The upper and lower edges of this sync pulse have extremely low delays to the sync pulse on the gateway side. The analog signal transmission does not have the process of digital chip synchronization, which ensures that the pulse edge has low jitter. Figure 12 shows the specific changes in the signal during a two-level comparison.
本系统包括无源器件、线性器件、简单的逻辑电路和低速MCU,相较于传统方式拥有极低的成本。采用ASK调制方式传输,使得同步脉冲在传输时延迟较低,不需要增加额外的延时电路,降低了系统的复杂度。使用对数检波和放大可以使得接收机拥有更大的动态范围,增加了组网的灵活性。双电平判决比较方法克服了积分效应对波形的影响,使得上升沿和下降沿的延时都能控制在较小程度,提高了系统的精度和可靠性。使用MCU辅助跟踪调整两个比较电平,一方面实现了在变化的输入信号情况下的判决,另一方面也为系统增加了故障告警功能,方便用户定位故障。以上特性,使得本系统非常适合用于在射频馈线中传输TDD同步脉冲信号。This system includes passive devices, linear devices, simple logic circuits and low-speed MCUs, and has a very low cost compared to traditional methods. The ASK modulation method is adopted for transmission, so that the synchronization pulse has a lower delay during transmission, and no additional delay circuit is required, which reduces the complexity of the system. The use of logarithmic detection and amplification can make the receiver have a larger dynamic range and increase the flexibility of networking. The two-level decision comparison method overcomes the influence of the integral effect on the waveform, so that the delay of the rising edge and the falling edge can be controlled to a small extent, and the accuracy and reliability of the system are improved. Using the MCU to assist in tracking and adjusting the two comparison levels, on the one hand, it realizes the judgment in the case of changing input signals. On the other hand, it also adds a fault alarm function to the system to facilitate users to locate faults. The above characteristics make this system very suitable for transmitting TDD sync pulse signals in radio frequency feeders.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (26)

  1. 一种同步脉冲传输方法,其特征在于,所述方法包括以下步骤:A synchronization pulse transmission method, characterized in that the method includes the following steps:
    接收发射端传输的调制信号,所述调制信号是所述发射端对第一同步脉冲信号进行幅移键控调制获得的,所述第一同步脉冲信号是所述发射端从通信射频信号中提取的;Receive the modulated signal transmitted by the transmitting end, the modulated signal is obtained by the transmitting end performing amplitude shift keying modulation on the first synchronization pulse signal, and the first synchronization pulse signal is extracted by the transmitting end from the communication radio frequency signal of;
    对所述调制信号进行包络检波,获得包络脉冲,并对所述包络脉冲进行脉冲整形。Envelope detection is performed on the modulation signal to obtain an envelope pulse, and pulse shaping is performed on the envelope pulse.
  2. 根据权利要求1所述的方法,其特征在于,所述对所述包络脉冲进行脉冲整形的步骤包括:The method according to claim 1, wherein the step of pulse shaping the envelope pulse comprises:
    根据第一比较电平判决所述包络脉冲,获得第一判决脉冲,根据第二比较电平判决所述包络脉冲,获得第二判决脉冲,结合所述第一判决脉冲和所述第二判决脉冲获得第二同步脉冲信号,其中,所述第一比较电平小于所述第二比较电平。The envelope pulse is judged according to the first comparison level to obtain the first decision pulse, the envelope pulse is judged according to the second comparison level, and the second decision pulse is obtained, combining the first decision pulse and the second decision pulse The decision pulse obtains a second synchronization pulse signal, wherein the first comparison level is less than the second comparison level.
  3. 根据权利要求2所述的方法,其特征在于,所述根据第一比较电平判决所述包络脉冲,获得第一判决脉冲,根据第二比较电平判决所述包络脉冲,获得第二判决脉冲的步骤包括:The method according to claim 2, characterized in that the said envelope pulse is judged according to a first comparison level to obtain a first decision pulse, and the envelope pulse is judged according to a second comparison level to obtain a second The steps to determine the pulse include:
    根据所述第一比较电平判决所述包络脉冲,若所述包络脉冲小于所述第一比较电平,判决为低电平,若所述包络脉冲大于所述第一比较电平,判决为高电平;根据判决结果获得所述第一判决脉冲;The envelope pulse is judged according to the first comparison level, if the envelope pulse is less than the first comparison level, it is judged as a low level, and if the envelope pulse is greater than the first comparison level , The judgment is high; the first judgment pulse is obtained according to the judgment result;
    根据所述第二比较电平判决所述包络脉冲,若所述包络脉冲小于所述第二比较电平,判决为高电平,若所述包络脉冲大于所述第二比较电平,判决为低电平;根据判决结果获得所述第二判决脉冲。The envelope pulse is judged according to the second comparison level, if the envelope pulse is less than the second comparison level, it is judged to be a high level, and if the envelope pulse is greater than the second comparison level , The judgment is low level; the second judgment pulse is obtained according to the judgment result.
  4. 根据权利要求2所述的方法,其特征在于,所述结合所述第一判决脉冲和所述第二判决脉冲获得第二同步脉冲信号的步骤包括:The method according to claim 2, wherein the step of combining the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal comprises:
    提取所述第一判决脉冲的高电平起点作为所述第二同步脉冲信号的高电平起点,提取所述第二判决脉冲对应的周期的高电平起点作为所述第二同步脉冲信号的低电平起点,获得所述第二同步脉冲信号。The high-level starting point of the first decision pulse is extracted as the high-level starting point of the second synchronization pulse signal, and the high-level starting point of the period corresponding to the second decision pulse is extracted as the second synchronization pulse signal Starting at a low level, the second synchronization pulse signal is obtained.
  5. 根据权利要求2所述的方法,其特征在于,所述结合所述第一判决脉冲和第二判决脉冲获得第二同步脉冲信号的步骤包括:The method according to claim 2, wherein the step of combining the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal comprises:
    提取所述第一判决脉冲的低电平起点作为所述第二同步脉冲信号的低电平起点,提取所述第二判决脉冲对应的周期的低电平起点作为所述第二同步脉冲信号的高电平起点,获得所述第二同步脉冲信号。Extract the low-level starting point of the first decision pulse as the low-level starting point of the second synchronization pulse signal, and extract the low-level starting point of the period corresponding to the second decision pulse as the low-level starting point of the second synchronization pulse signal The high-level start point obtains the second synchronization pulse signal.
  6. 根据权利要求2所述的方法,其特征在于,所述结合所述第一判决脉冲和第二判决脉冲获得第二同步脉冲信号的步骤包括:The method according to claim 2, wherein the step of combining the first decision pulse and the second decision pulse to obtain a second synchronization pulse signal comprises:
    对所述第一判决脉冲和所述第二判决脉冲上拉线与,获得两个短脉冲,选择两个短脉冲的上升沿位置分别为所述第二同步脉冲上下边沿的位置。Pull up the AND on the first decision pulse and the second decision pulse to obtain two short pulses, and select the rising edge positions of the two short pulses to be the positions of the upper and lower edges of the second synchronization pulse, respectively.
  7. 根据权利要求6所述的方法,其特征在于,所述获得两个短脉冲的步骤之后,还包括:经过脉冲延时,将两个短脉冲的上升沿延时至下一周期。The method according to claim 6, characterized in that, after the step of obtaining two short pulses, it further comprises: delaying the rising edge of the two short pulses to the next cycle after a pulse delay.
  8. 根据权利要求6所述的方法,其特征在于,所述获得两个短脉冲的步骤之后,还包括:将两个短脉冲分频为所述第二同步脉冲信号。7. The method according to claim 6, characterized in that, after the step of obtaining two short pulses, the method further comprises: dividing the two short pulses into the second synchronization pulse signal.
  9. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    读取包络脉冲幅度并存储于采样队列;Read the envelope pulse amplitude and store it in the sampling queue;
    确定所述采样队列中大于预设幅度阈值的包络脉冲幅度的连续区间,对所述连续区间内的包络脉冲幅度取平均值,作为峰值包络并存储至峰值包络队列;Determine the continuous interval of the envelope pulse amplitude greater than the preset amplitude threshold in the sampling queue, take an average value of the envelope pulse amplitude in the continuous interval, as the peak envelope and store it in the peak envelope queue;
    对所述峰值包络队列进行多次滑动平均滤波,得到最大值队列;Performing multiple moving average filtering on the peak envelope queue to obtain a maximum value queue;
    根据所述最大值队列中的每个幅度数值,获得一组第一比较电平和第二比较电平;根据多组第一比较电平和第二比较电平获得比较电平队列;Obtaining a set of first comparison levels and second comparison levels according to each amplitude value in the maximum value queue; obtaining a comparison level queue according to multiple sets of first comparison levels and second comparison levels;
    每隔第一预设时间输出更新的比较电平队列,在所述更新的比较电平队列中选择与所述包络脉冲对应的比较电平,作为对所述包络脉冲进行脉冲整形步骤中的所述第一比较电平和所述第二比较电平。The updated comparison level queue is output every first preset time, and the comparison level corresponding to the envelope pulse is selected in the updated comparison level queue as the pulse shaping step of the envelope pulse The first comparison level and the second comparison level.
  10. 根据权利要求2或9所述的方法,其特征在于,所述方法还包括:根据预设高低电平比例获得所述第一比较电平和所述第二比较电平;所述预设高低电平比例为所述第一比较电平和所述第二比较电平对应的包络脉冲幅度的比例。The method according to claim 2 or 9, wherein the method further comprises: obtaining the first comparison level and the second comparison level according to a preset ratio of high and low levels; and the preset high and low levels The flat ratio is the ratio of the envelope pulse amplitudes corresponding to the first comparison level and the second comparison level.
  11. 根据权利要求9所述的方法,其特征在于,还包括以下步骤:The method according to claim 9, characterized in that it further comprises the following steps:
    所述包络脉冲幅度小于所述预设幅度阈值的持续时间超过第二预设时间时,上报告警信息。When the duration of the envelope pulse amplitude being less than the preset amplitude threshold exceeds a second preset time, an alarm message is reported.
  12. 一种同步脉冲传输方法,其特征在于,所述方法包括以下步骤:A synchronization pulse transmission method, characterized in that the method includes the following steps:
    获取通信射频信号,从所述通信射频信号中提取第一同步脉冲信号;Acquiring a communication radio frequency signal, and extracting a first synchronization pulse signal from the communication radio frequency signal;
    对所述第一同步脉冲信号进行幅移键控调制获得调制信号;Performing amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulated signal;
    对所述调制信号进行包络检波,获得包络脉冲,并对所述包络脉冲进行脉冲整形。Envelope detection is performed on the modulation signal to obtain an envelope pulse, and pulse shaping is performed on the envelope pulse.
  13. 一种同步脉冲传输装置,其特征在于,所述装置包括:A synchronous pulse transmission device, characterized in that the device includes:
    包络检波模块,用于对调制信号检波获得包络脉冲;所述调制信号经由第一同步脉冲信号进行幅移键控调制获得;The envelope detection module is used to detect the modulation signal to obtain an envelope pulse; the modulation signal is obtained by amplitude shift keying modulation of the first synchronization pulse signal;
    包络脉冲整形模块,用于对包络脉冲进行整形获得第二同步脉冲信号。The envelope pulse shaping module is used for shaping the envelope pulse to obtain the second synchronization pulse signal.
  14. 根据权利要求13所述的装置,其特征在于,所述包络脉冲整形模块包括第一比较器、第二比较器和同步脉冲生成模块;The device according to claim 13, wherein the envelope pulse shaping module comprises a first comparator, a second comparator and a synchronization pulse generating module;
    所述第一比较器用于根据第一比较电平判决所述包络脉冲,获得第一判决脉冲;The first comparator is used to determine the envelope pulse according to a first comparison level to obtain a first decision pulse;
    所述第二比较器用于根据第二比较电平判决所述包络脉冲,获得第二判决脉冲;The second comparator is used to determine the envelope pulse according to a second comparison level to obtain a second decision pulse;
    所述同步脉冲生成模块用于结合所述第一判决脉冲和所述第二判决脉冲获得所述第二同步脉冲信号。The synchronization pulse generation module is configured to combine the first decision pulse and the second decision pulse to obtain the second synchronization pulse signal.
  15. 根据权利要求14所述的装置,其特征在于,所述第一比较器的两个输入端分别输入所述第一比较电平和所述包络脉冲,所述第二比较器的两个输入端分别输入所述第二比较电平和所述包络脉冲;所述第一比较器和第二比较器输出端接入到所述同步脉冲生成模块。The device according to claim 14, wherein the two input terminals of the first comparator input the first comparison level and the envelope pulse respectively, and the two input terminals of the second comparator input the first comparison level and the envelope pulse respectively. The second comparison level and the envelope pulse are respectively input; the output terminals of the first comparator and the second comparator are connected to the synchronization pulse generation module.
  16. 根据权利要求14所述的装置,其特征在于,两个比较器输出所述第一判决脉冲和所述第二判决脉冲,通过开漏输出的比较器输出端上拉线与。The device according to claim 14, wherein two comparators output the first decision pulse and the second decision pulse, and the output terminal of the comparator with an open-drain output is pulled up with an AND.
  17. 根据权利要求16所述的装置,其特征在于,线与输出端连接脉冲延时电路。The device according to claim 16, wherein the line and the output terminal are connected to a pulse delay circuit.
  18. 根据权利要求16所述的装置,其特征在于,线与输出端连接D触发器。The device of claim 16, wherein the line and the output terminal are connected to a D flip-flop.
  19. 根据权利要求14所述的装置,其特征在于,所述包络脉冲整形模块还包括控制模块;所述控制 模块用于采集包络脉冲的数据,生成所述第一比较电平和所述第二比较电平。The device according to claim 14, wherein the envelope pulse shaping module further comprises a control module; the control module is used to collect envelope pulse data to generate the first comparison level and the second comparison level Comparison level.
  20. 根据权利要求19所述的装置,其特征在于,所述控制模块用于:读取包络脉冲幅度并存储于采样队列;确定所述采样队列中大于预设幅度阈值的包络脉冲幅度的连续区间,对所述连续区间内的包络脉冲幅度取平均值,作为峰值包络并存储至峰值包络队列;对所述峰值包络队列进行多次滑动平均滤波,得到最大值队列;根据所述最大值队列中的每个幅度数值,获得一组第一比较电平和第二比较电平;根据多组第一比较电平和第二比较电平获得比较电平队列;每隔第一预设时间输出更新的比较电平队列。The device according to claim 19, wherein the control module is configured to: read the envelope pulse amplitude and store it in a sampling queue; determine the continuous envelope pulse amplitude greater than a preset amplitude threshold in the sampling queue Interval, take the average of the envelope pulse amplitudes in the continuous interval, as the peak envelope and store it in the peak envelope queue; perform multiple moving average filtering on the peak envelope queue to obtain the maximum value queue; For each amplitude value in the maximum value queue, a set of first comparison levels and second comparison levels are obtained; a comparison level queue is obtained according to multiple sets of first comparison levels and second comparison levels; every first preset Time output updated comparison level queue.
  21. 根据权利要求19所述的装置,其特征在于,所述控制模块包括单片机,通过单片机内的模数转换模块读取包络脉冲幅度并存储于采样队列;每隔第一预设时间通过单片机内的数模转换模块输出更新的比较电平队列。The device according to claim 19, wherein the control module comprises a single-chip microcomputer, and the envelope pulse amplitude is read through the analog-to-digital conversion module in the single-chip microcomputer and stored in the sampling queue; The digital-to-analog conversion module outputs the updated comparison level queue.
  22. 一种同步脉冲传输装置,其特征在于,所述装置包括:A synchronous pulse transmission device, characterized in that the device includes:
    同步脉冲提取模块,用于从通信射频信号中提取第一同步脉冲信号;The synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal;
    调制模块,用于对所述第一同步脉冲信号进行幅移键控调制获得调制信号;A modulation module, configured to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal;
    所述调制信号被用于包络检波,获得包络脉冲,并对所述包络脉冲进行脉冲整形。The modulated signal is used for envelope detection to obtain an envelope pulse, and pulse shaping is performed on the envelope pulse.
  23. 一种同步脉冲传输系统,其特征在于,所述系统包括:A synchronous pulse transmission system, characterized in that, the system includes:
    同步脉冲提取模块,用于从通信射频信号中提取第一同步脉冲信号;The synchronization pulse extraction module is used to extract the first synchronization pulse signal from the communication radio frequency signal;
    调制模块,用于对所述第一同步脉冲信号进行幅移键控调制获得调制信号;A modulation module, configured to perform amplitude shift keying modulation on the first synchronization pulse signal to obtain a modulation signal;
    包络检波模块,用于对所述调制信号包络检波获得包络脉冲;Envelope detection module, used for envelope detection of the modulation signal to obtain envelope pulses;
    包络脉冲整形模块,用于对所述包络脉冲进行整形获得第二同步脉冲信号。The envelope pulse shaping module is used for shaping the envelope pulse to obtain a second synchronization pulse signal.
  24. 一种天线装置,其特征在于,包括权利要求13所述的同步脉冲传输装置。An antenna device, characterized by comprising the synchronization pulse transmission device of claim 13.
  25. 一种网关装置,其特征在于,包括权利要求22所述的同步脉冲传输装置。A gateway device, characterized by comprising the synchronization pulse transmission device of claim 22.
  26. 一种信号覆盖系统,其特征在于,所述系统包括权利要求24所述的天线装置和权利要求25所述的网关装置,所述网关装置和天线装置之间采用射频馈线连接。A signal coverage system, characterized in that the system comprises the antenna device according to claim 24 and the gateway device according to claim 25, and a radio frequency feeder connection is adopted between the gateway device and the antenna device.
PCT/CN2020/131517 2019-11-29 2020-11-25 Method for transmitting synchronization pulse, device, and system WO2021104312A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911205410.9 2019-11-29
CN201911205410.9A CN110995402B (en) 2019-11-29 2019-11-29 Synchronization pulse transmission method, device and system

Publications (1)

Publication Number Publication Date
WO2021104312A1 true WO2021104312A1 (en) 2021-06-03

Family

ID=70088656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131517 WO2021104312A1 (en) 2019-11-29 2020-11-25 Method for transmitting synchronization pulse, device, and system

Country Status (2)

Country Link
CN (1) CN110995402B (en)
WO (1) WO2021104312A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995402B (en) * 2019-11-29 2021-09-07 三维通信股份有限公司 Synchronization pulse transmission method, device and system
CN111413549B (en) * 2020-04-26 2022-07-12 上海航天计算机技术研究所 High-reliability pulse width signal detection system, platform and method
CN112073118A (en) * 2020-09-18 2020-12-11 北京唯得科技有限公司 Transmission method and device of TDD synchronous switch
CN112533282B (en) * 2020-10-22 2021-08-06 中国电信股份有限公司 Frequency synchronization method and system, near-end machine, far-end machine and storage medium
CN112532333B (en) * 2020-12-07 2022-12-30 京信网络系统股份有限公司 Signal synchronization method, signal synchronization device, light distribution system and storage medium
CN112601278A (en) * 2020-12-07 2021-04-02 深圳市佳贤通信设备有限公司 System and method for recovering TDD synchronous signal by 5G frequency shift multi-path with low hardware cost
CN113852436A (en) * 2021-08-27 2021-12-28 电子科技大学 Clock synchronization system applied to 5G small base station

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805416A (en) * 2006-01-20 2006-07-19 清华大学 Comparison and decision circuit in amplitude keying signal demodulation circuit module
EP1950667A1 (en) * 2007-01-29 2008-07-30 Hispano-Suiza Communication gateway between two entities
CN101359933A (en) * 2008-09-25 2009-02-04 蒋富强 DC line carrier communication device
CN101874913A (en) * 2009-04-30 2010-11-03 上海华聆人工耳医疗科技有限公司 Balanced single-polar component type multi-channel cochlear implant system with detection feedback function
CN104200260A (en) * 2014-08-22 2014-12-10 合肥宁芯电子科技有限公司 Demodulator circuit
CN110995402A (en) * 2019-11-29 2020-04-10 三维通信股份有限公司 Synchronization pulse transmission method, device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4201254B2 (en) * 2003-01-24 2008-12-24 セイコーインスツル株式会社 Data transmission system and body-mounted communication device
EP1812909B1 (en) * 2004-11-15 2017-01-11 Pahlavan, Kourosh Radio frequency tag and reader with asymmetric communication bandwidth
CN101789921B (en) * 2009-01-23 2013-03-06 中芯国际集成电路制造(上海)有限公司 Amplitude shift keying demodulator and method
CN102014216B (en) * 2010-12-28 2013-06-12 中国科学院国家授时中心 Method and device for detecting transmission delay of channels of public switched telephone network
CN104022761B (en) * 2014-05-23 2016-11-09 中国电子科技集团公司第四十一研究所 A kind of method of testing of pulse-modulated signal
CN107482585B (en) * 2017-10-02 2020-05-15 南通雄亚机电制造有限公司 Pulse drive-based cold end overcurrent protection type drive circuit and motor drive circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805416A (en) * 2006-01-20 2006-07-19 清华大学 Comparison and decision circuit in amplitude keying signal demodulation circuit module
EP1950667A1 (en) * 2007-01-29 2008-07-30 Hispano-Suiza Communication gateway between two entities
CN101359933A (en) * 2008-09-25 2009-02-04 蒋富强 DC line carrier communication device
CN101874913A (en) * 2009-04-30 2010-11-03 上海华聆人工耳医疗科技有限公司 Balanced single-polar component type multi-channel cochlear implant system with detection feedback function
CN104200260A (en) * 2014-08-22 2014-12-10 合肥宁芯电子科技有限公司 Demodulator circuit
CN110995402A (en) * 2019-11-29 2020-04-10 三维通信股份有限公司 Synchronization pulse transmission method, device and system

Also Published As

Publication number Publication date
CN110995402B (en) 2021-09-07
CN110995402A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
WO2021104312A1 (en) Method for transmitting synchronization pulse, device, and system
KR970003529B1 (en) Time domain radio transmission system
US8693306B2 (en) Apparatus and method for transmitting data in low-frequency band in human body communication system, and the human body communication system
CN102571654B (en) Multi-carrier frequency self-adaptive power line communication system and method
CN107317618B (en) Rate adaptive power separation relay method
CN1988413B (en) Synchronous method and device for time division duplex communication system
CN103023852A (en) Fast digital automatic gain control method for orthogonal frequency division multiplexing receiver
RU2553091C2 (en) System for two-way high-speed short-wave radio communication
CN101197613B (en) Method and system for anti-interference synchronization
US9667311B2 (en) Pulse position modulation scheme impulse radio transmitter and radio communication system
WO2023197986A1 (en) Uwb signal transmission method and related apparatus
US20110249775A1 (en) Data receiver circuit
CN101841902B (en) Method and device for obtaining timeslot power
CN104348499A (en) Method for lowering influence of cross modulation interference on terminal receiving signal
JP2013197884A (en) Radio communication device, and pulse signal transmission method for radio communication device
CN201479134U (en) GSM wireless repeater station with ascending noise inhibition function
CN204349985U (en) A kind of receiver based on Multiple Input Multiple Output
CN101873293B (en) Non-sinusoidal time domain orthogonal demodulation signal synchronization method
KR100758980B1 (en) Ultra wide band wireless transceiver and method of ranging for location awareness using the same
EP2530864A1 (en) Apparatus and Method for Power Saving
CN116760430B (en) 5G power communication terminal, method and detection method
Rojas et al. Poster: Single Packet Link Estimation.
KR101141044B1 (en) Energy detection based ir-uwb system for increasing signal detection probability using continuous pulses
CN104283615B (en) Electronic device and control method
CN112019215B (en) Pulse width modulation single-distribution type multichannel ADC synchronization 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: 20893579

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20893579

Country of ref document: EP

Kind code of ref document: A1

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 1205A DATED 11/01/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20893579

Country of ref document: EP

Kind code of ref document: A1