Invention content
In consideration of it, the present invention provides a kind of radio-frequency location system and localization method having learning ability, invention tool
Have:At low cost, accurate positioning, has the advantages that learning ability, highly practical at algorithm trap.
The technical solution adopted by the present invention is as follows:
A kind of radio-frequency location system having learning ability, which is characterized in that the system comprises:Label node, coordinate
Reader, gateway node, mobile terminal and high in the clouds;The label node includes label controller and Tag Radio Frequency transceiver module;
The reader includes:Read-write storage computing module, read-write controller and read-write radio transceiver module;The gateway node packet
It includes:Communication interface, microprocessor and gateway radio transceiver module;The high in the clouds includes:High in the clouds analysis processor, high in the clouds data
Library and high in the clouds data transmission module;The mobile terminal includes:Mobile terminal data transmission module, processor and operation interface;
The read-write storage computing module signal is connected to read-write controller;The read-write controller signal is connected to read-write
Radio transceiver module;The read-write radio transceiver module is connected separately to be penetrated in gateway radio transceiver module and label
Frequency transceiver module;The Tag Radio Frequency transceiver module signal is connected to label controller;The gateway RF transceiver mould
Block signal is connected to microprocessor;The microprocessor signals are connected to communication interface;The communication interface signal is connected to shifting
Moved end data transmission module;The mobile terminal data transmission module is connected separately in processor and high in the clouds data transmission mould
Block;The processor signal is connected to operation interface;The high in the clouds data transmission module signal is connected to cloud database;It is described
Cloud database signal is connected to high in the clouds analysis processor.
The label controller uses Harvard bus structures, data/address bus and instruction bus is detached, it can be achieved that complete
The single byte of portion's instruction and monocycle;The read-write controller also uses Harvard bus structures, by data/address bus and instruction
Bus is detached single byte and monocycle, it can be achieved that all instructions;The Tag Radio Frequency transceiver module, read-write are penetrated
Frequency transceiver module and gateway radio transceiver module are by the highly configurable modulatedemodulate integrated on main control chip and chip
Adjust device composition.
The mobile terminal data transmission module is passed for connecting the data between mobile terminal and gateway, mobile terminal and high in the clouds
It is defeated;The processor is used to carry out analyzing processing according to the data information received, and analysis and processing result is sent to operation circle
Face;The operation interface judges whether positioning result is accurate, and can input positioning result and standard for showing positioning result
Actual difference between true result, will determine that result and difference are sent to high in the clouds through mobile data transfer module.
The high in the clouds data transmission module, the data transmission for being connected between mobile terminal and high in the clouds;The high in the clouds data
Library, for storing the judging result and difference that are sended over from mobile terminal;The high in the clouds analysis processor, for specified
In cycle time, analyzing processing is carried out to these judging results and difference, and a correction algorithm is generated according to analysis result, it will
Correction algorithm is sent to mobile terminal;The detailed process that the correction algorithm generates includes the following steps:
Step 1:Calculate the desired value of the difference received in the specified period;
Step 2:Count the desired value that the judging result within the formulation period is inaccurate number;
Step 3:The desired value of difference is multiplied by the desired value for the number that judging result is inaccuracy as correction value;
Step 4:Correction value is sent to mobile terminal, mobile terminal when carrying out location Calculation next time, can location Calculation most
The correction value is added on termination fruit, regenerates positioning result.
A kind of localization method based on the radio-frequency location system for having learning ability described in one of Claims 1-4,
It is characterized in that, the localization method of the radio-frequency location system includes the following steps:
Step 1:System initialization, the radiofrequency signal between reader and label realize contactless information by Space Coupling
It transmits;
Step 2:Reader identifies that collision algorithm acquisition reception signal is strong by the wireless communication with label, by multi-tag
Indicated value is spent, i.e.,:RSSI value;
Step 3:The coordinate value of oneself for obtaining reader, gateway is transferred to by the coordinate value got and RSSI value;
Step 4:After gateway receives these data informations, data information is sent to mobile terminal;
Step 5:Positioning result is calculated using location algorithm in mobile terminal, and positioning result is shown.
The multi-tag identification collision algorithm includes the following steps:
Step 1:If contention timeslot number is T;In contention, obtained by tag serial number divided by T
Remainder determines sending time slots of the label in contention data frame;
Step 2:Then the transmission of label corresponding time slot in contention frame is determined using the quotient obtained by tag serial number divided by T
The corresponding time slot of position, the contention data frame then sent in contention sends position filling data " 1 ";
Step 3:Finally determine that transmission of the label in entire data transmitting period is suitable using the contention data frame filled
Sequence;Transmission sequence is:It sends position and the front respectively sends in position the sum of " 1 ", to the label to different sequence numbers
Distribute different transmission timings.
The location algorithm includes the following steps:
Step 1:Determination receives signal strength and signal transmission distance relationship is:
RSSI=- (A+10nlog10D)-EAF;Wherein RSSI is received signal strength, and D is to send out the distance between node in week,
N is signal propagation factor;EAF is environmental factor;
Step 2:If three positions of reader are:p1(x1,y1)、p2(x2,y2)、p1(x3,y3) calculated using following formula
Go out the coordinate calculation formula of label to be positioned:
Step 3:The coordinate position of outgoing label is:
Using above technical scheme, present invention produces following advantageous effects:
1, has learning ability:The error of positioning result and location determination result each time are recorded by high in the clouds.It is certain again
Carry out big data analysis in time cycle, the desired value of the expectation and judging result that obtain difference obtains correction after being handled
Value.It is that positioning each time carries out precision calibration that this correction value, which can be supplied to mobile terminal,.
2, algorithm is advanced:Positioning system is related to the real-time Communication for Power between multiple labels and reader, needs to solve multi-tag
Identification signal collision problem.Use multi-tag identification collision algorithm, sequence of the algorithm based on sequence number to timeslot number operation
Algorithm have the characteristics that algorithm be easily achieved, fast response time, execution efficiency it is high, be one kind of time-division multiplexing method.In addition, logical
The position of positioning can be simply calculated by crossing specific location algorithm.
3, cost-effective:Compared with GPS positioning, infrared positioning;Using radio frequency position not only at low cost but also precision also compared with
It is high.Comparatively cost performance is the most reasonable, and has very strong feasibility and practicability.
Specific implementation mode
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive
Feature and/or step other than, can combine in any way.
Any feature disclosed in this specification (including any accessory claim, abstract), unless specifically stated,
It is replaced by other equivalent or with similar purpose alternative features.That is, unless specifically stated, each feature is a series of
An example in equivalent or similar characteristics.
A kind of radio-frequency location system having learning ability, system structure such as Fig. 1 institutes are provided in the embodiment of the present invention 1
Show:
A kind of radio-frequency location system having learning ability, which is characterized in that the system comprises:Label node, coordinate
Reader, gateway node, mobile terminal and high in the clouds;The label node includes label controller and Tag Radio Frequency transceiver module;
The reader includes:Read-write storage computing module, read-write controller and read-write radio transceiver module;The gateway node packet
It includes:Communication interface, microprocessor and gateway radio transceiver module;The high in the clouds includes:High in the clouds analysis processor, high in the clouds data
Library and high in the clouds data transmission module;The mobile terminal includes:Mobile terminal data transmission module, processor and operation interface;
The read-write storage computing module signal is connected to read-write controller;The read-write controller signal is connected to read-write
Radio transceiver module;The read-write radio transceiver module is connected separately to be penetrated in gateway radio transceiver module and label
Frequency transceiver module;The Tag Radio Frequency transceiver module signal is connected to label controller;The gateway RF transceiver mould
Block signal is connected to microprocessor;The microprocessor signals are connected to communication interface;The communication interface signal is connected to shifting
Moved end data transmission module;The mobile terminal data transmission module is connected separately in processor and high in the clouds data transmission mould
Block;The processor signal is connected to operation interface;The high in the clouds data transmission module signal is connected to cloud database;It is described
Cloud database signal is connected to high in the clouds analysis processor.
The label controller uses Harvard bus structures, data/address bus and instruction bus is detached, it can be achieved that complete
The single byte of portion's instruction and monocycle;The read-write controller also uses Harvard bus structures, by data/address bus and instruction
Bus is detached single byte and monocycle, it can be achieved that all instructions;The Tag Radio Frequency transceiver module, read-write are penetrated
Frequency transceiver module and gateway radio transceiver module are by the highly configurable modulatedemodulate integrated on main control chip and chip
Adjust device composition.
The mobile terminal data transmission module is passed for connecting the data between mobile terminal and gateway, mobile terminal and high in the clouds
It is defeated;The processor is used to carry out analyzing processing according to the data information received, and analysis and processing result is sent to operation circle
Face;The operation interface judges whether positioning result is accurate, and can input positioning result and standard for showing positioning result
Actual difference between true result, will determine that result and difference are sent to high in the clouds through mobile data transfer module.
The high in the clouds data transmission module, the data transmission for being connected between mobile terminal and high in the clouds;The high in the clouds data
Library, for storing the judging result and difference that are sended over from mobile terminal;The high in the clouds analysis processor, for specified
In cycle time, analyzing processing is carried out to these judging results and difference, and a correction algorithm is generated according to analysis result, it will
Correction algorithm is sent to mobile terminal;The detailed process that the correction algorithm generates includes the following steps:
Step 1:Calculate the desired value of the difference received in the specified period;
Step 2:Count the desired value that the judging result within the formulation period is inaccurate number;
Step 3:The desired value of difference is multiplied by the desired value for the number that judging result is inaccuracy as correction value;
Step 4:Correction value is sent to mobile terminal, mobile terminal when carrying out location Calculation next time, can location Calculation most
The correction value is added on termination fruit, regenerates positioning result.
A kind of radio-frequency location system and localization method having learning ability, system knot are provided in the embodiment of the present invention 2
Composition is as described in Figure 1:
A kind of radio-frequency location system having learning ability, which is characterized in that the system comprises:Label node, coordinate
Reader, gateway node, mobile terminal and high in the clouds;The label node includes label controller and Tag Radio Frequency transceiver module;
The reader includes:Read-write storage computing module, read-write controller and read-write radio transceiver module;The gateway node packet
It includes:Communication interface, microprocessor and gateway radio transceiver module;The high in the clouds includes:High in the clouds analysis processor, high in the clouds data
Library and high in the clouds data transmission module;The mobile terminal includes:Mobile terminal data transmission module, processor and operation interface;
The read-write storage computing module signal is connected to read-write controller;The read-write controller signal is connected to read-write
Radio transceiver module;The read-write radio transceiver module is connected separately to be penetrated in gateway radio transceiver module and label
Frequency transceiver module;The Tag Radio Frequency transceiver module signal is connected to label controller;The gateway RF transceiver mould
Block signal is connected to microprocessor;The microprocessor signals are connected to communication interface;The communication interface signal is connected to shifting
Moved end data transmission module;The mobile terminal data transmission module is connected separately in processor and high in the clouds data transmission mould
Block;The processor signal is connected to operation interface;The high in the clouds data transmission module signal is connected to cloud database;It is described
Cloud database signal is connected to high in the clouds analysis processor.
The label controller uses Harvard bus structures, data/address bus and instruction bus is detached, it can be achieved that complete
The single byte of portion's instruction and monocycle;The read-write controller also uses Harvard bus structures, by data/address bus and instruction
Bus is detached single byte and monocycle, it can be achieved that all instructions;The Tag Radio Frequency transceiver module, read-write are penetrated
Frequency transceiver module and gateway radio transceiver module are by the highly configurable modulatedemodulate integrated on main control chip and chip
Adjust device composition.
The mobile terminal data transmission module is passed for connecting the data between mobile terminal and gateway, mobile terminal and high in the clouds
It is defeated;The processor is used to carry out analyzing processing according to the data information received, and analysis and processing result is sent to operation circle
Face;The operation interface judges whether positioning result is accurate, and can input positioning result and standard for showing positioning result
Actual difference between true result, will determine that result and difference are sent to high in the clouds through mobile data transfer module.
The high in the clouds data transmission module, the data transmission for being connected between mobile terminal and high in the clouds;The high in the clouds data
Library, for storing the judging result and difference that are sended over from mobile terminal;The high in the clouds analysis processor, for specified
In cycle time, analyzing processing is carried out to these judging results and difference, and a correction algorithm is generated according to analysis result, it will
Correction algorithm is sent to mobile terminal;The detailed process that the correction algorithm generates includes the following steps:
Step 1:Calculate the desired value of the difference received in the specified period;
Step 2:Count the desired value that the judging result within the formulation period is inaccurate number;
Step 3:The desired value of difference is multiplied by the desired value for the number that judging result is inaccuracy as correction value;
Step 4:Correction value is sent to mobile terminal, mobile terminal when carrying out location Calculation next time, can location Calculation most
The correction value is added on termination fruit, regenerates positioning result.
A kind of localization method based on the radio-frequency location system for having learning ability described in one of Claims 1-4,
It is characterized in that, the localization method of the radio-frequency location system includes the following steps:
Step 1:System initialization, the radiofrequency signal between reader and label realize contactless information by Space Coupling
It transmits;
Step 2:Reader identifies that collision algorithm acquisition reception signal is strong by the wireless communication with label, by multi-tag
Indicated value is spent, i.e.,:RSSI value;
Step 3:The coordinate value of oneself for obtaining reader, gateway is transferred to by the coordinate value got and RSSI value;
Step 4:After gateway receives these data informations, data information is sent to mobile terminal;
Step 5:Positioning result is calculated using location algorithm in mobile terminal, and positioning result is shown.
The multi-tag identification collision algorithm includes the following steps:
Step 1:If contention timeslot number is T;In contention, obtained by tag serial number divided by T
Remainder determines sending time slots of the label in contention data frame;
Step 2:Then the transmission of label corresponding time slot in contention frame is determined using the quotient obtained by tag serial number divided by T
The corresponding time slot of position, the contention data frame then sent in contention sends position filling data " 1 ";
Step 3:Finally determine that transmission of the label in entire data transmitting period is suitable using the contention data frame filled
Sequence;Transmission sequence is:It sends position and the front respectively sends in position the sum of " 1 ", to the label to different sequence numbers
Distribute different transmission timings.
The location algorithm includes the following steps:
Step 1:Determination receives signal strength and signal transmission distance relationship is:
RSSI=- (A+10nlog10D)-EAF;Wherein RSSI is received signal strength, and D is to send out the distance between node in week,
N is signal propagation factor;EAF is environmental factor;
Step 2:If three positions of reader are:p1(x1,y1)、p2(x2,y2)、p1(x3,y3) calculated using following formula
Go out the coordinate calculation formula of label to be positioned:
Step 3:The coordinate position of outgoing label is:
A kind of intelligent vehicle air bag system and control method are provided in the embodiment of the present invention 3, system structure is such as
Shown in Fig. 1:
A kind of radio-frequency location system having learning ability, which is characterized in that the system comprises:Label node, coordinate
Reader, gateway node, mobile terminal and high in the clouds;The label node includes label controller and Tag Radio Frequency transceiver module;
The reader includes:Read-write storage computing module, read-write controller and read-write radio transceiver module;The gateway node packet
It includes:Communication interface, microprocessor and gateway radio transceiver module;The high in the clouds includes:High in the clouds analysis processor, high in the clouds data
Library and high in the clouds data transmission module;The mobile terminal includes:Mobile terminal data transmission module, processor and operation interface;
The read-write storage computing module signal is connected to read-write controller;The read-write controller signal is connected to read-write
Radio transceiver module;The read-write radio transceiver module is connected separately to be penetrated in gateway radio transceiver module and label
Frequency transceiver module;The Tag Radio Frequency transceiver module signal is connected to label controller;The gateway RF transceiver mould
Block signal is connected to microprocessor;The microprocessor signals are connected to communication interface;The communication interface signal is connected to shifting
Moved end data transmission module;The mobile terminal data transmission module is connected separately in processor and high in the clouds data transmission mould
Block;The processor signal is connected to operation interface;The high in the clouds data transmission module signal is connected to cloud database;It is described
Cloud database signal is connected to high in the clouds analysis processor.
The label controller uses Harvard bus structures, data/address bus and instruction bus is detached, it can be achieved that complete
The single byte of portion's instruction and monocycle;The read-write controller also uses Harvard bus structures, by data/address bus and instruction
Bus is detached single byte and monocycle, it can be achieved that all instructions;The Tag Radio Frequency transceiver module, read-write are penetrated
Frequency transceiver module and gateway radio transceiver module are by the highly configurable modulatedemodulate integrated on main control chip and chip
Adjust device composition.
The mobile terminal data transmission module is passed for connecting the data between mobile terminal and gateway, mobile terminal and high in the clouds
It is defeated;The processor is used to carry out analyzing processing according to the data information received, and analysis and processing result is sent to operation circle
Face;The operation interface judges whether positioning result is accurate, and can input positioning result and standard for showing positioning result
Actual difference between true result, will determine that result and difference are sent to high in the clouds through mobile data transfer module.
The high in the clouds data transmission module, the data transmission for being connected between mobile terminal and high in the clouds;The high in the clouds data
Library, for storing the judging result and difference that are sended over from mobile terminal;The high in the clouds analysis processor, for specified
In cycle time, analyzing processing is carried out to these judging results and difference, and a correction algorithm is generated according to analysis result, it will
Correction algorithm is sent to mobile terminal;The detailed process that the correction algorithm generates includes the following steps:
Step 1:Calculate the desired value of the difference received in the specified period;
Step 2:Count the desired value that the judging result within the formulation period is inaccurate number;
Step 3:The desired value of difference is multiplied by the desired value for the number that judging result is inaccuracy as correction value;
Step 4:Correction value is sent to mobile terminal, mobile terminal when carrying out location Calculation next time, can location Calculation most
The correction value is added on termination fruit, regenerates positioning result.
A kind of localization method based on the radio-frequency location system for having learning ability described in one of Claims 1-4,
It is characterized in that, the localization method of the radio-frequency location system includes the following steps:
Step 1:System initialization, the radiofrequency signal between reader and label realize contactless information by Space Coupling
It transmits;
Step 2:Reader identifies that collision algorithm acquisition reception signal is strong by the wireless communication with label, by multi-tag
Indicated value is spent, i.e.,:RSSI value;
Step 3:The coordinate value of oneself for obtaining reader, gateway is transferred to by the coordinate value got and RSSI value;
Step 4:After gateway receives these data informations, data information is sent to mobile terminal;
Step 5:Positioning result is calculated using location algorithm in mobile terminal, and positioning result is shown.
The multi-tag identification collision algorithm includes the following steps:
Step 1:If contention timeslot number is T;In contention, obtained by tag serial number divided by T
Remainder determines sending time slots of the label in contention data frame;
Step 2:Then the transmission of label corresponding time slot in contention frame is determined using the quotient obtained by tag serial number divided by T
The corresponding time slot of position, the contention data frame then sent in contention sends position filling data " 1 ";
Step 3:Finally determine that transmission of the label in entire data transmitting period is suitable using the contention data frame filled
Sequence;Transmission sequence is:It sends position and the front respectively sends in position the sum of " 1 ", to the label to different sequence numbers
Distribute different transmission timings.
The location algorithm includes the following steps:
Step 1:Determination receives signal strength and signal transmission distance relationship is:
RSSI=- (A+10nlog10D)-EAF;Wherein RSSI is received signal strength, and D is to send out the distance between node in week,
N is signal propagation factor;EAF is environmental factor;
Step 2:If three positions of reader are:p1(x1,y1)、p2(x2,y2)、p1(x3,y3) calculated using following formula
Go out the coordinate calculation formula of label to be positioned:
Step 3:The coordinate position of outgoing label is:
The error of positioning result and location determination result each time are recorded by high in the clouds.It is carried out in another period of fixing time
Big data analysis, the desired value of the expectation and judging result that obtain difference obtain correction value after being handled.This correction value can
It is that positioning each time carries out precision calibration to be supplied to mobile terminal.
Multi-tag identification collision algorithm is used, which, which has the sort algorithm of timeslot number operation based on sequence number, calculates
The features such as method is easily achieved, fast response time, high execution efficiency, is one kind of time-division multiplexing method.In addition, by specifically fixed
The position of positioning can be simply calculated in position algorithm.
It is also higher that not only at low cost but also precision is positioned using radio frequency.Comparatively cost performance is the most reasonable, and with very
Strong feasibility and practicability.
The invention is not limited in specific implementation modes above-mentioned.The present invention, which expands to, any in the present specification to be disclosed
New feature or any new combination, and disclose any new method or process the step of or any new combination.