CN104297722B - The main and sub processing meanss of radio frequency range finding based on RRC, system and method - Google Patents
The main and sub processing meanss of radio frequency range finding based on RRC, system and method Download PDFInfo
- Publication number
- CN104297722B CN104297722B CN201410597234.9A CN201410597234A CN104297722B CN 104297722 B CN104297722 B CN 104297722B CN 201410597234 A CN201410597234 A CN 201410597234A CN 104297722 B CN104297722 B CN 104297722B
- Authority
- CN
- China
- Prior art keywords
- module
- address
- rrc
- handset
- exchange
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/02—Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
- G01S13/06—Systems determining position data of a target
- G01S13/08—Systems for measuring distance only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/88—Radar or analogous systems specially adapted for specific applications
- G01S13/887—Radar or analogous systems specially adapted for specific applications for detection of concealed objects, e.g. contraband or weapons
- G01S13/888—Radar or analogous systems specially adapted for specific applications for detection of concealed objects, e.g. contraband or weapons through wall detection
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of radio frequency range-measurement system based on RRC, including:The exchange 110 for mutually communicating and handset, exchange are further included:Coding module, the first RRC generation modules of exchange, controller, radio frequency sending module, transmission time logging modle, Receiver Module, address contrast module, exchange RRC sequence detection modules, the 2nd RRC generation modules of exchange and distance calculation module, handset are further included:Receiver Module, phase adjusting module, address detected module, correction module, handset RRC generation module, handset RRC sequence detection module, process time counting module, address module, coding module and handset radio frequency sending module.The radio frequency range-measurement system based on RRC that the present invention is provided can realize measurement through walls using the radio frequency of certain wave band, the measurement of multiple handset distances is realized by the coded system of multiaddress frame, preferable error correction and same-phase are realized using the coding of data signal, multiple nodes are realized by multiaddress while range finding.
Description
Technical field
The present invention relates to wireless distance finding field, more particularly to a kind of radio frequency based on RRC find range main and sub processing meanss, be
System and its method, with inexpensive, can be through walls multiple point distance measurement function.
Background technology
Topographic survey is to various atural objects in earth surface regional area, landforms using measuring instrument(It is referred to as landform)Sky
Between position and geometry be measured.Since many centuries, the method for people's measurement distance is all with a chi with graduation
Son(Lining rope, tape measure, steel ruler)Take the direct method for comparing to try to achieve distance.The major defect of this method is easily by survey line
The restriction of orographic condition.Want to measure degree of precision apart from achievement, it is necessary to spend very big human and material resources to choose and arrange
Measurement route, not only workload is big, high cost, once and encounter just like river, lake or even hummock, gully on survey line, survey
Away from just cannot carrying out.The characteristics of microwave is that good reflection is produced on various barriers, with good directed radiation
Property
Energy;Affected little by dust, smog, flame and high light in transmitting procedure, energy is adapted to very strong environment
Power.
Microwave ranger is a kind of utilization continuous phase comparison method determining the phase type precise electronic instrument of distance between two points
Device, can be used for ordnance survey, geodesic survey, the measurement of boat outer control and other high accuracy engineering surveys, with laser ranging, infrared survey
Away from comparing, with high precision, strong antijamming capability, romote ranging, it is round-the-clock the features such as.In China's national defense and economic construction, tool
There is great meaning.With developing rapidly for large scale integrated circuit technology and microprocessing, tellurometer survey technology is from long-term
The principle of stagnation, experimental research stage, quickly enter Practical and industrialization stage.Relevant manufacturer constantly releases
Various high performance microwave rangers, not only make Microwave emission receiving circuit realize miniaturization, and performance indications also have very big
Raising, price also has very big decline.
However, find under study for action, as the electromagnetic wave for being used mostly is shortwave, therefore the not energy with measurement through walls
Power.And long wave is easily disturbed, accuracy is not enough.Therefore the electromagnetic wave for selecting a kind of wavelength appropriate, is increased by digital coding
The homophase performance of strong its error-correcting performance and receiving terminal then can strengthen its precision to a certain extent, and cost is relatively low.By ground
Location coding can also be realized measuring while multiple spot.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of radio frequency range-measurement system based on RRC and its method, Neng Goushi
Existing range finding through walls and multiple spot are found range simultaneously, and with higher accuracy.
One aspect of the present invention provides a kind of radio frequency range finding primary processing unit based on RRC, including:Coding module
102nd, the first RRC generation modules 104 of exchange, controller 106, radio frequency sending module 108, transmission time logging modle 110, radio frequency
Receiver module 132, address contrast module 134, exchange RRC sequence detection modules 136, the 2nd RRC generation modules 138 of exchange and
Distance calculation module 140, wherein:The first RRC generation modules 104 of the exchange, connect coding module 102 are raw on the basis of CLK
Use into a RRC sequences for coding module 102;The coding module 102, connects a RRC generation modules 104 and control respectively
Device processed 106, is generated according to the control signal of controller 106 and using a RRC generation modules 104 with CLK as temporal reference
RRC codes generate serial data to be sent, and the character string for being generated is divided into preposition code word, three part of information code character and address code character;
The controller 106, difference connect coding module 102 and radio frequency sending module 108, with sending out by control signal control data
Send, receive, encode and calculate;The transmission time logging modle 110, difference connect coding module 102, address comparing module
134th, exchange RRC sequence detection modules 136 and distance calculation module 140, it is every in coding that coding module 102 is generated to detect
The transmission time of one information frame starting RRC sequence, with first information frame, first RRC sequence as 0 moment with CLK is
Quantitative basis is simultaneously recorded with a matrix type, after temporal information is returned, is taken according to the comparative information in address contrast module 134
Go out the signal corresponding transmission time, and send together with the temporal information of RRC sequence detection modules 136 is come to distance meter
Calculate module 140;The radio frequency sending module 108, difference connect coding module 102 and controller 106, to send own coding mould
The Receiver Module 112 of the radio frequency data string of block 102 to handset;The exchange Receiver Module 132, difference link address
Contrast module 134 and exchange RRC sequence detection modules 136, with receive handset radio frequency sending module 130 return data address simultaneously
It is sent to address contrast module 134 to be processed;The address contrast module 134, difference linkup transmit time logging modle 110
With exchange Receiver Module 132, so that the destination address of receiving data is judged according to the address of receiving data string, if address character
Close, then transfer to reception time logging modle;The exchange RRC sequence detection modules 136, difference linkup transmit time logging modle
110 and the 2nd RRC generation modules 138 of exchange, to detect the RRC sequences for receiving, and transfer to transmission time logging modle 110;
The 2nd RRC generation modules 138 of the exchange, connection exchange RRC sequence detection modules 136, supply RRC to generate the 2nd RRC sequences
Sequence detection module 136 is used;The distance calculation module 140, connects controller 106 and transmission time logging modle respectively
110, by oneself allocation index to transmission time logging modle 110 in character in the time and character string that record process when
Between subtract each other to calculate time that signal needed in two-way process as round distance, and inform controller 106, this time test
Complete, controller 106 will carry out the measurement of next address.
In a kind of one embodiment for radio frequency range finding primary processing unit based on RRC that the present invention is provided, the coding mould
Block is further included:Address stored sub-module, for storing the address of all handsets, uses for group code module;Group numeral module,
Code word is divided into three parts:Preposition code word, address code character, information code character.Wherein preposition code word is and input clock identical one
The clock sequence of individual regular length, address code character content sources can include multiple handset addresses, i.e., in address stored sub-module
Multiple address frames, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and including information and school
Test and last even parity bit, wherein message part derives from RRC generative circuits, and even parity bit is then according to counting submodule
Count results show that check part then comes from BCH check code calculating sub modules;BCH check code calculating sub modules, are used for
The Bose-Chaudhuri Hocquenghem error correction codes of each information frame are calculated, is used for group code module;Counting submodule, for the ratio of calculating character string each several part
Special number, so as to calculate even parity bit for group code module.
Another aspect of the present invention provides a kind of radio frequency range finding sub-processing unit based on RRC, including:Radio frequency reception
Module 112, phase adjusting module 114, address detected module, correction module 118, handset RRC generation module 120, handset RRC sequence
Row detection module 122, process time counting module 124, address module 126, coding module 128 and handset radio frequency sending module
130, wherein:The radio frequency receiving module 112, connects phase adjusting module 114, will receive and send mould from exchange radio frequency
The serial data of block 108 is supplied to phase adjusting module 114 to use;The phase adjusting module 114, connects handset radio frequency respectively and connects
Module 112 and address detected module 116 are received, is connect according to the serial data preposition code word adjustment that radio frequency receiving module 112 sends
The phase place of code word is received, and the code word transmission processe result after adjustment is used for address detected module;The address detected mould
Block 116, connects phase adjusting module 114, correction module 118 and handset RRC sequence detection module 122, respectively to detect phase place
Whether the output of adjusting module 114 content is directed to the handset address, if serial data is transferred correction module 118 and RRC sequences then
Detection module 122 is processed;The correction module 118, difference link address detection module 116, handset RRC sequence detection module
122 and address module 126, error correction is carried out with the result detected according to handset RRC sequence detection module 122, and is processed to knot
Fruit sends to address module 126 and is processed;The handset RRC generation module 120, connects handset RRC sequence detection module
122, the use of handset RRC sequence detection module is sent to generate RRC sequences;The handset RRC sequence detection module 122, point
Other link address detection module 116, correction module 118 and process time counting module 124, detection come from address detected module
RRC sequences in 116 serial data, are sent respectively to correction module 118 and process time counting module 124 is used;The place
Reason time counting module 124, connects handset RRC sequence detection module 122 and coding module 128, respectively with according to RRC sequences
Testing result records the process time of whole processing procedure, and with first information frame, as 0 moment, CLK is first RRC sequence
Quantitative basis is simultaneously recorded with a matrix type, and the result is for coding module process;The address module 126, connects error correction respectively
Module 118 and coding module 128, to change the address of the serial data for coming from correction module 118 and the data of address will be changed
String is sent to coding module 128;The coding module 128, respectively connect process time counting module 124, address module 126 with
And handset radio frequency sending module 130, process time and error correcting code are added with the fresh information frame to coming from address module 126(BCH
Code);The coding result of coding module 128 is fed back to always by the handset radio frequency sending module 130, connect coding module 128
The Receiver Module 132 of machine.
In a kind of one embodiment for radio frequency range finding sub-processing unit based on RRC that the present invention is provided, the coding mould
Block includes:Address stored sub-module, for storing the address of all handsets, uses for group code module;Group numeral module, code word are common
It is divided into three parts:Preposition code word, address code character, information code character.Wherein preposition code word is and one fixation of input clock identical
That is, the clock sequence of length, address code character content sources can include multiple handset addresses, multiplely in address stored sub-module
Location frame, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and include information and verify and
Last even parity bit, wherein message part derive from RRC generative circuits, and even parity bit is then the counting according to counting submodule
As a result draw, check part then comes from BCH check code calculating sub modules;BCH check code calculating sub modules, it is each for calculating
The Bose-Chaudhuri Hocquenghem error correction codes of individual information frame, use for group code module;Counting submodule, for the bit number of calculating character string each several part, from
And supply group code module to calculate even parity bit.
Another aspect of the present invention provides a kind of radio frequency range-measurement system based on RRC, and the system includes:Coding mould
Block, for generating serial data to be sent by temporal reference of CLK;RRC generation modules, for generating RRC sequences, for encoding mould
Block is encoded;Controller, for the transmission of control data;Transmission time logging modle, for detecting each letter in transmission content
The transmission time of breath frame starting RRC sequences, with first information frame, as 0 moment, CLK is quantitative basis to first RRC sequence
And record with a matrix type.Radio frequency sending module, for sending radio frequency data string;Receiver Module, for receiving exchange
Serial data;Phase adjusting module, for the phase place for receiving code word is adjusted according to the preposition code word of serial data;Address detected mould
Block, for detecting whether the data of reception are directed to the address of the module;RRC generation modules, for generating RRC sequences;RRC sequences
Detection module, for detecting that RRC sequences are processed for correction module and process time counting module;Correction module, according to RRC sequences
The result of detection carries out error correction;Process time counting module, for recording whole processing procedure according to the testing result of RRC sequences
Process time, with first information frame, as 0 moment, CLK is quantitative basis to remember with a matrix type to first RRC sequence
Record;Address module, for the address of change data string;Coding module, for the error correcting code of fresh information frame(BCH code);Radio frequency
Sending module, for postbacking serial data;Receiver Module, postbacks data for receiving;Address contrast module, connects for basis
The address for receiving serial data judges the destination address of receiving data, if address meets, transfers to reception time logging modle;RRC sequences
Row detection module, for detecting RRC sequences therein, and transfers to transmission time logging modle;Distance calculation module, for basis
Send and receive Time Calculation distance and export.
In a kind of one embodiment based on the radio frequency range-measurement system of RRC that the present invention is provided, coding module is further wrapped
Include:Group code module, carries out a group code according to sequential as shown in Figure 3;Address memory module, for storing the address of all handsets;
BCH check code computing modules, for calculating the Bose-Chaudhuri Hocquenghem error correction codes of each information frame;Counting module, for calculating character string each several part
Bit number;
Another aspect of the present invention provides a kind of radio frequency range finding implementation method based on RRC, it is characterised in that described
Method includes:Address is taken, the address of each handset is taken out;RRC codes are generated, for the filling of serial data information frame;Coding, by ground
Location and RRC are filled respectively such as address frame and information frame, and add preposition code word and synchronization code word and school according to sequential shown in Fig. 3
Test code;Encoded serial data is sent by exchange radio frequency carries out Serial output;All handsets in range of receiving are penetrated
Frequency receiver module carries out data receiver under open state;The content for only being received when receiving initial is preamble, then connect
The serial data for receiving is only complete character string, therefore carries out preamble detection, and preamble is the clock of certain bit number;Pass through
Preamble carries out the phase adjustment that serial data receives sampling clock;Advanced synchronization code word detection, synchronous code before address detected
Data after word are just address frame, address frame receive it is complete after just carry out address detected, address that will be in address frame and the son
The address of machine compares, and into follow-up phase process if having identical address, otherwise abandons this serial data, continues detection preposition
Code word;Advanced synchronization code word detection before the detection of RRC codes, the data after synchronization code word are just Frame, last detecting
While one RRC sequence, counter is started counting up;Simultaneously carry out RRC code error correction, by RRC generative circuits generate RRC and with
Content in information frame is compared, while carrying out error correction by Bose-Chaudhuri Hocquenghem error correction codes;The original place value in sequence is deleted, exchange is inserted
Address and the machine address;The insertion process time, while in order to prevent exchange from clashing when handset information is received, then carrying out son
Three time delays for being multiplied by N number of clock behind machine address;The serial data handled well is sent by handset radio frequency sending module;Exchange
Receiver Module receiving data string;Data are carried out under open state in the main frame Receiver Module in range of receiving to connect
Receive;Only when receiving initial, the content that received is preamble, then the serial data for receiving is only complete character string, therefore
Preamble detection is carried out, preamble is the clock of certain bit number;The phase that serial data receives sampling clock is carried out by preamble
Position adjustment;Advanced synchronization code word detection before address detected, the data after synchronization code word are just address frame, and address frame has been received
Just address detected is carried out after whole, address that will be in address frame is compared with the address of the main frame, is entered if having identical address
Follow-up phase process, otherwise abandons this serial data, continues detection preposition code word;Advanced synchronization code word before the detection of RRC codes
Detection, the data after synchronization code word are just Frame, take out to send the son of the data after last RRC code is detected
Machine addressing of address finds out the corresponding transmission time, and calculates transmission with the time difference for receiving to calculate distance;To calculate away from
From tentatively being judged, resurvey if beyond measurement range, otherwise export the distance.
The invention provides a kind of radio frequency range-measurement system and method based on RRC, which can realize multiple point distance measurement.Such as Fig. 5
The distance between it is shown, exchange at most can be measured simultaneously with 8 handsets.By the concept of group of addresses, what exchange sent
One serial data can activate at most 8 handsets simultaneously, and handset meeting automatic difference is mistaken and send serial data to exchange, to complete multiple spot
Range finding.
The invention provides a kind of radio frequency range-measurement system and method based on RRC, its coded data string as shown in figure 3, its
Middle preposition code word is the clock of a string of regular lengths, i.e., 0,1 binary code.The clock is identical with the tranmitting data register of exchange, is used for
Realize the Phase synchronization of receiver module.Address code character and information code character are followed by afterwards.Address code character is by synchronization code word and ground
Location frame 0-7 compositions, can contain up to 8 handset addresses, i.e., activate 8 handsets simultaneously.Information code character is by synchronization code word and letter
Breath frame 0-7 compositions.Address frame and information frame are stored in the form of BCH code, and the information of information frame is filled by RRC codes.Because RRC
Generation and error correction circuit be to produce parallel in strict accordance with clock, therefore can preferably be applied to this.
Description of the drawings
Accompanying drawing that is additional and forming a specification part is included in the description of certain aspects of the present disclosure.The present invention
And the module of system that provides of the present invention and the clearer concept of flow process, by reference to reference to illustrating in example and accompanying drawing
Non-limiting embodiment will be better understood.Can be more preferable with reference to description of the invention by reference to one or more accompanying drawing
Ground understands the present invention.
Fig. 1 illustrates a kind of structural representation of radio frequency range-measurement system based on RRC of present invention offer;
Fig. 2 illustrate the present invention offer a kind of radio frequency range-measurement system based on RRC an embodiment in coding module
Specific embodiment structural representation;
Fig. 3 illustrates the number that encodes in an a kind of embodiment of radio frequency range-measurement system based on RRC of present invention offer
According to the basic format of string;
The flow chart that Fig. 4 illustrates a kind of radio frequency distance-finding method based on RRC of present invention offer;
Fig. 5 illustrates a kind of overall structure figure of radio frequency range-measurement system based on RRC of present invention offer.
Specific embodiment
The present invention is described more fully and is illustrated with the example embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 illustrates a kind of structural representation of radio frequency range-measurement system based on RRC of present invention offer.
As shown in figure 1, a kind of radio frequency range-measurement system 100 based on RRC includes:Coding module 102, RRC generation modules
104th, controller 106, radio frequency sending module 108, transmission time logging modle 110, Receiver Module 112, phase adjustment mould
Block 114, address detected module 116, correction module 118, RRC generation modules 120, RRC sequence detection modules 122, process time
Counting module 124, address module 126, coding module 128, Receiver Module 130, the contrast of Receiver Module 132, address
Module 134, RRC sequences monitoring modular 136, RRC generation modules 138 and distance calculation module 140.
Wherein coding module 102, for generating serial data to be sent by temporal reference of CLK.The serial data of generation is such as
Shown in Fig. 3;RRC generation modules 104, for generating RRC sequences, encode for coding module, and RRC generative circuits are in strict accordance with clock
Generate RRC codes;Controller 106, for the transmission of control data.Mainly include when to start to generate and send data;During transmission
Between logging modle 110, for detecting the transmission time of each information frame starting RRC sequence in transmission content, with first believe
In breath frame, first RRC sequence was 0 moment, and CLK is for quantitative basis and records with a matrix type;Radio frequency sending module 108, uses
To send radio frequency data string;Receiver Module 112, for receiving the serial data of exchange transmission;Phase adjusting module 114, uses
To adjust the phase place for receiving that code word receives clock according to the preposition code word of serial data;Address detected module 116, for checking reception
To data address frame in address, detect that whether the data for receiving are directed to the handset;RRC generation modules 120, for generating
RRC sequences;RRC sequence detection modules 122, for detecting that RRC sequences are processed for correction module and process time counting module;Entangle
Mismatch block 118, carries out the error correction of information content frame according to the result of RRC Sequence Detections;Process time counting module 124, is used for
The process time of whole processing procedure is recorded according to the testing result of RRC sequences, with first RRC sequence in first information frame
For 0 moment, CLK is quantitative basis and records with a matrix type;Address module 126, for the address of change data string;Coding
Module 128, for the error correcting code of fresh information frame(BCH code);Radio frequency sending module 130, for postbacking serial data;Radio frequency reception
Module 132, postbacks data for receiving;Address contrast module 134, for judging receiving data according to the address of receiving data string
Destination address, if address meets, transfer to reception time logging modle;RRC sequence detection modules 136, for detection wherein
RRC sequences, and transfer to transmission time logging modle;Distance calculation module 140, for according to the Time Calculation for sending and receiving
Distance is simultaneously exported.Computing formula is:(Total time-handset process time)* velocity of electromagnetic wave.
The flow chart that Fig. 4 illustrates a kind of implementation of radio frequency range-measurement system based on RRC of present invention offer.
A kind of flow process 300 of the radio frequency distance-finding method based on RRC includes as shown in Figure 4:
Step 302, takes address, takes out the address of each handset, and address is generally stored in NVM(Nonvolatile memory)
In, at most by 8 handsets, therefore 8 addresses of many storages can be done herein;
Step 304, generates RRC codes, for the filling of serial data information frame;
Address and RRC are packed into address frame and information frame, and are added according to sequential shown in Fig. 3 by step 306, coding respectively
Enter preposition code word and synchronization code word and check code, flag bit etc.;
Step 308, encoded serial data is sent by radio frequency transmission module carries out Serial output;
Step 310, carries out data receiver under open state in the Receiver Module of all handsets in range of receiving;
Step 312, only when receiving initial, the content that received is preamble, then the serial data for receiving is only completely
Character string, therefore carry out preamble detection, preamble is the clock of certain bit number;
Step 314, carries out the phase adjustment that serial data receives sampling clock by preamble;
Step 316, advanced synchronization code word detection before address detected, the data after synchronization code word are just address frame, ground
Location frame receive it is complete after just carry out address detected, address that will be in address frame is compared with the address of the handset, if there is identical
This serial data then into follow-up phase process, is otherwise abandoned in address, continues detection preposition code word;
Step 318, advanced synchronization code word detection before the detection of RRC codes, the data after synchronization code word are just Frame,
Step 320, while the RRC sequences of first information frame are detected, counter is started counting up;
Step 322, while carrying out RRC code error correction, is generated RRC by RRC generative circuits and is entered with the content in information frame
Row is compared, while carrying out error correction by Bose-Chaudhuri Hocquenghem error correction codes;
Step 324, deletes the original place value in sequence, insertion exchange address and the machine address;
Step 326, insertion process time, while in order to prevent exchange from clashing when handset information is received, then carrying out
Three time delays for being multiplied by N number of clock behind handset address;
Step 328, the serial data handled well is sent by handset 433M radio frequency sending module;
Step 330, the 433M Receiver Module receiving data strings of exchange;
Step 332, carries out data receiver under open state in the main frame 433M Receiver Modules in range of receiving;
Step 334, only when receiving initial, the content that received is preamble, then the serial data for receiving is only completely
Character string, therefore carry out preamble detection, preamble is the clock of certain bit number;
Step 336, carries out the phase adjustment that serial data receives sampling clock by preamble;
Step 338, advanced synchronization code word detection before address detected, the data after synchronization code word are just address frame, ground
Location frame receive it is complete after just carry out address detected, address that will be in address frame is compared with the address of the main frame, if there is identical
This serial data then into follow-up phase process, is otherwise abandoned in address, continues detection preposition code word;
Step 340, advanced synchronization code word detection before the detection of RRC codes, the data after synchronization code word are just Frame,
Step 342, is taken out after last RRC code is detected
The transmission time answered, and calculate transmission with the time difference for receiving to calculate distance;
Step 344, the distance to calculating tentatively are judged, resurvey, otherwise export the distance if beyond measurement range.
The present invention also provides a kind of radio frequency range-measurement system based on RRC, including:The exchange 110 for mutually communicating and handset
120, wherein:The exchange 110 is further included:Coding module 102, the first RRC generation modules 104 of exchange, controller 106,
Radio frequency sending module 108, transmission time logging modle 110, Receiver Module 132, address contrast module 134, exchange RRC sequences
Row detection module 136, the 2nd RRC generation modules 138 of exchange and distance calculation module 140, wherein:The first RRC of the exchange
Generation module 104, connect coding module 102 on the basis of CLK generate a RRC sequences and use for coding module 102;It is described
Coding module 102, connects a RRC generation modules 104 and controller 106 respectively, is temporal reference according to controller with CLK
106 control signal simultaneously uses the RRC codes that a RRC generation modules 104 are generated to generate serial data to be sent, the word for being generated
Symbol string is divided into preposition code word, three part of information code character and address code character;The controller 106, difference 102 He of connect coding module
Radio frequency sending module 108, with by the transmission of control signal control data, reception, coding and calculating;The transmission time record
Module 110, connect coding module 102, address comparing module 134, exchange RRC sequence detection modules 136 and distance are counted respectively
Module 140 is calculated, to detect the transmission time of each information frame starting RRC sequence in coding that coding module 102 is generated, with the
In one information frame, first RRC sequence was 0 moment, records with CLK as quantitative basis and with a matrix type, works as temporal information
After return, taken out the signal corresponding transmission time according to the comparative information in address contrast module 134, and with come from RRC
The temporal information of sequence detection module 136 is sent together to distance calculation module 140;The radio frequency sending module 108, connects respectively
Coding module 102 and controller 106 are connect, to send the radio frequency receiving of the radio frequency data string of own coding module 102 to handset
Block 112;The exchange Receiver Module 132, difference link address contrast module 134 and exchange RRC sequence detection modules
136, processed with receiving the data address of the return of handset radio frequency sending module 130 and being sent to address contrast module 134;Institute
Address contrast module 134 is stated, respectively linkup transmit time logging modle 110 and exchange Receiver Module 132, with according to reception
The address of serial data judges the destination address of receiving data, if address meets, transfers to reception time logging modle;The exchange
RRC sequence detection modules 136, difference the 2nd RRC generation modules 138 of linkup transmit time logging modle 110 and exchange, to detect
The RRC sequences for receiving, and transfer to transmission time logging modle 110;The 2nd RRC generation modules 138 of the exchange, connect exchange
RRC sequence detection modules 136, are used for RRC sequence detection modules 136 with generating the 2nd RRC sequences;The distance calculation module
140, connect controller 106 and transmission time logging modle 110 respectively, mould is recorded by the transmission time that oneself allocation index is arrived
Character process time in the time and character string that record in block 110 subtract each other to calculate that signal needed in two-way process when
Between as distance is come and gone, and inform controller 106, this time test being completed, and controller 106 will carry out the measurement of next address;
The handset 120 is further included:Receiver Module 112, phase adjusting module 114, address detected module, correction module
118th, handset RRC generation module 120, handset RRC sequence detection module 122, process time counting module 124, address module
126th, coding module 128 and handset radio frequency sending module 130, wherein:The radio frequency receiving module 112, connects phase place
The serial data received from radio frequency transmission module 108 is supplied to phase adjusting module 114 to use by adjusting module 114;Institute
Phase adjusting module 114 is stated, is connected radio frequency receiving module 112 and address detected module 116 respectively, is connect according to handset radio frequency
The phase place of the serial data preposition code word adjustment reception code word that module 112 sends is received, and the code word transmission processe after adjustment is tied
Fruit is used for address detected module;The address detected module 116, connects phase adjusting module 114, correction module 118 respectively
With handset RRC sequence detection module 122, to detect the output of phase adjusting module 114 content whether for the handset address, if
Serial data is transferred into correction module 118 then and RRC sequence detection modules 122 are processed;The correction module 118, connects ground respectively
Location detection module 116, handset RRC sequence detection module 122 and address module 126, with according to handset RRC sequence detection module
The results of 122 detections carry out error correction, and are processed to result and send to address module 126 processed;Handset RRC is generated
Module 120, connection handset RRC sequence detection module 122 are made with generating RRC sequences and being sent to handset RRC sequence detection module
With;The handset RRC sequence detection module 122, difference link address detection module 116, correction module 118 and process time meter
Digital-to-analogue block 124, detection come from the RRC sequences in the serial data of address detected module 116, are sent respectively to correction module 118
Use with process time counting module 124;The process time counting module 124, connects handset RRC sequence detection module respectively
122 and coding module 128, so that the process time of whole processing procedure is recorded according to the testing result of RRC sequences, believed with first
In breath frame, first RRC sequence was 0 moment, and CLK is for quantitative basis and records with a matrix type, and the result is at coding module
Reason;The address module 126, connects correction module 118 and coding module 128 respectively, comes from correction module 118 to change
The serial data for changing address is simultaneously sent to coding module 128 by the address of serial data;The coding module 128, difference junction
Reason time counting module 124, address module 126 and handset radio frequency sending module 130, with to coming from address module 126
Fresh information frame adds process time and error correcting code(BCH code);The handset radio frequency sending module 130, connect coding module 128,
So that the coding result of coding module 128 to be fed back to the Receiver Module 132 of exchange.
Further, the coding module includes:Address stored sub-module, for storing the address of all handsets, for group
Code module is used;Group numeral module, code word are divided into three parts:Preposition code word, address code character, information code character.Wherein preamble
Word is the clock sequence with one regular length of input clock identical, address code character content sources in address stored sub-module,
Multiple handset addresses can be included, i.e., multiple address frames, the beginning of address frame are ' 0 ', be ended up as even parity bit, information code character is opened
Head is ' 1 ', and including information and verification and last even parity bit, wherein message part derives from RRC generative circuits, even school
Testing position is drawn according to the count results of counting submodule, and check part then comes from BCH check code calculating sub modules;
BCH check code calculating sub modules, for calculating the Bose-Chaudhuri Hocquenghem error correction codes of each information frame, use for group code module;Counting submodule,
For the bit number of calculating character string each several part, so as to calculate even parity bit for group code module;
The present invention also provides a kind of radio frequency range finding implementation method based on RRC, and methods described includes:Exchange carries out taking ground
Location, takes out the address of each handset;Exchange generates RRC codes, for the filling of serial data information frame;Exchange is encoded, by ground
Location and RRC are filled respectively such as address frame and information frame, and add preposition code word and synchronization code word and school according to sequential shown in Fig. 3
Test code;Encoded serial data is sent by exchange 433M radio frequencies and carries out Serial output by exchange;Handset is in range of receiving
All handset 433M Receiver Modules data receiver is carried out under open state;Handset is only received when receiving initial
Content be preamble, then the serial data for receiving is only complete character string, therefore carries out preamble detection, and preamble is one
Determine the clock of bit number;Handset carries out the phase adjustment that serial data receives sampling clock by preamble;Handset is in address detected
Advanced synchronization code word detection before, the data after synchronization code word are just address frame, address frame receive it is complete after just enter row address
Detection, address that will be in address frame are compared with the address of the handset, are processed into follow-up phase if having identical address, no
This serial data is then abandoned, continues detection preposition code word;Handset advanced synchronization code word detection before the detection of RRC codes, it is synchronous
Data after code word are just Frame, and handset counter while last RRC sequence is detected is started counting up;Handset is same
Shi Jinhang RRC code error correction, is generated RRC by RRC generative circuits and is compared with the content in information frame, while passing through BCH
Error correcting code carries out error correction;Handset deletes the original place value in sequence, insertion exchange address and the machine address;During handset insertion process
Between, while in order to prevent exchange from clashing when handset information is received, then after carrying out handset address, three are multiplied by N number of clock
Time delay;The serial data handled well is sent by handset by handset radio frequency sending module;The Receiver Module receiving data of exchange
String;Exchange carries out data receiver under open state in the main frame Receiver Module in range of receiving;Exchange is receiving initial
When the content that received be preamble, then the serial data for receiving is only complete character string, therefore carries out preamble detection, front
Put the clock that code is certain bit number;Exchange carries out the phase adjustment that serial data receives sampling clock by preamble;Exchange exists
Advanced synchronization code word detection before address detected, the data after synchronization code word are just address frame, after address frame reception is complete just
Address detected is carried out, address that will be in address frame is compared with the address of the main frame, subsequent stages are entered if having identical address
Section is processed, and otherwise abandons this serial data, continues detection preposition code word;Exchange advanced synchronization code word before the detection of RRC codes
Detection, the data after synchronization code word are just Frame, and exchange takes out to send the data after last RRC code is detected
Handset addressing of address find out the corresponding transmission time, and calculate and send with the time difference for receiving to calculate distance;Exchange pair
The distance for calculating tentatively is judged, resurveys, otherwise export the distance if beyond measurement range.
One aspect of the present invention provides a kind of radio frequency range finding primary processing unit based on RRC, including:Coding module
102nd, the first RRC generation modules 104 of exchange, controller 106, radio frequency sending module 108, transmission time logging modle 110, radio frequency
Receiver module 132, address contrast module 134, exchange RRC sequence detection modules 136, the 2nd RRC generation modules 138 of exchange and
Distance calculation module 140, wherein:The first RRC generation modules 104 of the exchange, connect coding module 102 are raw on the basis of CLK
Use into a RRC sequences for coding module 102;The coding module 102, connects a RRC generation modules 104 and control respectively
Device processed 106, is generated according to the control signal of controller 106 and using a RRC generation modules 104 with CLK as temporal reference
RRC codes generate serial data to be sent, and the character string for being generated is divided into preposition code word, three part of information code character and address code character;
The controller 106, difference connect coding module 102 and radio frequency sending module 108, with sending out by control signal control data
Send, receive, encode and calculate;The transmission time logging modle 110, difference connect coding module 102, address comparing module
134th, exchange RRC sequence detection modules 136 and distance calculation module 140, it is every in coding that coding module 102 is generated to detect
The transmission time of one information frame starting RRC sequence, with first information frame, first RRC sequence as 0 moment with CLK is
Quantitative basis is simultaneously recorded with a matrix type, after temporal information is returned, is taken according to the comparative information in address contrast module 134
Go out the signal corresponding transmission time, and send together with the temporal information of RRC sequence detection modules 136 is come to distance meter
Calculate module 140;The radio frequency sending module 108, difference connect coding module 102 and controller 106, to send own coding mould
The Receiver Module 112 of the radio frequency data string of block 102 to handset;The exchange Receiver Module 132, difference link address
Contrast module 134 and exchange RRC sequence detection modules 136, with receive handset radio frequency sending module 130 return data address simultaneously
It is sent to address contrast module 134 to be processed;The address contrast module 134, difference linkup transmit time logging modle 110
With exchange Receiver Module 132, so that the destination address of receiving data is judged according to the address of receiving data string, if address character
Close, then transfer to reception time logging modle;The exchange RRC sequence detection modules 136, difference linkup transmit time logging modle
110 and the 2nd RRC generation modules 138 of exchange, to detect the RRC sequences for receiving, and transfer to transmission time logging modle 110;
The 2nd RRC generation modules 138 of the exchange, connection exchange RRC sequence detection modules 136, supply RRC to generate the 2nd RRC sequences
Sequence detection module 136 is used;The distance calculation module 140, connects controller 106 and transmission time logging modle respectively
110, by oneself allocation index to transmission time logging modle 110 in character in the time and character string that record process when
Between subtract each other to calculate time that signal needed in two-way process as round distance, and inform controller 106, this time test
Complete, controller 106 will carry out the measurement of next address.
In a kind of one embodiment for radio frequency range finding primary processing unit based on RRC that the present invention is provided, the coding mould
Block is further included:Address stored sub-module, for storing the address of all handsets, uses for group code module;Group numeral module,
Code word is divided into three parts:Preposition code word, address code character, information code character.Wherein preposition code word is and input clock identical one
The clock sequence of individual regular length, address code character content sources can include multiple handset addresses, i.e., in address stored sub-module
Multiple address frames, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and including information and school
Test and last even parity bit, wherein message part derives from RRC generative circuits, and even parity bit is then according to counting submodule
Count results show that check part then comes from BCH check code calculating sub modules;BCH check code calculating sub modules, are used for
The Bose-Chaudhuri Hocquenghem error correction codes of each information frame are calculated, is used for group code module;Counting submodule, for the ratio of calculating character string each several part
Special number, so as to calculate even parity bit for group code module.
Another aspect of the present invention provides a kind of radio frequency range finding sub-processing unit based on RRC, including:Radio frequency reception
Module 112, phase adjusting module 114, address detected module, correction module 118, handset RRC generation module 120, handset RRC sequence
Row detection module 122, process time counting module 124, address module 126, coding module 128 and handset radio frequency sending module
130, wherein:The radio frequency receiving module 112, connects phase adjusting module 114, will receive and send mould from exchange radio frequency
The serial data of block 108 is supplied to phase adjusting module 114 to use;The phase adjusting module 114, connects handset radio frequency respectively and connects
Module 112 and address detected module 116 are received, is connect according to the serial data preposition code word adjustment that radio frequency receiving module 112 sends
The phase place of code word is received, and the code word transmission processe result after adjustment is used for address detected module;The address detected mould
Block 116, connects phase adjusting module 114, correction module 118 and handset RRC sequence detection module 122, respectively to detect phase place
Whether the output of adjusting module 114 content is directed to the handset address, if serial data is transferred correction module 118 and RRC sequences then
Detection module 122 is processed;The correction module 118, difference link address detection module 116, handset RRC sequence detection module
122 and address module 126, error correction is carried out with the result detected according to handset RRC sequence detection module 122, and is processed to knot
Fruit sends to address module 126 and is processed;The handset RRC generation module 120, connects handset RRC sequence detection module
122, the use of handset RRC sequence detection module is sent to generate RRC sequences;The handset RRC sequence detection module 122, point
Other link address detection module 116, correction module 118 and process time counting module 124, detection come from address detected module
RRC sequences in 116 serial data, are sent respectively to correction module 118 and process time counting module 124 is used;The place
Reason time counting module 124, connects handset RRC sequence detection module 122 and coding module 128, respectively with according to RRC sequences
Testing result records the process time of whole processing procedure, and with first information frame, as 0 moment, CLK is first RRC sequence
Quantitative basis is simultaneously recorded with a matrix type, and the result is for coding module process;The address module 126, connects error correction respectively
Module 118 and coding module 128, to change the address of the serial data for coming from correction module 118 and the data of address will be changed
String is sent to coding module 128;The coding module 128, respectively connect process time counting module 124, address module 126 with
And handset radio frequency sending module 130, process time and error correcting code are added with the fresh information frame to coming from address module 126(BCH
Code);The coding result of coding module 128 is fed back to always by the handset radio frequency sending module 130, connect coding module 128
The Receiver Module 132 of machine.
In a kind of one embodiment for radio frequency range finding sub-processing unit based on RRC that the present invention is provided, the coding mould
Block includes:Address stored sub-module, for storing the address of all handsets, uses for group code module;Group numeral module, code word are common
It is divided into three parts:Preposition code word, address code character, information code character.Wherein preposition code word is and one fixation of input clock identical
That is, the clock sequence of length, address code character content sources can include multiple handset addresses, multiplely in address stored sub-module
Location frame, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and include information and verify and
Last even parity bit, wherein message part derive from RRC generative circuits, and even parity bit is then the counting according to counting submodule
As a result draw, check part then comes from BCH check code calculating sub modules;BCH check code calculating sub modules, it is each for calculating
The Bose-Chaudhuri Hocquenghem error correction codes of individual information frame, use for group code module;Counting submodule, for the bit number of calculating character string each several part, from
And supply group code module to calculate even parity bit.
With reference to the exemplary description of the aforementioned present invention, those skilled in the art could be aware that the present invention has advantages below:
The invention provides a kind of radio frequency range-measurement system and its implementation based on RRC, the system and method can realize multiple spot
Synchro measure, and test through walls is realized using ultrashort wave radio frequency, precision is improved using digital coding error correction.
Although the present invention embodies some specific examples and illustrates and describes, but the present invention is not limited only to shown place herein
Details because without departing from the present invention spirit and claim scope and equivalency range in, various changing can be made
Enter and structure change.Therefore, wide scope and as set forth in some sense with the scope of the present invention one
It is appropriate with claim that the explanation of cause is additional.
Claims (7)
1. a kind of radio frequency range finding primary processing unit based on RRC, it is characterised in that include:Coding module (102), exchange first
RRC generation modules (104), controller (106), radio frequency transmission module (108), transmission time logging modle (110), exchange
Receiver Module (132), address contrast module (134), exchange RRC sequence detection modules (136), the 2nd RRC of exchange are generated
Module (138) and distance calculation module (140), wherein:
The first RRC generation modules (104) of the exchange, connect coding module (102) generate a RRC sequences on the basis of CLK
Use for coding module (102);
The coding module (102), connects the first RRC generation modules (104) of exchange and controller (106), respectively with CLK as when
The RRC codes that sequence benchmark is generated according to the control signal of controller (106) and using the first RRC generation modules (104) of exchange are generated
Serial data to be sent, the character string for being generated are divided into preposition code word, three part of information code character and address code character;
The controller (106), connect coding module (102) and radio frequency transmission module (108), are believed with passing through control respectively
The transmission of number control data, reception, coding and calculate;
The transmission time logging modle (110), difference connect coding module (102), address comparing module (134), exchange RRC
Sequence detection module (136) and distance calculation module (140), to detect each in coding that coding module (102) is generated
The transmission time of information frame starting RRC sequences, with first information frame first RRC sequence as 0 moment, with CLK as quantify
Foundation is simultaneously recorded with a matrix type, after temporal information is returned, is taken out according to the comparative information in address contrast module (134)
The signal corresponding transmission time, and send together with the temporal information of exchange RRC sequence detection modules (136) is come to away from
From computing module (140);
The radio frequency transmission module (108), connect coding module (102) and controller (106), self-editing to send respectively
The radio frequency data string of code module (102) is to radio frequency receiving module (112);
The exchange Receiver Module (132), difference link address contrast module (134) and exchange RRC sequence detection modules
(136), carried out with receiving data address that handset radio frequency sending module (130) returns and being sent to address contrast module (134)
Process;
The address contrast module (134), difference linkup transmit time logging modle (110) and exchange Receiver Module
(132), so that the destination address of receiving data is judged according to the address of receiving data string, if address meets, transfer to the reception time
Logging modle;
The exchange RRC sequence detection modules (136), respectively linkup transmit time logging modle (110) and the 2nd RRC of exchange lifes
Into module (138), to detect the RRC sequences for receiving, and transmission time logging modle (110) is transferred to;
The 2nd RRC generation modules (138) of the exchange, connection exchange RRC sequence detection modules (136), to generate the 2nd RRC sequences
Row are used for exchange RRC sequence detection modules (136);
The distance calculation module (140), connects controller (106) and transmission time logging modle (110), respectively by oneself
Allocation index to transmission time logging modle (110) in record time and character string in character process time subtract each other in terms of
Time that signal needed in two-way process is calculated as round distance, and informs controller (106), this time test being completed, and controls
Device (106) processed will carry out the measurement of next address.
2. the radio frequency range finding primary processing unit based on RRC according to claim 1, it is characterised in that the coding module
Further include:
Address stored sub-module, for storing the address of all handsets, uses for group code module;
Group numeral module, code word are divided into three parts:Preposition code word, address code character, information code character, wherein preposition code word be with it is defeated
Enter the clock sequence of one regular length of clock identical, address code character content sources in address stored sub-module, comprising multiple
Handset address, i.e., multiple address frames, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and is wrapped
Information and verification and last even parity bit are included, wherein message part derives from RRC generative circuits, and even parity bit is then basis
What the count results of counting submodule drew, check part then comes from BCH check code calculating sub modules;
BCH check code calculating sub modules, for calculating the Bose-Chaudhuri Hocquenghem error correction codes of each information frame, use for group code module;
Counting submodule, for the bit number of calculating character string each several part, so as to calculate even parity bit for group code module.
3. a kind of radio frequency range finding sub-processing unit based on RRC, it is characterised in that include:Radio frequency receiving module (112),
Phase adjusting module (114), address detected module (116), correction module (118), handset RRC generation module (120), handset
RRC sequence detection modules (122), process time counting module (124), address module (126), coding module (128) and son
Machine radio frequency sending module (130), wherein:
The radio frequency receiving module (112), connection phase adjusting module (114) will receive and send mould from exchange radio frequency
The serial data of block (108) is supplied to phase adjusting module (114) to use;
The phase adjusting module (114), connects radio frequency receiving module (112) and address detected module (116), root respectively
The phase place of code word is received according to the serial data preposition code word adjustment that radio frequency receiving module (112) sends, and by after adjustment
Code word transmission processe result is used for address detected module;
The address detected module (116), connects phase adjusting module (114), correction module (118) and handset RRC sequence respectively
Row detection module (122), whether to detect phase adjusting module (114) output content for the handset address, if then by number
Correction module (118) is transferred according to string and handset RRC sequence detection module (122) is processed;
The correction module (118), difference link address detection module (116), handset RRC sequence detection module (122) and ground
Location module (126), carries out error correction with the result detected according to handset RRC sequence detection module (122), and is processed to result sending out
Deliver to address module (126) to be processed;
The handset RRC generation module (120), connection handset RRC sequence detection module (122), is sent to generating RRC sequences
Handset RRC sequence detection module is used;
The handset RRC sequence detection module (122), difference link address detection module (116), correction module (118) and place
Reason time counting module (124), detection come from the RRC sequences in the serial data of address detected module (116), are sent respectively to
Correction module (118) and process time counting module (124) are used;
The process time counting module (124), connects handset RRC sequence detection module (122) and coding module respectively
(128), so that the process time of whole processing procedure is recorded according to the testing result of RRC sequences, with first information frame first
Individual RRC sequences were 0 moment, and CLK is for quantitative basis and records with a matrix type, and the result is for coding module process;
The address module (126), connects correction module (118) and coding module (128) respectively, comes from error correction mould to change
The serial data for changing address is simultaneously sent to coding module (128) by the address of the serial data of block (118);
The coding module (128), connects process time counting module (124), address module (126) and handset radio frequency respectively
Sending module (130), adds process time and error correcting BCH code with the fresh information frame to coming from address module (126);
The handset radio frequency sending module (130), connect coding module (128) will be the coding result of coding module (128) anti-
It is fed to exchange Receiver Module (132).
4. the radio frequency range finding sub-processing unit based on RRC according to claim 3, it is characterised in that the coding module
Further include:
Address stored sub-module, for storing the address of all handsets, uses for group code module;
Group numeral module, code word are divided into three parts:Preposition code word, address code character, information code character, wherein preposition code word be with it is defeated
Enter the clock sequence of one regular length of clock identical, address code character content sources in address stored sub-module, comprising multiple
Handset address, i.e., multiple address frames, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and is wrapped
Information and verification and last even parity bit are included, wherein message part derives from RRC generative circuits, and even parity bit is then basis
What the count results of counting submodule drew, check part then comes from BCH check code calculating sub modules;
BCH check code calculating sub modules, for calculating the Bose-Chaudhuri Hocquenghem error correction codes of each information frame, use for group code module;
Counting submodule, for the bit number of calculating character string each several part, so as to calculate even parity bit for group code module.
5. a kind of radio frequency range-measurement system based on RRC, it is characterised in that include:The exchange (110) for mutually communicating and handset
(120), wherein:
The exchange (110) further includes:Exchange coding module (102), the first RRC generation modules (104) of exchange, controller
(106), radio frequency transmission module (108), transmission time logging modle (110), exchange Receiver Module (132), address
Contrast module (134), exchange RRC sequence detection modules (136), the 2nd RRC generation modules (138) of exchange and distance calculate mould
Block (140), wherein:
The first RRC generation modules (104) of the exchange, connection exchange coding module (102) generate a RRC on the basis of CLK
Sequence is used for exchange coding module (102);
The exchange coding module (102), connects the first RRC generation modules (104) of exchange and controller (106), respectively with CLK
For the RRC codes that temporal reference is generated according to the control signal of controller (106) and using the first RRC generation modules (104) of exchange
Serial data to be sent is generated, the character string for being generated is divided into preposition code word, three part of information code character and address code character;
The controller (106), connects exchange coding module (102) and radio frequency transmission module (108), respectively with by control
The transmission of signal control data processed, reception, coding and calculate;
The transmission time logging modle (110), connects exchange coding module (102), address comparing module (134), total respectively
Machine RRC sequence detection modules (136) and distance calculation module (140), to detect coding that exchange coding module (102) is generated
In each information frame starting RRC sequence the transmission time, with first information frame first RRC sequence as 0 moment, with
CLK is quantitative basis and records with a matrix type, after temporal information is returned, according to right in address contrast module (134)
Take out the signal corresponding transmission time than information, and with come from the temporal information one of exchange RRC sequence detection modules (136)
Rise and deliver to distance calculation module (140);
The radio frequency transmission module (108), connects exchange coding module (102) and controller (106), respectively to send
From the radio frequency data string of exchange coding module (102) to radio frequency receiving module (112);
The exchange Receiver Module (132), difference link address contrast module (134) and exchange RRC sequence detection modules
(136), carried out with receiving data address that handset radio frequency sending module (130) returns and being sent to address contrast module (134)
Process;
The address contrast module (134), difference linkup transmit time logging modle (110) and exchange Receiver Module
(132), so that the destination address of receiving data is judged according to the address of receiving data string, if address meets, transfer to the reception time
Logging modle;
The exchange RRC sequence detection modules (136), respectively linkup transmit time logging modle (110) and the 2nd RRC of exchange lifes
Into module (138), to detect the RRC sequences for receiving, and transmission time logging modle (110) is transferred to;
The 2nd RRC generation modules (138) of the exchange, connection exchange RRC sequence detection modules (136), to generate the 2nd RRC sequences
Row are used for exchange RRC sequence detection modules (136);
The distance calculation module (140), connects controller (106) and transmission time logging modle (110), respectively by oneself
Allocation index to transmission time logging modle (110) in record time and character string in character process time subtract each other in terms of
Time that signal needed in two-way process is calculated as round distance, and informs controller (106), this time test being completed, and controls
Device (106) processed will carry out the measurement of next address;
The handset (120) further includes:Radio frequency receiving module (112), phase adjusting module (114), address detected
When module (116), correction module (118), handset RRC generation module (120), handset RRC sequence detection module (122), process
Between counting module (124), address module (126), handset coding module (128) and handset radio frequency sending module (130), its
In:
The radio frequency receiving module (112), connection phase adjusting module (114) will receive and send mould from exchange radio frequency
The serial data of block (108) is supplied to phase adjusting module (114) to use;
The phase adjusting module (114), connects radio frequency receiving module (112) and address detected module (116), root respectively
The phase place of code word is received according to the serial data preposition code word adjustment that radio frequency receiving module (112) sends, and by after adjustment
Code word transmission processe result is used for address detected module;
The address detected module (116), connects phase adjusting module (114), correction module (118) and handset RRC sequence respectively
Row detection module (122), whether to detect phase adjusting module (114) output content for the handset address, if then by number
Correction module (118) is transferred according to string and handset RRC sequence detection module (122) is processed;
The correction module (118), difference link address detection module (116), handset RRC sequence detection module (122) and ground
Location module (126), carries out error correction with the result detected according to handset RRC sequence detection module (122), and is processed to result sending out
Deliver to address module (126) to be processed;
The handset RRC generation module (120), connection handset RRC sequence detection module (122), is sent to generating RRC sequences
Handset RRC sequence detection module is used;
The handset RRC sequence detection module (122), difference link address detection module (116), correction module (118) and place
Reason time counting module (124), detection come from the RRC sequences in the serial data of address detected module (116), are sent respectively to
Correction module (118) and process time counting module (124) are used;
The process time counting module (124), connects handset RRC sequence detection module (122) and handset coding module respectively
(128), so that the process time of whole processing procedure is recorded according to the testing result of RRC sequences, with first information frame first
Individual RRC sequences were 0 moment, and CLK is for quantitative basis and records with a matrix type, and the result is for coding module process;
The address module (126), connects correction module (118) and handset coding module (128) respectively, is entangled with changing to come from
The serial data for changing address is simultaneously sent to handset coding module (128) by the address of the serial data of mismatch block (118);
The handset coding module (128), connects process time counting module (124), address module (126) and handset respectively
Radio frequency sending module (130), adds process time and error correcting BCH code with the fresh information frame to coming from address module (126);
The handset radio frequency sending module (130), connection handset coding module (128), by the volume of handset coding module (128)
Code result feeds back to exchange Receiver Module (132).
6. the radio frequency range-measurement system based on RRC according to claim 5, it is characterised in that the coding module is further
Including:
Address stored sub-module, for storing the address of all handsets, uses for group code module;
Group numeral module, code word are divided into three parts:Preposition code word, address code character, information code character, wherein preposition code word be with it is defeated
Enter the clock sequence of one regular length of clock identical, address code character content sources in address stored sub-module, comprising multiple
Handset address, i.e., multiple address frames, the beginning of address frame are ' 0 ', are ended up as even parity bit, and information code character beginning is ' 1 ', and is wrapped
Information and verification and last even parity bit are included, wherein message part derives from RRC generative circuits, and even parity bit is then basis
What the count results of counting submodule drew, check part then comes from BCH check code calculating sub modules;
BCH check code calculating sub modules, for calculating the Bose-Chaudhuri Hocquenghem error correction codes of each information frame, use for group code module;
Counting submodule, for the bit number of calculating character string each several part, so as to calculate even parity bit for group code module.
7. a kind of radio frequency range finding implementation method based on RRC, it is characterised in that methods described includes:
Exchange carries out taking address, takes out the address of each handset;
Exchange generates RRC codes, for the filling of serial data information frame;
Exchange is encoded, and address and RRC be packed into address frame and information frame respectively, and chronologically adds preposition code word and same
Step code word and check code;
Encoded serial data is sent by exchange 433M radio frequencies and carries out Serial output by exchange;
Handset carries out data receiver under open state in all handset 433M Receiver Modules in range of receiving;
Handset content for being received only when receiving initial is preamble, then the serial data for receiving is only complete character
String, therefore preamble detection is carried out, preamble is the clock of certain bit number;
Handset carries out the phase adjustment that serial data receives sampling clock by preamble;
Handset advanced line synchronization code word detection before address detected, the data after synchronization code word are just address frame, and address frame connects
Harvest it is whole after just carry out address detected, address that will be in address frame is compared with the address of the handset, if having identical address
Into follow-up phase process, this serial data is otherwise abandoned, continue detection preposition code word;
Handset advanced line synchronization code word detection before the detection of RRC codes, the data after synchronization code word are just Frame,
Handset counter while last RRC sequence is detected is started counting up;
Handset carries out RRC code error correction simultaneously, generates RRC by RRC generative circuits and compares with the content in information frame, together
When carry out error correction by Bose-Chaudhuri Hocquenghem error correction codes;
Handset deletes the original place value in sequence, insertion exchange address and the machine address;
The handset insertion process time, while in order to prevent exchange from clashing when handset information is received, then carrying out handset address
Three time delays for being multiplied by N number of clock afterwards;
The serial data handled well is sent by handset by handset radio frequency sending module;
The Receiver Module receiving data string of exchange;
Exchange carries out data receiver under open state in the main frame Receiver Module in range of receiving;
Exchange content for being received when receiving initial is preamble, then the serial data for receiving is only complete character string, because
This carries out preamble detection, and preamble is the clock of certain bit number;
Exchange carries out the phase adjustment that serial data receives sampling clock by preamble;
Exchange advanced line synchronization code word detection before address detected, the data after synchronization code word are just address frame, and address frame connects
Harvest it is whole after just carry out address detected, address that will be in address frame is compared with the address of the main frame, if having identical address
Into follow-up phase process, this serial data is otherwise abandoned, continue detection preposition code word;
Exchange advanced line synchronization code word detection before the detection of RRC codes, the data after synchronization code word are just Frame,
Exchange is taken out after last RRC code is detected finds out corresponding transmission with the handset addressing of address for sending the data
Time, and calculate transmission with the time difference for receiving to calculate distance;
Exchange is tentatively judged to the distance for calculating, resurveys, otherwise export the distance if beyond measurement range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410597234.9A CN104297722B (en) | 2014-10-30 | 2014-10-30 | The main and sub processing meanss of radio frequency range finding based on RRC, system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410597234.9A CN104297722B (en) | 2014-10-30 | 2014-10-30 | The main and sub processing meanss of radio frequency range finding based on RRC, system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104297722A CN104297722A (en) | 2015-01-21 |
CN104297722B true CN104297722B (en) | 2017-04-05 |
Family
ID=52317524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410597234.9A Active CN104297722B (en) | 2014-10-30 | 2014-10-30 | The main and sub processing meanss of radio frequency range finding based on RRC, system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104297722B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104570006A (en) * | 2015-01-29 | 2015-04-29 | 东南大学 | No-dead-corner positioning system and no-dead-corner positioning method on basis of Android mobile terminals |
CN107566031A (en) * | 2016-06-30 | 2018-01-09 | 深圳市广星照明实业有限公司 | Data transmitting, method of reseptance and the device of 433M radio communications |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101309088A (en) * | 2008-07-04 | 2008-11-19 | 华中科技大学 | Random addressing self-adapting frequency-hopping wireless microphone and receiving machine thereof |
CN102932032A (en) * | 2012-10-16 | 2013-02-13 | 西安电子科技大学 | Broadband wireless communication and range location integrated system and method |
CN103888266A (en) * | 2014-04-15 | 2014-06-25 | 东南大学 | PUF reliability guarantee system and method based on RRC |
CN103885527A (en) * | 2014-04-15 | 2014-06-25 | 东南大学 | Clock skew compensation device based on RRC coding |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013141924A2 (en) * | 2011-12-28 | 2013-09-26 | Hrl Laboratories, Llc | Coded aperture beam analysis method and apparatus |
-
2014
- 2014-10-30 CN CN201410597234.9A patent/CN104297722B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101309088A (en) * | 2008-07-04 | 2008-11-19 | 华中科技大学 | Random addressing self-adapting frequency-hopping wireless microphone and receiving machine thereof |
CN102932032A (en) * | 2012-10-16 | 2013-02-13 | 西安电子科技大学 | Broadband wireless communication and range location integrated system and method |
CN103888266A (en) * | 2014-04-15 | 2014-06-25 | 东南大学 | PUF reliability guarantee system and method based on RRC |
CN103885527A (en) * | 2014-04-15 | 2014-06-25 | 东南大学 | Clock skew compensation device based on RRC coding |
Non-Patent Citations (2)
Title |
---|
《Design of high-Q UHF radio-frequency identification tag antennas for an increased read range》;J.W.Lee et al.;《IET Microwaves,Antennas&Propagation》;20081014;第2卷(第7期);第711-717页 * |
伪随机码超声扩频测距系统的研究;芮晓艳;《中国优秀硕士学位论文全文数据库 信息科技辑》;20101115(第11期);论文第四章 * |
Also Published As
Publication number | Publication date |
---|---|
CN104297722A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108401445B (en) | Circuit, method and related chip, system and equipment for measuring time | |
CN102143023B (en) | Error code testing system based on FPGA (Field Programmable Gate Array) | |
RU2004113955A (en) | METHOD FOR TRANSMITTING AND RECEIVING INFORMATION FOR DETECTING AN ERROR IN A COMMUNICATION SYSTEM | |
CN102123060B (en) | FPGA (Field Programmable Gate Array) based error code testing method | |
CN104330774B (en) | FPGA (Field Programmable Gate Array)-based S-mode secondary radar decoder | |
US20060258298A1 (en) | Ranging system and method thereof | |
CN104297722B (en) | The main and sub processing meanss of radio frequency range finding based on RRC, system and method | |
US9471416B2 (en) | Partitioned error code computation | |
TWI274250B (en) | Bit error rate tester and pseudo random bit sequences generator thereof | |
JP6725819B2 (en) | Method, system, transponder and position detection device for accurate position measurement | |
CN111327365B (en) | Satellite-ground quantum key distribution synchronization method and device based on non-periodic synchronization light | |
CN102332975A (en) | Method and device for self-adaptively sampling interface | |
JP6566925B2 (en) | Propagation characteristics measuring device | |
US20240133953A1 (en) | Determination device, test system, and generation device | |
CN103840900A (en) | Communication link test system and method for radar responder | |
TWI685217B (en) | Packet order recognizable correcting code | |
JP3408486B2 (en) | Synchronous circuit between devices | |
CN107493133B (en) | A kind of additivity uniquely can decompose the construction method and its system of constellation group | |
RU2284665C1 (en) | Device for cyclic synchronization | |
US20230115264A1 (en) | Method and device of checking integrity of packet using trust field in wireless distributed communication systems | |
CN112637091B (en) | Link quality estimation method and device for cross-protocol communication | |
Chaudhary et al. | Design and simulation of physical layer blocks of ZigBee transmitter | |
JP6566924B2 (en) | Propagation characteristics measuring device | |
SU422111A1 (en) | ||
RU2621181C1 (en) | Cycle synchronization method with dynamic addressing recipient |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |