Method and system for training reinforcement learning model for monitoring abnormal state of vehicle, method and computer program product for monitoring abnormal state of vehicle
By training the reinforcement learning model in the simulation environment of the state space and action space, combined with the time series prediction data of the vehicle operating mode, the problem of low efficiency and inflexible response of the existing vehicle abnormal state monitoring model is solved, and efficient and accurate Abnormal status monitoring and response capabilities.
Patent Information
- Application Number
- CN202410791645.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-25
AI Technical Summary
Existing vehicle abnormal state monitoring models have low efficiency, inflexible response, inability to dynamically adjust model parameters, and lack of sensitivity to subtle abnormal data.
Using a reinforcement learning model, through simulation environment training in state space and action space, the reward value is used to adjust the policy network parameters, and combined with the time series prediction data of the vehicle operating mode, an efficient and sensitive abnormal state monitoring system is constructed.
It achieves efficient and accurate prediction and response to vehicle abnormal conditions, ensuring adaptability and accuracy in changing environments.
Smart Images

Figure CN118839746A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and in particular to a method for training a reinforcement learning model for monitoring abnormal states of a vehicle, a method for monitoring abnormal states of a vehicle, a system for training a reinforcement learning model for monitoring abnormal states of a vehicle, and a computer program product for at least assisting in implementing the steps of the method according to the present application. Background Art
[0002] Most modern vehicles are equipped with various on-board sensors for detecting the vehicle's operating status, such as the battery management system for monitoring the battery status, which includes current sensors, voltage sensors, temperature sensors, and humidity sensors, and the engine management system for monitoring the engine status, which includes air flow sensors, throttle position sensors, accelerator pedal position sensors, air temperature sensors, coolant temperature sensors, crankshaft position sensors, etc. The detection data obtained by these on-board sensors is high-dimensional and has a huge amount of data. At present, the models for monitoring the abnormal operation status of vehicles based on these detection data are inefficient and slow, and lack sensitivity to subtle or inconspicuous abnormal data in these detection data. At the same time, the model parameters cannot be dynamically adjusted according to changes in the vehicle's operating mode.
[0003] Therefore, how to develop an efficient, fast, sensitive and flexibly adjustable model for monitoring vehicle abnormal conditions has become a technical problem that needs to be solved. Summary of the invention
[0004] The purpose of the present application is to provide a method for training a reinforcement learning model for monitoring abnormal states of a vehicle, a method for monitoring abnormal states of a vehicle, a system for training a reinforcement learning model for monitoring abnormal states of a vehicle, and a computer program product, so as to at least partially solve the problems in the prior art.
[0005] According to a first aspect of the present application, a method for training a reinforcement learning model for monitoring abnormal conditions of a vehicle is provided, the method comprising the following steps:
[0006] - Using the state space as the input of each intelligent agent and the action space as the output of each intelligent agent, a reinforcement learning model for monitoring abnormal vehicle status is constructed, wherein the state space includes the detection data of the vehicle operating status and the time series prediction data of the vehicle operating mode by the on-board sensor, and the action space includes the action data taken on the vehicle operating status; and
[0007] -Calculate a reward value regarding the mapping relationship between the state space and the action space through the reward function of each agent, and adjust the parameters of the policy network of the corresponding agent based at least on the calculated reward value, wherein the reward value is used to characterize the accuracy and timeliness of the detection of abnormal conditions of the vehicle, and the policy network is configured to determine the mapping relationship between the state space and the action space.
[0008] The core concept of this application is that the reinforcement learning model is trained in a simulation environment based on the state space and action space, and the parameters of its policy network are continuously adjusted during the learning process with the help of the reward value of the mapping relationship between the state space and the action space, so that it can not only respond to the current vehicle operation status and real-time data, but also make adjustments based on the time series prediction data of the prophet model. This design of the reinforcement learning model ensures that the prediction and response capabilities for abnormal vehicle conditions are very efficient and accurate, so that the trained reinforcement learning model maintains a high degree of adaptability and accuracy in a changing environment.
[0009] According to one embodiment of the present application, the time series prediction data of the vehicle operation mode can be obtained through the prophet model, wherein the time series prediction data may include prediction data of the vehicle operation mode on time trends, prediction data of the vehicle operation mode on periodic changes and / or prediction data of the vehicle operation mode on holidays or predetermined events, etc.
[0010] According to another embodiment of the present application, the state space may also include standard scores and / or driving environment data regarding the detection data and the time series prediction data, wherein the driving environment data may include weather data and / or road condition data, etc.
[0011] According to another embodiment of the present application, abnormal detection data in the detection data of the on-board sensor about the vehicle operating status can be identified and isolated based on the isolation forest algorithm, and the isolated abnormal detection data is used as the input of the reinforcement learning model.
[0012] According to another embodiment of the present application, abnormal pattern data in the time-dependent operating mode data of the vehicle-mounted system can be identified and isolated based on the isolation forest algorithm, and the isolated abnormal pattern data is used as the input of the prophet model.
[0013] According to another embodiment of the present application, the detection data of the vehicle-mounted sensor on the vehicle operating status can be analyzed by KS test, and the first threshold of the isolation forest algorithm for identifying abnormal detection data in the detection data can be adjusted based on the analysis result.
[0014] According to another embodiment of the present application, the time series prediction data of the vehicle operation mode may be analyzed by a KS test, and the second threshold of the isolation forest algorithm for identifying abnormal usage data in the usage pattern data may be adjusted based on the analysis result.
[0015] According to another embodiment of the present application, the action data taken regarding the vehicle operating status may include abnormal action marking, abnormal detection threshold adjustment and / or recommended maintenance measures, etc.
[0016] According to another embodiment of the present application, the policy network is configured as a deep Q network for evaluating the value Q of the mapping relationship between the state space and the action space, wherein the parameters of the deep Q network can be adjusted by the learning rate α, the discount factor γ and the calculated reward value.
[0017] According to another embodiment of the present application, the parameters of the policy network can be configured based on the ε-greedy strategy, wherein the action data taken regarding the vehicle operating state is selected with probability ε, and the action data that maximizes the value Q is selected with probability 1-ε, wherein the probability ε is set to decrease with the learning process of the reinforcement learning model.
[0018] According to another embodiment of the present application, the reinforcement learning model may include multiple agents, each of which is configured to monitor the operating status of different vehicle-mounted components, and the multiple agents cooperate with each other.
[0019] According to a second aspect of the present application, a method for monitoring an abnormal state of a vehicle is provided, the method comprising:
[0020] - Using a reinforcement learning model trained by the method according to the present application, abnormal conditions in the vehicle operating state are monitored based on at least detection data of the vehicle operating state by on-board sensors and time series prediction data of the vehicle operating mode.
[0021] According to a third aspect of the present application, a system for training a reinforcement learning model for monitoring abnormal conditions of a vehicle is provided, wherein the system is used to execute the method according to the present application, wherein the system comprises the following components:
[0022] - A data acquisition module, which is configured to acquire detection data of vehicle operating status from vehicle-mounted sensors, time series prediction data of vehicle operating modes, and action data taken regarding vehicle operating status;
[0023] - A reinforcement learning model for monitoring abnormal vehicle status, which is constructed by taking a state space as the input of each agent and taking an action space as the output of each agent of the reinforcement learning model, wherein the state space includes detection data of the vehicle operating status by the on-board sensor and the time series prediction data of the vehicle operating mode, and the action space includes action data taken on the vehicle operating status; and
[0024] - A model training module, which is configured to calculate a reward value regarding the mapping relationship between the state space and the action space through a reward function of each agent, and adjust the parameters of the policy network of the corresponding agent based at least on the calculated reward value, wherein the reward function is used to evaluate the accuracy and timeliness of the detection of the abnormal state of the vehicle, and the policy network is configured to determine the mapping relationship between the state space and the action space
[0025] According to a fourth aspect of the present application, a computer program product, such as a computer-readable program carrier, is provided, which contains or stores computer program instructions, and when the computer program instructions are executed by a processor, they at least assist in implementing the steps of the method described in the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The principles, features and advantages of the present application may be better understood by describing the present application in more detail below with reference to the accompanying drawings. The accompanying drawings show:
[0027] Figure 1 A flowchart showing a method for training a reinforcement learning model for monitoring abnormal vehicle conditions according to an exemplary embodiment of the present application is shown;
[0028] Figure 2 A flowchart showing a method for monitoring abnormal status of a vehicle according to an exemplary embodiment of the present application; and
[0029] Figure 3 A block diagram of a system for training a reinforcement learning model for monitoring abnormal status of a vehicle according to an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] In order to make the technical problems, technical solutions and beneficial technical effects to be solved by the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and multiple exemplary embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the scope of protection of the present application.
[0031] Figure 1A workflow diagram of a method for training a reinforcement learning model for monitoring abnormal vehicle conditions according to an exemplary embodiment of the present application is shown. The following exemplary embodiments describe the method according to the present application in more detail.
[0032] like Figure 1 As shown, the method includes steps S1 and S2. In step S1, a reinforcement learning model for monitoring abnormal vehicle states is constructed by taking the state space as the input of each intelligent agent and taking the action space as the output of each intelligent agent.
[0033] In the current embodiment of the present application, a deep reinforcement learning model is used to monitor abnormal vehicle conditions. It is a machine learning technology that imitates human thinking and improves decision-making performance by observing and feeding back results. The two main roles in reinforcement learning are the agent and the environment. The agent can optimize the parameters of its policy network in an uncertain environment by constantly interacting with the environment, where the environment refers to the world in which the agent exists and interacts. In each interaction with the environment, the agent obtains an observation of the state of the environment at the current moment and decides what action to take.
[0034] Here, the state space is used to construct the environment of the reinforcement learning model, wherein the state space may include detection data of the vehicle operating state of the vehicle sensors. Different types of vehicle sensors can collect various operating parameters of various vehicle components in real time. For example, a battery management system for monitoring the battery status may include a current sensor for collecting current data of the battery cell, a voltage sensor for collecting voltage data of the battery cell, a temperature sensor for collecting temperature data of the battery cell, and a humidity sensor for collecting humidity data of the battery cell, etc. For another example, an engine management system for monitoring the engine status may include an air flow sensor for collecting air flow data flowing into the engine, a throttle position sensor for collecting throttle position data of the engine, an accelerator pedal sensor for collecting accelerator pedal position data, an air temperature sensor for collecting temperature data of the air flowing into the engine, a coolant temperature sensor for collecting the coolant temperature of the engine, a crankshaft position sensor for collecting crankshaft position data of the engine, etc.
[0035] Optionally, the detection data about the vehicle's operating status collected by different on-board sensors is standardized so that each agent of the reinforcement learning model can consistently process and interpret the detection data from different data sources. At the same time, it is necessary to ensure that the data format of the detection data collected by different on-board sensors is compatible with the general vehicle data protocol, such as the CAN bus protocol, the on-board diagnostic system, and the remote data transmission protocol of different vehicle manufacturers, so that the detection data can be efficiently and quickly transmitted between various on-board systems.
[0036] Optionally, the vehicle-mounted sensors and the diagnostic system composed of multiple vehicle-mounted sensors (such as the battery management system, the engine management system) can directly communicate data with the vehicle-mounted control unit, so that the data acquisition module 11 arranged in the vehicle-mounted control unit can efficiently and low-latency acquire the detection data collected by different vehicle-mounted sensors, which is particularly advantageous in the case of high-dimensional and huge data sets. In addition, the data acquisition module 11 can also use an optimized high-frequency data stream processing algorithm to process the data streams from various vehicle-mounted sensors, and optionally use edge computing technology to process the acquired detection data locally in the vehicle-mounted control unit to reduce dependence on the cloud system.
[0037] In another optional embodiment, abnormal detection data in the detection data of the vehicle operating status of the on-board sensor can be identified and isolated based on the isolation forest algorithm, and the isolated abnormal detection data is used as the input of the reinforcement learning model. In the isolation forest algorithm, a feature can be randomly selected, and a split value can be randomly selected between the maximum value and the minimum value of the selected feature as a threshold for splitting the data into normal data and abnormal data, which is the first threshold for identifying abnormal detection data in the detection data, thereby effectively isolating the abnormal detection data and avoiding analyzing the normal detection data, thereby greatly reducing the amount of data processing.
[0038] Optionally, the detection data of the vehicle's operating status from the on-board sensor can be analyzed by the KS (Kolmogorov-Smirnov) test, and the first threshold of the isolation forest algorithm for identifying abnormal detection data in the detection data can be adjusted based on the analysis results. The KS test can be used to obtain the maximum difference observed between the cumulative distribution functions F1(x) and F2(x) of two samples at all data points, where the cumulative distribution function F(x) of the sample represents the probability that a random variable drawn from the distribution of the sample is less than or equal to x. If the result of the KS test shows that the difference between the two sample distributions increases, this means that the probability of abnormal detection data appearing in the detection data increases, and the first threshold can be adjusted to increase the sensitivity of the reinforcement learning model to abnormal detection data.
[0039] The state space may also include time series prediction data of the vehicle operation mode. The prediction data can be obtained in particular through the prophet model, which is a reliable and efficient time series prediction tool, and the time series refers to a collection of data arranged in chronological order. In this context, the vehicle operation mode refers in particular to the operation modes of different functions of each vehicle-mounted system, such as the automatic parking function, automatic cruise function, lane departure warning function and other operation modes of the driving assistance system, and the charging control function, thermal management function, balancing function, fault diagnosis function and other operation modes of the battery management system. It can be understood that different vehicle operation modes will be selected in different driving scenarios to meet the needs of the corresponding driving scenarios, and the driving scenarios have a certain correlation with the driving time, such as daily time periods, weekdays, weekends, holidays, etc. Different vehicle operation modes will inevitably lead to differences in vehicle operation status. Therefore, the reinforcement learning model needs to consider the time series prediction data of the vehicle operation mode when monitoring the vehicle operation status.
[0040] Exemplarily, the time series prediction data may include one or more of the following data: prediction data of vehicle operation mode on time trend, which indicates the basic trend of prediction data changing over time, such as increasing, decreasing or remaining unchanged; prediction data of vehicle operation mode on periodic change, which indicates, for example, regular modes that occur regularly on a daily, weekly, monthly or annual basis, such as the vehicle operation mode adopted on a congested commuting route on weekdays and the vehicle operation mode adopted on a non-congested route on weekends, which switches periodically; prediction data of vehicle operation mode on holidays or predetermined events, such as the vehicle operation mode adopted on a long-distance travel route on holidays or public events, etc. Optionally, the time series prediction data may also include error data for representing residual effects not captured by the reinforcement learning model. By predicting the vehicle operation mode on time trend, periodicity, holidays or predetermined events, the vehicle operation mode commonly used at the current moment can be determined, thereby improving the detection sensitivity of abnormal vehicle operation status.
[0041] In another optional embodiment, abnormal pattern data in the time-related operating mode data of the vehicle-mounted system can be identified and isolated based on the isolation forest algorithm, and the isolated abnormal pattern data can be used as the input of the prophet model, so that only the isolated abnormal pattern data is processed by the prophet model, avoiding the analysis of normal pattern data, thereby greatly reducing the amount of data processing.
[0042] Similarly, the time series prediction data of the vehicle operation mode can be analyzed by the KS test, and the second threshold of the isolation forest algorithm for identifying abnormal mode data in the operation mode data of the vehicle system with respect to time can be adjusted based on the analysis result. For example, if the result of the KS test shows that the difference between the two sample distributions increases, which means that the probability of abnormal mode data appearing in the operation mode data increases, the second threshold can be adjusted to increase the sensitivity of the prophet model to abnormal mode data.
[0043] The time series prediction data obtained through the prophet model based on the isolated abnormal pattern data and the isolated abnormal detection data together constitute a state space used as the input of the reinforcement learning model, so that the reinforcement learning model can not only respond to the current vehicle operating status and real-time data, but also integrate the time series prediction data of the prophet model, thereby laying the foundation for more accurate vehicle abnormal state detection and vehicle maintenance recommendations. In particular, the reinforcement learning model can adjust the action strategy in time to adapt to the expected changes in the vehicle operating mode.
[0044] Optionally, the state space may further include a standard score Z for the detection data and the time series prediction data. The standard score Z represents a standardized score of a real-time data point relative to the mean of the data set, which may be calculated based on the following formula:
[0045] Z=(X-μ)*σ
[0046] Wherein, X represents the real-time data point of the detection data or the real-time data point of the time series prediction data, μ represents the mean calculated based on the historical data set of the detection data or the time series prediction data, and σ represents the standard deviation calculated based on the historical data set of the detection data or the time series prediction data.
[0047] Optionally, the state space may also include vehicle driving environment data, which may be obtained from a cloud server via an in-vehicle communication network. Exemplarily, the driving environment data may include weather data, and the driver may select different vehicle operation modes under different weather conditions; the driving environment data may also include road condition data, for example, the driver may switch the vehicle operation mode when the road is congested.
[0048] The above describes the construction process of the multi-dimensional state space of the reinforcement learning model. The reinforcement learning model can determine the action data taken about the vehicle operating state based on the input state space, which constitutes the action space as the output of each agent of the reinforcement learning model. The action data taken about the vehicle operating state may include, for example, abnormal action marking, abnormal detection threshold adjustment (such as the first threshold and / or the second threshold) and / or recommended maintenance measures.
[0049] In another optional embodiment, the reinforcement learning model may include multiple agents, each of which is configured to monitor the operating status of different vehicle components, such as engine performance, battery health status, etc., that is, each agent can make local decisions about the operating status of different vehicle components, thereby identifying abnormal operating status of each vehicle component. The multiple agents can also collaborate with each other, including sharing learning results and conducting collective learning, thereby ensuring the consistency of goals of each agent in the entire reinforcement learning model.
[0050] In step S2, the reward value R(s,a) of the mapping relationship between the state space s and the action space a is calculated by the reward function of each agent, and the parameters of the policy network of the corresponding agent are adjusted at least based on the calculated reward value R(s,a). Here, the policy network is configured to determine the mapping relationship between the state space s and the action space a, and the reward value R(s,a) of the mapping relationship calculated by the reward function is used not only to evaluate the accuracy of the detection of the abnormal state of the vehicle, but also to evaluate the timeliness of the detection of the abnormal state of the vehicle, such as early detection, false alarm, omission and other factors of the abnormal state of the vehicle. For example, when the abnormal state of the vehicle is detected and the response is correct, a positive reward value +r can be obtained; when an omission or false alarm of the abnormal state of the vehicle occurs, a negative reward value -r can be obtained.
[0051] In another optional embodiment, the policy network can be configured as a deep Q network for evaluating the value Q of the mapping relationship between the state space s and the action space a. Assuming that the value obtained based on the original deep Q network at time t is Q(st,at), the parameters of the deep Q network can be adjusted by the learning rate α, the discount factor γ and the calculated reward value, and the new value Q can be calculated by the adjusted deep Q network through the following formula:
[0052] Q(st,at)+α[rt+1+γ*max(aQ(st+1,a)-Q(st,at))]
[0053] Among them, the learning rate α is used to control the learning step size, the discount factor γ is used to define the importance of the reward value at the future moment, and rt+1 represents the immediate reward value calculated based on the state st and action at.
[0054] In another optional embodiment, the parameters of the policy network can be configured based on the ε-greedy strategy to achieve balanced exploration and exploitation, wherein the action data taken regarding the vehicle operating state is selected with probability ε, and the action data that maximizes the value Q is selected with probability 1-ε, wherein the probability ε is set to decrease with the learning process of the reinforcement learning model.
[0055] According to an embodiment of the present application, a reinforcement learning model can be trained in a simulation environment constructed based on the state space and the action space, and the constructed simulation environment can truly simulate the operating conditions in the actual driving environment, so that the reinforcement learning model can learn and adapt without actual risk. At the same time, during the learning process, the reinforcement learning model continuously adjusts the parameters of its policy network with the help of the reward value of the mapping relationship between the state space and the action space, so that it can not only respond to the current vehicle operating status and real-time data, but also make adjustments based on the time series prediction data of the prophet model.
[0056] Figure 2 A flowchart of a method for monitoring an abnormal state of a vehicle according to an exemplary embodiment of the present application is shown.
[0057] like Figure 2 As shown, the method may include step S1'. In step S1', using the reinforcement learning model trained by the method according to the present application, the abnormal state in the vehicle's operating state can be monitored based on at least the detection data of the vehicle's operating state and the time series prediction data of the vehicle's operating mode from the on-board sensor. Here, the current state space can be constructed based on the real-time detection data obtained by the on-board sensor and the time series prediction data of the vehicle's operating mode at that moment, and the action data corresponding to the current state space can be determined by the trained strategy network, so as to identify the abnormal state in the vehicle's operating state, and corresponding recommended maintenance measures can be given. This design of the reinforcement learning model ensures that the prediction ability and response ability for the abnormal state of the vehicle are very efficient and accurate, so that the trained reinforcement learning model maintains a high degree of adaptability and accuracy in a changing environment.
[0058] In addition, it should be noted that the step numbers described herein do not necessarily represent a chronological order, but are merely a figure mark. The order can be changed according to specific circumstances as long as the technical purpose of the present application can be achieved.
[0059] Figure 3 A block diagram of a system 1 for training a reinforcement learning model for monitoring abnormal status of a vehicle according to an exemplary embodiment of the present application is shown.
[0060] like Figure 3 As shown, the system 1 may include the following components:
[0061] - A data acquisition module 11, which is configured to acquire detection data of the vehicle operating state from the vehicle-mounted sensors, time series prediction data of the vehicle operating mode and action data taken on the vehicle operating state;
[0062] - A reinforcement learning model 12 for monitoring abnormal vehicle status is constructed as follows:
[0063] Using state space as input of each agent and action space as output of each agent of the reinforcement learning model, wherein the state space includes detection data of vehicle operating state by on-board sensors and time series prediction data of vehicle operating mode, and optionally also includes standard scores and / or driving environment data about the detection data and the time series prediction data, and the action space includes action data taken about the vehicle operating state; and
[0064] -A model training module 13, which is configured to calculate a reward value regarding the mapping relationship between the state space and the action space through a reward function of each intelligent agent, and adjust the parameters of the policy network of the corresponding intelligent agent based at least on the calculated reward value, wherein the reward function is used to evaluate the accuracy and timeliness of the detection of abnormal conditions of the vehicle, and the policy network is configured to determine the mapping relationship between the state space and the action space.
[0065] According to another embodiment of the present application, a machine-readable storage medium is provided, such as a CD-ROM, which includes a computer program, which, when executed, causes a computer or a processor to perform a method according to each embodiment of the present disclosure. The machine-readable storage medium is, for example, an optical storage medium or a solid-state medium supplied with other hardware or as part of other hardware.
[0066] If an embodiment includes an “and / or” relationship between a first feature and a second feature, it should be interpreted as follows: according to one embodiment, the embodiment has both the first feature and the second feature, and according to another embodiment, the embodiment has either only the first feature or only the second feature.
[0067] It should be understood that, in this document, the expressions "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance, nor should they be understood as implicitly indicating the number of the indicated technical features.
[0068] Although specific embodiments have been described above, these embodiments are not intended to limit the scope of the present disclosure, even when only a single embodiment is described with respect to specific features. The feature examples provided in the present disclosure are intended to be illustrative, not restrictive, unless otherwise stated. In specific implementations, multiple features may be combined with each other, where technically feasible, according to actual needs. Various substitutions, changes, and modifications may also be conceived without departing from the spirit and scope of the present application.
Claims
1. A method for training a reinforcement learning model for monitoring abnormal conditions of a vehicle, the method comprising the following steps: A reinforcement learning model for monitoring abnormal vehicle status is constructed using a state space as input to each intelligent agent and an action space as output to each intelligent agent, wherein the state space includes detection data of vehicle operating status from onboard sensors and time series prediction data of vehicle operating modes, and the action space includes action data taken regarding the vehicle operating status; and A reward value regarding the mapping relationship between the state space and the action space is calculated through the reward function of each agent, and the parameters of the policy network of the corresponding agent are adjusted based at least on the calculated reward value, wherein the reward value is used to characterize the accuracy and timeliness of the detection of abnormal conditions of the vehicle, and the policy network is configured to determine the mapping relationship between the state space and the action space.
2. The method according to claim 1, wherein: The time series prediction data of the vehicle operation mode is obtained through the prophet model, wherein the time series prediction data includes prediction data of the vehicle operation mode on time trends, prediction data of the vehicle operation mode on periodic changes and / or prediction data of the vehicle operation mode on holidays or predetermined events.
3. The method according to claim 1, wherein: The state space also includes standard scores and / or driving environment data regarding the detection data and the time series prediction data, wherein the driving environment data includes weather data and / or road condition data.
4. The method according to claim 1, wherein: Based on the isolation forest algorithm, abnormal detection data in the detection data of the vehicle operating status of the on-board sensor is identified and isolated, and the isolated abnormal detection data is used as the input of the reinforcement learning model.
5. The method according to claim 2, wherein: Based on the isolation forest algorithm, abnormal pattern data in the time-related operating mode data of the vehicle system are identified and isolated, and the isolated abnormal pattern data are used as input of the prophet model.
6. The method according to claim 4, wherein: The detection data of the vehicle-mounted sensor on the vehicle running state is analyzed by KS test, and the first threshold of the isolation forest algorithm for identifying abnormal detection data in the detection data is adjusted based on the analysis result.
7. The method according to claim 5, wherein: The time series prediction data of the vehicle operation pattern is analyzed by a KS test, and a second threshold of the isolation forest algorithm for identifying abnormal usage data in the usage pattern data is adjusted based on the analysis result.
8. The method according to any one of claims 1 to 7, wherein: Action data taken regarding vehicle operating status includes abnormal behavior flags, abnormal detection threshold adjustments, and / or recommended maintenance actions.
9. The method according to any one of claims 1 to 7, wherein: The policy network is configured as a deep Q network for evaluating a value Q of a mapping relationship between the state space and the action space, wherein parameters of the deep Q network are adjusted by a learning rate α, a discount factor γ, and a calculated reward value.
10. The method according to claim 9, wherein: The parameters of the policy network are configured based on an ε-greedy strategy, wherein action data taken regarding the vehicle operating state is selected with probability ε, and action data that maximizes the value Q is selected with probability 1-ε, wherein the probability ε is set to decrease with the learning process of the reinforcement learning model.
11. The method according to any one of claims 1 to 7, wherein: The reinforcement learning model includes multiple intelligent agents, each of which is configured to monitor the operating status of different vehicle-mounted components, and the multiple intelligent agents cooperate with each other.
12. A method for monitoring an abnormal state of a vehicle, the method comprising: Using a reinforcement learning model trained by the method according to any one of claims 1 to 11, abnormal conditions in the vehicle operating state are monitored based at least on detection data of the vehicle operating state by on-board sensors and time series prediction data of the vehicle operating mode.
13. A system (1) for training a reinforcement learning model for monitoring abnormal conditions of a vehicle, the system (1) being used to execute the method according to any one of claims 1 to 11 above, wherein: The system (1) comprises the following components: A data acquisition module (11) is configured to acquire detection data of the vehicle's operating state from the vehicle's onboard sensors, time series prediction data of the vehicle's operating mode, and action data taken regarding the vehicle's operating state; A reinforcement learning model (12) for monitoring abnormal vehicle conditions is constructed by: using a state space as an input of each intelligent agent, and using an action space as an output of each intelligent agent of the reinforcement learning model, wherein the state space includes detection data of vehicle operating conditions by vehicle-mounted sensors and time series prediction data of vehicle operating modes, and the action space includes action data taken regarding the vehicle operating conditions; and A model training module (13) is configured to calculate a reward value regarding the mapping relationship between the state space and the action space through a reward function of each intelligent agent, and adjust the parameters of the policy network of the corresponding intelligent agent based at least on the calculated reward value, wherein the reward function is used to evaluate the accuracy and timeliness of the detection of abnormal conditions of the vehicle, and the policy network is configured to determine the mapping relationship between the state space and the action space. 14 . A computer program product, such as a computer-readable program carrier, comprising or storing computer program instructions, which, when executed by a processor, at least assist in implementing the steps of the method according to claim 1 .
Citation Information
Cited By
Meteorological risk intelligent early warning method and system based on multi-source data analysis
CN119785562A
Vehicle-mounted starting power supply abnormal state detection method based on data driving
CN120468712A
