CN102708695A - Road vehicle intelligent detection method based on HMC1022 magnetic sensor - Google Patents

Road vehicle intelligent detection method based on HMC1022 magnetic sensor Download PDF

Info

Publication number
CN102708695A
CN102708695A CN2012101774710A CN201210177471A CN102708695A CN 102708695 A CN102708695 A CN 102708695A CN 2012101774710 A CN2012101774710 A CN 2012101774710A CN 201210177471 A CN201210177471 A CN 201210177471A CN 102708695 A CN102708695 A CN 102708695A
Authority
CN
China
Prior art keywords
car
flag
num
counter
field intensity
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.)
Pending
Application number
CN2012101774710A
Other languages
Chinese (zh)
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.)
Xiamen University Tan Kah Kee College
Original Assignee
Xiamen University Tan Kah Kee College
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 Xiamen University Tan Kah Kee College filed Critical Xiamen University Tan Kah Kee College
Priority to CN2012101774710A priority Critical patent/CN102708695A/en
Publication of CN102708695A publication Critical patent/CN102708695A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a road vehicle intelligent detection method based on an HMC1022 magnetic sensor, which includes the following steps: calibrating the HMC1022 magnetic sensor, measuring the standard magnetic field intensity of the HMC1022 magnetic sensor (namely the magnetic field intensity when no vehicle passes by), and measuring the magnetic field intensity when vehicles pass by, amplifying the signal of the measured magnetic field intensity; selecting an appropriate threshold value to judge the signal so as to judge whether the vehicles pass by; and in order to avoid signal drift, resetting at fixed times through the way of programming so as to enable the HMC1022 magnetic sensor to be under normal working state. The method can precisely judge whether the vehicles pass by, and the detection precision is high and is free of the influence of the weather, so the method is easy to popularize. The road vehicle intelligent detection method is widely applicable for detection of the vehicles on roads and bridges and can greatly relieve the embarrassed situation of traffic congestion in cities, or the road vehicle intelligent detection method is applied in the management of a parking lot and can improve the working efficiency and realize intelligent management.

Description

Road vehicle intelligent detecting method based on HMC1022
Technical field
A kind of road vehicle intelligent detecting method based on HMC1022 of the main elaboration of this invention, this method can be widely used in the vehicle/vehicle Flow Detection of various occasions.
Background technology
Along with fast development of Chinese economy, it is crisscross that the road in city also becomes gradually, and conveniently traffic occupies extremely important position in people's life, and traffic safety problem is the most important thing.The Chinese city road is intricate, and the intersection is numerous, all directions driving vehicle and pedestrian all will crossing compile through, not only cause obstruction to traffic, and all kinds of traffic hazards take place easily.The crossing traffic hazard takes place frequently, and its main cause is the conflict point problem, causes owing to the signal lamp timing is unreasonable to a great extent.China's rapid economic development in recent years, private car are also more and more, but traffic control still continues original timing controlled, and on the basis that vehicle flowrate obviously increases, this control drawback is also more and more obvious.At this moment, if replace current time control method, can alleviate the problems referred to above greatly by a kind of Intelligentized control method of traffic lights.From the development trend of external traffic lights control, we are not difficult to find out that modern traffic control constantly develops towards intelligentized direction.This shows that wireless technology, automated control technology have indispensable status in traffic lights control field.
The design is basic as control with the STC12C5A60S2 single-chip microcomputer, and proposing with HMC1022 is the distributed information of vehicle flowrate collection of single node and the control system of information acquisition sensing.A plurality of earth magnetism sensing node micro controller link through serial ports wireless module and main control microcomputer system, and detected information of vehicle flowrate is fed back to the master control host computer, thereby have realized the detection to whole intersection vehicle flux.Controller is realized the intellectuality control to all directions traffic lights based on each lane flow quantitative change situation.
Adopt micro computer to carry out road vehicle parameter detecting, information processing and control in real time; For improving accuracy of detection and aspects such as product stability, energy savings important effect is arranged all; And road vehicle information provides important data foundation for realizing the intelligent control of traffic lights, so the degree of accuracy of road vehicle parameter detecting system and intelligent degree receive the concern of industry always.Therefore the road vehicle detection technique based on magnetoresistive transducer is very a practicality and an important techniques, and its development prospect is considerable.
Summary of the invention
Characteristics such as the present invention is devoted to solve the technical matters of present urban traffic blocking, proposes the intelligent method that detects of a kind of road vehicle based on HMC1022, and this method has the accuracy of detection height, and stability is strong.
The technical scheme that realizes the foregoing invention purpose is following:
A kind of road vehicle intelligent detecting method based on HMC1022 is characterized in that, comprises the steps:
Step 1, calibration twin shaft magnetoresistive transducer;
Step 2, obtain the synthetic environmental magnetic field intensity of x, y diaxon;
Step 3, obtain the magnetic field intensity of the synthetic vehicle of x, y diaxon through out-of-date generation;
Step 4, utilize the average filter method, the absolute value of the difference of the magnetic field intensity that obtains in the magnetic field intensity that obtains in the step 3 and the step 2 is carried out Filtering Processing, obtain data value CHA;
Step 5, data value CHA is carried out binary conversion treatment,, when CHA>T, be provided with car mark car_flag=1, otherwise car_flag=0 is set according to the data signalization fluctuation threshold value T of test.Wherein car_flag remained 0 o'clock always, and expression does not have the vehicle process, when car_flag becomes 1, represented that this detection period has the vehicle process;
Step 6, define car: when car_flag becomes 1 by 0; Car counter car_flag_num and no car counter no_car_flag_num zero clearing simultaneously will be arranged; Car counter car_flag_num is arranged since 0 counting; In car_flag is maintained 1 process,, think that then there is a car process this detection period if the count value that car counter car_flag_num arranged has a car count threshold N more than or equal to predefined;
Step 7, definite no car: when car_flag becomes 0 by 1; Car counter car_flag_num and no car counter no_car_flag_num zero clearing simultaneously will be arranged; No car counter no_car_flag_num is since 0 counting; In car_flag is maintained 0 process, if the count value of not having car counter no_car_flag_num, thinks then that this detection period does not have the vehicle process more than or equal to predefined no car count threshold M;
Step 8, disturb to judge: be maintained 1 or be in 0 the process at car_flag; The count value that car counter car_flag_num arranged has a car count threshold N less than predefined; And the count value of not having car counter no_car_flag_num jumps to step 2 less than predefined no car count threshold M;
Step 9, software set/reset: be provided with and force set/reset timer conter T 0, work as T 0When count value is overflowed, then regularly interrupt forcing set/reset twin shaft magnetoresistive transducer.
Description of drawings
Fig. 1 is a system flowchart of the present invention;
Fig. 2 is a hardware system block diagram of the present invention;
Fig. 3 is a measured waveform of the present invention.
Embodiment
Step 1, calibration twin shaft magnetoresistive transducer;
Step 2, obtain the synthetic environmental magnetic field intensity of x, y diaxon;
Step 3, obtain the magnetic field intensity of the synthetic vehicle of x, y diaxon through out-of-date generation;
Step 4, utilize the average filter method, the absolute value of the difference of the magnetic field intensity that obtains in the magnetic field intensity that obtains in the step 3 and the step 2 is carried out Filtering Processing, obtain data value CHA;
Step 5, data value CHA is carried out binary conversion treatment,, when CHA>T, be provided with car mark car_flag=1, otherwise car_flag=0 is set according to the data signalization fluctuation threshold value T of test.Wherein car_flag remained 0 o'clock always, and expression does not have the vehicle process, when car_flag becomes 1, represented that this detection period has the vehicle process;
Step 6, define car: when car_flag becomes 1 by 0; Car counter car_flag_num and no car counter no_car_flag_num zero clearing simultaneously will be arranged; Car counter car_flag_num is arranged since 0 counting; In car_flag is maintained 1 process,, think that then there is a car process this detection period if the count value that car counter car_flag_num arranged has a car count threshold N more than or equal to predefined;
Step 7, definite no car: when car_flag becomes 0 by 1; Car counter car_flag_num and no car counter no_car_flag_num zero clearing simultaneously will be arranged; No car counter no_car_flag_num is since 0 counting; In car_flag is maintained 0 process, if the count value of not having car counter no_car_flag_num, thinks then that this detection period does not have the vehicle process more than or equal to predefined no car count threshold M;
Step 8, disturb to judge: be maintained 1 or be in 0 the process at car_flag; The count value that car counter car_flag_num arranged has a car count threshold N less than predefined; And the count value of not having car counter no_car_flag_num jumps to step 2 less than predefined no car count threshold M;
Step 9, software set/reset: be provided with and force set/reset timer conter T 0, work as T 0When count value is overflowed, then regularly interrupt forcing set/reset twin shaft magnetoresistive transducer.
Shown in Figure 2 is the hardware platform that the inventive method adopts, and mainly is made up of magnetoresistive transducer module, amplifier module, wireless communication module, processor module and power module etc.Magnetoresistive transducer module and processor module are accomplished vehicle detection through the inventive method, and processor module sends result to other equipment through wireless communication module, and power module then is the total system power supply.This method can be widely used in the vehicle detection of road, bridge, can alleviate the awkward present situation of urban traffic blocking greatly, or is applied to the management in parking lot, can increase work efficiency, and realizes intelligent management.
Product of the present invention is placed the scene test that experimentizes, when the sensor node test has obtained 100 cars, and actual be 95 through vehicle, detecting accuracy rate is 95%.Facts have proved that the detection accuracy rate of this method is still than higher.

Claims (1)

1. the road vehicle intelligent detecting method based on HMC1022 comprises the steps:
Step 1, calibration twin shaft magnetoresistive transducer HMC1022;
Step 2, obtain the synthetic environmental magnetic field intensity of x, y diaxon;
Step 3, obtain the magnetic field intensity of the synthetic vehicle of x, y diaxon through out-of-date generation;
Step 4, utilize the average filter method, the absolute value of the difference of the magnetic field intensity that obtains in the magnetic field intensity that obtains in the step 3 and the step 2 is carried out Filtering Processing, obtain data value CHA;
Step 5, data value CHA is carried out binary conversion treatment,, when CHA>T, be provided with car mark car_flag=1, otherwise car_flag=0 is set according to the data signalization fluctuation threshold value T of test.Wherein car_flag remained 0 o'clock always, and expression does not have the vehicle process, when car_flag becomes 1, represented that this detection period has the vehicle process;
Step 6, define car: when car_flag becomes 1 by 0; Car counter car_flag_num and no car counter no_car_flag_num zero clearing simultaneously will be arranged; Car counter car_flag_num is arranged since 0 counting; In car_flag is maintained 1 process,, think that then there is a car process this detection period if the count value that car counter car_flag_num arranged has a car count threshold N more than or equal to predefined;
Step 7, definite no car: when car_flag becomes 0 by 1; Car counter car_flag_num and no car counter no_car_flag_num zero clearing simultaneously will be arranged; No car counter no_car_flag num is since 0 counting; In car_flag is maintained 0 process, if the count value of not having car counter no_car_flag_num, thinks then that this detection period does not have the vehicle process more than or equal to predefined no car count threshold M;
Step 8, disturb to judge: be maintained 1 or be in 0 the process at car_flag; The count value that car counter car_flag_num arranged has a car count threshold N less than predefined; And the count value of not having car counter no_car_flag_num jumps to step 2 less than predefined no car count threshold M;
Step 9, software set/reset: be provided with and force set/reset timer conter T 0, work as T 0When count value is overflowed, then regularly interrupt forcing set/reset twin shaft magnetoresistive transducer.
CN2012101774710A 2012-05-27 2012-05-27 Road vehicle intelligent detection method based on HMC1022 magnetic sensor Pending CN102708695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101774710A CN102708695A (en) 2012-05-27 2012-05-27 Road vehicle intelligent detection method based on HMC1022 magnetic sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101774710A CN102708695A (en) 2012-05-27 2012-05-27 Road vehicle intelligent detection method based on HMC1022 magnetic sensor

Publications (1)

Publication Number Publication Date
CN102708695A true CN102708695A (en) 2012-10-03

Family

ID=46901407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101774710A Pending CN102708695A (en) 2012-05-27 2012-05-27 Road vehicle intelligent detection method based on HMC1022 magnetic sensor

Country Status (1)

Country Link
CN (1) CN102708695A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247180A (en) * 2013-05-10 2013-08-14 秦旭彦 Micropower wireless geomagnetism traffic flow detector
CN104933871A (en) * 2015-07-16 2015-09-23 苏州大学张家港工业技术研究院 Method and system for detecting traffic vehicles
CN111311927A (en) * 2020-01-17 2020-06-19 深圳市戴升智能科技有限公司 Traffic flow detection method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217002A (en) * 2008-01-03 2008-07-09 中科院嘉兴中心微系统所分中心 A wireless transducer network device based on unloading lot detection based on magnetic sensitive technology
CN101694746A (en) * 2009-10-19 2010-04-14 浙江大学 Magnetic resistant vehicle quantity and speed detecting node based on Zigbee wireless protocol and use methods thereof
CN102289939A (en) * 2011-07-05 2011-12-21 北京航空航天大学 Vehicle/traffic flow detection method based on three-axle magnetoresistive sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217002A (en) * 2008-01-03 2008-07-09 中科院嘉兴中心微系统所分中心 A wireless transducer network device based on unloading lot detection based on magnetic sensitive technology
CN101694746A (en) * 2009-10-19 2010-04-14 浙江大学 Magnetic resistant vehicle quantity and speed detecting node based on Zigbee wireless protocol and use methods thereof
CN102289939A (en) * 2011-07-05 2011-12-21 北京航空航天大学 Vehicle/traffic flow detection method based on three-axle magnetoresistive sensor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨波 等: "异向性磁阻传感器检测车流量的新方法", 《浙江大学学报(工学版)》, vol. 45, no. 12, 31 December 2011 (2011-12-31), pages 2109 - 2114 *
潘霓 等: "基于磁阻传感器的车辆检测算法综述", 《计算机工程与应用》, vol. 45, no. 19, 10 July 2009 (2009-07-10), pages 245 - 248 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247180A (en) * 2013-05-10 2013-08-14 秦旭彦 Micropower wireless geomagnetism traffic flow detector
CN104933871A (en) * 2015-07-16 2015-09-23 苏州大学张家港工业技术研究院 Method and system for detecting traffic vehicles
CN111311927A (en) * 2020-01-17 2020-06-19 深圳市戴升智能科技有限公司 Traffic flow detection method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN202677620U (en) Intelligent traffic light management system
CN204990711U (en) Induction type traffic signals control system based on people's car demand
CN110164146B (en) Cooperative traffic flow detection method
CN100501795C (en) A dynamic road status information collection method for associated road segments of intersection
CN102280031B (en) Crossing traffic state recognition method based on floating car data
CN202939804U (en) Intelligent control system for traffic light
CN103456180A (en) Signal control system and signal control method based on traffic simulation
CN204537444U (en) A kind of wireless vehicle flow based on earth magnetism and vehicle heading detecting device
CN202929847U (en) Ground inductive coil based intelligent traffic light controller
CN104933871B (en) Method and system for detecting traffic vehicles
CN104695352A (en) System for guiding vehicles on highway in foggy environments
Wang et al. An overview of research on weigh-in-motion system
CN101515408A (en) Control device for displaying traffic flow signal at green wave band
CN102708695A (en) Road vehicle intelligent detection method based on HMC1022 magnetic sensor
CN103050014A (en) Traffic speed detection system and detection method
CN106530759A (en) Intelligent traffic congestion drainage method based on geomagnetic information
CN104143263A (en) Temperature-humidity sensing timing traffic light
CN202352104U (en) Geomagnetic sensor-based corner prompt system
CN202042057U (en) Traffic light control system
CN202976471U (en) Vehicle detection apparatus
CN204650759U (en) A kind of wireless geomagnetism wagon detector LED formula smart host
CN104751644B (en) Traffic detection method and traffic detection device
CN105575146A (en) Intelligent traffic light device
CN202688808U (en) Left turn system for non-power-driven vehicles at crossroad
CN102758392A (en) Left turning system for non-power-driven vehicle at intersection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121003