CN112491425B - Flexibly configurable radio frequency hardware decoder - Google Patents

Flexibly configurable radio frequency hardware decoder Download PDF

Info

Publication number
CN112491425B
CN112491425B CN202011424099.XA CN202011424099A CN112491425B CN 112491425 B CN112491425 B CN 112491425B CN 202011424099 A CN202011424099 A CN 202011424099A CN 112491425 B CN112491425 B CN 112491425B
Authority
CN
China
Prior art keywords
module
level
low level
bit
signal
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.)
Active
Application number
CN202011424099.XA
Other languages
Chinese (zh)
Other versions
CN112491425A (en
Inventor
萧放
范富强
刘宇航
李倩
韩金
李晓宁
刘志刚
齐飞
介祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Computing Technology Innovation Research Institute
Original Assignee
Zhongke Computing Technology Innovation Research Institute
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 Zhongke Computing Technology Innovation Research Institute filed Critical Zhongke Computing Technology Innovation Research Institute
Priority to CN202011424099.XA priority Critical patent/CN112491425B/en
Publication of CN112491425A publication Critical patent/CN112491425A/en
Application granted granted Critical
Publication of CN112491425B publication Critical patent/CN112491425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/39Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes
    • H03M13/41Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes using the Viterbi algorithm or Viterbi processors

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The invention relates to a flexible and configurable radio frequency hardware decoder. The invention aims to provide a flexible and configurable radio frequency hardware decoder which is applicable to various coding formats, can rapidly switch different coding formats and has high decoding speed. The technical scheme of the invention is as follows: the decoder includes: the filtering module is used for filtering the input signal according to the configured high and low level burr width thresholds; the counting module is used for respectively counting the continuous periods of high and low levels of the signals filtered by the filtering module under the driving of the clock signal to obtain high and low level count values; and the bit decoding module is used for carrying out bit decoding according to the configured parameter I required by decoding and the high and low level count values obtained from the counting module, and judging decoded data to obtain a synchronous head, a bit 0 and a bit 1. The invention is suitable for the field of industrial control, and particularly relates to a wireless remote control and wireless alarm.

Description

Flexibly configurable radio frequency hardware decoder
Technical Field
The invention relates to a flexible and configurable radio frequency hardware decoder. The wireless remote control and wireless alarm device is suitable for the field of industrial control and particularly relates to a wireless remote control and wireless alarm device.
Background
In life, more and more devices, appliances, vehicles and the like adopt a remote control mode, thereby providing great convenience for the life of people. The radio frequency communication mode is widely applied to the fields of industrial control and the like because of the characteristics of non-directivity, long transmission distance, strong penetrating power and the like.
The radio frequency is to control the equipment in a mode of information transmission through a wireless signal, and after the radio frequency signal is received, the corresponding equipment can be instructed or driven to complete various operations. A common radio frequency control system comprises a transmitter and a receiver. The transmitter is typically a remote control, which encodes and modulates the control information in a particular format. The receiver needs to receive, demodulate and decode.
Currently, the coding formats used by transmitters are different, which makes it difficult for a receiver to adapt to various coding formats. The existing receiver solutions are only suitable for specific coding formats, control information of different formats cannot be analyzed, and a software decoding mode is adopted, so that the defects of small application range, high replacement cost for different coding formats, low decoding speed and high power consumption of the receiver are caused. Meanwhile, the remote controller and the alarm are various in use environments and high in stability.
Disclosure of Invention
The invention aims to solve the technical problems that: aiming at the problems, the flexible and configurable radio frequency hardware decoder which is applicable to various coding formats, can rapidly switch different coding formats and has high decoding speed is provided.
The technical scheme adopted by the invention is as follows: a flexible configurable radio frequency hardware decoder, characterized in that,
comprising the following steps:
the filtering module is used for filtering the input signal according to the configured high and low level burr width thresholds;
the counting module is used for respectively counting the continuous periods of high and low levels of the signals filtered by the filtering module under the driving of the clock signal to obtain high and low level count values;
the bit decoding module is used for carrying out bit decoding according to the configured parameter I required by decoding and the high and low level count values obtained from the counting module, and judging decoded data to obtain a synchronous head, a bit 0 and a bit 1;
the command shift register is used for acquiring the decoded result of the bit decoding module and storing the decoded result as a command;
the command decoding/interrupt generating module decodes the command in the command shift register according to the configured decoding required parameter II, stores the command into the register module and generates an interrupt when the command is a legal command;
and the register module is used for storing the high and low level burr width threshold parameters written by the CPU and parameters I and II required by decoding.
The filtering module is used for:
counting the high level of an input signal through an internal clock, starting counting at the rising edge of the input signal, outputting the high level when the counting is larger than the high level burr width threshold value, and outputting the high level to be changed into the low level after the high level still keeps the high level burr width after the falling edge of the input signal;
after filtering high-level burrs of an input signal, counting the low level of the signal through an internal clock, starting counting at the falling edge of the signal, outputting the signal to be low level when the counting is larger than the threshold value of the width of the low-level burrs, and outputting the signal to be high level after the low level still keeps the width of the low-level burrs after the rising edge of the signal.
The counting module is used for:
inverting the filtered input signal; delaying two beats under the driving of a clock, accumulating and counting by a low-level counter under the low level of a delay signal of a first beat, and resetting the low-level counter when the delay signal is high; the high level counter counts up at the high level of the second beat delay signal, and clears the high level counter when the second beat delay signal is low and the first beat delay signal is high.
The parameters i required for decoding include a recognition 0 highest multiple, a recognition 0 lowest multiple, a recognition 1 highest multiple, a recognition 1 lowest multiple, a synchronization highest multiple, and a synchronization lowest multiple.
The bit decoding module is configured to:
respectively calculating products of the high-level count value and the synchronous highest multiple and the synchronous lowest multiple; comparing the magnitude relation of the low level count value and the product of the low level count value; if the magnitude of the low level count value is between the two products, generating a synchronous indication signal;
respectively calculating products of the low level count value and the highest multiple of the identification 1 and the lowest multiple of the identification 1; comparing the magnitude relation of the high level count value and the product of the high level count value; if the magnitude of the high level count value is between the two products, generating a bit 1 indicating signal;
respectively calculating products of the high level count value and the highest multiple of the identification 0 and the lowest multiple of the identification 0; comparing the magnitude relation of the low level count value and the product of the low level count value; if the magnitude of the low level count value is between the two products, generating a bit 0 indicating signal;
under clock driving, valid bit data is stored in a shift register at the rising edge of an input signal.
The parameters II required by the decoding comprise an alarm code and an alarm code valid bit.
The beneficial effects of the invention are as follows: the invention realizes the radio frequency hardware decoding with configurable, stable, quick and low power consumption by the mutual cooperation of the filtering module, the counting module, the bit decoding module, the command decoding/interrupt generating module and the like.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment.
Fig. 2 is a schematic structural diagram of a filtering module in an embodiment.
Fig. 3 is a schematic diagram of a counting module in an embodiment.
Fig. 4 is a schematic diagram of a bit decoding module in an embodiment.
FIG. 5 is a schematic diagram of a register module according to an embodiment.
Detailed Description
The embodiment is a flexible configurable radio frequency hardware decoder, comprising: a filtering module, a counting module, a bit decoding module, a command shift register, a command decoding/interrupt generating module, a register module and the like.
The filtering module in this embodiment includes a high-level burr filtering module and a low-level burr filtering module, which are configured to filter the input signal according to the configured high-level burr width threshold and low-level burr width threshold.
In this example, the high-level burr filtering module counts the high level of the input signal through the internal clock, starts counting at the rising edge of the input signal, outputs the high level when the count is greater than the threshold value of the high-level burr width, and outputs the high level to become the low level after the high level still keeps the high-level burr width after the falling edge of the input signal.
In this example, the low-level burr filtering module is configured to count the low level of the signal by the internal clock after the high-level burr filtering module filters the high-level burr from the input signal, start counting at the falling edge of the signal, output the signal as the low level when the count is greater than the threshold value of the low-level burr width, and change the output into the high level after the low level still maintains the low-level burr width after the rising edge of the signal.
The counting module in this embodiment includes a high level counting module and a low level counting module, which are configured to count the duration periods of the high level and the low level of the signal filtered by the filtering module under the driving of the clock signal, so as to obtain the count values of the high level and the low level.
The counting module in this example inverts the input signal; then delay two beats under clock drive; the low level counting module counts up under the low level of the first beat of delay signal, and the low level counting module clears when the delay signal is high level; and under the high level of the second beat delay signal, the high level counting module counts up, and when the second beat delay signal is low and the first beat delay signal is high, the high level counting module is cleared.
In this embodiment, the bit decoding module is configured to perform bit decoding according to the configured parameter i required for decoding and the high and low level count values obtained from the counting module, and perform decision on the decoded data to obtain a synchronization header, a bit 0, and a bit 1.
The bit decoding module in the example comprises a product module of a high-level count value and an upper limit multiple of a synchronous head, a product module of the high-level count value and a lower limit multiple of the synchronous head, a numerical comparison module and a synchronous indication signal generation module, and products of the high-level count value and the highest multiple and the lowest multiple of the synchronous are respectively calculated through the product module of the high-level count value and the upper and lower limit multiples of the synchronous head; comparing the magnitude relation of the low level count value and the product of the low level count value through a numerical comparison module; if the magnitude of the low level count value is between the two products, the synchronization indication signal is generated by the synchronization indication signal generating module.
The Bit decoding module in this embodiment further includes a product module of a low level count value and a multiple of the upper limit of Bit "1", a product module of a low level count value and a multiple of the lower limit of Bit "1", a numerical comparison module, and a Bit "1" indication signal generation module, where products of the low level count value and the highest multiple of identification 1 and the lowest multiple of identification 1 are calculated respectively by the product module of the low level count value and the multiple of the upper limit and the lower limit of Bit "1"; comparing the magnitude relation of the high level count value and the product of the high level count value through a numerical comparison module; if the magnitude of the high level count value is between two products, the Bit 1 indication signal is generated by the Bit "1" indication signal generating module.
The Bit decoding module in this embodiment further includes a product module of the high level count value and the upper limit multiple of Bit "0", a product module of the high level count value and the lower limit multiple of Bit "0", a numerical comparison module, and a Bit "0" indication signal generating module, where products of the high level count value and the highest multiple of identification 0 and the lowest multiple of identification 0 are calculated respectively by the product module of the high level count value and the upper and lower limit multiples of Bit "0"; comparing the magnitude relation of the low level count value and the product of the low level count value through a numerical comparison module; if the magnitude of the low level count value is between two products, the Bit 0 indicating signal is generated by the Bit "0" indicating signal generating module.
In this example, the bit decoding module stores the valid bit data 0,1 in the command shift register, and stores the command shift register data in the register module after the sync bit is identified.
The command decoding/interrupt generation module decodes the command of the command shift register according to the configured parameters (alarm code and alarm code valid bit), stores the command into the register module and generates an interrupt when the command is a configured legal command.
The register module stores configuration parameters (high level burr width, low level burr width, identification of 0 highest multiple, identification of 0 lowest multiple, identification of 1 highest multiple, identification of 1 lowest multiple, synchronization highest multiple, synchronization lowest multiple, alarm coding valid bit, etc.) required for decoding by the filtering module, the bit decoding module, the command decoding/interrupt generating module, etc. and decodes the obtained command. The CPU reads and writes through the APB bus, the specific implementation method comprises the following steps: the APB interface module processes the APB bus according to an AMBA APB bus protocol, generates a read-write enabling signal and transmits address and data signals to the decoding module; the decoding module analyzes each item of configuration data, receives radio frequency receiving data and waits for the CPU to read.

Claims (4)

1. A flexible configurable radio frequency hardware decoder, comprising:
the filtering module is used for filtering the input signal according to the configured high and low level burr width thresholds;
the counting module is used for respectively counting the continuous periods of high and low levels of the signals filtered by the filtering module under the driving of the clock signal to obtain high and low level count values;
the bit decoding module is used for carrying out bit decoding according to the configured parameter I required by decoding and the high and low level count values obtained from the counting module, and judging decoded data to obtain a synchronous head, a bit 0 and a bit 1;
the command shift register is used for acquiring the decoded result of the bit decoding module and storing the decoded result as a command;
the command decoding/interrupt generating module decodes the command in the command shift register according to the configured decoding required parameter II, stores the command into the register module and generates an interrupt when the command is a legal command;
the register module is used for storing the high-level burr width threshold value parameters and the low-level burr width threshold value parameters written by the CPU and the parameters I and II required by decoding;
the parameters I required by decoding comprise a recognition 0 highest multiple, a recognition 0 lowest multiple, a recognition 1 highest multiple, a recognition 1 lowest multiple, a synchronization highest multiple and a synchronization lowest multiple;
the bit decoding module is configured to:
respectively calculating products of the high-level count value and the synchronous highest multiple and the synchronous lowest multiple; comparing the magnitude relation of the low level count value and the product of the low level count value; if the magnitude of the low level count value is between the two products, generating a synchronous indication signal;
respectively calculating products of the low level count value and the highest multiple of the identification 1 and the lowest multiple of the identification 1; comparing the magnitude relation of the high level count value and the product of the high level count value; if the magnitude of the high level count value is between the two products, generating a bit 1 indicating signal;
respectively calculating products of the high level count value and the highest multiple of the identification 0 and the lowest multiple of the identification 0; comparing the magnitude relation of the low level count value and the product of the low level count value; if the magnitude of the low level count value is between the two products, generating a bit 0 indicating signal;
under clock driving, valid bit data is stored in a shift register at the rising edge of an input signal.
2. The flexible configurable radio frequency hardware decoder of claim 1, wherein the filtering module is configured to:
counting the high level of an input signal through an internal clock, starting counting at the rising edge of the input signal, outputting the high level when the counting is larger than the high level burr width threshold value, and outputting the high level to be changed into the low level after the high level still keeps the high level burr width after the falling edge of the input signal;
after filtering high-level burrs of an input signal, counting the low level of the signal through an internal clock, starting counting at the falling edge of the signal, outputting the signal to be low level when the counting is larger than the threshold value of the width of the low-level burrs, and outputting the signal to be high level after the low level still keeps the width of the low-level burrs after the rising edge of the signal.
3. The flexible configurable radio frequency hardware decoder of claim 1, wherein the counting module is configured to:
inverting the filtered input signal; delaying two beats under the driving of a clock, accumulating and counting by a low-level counter under the low level of a delay signal of a first beat, and resetting the low-level counter when the delay signal is high; the high level counter counts up at the high level of the second beat delay signal, and clears the high level counter when the second beat delay signal is low and the first beat delay signal is high.
4. The flexible configurable radio frequency hardware decoder of claim 1, wherein said decoding required parameter ii comprises an alarm code and an alarm code valid bit.
CN202011424099.XA 2020-12-08 2020-12-08 Flexibly configurable radio frequency hardware decoder Active CN112491425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011424099.XA CN112491425B (en) 2020-12-08 2020-12-08 Flexibly configurable radio frequency hardware decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011424099.XA CN112491425B (en) 2020-12-08 2020-12-08 Flexibly configurable radio frequency hardware decoder

Publications (2)

Publication Number Publication Date
CN112491425A CN112491425A (en) 2021-03-12
CN112491425B true CN112491425B (en) 2024-02-27

Family

ID=74940807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011424099.XA Active CN112491425B (en) 2020-12-08 2020-12-08 Flexibly configurable radio frequency hardware decoder

Country Status (1)

Country Link
CN (1) CN112491425B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1134066A (en) * 1994-10-14 1996-10-23 国际商品机器公司 Flash FM infrared modem
JPH09270777A (en) * 1996-03-29 1997-10-14 Nec Corp Block synchronization circuit for reception data
US5784462A (en) * 1995-08-28 1998-07-21 Sanyo Electric Co., Ltd. Digital signal receiver capable of receiving data encrypted and transmitted in online processing
EP1347609A1 (en) * 2002-03-22 2003-09-24 STMicroelectronics S.r.l. Method and apparatus for decoding Manchester-encoded signals
CN101201970A (en) * 2007-10-23 2008-06-18 无锡市爱芯科微电子有限公司 Self-adaptive decoding method for wireless remote control receiving chip
CN101571906A (en) * 2009-06-02 2009-11-04 北京大学深圳研究生院 Decoder and decoding method of RFID receiver
CN101847200A (en) * 2010-02-05 2010-09-29 谭洪舟 Groove identification device of RFID (Radio Frequency Identification Device) label chip
CN105760800A (en) * 2016-02-05 2016-07-13 大唐微电子技术有限公司 Data decoding circuit and data decoding method
CN108551433A (en) * 2018-06-27 2018-09-18 珠海市微半导体有限公司 The decoding system and coding/decoding method of BMC codes

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI245199B (en) * 2004-08-10 2005-12-11 Ali Corp Blind channel searching and estimation method using fast Fourier transformation
US20070071036A1 (en) * 2005-09-26 2007-03-29 Symbol Technologies, Inc. Method and apparatus for preamble synchronization in wireless radio frequency identification (RFID) systems
KR100866602B1 (en) * 2007-05-22 2008-11-03 삼성전자주식회사 Ask rf signal decoding device and method thereof
US8185808B2 (en) * 2008-11-07 2012-05-22 Lg Electronics Inc. Transmitting/receiving system and method of processing broadcast signal in transmitting/receiving system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1134066A (en) * 1994-10-14 1996-10-23 国际商品机器公司 Flash FM infrared modem
US5784462A (en) * 1995-08-28 1998-07-21 Sanyo Electric Co., Ltd. Digital signal receiver capable of receiving data encrypted and transmitted in online processing
JPH09270777A (en) * 1996-03-29 1997-10-14 Nec Corp Block synchronization circuit for reception data
EP1347609A1 (en) * 2002-03-22 2003-09-24 STMicroelectronics S.r.l. Method and apparatus for decoding Manchester-encoded signals
CN101201970A (en) * 2007-10-23 2008-06-18 无锡市爱芯科微电子有限公司 Self-adaptive decoding method for wireless remote control receiving chip
CN101571906A (en) * 2009-06-02 2009-11-04 北京大学深圳研究生院 Decoder and decoding method of RFID receiver
CN101847200A (en) * 2010-02-05 2010-09-29 谭洪舟 Groove identification device of RFID (Radio Frequency Identification Device) label chip
CN105760800A (en) * 2016-02-05 2016-07-13 大唐微电子技术有限公司 Data decoding circuit and data decoding method
CN108551433A (en) * 2018-06-27 2018-09-18 珠海市微半导体有限公司 The decoding system and coding/decoding method of BMC codes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
长距离射频身份识别装置设计;陶康;《中国优秀硕士学位论文全文数据库信息科技辑》(第S1(2011)期);I138-1297 *

Also Published As

Publication number Publication date
CN112491425A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN100545882C (en) The self-adaptive decoding method that is used for wireless remote control receiving chip
KR101610916B1 (en) Receiving system for use in near field communication and mode detection method therefore
EP1550072A2 (en) Data collision detection device and method
CN111768609B (en) Infrared signal processing method and device
CN112511289B (en) Hardware decoding device supporting one-wire communication and radio frequency
CN101673195A (en) Information transmission method, system and device in radio frequency identification
CN103297060A (en) Decoding circuit suitable for correcting miller code signal at high speed
CN112491425B (en) Flexibly configurable radio frequency hardware decoder
KR100512182B1 (en) Circuit for generating clock signal and decoding data signals in contactless integrated circuit card
US20120008720A1 (en) Amplitude-shift-keying (ask) radio-frequency (rf) signal decoding device and method thereof
CN1862565B (en) Coding method for passive RF identifying system
CN101067899A (en) Antiinterference infrared remote control device
CN102055481B (en) Method and device for decoding FM0 and FM0 codes
CN114298075B (en) MCU-based ultrahigh frequency national standard reader baseband decoding method
CN106982199B (en) Manchester code communication protocol self-adaption method based on FPGA and CPLD
CN108551366B (en) Visible light communication method based on LED and mobile phone camera
CN219068216U (en) On-off keying wireless transmitting device adopting pulse interval coding
CN211018863U (en) Decoding system of BMC (baseboard management controller) code
CN113438052A (en) Signal decoding method, device, electronic equipment and storage medium
CN108270706B (en) Self-synchronization receiving method of BTM demodulation signal
CN103595418B (en) Decode the decoder for the TYPE A 847K data rate signals that card reader is sent
CN106817151B (en) Slave mode transmitting and receiving circuit of active antenna of reader-writer
CN113014522B (en) Method and system for decoding wireless data
CN112735117B (en) Filtering method, system and application of IR analysis based on NEC standard
JPH0720279B2 (en) Radio selective call Receiver output information output method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310015 floor 12, building D, No. 108 Xiangyuan Road, Gongshu District, Hangzhou City, Zhejiang Province

Applicant after: Zhongke Computing Technology Innovation Research Institute

Address before: 12 / F, building 4, 108 Xiangyuan Road, Gongshu District, Hangzhou City, Zhejiang Province 310015

Applicant before: Institute of digital economy industry, Institute of computing technology, Chinese Academy of Sciences

GR01 Patent grant
GR01 Patent grant