Summary of the invention
To the problems referred to above, the purpose of this invention is to provide that a kind of measuring accuracy is high, real-time, readable strong, test sample book has repeatability, and test platform has the test platform of driver's active safety early warning system of versatility.
For realizing above-mentioned purpose; The present invention takes following technical scheme: a kind of test platform of driver's active safety early warning system; It is characterized in that: it comprises a data acquisition unit, a test floor data storehouse, an off-line analysis unit and an analysis report unit, and said off-line analysis unit comprises an off-line analysis playback subelement and off-line analysis judgement subelement; Said data acquisition unit gather in real time in the experiment vehicle driving process different constantly the road environment video information and from the car status information; And with the road environment video information of synchronization with preserve into a sample from the car status information, said data acquisition unit with each constantly pairing sample all send and be saved in the said test floor data storehouse; Said off-line analysis playback subelement extracts the sample in the said test floor data storehouse and said sample is sent to one in the off-line analysis stage and treats in the examining system; The said examining system of treating produces early warning signal under the sample simulated environment that possesses generation early warning signal condition; Said off-line analysis playback subelement sends to said off-line analysis judgement subelement with the early warning signal that produces and with producing the corresponding sample of said early warning signal; Said off-line analysis is judged the comprehensive road environment video information of subelement, is judged the pairing early warning scene of the current sample of generation result of determination from the early warning signal of car status information and generation; And said result of determination sent to said analysis report unit; Resolve current sample early warning scene result of determination said analysis report unit, generates to resolve figure line and result of determination document.
Said data acquisition unit comprises a video data acquiring module, CAN message data collection parsing module, a data processing module, a video data monitoring module and user's control module; The input end of said video data acquiring module connects the output terminal of the graphical sensory device that is arranged on experiment vehicle top; The input end that said CAN message data is gathered parsing module connects the vehicle-mounted ECU unit EBI of testing vehicle; The output terminal that the output terminal of said video data acquiring module and CAN message data are gathered parsing module is connected the input end of said data processing module respectively; The output terminal of said data processing module connects the input end in said test floor data storehouse; The input end of said video data monitoring module connects the output terminal of said imageing sensor to be monitored the video information state of road environment, and simultaneously said video data acquiring module and the input end of CAN message data collection parsing module also are connected the output terminal of said user's control module respectively.
Said off-line analysis playback subelement comprises a video data playback module, a CAN message data playback parsing module, a sample playback controls module, a video data monitoring module and user's control module; The input end of said video data playback module and CAN message data playback parsing module is connected the output terminal in said test floor data storehouse respectively through said user's control module; The output terminal of said video data playback module connects the input end of an AWG; The output terminal of said CAN message data playback parsing module connects the input end of a LAN CAN card; Said AWG is connected the said input end of treating examining system with the output terminal of local network C AN card through said sample playback control module, and the input end of said video data monitoring module connects the output terminal of said video data playback module.
Said off-line analysis judges that subelement comprises an artificial comparing module and an early warning signal parsing module; Said artificial comparing module comprises that a deviation the report to the police wrong report record cell, a deviation of correct record cell, a deviation of reporting to the police report to the police and fail to report record cell, hits before one to hit before the correct record cell, of reporting to the police to hit to report to the police before the wrong report record cell, of reporting to the police and fails to report record cell; The input end of said early warning signal parsing module is through the said system alarm signal output part to be measured of local area network (LAN) CAN card connection; The tester gives the emulated data of treating examining system and the warning message scene of generating of treating examining system through the storehouse playback of said artificial comparing module contrastive test floor data; To the judgement of reporting to the police and just reporting, report by mistake and fail to report each time; And result of determination sent to the moment that said early warning signal parsing module record judges and the number of times of every kind of result of determination of current sample time corresponding section, and said early warning signal parsing module sends to said analysis report unit with result of determination.
Said analysis report unit comprises a CAN message data parsing module, a document creation module and a time figure line parsing module; The display format of said document creation module is " sample number; concrete time; alarming result "; Said time figure line parsing module is that the time with the current playback sample is benchmark, shows the curve of the various data of experiment vehicle, comprises the speed of a motor vehicle-time curve, the report to the police moment-time curve, steering indicating light-time curve, brake signal-time curve and system alarm-time curve to be measured.
The present invention is owing to take above technical scheme; It has the following advantages: 1, the present invention is owing to adopt data acquisition unit; Data acquisition unit is provided with video data acquiring module, CAN message data and gathers parsing module, data processing module and video data monitoring module, and all modules all adopt PXI system and PXI series hardware, so can and handle integrated, integrated, high speed with the collection of different types of data; Not only improved test macro in the off-line simulation stage fidelity to actual carriage way environment; Make the data acquisition of image parameter in the test, alarm parameters more accurate, and real-time, measuring accuracy is high.2, the present invention is owing to set up test floor data storehouse; Therefore make that each operating mode sample all is recursive; Under the emulated data prerequisite of same operating mode sample, can test difference and treat the reaction of examining system for identical warning simulating scenes; Thereby avoided the shortcoming of real vehicle road test warning scene randomness, therefore made input treat that the test sample book of examining system is can be reusable.3, because the external communication interface of test platform of the present invention all adopts general bnc interface, Sub-miniature B, DB-9 interface, RCA interface; Therefore; All can after the corresponding interface conversion, insert test platform based on the visible light road map as driver's active safety early warning system of the information processing technology; Thereby increased test platform for the versatility of the hardware of treating examining system when testing; And the data acquisition unit of test platform and off-line analysis unit all are respectively arranged with user's control module, therefore can adopt user's control module that some parameter is configured, and make to treat that examining system is in inserting the test platform process; Can the different versatilities of treating examining system have therefore effectively been improved through changing running parameter to adapt to the different work nominal parameters of treating examining system.4, the present invention is owing to judge that at off-line being provided with a manual work in the subelement contrasts module and time figure line parsing module is set in the analysis report unit; Make all platform users of service in test process, use unified method of testing, therefore very convenient tester obtains readable stronger test result.5, the present invention compared with prior art is not the actual position relation of single consideration lane line and wheel when test; But the tester is from driver's angle; Observe the operating mode sample; Take all factors into consideration according to the real road situation, thereby judge that deviation is reported to the police and the anti-character of reporting to the police each time that knocks into the back and report to the police, therefore effectively improved the accuracy of reporting to the police.The present invention can be widely used in the test of various car alarm systems.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is carried out detailed description.
As shown in Figure 1; Test platform of the present invention comprises a data acquisition unit 1, a testfloor data storehouse 2, an off-line analysis unit 3 and an analysis report unit 4, and off-line analysis unit 3 comprises an off-line analysis playback subelement 31 and off-line analysis judgement subelement 32.Test platform of the present invention is divided into two stages in use, is respectively to obtain sample and test system early warning function to be measured.
When obtaining sample; Need test platform be arranged in the driving cabin of experiment vehicle; The power end of test platform connects the vehicle-mounted inverter that output power is the above experiment vehicle of 850W; Vehicle-mounted inverter is that test platform provides 220V AC power; This moment data acquisition unit 1 gather in real time different road environment video informations constantly and experiment vehicle in the experiment vehicle driving process from the car status information, and road environment video information and being saved in from the car status information of experiment vehicle that synchronization is gathered formed a sample in the same array, all samples that data acquisition unit 1 is corresponding constantly with difference send and also are saved in the testfloor data storehouse 2.
When testing system early warning function to be measured; Test platform is in off-line phase; The sample that off-line analysis playback subelement 31 extracts from testfloor data storehouse 2 sends to after as emulated data and treatsexamining system 5; Treat thatexamining system 5 produces early warning signal under the simulated environment that possesses generation early warning signal condition; Off-line analysis playback subelement 31 sends to off-line analysis judgement subelement 32 with the early warning signal that produces and with the corresponding sample of early warning signal; Off-line analysis is judged judging from car status information and early warning signal of subelement 32 analysis-by-synthesis road environment video informations, experiment vehicle, generates the pairing early warning scene of current sample result of determination, and result of determination is sent to analysis report unit 4; The 4 pairs of current sample early warning scene result of determination in analysis report unit are resolved, and generate to resolve figure line and result of determination document.
In the foregoing description, the road environment video information is the road image information of experiment vehicle front, and what test vehicle is the left and right steering indicating light that comprises in the vehicle-mounted ECU unit from the car status information, in real time the speed of a motor vehicle and brake pedal information.
Like Fig. 1, shown in Figure 2, among above-mentioned each embodiment, data acquisition unit 1 comprises that a video data acquiring module 11, a CAN message data gather parsing module 12, adata processing module 13, a video data monitoring module 14 and user's control module 15; The input end of video data acquiring module 11 connects the output terminal of the graphical sensory device that is arranged on experiment vehicle top; The vehicle-mounted OBD interface that the CAN message data is gathered the input end connection experiment vehicle of parsing module 12 is a vehicle-mounted ECU unit EBI; The output terminal that the output terminal of video data acquiring module 11 and CAN message data are gathered parsing module 12 is connected the input end ofdata processing module 13 respectively; Theoutput terminal 13 of data processing module connects the input end in testfloor data storehouse 2; The output terminal of the input end connection layout image-position sensor of video data monitoring module 14 is monitored the state of the video information of road environment; The output terminal that the input end of while video data acquiring module 11 and CAN message data collection parsing module 12 is connected user's control module 15 respectively is provided with sampling rate, sampling time, storing path, the storage format of road environment video information and CAN message data respectively; Make synchronous to the sequential of road environment video information and CAN message data; The storage format of road environment video information is AVI, and the storage format of CAN message data is the txt document.
During the beginning image data; Video data acquiring module 11 sends todata processing module 13 with road environment video information of gathering and 12 collections of CAN message data collection parsing module from the car status information simultaneously; The road environment video information of the same time period thatdata processing module 13 will receive and from the information of car state according to gathering constantly name respectively; And will be labeled as all the road environment video informations in the same time period and be saved in and form a sample in the array from the car status information; After accomplishing a data acquisition,data processing module 13 sends to the sample of being gathered in the test floor data storehouse, wherein; Video data acquiring module 11 can adopt digitizer PXI-5122; The CAN message data is gathered parsing module 12 can adopt PXI-8513/2 LAN CAN card, anddata processing module 13 can adopt embedded controller PXI-8108, and video data monitoring module 14 can adopt the PCI-1409 integrated circuit board; All devices can be provided with its running parameter through user's control module 15 before image data, the external communication interface of all PXI devices all adopts general bnc interface, Sub-miniature B, DB-9 interface, RCA interface.
Among above-mentioned each embodiment, test floor data storehouse can be the user from establishing the file in path, be arranged in the integrated hard disk in inside of embedded controller PXI-8108, comprise all road environment video informations of collection, from car state CAN message data information.
Among above-mentioned each embodiment, off-line analysis playback subelement 31 comprises a video data playback module 311, a CAN message dataplayback parsing module 312, a sample playback controls module 313, a video data monitoring module 314 and user'scontrol module 315; The input end of video data playback module 311 and CAN message dataplayback parsing module 312 is connected the output terminal in testfloor data storehouse 2 respectively; The output terminal of video data playback module 311 connects the input end of an AWG 316; The output terminal of CAN message dataplayback parsing module 312 connects the input end of a LAN CAN card 317; The output terminal of AWG 316 and local network C AN card 317 is connected to the input end of treating examining system through sample playback control module 313; And the input end of video data monitoring module 314 connects the output terminal of video data playback module 311; Video data playback module 311 also is connected user'scontrol module 315 respectively with the input end of CAN message dataplayback parsing module 312, and time of sample extraction path, playback, conversion ratio, miscue, the importing of CAN packet parsing DBC file etc. are provided with.
During the playback sample data; AWG 316 with the road environment video information in the sample that obtains send to treat in theexamining system 5 promptly to replace treat examining system imageing sensor as the emulation video signal source; Simultaneously; LAN CAN card 317 also sends to the experiment of same sample from the car status data and treats thatexamining system 5 promptly replaces the vehicle-mounted ECU unit as emulation message signals source; Treat thatexamining system 5 works it according to emulation video signal source and emulation message signals source under the emulation road environment; Treat that thereby examiningsystem 5 comprehensively produces early warning signal according to road environment information with from the car status information; Wherein through 313 pairs of sample datas of sample playback control module play, time-out, playback etc. control, the state of the reason ambient video information in 314 pairs of samples of video data monitoring module is controlled, wherein AWG 316 can adopt PIX-5421; LAN CAN card 317 can adopt PXI-8513, and both can carry out initial setting up to its port and running parameter through user'scontrol module 315.
As shown in Figure 4, among above-mentioned each embodiment, off-line analysis judges that subelement 32 comprises an artificial comparing module 321 and an early warning signal parsing module 322.Artificial comparing module 321 includes a deviation the report to the police wrong report record cell, a deviation of correct record cell, a deviation of reporting to the police and reports to the police and fail to report record cell; Hit before one to hit before the correct record cell, of reporting to the police to hit to report to the police before the wrong report record cell, of reporting to the police and fail to report record cell, the input end of early warning signal parsing module 322 connects the alarm signal output ends of treatingexamining system 5 through local area network (LAN) CAN card 317.The tester gives the emulated data of treating examining system and the warning message scene of generating of treatingexamining system 5 through artificial comparing module 321 contrastive testfloor data storehouse 2 playback; To the judgement of reporting to the police and just reporting, report by mistake and fail to report each time; And result of determination sent to moment that early warning signal parsing module record judges and at the number of times of every kind of result of determination of this sample time corresponding section, promptly the tester judges the character of reporting to the police according to the situation of system alarm to be measured, the meaning that early warning signal parsing module record is judged each time and play moment of period with respect to a sample; And get off with the format record of document; For example a sample duration is 6 minutes, and deviation is reported to the police correct in 1 minute and 20 seconds, and the early warning signal parsing module will write down " sample number; 00: 01: 20, * * deviation is reported to the police correct ".In the off-line analysis stage; The tester compares to being played back to the alerting signal that each sample produced of treating examining system; Each sample is accomplished the back and compare and be called " once test completion ", after through the early warning signal parsing module data being handled analysis report unit 4 is got in the result of determination transmission.
Among above-mentioned each embodiment, analysis report unit 4 comprises a CAN message data parsing module 41, a document creation module 42 and a time figure line parsing module 43.Analysis report unit 4 generates figure line and document according to record system early warning signal to be measured and result of determination to each test; Mainly comprise: the 1) character of the sample of each playback warning, character comprises the left and right sides deviation warning-time curve of this test sample book, the preceding warning-time curve that hits; 2) sample properties of each playback, character comprises left and right sides steering indicating light-time curve, brake-time curve, the speed of a motor vehicle-time curve in this playback sample; 3) treat the warning performance of examining system to this playback; Comprise the tester and treat the result of determination whether correctly examining system reacts, whether reports by mistake, whether fails to report to the early warning of this sample; Display format be " sample number, * * divides * * second during * *, * * report to the police correct wrong report or misrepresent deliberately ".Wherein, CAN packet parsing module 41 in the current samples tested from the left and right steering indicating light of car status information; The speed of a motor vehicle, the brake pedal signal makes that through the CAN message of above-mentioned this type of signal all above-mentioned signals are synchronous in time with the deviation alerting signal of treating the warning of examining system in current sample and the moment, the number of times that the anti-alerting signal that knocks into the back takes place, and guarantees that time figure line parsing module 43 can operate as normal; The display format of document creation module 42 is " sample number; concrete time, alarming result ", and time figure line parsing module 43 is a benchmark with the time of current playback sample; The curve that shows the various data of experiment vehicle comprises the speed of a motor vehicle-time curve, the warning moment-time curve, steering indicating light-time curve, brake signal-time curve, system alarm-time curve to be measured.
As shown in Figure 5, among above-mentioned each embodiment, operation platform of the present invention can adopt the LABVIEW virtual instrument.For the tester conveniently treats examining system warning property determination, can on the operation platform interface, display unit be set correspondence, in real time test process and judged result are shown.On the operation platform interface, can time-out/broadcast virtual key be set corresponding sample playback control module; " time-out/broadcast " of clicking operation interface in the off-line analysis unit just can be controlled the playback progress of sample; Can also be provided with a video at the operation interface center and observe district's 6 and one virtual speed of a motor vehicle indicator gauge 7; Video is observed district 6 can show the road environment video information, and virtual speed of a motor vehicle indicator gauge 7 can be resolved the real-time speed of a motor vehicle from the car state; The top that video is observed district 6 is provided with two virtual steering indicating lights 80,81; And at two steering indicating lights 80, be provided with avirtual brake lamp 82 between 81; Steering indicating light mainly is the left and right steering indicating light signal of resolving from the car state, and brake lamp is resolved the brake signal from the car state; The below that video is observed district 6 is provided with virtual deviation alarm lamp 90,91, deviation alarm lamp 90, is provided with a virtual anti-alarm lamp 92 that knocks into the back between 91, and the anti-alarm lamp that knocks into the back is resolved the anti-alerting signal that knocks into the back of treating examining system output.The bottom of operation interface is provided with a result of determination viewing area; The result of determination viewing area includes an expression deviation warning result of determination viewing area and the anti-warning result of determination viewing area of knocking into the back of an expression; Corresponding artificial comparing module is provided with six display lamps, and deviation warning result of determination viewing area is provided with correctly, reports by mistake and fail to report three display lamps with the anti-warning result of determination viewing area of knocking into the back.
Above-mentioned each embodiment only is used to explain the present invention; Wherein the title of each module and signal transfer mode etc. all can change to some extent; Every equivalents of on the basis of technical scheme of the present invention, carrying out and improvement all should not got rid of outside protection scope of the present invention.