Disclosure of Invention
In order to solve the problems, the invention provides an automatic detection system and method for a charging pile, which can realize a one-key detection full process, do not need the operation of punching a card by a charging device and starting a machine, reduce the detection time and reduce the labor cost.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides an automatic detection system for a charging pile.
In one or more embodiments, a charging pile automatic detection system includes:
the charging pile TCU (terminal control unit) simulation module is communicated with the charging pile and used for simulating the TCU to automatically control the charging pile to start, stop and return to the initial charging state, collecting the charging pile alarm and fault information and uploading the information to the industrial control display module;
the interconnection detection module is connected with the charging pile through the charging gun and is used for simulating an interoperation test project to test the charging pile;
the industrial control display module is responsible for starting a detection process, displaying a detection process and stopping the detection process, receiving and automatically summarizing the charging pile alarm and fault information and the test result uploaded by the interconnection and intercommunication detection module, and generating a current detection database;
and the fault diagnosis module is used for pushing a fault diagnosis scheme and guiding detection personnel to change corresponding components in the charging pile for retesting according to the currently detected database.
The second aspect of the invention provides a detection method of an automatic detection system of a charging pile.
In one or more embodiments, a detection method of an automatic detection system for a charging pile includes:
simulating a TCU by using a charging pile TCU simulation module to automatically control the charging pile to start, stop and return to the initial charging state, and carrying out full-automatic charging pile starting and stopping detection;
the industrial control display module is used for generating a database of current detection according to the charging pile alarm and fault information and the test result uploaded by the interconnection and intercommunication detection module, and the fault diagnosis module is used for carrying out intelligent fault diagnosis and intelligent screening on the charging piles to carry out retesting on unqualified items;
the interconnection and intercommunication detection module is connected with the charging pile through the charging gun, the mutual operation test item is simulated to test the charging pile, and the mutual operation test item control time test is carried out at the same time.
Before the detection of the full-automatic start-stop charging pile, heartbeat monitoring between a TCU simulation module and a charging pile charging controller is carried out by electrifying, version verification is carried out after communication, and the state of the charging pile is checked.
As an embodiment, the state of the charging pile includes standby, work completion, fault and alarm.
As an embodiment, in a standby state, the automatic detection device sends a "charging start frame" to the charging controller of the charging pile when charging needs to be started; and the charging pile charging controller receives the message and then performs data validity check, after the check is passed, a charging start response frame is returned to the automatic detection device, after the charging start is successfully completed, the charging pile charging controller sends a charging start completion frame instruction to the automatic detection device, and the automatic detection device responds to complete the automatic start of the charging pile.
As an embodiment, when the charging is required to be stopped, the automatic detection device sends a charging stop frame command to the charging pile charging controller, the charging pile charging controller immediately sends back a response message after receiving the command, the charging pile charging controller sends a stopping completion frame command to the automatic detection device after the charging is stopped, and the automatic detection device confirms the response and completes the automatic shutdown of the charging pile.
As an implementation mode, the process of retesting the intelligently screened unqualified items comprises the following steps:
each testing sub-item corresponds to different testing IDs, after testing of a single testing sub-item is finished, ID marking is carried out on the single testing sub-item to be qualified or unqualified, the marked testing sub-item is stored in a database, after all testing sub-items are automatically tested, unqualified testing sub-item IDs are searched out in a traversing mode, and then the searched unqualified sub-items are sequenced and tested item by item.
As an embodiment, the process of intelligent fault diagnosis is:
establishing a fault diagnosis database, wherein each fault code or fault reason or test sub-item name corresponds to one or more processing methods, and the processing methods are sorted from high to low according to the processing success rate;
after the automatic detection device finishes the detection, each test sub-item corresponds to different test IDs respectively, the ID marking of a single test sub-item is qualified or unqualified, and the marked test sub-item is stored in a database.
As an implementation mode, in the intelligent fault diagnosis process, unqualified test sub-item IDs are searched in a traversal mode, information sets formed by test sub-item names, fault codes and fault reason information of the sub-items are screened out, a fault diagnosis database is searched according to the test sub-item names, the fault codes and the fault reasons, search results are sorted from high to low according to processing success rates, and processing methods are sequentially pushed to detection personnel.
As an implementation mode, the method for detecting the instantaneous state change of the output signal of the charging pile is used for acquiring the control time of the interoperation test item, and the process is as follows:
acquiring an output signal of the charging pile and converting the output signal into a low-voltage signal;
comparing the low-voltage signal with a preset voltage threshold value, and judging a high-low level state corresponding to the low-voltage signal;
when the state of the low-level signal changes, the clock signal stores and records the current time microsecond, the control time is determined according to the difference value of different times, and the control time is directly measured.
The invention has the beneficial effects that:
(1) the charging pile full-automatic verification-free detection method is initiated, a related detection system is developed, the charging pile starting and stopping process is controlled through instructions through methods such as heartbeat monitoring and program verification, full-automatic detection and unqualified test item screening retesting of the charging pile are achieved, the detection efficiency is improved, and the problems of complex detection operation, long detection time and inaccurate result caused by slow identity recognition and misjudgment of a detection device in the charging pile detection process are solved.
(2) The defect diagnosis technology for the charging pile is provided, a defect diagnosis library is established, a defect diagnosis method is pushed out in a traversing mode, the working efficiency of operation, maintenance and overhaul of the charging pile is improved, and the problems that the technical requirements on personnel are high, manual analysis is difficult, and defect points are difficult to determine are solved.
(3) The transient state change detection method for the output signals of the charging pile is designed, a transient capture time sequence card is developed, accurate measurement of the response time of the charging pile is achieved, the test function of an automatic detection system is enhanced, the detection operation flow is reduced, and the operation and maintenance detection efficiency is improved.
Detailed Description
The invention is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
Referring to fig. 1, the charging pile automatic detection system of the present embodiment is composed of a charging pile TCU simulation module, an industrial control display module, an interconnection and intercommunication detection module, and a fault diagnosis module.
The charging pile TCU simulation module is in communication with the charging pile and used for simulating the start, stop and return to the initial charging of the TCU automatic control charging pile, collecting the relevant information of the charging pile and uploading the information to the industrial control display module.
Specifically, fill electric pile TCU analog module and be connected with filling electric pile through CAN communication (fill electric pile this moment and need break off with TCU's CAN communication).
In specific implementation, the interconnection and intercommunication detection module is connected with the charging pile through the charging gun and used for simulating an interoperation test project to test the charging pile.
The interconnection and intercommunication detection module is connected with the charging pile through the charging gun, can simulate interoperation test items to test when replacing an electric automobile, does not need to carry devices such as an oscilloscope and a wave recorder, is internally integrated with a time sequence card, measures test items such as control time by capturing a rising edge and a falling edge of a voltage signal, uploads a test result to the industrial control display module, and does not need to carry external devices such as the oscilloscope and the wave recorder.
In specific implementation, the industrial control display module is used for being responsible for starting a detection process, displaying a detection process and stopping the detection process, receiving and automatically summarizing the charging pile related information uploaded by the charging pile TCU simulation module and the test result uploaded by the interconnection detection module, and generating a current detection database.
The industrial control display module is responsible for starting a detection process, displaying a detection process and stopping the detection process, collecting information such as charging pile alarms and faults uploaded by the charging pile TCU simulation module, collecting test results uploaded by the interconnection detection module, automatically summarizing the information to generate a database for the detection, and simultaneously automatically generating a detection report (the format of the detection report supports different formats such as PDF and WORD) and a detection result two-dimensional code. The detection result can be checked through the database of the detection device, the detection results in PDF, WORD and other formats can be checked, the two-dimensional code can be scanned through the mobile phone APP, and the detection result can also be checked through the platform.
The process of automatically generating the detection report is shown in fig. 5: since the report data amount is large, operations such as data extraction, processing, and insertion are performed in the following manner in order to increase the report generation speed.
Creating a data cache file, extracting all data related to the current report in the database, and storing the data in the cache file according to a corresponding format, so that the database retrieval frequency is reduced;
the data cache file is an excel file generated according to the configuration file related to the report, the method fully utilizes the excel related functions, and when the original data in the database is stored in the cache file, the excel processes the original data according to a function or a formula, so that the process of processing the data by a program is omitted, and the time of processing the data is reduced.
The data cache file also comprises bookmark information corresponding to the report template, the bookmarks are in one-to-one correspondence with the report data, and the processed data can be directly inserted into the report file according to the bookmarks without retrieving the report, so that the flexibility of the report template is increased, and the data insertion time is reduced.
In specific implementation, the fault diagnosis module is used for pushing a fault diagnosis scheme and guiding a detector to change corresponding components in the charging pile for retesting according to a currently detected database.
In this embodiment, the detection method of the automatic detection system for the charging pile includes:
simulating a TCU by using a charging pile TCU simulation module to automatically control the charging pile to start, stop and return to the initial charging state, and carrying out full-automatic charging pile starting and stopping detection;
the industrial control display module is used for generating a database of current detection according to the charging pile alarm and fault information and the test result uploaded by the interconnection and intercommunication detection module, and the fault diagnosis module is used for carrying out intelligent fault diagnosis and intelligent screening on the charging piles to carry out retesting on unqualified items;
the interconnection and intercommunication detection module is connected with the charging pile through the charging gun, the mutual operation test item is simulated to test the charging pile, and the mutual operation test item control time is carried out simultaneously.
As shown in fig. 2, the implementation scheme of the full-automatic start-stop charging pile detection of the automatic charging pile detection system is as follows:
the method comprises the steps of firstly, conducting heartbeat monitoring between a charging pile TCU simulation module and a charging pile charging controller after power-on, conducting version verification after communication, sending a new version verification code by a heuristic method, determining a new version number if corresponding success is achieved, sending an old version verification code if corresponding failure is achieved, identifying the old version number if corresponding failure is achieved, and failing to verify success.
And the second step is to check the state of the charging pile in a monitoring mode, wherein the state comprises five parts of standby, work completion, fault and alarm. Only under the standby state, the side can start filling electric pile, need wait to pull out the gun under work, the work completion state and wait for standby state. And prompting manual repair of the charging pile under the fault and alarm states.
In a standby state, the intelligent automatic detection device sends a charging starting frame to the charging controller of the charging pile when the charging is required to be started; and the charging controller of the charging pile receives the message and then performs data validity check, and after the check is passed, the charging controller sends back a charging starting response frame to the intelligent automatic detection device. After the charging start is successfully completed (the output high-voltage contactor is closed), the charging controller of the charging pile sends a charging start completion frame instruction to the intelligent automatic detection device, and the intelligent automatic detection device responds to complete the automatic start of the charging pile. The charging controller of the charging pile is arranged in the charging pile; the output high-voltage contactor is a switch for controlling the current and the voltage of a main loop of the charging pile inside the charging pile and is controlled by a charging pile charging controller.
And fourthly, the intelligent automatic detection device sends a charging stop frame command to the charging pile charging controller when the charging is required to be stopped, the charging controller immediately sends back a response message after receiving the command, the charging controller sends a stop completion frame command to the intelligent automatic detection device after the charging is stopped (the output high-voltage contactor is disconnected), and the intelligent automatic detection device performs response confirmation to complete the automatic stop of the charging pile. Wherein, output high voltage contactor is inside filling electric pile, is the switch of control charging electric pile major loop electric current, voltage, by filling electric pile charge controller control.
And finally, the intelligent automatic detection device simulates a gun pulling state by disconnecting the guide voltage, so that the charging pile is recovered to a standby state, and the test of the next test sub item can be carried out.
Fill electric pile automatic check out system intelligent screening nonconforming project retest implementation scheme:
the intelligent screening unqualified project retest refers to that each test sub-item corresponds to different test IDs (a1, a2, a 3. cndot. cndot.), after the single test sub-item is tested, the program can mark the ID of the single test sub-item to be qualified (T) and unqualified (F), the unqualified test sub-item refers to that one of dozens of test data in the single sub-item is unqualified, the marked test data is stored in a database, after all the test sub-items are automatically tested, the ID of the (F) test sub-item is searched out in a traversal mode, and then the searched (F) sub-items are sequenced (ab2, ab4, ab 5. cndot.) and tested item by item.
After the testing of a single testing sub-item is finished, if the judgment (ab2) is equal to (T), the result of the sub-item ID (ab2) replaces the last testing sub-item ID (a 2). If the result is judged to be (F) AND (a2) andd (ab2) ═ phi, (ab2) overwrites the last test sub-item ID (a2) with the present sub-item ID (ab 2). If (ab2) · (F) AND (a2) ≠ d (ab2) ≠ phi, then the test is continued, AND when (ab · 2) · (ac · 2) · phi OR (ac · 2) · T) is reached, the sub-item ID (ac · 2) will overwrite the last sub-item ID (ab · 2) of the test, AND after each sub-item is tested circularly AND repeatedly in sequence, the sub-items are stored in the database for final storage.
As shown in fig. 3, the implementation scheme of intelligent fault diagnosis of the automatic detection system of the charging pile is as follows:
firstly, establishing a fault diagnosis library through experience and national network charging pile fault codes and classification standards, wherein each fault code or fault reason or test sub-item name corresponds to one or more processing methods, and the processing methods are sorted from high to low according to the processing success rate.
Specifically, the fault code or the fault reason or the test sub-item name corresponds to one or more processing methods, for example, the fault code has n suggested processing methods, the number of occurrences T of the current fault code needs to be counted, the number of successes T1 in the processing method 1, the number of successes T2 in the processing method 2, the number of successes T3 in the processing method 3, and the number of successes Tn in the processing method n are adopted. (T1. Tn/T) 100% are sorted from large to small, respectively.
Secondly, after the intelligent automatic detection device finishes the detection, each test sub-item respectively corresponds to different test IDs (a1, a2, a 3. cndot. cndot.), the program can carry out ID marking on a single test sub-item to be qualified (T) and unqualified (F), and the test data and the result ID marks of all the test sub-items can be stored in the database. And (F) searching out the ID of the test sub-item in a traversal mode, screening out information such as the name of the test sub-item, the fault code, the fault reason and the like of the sub-item to form an information set, searching the fault diagnosis database according to the name of the test sub-item, the fault code and the fault reason, sequencing the search results from high to low according to the processing success rate, and sequentially pushing the processing method to detection personnel.
The detection personnel overhaul according to the push processing method, the purpose is strong, the positioning is gradually accurate from fuzzy, the results are input into the intelligent detection device no matter success or failure, the intelligent detection device stores the results into the database according to the processing success and failure in a classified manner, meanwhile, the success rate of the processing method is counted, and the processing method can be output according to the sequence from high to low.
The intelligent detection device can also upload the detection result database to the platform to call for help from the platform, and request the platform to analyze the result, so that the intercommunication between the detection result and the platform and the fault diagnosis and analysis are really realized, and the operation and maintenance in the whole process are realized. The platform processing mode is the same as that of the device, but the data size is large, and the accuracy is higher.
The realization scheme of generating patterns and checking diversified modes is realized for the detection result of the charging pile automatic detection system:
the detection data is stored in a database form, a plurality of WORD report templates are established, the data in the database is called in a bookmark form and is printed in the WORD report templates, and detection reports in various formats such as WORD and PDF are output by means of a WORD function. The detection result generates a two-dimensional code in a binary form, and the code can be scanned through a mobile phone for checking. And uploading the detection database to the platform through an intelligent automatic detection device 4G or WiFi interface, and automatically generating a report by the platform.
As shown in fig. 4, the implementation scheme of interoperation test item control time of the charging pile automatic detection system is as follows:
signals such as output voltage, current and guide voltage of the charging pile are collected and converted into low-voltage signals through the AC-DC and DC-DC modules or the DC-DC modules, and when the low-voltage signals are smaller than a first preset threshold (for example, 0.5V, which can be adjusted according to different impedances according to experience setting), the low-voltage signals are low-level signals, and low and digital states are output to be '0'. When the low voltage signal is greater than or equal to a second preset threshold (for example, 2.5V, which can be set according to experience and adjusted according to different impedances), the low voltage signal is a high level signal, and a high digital state "1" is output.
When the state changes from '0' to '1', the clock signal stores and records the current-time microsecond, when the state changes from '1' to '0', the clock signal stores and records the current-time microsecond, the time T0 & Tn is respectively recorded, the control time is determined according to the difference value of different times, the control time can be directly measured, and external equipment such as an oscilloscope, a wave recorder and the like does not need to be carried.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.