Embodiment
Below in conjunction with drawings and Examples the technical solution of the utility model is described in detail.
Need to prove that if do not conflict, each feature among the utility model embodiment and the embodiment can mutually combine, all within protection domain of the present utility model.
The detection system that the utility model embodiment provides a kind of parking stall whether car is arranged, as shown in Figure 1, this system comprises:
The sensor 101 that is used for the magnetic field value of mensuration position;
Being used for the storage parking stall does not have the storer 102 of car calibration value;
The detecting device 104 that is used for read sensor 101 instant data when the timing of described timer 103 arrives;
Be used for calculating sensor 101 instant data and parking stall and do not have the difference of car calibration value, and car arranged, be not more than the processor 105 that judgement parking stall when sending a car threshold value does not have car when this difference judgement parking stall when sending a car threshold value;
Be used for showing the display screen 106 of described processor judged result.
Alternatively, described sensor 101 comprises one or more; Each sensor is separately fixed on the ground of different parking stalls.
The utility model embodiment also provides a kind of parking stall not have the car calibration value to determine device, and as shown in Figure 2, this device comprises: the first screening module, second screening module and the calibration value determination module, wherein:
The described first screening module is arranged to: from the magnetic field value data that collect from the magnetometric sensor that is arranged in the parking stall in a certain image data time period order, grasp with the difference of adjacent last data and back one data all greater than the data of saltus step threshold value; When the difference of first data in this time period and adjacent back data grasps this first data during greater than described saltus step threshold value; When the difference of last data in this time period and adjacent last data grasps this last data during greater than described saltus step threshold value;
The described second screening module is arranged to: the data that grasp are sorted according to size, the data based calibration value change threshold after the ordering is divided into groups, filter out and contain one group of maximum data of data;
Described calibration value determination module is arranged to: all data that finishing screen is selected are averaged and are rounded, and obtaining the parking stall does not have the car calibration value.
Alternatively, the described first screening module is arranged to grasp in such a way with the difference of adjacent last data and back one data all greater than the data of saltus step threshold value:
To compare in twos from the data order that magnetometric sensor collects in a certain image data time period order; When comparing, when the difference of two adjacent datas during greater than the saltus step threshold value, next data that data after leaning in two adjacent datas are adjacent are compared, if also greater than described saltus step threshold value, then grasp through twice comparison difference all greater than the data of saltus step threshold value, otherwise do not grasp and abandon the data that keep; When the difference of two adjacent datas is not more than the saltus step threshold value, forward data in these two adjacent datas are abandoned, the data after leaning on and next data are compared.
Alternatively, the data based calibration value change threshold after the described second screening module is arranged to will sort in such a way divides into groups, and filters out to contain one group of maximum data of data:
With reference data and with the difference of reference data less than all data of described calibration value change threshold as one group of data, described reference data after for ordering first data or the data adjacent with last data of last group of data.
Alternatively, the image data time period is determined according to the parking stall operating position, if a certain parking stall vehicles passing in and out is more frequent, what then this time period can arrange lacks relatively; If generally, vehicle can be parked the longer time after entering this parking stall, and as one day even longer time, then this time period can arrange longerly, is convenient to gather more data like this, thereby it is more accurate to make the final parking stall of determining not have the car calibration value.
For instance, the data that order collects from magnetometric sensor are: 4000,4009,4008,4001,4010,4007,4000,4002, these data are roughly analyzed, and these data minimums are 4000, are 4010 to the maximum, can illustrate that then near the value 4000 is the value under the no car state, and near the value 4010 is the value that has under the car state, then according to the line number comparison method, compares 4000 and 4009, difference then keeps 4000 and 4009 simultaneously greater than 8; Then compare 4008 and 4009, difference then abandons 4009 less than 8; Compare 4008 and 4001, difference then abandons 4008 less than 8; Compare 4001 and 4008, difference then abandons 4008 less than 8; Compare 4010 and 4001, difference then keeps 4010 and 4001 simultaneously greater than 8; Compare 4007 and 4010, difference then abandons 4010 less than 8; Compare 4000 and 4007, difference then abandons 4007 less than 8; Compare 4002 and 4000, difference is less than 8, then abandon 4000, after all comparisons are all finished, the data that keep only are left 4000,4001,4002, as seen, the data that finishing screen is selected do not have value under the car state for the parking stall substantially, and namely the alleged parking stall of the utility model does not have the car calibration value.
Wherein, described saltus step threshold value rule of thumb obtains, and this saltus step threshold value can be reacted the variation of vehicle, sails the parking stall into as vehicle, or vehicle rolls the parking stall away from.
Alternatively, this saltus step threshold value is 8.
For example, the data that grab by the first screening module comprise: 4001,3000,3002,3003,3004,4000,4000,4000,4015,4001,4001,4002,4001,4001(is totally 14 data), after then these data being sorted according to size be: 3000,3002,3003,3004,4000,4000,4000,4001,4001,4001,4001,4001,4002,4015, then 3000 compare difference less than calibration value change threshold 3 with 3002, then put into 3000 these groups with 3002, compare with 3003 3000 afterwards, do not satisfy less than 3 because the difference of the two equals 3(), so do not put into 3000 these groups to 3003; Be as the criterion to divide into groups with 3003 afterwards, because 3004 and 3003 difference is less than 3, so put into 3003 these groups, 4000 and 3003 difference is not put into 3003 these groups greater than 3,4000; Be as the criterion to divide into groups with 4000 afterwards, according to the method described above, the data that are included into 4000 these groups at last always have 9,4000,4000,4000,4001,4001,4001,4001,4001,4002(comprise as the basis 4000); Last data 4015 is one group; Data after so just will grasping and sort have been divided into (3000,3002), (3003,3004), (4000,4000,4000,4001,4001,4001,4001,4001,4002), (4015) these four groups, because the data of 4000 these groups are maximum, so 4000 these group data screenings are gone out.
Wherein, the calibration value change threshold is that the parking stall does not have the scope that the car calibration value allows variation, as long as data change in this scope, all can be used as the basic data of calculating mean value, and this calibration value change threshold also rule of thumb is worth.
Alternatively, described calibration value change threshold is 3.
Alternatively, described parking stall does not have the car calibration value and determines that device also comprises the judgement indicating module, it is arranged to: judging that described calibration value determination module obtains a parking stall and do not have the car calibration value, the data of indicating the described first screening module to collect at next time period of this image data time period are compared.
Alternatively, all image data time periods are continuous, and namely the termination time of a certain image data time period is connected mutually with the zero-time of next image data time period.
The utility model embodiment also provides two of detection system that whether a kind of parking stall have car, and as shown in Figure 3, this system comprises: magnetometric sensor, parking stall do not have the car calibration value and determine device, detecting device, difference determination module and indicating module, wherein:
Described magnetometric sensor is arranged to: measure the magnetic field value of its position, and obtain corresponding data;
Described parking stall does not have the car calibration value and determines that device is arranged to: the numerical value of measuring according to described magnetometric sensor determines that the parking stall of an image data time period do not have the car calibration value;
Described detecting device is arranged to: the storage parking stall does not have the car calibration value and determines that the parking stall of this image data time period that device is determined do not have the car calibration value; Also regularly read the data of magnetometric sensor, obtain the instant data of magnetometric sensor, ask the parking stall of storing in the instant data of described magnetometric sensor and the described detecting device not have the difference of car calibration value;
Described difference determination module is arranged to: whether judge described difference greater than the threshold value of sending a car, be then to order described indicating module indication parking stall that car is arranged, otherwise order described indicating module indication parking stall not have car; Judge also whether this difference upgrades threshold value less than calibration value, be then to order described detecting device not have the car calibration value with the parking stall to determine that the parking stall of the current image data time period that device is determined do not have the parking stall that the car calibration value upgrades former storage and do not have the car calibration value, and order described detecting device to continue the data that magnetometric sensor is read in timing, otherwise the described detecting device of direct command continues regularly to read the data of magnetometric sensor.
Wherein, the described threshold value of sending a car is rule of thumb determined, is the send a car instant numerical value of back magnetometric sensor and the normal conditions reflection that the parking stall does not have the difference between the car calibration value.Alternatively, the threshold value of sending a car is 9.
Calibration value upgrades threshold value and also rule of thumb determines.Alternatively, described calibration value renewal threshold value is 3.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The utility model is not restricted to the combination of the hardware and software of any particular form.
Certainly; the utility model also can have other various embodiments; under the situation that does not deviate from the utility model spirit and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the utility model, but these corresponding changes and distortion all should belong to the protection domain of claim of the present utility model.