[go: up one dir, main page]

WO2014176719A1 - Carrier synchronization method and device - Google Patents

Carrier synchronization method and device Download PDF

Info

Publication number
WO2014176719A1
WO2014176719A1 PCT/CN2013/074932 CN2013074932W WO2014176719A1 WO 2014176719 A1 WO2014176719 A1 WO 2014176719A1 CN 2013074932 W CN2013074932 W CN 2013074932W WO 2014176719 A1 WO2014176719 A1 WO 2014176719A1
Authority
WO
WIPO (PCT)
Prior art keywords
level
duration
frequency control
carrier
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2013/074932
Other languages
French (fr)
Chinese (zh)
Inventor
胡清华
曹煜
马骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2013/074932 priority Critical patent/WO2014176719A1/en
Priority to CN201380000213.8A priority patent/CN103518347B/en
Publication of WO2014176719A1 publication Critical patent/WO2014176719A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2647Arrangements specific to the receiver only
    • H04L27/2655Synchronisation arrangements
    • H04L27/2657Carrier synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2647Arrangements specific to the receiver only
    • H04L27/2655Synchronisation arrangements
    • H04L27/2668Details of algorithms
    • H04L27/2681Details of algorithms characterised by constraints
    • H04L27/2685Speed of convergence

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for carrier synchronization. Background technique
  • time division duplexing In the field of communication technology, time division duplexing (TDD) is a commonly used transmission mode.
  • TDD time division duplexing
  • the uplink and downlink communication transmissions use the same frequency band, and the number of time slots is allocated according to the service requirement of the uplink communication or the downlink communication. If the downlink communication traffic is large, more time slots are allocated for the downlink communication. If the amount of uplink communication traffic is large, a larger number of slots are allocated for uplink communication.
  • one time slot of the TDD system corresponds to one TDD frame
  • one TDD frame consists of the following three parts: TDD time slot guard interval, TDD synchronization code, TDD effective payload.
  • TDD time slot guard interval the same TDD time slot length, the shorter the TDD time slot protection interval, the higher the TDD effective payload ratio, and the higher the TDD effective payload ratio, the larger the capacity of each TDD bearer service.
  • shortening the TDD time slot protection interval and correspondingly reducing the TDD effective payload the time length occupied by each TDD frame can be reduced while ensuring the TDD payload ratio is unchanged, thereby enhancing the flexibility of the TDD system. Sex. Therefore, shortening the TDD time slot protection interval can effectively improve the performance of the TDD system.
  • the TDD time slot protection interval is mainly composed of four parts, including RF switch, RF circuit delay, automatic gain control stabilization delay, carrier synchronization delay, and algorithm convergence delay.
  • the carrier synchronization delay accounts for a considerable part, which has an important impact on the performance of the TDD system.
  • the existing carrier synchronization method whether it is the square ring method or the Costas loop method, uses a phase-locked loop, and there is a feedback loop, and the loop stabilization takes a long time, and the carrier synchronization delay is large.
  • an embodiment of the present invention provides a method for carrier synchronization, including: performing a zero-cross comparison on a modulated signal, and outputting a first level when the amplitude of the modulated signal is greater than zero, in a modulated signal When the amplitude is less than zero, the second level is output, wherein the first level is higher than the second level; the level change point of the output after the zero-cross comparison is determined, and the output after the zero-cross comparison is determined by the first power
  • the first pulse signal is output, and when the output after the zero-cross comparison is changed from the second level to the first level, the second pulse signal is output; according to the first pulse signal and the second pulse a signal, an output frequency control word; synthesizing a carrier according to the frequency control word; and canceling the phase difference by phase-shifting the synthesized
  • the phase-shifted carrier is divided into a first carrier and a second carrier; the first carrier and the modulated signal are mixed; The carrier carries out 90. Phase shifting, and mixing the phased second carrier with the modulated signal.
  • the outputting the frequency control word according to the first pulse signal and the second pulse signal specifically: Determining, by the first pulse signal and the second pulse signal, a first duration and a second duration corresponding to each of the adjacent first level and the second level, according to the first duration and the second duration, Output frequency control word.
  • the frequency control word is output according to the first pulse signal and the second pulse signal
  • the method includes: determining, according to the first pulse signal and the second pulse signal, a duty ratio of the first level or the second level; and outputting the frequency control word according to the duty ratio of the first level or the second level .
  • determining the duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal specifically: determining, by using the first pulse signal and the second pulse signal, determining the adjacent Determining a first level or a second level of the first level and the second level, respectively, determining a duty ratio of the first level or the second level according to the first duration and the second duration; Outputting the frequency control word according to the duty ratio of the first level or the second level, specifically comprising: if the duty ratio of the first level or the second level is equal to the preset value, according to the first duration or the second Determining and outputting a frequency control word, wherein the preset value is a duty ratio of a carrier for carrying a signal in the communication system; if a duty ratio of the first level or the second level is not equal to The preset value outputs the same frequency control word as the previous frequency control word.
  • a device for carrier synchronization which can be used for carrier synchronization.
  • the device includes: a zero-crossing comparison module, configured to perform zero-cross comparison on a modulated signal, and output a first power when the amplitude of the modulated signal is greater than zero.
  • the edge capture module is configured to determine a level change point of the output after the zero-cross comparison, and When the output after the zero-cross comparison is changed from the first level to the second level, the first pulse signal is output, and when the output after the zero-cross comparison is changed from the second level to the first level, the second pulse signal is output; a frequency control module, configured to output a frequency control word according to the first pulse signal and the second pulse signal; a carrier synthesis module, configured to synthesize a carrier according to the frequency control word; and a phase difference cancellation module, configured to use the synthesized carrier And a phase difference of the modulated signal, the phase difference is eliminated by phase shifting the synthesized carrier.
  • the device further includes: a carrier separation module, configured to divide the phase-shifted carrier into a first path carrier and a second path carrier; a module, configured to perform mixing processing on the first carrier and the modulated signal; and a second mixing processing module, configured to perform 90 on the second carrier. Phase shifting, and mixing the phased second carrier with the modulated signal.
  • the frequency control module is specifically configured to: determine a phase according to the first pulse signal and the second pulse signal The first duration and the second duration of the adjacent first level and the second level respectively output a frequency control word according to the first duration and the second duration.
  • the frequency control module is specifically configured to: according to the first pulse signal and the second pulse a signal determining a duty ratio of the first level or the second level; and outputting the frequency control word according to the duty ratio of the first level or the second level.
  • the frequency control module is specifically configured to: determine a duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal; and occupy a space according to the first level or the second level Ratio, output frequency control word.
  • the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a first duration and a second duration corresponding to each of the adjacent first level and the second level According to the first duration and a second duration, determining a duty ratio of the first level or the second level; if the duty ratio of the first level or the second level is equal to the preset value, determining according to the first duration or the second duration And outputting a frequency control word, where the preset value is a duty ratio of a carrier used to carry a signal in the communication system; if a duty ratio of the first level or the second level is not equal to the preset value, The same frequency control word as the previous frequency control word is output.
  • the method and device for carrier synchronization use an open-loop carrier synchronization structure to perform zero-cross comparison of the received modulated signals, edge capture, duty ratio determination, frequency control, carrier synthesis, and shift.
  • the phase processing and the like directly extract the carrier of the signal from the received modulated signal.
  • the open-loop carrier synchronization structure shortens the carrier synchronization delay and improves the performance of the TDD system.
  • 1 is a schematic diagram of a slot structure in a TDD frame
  • FIG. 2 is a schematic diagram of a slot guard interval structure in a TDD frame
  • Figure 3 is a structural diagram of a receiver
  • FIG. 4 is a schematic structural diagram of a device for carrier synchronization in Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a method for carrier synchronization in Embodiment 2 of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • Embodiment 1 The embodiment of the present invention provides a device for carrier synchronization, which can be applied to the figure.
  • the receiver shown in Fig. 3 it serves as a carrier synchronization module of the receiver.
  • the receiver receives the communication signal and needs to process the received signal to recover the transmitted signal.
  • the receiver processing process generally includes the following steps: signal reception, signal filtering, signal amplification, mixing, carrier synchronization, analog to digital conversion, and demodulation.
  • the device provided by the embodiment of the present invention can also be applied to other communication devices, as an integral part of the carrier synchronization function, or can be used as a device to implement carrier synchronization, which is not limited in this embodiment of the present invention.
  • Carrier synchronization also known as carrier recovery, is to generate a local carrier in the receiving device that is in phase with the carrier of the received modulated signal, and supplies it to the demodulator for coherent demodulation.
  • the device for carrier synchronization provided in this embodiment includes a zero-crossing comparison module, an edge capture module, a frequency control module, a carrier synthesis module, and a phase difference cancellation module.
  • the method further includes a carrier separation module, a first mixing processing module, and a second mixing processing module. As shown in FIG.
  • the zero-crossing comparison module is configured to perform a zero-cross comparison of the modulated signal, and output a first level when the amplitude of the modulated signal is greater than zero, and output a second level when the amplitude of the modulated signal is less than zero.
  • the edge capture module is configured to determine a level change point of the output after the zero-cross comparison, and the output after the zero-cross comparison is changed from the first level to the second level At the level, the first pulse signal is output, and when the output after the zero-cross comparison is changed from the second level to the first level, the second pulse signal is output;
  • the frequency control module is configured to: according to the first pulse signal and the second a pulse signal, an output frequency control word; a carrier synthesis module, configured to synthesize a carrier according to the frequency control word; and a phase difference cancellation module, configured to: move the synthesized carrier according to a phase difference between the synthesized carrier and the modulated signal The phase cancels the phase difference.
  • the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a first duration and a second duration corresponding to each of the adjacent first level and the second level, A frequency control word is output based on the first duration and the second duration.
  • the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a duty ratio of the first level or the second level; according to the first level or the second level Duty cycle, output frequency control word.
  • the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a first duration and a second corresponding to each of the adjacent first level and the second level a duration, determining a duty ratio of the first level or the second level according to the first duration and the second duration; if the duty ratio of the first level or the second level is equal to a preset value, Determining and outputting a frequency control word according to the first duration or the second duration, the preset value being a duty ratio of a carrier for carrying a signal in the communication system; if the first level or the second level The duty ratio is not equal to the preset value, and the same frequency control word as the previous frequency control word is output.
  • the device for carrier synchronization further includes: a carrier separation module, configured to divide the phase-shifted carrier into a first carrier and a second carrier; and a first mixing processing module, configured to: The modulated signal is subjected to mixing processing; the second mixing processing module is configured to perform phase shifting of the second carrier by 90°, and mixing the phase-shifted second carrier with the modulated signal.
  • the zero-crossing comparison module can be a comparator, or even further a zero-crossing comparator.
  • the zero-crossing comparison module has a threshold voltage of 0V.
  • a constant amplitude value is output, that is, the first level.
  • the output is output.
  • the other amplitude value is also the second level.
  • the amplitude value referred to herein refers to a voltage amplitude value.
  • the first level may be a positive amplitude value +P
  • the second level may be a negative amplitude value -P.
  • the first level and the second level may also be other values. As long as the two are different, they can be distinguished from each other.
  • the edge capture module can also be implemented with a comparator.
  • the edge capture module triggers the output of the zero-crossing comparison module, captures the edge of the amplitude value change trigger, and outputs the edge indication signal. That is, when the output of the zero-crossing comparison module changes from the first level to the second level, or when the second level changes to the first level, the edge capture module outputs an edge indication signal.
  • the edge capture process is a level comparison, and when the level changes, the edge of the amplitude value is captured.
  • the edge capture module when the output of the zero-crossing comparison module is changed from +P to -P, the edge capture module outputs the first pulse signal, and the zero-crossing comparison module Output by -P When it becomes +P, the edge capture module outputs a second pulse signal.
  • the first pulse signal may be a positive pulse, and the second pulse signal may be a negative pulse; or the second pulse signal may be a positive pulse, and the first pulse signal may be a negative pulse.
  • the frequency control module may include two clock chips.
  • the first pulse signal triggers the first clock chip to start timing
  • the second pulse signal triggers the end timing
  • the timing duration is the first duration
  • the second pulse signal triggers the second clock chip to start timing
  • the duration is the second duration.
  • the corresponding duration can be converted into a voltage signal within the clock chip.
  • the frequency of generating the carrier can be determined, thereby outputting the corresponding frequency control word.
  • the corresponding first duration and the second duration need to be first converted into corresponding first voltage signals and second voltage signals, and the frequency control module according to the corresponding first voltage signals and second voltage signals, Determine and output the corresponding frequency control word.
  • a clock chip can also be implemented, such as the first pulse signal triggering timing, the second pulse signal ending timing, thereby obtaining a second duration of the second level, the frequency control module according to the length of the second duration and the advance
  • the stored duty cycle determines the corresponding frequency control word that should be output.
  • the pre-stored duty cycle is 50%.
  • the frequency control module is equivalent to obtaining the first duration of the first level.
  • the frequency control module may first determine a duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal; The duty cycle of the second level, the output frequency control word.
  • the duty cycle in the embodiment of the present invention is used to describe the ratio of the duration of the first level or the second level in a period to the total time.
  • the first level and the second level are always alternately present, and the total time during which the adjacent first level and the second level continue may be referred to as one period.
  • the frequency control module can include two clock chips and one comparator.
  • the duty ratio is determined, or the duty ratio is measured.
  • the duty cycle measurement can be timed using two clock chips: the first pulse signal triggers the first clock chip to start timing, the second pulse signal triggers the end timing, and the timing duration For the first duration; the second pulse signal triggers the second clock chip to start timing, the first pulse signal ends the timing, and the timing duration is the second duration.
  • the corresponding duration can be converted into a voltage signal within the clock chip.
  • the comparator outputs the voltage signals output by the two clock chips. If the voltage values are the same, the duty ratio is 50%, otherwise they are not equal.
  • the first duration can be used to characterize the duration of the second level in one cycle, and the second duration is used to characterize a week The duration of the first level during the period.
  • other methods such as determining the duty cycle based on the ratio of the first level or the second level duration in two or more cycles to the total time.
  • the duty cycle measurement module may also have only one clock chip. Once the first pulse signal and the second pulse signal are received, the next timing is started before the end of the line, and the method is used for the original carrier used to carry the signal.
  • the space ratio is particularly suitable because in this case, the durations of the first level and the second level tend to be the same.
  • the duty cycle is determined by the first voltage value converted by the first duration and the second voltage value converted by the second duration, wherein the corresponding voltage value is proportional to the duration. If the duty ratio is equal to the preset value, the preset value is the duty ratio of the carrier used to carry the signal in the communication system used by the device for the carrier synchronization, and can be set as needed. Then, according to the corresponding first voltage converted first voltage signal or the second duration converted second voltage signal, the corresponding voltage signal and the frequency control word correspondence table are queried.
  • the duty ratio of the first level is equal to the first level duration divided by the sum of the first level duration and the second level duration, and is also equal to the first voltage signal divided by the first voltage signal and the second voltage The sum of the signals. Therefore, when the duty ratio is equal to the preset value, only one of the first voltage signal and the second voltage signal is needed to know the other value, so only one of the voltage signals can be in the corresponding correspondence.
  • the corresponding frequency control word is queried in the table, and of course two voltage signals can be used.
  • the voltage signal in the correspondence table between the voltage signal and the frequency control word may be the first voltage signal, the second voltage signal, or a sum of the two.
  • the preset value of the duty ratio is 50%.
  • the corresponding relationship table is queried according to the corresponding voltage signal to obtain a corresponding frequency control word; when the determined duty ratio is not 50%, the output and the previous frequency control are performed.
  • the same frequency control word it should be noted that, in general, the probability that the duty ratio is exactly equal to the preset value is relatively small, such as a preset value of 50%, and the duty ratio is 50.5%, which should be understood by those skilled in the art. Equal to "allows an error within a certain range.
  • a carrier synthesis module that synthesizes and outputs a corresponding carrier according to a frequency control word output by the frequency control module.
  • the frequency control word is the word that controls the frequency, changes the content of the frequency control word, and controls the occurrence and change of the frequency. Using the frequency control word, the composite carrier is prior art, Not bad.
  • the phase difference cancellation module includes at least one phase shifter. Since the previous steps process brings a corresponding delay, the carrier frequency of the frequency synthesis output has a certain phase difference with the carrier frequency of the bearer signal. The phase difference can be measured using a manual measurement method, and then the phase shifter is used to compensate for the phase difference between the synthesized frequency and the modulated signal, so that the combined carrier frequency is perfectly aligned with the carrier frequency of the carrier signal. Specifically, after manually measuring the delay, the extracted carrier frequency is used as a reference to convert to a corresponding phase value, and is configured to the phase shifter. Since the delay is relatively fixed, the corresponding phase difference only needs to be measured once and can be used continuously.
  • the device for carrier synchronization may further include a carrier separation module, a first mixing processing module, and a second mixing processing module.
  • the carrier separation module may be a power splitter.
  • the device for carrier synchronization provided by the embodiment of the present invention uses the open-loop carrier extraction structure, and does not need the carrier stabilization time required by the feedback carrier extraction structure, does not need to wait for the carrier to be stable, extracts the direct output of the carrier, and greatly reduces the carrier synchronization delay. Time.
  • the device avoids multiple frequency doubling of the signal, has a simple structure, low hardware requirements, and reduces cost.
  • the duty ratio determination method is also adopted.
  • an embodiment of the present invention provides a method for carrier synchronization.
  • the method can use the device described in the first embodiment, and the device of the embodiment can use the method of the embodiment.
  • the two embodiments can be mutually verified, and the details can refer to each other.
  • the carrier synchronization method includes: performing a zero-cross comparison on the modulated signal, and outputting a first level when the amplitude of the modulated signal is greater than zero, and outputting a second level when the amplitude of the modulated signal is less than zero, wherein the first electrical Level higher than the second level; determining the level change point of the output after the zero-cross comparison, and outputting the first pulse signal at the zero-crossing when the output after the zero-cross comparison is changed from the first level to the second level
  • the second pulse signal is output when the compared output changes from the second level to the first level; the frequency control word is output according to the first pulse signal and the second pulse signal; and the carrier is synthesized according to the frequency control word;
  • the method may further include: dividing the phase-shifted carrier into a first carrier and a first Two-way carrier; mixing the first carrier with the modulated signal; performing 90 for the second carrier.
  • Phase shifting, and mixing the phased second carrier with the modulated signal Phase shifting, and mixing the phased second carrier with the modulated signal.
  • outputting the frequency control word according to the first pulse signal and the second pulse signal specifically: determining, according to the first pulse signal and the second pulse signal, adjacent first level and second level Corresponding first duration and second duration, the frequency control word is output according to the first duration and the second duration.
  • outputting the frequency control word according to the first pulse signal and the second pulse signal specifically: determining, according to the first pulse signal and the second pulse signal, the first level or the second level Duty cycle; The frequency control word is output according to the duty ratio of the first level or the second level.
  • determining the duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal specifically: determining, by using the first pulse signal and the second pulse signal, determining the adjacent Determining a first level or a second level of the first level and the second level, respectively, determining a duty ratio of the first level or the second level according to the first duration and the second duration; Outputting the frequency control word according to the duty ratio of the first level or the second level, specifically comprising: if the duty ratio of the first level or the second level is equal to the preset value, according to the first duration or the second Determining and outputting a frequency control word, wherein the preset value is a duty ratio of a carrier for carrying a signal in the communication system; if a duty ratio of the first level or the second level is not equal to The preset value outputs the same frequency control word as the previous frequency control word.
  • determining, according to the first duration or the second duration, the frequency control word specifically: determining the first voltage signal according to the first duration, or determining the second according to the second duration
  • the voltage signal is queried according to the first voltage signal or the second voltage signal in a correspondence table between the voltage signal and the frequency control word, and the frequency control word is determined and output.
  • the frequency control word is output according to the duty ratio, and specifically includes: if the duty ratio is the carrier synchronization method provided by the embodiment of the present invention, the open loop carrier extraction structure is used, and no feedback carrier extraction is needed.
  • the carrier stabilization time required by the structure, the carrier synchronization method of the open-loop structure directly extracts the carrier from the signal carrier, does not need to wait for the carrier to be stable, extracts the direct output of the carrier, and greatly reduces the carrier synchronization delay.
  • the method avoids multiple frequency doubling of the signal, has low hardware requirements, and reduces cost.
  • the duty ratio determination method is also used. If the signal carrier has phase jitter, the previous frequency control word is output, thereby ensuring that the synthesized carrier does not follow the error. The erroneous carrier changes and changes the phase jitter of the signal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

Provided are a carrier synchronization method and device. By means of steps such as zero crossing comparison, edge capture, determining the mark-space ratio, frequency control, carrier synthesis, phase difference elimination and the like, the carrier synchronization method reduces the requirements for hardware while reducing carrier synchronization delay, and is capable of being used for suppressing the phase jitter of a signal.

Description

一种载波同步的方法和设备 技术领域  Method and device for carrier synchronization

本发明涉及通信技术领域, 具体涉及一种载波同步的方法和设备。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method and device for carrier synchronization. Background technique

在通信技术领域, 时分复用 ( time division duplexing, TDD )是一种常用 的传输模式。 使用 TDD这种模式的 TDD系统中, 上下行通信传输使用相同 的频带, 根据上行通信或下行通信的业务需求分配时隙个数, 如果下行通信 业务量大, 则为下行通信分配较多时隙个数, 如果上行通信业务量大, 则为 上行通信分配较多的时隙个数。  In the field of communication technology, time division duplexing (TDD) is a commonly used transmission mode. In the TDD system using the TDD mode, the uplink and downlink communication transmissions use the same frequency band, and the number of time slots is allocated according to the service requirement of the uplink communication or the downlink communication. If the downlink communication traffic is large, more time slots are allocated for the downlink communication. If the amount of uplink communication traffic is large, a larger number of slots are allocated for uplink communication.

如图 1所示 , TDD系统的一个时隙对应一个 TDD帧 , 一个 TDD帧由以 下 3个部分组成: TDD时隙保护间隔, TDD同步码, TDD有效净荷。 相同 的 TDD时隙长度, TDD时隙保护间隔越短, TDD有效净荷比例越高,而 TDD 有效净荷比例越高, 每个 TDD承载业务的容量越大。 或者, 缩短 TDD时隙 保护间隔 , 同时相应地缩小 TDD有效净荷 , 则能在保证 TDD净荷比例不变 的情况下, 每个 TDD帧所占用的时间长度变小, 从而增强 TDD系统的灵活 性。 故缩短 TDD时隙保护间隔能有效提高 TDD系统性能。  As shown in Figure 1, one time slot of the TDD system corresponds to one TDD frame, and one TDD frame consists of the following three parts: TDD time slot guard interval, TDD synchronization code, TDD effective payload. The same TDD time slot length, the shorter the TDD time slot protection interval, the higher the TDD effective payload ratio, and the higher the TDD effective payload ratio, the larger the capacity of each TDD bearer service. Or, shortening the TDD time slot protection interval and correspondingly reducing the TDD effective payload, the time length occupied by each TDD frame can be reduced while ensuring the TDD payload ratio is unchanged, thereby enhancing the flexibility of the TDD system. Sex. Therefore, shortening the TDD time slot protection interval can effectively improve the performance of the TDD system.

如图 2所示, TDD时隙保护间隔主要由 4个部分构成, 包括射频开关、 射频电路延时, 自动增益控制稳定延时, 载波同步延时, 算法收敛延时。 其 中, 载波同步延时占相当大的部分, 对 TDD系统的性能有重要的影响。  As shown in Figure 2, the TDD time slot protection interval is mainly composed of four parts, including RF switch, RF circuit delay, automatic gain control stabilization delay, carrier synchronization delay, and algorithm convergence delay. Among them, the carrier synchronization delay accounts for a considerable part, which has an important impact on the performance of the TDD system.

现有的载波同步方法, 无论是平方环法, 还是科斯塔斯环法, 都是用了 锁相环, 存在反馈环路, 而环路稳定需要比较长时间, 载波同步延时大。  The existing carrier synchronization method, whether it is the square ring method or the Costas loop method, uses a phase-locked loop, and there is a feedback loop, and the loop stabilization takes a long time, and the carrier synchronization delay is large.

发明内容 Summary of the invention

有鉴于此, 本发明实施例提供一种载波同步的方法和设备, 能缩减载 波同步延时。 第一方面, 本发明实施例提供了一种载波同步的方法, 包括: 对调制信 号进行过零比较, 并在调制信号幅度大于零时, 输出第一电平, 在调制信号 的幅度小于零时, 输出第二电平, 其中, 第一电平高于第二电平; 确定过零 比较后的输出的电平变化点, 并在过零比较后的输出由第一电平变为第二电 平时, 输出第一脉冲信号, 在过零比较后的输出由第二电平变为第一电平时, 输出第二脉冲信号; 根据所述第一脉冲信号和第二脉冲信号, 输出频率控制 字; 根据所述频率控制字, 合成载波; 根据合成的载波和所述调制信号的相 位差, 通过对合成的载波进行移相消除所述相位差。 结合第一方面, 在第一种可能的实现方式中, 将经过移相后的载波分成 第一路载波和第二路载波; 将第一路载波与调制信号进行混频处理; 对第二 路载波进行 90。 移相, 并将移相后的第二路载波与调制信号进行混频处理。 结合第一方面及第一方面的第一种可能的实现方式中, 在第二种可能 的实现方式中, 根据所述第一脉冲信号和第二脉冲信号, 输出频率控制字, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和 第二电平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间 和第二持续时间, 输出频率控制字。 结合第一方面及第一方面的第一种、 第二种可能的实现方式中, 在第 三种可能的实现方式中, 根据所述第一脉冲信号和第二脉冲信号, 输出频率 控制字, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平 或第二电平的占空比; 根据第一电平或第二电平的占空比, 输出频率控制字。 具体的, 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平或第二电平 的占空比, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的 第一电平和第二电平各自对应的第一持续时间和第二持续时间, 根据所述第 一持续时间和第二持续时间, 确定第一电平或第二电平的占空比; 根据第一 电平或第二电平的占空比, 输出频率控制字, 具体包括: 若第一电平或第二 电平的占空比等于预设值, 根据第一持续时间或第二持续时间确定并输出频 率控制字, 其中, 所述预设值为所述通信系统中用于承载信号的载波的占空 比; 若第一电平或第二电平的占空比不等于所述预设值, 输出与上一个频率 控制字相同的频率控制字。 更进一步的, 根据所述第一持续时间确定第一电 压信号, 或, 根据所述第二持续时间确定第二电压信号; 根据所述第一电压 信号或第二电压信号, 在电压信号与频率控制字的对应关系表中查询, 确定 所述频率控制字并输出。 第二方面, 提供一种载波同步的设备, 可用于载波同步, 所述设备包括: 过零比较模块, 用于对调制信号进行过零比较, 并在调制信号幅度大于零时, 输出第一电平, 在调制信号的幅度小于零时, 输出第二电平, 其中, 第一电 平高于第二电平; 边沿捕捉模块, 用于确定过零比较后的输出的电平变化点, 并在过零比较后的输出由第一电平变为第二电平时, 输出第一脉冲信号, 在 过零比较后的输出由第二电平变为第一电平时, 输出第二脉冲信号; 频率控 制模块, 用于根据所述第一脉冲信号和第二脉冲信号, 输出频率控制字; 载 波合成模块, 用于根据所述频率控制字, 合成载波; 相差消除模块, 用于根 据合成的载波和所述调制信号的相位差, 通过对合成的载波进行移相消除所 述相位差。 结合第二方面, 在第一种可能的实现方式中, 所述设备还包括: 载波分 离模块, 用于将经过移相后的载波分成第一路载波和第二路载波; 第一混频 处理模块, 用于将第一路载波与调制信号进行混频处理; 第二混频处理模块, 用于对第二路载波进行 90。 移相, 并将移相后的第二路载波与调制信号进行 混频处理。 结合第二方面以及第二方面第一种可能的实现方式,在第二种可能的实现 方式中, 所述频率控制模块具体用于: 根据所述第一脉冲信号和第二脉冲信 号, 确定相邻的第一电平和第二电平各自对应的第一持续时间和第二持续时 间, 根据所述第一持续时间和第二持续时间, 输出频率控制字。 结合第二方面以及第二方面第一种、 第二种可能的实现方式, 在第三种 可能的实现方式中, 所述频率控制模块具体用于: 根据所述第一脉冲信号和 第二脉冲信号, 确定第一电平或第二电平的占空比; 根据第一电平或第二电 平的占空比, 输出频率控制字。 所述频率控制模块具体用于: 根据所述第一 脉冲信号和第二脉冲信号, 确定第一电平或第二电平的占空比; 根据第一电 平或第二电平的占空比, 输出频率控制字。 更具体的, 所述频率控制模块具 体用于: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和第 二电平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间和 第二持续时间, 确定第一电平或第二电平的占空比; 若第一电平或第二电平 的占空比等于预设值, 根据第一持续时间或第二持续时间确定并输出频率控 制字, 所述预设值为所述通信系统中用于承载信号的载波的占空比; 若第一 电平或第二电平的占空比不等于所述预设值, 输出与上一个频率控制字相同 的频率控制字。 本发明实施例提供的载波同步的方法和设备, 釆用开环式的载波同步 结构, 通过对接收到的调制信号进行过零比较, 边沿捕捉, 占空比确定, 频率控制, 载波合成, 移相处理等步骤, 直接从接收的调制信号中提取出 信号的载波, 这种开环式的载波同步结构, 缩短了载波同步延时, 提高了 TDD系统的性能。 附图说明 In view of this, the embodiments of the present invention provide a method and a device for carrier synchronization, which can reduce the carrier synchronization delay. In a first aspect, an embodiment of the present invention provides a method for carrier synchronization, including: performing a zero-cross comparison on a modulated signal, and outputting a first level when the amplitude of the modulated signal is greater than zero, in a modulated signal When the amplitude is less than zero, the second level is output, wherein the first level is higher than the second level; the level change point of the output after the zero-cross comparison is determined, and the output after the zero-cross comparison is determined by the first power When the level is changed to the second level, the first pulse signal is output, and when the output after the zero-cross comparison is changed from the second level to the first level, the second pulse signal is output; according to the first pulse signal and the second pulse a signal, an output frequency control word; synthesizing a carrier according to the frequency control word; and canceling the phase difference by phase-shifting the synthesized carrier according to a phase difference between the synthesized carrier and the modulated signal. With reference to the first aspect, in a first possible implementation, the phase-shifted carrier is divided into a first carrier and a second carrier; the first carrier and the modulated signal are mixed; The carrier carries out 90. Phase shifting, and mixing the phased second carrier with the modulated signal. In combination with the first aspect and the first possible implementation manner of the first aspect, in a second possible implementation, the outputting the frequency control word according to the first pulse signal and the second pulse signal, specifically: Determining, by the first pulse signal and the second pulse signal, a first duration and a second duration corresponding to each of the adjacent first level and the second level, according to the first duration and the second duration, Output frequency control word. In combination with the first aspect and the first and second possible implementation manners of the first aspect, in a third possible implementation, the frequency control word is output according to the first pulse signal and the second pulse signal, Specifically, the method includes: determining, according to the first pulse signal and the second pulse signal, a duty ratio of the first level or the second level; and outputting the frequency control word according to the duty ratio of the first level or the second level . Specifically, determining the duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal, specifically: determining, by using the first pulse signal and the second pulse signal, determining the adjacent Determining a first level or a second level of the first level and the second level, respectively, determining a duty ratio of the first level or the second level according to the first duration and the second duration; Outputting the frequency control word according to the duty ratio of the first level or the second level, specifically comprising: if the duty ratio of the first level or the second level is equal to the preset value, according to the first duration or the second Determining and outputting a frequency control word, wherein the preset value is a duty ratio of a carrier for carrying a signal in the communication system; if a duty ratio of the first level or the second level is not equal to The preset value outputs the same frequency control word as the previous frequency control word. Further, determining the first voltage signal according to the first duration, or determining the second voltage signal according to the second duration; according to the first voltage signal or the second voltage signal, at the voltage signal and the frequency Query in the correspondence table of the control word, determine The frequency control word is output. In a second aspect, a device for carrier synchronization is provided, which can be used for carrier synchronization. The device includes: a zero-crossing comparison module, configured to perform zero-cross comparison on a modulated signal, and output a first power when the amplitude of the modulated signal is greater than zero. Level, when the amplitude of the modulation signal is less than zero, outputting a second level, wherein the first level is higher than the second level; the edge capture module is configured to determine a level change point of the output after the zero-cross comparison, and When the output after the zero-cross comparison is changed from the first level to the second level, the first pulse signal is output, and when the output after the zero-cross comparison is changed from the second level to the first level, the second pulse signal is output; a frequency control module, configured to output a frequency control word according to the first pulse signal and the second pulse signal; a carrier synthesis module, configured to synthesize a carrier according to the frequency control word; and a phase difference cancellation module, configured to use the synthesized carrier And a phase difference of the modulated signal, the phase difference is eliminated by phase shifting the synthesized carrier. With reference to the second aspect, in a first possible implementation, the device further includes: a carrier separation module, configured to divide the phase-shifted carrier into a first path carrier and a second path carrier; a module, configured to perform mixing processing on the first carrier and the modulated signal; and a second mixing processing module, configured to perform 90 on the second carrier. Phase shifting, and mixing the phased second carrier with the modulated signal. With reference to the second aspect, and the first possible implementation manner of the second aspect, in a second possible implementation, the frequency control module is specifically configured to: determine a phase according to the first pulse signal and the second pulse signal The first duration and the second duration of the adjacent first level and the second level respectively output a frequency control word according to the first duration and the second duration. With reference to the second aspect, and the first and second possible implementation manners of the second aspect, in a third possible implementation, the frequency control module is specifically configured to: according to the first pulse signal and the second pulse a signal determining a duty ratio of the first level or the second level; and outputting the frequency control word according to the duty ratio of the first level or the second level. The frequency control module is specifically configured to: determine a duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal; and occupy a space according to the first level or the second level Ratio, output frequency control word. More specifically, the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a first duration and a second duration corresponding to each of the adjacent first level and the second level According to the first duration and a second duration, determining a duty ratio of the first level or the second level; if the duty ratio of the first level or the second level is equal to the preset value, determining according to the first duration or the second duration And outputting a frequency control word, where the preset value is a duty ratio of a carrier used to carry a signal in the communication system; if a duty ratio of the first level or the second level is not equal to the preset value, The same frequency control word as the previous frequency control word is output. The method and device for carrier synchronization provided by the embodiments of the present invention use an open-loop carrier synchronization structure to perform zero-cross comparison of the received modulated signals, edge capture, duty ratio determination, frequency control, carrier synthesis, and shift. The phase processing and the like directly extract the carrier of the signal from the received modulated signal. The open-loop carrier synchronization structure shortens the carrier synchronization delay and improves the performance of the TDD system. DRAWINGS

实施例或现有技术描述中所需要使用的附图做一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。 The drawings used in the embodiments or the description of the prior art are briefly described. It is obvious that the drawings in the following description are some embodiments of the present invention, and are not creative to those skilled in the art. Other drawings can also be obtained from these drawings on the premise of labor.

图 1为 TDD帧中时隙结构的示意图;  1 is a schematic diagram of a slot structure in a TDD frame;

图 2为 TDD帧中时隙保护间隔结构的示意图;  2 is a schematic diagram of a slot guard interval structure in a TDD frame;

图 3为一种接收机的结构图;  Figure 3 is a structural diagram of a receiver;

图 4为本发明实施例一中载波同步的设备的结构示意图;  4 is a schematic structural diagram of a device for carrier synchronization in Embodiment 1 of the present invention;

图 5为本发明实施例二中载波同步的方法的流程图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。  FIG. 5 is a flowchart of a method for carrier synchronization in Embodiment 2 of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

实施例一: 本发明实施例提供一种载波同步的设备, 可以应用于如图 3所示的接收机中, 作为该接收机的载波同步模块。 接收机接收到通信信 号, 需要对接收到的信号做处理, 才能恢复传输的信号。 如图 3所示, 接 收机处理过程大致包括以下步骤: 信号接收, 信号滤波, 信号放大, 混频, 载波同步, 模数转换, 解调信号。 当然, 本发明实施例提供的设备也可以 应用于其他通信装置, 作为其实现载波同步功能的组成部分, 或者也可以 独立作为一个器件实现载波同步, 对此本发明实施例不做限制。 载波同步, 又称为载波恢复, 即在接收装置中产生一个和接收到的调 制信号的载波同频同相的本地载波, 供给解调器作相干解调用。 本实施例提供的载波同步的设备包括过零比较模块、 边沿捕捉模块、 频率控制模块、 载波合成模块、 相差消除模块。 可选的, 还可进一步包括 载波分离模块、 第一混频处理模块、 第二混频处理模块。 如图 4所示, 过零比较模块, 用于对调制信号进行过零比较, 并在调制 信号幅度大于零时, 输出第一电平, 在调制信号的幅度小于零时, 输出第二 电平, 其中, 第一电平高于第二电平; 边沿捕捉模块, 用于确定过零比较后 的输出的电平变化点, 并在过零比较后的输出由第一电平变为第二电平时, 输出第一脉冲信号, 在过零比较后的输出由第二电平变为第一电平时, 输出 第二脉冲信号; 频率控制模块, 用于根据所述第一脉冲信号和第二脉冲信号, 输出频率控制字; 载波合成模块, 用于根据所述频率控制字, 合成载波; 相 差消除模块, 用于根据合成的载波和所述调制信号的相位差, 通过对合成的 载波进行移相消除所述相位差。 具体的, 所述频率控制模块具体用于: 根据所述第一脉冲信号和第二脉 冲信号, 确定相邻的第一电平和第二电平各自对应的第一持续时间和第二持 续时间, 根据所述第一持续时间和第二持续时间, 输出频率控制字。 或者, 所述频率控制模块具体用于: 根据所述第一脉冲信号和第二脉冲信号, 确定 第一电平或第二电平的占空比; 根据第一电平或第二电平的占空比, 输出频 率控制字。 再具体的, 所述频率控制模块具体用于: 根据所述第一脉冲信号和第二 脉冲信号, 确定相邻的第一电平和第二电平各自对应的第一持续时间和第二 持续时间, 根据所述第一持续时间和第二持续时间, 确定第一电平或第二电 平的占空比; 若第一电平或第二电平的占空比等于预设值, 根据第一持续时 间或第二持续时间确定并输出频率控制字, 所述预设值为所述通信系统中用 于承载信号的载波的占空比; 若第一电平或第二电平的占空比不等于所述预 设值, 输出与上一个频率控制字相同的频率控制字。 这里所说的根据第一持续时间或第二持续时间确定并输出频率控制字, 具体是指: 根据所述第一持续时间确定第一电压信号, 或, 根据所述第二持 续时间确定第二电压信号, 根据所述第一电压信号或第二电压信号, 在电压 信号与频率控制字的对应关系表中查询, 确定所述频率控制字并输出。 进一步的, 该载波同步的设备还包括: 载波分离模块, 用于将经过移相 后的载波分成第一路载波和第二路载波; 第一混频处理模块, 用于将第一路 载波与调制信号进行混频处理; 第二混频处理模块, 用于对第二路载波进行 90° 移相, 并将移相后的第二路载波与调制信号进行混频处理。 下面将就各个模块进行具体的阐释。 过零比较模块可以是一个比较器, 或者更进一步的可以是一个过零比 较器。 过零比较模块的阔值电压为 0V, 当其接收到的信号的幅度值大于 0 时, 输出一个恒定的幅度值也即第一电平, 当接收到的信号的幅度值小于 0时, 输出另一个幅度值也即第二电平。 这里所说的幅度值是指电压幅度 值, 可选的, 第一电平可以为正幅度值 +P, 而第二电平为负幅度值 -P。 第 一电平, 第二电平也可以为其他值, 只要两者不同, 能相互区别开即可, 本发明实施例对具体数值不做限制。 边沿捕捉模块, 也可以利用一个比较器实现。 边沿捕捉模块, 对过零 比较模块的输出进行触发, 捕捉到幅度值变化触发边沿, 输出边沿指示信 号。 也就是, 当过零比较模块的输出由第一电平变为第二电平时, 或者由 第二电平变为第一电平时, 边沿捕捉模块输出边沿指示信号。 具体的, 边 沿捕捉的过程表现为电平比较, 当电平发生变化时, 捕捉到幅度值边沿。 以第一电平、 第二电平分别为 +P、 -P为例, 当过零比较模块的输出由 +P 变为 -P时, 边沿捕捉模块输出第一脉冲信号, 当过零比较模块的输出由 -P 变为 +P时, 边沿捕捉模块输出第二脉冲信号。 第一脉冲信号可以是一个 正脉冲, 第二脉冲信号可以是一个负脉冲; 或者, 第二脉冲信号可以是一 个正脉冲, 第一脉冲信号可以是一个负脉冲。 可选的, 频率控制模块, 可以包括两个时钟芯片。 第一脉冲信号触发第 一个时钟芯片开始计时, 第二脉冲信号触发结束计时, 计时持续时间为第一 持续时间; 第二脉冲信号触发第二时钟芯片开始计时, 第一脉冲信号结束计 时, 计时持续时间为第二持续时间。 相应的持续时间可以在时钟芯片内转化 成电压信号。 然后, 根据相应的第一持续时间和第二持续时间, 即可确定生 成载波的频率, 从而输出相应的频率控制字。 当然, 一般情况下, 相应的第 一持续时间和第二持续时间需要先转化为相应的第一电压信号和第二电压信 号, 频率控制模块再根据相应的第一电压信号和第二电压信号, 确定并输出 相应的频率控制字。 可选的, 一个时钟芯片也可实现, 如第一脉冲信号触发 计时, 第二脉冲信号结束计时, 从而获得第二电平的第二持续时间, 频率控 制模块根据第二持续时间的长度以及预先存储的占空比, 确定相应的应该输 出的频率控制字。 比如预先存储的占空比为 50%, 在载波不发生抖动的情况 下, 事实上频率控制模块相当于获得了第一电平的第一持续时间。 另一种可选的方案中, 频率控制模块, 可以先根据所述第一脉冲信号和 第二脉冲信号, 确定第一电平或第二电平的占空比; 再根据第一电平或第二 电平的占空比, 输出频率控制字。 本发明实施例中的占空比用于形容一个周 期内第一电平或第二电平持续的时间占总时间的比例。 第一电平、 第二电平 总是交替出现的,相邻的第一电平和第二电平持续的总时间可称为一个周期。 具体的, 频率控制模块可以包括 2个时钟芯片和一个比较器。 先进行占 空比确定, 或者说占空比测量, 占空比测量可以使用 2个时钟芯片计时: 第 一脉冲信号触发第一个时钟芯片开始计时, 第二脉冲信号触发结束计时, 计 时持续时间为第一持续时间; 第二脉冲信号触发第二时钟芯片开始计时, 第 一脉冲信号结束计时, 计时持续时间为第二持续时间。 相应的持续时间可以 在时钟芯片内转化成电压信号。 通过比较器比较 2个时钟芯片输出的电压信 号, 如果电压值相同, 则占空比为 50%, 否则不等。 总之, 第一持续时间, 能用于表征一个周期内第二电平的持续时间, 第二持续时间用于表征一个周 期内第一电平的持续时间。 当然, 其他方法, 比如, 根据两个或者多个周期内的第一电平或第二电 平持续时间占总时间的比例来确定占空比。 或者, 占空比测量模块也可以只 有一个时钟芯片, 一旦接收到第一脉冲信号、 第二脉冲信号, 即行结束前一 次计时开始下一次计时, 这种方法对于用于承载信号的原始载波的占空比是 50%的情况尤其适用, 因为这种情况下, 第一电平和第二电平的持续时间往 往是相同的。 测得持续时间后, 再通过第一持续时间转化的第一电压值, 及 第二持续时间转化的第二电压值, 确定占空比, 其中相应的电压值跟持续时 间成正比关系。 如果占空比等于预设值, 该预设值为该载波同步的设备所使用的通信 系统中用于承载信号的载波的占空比, 可以根据需要进行设置。 则根据相 应的第一持续时间转化的第一电压信号或者第二持续时间转化的第二电 压信号, 在相应的电压信号与频率控制字的对应关系表中查询。 其中第一 电平的占空比等于第一电平持续时间除以第一电平持续时间与第二电平 持续时间的和, 也等于第一电压信号除以第一电压信号和第二电压信号的 和。 所以当占空比等于预先设定的值时, 只需第一电压信号、 第二电压信 号中的一个, 即可知道另外一个的值, 故只需其中一个电压信号即可在相 应的对应关系表中查询相应的频率控制字, 当然使用两个电压信号也可。 电压信号与频率控制字的对应关系表中的电压信号, 可以是第一电压信 号, 也可以第二电压信号, 还可以是两者的和。 优选的,占空比预先设定的值为 50%。相应的,当确定的占空比为 50% 时, 根据相应的电压信号查询对应关系表, 得到相应的频率控制字; 当确 定的占空比不为 50%时, 则输出与上一个频率控制字相同的频率控制字。 值得说明的是, 一般来说, 占空比正好等于预设值的概率比较小, 如预设 值为 50%, 而占空比为 50.5% , 本领域人员应当理解本实施例中说的 "等 于" 允许一定范围之内的误差。 载波合成模块, 该模块根据频率控制模块输出的频率控制字, 合成并 输出相应的载波。 频率控制字是控制频率发生的字, 改变频率控制字的内 容, 可控制频率的发生和改变。 利用频率控制字, 合成载波为现有技术, 不赘。 Embodiment 1 The embodiment of the present invention provides a device for carrier synchronization, which can be applied to the figure. In the receiver shown in Fig. 3, it serves as a carrier synchronization module of the receiver. The receiver receives the communication signal and needs to process the received signal to recover the transmitted signal. As shown in FIG. 3, the receiver processing process generally includes the following steps: signal reception, signal filtering, signal amplification, mixing, carrier synchronization, analog to digital conversion, and demodulation. Of course, the device provided by the embodiment of the present invention can also be applied to other communication devices, as an integral part of the carrier synchronization function, or can be used as a device to implement carrier synchronization, which is not limited in this embodiment of the present invention. Carrier synchronization, also known as carrier recovery, is to generate a local carrier in the receiving device that is in phase with the carrier of the received modulated signal, and supplies it to the demodulator for coherent demodulation. The device for carrier synchronization provided in this embodiment includes a zero-crossing comparison module, an edge capture module, a frequency control module, a carrier synthesis module, and a phase difference cancellation module. Optionally, the method further includes a carrier separation module, a first mixing processing module, and a second mixing processing module. As shown in FIG. 4, the zero-crossing comparison module is configured to perform a zero-cross comparison of the modulated signal, and output a first level when the amplitude of the modulated signal is greater than zero, and output a second level when the amplitude of the modulated signal is less than zero. Wherein the first level is higher than the second level; the edge capture module is configured to determine a level change point of the output after the zero-cross comparison, and the output after the zero-cross comparison is changed from the first level to the second level At the level, the first pulse signal is output, and when the output after the zero-cross comparison is changed from the second level to the first level, the second pulse signal is output; the frequency control module is configured to: according to the first pulse signal and the second a pulse signal, an output frequency control word; a carrier synthesis module, configured to synthesize a carrier according to the frequency control word; and a phase difference cancellation module, configured to: move the synthesized carrier according to a phase difference between the synthesized carrier and the modulated signal The phase cancels the phase difference. Specifically, the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a first duration and a second duration corresponding to each of the adjacent first level and the second level, A frequency control word is output based on the first duration and the second duration. Or the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a duty ratio of the first level or the second level; according to the first level or the second level Duty cycle, output frequency control word. More specifically, the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, a first duration and a second corresponding to each of the adjacent first level and the second level a duration, determining a duty ratio of the first level or the second level according to the first duration and the second duration; if the duty ratio of the first level or the second level is equal to a preset value, Determining and outputting a frequency control word according to the first duration or the second duration, the preset value being a duty ratio of a carrier for carrying a signal in the communication system; if the first level or the second level The duty ratio is not equal to the preset value, and the same frequency control word as the previous frequency control word is output. Determining and outputting the frequency control word according to the first duration or the second duration, specifically: determining the first voltage signal according to the first duration, or determining the second according to the second duration The voltage signal is queried according to the first voltage signal or the second voltage signal in a correspondence table between the voltage signal and the frequency control word, and the frequency control word is determined and output. Further, the device for carrier synchronization further includes: a carrier separation module, configured to divide the phase-shifted carrier into a first carrier and a second carrier; and a first mixing processing module, configured to: The modulated signal is subjected to mixing processing; the second mixing processing module is configured to perform phase shifting of the second carrier by 90°, and mixing the phase-shifted second carrier with the modulated signal. The specific explanation of each module will be given below. The zero-crossing comparison module can be a comparator, or even further a zero-crossing comparator. The zero-crossing comparison module has a threshold voltage of 0V. When the amplitude value of the received signal is greater than 0, a constant amplitude value is output, that is, the first level. When the amplitude value of the received signal is less than 0, the output is output. The other amplitude value is also the second level. The amplitude value referred to herein refers to a voltage amplitude value. Alternatively, the first level may be a positive amplitude value +P, and the second level may be a negative amplitude value -P. The first level and the second level may also be other values. As long as the two are different, they can be distinguished from each other. The specific values of the embodiments of the present invention are not limited. The edge capture module can also be implemented with a comparator. The edge capture module triggers the output of the zero-crossing comparison module, captures the edge of the amplitude value change trigger, and outputs the edge indication signal. That is, when the output of the zero-crossing comparison module changes from the first level to the second level, or when the second level changes to the first level, the edge capture module outputs an edge indication signal. Specifically, the edge capture process is a level comparison, and when the level changes, the edge of the amplitude value is captured. Taking the first level and the second level as +P and -P respectively, when the output of the zero-crossing comparison module is changed from +P to -P, the edge capture module outputs the first pulse signal, and the zero-crossing comparison module Output by -P When it becomes +P, the edge capture module outputs a second pulse signal. The first pulse signal may be a positive pulse, and the second pulse signal may be a negative pulse; or the second pulse signal may be a positive pulse, and the first pulse signal may be a negative pulse. Optionally, the frequency control module may include two clock chips. The first pulse signal triggers the first clock chip to start timing, the second pulse signal triggers the end timing, and the timing duration is the first duration; the second pulse signal triggers the second clock chip to start timing, and the first pulse signal ends timing, timing The duration is the second duration. The corresponding duration can be converted into a voltage signal within the clock chip. Then, according to the corresponding first duration and the second duration, the frequency of generating the carrier can be determined, thereby outputting the corresponding frequency control word. Certainly, the corresponding first duration and the second duration need to be first converted into corresponding first voltage signals and second voltage signals, and the frequency control module according to the corresponding first voltage signals and second voltage signals, Determine and output the corresponding frequency control word. Optionally, a clock chip can also be implemented, such as the first pulse signal triggering timing, the second pulse signal ending timing, thereby obtaining a second duration of the second level, the frequency control module according to the length of the second duration and the advance The stored duty cycle determines the corresponding frequency control word that should be output. For example, the pre-stored duty cycle is 50%. In the case where the carrier does not shake, in fact, the frequency control module is equivalent to obtaining the first duration of the first level. In another optional solution, the frequency control module may first determine a duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal; The duty cycle of the second level, the output frequency control word. The duty cycle in the embodiment of the present invention is used to describe the ratio of the duration of the first level or the second level in a period to the total time. The first level and the second level are always alternately present, and the total time during which the adjacent first level and the second level continue may be referred to as one period. Specifically, the frequency control module can include two clock chips and one comparator. First, the duty ratio is determined, or the duty ratio is measured. The duty cycle measurement can be timed using two clock chips: the first pulse signal triggers the first clock chip to start timing, the second pulse signal triggers the end timing, and the timing duration For the first duration; the second pulse signal triggers the second clock chip to start timing, the first pulse signal ends the timing, and the timing duration is the second duration. The corresponding duration can be converted into a voltage signal within the clock chip. The comparator outputs the voltage signals output by the two clock chips. If the voltage values are the same, the duty ratio is 50%, otherwise they are not equal. In summary, the first duration can be used to characterize the duration of the second level in one cycle, and the second duration is used to characterize a week The duration of the first level during the period. Of course, other methods, such as determining the duty cycle based on the ratio of the first level or the second level duration in two or more cycles to the total time. Alternatively, the duty cycle measurement module may also have only one clock chip. Once the first pulse signal and the second pulse signal are received, the next timing is started before the end of the line, and the method is used for the original carrier used to carry the signal. The case where the space ratio is 50% is particularly suitable because in this case, the durations of the first level and the second level tend to be the same. After the duration is measured, the duty cycle is determined by the first voltage value converted by the first duration and the second voltage value converted by the second duration, wherein the corresponding voltage value is proportional to the duration. If the duty ratio is equal to the preset value, the preset value is the duty ratio of the carrier used to carry the signal in the communication system used by the device for the carrier synchronization, and can be set as needed. Then, according to the corresponding first voltage converted first voltage signal or the second duration converted second voltage signal, the corresponding voltage signal and the frequency control word correspondence table are queried. Wherein the duty ratio of the first level is equal to the first level duration divided by the sum of the first level duration and the second level duration, and is also equal to the first voltage signal divided by the first voltage signal and the second voltage The sum of the signals. Therefore, when the duty ratio is equal to the preset value, only one of the first voltage signal and the second voltage signal is needed to know the other value, so only one of the voltage signals can be in the corresponding correspondence. The corresponding frequency control word is queried in the table, and of course two voltage signals can be used. The voltage signal in the correspondence table between the voltage signal and the frequency control word may be the first voltage signal, the second voltage signal, or a sum of the two. Preferably, the preset value of the duty ratio is 50%. Correspondingly, when the determined duty ratio is 50%, the corresponding relationship table is queried according to the corresponding voltage signal to obtain a corresponding frequency control word; when the determined duty ratio is not 50%, the output and the previous frequency control are performed. The same frequency control word. It should be noted that, in general, the probability that the duty ratio is exactly equal to the preset value is relatively small, such as a preset value of 50%, and the duty ratio is 50.5%, which should be understood by those skilled in the art. Equal to "allows an error within a certain range. A carrier synthesis module that synthesizes and outputs a corresponding carrier according to a frequency control word output by the frequency control module. The frequency control word is the word that controls the frequency, changes the content of the frequency control word, and controls the occurrence and change of the frequency. Using the frequency control word, the composite carrier is prior art, Not bad.

相差消除模块, 至少包括一个移相器。 由于前面各个步骤处理带来了 相应的延时, 使得频率合成输出的载波频率与承载信号的载波频率存在一 定相位差。 可以使用手动测量的方法, 测量出相位差后, 然后用移相器弥 补合成频率与调制信号的相位差, 使得合成的载波频率与承载信号的载波 频率完全对准。 具体的, 通过手动测量延时后, 用提取的载波频率为基准 转换成对应的相位值, 配置给移相器。 因为延时是相对固定的, 故相应的 相位差只需测量一次, 后续可以一直利用。 可选的, 载波同步的设备还可以包括载波分离模块、 第一混频处理模 块、 第二混频处理模块。 载波分离模块, 可以是功率分波器。 本发明实施例提供的载波同步的设备, 釆用开环式载波提取结构, 无 需反馈式载波提取结构要求的载波稳定时间, 无需等待载波稳定, 提取载 波直接输出, 大幅度减小了载波同步延时。 另外, 该设备避免了对信号的 多次倍频处理, 结构简单, 对硬件要求低, 降低了成本。 同时, 还釆用了 占空比判定方法, 如果信号载波存在相位抖动, 输出前一频率控制字, 从 而保证合成的载波不会跟随错误的载波变化而变化, 抑制了信号的相位抖 动。 实施例二, 如图 6所示, 本发明实施例提供一种载波同步的方法。 该 方法可以用利用实施例一中介绍的设备, 而实施例一种的设备可以利用本 实施例的方法, 两个实施例可以相互印证, 细节上可以相互参详。 该载波同步的方法包括: 对调制信号进行过零比较, 并在调制信号幅度 大于零时, 输出第一电平, 在调制信号的幅度小于零时, 输出第二电平, 其 中, 第一电平高于第二电平; 确定过零比较后的输出的电平变化点, 并在过 零比较后的输出由第一电平变为第二电平时, 输出第一脉冲信号, 在过零比 较后的输出由第二电平变为第一电平时, 输出第二脉冲信号; 根据所述第一 脉冲信号和第二脉冲信号, 输出频率控制字; 根据所述频率控制字, 合成载 波; 可选的, 该方法还可以包括: 将经过移相后的载波分成第一路载波和第 二路载波; 将第一路载波与调制信号进行混频处理; 对第二路载波进行 90。 移相, 并将移相后的第二路载波与调制信号进行混频处理。 具体的, 根据所述第一脉冲信号和第二脉冲信号, 输出频率控制字, 具 体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和第 二电平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间和 第二持续时间, 输出频率控制字。 或者, 可选的, 根据所述第一脉冲信号和第二脉冲信号, 输出频率控制 字, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平或第 二电平的占空比; 根据第一电平或第二电平的占空比, 输出频率控制字。 具 体的, 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平或第二电平的 占空比, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第 一电平和第二电平各自对应的第一持续时间和第二持续时间, 根据所述第一 持续时间和第二持续时间, 确定第一电平或第二电平的占空比; 根据第一电 平或第二电平的占空比, 输出频率控制字, 具体包括: 若第一电平或第二电 平的占空比等于预设值, 根据第一持续时间或第二持续时间确定并输出频率 控制字, 其中, 所述预设值为所述通信系统中用于承载信号的载波的占空比; 若第一电平或第二电平的占空比不等于所述预设值, 输出与上一个频率控制 字相同的频率控制字。 其中, 具体的, 根据第一持续时间或第二持续时间确 定并输出频率控制字, 具体包括: 根据所述第一持续时间确定第一电压信号, 或, 根据所述第二持续时间确定第二电压信号; 根据所述第一电压信号或第 二电压信号, 在电压信号与频率控制字的对应关系表中查询, 确定所述频率 控制字并输出。 进一步的, 根据所述占空比, 输出频率控制字, 具体包括: 若所述占空比等 本发明实施例提供的载波同步的方法, 釆用开环式载波提取结构, 无 需反馈式载波提取结构要求的载波稳定时间, 开环结构的载波同步方法直 接从信号载波中提取载波, 无需等待载波稳定, 提取载波直接输出, 大幅 度减小了载波同步延时。 另外, 该方法避免了对信号的多次倍频处理, 对 硬件要求低, 降低了成本。 同时, 还釆用了占空比判定方法, 如果信号载 波存在相位抖动, 输出前一频率控制字, 从而保证合成的载波不会跟随错 误的载波变化而变化, 抑制了信号的相位抖动。 本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介 最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 The phase difference cancellation module includes at least one phase shifter. Since the previous steps process brings a corresponding delay, the carrier frequency of the frequency synthesis output has a certain phase difference with the carrier frequency of the bearer signal. The phase difference can be measured using a manual measurement method, and then the phase shifter is used to compensate for the phase difference between the synthesized frequency and the modulated signal, so that the combined carrier frequency is perfectly aligned with the carrier frequency of the carrier signal. Specifically, after manually measuring the delay, the extracted carrier frequency is used as a reference to convert to a corresponding phase value, and is configured to the phase shifter. Since the delay is relatively fixed, the corresponding phase difference only needs to be measured once and can be used continuously. Optionally, the device for carrier synchronization may further include a carrier separation module, a first mixing processing module, and a second mixing processing module. The carrier separation module may be a power splitter. The device for carrier synchronization provided by the embodiment of the present invention uses the open-loop carrier extraction structure, and does not need the carrier stabilization time required by the feedback carrier extraction structure, does not need to wait for the carrier to be stable, extracts the direct output of the carrier, and greatly reduces the carrier synchronization delay. Time. In addition, the device avoids multiple frequency doubling of the signal, has a simple structure, low hardware requirements, and reduces cost. At the same time, the duty ratio determination method is also adopted. If the signal carrier has phase jitter, the previous frequency control word is output, thereby ensuring that the synthesized carrier does not change with the wrong carrier variation, and the phase jitter of the signal is suppressed. Embodiment 2 As shown in FIG. 6, an embodiment of the present invention provides a method for carrier synchronization. The method can use the device described in the first embodiment, and the device of the embodiment can use the method of the embodiment. The two embodiments can be mutually verified, and the details can refer to each other. The carrier synchronization method includes: performing a zero-cross comparison on the modulated signal, and outputting a first level when the amplitude of the modulated signal is greater than zero, and outputting a second level when the amplitude of the modulated signal is less than zero, wherein the first electrical Level higher than the second level; determining the level change point of the output after the zero-cross comparison, and outputting the first pulse signal at the zero-crossing when the output after the zero-cross comparison is changed from the first level to the second level The second pulse signal is output when the compared output changes from the second level to the first level; the frequency control word is output according to the first pulse signal and the second pulse signal; and the carrier is synthesized according to the frequency control word; Optionally, the method may further include: dividing the phase-shifted carrier into a first carrier and a first Two-way carrier; mixing the first carrier with the modulated signal; performing 90 for the second carrier. Phase shifting, and mixing the phased second carrier with the modulated signal. Specifically, outputting the frequency control word according to the first pulse signal and the second pulse signal, specifically: determining, according to the first pulse signal and the second pulse signal, adjacent first level and second level Corresponding first duration and second duration, the frequency control word is output according to the first duration and the second duration. Alternatively, optionally, outputting the frequency control word according to the first pulse signal and the second pulse signal, specifically: determining, according to the first pulse signal and the second pulse signal, the first level or the second level Duty cycle; The frequency control word is output according to the duty ratio of the first level or the second level. Specifically, determining the duty ratio of the first level or the second level according to the first pulse signal and the second pulse signal, specifically: determining, by using the first pulse signal and the second pulse signal, determining the adjacent Determining a first level or a second level of the first level and the second level, respectively, determining a duty ratio of the first level or the second level according to the first duration and the second duration; Outputting the frequency control word according to the duty ratio of the first level or the second level, specifically comprising: if the duty ratio of the first level or the second level is equal to the preset value, according to the first duration or the second Determining and outputting a frequency control word, wherein the preset value is a duty ratio of a carrier for carrying a signal in the communication system; if a duty ratio of the first level or the second level is not equal to The preset value outputs the same frequency control word as the previous frequency control word. Specifically, determining, according to the first duration or the second duration, the frequency control word, specifically: determining the first voltage signal according to the first duration, or determining the second according to the second duration The voltage signal is queried according to the first voltage signal or the second voltage signal in a correspondence table between the voltage signal and the frequency control word, and the frequency control word is determined and output. Further, the frequency control word is output according to the duty ratio, and specifically includes: if the duty ratio is the carrier synchronization method provided by the embodiment of the present invention, the open loop carrier extraction structure is used, and no feedback carrier extraction is needed. The carrier stabilization time required by the structure, the carrier synchronization method of the open-loop structure directly extracts the carrier from the signal carrier, does not need to wait for the carrier to be stable, extracts the direct output of the carrier, and greatly reduces the carrier synchronization delay. In addition, the method avoids multiple frequency doubling of the signal, has low hardware requirements, and reduces cost. At the same time, the duty ratio determination method is also used. If the signal carrier has phase jitter, the previous frequency control word is output, thereby ensuring that the synthesized carrier does not follow the error. The erroneous carrier changes and changes the phase jitter of the signal. A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., which can store various program codes. Finally, the above embodiments are only used to illustrate the technology of the present invention. The invention is not limited thereto; although the invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions described in the foregoing embodiments may still be modified, or Some or all of the technical features are equivalently substituted; and the modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 claims 1、 一种载波同步的方法, 应用于通信系统中, 其特征在于, 所述方法包 括: 对调制信号进行过零比较, 并在调制信号幅度大于零时, 输出第一电平, 在调制信号的幅度小于零时, 输出第二电平, 其中, 第一电平高于第二电平; 确定过零比较后的输出的电平变化点, 并在过零比较后的输出由第一电 平变为第二电平时, 输出第一脉冲信号, 在过零比较后的输出由第二电平变 为第一电平时, 输出第二脉冲信号; 根据所述第一脉冲信号和第二脉冲信号 , 输出频率控制字; 根据所述频率控制字, 合成载波; 根据合成的载波和所述调制信号的相位差, 通过对合成的载波进行移相 消除所述相位差。 1. A carrier synchronization method, applied in communication systems, characterized in that the method includes: performing a zero-crossing comparison on the modulated signal, and when the amplitude of the modulated signal is greater than zero, outputting the first level, when the modulated signal When the amplitude is less than zero, the second level is output, where the first level is higher than the second level; the level change point of the output after the zero-crossing comparison is determined, and the output after the zero-crossing comparison is determined by the first level. When the level changes to the second level, the first pulse signal is output, and when the output after the zero-crossing comparison changes from the second level to the first level, the second pulse signal is output; According to the first pulse signal and the second pulse signal, output a frequency control word; synthesize a carrier wave according to the frequency control word; eliminate the phase difference by phase-shifting the synthesized carrier wave according to the phase difference between the synthesized carrier wave and the modulation signal. 2、 根据权利要求 1所述方法, 其特征在于, 所述方法还包括: 将经过移相后的载波分成第一路载波和第二路载波; 将第一路载波与调制信号进行混频处理; 对第二路载波进行 90。 移相, 并将移相后的第二路载波与调制信号进行 混频处理。 2. The method according to claim 1, characterized in that, the method further includes: dividing the phase-shifted carrier into a first carrier and a second carrier; performing frequency mixing processing on the first carrier and the modulated signal ; Perform 90 on the second carrier. Phase shift, and mix the phase-shifted second carrier with the modulated signal. 3、 根据权利要求 1或 2所述方法, 其特征在于, 根据所述第一脉冲信号 和第二脉冲信号, 输出频率控制字, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和第二电 平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间和第二 持续时间, 输出频率控制字。 3. The method according to claim 1 or 2, characterized in that, according to the first pulse signal and the second pulse signal, outputting a frequency control word specifically includes: according to the first pulse signal and the second pulse signal, The first duration and the second duration respectively corresponding to the adjacent first level and the second level are determined, and the frequency control word is output according to the first duration and the second duration. 4、 根据权利要求 1或 2所述方法, 其特征在于, 根据所述第一脉冲信号 和第二脉冲信号, 输出频率控制字, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平或第二电平的占 空比; 根据第一电平或第二电平的占空比, 输出频率控制字。 4. The method according to claim 1 or 2, characterized in that, according to the first pulse signal and the second pulse signal, outputting a frequency control word specifically includes: According to the first pulse signal and the second pulse signal, the duty cycle of the first level or the second level is determined; according to the duty cycle of the first level or the second level, the frequency control word is output. 5、 根据权利要求 4所述方法, 其特征在于, 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平或第二电平的占 空比, 具体包括: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一 电平和第二电平各自对应的第一持续时间和第二持续时间, 根据所述第一持 续时间和第二持续时间, 确定第一电平或第二电平的占空比; 根据第一电平或第二电平的占空比, 输出频率控制字, 具体包括: 若第 一电平或第二电平的占空比等于预设值, 根据第一持续时间或第二持续时间 确定并输出频率控制字, 其中, 所述预设值为所述通信系统中用于承载信号 的载波的占空比; 若第一电平或第二电平的占空比不等于所述预设值, 输出 与上一个频率控制字相同的频率控制字。 5. The method according to claim 4, wherein determining the duty cycle of the first level or the second level according to the first pulse signal and the second pulse signal specifically includes: according to the first pulse signal The pulse signal and the second pulse signal determine the first duration and the second duration corresponding to the adjacent first level and the second level respectively, and determine the first level based on the first duration and the second duration. The duty cycle of the first level or the second level; According to the duty cycle of the first level or the second level, the output frequency control word specifically includes: If the duty cycle of the first level or the second level is equal to the preset Set a value, determine and output the frequency control word according to the first duration or the second duration, wherein the preset value is the duty cycle of the carrier used to carry signals in the communication system; if the first level or The duty cycle of the second level is not equal to the preset value, and the same frequency control word as the previous frequency control word is output. 6、 根据权利要求 5所述方法, 其特征在于, 根据第一持续时间或第二持 续时间确定并输出频率控制字, 具体包括: 根据所述第一持续时间确定第一电压信号, 或, 根据所述第二持续时间 确定第二电压信号; 根据所述第一电压信号或第二电压信号, 在电压信号与频率控制字的对 应关系表中查询, 确定所述频率控制字并输出。 6. The method according to claim 5, characterized in that, determining and outputting a frequency control word according to the first duration or the second duration, specifically comprising: determining a first voltage signal according to the first duration, or, according to The second duration determines a second voltage signal; according to the first voltage signal or the second voltage signal, the correspondence table between the voltage signal and the frequency control word is queried to determine the frequency control word and output it. 7、 一种载波同步的设备, 所述设备包括: 过零比较模块, 用于对调制信号进行过零比较, 并在调制信号幅度大于 零时, 输出第一电平, 在调制信号的幅度小于零时, 输出第二电平, 其中, 第一电平高于第二电平; 边沿捕捉模块, 用于确定过零比较后的输出的电平变化点, 并在过零比 较后的输出由第一电平变为第二电平时, 输出第一脉冲信号, 在过零比较后 的输出由第二电平变为第一电平时, 输出第二脉冲信号; 频率控制模块, 用于根据所述第一脉冲信号和第二脉冲信号, 输出频率 控制字; 载波合成模块, 用于根据所述频率控制字, 合成载波; 相差消除模块, 用于根据合成的载波和所述调制信号的相位差, 通过对 合成的载波进行移相消除所述相位差。 7. A carrier synchronization device, the device includes: a zero-crossing comparison module, used to perform zero-crossing comparison on the modulation signal, and output the first level when the amplitude of the modulation signal is greater than zero, and when the amplitude of the modulation signal is less than When zero, the second level is output, where the first level is higher than the second level; the edge capture module is used to determine the level change point of the output after zero-crossing comparison, and the output after zero-crossing comparison is When the first level changes to the second level, the first pulse signal is output, and when the output after the zero-crossing comparison changes from the second level to the first level, the second pulse signal is output; The frequency control module is used to output the frequency control word according to the first pulse signal and the second pulse signal; the carrier synthesis module is used to synthesize the carrier according to the frequency control word; the phase difference elimination module is used to synthesize the carrier according to the synthesized carrier and the phase difference of the modulated signal, and the phase difference is eliminated by phase-shifting the synthesized carrier wave. 8、 根据权利要求 7所述设备, 其特征在于, 所述设备还包括: 载波分离模块,用于将经过移相后的载波分成第一路载波和第二路载波; 第一混频处理模块, 用于将第一路载波与调制信号进行混频处理; 第二混频处理模块, 用于对第二路载波进行 90。 移相, 并将移相后的第 二路载波与调制信号进行混频处理。 8. The device according to claim 7, characterized in that, the device further includes: a carrier separation module, used to divide the phase-shifted carrier into a first carrier and a second carrier; a first mixing processing module , used for mixing the first carrier and the modulated signal; the second mixing processing module is used for 90 the second carrier. The phase is shifted, and the phase-shifted second carrier wave and the modulated signal are mixed. 9、 根据权利要求 7或 8所述设备, 其特征在于, 所述频率控制模块具体 用于: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和第二电 平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间和第二 持续时间, 输出频率控制字。 9. The device according to claim 7 or 8, characterized in that the frequency control module is specifically configured to: determine the adjacent first level and the second level according to the first pulse signal and the second pulse signal. The frequency control word is output according to the first duration and the second duration respectively corresponding to the first duration and the second duration. 10、 根据权利要求 7或 8所述设备, 其特征在于, 所述频率控制模块具 体用于: 根据所述第一脉冲信号和第二脉冲信号, 确定第一电平或第二电平的占 空比; 根据第一电平或第二电平的占空比, 输出频率控制字。 10. The device according to claim 7 or 8, characterized in that the frequency control module is specifically configured to: determine the occupancy of the first level or the second level according to the first pulse signal and the second pulse signal. Duty cycle; According to the duty cycle of the first level or the second level, the frequency control word is output. 11、 根据权利要求 10所述设备, 其特征在于, 所述频率控制模块具体用 于: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和第二电 平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间和第二 持续时间, 确定第一电平或第二电平的占空比; 若第一电平或第二电平的占空比等于预设值, 根据第一持续时间或第二 持续时间确定并输出频率控制字, 所述预设值为所述通信系统中用于承载信 号的载波的占空比; 若第一电平或第二电平的占空比不等于所述预设值, 输 出与上一个频率控制字相同的频率控制字。 11. The device according to claim 10, characterized in that, the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, the adjacent first level and the second level corresponding to each other. The first duration and the second duration, determine the duty cycle of the first level or the second level according to the first duration and the second duration; If the duty cycle of the first level or the second level is equal to a preset value, the frequency control word is determined and output according to the first duration or the second duration. The preset value is used to carry the frequency in the communication system. The duty cycle of the carrier wave of the signal; if the duty cycle of the first level or the second level is not equal to the preset value, output the same frequency control word as the previous frequency control word. 12、 根据权利要求 10所述设备, 其特征在于, 所述频率控制模块具体用 于: 根据所述第一脉冲信号和第二脉冲信号, 确定相邻的第一电平和第二电 平各自对应的第一持续时间和第二持续时间, 根据所述第一持续时间和第二 持续时间, 确定第一电平或第二电平的占空比; 若第一电平或第二电平的占空比等于预设值, 根据所述第一持续时间确 定第一电压信号, 或, 根据所述第二持续时间确定第二电压信号, 根据所述 第一电压信号或第二电压信号, 在电压信号与频率控制字的对应关系表中查 询, 确定所述频率控制字并输出; 若第一电平或第二电平的占空比不等于所 述预设值, 输出与上一个频率控制字相同的频率控制字。 12. The device according to claim 10, characterized in that, the frequency control module is specifically configured to: determine, according to the first pulse signal and the second pulse signal, the adjacent first level and the second level corresponding to each other. The first duration and the second duration, determine the duty cycle of the first level or the second level according to the first duration and the second duration; if the first level or the second level The duty cycle is equal to the preset value, the first voltage signal is determined according to the first duration, or the second voltage signal is determined according to the second duration, and the first voltage signal or the second voltage signal is determined according to the first voltage signal or the second voltage signal. Query the corresponding relationship between the voltage signal and the frequency control word in the table to determine the frequency control word and output it; if the duty cycle of the first level or the second level is not equal to the preset value, the output is the same as the previous frequency control word. words are the same as the frequency control words.
PCT/CN2013/074932 2013-04-28 2013-04-28 Carrier synchronization method and device Ceased WO2014176719A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/074932 WO2014176719A1 (en) 2013-04-28 2013-04-28 Carrier synchronization method and device
CN201380000213.8A CN103518347B (en) 2013-04-28 A kind of method and apparatus of carrier synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/074932 WO2014176719A1 (en) 2013-04-28 2013-04-28 Carrier synchronization method and device

Publications (1)

Publication Number Publication Date
WO2014176719A1 true WO2014176719A1 (en) 2014-11-06

Family

ID=49899386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/074932 Ceased WO2014176719A1 (en) 2013-04-28 2013-04-28 Carrier synchronization method and device

Country Status (1)

Country Link
WO (1) WO2014176719A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459178A (en) * 2000-04-17 2003-11-26 爱特梅尔股份有限公司 Direct digital synthesis in QAM demodulator
CN101345886A (en) * 2008-09-03 2009-01-14 华为技术有限公司 Method and device for phase error correction
US20090052586A1 (en) * 2007-08-20 2009-02-26 Seiko Epson Corporation Pulse receiving circuit, pulse receiving method and pulse wireless communication device
CN101867470A (en) * 2010-04-22 2010-10-20 北京大学 Download Wave Synchronization Device and Method under High Dynamic Condition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459178A (en) * 2000-04-17 2003-11-26 爱特梅尔股份有限公司 Direct digital synthesis in QAM demodulator
US20090052586A1 (en) * 2007-08-20 2009-02-26 Seiko Epson Corporation Pulse receiving circuit, pulse receiving method and pulse wireless communication device
CN101345886A (en) * 2008-09-03 2009-01-14 华为技术有限公司 Method and device for phase error correction
CN101867470A (en) * 2010-04-22 2010-10-20 北京大学 Download Wave Synchronization Device and Method under High Dynamic Condition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HE, XU ET AL.: "DESIGN AND REALIZATION OF DIGITAL DESPREAD-DEMODULATOR BASED ON FPGA", MODERN ELECTRONICS TECHNIQUE, 31 December 2008 (2008-12-31), pages 43 - 35 *

Also Published As

Publication number Publication date
CN103518347A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
US20090180524A1 (en) Device and method for fast transition from preamble synchronization to data demodulation in direct sequence spread spectrum (DSSS) communications
WO2011100889A1 (en) Apparatus and method for clock recovery
CN111989877B (en) Apparatus and receiver for performing synchronization in analog spread spectrum system
CN101415080A (en) Data aided detection of spectrum inversion
CN105049150A (en) Signal processing method of adaptive rate and signal processing device of adaptive rate
US9774412B2 (en) Carrier synchronization method, circuit, and system
CN110636022A (en) A signal receiving method and device for lowering data demodulation threshold
US8125258B2 (en) Phase synchronization device and phase synchronization method
CN103873415B (en) Frequency deviation estimating method, device and receiver
RU2431919C1 (en) Correlation receiver of noise-like signals
CN101686477B (en) Method for detecting frequency errors of sampling clock, device and system thereof
JPH05219016A (en) Transmitting and receiving circuit
US8861648B2 (en) Receiving device and demodulation device
CN101098555B (en) Multi-mode self-adaptive direct spread communication system and method
JP2024531789A (en) Encoding method, decoding method, encoding circuit, and decoding circuit for single channel communication
WO2014176719A1 (en) Carrier synchronization method and device
TWI699091B (en) Pll with clock and data recovery function for receiver phase synchronization
CN103812505A (en) Bit synchronization lock detector
CN105230088A (en) asynchronous TDD system phase synchronization method and device
CN115694603B (en) Communication measurement integrated system and method for high-speed continuous communication service
CN103518347B (en) A kind of method and apparatus of carrier synchronization
CN114374590B (en) Symbol timing synchronization optimization method based on single-channel pilot frequency
US8102948B2 (en) Carrier recovery apparatus and method thereof
JP2009089061A (en) Receiver and frequency hopping synchronization method
WO2005112381A1 (en) Radio communication device, demodulation method, and frequency deflection correction circuit

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: 13883650

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: 13883650

Country of ref document: EP

Kind code of ref document: A1