A new energy power supply controller fault detection method and system
By building a standard driving parameter database and a real-time fault detection mechanism, the problem that electric bicycles cannot detect faults independently is solved, and the independent fault detection and alarm functions of electric bicycles are realized, avoiding the increase in losses caused by faults.
Patent Information
- Application Number
- CN202211608038.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-12-14
AI Technical Summary
Existing electric bicycles cannot independently perform fault detection, resulting in the gradual expansion of the fault and causing greater losses to users.
By obtaining historical driving data, building a standard driving parameter database, obtaining real-time gate value and speed parameters, collecting real-time driving data, querying the standard driving parameter database, determining whether there is a fault, and issuing alarm and prompt information when there is a fault.
The independent fault detection of electric bicycles is realized, which avoids the increase in losses caused by failures, and improves user experience and vehicle reliability.
Smart Images

Figure CN115840437B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electric bicycle control systems, and in particular relates to a fault detection method and system for a new energy power supply controller. Background Art
[0002] An electric bicycle is a vehicle that uses a battery as an auxiliary energy source and is based on an ordinary bicycle and is equipped with a motor, controller, battery, handlebars, brake handles and other operating components and a display instrument system.
[0003] Current electric bicycles usually do not have fault detection technology. Therefore, when an electric bicycle fails, it is difficult for users to directly discover the problem. The problem can only be discovered when the electric bicycle cannot be driven or drives abnormally.
[0004] In the prior art, electric bicycles are unable to perform fault detection autonomously, which can easily lead to the gradual expansion of faults and cause greater losses to users. Summary of the invention
[0005] The purpose of the embodiment of the present invention is to provide a fault detection method for a new energy power supply controller, aiming to solve the problem in the prior art that electric bicycles are unable to perform fault detection autonomously, which easily leads to the gradual expansion of faults and causes greater losses to users.
[0006] The embodiment of the present invention is implemented as follows: a fault detection method for a new energy power supply controller, the method comprising:
[0007] Obtain historical driving data and build a standard driving parameter database based on the historical driving data;
[0008] Acquire a real-time switch value and a real-time speed parameter, and determine whether fault detection is required according to the real-time switch value and the real-time speed parameter, wherein the real-time speed parameter at least includes an acceleration value and a speed value;
[0009] Collect real-time driving data, query the standard driving parameter database based on the real-time driving data, and obtain the standard parameter values;
[0010] Determine whether there is a fault based on the real-time throttle value, real-time speed parameter and standard parameter value, and issue an alarm and prompt message when a fault occurs.
[0011] Preferably, the step of obtaining the real-time switch value and the real-time speed parameter, and determining whether fault detection is required according to the real-time switch value and the real-time speed parameter, specifically includes:
[0012] Acquire a real-time switch value and a real-time speed parameter, and generate a switch value curve and a speed parameter curve, wherein the speed parameter curve includes a speed curve and an acceleration curve;
[0013] Extract the switch value point set from the switch value curve according to the preset extraction gradient, and query the speed and acceleration at the corresponding moment;
[0014] Determine whether the corresponding acceleration at the same throttle value and speed is within a preset range. If it exceeds the preset range, it is determined to perform fault detection.
[0015] Preferably, the step of collecting real-time driving data, querying a standard driving parameter database based on the real-time driving data, and obtaining standard parameter values specifically includes:
[0016] Collect real-time driving data, extract load data, road slope data, battery power data and brake data, and construct real-time driving data vector;
[0017] Query the standard driving parameter database according to the real-time driving data, and retrieve the standard driving data corresponding to the real-time driving data;
[0018] A standard driving data vector is constructed based on the retrieved standard driving data to obtain standard parameter values.
[0019] Preferably, the step of determining whether there is a fault according to the real-time throttle value, the real-time speed parameter and the standard parameter value, and giving an alarm and issuing a prompt message when a fault exists specifically includes:
[0020] According to the real-time switch value, determine whether the corresponding real-time speed parameter exceeds the standard parameter value. If it exceeds, it is determined that there is a fault;
[0021] Calculate the cosine similarity between the real-time driving data vector and the standard driving data vector to determine whether there is a fault;
[0022] When a fault occurs, a prompt message is issued and an alarm is sounded.
[0023] Preferably, the prompt information is a voice prompt or a flashing light prompt.
[0024] Preferably, when a fault occurs, a speed limit value is set for the vehicle.
[0025] Another object of an embodiment of the present invention is to provide a fault detection system for a new energy power supply controller, the system comprising:
[0026] A database construction module is used to obtain historical driving data and build a standard driving parameter database based on the historical driving data;
[0027] A fault detection module, used to obtain a real-time switch value and a real-time speed parameter, and determine whether fault detection is required according to the real-time switch value and the real-time speed parameter, wherein the real-time speed parameter at least includes an acceleration value and a speed value;
[0028] A data acquisition module is used to collect real-time driving data, query the standard driving parameter database based on the real-time driving data, and obtain the standard parameter value;
[0029] The fault determination module is used to determine whether there is a fault based on the real-time switch value, real-time speed parameter and standard parameter value, and to issue an alarm and a prompt message when a fault exists.
[0030] Preferably, the fault detection module includes:
[0031] A curve generating unit, used for acquiring a real-time switch value and a real-time speed parameter, and generating a switch value curve and a speed parameter curve, wherein the speed parameter curve includes a speed curve and an acceleration curve;
[0032] A data extraction unit, used to extract a set of switch value points from the switch value curve according to a preset extraction gradient, and query the speed and acceleration at the corresponding moment;
[0033] The abnormality determination unit is used to determine whether the corresponding acceleration under the same throttle value and speed is within a preset range. If it exceeds the preset range, it is determined to perform fault detection.
[0034] Preferably, the data acquisition module includes:
[0035] The first vector generation unit is used to collect real-time driving data, extract load data, road slope data, battery power data and brake data, and construct a real-time driving data vector;
[0036] A data query unit, used to query a standard driving parameter database according to real-time driving data, and retrieve standard driving data corresponding to the real-time driving data;
[0037] The second vector generating unit is used to construct a standard driving data vector according to the retrieved standard driving data to obtain a standard parameter value.
[0038] Preferably, the fault determination module includes:
[0039] A first determination unit is used to determine whether the corresponding real-time speed parameter exceeds the standard parameter value according to the real-time switch value, and if so, determine that there is a fault;
[0040] A second determination unit is used to calculate the cosine similarity between the real-time driving data vector and the standard driving data vector to determine whether there is a fault;
[0041] The fault warning unit is used to issue prompt information and alarm when a fault occurs.
[0042] A fault detection method for a new energy power supply controller provided in an embodiment of the present invention collects real-time throttle values and obtains corresponding speed and acceleration, thereby preliminarily determining whether there is any abnormality in the vehicle. When an abnormality exists, more driving data is further obtained for further determination, thereby achieving the purpose of fault identification and avoiding the problem of increased losses caused by faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A flowchart of a fault detection method for a new energy power supply controller provided by an embodiment of the present invention;
[0044] Figure 2 A flowchart of the steps of obtaining a real-time switch value and a real-time speed parameter, and determining whether fault detection is required according to the real-time switch value and the real-time speed parameter provided by an embodiment of the present invention;
[0045] Figure 3 A flowchart of the steps of collecting real-time driving data, querying a standard driving parameter database based on the real-time driving data, and obtaining standard parameter values provided by an embodiment of the present invention;
[0046] Figure 4 A flowchart of the steps of determining whether there is a fault according to the real-time switch value, the real-time speed parameter and the standard parameter value, and issuing an alarm and prompt information when a fault exists, provided in an embodiment of the present invention;
[0047] Figure 5 An architecture diagram of a fault detection system for a new energy power supply controller provided by an embodiment of the present invention;
[0048] Figure 6 An architectural diagram of a fault detection module provided by an embodiment of the present invention;
[0049] Figure 7 An architecture diagram of a data acquisition module provided by an embodiment of the present invention;
[0050] Figure 8 An architectural diagram of a fault determination module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0052] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0053] like Figure 1 FIG. 1 is a flowchart of a fault detection method for a new energy power supply controller provided by an embodiment of the present invention, the method comprising:
[0054] S100, acquiring historical driving data, and constructing a standard driving parameter database based on the historical driving data.
[0055] In this step, historical driving data is obtained, and the historical driving data includes the vehicle's speed, acceleration, load, road slope, throttle value, battery power, and braking force, etc. The above historical driving data comes from vehicles that are not faulty. Based on the above massive historical driving data, the acceleration parameters corresponding to the throttle values under different vehicle conditions are determined, and a standard driving parameter database is constructed accordingly.
[0056] S200, obtaining a real-time switch value and a real-time speed parameter, and determining whether fault detection is required according to the real-time switch value and the real-time speed parameter, wherein the real-time speed parameter at least includes an acceleration value and a speed value.
[0057] In this step, the real-time switch value and the real-time speed parameter are obtained. During the real-time driving process, the real-time switch value and the real-time speed parameter are recorded in real time to obtain the switch value curve and the real-time speed curve. The real-time speed includes the real-time acceleration and the real-time speed. Then, the corresponding speed curve and acceleration curve can be obtained. In the switch value curve, the speed curve and the acceleration curve, the horizontal coordinates are all time. Therefore, under the same horizontal coordinate, the switch value, speed value and acceleration value obtained are matched. The corresponding switch value, speed value and acceleration value are extracted according to the preset switch gradient. Specifically, it is determined that the switch value within the preset time length The maximum change in value P is used to extract the switch value with a gradient of 10%. Within the preset time length, the lowest switch value is Q, then Q+10%P*n is extracted, where n is the number of extractions. If it is extracted ten times, then n is an integer between 0 and 10, including 0 and 10, and then the corresponding acceleration value and speed value are obtained. Under different speed conditions, the same switch value corresponds to different accelerations. Therefore, the speed and switch value are used as independent variables to determine whether the acceleration is within the preset range. If it exceeds the preset range, it is determined that fault detection is required. The preset range is determined based on the speed and switch value, which is stored in the standard driving parameter database.
[0058] S300, collecting real-time driving data, querying a standard driving parameter database based on the real-time driving data, and obtaining standard parameter values.
[0059] In this step, real-time driving data is collected. The real-time driving data also includes the vehicle's speed, acceleration, load, road slope, throttle value, battery power, and braking force. Specifically, if the ambient temperature and other conditions are taken into consideration in the historical driving data, the real-time driving data at this time also includes the above parameters. The value of the acceleration parameter corresponding to different throttle values under the current conditions is determined according to the real-time driving data, which is the standard parameter value. Specifically, in the standard driving parameter database, different conditional parameters can be used as a parameter vector to store the parameter vector, such as (speed, acceleration, load, road slope, throttle value, battery power, braking force), where the specific values of speed, acceleration, etc. are each an independent element, which together constitute an independent parameter vector.
[0060] S400, determining whether there is a fault based on the real-time throttle value, the real-time speed parameter and the standard parameter value, and giving an alarm and a prompt message when a fault exists.
[0061] In this step, whether there is a fault is determined based on the real-time throttle value, the real-time speed parameter and the standard parameter value. Specifically, a fault determination is performed based on the real-time throttle value, the real-time speed parameter and the standard parameter value. If the real-time speed parameter corresponding to the real-time throttle value cannot match the standard parameter value, then it is regarded as a fault, and a corresponding real-time driving data vector is constructed with the real-time driving data, which is compared with the parameter vector in the standard driving parameter database to determine whether there is a match. If there is no match, it is regarded as a fault, an alarm is issued, and a prompt message is issued, the prompt message is a voice prompt or a flashing light prompt; when a fault occurs, a speed limit value is set for the vehicle to restrict the vehicle from traveling at high speed, such as limiting the vehicle to travel at only 15 kilometers per hour.
[0062] like Figure 2 As shown, as a preferred embodiment of the present invention, the step of obtaining the real-time switch value and the real-time speed parameter, and determining whether fault detection is required according to the real-time switch value and the real-time speed parameter, specifically includes:
[0063] S201, acquiring a real-time switch value and a real-time speed parameter, and generating a switch value curve and a speed parameter curve, wherein the speed parameter curve includes a speed curve and an acceleration curve.
[0064] In this step, the real-time switch value and real-time speed parameter are obtained. The real-time switch value is collected in real time. The real-time speed parameter is also the speed value and acceleration value collected synchronously when collecting the switch value. The acceleration value can be measured by a three-axis acceleration sensor, and the speed value is detected by a wheel speed sensor. The records are made in chronological order, and a two-dimensional coordinate system is constructed to obtain the corresponding curve. Specifically, the switch value curve and the speed parameter curve can be drawn in the same coordinate system to facilitate data extraction.
[0065] S202, extracting a switch value point set from the switch value curve according to a preset extraction gradient, and querying the speed and acceleration at the corresponding moment.
[0066] In this step, a gate value point set is extracted from the gate value curve according to a preset extraction gradient. Specifically, the maximum change in the gate value and the minimum gate value during this period are determined according to the set extraction, thereby determining multiple gate value point sets, which contain multiple gate values with different values, and querying the speed and acceleration at the corresponding moment.
[0067] S203, determining whether the acceleration corresponding to the same throttle value and speed is within a preset range, and if it exceeds the preset range, determining to perform fault detection.
[0068] In this step, it is determined whether the corresponding acceleration at the same ignition switch value and speed is within the preset range. First, the standard driving parameter database is queried to determine the range of acceleration corresponding to the ignition switch value at the current speed. This range is the preset range. If it exceeds the preset range, it is determined to perform fault detection. On the contrary, if it does not exceed the preset range, no fault detection is required.
[0069] like Figure 3 As shown, as a preferred embodiment of the present invention, the step of collecting real-time driving data, querying a standard driving parameter database based on the real-time driving data, and obtaining standard parameter values specifically includes:
[0070] S301, collect real-time driving data, extract load data, road slope data, battery power data and brake data, and construct a real-time driving data vector.
[0071] In this step, real-time driving data is collected. In addition to the throttle value, speed and acceleration collected initially, the real-time driving data needs to further analyze the vehicle status. Specifically, it is necessary to collect the vehicle's load, road slope, throttle value, battery power and braking force, etc., so as to construct a real-time driving data vector with an independent data item as an element.
[0072] S302, querying a standard driving parameter database according to the real-time driving data, and retrieving standard driving data corresponding to the real-time driving data.
[0073] In this step, the standard driving parameter database is queried based on the real-time driving data. Specifically, the corresponding environmental condition parameters recorded in the standard driving parameter database are extracted based on the current throttle value, speed and acceleration, which are the standard driving data.
[0074] S303: construct a standard driving data vector according to the retrieved standard driving data to obtain a standard parameter value.
[0075] In this step, a standard driving data vector is constructed based on the obtained standard driving data. Similarly, each data item is used as an element to construct the standard driving data vector. At the same time, the maximum range of acceleration corresponding to the current speed and throttle value, that is, the standard parameter value, is also determined.
[0076] like Figure 4 As shown, as a preferred embodiment of the present invention, the step of determining whether there is a fault according to the real-time switch value, the real-time speed parameter and the standard parameter value, and issuing an alarm and a prompt message when a fault exists specifically includes:
[0077] S401, judging whether the corresponding real-time speed parameter exceeds the standard parameter value according to the real-time switch value, and if so, judging that there is a fault.
[0078] In this step, it is determined whether the corresponding real-time speed parameter exceeds the standard parameter value based on the real-time throttle value. When it exceeds the standard parameter value, it means that it exceeds the maximum limit. At this time, it is directly determined that the vehicle has a fault.
[0079] S402, calculating the cosine similarity between the real-time driving data vector and the standard driving data vector to determine whether there is a fault.
[0080] S403, when there is a fault, a prompt message is issued and an alarm is sounded.
[0081] In this step, the cosine similarity of the real-time driving data vector and the standard driving data vector is calculated. After retrieval, a large number of standard driving data vectors are obtained. Since the vector has directionality, the angle between the real-time driving data vector and the standard driving data vector is directly calculated, and the calculated angle value is compared with the threshold. If the threshold is exceeded, it is determined that a fault exists, a prompt message is issued, and an alarm is sounded.
[0082] like Figure 5 As shown, a fault detection system for a new energy power supply controller provided by an embodiment of the present invention includes:
[0083] The database construction module 100 is used to obtain historical driving data and construct a standard driving parameter database based on the historical driving data.
[0084] In this system, the database construction module 100 obtains historical driving data, which includes the vehicle's speed, acceleration, load, road slope, throttle value, battery power, and braking force, etc. The above historical driving data comes from vehicles without faults. Based on the above massive historical driving data, the acceleration parameters corresponding to the throttle values under different vehicle conditions are determined, and a standard driving parameter database is constructed accordingly.
[0085] The fault detection module 200 is used to obtain the real-time switch value and the real-time speed parameter, and determine whether fault detection is required according to the real-time switch value and the real-time speed parameter, wherein the real-time speed parameter at least includes an acceleration value and a speed value.
[0086] In this system, the fault detection module 200 obtains the real-time switch value and the real-time speed parameter. During the real-time driving process, the real-time switch value and the real-time speed parameter are recorded in real time to obtain the switch value curve and the real-time speed curve. The real-time speed includes the real-time acceleration and the real-time speed. Then, the corresponding speed curve and acceleration curve can be obtained. In the switch value curve, the speed curve and the acceleration curve, the horizontal coordinates are all time. Therefore, under the same horizontal coordinate, the switch value, speed value and acceleration value obtained are matched. The corresponding switch value, speed value and acceleration value are extracted according to the preset switch gradient. Specifically, it is determined at the preset time. The maximum change P of the switch value within the length is used to extract the switch value with a gradient of 10%. Within the preset time length, the lowest switch value is Q, then Q+10%P*n is extracted, where n is the number of extractions. If it is extracted ten times, then n is an integer between 0-10, including 0 and 10, and then the corresponding acceleration value and speed value are obtained. Under different speed conditions, the same switch value corresponds to different accelerations. Therefore, the speed and switch value are used as independent variables to determine whether the acceleration is within the preset range. If it exceeds the preset range, it is determined that fault detection is required. The preset range is determined based on the speed and switch value, which is stored in the standard driving parameter database.
[0087] The data collection module 300 is used to collect real-time driving data, query the standard driving parameter database based on the real-time driving data, and obtain standard parameter values.
[0088] In this system, the data acquisition module 300 collects real-time driving data, which also includes the vehicle's speed, acceleration, load, road slope, throttle value, battery power, and braking force. Specifically, if the ambient temperature and other conditions are taken into consideration in the historical driving data, the real-time driving data at this time also includes the above parameters. The value of the acceleration parameter corresponding to different throttle values under the current conditions is determined according to the real-time driving data, which is the standard parameter value. Specifically, in the standard driving parameter database, different conditional parameters can be used as a parameter vector to store the parameter vector, such as (speed, acceleration, load, road slope, throttle value, battery power, braking force), where the specific values of speed, acceleration, etc. are each an independent element, which together constitute an independent parameter vector.
[0089] The fault determination module 400 is used to determine whether a fault exists according to the real-time throttle value, the real-time speed parameter and the standard parameter value, and to give an alarm and a prompt message when a fault exists.
[0090] In the present system, the fault determination module 400 determines whether a fault exists according to the real-time throttle value, the real-time speed parameter and the standard parameter value. Specifically, a fault determination is performed according to the real-time throttle value, the real-time speed parameter and the standard parameter value. If the real-time speed parameter corresponding to the real-time throttle value cannot match the standard parameter value, it is regarded as a fault, and a corresponding real-time driving data vector is constructed with the real-time driving data, which is compared with the parameter vector in the standard driving parameter database to determine whether there is a match. If there is no match, it is regarded as a fault, an alarm is issued, and a prompt message is issued, the prompt message being a voice prompt or a flashing light prompt. When a fault occurs, a speed limit value is set for the vehicle to restrict the vehicle from driving at high speed, such as restricting the vehicle to travel at only 15 kilometers per hour.
[0091] like Figure 6 As shown, as a preferred embodiment of the present invention, the fault detection module 200 includes:
[0092] The curve generating unit 201 is used to obtain the real-time switch value and the real-time speed parameter, and generate a switch value curve and a speed parameter curve, wherein the speed parameter curve includes a speed curve and an acceleration curve.
[0093] In this module, the curve generating unit 201 obtains the real-time switch value and the real-time speed parameter. The real-time switch value is collected in real time. The real-time speed parameter is also the speed value and the acceleration value collected synchronously when collecting the switch value. The acceleration value can be measured by a three-axis acceleration sensor, and the speed value is detected by a wheel speed sensor. The records are made in chronological order, and a two-dimensional coordinate system is constructed to obtain the corresponding curve. Specifically, the switch value curve and the speed parameter curve can be drawn in the same coordinate system to facilitate data extraction.
[0094] The data extraction unit 202 is used to extract a set of switch value points from the switch value curve according to a preset extraction gradient, and query the speed and acceleration at the corresponding moment.
[0095] In this module, the data extraction unit 202 extracts a switch value point set from the switch value curve according to a preset extraction gradient. Specifically, the maximum change of the switch value and the minimum switch value during this period are determined according to the set extraction, thereby determining multiple switch value point sets, the switch value point sets containing multiple switch values with different numerical values, and querying the speed and acceleration at the corresponding moment.
[0096] The abnormality determination unit 203 is used to determine whether the acceleration corresponding to the same throttle value and speed is within a preset range. If it exceeds the preset range, it is determined to perform fault detection.
[0097] In this module, the abnormality determination unit 203 determines whether the corresponding acceleration at the same ignition switch value and speed is within a preset range. First, the standard driving parameter database is queried to determine the range of acceleration corresponding to the ignition switch value at the current speed. This range is the preset range. If it exceeds the preset range, it is determined to perform fault detection. On the contrary, if it does not exceed the preset range, no fault detection is required.
[0098] like Figure 7 As shown, as a preferred embodiment of the present invention, the data acquisition module 300 includes:
[0099] The first vector generating unit 301 is used to collect real-time driving data, extract load data, road slope data, battery power data and brake data, and construct a real-time driving data vector.
[0100] In this module, the first vector generation unit 301 collects real-time driving data. In addition to the throttle value, speed and acceleration collected initially, the real-time driving data needs to further analyze the vehicle status. Specifically, it is necessary to collect the vehicle's load, road slope, throttle value, battery power and braking force, etc., so as to construct a real-time driving data vector with an independent data item as an element.
[0101] The data query unit 302 is used to query the standard driving parameter database according to the real-time driving data, and retrieve the standard driving data corresponding to the real-time driving data.
[0102] In this module, the data query unit 302 queries the standard driving parameter database based on the real-time driving data. Specifically, the corresponding environmental condition parameters recorded in the standard driving parameter database are extracted according to the current throttle value, speed and acceleration, which are the standard driving data.
[0103] The second vector generating unit 303 is used to construct a standard driving data vector according to the retrieved standard driving data to obtain a standard parameter value.
[0104] In this module, the second vector generating unit 303 constructs a standard driving data vector based on the obtained standard driving data. Similarly, each data item is used as an element to construct the standard driving data vector. At the same time, the maximum range of acceleration corresponding to the current speed and throttle value, that is, the standard parameter value, is also determined.
[0105] like Figure 8 As shown, as a preferred embodiment of the present invention, the fault determination module 400 includes:
[0106] The first determination unit 401 is used to determine whether the corresponding real-time speed parameter exceeds the standard parameter value according to the real-time switch value, and if so, it is determined that there is a fault.
[0107] In this module, the first determination unit 401 determines whether the corresponding real-time speed parameter exceeds the standard parameter value according to the real-time throttle value. When it exceeds the standard parameter value, it means that it exceeds the maximum limit, and it is directly determined that the vehicle has a fault.
[0108] The second determination unit 402 is used to calculate the cosine similarity between the real-time driving data vector and the standard driving data vector to determine whether there is a fault.
[0109] The fault warning unit 403 is used to send out a prompt message and an alarm when a fault occurs.
[0110] In this module, the cosine similarity of the real-time driving data vector and the standard driving data vector is calculated. After retrieval, a large number of standard driving data vectors are obtained. Due to the directionality of the vector, the angle between the real-time driving data vector and the standard driving data vector is directly calculated, and the calculated angle value is compared with the threshold. If it exceeds the threshold, it is determined that a fault exists, a prompt message is issued, and an alarm is sounded.
[0111] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0112] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0113] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0114] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A fault detection method for a new energy power supply controller, characterized in that the method include: Obtain historical driving data and build a standard driving parameter database based on the historical driving data; Obtaining a real-time switch value and a real-time speed parameter, and determining whether fault detection is required according to the real-time switch value and the real-time speed parameter, wherein the real-time speed parameter at least includes an acceleration value and a speed value; Collect real-time driving data, query the standard driving parameter database based on the real-time driving data, and obtain the standard parameter values; Determine whether there is a fault based on the real-time throttle value, real-time speed parameter and standard parameter value, and issue an alarm and prompt information when a fault occurs; The steps of obtaining a real-time switch value and a real-time speed parameter, and determining whether fault detection is required according to the real-time switch value and the real-time speed parameter, specifically include: Acquire real-time switch value and real-time speed parameter, generate switch value curve and speed parameter curve, the speed parameter curve includes speed curve and acceleration curve; Extract the switch value point set from the switch value curve according to the preset extraction gradient, and query the speed and acceleration at the corresponding moment; Determine whether the corresponding acceleration at the same throttle value and speed is within a preset range. If it exceeds the preset range, it is determined to perform fault detection.
2. The fault detection method of the new energy power supply controller according to claim 1 is characterized in that: The step of collecting real-time driving data and querying a standard driving parameter database based on the real-time driving data to obtain standard parameter values specifically includes: Collect real-time driving data, extract load data, road slope data, battery power data and brake data, and construct real-time driving data vector; Query the standard driving parameter database according to the real-time driving data, and retrieve the standard driving data corresponding to the real-time driving data; A standard driving data vector is constructed based on the retrieved standard driving data to obtain standard parameter values.
3. The fault detection method of the new energy power supply controller according to claim 2 is characterized in that: The step of determining whether there is a fault according to the real-time throttle value, the real-time speed parameter and the standard parameter value, and giving an alarm and a prompt message when a fault exists specifically includes: According to the real-time switch value, determine whether the corresponding real-time speed parameter exceeds the standard parameter value. If it exceeds, it is determined that there is a fault; Calculate the cosine similarity between the real-time driving data vector and the standard driving data vector to determine whether there is a fault; When a fault occurs, a prompt message is issued and an alarm is sounded.
4. The fault detection method of the new energy power supply controller according to claim 3 is characterized in that: The prompt information is a voice prompt or a flashing light prompt.
5. The fault detection method of the new energy power supply controller according to claim 3 is characterized in that: Set a speed limit for the vehicle in the event of a malfunction.
6. A fault detection system for a new energy power supply controller, characterized in that: The system comprises: A database construction module is used to obtain historical driving data and build a standard driving parameter database based on the historical driving data; A fault detection module, used to obtain a real-time switch value and a real-time speed parameter, and determine whether fault detection is required according to the real-time switch value and the real-time speed parameter, wherein the real-time speed parameter at least includes an acceleration value and a speed value; A data acquisition module is used to collect real-time driving data, query the standard driving parameter database based on the real-time driving data, and obtain the standard parameter value; A fault determination module is used to determine whether there is a fault based on the real-time switch value, real-time speed parameter and standard parameter value, and to give an alarm and a prompt message when a fault exists; The fault detection module comprises: A curve generating unit, used for acquiring a real-time switch value and a real-time speed parameter, and generating a switch value curve and a speed parameter curve, wherein the speed parameter curve includes a speed curve and an acceleration curve; A data extraction unit, used to extract a set of switch value points from the switch value curve according to a preset extraction gradient, and query the speed and acceleration at the corresponding moment; The abnormality determination unit is used to determine whether the corresponding acceleration under the same throttle value and speed is within a preset range. If it exceeds the preset range, it is determined to perform fault detection.
7. The fault detection system for the new energy power supply controller according to claim 6, characterized in that: The data acquisition module comprises: The first vector generation unit is used to collect real-time driving data, extract load data, road slope data, battery power data and brake data, and construct a real-time driving data vector; A data query unit, used to query a standard driving parameter database according to real-time driving data, and retrieve standard driving data corresponding to the real-time driving data; The second vector generating unit is used to construct a standard driving data vector according to the retrieved standard driving data to obtain a standard parameter value.
8. The fault detection system for the new energy power supply controller according to claim 7, characterized in that: The fault determination module comprises: A first determination unit is used to determine whether the corresponding real-time speed parameter exceeds the standard parameter value according to the real-time switch value, and if so, determine that there is a fault; A second determination unit is used to calculate the cosine similarity between the real-time driving data vector and the standard driving data vector to determine whether there is a fault; The fault warning unit is used to issue prompt information and alarm when a fault occurs.
Citation Information
Patent Citations
Control system and control method of electric bicycle
CN105711684A
Fault detecting method and device, equipment and medium
CN110103932A