CN103297067A - Radio frequency control device and control method thereof - Google Patents
Radio frequency control device and control method thereof Download PDFInfo
- Publication number
- CN103297067A CN103297067A CN2012100456937A CN201210045693A CN103297067A CN 103297067 A CN103297067 A CN 103297067A CN 2012100456937 A CN2012100456937 A CN 2012100456937A CN 201210045693 A CN201210045693 A CN 201210045693A CN 103297067 A CN103297067 A CN 103297067A
- Authority
- CN
- China
- Prior art keywords
- signal
- unit
- value
- control
- threshold
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000001914 filtration Methods 0.000 claims abstract description 85
- 238000004891 communication Methods 0.000 claims abstract description 70
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims abstract description 62
- 230000001186 cumulative effect Effects 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 5
- 238000012545 processing Methods 0.000 description 68
- 238000010586 diagram Methods 0.000 description 12
- 238000012790 confirmation Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 239000004568 cement Substances 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Landscapes
- Transceivers (AREA)
Abstract
本发明公开了一种带有自纠错功能的无线通信射频控制模块,包括:信号接收单元(101)、信号接收情况反馈单元(102)、信号阈值控制单元(103)、信号数值滤波单元(104)、控制数值存储单元(105)、控制信号生成使能单元(106)和控制信号生成单元(107)。本发明无线通信射频控制模块,可以在通信基带模块和通信射频模块之间的连接受到干扰的情况下,有效的判断并反馈是否接受到有效信号,并对接受到的信号进行有效处理,生成信号波形控制通信射频模块。
The invention discloses a wireless communication radio frequency control module with a self-correcting function, comprising: a signal receiving unit (101), a signal receiving situation feedback unit (102), a signal threshold control unit (103), a signal value filtering unit ( 104), a control value storage unit (105), a control signal generation enabling unit (106) and a control signal generation unit (107). The wireless communication radio frequency control module of the present invention can effectively judge and feed back whether a valid signal is received when the connection between the communication baseband module and the communication radio frequency module is interfered, and effectively process the received signal to generate a signal waveform Control the communication radio frequency module.
Description
技术领域 technical field
本申请涉及通信行业射频技术领域,尤其涉及一种射频控制装置及其控制方法。The present application relates to the field of radio frequency technology in the communication industry, and in particular to a radio frequency control device and a control method thereof.
背景技术 Background technique
无线通信系统一般分为通信基带模块、射频控制装置和通信射频模块,其中,通信基带模块负责信源编码和信源解码;通信射频模块负责信道编码与信道解码,包括调制子模块和解调子模块。由于通信环境的改变,通信基带模块会对通信射频模块的参数进行修正,这些参数包括但不限于用于设定调制子模块的功率参数,用于设定解调子模块的增益参数,和用于调制子模块与解调子模块的频率微调参数等等。A wireless communication system is generally divided into a communication baseband module, a radio frequency control device, and a communication radio frequency module. Among them, the communication baseband module is responsible for source coding and source decoding; the communication radio frequency module is responsible for channel coding and channel decoding, including modulation sub-modules and demodulation sub-modules. Due to changes in the communication environment, the communication baseband module will modify the parameters of the communication radio frequency module. These parameters include but are not limited to setting the power parameters of the modulation sub-module, the gain parameters of the demodulation sub-module, and Frequency fine-tuning parameters of the modulation sub-module and demodulation sub-module, etc.
图1为现有技术射频控制装置在无线通信系统中所处位置的示意图。如图1所示,射频控制装置100的前端与通信基带模块200相连接,从通信基带模块200处接收基带控制信号,并根据信号的接收情况向通信基带模块反馈信号接收情况;其后端与通信射频模块300相连接,在其将接收的基带控制信号进行适当处理后,转换为相应格式的射频控制信号后,将其发送至通信射频模块。FIG. 1 is a schematic diagram of the location of a radio frequency control device in a wireless communication system in the prior art. As shown in Figure 1, the front end of the radio
传统的射频控制装置主要分为两部分:接收子模块与数字控制信号产生子模块。接收子模块负责接收基带传输的基带控制信号并缓存在存储器中,控制信号产生子模块负责将接收到的基带控制信号转为通信射频模块(尤其是其中的芯片)制定的控制信号波形(如SPI规范信号或I2C规范信号),即传统的射频控制装置会将接收到的基带控制信号直接转变为调制子模块或解调子模块的控制波形。The traditional radio frequency control device is mainly divided into two parts: the receiving sub-module and the digital control signal generating sub-module. The receiving submodule is responsible for receiving the baseband control signal transmitted by the baseband and buffering it in the memory. The control signal generating submodule is responsible for converting the received baseband control signal into the control signal waveform (such as SPI Standard signal or I2C standard signal), that is, the traditional radio frequency control device will directly convert the received baseband control signal into the control waveform of the modulation sub-module or demodulation sub-module.
在现实通信系统中,通信基带模块与通信射频模块的连接方式(线缆连接或板级连接)都会受到很大的干扰,导致通信射频控制装置接收不到有效信号或接收到错误的信号:若接收不到信号,则无法对通信射频模块进行有效控制;若接收到错误信号并直接将这些信号转为控制信号发送给通信射频模块中的调制子模块或解调子模块,都会导致诸如调制子模块发射功率突然跳变、解调子模块接收增益突然跳变或调制子模块、解调子模块频率无规律跳变等现象。In a real communication system, the connection mode (cable connection or board-level connection) between the communication baseband module and the communication radio frequency module will be greatly interfered, resulting in the communication radio frequency control device not receiving valid signals or receiving wrong signals: if If the signal cannot be received, the communication radio frequency module cannot be effectively controlled; if the wrong signal is received and these signals are directly converted into control signals and sent to the modulation sub-module or demodulation sub-module in the communication radio frequency module, such as the modulation sub-module The sudden jump of the transmit power of the module, the sudden jump of the receiving gain of the demodulation sub-module, or the irregular frequency jump of the modulation sub-module and the demodulation sub-module.
以基带控制信号的格式为SPI制式信号为例,SPI信号是一种同步串行外设的接口总线,它可以使处理器与各种外设设备以串行方式进行通信,工作方式为主从式。SPI是一种高速的、全双工的同步通信总线,总计为四根总线,分别为CLK(时钟信号),~CS(信号使能信号),MOSI(主设备输出/从设备输入),MISO(主设备输入/从设备输出)。MISO和MOSI都是传输数据信号的,在下文中统称为DATA信号。图2为现有技术中标准SPI信号与错误SPI信号的时序图。SPI信号标准规定在使能信号有效(一般为低电平,参见图2中的~CS信号)时由时钟上升沿采样有效数据(参见图2中的CLK信号),DATA信号在其他时间(未传输数据时)一般保持在高电平。Taking the format of the baseband control signal as an SPI standard signal as an example, the SPI signal is a synchronous serial peripheral interface bus, which enables the processor to communicate with various peripheral devices in a serial manner, and the working mode is master-slave Mode. SPI is a high-speed, full-duplex synchronous communication bus. There are four buses in total, namely CLK (clock signal), ~CS (signal enable signal), MOSI (master output/slave input), MISO (Master In/Slave Out). Both MISO and MOSI transmit data signals, and are collectively referred to as DATA signals hereinafter. FIG. 2 is a timing diagram of a standard SPI signal and an error SPI signal in the prior art. The SPI signal standard stipulates that valid data is sampled by the rising edge of the clock (see the CLK signal in Figure 2) when the enable signal is valid (generally low level, see the ~CS signal in Figure 2), and the DATA signal is sampled at other times (not When transmitting data) is generally kept at a high level.
图2上半部分为标准SPI信号的时序图。其中的DATA信号若此信号传输为最高位优先,图2上半部所示的“原始SPI信号”电平所传输信号为8位二进制数据0b00101011(以十六进制表示为0x2B,以十进制表示为43)。The upper part of Figure 2 is the timing diagram of the standard SPI signal. If the DATA signal is transmitted with the highest bit priority, the signal transmitted by the level of the "original SPI signal" shown in the upper part of Figure 2 is 8-bit binary data 0b00101011 (expressed as 0x2B in hexadecimal, expressed in decimal for 43).
图2下半部分为错误SPI信号的时序图。相对于同样质量的DATA信号(参见图3下半部分中“电平信号”),由于CLK信号和~CS信号的错位(相对DATA信号),最高位的‘0’没有被采样,由于DATA信号在其他时间保持在高电平,最后的采样结果为8位二进制数据0b01010111(以十六进制表示为0x57,以十进制表示为87)。如果此数据用来控制调制子模块的射频信号增益(以dB为单位的功率数值),若数据从43误传为87,对于功率信号,其增益将增加约15848倍(即倍),这对本地和与之通信的无线通信系统都将造成非常严重的影响。The lower part of Figure 2 is the timing diagram of the wrong SPI signal. Compared with the DATA signal of the same quality (see "level signal" in the lower part of Figure 3), due to the misalignment of the CLK signal and the ~CS signal (relative to the DATA signal), the highest bit '0' is not sampled, because the DATA signal Keep at high level at other times, and the final sampling result is 8-bit binary data 0b01010111 (0x57 in hexadecimal, 87 in decimal). If this data is used to control the RF signal gain of the modulation sub-module (power value in dB), if the data is misrepresented from 43 to 87, the gain will increase by about 15848 times for the power signal (ie times), which will have a very serious impact on the local and wireless communication systems communicating with it.
发明内容 Contents of the invention
(一)要解决的技术问题(1) Technical problems to be solved
针对现有技术中存在的上述一个或多个问题,本发明提出一种通信射频模块控制装置及其控制方法,以在通信射频模块和通信基带模块之间的信号受到干扰的情况下,对控制数字信号进行有效处理,避免对调制子模块或解调子模块进行不当控制。In view of the above-mentioned one or more problems existing in the prior art, the present invention proposes a communication radio frequency module control device and its control method, in order to control the The digital signal is effectively processed to avoid improper control of the modulation sub-module or demodulation sub-module.
(二)技术方案(2) Technical solution
根据本发明的一个方面,提供了一种射频控制装置,其前端与通信基带模块相连接,其后端与通信射频模块相连接。该装置包括:信号接收单元,与通信基带模块相连接,用于从通信基带模块获得的当前信号数值;信号接收情况反馈单元,用于当当前信号数值有效时,向信号阈值控制单元发送当前信号数值;信号阈值控制单元,用于计算从当前信号数值与其第一缓存器中上一次的滤波结果的差值,如果差值大于信号数值比较阈值且差值大于信号数值比较阈值的累积次数小于信号误差计数阈值时,发送第二不使能信号至控制信号生成使能单元,对差值大于信号数值比较阈值的累积次数进行更新;控制信号生成使能单元,与信号阈值控制单元相连接,用于当接收到信号阈值控制单元的第二不使能信号后,向控制信号生成单元发送“控制不使能”信号;控制信号生成单元,与通信射频模块、控制数值存储单元和控制信号生成使能单元相连接,用于接收到控制信号生成使能单元的“控制不使能”信号后,不生成射频控制信号至通信射频模块,生成更新信号至控制数值存储单元。According to one aspect of the present invention, a radio frequency control device is provided, the front end of which is connected to the communication baseband module, and the rear end thereof is connected to the communication radio frequency module. The device includes: a signal receiving unit, connected to the communication baseband module, used to obtain the current signal value from the communication baseband module; a signal receiving situation feedback unit, used to send the current signal to the signal threshold control unit when the current signal value is valid Value; signal threshold control unit, used to calculate the difference between the current signal value and the last filter result in its first buffer, if the difference is greater than the signal value comparison threshold and the cumulative number of times the difference is greater than the signal value comparison threshold is less than the signal When the error counts threshold value, send the second non-enabling signal to the control signal generation enabling unit, and update the cumulative number of times that the difference is greater than the signal value comparison threshold; the control signal generation enabling unit is connected with the signal threshold control unit, and uses After receiving the second disabling signal of the signal threshold control unit, send a "control disabling" signal to the control signal generating unit; the control signal generating unit communicates with the radio frequency module, the control value storage unit and the control signal generating The enabling unit is connected to the control signal generation enabling unit, and is used to generate an update signal to the control value storage unit without generating a radio frequency control signal to the communication radio frequency module after receiving the "control disabling" signal from the control signal generation enabling unit.
根据本发明的另一个方面,还提供了一种射频控制方法,该方法包括:步骤A,信号接收单元从通信基带模块获得的当前信号数值;步骤B,当当前信号数值有效时,信号接收情况反馈单元向信号阈值控制单元发送当前信号数值;步骤C,信号阈值控制单元计算从当前信号数值与其第一缓存器中上一次的滤波结果的差值,如果差值大于信号数值比较阈值且差值大于信号数值比较阈值的累积次数小于信号误差计数阈值时,发送第二不使能信号至控制信号生成使能单元,对差值大于信号数值比较阈值的累积次数进行更新;步骤F,当接收到信号阈值控制单元的第二不使能信号后,控制信号生成使能单元向控制信号生成单元发送“控制不使能”信号;步骤G,控制信号生成单元接收到控制信号生成使能单元的“控制不使能”信号后,不生成射频控制信号至通信射频模块,生成更新信号至控制数值存储单元。According to another aspect of the present invention, a radio frequency control method is also provided, the method includes: Step A, the current signal value obtained by the signal receiving unit from the communication baseband module; Step B, when the current signal value is valid, the signal receiving situation The feedback unit sends the current signal value to the signal threshold control unit; step C, the signal threshold control unit calculates the difference between the current signal value and the last filtering result in its first buffer, if the difference is greater than the signal value comparison threshold and the difference When the cumulative number of times greater than the signal value comparison threshold is less than the signal error count threshold, send a second disabling signal to the control signal generation enabling unit to update the cumulative number of times the difference is greater than the signal value comparison threshold; step F, when receiving After the second disabling signal of the signal threshold control unit, the control signal generation enabling unit sends a "control disabling" signal to the control signal generating unit; Step G, the control signal generating unit receives the "control signal generating enabling unit" After the "control disable" signal, no radio frequency control signal is generated to the communication radio frequency module, and an update signal is generated to the control value storage unit.
附图说明 Description of drawings
图1为现有技术射频控制装置在无线通信系统中所处位置的示意图;FIG. 1 is a schematic diagram of the position of a radio frequency control device in the prior art in a wireless communication system;
图2为现有技术中标准SPI信号与错误SPI信号的时序图;Fig. 2 is the timing diagram of standard SPI signal and wrong SPI signal in the prior art;
图3为本发明实施例射频控制装置的结构示意图;3 is a schematic structural diagram of a radio frequency control device according to an embodiment of the present invention;
图4为本发明实施例射频控制方法的流程图;4 is a flowchart of a radio frequency control method according to an embodiment of the present invention;
图5为本发明实施例通信射频模块在第一处理流程中各单元状态的示意图;5 is a schematic diagram of the state of each unit in the first processing flow of the communication radio frequency module according to the embodiment of the present invention;
图6为本发明实施例通信射频模块在第二处理流程中各单元状态的示意图。Fig. 6 is a schematic diagram of the state of each unit in the second processing flow of the communication radio frequency module according to the embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
在下面所述的具体实施方式中,假设基带控制信号的格式为SPI制式信号,本发明电路需要控制的通信射频模块所需的控制的信号同样为SPI制式信号。所属领域的技术人员应当了解,对于其他制式的信号,本发明同样适用。In the specific implementation described below, it is assumed that the format of the baseband control signal is an SPI standard signal, and the control signal required by the communication radio frequency module that the circuit of the present invention needs to control is also an SPI standard signal. Those skilled in the art should understand that the present invention is also applicable to signals of other formats.
在本发明的一个示例性实施例中,提出了一种射频控制装置。图3为本发明实施例射频控制装置的结构示意图。如图3所示,该射频控制装置包括:信号接收单元101、信号接收情况反馈单元102、信号阈值控制单元103、信号数值滤波单元104、控制数值存储单元105、控制信号生成使能单元106和控制信号生成单元107。需要说明的是,其中白色的箭头表示信号数值的传输路径,黑色的箭头表示不含数值信号的使能信号的传输路径(如“控制使能”信号/“控制不使能”信号和第二使能信号/第二不使能信号)。以下分别对各个组成单元进行详细说明。In an exemplary embodiment of the present invention, a radio frequency control device is provided. FIG. 3 is a schematic structural diagram of a radio frequency control device according to an embodiment of the present invention. As shown in Figure 3, the radio frequency control device includes: a
信号接收单元101,内部包含基带控制信号相应波形的解码电路,如SPI解码电路,用于对从通信基带模块200输入的基带控制信号进行接收和解码,获得当前信号数值。The
信号接收情况反馈单元102,与信号接收单元101相连接,用于对信号接收单元的接收情况进行监控,并将监控情况反馈至通信基带模块200。在正常接收到信息的时候反馈‘接收正常’信号,并将当前信号数值传送给信号阈值控制控制单元103。如果在一定时间内没有收到任何有效SPI信息,则向通信基带模块200发送‘接收异常’的报警信号。同时,信号接收反馈单元102还用于接收来自信号阈值控制单元103的信息(数值超出阈值信息)并将其反馈给通信基带模块。The signal receiving
信号阈值控制单元103,与信号接收情况反馈单元102相连接,包括:阈值信息寄存器、信号误差计数寄存器、数值缓存寄存器和比较子单元。其中:阈值信息寄存器,用于存储初始化的信号数值比较阈值和信号误差计数阈值;信号误差计数寄存器,用于存储报错次数的累积数值。数值缓存寄存器,用于存储和当前数值进行比较的上一次的滤波结果。比较子单元,与上述的阈值信息寄存器、信号误差计数寄存器、数值缓存寄存器相连接,用于接收来自信号接收情况反馈单元102的当前信号数值后,将其和数值缓存寄存器中的数据进行比较,判断两者之差是否大于阈值信息寄存器中信号数值比较阈值,根据判断的结果有以下两种情况:The signal
情况一:如果当前数值与数值缓存寄存器中的数据之差小于或等于设定的信号数值比较阈值,则通知控制信号生成使能单元106当前信号使能,并将当前数值传输给信号数值滤波单元104(参见下文处理流程A);Case 1: If the difference between the current value and the data in the value buffer register is less than or equal to the set signal value comparison threshold, then notify the control signal
情况二:如果当前数值与数值缓存寄存器中的数据之差大于设定的信号数值比较阈值,则判断信号误差计数寄存器中的数值是否大于信号误差计数阈值:(1)如果信号误差计数寄存器中的数值小于或等于信号误差计数阈值(参见下文处理流程B),则发出超出阈值报错信号至信号接收情况反馈单元102,通知控制信号生成使能单元106当前信号不使能,信号误差计数寄存器中的数值加1;(2)如果信号误差计数寄存器中的数值大于信号误差计数阈值,则通知控制信号生成使能单元106当前信号使能,将数据传输给信号数值滤波单元104(参见下文处理流程D)。在本文的最后部分将对处理流程A、处理流程B、处理流程C和处理流程D进行详细说明。Case 2: If the difference between the current value and the data in the value buffer register is greater than the set signal value comparison threshold, then judge whether the value in the signal error count register is greater than the signal error count threshold: (1) if the value in the signal error count register If the value is less than or equal to the signal error counting threshold (referring to the following processing flow B), then an error signal exceeding the threshold is sent to the signal
此外,信号阈值控制单元103,还接收从信号数值滤波单元104反馈的滤波后滤波结果,并将其存入数值缓存寄存器,以待下一次收到有效信号时与之对比。In addition, the signal
数值信号滤波单元104,与信号阈值控制单元相连接,用于接收信号阈值控制单元103传送的当前信号数值,并读取控制数值存储单元105中的至少两个历史滤波数据;该当前信号数值及至少两个历史滤波数据分别乘以对应系数后,并计算出当前滤波结果。而后将当前滤波结果存在控制数值存储单元105中。The numerical
控制数值存储单元105是一个提供了两个读写端口的存储器模块,可供信号数值滤波单元104写入和读取数据,同时可供控制信号生成单元107读取数据。控制数值存储单元同时根据信号接收情况反馈单元102的标示情况更新数值的存储(将在下文中结合各种情况详细说明)。The control
控制信号生成使能单元106接收信号阈值控制单元103给出的通知信号。若信号阈值控制单元103通知当前信号使能,则控制信号生成使能单元106生成使能信号,即将其状态更新为“使能”状态;反之则不生成使能信号,即将其状态更新为“不使能”状态。The control signal
控制信号生成单元107包含相应通信射频模块所需控制信号生成电路,控制信号生成单元107在每一周期根据控制数值存储单元105和控制信号生成使能单元106生成射频模块控制信号,若控制信号生成使能单元106给出‘使能’信号(如图5/图6中相应的‘Y’),则控制信号生成单元107读取控制数值存储单元105中的相应数据并生成相应控制信号;反之,若控制信号生成使能单元106给出‘不使能’信号(如图5/图6中相应的‘N’),则控制信号生成单元107当前处理周期空闲,不生成任何控制信号。The control
图4为本发明实施例射频控制方法的流程图。如图4所示,本实施例射频控制方法包括:Fig. 4 is a flowchart of a radio frequency control method according to an embodiment of the present invention. As shown in Figure 4, the radio frequency control method of this embodiment includes:
步骤S402,接收基带控制信号,信号接收单元(101)进行波形解码,解出当前数值,并将数值传给信号接收情况反馈单元(102)。Step S402, receiving the baseband control signal, the signal receiving unit (101) decodes the waveform, obtains the current value, and transmits the value to the signal reception status feedback unit (102).
步骤S404,信号接收反馈单元102判断是否为有效信号?如果是,执行步骤S406,否则,执行步骤S408;Step S404, the signal receiving
步骤S406,无效信号数值的处理流程(处理流程C),流程结束;Step S406, the processing flow of the invalid signal value (processing flow C), the flow ends;
步骤S408,信号阈值控制单元103判断当前信号数值与数值缓存值之差是否大于阈值,如果是,则执行步骤S412,否则,则执行步骤S410。In step S408, the signal
步骤S410,正常信号数值的处理流程(处理流程A),流程结束;Step S410, the processing flow of the normal signal value (processing flow A), the flow ends;
步骤S412,信号阈值控制单元103判断信号阈值误差寄存器数值是否大于信号误差技术阈值,如果是,则执行步骤S416;否则,执行步骤S414;Step S412, the signal
步骤S414,信号数值跳变处理流程(处理流程D),流程结束;Step S414, the signal value jump processing flow (processing flow D), the flow ends;
步骤S416,错误信号数值的处理流程(处理流程B),流程结束。Step S416, the processing flow of the value of the error signal (processing flow B), and the flow ends.
图5为本发明实施例通信射频模块在第一处理流程中各单元状态的示意图。图6为本发明实施例通信射频模块在第二处理流程中各单元状态的示意图。在图5和图6中,左侧为相应寄存器或处理结果的名称,右侧额为相应寄存器或处理结果的具体数值。具体来讲,对于图5和图6:Fig. 5 is a schematic diagram of the states of each unit of the communication radio frequency module in the first processing flow according to the embodiment of the present invention. Fig. 6 is a schematic diagram of the state of each unit in the second processing flow of the communication radio frequency module according to the embodiment of the present invention. In FIG. 5 and FIG. 6 , the left side is the name of the corresponding register or the processing result, and the right side is the specific value of the corresponding register or the processing result. Specifically, for Figures 5 and 6:
第1行是:信号接收单元接收的数值信号;Line 1 is: the numerical signal received by the signal receiving unit;
第2行是:信号接收情况反馈单元的反馈信号;The second line is: the feedback signal of the signal reception feedback unit;
第3行是:数值缓存寄存器(信号阈值控制单元)中寄存的数值;The third line is: the value registered in the value buffer register (signal threshold control unit);
第4行是:在信号数值比较阈值=32时,信号阈值控制单元的结果;The 4th line is: when the signal value comparison threshold=32, the result of the signal threshold control unit;
第5行是:在信号误差计数阈值=2时,信号阈值误差计数寄存器(信号阈值控制单元)的计数值;The 5th row is: when signal error count threshold=2, the count value of signal threshold error count register (signal threshold control unit);
第6行是:控制信号生成使能单元的状态;Line 6 is: the state of the control signal generation enabling unit;
第7行是:控制数值存储单元(buff1和buff2)所存储的数值;The 7th line is: control the value stored in the value storage unit (buff1 and buff2);
第8行是:信号数值滤波单元的当前数值和计算的结果;Line 8 is: the current value and calculation result of the signal value filtering unit;
第9行是:控制数值存储单元所存储的数值;Line 9 is: control the value stored in the value storage unit;
第10行是:控制信号生成使能单元的状态;Line 10 is: the state of the control signal generation enabling unit;
第11行是:控制信号生成单元的输出信号。Line 11 is: the output signal of the control signal generating unit.
以下结合图5和图6对本发明实施例通信射频模块处理流程进行说明。The processing flow of the communication radio frequency module according to the embodiment of the present invention will be described below with reference to FIG. 5 and FIG. 6 .
正常信号数值的处理流程(处理流程A):Processing flow of normal signal value (processing flow A):
下面将首先以一个正常信号数值为例解释发明所述电路对正常信号的处理流程,如图5中所标记‘A’的信号处理周期所示。该处理流程包括:In the following, a normal signal value will be taken as an example to explain the processing flow of the circuit according to the invention to a normal signal, as shown in the signal processing cycle marked 'A' in FIG. 5 . This process includes:
步骤A1,信号接收单元101首先对波形进行解码,并解码出其接收到的数据为44,并将数据传送给信号接收情况反馈单元102;Step A1, the
步骤A2,信号接收情况反馈单元102确认数据接收情况并向通信基带模块发送确认信息(如图中所示‘Y’);Step A2, the signal reception
步骤A3,当前时刻在信号阈值控制单元103缓存中的数值为41,两者的数值差为3(44-41=3),而数值阈值控制单元103中的初始化信号数值比较阈值为32,数值差3小于阈值,(同时当前信号误差计数寄存器数值为0,当数值差小于信号数值比较阈值的时候,无论信号阈值误差计数寄存器中的数值是否大于信号误差技术阈值,信号阈值控制单元103都将标识当前信号数值使能)单元阈值控制单元标识此数据使能)(如图5中显示‘PASS’),并通知控制信号生成使能单元(106)当前信号数值使能(如图5中控制信号生成使能单元的’Y’);Step A3, the numerical value in the signal
步骤A4,同时数值阈值控制单元102还将当前数据传输给信号数值滤波单元103作为当前数值(下文中Cu_value)进行滤波运算。Step A4, at the same time, the value
作为实例的信号数值滤波单元103电路计算式为:The calculation formula of the signal
F_result=Cu_value×0.5+buff1×0.25+buff2×0.25F_result=Cu_value×0.5+buff1×0.25+buff2×0.25
其中F_result为计算结果(Filter Result),Cu_value为当前数值(CurrentValue),buff1和buff2为信号数值滤波单元103读取自控制数值存储单元104(控制数值存储单元包括buff2、buff1和OUT3个数据寄存器)。Wherein F_result is the calculation result (Filter Result), Cu_value is the current value (CurrentValue), buff1 and buff2 are the signal
如图5所示,当前状态下数值存储单元中buff1中存储值为42,buff2中存储值为41,从数值阈值控制单元102接收到的当前数值(Cu_value)为44。计算所得F_result为42.75(44×0.5+42×0.25+41×0.25),因为当前实例中射频部分控制字只能为整数,故结果将四舍五入为43存入控制数值存储单元104的OUT数值寄存器中(如图5所示),信号数值滤波单元103将结果43存入信号阈值控制单元102缓存中以备下一个有效数据到达时进行比较。As shown in FIG. 5 , in the current state, the value stored in buff1 in the value storage unit is 42, the value stored in buff2 is 41, and the current value (Cu_value) received from the value
步骤A5,在信号数值滤波单元104完成向控制数值存储单元105的数据存入操作后(OUT数值寄存器),控制信号生成单元107将根据控制数值存储单元105和控制信号生成使能单元106的状态决定是否生成射频控制信号。当前状态下控制信号生成使能单元106状态为‘Y’(使能),且控制数值存储单元的OUT数值寄存器数值为43,控制信号生成单元(107)将按数值43生成控制信号。Step A5, after the signal
步骤A6,当前处理周期结束后,控制数值存储单元105将整理本身数据(由于信号接收情况反馈单元102标示为’Y’,故进行下列修正操作),以buff1中的数据写入buff2,以OUT数值写入buff1(参见图5中标示为‘A’的处理周期和其后一个处理周期控制数值存储单元(buff1/buff2)中的数值变化)。Step A6, after the current processing cycle ends, the control
处理流程B(错误信号数值的处理流程):Processing flow B (processing flow of error signal value):
下面将首先以一个错误波形为例解释发明所述电路对错误信号的处理流程,如图5中所标记‘B’的信号处理周期所示。该处理流程包括:In the following, an error waveform will be taken as an example to explain the processing flow of the circuit according to the invention to an error signal, as shown in the signal processing cycle marked 'B' in FIG. 5 . This process includes:
步骤B1,信号接收单元101首先对波形进行解码,并解码出其接收到的数值为87(由于图1所示的类似错误),并将数据传送给信号接收情况反馈单元102;Step B1, the
步骤B2,信号接收情况反馈单元102确认数据接收情况并向通信基带模块发送确认信息(如图中所示‘Y’)。当前时刻在信号阈值控制单元103缓存中的数值为43,两者的数值差为43(87-44=43),而数值阈值控制单元中103的初始化阈值为32,数值差43大于阈值。数值差大于阈值的时候信号阈值误差计数寄存器自身值加1,在当前实例中,信号阈值误差寄存器数值从0修正为1,1的数值小于信号误差计数阈值(当前实例中信号误差计数阈值初始值为2。如果当前数值与数值缓存寄存器中的数据之差大于设定的信号数值比较阈值且信号误差计数寄存器中的数值小于信号误差计数阈值,则标示此数据不使能);Step B2, the signal reception
步骤B3,数值阈值控制单元103标识此数据不使能(如图5中显示‘ERROR’),并通知控制信号生成使能单元106当前信号数值不使能(如图5中控制信号生成使能单元的‘N’)。由于当前信号数值已经被标示为不使能,当前数值不作为Cu_value存入,Cu_value不变,由于buff1和buff2已经在上一处理周期后已经被控制数值存储单元105修正,当前buff2,buff1,Cu_value分别为43,43,43;Step B3, the value
步骤B4,代入实例的信号数值滤波单元103电路计算式(F_result=Cu_value×0.5+buff1×0.25+buff2×0.25)计算结果为43;Step B4, substituting the signal
步骤B5,由于控制信号生成使能单元106标示当前信号数值不使能,控制信号生成单元107在当前处理周期结束后将不生成控制信号(如图5中标示的控制信号生成单元107的‘空闲’状态)。上述数值计算结果仍存入控制数值存储单元105的OUT寄存器和信号阈值控制单元103的数值缓存寄存器;Step B5, since the control signal
步骤B6,由于信号接收情况反馈单元102标示为‘Y’,故控制数值存储单元105进行下列修正操作:以buff1中的数据写入buff2,以OUT数值写入buff1(参见图5中标示为‘B’的处理周期和其后一个处理周期控制数值存储单元(buff1/buff2)中的数值变化)。Step B6, since the signal reception
处理流程C(无效信号数值的处理流程):Processing flow C (processing flow of invalid signal value):
下面将首先以一个无效信号波形为例解释发明所述电路对无效信号的处理流程,如图5中所标记‘C’的信号处理周期所示,本处理流程包括:Below will firstly take an invalid signal waveform as an example to explain the processing flow of the circuit described in the invention to the invalid signal, as shown in the signal processing cycle marked 'C' in Figure 5, the processing flow includes:
步骤C1,信号接收单元101在当前周期没有接收到有效信号波形,并通知信号接收情况反馈单元;Step C1, the
步骤C2,信号接收情况反馈单元102确认数据接收情况(当前实例下为无效信号)并向基带发送确认信息(如图中所示‘N’);Step C2, the signal reception
步骤C3,在这种情况下信号阈值控制单元103从数值接收情况反馈单元102接收到无效信号标识,直接标识当前数值信号不使能,(如图5中的‘ERROR’),并通知控制信号生成使能单元106当前信号数值不使能(如图5中控制信号生成使能单元的’N’);Step C3, in this case, the signal
步骤C4,信号阈值滤波单元104仍然进行数值计算,但是由于信号接收情况反馈单元102标示当前信号为‘N’,控制数值存储单元105不修正OUT寄存器,数据处理周期后也不对buff1和buff2寄存器也不进行修正;Step C4, the signal
步骤C5,由于控制信号生成使能单元106标示当前信号数值不使能,控制信号生成单元107在当前处理周期结束后将不生成控制信号(如图5中标示的控制信号生成单元107的‘空闲’状态)。Step C5, because the control signal
处理流程D(信号数值跳变的处理流程):Processing flow D (processing flow of signal value jump):
在上述处理流程B中,我们给出了出现错误波形的情况下出现错误跳变并对其进行处理的处理流程。在移动通信的实际应用中,尤其是高速应用(如车载电话,高速移动电话应用等),由于其终端和基带的距离和噪音条件会经常发生频繁变化,尤其在出入树林、水泥房屋内部和高架桥下等地区会对通信功率提出频繁的变换需求,这种情况下要求射频模块控制信号可以很快地随基带信号变化而变化。本发明引入信号误差计数阈值,将正常的基带功率跳变要求和错误的信号波形加以区别。处理流程D说明了本发明将正常的基带功率跳变要求和错误的信号波形加以识别并进行处理的流程。In the above-mentioned processing flow B, we have given the processing flow for error jumps and processing when error waveforms occur. In the practical application of mobile communication, especially high-speed applications (such as car phones, high-speed mobile phone applications, etc.), due to the frequent changes in the distance and noise conditions between the terminal and the baseband, especially in the woods, inside cement houses and viaducts Inferior areas will require frequent changes in communication power. In this case, the control signal of the radio frequency module is required to change quickly with the change of the baseband signal. The present invention introduces a signal error counting threshold to distinguish normal baseband power jump requirements from erroneous signal waveforms. Processing flow D illustrates the flow of the present invention to identify and process normal baseband power jump requirements and error signal waveforms.
下面将以一个正常功率大幅度跳变波形为例解释发明所述电路对功率大幅度跳变信号的处理流程。如图6中所标记的D1至D7所示,由于移动通信环境要求,通信基带系统要求功率出现大幅度跳变(本实例给出的情况为基带要求大幅度提升,基带要求大幅度减少的情况与本实例类似)。The following will take a normal power large-scale jump waveform as an example to explain the processing flow of the circuit according to the invention to the power large-scale jump signal. As shown in D1 to D7 marked in Figure 6, due to the requirements of the mobile communication environment, the communication baseband system requires a large jump in power (the situation given in this example is that the baseband requirement is greatly increased, and the baseband requirement is greatly reduced. similar to this example).
周期D1,如图6中所标记D1的信号处理周期所示,信号接收单元101首先对波形进行解码,并解码出其接收到的数据为87,并将数据传送给信号接收情况反馈单元102,信号接收情况反馈单元102确认数据接收情况并向通信基带模块发送确认信息(如图中所示‘Y’)。当前时刻在信号阈值控制单元103缓存中的数值为43,两者的数值差为44(87-43=44),而数值阈值控制单元中103的初始化信号数值比较阈值为32,数值差44大于阈值,并将信号阈值控制单元102中的信号阈值误差计数寄存器中的数值从0修正为1,由于寄存器中的数值小于信号误差计数阈值,单元阈值控制单元103标识此数据不使能(如图6中显示‘ERROR’),并通知控制信号生成使能单元106当前信号数值不使能。其他处理流程参见前文处理流程B,在当前处理周期结束后不生成控制信号,不更新信号阈值控制单元103中的数值缓存寄存器。Period D1, as shown in the signal processing period marked D1 in FIG. 6 , the
周期D2,如图6中所标记D2的信号处理周期所示,其处理流程类似于D1周期,信号接收单元101首先对波形进行解码,并解码出其接收到的数据为89,并将数据传送给信号接收情况反馈单元102,信号接收情况反馈单元102确认数据接收情况并向基带发送确认信息(如图中所示‘Y’)。当前时刻在信号阈值控制单元103缓存中的数值为43,两者的数值差为46(89-43=46),而数值阈值控制单元中103的初始化信号数值比较阈值为32,数值差46大于阈值,并将信号阈值控制单元102中的信号阈值误差计数寄存器中的数值从1修正为2,由于寄存器中的数值小于信号误差计数阈值,单元阈值控制单元103标识此数据不使能(如图6中显示‘ERROR’),并通知控制信号生成使能单元106当前信号数值不使能。其他处理流程参见前文处理流程B,在当前处理周期结束后不生成控制信号,不更新信号阈值控制单元103中的数值缓存寄存器。Cycle D2, as shown in the signal processing cycle marked D2 in Figure 6, its processing flow is similar to the D1 cycle, the
周期D3,如图6中标示为‘D3’处理周期,信号接收单元101首先对波形进行解码,并解码出其接收到的数据为90,并将数据传送给信号接收情况反馈单元102,信号接收情况反馈单元102确认数据接收情况并向基带发送确认信息(如图中所示‘Y’)。当前时刻在信号阈值控制单元103缓存中的数值为43,两者的数值差为47(90-43=47),而数值阈值控制单元中103的初始化信号数值比较阈值为32,数值差47大于阈值,并将信号阈值控制单元102中的信号阈值误差计数寄存器中的数值从2修正为3,由于当前数据与信号阈值控制单元103中的数值缓存寄存器数值之差大于信号数值比较阈值且寄存器中的数值大于信号误差计数阈值,单元阈值控制单元103标识此数据使能(如图6中显示‘PASS’),此后流程按数值使能流程处理(参见处理流程A)。Cycle D3, marked as 'D3' processing cycle in Figure 6, the
D3处理周期之后的D4、D5、D6、D7处理周期类似于一般数据的处理周期(参见处理流程A),从图6中可以看出,当基带控制信号确实出现跳变的时候,本发明所述电路可以很快追踪控制信号,控制信号生成单元107在7个左右处理周期即可以输出与基带所要求信号幅度非常相近的信号数值。The D4, D5, D6, D7 processing cycles after the D3 processing cycle are similar to the processing cycle (referring to processing flow A) of general data, as can be seen from Fig. 6, when the baseband control signal jumps indeed, the present invention The above circuit can quickly track the control signal, and the control
综上所述,本发明所述电路不但能够较好的处理由于基带信号传输错误所产生的信号数值解码错误,在基带信号出现跳变的时候也能够较快的追踪信号数值变化,可以有效地产生数值适宜的射频模块控制信号,有效地控制通信射频模块。In summary, the circuit of the present invention can not only better deal with signal value decoding errors caused by baseband signal transmission errors, but also quickly track signal value changes when the baseband signal jumps, which can effectively A control signal of the radio frequency module with an appropriate value is generated to effectively control the communication radio frequency module.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100456937A CN103297067A (en) | 2012-02-24 | 2012-02-24 | Radio frequency control device and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100456937A CN103297067A (en) | 2012-02-24 | 2012-02-24 | Radio frequency control device and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103297067A true CN103297067A (en) | 2013-09-11 |
Family
ID=49097462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100456937A Pending CN103297067A (en) | 2012-02-24 | 2012-02-24 | Radio frequency control device and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103297067A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110174852A (en) * | 2018-02-19 | 2019-08-27 | 韩华航空航天公司 | Control system for storing signal values |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1074570A (en) * | 1992-01-15 | 1993-07-21 | 莫托罗拉公司 | Be used for the method and apparatus that burst noise detects in the signal processor |
JP3333102B2 (en) * | 1997-01-22 | 2002-10-07 | 富士通テン株式会社 | Automatic gain control device for digital receiver. |
CN1628446A (en) * | 2002-06-20 | 2005-06-15 | 诺基亚公司 | Method and sytem for receiving multi-carrier signal |
CN1992553A (en) * | 2005-12-28 | 2007-07-04 | 汤姆森特许公司 | Gain control method and device for a bursty data frame reception system |
CN101179283A (en) * | 2007-09-28 | 2008-05-14 | 杭州国芯科技有限公司 | Method of detecting and suppressing pulse noise |
WO2009021053A2 (en) * | 2007-08-06 | 2009-02-12 | Mediaphy Corporation | Configurable hardware engines in wireless receiver |
-
2012
- 2012-02-24 CN CN2012100456937A patent/CN103297067A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1074570A (en) * | 1992-01-15 | 1993-07-21 | 莫托罗拉公司 | Be used for the method and apparatus that burst noise detects in the signal processor |
JP3333102B2 (en) * | 1997-01-22 | 2002-10-07 | 富士通テン株式会社 | Automatic gain control device for digital receiver. |
CN1628446A (en) * | 2002-06-20 | 2005-06-15 | 诺基亚公司 | Method and sytem for receiving multi-carrier signal |
CN1992553A (en) * | 2005-12-28 | 2007-07-04 | 汤姆森特许公司 | Gain control method and device for a bursty data frame reception system |
WO2009021053A2 (en) * | 2007-08-06 | 2009-02-12 | Mediaphy Corporation | Configurable hardware engines in wireless receiver |
CN101179283A (en) * | 2007-09-28 | 2008-05-14 | 杭州国芯科技有限公司 | Method of detecting and suppressing pulse noise |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110174852A (en) * | 2018-02-19 | 2019-08-27 | 韩华航空航天公司 | Control system for storing signal values |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11907140B2 (en) | Serial interface for semiconductor package | |
JP6763398B2 (en) | Communication system and communication method | |
US9519603B2 (en) | Method and apparatus to enable multiple masters to operate in a single master bus architecture | |
US10069620B2 (en) | Overclocked line rate for communication with PHY interfaces | |
CN108605056A (en) | Unidirectional clock signaling in high speed serialization link | |
US10419200B2 (en) | Transmission device, reception device, communication system, signal transmission method, signal reception method, and communication method | |
KR102656961B1 (en) | Dynamic hysteresis circuit | |
JP5096024B2 (en) | USB controller and USB controller test method | |
US10852799B2 (en) | Adaptive use of multiple power supplies in communication systems | |
KR20160065206A (en) | Camera control interface slave device to slave device communication | |
CN203224621U (en) | Weather radar high-speed data transmission device based on PCI-E bus | |
WO2018038942A1 (en) | Flipped bits for error detection and correction for symbol transition clocking transcoding | |
CN116414752A (en) | Data transmission method, device, equipment and medium | |
US8626975B1 (en) | Communication interface with reduced signal lines | |
JPWO2020166378A1 (en) | Communication equipment and methods, and programs | |
CN103297067A (en) | Radio frequency control device and control method thereof | |
CN104380273A (en) | Adaptive offset synchronization of data based on ring buffers | |
WO2008038388A1 (en) | Signal receiver apparatus and waveform shaping method | |
CN115004587B (en) | Bit inversion for data transfer | |
CN204206152U (en) | A kind of difference I2C bus communication interface circuit | |
KR101685613B1 (en) | Data communication method for Communication module of digital Protective Relay | |
US10511463B2 (en) | Reception device, reception method, and communication system | |
CN118842708A (en) | Method, device, processor, network equipment and system for improving transmission rate | |
WO2022057911A1 (en) | Buffer, memory device, and memory bus signal processing method | |
US20180336132A1 (en) | Information processing device, processor, and transmission information storage method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130911 |