A diagnostic development control system, method, vehicle and product

By designing a diagnostic development control system, using multiple modules and processing processes to comprehensively process diagnostic signals, the problem of inaccurate fault diagnosis in the existing technology is solved, more accurate fault diagnosis and control is achieved, and the normal operation of the vehicle and users are improved. Safety.

CN118584884BActive Publication Date: 2024-12-10BYD CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411061857.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-10
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

The existing vehicle diagnostic control system is too simple for fault diagnosis, resulting in inaccurate diagnosis and easy to generate incorrect control signals.

Method used

A diagnostic development control system is designed, including a first module for generating diagnostic signals, a second module for comprehensively processing diagnostic signals at multiple moments to obtain fault diagnosis results, and a third module generates control signals based on fault diagnosis results, through Multiple submodules and processing flows improve diagnostic accuracy.

Benefits of technology

It realizes more accurate fault diagnosis and control, reduces the generation of error control signals, and improves the normal operation of the vehicle and user safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584884B_ABST
    Figure CN118584884B_ABST
Patent Text Reader

Abstract

The present application provides a diagnostic development control system, method, vehicle and product, which are applied to the field of diagnostic control technology. The system includes: a first module, which is used to determine whether there is a monitoring error in the target monitoring item at the current moment according to a first input signal, and generate a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnosis signal or a normal diagnosis signal; a second module, which is used to process the diagnostic signals at multiple moments according to a target control strategy associated with the target monitoring item to obtain a fault diagnosis result; the second module includes multiple diagnostic sub-modules, and the second module selects a corresponding diagnostic sub-module according to different monitoring items to execute the control strategy associated with the monitoring item; and a third module is used to process the fault diagnosis result based on the control requirement of the control module associated with the target monitoring item according to the fault diagnosis result to generate a corresponding control signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of diagnostic control technology, and in particular to a diagnostic development control system, method, vehicle and product. Background Art

[0002] The vehicle's diagnostic control system is mainly used to monitor the vehicle's battery voltage, temperature, speed and other parameters in real time. When it is determined that the monitored item is in a fault state, it outputs the corresponding control signal to control the corresponding module to respond in time to maintain the normal operation of the vehicle and the safety of the user.

[0003] However, in the related art, the fault diagnosis of the vehicle is too simple (for example, judging whether the battery voltage value currently monitored is within the normal voltage range, and determining that the battery voltage is faulty when it exceeds the normal voltage range), which has certain limitations, resulting in inaccurate fault diagnosis, and thus easily generating erroneous control signals. Therefore, it is necessary to develop a diagnostic development control system, method, vehicle and product to improve the accuracy of diagnostic control. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application provide a diagnostic development control system, method, vehicle and product to overcome the above problems or at least partially solve the problem of inaccurate diagnostic control.

[0005] A first aspect of an embodiment of the present application provides a diagnosis development control system, the diagnosis development control system comprising: a first module, a second module, and a third module;

[0006] The first module is used to determine whether there is a monitoring error in the target monitoring item at the current moment according to the first input signal, and generate a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnostic signal or a normal diagnostic signal;

[0007] The second module is used to process the diagnostic signals at multiple times according to the target control strategy associated with the target monitoring item to obtain a fault diagnosis result; the second module includes multiple diagnostic submodules, and the second module selects the corresponding diagnostic submodule according to different monitoring items to execute the control strategy associated with the monitoring item;

[0008] The third module is used to process the fault diagnosis result based on the control demand of the control module associated with the target monitoring item and generate a corresponding control signal.

[0009] In a possible implementation manner, determining, according to the first input signal, whether there is a monitoring error in the target monitoring item at the current moment includes:

[0010] Comparing the first input signal with a preset value range;

[0011] In the case where the first input signal exceeds the preset value range, determining that the target monitoring item has a monitoring error at the current moment, and generating the fault diagnosis signal at the current moment;

[0012] In the case where the first input signal does not exceed the preset value range, it is determined that there is no monitoring error in the target monitoring item at the current moment, and the normal diagnosis signal at the current moment is generated.

[0013] In a possible implementation manner, the second module at least includes: a comprehensive processing submodule; the comprehensive processing submodule outputs the fault diagnosis result according to the target control strategy and the diagnostic signals at multiple moments, including:

[0014] Determine whether to perform functional testing;

[0015] When a functional test needs to be performed, the host computer is used to simulate the diagnostic monitoring process under the control strategy according to the set functional test control parameters to obtain the functional test results;

[0016] When there is no need to perform functional testing, determine whether to enable the monitoring algorithm module;

[0017] When it is necessary to start the monitoring algorithm module, the fault diagnosis result is output according to the diagnosis signal at multiple moments.

[0018] In a possible implementation manner, when the monitoring algorithm module needs to be started, outputting the fault diagnosis result according to the diagnostic signals at multiple moments includes:

[0019] Determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple times;

[0020] In the case of self-resetting the target monitoring item, outputting a first fault diagnosis result, wherein the first fault diagnosis result indicates that the target monitoring item does not have a fault at the current moment and continues to perform the monitoring function;

[0021] Without self-resetting the target monitoring item, a second fault diagnosis result is output, wherein the second fault diagnosis result indicates that the target monitoring item has a fault at the current moment and the monitoring function is stopped.

[0022] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple moments includes:

[0023] Determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments; and / or

[0024] Whether to self-reset the target monitoring item is determined according to the duration of the fault represented by the diagnostic signal at multiple moments.

[0025] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments includes:

[0026] Determine the maximum positive value, the algorithm increment step value and the algorithm decrement step value of the monitoring algorithm, wherein the maximum positive value of the monitoring algorithm represents: the maximum number of times the fault diagnosis signal can be continuously received under the normal monitoring state; the algorithm increment step value represents the number of times each fault diagnosis signal is received, and the algorithm decrement step value represents the number of times each normal diagnosis signal is received;

[0027] According to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value, determining whether the number of consecutive faults of the fault diagnostic signals currently received continuously exceeds the maximum positive value of the monitoring algorithm;

[0028] When the number of consecutive faults of the fault diagnosis signal currently received continuously exceeds the maximum positive value of the monitoring algorithm, the target monitoring item is not self-reset;

[0029] When the number of consecutive faults of the fault diagnosis signal currently received continuously does not exceed the positive maximum value of the monitoring algorithm, the target monitoring item is self-reset.

[0030] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments includes:

[0031] Determine the negative maximum value of the algorithm; the negative maximum value of the algorithm represents: the maximum number of times the normal diagnostic signal can be continuously received in the fault monitoring state;

[0032] According to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value, determining whether the number of consecutive failures of the normal diagnostic signals currently received continuously exceeds the negative maximum value of the algorithm;

[0033] When the number of consecutive failures of the normal diagnostic signal currently received continuously does not exceed the negative maximum value of the algorithm, the target monitoring item is not self-reset;

[0034] When the number of consecutive failures of the normal diagnostic signal currently received continuously exceeds the negative maximum value of the algorithm, the target monitoring item is self-reset.

[0035] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments includes:

[0036] According to the duration of the diagnosis cycle, the maximum positive time of the algorithm, the algorithm step-increasing time and the algorithm step-reducing time are determined. The maximum positive time of the algorithm indicates the maximum duration of the fault diagnosis signal that can be continuously received under the normal monitoring state; the diagnosis cycle duration indicates the duration required for the diagnosis development control system to run once; the algorithm step-increasing time indicates the duration increased each time a fault diagnosis signal is received, and the algorithm step-reducing time indicates the duration reduced each time a normal diagnosis signal is received;

[0037] According to the diagnostic signals at the multiple moments, the algorithm step-increasing time and the algorithm step-decreasing time, determining whether the fault duration of the fault diagnostic signals currently received continuously exceeds the maximum positive time of the algorithm;

[0038] When the fault duration of the fault diagnosis signal currently continuously received exceeds the maximum positive time of the algorithm, the monitoring item is not self-reset;

[0039] When the fault duration of the fault diagnosis signal currently received continuously does not exceed the maximum positive time of the algorithm, the monitoring item is self-reset.

[0040] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments further includes:

[0041] According to the duration of the diagnostic cycle, the algorithm negative maximum time is determined; the algorithm negative maximum time represents the maximum duration during which the normal diagnostic signal can be continuously received in the fault monitoring state;

[0042] According to the diagnostic signals at the multiple moments, the algorithm step-increasing time and the algorithm step-decrementing time, determining whether the fault duration of the currently continuously received normal diagnostic signals exceeds the negative maximum time of the algorithm;

[0043] When the fault duration of the currently continuously received normal diagnostic signal does not exceed the negative maximum time of the algorithm, the monitoring item is not self-reset;

[0044] When the fault duration of the currently continuously received normal diagnosis signal exceeds the negative maximum time of the algorithm, the monitoring item is self-reset.

[0045] In a possible implementation manner, the fault diagnosis result includes an output fault signal and a control strategy signal; the third module includes: an external control submodule and an internal control submodule;

[0046] The external control submodule is used to generate an external control signal of the corresponding control module according to the output fault signal, and the external control signal at least includes: an image prompt, a text prompt and an alarm prompt on the display interface;

[0047] The internal control submodule is used to generate a corresponding internal control signal according to the control strategy signal, and the internal control signal is used to start or stop the functional control strategy of the corresponding monitoring item, and the functional control strategy includes at least: vehicle speed control strategy, power control strategy and torque control strategy.

[0048] In a possible implementation, the system further includes:

[0049] An input module, configured to process the current monitoring signal into the first input signal satisfying the input signal requirement of the first module according to a processing strategy associated with the current monitoring signal;

[0050] The output module is used to process the control signal into a signal adapted to the input requirement of the corresponding control module interface.

[0051] In a possible implementation manner, the current monitoring signal includes at least one of the following: a CAN message signal, a sensor signal of a controller, a controller NVM storage signal, and a diagnostic control service signal;

[0052] The processing of the current monitoring signal by the input module includes at least one of the following:

[0053] Data type conversion;

[0054] Fixed-floating point conversion;

[0055] Precision calculation;

[0056] Control instruction parsing.

[0057] A second aspect of the embodiment of the present application provides a diagnostic development control method, which is applied to the diagnostic development control system described in the first aspect of the embodiment of the present application. The method includes:

[0058] According to the first input signal, determining whether there is a monitoring error in the target monitoring item at the current moment, and generating a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnostic signal or a normal diagnostic signal;

[0059] According to the target control strategy associated with the target monitoring item, the diagnostic signals at multiple times are processed to obtain fault diagnosis results; different monitoring items are associated with different control strategies;

[0060] The fault diagnosis result is processed based on the control demand of the control module associated with the target monitoring item to generate a corresponding control signal.

[0061] A third aspect of an embodiment of the present application provides a vehicle, which is equipped with the diagnostic development control system described in the first aspect of the embodiment of the present application, and the diagnostic development control system is connected to the battery of the vehicle, and determines whether to stop the battery voltage control strategy of the vehicle based on the monitored battery voltage signal of the vehicle.

[0062] A fourth aspect of the embodiments of the present application provides a computing and processing device, including:

[0063] a memory having computer readable code stored therein; and

[0064] One or more processors, when the computer readable code is executed by the one or more processors, the computing processing device executes the diagnostic development control method as described in the third aspect of the embodiment of the present application.

[0065] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program / instruction stored thereon, and the computer program / instruction is executed by a processor as the diagnostic development control method described in the third aspect of an embodiment of the present application.

[0066] The embodiments of the present application provide a diagnostic development control system, method, vehicle and product, wherein the diagnostic development control system includes: a first module, a second module and a third module; the first module is used to determine whether there is a monitoring error in the target monitoring item at the current moment according to a first input signal, and generate a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnosis signal or a normal diagnosis signal; the second module is used to process the diagnostic signals at multiple moments according to a target control strategy associated with the target monitoring item to obtain a fault diagnosis result; the second module includes multiple diagnostic sub-modules, and the second module selects a corresponding diagnostic sub-module according to different monitoring items to execute the control strategy associated with the monitoring item; the third module is used to process the fault diagnosis result based on the control requirement of the control module associated with the target monitoring item to generate a corresponding control signal.

[0067] The embodiment of the present application fully realizes the strategic requirements of embedded diagnostic control development, using the first module to implement diagnostic monitoring error judgment, using the second module to perform diagnostic comprehensive processing (according to the target control strategy associated with the current monitoring item, the diagnostic signals at multiple times are processed to obtain fault diagnosis results), and using the third module to implement diagnostic control classification output. According to the target control strategy, the present application integrates the diagnostic signals at multiple times to obtain more accurate fault diagnosis results and achieve efficient and accurate diagnostic control. In addition, for the diagnostic control development system, by splitting different functions into multiple modules and developing them in a modular manner, the difficulty of developing diagnostic control is simplified. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0069] Figure 1 It is a structural diagram of a diagnostic development control system provided in an embodiment of the present application;

[0070] Figure 2 It is a processing flow diagram of a comprehensive processing submodule provided in an embodiment of the present application;

[0071] Figure 3 It is a processing flow diagram of another comprehensive processing submodule provided in an embodiment of the present application;

[0072] Figure 4 It is a step flow chart of a diagnostic development control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] The exemplary embodiments of the present application will be described in more detail below in conjunction with the accompanying drawings in the embodiments of the present application. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to enable the scope of the present application to be fully communicated to those skilled in the art.

[0074] The vehicle's diagnostic control system is mainly used to monitor the vehicle's battery voltage, temperature, speed and other parameters in real time. When it is determined that the monitored item is in a fault state, it outputs the corresponding control signal to control the corresponding module to respond in time to maintain the normal operation of the vehicle and the safety of the user.

[0075] However, in the related art, vehicle fault diagnosis is too simple (for example, determining whether the currently monitored battery voltage value is within a normal voltage range, and determining that the battery voltage is faulty when it exceeds the normal voltage range), which has certain limitations, resulting in inaccurate fault diagnosis and easily generating erroneous control signals.

[0076] In view of the above problems, the embodiments of the present application propose a diagnostic development control system, method, vehicle and product to solve the problem that the above fault diagnosis control accuracy is not ideal. The diagnostic development control system provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings through some embodiments and their application scenarios.

[0077] This embodiment proposes a diagnostic development control system, referring to Figure 1 , Figure 1 A schematic diagram of the structure of a diagnostic development control system is shown. Figure 1 As shown, the diagnostic development control system includes: a first module, a second module, and a third module;

[0078] The first module is used to determine whether there is a monitoring error in the target monitoring item at the current moment according to the first input signal, and generate a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnostic signal or a normal diagnostic signal;

[0079] The second module is used to process the diagnostic signals at multiple times according to the target control strategy associated with the target monitoring item to obtain a fault diagnosis result; the second module includes multiple diagnostic submodules, and the second module selects the corresponding diagnostic submodule according to different monitoring items to execute the control strategy associated with the monitoring item;

[0080] The third module is used to process the fault diagnosis result based on the control demand of the control module associated with the target monitoring item and generate a corresponding control signal.

[0081] like Figure 1 As shown, the embodiment of the present application proposes a diagnostic development control system, which can be used to implement a diagnostic control method for vehicle embedded software algorithm development, and is specifically suitable for controller diagnostic development of MCU microcontroller signals. In actual application, it can be loaded in the vehicle's MCU, and the monitored diagnostic signal (such as battery voltage value) is used as input to diagnose whether the current state is faulty (for example, whether the current battery voltage is in a faulty state), and output a control signal for the corresponding module or controller on the vehicle.

[0082] The first module is used to determine whether there is a monitoring error in the target monitoring item at the current moment according to the first input signal, and generate a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnosis signal or a normal diagnosis signal. Figure 1 As shown, the input module inputs the processed first input signal into the first module, and the first module determines the target monitoring item (such as voltage, battery power) according to the received first input signal, and generates a diagnostic signal (fault diagnosis signal or normal diagnosis signal). The first module compares the first input signal with a preset threshold value according to the monitoring algorithm requirements corresponding to the target monitoring item, or, based on the redundant processing of different signals, comprehensively judges whether there is a monitoring error in the monitoring item, that is, whether the monitoring item is in a fault state, and obtains the diagnostic result for the monitoring item (the diagnostic signal at the current moment), which is input into the second module. Among them, the fault diagnosis signal indicates that the target monitoring item is in a fault state at the current moment; the normal diagnosis signal indicates that the target monitoring item is in a normal state at the current moment. In this embodiment, the first module and other modules (such as the second module, the third module, etc.) are independent of each other, can be developed independently of each other, and different diagnostic monitoring requirements can be flexibly added or deleted in the first module, which simplifies the development difficulty of diagnostic control.

[0083] In a possible implementation manner, determining, according to the first input signal, whether there is a monitoring error in the target monitoring item at the current moment includes:

[0084] Comparing the first input signal with a preset value range;

[0085] In the case where the first input signal exceeds the preset value range, determining that the target monitoring item has a monitoring error at the current moment, and generating the fault diagnosis signal at the current moment;

[0086] In the case where the first input signal does not exceed the preset value range, it is determined that there is no monitoring error in the target monitoring item at the current moment, and the normal diagnosis signal at the current moment is generated.

[0087] Specifically, for the diagnosis and development control system, there may be multiple monitoring items, such as battery voltage, battery temperature, vehicle speed, etc. Different monitoring items have different diagnostic monitoring requirements (different preset value ranges). The first module determines the specific monitoring item of the current diagnosis (i.e., the target monitoring item) based on the first input signal. For example, when the first input signal is the battery voltage, the corresponding target monitoring item is the battery voltage. The first module compares the first input signal with the value range of the battery voltage in a normal state (i.e., the preset value range). When the first input signal exceeds the value range, it indicates that the battery voltage at the current moment is abnormal, and there is a monitoring error in the target monitoring item (the battery voltage is too low, for example, lower than 9V, due to long-term idleness of the vehicle or excessive consumption of dark current), and outputs a fault diagnosis signal.

[0088] The second module is used to process the diagnostic signals at multiple moments according to the target control strategy associated with the target monitoring item to obtain the fault diagnosis result; the second module includes multiple diagnostic submodules, and the second module selects the corresponding diagnostic submodule according to different monitoring items to execute the control strategy associated with the monitoring item. Specifically, Figure 1 As shown, different sub-modules can be developed in the second module (corresponding to different algorithms, each algorithm corresponds to a control strategy associated with a monitoring item), such as Figure 1 The first comprehensive processing submodule and the second comprehensive processing submodule are shown, which are used to realize the functions of control strategy development and control test. It should be noted that the output result (diagnostic signal) of the first module represents the result obtained by diagnosis based on the current moment, and in the actual application process, such as the vehicle driving process, various parameters often fluctuate instantaneously due to various reasons. If the monitoring signal at the current moment is used to diagnose whether the monitoring item is currently in a fault state, it is easy to cause diagnostic errors. In order to further improve the accuracy of diagnosis, the embodiment of the present application proposes to use the second module. After receiving the output (diagnostic signal) of the first module, the second module stores and integrates the diagnostic signals at multiple moments (for example, the diagnostic signals of the last 10 minutes), and after the comprehensive processing of the corresponding algorithm of the second module (the target control strategy associated with the target monitoring item), the fault diagnosis is realized (determining whether the target monitoring item is in a fault state at the current moment), and the fault diagnosis result is output (outputting the fault signal and the control strategy signal), so as to achieve the purpose of improving the accuracy of diagnosis.

[0089] The third module is used to process the fault diagnosis result based on the control demand of the control module associated with the target monitoring item and generate a corresponding control signal. Specifically, the third module is mainly responsible for processing the output signal (fault diagnosis result) of the second module. When the second module determines that the target monitoring item is in a fault state at the current moment, the third module needs to generate a corresponding control signal so that the corresponding control module can reflect it in time. Specifically, for the battery voltage of the vehicle, if the second module determines that the current battery voltage is in a fault state based on the diagnostic signals at multiple moments (for example, the vehicle has been idle for a long time or excessive dark current consumption has caused the voltage to be too low), then the third module needs to generate a control signal for the battery voltage fault alarm based on the fault diagnosis result, as well as a control signal for disabling the control strategy related to the battery voltage.

[0090] In a possible implementation manner, the fault diagnosis result includes an output fault signal and a control strategy signal; the third module includes: an external control submodule and an internal control submodule;

[0091] The external control submodule is used to generate an external control signal of the corresponding control module according to the output fault signal, and the external control signal at least includes: an image prompt, a text prompt and an alarm prompt on the display interface;

[0092] The internal control submodule is used to generate a corresponding internal control signal according to the control strategy signal, and the internal control signal is used to start or stop the functional control strategy of the corresponding monitoring item, and the functional control strategy includes at least: vehicle speed control strategy, power control strategy and torque control strategy.

[0093] In this embodiment, the third module includes two functional submodules (such as Figure 1 As shown, it includes an external control submodule and an internal control submodule). Taking into account the requirements of different control strategy apps, the external control submodule and the internal control submodule are responsible for processing the output fault signal and the control strategy signal of the second module respectively. Among them, the external control submodule mainly processes the output fault signal into a signal corresponding to the control requirements of other controllers, such as: icon prompts, image prompts, text prompts or alarm prompts in the HMI display interface. The internal control submodule mainly processes the control strategy signal output by the second module into a control signal that enables specific functions. The external control submodule and the internal control submodule are responsible for the logical strategy processing of external control requirements and internal control requirements, realizing the classified processing of external controllers and internal control module requirements, achieving the decoupling of internal and external control requirements, and further simplifying the complexity of software development.

[0094] like Figure 1 As shown, the external control submodule and the internal control submodule in the third module are responsible for processing the output fault signal and the control strategy signal of the second module respectively, wherein the specific algorithm flow inside the external control submodule divides the output signal (output fault signal) of the second module into C categories (the specific C value is refined into C1, C2, C3..., and the specific demand value needs to be changed according to the control demand) according to the control strategy requirements, and corresponds to the external output control signals of C1, C2, C3... respectively. Exemplarily, when the C1 control signal is true, the image prompt information of the corresponding display interface is executed, otherwise the prompt is not executed; when the C2 control signal is true, the text prompt information of the corresponding display interface is executed, otherwise the prompt is not executed; when the C3 control signal is true, the sound prompt information of the corresponding display interface is executed, otherwise the prompt is not executed.

[0095] The specific algorithm flow inside the internal control submodule in the third module divides the output signal (control strategy signal) of the second module into Class A (the specific A value is refined into A1, A2, A3..., and the specific demand value needs to be changed according to the control demand) according to the control strategy requirements, and corresponds to the internal control variable signals of A1, A2, A3... respectively. Exemplarily, when the A1 control signal is true, the corresponding control function strategy A1 (for example, the control strategy that limits the vehicle speed according to the battery voltage drop value) is prohibited from running, otherwise the prohibition is not executed; when the A2 control signal is true, the corresponding control function strategy A2 (for example, the control strategy that limits the power according to the battery voltage drop value) is prohibited from running, otherwise the prohibition is not executed; when the A3 control signal is true, the corresponding control function strategy A3 is prohibited from running, otherwise the prohibition is not executed. Therefore, through the comprehensive processing of the third module, the functional requirements of being able to control the external output and the internal output variables are achieved.

[0096] In this embodiment, for the second module, there are multiple different control strategies (algorithms). In actual application, the corresponding control strategy can be selected as the target control strategy according to different monitoring items (determined based on the first input signal) to perform diagnostic control. Figure 1 As shown, the second module includes two different submodules (a first comprehensive processing submodule and a second comprehensive processing submodule). Different submodules use different control strategies to process the diagnostic signal output by the first module. The following embodiments respectively illustrate the processing flow of the second module.

[0097] In a possible implementation manner, the second module at least includes: a comprehensive processing submodule; the comprehensive processing submodule outputs the fault diagnosis result according to the target control strategy and the diagnostic signals at multiple moments, including:

[0098] Step S101, determining whether to perform a functional test.

[0099] Step S102: When a functional test needs to be performed, the host computer is used to simulate the diagnostic monitoring process under the control strategy according to the set functional test control parameters to obtain the functional test results. Figure 2 , Figure 2 A schematic diagram of the processing flow of a comprehensive processing submodule is shown, such as Figure 2As shown, specifically, first determine whether to perform a functional test. The functional test is used to test whether the target vehicle is running according to the set control strategy, whether there are diagnostic errors or control errors, and then determine whether the control strategy is applicable. If a functional test needs to be performed, the functional test control parameters (relevant parameters in the control strategy to be tested, such as the preset value range) of this functional test are set to true, and the input analog input in the comprehensive processing submodule is true, then the corresponding control strategy test function can be executed. This functional test can be implemented through the host computer simulation (simulating the operation process of the target vehicle according to the set control strategy to determine the test effect of the control strategy). Specifically, through the input prompts of the comprehensive processing submodule, different parameter values ​​(functional test control parameters) are input according to the development requirements to meet the algorithm requirements based on number and time in the control strategy development, and the test function of a single control strategy is implemented through the host computer.

[0100] Step S103, when the function test does not need to be performed, determine whether to start the monitoring algorithm module. Specifically, when the function test does not need to be performed, the function test input is set to false, such as Figure 2 As shown, the process executes the next step to determine whether the monitoring algorithm module needs to be turned on (corresponding to Figure 2 Whether to enable monitoring in the module), if you choose not to enable the monitoring algorithm module, the output is false and the subsequent process is stopped.

[0101] Step S104, when the monitoring algorithm module needs to be turned on, the fault diagnosis result is output according to the diagnostic signals at multiple times. When the monitoring algorithm module needs to be turned on, the diagnostic signals at multiple times output by the first module are comprehensively processed according to the control strategy completed by the functional test to obtain the fault diagnosis result.

[0102] In a possible implementation, in step S104, when the monitoring algorithm module needs to be started, outputting the fault diagnosis result according to the diagnosis signal at multiple moments includes:

[0103] Step S1041, determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple moments.

[0104] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple moments includes:

[0105] Step S1041-1, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments; and / or

[0106] Step S1041 - 2 , determining whether to perform self-reset on the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments.

[0107] In this embodiment, whether to perform self-reset on the target monitoring item can be determined from two aspects, which respectively represent two different control strategies. For example, when control strategy A is selected, step S1041-1 is executed to determine whether to perform self-reset on the target monitoring item based on the number of consecutive faults represented by the diagnostic signal at multiple moments; when control strategy B is selected, step S1041-2 is executed to determine whether to perform self-reset on the target monitoring item based on the duration of the fault represented by the diagnostic signal at multiple moments. Two different control strategies are described separately.

[0108] In a possible implementation manner, the step S1041-1, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments, includes:

[0109] Step S201, determine the positive maximum value, algorithm increase step value and algorithm decrease step value of the monitoring algorithm, the positive maximum value of the monitoring algorithm represents: the maximum number of times the fault diagnosis signal can be continuously received under normal monitoring conditions; the algorithm increase step value represents the number of times each fault diagnosis signal is received increases, and the algorithm decrease step value represents the number of times each normal diagnosis signal is received decreases.

[0110] Step S202, judging whether the number of consecutive faults of the fault diagnosis signal currently received continuously exceeds the maximum positive value of the monitoring algorithm according to the diagnosis signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value.

[0111] Step S203: when the number of consecutive faults of the fault diagnosis signal currently received continuously exceeds the maximum positive value of the monitoring algorithm, the target monitoring item is not self-reset.

[0112] Step S204, when the number of consecutive faults of the fault diagnosis signal currently received continuously does not exceed the maximum positive value of the monitoring algorithm, the target monitoring item is self-reset.

[0113] In this embodiment, the control input executes the symmetric algorithm, first determining the maximum value of the control input symmetric algorithm (corresponding to Figure 2The maximum value of the algorithm in (i.e., the positive maximum value of the monitoring algorithm). Then, the symmetric algorithm is further executed to control the input algorithm increment step value and the algorithm decrement step value. The two input values ​​are used to control the rate of occurrence or disappearance of errors in the input signal of the target control strategy. The actual size of the algorithm increment step value and the algorithm decrement step value needs to be set according to the actual application situation, and is not specifically limited in this embodiment. The positive maximum value of the monitoring algorithm represents: the maximum number of times the fault diagnosis signal can be continuously received under the normal monitoring state. The algorithm increment step value represents the number of times each fault diagnosis signal is received (for example, when the first fault diagnosis signal is received, the number of times is increased by 1, when the second consecutive fault diagnosis signal is received, the number of times is increased by 2..., when the tenth consecutive fault diagnosis signal is received, the number of times is increased by 10), and the algorithm decrement step value represents the number of times each normal diagnosis signal is received (for example, when the first normal diagnosis signal is received, the number of times is reduced by 1, when the second consecutive normal diagnosis signal is received, the number of times is reduced by 2..., when the tenth consecutive normal diagnosis signal is received, the number of times is reduced by 10).

[0114] Exemplarily, for the target monitoring item (such as battery voltage), the maximum number of positive times of the monitoring algorithm is set to 99; the algorithm increment step value is 1 for each fault diagnosis signal received, and the algorithm decrement step value is 1 for each normal diagnosis signal received. For the second module, the diagnostic signals received at the last 100 moments are all fault diagnosis signals, and the accumulated times are 100 (the number of consecutive faults of the fault diagnosis signals currently received continuously), which exceeds the maximum number of times of the monitoring algorithm, then the second module determines that the battery voltage is in a fault state (non-instantaneous state) for a long time.

[0115] For the target monitoring item in a fault state, it will not be reset. Exemplarily, if the vehicle is idle for a long time or consumes too much dark current, causing the voltage to slowly drop, the system will think that the battery voltage is too low and generate a fault code, and then send a control signal to the relevant control module according to the set control strategy (for example, the battery voltage is reduced, and the vehicle speed is limited to within the first threshold). However, the actual battery voltage is caused by the long-term idleness of the vehicle or excessive consumption of dark current. When the battery voltage does not fail, a fault code is still generated and the vehicle speed is limited. In this embodiment, through the second module, it is judged that the target monitoring item (such as battery voltage) is in a fault state (for example, the voltage is lower than the preset value range due to the long-term idleness of the vehicle or excessive consumption of dark current), and it will not be reset. Correspondingly, whether to turn on the monitoring module jumps to not monitoring, and the counting module maintains the current count value until the monitoring module enables monitoring or the controller is powered off (that is, the corresponding control strategy for the battery voltage is stopped, thereby preventing the motor vehicle from being in a low voltage state because the voltage drop cannot be identified, although its components have not failed, and the corresponding fault code and control signal are still generated). Correspondingly, if the number of consecutive faults of the fault diagnosis signal currently received continuously does not exceed the positive maximum value of the monitoring algorithm, it means that the target monitoring item is still in a normal state and can be self-reset.

[0116] In a possible implementation manner, the step S1041-1, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments, further includes:

[0117] Step S205, determining the negative maximum value of the algorithm; the negative maximum value of the algorithm represents: the maximum number of times the normal diagnostic signal can be continuously received in the fault monitoring state;

[0118] Step S206, judging whether the number of consecutive failures of the currently received normal diagnostic signal exceeds the negative maximum value of the algorithm according to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value;

[0119] Step S207, when the number of consecutive failures of the normal diagnostic signal currently received continuously does not exceed the negative maximum value of the algorithm, the target monitoring item is not self-reset;

[0120] Step S208, when the number of consecutive failures of the normal diagnostic signal currently received continuously exceeds the negative maximum value of the algorithm, the target monitoring item is self-reset.

[0121] It should be noted that, in this embodiment, steps S205 to S208 and steps S201 to S204 in the above text do not have a sequential execution order and can be executed in parallel.

[0122] In this embodiment, if Figure 2 As shown, when an asymmetric algorithm is selected, if the symmetric algorithm input is false, the next step is executed. It is necessary to control the algorithm's positive maximum value and algorithm's negative maximum value of the input algorithm, as well as the corresponding algorithm's increasing step value and algorithm's decreasing step value. The two input values ​​are used to control the rate at which errors in the input signal of the target control strategy appear or disappear. The actual size of the algorithm's increasing step value and the algorithm's decreasing step value need to be set according to the actual application situation, and are not specifically limited in this embodiment. The algorithm's positive maximum value indicates: the maximum number of times the fault diagnosis signal can be continuously received under normal monitoring conditions. The algorithm's negative maximum value indicates: the maximum number of times the normal diagnosis signal can be continuously received under fault monitoring conditions. The algorithm's increasing step value indicates the number of times each fault diagnosis signal is received, and the algorithm's decreasing step value indicates the number of times each normal diagnosis signal is received.

[0123] When the number of consecutive faults of the fault diagnosis signal currently received continuously exceeds the positive maximum value of the algorithm (e.g., 100 times), it means that the target monitoring item has been in a faulty operation state for a long time. The diagnosis confirms that the monitoring item (e.g., battery voltage) has a fault, and the relevant control strategy is stopped to avoid control errors. When the number of consecutive faults of the normal diagnosis signal currently received continuously exceeds the negative maximum value of the algorithm (e.g., 100 times), it means that the target monitoring item has been in a normal operation state (or has changed from a faulty state to a normal state) for a long time, there is no fault, it can be continuously monitored, and the relevant control strategy can be used.

[0124] Exemplarily, for the target monitoring item (such as battery voltage), the maximum number of monitoring algorithm is set to 99; the algorithm increment step value is increased by 1 for each fault diagnosis signal received, and the algorithm decrement step value is reduced by 1 for each normal diagnosis signal received. For the second module, based on the diagnostic signals received at the most recent 100 moments, the first 60 are all fault diagnosis signals, the cumulative number of times is 60, and the diagnostic signals at the last 40 moments are all normal diagnosis signals, then the number of times is correspondingly reduced by 40, and the final accumulated number of consecutive faults is 20 (that is, the number of consecutive faults of the fault diagnosis signals currently received continuously does not exceed the algorithm's maximum value of 100), then the second module determines that the battery voltage has been in a normal state for a long time, can maintain monitoring of the battery voltage, and outputs a corresponding control signal (executes a control strategy related to the battery voltage).

[0125] In a possible implementation manner, the step S1041-2, determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments, includes:

[0126] Step S301, according to the duration of the diagnosis cycle, determine the maximum algorithm positive time, the algorithm step increase time and the algorithm step decrease time, the maximum algorithm positive time represents the maximum duration of the fault diagnosis signal that can be continuously received under normal monitoring conditions; the diagnosis cycle duration represents the duration required for the diagnosis development control system to run once (i.e., complete execution time). Figure 3 The time required for the process shown corresponds to Figure 3 The algorithm step-in time represents the time length added each time a fault diagnosis signal is received, and the algorithm step-down time represents the time length reduced each time a normal diagnosis signal is received.

[0127] Step S302, judging whether the fault duration of the fault diagnosis signal currently received continuously exceeds the maximum positive time of the algorithm according to the diagnosis signals at the multiple moments, the algorithm step increase time and the algorithm step decrease time.

[0128] Step S303: when the fault duration of the currently continuously received fault diagnosis signal exceeds the maximum positive time of the algorithm, the monitoring item is not self-reset.

[0129] Step S304: when the fault duration of the currently continuously received fault diagnosis signal does not exceed the maximum positive time of the algorithm, the monitoring item is self-reset.

[0130] Reference Figure 3 , Figure 3 Another processing flow diagram of the comprehensive processing submodule is shown. In this embodiment, the comprehensive processing module uses the duration of the fault to make a judgment. When setting the relevant parameters (maximum algorithm positive time, algorithm step increase time and algorithm step decrease time), the operating cycle of the software module (diagnosis cycle time) needs to be considered. For example, running a diagnostic process (such as Figure 3 As shown in the figure, 0.5s is required. Accordingly, when setting the maximum positive time of the algorithm, the algorithm step increase time and the algorithm step decrease time, they need to be set to multiples of 0.5s to facilitate observation.

[0131] In this embodiment, if Figure 3As shown, if the control input needs to execute a symmetric algorithm, the maximum value of the control input symmetric algorithm, that is, the maximum positive time of the algorithm, needs to be controlled. Then, the symmetric algorithm is further executed, and the control input algorithm step-up time and algorithm step-down time are used to control the rate at which errors of the input signal of the target control strategy appear or disappear. The actual size of the algorithm step-up time and the algorithm step-down time needs to be set according to the actual application situation, and is not specifically limited in this embodiment. The maximum positive time of the algorithm (corresponding to Figure 3 The maximum algorithm time in the algorithm indicates the maximum duration of the fault diagnosis signal that can be continuously received under normal monitoring conditions. The algorithm increment time indicates the duration increased each time a fault diagnosis signal is received (for example, the duration may be increased by 1s when the first fault diagnosis signal is received, and the duration may be increased by 2s when the second consecutive fault diagnosis signal is received..., and the duration may be increased by 10s when the tenth consecutive fault diagnosis signal is received). The algorithm decrement time indicates the duration decreased each time a normal diagnosis signal is received (for example, the duration may be decreased by 1s when the first normal diagnosis signal is received, and the duration may be decreased by 2s when the second consecutive normal diagnosis signal is received...).

[0132] Exemplarily, for the target monitoring item (such as battery voltage), the maximum positive time of the algorithm is set to 99s; the algorithm increment time is increased by 1s for each fault diagnosis signal received, and the algorithm decrement time is decreased by 1s for each normal diagnosis signal received. For the second module, the diagnostic signals received at the last 100 moments are all fault diagnosis signals, and the accumulated fault duration is 100s (the fault duration of the fault diagnosis signals currently received continuously), which exceeds the maximum positive time of the algorithm, then the second module determines that the battery voltage is in a fault state (non-instantaneous state) for a long time.

[0133] For the target monitoring item in a fault state, it will not be reset. Exemplarily, if the vehicle is idle for a long time or consumes too much dark current, the voltage will slowly drop. The system will think that the battery voltage is too low and generate a fault code, and then send a control signal to the relevant control module according to the set control strategy (for example, the battery voltage is reduced, and the vehicle speed is limited to within the first threshold). However, the actual battery voltage is caused by the long-term idleness of the vehicle or the excessive consumption of dark current. When the battery voltage does not fail, a fault code is still generated and the vehicle speed is limited. In this embodiment, through the comprehensive processing submodule in the second module, it is judged that the target monitoring item (such as battery voltage) is in a fault state (for example, the voltage is lower than the preset value range due to the long-term idleness of the vehicle or the excessive consumption of dark current), and it will not be reset. Correspondingly, whether to turn on the monitoring module jumps to not monitoring, and the counting module maintains the current count value until the monitoring module enables monitoring or the controller is powered off (that is, the corresponding control strategy for the battery voltage is stopped, so as to prevent the motor vehicle from being in a low voltage state because the voltage drop cannot be identified, although its components have not failed, and the corresponding fault code and control signal are still generated). Correspondingly, if the fault duration of the fault diagnosis signal currently received continuously does not exceed the maximum positive time of the algorithm, it means that the target monitoring item is still in a normal state and can be self-reset.

[0134] In a possible implementation manner, the step S1041-2, determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments, further includes:

[0135] Step S305, determining the algorithm negative maximum time according to the duration of the diagnosis cycle; the algorithm negative maximum time represents the maximum duration during which the normal diagnosis signal can be continuously received in the fault monitoring state;

[0136] Step S306, judging whether the fault duration of the currently continuously received normal diagnostic signal exceeds the negative maximum time of the algorithm according to the diagnostic signals at the multiple moments, the algorithm step increase time and the algorithm step decrease time;

[0137] Step S307, when the fault duration of the currently continuously received normal diagnostic signal does not exceed the negative maximum time of the algorithm, the monitoring item is not reset;

[0138] Step S308: When the fault duration of the currently continuously received normal diagnostic signal exceeds the negative maximum time of the algorithm, the monitoring item is self-reset.

[0139] It should be noted that, in this embodiment, steps S305 to S308 and steps S301 to S304 in the above text do not have a sequential execution order and can be executed in parallel.

[0140] In this embodiment, if Figure 3 As shown, when an asymmetric algorithm is selected, if the symmetric algorithm input is false, the next step is executed, and the algorithm's maximum positive time and algorithm's maximum negative time, as well as the corresponding algorithm's step-increasing time and algorithm's step-reducing time, need to be controlled. These two input values ​​are used to control the rate at which errors in the input signal of the target control strategy appear or disappear. The actual size of the algorithm's step-increasing time and the algorithm's step-reducing time need to be set according to the actual application situation, and are not specifically limited in this embodiment. The algorithm's maximum positive time indicates: the maximum duration during which the fault diagnosis signal can be continuously received under normal monitoring conditions. The algorithm's maximum negative time indicates: the maximum duration during which the normal diagnosis signal can be continuously received under fault monitoring conditions. The algorithm's step-increasing time indicates the duration increased for each fault diagnosis signal received, and the algorithm's step-reducing time indicates the duration decreased for each normal diagnosis signal received.

[0141] When the fault duration of the fault diagnosis signal currently received continuously exceeds the maximum positive time of the algorithm (e.g. 100s), it means that the target monitoring item is in a faulty operation state for a long time. The diagnosis confirms that the monitoring item (e.g. battery voltage) is faulty, and the relevant control strategy is stopped to avoid control errors. When the fault duration of the normal diagnosis signal currently received continuously exceeds the negative maximum time of the algorithm (e.g. 100s), it means that the target monitoring item is in a normal operation state (or changes from a faulty state to a normal state) for a long time, there is no fault, it can be continuously monitored, and the relevant control strategy can be used.

[0142] Exemplarily, for the target monitoring item (such as battery voltage), the maximum positive time of the algorithm is set to 99s; the algorithm increment time is increased by 1s for each fault diagnosis signal received, and the algorithm decrement time is reduced by 1s for each normal diagnosis signal received. For the second module, based on the diagnostic signals received at the last 100 moments, the first 60 are all fault diagnosis signals, the accumulated time is 60s, and the diagnostic signals at the last 40 moments are all normal diagnosis signals, then the time is reduced by 40s accordingly, and the final accumulated fault duration is 20s (that is, the fault duration of the fault diagnosis signal currently received continuously does not exceed the maximum positive time of the algorithm 100). The second module determines that the battery voltage is in a normal state for a long time, can maintain monitoring of the battery voltage, and outputs a corresponding control signal (executes a control strategy related to the battery voltage), and does not self-reset the target monitoring item.

[0143] Step S1042, when the target monitoring item is self-reset, a first fault diagnosis result is output, wherein the first fault diagnosis result indicates that the target monitoring item does not have a fault at the current moment and the monitoring function continues to be executed.

[0144] Step S1043, outputting a second fault diagnosis result without self-resetting the target monitoring item, wherein the second fault diagnosis result indicates that the target monitoring item has a fault at the current moment and the monitoring function is stopped.

[0145] Specifically, for monitoring items that are in a fault state, they will not be reset. For example, if the vehicle is idle for a long time or consumes too much dark current, causing the voltage to slowly drop, the system will think that the battery voltage is too low and generate a fault code, and then send a control signal to the relevant control module according to the set control strategy (for example, the battery voltage is reduced, and the vehicle speed is limited to within the first threshold). However, the actual battery voltage is caused by the long-term idleness of the vehicle or the excessive consumption of dark current. The fault code is still generated and the vehicle speed is limited when there is no fault in the battery voltage. In this embodiment, the second comprehensive processing submodule in the second module determines that the monitoring item (such as battery voltage) is in a fault state (for example, the voltage is lower than the preset value range due to long-term idleness of the vehicle or excessive consumption of dark current), and then it is not self-reset. Correspondingly, whether to turn on the monitoring module jumps to non-monitoring, and the duration counting module maintains the current count value until the monitoring module enables monitoring or the controller is powered off (that is, the corresponding control strategy for the battery voltage is stopped, so as to prevent the motor vehicle from being in a low voltage state because the voltage drop cannot be identified, although its components have not failed, and still generating corresponding fault codes and control signals), that is, outputting the second fault diagnosis result (the second fault diagnosis result includes the corresponding output fault signal and control strategy signal), and stopping the execution of the monitoring function and the corresponding control strategy. Correspondingly, if the number of the fault diagnosis signals currently received continuously does not exceed the positive maximum value of the monitoring algorithm, it means that the monitoring item is still in a normal state, and it can be self-reset, outputting the first fault diagnosis result (the second fault diagnosis result includes the corresponding output fault signal and control strategy signal), continuing to execute the monitoring function, and using the control strategy related to the monitoring item.

[0146] In this embodiment, for the comprehensive processing submodule constituting the main function of the second module, in the actual development stage, the two different modules can be flexibly selected for independent development to meet different control strategy requirements. In actual application, the corresponding module is flexibly selected to achieve the rapid development of diagnostic control software, and the purpose of diagnostic control function testing is achieved through the host computer, accelerating the software function strategy bug iteration. In addition, different extended development algorithms can also be placed in the second module to meet user needs.

[0147] In a possible implementation, the system further includes:

[0148] An input module, configured to process the current monitoring signal into the first input signal satisfying the input signal requirement of the first module according to a processing strategy associated with the current monitoring signal;

[0149] The output module is used to process the control signal into a signal adapted to the input requirement of the corresponding control module interface.

[0150] The input module is used to process the current monitoring signal into a first input signal that meets the input signal requirements of the first module. Different current monitoring signals correspond to different monitoring items and are also associated with different processing strategies. In this embodiment, the input module is mainly responsible for processing the input data (i.e., the current monitoring signal) obtained by monitoring according to its associated processing strategy, so that the input current monitoring signal is processed into a signal (first input signal) that meets the input signal requirements of the first module through the input module. Specifically, the current monitoring signal mainly involves the controller area network bus (Controller Area Network, CAN) message signal, the sensor signal of the controller, the non-volatile memory (NVM) storage signal, the diagnostic control service signal and other signals required in the diagnostic development process. The input module uses functions such as data type conversion, fixed-floating point conversion, precision calculation, and control instruction parsing to comprehensively process the input monitoring signal and process it into a first input signal that meets the input signal requirements of the first module. In this embodiment, the input module and other modules (such as the first module, the second module, etc.) are independent of each other and can be developed independently of each other, which simplifies the development difficulty of diagnostic control.

[0151] In a possible implementation manner, the current monitoring signal includes at least one of the following: a CAN message signal, a sensor signal of a controller, a controller NVM storage signal, and a diagnostic control service signal;

[0152] The processing of the current monitoring signal by the input module includes at least one of the following:

[0153] Data type conversion;

[0154] Fixed-floating point conversion;

[0155] Precision calculation;

[0156] Control instruction parsing.

[0157] Exemplarily, the monitored battery voltage value (the current monitoring signal) is 900 mV, which is converted into 0.9 V that can be understood by the subsequent first module through the input module, so as to facilitate the first module to perform analysis and calculation.

[0158] The output module is used to process the control signal into a signal that is adapted to the input requirements of the corresponding control module interface. Specifically, the output module comprehensively processes the output signal (i.e., the control signal) of the third module into a signal that meets the signal input interface requirements of the corresponding control module and the control algorithm requirements. The specific processing method can be flexibly adjusted according to the actual project development. Thus, the signal finally output by the output module is sent to the corresponding control module to achieve the corresponding control. The control module can be a vehicle speed control module, a torque control module, etc., to achieve control of the vehicle speed and torque. In this embodiment, the input module, the first module, the second module, the third module and the output module are developed separately and have functional independence. Different modules can be combined according to specific development requirements, that is, they can be applied to the control strategy development requirements of different projects.

[0159] The second aspect of the embodiment of the present application further provides a diagnostic development control method, which is applied to the diagnostic development control system described in the first aspect of the embodiment, referring to Figure 4 , Figure 4 A flow chart showing the steps of a diagnostic development control method is shown in FIG. Figure 4 As shown, the method includes:

[0160] Step S401, determining whether a monitoring error exists in a target monitoring item at the current moment according to a first input signal, and generating a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnostic signal or a normal diagnostic signal;

[0161] Step S402, according to the target control strategy associated with the target monitoring item, the diagnostic signals at multiple moments are processed to obtain fault diagnosis results; different monitoring items are associated with different control strategies;

[0162] Step S403: Process the fault diagnosis result based on the control requirement of the control module associated with the target monitoring item to generate a corresponding control signal.

[0163] In a possible implementation manner, determining, according to the first input signal, whether there is a monitoring error in the target monitoring item at the current moment includes:

[0164] Comparing the first input signal with a preset value range;

[0165] In the case where the first input signal exceeds the preset value range, determining that the target monitoring item has a monitoring error at the current moment, and generating the fault diagnosis signal at the current moment;

[0166] In the case where the first input signal does not exceed the preset value range, it is determined that there is no monitoring error in the target monitoring item at the current moment, and the normal diagnosis signal at the current moment is generated.

[0167] In a possible implementation, the method includes: outputting the fault diagnosis result according to the diagnostic signals at multiple moments in accordance with the target control strategy;

[0168] The step of outputting the fault diagnosis result according to the target control strategy and the diagnosis signals at multiple moments includes:

[0169] Determine whether to perform functional testing;

[0170] When a functional test needs to be performed, the host computer is used to simulate the diagnostic monitoring process under the control strategy according to the set functional test control parameters to obtain the functional test results;

[0171] When there is no need to perform functional testing, determine whether to enable the monitoring algorithm module;

[0172] When it is necessary to start the monitoring algorithm module, the fault diagnosis result is output according to the diagnosis signal at multiple moments.

[0173] In a possible implementation manner, when the monitoring algorithm module needs to be started, outputting the fault diagnosis result according to the diagnostic signals at multiple moments includes:

[0174] Determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple times;

[0175] In the case of self-resetting the target monitoring item, outputting a first fault diagnosis result, wherein the first fault diagnosis result indicates that the target monitoring item does not have a fault at the current moment and continues to perform the monitoring function;

[0176] Without self-resetting the target monitoring item, a second fault diagnosis result is output, wherein the second fault diagnosis result indicates that the target monitoring item has a fault at the current moment and the monitoring function is stopped.

[0177] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple moments includes:

[0178] Determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments; and / or

[0179] Whether to self-reset the target monitoring item is determined according to the duration of the fault represented by the diagnostic signal at multiple moments.

[0180] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments includes:

[0181] Determine the maximum positive value, the algorithm increment step value and the algorithm decrement step value of the monitoring algorithm, wherein the maximum positive value of the monitoring algorithm represents: the maximum number of times the fault diagnosis signal can be continuously received under the normal monitoring state; the algorithm increment step value represents the number of times each fault diagnosis signal is received, and the algorithm decrement step value represents the number of times each normal diagnosis signal is received;

[0182] According to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value, determining whether the number of consecutive faults of the fault diagnostic signals currently received continuously exceeds the maximum positive value of the monitoring algorithm;

[0183] When the number of consecutive faults of the fault diagnosis signal currently received continuously exceeds the maximum positive value of the monitoring algorithm, the target monitoring item is not self-reset;

[0184] When the number of consecutive faults of the fault diagnosis signal currently received continuously does not exceed the positive maximum value of the monitoring algorithm, the target monitoring item is self-reset.

[0185] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments includes:

[0186] Determine the negative maximum value of the algorithm; the negative maximum value of the algorithm represents: the maximum number of times the normal diagnostic signal can be continuously received in the fault monitoring state;

[0187] According to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value, determining whether the number of consecutive failures of the normal diagnostic signals currently received continuously exceeds the negative maximum value of the algorithm;

[0188] When the number of consecutive failures of the normal diagnostic signal currently received continuously does not exceed the negative maximum value of the algorithm, the target monitoring item is not self-reset;

[0189] When the number of consecutive failures of the normal diagnostic signal currently received continuously exceeds the negative maximum value of the algorithm, the target monitoring item is self-reset.

[0190] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments includes:

[0191] According to the duration of the diagnosis cycle, the maximum positive time of the algorithm, the algorithm step-increasing time and the algorithm step-reducing time are determined. The maximum positive time of the algorithm indicates the maximum duration of the fault diagnosis signal that can be continuously received under the normal monitoring state; the diagnosis cycle duration indicates the duration required for the diagnosis development control system to run once; the algorithm step-increasing time indicates the duration increased each time a fault diagnosis signal is received, and the algorithm step-reducing time indicates the duration reduced each time a normal diagnosis signal is received;

[0192] According to the diagnostic signals at the multiple moments, the algorithm step-increasing time and the algorithm step-decreasing time, determining whether the fault duration of the fault diagnostic signals currently received continuously exceeds the maximum positive time of the algorithm;

[0193] When the fault duration of the fault diagnosis signal currently continuously received exceeds the maximum positive time of the algorithm, the monitoring item is not reset;

[0194] When the fault duration of the fault diagnosis signal currently received continuously does not exceed the maximum positive time of the algorithm, the monitoring item is self-reset.

[0195] In a possible implementation manner, determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments further includes:

[0196] According to the duration of the diagnostic cycle, the algorithm negative maximum time is determined; the algorithm negative maximum time represents the maximum duration during which the normal diagnostic signal can be continuously received in the fault monitoring state;

[0197] According to the diagnostic signals at the multiple moments, the algorithm step-increasing time and the algorithm step-decrementing time, determining whether the fault duration of the currently continuously received normal diagnostic signals exceeds the negative maximum time of the algorithm;

[0198] When the fault duration of the currently continuously received normal diagnostic signal does not exceed the negative maximum time of the algorithm, the monitoring item is not self-reset;

[0199] When the fault duration of the currently continuously received normal diagnosis signal exceeds the negative maximum time of the algorithm, the monitoring item is self-reset.

[0200] In a possible implementation manner, the fault diagnosis result includes an output fault signal and a control strategy signal; the method includes:

[0201] Generate an external control signal of a corresponding control module according to the output fault signal, wherein the external control signal at least includes: an image prompt, a text prompt and an alarm prompt on a display interface;

[0202] According to the control strategy signal, a corresponding internal control signal is generated, and the internal control signal is used to start or stop the functional control strategy of the corresponding monitoring item, and the functional control strategy at least includes: vehicle speed control strategy, power control strategy and torque control strategy.

[0203] In a possible implementation, the method further includes:

[0204] According to the processing strategy associated with the current monitoring signal, the current monitoring signal is processed into the first input signal that meets the input signal requirement of the first module;

[0205] The control signal is processed into a signal adapted to the input requirement of the corresponding control module interface.

[0206] In a possible implementation manner, the current monitoring signal includes at least one of the following: a CAN message signal, a sensor signal of a controller, a controller NVM storage signal, and a diagnostic control service signal;

[0207] The processing of the current monitoring signal includes at least one of the following:

[0208] Data type conversion;

[0209] Fixed-floating point conversion;

[0210] Precision calculation;

[0211] Control instruction parsing.

[0212] The third aspect of the embodiment of the present application also provides a vehicle, which is equipped with the diagnostic development control system described in the first aspect of the embodiment of the present application, and the diagnostic development control system is connected to the battery of the vehicle, and determines whether to stop the battery voltage control strategy of the vehicle based on the monitored battery voltage signal of the vehicle.

[0213] In this embodiment, the battery voltage signal of the vehicle is monitored in real time, and the battery voltage value obtained by monitoring is input into the diagnostic development control system as the current monitoring signal for processing. Specifically, the diagnostic development control system processes the current monitoring signal into a first input signal that meets the input signal requirements of the first module. The first module compares the first input signal (the current battery voltage value) with the preset value range. If it does not exceed the preset value range, a normal diagnostic signal is sent to the second module. If it exceeds the preset value range, a fault diagnosis signal is sent to the second module. The second module performs comprehensive processing according to the diagnostic signals at multiple times according to the target control strategy, and outputs the fault diagnosis result (determines whether the current battery voltage is in a fault state). Then, the third module generates a corresponding control signal based on the control requirements of different control modules according to the fault diagnosis result. Finally, the output module processes the control signal into a signal that adapts to the input requirements of the corresponding control module interface. Through the above process, the diagnosis and development control system, based on the monitored battery voltage signal of the vehicle, when it is determined that the current battery voltage is wrong (that is, the second module outputs the second fault diagnosis result), generates a corresponding control signal by the third module to control the relevant control module to stop the relevant control strategy for the battery voltage of the vehicle, thereby preventing the vehicle from being in a low voltage state because the voltage drop cannot be identified (for example, the voltage slowly drops due to long-term idleness or excessive consumption of dark current). Although its components have not failed, the corresponding fault code is still generated, thereby generating an erroneous control signal.

[0214] A fourth aspect of the embodiments of the present application further provides a computing and processing device, including:

[0215] a memory having computer readable code stored therein; and

[0216] One or more processors, when the computer readable code is executed by the one or more processors, the computing processing device executes the diagnostic development control method as described in the second aspect of the embodiment of the present application.

[0217] The fifth aspect of the embodiment of the present application also provides a computer-readable storage medium on which a computer program / instruction is stored, and the computer program / instruction is executed by a processor as the diagnostic development control method described in the second aspect of the embodiment of the present application.

[0218] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0219] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices, electronic devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0220] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0221] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0222] The above is a detailed introduction to a diagnostic development control system, method, vehicle and product provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A diagnostic development control system, characterized in that: The diagnostic development control system comprises: a first module, a second module, and a third module; The first module is used to determine whether there is a monitoring error in the target monitoring item at the current moment according to the first input signal, and generate a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnostic signal or a normal diagnostic signal; The second module is used to process the diagnostic signals at multiple times according to the target control strategy associated with the target monitoring item to obtain a fault diagnosis result; the second module includes multiple diagnostic submodules, and the second module selects the corresponding diagnostic submodule according to different monitoring items to execute the control strategy associated with the monitoring item; The third module is used to process the fault diagnosis result based on the control demand of the control module associated with the target monitoring item and generate a corresponding control signal; The second module at least includes: a comprehensive processing submodule; the comprehensive processing submodule outputs the fault diagnosis result according to the target control strategy and the diagnostic signals at multiple moments, including: Determine whether to perform a functional test; if the functional test does not need to be performed, determine whether to start the monitoring algorithm module; if the monitoring algorithm module needs to be started, output the fault diagnosis result according to the diagnostic signals at multiple times; Wherein, in the case where the monitoring algorithm module needs to be turned on, outputting the fault diagnosis result according to the diagnostic signals at multiple moments at least includes: Determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple times; The step of determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple moments includes: Determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments; The determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments at least includes: Determine the maximum positive value, the algorithm increment step value and the algorithm decrement step value of the monitoring algorithm, wherein the maximum positive value of the monitoring algorithm represents: the maximum number of times the fault diagnosis signal can be continuously received under the normal monitoring state; the algorithm increment step value represents the number of times each fault diagnosis signal is received, and the algorithm decrement step value represents the number of times each normal diagnosis signal is received; According to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value, determining whether the number of consecutive faults of the fault diagnostic signals currently received continuously exceeds the maximum positive value of the monitoring algorithm; When the number of consecutive faults of the fault diagnosis signal currently received continuously exceeds the maximum positive value of the monitoring algorithm, the target monitoring item is not self-reset; When the number of consecutive faults of the fault diagnosis signal currently received continuously does not exceed the positive maximum value of the monitoring algorithm, the target monitoring item is self-reset.

2. The diagnostic development control system according to claim 1, characterized in that: The determining, according to the first input signal, whether there is a monitoring error in the target monitoring item at the current moment includes: Comparing the first input signal with a preset value range; In the case where the first input signal exceeds the preset value range, determining that the target monitoring item has a monitoring error at the current moment, and generating the fault diagnosis signal at the current moment; In the case where the first input signal does not exceed the preset value range, it is determined that there is no monitoring error in the target monitoring item at the current moment, and the normal diagnosis signal at the current moment is generated.

3. The diagnostic development control system according to claim 1, characterized in that: The comprehensive processing submodule outputs the fault diagnosis result according to the target control strategy and the diagnosis signals at multiple moments, and further includes: When a functional test needs to be performed, the host computer is used to simulate the diagnostic monitoring process under the control strategy according to the set functional test control parameters to obtain the functional test results.

4. The diagnostic development control system according to claim 3, characterized in that: In the case where the monitoring algorithm module needs to be turned on, outputting the fault diagnosis result according to the diagnostic signals at multiple moments also includes: In the case of self-resetting the target monitoring item, outputting a first fault diagnosis result, wherein the first fault diagnosis result indicates that the target monitoring item does not have a fault at the current moment and continues to perform the monitoring function; Without self-resetting the target monitoring item, a second fault diagnosis result is output, wherein the second fault diagnosis result indicates that the target monitoring item has a fault at the current moment and the monitoring function is stopped.

5. The diagnostic development control system according to claim 1, characterized in that: The determining whether to self-reset the target monitoring item according to the number of consecutive faults represented by the diagnostic signal at multiple moments also includes: Determine the negative maximum value of the algorithm; the negative maximum value of the algorithm represents: the maximum number of times the normal diagnostic signal can be continuously received in the fault monitoring state; According to the diagnostic signals at the multiple moments, the algorithm increment step value and the algorithm decrement step value, determining whether the number of consecutive failures of the normal diagnostic signals currently received continuously exceeds the negative maximum value of the algorithm; When the number of consecutive failures of the normal diagnostic signal currently received continuously does not exceed the negative maximum value of the algorithm, the target monitoring item is not self-reset; When the number of consecutive failures of the normal diagnostic signal currently received continuously exceeds the negative maximum value of the algorithm, the target monitoring item is self-reset.

6. The diagnostic development control system according to claim 1, characterized in that: The determining whether to self-reset the target monitoring item according to the diagnostic signals at multiple times further includes: Determining whether to self-reset the target monitoring item according to the duration of the fault represented by the diagnostic signal at multiple moments; The determining whether to self-reset the target monitoring item according to the fault duration represented by the diagnostic signal at multiple moments includes: According to the duration of the diagnosis cycle, the maximum positive time of the algorithm, the algorithm step-increasing time and the algorithm step-reducing time are determined. The maximum positive time of the algorithm indicates the maximum duration of the fault diagnosis signal that can be continuously received under the normal monitoring state; the diagnosis cycle duration indicates the duration required for the diagnosis development control system to run once; the algorithm step-increasing time indicates the duration increased each time a fault diagnosis signal is received, and the algorithm step-reducing time indicates the duration reduced each time a normal diagnosis signal is received; According to the diagnostic signals at the multiple moments, the algorithm step-increasing time and the algorithm step-decreasing time, determining whether the fault duration of the fault diagnostic signals currently received continuously exceeds the maximum positive time of the algorithm; When the fault duration of the fault diagnosis signal currently continuously received exceeds the maximum positive time of the algorithm, the monitoring item is not self-reset; When the fault duration of the fault diagnosis signal currently received continuously does not exceed the maximum positive time of the algorithm, the monitoring item is self-reset.

7. The diagnostic development control system according to claim 6, characterized in that: The determining whether to self-reset the target monitoring item according to the duration of the fault represented by the diagnostic signal at multiple moments also includes: According to the duration of the diagnostic cycle, the algorithm negative maximum time is determined; the algorithm negative maximum time represents the maximum duration during which the normal diagnostic signal can be continuously received in the fault monitoring state; According to the diagnostic signals at the multiple moments, the algorithm step-increasing time and the algorithm step-decrementing time, determining whether the fault duration of the currently continuously received normal diagnostic signals exceeds the negative maximum time of the algorithm; When the fault duration of the currently continuously received normal diagnostic signal does not exceed the negative maximum time of the algorithm, the monitoring item is not self-reset; When the fault duration of the currently continuously received normal diagnosis signal exceeds the negative maximum time of the algorithm, the monitoring item is self-reset.

8. The diagnostic development control system according to claim 1, characterized in that: The fault diagnosis result includes an output fault signal and a control strategy signal; the third module includes: an external control submodule and an internal control submodule; The external control submodule is used to generate an external control signal of the corresponding control module according to the output fault signal, and the external control signal at least includes: an image prompt, a text prompt and an alarm prompt on the display interface; The internal control submodule is used to generate a corresponding internal control signal according to the control strategy signal, and the internal control signal is used to start or stop the functional control strategy of the corresponding monitoring item, and the functional control strategy includes at least: vehicle speed control strategy, power control strategy and torque control strategy.

9. The diagnostic development control system according to claim 1, characterized in that: The system further comprises: An input module, configured to process the current monitoring signal into the first input signal satisfying the input signal requirement of the first module according to a processing strategy associated with the current monitoring signal; The output module is used to process the control signal into a signal adapted to the input requirement of the corresponding control module interface.

10. The diagnostic development control system according to claim 9, characterized in that: The current monitoring signal includes at least one of the following: a CAN message signal, a sensor signal of a controller, a controller NVM storage signal, and a diagnostic control service signal; The processing of the current monitoring signal by the input module includes at least one of the following: Data type conversion; Fixed-floating point conversion; Precision calculation; Control instruction parsing.

11. A diagnostic development control method, characterized in that: The diagnostic development control system applied to any one of claims 1 to 10, the method comprising: According to the first input signal, determining whether there is a monitoring error in the target monitoring item at the current moment, and generating a diagnostic signal at the current moment, wherein the diagnostic signal is a fault diagnostic signal or a normal diagnostic signal; According to the target control strategy associated with the target monitoring item, the diagnostic signals at multiple times are processed to obtain fault diagnosis results; different monitoring items are associated with different control strategies; The fault diagnosis result is processed based on the control demand of the control module associated with the target monitoring item to generate a corresponding control signal.

12. A vehicle, characterized in that: The vehicle is equipped with a diagnostic development control system according to any one of claims 1 to 10, and the diagnostic development control system is connected to the battery of the vehicle, and determines whether to stop the battery voltage control strategy of the vehicle based on the monitored battery voltage signal of the vehicle.

13. A computing device, characterized in that: include: a memory having computer readable code stored therein; as well as One or more processors, when the computer readable code is executed by the one or more processors, the computing processing device performs the diagnostic development control method as claimed in claim 11.

14. A computer-readable storage medium, characterized in that: A computer program / instruction is stored thereon, which is executed by a processor as the diagnostic development control method as claimed in claim 11.

Citation Information

Patent Citations

  • Battery system monitoring method and device based on OBD-II

    CN101782629A

  • Automatic processing configuration system for diagnosis strategy data of vehicle controller

    CN116991141A

  • Procedures for checking and, if necessary, improving a vehicle diagnostic system

    DE102018131008A1

  • Computer system for controlling vehicle with self-diagnostic function

    JP1995036727A