Fault detection method, device, equipment and storage medium

By receiving the charging gun signal and using the PWM wave duty cycle to determine the fault type, the problem of poor communication between the AC charging gun and the entire vehicle is solved, real-time monitoring and accurate identification of faults are achieved.

CN116853064BActive Publication Date: 2025-08-15SAIC GM WULING AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310594121.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2025-08-15
Estimated Expiration
2043-05-24

AI Technical Summary

Technical Problem

The AC charging gun cannot communicate with the entire vehicle in real time, resulting in failures that cannot be monitored or viewed in real time, making it difficult to quickly lock the cause of the failure.

Method used

By receiving the specified signal sent by the charging gun, timing and determining the fault type based on the PWM wave duty cycle, and uploading it to the entire vehicle communication bus.

Benefits of technology

Real-time monitoring of the charging process and real-time upload of faults, facilitate fault backtracking, and improve the accuracy and processing efficiency of fault identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116853064B_ABST
    Figure CN116853064B_ABST
Patent Text Reader

Abstract

The present application discloses a fault detection method, apparatus, device and storage medium for detecting and recording faults during the charging process, so as to facilitate monitoring and backtracking of the faults. Determine whether a first designated signal sent by the charging gun is received, and start timing; if it is determined that the duration of receiving the first designated signal reaches a first preset duration, determine the type of fault based on the duty cycle of the PWM wave sent by the charging gun; and upload the fault type to the vehicle communication bus. In the present application, whether a fault occurs during the charging process is determined by the duration of receiving the first designated signal, thereby achieving real-time monitoring of the charging process. After determining that a fault occurs, the fault type is determined by the duty cycle of the PWM wave and uploaded to the vehicle communication bus, completing the real-time uploading of the fault, which facilitates backtracking of the fault.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a fault detection method, device, equipment and storage medium. Background Art

[0002] With the rapid development and popularization of new energy vehicles, AC charging has become a crucial part of the vehicle user experience, and users are increasingly demanding and paying attention to it. In related technologies, the AC charging system for electric vehicles consists of an AC charging gun, an onboard charger, a battery management system (BMS), and a vehicle control unit (VCU). The onboard charger, BMS, and VCU on the vehicle side can communicate via the Controller Area Network (CAN). However, the AC charging gun, which connects to the AC charging socket on the vehicle side, lacks a CAN communication interface and cannot communicate with the entire vehicle in real time.

[0003] If a fault occurs during AC charging, the AC charging gun usually indicates the fault through light language. However, for recoverable faults, the cause of the fault cannot be confirmed after the fault is restored, and it is impossible to monitor or review it in real time through the big data platform, making it difficult to quickly identify the cause of the fault. Summary of the Invention

[0004] In view of this, the present application provides a fault detection method, apparatus, device and storage medium for detecting and recording faults during the charging process, so as to facilitate monitoring and backtracking of the faults.

[0005] In a first aspect, an embodiment of the present application provides a fault detection method, the method comprising:

[0006] Determine that the first designated signal sent by the charging gun is received and start timing;

[0007] If it is determined that the duration of receiving the first designated signal reaches a first preset duration, determining the fault type based on the duty cycle of the pulse width modulation circuit PWM wave received from the charging gun;

[0008] The fault type is uploaded to the vehicle communication bus.

[0009] In this application, whether a fault occurs during the charging process is determined by the duration of receiving the first specified signal, thereby realizing real-time monitoring of the charging process. After determining that a fault has occurred, the fault type is determined by the PWM wave duty cycle and uploaded to the vehicle communication bus, completing the real-time uploading of the fault and facilitating backtracing of the fault.

[0010] In some possible embodiments, after determining that the duration of receiving the first designated signal reaches a first preset duration, the method further includes:

[0011] Setting the status of the charging device factory configuration signal to a fault state, wherein the fault state of the charging device factory configuration signal indicates that a fault exists during the charging process;

[0012] The fault status is uploaded to the vehicle communication bus.

[0013] In this application, a secondary fault check is achieved by setting the same factory configuration signal of the charging equipment to ensure the accuracy of fault identification.

[0014] In some possible embodiments, determining the fault type based on the duty cycle of the pulse width modulation circuit PWM wave received from the charging gun includes:

[0015] The fault type corresponding to the PWM is determined based on the PWM wave duty cycle and a preset fault mapping relationship.

[0016] In this application, the fault type is determined through a preset fault mapping relationship, which enables accurate identification of the fault and facilitates accurate handling of the fault.

[0017] In some possible embodiments, the method further includes:

[0018] If the second designated signal is received, the state of the charging device's factory configuration signal is set to an initial state, wherein the initial state of the charging device's factory configuration signal indicates that there is no fault during the charging process;

[0019] The initial state is uploaded to the vehicle communication bus.

[0020] In some possible embodiments, the method further includes:

[0021] If it is determined that the duty cycle of the PWM wave sent by the charging gun is equal to the preset reset value, the state of the charging device factory configuration signal is set to the initial state. The initial state of the charging device factory configuration signal indicates that there is no fault during the charging process;

[0022] The initial state is uploaded to the vehicle communication bus.

[0023] In this application, by setting the charging equipment to the same factory configuration signal, the normal communication bus can timely understand the current charging status.

[0024] In some possible embodiments, after uploading the fault type to the vehicle communication bus, the method further includes:

[0025] Determine prompt information corresponding to the fault type;

[0026] The prompt information is uploaded to the vehicle communication bus.

[0027] In this application, prompt information is set to facilitate users to promptly understand the conditions that occur during the charging process and solve them in a timely manner, ensuring the smooth progress of the charging process.

[0028] In some possible embodiments, the method further includes:

[0029] Determine the timestamp when the first designated signal sent by the charging gun is received;

[0030] Using the timestamp as the timestamp corresponding to the fault type;

[0031] Record the timestamp corresponding to the fault type;

[0032] Upload the timestamp corresponding to the fault type to the vehicle communication bus.

[0033] In this application, by uploading the timestamp corresponding to the fault type, users can easily understand the time when the fault occurred.

[0034] In a second aspect, an embodiment of the present application provides a fault detection device, the device comprising:

[0035] A designated signal receiving module, configured to determine receipt of a first designated signal sent by the charging gun and start timing;

[0036] a fault determination module, configured to determine a fault type based on a duty cycle of a pulse width modulation circuit PWM wave received from the charging gun if it is determined that the duration of receiving the first designated signal reaches a first preset duration;

[0037] The uploading module is used to upload the fault type to the vehicle communication bus.

[0038] In some possible embodiments, after determining that the duration of receiving the first designated signal reaches a first preset duration, the fault determination module is further configured to:

[0039] Setting the status of the charging device factory configuration signal to a fault state, wherein the fault state of the charging device factory configuration signal indicates that a fault exists during the charging process;

[0040] The fault status is uploaded to the vehicle communication bus.

[0041] In some possible embodiments, when the fault determination module determines the fault type based on the duty cycle of the pulse width modulation circuit PWM wave received from the charging gun, it is specifically configured to:

[0042] The fault type corresponding to the PWM is determined based on the PWM wave duty cycle and a preset fault mapping relationship.

[0043] In some possible embodiments, the fault determination module is further configured to:

[0044] If the second designated signal is received, the state of the charging device's factory configuration signal is set to an initial state, wherein the initial state of the charging device's factory configuration signal indicates that there is no fault during the charging process;

[0045] The initial state is uploaded to the vehicle communication bus.

[0046] In some possible embodiments, the fault determination module is further configured to:

[0047] If it is determined that the duty cycle of the PWM wave sent by the charging gun is equal to the preset reset value, the state of the charging device factory configuration signal is set to the initial state. The initial state of the charging device factory configuration signal indicates that there is no fault during the charging process;

[0048] The initial state is uploaded to the vehicle communication bus.

[0049] In some possible embodiments, after uploading the fault type to the vehicle communication bus, the uploading module is further configured to:

[0050] Determine prompt information corresponding to the fault type;

[0051] The prompt information is uploaded to the vehicle communication bus.

[0052] In some possible embodiments, the fault determination module is further configured to:

[0053] Determine the timestamp when the first designated signal sent by the charging gun is received;

[0054] Using the timestamp as the timestamp corresponding to the fault type;

[0055] Record the timestamp corresponding to the fault type;

[0056] Upload the timestamp corresponding to the fault type to the vehicle communication bus.

[0057] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the methods provided in the embodiment of the first aspect of the present application.

[0058] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.

[0059] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0061] Figure 1 A schematic diagram of an application scenario of a fault detection method provided in an embodiment of the present application;

[0062] Figure 2 A flowchart of a fault detection method provided in an embodiment of the present application;

[0063] Figure 3 A schematic diagram of a flow chart for determining a fault state in a fault detection method provided in an embodiment of the present application;

[0064] Figure 4 A schematic diagram of a flow chart of adjusting the factory configuration signal status of a charging device in a fault detection method provided in an embodiment of the present application;

[0065] Figure 5 Another flowchart of adjusting the same-factory configuration signal status of a charging device according to a fault detection method provided in an embodiment of the present application;

[0066] Figure 6 A schematic diagram of a fault mapping relationship table of a fault detection method provided in an embodiment of the present application;

[0067] Figure 7Another schematic diagram of a fault mapping relationship table of a fault detection method provided in an embodiment of the present application;

[0068] Figure 8 A schematic diagram showing prompt information of a fault detection method provided in an embodiment of the present application;

[0069] Figure 9 A schematic diagram of a flow chart for determining a timestamp in a fault detection method provided in an embodiment of the present application;

[0070] Figure 10 A schematic diagram of the hardware interaction process of a fault detection method provided in an embodiment of the present application;

[0071] Figure 11 A schematic diagram of a device for a fault detection method provided in an embodiment of the present application;

[0072] Figure 12 A schematic diagram of an electronic device for a fault detection method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0074] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0075] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0076] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.

[0077] First, the technology mentioned in this application is used to explain:

[0078] Pulse Width Modulation (PWM): This circuit uses a microprocessor's digital pulse output signal to control parameters such as power or speed of a circuit or device by varying the pulse width. The duty cycle of a PWM signal is the ratio of the duration of a high-level signal within a cycle to the duration of the entire cycle. In other words, the duty cycle is the ratio of the time a pulse signal is high to the time it is low. For example, a 50% duty cycle means the signal is high for half of the cycle and low for half of the cycle. By adjusting the duty cycle, precise control of a device can be achieved.

[0079] The inventors' research has revealed that with the rapid development and widespread adoption of new energy vehicles, AC charging has become a crucial component of vehicle use, generating increasing user demand and attention. The AC charging system for electric vehicles in related technologies consists of an AC charging gun, an onboard charger, a battery management system (BMS), and a vehicle control unit (VCU). While the onboard charger, BMS, and VCU on the vehicle side can communicate via CAN (Connectivity Control) communication, the AC charging gun and the AC charging socket connected to the vehicle lack a CAN communication interface, preventing real-time communication with the vehicle.

[0080] If a fault occurs during AC charging, the AC charging gun usually indicates the fault through light language. However, for recoverable faults, the cause of the fault cannot be confirmed after the fault is restored, and it is impossible to monitor or review it in real time through the big data platform, making it difficult to quickly identify the cause of the fault.

[0081] In response to the above problems, the embodiments of the present application provide a fault detection method, apparatus, device and storage medium for solving the above problems. The inventive concept of the present application can be summarized as follows: determining that a first designated signal sent by a charging gun is received and starting timing; if it is determined that the duration of receiving the first designated signal reaches a first preset duration, then determining the fault type based on the duty cycle of the PWM wave sent by the received charging gun; uploading the fault type to the vehicle communication bus. In the present application, whether a fault occurs during the charging process is determined by the duration of receiving the first designated signal, thereby realizing real-time monitoring of the charging process. After determining that a fault occurs, the fault type is determined by the duty cycle of the PWM wave and uploaded to the vehicle communication bus, completing the real-time uploading of the fault, which facilitates backtracking of the fault.

[0082] For ease of understanding, a fault detection method provided by an embodiment of the present application is described in detail below with reference to the accompanying drawings:

[0083] like Figure 1 The figure shows an application scenario diagram of a fault detection method in an embodiment of the present application. The figure includes: an on-board charger 10, a charging gun 20, and a vehicle communication bus 30; wherein:

[0084] The on-board charger 10 determines that it has received the first specified signal sent by the charging gun 20 and starts timing; if it is determined that the duration of receiving the first specified signal reaches a first preset duration, the fault type is determined based on the duty cycle of the pulse width modulation circuit PWM wave received from the charging gun 20; the fault type is uploaded to the vehicle communication bus 30.

[0085] The description in this application only details a single on-board charger 10, a charging gun 20, and a vehicle communication bus 30, but those skilled in the art should understand that the on-board charger 10, the charging gun 20, and the vehicle communication bus 30 shown are intended to represent the operation of the on-board charger 10, the charging gun 20, and the vehicle communication bus 30 involved in the technical solution of this application. It does not imply any limitation on the number, type, or location of the on-board charger 10, the charging gun 20, and the vehicle communication bus 30. It should be noted that if additional modules are added to the illustrated environment or individual modules are removed from it, the underlying concepts of the example embodiments of this application will not change. In addition, those skilled in the art will understand that the transmission and reception of the above-mentioned data also need to be implemented through a network.

[0086] It should be noted that the fault detection method proposed in this application is not only applicable to Figure 1 The application scenario shown is also applicable to any device with fault detection requirements.

[0087] like Figure 2 FIG. 1 is a flow chart of a fault detection method provided in an embodiment of the present application, wherein:

[0088] In step 201: it is determined that a first designated signal sent by the charging gun is received, and timing is started.

[0089] In step 202 : if it is determined that the duration of receiving the first designated signal reaches the first preset duration, the fault type is determined based on the duty cycle of the received PWM wave sent by the charging gun.

[0090] In step 203: the fault type is uploaded to the vehicle communication bus.

[0091] In this application, whether a fault occurs during the charging process is determined by the duration of receiving the first specified signal, thereby realizing real-time monitoring of the charging process. After determining that a fault has occurred, the fault type is determined by the PWM wave duty cycle and uploaded to the vehicle communication bus, completing the real-time uploading of the fault and facilitating backtracing of the fault.

[0092] In order to facilitate further understanding of a fault detection method provided in an embodiment of the present application, Figure 2 The steps are described in detail:

[0093] In some possible embodiments, in order to ensure accurate identification of faults generated during the charging process, a secondary verification process is set. The secondary verification process is performed using the charging device's factory-configured signal, and the state of the charging device's factory-configured signal is used to characterize whether there is a fault during the charging process. When there is a fault during the charging process, the on-board charger will set the state of the charging device's factory-configured signal to a fault state. When it is determined that there is no fault during the charging process, the on-board charger will set the state of the charging device's factory-configured signal to an initial state. In specific implementation, the fault state and the initial state can be identified by binary characters, that is, 0 is used to represent the initial state of the charging device's factory-configured signal, and 1 is used to represent the fault state of the charging device's factory-configured signal. After determining that the duration of receiving the first designated signal reaches a first preset duration, the following can be implemented. Figure 3 The steps shown, where:

[0094] In step 301 : the state of the factory-configured signal of the charging device is set to a fault state. The fault state of the factory-configured signal of the charging device indicates that a fault exists during the charging process.

[0095] In step 302: the fault status is uploaded to the vehicle communication bus.

[0096] For example: the first designated signal is a high level of 10.5 volts, and it is determined that the duration of receiving the high level of 10.5 volts has reached 5 seconds, and it is determined that the first preset duration is 5 seconds, then it is determined that the duration of receiving the first designated signal has reached the first preset duration. At this time, the status of the charging device's factory-configured signal is set to a fault state, that is, 1 is used to identify the status of the charging device's factory-configured signal. In order to realize communication between the charging gun and the whole vehicle, after setting the status of the charging device's factory-configured signal to a fault state, the status of the charging device's factory-configured signal needs to be uploaded to the vehicle communication bus.

[0097] In this application, by Figure 3 The steps shown ensure the reliability of subsequent on-board charger fault analysis.

[0098] In other possible embodiments, in order to ensure that the vehicle communication bus can determine the status of the charging process in a timely manner, it is also necessary to implement the following Figure 4 The steps shown, where:

[0099] In step 401: if the second designated signal is received, the state of the charging device factory configuration signal is set to an initial state, and the state of the charging device factory configuration signal being the initial state indicates that there is no fault during the charging process.

[0100] In step 402: the initial state is uploaded to the vehicle communication bus.

[0101] For example, if the second designated signal is a low level of 0.5 volts and a low level of 0.5 volts is received, it is determined that the fault in the charging process has been repaired. At this time, the status of the charging device's factory configuration signal is set to the initial state, that is, 0 is used to identify the status of the charging device's factory configuration signal, and the status of the charging device's factory configuration signal is uploaded to the vehicle communication bus.

[0102] In another possible embodiment, in addition to using Figure 4 In addition to the steps shown, you can also use Figure 5 The steps shown are to adjust the status of the charging device with the factory configuration signal, where:

[0103] In step 501: if it is determined that the duty cycle of the PWM wave sent by the received charging gun is equal to the preset reset value, the state of the charging device's factory configuration signal is set to the initial state. The state of the charging device's factory configuration signal being the initial state indicates that there is no fault during the charging process.

[0104] In step 502: the initial state is uploaded to the vehicle communication bus.

[0105] For example, if the preset reset value is 10% and the duty cycle of the received PWM wave is determined to be 10%, it is determined that the fault in the charging process has been repaired. At this time, the status of the charging device's factory configuration signal is set to the initial state, that is, 0 is used to identify the status of the charging device's factory configuration signal, and the status of the charging device's factory configuration signal is uploaded to the vehicle communication bus.

[0106] Since errors may exist during specific implementation, the preset reset value can be a range. For example, the preset reset value is set to 9%-11%. This method avoids inaccurate recognition of the PWM wave duty cycle caused by errors and also realizes the adjustment of the status of the factory-configured signal of the charging device.

[0107] In some possible embodiments, the fault type is determined based on the duty cycle of the pulse width modulation circuit PWM wave received from the charging gun, which can be specifically implemented as follows: the fault type corresponding to the PWM wave duty cycle and a preset fault mapping relationship PWM is determined.

[0108] For example: The preset fault mapping relationship is as follows: Figure 6 As shown, it is determined that the PWM wave duty cycle is 50%, and the fault type is determined to be over-temperature protection based on the preset fault mapping relationship.

[0109] In specific implementation, since there may be errors, a range can be set for each PWM wave duty cycle in the fault mapping relationship, such as Figure 7 As shown, the problem of inaccurate fault type identification caused by errors can be avoided.

[0110] It should be noted that the specific numerical values given above in this application are only an embodiment and are not specific limitations on the technical solution of this application.

[0111] In some possible embodiments, to facilitate timely user awareness and resolution of faults, after uploading the fault type to the vehicle communication bus, the following steps may be performed: determining a prompt message corresponding to the fault type; and uploading the prompt message to the vehicle communication bus. Upon receiving the prompt message, the vehicle communication bus transmits the prompt message to a terminal device associated with the vehicle, thereby informing the user of the current fault situation.

[0112] For example: Figure 8 As shown, the fault type is determined to be overtemperature protection, and the corresponding prompt message for overtemperature protection is: Temperature is too high, charging has stopped. Then, after receiving the prompt message, the vehicle communication bus sends the prompt message to the terminal device bound to the vehicle.

[0113] In other possible embodiments, in order to ensure that the user knows the time when the fault occurs in time and facilitates the handling of the fault, the following may be implemented: Figure 9 The steps shown, where:

[0114] In step 901: determining the timestamp when the first designated signal sent by the charging gun is received;

[0115] In step 902: the timestamp is used as the timestamp corresponding to the fault type;

[0116] In step 903: record the timestamp corresponding to the fault type;

[0117] In step 904: the timestamp corresponding to the fault type is uploaded to the vehicle communication bus.

[0118] For example, if the timestamp of the first designated signal sent by the charging gun is determined to be 10:00 and the fault type is determined to be over-temperature protection, then 10:00 will be uploaded to the vehicle communication bus, and the user will know that a fault occurred during the charging process at 10:00 due to over-temperature protection.

[0119] In order to facilitate further understanding of a fault detection device provided in an embodiment of the present application, the following describes the interaction process between the charging gun, the on-board charger and the vehicle communication bus. Figure 10 As shown, where:

[0120] In step 1001: the charging gun sends a first designated signal to the on-board charger.

[0121] In step 1002 : the onboard charger receives the first designated signal and starts timing.

[0122] In step 1003: the on-board charger determines that the duration of receiving the first designated signal reaches a first preset duration, and determines the fault type based on the duty cycle of the PWM wave sent by the received charging gun.

[0123] In step 1004: the fault type is uploaded to the vehicle communication bus.

[0124] In step 1005 : the state of the factory-configured signal of the charging device is set to a fault state. The fault state of the factory-configured signal of the charging device indicates that a fault exists during the charging process.

[0125] In step 1006: the fault status is uploaded to the vehicle communication bus.

[0126] In step 1007: determine the prompt information corresponding to the fault type.

[0127] In step 1008: the prompt information is uploaded to the vehicle communication bus.

[0128] In step 1009 : determining the timestamp when the first designated signal sent by the charging gun is received, taking the timestamp as the timestamp corresponding to the fault type, and recording the timestamp corresponding to the fault type.

[0129] In step 1010: the timestamp corresponding to the fault type is uploaded to the vehicle communication bus.

[0130] In step 1011: the vehicle communication bus receives the fault type sent by the on-board charger.

[0131] In step 1012: the vehicle communication bus receives the fault status sent by the on-board charger.

[0132] In step 1013: the vehicle communication bus receives the prompt information sent by the on-board charger.

[0133] In step 1014: the vehicle communication bus receives the timestamp sent by the onboard charger.

[0134] Based on the same inventive concept, the present application also provides a fault detection device 1100, such as Figure 11 As shown, the device includes:

[0135] The designated signal receiving module 1101 is used to determine whether the first designated signal sent by the charging gun has been received and start timing;

[0136] a fault determination module 1102 configured to determine a fault type based on a duty cycle of a pulse width modulation circuit PWM wave received from the charging gun if it is determined that the duration of receiving the first designated signal reaches a first preset duration;

[0137] The uploading module 1103 is used to upload the fault type to the vehicle communication bus.

[0138] In some possible embodiments, after determining that the duration of receiving the first designated signal reaches a first preset duration, the fault determination module 1102 is further configured to:

[0139] Setting the status of the charging device factory configuration signal to a fault state, wherein the fault state of the charging device factory configuration signal indicates that a fault exists during the charging process;

[0140] The fault status is uploaded to the vehicle communication bus.

[0141] In some possible embodiments, when the fault determination module 1102 determines the fault type based on the duty cycle of the pulse width modulation circuit PWM wave received from the charging gun, it is specifically configured to:

[0142] The fault type corresponding to the PWM is determined based on the PWM wave duty cycle and a preset fault mapping relationship.

[0143] In some possible embodiments, the fault determination module 1102 is further configured to:

[0144] If the second designated signal is received, the state of the charging device's factory configuration signal is set to an initial state, wherein the initial state of the charging device's factory configuration signal indicates that there is no fault during the charging process;

[0145] The initial state is uploaded to the vehicle communication bus.

[0146] In some possible embodiments, the fault determination module 1102 is further configured to:

[0147] If it is determined that the duty cycle of the PWM wave sent by the charging gun is equal to the preset reset value, the state of the charging device factory configuration signal is set to the initial state. The initial state of the charging device factory configuration signal indicates that there is no fault during the charging process;

[0148] The initial state is uploaded to the vehicle communication bus.

[0149] In some possible embodiments, after uploading the fault type to the vehicle communication bus, the uploading module 1103 is further configured to:

[0150] Determine prompt information corresponding to the fault type;

[0151] The prompt information is uploaded to the vehicle communication bus.

[0152] In some possible embodiments, the fault determination module 1102 is further configured to:

[0153] Determine the timestamp when the first designated signal sent by the charging gun is received;

[0154] Using the timestamp as the timestamp corresponding to the fault type;

[0155] Record the timestamp corresponding to the fault type;

[0156] Upload the timestamp corresponding to the fault type to the vehicle communication bus.

[0157] Corresponding to the above embodiments, the present application also provides an electronic device. Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 1200 may include: a processor 1201, a memory 1202, and a communication unit 1203. These components communicate via one or more buses. Those skilled in the art will appreciate that the structure of the electronic device shown in the figure does not limit the embodiments of the present invention. It may be a bus structure or a star structure, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0158] The communication unit 1203 is configured to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices, or send user data to other devices.

[0159] The processor 1201 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 1202, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 1201 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0160] The memory 1202 is used to store the execution instructions of the processor 1201. The memory 1202 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0161] When the execution instructions in the memory 1202 are executed by the processor 1201, the electronic device 1200 can execute Figure 7 Some or all of the steps in the illustrated embodiments.

[0162] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program that, when executed, may include some or all of the steps of each embodiment of the calling method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0163] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention or certain portions of the embodiments.

[0164] In this specification, reference can be made to the same or similar parts between the various embodiments. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

Claims

1. A fault detection method, characterized in that: The method comprises: The on-board charger determines that it has received a first designated signal sent by the charging gun and starts timing; wherein the first designated signal is a high-level signal; If it is determined that the duration of receiving the first designated signal reaches a first preset duration, the on-board charger determines the fault type based on the received duty cycle of the pulse width modulation circuit PWM wave sent by the charging gun and a preset fault mapping relationship; and uploads the fault type to the vehicle communication bus; The on-board charger determines the timestamp when the first designated signal sent by the charging gun is received; uses the timestamp as the timestamp corresponding to the fault type; records the timestamp corresponding to the fault type; and uploads the timestamp corresponding to the fault type to the vehicle communication bus; The on-board charger sets the state of the charging device factory configuration signal to a fault state, where the fault state of the charging device factory configuration signal indicates that a fault exists during the charging process; and uploads the fault state to the vehicle communication bus.

2. The method according to claim 1, characterized in that The method further comprises: If a second designated signal is received, the state of the charging device's factory-configured signal is set to an initial state, wherein the initial state of the charging device's factory-configured signal indicates that there is no fault during the charging process; wherein the second designated signal is a low-level signal; The initial state is uploaded to the vehicle communication bus.

3. The method according to claim 1, characterized in that The method further comprises: If it is determined that the duty cycle of the PWM wave sent by the charging gun is equal to the preset reset value, the state of the charging device factory configuration signal is set to the initial state. The initial state of the charging device factory configuration signal indicates that there is no fault during the charging process; The initial state is uploaded to the vehicle communication bus.

4. The method according to claim 1, wherein After uploading the fault type to the vehicle communication bus, the method further includes: Determine prompt information corresponding to the fault type; The prompt information is uploaded to the vehicle communication bus.

5. A fault detection device, characterized in that: The device is used to perform the method according to any one of claims 1 to 4.

6. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Charging fault diagnosis and safety detection system and method of electric vehicle

    CN109450006A

  • Vehicle charging fault detection method, device and equipment, vehicle and storage medium

    CN113771672A