Summary of the invention
In consideration of it, the invention provides a kind of radio-frequency location system possessing learning capacity and location
Method, this invention has: low cost, accurate positioning, algorithm trap, possess learning capacity,
The advantage such as practical.
The technical solution used in the present invention is as follows:
A kind of radio-frequency location system possessing learning capacity, it is characterised in that described system includes:
Label node, coordinate read write line, gateway node, mobile terminal and high in the clouds;Described label node bag
Include label controller and Tag Radio Frequency transceiver module;Described read write line includes: read-write storage meter
Calculate module, read-write controller and read-write radio transceiver module;Described gateway node includes: logical
Letter interface, microprocessor and gateway radio transceiver module;Described high in the clouds includes: high in the clouds is analyzed
Processor, cloud database and high in the clouds data transmission module;Described mobile terminal includes: mobile terminal
Data transmission module, processor and operation interface;
Described read-write storage computing module signal is connected to read-write controller;Described read-write controller
Signal is connected to read and write radio transceiver module;Described read-write radio transceiver module signal respectively
It is connected to gateway radio transceiver module and Tag Radio Frequency transceiver module;Described Tag Radio Frequency is received
Send out device module by signal and be connected to label controller;Described gateway radio transceiver module signal connects
In microprocessor;Described microprocessor signals is connected to communication interface;Described communication interface signal
It is connected to mobile terminal data transmission module;Data transmission module signal respectively in described mobile terminal connects
In processor and high in the clouds data transmission module;Described processor signal is connected to operate interface;Institute
State high in the clouds data transmission module signal and be connected to cloud database;Described cloud database signal is even
It is connected to high in the clouds analysis processor.
Described label controller uses Harvard bus structures, data/address bus and instruction bus is carried out
Separate, single byte and the monocycle all instructed can be realized;Described read-write controller is also adopted
Use Harvard bus structures, data/address bus and instruction bus are separated, can realize all instructing
Single byte and the monocycle;Described Tag Radio Frequency transceiver module, read-write RF transceiver
Module and gateway radio transceiver module can be joined by height integrated on main control chip and chip
The modem composition put.
Described mobile terminal data transmission module, is used for connecting mobile terminal and gateway, mobile terminal and cloud
Data transmission between end;Described processor is for being analyzed according to the data message received
Process, analysis processing result is sent to operating interface;Described operation interface, is used for showing and determines
Position result, it is judged that whether positioning result accurate, and can input positioning result and accurate result it
Between actual difference, will determine that result and difference through mobile data transfer module send to high in the clouds.
Described high in the clouds data transmission module, for connecting the data transmission between mobile terminal and high in the clouds;
Described cloud database, the judged result sended over from mobile terminal for storage and difference;
Described high in the clouds analysis processor, within the cycle time specified, to these judged results and
Difference is analyzed processing, and generates a correction algorithm according to analysis result, by correction algorithm
Send to mobile terminal;The detailed process that described correction algorithm generates comprises the following steps:
Step 1: the expected value of the difference received in calculating the cycle specified;
Step 2: statistics judged result within this formulation cycle is the expected value of inaccurate number of times;
Step 3: the expected value of difference is multiplied by the expected value that judged result is inaccurate number of times
As correction value;
Step 4: by correction value send to mobile terminal, mobile terminal when carrying out location Calculation next time,
Can be plus this correction value, regeneration positioning result on location Calculation final result.
A kind of based on the radio frequency location system possessing learning capacity one of Claims 1-4 Suo Shu
The localization method of system, it is characterised in that the localization method of described radio-frequency location system includes following
Step:
Step 1: system initialization, the radiofrequency signal between read write line and label passes through space coupling
Conjunction realizes the transmission of contactless information;
Step 2: read write line, by the radio communication with label, is calculated by multi-tag identification collision
Method obtains received signal strength indicator value, it may be assumed that RSSI value;
Step 3: obtain the coordinate figure of oneself of read write line, by the coordinate figure got and RSSI
Value is transferred to gateway;
Step 4: after gateway receives these data messages, sends data message to mobile terminal;
Step 5: mobile terminal uses location algorithm to calculate positioning result, is shown by positioning result
Illustrate.
Described multi-tag identification collision algorithm comprises the following steps:
Step 1: set contention timeslot number as T;In contention, first with label
Serial number determines label sending time slots in contention Frame divided by the remainder of T gained;
Step 2: then utilize tag serial number to determine that label is in contention frame divided by the business of T gained
The transmission position of interior corresponding time slot, during contention Frame corresponding then sent in contention
Gap sends position and fills data " 1 ";
Step 3: finally utilize the contention Frame filled to determine that label sends in whole data
Transmission order in cycle;Described transmission order is: it sends position and respectively sends in position
The sum of " 1 ", thus distribute different transmission timings to the label of different serial number.
Described location algorithm comprises the following steps:
Step 1: determine and accept signal intensity and signal transmission distance relation is:
RSSI=-(A+10nlog10D)-EAF;Wherein RSSI is received signal strength, D
Being distance week sending out between node, n is signal propagation factor;EAF is envirment factor;
Step 2: set read write line three positions as p1 (x1,y1)、p2(x2,y2)、p1(x3,y3)
Equation below is utilized to calculate the coordinate computing formula of label to be positioned:
Step 3: the coordinate position obtaining outgoing label is:
Use above technical scheme, present invention produces following beneficial effect:
1, possess learning capacity: recorded the error of positioning result each time by high in the clouds, and fixed
Position judged result.Further fix time and carry out big data analysis in the cycle, draw difference expectation and
The expected value of judged result draws correction value after processing.This correction value can be supplied to move
Moved end is that location each time carries out precision calibration.
2, algorithm is advanced: alignment system relates to the real-time Communication for Power between multiple label and read write line,
Need to solve multi-tag identification signal collision problem.Have employed multi-tag identification collision algorithm, should
Algorithm has algorithm based on serial number to the sort algorithm of timeslot number computing and is easily achieved, responds speed
Degree is fast, execution efficiency high, is the one of time-division multiplexing method.Additionally, by specific
Location algorithm can simply calculate the position of location.
3, cost performance is high: compared with GPS location, infrared location;Radio frequency is used to position not only
Low cost and precision is the highest.Cost performance is the most reasonable comparatively speaking, and have the strongest can
Row and practicality.
Detailed description of the invention
All features disclosed in this specification, or disclosed all methods or during step,
In addition to mutually exclusive feature and/or step, all can combine by any way.
Any feature disclosed in this specification (including any accessory claim, summary),
Unless specifically stated otherwise, all can be by other equivalences or there is the alternative features of similar purpose replaced.
I.e., unless specifically stated otherwise, an example during each feature is a series of equivalence or similar characteristics
Son.
The embodiment of the present invention 1 provides a kind of radio-frequency location system possessing learning capacity, is
System structure as shown in Figure 1:
A kind of radio-frequency location system possessing learning capacity, it is characterised in that described system includes:
Label node, coordinate read write line, gateway node, mobile terminal and high in the clouds;Described label node bag
Include label controller and Tag Radio Frequency transceiver module;Described read write line includes: read-write storage meter
Calculate module, read-write controller and read-write radio transceiver module;Described gateway node includes: logical
Letter interface, microprocessor and gateway radio transceiver module;Described high in the clouds includes: high in the clouds is analyzed
Processor, cloud database and high in the clouds data transmission module;Described mobile terminal includes: mobile terminal
Data transmission module, processor and operation interface;
Described read-write storage computing module signal is connected to read-write controller;Described read-write controller
Signal is connected to read and write radio transceiver module;Described read-write radio transceiver module signal respectively
It is connected to gateway radio transceiver module and Tag Radio Frequency transceiver module;Described Tag Radio Frequency is received
Send out device module by signal and be connected to label controller;Described gateway radio transceiver module signal connects
In microprocessor;Described microprocessor signals is connected to communication interface;Described communication interface signal
It is connected to mobile terminal data transmission module;Data transmission module signal respectively in described mobile terminal connects
In processor and high in the clouds data transmission module;Described processor signal is connected to operate interface;Institute
State high in the clouds data transmission module signal and be connected to cloud database;Described cloud database signal is even
It is connected to high in the clouds analysis processor.
Described label controller uses Harvard bus structures, data/address bus and instruction bus is carried out
Separate, single byte and the monocycle all instructed can be realized;Described read-write controller is also adopted
Use Harvard bus structures, data/address bus and instruction bus are separated, can realize all instructing
Single byte and the monocycle;Described Tag Radio Frequency transceiver module, read-write RF transceiver
Module and gateway radio transceiver module can be joined by height integrated on main control chip and chip
The modem composition put.
Described mobile terminal data transmission module, is used for connecting mobile terminal and gateway, mobile terminal and cloud
Data transmission between end;Described processor is for being analyzed according to the data message received
Process, analysis processing result is sent to operating interface;Described operation interface, is used for showing and determines
Position result, it is judged that whether positioning result accurate, and can input positioning result and accurate result it
Between actual difference, will determine that result and difference through mobile data transfer module send to high in the clouds.
Described high in the clouds data transmission module, for connecting the data transmission between mobile terminal and high in the clouds;
Described cloud database, the judged result sended over from mobile terminal for storage and difference;
Described high in the clouds analysis processor, within the cycle time specified, to these judged results and
Difference is analyzed processing, and generates a correction algorithm according to analysis result, by correction algorithm
Send to mobile terminal;The detailed process that described correction algorithm generates comprises the following steps:
Step 1: the expected value of the difference received in calculating the cycle specified;
Step 2: statistics judged result within this formulation cycle is the expected value of inaccurate number of times;
Step 3: the expected value of difference is multiplied by the expected value that judged result is inaccurate number of times
As correction value;
Step 4: by correction value send to mobile terminal, mobile terminal when carrying out location Calculation next time,
Can be plus this correction value, regeneration positioning result on location Calculation final result.
The embodiment of the present invention 2 provides a kind of radio-frequency location system possessing learning capacity and
Localization method, system construction drawing as described in Figure 1:
A kind of radio-frequency location system possessing learning capacity, it is characterised in that described system includes:
Label node, coordinate read write line, gateway node, mobile terminal and high in the clouds;Described label node bag
Include label controller and Tag Radio Frequency transceiver module;Described read write line includes: read-write storage meter
Calculate module, read-write controller and read-write radio transceiver module;Described gateway node includes: logical
Letter interface, microprocessor and gateway radio transceiver module;Described high in the clouds includes: high in the clouds is analyzed
Processor, cloud database and high in the clouds data transmission module;Described mobile terminal includes: mobile terminal
Data transmission module, processor and operation interface;
Described read-write storage computing module signal is connected to read-write controller;Described read-write controller
Signal is connected to read and write radio transceiver module;Described read-write radio transceiver module signal respectively
It is connected to gateway radio transceiver module and Tag Radio Frequency transceiver module;Described Tag Radio Frequency is received
Send out device module by signal and be connected to label controller;Described gateway radio transceiver module signal connects
In microprocessor;Described microprocessor signals is connected to communication interface;Described communication interface signal
It is connected to mobile terminal data transmission module;Data transmission module signal respectively in described mobile terminal connects
In processor and high in the clouds data transmission module;Described processor signal is connected to operate interface;Institute
State high in the clouds data transmission module signal and be connected to cloud database;Described cloud database signal is even
It is connected to high in the clouds analysis processor.
Described label controller uses Harvard bus structures, data/address bus and instruction bus is carried out
Separate, single byte and the monocycle all instructed can be realized;Described read-write controller is also adopted
Use Harvard bus structures, data/address bus and instruction bus are separated, can realize all instructing
Single byte and the monocycle;Described Tag Radio Frequency transceiver module, read-write RF transceiver
Module and gateway radio transceiver module can be joined by height integrated on main control chip and chip
The modem composition put.
Described mobile terminal data transmission module, is used for connecting mobile terminal and gateway, mobile terminal and cloud
Data transmission between end;Described processor is for being analyzed according to the data message received
Process, analysis processing result is sent to operating interface;Described operation interface, is used for showing and determines
Position result, it is judged that whether positioning result accurate, and can input positioning result and accurate result it
Between actual difference, will determine that result and difference through mobile data transfer module send to high in the clouds.
Described high in the clouds data transmission module, for connecting the data transmission between mobile terminal and high in the clouds;
Described cloud database, the judged result sended over from mobile terminal for storage and difference;
Described high in the clouds analysis processor, within the cycle time specified, to these judged results and
Difference is analyzed processing, and generates a correction algorithm according to analysis result, by correction algorithm
Send to mobile terminal;The detailed process that described correction algorithm generates comprises the following steps:
Step 1: the expected value of the difference received in calculating the cycle specified;
Step 2: statistics judged result within this formulation cycle is the expected value of inaccurate number of times;
Step 3: the expected value of difference is multiplied by the expected value that judged result is inaccurate number of times
As correction value;
Step 4: by correction value send to mobile terminal, mobile terminal when carrying out location Calculation next time,
Can be plus this correction value, regeneration positioning result on location Calculation final result.
A kind of based on the radio frequency location system possessing learning capacity one of Claims 1-4 Suo Shu
The localization method of system, it is characterised in that the localization method of described radio-frequency location system includes following
Step:
Step 1: system initialization, the radiofrequency signal between read write line and label passes through space coupling
Conjunction realizes the transmission of contactless information;
Step 2: read write line, by the radio communication with label, is calculated by multi-tag identification collision
Method obtains received signal strength indicator value, it may be assumed that RSSI value;
Step 3: obtain the coordinate figure of oneself of read write line, by the coordinate figure got and RSSI
Value is transferred to gateway;
Step 4: after gateway receives these data messages, sends data message to mobile terminal;
Step 5: mobile terminal uses location algorithm to calculate positioning result, is shown by positioning result
Illustrate.
Described multi-tag identification collision algorithm comprises the following steps:
Step 1: set contention timeslot number as T;In contention, first with label
Serial number determines label sending time slots in contention Frame divided by the remainder of T gained;
Step 2: then utilize tag serial number to determine that label is in contention frame divided by the business of T gained
The transmission position of interior corresponding time slot, during contention Frame corresponding then sent in contention
Gap sends position and fills data " 1 ";
Step 3: finally utilize the contention Frame filled to determine that label sends in whole data
Transmission order in cycle;Described transmission order is: it sends position and respectively sends in position
The sum of " 1 ", thus distribute different transmission timings to the label of different serial number.
Described location algorithm comprises the following steps:
Step 1: determine and accept signal intensity and signal transmission distance relation is:
RSSI=-(A+10nlog10D)-EAF;Wherein RSSI is received signal strength, D
Being distance week sending out between node, n is signal propagation factor;EAF is envirment factor;
Step 2: set read write line three positions as p1 (x1,y1)、p2(x2,y2)、p1(x3,y3)
Equation below is utilized to calculate the coordinate computing formula of label to be positioned:
Step 3: the coordinate position obtaining outgoing label is:
The embodiment of the present invention 3 provides a kind of intelligent vehicle air bag system and control
Method, system structure as shown in Figure 1:
A kind of radio-frequency location system possessing learning capacity, it is characterised in that described system includes:
Label node, coordinate read write line, gateway node, mobile terminal and high in the clouds;Described label node bag
Include label controller and Tag Radio Frequency transceiver module;Described read write line includes: read-write storage meter
Calculate module, read-write controller and read-write radio transceiver module;Described gateway node includes: logical
Letter interface, microprocessor and gateway radio transceiver module;Described high in the clouds includes: high in the clouds is analyzed
Processor, cloud database and high in the clouds data transmission module;Described mobile terminal includes: mobile terminal
Data transmission module, processor and operation interface;
Described read-write storage computing module signal is connected to read-write controller;Described read-write controller
Signal is connected to read and write radio transceiver module;Described read-write radio transceiver module signal respectively
It is connected to gateway radio transceiver module and Tag Radio Frequency transceiver module;Described Tag Radio Frequency is received
Send out device module by signal and be connected to label controller;Described gateway radio transceiver module signal connects
In microprocessor;Described microprocessor signals is connected to communication interface;Described communication interface signal
It is connected to mobile terminal data transmission module;Data transmission module signal respectively in described mobile terminal connects
In processor and high in the clouds data transmission module;Described processor signal is connected to operate interface;Institute
State high in the clouds data transmission module signal and be connected to cloud database;Described cloud database signal is even
It is connected to high in the clouds analysis processor.
Described label controller uses Harvard bus structures, data/address bus and instruction bus is carried out
Separate, single byte and the monocycle all instructed can be realized;Described read-write controller is also adopted
Use Harvard bus structures, data/address bus and instruction bus are separated, can realize all instructing
Single byte and the monocycle;Described Tag Radio Frequency transceiver module, read-write RF transceiver
Module and gateway radio transceiver module can be joined by height integrated on main control chip and chip
The modem composition put.
Described mobile terminal data transmission module, is used for connecting mobile terminal and gateway, mobile terminal and cloud
Data transmission between end;Described processor is for being analyzed according to the data message received
Process, analysis processing result is sent to operating interface;Described operation interface, is used for showing and determines
Position result, it is judged that whether positioning result accurate, and can input positioning result and accurate result it
Between actual difference, will determine that result and difference through mobile data transfer module send to high in the clouds.
Described high in the clouds data transmission module, for connecting the data transmission between mobile terminal and high in the clouds;
Described cloud database, the judged result sended over from mobile terminal for storage and difference;
Described high in the clouds analysis processor, within the cycle time specified, to these judged results and
Difference is analyzed processing, and generates a correction algorithm according to analysis result, by correction algorithm
Send to mobile terminal;The detailed process that described correction algorithm generates comprises the following steps:
Step 1: the expected value of the difference received in calculating the cycle specified;
Step 2: statistics judged result within this formulation cycle is the expected value of inaccurate number of times;
Step 3: the expected value of difference is multiplied by the expected value that judged result is inaccurate number of times
As correction value;
Step 4: by correction value send to mobile terminal, mobile terminal when carrying out location Calculation next time,
Can be plus this correction value, regeneration positioning result on location Calculation final result.
A kind of based on the radio frequency location system possessing learning capacity one of Claims 1-4 Suo Shu
The localization method of system, it is characterised in that the localization method of described radio-frequency location system includes following
Step:
Step 1: system initialization, the radiofrequency signal between read write line and label passes through space coupling
Conjunction realizes the transmission of contactless information;
Step 2: read write line, by the radio communication with label, is calculated by multi-tag identification collision
Method obtains received signal strength indicator value, it may be assumed that RSSI value;
Step 3: obtain the coordinate figure of oneself of read write line, by the coordinate figure got and RSSI
Value is transferred to gateway;
Step 4: after gateway receives these data messages, sends data message to mobile terminal;
Step 5: mobile terminal uses location algorithm to calculate positioning result, is shown by positioning result
Illustrate.
Described multi-tag identification collision algorithm comprises the following steps:
Step 1: set contention timeslot number as T;In contention, first with label
Serial number determines label sending time slots in contention Frame divided by the remainder of T gained;
Step 2: then utilize tag serial number to determine that label is in contention frame divided by the business of T gained
The transmission position of interior corresponding time slot, during contention Frame corresponding then sent in contention
Gap sends position and fills data " 1 ";
Step 3: finally utilize the contention Frame filled to determine that label sends in whole data
Transmission order in cycle;Described transmission order is: it sends position and respectively sends in position
The sum of " 1 ", thus distribute different transmission timings to the label of different serial number.
Described location algorithm comprises the following steps:
Step 1: determine and accept signal intensity and signal transmission distance relation is:
RSSI=-(A+10nlog10D)-EAF;Wherein RSSI is received signal strength, D
Being distance week sending out between node, n is signal propagation factor;EAF is envirment factor;
Step 2: set read write line three positions as p1 (x1,y1)、p2(x2,y2)、p1(x3,y3)
Equation below is utilized to calculate the coordinate computing formula of label to be positioned:
Step 3: the coordinate position obtaining outgoing label is:
The error of positioning result each time, and location determination result is recorded by high in the clouds.The most certain
Carry out big data analysis in time cycle, show that the expectation of difference and the expected value of judged result enter
Row draws correction value after processing.It is location each time that this correction value can be supplied to mobile terminal
Carry out precision calibration.
Have employed multi-tag identification collision algorithm, this algorithm based on serial number to timeslot number computing
Sort algorithm have algorithm be easily achieved, fast response time, execution efficiency high, when being
Divide the one of multiplexing method.Additionally, can simply be calculated by specific location algorithm
The position of location.
Use radio frequency position not only low cost and also precision is the highest.Cost performance is the most comparatively speaking
Rationally, and there is the strongest feasibility and practicality.
The invention is not limited in aforesaid detailed description of the invention.The present invention expands to any in this explanation
In book disclose new feature or any new combination, and disclose arbitrary new method or process
Step or any new combination.