Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of parking fee collective system method of the vahicles label based on OBD interface be provided, solved existing vahicles label False Rate large, can not automatic charging and the problem of cost of manufacture.
The present invention solves existing technical matters and takes following technical scheme to realize:
A parking fee collective system method for vahicles label based on OBD interface, comprises the following steps:
Step 1, will be connected to the vahicles label of OBD interface on the OBD interface of automobile;
Step 2, each parking stall pre-plugged what a or multiple for locating the wireless terrestrial reference node of parking stall;
Step 3, in the server of parking lot, record the coordinate of each wireless terrestrial reference node in parking lot;
After step 4, parking, vahicles label reads vehicle status data from the OBD interface of automobile, when determining vehicle when moving to stationary state, start to detect the signal of wireless terrestrial reference node, and record all terrestrial reference node identification and intensity thereof receiving in this time period;
Terrestrial reference node signal and signal intensity that step 5, vahicles label receive by self ID information and in this period are uploaded to parking lot server by radio-frequency module;
Step 6, in the time that vehicle leaves, vahicles label reads vehicle status data from the OBD interface of automobile, when determining vehicle from the static motion state that becomes, the signal of open detection terrestrial reference node again, by self ID information and in this time period all terrestrial reference node identifications that receive and intensity thereof be uploaded to parking lot server by radio-frequency module;
Step 7, parking lot server, according to the vahicles label terrestrial reference node normal intensity signal that section is uploaded at the same time, by the method for pattern-recognition, are determined payment parking stall, vehicle place;
Step 8, parking lot server start time and closing time using the time of twice uploading data of vehicle vahicles label to be paid the fees as parking charge;
Step 9, parking lot server were charged to this vehicle according to No. ID, vahicles label and parking charge start time and closing time.
Advantage of the present invention and good effect are:
1, the present invention utilize that its physical location of automobile OBD interface is fixed, OBD interface position in under-cab, be more beneficial to parking stall on the feature of Direct Communication of terrestrial reference node, to be installed on the vahicles label of OBD interface on the OBD interface of automobile, solved for a long time due to a special fixing installation site of unpromising vahicles label design in Hyundai Motor, vahicles label usually cause owing at will installing arbitrarily communication not smooth, be disturbed the difficult problem large, False Rate is high.
2, the monitoring technique of automotive field is used for Car park payment field by the present invention, adopt the preferred version that reads the vehicle speed data of OBD interface by vahicles label, substitute the acceleration transducer in existing vahicles label, the cost of manufacture that has reduced vahicles label product, has strengthened the competitiveness of product in market.
3, the present invention is connected vahicles label with OBD interface power supply, vahicles label is directly no longer provided with self special battery from the power taking of OBD interface, has solved the difficult problem that prior art vahicles label battery can not automatic charging.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described.
A parking fee collective system method for vahicles label based on OBD interface is that the vahicles label with OBD interface is arranged on the OBD interface of vehicle and is realized.The vahicles label with OBD interface reads vehicle acceleration data (embodiment 1) by the OBD interface of vehicle, the preferred embodiment of the present invention is to read parking space state data by interface adaptation module from OBD interface, adopts this scheme can save product consumptive material and reduces costs.But the present invention is also not precluded within and increases acceleration transducer on the basis of embodiment 1 and read vehicle status data and realize parking fee collective system function.
Embodiment 1, a kind of vahicles label based on OBD interface, as shown in Figure 1, comprises MCU, OBD interface, electricity-fetching module, interface adaptation module, radio-frequency module and antenna; Described electricity-fetching module is connected with OBD interface respectively with interface adaptation module, this electricity-fetching module is connected with radio-frequency module for its power supply with MCU, interface adaptation module respectively, described MCU reads the vehicle status data of vehicle by interface adaptation module, this MCU is also connected with radio-frequency module, and this radio-frequency module is connected with antenna.Described vehicle status data comprises vehicle speed data.
Described OBD interface is the communication interface that automobile carries.Not only can read the diagnostic trouble code for Mechanical Help by this OBD interface, the various floor datas of vehicle can also be provided.The floor data reading by OBD interface, except the data that vehicular meter shows, also comprises the data such as the speed of car, every oil consumption record, cell voltage, air-fuel ratio, throttle opening, pinking quantity.When actual these data of use, can be connected on the OBD interface of vehicle by a special data line, data are read out and are shown on supporting display screen again; Can also pass through wireless OBD interface adapter+smart mobile phone end software, this OBD port reader coordinating with mobile phone terminal is similar to a single-chip microcomputer that adds wireless communication module, data transmission OBD interface being read by bluetooth or Wifi arrives smart mobile phone end, then is and is dedicated to user by the software of mobile phone terminal.The present invention uses ODB data not to show for special display screen or mobile phone interface, but the vehicle speed data that reads it is that vahicles label charging device is used.
Described electricity-fetching module, from the power taking of OBD interface and as the power supply of vahicles label, is interface adaptation module, MCU and radio-frequency module power supply, thereby solves the problem of vahicles label automatic charging.Its automatic charging principle is: the power supply of automobile is from the generator in motor car engine, and after car engine gets up, generator will charge to storage battery, thereby has ensured the automatic charging of automobile and be installed on the automatic charging of vahicles label of automobile OBD interface.
Described interface adaptation module reads parking space state data to replace the acceleration transducer existing vahicles label from OBD interface.The car status information that MCU reads vehicle ECU from OBD interface by interface adaptation module judges vehicle movement and static: in the time that vehicle sails parking stall into, vehicle becomes stationary state from motion state, and vehicle speed data can change, in the time that vehicle leaves parking stall, vehicle becomes motion state from stationary state, vehicle speed data can also can change, when MCU according to the speed of a motor vehicle change judge vehicle from motion become static or from static become move time, send order to radio-frequency module, radio-frequency module is opened receiving port, start to detect the signal of terrestrial reference node, and record all terrestrial reference node identification and intensity thereof receiving in this time period, then, terrestrial reference node signal and signal intensity that vahicles label receives by self ID information and in this period are uploaded to parking lot server by parking space information gatherer.
Described radio-frequency module contains RSSI signal intensity receiving function, in the time that MCU sends order to radio-frequency module from OBD interface obtains acceleration change data, the RSSI value receiver module of radio-frequency module is opened receiving port and is received the data that terrestrial reference node sends, and the data of reception are sent to parking lot server by parking space information gatherer.
In described MCU, store the vahicles label bound with owner information No. ID, this MCU is two-way connection with radio-frequency module, and same electricity-fetching module, interface adaptation module are unidirectional being connected.
By common to the vahicles label based on OBD interface and the wireless terrestrial reference node, information collector and the parking lot server that are arranged on parking stall formation one location, parking lot and Fare Collection System.As shown in Figure 2, Figure 3, Figure 4, described wireless terrestrial reference node is made up of MCU, power supply, wireless radio frequency modules and antenna, this power supply is connected with MCU and wireless radio frequency modules for its power supply, and this MCU is connected with antenna by wireless radio frequency modules, realizes the sending and receiving function of radiofrequency signal.Location, above-mentioned parking lot and Fare Collection System are provided with information collector and carry out information transfer between wireless terrestrial reference node and parking lot server, and certainly, information collector also can use radio network gateway to replace.
A parking fee collective system method for vahicles label based on OBD interface, comprises the following steps:
Step 1, will be connected on the OBD interface of automobile with the vahicles label of OBD interface.
Step 2, each parking stall pre-plugged what a or multiple for locating the wireless terrestrial reference node of parking stall;
In the present embodiment, Fig. 3 is parking stall terrestrial reference node installation schematic diagram when end to end: each at the center on each parking stall 1 terrestrial reference node is installed.Its principle is: each terrestrial reference node has a circular communications zone taking communication radius as radius, and in the time that two terrestrial reference nodal distances are distant, these two circular communications zones can not produce while common factor, can not produce phase mutual interference yet.Because parking stall is when end to end, two parking stall central points distances are distant, be installed on the mutual communications zone of the centrical terrestrial reference node of two cars just can not produce mutual interference yet, therefore it is feasible, monitoring at 1 terrestrial reference node of each parking stall central point installation for end to end serial parking lot.
In the present embodiment, Fig. 4 is about parking stall terrestrial reference node installation schematic diagram while joining: each at the side line center of both sides, each parking stall 1 terrestrial reference node is installed.Its principle is: because two parking stall central point distance of parallel parking stall that left and right joins is closer, if terrestrial reference node is installed at parking stall central point, be greater than the width of current parking stall due to the diameter of each terrestrial reference node communications zone, its radiation area will cover more than half region of adjacent parking stall, even if adjacent parking stall is without car, but the signal of adjacent parking stall terrestrial reference node transmitting can be received by the vahicles label of current parking stall, therefore produce erroneous judgement.And when adopting two terrestrial reference nodal values on a parking stall to monitor, when these two terrestrial reference nodes are arranged on respectively the side line center line of both sides, each parking stall, these two terrestrial reference nodes should be (suppose that vehicle is parked in center, parking stall perhaps can error range interior) uniformly for the signal intensity of current parking stall vahicles label transmitting, the signal that receives 2 equal normal intensities according to the same moment of vahicles label can judge that there is car current parking stall, if adjacent parking stall is during without car, even if current parking stall vahicles label can receive the signal of the terrestrial reference node transmitting of adjacent parking stall, but due to the difference of distance, current parking stall is different with the signal intensity of adjacent parking stall terrestrial reference node transmitting, the signal of one of them terrestrial reference node transmitting of two of adjacent parking stalls terrestrial reference node and the signal value of two of current parking stalls terrestrial reference node (wherein 1 is common node) differ larger, thus, can judge that adjacent parking stall is without car.
Step 3, in the server of parking lot, record the coordinate of each wireless terrestrial reference node in parking lot;
After step 4, parking, vahicles label reads vehicle status data from the OBD interface of automobile, when determining vehicle when moving to stationary state, start to detect the signal of wireless terrestrial reference node, and record all terrestrial reference node identification and intensity thereof receiving in this time period;
When the MCU of vahicles label by interface adapter from OBD interface reads acceleration change data, judge that vehicle is from dynamically becoming stationary state, send order to radio-frequency module, start and receive signal, each signal reception time reaches 3 seconds above (guaranteeing to receive at least one complete information near every terrestrial reference node), records all terrestrial reference node identification and intensity thereof receiving in this time period.
Terrestrial reference node signal and signal intensity that step 5, vahicles label receive by self ID information and in this period are uploaded to parking lot server by parking space information gatherer.
Detailed process is: the MCU of vahicles label inside detects that the speed of a motor vehicle changes and says the word and send to parking space information gatherer (or radio network gateway) → parking space information gatherer (or radio network gateway) again information finally to be sent to parking lot server information to radio-frequency module → radio-frequency module by antenna.
Step 6, in the time that vehicle leaves, vahicles label reads vehicle status data from the OBD interface of automobile, when determining vehicle from the static motion state that becomes, the signal of open detection terrestrial reference node again, by self ID information and in this time period all terrestrial reference node identifications that receive and intensity thereof be uploaded to parking lot server by parking space information gatherer;
Detailed process is: the MCU of vahicles label inside detects that the speed of a motor vehicle changes and says the word and send to parking space information gatherer (or radio network gateway) → parking space information gatherer (or radio network gateway) again information finally to be sent to parking lot server information to radio-frequency module → radio-frequency module by antenna.
Step 7, parking lot server, according to the vahicles label terrestrial reference node normal intensity signal that section is uploaded at the same time, by the method for pattern-recognition, are determined payment parking stall, vehicle place;
Described pattern discrimination be differentiate parking lot be mode connected in series (end to end) or parallel join mode (left and right joins), if belong to connected in series, adopt the signal of 1 the terrestrial reference node transmitting that is arranged on parking stall central point to differentiate; If belong to parallel join, adopt the signal of 2 terrestrial reference node transmittings that are arranged on both sides, parking stall to differentiate.
Step 8, parking lot server start time and closing time using the time of twice uploading data of vehicle vahicles label to be paid the fees as parking charge.
And send order to parking space information gatherer, stop the reception of parking space information gatherer for vahicles label uploading data;
Step 9, parking lot server were deducted fees according to No. ID, vahicles label and parking charge start time and the parking of carrying out this vehicle closing time.
It is as follows that the present invention utilizes the vahicles label based on OBD interface to reduce detection False Rate principle:
As shown in Figure 5, automobile OBD interface is generally installed on vehicle steering below or automatic pedal top, its position is as the installation site of the vahicles label 4 of Fig. 5, from Fig. 5, can contrast the difference of finding out two kinds of label installation sites: prior art is generally installed on vahicles label 5 in pilothouse, its height will be higher than the position of vahicles label 4 of the present invention, the communication distance that its communication distance apart from wireless terrestrial reference node 2 is compared vahicles label 5 is farther, and that vahicles label 4 of the present invention is compared vahicles label 5 to the communication distance of terrestrial reference node 2 is nearer, therefore, the False Rate that vahicles label 4 detects wireless terrestrial reference node 2 is lower.
It is emphasized that; embodiment of the present invention is illustrative; instead of determinate; therefore the present invention includes and be not limited to the embodiment described in embodiment; every other embodiments that drawn by those skilled in the art's technical scheme according to the present invention, belong to the scope of protection of the invention equally.