CN105590456B - A kind of earth magnetism threshold adjustment methods and system - Google Patents

A kind of earth magnetism threshold adjustment methods and system Download PDF

Info

Publication number
CN105590456B
CN105590456B CN201610111209.4A CN201610111209A CN105590456B CN 105590456 B CN105590456 B CN 105590456B CN 201610111209 A CN201610111209 A CN 201610111209A CN 105590456 B CN105590456 B CN 105590456B
Authority
CN
China
Prior art keywords
geomagnetic
error
earth magnetism
data
geomagnetic sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610111209.4A
Other languages
Chinese (zh)
Other versions
CN105590456A (en
Inventor
安小强
李娜
冯圣中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201610111209.4A priority Critical patent/CN105590456B/en
Publication of CN105590456A publication Critical patent/CN105590456A/en
Application granted granted Critical
Publication of CN105590456B publication Critical patent/CN105590456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/042Detecting movement of traffic to be counted or controlled using inductive or magnetic detectors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The present invention relates to a kind of earth magnetism threshold adjustment methods and system.Methods described includes:Step a:The geomagnetic data of corresponding test point is gathered by geomagnetic sensor, and geomagnetic data is forwarded to by geomagnetism detecting system by repeater;Step b:The geomagnetic data of repeater feeding is read by geomagnetism detecting system, the equipment state of geomagnetic sensor according to corresponding to original geomagnetic data judges the geomagnetic data, and will determine that the equipment state for the geomagnetic sensor that result returns with hardware logic judging unit is contrasted;Step c:Geomagnetic data is added in the nearest processing queue of corresponding test point, calculate the error of processing queue recently, and judge whether the error of processing queue recently is more than acceptable error set in advance, if the error of processing queue recently is more than acceptable error set in advance, earth magnetism threshold value corresponding to the geomagnetic sensor is recalculated.The present invention improves the recognition accuracy of geomagnetic sensor state, and eliminates the hysteresis quality of earth magnetism adjusting thresholds.

Description

A kind of earth magnetism threshold adjustment methods and system
Technical field
The invention belongs to earth magnetism thresholding-techniques field, more particularly to a kind of earth magnetism threshold adjustment methods and system.
Background technology
Earth magnetism wagon detector is mounted in the sensor of road surface, monitoring specifically for vehicle flow and speed, Control traffic signals conversion and traffic offence monitoring record.Earth magnetism wagon detector is a kind of vehicle dynamic of monitoring in real time, is implemented The infrastructure of intelligent traffic management.Data collecting system plays very important effect, earth magnetism in traffic surveillance and control system Sensor is the key component of data collecting system, and the performance of sensor plays a decisive role to the accuracy of data collecting system. Earth magnetism receiver (trunking) is primarily used to coordinate with earth magnetism terminal, completes the reception and processing of data.
In the prior art, geomagnetism detecting system tends not to timely and effectively adjust earth magnetism according to environmental condition change in time Threshold model, recognition accuracy are limited.(heavy truck is carried out such as around equipment temporarily) in the case where environmental change is big Error rate is higher, limits existing geomagnetism detecting systematic difference scope.
The content of the invention
The invention provides a kind of earth magnetism threshold adjustment methods and system, it is intended at least solves existing skill to a certain extent Above mentioned problem in art.
Implementation of the present invention is as follows, a kind of earth magnetism threshold adjustment methods, comprises the following steps:
Step a:The geomagnetic data of corresponding test point is gathered by geomagnetic sensor, and is turned geomagnetic data by repeater It is sent to geomagnetism detecting system;
Step b:The geomagnetic data of repeater feeding is read by geomagnetism detecting system, judging according to original geomagnetic data should The equipment state of geomagnetic sensor corresponding to geomagnetic data, and will determine that result passes with the earth magnetism that hardware logic judging unit returns The equipment state of sensor is contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as can Adjustment state;
Step c:Geomagnetic data is added in the nearest processing queue of corresponding test point, calculate the mistake of processing queue recently Difference, and judge whether the error of processing queue recently is more than acceptable error set in advance, if the mistake of the queue of processing recently Difference is more than acceptable error set in advance, and the geomagnetic sensor is recalculated according to the earth magnetism threshold value being calculated for the last time Corresponding earth magnetism threshold value.
The technical scheme that the embodiment of the present invention is taken also includes:Also include before the step a:Configure geomagnetism detecting system Systematic parameter;The configuration systematic parameter includes maximum relative error, minimum deflection Dl, maximum deviation Du, a, b, c, k, m and n, Adjusting thresholds model is as follows:
Dl<G(x,y,z)<Du
In above-mentioned formula, G (x, y, z)=kxa+myb+nzc, a is greater than the real number equal to 0, and b is greater than the reality equal to 0 Number, c are greater than the real number equal to 0, and k is greater than the natural number equal to 1, and m is greater than the natural number equal to 1, and n is greater than being equal to 1 Natural number, x, y, z be ground geomagnetic data.
The technical scheme that the embodiment of the present invention is taken also includes:Also include before the step a:Connect earth magnetism sensing front end system The geomagnetic sensor and repeater of system, it is ensured that the geomagnetic data collected effectively can be delivered to ground by earth magnetism sensing front end system Magnetic detection system.
The technical scheme that the embodiment of the present invention is taken also includes:In the step b, during the geomagnetism detecting system is read After the geomagnetic data that device is sent into, the equipment state tool of geomagnetic sensor according to corresponding to original geomagnetic data judges the geomagnetic data Body includes:For each test point, geomagnetism detecting system receives the 5 tuple geomagnetic datas that its corresponding geomagnetic sensor returns, Initial decision function G (x, y, z) is built first, as the input of geomagnetic data judges whether the adjusting thresholds model is set up, If adjusting thresholds model set up, the geomagnetic sensor state for meeting adjusting thresholds model is designated as it is occupied, if threshold value adjust Integral mould is invalid, and the geomagnetic sensor state for not meeting adjusting thresholds model is designated as into the free time.
The technical scheme that the embodiment of the present invention is taken also includes:The step c also includes:It is nearest when there is geomagnetic data to add When handling queue, whether the equipment state for judging geomagnetic sensor corresponding to the geomagnetic data is adjustable state, if not Adjustable state, judges whether processing queue recently reaches predetermined length;If adjustable state, then processing team recently is calculated The error of row.
The technical scheme that the embodiment of the present invention is taken also includes:The step c also includes:Whether judge processing queue recently Reach predetermined length, if being not reaching to predetermined length, continue to read the geomagnetic data that repeater is sent into;If reach pre- fixed length Degree, then calculate the error of processing queue recently.
Another technical scheme that the embodiment of the present invention is taken is:Before a kind of earth magnetism adjusting thresholds system, including earth magnetism sensing End system and geomagnetism detecting system, earth magnetism sensing front end system include geomagnetic sensor, hardware logic judging unit and in After device, geomagnetic sensor and hardware logic judging unit are connected with repeater signal respectively, and repeater connects with geomagnetism detecting system Connect;
The geomagnetic sensor is used for the geomagnetic data for gathering corresponding test point;
The hardware logic judging unit is used for the equipment state for judging geomagnetic sensor;
The data that the repeater is used between geomagnetic sensor and hardware logic judging unit and geomagnetism detecting system connect Receive and forward;
The geomagnetism detecting system is used for the geomagnetic data for reading repeater feeding, judges the ground according to original geomagnetic data The equipment state of geomagnetic sensor corresponding to magnetic data, and will determine that result senses with the earth magnetism that hardware logic judging unit returns The equipment state of device is contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as adjustable Whole state;And add geomagnetic data in the nearest processing queue of corresponding test point, the error of processing queue recently is calculated, is judged Whether the error of processing queue recently is more than acceptable error set in advance, if the error of processing queue recently is more than advance The acceptable error of setting, the earth magnetism according to corresponding to the earth magnetism threshold value being calculated for the last time recalculates the geomagnetic sensor Threshold value.
The technical scheme that the embodiment of the present invention is taken also includes:The geomagnetism detecting system also include parameter configuration module, Data read module, the first judge module, the second judge module, error calculating module and threshold calculation module;
The parameter configuration module is used for the systematic parameter for configuring geomagnetism detecting system;
The data read module is used for the geomagnetic data for reading repeater feeding, judges the ground according to original geomagnetic data The equipment state of geomagnetic sensor corresponding to magnetic data, and will determine that result senses with the earth magnetism that hardware logic judging unit returns The equipment state of device is contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as adjustable Whole state;
First judge module is used to add geomagnetic data in the nearest processing queue of corresponding test point, and judges to be somebody's turn to do Whether the equipment state of geomagnetic sensor corresponding to geomagnetic data is adjustable state, if not adjustable state, passes through Two judge modules judge whether processing queue recently reaches predetermined length, if adjustable state, pass through error calculating module Calculate the error of processing queue recently;
Second judge module is used to judge to handle whether queue reaches predetermined length recently, if be not reaching to predetermined Length, then data read module continue read repeater be sent into geomagnetic data;If reaching predetermined length, pass through error calculation Module calculates the error of processing queue recently;
The error calculating module is used to calculate the error of processing queue recently, and the error of judgement processing queue recently is It is no to be more than acceptable error set in advance, if the error of processing queue recently is not more than acceptable error set in advance, Judged result is then exported to next stage system;If the error of processing queue recently is more than acceptable error set in advance, lead to Cross threshold calculation module and recalculate earth magnetism threshold value;
The threshold calculation module is used to recalculate earth magnetism sensing according to the earth magnetism threshold value being calculated for the last time Earth magnetism threshold value corresponding to device, untill error is less than maximum acceptable error.
The technical scheme that the embodiment of the present invention is taken also includes:The configuration systematic parameter includes maximum relative error, most Little deviation Dl, maximum deviation Du, a, b, c, k, m and n, adjusting thresholds model are as follows:
Dl<G(x,y,z)<Du
In above-mentioned formula, G (x, y, z)=kxa+myb+nzc, a is greater than the real number equal to 0, and b is greater than the reality equal to 0 Number, c are greater than the real number equal to 0, and k is greater than the natural number equal to 1, and m is greater than the natural number equal to 1, and n is greater than being equal to 1 Natural number, x, y, z be ground geomagnetic data.
The technical scheme that the embodiment of the present invention is taken also includes:The data read module reads the earth magnetism that repeater is sent into Data, the equipment state of geomagnetic sensor specifically includes according to corresponding to original geomagnetic data judges the geomagnetic data:For every One test point, geomagnetism detecting system receive the 5 tuple geomagnetic datas that its corresponding geomagnetic sensor returns, and structure first is initially sentenced Disconnected function G (x, y, z), as the input of geomagnetic data judges whether the adjusting thresholds model is set up, if adjusting thresholds mould Type set up, the geomagnetic sensor state for meeting adjusting thresholds model is designated as it is occupied, if adjusting thresholds model is invalid, will The geomagnetic sensor state for not meeting adjusting thresholds model is designated as the free time.
The earth magnetism threshold adjustment methods and system of the embodiment of the present invention read what repeater was sent into by geomagnetism detecting system Geomagnetic data, the equipment state of geomagnetic sensor according to corresponding to original geomagnetic data judges the geomagnetic data, and will judge to tie The equipment state for the geomagnetic sensor that fruit returns with hardware logic judging unit is contrasted, and improves geomagnetic sensor state Recognition accuracy;And based on existing adaptive adjustment model, it is possible to achieve the quick adjustment of earth magnetism threshold value, eliminate earth magnetism threshold It is worth the hysteresis quality of adjustment.
Brief description of the drawings
Fig. 1 is the flow chart of the earth magnetism threshold adjustment methods of the embodiment of the present invention;
Fig. 2 is the structural representation of the earth magnetism threshold adjustment methods of the embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Referring to Fig. 1, it is the flow chart of the earth magnetism threshold adjustment methods of the embodiment of the present invention.The earth magnetism of the embodiment of the present invention Threshold adjustment methods comprise the following steps:
Step 100:Configure the systematic parameter of geomagnetism detecting system;
In step 100, systematic parameter can obtain from objects outside, can also be read from XML configuration files, read The parameter arrived is as system primary condition;Configure systematic parameter include maximum relative error, minimum deflection Dl, maximum deviation Du, A, b, c, k, m and n, adjusting thresholds model are as follows:
Dl<G(x,y,z)<Du (1)
In formula (1), G (x, y, z)=kxa+myb+nzc, a is greater than the real number equal to 0, and b is greater than the reality equal to 0 Number, c are greater than the real number equal to 0, and k is greater than the natural number equal to 1, and m is greater than the natural number equal to 1, and n is greater than being equal to 1 Natural number, x, y, z be ground geomagnetic data.
Step 200:Connect the geomagnetic sensor and repeater of earth magnetism sensing front end system, it is ensured that earth magnetism senses front end system The geomagnetic data collected can be effectively delivered to geomagnetism detecting system;
In step 200, earth magnetism sensing front end system includes geomagnetic sensor, repeater and hardware logic judging unit It is used for the geomagnetic data for gathering corresponding test point Deng, geomagnetic sensor, hardware logic judging unit is used to judge geomagnetic sensor Equipment state (such as taken or available), repeater is used for geomagnetic sensor and hardware logic judging unit and ground Data receiver and forwarding between magnetic detection system.
Step 300:The geomagnetic data of corresponding test point is gathered by geomagnetic sensor, by the geomagnetic data of collection transmit to Repeater, and geomagnetic data is forwarded to by geomagnetism detecting system by repeater;
Step 400:The geomagnetic data of repeater feeding is read by geomagnetism detecting system, is judged according to original geomagnetic data The equipment state of geomagnetic sensor corresponding to the geomagnetic data, and will determine that the earth magnetism that result returns with hardware logic judging unit The equipment state of sensor is contrasted, if two equipment states misfit, performs step 500;If two equipment states It coincide, performs step 600;
In step 400, for each test point, geomagnetism detecting system receives 5 that its corresponding geomagnetic sensor returns Tuple geomagnetic data (magn_x, magn_y, magn_z, physic_state, timestamp), initial decision letter is built first Number G (x, y, z), as the input of geomagnetic data judges whether above-mentioned formula (1) is set up, if formula (1) is set up, public affairs will be met The geomagnetic sensor state of formula (1) is designated as occupied (taken), if formula (1) is invalid, will not meet the ground of formula (1) Magnetic Sensor state is designated as idle (available).
Step 500:The equipment state of the geomagnetic sensor is considered as adjustable state;
Step 600:Geomagnetic data is added in the nearest processing queue of corresponding test point, and judge that the geomagnetic data is corresponding The equipment state of geomagnetic sensor whether be adjustable state, if not adjustable state, perform step 700, if Adjustable state, perform step 800;
In step 600, geomagnetism detecting system establishes one upon actuation, to test point corresponding to each geomagnetic sensor Processing queue (last recent processed queue, LRP queue) recently, queue is handled recently and preserves current earth magnetism The geomagnetic data that sensor treats recently, queue is handled recently and keeps constant size, is joined the team out team according to first-in first-out rule, When being joined the team the geomagnetic data for having adjustable state, the error of a current queue is calculated, after queue reaches predetermined length, The calculation error when each geomagnetic data goes out group, if error is more than acceptable error set in advance, according to last time The earth magnetism threshold value being calculated is readjusted, and untill reaching receptive phase, after geomagnetic data goes out team, is output to down Level system is handled.
Step 700:Judge whether processing queue recently reaches predetermined length, if being not reaching to predetermined length, continue to hold Row step 400;If reaching predetermined length, step 800 is performed;
In step 700, the predetermined length of the queue of processing recently refers to handle preservable earth magnetism in queue recently The quantity of data, in embodiments of the present invention, queue with can preserving treated recently 5 groups of respective sensor magnetic number is handled recently According to specific queue length can also be set or be adjusted according to practical application.
Step 800:The error of processing queue recently is calculated, and judges whether the error of processing queue recently is more than and sets in advance Fixed acceptable error, if the error of processing queue recently is not more than acceptable error set in advance, perform step 900; If the error of processing queue recently is more than acceptable error set in advance, step 1000 is performed;
Step 900:Judged result is exported to next stage system;
Step 1000:Earth magnetism threshold value according to being calculated for the last time recalculate the geomagnetic sensor corresponding to earth magnetism Threshold value, untill error is less than maximum acceptable error.
In step 1000, the calculation for calculating earth magnetism threshold value is prior art, and the present invention will not be described in great detail.
Referring to Fig. 2, it is the structural representation of the earth magnetism adjusting thresholds system of the embodiment of the present invention.The embodiment of the present invention Earth magnetism adjusting thresholds system includes earth magnetism sensing front end system and geomagnetism detecting system, and earth magnetism senses front end system and passed including earth magnetism Sensor, hardware logic judging unit and repeater, geomagnetic sensor and hardware logic judging unit connect with repeater signal respectively Connect, repeater is connected with geomagnetism detecting system;Specifically:
Geomagnetic sensor is used for the geomagnetic data for gathering corresponding test point;
Hardware logic judging unit is used for the equipment state for judging geomagnetic sensor;
Repeater be used for data receiver between geomagnetic sensor and hardware logic judging unit and geomagnetism detecting system and Forwarding;
Geomagnetism detecting system include parameter configuration module, data read module, the first judge module, the second judge module, Error calculating module and threshold calculation module;
Parameter configuration module is used for the systematic parameter for configuring geomagnetism detecting system;Wherein, systematic parameter can be from outer bound pair As obtaining, can also be read from XML configuration file, the parameter read is as system primary condition;Configuration systematic parameter includes Maximum relative error, minimum deflection Dl, maximum deviation Du, a, b, c, k, m and n, adjusting thresholds model are as follows:
Dl<G(x,y,z)<Du (1)
In formula (1), G (x, y, z)=kxa+myb+nzc, a is greater than the real number equal to 0, and b is greater than the reality equal to 0 Number, c are greater than the real number equal to 0, and k is greater than the natural number equal to 1, and m is greater than the natural number equal to 1, and n is greater than being equal to 1 Natural number, x, y, z be ground geomagnetic data.
Data read module is used for the geomagnetic data for reading repeater feeding, judges the ground magnetic number according to original geomagnetic data According to the equipment state of corresponding geomagnetic sensor, and it will determine that the geomagnetic sensor that result returns with hardware logic judging unit Equipment state is contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as into adjustable shape State;Wherein, for each test point, geomagnetism detecting system receives the 5 tuple geomagnetic datas that its corresponding geomagnetic sensor returns (magn_x, magn_y, magn_z, physic_state, timestamp), initial decision function G (x, y, z) is built first, As the input of geomagnetic data judges whether above-mentioned formula (1) is set up, if formula (1) is set up, by the ground of coincidence formula (1) Magnetic Sensor state is designated as occupied (taken), if formula (1) is invalid, will not meet the geomagnetic sensor shape of formula (1) State is designated as idle (available).
First judge module is used to add geomagnetic data in the nearest processing queue of corresponding test point, and judges the earth magnetism Whether the equipment state of geomagnetic sensor corresponding to data is adjustable state, if not adjustable state, is sentenced by second Disconnected module judges whether processing queue recently reaches predetermined length, if adjustable state, is calculated by error calculating module The error of processing queue recently;Wherein, geomagnetism detecting system upon actuation, is established to test point corresponding to each geomagnetic sensor One processing queue recently, queue is handled recently and preserves the geomagnetic data that current geomagnetic sensor treats recently, recently processing Queue keeps constant size, is joined the team out team according to first-in first-out rule, when being joined the team the geomagnetic data for having adjustable state, meter The error of a current queue is calculated, after queue reaches predetermined length, the calculation error when each geomagnetic data goes out group, if by mistake Difference is more than acceptable error set in advance, then the earth magnetism threshold value being calculated according to last time is readjusted, until reaching Untill receptive phase, after geomagnetic data goes out team, it is output to next stage system and is handled.
Second judge module is used to judge to handle whether queue reaches predetermined length recently, if being not reaching to pre- fixed length Spend, then data read module continues to read the geomagnetic data that repeater is sent into;If reaching predetermined length, pass through error calculation mould Block calculates the error of processing queue recently;Wherein, refer to handle recently can in queue for the predetermined length of the queue of processing recently The quantity of the geomagnetic data of preservation, in embodiments of the present invention, processing queue recently can preserve respective sensor and treat recently 5 groups of geomagnetic datas, specific queue length can also be set or be adjusted according to practical application.
Error calculating module is used to calculate the error of processing queue recently, and judges whether the error of processing queue recently is big It is defeated if the error of processing queue recently is not more than acceptable error set in advance in acceptable error set in advance Go out judged result to next stage system;If the error of processing queue recently is more than acceptable error set in advance, pass through threshold Value computing module recalculates earth magnetism threshold value;
Threshold calculation module is used to recalculate the geomagnetic sensor pair according to the earth magnetism threshold value being calculated for the last time The earth magnetism threshold value answered, untill error is less than maximum acceptable error.
The earth magnetism threshold adjustment methods and system of the embodiment of the present invention read what repeater was sent into by geomagnetism detecting system Geomagnetic data, the equipment state of geomagnetic sensor according to corresponding to original geomagnetic data judges the geomagnetic data, and will judge to tie The equipment state for the geomagnetic sensor that fruit returns with hardware logic judging unit is contrasted, and improves geomagnetic sensor state Recognition accuracy;And based on existing adaptive adjustment model, it is possible to achieve the quick adjustment of earth magnetism threshold value, eliminate earth magnetism threshold It is worth the hysteresis quality of adjustment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of earth magnetism threshold adjustment methods, comprise the following steps:
Step a:The geomagnetic data of corresponding test point is gathered by geomagnetic sensor, and is forwarded to geomagnetic data by repeater Geomagnetism detecting system;
Step b:The geomagnetic data of repeater feeding is read by geomagnetism detecting system, the earth magnetism is judged according to original geomagnetic data The equipment state of geomagnetic sensor corresponding to data, and will determine that the geomagnetic sensor that result returns with hardware logic judging unit Equipment state contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as adjustable State;
Step c:Geomagnetic data is added in the nearest processing queue of corresponding test point, calculate the error of processing queue recently, and Judge whether the error of processing queue recently is more than acceptable error set in advance, if the error of the queue of processing recently is more than Acceptable error set in advance, according to corresponding to the earth magnetism threshold value being calculated for the last time recalculates the geomagnetic sensor Earth magnetism threshold value.
2. earth magnetism threshold adjustment methods according to claim 1, it is characterised in that also include before the step a:Configuration ground The systematic parameter of magnetic detection system;It is described configuration systematic parameter include maximum relative error, minimum deflection Dl, maximum deviation Du, A, b, c, k, m and n, adjusting thresholds model are as follows:
Dl<G(x,y,z)<Du
In above-mentioned formula, G (x, y, z)=kxa+myb+nzc, a is greater than the real number equal to 0, and b is greater than the real number equal to 0, c Be greater than the real number equal to 0, k is greater than the natural number equal to 1, and m is greater than the natural number equal to 1, n be greater than equal to 1 from So number, x, y, z is geomagnetic data.
3. earth magnetism threshold adjustment methods according to claim 2, it is characterised in that also include before the step a:Connection ground Magnetic senses the geomagnetic sensor and repeater of front end system, it is ensured that the geomagnetic data that earth magnetism sensing front end system will can collect Effectively it is delivered to geomagnetism detecting system.
4. earth magnetism threshold adjustment methods according to claim 3, it is characterised in that in the step b, the earth magnetism inspection Examining system reads the geomagnetic data that repeater is sent into, the geomagnetic sensor according to corresponding to original geomagnetic data judges the geomagnetic data Equipment state specifically include:For each test point, geomagnetism detecting system receives 5 yuan that its corresponding geomagnetic sensor returns Group geomagnetic data, builds initial decision function G (x, y, z), as the input of geomagnetic data judges the adjusting thresholds mould first Whether type is set up, if adjusting thresholds model set up, the geomagnetic sensor state for meeting adjusting thresholds model is designated as it is occupied, If adjusting thresholds model is invalid, the geomagnetic sensor state for not meeting adjusting thresholds model is designated as the free time.
5. earth magnetism threshold adjustment methods according to claim 4, it is characterised in that the step c also includes:When there is earth magnetism When data add processing queue recently, whether the equipment state for judging geomagnetic sensor corresponding to the geomagnetic data is adjustable shape State, if not adjustable state, judge whether processing queue recently reaches predetermined length;If adjustable state, then count Calculate the error of processing queue recently.
6. earth magnetism threshold adjustment methods according to claim 5, it is characterised in that the step c also includes:Judge nearest Whether processing queue reaches predetermined length, if being not reaching to predetermined length, continues to read the geomagnetic data that repeater is sent into;Such as Fruit reaches predetermined length, then calculates the error of processing queue recently.
A kind of 7. earth magnetism adjusting thresholds system, it is characterised in that front end system and geomagnetism detecting system are sensed including earth magnetism, it is described Earth magnetism sensing front end system includes geomagnetic sensor, hardware logic judging unit and repeater, geomagnetic sensor and hardware logic Judging unit is connected with repeater signal respectively, and repeater is connected with geomagnetism detecting system;
The geomagnetic sensor is used for the geomagnetic data for gathering corresponding test point;
The hardware logic judging unit is used for the equipment state for judging geomagnetic sensor;
The repeater be used for data receiver between geomagnetic sensor and hardware logic judging unit and geomagnetism detecting system and Forwarding;
The geomagnetism detecting system is used for the geomagnetic data for reading repeater feeding, judges the ground magnetic number according to original geomagnetic data According to the equipment state of corresponding geomagnetic sensor, and it will determine that the geomagnetic sensor that result returns with hardware logic judging unit Equipment state is contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as into adjustable shape State;And add geomagnetic data in the nearest processing queue of corresponding test point, the error of processing queue recently is calculated, is judged nearest Whether the error of processing queue is more than acceptable error set in advance, is preset if the error of processing queue recently is more than Acceptable error, the earth magnetism threshold according to corresponding to the earth magnetism threshold value being calculated for the last time recalculates the geomagnetic sensor Value.
8. earth magnetism adjusting thresholds system according to claim 7, it is characterised in that the geomagnetism detecting system also includes ginseng Number configuration module, data read module, the first judge module, the second judge module, error calculating module and threshold calculation module;
The parameter configuration module is used for the systematic parameter for configuring geomagnetism detecting system;
The data read module is used for the geomagnetic data for reading repeater feeding, judges the ground magnetic number according to original geomagnetic data According to the equipment state of corresponding geomagnetic sensor, and it will determine that the geomagnetic sensor that result returns with hardware logic judging unit Equipment state is contrasted, if two equipment states misfit, the equipment state of the geomagnetic sensor is considered as into adjustable shape State;
First judge module is used to add geomagnetic data in the nearest processing queue of corresponding test point, and judges the earth magnetism Whether the equipment state of geomagnetic sensor corresponding to data is adjustable state, if not adjustable state, is sentenced by second Disconnected module judges whether processing queue recently reaches predetermined length, if adjustable state, is calculated by error calculating module The error of processing queue recently;
Second judge module is used to judge to handle whether queue reaches predetermined length recently, if being not reaching to pre- fixed length Spend, then data read module continues to read the geomagnetic data that repeater is sent into;If reaching predetermined length, pass through error calculation mould Block calculates the error of processing queue recently;
The error calculating module is used to calculate the error of processing queue recently, and judges whether the error of processing queue recently is big It is defeated if the error of processing queue recently is not more than acceptable error set in advance in acceptable error set in advance Go out judged result to next stage system;If the error of processing queue recently is more than acceptable error set in advance, pass through threshold Value computing module recalculates earth magnetism threshold value;
The threshold calculation module is used to recalculate the geomagnetic sensor pair according to the earth magnetism threshold value being calculated for the last time The earth magnetism threshold value answered, untill error is less than maximum acceptable error.
9. earth magnetism adjusting thresholds system according to claim 8, it is characterised in that the configuration systematic parameter includes maximum Relative error, minimum deflection Dl, maximum deviation Du, a, b, c, k, m and n, adjusting thresholds model are as follows:
Dl<G(x,y,z)<Du
In above-mentioned formula, G (x, y, z)=kxa+myb+nzc, a is greater than the real number equal to 0, and b is greater than the real number equal to 0, c Be greater than the real number equal to 0, k is greater than the natural number equal to 1, and m is greater than the natural number equal to 1, n be greater than equal to 1 from So number, x, y, z is geomagnetic data.
10. earth magnetism adjusting thresholds system according to claim 9, it is characterised in that during the data read module is read After the geomagnetic data that device is sent into, the equipment state tool of geomagnetic sensor according to corresponding to original geomagnetic data judges the geomagnetic data Body includes:For each test point, geomagnetism detecting system receives the 5 tuple geomagnetic datas that its corresponding geomagnetic sensor returns, Initial decision function G (x, y, z) is built first, as the input of geomagnetic data judges whether the adjusting thresholds model is set up, If adjusting thresholds model set up, the geomagnetic sensor state for meeting adjusting thresholds model is designated as it is occupied, if threshold value adjust Integral mould is invalid, and the geomagnetic sensor state for not meeting adjusting thresholds model is designated as into the free time.
CN201610111209.4A 2016-03-01 2016-03-01 A kind of earth magnetism threshold adjustment methods and system Active CN105590456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610111209.4A CN105590456B (en) 2016-03-01 2016-03-01 A kind of earth magnetism threshold adjustment methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610111209.4A CN105590456B (en) 2016-03-01 2016-03-01 A kind of earth magnetism threshold adjustment methods and system

Publications (2)

Publication Number Publication Date
CN105590456A CN105590456A (en) 2016-05-18
CN105590456B true CN105590456B (en) 2017-12-05

Family

ID=55930005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610111209.4A Active CN105590456B (en) 2016-03-01 2016-03-01 A kind of earth magnetism threshold adjustment methods and system

Country Status (1)

Country Link
CN (1) CN105590456B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107067750B (en) * 2017-06-12 2019-12-13 四川辉通云联数据科技有限公司 geomagnetic vehicle detector adjusting method and device
CN112767712A (en) * 2019-11-04 2021-05-07 深圳长城开发科技股份有限公司 Method, system and storage medium for geomagnetic sensor to detect fast passing vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807350A (en) * 2010-03-24 2010-08-18 天津信电科技发展有限公司 Method for improving accuracy of geomagnetic parking stall detector
CN101915580A (en) * 2010-07-14 2010-12-15 中国科学院自动化研究所 Self-adaptation three-dimensional attitude positioning method based on microinertia and geomagnetic technology
CN102592471A (en) * 2011-01-14 2012-07-18 无锡国科微纳传感网科技有限公司 Method and device for carrying out parking spot detection by adopting geomagnetism signals
CN103117003A (en) * 2013-01-17 2013-05-22 杭州快泊信息技术有限公司 Self-calibration threshold self-adjusting parking space detection method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008122904A2 (en) * 2007-04-04 2008-10-16 Nxp B.V. Auto-calibration of orientation sensing system
CN201413563Y (en) * 2009-05-20 2010-02-24 于舒隆 Earthquake-sound, geomagnetic and earthquake motion anti-interference earthquake precaution device
CN103065498B (en) * 2012-12-24 2016-05-25 北京时代凌宇科技有限公司 Parking stall management method
CN103050021B (en) * 2012-12-25 2014-11-05 北京时代凌宇科技有限公司 Parking space detecting method and device
CN104105067B (en) * 2013-04-09 2017-10-20 广东美晨通讯有限公司 Real-time positioning system and method based on Geomagnetism Information
CN103632569B (en) * 2013-11-13 2016-11-23 雷振山 A kind of two-axis geomagnetic method for detecting parking stalls and device
CN104794933B (en) * 2015-05-04 2017-05-31 中设设计集团股份有限公司 A kind of method for improving accuracy of geomagnetic parking stall detector

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807350A (en) * 2010-03-24 2010-08-18 天津信电科技发展有限公司 Method for improving accuracy of geomagnetic parking stall detector
CN101915580A (en) * 2010-07-14 2010-12-15 中国科学院自动化研究所 Self-adaptation three-dimensional attitude positioning method based on microinertia and geomagnetic technology
CN102592471A (en) * 2011-01-14 2012-07-18 无锡国科微纳传感网科技有限公司 Method and device for carrying out parking spot detection by adopting geomagnetism signals
CN103117003A (en) * 2013-01-17 2013-05-22 杭州快泊信息技术有限公司 Self-calibration threshold self-adjusting parking space detection method

Also Published As

Publication number Publication date
CN105590456A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN103500322B (en) Automatic lane line identification method based on low latitude Aerial Images
WO2017041524A1 (en) Method and device for processing traffic road information
CN107209508A (en) Information processor and information processing method
CN102855757B (en) Identification method based on queuing detector information bottleneck state
CN105590456B (en) A kind of earth magnetism threshold adjustment methods and system
CN108197610A (en) A kind of track foreign matter detection system based on deep learning
CN205941678U (en) Power battery current detection device based on shunt
CN105206063B (en) A kind of transport information monitoring harvester and detection method based on GMI sensors
CN103969537B (en) Analog quantity, the transformer interference source test system and method for digital quantity mixing collection
CN114152837B (en) Wave head identification method and device under multi-scale wavelet transform
CN107038135A (en) A kind of serial port baud rate Adaptable System and method
CN111741471B (en) Intrusion detection method and device based on CSI and computer storage medium
CN109325409B (en) Passing vehicle fake plate inspection platform
CN105572492A (en) City rail train auxiliary inverter fault diagnosis device
CN107727660A (en) Rail surface defects detecting system and method based on machine vision and impulse eddy current
CN107516423A (en) A kind of vehicle heading detection method based on video
CN110187206B (en) Fault detection method for suspension system in non-Gaussian process under complex working condition
CN111292538A (en) Malicious user detection method based on residual mean value in vehicle cooperation dynamic tracking
CN110596734A (en) Multi-mode Q learning-based unmanned aerial vehicle positioning interference source system and method
CN206097466U (en) Multi -functional intelligent traffic flow monitoring system
CN207191045U (en) Vehicle collision avoidance system
CN107976993A (en) Acceleration pedal of electric automobile signal denoising and microwave treatment circuit
CN110417823A (en) A kind of communication network intrusion detection method based on embedded feature selecting framework
CN201185932Y (en) Medical million pixels image processing system
CN207117816U (en) A kind of image processing apparatus

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