Disclosure of Invention
In order to solve the problems, the invention provides the automatic detection system and the method for the charging pile, which can realize the full flow of one-key detection, do not need the card swiping and starting operation of the charging equipment, reduce the detection time and reduce the labor cost.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
the first aspect of 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 terminal control unit) simulation module is communicated with the charging pile and is used for simulating the TCU to automatically control the starting, stopping and returning to the charging initial state of the charging pile, collecting the warning and fault information of the charging pile and uploading the warning and fault information to the industrial control display module;
the interconnection and intercommunication detection module is connected with the charging pile through the charging gun and is used for simulating an interoperation test item to test the charging pile;
the industrial control display module is responsible for starting the detection flow, displaying the detection flow and stopping the detection flow, receiving and automatically summarizing the charging pile alarm and fault information and the test result uploaded by the interconnection detection module, and generating a current detection database;
the fault diagnosis module is used for pushing a fault diagnosis scheme and guiding a 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 the automatic detection system for the charging pile.
In one or more embodiments, a detection method of a charging pile automatic detection system includes:
simulating the starting, stopping and returning to the charging initial stage of the automatic control charging pile by using a TCU (thyristor controlled unit) simulation module of the charging pile, and detecting the full-automatic starting and stopping charging pile;
generating a current detection database by utilizing the industrial control display module according to the warning and fault information of the charging pile and the test result uploaded by the interconnection detection module, and performing intelligent fault diagnosis and intelligent screening of unqualified projects retest on the charging pile by utilizing the fault diagnosis module;
and the interconnection detection module is connected with the charging pile through the charging gun, the charging pile is tested by simulating an interoperation test item, and meanwhile, the control time test of the interoperation test item is carried out.
Before full-automatic start-stop charging pile detection, the method comprises the steps of powering up to carry out heartbeat monitoring between a charging pile TCU simulation module and a charging pile charging controller, carrying out version verification after communication, and checking the state of the charging pile.
As one embodiment, the state of the charging pile includes standby, work completion, malfunction and warning.
As one embodiment, in the standby state, the automatic detection device sends a "charge start frame" to the charging pile charging controller when charging needs to be started; and after the charging pile charging controller receives the message, carrying out data validity check, and after the check passes, returning a charging start response frame to the automatic detection device, and after the charging pile charging controller successfully completes the charging start, sending a charging start completion frame instruction to the automatic detection device, and enabling the automatic detection device to answer to complete the automatic start of the charging pile.
As one embodiment, when the automatic detection device needs to stop charging, a "charging stop frame" instruction is sent to the charging pile charging controller, the charging pile charging controller returns a response message immediately after receiving the instruction, and after the charging pile charging controller finishes stopping charging, the automatic detection device sends a "stopping completion frame" instruction to the automatic detection device, and the automatic detection device confirms the response and completes automatic stopping of the charging pile.
As an implementation mode, the intelligent screening unqualified project retesting process comprises the following steps:
each test sub-item corresponds to different test IDs, the single test sub-item is tested, ID marking is carried out on the single test sub-item to be qualified or unqualified, the marked single test sub-item is stored in a database, after all the test sub-items are automatically tested, the unqualified test sub-item ID is searched out in a traversing mode, and then the searched unqualified sub-items are sequenced and tested item by item.
As an implementation mode, the intelligent fault diagnosis process is as follows:
establishing a fault diagnosis database, wherein each fault code or fault cause or test sub-item name corresponds to one or more processing methods, and the processing methods are sequenced from high to low according to the processing success rate;
and after the automatic detection device finishes the detection, each test sub-item corresponds to different test IDs, ID marking is carried out on the single test sub-item to be qualified or unqualified, and the marked test sub-item is stored in a database.
In the intelligent fault diagnosis process, the disqualified test sub item ID is searched in a traversing mode, the test sub item name, the fault code and the fault reason information of the sub item are screened to form an information set, a fault diagnosis database is searched according to the test sub item name, the fault code and the fault reason, and the search results are sequenced from high to low according to the processing success rate and are sequentially pushed to detection personnel.
As an implementation manner, a method for detecting instantaneous state change of output signals of charging piles is adopted to obtain control time of an interoperation test item, and the method comprises the following steps:
collecting output signals of the charging piles and converting the output signals into low-voltage signals;
comparing the low-voltage signal with a preset voltage threshold value, and judging the 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 subtle level at the current moment, and the control time is determined by the difference value of different moments, so that the control time is directly measured.
The beneficial effects of the invention are as follows:
(1) The method has the advantages that the related detection system is developed, the start and stop processes of the charging pile are controlled by instructions through heartbeat monitoring, program checking and other methods, full-automatic detection of the charging pile and screening and retesting of unqualified test items are realized, the detection efficiency is improved, and the problems of complex detection operation, long detection time and inaccurate results caused by slow identification and misjudgment of a detection device in the detection process of the charging pile are solved.
(2) The defect diagnosis technology of the charging pile is provided, a defect diagnosis library is constructed, 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 method for detecting the transient state change of the output signal 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 realized, 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 will be further described with reference to the drawings and examples.
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the invention. 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 present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Referring to fig. 1, the automatic detection system for the charging pile according to the embodiment comprises a charging pile TCU simulation module, an industrial control display module, an interconnection detection module, and a fault diagnosis module.
The charging pile TCU simulation module is communicated with the charging pile and used for simulating the starting, stopping and returning to the charging initial state of the TCU automatic control charging pile, collecting charging pile related information and uploading the charging pile related information to the industrial control display module.
Specifically, the charging pile TCU simulation module is connected with the charging pile through CAN communication (the charging pile needs to disconnect the CAN communication with the TCU at the moment).
In a specific implementation, the interconnection detection module is connected with the charging pile through the charging gun and used for simulating an interoperation test item 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 while replacing an electric automobile, does not need to carry equipment such as an oscilloscope and a oscillograph, is internally integrated with a time sequence card, measures test items such as control time by capturing rising edges and falling edges of voltage signals, and uploads test results to the industrial control display module without carrying external equipment such as the oscilloscope and the oscillograph.
In a specific implementation, the industrial control display module is used for starting a detection flow, displaying the detection flow and stopping the detection flow, 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 database for current detection.
The industrial control display module is responsible for starting a detection flow, displaying a detection process, stopping the detection flow, collecting information such as a charging pile alarm and a fault uploaded by the charging pile TCU simulation module, collecting a test result uploaded by the interconnection detection module, automatically summarizing the information to generate a database for the detection, automatically generating a detection report (different formats such as PDF and WORD are supported by the detection report format) and a two-dimensional code of the detection result, uploading the detection report to the detection platform, and generating a report by the platform. The detection result can be checked through a detection device database, and the detection results in the formats of PDF, WORD and the like can be checked through a mobile phone APP scanning two-dimensional code, and also can be checked through a platform.
The process of automatically generating the detection report is as shown in fig. 5: since the report data amount is large, operations such as extraction, processing, and insertion of data are performed by the following methods in order to increase the report generation speed.
Creating a data cache file, fully extracting data related to the report in the database, and storing the data in the cache file according to a corresponding format, so that the frequency of database retrieval 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 function related to the excel, when the original data in the database is stored in the cache file, the excel processes the original data according to the function or the formula, the process of data processing by a program is omitted, and the time of data processing is reduced.
The data cache file also contains bookmark information corresponding to the report templates, and the bookmarks and the report data are in one-to-one correspondence, so that the processed data can be directly inserted into the report files according to the bookmarks without searching the report, the flexibility of the report templates is improved, and the data insertion time is reduced.
In a specific implementation, the fault diagnosis module is used for pushing a fault diagnosis scheme and guiding a detection personnel to change corresponding components in the charging pile for retesting according to the currently detected database.
In this embodiment, the detection method of the automatic detection system for the charging pile includes:
simulating the starting, stopping and returning to the charging initial stage of the automatic control charging pile by using a TCU (thyristor controlled unit) simulation module of the charging pile, and detecting the full-automatic starting and stopping charging pile;
generating a current detection database by utilizing the industrial control display module according to the warning and fault information of the charging pile and the test result uploaded by the interconnection detection module, and performing intelligent fault diagnosis and intelligent screening of unqualified projects retest on the charging pile by utilizing the fault diagnosis module;
and the interconnection detection module is connected with the charging pile through the charging gun, the charging pile is tested by simulating an interoperation test item, and meanwhile, the control time of the interoperation test item is controlled.
As shown in fig. 2, the full-automatic start-stop charging pile detection implementation scheme of the charging pile automatic detection system comprises:
and in the first step, after power-up, heartbeat monitoring is carried out between the TCU simulation module of the charging pile and the charging controller of the charging pile, version verification is carried out after communication, a new version verification code is sent by using a heuristic method, if the corresponding success is carried out, a new version number is determined, if the corresponding failure is carried out, an old version verification code is sent, the corresponding success is carried out, the old version number is identified, the corresponding failure is carried out, and the verification is not successful.
And secondly, checking the state of the charging pile in a monitoring mode, wherein the state comprises five parts of standby, work completion, fault and alarm. The charging pile can be started only in the standby state, and the standby state is waited after the gun is pulled out in the working and working completion states. And under the fault and alarm state, the manual repair of the charging pile is required.
In the third step of standby state, when the intelligent automatic detection device needs to start charging, a charging start frame is sent to the charging pile charging controller; and after the charging pile charging controller receives the message, carrying out data validity check, and returning a charging start response frame to the intelligent automatic detection device after the check is passed. After the charging pile charging controller successfully completes charging start (the output high-voltage contactor is closed), a charging start completion frame command is sent to the intelligent automatic detection device, and the intelligent automatic detection device responds to complete automatic start of the charging pile. The charging pile charging controller is arranged inside the charging pile; the output high-voltage contactor is a switch for controlling the current and the voltage of the main loop of the charging pile in the charging pile and is controlled by the charging pile charging controller.
And fourthly, when the charging is required to be stopped, the intelligent automatic detection device sends a charging stopping frame command to the charging pile charging controller, the charging controller immediately returns a response message after receiving the command, and after the charging stopping is finished (the output high-voltage contactor is disconnected), the charging controller sends a stopping finishing frame command to the intelligent automatic detection device, and the intelligent automatic detection device confirms the response and finishes the automatic stopping of the charging pile. The output high-voltage contactor is a switch for controlling the current and the voltage of the main loop of the charging pile in the charging pile and is controlled by the charging pile charging controller.
And finally, the intelligent automatic detection device simulates a gun pulling state by disconnecting the guide voltage, so that the charging pile is restored to a standby state, and the next test sub-item can be tested.
The intelligent screening disqualified project retest implementation scheme of the automatic charging pile detection system comprises the following steps:
the intelligent screening of unqualified items retest means that each test sub item corresponds to different test IDs (a 1, a2 and a 3), the program marks the single test sub item with an ID (T) and an unqualified test sub item (F), the unqualified test sub item means that one item of tens of test data in the single test sub item is unqualified, the marked test sub item is stored in a database, after all test sub items are automatically tested, the ID of the test sub item (F) is searched out in a traversing mode, and then the searched sub items (F) are sequenced (ab 2, ab4 and ab 5) and tested item by item.
After the test of the single test sub-item is finished, if the judgment (ab 2) = (T), the sub-item ID (ab 2) result is replaced by the last test sub-item ID (a 2). If (ab 2) = (F) AND (a 2) ≡ab 2) =Φ, the test sub-item ID (a 2) of the last time will be overwritten by the sub-item ID (ab 2). If the judgment of (ab 2) = (F) AND (a 2) ≡ (ab 2) +.phi), continuing the test, AND when (ab··2) ≡ (ac·2) = phi OR (ac··2) = (T), covering the last tested sub item ID (ab·2) by the sub item ID (ac·2), AND storing the sub items in a database for final storage after each sub item is repeatedly tested in turn.
As shown in fig. 3, the intelligent fault diagnosis implementation scheme of the automatic detection system of the charging pile comprises the following steps:
firstly, a fault diagnosis library is established through experience and national network 'charging pile fault codes and classification standards', each fault code or fault cause or test sub-item name corresponds to one or more processing methods, and the processing methods are ordered according to the processing success rate from high to low.
Specifically, the fault code or the fault cause or the test sub-item name corresponds to one or more processing methods, such as fault codes, and n processing methods are suggested, and the occurrence times T of the fault code are counted currently, the success times T1 of the processing method 1 are adopted, the success times T2 of the processing method 2 are adopted, the success times T3 of the processing method 3 are adopted, and the success times Tn of the processing method n are adopted. (T1.Tn-T) ×100% respectively ordered from big to small.
Secondly, after the intelligent automatic detection device finishes the detection, each test sub-item corresponds to different test IDs (a 1, a2 and a 3), the program can carry out ID marking on the single test sub-item to be qualified (T) and disqualified (F), and the test data and the result ID marking of each test sub-item can be stored in a database. And (F) searching out the ID of the test sub item in a traversing way, screening out the 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 a fault diagnosis database according to the name of the test sub item, the fault code and the fault reason, sorting the search results from high to low according to the success rate of processing, and sequentially pushing the processing method to detection personnel.
The detection personnel overhauls according to the push processing method, the purpose is strong, the positioning is gradually and accurately from fuzzy, the result is input to the intelligent detection device no matter success or failure, the intelligent detection device stores the result into the database according to the classification of processing success and failure, meanwhile, the success rate of the processing method is counted, and the processing method can be output according to the order of the success rate from high to low.
The intelligent detection device can also upload the detection result database to the platform to ask the platform for help, request the analysis result of the platform, really achieve the intercommunication of the detection result and the platform, diagnose and analyze faults, and realize the whole process operation and maintenance. The platform processing mode is the same as the device, only the data volume is large, and the accuracy is higher.
The detection result of the automatic detection system of the charging pile realizes the realization of the diversified realization scheme of the generation style and the checking mode:
the detection data is stored in a database form, a plurality of WORD report templates are established, the data of the database is called in a bookmark form and printed in the WORD report templates, and detection reports in a plurality of formats such as WORD, PDF and the like are output by means of a WORD function. The detection result generates a two-dimensional code in a binary form, and the two-dimensional code can be checked through mobile phone code scanning. And uploading the detection database to the platform through the intelligent automatic detection device 4G or the WiFi interface, and automatically generating a report by the platform.
As shown in fig. 4, the implementation scheme of the interoperation test item control time of the automatic detection system of the charging pile comprises the following steps:
signals such as output voltage, current, guide voltage and the like of the charging pile are collected, the signals are converted into low-voltage signals through a signal conversion AC-DC and DC-DC module or a DC-DC module, and the low-voltage signals are low-level signals when the low-voltage signals are smaller than a first preset threshold (for example, 0.5V, can be adjusted according to different impedance according to experience setting), and the low-voltage signals are low in output and have a digital state of 0. The low voltage signal is a high level signal when the low voltage signal is greater than or equal to a second preset threshold (for example, 2.5V, which can be adjusted according to different impedances according to experience), and the high voltage signal is output to be in a digital state of '1'.
When the state is changed from 0 to 1, the clock signal storage records the current time subtle level, and when the state is changed from 1 to 0, the clock signal storage records the current time subtle level, respectively records the time T0.Tn, and the control time is determined by the difference value of different time, so that the control time can be directly measured without carrying external devices such as oscilloscopes, oscilloscopes and the like.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.