Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
As shown in fig. 1, in an embodiment of the present invention, fig. 1 shows an implementation process of the method for monitoring and diagnosing a health status of a charging pile provided in this embodiment, and a process thereof is detailed as follows:
s101: the method comprises the steps of obtaining first charging data of a charging pile and message data between a charging pile control unit and a charging pile related module, and analyzing the message data to obtain second charging data.
S102: and calculating the second charging data, and determining fault alarm information and basic data in the second charging data.
In this embodiment, the second charging data is classified, and when the second charging data exceeds the normal data range, the second charging data that exceeds the normal data range is determined as the fault warning information, and the second charging data that does not exceed the normal data range is used as the basic data.
S103: storing the first charging data and the second charging data to the external storage medium;
s104: and extracting the first charging data and the second charging data in the external storage medium, and diagnosing the health state of the charging pile according to the first charging data and the second charging data to obtain a diagnosis report.
The main flow body of the embodiment is a charging pile control unit arranged in the charging pile.
In this embodiment, since the control board of the charging pile control unit belongs to the embedded system, the storage space of the system is relatively limited. Therefore, the present embodiment employs the expansion storage medium to store the first charging data and the second charging data. The external storage medium may include, but is not limited to, a U disk, a TF (Trans-flash Card) Card, and an SD (secure Digital Memory Card) Card.
In this embodiment, the first charging data includes a charging operation record of the charging pile control unit, and the second charging data is communication data between the charging pile control unit and other related modules.
In this embodiment, the charging pile control unit performs health state self-diagnosis on the charging pile according to a preset period, and when performing the health state self-diagnosis, first, the first charging data and the second charging data in the external storage medium are extracted, and then, self-diagnosis is performed according to the first charging data and the second charging data, so as to obtain a diagnosis report.
According to the last embodiment, the first charging data and the second charging data are stored through the externally-expanded storage medium in the embodiment, health state diagnosis CAN be carried out on the charging pile according to the first charging data and the second charging data at regular time, faults of the charging pile CAN be found timely and processed, the trouble process that after-sales personnel carry a CAN analyzer to carry out analysis and diagnosis on the data of the charging pile is avoided, therefore, the charging pile maintenance and fault processing efficiency is improved, and safe and stable operation of the charging pile is guaranteed.
In one embodiment, the method for monitoring and diagnosing a health status of a charging pile further includes:
and backing up the first charging data and the fault warning information to a built-in storage unit.
In the embodiment, in consideration of the instability of the external storage medium, the important first charging data and the fault warning information are backed up in the built-in storage unit, so that the situation that important data are lost is avoided.
In an embodiment, a specific implementation flow of S103 in fig. 1 includes:
storing the base data to the external storage medium;
correspondingly, the extracting the first charging data and the second charging data from the external storage medium and performing health state diagnosis on the charging pile according to the first charging data and the second charging data comprises: and extracting fault alarm information and the first charging data of the built-in storage unit and basic data in the external storage medium, and diagnosing the health state of the charging pile according to the first charging data, the fault alarm information and the basic data.
In the present embodiment, the external storage medium may store only the basic data therein, and the first charging data and the fault warning information may be stored in the built-in storage unit.
When the external storage medium stores all the first charging data and the second charging data, the external storage medium comprises a first storage unit, a second storage unit and a third storage unit, wherein the first storage unit stores the first charging data, the second storage unit stores basic data, and the third storage unit stores fault warning information. And the storage space of the second storage unit is larger than the storage space of the third storage unit and the storage space of the first storage unit.
In this embodiment, the storage space of the external storage medium is larger than the storage space of the internal storage unit.
It can be known from the foregoing embodiments that, by the foregoing storage method, the integrity of the message data can be ensured, the diagnosis accuracy of the charging pile can be improved, the security of the data can be ensured, and the loss of important data can be avoided.
In one embodiment, the charging post related modules include a BMS battery management module and a charging module; the first charging data comprises an operation record and a charging record; the basic data includes BMS communication data and charging module communication data.
In this embodiment, the charging pile related modules include a BMS battery management system, a charging module, and a third party monitoring back-end. As shown in fig. 5, fig. 5 shows a structure of a charging pile health status monitoring and diagnosing system 10, which includes a remote diagnosis background 600, a charging pile control unit 100, a storage medium 200, a third party monitoring background 500, a BMS battery management system 300 and a charging module 400, wherein the BMS battery management system 300 communicates with the charging pile control unit 100 through a CAN bus, the third party monitoring background 500 communicates with the charging pile control unit 100 through a TCP/IP communication protocol, the charging module 400 is connected with the charging pile control unit 100 through the CAN bus, and the remote diagnosis background 600 communicates with the charging pile control unit 100 through the TCP/IP communication protocol.
Based on the system structure, the internet of things technology is adopted, the packet data capturing is executed through the charging pile control unit 100, and the packet data capturing operation comprises the following steps: the CAN data of the BMS battery management system 300, the TCP data of the charging pile and the third-party monitoring background 500 and the CAN data of the charging module 400 are executed. The message data comprises CAN message data of the charging pile and a BMS battery management system, CAN message data of the charging pile and a charging module, and TCP/IP communication data of the charging pile and a third party monitoring background. And analyzing the communication data to obtain second charging data.
In an embodiment, as shown in fig. 2, fig. 2 shows another implementation flow of the method for monitoring and diagnosing a health status of a charging pile according to an embodiment of the present invention, which includes:
s201: if the fault warning information does not contain first communication warning information, storing the first charging data and the second charging data to the external storage medium, wherein the first communication warning information is warning information generated when communication detection data of the charging pile control unit and the external storage medium are abnormal;
s202: if the first communication warning information exists in the fault warning information, the first communication warning information is sent to a display screen of the charging pile, so that the display screen displays the first communication warning information.
In this embodiment, in order to ensure normal storage of the first charging data and the second charging data, it is necessary to monitor whether the external storage medium is in place in real time.
Specifically, the second charging data of this embodiment further includes communication detection data between the charging pile control unit and the external storage medium, where the communication detection data is data for detecting a communication state between the charging pile control unit and the external storage medium before the charging pile control unit stores the first charging data and the second charging data in the external storage medium. When the communication detection data are operated, whether the communication detection data are abnormal or not is determined, if the communication detection data are abnormal, first communication alarm information is generated, the first communication alarm information is used as fault alarm information, and the first communication alarm information is sent to a display screen of the charging pile, so that a user is prompted that the connection between the charging pile and the externally-expanded storage medium is abnormal; and if the abnormality does not exist, the first charging data and the second charging data are sent to the external storage medium, so that the external storage medium stores the first charging data and the second charging data.
In one embodiment, the diagnosis report comprises fault alarm information and a fault alarm reason, wherein the fault alarm information comprises an alarm type and an alarm time; as shown in fig. 3, fig. 3 shows a specific implementation flow of S104 in fig. 1, and the process thereof is detailed as follows:
s301: acquiring an alarm type and alarm time corresponding to first fault alarm information, wherein the first fault alarm information is any fault alarm information;
s302: searching subclass basic data corresponding to the alarm type of the first fault alarm information in the basic data, and taking the subclass basic data in a preset time period before and after the alarm time of the first fault alarm information as reference data corresponding to the first fault alarm information;
s303: and diagnosing the health state of the charging pile according to the first fault warning information and the corresponding reference data, and determining a fault warning reason corresponding to the first fault warning information.
In this embodiment, the charging control unit may comprehensively analyze and diagnose the alarm reason of the fault alarm information in the second charging data according to the first charging data and the second charging data.
Specifically, assuming that the alarm type of the first fault alarm information is charging voltage data, the charging voltage data of a period of time before and after the alarm time is searched from the charging voltage data in the same preset period to serve as reference data, and then the fault alarm reason of the first fault alarm information is determined according to the reference data, the first fault alarm information and a first preset rule, wherein the first preset rule is a rule determined according to expert experience.
Further, the first preset rule may be:
1) determining a first fault curve formed by the first fault warning information and the reference data;
2) determining a sub-data curve of each fault alarm reason;
3) and if the similarity between the sub-data curve of a certain fault alarm reason and the first fault curve is greater than a preset similarity threshold value, determining that the fault alarm reason is the fault alarm reason of the first fault alarm information.
According to the above embodiments, when self-diagnosis of the health state of the charging pile is performed at each time, fault warning information can be given, and the corresponding fault warning reason can be determined, so that the fault of the charging pile can be quickly positioned, a worker can timely and quickly complete maintenance processing of the charging pile, safe and stable operation of the charging pile is guaranteed, and use experience of a user on the charging pile is optimized.
In one embodiment, the diagnostic report includes fault prediction information; as shown in fig. 4, fig. 4 shows a specific implementation flow of S104 in fig. 1, and the process thereof is detailed as follows:
s401: if the first sub-class basic data exceeds the corresponding critical range, generating fault prediction information corresponding to the first sub-class basic data; the first sub-class basic data is at least one sub-class data in the basic data;
s402: if the number of times of the supercritical events of the second subclass of basic data exceeds a preset number threshold value within a preset detection time period, generating fault prediction information corresponding to the second subclass of basic data; the supercritical event is an event that the subclass basic data exceeds the corresponding critical range, and the second subclass basic data is any subclass data in the basic data.
In this embodiment, the fault may also be predicted according to the first charging alarm data and the second charging alarm data.
In this embodiment, since at least one subclass basic data is abnormal before a certain fault occurs in the charging pile, the occurrence of the corresponding fault can be predicted by the at least one subclass basic data having the abnormality according to the above phenomenon.
Specifically, when the basic data does not exceed the normal data range but exceeds the critical range, the existence of the corresponding failure risk can be predicted through the correlation between the data. Assuming that the a-subclass basic data exceeds the corresponding critical range, the B-subclass basic data exceeds the corresponding critical range, and the C-subclass basic data exceeds the corresponding critical range, the risk of the corresponding fault can be predicted according to the relation between the subclass basic data.
In this embodiment, when it is detected that a certain subclass of basic data exceeds the critical range within the preset detection time period and the number of times of exceeding the critical range is large, the risk of corresponding failure can be predicted as well, for example, when it is detected that the charging voltage data exceeds the voltage critical range for a plurality of times, the failure of the charging module can be predicted.
In this embodiment, when a certain subclass of basic data exceeds the critical range, the subclass of basic data before and after the time point when the subclass of basic data exceeds the critical range is obtained, a data development trend is determined according to the data before and after the subclass of basic data exceeding the critical range, and the risk of the fault corresponding to the subclass of basic data is predicted according to the data development trend of the subclass of basic data.
According to the last embodiment, the fault of the charging pile is predicted through basic data, and the potential fault of the charging pile can be found in time, so that the charging pile is maintained in time, and the safe and stable operation of the charging pile is further guaranteed.
In an embodiment, the present embodiment provides another implementation flow of the method for monitoring and diagnosing a health status of a charging pile, and the process thereof is detailed as follows:
sending the diagnosis report to a display screen of the charging pile so that the display screen of the charging pile displays the diagnosis report;
and/or sending the diagnosis report to a remote diagnosis background so that the remote diagnosis background displays the diagnosis report.
In this embodiment, after the diagnosis report is generated, the diagnosis report may be displayed on a display screen of the charging pile, when the diagnosis report is abnormal, the diagnosis report may be displayed at a preset time point (idle time preset by a user), when the diagnosis report has fault warning information, the fault warning may be immediately displayed through a pop-up window, and when the user clicks the fault warning, the detailed diagnosis report may be viewed.
In this embodiment, the diagnostic report may also be sent to the remote diagnostic background through a TCP/IP communication protocol, so that the remote diagnostic background displays the diagnostic report, specifically, the method of sending the diagnostic report to the remote diagnostic background may include two methods:
the first method comprises the following steps: and when the fault alarm information and the fault prediction information exist in the diagnosis report, sending the diagnosis report to a remote diagnosis background.
And the second method comprises the following steps: and each time the diagnosis report is generated, immediately sending the diagnosis report to a remote diagnosis background.
In this embodiment, for the second method, after the remote diagnosis background obtains the diagnosis report, if the diagnosis report does not include the fault warning information or the fault prediction information, the diagnosis report is directly stored, and if the diagnosis report includes the fault warning information or the fault prediction information, the diagnosis report is directly displayed, so that the staff can know the health state of the charging pile in time. Meanwhile, the charging pile can be further optimized and researched through a diagnosis report, and research and development time of research and development personnel is greatly saved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a charging pile health status monitoring and diagnosing apparatus 100 according to an embodiment of the present invention, which includes:
the charging data acquisition module 110 is configured to acquire first charging data of the charging pile and message data between the charging pile control unit and a module related to the charging pile, and analyze the message data to obtain second charging data;
the data classification module 120 is configured to perform an operation on the second charging data, and determine fault alarm information and basic data in the second charging data;
a data storage module 130, configured to store the first charging data and the second charging data to the external storage medium;
the diagnosis module 140 is configured to extract the first charging data and the second charging data in the external storage medium, and perform health status diagnosis on the charging pile according to the first charging data and the second charging data to obtain a diagnosis report.
According to the embodiment, the first charging data and the second charging data are stored in the storage medium which is externally expanded, health state diagnosis CAN be performed on the charging pile according to the first charging data and the second charging data in the storage medium which is externally expanded regularly, faults of the charging pile CAN be found timely and processed, the complex process that after-sales personnel need to carry a CAN analyzer to analyze and diagnose the data of the charging pile is avoided, the maintenance and fault processing efficiency of the charging pile is improved, and safe and stable operation of the charging pile is guaranteed.
In one embodiment, the charging pile health monitoring and diagnosing apparatus 100 further includes: and backing up the first charging data and the fault warning information to a built-in storage unit.
In one embodiment, the data storage module 130 in FIG. 6 includes: storing the base data to the external storage medium;
accordingly, the diagnostic module comprises: and extracting fault alarm information and the first charging data of the built-in storage unit and basic data in the external storage medium, and diagnosing the health state of the charging pile according to the first charging data, the fault alarm information and the basic data.
In one embodiment, the charging post related modules include a BMS battery management module and a charging module; the first charging data comprises an operation record and a charging record; the basic data includes BMS communication data and charging module communication data.
In one embodiment, the charging pile health monitoring and diagnosing apparatus 100 further includes:
the communication detection module is used for storing the first charging data and the second charging data to the external storage medium if first communication warning information does not exist in the fault warning information, wherein the first communication warning information is warning information generated when communication detection data of the charging pile control unit and the external storage medium are abnormal;
and the communication warning information display module is used for sending the first communication warning information to a display screen of the charging pile if the first communication warning information exists in the fault warning information, so that the display screen displays the first communication warning information.
In one embodiment, the diagnosis report comprises fault alarm information and a fault alarm reason, wherein the fault alarm information comprises an alarm type and an alarm time; the diagnostic module 140 in fig. 6 includes:
the alarm detail acquiring unit is used for acquiring an alarm type and alarm time corresponding to first fault alarm information, wherein the first fault alarm information is any fault alarm information;
a reference data obtaining unit, configured to search the basic data for subclass basic data corresponding to the alarm type of the first fault alarm information, and use the subclass basic data in a preset time period before and after the alarm time of the first fault alarm information as reference data corresponding to the first fault alarm information;
and the alarm reason acquisition unit is used for carrying out health state diagnosis on the charging pile according to the first fault alarm information and the corresponding reference data and determining a fault alarm reason corresponding to the first fault alarm information.
In one embodiment, the diagnostic report includes fault prediction information; the diagnostic module 140 in fig. 6 includes:
the first fault prediction unit is used for generating fault prediction information corresponding to the first subclass of basic data if the first subclass of basic data exceeds the corresponding critical range; the first sub-class basic data is at least one sub-class data in the basic data;
the second failure prediction unit is used for generating failure prediction information corresponding to the second subclass basic data if the frequency of the supercritical events of the second subclass basic data exceeds a preset number threshold value within a preset detection time period; the supercritical event is an event that the subclass basic data exceeds the corresponding critical range, and the second subclass basic data is any subclass data in the basic data.
In one embodiment, the charging pile health monitoring and diagnosing apparatus 100 further includes:
the local display unit is used for sending the diagnosis report to a display screen of the charging pile so that the display screen of the charging pile displays the diagnosis report;
and/or the remote display unit is used for sending the diagnosis report to a remote diagnosis background so as to enable the remote diagnosis background to display the diagnosis report.
Fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 7, the terminal device 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72 stored in said memory 71 and executable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the various method embodiments described above, such as the steps 101-104 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 110 to 140 shown in fig. 6.
The computer program 72 may be divided into one or more modules/units, which are stored in the memory 71 and executed by the processor 70 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 72 in the terminal device 7. The terminal device 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of a terminal device 7 and does not constitute a limitation of the terminal device 7 and may comprise more or less components than shown, or some components may be combined, or different components, for example the terminal device may further comprise input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or a memory of the terminal device 7. The memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used for storing the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.