Emergency power-off method and system for new energy vehicles
Deep learning technology is used to analyze the engine power value and body vibration signal of new energy vehicles to determine whether an emergency power-off warning signal is generated. This solves the problem of emergency power-off being accidentally triggered by vehicle vibration, improves the accuracy of judgment, and ensures the safety of the car. Functional and safe.
Patent Information
- Application Number
- CN202310085717.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-02
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-02-02
AI Technical Summary
When new energy vehicles are driving, vehicle vibrations caused by poor road conditions can easily trigger the emergency power-off switch by mistake, causing the power supply to be disconnected, affecting the normal operation of the vehicle, and may even cause major safety accidents.
Using artificial intelligence technology based on deep learning, by obtaining the engine power value and body vibration signal of new energy vehicles, using multi-scale neighborhood feature extraction module, adversarial generation network and twin network model, the high-dimensional local vibration hidden of the vibration signal is mined. Contains pattern features, calculates differential feature vectors and optimizes them to determine whether an emergency power outage warning signal is generated.
It improves the accuracy of the emergency power-off judgment of new energy vehicles and avoids the impact on the normal operation of the car and potential safety hazards caused by misjudgment.
Smart Images

Figure CN116001579B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control technology, and more specifically, to an emergency power-off method and system for new energy vehicles. Background Art
[0002] When a new energy vehicle encounters a major fault or emergency during driving, an emergency power-off is often used to force the vehicle's motor to stop running. Most new energy vehicles on the market achieve this by installing an emergency power-off switch to manually control whether the emergency power-off needs to be turned on at the current time point.
[0003] However, in actual operation, vehicle vibration caused by poor road conditions and other reasons can easily cause the emergency power-off switch to automatically lift up, causing the power to be disconnected, resulting in the car not being able to operate normally, and in severe cases, major safety accidents may occur.
[0004] Therefore, an optimized emergency power-off solution for new energy vehicles is expected. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a new energy vehicle emergency power-off method and system, which obtains the engine power value of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period, as well as the body vibration signal of the predetermined time period; adopts artificial intelligence technology based on deep learning to mine the high-dimensional local vibration implicit pattern characteristics of the generated vibration signal and the body vibration signal, so as to obtain the feature distribution difference of the vibration characteristics of the generated vibration signal and the body vibration signal in the high-dimensional feature space, and confirm whether to generate an emergency power-off warning signal based on the difference. In this way, the accuracy of the judgment on whether the new energy vehicle is to be emergency-powered off can be improved to avoid affecting the normal operation of the car.
[0006] According to one aspect of the present application, a method for emergency power off of a new energy vehicle is provided, which includes:
[0007] Acquire engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and vehicle body vibration signals within the predetermined time period;
[0008] Arranging the engine power values at the plurality of predetermined time points into a power input vector according to the time dimension and then passing it through a multi-scale neighborhood feature extraction module to obtain a power feature vector;
[0009] Passing the power feature vector through a vibration generator based on a generative adversarial network to generate a vibration signal;
[0010] Passing the generated vibration signal and the vehicle body vibration signal through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, wherein the first image encoder and the second image encoder have the same network structure;
[0011] Calculating a differential eigenvector between the generated vibration eigenvector and the detected vibration eigenvector;
[0012] Performing feature distribution structure optimization on the differential feature vector to obtain an optimized differential feature vector; and
[0013] The optimized differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated.
[0014] In the above-mentioned emergency power-off method for new energy vehicles, the multi-scale neighborhood feature extraction module includes a parallel first convolution layer and a second convolution layer, and a multi-scale fusion layer cascaded with the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer respectively use one-dimensional convolution kernels with different scales.
[0015] In the above-mentioned emergency power-off method for new energy vehicles, the engine power values at the plurality of predetermined time points are arranged as a power input vector according to the time dimension and then passed through a multi-scale neighborhood feature extraction module to obtain a power feature vector, including: using the first convolution layer of the multi-scale neighborhood feature extraction module to perform one-dimensional convolution encoding on the power input vector according to the following formula to obtain a first-scale power feature vector; wherein the formula is:
[0016]
[0017] Wherein, a is the width of the first one-dimensional convolution kernel in the x direction, F(a) is the first one-dimensional convolution kernel parameter vector, G(xa) is the local vector matrix operated with the convolution kernel function, w is the size of the first one-dimensional convolution kernel, and X represents the power input vector; the second convolution layer of the multi-scale neighborhood feature extraction module is used to perform one-dimensional convolution encoding on the power input vector using the following formula to obtain a second-scale power feature vector; wherein the formula is:
[0018]
[0019] Wherein, b is the width of the second one-dimensional convolution kernel in the x direction, F(b) is the second one-dimensional convolution kernel parameter vector, G(xb) is the local vector matrix operated with the convolution kernel function, m is the size of the second one-dimensional convolution kernel, and X represents the power; and the first-scale power feature vector and the second-scale power feature vector are cascaded using the multi-scale fusion layer of the multi-scale neighborhood feature extraction module to obtain the power feature vector.
[0020] In the above-mentioned emergency power-off method for new energy vehicles, the adversarial generation network includes a discriminator and a generator, and the generator includes multiple deconvolution layers.
[0021] In the above-mentioned emergency power-off method for new energy vehicles, the first image encoder and the second image encoder are convolutional neural network models used as filters.
[0022] In the above-mentioned emergency power-off method for new energy vehicles, the calculation of the differential feature vector between the generated vibration feature vector and the detected vibration feature vector includes: using the following formula to calculate the differential feature vector between the generated vibration feature vector and the detected vibration feature vector; wherein the formula is:
[0023]
[0024] Among them, V d represents the differential feature vector, V1 represents the generated vibration feature vector, V2 represents the detected vibration feature vector, Represents positional subtraction.
[0025] In the above-mentioned emergency power-off method for new energy vehicles, the feature distribution structure optimization of the differential feature vector to obtain the optimized differential feature vector includes: performing Hilbert space constraints of the vector modulus basis on the generated vibration feature vector and the detected vibration feature vector to obtain the correction feature vector according to the following formula; wherein the formula is:
[0026]
[0027] Wherein, V′ represents the correction feature vector, V1 represents the generated vibration feature vector, V2 represents the detected vibration feature vector, and V2 T represents the transposed vector of the detected vibration feature vector, ||V1||2 represents the binary norm of the generated vibration feature vector, ||V2||2 represents the binary norm of the detected vibration feature vector, α and β represent weight hyperparameters, represents positional addition, Cov 1D represents a one-dimensional convolution operation; and multiplying the corrected feature vector and the differential feature vector by position points to obtain the optimized differential feature vector.
[0028] In the above-mentioned emergency power-off method for new energy vehicles, the optimized differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated, including: using multiple fully connected layers of the classifier to fully connect encode the optimized differential feature vector to obtain an encoded classification feature vector; and, passing the encoded classification feature vector through the Softmax classification function of the classifier to obtain the classification result.
[0029] According to another aspect of the present application, there is provided an emergency power-off system for a new energy vehicle, comprising:
[0030] A data acquisition module, used to acquire engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and a vehicle body vibration signal within the predetermined time period;
[0031] A multi-scale feature extraction module, used for arranging the engine power values at the plurality of predetermined time points into a power input vector according to the time dimension and then obtaining a power feature vector through a multi-scale neighborhood feature extraction module;
[0032] A vibration generation module, used for generating a vibration signal by passing the power feature vector through a vibration generator based on an adversarial generation network;
[0033] A twin network module, used for passing the generated vibration signal and the vehicle body vibration signal through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, wherein the first image encoder and the second image encoder have the same network structure;
[0034] A differential feature calculation module, used for calculating a differential feature vector between the generated vibration feature vector and the detected vibration feature vector;
[0035] an optimization module, configured to optimize the feature distribution structure of the differential feature vector to obtain an optimized differential feature vector; and
[0036] The emergency power-off warning signal generating module is used to pass the optimized differential feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated.
[0037] In the above-mentioned emergency power-off system for new energy vehicles, the multi-scale neighborhood feature extraction module includes a first convolution layer and a second convolution layer in parallel, and a multi-scale fusion layer cascaded with the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer respectively use one-dimensional convolution kernels with different scales.
[0038] Compared with the prior art, the emergency power-off method and system for new energy vehicles provided by the present application obtain the engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period, as well as the body vibration signal of the predetermined time period; adopt artificial intelligence technology based on deep learning to mine the high-dimensional local vibration implicit pattern characteristics of the generated vibration signal and the body vibration signal, so as to obtain the feature distribution difference of the vibration characteristics of the generated vibration signal and the body vibration signal in the high-dimensional feature space, and confirm whether to generate an emergency power-off warning signal based on the difference. In this way, the accuracy of the judgment on whether the new energy vehicle is to be powered off in an emergency can be improved to avoid affecting the normal operation of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0040] Figure 1 This is a schematic diagram of a scenario of an emergency power-off method for a new energy vehicle according to an embodiment of the present application.
[0041] Figure 2 The present invention is a flowchart of an emergency power-off method for a new energy vehicle according to an embodiment of the present application.
[0042] Figure 3 Schematic diagram of the architecture of the emergency power-off method for new energy vehicles according to an embodiment of the present application.
[0043] Figure 4 This is a flowchart of the sub-steps of step S170 in the emergency power-off method for a new energy vehicle according to an embodiment of the present application.
[0044] Figure 5 4 is a block diagram of an emergency power-off system for a new energy vehicle according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0046] Scenario Overview
[0047] As mentioned above, in actual operation, vehicle vibration caused by poor road conditions and other reasons can easily cause the emergency power-off switch to automatically lift up and disconnect the power, resulting in the car not being able to operate normally, and in severe cases, causing major safety accidents. Therefore, an optimized emergency power-off solution for new energy vehicles is expected.
[0048] Accordingly, in the technical solution of the present application, it is expected to construct a solution to distinguish whether the abnormal vibration is caused by a major fault or emergency, or by other factors. When analyzing the event type based on the vibration signal, if only the vibration characteristics are used to analyze the event type, a large deviation will occur. The reason is that the vehicle itself will also generate vibration during driving. If the vehicle's own factors are ignored and emergency power-off control is performed only based on the absolute value of the vibration characteristics, misjudgment will occur, which will introduce new safety hazards.
[0049] In recent years, deep learning and neural networks have been widely used in computer vision, natural language processing, text signal processing and other fields. In addition, deep learning and neural networks have also demonstrated a level close to or even beyond that of humans in image classification, object detection, semantic segmentation, text translation and other fields. The development of deep learning and neural networks provides new solutions and solutions for the construction of emergency power-off solutions for new energy vehicles.
[0050] Specifically, in the technical solution of the present application, the engine power value of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and the body vibration signal of the predetermined time period are first obtained. Here, the body vibration signal is collected by a vibration sensor deployed on the vehicle to represent the absolute amount of body vibration. The engine power values at the multiple predetermined time points are used to represent the normal working state of the monitored new energy vehicle. It should be understood that in the technical solution of the present application, the monitored new energy vehicle will also generate vibrations under normal working conditions. For ease of understanding, this part of the vibration is defined as automatic vibration, which can be achieved through a vibration generator based on an adversarial generative network.
[0051] Correspondingly, the engine power values at the plurality of predetermined time points are first arranged as a power input vector according to the time dimension and then passed through a multi-scale neighborhood feature extraction module to obtain a power feature vector. That is, the time series vector of the engine power value is first feature encoded to capture the working power mode characteristics of the new energy vehicle to be monitored within the predetermined time period. In the technical solution of the present application, the multi-scale neighborhood feature extraction module includes a first convolution layer and a second convolution layer in parallel, and a multi-scale feature fusion layer connected to the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer use one-dimensional convolution kernels with different scales. In the data processing process of the multi-scale neighborhood feature extraction module, it first uses one-dimensional convolution kernels with different scales to perform one-dimensional convolution encoding of different scales on the power input vector to capture the local pattern association characteristics of the power distribution in different time windows in the time series distribution of the engine power value, and then uses the multi-scale feature fusion layer to fuse the local pattern association characteristics of the power distribution in different time windows to obtain the power feature vector.
[0052] Next, the power feature vector is passed through a vibration generator based on adversarial generation to obtain a generated vibration signal. That is, the natural vibration signal corresponding to the power feature vector, i.e., the generated vibration signal, is generated based on the adversarial generation idea. Specifically, the adversarial generation network includes a discriminator and a generator, wherein the generator is used to perform feature decoding on the power feature vector to obtain a generated vibration signal, and the discriminator is used to measure the difference between the generated vibration signal and the true natural vibration signal to obtain a discriminator loss function value, and then the discriminator loss function value is used as the loss function value and the generator is updated through back propagation of gradient descent so that the generated vibration signal generated by the generator through feature decoding can approach the true natural vibration signal.
[0053] After obtaining the generated vibration signal, the generated vibration signal and the vehicle body vibration signal are passed through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, wherein the first image encoder and the second image encoder have the same network structure. That is, an image encoder having the same network structure is used to perform image encoding on the waveform graphs of the generated vibration signal and the vehicle body vibration signal, respectively, to capture the high-dimensional local vibration implicit pattern features in the waveform graphs of the generated vibration signal and the vehicle body vibration signal, so as to obtain the generated vibration feature vector and the detected vibration feature vector. In a specific example of the present application, the first image encoder and the second image encoder are convolutional neural network models as filters, for example, deep residual network models.
[0054] Next, the differential feature vector between the generated vibration feature vector and the detected vibration feature vector is calculated. The differential feature vector is used to represent the difference in feature distribution of the vibration features of the generated vibration signal and the vehicle body vibration signal in a high-dimensional feature space. It should be understood that in the technical solution of the present application, the generated vibration feature vector is used to represent the natural vibration features introduced by the working state of the new energy vehicle, and the detected vibration feature vector is used to represent the absolute vibration features of the new energy vehicle. Therefore, in the technical solution of the present application, the differential feature vector is used to represent the vibration mode features caused by external events or elements.
[0055] Then, the differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated. That is, the classifier is used to determine the class probability label to which the differential feature vector belongs, and the class probability label includes generating an emergency power-off warning signal (first label) and not generating an emergency power-off warning signal (second label).
[0056] In particular, in the technical solution of the present application, the differential feature vector between the generated vibration feature vector and the detected vibration feature vector is calculated. Considering that the generated vibration feature vector is obtained by feature encoding the generated vibration signal, the generated vibration signal itself is not a real sensor signal, but a feature representation with deep characteristics generated by a neural network. Therefore, there may be a problem of poor convergence of the overall feature distribution of the differential feature vector, which will lead to poor fitting effect of the classifier. On the other hand, when classifying the differential feature vector, if the correlation between the eigenvalues of the differential feature vector is high, the classification accuracy will be reduced.
[0057] Therefore, the generated vibration feature vector V1 and the detected vibration feature vector V2 are subjected to the Hilbert space constraint of the vector modulus basis to obtain the correction feature vector, which is expressed as:
[0058]
[0059] Cov 1D Represents a one-dimensional convolution operation, that is, the convolution operator (||V1||2,||V2||2,V1V2 T ) for vector Perform a one-dimensional convolution.
[0060] That is, by constraining the fused feature vectors with the convolution operator in the Hilbert space that defines the vector sum modulus and the vector inner product, the feature distribution of the fused vector is limited to a finite closed domain in the Hilbert space based on the vector modulus, and the orthogonality between the basis dimensions of the high-dimensional manifold of the feature distribution of the fused vector is improved, thereby achieving sparse correlation between eigenvalues while maintaining the overall convergence of the feature distribution. In this way, by ′ By performing a dot multiplication with the differential eigenvector, the differential eigenvector is corrected.
[0061] Based on this, the present application provides an emergency power-off method for new energy vehicles, which includes: obtaining the engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and the body vibration signals of the predetermined time period; arranging the engine power values at the multiple predetermined time points as a power input vector according to the time dimension and then passing through a multi-scale neighborhood feature extraction module to obtain a power feature vector; passing the power feature vector through a vibration generator based on an adversarial generative network to obtain a generated vibration signal; passing the generated vibration signal and the body vibration signal through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, and the first image encoder and the second image encoder have the same network structure; calculating the differential feature vector between the generated vibration feature vector and the detected vibration feature vector; optimizing the feature distribution structure of the differential feature vector to obtain an optimized differential feature vector; and passing the optimized differential feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated.
[0062] Figure 1 Schematic diagram of a scenario of an emergency power-off method for a new energy vehicle according to an embodiment of the present application. Figure 1 As shown, in this application scenario, first, the engine power values of the new energy vehicle to be monitored at multiple predetermined time points within a predetermined time period are obtained (for example, Figure 1 C1) and the vehicle body vibration signal of the predetermined time period (for example, Figure 1 Then, the obtained engine power value and vehicle body vibration signal are input to a server (for example, Figure 1 In the S) shown in , the server can process the engine power value and the body vibration signal based on the new energy vehicle emergency power-off algorithm to generate a classification result indicating whether an emergency power-off warning signal is generated.
[0063] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0064] Exemplary Methods
[0065] Figure 2 Flow chart of the emergency power-off method for a new energy vehicle according to an embodiment of the present application. Figure 2 As shown, according to the emergency power-off method for new energy vehicles of the embodiment of the present application, the method includes the following steps: S110, obtaining the engine power value of the new energy vehicle to be monitored at multiple predetermined time points within a predetermined time period and the body vibration signal of the predetermined time period; S120, arranging the engine power values of the multiple predetermined time points into a power input vector according to the time dimension and then passing through a multi-scale neighborhood feature extraction module to obtain a power feature vector; S130, passing the power feature vector through a vibration generator based on an adversarial generative network to obtain a generated vibration signal; S140, passing the generated vibration signal and the body vibration signal through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, wherein the first image encoder and the second image encoder have the same network structure; S150, calculating the differential feature vector between the generated vibration feature vector and the detected vibration feature vector; S160, optimizing the feature distribution structure of the differential feature vector to obtain an optimized differential feature vector; and, S170, passing the optimized differential feature vector through a classifier to obtain a classification result, wherein the classification result is used to indicate whether an emergency power-off warning signal is generated.
[0066] Figure 3 FIG. 1 is a schematic diagram of the architecture of the emergency power-off method for a new energy vehicle according to an embodiment of the present application. Figure 3 As shown, in the network architecture, first, the engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and the body vibration signals of the predetermined time period are obtained; then, the engine power values at the multiple predetermined time points are arranged as power input vectors according to the time dimension and then passed through a multi-scale neighborhood feature extraction module to obtain a power feature vector; then, the power feature vector is passed through a vibration generator based on an adversarial generative network to obtain a generated vibration signal; then, the generated vibration signal and the body vibration signal are passed through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, and the first image encoder and the second image encoder have the same network structure; then, the differential feature vector between the generated vibration feature vector and the detected vibration feature vector is calculated; then, the feature distribution structure of the differential feature vector is optimized to obtain an optimized differential feature vector; and, finally, the optimized differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated.
[0067] Specifically, in step S110, the engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and the body vibration signals of the predetermined time period are obtained. As mentioned above, in the actual operation process, the vehicle vibration caused by poor road conditions and other reasons can easily cause the emergency power-off switch to be automatically lifted, causing the power to be disconnected, resulting in the car not being able to operate normally, and in severe cases, major safety accidents will occur. Therefore, an optimized emergency power-off solution for new energy vehicles is expected.
[0068] Accordingly, in the technical solution of the present application, it is expected to construct a solution to distinguish whether the abnormal vibration is caused by a major fault or emergency, or by other factors. When analyzing the event type based on the vibration signal, if only the vibration characteristics are used to analyze the event type, a large deviation will occur. The reason is that the vehicle itself will also generate vibration during driving. If the vehicle's own factors are ignored and emergency power-off control is performed only based on the absolute value of the vibration characteristics, misjudgment will occur, which will introduce new safety hazards.
[0069] In recent years, deep learning and neural networks have been widely used in computer vision, natural language processing, text signal processing and other fields. In addition, deep learning and neural networks have also demonstrated a level close to or even beyond that of humans in image classification, object detection, semantic segmentation, text translation and other fields. The development of deep learning and neural networks provides new solutions and solutions for the construction of emergency power-off solutions for new energy vehicles.
[0070] Specifically, in the technical solution of the present application, the engine power value of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and the body vibration signal of the predetermined time period are first obtained. Here, the body vibration signal is collected by a vibration sensor deployed on the vehicle to represent the absolute amount of body vibration. The engine power values at the multiple predetermined time points are used to represent the normal working state of the monitored new energy vehicle. It should be understood that in the technical solution of the present application, the monitored new energy vehicle will also generate vibrations under normal working conditions. For ease of understanding, this part of the vibration is defined as automatic vibration, which can be achieved through a vibration generator based on an adversarial generative network.
[0071] Specifically, in step S120, the engine power values at the plurality of predetermined time points are arranged as a power input vector according to the time dimension and then passed through a multi-scale neighborhood feature extraction module to obtain a power feature vector. Accordingly, the engine power values at the plurality of predetermined time points are first arranged as a power input vector according to the time dimension and then passed through a multi-scale neighborhood feature extraction module to obtain a power feature vector. That is, the time series vector of the engine power value is first feature encoded to capture the working power mode characteristics of the new energy vehicle to be monitored within the predetermined time period.
[0072] In the technical solution of the present application, the multi-scale neighborhood feature extraction module includes a first convolution layer and a second convolution layer in parallel, and a multi-scale feature fusion layer connected to the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer use one-dimensional convolution kernels with different scales.
[0073] During the data processing of the multi-scale neighborhood feature extraction module, it first uses one-dimensional convolution kernels with different scales to perform one-dimensional convolution encoding of different scales on the power input vector to capture the local pattern association features of the power distribution in different time windows in the time series distribution of the engine power value, and then uses the multi-scale feature fusion layer to fuse the local pattern association features of the power distribution in different time windows to obtain the power feature vector.
[0074] Further, the arranging the engine power values of the plurality of predetermined time points into a power input vector according to the time dimension and then obtaining the power feature vector through a multi-scale neighborhood feature extraction module comprises: using the first convolution layer of the multi-scale neighborhood feature extraction module to perform one-dimensional convolution encoding on the power input vector according to the following formula to obtain a first-scale power feature vector; wherein the formula is:
[0075]
[0076] Wherein, a is the width of the first one-dimensional convolution kernel in the x direction, F(a) is the first one-dimensional convolution kernel parameter vector, G(xa) is the local vector matrix operated with the convolution kernel function, w is the size of the first one-dimensional convolution kernel, and X represents the power input vector;
[0077] The second convolution layer of the multi-scale neighborhood feature extraction module is used to perform one-dimensional convolution encoding on the power input vector using the following formula to obtain a second-scale power feature vector; wherein the formula is:
[0078]
[0079] Wherein, b is the width of the second one-dimensional convolution kernel in the x direction, F(b) is the second one-dimensional convolution kernel parameter vector, G(xb) is the local vector matrix operated with the convolution kernel function, m is the size of the second one-dimensional convolution kernel, and X represents the power; and the first-scale power feature vector and the second-scale power feature vector are cascaded using the multi-scale fusion layer of the multi-scale neighborhood feature extraction module to obtain the power feature vector.
[0080] Specifically, in step S130, the power feature vector is passed through a vibration generator based on an adversarial generation network to obtain a generated vibration signal. Next, the power feature vector is passed through a vibration generator based on adversarial generation to obtain a generated vibration signal. That is, a natural vibration signal corresponding to the power feature vector is generated based on the adversarial generation concept, i.e., the generated vibration signal.
[0081] Specifically, the adversarial generative network includes a discriminator and a generator, wherein the generator is used to perform feature decoding on the power feature vector to obtain a generated vibration signal, and the discriminator is used to measure the difference between the generated vibration signal and the real natural vibration signal to obtain a discriminator loss function value, and then use the discriminator loss function value as the loss function value and update the generator through back propagation of gradient descent so that the generated vibration signal generated by the generator through feature decoding can approach the real natural vibration signal.
[0082] Specifically, in step S140, the generated vibration signal and the vehicle body vibration signal are passed through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, and the first image encoder and the second image encoder have the same network structure. After obtaining the generated vibration signal, the generated vibration signal and the vehicle body vibration signal are passed through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, and the first image encoder and the second image encoder have the same network structure.
[0083] That is, an image encoder having the same network structure is used to perform image encoding on the waveforms of the generated vibration signal and the vehicle body vibration signal respectively to capture the high-dimensional local vibration implicit pattern features in the waveforms of the generated vibration signal and the vehicle body vibration signal, so as to obtain the generated vibration feature vector and the detected vibration feature vector. In a specific example of the present application, the first image encoder and the second image encoder are convolutional neural network models as filters, for example, deep residual network models.
[0084] Specifically, in step S150, a differential feature vector between the generated vibration feature vector and the detected vibration feature vector is calculated. Next, a differential feature vector between the generated vibration feature vector and the detected vibration feature vector is calculated. The differential feature vector is used to represent the difference in feature distribution of the vibration features of the generated vibration signal and the vehicle body vibration signal in a high-dimensional feature space.
[0085] It should be understood that in the technical solution of the present application, the generated vibration feature vector is used to represent the natural vibration feature introduced by the working state of the new energy vehicle, and the detected vibration feature vector is used to represent the absolute vibration feature of the new energy vehicle. Therefore, in the technical solution of the present application, the differential feature vector is used to represent the vibration mode feature caused by an external event or factor.
[0086] The step of calculating the differential feature vector between the generated vibration feature vector and the detected vibration feature vector comprises: using the following formula to calculate the differential feature vector between the generated vibration feature vector and the detected vibration feature vector; wherein the formula is:
[0087]
[0088] Among them, V d represents the differential feature vector, V1 represents the generated vibration feature vector, V2 represents the detected vibration feature vector, Represents positional subtraction.
[0089] Specifically, in step S160, the feature distribution structure of the differential feature vector is optimized to obtain an optimized differential feature vector. In particular, in the technical solution of the present application, the differential feature vector between the differential feature vector between the generated vibration feature vector and the detected vibration feature vector is calculated. Considering that the generated vibration feature vector is obtained by feature encoding the generated vibration signal, the generated vibration signal itself is not a real sensor signal, but a feature representation with deep characteristics generated by a neural network. Therefore, there may be a problem of poor convergence of the overall feature distribution of the differential feature vector, which will lead to poor fitting effect of the classifier. On the other hand, when classifying the differential feature vector, if the correlation between the eigenvalues of the differential feature vector is high, the classification accuracy will be reduced.
[0090] Therefore, the generated vibration eigenvector V1 and the detected vibration eigenvector V2 are subjected to Hilbert space constraints of vector modulus basis to obtain a corrected eigenvector. That is, in an embodiment of the present application, the feature distribution structure optimization of the differential eigenvector to obtain an optimized differential eigenvector includes: subjecting the generated vibration eigenvector and the detected vibration eigenvector to Hilbert space constraints of vector modulus basis to obtain a corrected eigenvector according to the following formula; wherein the formula is:
[0091]
[0092] Wherein, V′ represents the correction feature vector, V1 represents the generated vibration feature vector, V2 represents the detected vibration feature vector, and V2 Trepresents the transposed vector of the detected vibration feature vector, ||V1||2 represents the binary norm of the generated vibration feature vector, ||V2||2 represents the binary norm of the detected vibration feature vector, α and β represent weight hyperparameters, represents positional addition, Cov 1D represents a one-dimensional convolution operation; and multiplying the corrected feature vector and the differential feature vector by position points to obtain the optimized differential feature vector.
[0093] That is, by constraining the fused feature vectors with the convolution operator in the Hilbert space that defines the vector sum modulus and the vector inner product, the feature distribution of the fused vector is limited to a finite closed domain in the Hilbert space based on the vector modulus, and the orthogonality between the basis dimensions of the high-dimensional manifold of the feature distribution of the fused vector is improved, thereby achieving sparse correlation between eigenvalues while maintaining the overall convergence of the feature distribution. In this way, by ′ By performing a dot multiplication with the differential eigenvector, the differential eigenvector is corrected.
[0094] Specifically, in step S170, the optimized differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated. Furthermore, the differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated. That is, the classifier is used to determine the class probability label to which the differential feature vector belongs, and the class probability label includes generating an emergency power-off warning signal (first label), and not generating an emergency power-off warning signal (second label).
[0095] Figure 4 Flow chart of the sub-steps of step S170 in the emergency power-off method for a new energy vehicle according to an embodiment of the present application, as shown in FIG. Figure 4 As shown, the optimized differential feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated, including: S210, using multiple fully connected layers of the classifier to fully connect encode the optimized differential feature vector to obtain an encoded classification feature vector; and, S220, passing the encoded classification feature vector through the Softmax classification function of the classifier to obtain the classification result.
[0096] In a specific example of the present application, the classifier is used to process the optimized differential feature vector using the following formula to obtain the classification result, wherein the formula is:
[0097] softmax{(W n ,B n):…:(W1,B1)|X}, where W1 to W n is the weight matrix, B1 to B n is the bias vector, and X is the optimized differential eigenvector.
[0098] In summary, based on the emergency power-off method and system for new energy vehicles of the embodiment of the present application, it obtains the engine power value of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period, as well as the body vibration signal of the predetermined time period; uses artificial intelligence technology based on deep learning to mine the high-dimensional local vibration implicit pattern features of the generated vibration signal and the body vibration signal, so as to obtain the feature distribution difference of the vibration features of the generated vibration signal and the body vibration signal in the high-dimensional feature space, and confirms whether to generate an emergency power-off warning signal based on the difference. In this way, the accuracy of the judgment on whether the new energy vehicle is to be powered off in an emergency can be improved to avoid affecting the normal operation of the car.
[0099] Exemplary Systems
[0100] Figure 5 FIG. 1 is a block diagram of an emergency power-off system for a new energy vehicle according to an embodiment of the present application. Figure 5 As shown, according to the embodiment of the present application, the emergency power-off system 100 for new energy vehicles includes: a data acquisition module 110, which is used to obtain the engine power value of the new energy vehicle to be monitored at multiple predetermined time points within a predetermined time period and the body vibration signal of the predetermined time period; a multi-scale feature extraction module 120, which is used to arrange the engine power values of the multiple predetermined time points into a power input vector according to the time dimension and then obtain a power feature vector through a multi-scale neighborhood feature extraction module; a vibration generation module 130, which is used to pass the power feature vector through a vibration generator based on an adversarial generation network to obtain a generated vibration signal; a twin network module 140, which is used to generate the vibration signal and the body vibration signal A generated vibration feature vector and a detected vibration feature vector are obtained through a twin network model including a first image encoder and a second image encoder, wherein the first image encoder and the second image encoder have the same network structure; a differential feature calculation module 150 is used to calculate the differential feature vector between the generated vibration feature vector and the detected vibration feature vector; an optimization module 160 is used to optimize the feature distribution structure of the differential feature vector to obtain an optimized differential feature vector; and an emergency power-off warning signal generation module 170 is used to pass the optimized differential feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether an emergency power-off warning signal is generated.
[0101] In one example, in the above-mentioned new energy vehicle emergency power-off system 100, the multi-scale neighborhood feature extraction module includes a parallel first convolution layer and a second convolution layer, and a multi-scale fusion layer cascaded with the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer respectively use one-dimensional convolution kernels with different scales.
[0102] In one example, in the above-mentioned new energy vehicle emergency power-off system 100, the multi-scale feature extraction module includes: a first scale feature extraction unit, which is used to use the first convolution layer of the multi-scale neighborhood feature extraction module to perform one-dimensional convolution encoding on the power input vector using the following formula to obtain a first scale power feature vector; wherein the formula is:
[0103]
[0104] Wherein, a is the width of the first one-dimensional convolution kernel in the x direction, F(a) is the first one-dimensional convolution kernel parameter vector, G(xa) is the local vector matrix operated with the convolution kernel function, w is the size of the first one-dimensional convolution kernel, and X represents the power input vector; the second scale feature extraction unit is used to use the second convolution layer of the multi-scale neighborhood feature extraction module to perform one-dimensional convolution encoding on the power input vector using the following formula to obtain a second scale power feature vector; wherein, the formula is:
[0105]
[0106] Wherein, b is the width of the second one-dimensional convolution kernel in the x direction, F(b) is the second one-dimensional convolution kernel parameter vector, G(xb) is the local vector matrix operated with the convolution kernel function, m is the size of the second one-dimensional convolution kernel, and X represents the power; and a fusion unit is used to cascade the first-scale power feature vector and the second-scale power feature vector using the multi-scale fusion layer of the multi-scale neighborhood feature extraction module to obtain the power feature vector.
[0107] In one example, in the above-mentioned new energy vehicle emergency power-off system 100, the adversarial generative network includes a discriminator and a generator, and the generator includes multiple deconvolution layers.
[0108] In one example, in the above-mentioned emergency power-off system 100 for new energy vehicles, the first image encoder and the second image encoder are convolutional neural network models used as filters.
[0109] In one example, in the above-mentioned new energy vehicle emergency power-off system 100, the differential feature calculation module is further used to: calculate the differential feature vector between the generated vibration feature vector and the detected vibration feature vector using the following formula; wherein the formula is:
[0110]
[0111] Among them, V d represents the differential feature vector, V1 represents the generated vibration feature vector, V2 represents the detected vibration feature vector, Represents positional subtraction.
[0112] In one example, in the above-mentioned new energy vehicle emergency power-off system 100, the optimization module is further used to: perform Hilbert space constraints of vector modulus basis on the generated vibration eigenvector and the detected vibration eigenvector to obtain a correction eigenvector according to the following formula; wherein the formula is:
[0113]
[0114] Wherein, V′ represents the correction feature vector, V1 represents the generated vibration feature vector, V2 represents the detected vibration feature vector, and V2 T represents the transposed vector of the detected vibration feature vector, ||V1||2 represents the binary norm of the generated vibration feature vector, ||V2||2 represents the binary norm of the detected vibration feature vector, α and β represent weight hyperparameters, represents positional addition, Cov 1D represents a one-dimensional convolution operation; and multiplying the corrected feature vector and the differential feature vector by position points to obtain the optimized differential feature vector.
[0115] In one example, in the above-mentioned new energy vehicle emergency power-off system 100, the emergency power-off warning signal generation module includes: a fully connected encoding unit, which is used to use multiple fully connected layers of the classifier to fully connect the optimized differential feature vector to obtain a coded classification feature vector; and a classification result unit, which is used to pass the coded classification feature vector through the Softmax classification function of the classifier to obtain the classification result.
[0116] Here, those skilled in the art can understand that the specific functions and operations of each unit and module in the above-mentioned new energy vehicle emergency power off system 100 have been referred to above. Figures 1 to 4 The description of the emergency power-off method for new energy vehicles has been introduced in detail, and therefore, its repeated description will be omitted.
[0117] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0118] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0119] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0120] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0121] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for emergency power-off of a new energy vehicle, characterized in that: include: Acquire engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and vehicle body vibration signals within the predetermined time period; Arranging the engine power values at the plurality of predetermined time points into a power input vector according to the time dimension and then extracting the power feature vector through a multi-scale neighborhood feature extraction module; Passing the power feature vector through a vibration generator based on a generative adversarial network to generate a vibration signal; Passing the generated vibration signal and the vehicle body vibration signal through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, wherein the first image encoder and the second image encoder have the same network structure; Calculating a differential eigenvector between the generated vibration eigenvector and the detected vibration eigenvector; Optimizing the characteristic distribution structure of the differential eigenvector to obtain an optimized differential eigenvector, including: performing Hilbert space constraints of a vector modulus basis on the generated vibration eigenvector and the detected vibration eigenvector to obtain a correction eigenvector, and performing position point multiplication of the correction eigenvector and the differential eigenvector before optimization to obtain the optimized differential eigenvector; as well as Passing the optimized differential feature vector through a classifier to obtain a classification result, wherein the classification result is used to indicate whether an emergency power-off warning signal is generated; The generated vibration eigenvector and the detected vibration eigenvector are subjected to Hilbert space constraints of vector modulus basis to obtain a correction eigenvector according to the following formula; Wherein, the formula is: in, represents the corrected eigenvector, represents the generated vibration eigenvector, represents the detected vibration feature vector, represents the transposed vector of the detected vibration eigenvector, represents the bi-norm of the generated vibration eigenvector, represents the binary norm of the detected vibration eigenvector, and represents the weight hyperparameter, represents positional addition, Represents a one-dimensional convolution operation.
2. The emergency power-off method for new energy vehicles according to claim 1, characterized in that: The multi-scale neighborhood feature extraction module includes a first convolution layer and a second convolution layer in parallel, and a multi-scale fusion layer cascaded with the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer respectively use one-dimensional convolution kernels with different scales.
3. The emergency power-off method for new energy vehicles according to claim 2, characterized in that: The method of arranging the engine power values at the plurality of predetermined time points into a power input vector according to the time dimension and then extracting the power feature vector through a multi-scale neighborhood feature extraction module comprises: Using the first convolution layer of the multi-scale neighborhood feature extraction module to perform one-dimensional convolution encoding on the power input vector according to the following formula to obtain a first-scale power feature vector; Wherein, the formula is: in, is the first one-dimensional convolution kernel in Width in direction, is the first one-dimensional convolution kernel parameter vector, is the local vector matrix that operates with the convolution kernel function, is the size of the first one-dimensional convolution kernel, represents the power input vector; Using the second convolution layer of the multi-scale neighborhood feature extraction module to perform one-dimensional convolution encoding on the power input vector according to the following formula to obtain a second-scale power feature vector; Wherein, the formula is: in, is the second one-dimensional convolution kernel Width in direction, is the second one-dimensional convolution kernel parameter vector, is the local vector matrix that operates with the convolution kernel function, is the size of the second one-dimensional convolution kernel, represents said power; and The first-scale power feature vector and the second-scale power feature vector are cascaded using a multi-scale fusion layer of the multi-scale neighborhood feature extraction module to obtain the power feature vector.
4. The method for emergency power off of new energy vehicles according to claim 3, characterized in that: The generative adversarial network includes a discriminator and a generator, and the generator includes multiple deconvolution layers.
5. The emergency power-off method for new energy vehicles according to claim 4, characterized in that: The first image encoder and the second image encoder are convolutional neural network models as filters.
6. The emergency power-off method for new energy vehicles according to claim 5, characterized in that: The calculating the differential feature vector between the generated vibration feature vector and the detected vibration feature vector comprises: using the following formula to calculate the differential feature vector between the generated vibration feature vector and the detected vibration feature vector; Wherein, the formula is: in, represents the differential eigenvector, represents the generated vibration eigenvector, represents the detected vibration feature vector, Represents positional subtraction.
7. The emergency power-off method for new energy vehicles according to claim 6, characterized in that: The step of passing the optimized differential feature vector through a classifier to obtain a classification result, wherein the classification result is used to indicate whether an emergency power-off warning signal is generated, includes: Using multiple fully connected layers of the classifier to perform fully connected encoding on the optimized differential feature vector to obtain an encoded classification feature vector; and The encoded classification feature vector is passed through the Softmax classification function of the classifier to obtain the classification result.
8. An emergency power-off system for new energy vehicles, characterized in that: include: A data acquisition module, used to acquire engine power values of the monitored new energy vehicle at multiple predetermined time points within a predetermined time period and a vehicle body vibration signal within the predetermined time period; A multi-scale feature extraction module, used to arrange the engine power values at the plurality of predetermined time points into a power input vector according to the time dimension and then obtain a power feature vector through a multi-scale neighborhood feature extraction module; A vibration generation module, used for generating a vibration signal by passing the power feature vector through a vibration generator based on an adversarial generation network; A twin network module, used for passing the generated vibration signal and the vehicle body vibration signal through a twin network model including a first image encoder and a second image encoder to obtain a generated vibration feature vector and a detected vibration feature vector, wherein the first image encoder and the second image encoder have the same network structure; A differential feature calculation module, used for calculating a differential feature vector between the generated vibration feature vector and the detected vibration feature vector; an optimization module, configured to optimize the feature distribution structure of the differential feature vector to obtain an optimized differential feature vector, comprising: performing Hilbert space constraints of a vector modulus basis on the generated vibration feature vector and the detected vibration feature vector to obtain a correction feature vector, and performing position point multiplication of the correction feature vector and the differential feature vector before optimization to obtain the optimized differential feature vector; and An emergency power-off warning signal generating module, used for passing the optimized differential feature vector through a classifier to obtain a classification result, wherein the classification result is used to indicate whether an emergency power-off warning signal is generated; The generated vibration eigenvector and the detected vibration eigenvector are subjected to Hilbert space constraints of vector modulus basis to obtain a correction eigenvector according to the following formula; Wherein, the formula is: in, represents the corrected eigenvector, represents the generated vibration eigenvector, represents the detected vibration feature vector, represents the transposed vector of the detected vibration eigenvector, represents the bi-norm of the generated vibration eigenvector, represents the binary norm of the detected vibration eigenvector, and represents the weight hyperparameter, represents positional addition, Represents a one-dimensional convolution operation.
9. The emergency power-off system for new energy vehicles according to claim 8, characterized in that: The multi-scale neighborhood feature extraction module includes a first convolution layer and a second convolution layer in parallel, and a multi-scale fusion layer cascaded with the first convolution layer and the second convolution layer, wherein the first convolution layer and the second convolution layer respectively use one-dimensional convolution kernels with different scales.
