WO2011109967A1 - 解调信号的增益控制方法、装置以及微控制器 - Google Patents

解调信号的增益控制方法、装置以及微控制器 Download PDF

Info

Publication number
WO2011109967A1
WO2011109967A1 PCT/CN2010/073515 CN2010073515W WO2011109967A1 WO 2011109967 A1 WO2011109967 A1 WO 2011109967A1 CN 2010073515 W CN2010073515 W CN 2010073515W WO 2011109967 A1 WO2011109967 A1 WO 2011109967A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
gain
gain adjustment
value
preset
Prior art date
Application number
PCT/CN2010/073515
Other languages
English (en)
French (fr)
Inventor
王锐
张晓诗
崔健
朱世奇
胡亚军
Original Assignee
青岛东软载波科技股份有限公司
上海海尔集成电路有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛东软载波科技股份有限公司, 上海海尔集成电路有限公司 filed Critical 青岛东软载波科技股份有限公司
Publication of WO2011109967A1 publication Critical patent/WO2011109967A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G1/00Details of arrangements for controlling amplification
    • H03G1/0005Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal
    • H03G1/0088Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal using discontinuously variable devices, e.g. switch-operated
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • H03G3/3052Automatic control in amplifiers having semiconductor devices in bandpass amplifiers (H.F. or I.F.) or in frequency-changers used in a (super)heterodyne receiver
    • H03G3/3078Circuits generating control signals for digitally modulated signals

Definitions

  • the present invention relates to the field of power line carrier communication, and in particular, to a gain control method, apparatus, and microcontroller for a demodulated signal. Background technique
  • PLC Power Line Carrier Communication
  • a power line is used as an information transmission medium, and a signal is transmitted through a carrier modulation technology to realize transmission between nodes of the power grid.
  • PLC has a wide range of applications in remote meter reading and smart home appliance monitoring.
  • the power line As the transmission medium of the carrier signal, the power line has the characteristics of high noise, large attenuation, time-varying and nonlinearity, which makes the demodulation of the carrier signal very difficult. It is necessary to set the appropriate pre-stage analog circuit and the back-end digital processing in the pre-demodulation stage.
  • the above pre-stage analog circuit includes circuit components such as an amplifier, a filter, and an ADC.
  • the above circuit components have a certain range of application under the semiconductor process, and in power line carrier communication, the amplitude of the carrier signal varies greatly, and must be received. The amplitude of the signal received by the machine is adjusted, that is, the real-time gain adjustment.
  • the automatic gain control technology in the prior art is an automatic gain control method realized by an analog circuit, that is, the gain control circuit sets the amplification factor to automatically control the automatic gain control amplifier, and uses the negative feedback principle to sample the amplitude of the output signal. , obtain a control voltage, and reversely adjust the amplification factor of the automatic gain control amplifier.
  • the present invention provides a gain control method, apparatus, and microcontroller for a demodulated signal for improving control accuracy when performing automatic gain control on a demodulated signal in power line carrier communication.
  • the invention provides a gain control method for a demodulated signal, comprising:
  • control signal selecting one of the two or more preset gain adjustment values as an actual gain adjustment value according to a difference between the effective value of the demodulated signal and the preset signal energy reference value, and generating a gain according to the actual gain adjustment value.
  • the generated gain control signal is sent to a gain amplifier to amplify or attenuate the demodulated signal.
  • the invention also provides a gain control device for demodulating a signal, comprising:
  • An energy acquisition module configured to obtain an effective value of the demodulated signal in the power line carrier communication
  • a gain control module configured to perform, according to the difference between the effective value of the demodulated signal and the preset signal energy reference value, from two or more pre- Setting one of the gain adjustment values as the actual gain adjustment value, and generating a gain control signal according to the actual gain adjustment value;
  • a gain amplifier for amplifying or attenuating the demodulated signal according to the generated gain control signal.
  • the present invention also provides a microcontroller including a central processing unit, a power line carrier communication receiving device, and the above-described gain control device for demodulating a signal, the gain control device of the demodulated signal being used for processing a power line carrier communication receiving device
  • the demodulated signal is subjected to gain control, and the central processing unit is configured to control the power line carrier communication receiving device.
  • the gain control method, device and microcontroller of the demodulated signal provided by the present invention can be set according to different situations by performing two or more gain adjustment values in advance. Selecting the appropriate gain adjustment value as the actual gain adjustment value can adapt to the nonlinear time-varying characteristics of the channel during power line carrier communication, and achieve accurate adjustment of the demodulation signal gain in power line carrier communication.
  • FIG. 1 is a schematic flowchart of an embodiment of a gain control method for a demodulated signal according to the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a gain control apparatus for a demodulated signal according to the present invention
  • FIG. 4 is a schematic diagram of a device of a specific embodiment of a microcontroller of the present invention. Detailed ways
  • FIG. 1 is a schematic flowchart of a method for controlling a gain of a demodulated signal according to the present invention. As shown in FIG.
  • Step 101 Acquire an effective value of the demodulated signal in the power line carrier communication; in this step, in the power line carrier communication system, the energy acquiring module located at the receiving end obtains the energy information of the demodulated signal obtained by calculating the root mean square value of the demodulated signal, That is, the effective value of the demodulated signal.
  • Step 102 Select one of two or more preset gain adjustment values as an actual gain adjustment value according to a difference between an effective value of the demodulated signal and a preset signal energy reference value, and adjust according to the actual gain.
  • the value is generated by the gain control signal; the step is to compare the effective value of the obtained demodulated signal with the preset signal energy reference value to obtain the difference between the two, and according to the difference Select one of two or more preset gain adjustment values Actual gain adjustment value;
  • Step 103 Send the generated gain control signal to a gain amplifier to amplify or attenuate the demodulated signal.
  • an appropriate gain adjustment value may be selected as an actual gain adjustment value according to different situations, and It adapts to the nonlinear time-varying characteristics of the channel when adapting to power line carrier communication, and achieves accurate adjustment of the demodulated signal gain in power line carrier communication.
  • selecting one of the two or more preset gain adjustment values as the actual gain adjustment value in the above step 102 may specifically select different actual gains by determining whether the power line communication state changes.
  • the adjustment value, the change of the power line communication state may include two situations, one is when the power line communication channel changes from idle to the communication state, or when the communication to the idle state changes, that is, the communication signal is from scratch or from there to The process of no, the second is due to the influence of noise, so that the digital demodulator cannot obtain the demodulable demodulated signal during the communication process, and the first preset gain adjustment value is selected as the actual gain adjustment value, the first preset The gain adjustment value is used to quickly adjust the demodulated signal to the demodulable range.
  • the power line communication state does not change, that is, when the power line communication state is stable, the second preset gain adjustment value is selected as the actual gain adjustment value, and the second preset gain adjustment value is used to make the demodulated signal stable and solvable. Adjust the range.
  • the above adjustment mode when the power line communication state changes is a quick adjustment mode, which refers to an adjustment of a signal amplification or a large attenuation factor. Specifically, due to the noise influence of the channel, or when the channel just enters the communication state from idle, the amplitude of the signal changes very much. By adopting the above fast adjustment method, the signal enters the demodulable range at the fastest speed (for example, 18 dB or attenuation at one time). 18dB).
  • the above adjustment mode when the power line communication state is stable is a slow adjustment mode, which refers to an adjustment of a signal amplification or a small attenuation factor. When the noise of the channel is small or the carrier signal is in a substantially stable state, the mode can be slow.
  • Speed adjustment to stabilize the demodulable signal (eg 6dB amplification or 6dB attenuation).
  • a packet header for synchronization needs to be transmitted first, and the transmission time is short. Therefore, the carrier signal needs to be adjusted to a demodulable range within a short time of transmitting the packet header.
  • Mode When the power line communication state is stable, a slow adjustment mode can be used. That is, the adjustment method in which the actual gain adjustment value is small is selected.
  • the number of sampling points when the energy acquisition module obtains the effective value of the demodulated signal and performs calculation may be controlled, for example, when the power line communication state changes.
  • the energy acquisition module calculates the first energy calculation speed of the demodulated signal to obtain an effective value of the demodulated signal, which is an energy calculation with less sampling points of the signal, and is suitable for the carrier signal amplitude not yet entered.
  • demodulating the amplitude for example, calculating the energy value of 128 points).
  • the energy acquisition module calculates the second energy calculation speed of the demodulated signal to obtain an effective value of the demodulated signal, and the number of sampling points when calculating at the second energy calculation speed is more than The number of sampling points when calculating the energy calculation speed.
  • This is a slow energy calculation method. It is a kind of energy calculation with more signal sampling points. It is suitable for the amplitude of the carrier signal to enter the demodulable amplitude (for example, calculation 512).
  • the energy value of the point), the number of sampling points when the first energy calculation speed is calculated and the second energy calculation speed is calculated as a relative setting, for example, when the second energy calculation speed is calculated in a specific setting process
  • the number of sampling points is set to be four times the number of sampling points when the calculation is performed at the first energy calculation speed.
  • selecting one of the preset two or more gain adjustment values as the actual gain adjustment value may be specifically another case, that is, the following steps are included: according to the effective value and the preset of the demodulated signal
  • the difference between the signal energy reference values selects the largest one of the preset gain adjustment values satisfying the adjustment condition as the actual gain adjustment value, and the largest one of the preset gain adjustment values is the limit adjustment value.
  • This is a stepped and limited gain adjustment method, which can improve the efficiency of energy comparison and gain control on the one hand, and avoid excessive amplification or attenuation of the signal on the other hand, for example, 6dB, 12dB and can be preset.
  • 1 8dB three gain adjustment values
  • the above gain adjustment values include attenuation and amplification.
  • Each of the above preset gain adjustment values They are all independent and parallel, and can be adjusted according to the priority from large to small when selecting adjustments. If the signal input amplitude is very small, the amplification is 18dB, and of course the amplification is 12dB and 6dB. However, due to the priority setting, the 18dB adjustment is preferred. As for the 12dB and 6dB adjustments, after the 18dB adjustment, the signal is amplified once and then judged whether it needs to be adjusted according to the gain adjustment values of 12dB and 6dB.
  • the above-mentioned limiting adjustment specifically means that if the demodulated signal is too large or too small, after adjusting the limiting adjustment value multiple times in succession (the above adjustment times can be preset), if the demodulation signal cannot be adjusted to be adjustable Within the range, the gain control of the demodulated signal can be abandoned, for example, a small demodulated signal is received, and after demodulation is performed after using the 18dB amplification for three times, the demodulated signal can be considered too small, and the pair is discarded.
  • the amplification operation is further performed, and the above-mentioned limiting adjustment makes the input demodulated signal not be infinitely amplified or attenuated, and the signal input is controlled within an appropriate range by clamping.
  • the preset signal energy reference value and/or the two or more preset gain adjustment values may be pre-fixed in the gain control module.
  • the method may be adjusted by the central processing unit, that is, the method further includes the step of receiving an adjustment signal sent by the central processing unit, where the adjustment signal is used to reference the preset signal energy and/or More than two preset gain adjustment values are adjusted in real time.
  • the embodiment of the present invention further provides a gain control device for demodulating a signal, and the device can perform the step flow in the foregoing method embodiment.
  • 2 is a schematic structural diagram of an embodiment of a gain control apparatus for demodulating a signal according to the present invention. As shown in FIG. 2, the apparatus includes an energy acquisition module 11, a gain control module 12, and a gain amplifier 13, wherein the energy acquisition module 11 is configured to acquire a power line.
  • the effective value of the demodulated signal in the carrier communication; the gain control module 12 is configured to select one of the two or more preset gain adjustment values according to the difference between the effective value of the demodulated signal and the preset signal energy reference value As the actual gain adjustment value, a gain control signal is generated according to the actual gain adjustment value; the gain amplifier 13 is configured to amplify or attenuate the demodulated signal according to the generated gain control signal.
  • the gain control device for demodulating signals provided by the above embodiments of the present invention is set in advance by two More than one gain adjustment value, when performing gain control, an appropriate gain adjustment value can be selected as the actual gain adjustment value according to different situations, which can adapt to the nonlinear time-varying characteristics of the channel during power line carrier communication, and realize demodulation signals. Accurate adjustment of the gain.
  • the gain control module may further include a first acquiring unit, a second acquiring unit, and a control signal generating unit, where the first acquiring unit is configured to select the first preset when the power line communication state changes.
  • the gain adjustment value is used as an actual gain adjustment value
  • the first preset gain adjustment value is used to quickly adjust the demodulated signal to the demodulable range
  • the second obtaining unit is configured to select the second preset when the power line communication state is stable.
  • the gain adjustment value is used as an actual gain adjustment value
  • the second preset gain adjustment value is used to make the demodulated signal in a stable demodulable range
  • the control signal generating unit is configured to generate a gain control signal according to the actual gain adjustment value.
  • the gain control module includes a gain adjustment information storage unit and an adjustment value acquisition unit, wherein the gain adjustment information storage unit is configured to store two or more preset gain adjustment values, where the preset gain adjustment values are The largest is the limit adjustment value; the adjustment value acquisition unit is configured to use the demodulation signal The difference between the effective value and the preset signal energy reference value selects the largest one of the preset gain adjustment values satisfying the adjustment condition as the actual gain adjustment value, and the control signal generating unit is configured to generate the gain control signal according to the actual gain adjustment value .
  • FIG. 3 is a schematic structural diagram of an embodiment of a microcontroller according to the present invention.
  • the system includes a central processing unit 1, a power line carrier communication receiving device 2, and the foregoing.
  • an appropriate gain adjustment value can be selected as an actual gain adjustment value according to different situations, which can adapt to power line carrier communication.
  • Time channel has nonlinear time-varying characteristics Point, to achieve precise adjustment of the gain of the demodulated signal in power line carrier communication.
  • the preset signal energy reference value and/or the two or more preset gain adjustment values may be pre-fixed in the gain control device of the demodulated signal, that is, the gain of the demodulated signal.
  • the control device does not need to acquire an adjustment signal for adjusting the preset value from the central processing unit.
  • the preset value may be further adjusted by the central processing unit, that is, the central processing unit may further be configured to adjust a preset signal energy reference value and/or two in the gain control device of the demodulated signal. The above preset gain adjustment value.
  • the above-mentioned microcontroller includes a central processing unit, a power line carrier communication receiving device, and a gain control device for demodulating signals, wherein the power line carrier communication
  • the receiving device comprises a low noise amplifier, a channel filter, an analog to digital conversion module, a digital mixer, a digital filter and a digital demodulator.
  • the gain control device of the power line carrier signal comprises an energy acquisition module, a gain control module and a gain amplifier.
  • the carrier signal of the power line is first input to the low noise amplifier after signal separation, the analog signal is amplified by the low noise amplifier, and then the signal is input to the channel filter.
  • Filtering processing, the above-mentioned channel filter can effectively filter unnecessary noise and reduce the difficulty of designing the post-stage demodulation circuit.
  • the specific channel filter can use a ceramic filter.
  • the carrier signal, the above-mentioned digital form carrier signal can be mixed by a digital mixer, and the digital mixer is connected to the central processing unit, and the local oscillator frequency of the digital mixer is adjusted according to the control signal of the central processing unit. Adjusting the frequency of the signal obtained by mixing, so that the frequency range is within the passband range of the digital filter that is subsequently set, improving the filtering effect of the digital filter, and obtaining a carrier signal with a higher signal-to-noise ratio to reduce The design difficulty of the digital demodulator circuit.
  • the above mixed carrier signal is filtered by a digital filter, and finally by the digital The demodulator performs demodulation to obtain power line carrier data.
  • the energy obtaining module is configured to obtain an output energy parameter of the digital demodulator, that is, an effective value of the obtained demodulated signal, and feed back to the gain control module, where the gain control module can obtain the actual gain according to the method provided in the foregoing embodiments.
  • the value is adjusted and sent to the gain amplifier to amplify or attenuate the demodulated signal before analog to digital conversion based on the actual gain adjustment value.
  • a communication control register may also be provided, and the central processing unit adjusts the preset signal energy reference value and/or the preset gain adjustment value in the gain control device through the communication control register.
  • the gain control method, device and microcontroller of the demodulated signal provided by the above embodiments of the present invention can set two or more gain adjustment values in advance, and when performing gain control, an appropriate gain adjustment value can be selected according to different situations.
  • the actual gain adjustment value can adapt to the nonlinear time-varying characteristics of the channel during power line carrier communication, and achieve accurate adjustment of the demodulation signal gain in power line carrier communication. It can solve the problem that the channel has nonlinear time-varying during the specific power line carrier communication process, which makes the signal attenuation large, the signal-to-noise ratio is low, and the demodulation is difficult.
  • the automatic gain control circuit cooperates with the amplifier circuit and the filter circuit.
  • the carrier signal can be demodulated in an appropriate range, which reduces the design complexity of the demodulation circuit and improves the demodulation performance.
  • 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 steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuits Of Receivers In General (AREA)
  • Control Of Amplification And Gain Control (AREA)

Description

解调信号的增益控制方法、 装置以及微控制器 本申请要求于 2010年 3月 10 日 提交中 国专利局、 申请号为 201010123205. 0 , 发明名称为"解调信号的增益控制方法、 装置以及微控制 器''的中国专利申请的优先权。 技术领域
本发明涉及电力线载波通信领域, 尤其涉及一种解调信号的增益控制 方法、 装置以及微控制器。 背景技术
电力线载波通信 (Power Line Carrier Communication; 以下筒称: PLC) 是指以电力线为信息传输媒介, 信号经过载波调制技术, 实现在电网各个 节点之间传递的一种通信方式。 PLC在远程抄表、 智能家电监控等方面都 有着广泛的应用。
电力线作为载波信号的传输媒介, 具有高噪声、 衰减大、 时变和非线 性等特点, 使得载波信号的解调非常困难, 需要在解调前级设置合适的前 级模拟电路以及后端数字处理实现解调, 上述前级模拟电路包括放大器、 滤波器、 ADC 等电路元件, 上述电路元件在半导体工艺下都有一定的适 用范围, 且电力线载波通信中, 载波信号幅度变化较大, 必须对接收机接 收到的信号幅度进行调整, 即实时增益调整。 现有技术中的自动增益控制 技术是一种通过模拟电路实现的自动增益控制方法, 即增益控制电路设置 放大倍数对自动增益控制放大器自动控制, 利用负反馈原理, 对输出信号 的幅值进行采样, 获得一个控制电压, 去反向调节自动增益控制放大器的 放大倍数。
在实现本发明过程中, 发明人发现现有技术中至少存在如下问题: 现 有技术中通过模拟电路形式调节自动增益控制放大器的放大倍数,其控制 精度低, 且以模拟电路形式进行自动增益控制的电路设计难度大。 发明内容
本发明提供一种解调信号的增益控制方法、 装置以及微控制器, 用以 提高对电力线载波通信中的解调信号进行自动增益控制时的控制精度。 本发明提供了一种解调信号的增益控制方法, 包括:
获取电力线载波通信中解调信号的有效值;
根据所述解调信号的有效值与预设信号能量参考值的差值, 从两个以 上的预设增益调整值中选择其中一个作为实际增益调整值, 并根据所述实 际增益调整值生成增益控制信号;
将所述生成的增益控制信号发送至增益放大器以对所述解调信号进 行放大或衰减。
本发明还提供了一种解调信号的增益控制装置, 包括:
能量获取模块, 用于获取电力线载波通信中解调信号的有效值; 增益控制模块, 用于根据所述解调信号的有效值与预设信号能量参考 值的差值, 从两个以上的预设增益调整值中选择其中一个作为实际增益调 整值, 并根据所述实际增益调整值生成增益控制信号;
增益放大器, 用于根据所述生成的增益控制信号对所述解调信号进行 放大或衰减。
本发明还提供了一种微控制器, 包括中央处理单元、 电力线载波通信 接收装置以及上述的解调信号的增益控制装置, 所述解调信号的增益控制 装置用于对电力线载波通信接收装置处理的解调信号进行增益控制, 所述 中央处理单元用于对所述电力线载波通信接收装置进行控制。
本发明提供的解调信号的增益控制方法、 装置以及微控制器, 通过预 先设置两个以上的增益调整值, 在进行增益控制时, 可以根据不同的情况 选择合适的增益调整值作为实际增益调整值, 能够适应电力线载波通信时 信道存在非线性时变的特点, 实现对电力线载波通信中解调信号增益的精 确调整。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明解调信号的增益控制方法实施例的流程示意图; 图 2为本发明解调信号的增益控制装置实施例的结构示意图; 图 3为本发明微控制器实施例的结构示意图;
图 4为本发明微控制器一个具体实施例的装置示意图。 具体实施方式
本发明实施例提供了一种适用于电力线载波通信中解调信号的增益 控制方法, 图 1为本发明解调信号的增益控制方法实施例的流程示意图, 如图 1所示, 该方法包括:
步骤 101、 获取电力线载波通信中解调信号的有效值; 本步骤是在电 力线载波通信系统中, 位于接收端的能量获取模块通过计算解调信号的均 方根值获取的解调信号的能量信息, 即解调信号的有效值。
步骤 102、根据所述解调信号的有效值与预设信号能量参考值的差值, 从两个以上的预设增益调整值中选择其中一个作为实际增益调整值, 并根 据所述实际增益调整值生成增益控制信号;本步骤是在步骤 101的基础上, 将上述获取的解调信号的有效值与预设信号能量参考值进行比较, 以获取 二者的差值, 并根据上述差值从两个以上的预设增益调整值中选择合适的 实际增益调整值;
步骤 103、 将所述生成的增益控制信号发送至增益放大器以对所述解 调信号进行放大或衰减。
本发明上述实施例提供的解调信号的增益控制方法, 通过预先设置两 个以上的增益调整值, 在进行增益控制时, 可以根据不同的情况选择合适 的增益调整值作为实际增益调整值, 能够适应电力线载波通信时信道存在 非线性时变的特点, 实现对电力线载波通信中解调信号增益的精确调整。
在本发明上述实施例的基础上, 其中上述步骤 102中从两个以上的预 设增益调整值中选择其中一个作为实际增益调整值可具体为通过判断电 力线通信状态是否发生变化选择不同的实际增益调整值, 电力线通信状态 发生变化可以包括两种情况, 一是在电力线通信信道由空闲到通信状态的 变化, 或者是由通信到空闲状态的变化时, 即通信信号从无到有或从有到 无的过程, 二是由于噪声影响, 使得在通信过程中数字解调器无法获得可 解调的解调信号, 此时选择第一预设增益调整值作为实际增益调整值, 上 述第一预设增益调整值用于使解调信号快速调整至可解调范围。 另外在电 力线通信状态未发生变化, 即在电力线通信状态稳定时, 选择第二预设增 益调整值作为实际增益调整值, 上述第二预设增益调整值用于使解调信号 处于稳定的可解调范围。
上述在电力线通信状态发生变化时的调整方式为一种快速调整方式, 是指信号放大或衰减倍数较大的调整。 具体是由于信道的噪声影响, 或信 道刚由空闲进入到通信状态时, 信号幅度变化非常大, 采用上述快速调整 方式, 使信号以最快的速度进入可解调范围 (例如一次放大 18dB或衰减 18dB ) 。 上述在电力线通信状态稳定时的调整方式为一种慢速调整方式, 是指信号放大或衰减倍数较小的调整, 当信道的噪声影响较小或载波信号 处于基本稳定的状态时, 可以进行慢速调整, 以稳定可解调的信号 (例如 一次放大 6dB或衰减 6dB ) 。 通常在电力线通信中, 从空闲状态进入通信 状态时, 需要先传输一个用于同步的报文头, 其传输时间较短, 因此需要 在传输报文头的较短时间内将载波信号调整到可解调范围内, 此时使用快 速调整的方式; 而在电力线通信状态稳定时, 可以使用慢速调整的方式。 即选择实际增益调整值较小的调整方式。
另外在上述实施例中, 为了进一步的适应快速或慢速增益调整的需 要, 可以对能量获取模块获取解调信号有效值而进行计算时的采样点数目 进行控制, 例如在电力线通信状态发生变化时, 能量获取模块对所述解调 信号以第一能量计算速度进行计算以获取解调信号的有效值, 这是一种对 信号采样点较少的能量计算, 适用于载波信号幅度还未进入可解调的幅度 时(例如计算 128点的能量值) 。 在电力线通信过程中, 能量获取模块对 所述解调信号以第二能量计算速度进行计算以获取解调信号的有效值, 上 述以第二能量计算速度进行计算时的采样点数目多于以第一能量计算速 度进行计算时的采样点数目, 这是一种慢速能量计算方式, 是一种信号采 样点较多的能量计算, 适用于载波信号幅度进入可解调的幅度时(例如计 算 512点的能量值) , 上述第一能量计算速度进行计算时和第二能量计算 速度进行计算时的采样点数目为相对设置, 例如在具体设置过程中可将以 第二能量计算速度进行计算时的采样点数目设为以第一能量计算速度进 行计算时的采样点数目的 4倍。
上述步骤 102中从预设的两个以上的增益调整值中选择其中一个作为 实际增益调整值还可以具体为另外一种情况, 即包括如下步骤: 根据所述 解调信号的有效值与预设信号能量参考值的差值选择满足调整条件的预 设增益调整值中的最大者作为实际增益调整值, 并且所述预设增益调整值 中的最大者为限幅调整值。 这是一种阶梯式和限幅式的增益调整方式, 一 方面能够提高能量比较以及增益控制的效率, 另一方面可以避免信号的放 大或衰减的幅度过大, 例如可预先设置 6dB、 12dB和 1 8dB三个增益调整 值, 上述增益调整值包括衰减和放大两种情况。 上述每个预设增益调整值 都是独立并行的, 在选择调整时可按照从大到小的优先级调整。 如果信号 输入幅度非常小, 满足放大 18dB, 当然也满足放大 12dB和 6dB, 但是由 于优先级的设置, 优先采用 18dB调整。 至于 12dB和 6dB调整, 只能等到 经过 18dB调整以后,信号经过一次放大,再判断是否需要按照 12dB和 6dB 的增益调整值的进行调整。 上述限幅调整具体是指若解调信号过大或过 小, 在连续多次使用限幅调整值进行调整后 (上述调整次数可以预先设 定) , 若仍不能将解调信号调整到可调整范围内, 则可放弃继续对解调信 号进行增益控制, 例如接收到一个较小的解调信号, 在使用三次 18dB进 行放大后仍无法解调, 则可认为上述解调信号过小, 放弃对其再进行放大 操作, 上述限幅调整使得输入的解调信号不会无限放大或者衰减, 通过钳 位的方式, 将信号输入控制在合适的范围内。
另外在本发明的具体实施方式中,上述的预设信号能量参考值和 /或两 个以上的预设增益调整值可以是预先固设在增益控制模块中的。 在另一种 实施方式中, 可以通过中央处理单元对其进行调整, 即上述方法进一步包 括接收中央处理单元发送的调整信号的步骤, 上述调整信号是用于对预设 信号能量参考值和 /或两个以上的预设增益调整值进行实时调整的。
与上述方法实施例对应的, 本发明实施例还提供了一种解调信号的增 益控制装置, 该装置能够执行上述方法实施例中的步骤流程。 图 2为本发 明解调信号的增益控制装置实施例的结构示意图, 如图 2所示, 该装置包 括能量获取模块 11、 增益控制模块 12和增益放大器 13 , 其中能量获取模 块 11用于获取电力线载波通信中解调信号的有效值; 增益控制模块 12用 于根据所述解调信号的有效值与预设信号能量参考值的差值, 从两个以上 的预设增益调整值中选择其中一个作为实际增益调整值, 并根据所述实际 增益调整值生成增益控制信号; 增益放大器 13用于根据所述生成的增益 控制信号对所述解调信号进行放大或衰减。
本发明上述实施例提供的解调信号的增益控制装置, 通过预先设置两 个以上的增益调整值, 在进行增益控制时, 可以根据不同的情况选择合适 的增益调整值作为实际增益调整值, 能够适应电力线载波通信时信道存在 非线性时变的特点, 实现对解调信号增益的精确调整。
在具体的实施过程中, 上述的增益控制模块可以进一步包括第一获取 单元、 第二获取单元和控制信号生成单元, 其中第一获取单元用于在电力 线通信状态发生变化时, 选择第一预设增益调整值作为实际增益调整值, 所述第一预设增益调整值用于使解调信号快速调整至可解调范围; 第二获 取单元用于在电力线通信状态稳定时, 选择第二预设增益调整值作为实际 增益调整值, 所述第二预设增益调整值用于使解调信号处于稳定的可解调 范围, 控制信号生成单元用于根据所述实际增益调整值生成增益控制信 还有另外一种实施方式, 即增益控制模块包括增益调整信息存储单 元、 调整值获取单元, 其中增益调整信息存储单元用于存储两个以上预设 增益调整值, 所述预设增益调整值中的最大者为限幅调整值; 调整值获取 单元用于根据所述解调信号的有效值与预设信号能量参考值的差值选择 满足调整条件的预设增益调整值中的最大者作为实际增益调整值, 控制信 号生成单元用于根据所述实际增益调整值生成增益控制信号。
本发明实施例还提供了一种微控制器, 图 3为本发明微控制器实施 例的结构示意图, 如图 3所示, 该系统包括中央处理单元 1、 电力线载波 通信接收装置 2以及上述任一实施例中的解调信号的增益控制装置 3 , 所 述解调信号的增益控制装置用于对电力线载波通信接收装置处理的解调 信号进行增益控制, 所述中央处理单元用于对所述电力线载波通信接收装 置进行控制。
本发明上述实施例提供的微控制器, 通过预先设置两个以上的增益调 整值, 在进行增益控制时, 可以根据不同的情况选择合适的增益调整值作 为实际增益调整值, 能够适应电力线载波通信时信道存在非线性时变的特 点, 实现对电力线载波通信中解调信号增益的精确调整。
在具体的实施过程中,上述的预设信号能量参考值和 /或两个以上的预 设增益调整值可以是预先固设在解调信号的增益控制装置中的, 即上述解 调信号的增益控制装置不需要从中央处理单元获取对上述预设值进行调 整的调整信号。 在另一个实施方式中, 可以进一步通过中央处理单元对上 述预设值进行调整, 即上述中央处理单元还可用于调整解调信号的增益控 制装置中的预设信号能量参考值和 /或两个以上的预设增益调整值。
图 4为本发明微控制器一个具体实施例的装置示意图, 如图 4所示, 上述的微控制器包括中央处理单元、 电力线载波通信接收装置以及解调信 号的增益控制装置, 其中电力线载波通信接收装置包括低噪声放大器、 通 道滤波器、 模数转换模块、 数字混频器、 数字滤波器和数字解调器, 电力 线载波信号的增益控制装置包括能量获取模块、 增益控制模块和增益放大 器。
当承载有通信数据的电力线信号进入电力线耦合电路之后, 在进行 信号分离后将电力线的载波信号首先输入到低噪声放大器, 由该低噪声放 大器对模拟信号进行放大, 然后信号输入到通道滤波器进行滤波处理, 上 述通道滤波器能够有效滤除不必要的噪声, 降低后级解调电路设计的难 度, 具体的上述的通道滤波器可以使用陶瓷滤波器。 在经过通道滤波器滤 波后的载波信号输入到可编程增益放大器中, 该增益放大器的放大或衰减 的倍数是可以调整的, 放大或衰减后的载波信号进过模数转换模块后转换 为数字形式的载波信号, 上述的数字形式的载波信号可由数字混频器进行 混频处理, 且该数字混频器与中央处理单元连接, 并根据中央处理单元的 控制信号调整数字混频器的本振频率, 以对混频得到的信号频率进行调 整, 使其频率范围在后续设置的数字滤波器的通带范围内, 提高数字滤波 器的滤波效果, 获得具有更高信噪比的载波信号, 以降低数字解调器电路 的设计难度。 上述混频后的载波信号经过数字滤波器滤波后, 最后由数字 解调器进行解调以获取电力线载波数据。
其中上述的能量获取模块用于获取数字解调器的输出能量参数, 即获 取的解调信号的有效值, 并反馈给增益控制模块, 增益控制模块可以根据 上述各个实施例提供的方法获取实际增益调整值, 并发送给增益放大器, 以使其根据实际增益调整值对模数转换前解调信号进行放大或衰减。 在具 体实施例中, 还可以设置通信控制寄存器, 中央处理单元通过通信控制寄 存器对增益控制装置中预设信号能量参考值和 /或预设增益调整值进行调
本发明上述实施例提供的解调信号的增益控制方法、 装置以及微控制 器, 通过预先设置两个以上的增益调整值, 在进行增益控制时, 可以根据 不同的情况选择合适的增益调整值作为实际增益调整值, 能够适应电力线 载波通信时信道存在非线性时变的特点, 实现对电力线载波通信中解调信 号增益的精确调整。 能够解决在具体的电力线载波通信过程中, 信道存在 非线性时变的特点,使得信号衰减大,信噪比低, 导致解调难度大的缺陷, 自动增益控制电路配合放大器电路、 滤波器电路, 使得载波信号能够在合 适的范围内被解调, 降低解调电路的设计复杂度, 同时提高解调性能。 本 领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可以通过 程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质 中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包 括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种解调信号的增益控制方法, 其特征在于, 包括:
获取电力线载波通信中解调信号的有效值;
根据所述解调信号的有效值与预设信号能量参考值的差值, 从两个以 上的预设增益调整值中选择其中一个作为实际增益调整值, 并根据所述实 际增益调整值生成增益控制信号;
将所述生成的增益控制信号发送至增益放大器以对所述解调信号进 行放大或衰减。
2、 根据权利要求 1所述的解调信号的增益控制方法, 其特征在于, 所述从两个以上的预设增益调整值中选择其中一个作为实际增益调整值 包括:
在电力线通信状态发生变化时, 选择第一预设增益调整值作为实际增 益调整值, 所述第一预设增益调整值用于使解调信号快速调整至可解调范 围;
在电力线通信状态稳定时, 选择第二预设增益调整值作为实际增益调 整值, 所述第二预设增益调整值用于使解调信号处于稳定的可解调范围。
3、 根据权利要求 1或 2所述的解调信号的增益控制方法, 其特征在 于, 所述获取电力线载波通信中解调信号的有效值包括:
在电力线通信状态发生变化时, 对所述解调信号以第一能量计算速度 进行计算以获取所述解调信号的有效值;
在电力线通信状态稳定时, 对所述解调信号以第二能量计算速度进行 计算以获取所述解调信号的有效值, 所述以第二能量计算速度进行计算时 的采样点数目多于以第一能量计算速度进行计算时的采样点数目。
4、 根据权利要求 1所述的解调信号的增益控制方法, 其特征在于, 所述从两个以上的预设增益调整值中选择其中一个作为实际增益调整值 包括: 根据所述解调信号的有效值与预设信号能量参考值的差值选择满足 调整条件的预设增益调整值中的最大者作为实际增益调整值, 并且所述预 设增益调整值中的最大者为限幅调整值。
5、 根据权利要求 4所述的解调信号的增益控制方法, 其特征在于, 还包括:
接收中央处理单元发送的调整信号, 所述调整信号用于对所述预设信 号能量参考值和 /或两个以上的预设增益调整值进行调整。
6、 一种解调信号的增益控制装置, 其特征在于, 包括:
能量获取模块, 用于获取电力线载波通信中解调信号的有效值; 增益控制模块, 用于根据所述解调信号的有效值与预设信号能量参考 值的差值, 从两个以上的预设增益调整值中选择其中一个作为实际增益调 整值, 并根据所述实际增益调整值生成增益控制信号;
增益放大器, 用于根据所述生成的增益控制信号对所述解调信号进行 放大或衰减。
7、 根据权利要求 6所述的解调信号的增益控制装置, 其特征在于, 所述增益控制模块包括:
第一获取单元, 用于在电力线通信状态发生变化时, 选择第一预设增 益调整值作为实际增益调整值, 所述第一预设增益调整值用于使解调信号 快速调整至可解调范围;
第二获取单元, 用于在电力线通信状态稳定时, 选择第二预设增益调 整值作为实际增益调整值, 所述第二预设增益调整值用于使解调信号处于 稳定的可解调范围;
控制信号生成单元, 用于根据所述实际增益调整值生成增益控制信
8、 根据权利要求 6所述的解调信号的增益控制装置, 其特征在于, 所述增益控制模块包括: 增益调整信息存储单元, 用于存储两个以上的预设增益调整值, 所述 预设增益调整值中的最大者为限幅调整值;
调整值获取单元, 用于根据所述解调信号的有效值与预设信号能量参 考值的差值选择满足调整条件的预设增益调整值中的最大者作为实际增 益调整值;
控制信号生成单元, 用于根据所述实际增益调整值生成增益控制信
9、 一种微控制器, 其特征在于, 包括中央处理单元、 电力线载波通 信接收装置以及权利要求 6-8任一所述的解调信号的增益控制装置, 所述 解调信号的增益控制装置用于对电力线载波通信接收装置处理的解调信 号进行增益控制, 所述中央处理单元用于对所述电力线载波通信接收装置 进行控制。
10、 根据权利要求 9所述的微控制器, 其特征在于, 所述中央处理单 元用于调整解调信号的增益控制装置中预设信号能量参考值和 /或两个以 上的预设增益调整值。
PCT/CN2010/073515 2010-03-10 2010-06-03 解调信号的增益控制方法、装置以及微控制器 WO2011109967A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010123205.0 2010-03-10
CN201010123205.0A CN102195681B (zh) 2010-03-10 2010-03-10 解调信号的增益控制方法、装置以及微控制器

Publications (1)

Publication Number Publication Date
WO2011109967A1 true WO2011109967A1 (zh) 2011-09-15

Family

ID=44562806

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073515 WO2011109967A1 (zh) 2010-03-10 2010-06-03 解调信号的增益控制方法、装置以及微控制器

Country Status (2)

Country Link
CN (1) CN102195681B (zh)
WO (1) WO2011109967A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220018B (zh) * 2013-03-19 2015-05-20 北京中宸泓昌科技有限公司 一种电力载波通信网络中的自动增益控制方法
CN106341145B (zh) * 2015-07-07 2020-04-21 中兴通讯股份有限公司 信号的接收方法及装置
CN108768425B (zh) * 2018-07-02 2021-03-30 成都国恒空间技术工程有限公司 一种自动增益控制agc的动态调整方法
CN111638669A (zh) * 2020-05-25 2020-09-08 上海海事大学 一种针对异常监控信号的信号采集系统及其采集方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1197339A (zh) * 1997-03-28 1998-10-28 松下电器产业株式会社 具有自适应自动增益控制的移动无线电波接收机
CN1333945A (zh) * 1998-11-24 2002-01-30 艾利森电话股份有限公司 时隙式模式操作的自动增益控制
JP2003174341A (ja) * 2001-12-05 2003-06-20 Yokogawa Electric Corp 自動利得制御回路
CN1705238A (zh) * 2004-06-01 2005-12-07 大唐移动通信设备有限公司 移动通信终端的自动增益控制装置及其方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1197339A (zh) * 1997-03-28 1998-10-28 松下电器产业株式会社 具有自适应自动增益控制的移动无线电波接收机
CN1333945A (zh) * 1998-11-24 2002-01-30 艾利森电话股份有限公司 时隙式模式操作的自动增益控制
JP2003174341A (ja) * 2001-12-05 2003-06-20 Yokogawa Electric Corp 自動利得制御回路
CN1705238A (zh) * 2004-06-01 2005-12-07 大唐移动通信设备有限公司 移动通信终端的自动增益控制装置及其方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KONG YUANYUAN: "AGC Technology Used in Power Line Carrier Communication", TELECOMMUNICATIONS FOR ELECTRIC POWER SYSTEM, vol. 28, no. 175, 10 May 2007 (2007-05-10) *

Also Published As

Publication number Publication date
CN102195681A (zh) 2011-09-21
CN102195681B (zh) 2014-03-19

Similar Documents

Publication Publication Date Title
WO2011109963A1 (zh) 微控制器以及电力线载波信号接收处理方法、装置
CN101895266B (zh) 数模混合自动增益控制系统及其控制方法
WO2018095057A1 (zh) 基于DSP的Dante数字音频处理方法、系统及装置
WO2011109967A1 (zh) 解调信号的增益控制方法、装置以及微控制器
CN106571787A (zh) 一种数模混合自动增益控制放大器
WO2012174831A1 (zh) 一种进行iq信号实时校准的方法和装置
WO2018076501A1 (zh) 一种光放大器突发模式下的光功率和增益探测装置和方法
CN104242835A (zh) 一种基于fpga的超短波电台alc控制系统和方法
WO2021147737A1 (en) Receiver circuits with blocker attenuating mixer
CN101895354B (zh) 数字域测量信号误差矢量幅度的方法
CN103595445B (zh) 解调信号的增益控制方法、装置以及微控制器
CN102904653A (zh) 数字域测量信号误差矢量幅度的方法及其实现装置
US20090086806A1 (en) Time varying equalization
CN116567790B (zh) Pusch功控tpc调整的方法
CN107222178B (zh) 一种矢量网络分析仪接收通道增益控制装置及方法
WO2014086021A1 (zh) 一种接收信号强度指示的检测装置和方法
CN105432031B (zh) 一种均衡器的控制电路、均衡器和光接收机
CN108809438B (zh) 一种时差补偿方法和装置
WO2012155848A1 (zh) 一种自动增益控制方法及装置
JPH1056343A (ja) ディジタルagc方式
CN113014282B (zh) 一种自动增益控制方法、装置、接收机及超宽带通信系统
CN101611545B (zh) 数字增益控制
CN201898483U (zh) 超短波信号增益控制器
CN112803908B (zh) 蓝牙接收机中的大动态快速自动增益控制方法及其模块
CN204190742U (zh) 一种军用超短波电台自动电平控制电路

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

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

Country of ref document: EP

Kind code of ref document: A1