The taxi LED screen fee register calibrating method of sampling
Technical field
The invention belongs to the Measuring and testing field, be specifically related to a kind of taxi LED screen fee register calibrating method of sampling.
Background technology
Taxi originates from New York in 1907, and the very fast whole world of being in fashion, and simultaneously similar, taxi has also imported China into.According to Chinese taxi and automobile leasing association statistics; To 2009, several more than 100 ten thousand of the existing taxi on the regular payroll of China, the practitioner nearly 2,000,000; Taxi be known as " city business card "; Along with improving constantly of living standards of the people, it has been usual thing that citizen " beat ", and the taxi behavior had become the industry closely bound up with citizen's daily life already.
What taxi operation was the most basic is the charge of having the records of distance by the log; Taxi driving range metering charge by be mounted in the fee register of having the records of distance by the log on the taxi; In order to guarantee trade both sides' equitable interest, the accuracy of monitoring taxi driving range metering valuation is the people's livelihood item that countries in the world government is all managing.In China; Be responsible for supervising the fairness that taxi is had the records of distance by the log and valuated by quality supervision departments at different levels; According to JJG517 " taximeter " national metrological verification regulations measurement verification is carried out in taxi driving range metering valuation by country's measurement verification technical bodies at different levels, guaranteed the taxi driving range metering fee register accurately and reliably.
The mode of taximeter being carried out measurement verification is: the taxi vehicle wheel frame that fee register will be installed is on normal drum; The girth of this normal drum is measured exactly; The revolution speed measuring device is installed on the cylinder can measures the revolution of cylinder (this normal drum and corresponding measurement mechanism general designation taximeter use error calibrating installation) exactly; Thereby rotating drive taxi wheel with the motor head roll rotates synchronously; In rotating process, taximeter use error calibrating installation is through measuring the revolution n that cylinder rotates, because cylinder girth C is known; Therefore cylinder rotation distance is L=nC; Fee register on the taxi that rotates synchronously has a measured value A simultaneously, just knows the accuracy of fee register measurement through L relatively and the difference of A, the calibration method principle of Here it is taximeter.
In the verification process of fee register; Because the final function of fee register is charge, thus the national metrological verification regulations regulation adopt the measured value L that judges fee register toll amount saltus step taximeter use error calibrating installation during moment and fee register toll amount saltus step moment the error of the distance value B that should represent.Need to obtain the measured value L of taximeter use error calibrating installation when therefore examining and determine at fee register toll amount saltus step instantaneous sampling.Present measurement verification technical body at different levels carries out the visual method of all sampling when fee register is examined and determine, and adopts the amount of money screen of Direct observation fee register, when observing fee register toll amount generation saltus step, presses " sampling " key of calibrating installation immediately; Or, the amount of money screen image of fee register is presented on the display screen of calibrating operation room same visual the sampling with the means of shooting; The speed of calibrating installation is 60km/h during calibrating, therefore to the rate request of amount of money saltus step instantaneous sampling action just than higher, also bring 1.7 meters action error even incur loss through delay 0.1s, cause detecting inconvenience, also have influence on the accuracy of detection.
Summary of the invention
The objective of the invention is to overcome the defective of prior art, a kind of taxi LED screen fee register calibrating method of sampling is provided, the present invention has improved the accuracy of calibrating, and operation is simpler.
Its technical scheme is following:
A kind of taxi LED screen fee register calibrating method of sampling, this method comprises the steps:
A, change the brightness maximal value M of benchmark stroke in the benchmark stroke of the numeral on the position by the light activated element sensing fee register LED screen amount of money, and multiply by the reference signal L of luminance factor k as " bright ", i.e. L=kM with this brightness maximal value M; B, obtain the scan-synchronized signal that the fee register LED screen amount of money changes the benchmark stroke on the figure place; C, according to the scan-synchronized signal, when the scanning of LED screen stroke, with the brightness T of characteristic stroke in seven sections LED strokes of light activated element sensing; D, the brightness T of characteristic stroke in seven sections LED strokes and " bright " reference signal L are made comparisons,, obtain the state comparison signal of " bright ",, obtain the state comparison signal of " going out " as T during less than L as T during more than or equal to L; E: with the state comparison signal input trigger of " bright " in the said D step or " going out "; And adopt the control signal of said scan-synchronized signal as trigger; In said scan-synchronized in the signal period; Obtain the state comparison signal of LED stroke " bright " or " going out ", and it is maintained to the next scan-synchronized cycle, and export the logic level signal of " bright " or " going out " by trigger.
The technical scheme of the further refinement of aforementioned techniques scheme can be:
In said A step, said luminance factor k gets 0.5 to 0.7 (as getting 0.667).
Said tagged word divides two strokes in the lower left corner and bottom of seven sections LED strokes into.
The right that said character datum divides seven sections LED strokes into is two strokes up and down.
In said B step, the reference signal L of " bright " in the A step is kept, and make signal peak after the maintenance less than the amplitude of original maximum brightness value M; Signal and original maximum brightness value M after keeping are compared, obtain and the identical logic level signal of original high-high brightness signal shape; Logic level signal and square-wave signal are carried out the monopulse digital processing, and resulting periodic pulse signal is said scan-synchronized signal.
The selection that aforementioned " benchmark stroke " reaches " characteristic stroke " is not what fix, but is provided with, adjusts according to the needs of reality.
In sum, advantage of the present invention is:
1, through light activated element seven sections LED strokes that fee register LED shields is carried out sensing, improved the accuracy of calibrating, and operation is simpler;
No matter 2 is to show any numeral; The right of seven sections LED strokes is two strokes up and down; It is bright having a stroke at least, select for use the right up and down two strokes consider to exist between stroke brightness irregularities simultaneously as the benchmark stroke; M multiply by the reference signal of luminance factor k as " bright " with this brightness maximal value, improves the reliability and the accuracy that detect;
3, when fee register LED screen is jumping valency step value by 1; Two strokes of the lower left corner and bottom can be sent out and change in seven sections LED strokes; So adopt these two strokes as the characteristic stroke, can shield the jumping valency by sensing fee register LED, adopt the mode of characteristic stroke; Can reduce the quantity of light activated element, and reduce cost with this;
4, fee register LED screen amount of money screen shows it is the mode that sampled scan shows, generally is that per 25 milliseconds of scannings show that once the LED charactron of each figure place shows about 1 millisecond in order respectively during scanning; The present invention obtains the scan-synchronized signal of seven sections LED stroke scannings, and in 1 millisecond of time that the LED charactron shows, detects, and both carry out synchronously, has improved the accuracy and the reliability that detect;
5, the amplitude of LED stroke " bright " reference signal is uncertain, through it is carried out data processing, obtains the logic level signal of amplitude stability, the processing of more convenient down-stream and application.
Description of drawings
Fig. 1 is the said seven sections LED stroke synoptic diagram of the embodiment of the invention;
Fig. 2 is seven sections LED stroke synoptic diagram of 0 to 9;
Fig. 3 is that the LED charactron shows stroke luminance signal synoptic diagram;
Fig. 4 is that LED charactron scan synchronizing signal is handled synoptic diagram;
Fig. 5 is a LED charactron scan synchronizing signal sequential chart;
Fig. 6 is that characteristic stroke status signal produces sequential chart.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are elaborated:
A kind of taxi LED screen fee register calibrating method of sampling, this method comprises the steps:
A, change the brightness maximal value M of benchmark stroke in the benchmark stroke (the right that character datum divides seven sections LED strokes into is two strokes up and down) of the numeral on the position by the light activated element sensing fee register LED screen amount of money; And multiply by the reference signal L of luminance factor k as " bright " with this brightness maximal value M; Be L=kM (in the present embodiment, luminance factor k gets 0.667);
B, obtain the scan-synchronized signal that the fee register LED screen amount of money changes the benchmark stroke on the figure place, particularly: the reference signal L of " bright " in the A step is kept, and make signal peak after the maintenance less than the amplitude of original maximum brightness value M; Signal and original maximum brightness value M after keeping are compared, obtain and the identical logic level signal of original high-high brightness signal shape; Logic level signal and square-wave signal are carried out the monopulse digital processing, and resulting periodic pulse signal is said scan-synchronized signal;
C, according to the scan-synchronized signal, when the scanning of LED screen stroke, with the brightness T of characteristic stroke in seven sections LED strokes of light activated element sensing (tagged word divides two strokes in the lower left corner and bottom of seven sections LED strokes into);
D, the brightness T of characteristic stroke in seven sections LED strokes and " bright " reference signal L are made comparisons,, obtain the state comparison signal of " bright ",, obtain the state comparison signal of " going out " as T during less than L as T during more than or equal to L.
E: with the state comparison signal input trigger of " bright " in the said D step or " going out "; And adopt the control signal of said scan-synchronized signal as trigger; In signal period, obtain the state comparison signal of LED stroke " bright " or " going out " in said scan-synchronized, and it is maintained to the next scan-synchronized cycle; And by the logic level signal of trigger output " bright " or " going out ", i.e. stroke status signal in real time.
Elaborate below in conjunction with accompanying drawing:
A numeral constitutes (as shown in Figure 1) by 7 sections strokes in theory, but the purpose of present embodiment is the variation of discriminating digit, therefore not necessarily need distinguish concrete numeral; When numeral from 0 to 9 circular order changed, the state of its e section and the combination of d section must change (as shown in Figure 2), so as the characteristic stroke, when showing 0 to 9, the situation of change of characteristic of correspondence stroke is as shown in the table with these two strokes for present embodiment:
|
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
The e stroke |
Bright |
Go out |
Bright |
Go out |
Go out |
Go out |
Bright |
Go out |
Bright |
Go out |
The d stroke |
Bright |
Go out |
Bright |
Bright |
Go out |
Bright |
Bright |
Go out |
Bright |
Bright |
Thereby present embodiment is the variation moment that changes the acquisition numeral through the light on and off of stroke, thereby realizes the sampling function of fee register calibrating; And bright, the state of going out of stroke are through the size of stroke bright pulse signal amplitude is differentiated, and the LED pipe stroke brightness of different fee register production factory maybe be different; On the other hand, seven sections LED strokes the right " | " up and down two strokes (b, c) must to have stroke at least be bright, so select for use these two strokes as the benchmark stroke, benchmark stroke brightness maximal value M multiply by the reference signal of luminance factor k as " bright ".
, the LED charactron shows that in non-section sweep time (being generally 25 milliseconds), no matter be that the stroke or the stroke of " secretly " of " bright " all is dark, its luminance signal is identical because being scanning; Only in section sweep time (being generally 1 millisecond), the stroke of " bright " is only bright (as shown in Figure 3).So; Need a LED pipe scan-synchronized signal, only judge the stroke brightness in the synchronizing signal time, in other words; Promptly when LED stroke " bright " reference signal scanning display time interval; Measure the brightness of stroke more to be measured, and do not scanning display time interval, then keep the state of stroke to be measured in LED stroke " bright " reference signal.But because the amplitude of LED stroke " bright " reference signal is uncertain; Be difficult in circuit, use; Therefore to the uncertain LED stroke of amplitude " bright " reference signal be done the signal amplitude processing and be transformed to logic level signal (like Fig. 4, shown in Figure 5); Again the signal input trigger is carried out data processing, obtain stroke real-time status signal (as shown in Figure 6).
More than be merely specific embodiment of the present invention, do not limit protection scope of the present invention with this; Any replacement and the improvement on the basis of not violating the present invention's design, done all belong to protection scope of the present invention.