CN105119657B - High speed multi-rate adaptation rate detection circuit and method - Google Patents

High speed multi-rate adaptation rate detection circuit and method Download PDF

Info

Publication number
CN105119657B
CN105119657B CN 201510583154 CN201510583154A CN105119657B CN 105119657 B CN105119657 B CN 105119657B CN 201510583154 CN201510583154 CN 201510583154 CN 201510583154 A CN201510583154 A CN 201510583154A CN 105119657 B CN105119657 B CN 105119657B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
frequency
ac power
numerical control
detection circuit
power meter
Prior art date
Application number
CN 201510583154
Other languages
Chinese (zh)
Other versions
CN105119657A (en )
Inventor
王亚丽
张品华
Original Assignee
武汉恒泰通技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明适用于光通信领域,提供了一种高速多速率自适应速率检测电路,其中,MCU控制器连接AC功率计、数控晶振和锁定检测电路,具体的:AC功率计,用于通过计算输入数据信号的低频分量中存在的总的功率,并输出平均电压;MCU控制器,用于根据所AC功率计输入的平均电压,获取用于输入给数控晶振的初始频率;MCU控制器还用于接收锁定检测电路的触发消息,并调用AC功率计重新计算数控晶振的初始频率;锁定检测电路,用于比较数控晶振的工作频率和输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给MCU控制器。 The present invention is applicable to optical communications, there is provided a high-speed multi-rate adaptation rate detecting circuit, wherein, the MCU controller is connected to an AC power meter, numerical control oscillator and the lock detecting circuit, specifically: AC power meter, by calculating the input the total power of low frequency components of the data signal is present, and outputs the average voltage; the MCU controller for the average voltage of the AC power meter input, obtain the initial frequency input to the numerical control of the crystal; the MCU controller is further configured receiving the locking trigger message detection circuit, and calls the AC power initial frequency meter recalculated numerical crystal; lock detection circuit for the working frequency and the frequency of the input data signal is relatively NC crystal, if the difference in frequency exceeds a predetermined threshold, transmission trigger message to the MCU controller. 本发明实施例提供的检测电路降低了系统版本维护成本和质量风险,提高了系统维护和升级的便利性。 A detection circuit provided in the embodiment of the present invention reduces the system version maintenance costs and quality risks, improving convenience of system maintenance and upgrades.

Description

高速多速率自适应速率检测电路及方法 High speed multi-rate adaptation rate detection circuit and method

技术领域 FIELD

[0001] 本发明属于光通信领域,尤其涉及高速多速率自适应速率检测电路及方法。 [0001] The present invention belongs to the field of optical communication, in particular, to high-speed multi-rate adaptation rate detecting circuit and method.

背景技术 Background technique

[0002] 光模块是光纤通信系统的核心元器件。 它的作用就是光电转换,发送端把电信号转换成光信号,通过光纤传送后,接收端再把光信号转换成电信号。 Its role is to photoelectric conversion, the transmit end converts electrical signals into optical signals, after the through optical fiber transmission, the receiving end then converts the optical signal into an electrical signal.其性能好坏将直接影响到光通信系统能否正常工作,从而影响用户之间的通信。随着3G、4G无线通信网络的发展, 基站之间的互联全面采用光纤,对光模块的需求也大大增长。基站的应用场景,其使用环境较为苛刻,对光模块的性能及可靠性提出了更高的要求。目前基站之间的互联接口标准是CPRI (Common Public Radio Interface) XPRI标准定义了一系列速率,根据最新的CRPI标准v6.0版本,包括CPRI option 1-8(从614.4Mbit/s到10137.6Mbit/s共八种速_。而传统的光模块只支持单一速率,当设备需要多速率后,传统的模块就不能满足使用要求,需要重复购置多个不同速率的光模块。这样给使用者带来非常大的不便,同时也降低了使用效率。

发明内容 SUMMARY

[0003] 本发明实施例的目的在于提供高速多速率自适应速率检测电路及方法,以解决现有技术中的光模块只支持单一速率,当设备需要多速率后,传统的模块就不能满足使用要求,需要重复购置多个不同速率的光模块,这样给使用者带来非常大的不便,同时也降低了使用效率的问题。 [0003] The object of embodiments of the present invention to provide a high speed multi-rate adaptation rate detection circuit and method to solve the prior art optical module supports only a single rate, when the device needs a multi-rate, conventional modules can not meet the requirements, need to repeat the acquisition of a plurality of different rates of light module, so that to the user bring great inconvenience, but also reduces the problem with efficiency.

[0004] 本发明实施例是这样实现的,一方面本发明实施例提供了一种高速多速率自适应速率检测电路,速率检测电路包括Ac功率计、数控晶振、锁定检测电路和MCU控制器,其中, 所述AC功率计、所述数控晶振以及所述锁定检测电路均与所述MCU控制器连接,具体的: [0004] Embodiments of the present invention is achieved, in one aspect the present invention provides a high-speed multi-rate adaptation rate detecting circuit, a rate detection circuit comprises Ac power meter, numerical control oscillator, a lock detector circuit and MCU controller, wherein the AC power meter, the numerical control oscillator and said lock detection circuit are connected to the MCU controller, specifically:

[0005] 所述AC功率计,用于通过计算输入数据信号的低频分量中存在的总的功率,并根据所述总的功率输出平均电压给所述MCU控制器; [0005] The AC power meter, for a total power of low frequency components by calculating the input data signal is present, and the average output voltage to the MCU controller based on the total power;

[0006] 所述M⑶控制器,用于根据所述AC功率计的平均电压,获取用于输入给数控晶振的初始频率;所述MCU控制器还用于接收锁定检测电路的触发消息,并调用AC功率计重新计算数控晶振的初始频率; [0006] The M⑶ controller for the average voltage of the AC power meter, obtaining the initial frequency of the input to the numerical control oscillator; and the MCU controller further trigger message for receiving a lock detection circuit, and calls AC power meter recalculate the initial frequency NC crystal;

[0007] 所述锁定检测电路,用于比较数控晶振的工作频率和所述输入数据信号的频率, 若频率之差超出预设阈值,发送触发消息给所述MCU控制器。 [0007] The lock detection circuit for comparing the numerical control oscillator operating frequency and the frequency of the input data signal, if the difference between the frequencies exceeds a preset threshold, sending a trigger message to the MCU controller.

[0008] 优选的,所述速率检测电路还包括光电二极管、前置放大器、限幅放大器、低通滤波器,具体的: [0008] Preferably, the rate detection circuit further comprises a photodiode, a preamplifier, a limiter amplifier, a low pass filter, specifically:

[0009] 所述光电二极管、前置放大器、限幅放大器、低通滤波器依次连接,并将过滤后的信号发送给AC功率计,用于计算输入数据信号的低频分量中存在的平均电压。 [0009] The photodiode, a preamplifier, a limiter amplifier, a low pass filter connected in sequence, and transmits the filtered signal to the AC power meter, for averaging the voltage of the low-frequency component calculation input data signal is present.

[0010] 优选的,所述预设阈值具体为lOOOppm。 [0010] Preferably, the predetermined threshold is specifically lOOOppm.

[0011] 优选的,所述低频分量具体为频率小于100M的信号。 [0011] Preferably, the low frequency component particular to a frequency less than the signal of 100M.

[0012]另一方面,本发明实施例还提供了一种高速多速率自适应速率检测方法,所述方法包括AC功率计、数控晶振、锁定检测电路和M⑶控制器,其中,所述ac功率计、所述数控晶振以及所述锁定检测电路均与所述MCU控制器连接,具体的: [0012] On the other hand, embodiments of the present invention further provides a high-speed multi-rate adaptation rate detection method, the method includes an AC power meter, numerical control oscillator, a lock detector circuit and M⑶ controller, wherein said ac power count, the numerical control oscillator and said lock detection circuit are connected to the MCU controller, specifically:

[0013] 所述AC功率计通过计算输入数据信号的低频分量中存在的总的功率,并根据所述总的功率输出电压信号给所述MCU控制器; [0013] The AC power meter by the total power of the low-frequency component of the input data signal is present is calculated, and based on the total power output voltage signal to the MCU controller;

[0014] 所述MCTJ控制器根据所述AC功率计计算出的平均电压,获取用于输入给数控晶振的初始频率; [0014] The MCTJ controller according to the AC power meter calculates the average voltage, to obtain input to numerical control oscillator initial frequency;

[0015]在数控晶振工作过程中,所述锁定检测电路比较数控晶振的工作频率和所述输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给所述MCU控制器; [0015] In the numerical oscillator operation, the lock detection circuit compares the numerical control oscillator operating frequency and the frequency of the input data signal, if the difference between the frequencies exceeds a preset threshold, sending a trigger message to the MCU controller;

[0016]所述MCU控制器接收锁定检测电路的触发消息,并调用AC功率计重新计算数控晶振的初始频率。 [0016] The MCU controller receiving the locking trigger message detection circuit, and calls the AC power initial frequency meter recalculated numerical crystal.

[0017] 优选的,所述M⑶控制器根据所述AC功率计计算出的平均电压,获取用于输入给数控晶振的初始频率之后,还包括: After [0017] Preferably, the average voltage of the M⑶ controller is calculated based on the AC power meter, obtaining the initial frequency of the input to the numerical control oscillator, further comprising:

[0018] 如果数据速率频率大于数据采样速率,则提高数控晶振频率;具体的: [0018] If the data rate frequency greater than the data sampling rate is increased numerical control oscillator frequency; specific:

[0019] 初始时,数控晶振频率以较大的步长递增以支持快速采集;当数控晶振频率接近数据频率时,步长减小,直到数控晶振频率在数据频率的预设范围内。 [0019] Initially, the numerical control oscillator frequency larger step size increments with fast acquisition; when NC oscillation frequency close to the data frequency, the step size is reduced, the inner until the numerical oscillator frequency preset range in frequency data.

[0020] 优选的,所述初始时,数控晶振频率以较大的步长递增以支持快速采集;当数控晶振频率接近数据频率时,步长减小,直到数控晶振频率在数据频率的预设范围内,具体包括: [0020] Preferably, when the initial, NC crystal frequency to a larger step size increments with fast acquisition; when NC oscillation frequency close to the data frequency, the step size is reduced until the numerical oscillator frequency preset frequency data the range comprises:

[0021] 数控晶振频率复位到其范围的下限,内部分频比设置为最低值N=l;频率检测器将该采样速率频率与数据速率频率相比较,若采样速率频率大于数据速率频率,则将N的倍数提尚。 [0021] The numerical control oscillator frequency is reset to the lower limit of its range, the inner portion of the frequency division ratio is set to the minimum value of the N = l; frequency detector the sample rate clock and data rate frequency comparison, if the sampling rate frequency greater than the data rate frequency, the the multiple of N mention yet.

[0022] 优选的,所述预设范围为0_250ppm。 [0022] Preferably, the predetermined range is 0_250ppm.

[0023] 优选的,所述M⑶控制器根据所述AC功率计计算出的平均电压,获取用于输入给数控晶振的初始频率,具体包括: [0023] Preferably, the average voltage of the M⑶ controller is calculated based on the AC power meter, obtaining the initial frequency of the input to the numerical control oscillator, and comprises:

[0024] 所述M⑶控制器根据存储的AC功率计的电压-频率关系表,查找对应所述平均电压下的频率值,并将所述频率值输入给数控晶振作为其初始频率。 [0024] The M⑶ controller according to the voltage of the AC power stored meter - frequency relationship table lookup corresponding to the frequency values ​​of the average voltage and the frequency value input to the numerical control oscillator as its initial frequency.

[0025] 优选的,所述低频分量具体为频率小于100M的信号。 [0025] Preferably, the low frequency component particular to a frequency less than the signal of 100M.

[0026] 本发明实施例提供的高速多速率自适应速率检测电路及方法的有益效果包括:本发明实施例提供的检测电路和方法,解决了相关技术中需要通过不同模块来支持不同数据传输速率,从而导致成本增加以及维护和升级不便的问题,进而降低了系统版本维护成本和质量风险,提高了系统维护和升级的便利性。 [0026] High speed multi-rate adaptation rate circuit and method for detecting an advantageous effect according to an embodiment of the present invention comprises: a detection circuit and method provided by the embodiment of the present invention to solve the related art are required to support different data transmitted through different modules rates , resulting in increased costs as well as maintenance and upgrades inconvenient problem, thereby reducing the system version maintenance costs and the quality of risk, improving convenience system maintenance and upgrades.

附图说明 BRIEF DESCRIPTION

[0027] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, briefly describes the accompanying drawings for embodiments or the prior art required for use in describing the embodiments. Apparently, the following description of the drawings are merely Some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0028] 图1是本发明实施例提供的一种高速多速率自适应速率检测电路的结构示意图; [0028] FIG. 1 is a schematic structural diagram of a high-speed multi-rate adaptation rate detection circuit according to the present invention;

[0029] 图2是本发明实施例提供的一种高速多速率自适应速率检测方法的流程示意图; [0029] FIG. 2 is a high speed according to an embodiment of the present invention, a schematic view of the multi-rate flow adaptation rate detection method;

[0030] 图3是本发明实施例提供的一种AC功率计的电压-频率对应关系图; [0030] FIG. 3 is a voltage for an AC provided by the power meter of the present invention - corresponding to the frequency diagram;

[0031] 图4是本发明实施例提供的一种高速多速率自适应速率检测方法的流程示意图。 [0031] FIG. 4 is a schematic flow diagram of a high-speed multi-rate adaptation rate detection method according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0032] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0032] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter and in conjunction with the accompanying drawings embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0033] 为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。 [0033] In order to describe the technical solutions of the present invention will be illustrated by specific examples.

[0034] 实施例一 [0034] Example a

[0035] 如图1所示为本发明实施例提供的一种高速多速率自适应速率检测电路,由图1可知,本发明提供的一种高速多速率自适应速率检测电路: [0035] FIG present 1 A high speed multi-rate adaptation rate detection circuit provided in the invention, seen from FIG. 1, a high-speed multi-rate adaptation rate according to the present invention provides a detection circuit:

[0036] 本发明实施例是这样实现的,一方面本发明实施例提供了一种高速多速率自适应速率检测电路,速率检测电路包括AC功率计15、数控晶振16、锁定检测电路17和MCU控制器18,其中,所述AC功率计15、所述数控晶振16以及所述锁定检测电路17均与所述MCU控制器18连接,具体的: Embodiment provides a high-speed multi-rate adaptation rate detecting circuit [0036] Embodiments of the present invention is achieved, in one aspect of the present invention, the rate detecting circuit includes an AC power meter 15, numerical control oscillator 16, the lock detection circuit 17 and the MCU the controller 18, wherein the AC power meter 15, the numerical control oscillator 16 and the lock detection circuit 17 are 18 is connected to the MCU controller, specifically:

[0037] 所述AC功率计15,用于通过计算输入数据信号的低频分量中存在的总的功率,并根据所述总的功率输出平均给所述MCU控制器18; [0037] The AC power meter 15, for a total power of low frequency components by calculating the input data signal is present, and the total power output from the average to the MCU controller 18;

[0038] 所述M⑶控制器18,用于根据所述AC功率计15的平均电压,获取用于输入给数控晶振16的初始频率;所述MCU控制器18还用于接收锁定检测电路17的触发消息,并调用AC功率计15重新计算数控晶振16的初始频率; [0038] The M⑶ controller 18, for in an average voltage 15 based on the AC power, obtaining an initial frequency for input to the numerical control oscillator 16; and the MCU controller 18 is also configured to receive a lock detecting circuit 17 trigger message and call AC power meter initial frequency 15 recalculated numerical oscillator 16;

[0039] 所述锁定检测电路17,用于比较数控晶振16的工作频率和所述输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给所述MCU控制器18。 [0039] The lock detection circuit 17 for comparing the numerical control oscillator operating frequency 16 and the frequency of the input data signal, if the difference between the frequencies exceeds a preset threshold, sending a trigger message to the MCU controller 18.

[0040] 本发明实施例提供的检测电路,解决了相关技术中需要通过不同模块来支持不同数据传输速率,从而导致成本增加以及维护和升级不便的问题,进而降低了系统版本维护成本和质量风险,提高了系统维护和升级的便利性。 [0040] The detection circuit according to an embodiment of the present invention to solve the related art are required to support different data transfer rates in different modules, resulting in increased costs as well as maintenance and upgrade inconvenience problem, thus reducing the system version maintenance costs and quality risks to improve the convenience of the system maintenance and upgrades.

[0041]结合本发明实施例存在一种优选的方案,其中,所述速率检测电路还包括光电二极管11、前置放大器12、限幅放大器13、低通滤波器14,如图1所示,具体的: [0041] connection with the present invention there is a preferred embodiment implementation of the program, wherein the rate detection circuit further comprises a photodiode 11, a preamplifier 12, a limiting amplifier 13, low pass filter 14, shown in Figure 1, specific:

[0042] 所述光电二极管11、前置放大器12、限幅放大器13、低通滤波器14依次连接,并将过滤后的信号发送给AC功率计15,用于计算输入数据信号的低频分量中存在的平均电压。 [0042] The photodiode 11, a preamplifier 12, a limiting amplifier 13, low pass filter 14 are connected in turn sends a signal to the AC power meter 15 after the filtration for the low frequency component calculation input data signal the average voltage is present. [0043]结合本发明实施例存在一种优选的方案,其中,所述预设阈值具体为lOOOppm。 [0043] connection with the present invention there is a preferred embodiment scheme, wherein the preset threshold is specifically lOOOppm. [0044]结合本发明实施例存在一种优选的方案,其中,所述低频分量具体为频率小于100M的信号。 [0044] connection with the present invention there is a preferred embodiment embodiment embodiment, wherein said low frequency component particular to a frequency less than the signal of 100M.

[0045] 实施例二 [0045] Second Embodiment

[0046] 本发明实施例还提供了一种高速多速率自适应速率检测方法,所述方法包括AC功率计15、数控晶振16、锁定检测电路17和MCU控制器18,其中,所述AC功率计15、所述数控晶振16以及所述锁定检测电路17均与所述MCU控制器18连接,如图2所示,具体包括以下步骤: [0047] 在步骤2〇1中,所述AC功率计15通过计算输入数据信号的低频分量中存在的总的功率,并根据所述总的功率输出电压信号给所述MCU控制器18。 [0046] The present invention further provides a high-speed multi-rate adaptation rate detection method, the method comprising AC power meter 15, numerical control oscillator 16, the lock detection circuit 17 and the MCU controller 18, wherein said AC power meter 15, the numerical control oscillator 16 and the lock detection circuit 17 are connected to the MCU controller 18, shown in Figure 2, includes the following steps: [0047] in step 2〇1 the AC power meter 15 by the total power of the low-frequency component of the input data signal is present is calculated, and based on the total power output voltage signal to the MCU controller 18.

[0048] 在步骤2〇2中,所述MCU控制器1S根据所述AC功率计15计算出的平均电压,获取用于输入给数控晶振16的初始频率。 [0048] In step 2〇2 the MCU controller 1S in an average voltage 15 is calculated based on the AC power, obtaining an initial frequency input to the numerical control oscillator 16.

[0049] 在步骤203中,在数控晶振16工作过程中,所述锁定检测电路17比较数控晶振16的工作频率和所述输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给所述MCU 控制器18。 [0049] In step 203, the numerical control oscillator 16 during operation of the lock operating frequency and the frequency of the numerical control oscillator 16 of the input data signal detection circuit 17 compares, when the difference in frequency exceeds a preset threshold, sends the trigger message to the MCU controller 18.

[0050] 在步骤204中,所述MCU控制器18接收锁定检测电路17的触发消息,并调用AC功率计15重新计算数控晶振16的初始频率。 [0050] In step 204, the MCU controller 18 receives the lock detecting circuit trigger message 17, and calls the AC power meter initial frequency 15 recalculated numerical oscillator 16.

[0051] 本发明实施例提供的检测方法,解决了相关技术中需要通过不同模块来支持不同数据传输速率,从而导致成本增加以及维护和升级不便的问题,进而降低了系统版本维护成本和质量风险,提高了系统维护和升级的便利性。 [0051] The detection method according to an embodiment of the present invention to solve the related art are required to support different data transfer rates in different modules, resulting in increased costs as well as maintenance and upgrade inconvenience problem, thus reducing the system version maintenance costs and quality risks to improve the convenience of the system maintenance and upgrades.

[0052] 结合本发明实施例存在一种优选的方案,其中,所述MCU控制器18根据所述AC功率计15计算出的输入数据信号的低频分量中存在的平均电压,获取用于输入给数控晶振16的初始频率之后,还包括: [0052] connection with the present invention there is a preferred solution of this embodiment, wherein the MCU controller 18 the average voltage meter 15 calculated input data signal is low-frequency components present in, obtained according to the AC power input to after the numerical control oscillator initial frequency 16, further comprising:

[0053]如果数据速率频率大于数据采样速率,则提高数控晶振16频率;具体的: [0053] If the data rate frequency greater than the data sampling rate is increased numerical control oscillator 16 frequency; specific:

[0054] 结合本发明实施例存在一种优选的方案,其中,数控晶振16频率以较大的步长递增以支持快速采集;当数控晶振16频率接近数据频率时,步长减小,直到数控晶振16频率在数据频率的预设范围内。 [0054] The combined presence of a preferred embodiment embodiment embodiment of the present invention, wherein the numerical control oscillator 16 frequency to a larger step size increments with fast acquisition; when numerical oscillator 16 frequency is close to the data frequency, the step size decreases until NC oscillator 16 frequency is within a predetermined range of the data frequencies.

[0055] 结合本发明实施例存在一种优选的方案,其中,所述初始时,数控晶振16频率以较大的步长递增以支持快速采集;当数控晶振16频率接近数据频率时,步长减小,直到数控晶振16频率在数据频率的预设范围内,具体包括: [0055] The combined presence of a preferred embodiment embodiment embodiment of the present invention, wherein, when the initial, NC oscillator 16 frequency to a larger step size increments with fast acquisition; when numerical oscillator 16 frequency is close to the data frequency, step decreases until the numerical control oscillator 16 frequency is within a predetermined range of the data frequencies, comprises:

[0056]数控晶振16频率复位到其范围的下限,内部分频比设置为最低值N=l;频率检测器将该采样速率频率与数据速率频率相比较,若采样速率频率大于数据速率频率,则将N的倍数提高。 [0056] The numerical control oscillator 16 frequency is reset to the lower limit of its range, the inner portion of the frequency division ratio is set to the minimum value of the N = l; the sampling rate frequency and the data rate frequency detector comparing, when the sampling rate frequency greater than the data rate frequency, it will be a multiple of N increase.

[0057]结合本发明实施例存在一种优选的方案,其中,所述预设范围为0-250ppm。 [0057] connection with the present invention there is a preferred embodiment scheme, wherein the preset range 0-250ppm.

[0058] 结合本发明实施例存在一种优选的方案,其中,所述MCU控制器18根据所述AC功率计I5计算出的输入数据信号的低频分量中存在的平均电压,获取用于输入给数控晶振16的初始频率,具体包括: [0058] connection with the present invention there is a preferred solution of this embodiment, wherein the MCU controller 18 based on the average voltage and low frequency component of the AC power meter I5 calculated input data signal is present, acquiring an input to NC crystal initial frequency 16, comprises:

[0059]所述M⑶控制器18根据存储的AC功率计15的电压-频率关系表,查找对应所述平均电压下的频率值,并将所述频率值输入给数控晶振16作为其初始频率。 [0059] The M⑶ controller 18 count The AC power storage voltage 15 - the frequency table, look up the frequency value corresponding to said average voltage, and to the frequency input to the numerical control oscillator 16 as its initial frequency. 其中,由电压-频率关系表所呈现的曲线图如图3所示。 Wherein the voltage - frequency curve table presented in Figure 3.

[0060]结合本发明实施例存在一种优选的方案,其中,所述低频分量具体为频率小于100M的信号。 [0060] connection with the present invention there is a preferred embodiment embodiment embodiment, wherein said low frequency component particular to a frequency less than the signal of 100M.

[0061] 实施例三 [0061] Example three

[0062]本实施例是基于实施例一和实施例二基础上,结合具体的电路和方法,以较完整的方法流程阐述如何在具体实施环境下实现本发明的方法构思。 [0062] The present embodiment is based on the first embodiment and the second embodiment based on the combination of the specific circuits and methods for a more complete process flow described method of how to implement the present invention in a particular embodiment Environment concept. 如图4所示,具体包括以下执行步骤: 4, includes the following step:

[0063]在步骤3〇1中,光电二极管11接收从光纤发出的输入数据信号,每个输入数据信号具有一个数据速率。 [0063] In step 3〇1, the photodiode 11 receives the input data signals emanating from an optical fiber, each input data signal has a data rate.

[0064]在步骤3〇2中,前置放大器12把输入数据信号放大到适当的电压电平。 [0064] In step 3〇2 pre-amplifier 12 the input data signal is amplified to an appropriate voltage level.

[0065]在步骤3〇3中,M⑶控制器18判断当前是否处于数控晶振工作状态,若否则进入步骤304;若是则进入步骤308。 [0065] In step 3〇3, M⑶ the controller 18 determines whether the current in the numerical oscillator operating state, if otherwise, step 304; if yes, proceeds to step 308.

[0066]在步骤3〇4中,限幅放大器13输入数据信号的电压幅度放大到满足AC功率计的需求范围内。 Voltage amplitude [0066] In step 3〇4, limiting amplifier 13 input data signal is amplified to the meet the AC power meter range of requirements.

[0067] 在步骤305中,低通滤波器14过滤出频率范围l〇〇M范围内的分量信号。 [0067] In step 305, low pass filter 14 filters out the components of the signal within the frequency range l〇〇M range.

[0068]在步骤3〇6中,AC功率计I5通过计算输入数据信号的低频分量中存在的平均电压, 并将该平均电压反馈给MCU控制器18。 [0068] In step 3〇6, the AC power meter I5 by calculating the average input voltage and low frequency components of the data signal is present, and the average voltage is fed back to the MCU controller 18.

[0069]在步骤307中,MCU控制器18根据所述AC功率计15计算出的输入数据信号的低频分量中存在的平均电压,获取用于输入给数控晶振16的初始频率。 [0069] In step 307, MCU controller 18 the average voltage meter 15 calculated input data signal is low-frequency components exist, obtaining the initial frequency of the input to the numerical control oscillator 16 in accordance with the AC power.

[0070]在步骤30S中,在数控晶振16工作过程中,所述锁定检测电路I7比较数控晶振16的工作频率和所述输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给所述MCU 控制器18。 [0070] In Step 30S, the numerical control oscillator 16 during operation, the lock detection circuit I7 operating frequency and frequency of the input data signal comparing numerical oscillator 16, if the difference between the frequencies exceeds a preset threshold, sends the trigger message to the MCU controller 18.

[0071] 在步骤3〇9中,所述M⑶控制器18接收锁定检测电路I7的触发消息,回到步骤301并调用AC功率计15重新计算数控晶振16的初始频率。 [0071] In step 3〇9 the M⑶ controller 18 receives a locking trigger message detection circuit I7, and returns to step 301 and calls the AC power meter initial frequency 15 recalculated numerical oscillator 16.

[0072]本发明实施例提供的检测方法,解决了相关技术中需要通过不同模块来支持不同数据传输速率,从而导致成本增加以及维护和升级不便的问题,进而降低了系统版本维护成本和质量风险,提高了系统维护和升级的便利性。 [0072] The detection method according to an embodiment of the present invention to solve the related art are required to support different data transfer rates in different modules, resulting in increased costs as well as maintenance and upgrade inconvenience problem, thus reducing the system version maintenance costs and quality risks to improve the convenience of the system maintenance and upgrades.

[0073] 本领域普通技术人员还可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,包括R0M/RAM、磁盘、光盘等。 [0073] Those of ordinary skill in the art can also be appreciated, to achieve the above embodiments of the method that all or part of the steps may be relevant hardware instructed by a program, the program may be stored in a computer readable storage medium. storage medium, comprising R0M / RAM, magnetic disk, optical disk.

[0074]以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0074] The foregoing is only the present invention, preferred embodiments only, not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present within the scope of the invention.

Claims (10)

  1. 1. 一种高速多速率自适应速率检测电路,其特征在于,所述速率检测电路包括AC功率计、数控晶振、锁定检测电路和MCU控制器,其中,所述AC功率计、所述数控晶振以及所述锁定检测电路均与所述MCU控制器连接,具体的: 所述AC功率计,用于通过计算输入数据信号的低频分量中存在的总的功率,并根据所述总的功率输出平均电压给所述MCU控制器; 所述MCU控制器,用于根据所述AC功率计的平均电压,获取用于输入给数控晶振的初始频率;所述MCU控制器还用于接收锁定检测电路的触发消息,并调用AC功率计重新计算数控晶振的初始频率; 所述锁定检测电路,用于比较数控晶振的工作频率和所述输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给所述MCU控制器。 1. A high speed multi-rate adaptation rate detection circuit, characterized in that said rate detection circuit includes an AC power meter, numerical control oscillator, a lock detector circuit and MCU controller, wherein the AC power meter, the numerical control oscillator and the lock detection circuit are connected to the MCU controller, specifically: the AC power meter, for a total power by calculating the present low-frequency component of the input data signal, and outputs an average based on the total power voltage to the MCU controller; the MCU controller, according to the average voltage of the AC power meter, obtaining an initial frequency for input to the numerical control oscillator; and the MCU controller is further configured to receive a lock detecting circuit trigger message and call AC power meter an initial frequency re-calculated numerical crystal; the lock detection circuit for comparing the numerical control oscillator operating frequency and the frequency of the input data signal, if the difference between the frequencies exceeds a preset threshold, sends the trigger message to the MCU controller.
  2. 2. 根据权利要求1所述的检测电路,其特征在于,所述速率检测电路还包括光电二极管、前置放大器、限幅放大器、低通滤波器,具体的: 所述光电二极管、前置放大器、限幅放大器、低通滤波器依次连接,并将过滤后的信号发送给AC功率计,用于计算输入数据信号的低频分量中存在的平均电压。 2. The detection circuit according to claim 1, characterized in that said rate detection circuit further comprises a photodiode, a preamplifier, a limiter amplifier, a low pass filter, specifically: the photodiode preamplifier limiting amplifier, a low pass filter connected in sequence, and transmits the filtered signal to the AC power meter, for averaging the voltage of the low-frequency component calculation input data signal is present.
  3. 3. 根据权利要求1所述的检测电路,其特征在于,所述预设阈值具体为lOOOppm。 3. The detection circuit according to claim 1, wherein said preset threshold is specifically lOOOppm.
  4. 4. 根据权利要求1-3任一所述的检测电路,其特征在于,所述低频分量具体为频率小于100M的信号。 According to any one of claims 1-3 Detect circuit according to claim, wherein said low frequency component specific signal frequency is less than the 100M.
  5. 5. —种高速多速率自适应速率检测方法,其特征在于,所述方法采用AC功率计、数控晶振、锁定检测电路和M⑶控制器,其中,所述AC功率计、所述数控晶振以及所述锁定检测电路均与所述MCU控制器连接,具体的: 所述AC功率计通过计算输入数据信号的低频分量中存在的总的功率,并根据所述总的功率输出平均电压给所述MCU控制器; 所述MCU控制器根据所述AC功率计计算出的平均电压,获取用于输入给数控晶振的初始频率; 在数控晶振工作过程中,所述锁定检测电路比较数控晶振的工作频率和所述输入数据信号的频率,若频率之差超出预设阈值,发送触发消息给所述MCU控制器; 所述MCU控制器接收锁定检测电路的触发消息,并调用AC功率计重新计算数控晶振的初始频率。 5. - kind of high-speed multi-rate adaptation rate detection method, wherein the method employs AC power meter, numerical control oscillator, a lock detector circuit and M⑶ controller, wherein the AC power meter, the numerical control oscillator and the said lock detection circuit are connected to the MCU controller, specifically: the AC power of the total power calculating low-frequency component of the input data signal by the presence of, and according to the total power output of the average voltage to the MCU a controller; the MCU controller based on the average voltage of the AC power meter calculated, obtaining the initial frequency of the input to the numerical control crystal; NC crystal during operation of the lock detection circuit compares the numerical control oscillator operating frequency and frequency of the input data signal, if the difference between the frequencies exceeds a preset threshold, sending a trigger message to the MCU controller; the MCU controller receiving the locking trigger message detection circuit, and calls the AC power meter recalculated numerical crystal The initial frequency.
  6. 6. 根据权利要求5所述的方法,其特征在于,所述MCU控制器根据所述AC功率计计算出的平均电压,获取用于输入给数控晶振的初始频率之后,还包括: 如果数据速率频率大于数据采样速率,则提高数控晶振频率;具体的: 初始时,数控晶振频率以较大的步长递增以支持快速采集;当数控晶振频率接近数据频率时,步长减小,直到数控晶振频率在数据频率的预设范围内。 After 6. A method as claimed in claim, wherein the MCU controller based on the average voltage of the AC power meter calculated, obtaining the initial frequency of the input to the numerical control oscillator, further comprising: if the data rate a frequency greater than the data sampling rate is increased numerical control oscillator frequency; specific: initially, numerical control oscillator frequency larger step size increments with fast acquisition; when NC oscillation frequency close to the data frequency, the step size decreases until NC crystal a frequency within a predetermined range of the data frequencies.
  7. 7. 根据权利要求6所述的方法,其特征在于,所述初始时,数控晶振频率以较大的步长递增以支持快速采集;当数控晶振频率接近数据频率时,步长减小,直到数控晶振频率在数据频率的预设范围内,具体包括: 数控晶振频率复位到其范围的下限,内部分频比设置为最低值N二1;频率检测器将该采样速率频率与数据速率频率相比较,若采样速率频率大于数据速率频率,则将N的倍数提高。 7. The method according to claim 6, wherein, when the initial, NC crystal frequency to a larger step size increments with fast acquisition; when NC oscillation frequency close to the data frequency, the step size decreases until NC crystal frequency within a predetermined range of the data frequencies, comprises: NC crystal frequency is reset to the lower limit of its range, the inner portion of the frequency division ratio is set to the minimum value of N = 1; frequency detector the sample rate clock and data rate frequency phase comparison, if the sampling rate frequency greater than the data rate frequency, will be a multiple of N increase.
  8. 8.根据权利要求6或7所述的方法,其特征在于,所述预设范围为0-250ppm。 8. The method of 6 or 7 as claimed in claim, wherein said predetermined range 0-250ppm.
  9. 9.根据权利要求5所述的方法,其特征在于,所述MCU控制器根据所述AC功率计计算出的平均电压,获取用于输入给数控晶振的初始频率,具体包括: 所述MCU控制器根据存储的AC功率计的电压-频率关系表,查找对应所述平均电压下的频率值,并将所述频率值输入给数控晶振作为其初始频率。 9. The method as claimed in claim, wherein the MCU controller based on the average voltage of the AC power meter calculated, obtaining the initial frequency for input to the numerical control oscillator, and comprises: the MCU control according to the voltage of the AC power stored in the meter - the frequency table, look up the frequency value corresponding to said average voltage, and to the frequency input to the numerical control oscillator as its initial frequency.
  10. 10.根据权利要求5-7任一所述的方法,其特征在于,所述低频分量具体为频率小于100M的信号。 10. The method of any one of claims 5-7 claims, wherein said low frequency component specific signal frequency is less than the 100M.
CN 201510583154 2015-09-14 2015-09-14 High speed multi-rate adaptation rate detection circuit and method CN105119657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510583154 CN105119657B (en) 2015-09-14 2015-09-14 High speed multi-rate adaptation rate detection circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510583154 CN105119657B (en) 2015-09-14 2015-09-14 High speed multi-rate adaptation rate detection circuit and method

Publications (2)

Publication Number Publication Date
CN105119657A true CN105119657A (en) 2015-12-02
CN105119657B true CN105119657B (en) 2018-04-10

Family

ID=54667565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510583154 CN105119657B (en) 2015-09-14 2015-09-14 High speed multi-rate adaptation rate detection circuit and method

Country Status (1)

Country Link
CN (1) CN105119657B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104394A (en) * 2009-12-18 2011-06-22 中国科学院国家天文台 Low-rate spread spectrum communication transmission base band system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002091649A3 (en) * 2001-05-03 2003-03-20 Coreoptics Inc Clock recovery circuit
CN101800603B (en) * 2010-02-11 2012-12-12 瑞斯康达科技发展股份有限公司 Method for carrying out self adaptation in optical network according to rate and signal transmission device
CN103152103A (en) * 2013-02-19 2013-06-12 青岛海信宽带多媒体技术有限公司 Optical module and adaptive regulation method for rate mode of clock and data recovery (CDR) chip of optical module

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104394A (en) * 2009-12-18 2011-06-22 中国科学院国家天文台 Low-rate spread spectrum communication transmission base band system

Also Published As

Publication number Publication date Type
CN105119657A (en) 2015-12-02 application

Similar Documents

Publication Publication Date Title
CN101197606A (en) Digital intermediate frequency conversion method and system used in repeater
US20110026643A1 (en) Carrier detect system, apparatus and method thereof
CN101075814A (en) Digital receiver system based on special digital medium-frequency structure
US20110026650A1 (en) Rapid Sampling Phase Recovery
CN102231650A (en) 10G SFP+LR optical module
CN101969687A (en) Method for implementing digital GSM time slot ALC
CN102710336A (en) Working point control device and working point control method applied in MZ (Mach-Zehnder) modulator
JP2006311261A (en) Receiving level controller, power line receiver and receiving level control method
US20030016423A1 (en) Bit rate-independent optical receiver
US20070036541A1 (en) Optical receiver with monitoring unit and a method for detecting consecutive identical state of optical signal
CN103647564A (en) Binary channel shortwave signal diversity receiving system and receiving method thereof
CN201011717Y (en) Optical receiving-transmitting module
CN202513937U (en) Signal processing device of short wave radio station
CN202696655U (en) Multi-interface to E1 protocol converter
CN201541235U (en) Microwave signal source module
CN102739590A (en) CP-EBPSK communication system for pseudorandom sequence phase modulation and communication method thereof
CN101938819A (en) System and method for controlling power consumption of mobile terminal
CN103401513A (en) Digital pre-distortion processing method and device for power amplifier
CN202385110U (en) Light-operated automatic gain control circuit
US9203665B1 (en) Resource optimization by implementing multiple instances of a soft modem with a single microcontroller
CN203870783U (en) Communication system for remote meter reading
US7929868B2 (en) Infrared receiver, infrared bridge device and methods for use therewith
CN101977426A (en) Method for reducing uplink noise of GSM (Global System for Mobile Communications) digital repeater
CN201039188Y (en) Pluggable optical module and electricity/optical signal conversion device
CN202077028U (en) A light emitting device RF

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01