CN110987467A - Method for realizing automatic detection of automobile instrument by configuring csv file - Google Patents
Method for realizing automatic detection of automobile instrument by configuring csv file Download PDFInfo
- Publication number
- CN110987467A CN110987467A CN201911168408.9A CN201911168408A CN110987467A CN 110987467 A CN110987467 A CN 110987467A CN 201911168408 A CN201911168408 A CN 201911168408A CN 110987467 A CN110987467 A CN 110987467A
- Authority
- CN
- China
- Prior art keywords
- detected
- detection
- automobile instrument
- piece
- csv file
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M17/00—Testing of vehicles
- G01M17/007—Wheeled or endless-tracked vehicles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
Abstract
A method for realizing automatic detection of an automobile instrument by configuring a csv file relates to the field of automobile instrument detection. The problem of current motormeter testing process complicated, and consuming time long is solved. The invention firstly configures the csv file, sequentially detects the detection items corresponding to each piece to be detected according to the csv file completed by the configuring doll, the control box sends a corresponding switching value signal or an analog input signal to the corresponding piece to be detected, the piece to be detected is detected, the detection result is fed back to a computer of the automobile instrument detection table, and the detection result is compared with a corresponding standard threshold value of a corresponding control instruction in the csv file, so as to judge whether the piece to be detected is qualified. The invention is mainly used for detecting the automobile instrument.
Description
Technical Field
The invention relates to the field of automobile instrument detection.
Background
The old-fashioned instrument test desk is more tedious when preparing the test item, not only needs to consider the control flow of the instrument, needs to be ordered ahead, needs waiting time and so on, but also needs to change the code to some complex logics to supplement, and the configuration file and the software debugging time are very long, and about 5 days are needed for trial use.
The old-fashioned automobile instrument detection table is configured through a data link method, if the configuration is not easy to change, for example, when a specific configuration file is generated, information such as an analog input name and an analog input module thereof, a switch input name and a switch input module thereof, an analog output name and an analog output module thereof, a camera method name and a camera detection algorithm thereof, manual detection process configuration and the like is classified through categories and stored in a corresponding area, however, when the function of automatically detecting the automobile instrument is realized, continuous verification is needed in the detection process, whether the instrument is an error of the instrument or an error of configuration information, and whether the verification is an error of the configuration information or not, continuous searching is needed in the corresponding area, and the items to be verified result in the problems of complex detection process and long time consumption of the whole automobile instrument. Therefore, the above problems need to be solved.
Disclosure of Invention
The invention provides a method for realizing automatic detection of an automobile instrument by configuring a csv file, aiming at solving the problems of complex detection process and long time consumption of the existing automobile instrument. Wherein csv is called Comma-Separated Values in English, and Chinese is translated into Comma Separated value file format.
A method for realizing automatic detection of an automobile instrument by configuring a csv file is realized, and the detection method is realized based on an automobile instrument detection table, a control box and an industrial camera;
the detection method comprises the following steps:
step one, configuring a csv file, and storing the configured csv file into a computer of an automobile instrument detection table, wherein the configuration content of the csv file comprises a serial number of each piece to be detected, a name of each piece to be detected, a related detection instruction corresponding to each piece to be detected, and a standard threshold corresponding to each detection instruction of each piece to be detected;
the number of detection instructions of each piece to be detected is different;
step two, the computer of the automobile instrument detection table sequentially issues related detection instructions corresponding to the pieces to be detected with corresponding sequence numbers to the control box from small to large according to the sequence of the sequence number of each piece to be detected in the configured csv file;
thirdly, the control box sends a switching value signal or an analog input signal to a corresponding to-be-detected piece of the automobile instrument according to the received control instruction;
when the signal sent by the control box is a switching value signal, the industrial camera is used for collecting the image of the current piece to be detected, and extracting the information of the image of the current piece to be detected, and sending the obtained data information of the current piece to be detected to a computer of the automobile instrument detection platform, wherein the computer of the automobile instrument detection platform compares the received data information of the current piece to be detected with a standard threshold value corresponding to the corresponding piece to be detected in the configured csv file under the corresponding detection instruction, if the results are the same, judging that the detection result of the current piece to be detected under the corresponding detection instruction is qualified, displaying the result through a computer display of the automobile instrument detection table, if the results are different, judging that the detection result of the current piece to be detected under the corresponding detection instruction is unqualified, and displaying the detection result through a computer display of the automobile instrument detection platform;
when a signal sent by the control box is an analog input signal, acquiring a pin voltage corresponding to a current piece to be detected through the control box, and sending the acquired pin voltage to a computer of an automobile instrument detection table, wherein the computer of the automobile instrument detection table compares the received pin voltage corresponding to the current piece to be detected with a standard threshold value corresponding to the corresponding piece to be detected in a configured csv file under a corresponding detection instruction, if the results are the same, the detection result of the current piece to be detected under the corresponding detection instruction is judged to be qualified, the detection result is displayed through a computer display of the automobile instrument detection table, and if the results are different, the detection result of the current piece to be detected under the corresponding detection instruction is judged to be unqualified, and the detection result is displayed through the computer display of the automobile instrument detection table;
and (4) detecting all the pieces to be detected on the automobile instrument until the detection of the pieces to be detected on the automobile instrument is finished, thereby completing the detection of the automobile instrument.
Preferably, in the first step, the configured csv file is initially stored in a computer hard disk of the automobile instrument testing table.
Preferably, in the third step, the process of determining whether the current piece to be detected is in contract is performed in a computer flash memory of the automobile instrument detection desk.
Preferably, the automobile instrument detection table and the control box are communicated through an RS232 interface.
The invention has the advantages that the invention sequentially detects the detection items corresponding to each piece to be detected according to the csv file, the control box sends out corresponding switching value signals or analog input signals to the corresponding pieces to be detected, the pieces to be detected are detected, the detection result is fed back to the computer of the automobile instrument detection table, and the detection result is compared with the corresponding standard threshold value of the corresponding control instruction in the csv file, so as to judge whether the pieces to be detected are qualified or not.
Drawings
Fig. 1 is a schematic diagram illustrating the principle of detecting a to-be-detected member of an automobile instrument.
Detailed Description
The following will clearly and completely describe the technical solutions in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, the embodiment, a method for automatically detecting a vehicle instrument by configuring a csv file according to the embodiment,
the detection method is realized based on an automobile instrument detection table, a control box and an industrial camera;
the detection method comprises the following steps:
step one, configuring a csv file, and storing the configured csv file into a computer of an automobile instrument detection table, wherein the configuration content of the csv file comprises a serial number of each piece to be detected, a name of each piece to be detected, a related detection instruction corresponding to each piece to be detected, and a standard threshold corresponding to each detection instruction of each piece to be detected;
the number of detection instructions of each piece to be detected is different;
step two, the computer of the automobile instrument detection table sequentially issues related detection instructions corresponding to the pieces to be detected with corresponding sequence numbers to the control box from small to large according to the sequence of the sequence number of each piece to be detected in the configured csv file;
thirdly, the control box sends a switching value signal or an analog input signal to a corresponding to-be-detected piece of the automobile instrument according to the received control instruction;
when the signal sent by the control box is a switching value signal, the industrial camera is used for collecting the image of the current piece to be detected, and extracting the information of the image of the current piece to be detected, and sending the obtained data information of the current piece to be detected to a computer of the automobile instrument detection platform, wherein the computer of the automobile instrument detection platform compares the received data information of the current piece to be detected with a standard threshold value corresponding to the corresponding piece to be detected in the configured csv file under the corresponding detection instruction, if the results are the same, judging that the detection result of the current piece to be detected under the corresponding detection instruction is qualified, displaying the result through a computer display of the automobile instrument detection table, if the results are different, judging that the detection result of the current piece to be detected under the corresponding detection instruction is unqualified, and displaying the detection result through a computer display of the automobile instrument detection platform;
when a signal sent by the control box is an analog input signal, acquiring a pin voltage corresponding to a current piece to be detected through the control box, and sending the acquired pin voltage to a computer of an automobile instrument detection table, wherein the computer of the automobile instrument detection table compares the received pin voltage corresponding to the current piece to be detected with a standard threshold value corresponding to the corresponding piece to be detected in a configured csv file under a corresponding detection instruction, if the results are the same, the detection result of the current piece to be detected under the corresponding detection instruction is judged to be qualified, the detection result is displayed through a computer display of the automobile instrument detection table, and if the results are different, the detection result of the current piece to be detected under the corresponding detection instruction is judged to be unqualified, and the detection result is displayed through the computer display of the automobile instrument detection table;
and (4) detecting all the pieces to be detected on the automobile instrument until the detection of the pieces to be detected on the automobile instrument is finished, thereby completing the detection of the automobile instrument.
In the embodiment, a csv file is configured firstly, the detection items corresponding to each piece to be detected are detected in sequence according to the csv file, the control box sends out corresponding switching value signals or analog input signals to the corresponding piece to be detected, the piece to be detected is detected, the detection result is fed back to a computer of an automobile instrument detection table, and the detection result is compared with a corresponding standard threshold value of a corresponding control instruction in the csv file, so that whether the piece to be detected is qualified or not is judged.
Further, in the first step, the configured csv file is initially stored in a computer hard disk of the automobile instrument detection table.
Further, in the third step, the process of judging whether the current piece to be detected is in contract is carried out in a computer flash memory of the automobile instrument detection table.
Further, the automobile instrument detection table is communicated with the control box through an RS232 interface.
Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that features described in different dependent claims and herein may be combined in ways different from those described in the original claims. It is also to be understood that features described in connection with individual embodiments may be used in other described embodiments.
Claims (4)
1. A method for realizing automatic detection of an automobile instrument by configuring a csv file is characterized in that the detection method is realized based on an automobile instrument detection platform, a control box and an industrial camera;
the detection method comprises the following steps:
step one, configuring a csv file, and storing the configured csv file into a computer of an automobile instrument detection table, wherein the configuration content of the csv file comprises a serial number of each piece to be detected, a name of each piece to be detected, a related detection instruction corresponding to each piece to be detected, and a standard threshold corresponding to each detection instruction of each piece to be detected;
the number of detection instructions of each piece to be detected is different;
step two, the computer of the automobile instrument detection table sequentially issues related detection instructions corresponding to the pieces to be detected with corresponding sequence numbers to the control box from small to large according to the sequence of the sequence number of each piece to be detected in the configured csv file;
thirdly, the control box sends a switching value signal or an analog input signal to a corresponding to-be-detected piece of the automobile instrument according to the received control instruction;
when the signal sent by the control box is a switching value signal, the industrial camera is used for collecting the image of the current piece to be detected, and extracting the information of the image of the current piece to be detected, and sending the obtained data information of the current piece to be detected to a computer of the automobile instrument detection platform, wherein the computer of the automobile instrument detection platform compares the received data information of the current piece to be detected with a standard threshold value corresponding to the corresponding piece to be detected in the configured csv file under the corresponding detection instruction, if the results are the same, judging that the detection result of the current piece to be detected under the corresponding detection instruction is qualified, displaying the result through a computer display of the automobile instrument detection table, if the results are different, judging that the detection result of the current piece to be detected under the corresponding detection instruction is unqualified, and displaying the detection result through a computer display of the automobile instrument detection platform;
when a signal sent by the control box is an analog input signal, acquiring a pin voltage corresponding to a current piece to be detected through the control box, and sending the acquired pin voltage to a computer of an automobile instrument detection table, wherein the computer of the automobile instrument detection table compares the received pin voltage corresponding to the current piece to be detected with a standard threshold value corresponding to the corresponding piece to be detected in a configured csv file under a corresponding detection instruction, if the results are the same, the detection result of the current piece to be detected under the corresponding detection instruction is judged to be qualified, the detection result is displayed through a computer display of the automobile instrument detection table, and if the results are different, the detection result of the current piece to be detected under the corresponding detection instruction is judged to be unqualified, and the detection result is displayed through the computer display of the automobile instrument detection table;
and (4) detecting all the pieces to be detected on the automobile instrument until the detection of the pieces to be detected on the automobile instrument is finished, thereby completing the detection of the automobile instrument.
2. The method for automatically testing the automobile instrument by configuring the csv file as claimed in claim 1, wherein in the first step, the configured csv file is initially stored in a computer hard disk of the automobile instrument testing desk.
3. The method for automatically detecting the automobile instrument by configuring the csv file as claimed in claim 1, wherein the step three, the process of determining whether the current piece to be detected is in contract is performed in a computer flash memory of an automobile instrument detection platform.
4. The method of claim 1, wherein the vehicle meter testing platform and the control box communicate through an RS232 interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911168408.9A CN110987467A (en) | 2019-11-25 | 2019-11-25 | Method for realizing automatic detection of automobile instrument by configuring csv file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911168408.9A CN110987467A (en) | 2019-11-25 | 2019-11-25 | Method for realizing automatic detection of automobile instrument by configuring csv file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110987467A true CN110987467A (en) | 2020-04-10 |
Family
ID=70086750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911168408.9A Pending CN110987467A (en) | 2019-11-25 | 2019-11-25 | Method for realizing automatic detection of automobile instrument by configuring csv file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110987467A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103869801A (en) * | 2012-12-13 | 2014-06-18 | 中广核工程有限公司 | Test method of nuclear power plant instrumentation control logic function block and system |
US20150348254A1 (en) * | 2014-06-03 | 2015-12-03 | Chung-Ang University Industry-Academy Cooperation Foundation | Apparatus and method for estimating distance using dual off-axis color filter aperture |
CN105203148A (en) * | 2015-09-30 | 2015-12-30 | 湖北工业大学 | Visual detection method for automobile combination instrument |
CN105222823A (en) * | 2015-09-30 | 2016-01-06 | 湖北工业大学 | A kind of checkout equipment of integrated form of automobile combination meter |
CN105785312A (en) * | 2016-04-21 | 2016-07-20 | 国网上海市电力公司 | Method and system for automatically checking functions of smart ammeters |
CN107357254A (en) * | 2017-09-14 | 2017-11-17 | 盐城工学院 | Intelligent instrument device and system |
CN108545039A (en) * | 2018-04-11 | 2018-09-18 | 航天科技控股集团股份有限公司 | Running information automatic checkout system based on automobile instrument CAN bus signal and detection method |
CN109932369A (en) * | 2019-03-06 | 2019-06-25 | 合肥鑫晟光电科技有限公司 | A kind of abnormity display panel testing method and device |
-
2019
- 2019-11-25 CN CN201911168408.9A patent/CN110987467A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103869801A (en) * | 2012-12-13 | 2014-06-18 | 中广核工程有限公司 | Test method of nuclear power plant instrumentation control logic function block and system |
US20150348254A1 (en) * | 2014-06-03 | 2015-12-03 | Chung-Ang University Industry-Academy Cooperation Foundation | Apparatus and method for estimating distance using dual off-axis color filter aperture |
CN105203148A (en) * | 2015-09-30 | 2015-12-30 | 湖北工业大学 | Visual detection method for automobile combination instrument |
CN105222823A (en) * | 2015-09-30 | 2016-01-06 | 湖北工业大学 | A kind of checkout equipment of integrated form of automobile combination meter |
CN105785312A (en) * | 2016-04-21 | 2016-07-20 | 国网上海市电力公司 | Method and system for automatically checking functions of smart ammeters |
CN107357254A (en) * | 2017-09-14 | 2017-11-17 | 盐城工学院 | Intelligent instrument device and system |
CN108545039A (en) * | 2018-04-11 | 2018-09-18 | 航天科技控股集团股份有限公司 | Running information automatic checkout system based on automobile instrument CAN bus signal and detection method |
CN109932369A (en) * | 2019-03-06 | 2019-06-25 | 合肥鑫晟光电科技有限公司 | A kind of abnormity display panel testing method and device |
Non-Patent Citations (2)
Title |
---|
刘伟: "汽车组合仪表盘自动检测系统设计", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
钟贤德: "基于图像处理的仪表功能检测系统", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9940223B2 (en) | Human-machine interface test system | |
CN102636704B (en) | Testing method, device and system for electronic product | |
CN103235759B (en) | Method for generating test case and device | |
CN110175236A (en) | Training sample generation method, device and computer equipment for text classification | |
CN104317712A (en) | Linux-based storage server fatigue testing method | |
US8117586B2 (en) | Printed circuit board layout system and method thereof | |
US9582620B1 (en) | Method and system for automated refined exclusion of entities from a metric driven verification analysis score | |
CN109828906B (en) | UI (user interface) automatic testing method and device, electronic equipment and storage medium | |
CN104572999B (en) | Heterogeneous data-based error data detection method and device | |
CN112036153B (en) | Work order error correction method and device, computer readable storage medium and computer equipment | |
CN107451112B (en) | Form tool data checking method, device, terminal equipment and storage medium | |
US11580425B2 (en) | Managing defects in a model training pipeline using synthetic data sets associated with defect types | |
CN109637536A (en) | A kind of method and device of automatic identification semantic accuracy | |
CN112597065A (en) | Page testing method and device | |
CN112597066B (en) | Page testing method and device | |
CN102622233A (en) | System and method for automatically generating user interface applicable to certain interactive terminal equipment | |
CN106201859A (en) | A kind of regression testing method and system | |
CN110489347A (en) | Method for edition management, device, equipment and readable storage medium storing program for executing based on GIT | |
CN106855835B (en) | XML technology-based power-on self-detection method for flight control system | |
CN110987467A (en) | Method for realizing automatic detection of automobile instrument by configuring csv file | |
US20210201053A1 (en) | Visual analytics platform for updating object detection models in autonomous driving applications | |
CN109829083A (en) | SPD data automatic verification method, device, computer equipment and storage medium | |
CN106599312A (en) | Knowledge base check method and device, and terminal | |
CN112327800A (en) | Vehicle detection method and device and diagnosis equipment | |
CN111652122A (en) | Configuration method and device of vision system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200410 |