[go: up one dir, main page]

CN117681810B - A method, system, device and medium for adjusting the load rate of a vehicle controller - Google Patents

A method, system, device and medium for adjusting the load rate of a vehicle controller Download PDF

Info

Publication number
CN117681810B
CN117681810B CN202311800901.4A CN202311800901A CN117681810B CN 117681810 B CN117681810 B CN 117681810B CN 202311800901 A CN202311800901 A CN 202311800901A CN 117681810 B CN117681810 B CN 117681810B
Authority
CN
China
Prior art keywords
load rate
total amount
calibration
target
fault signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311800901.4A
Other languages
Chinese (zh)
Other versions
CN117681810A (en
Inventor
李可欣
刘宗成
高攀
王巧
黄秋涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Thalys Automobile Co ltd
Original Assignee
Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Seres New Energy Automobile Design Institute Co Ltd filed Critical Chongqing Seres New Energy Automobile Design Institute Co Ltd
Priority to CN202311800901.4A priority Critical patent/CN117681810B/en
Publication of CN117681810A publication Critical patent/CN117681810A/en
Application granted granted Critical
Publication of CN117681810B publication Critical patent/CN117681810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The application provides a method, a system, equipment and a medium for adjusting the load rate of a vehicle controller, wherein the method comprises the following steps: after receiving a power-on signal of a vehicle, acquiring load rate related information of the vehicle and a target load rate corresponding to the load rate related information in real time; inputting the real-time acquired load factor related information into a load factor model to obtain a real-time preset load factor; when the real-time preset load rate is judged to be larger than the target load rate at the corresponding moment, obtaining a target fault signal total amount based on the target load rate obtained in real time, and adjusting the fault signal total amount reported to the whole vehicle controller to the target fault signal total amount so as to reduce the live load rate of the whole vehicle controller at the current moment to the target load rate; according to the scheme, when the VCU load rate is predicted to be too high, the total quantity of the read fault signals is timely reduced, so that the normal live load rate of the VCU is ensured, and the problem of resetting caused by overload of the VCU in the driving process is avoided.

Description

一种整车控制器负载率的调节方法、系统、设备、介质A method, system, device and medium for adjusting the load rate of a vehicle controller

技术领域Technical Field

本申请涉及整车控制器技术领域,具体涉及一种整车控制器负载率的调节方法、系统、设备、介质。The present application relates to the technical field of vehicle controllers, and in particular to a method, system, device, and medium for adjusting the load rate of a vehicle controller.

背景技术Background Art

随着汽车电子控制器的功能不断增加、软件复杂程度不断提高,导致相关任务或内核负载率显著提升,如果负载率超过一定的限值,将导致汽车电子控制器中的某些任务或功能执行次数减少或永远无法执行,进而影响车辆的运行安全,危害驾驶员以及其他人员的人身安全。As the functions of automotive electronic controllers continue to increase and the complexity of software continues to increase, the load rate of related tasks or cores has increased significantly. If the load rate exceeds a certain limit, certain tasks or functions in the automotive electronic controller will be executed less frequently or will never be executed, which will affect the vehicle's operating safety and endanger the personal safety of the driver and other personnel.

当前电动汽车各个控制器零部件同时发生多个故障时,或者在行车过程中动力控制器局域网络(英文:Controller Area Network,英文简称:CAN)或底盘CAN断掉时,整车控制器(英文:Vehicle Control Unit,英文简称:VCU)中诊断模块便会报出多个故障信号,这可能会使整车控制器负载率过高,发生VCU复位,从而引发行车安全事故。When multiple faults occur simultaneously in various controller components of current electric vehicles, or when the power controller area network (CAN) or chassis CAN is disconnected during driving, the diagnostic module in the vehicle control unit (VCU) will report multiple fault signals, which may cause the vehicle controller load rate to be too high and the VCU to reset, thereby causing a driving safety accident.

发明内容Summary of the invention

鉴于现有技术中的上述缺陷或不足,本申请旨在提供一种整车控制器负载率的调节方法、系统、设备、介质。In view of the above-mentioned defects or deficiencies in the prior art, the present application aims to provide a method, system, device and medium for adjusting the load rate of a vehicle controller.

本申请第一方面提供一种整车控制器负载率的调节方法,包括以下步骤:The first aspect of the present application provides a method for adjusting a load rate of a vehicle controller, comprising the following steps:

接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;After receiving the vehicle power-on signal, the vehicle load rate related information and the target load rate corresponding to the load rate related information are obtained in real time; the load rate related information obtained in real time is input into the load rate model to obtain a real-time preset load rate; the load rate related information at least includes the total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode;

判断实时的所述预设负载率大于对应时刻的所述目标负载率时,基于实时获取的所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。When it is determined that the real-time preset load rate is greater than the target load rate at the corresponding moment, the target total amount of fault signals is obtained based on the target load rate obtained in real time, and the total amount of fault signals reported to the vehicle controller is adjusted to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate.

根据本申请实施例提供的技术方案,获取所述负载率相关信息对应的目标负载率,至少包括以下步骤:According to the technical solution provided in the embodiment of the present application, obtaining the target load rate corresponding to the load rate related information includes at least the following steps:

确定优化目标以及约束条件,并将所述负载率相关信息作为决策变量;Determine the optimization goal and constraint conditions, and use the load rate related information as decision variables;

在所述优化目标以及约束条件下,基于所述决策变量,对整车控制器负载率进行寻优,得到该所述负载率相关信息对应的最小负载率,将该所述最小负载率作为所述目标负载率。Under the optimization objective and constraints, based on the decision variables, the load rate of the vehicle controller is optimized to obtain the minimum load rate corresponding to the load rate related information, and the minimum load rate is used as the target load rate.

根据本申请实施例提供的技术方案,基于实时获取的所述目标负载率,得到目标故障信号总量,至少包括以下步骤:According to the technical solution provided in the embodiment of the present application, obtaining the target total amount of fault signals based on the target load rate obtained in real time includes at least the following steps:

将实时获取的所述目标负载率代入所述负载率模型,并将对应时刻获取的CAN线数据帧、整车电压、驾驶模式输入至所述负载率模型,得到对应的故障信号总量,将该故障信号总量作为所述目标故障信号总量。The target load rate obtained in real time is substituted into the load rate model, and the CAN line data frame, vehicle voltage and driving mode obtained at the corresponding time are input into the load rate model to obtain the corresponding total amount of fault signals, which is used as the target total amount of fault signals.

根据本申请实施例提供的技术方案,实时获取车辆的负载率相关信息,至少包括以下步骤:According to the technical solution provided in the embodiment of the present application, real-time acquisition of vehicle load rate related information includes at least the following steps:

获取每个故障信号对应的若干个标定项、以及每个所述标定项的标定位置,并读取每个所述标定位置的标定标识,所述标定标识至少包括第一标识;所述第一标识用于表征该标定位置的标定项存在故障;Acquire a number of calibration items corresponding to each fault signal and a calibration position of each calibration item, and read a calibration mark of each calibration position, wherein the calibration mark includes at least a first mark; the first mark is used to indicate that a fault exists in the calibration item at the calibration position;

查找所述标定位置为第一标识的标定项,并将每个所述标定位置为第一标识的标定项生成一个对应的原始故障信号;Searching for the calibration item whose calibration position is the first mark, and generating a corresponding original fault signal for each calibration item whose calibration position is the first mark;

计算所有所述原始故障信号的总和,并将所有所述原始故障信号的总和作为所述故障信号总量。The sum of all the original fault signals is calculated, and the sum of all the original fault signals is used as the total amount of fault signals.

根据本申请实施例提供的技术方案,实时获取车辆的负载率相关信息,还包括以下步骤:According to the technical solution provided in the embodiment of the present application, real-time acquisition of vehicle load rate related information also includes the following steps:

获取第一样本集,所述第一样本集包括多组发电机的转轴转速、以及每组所述转轴转速对应的整车电压;Acquire a first sample set, the first sample set including a plurality of groups of generator shaft speeds and a vehicle voltage corresponding to each group of the shaft speeds;

以所述转轴转速作为初始模型的输入,以所述整车电压作为所述初始模型的输出,对所述初始模型进行训练,得到电压模型;The shaft speed is used as an input of an initial model, and the vehicle voltage is used as an output of the initial model, and the initial model is trained to obtain a voltage model;

获取发电机实时的转轴转速,并将所述实时的转轴转速输入至所述电压模型,得到实时的整车电压。The real-time shaft speed of the generator is obtained, and the real-time shaft speed is input into the voltage model to obtain the real-time whole vehicle voltage.

根据本申请实施例提供的技术方案,所述标定标识还包括第二标识;所述第二标识用于表征该标定位置的标定项不存在故障;According to the technical solution provided in the embodiment of the present application, the calibration mark further includes a second mark; the second mark is used to indicate that there is no fault in the calibration item of the calibration position;

将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,至少包括以下步骤:Adjusting the total amount of the fault signals reported to the vehicle controller to the target total amount of fault signals comprises at least the following steps:

对每个所述故障信号,设定其中一个标定位置为第一标识的标定项为该所述故障信号的特征标定项,将除所述特征标定项以外的标定项作为该所述故障信号的冗余标定项;For each of the fault signals, a calibration item with a calibration position as a first identifier is set as a characteristic calibration item of the fault signal, and calibration items other than the characteristic calibration item are set as redundant calibration items of the fault signal;

将若干个所述冗余标定项的所述标定位置的所述标定标识切换至所述第二标识。The calibration identifiers of the calibration positions of the plurality of redundant calibration items are switched to the second identifiers.

根据本申请实施例提供的技术方案,将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,至少包括以下步骤:According to the technical solution provided in the embodiment of the present application, adjusting the total amount of the fault signal reported to the vehicle controller to the target total amount of the fault signal includes at least the following steps:

查找相同的所述原始故障信号,并将若干个相同的所述原始故障信号合并为一个故障信号。The same original fault signals are searched, and a plurality of the same original fault signals are combined into one fault signal.

本申请第二方面提供一种整车控制器负载率的调节系统,包括:A second aspect of the present application provides a vehicle controller load rate adjustment system, comprising:

计算模块,所述计算模块配置用于接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;A calculation module, wherein the calculation module is configured to obtain, in real time, information related to the vehicle's load rate and a target load rate corresponding to the information related to the load rate after receiving a vehicle power-on signal; input the information related to the load rate obtained in real time into a load rate model to obtain a real-time preset load rate; the information related to the load rate at least includes a total amount of fault signals, a CAN line data frame, a whole vehicle voltage, and a driving mode;

调节模块,所述调节模块配置用于判断实时的所述预设负载率大于对应时刻的所述目标负载率时,基于实时获取的所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。The adjustment module is configured to determine that when the real-time preset load rate is greater than the target load rate at the corresponding moment, obtain a target total amount of fault signals based on the target load rate obtained in real time, and adjust the total amount of fault signals reported to the vehicle controller to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate.

本申请第三方面提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的整车控制器负载率的调节方法的步骤。The third aspect of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for adjusting the load rate of the vehicle controller as described above when executing the computer program.

本申请第四方面提供一种计算机可读存储介质,所述计算机可读存储介质有计算机程序,所述计算机程序被处理器执行时实现如上所述的整车控制器负载率的调节方法的步骤。A fourth aspect of the present application provides a computer-readable storage medium, which has a computer program. When the computer program is executed by a processor, the steps of the method for adjusting the load rate of the vehicle controller as described above are implemented.

与现有技术相比,本申请的有益效果在于:本申请基于车辆的负载率相关信息,通过负载率模型预测得到该时刻的VCU预设负载率,将预设负载率与对应时刻的目标负载率作对比,当预设负载率大于目标负载率时,说明预测的该时刻的VCU负载率存在过高风险,此时通过目标负载率计算对应的目标故障信号总量,并将CAN上报的故障信号总量降至目标故障信号总量,对应的VCU读取的故障信号总量降低,相应的VCU在当前时刻的实况负载率也随之下降,因此该方案以提前通过模型预测VCU的负载率,当预测的预设负载率过高时,作出相对应的调节使得VCU真实的实况负载率保持正常,规避在行车过程中出现VCU超负载而导致复位的问题,提高了车辆行驶的安全性和稳定性。Compared with the prior art, the beneficial effect of the present application is that: based on the vehicle's load rate related information, the present application predicts the VCU preset load rate at that moment through a load rate model, and compares the preset load rate with the target load rate at the corresponding moment. When the preset load rate is greater than the target load rate, it means that the predicted VCU load rate at that moment is at too high a risk. At this time, the corresponding target total amount of fault signals is calculated through the target load rate, and the total amount of fault signals reported by the CAN is reduced to the target total amount of fault signals. The corresponding total amount of fault signals read by the VCU is reduced, and the corresponding actual load rate of the VCU at the current moment also decreases accordingly. Therefore, the scheme predicts the load rate of the VCU through a model in advance. When the predicted preset load rate is too high, corresponding adjustments are made to keep the actual actual load rate of the VCU normal, thereby avoiding the problem of VCU overload and reset during driving, thereby improving the safety and stability of vehicle driving.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例提供的整车控制器负载率的调节方法的步骤流程图;FIG1 is a flowchart of a method for adjusting a vehicle controller load rate according to an embodiment of the present application;

图2为本申请实施例提供的整车控制器负载率的调节系统的结构示意图;FIG2 is a schematic diagram of the structure of a vehicle controller load rate adjustment system provided in an embodiment of the present application;

图3为本申请实施例提供的一种终端设备的结构示意图。FIG3 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant inventions, rather than to limit the inventions. It should also be noted that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

实施例1Example 1

诚如背景技术中提到的,针对现有技术中的问题,本申请提出了一种整车控制器负载率的调节方法,包括以下步骤:As mentioned in the background technology, in view of the problems in the prior art, the present application proposes a method for adjusting the load rate of a vehicle controller, comprising the following steps:

S101、接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;S101, after receiving a vehicle power-on signal, obtaining in real time information related to the vehicle's load rate and a target load rate corresponding to the load rate related information; inputting the load rate related information obtained in real time into a load rate model to obtain a real-time preset load rate; the load rate related information at least includes a total amount of fault signals, a CAN line data frame, a vehicle voltage, and a driving mode;

具体地,所述负载率相关信息为与整车控制器(VCU)负载率有关的信息,根据以往研发经验得到VCU的负载率与故障信号总量、CAN线数据帧、整车电压、驾驶模式均相关,其中,故障信号总量以及CAN线数据帧都是由CAN上报,以供VCU读取,CAN会获取到各个电子控制器的故障信号,所述驾驶模式可以通过车内仪表读取,进一步地,每组不同的故障信号总量、CAN线数据帧、整车电压、驾驶模式下都对应有一个VCU的目标负载率,当VCU的负载率处于目标负载率时,就可确保VCU的诊断模块处于正常工作状态,从而确保VCU对各电子控制器的故障诊断结果准确。其中,负载率模型的输入为故障信号总量、CAN线数据帧、整车电压、驾驶模式、输出为对应的VCU的预设负载率,所述预设负载率为实时的故障信号总量、CAN线数据帧、整车电压、驾驶模式下,由模型预测的VCU的负载率。Specifically, the load rate related information is information related to the load rate of the vehicle controller (VCU). According to previous research and development experience, the load rate of the VCU is related to the total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode. Among them, the total amount of fault signals and CAN line data frames are reported by CAN for VCU to read. CAN will obtain the fault signals of each electronic controller. The driving mode can be read through the in-vehicle instrument. Further, each group of different total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode corresponds to a target load rate of the VCU. When the load rate of the VCU is at the target load rate, it can ensure that the diagnostic module of the VCU is in a normal working state, thereby ensuring that the fault diagnosis results of the VCU for each electronic controller are accurate. Among them, the input of the load rate model is the total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode, and the output is the preset load rate of the corresponding VCU. The preset load rate is the load rate of the VCU predicted by the model under the real-time total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode.

进一步地,由于VCU的诊断模块在诊断过程中也会受到整车电压和驾驶模式的影响,例如,整车电压里包含有高压、低压、休眠等,在不同类型的电压下故障的触发也会不同,驾驶模式有经济驾驶、节能、弹射模式,此时车速、加速度、扭矩等不一样,发生通信丢失的几率也不一样,因此也将这二者作为负载率模型的输入,以提升得到的目标负载率的准确性。Furthermore, the VCU diagnostic module will also be affected by the vehicle voltage and driving mode during the diagnostic process. For example, the vehicle voltage includes high voltage, low voltage, sleep mode, etc., and the fault triggering will be different under different types of voltages. The driving modes include economic driving, energy saving, and ejection mode. At this time, the vehicle speed, acceleration, torque, etc. are different, and the probability of communication loss is also different. Therefore, these two are also used as inputs to the load rate model to improve the accuracy of the target load rate.

S102、判断实时的所述预设负载率大于对应时刻的所述目标负载率时,基于实时获取的所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。S102. When it is determined that the real-time preset load rate is greater than the target load rate at the corresponding moment, a target total amount of fault signals is obtained based on the target load rate obtained in real time, and the total amount of fault signals reported to the vehicle controller is adjusted to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate.

具体地,默认为当故障信号总量过大时,会使VCU超负载,体现在所述负载率模型输出的所述预设负载率上,即为实时的预设负载率超出了当下对应时刻的目标负载率,就可能会在这一时刻出现VCU超负载的风险。其中,所述预设负载率是对当前时刻VCU负载率的预测,所述实况负载率是当前时刻VCU在真实工况下的真实负载率。Specifically, by default, when the total amount of fault signals is too large, the VCU will be overloaded, which is reflected in the preset load rate output by the load rate model, that is, the real-time preset load rate exceeds the target load rate at the corresponding moment, and there may be a risk of VCU overload at this moment. Among them, the preset load rate is a prediction of the VCU load rate at the current moment, and the actual load rate is the actual load rate of the VCU under the actual working conditions at the current moment.

进一步地,所述负载率模型通过BP神经网络算法构建,神经网络是一个由输入层、隐藏层、输出层三部分组成的网络,数据从输入层,经过权重值和偏置项的线性变换处理,再通过激活层,得到隐藏层的输出,也即下一层的输入;隐藏层到输出层之间是经过权重值和偏置项的线性变换,之后通过激活层,得到输出层,这是正向传播的,而误差是反向传播的,能学习和存贮大量的输入-输出模式映射关系,而无需事前揭示描述这种映射关系的数学方程。它的学习规则是使用最速下降法,通过反向传播来不断调整网络的权值和阈值,使网络的误差平方和最小。Furthermore, the load rate model is constructed by BP neural network algorithm. The neural network is a network composed of three parts: input layer, hidden layer and output layer. The data from the input layer is processed by linear transformation of weight value and bias term, and then passes through the activation layer to obtain the output of the hidden layer, which is the input of the next layer; the data from the hidden layer to the output layer is processed by linear transformation of weight value and bias term, and then passes through the activation layer to obtain the output layer. This is forward propagation, and the error is back propagation. It can learn and store a large number of input-output mode mapping relationships without revealing the mathematical equations describing this mapping relationship in advance. Its learning rule is to use the steepest descent method to continuously adjust the weights and thresholds of the network through back propagation to minimize the sum of square errors of the network.

本实施例中的负载率模型的输入层信号为故障信号总量、CAN线数据帧、整车电压、驾驶模式,输出层信号为对应的整车控制器的负载率,根据经验公式确定BP神经网络的隐藏层节点数量,可选地,本实施例中使用一个隐藏层。The input layer signal of the load rate model in this embodiment is the total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode. The output layer signal is the load rate of the corresponding vehicle controller. The number of hidden layer nodes of the BP neural network is determined according to an empirical formula. Optionally, one hidden layer is used in this embodiment.

具体地,车辆内具有实现各类功能的若干个电子控制器,当某个电子控制器出现某一类别的故障后,会通过CAN上报这些故障对应的故障信号,VCU再从CAN上读取这些故障信号,来判定哪个电子控制器出现了哪个类别的故障,对于某个电子控制器的某个类别的故障,存在若干个故障信号,因此,如果出现故障过多,对应的故障信号也会过多,CAN内存储可供VCU读取的故障信号也会过多,这就导致了VCU的负载率过高。Specifically, the vehicle has several electronic controllers that implement various functions. When a certain type of fault occurs in an electronic controller, the fault signals corresponding to these faults will be reported through CAN. The VCU then reads these fault signals from CAN to determine which electronic controller has which type of fault. For a certain type of fault in an electronic controller, there are several fault signals. Therefore, if there are too many faults, there will also be too many corresponding fault signals, and there will also be too many fault signals stored in CAN for the VCU to read, which will lead to an excessively high load rate for the VCU.

进一步地,本申请通过负载率模型预测某一时刻的VCU的预设负载率(预测的、并非真实的),当预测可能存在超负载风险时,从缩减CAN上报的故障信号入手,将CAN获取到的故障信号进行缩减,使其内存储的所述故障信号总量降至目标故障信号总量,相应的在VCU从CAN内读取故障信号时,读取的故障信号总量就会减少,从而保证该时刻下VCU真实工况下的实况负载率保持正常(保持在目标负载率),规避了在行车过程中出现VCU超负载而导致复位的问题,提高了车辆行驶的安全性和稳定性。Furthermore, the present application predicts a preset load rate (predicted, not real) of the VCU at a certain moment through a load rate model. When it is predicted that there may be an overload risk, the fault signals reported by the CAN are reduced, and the fault signals obtained by the CAN are reduced so that the total amount of the fault signals stored therein is reduced to the target total amount of fault signals. Accordingly, when the VCU reads the fault signals from the CAN, the total amount of fault signals read will be reduced, thereby ensuring that the actual load rate of the VCU under the actual working conditions at that moment remains normal (maintained at the target load rate), avoiding the problem of VCU overload and reset during driving, and improving the safety and stability of vehicle driving.

在一可选的实施例中,获取所述负载率相关信息对应的目标负载率,至少包括以下步骤:In an optional embodiment, obtaining the target load rate corresponding to the load rate related information comprises at least the following steps:

确定优化目标以及约束条件,并将所述负载率相关信息作为决策变量;Determine the optimization goal and constraint conditions, and use the load rate related information as decision variables;

在所述优化目标以及约束条件下,基于所述决策变量,对整车控制器负载率进行寻优,得到该所述负载率相关信息对应的最小负载率,将该所述最小负载率作为所述目标负载率。Under the optimization objective and constraints, based on the decision variables, the load rate of the vehicle controller is optimized to obtain the minimum load rate corresponding to the load rate related information, and the minimum load rate is used as the target load rate.

具体地,通过上述神经网络模型进行遗传算法目标优化以得到目标负载率,将VCU负载率作为优化目标,以动力电池的剩余电量(英文:State of Charge,英文简称:SOC)维持范围、整车运行功率为约束条件,约束SOC维持范围为不低于动力电池总容量的25%,整车运行功率不超过整车最大功率的75%,将故障信号总量、CAN线数据帧、整车电压、驾驶模式作为决策变量,对VCU负载率进行寻优,目标函数为求取VCU负载率的最小值,通过遗传算法目标优化,得到该时刻下故障信号总量和CAN线数据帧对应的最小负载率,即为目标负载率。Specifically, the genetic algorithm target optimization is performed through the above neural network model to obtain the target load rate, the VCU load rate is used as the optimization target, the remaining power of the power battery (English: State of Charge, English abbreviation: SOC) maintenance range and the vehicle operating power are used as constraints, the SOC maintenance range is constrained to be no less than 25% of the total capacity of the power battery, and the vehicle operating power does not exceed 75% of the maximum power of the vehicle. The total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode are used as decision variables to optimize the VCU load rate. The objective function is to obtain the minimum value of the VCU load rate. Through genetic algorithm target optimization, the minimum load rate corresponding to the total amount of fault signals and CAN line data frames at this moment is obtained, which is the target load rate.

本实施例提出一种以遗传算法目标优化求取目标负载率的方法,可以实时且准确地得到当下故障信号总量以及CAN线数据帧对应的目标负载率,为后续得到对应的目标故障信号总量,进而调节故障信号总量提供准确的依据。This embodiment proposes a method for obtaining a target load rate by genetic algorithm target optimization, which can obtain the current total amount of fault signals and the target load rate corresponding to the CAN line data frame in real time and accurately, providing an accurate basis for subsequently obtaining the corresponding target total amount of fault signals and further adjusting the total amount of fault signals.

在一可选的实施例中,基于实时获取的所述目标负载率,得到目标故障信号总量,至少包括以下步骤:In an optional embodiment, obtaining a target total amount of fault signals based on the target load rate acquired in real time includes at least the following steps:

将实时获取的所述目标负载率代入所述负载率模型,并将对应时刻获取的CAN线数据帧、整车电压、驾驶模式输入至所述负载率模型,得到对应的故障信号总量,将该故障信号总量作为所述目标故障信号总量。The target load rate obtained in real time is substituted into the load rate model, and the CAN line data frame, vehicle voltage and driving mode obtained at the corresponding time are input into the load rate model to obtain the corresponding total amount of fault signals, which is used as the target total amount of fault signals.

具体地,采用遗传算法目标优化找到当下的目标负载率后,使用上述通过BP神经网络算法构建的所述负载率模型,将所述目标负载率作为所述负载率模型的输出层信号,即反推得到所述负载率模型的输入层信号,输入层信号中的故障信号总量即为所述目标故障信号总量。Specifically, after the current target load rate is found by using genetic algorithm target optimization, the load rate model constructed by the BP neural network algorithm is used, and the target load rate is used as the output layer signal of the load rate model, that is, the input layer signal of the load rate model is obtained by reverse deduction, and the total amount of fault signals in the input layer signal is the target total amount of fault signals.

本实施例提出了一种基于已有模型(负载率模型),通过输出反推输入得到对应的目标故障信号总量的方法,可以实现在线计算和计算结果实时输出,计算过程直接,可操作性强。This embodiment proposes a method based on an existing model (load rate model) to obtain the corresponding target total amount of fault signals by outputting and inferring the input, which can realize online calculation and real-time output of calculation results, and the calculation process is direct and highly operable.

在一可选的实施例中,实时获取车辆的负载率相关信息,至少包括以下步骤:In an optional embodiment, obtaining the vehicle load rate related information in real time includes at least the following steps:

获取每个故障信号对应的若干个标定项、以及每个所述标定项的标定位置,并读取每个所述标定位置的标定标识,所述标定标识至少包括第一标识;所述第一标识用于表征该标定位置的标定项存在故障;Acquire a number of calibration items corresponding to each fault signal and a calibration position of each calibration item, and read a calibration mark of each calibration position, wherein the calibration mark includes at least a first mark; the first mark is used to indicate that a fault exists in the calibration item at the calibration position;

查找所述标定位置为第一标识的标定项,并将每个所述标定位置为第一标识的标定项生成一个对应的原始故障信号;Searching for the calibration item whose calibration position is the first mark, and generating a corresponding original fault signal for each calibration item whose calibration position is the first mark;

计算所有所述原始故障信号的总和,并将所有所述原始故障信号的总和作为所述故障信号总量。The sum of all the original fault signals is calculated, and the sum of all the original fault signals is used as the total amount of fault signals.

具体地,每个故障信号对应有若干个标定项,例如车身电子稳定性控制器(英文:Electronic Stability Controller;英文简称:ESC)出现故障时,可能会有ESC122帧通信丢失故障、ESC2A3帧通信丢失故障、ESC252帧通信丢失故障、ESC142帧通信丢失故障、ESC232帧通信丢失故障等标定项对应的故障信号,这些标定项都具有自身的标定位置,当ESC122帧通信出现丢失故障时,在其对应的标定位置,其标定标识即为第一标识,第一标识即为在对应的标定位置标1,只要标定位置标1的标定项,都会生成一个对应的原始故障信号,这些原始故障信号通过CAN获取并上报至VCU,CAN上报的原始故障信号的总量即为故障信号总量。Specifically, each fault signal corresponds to several calibration items. For example, when the electronic stability controller (ESC) fails, there may be fault signals corresponding to calibration items such as ESC122 frame communication loss fault, ESC2A3 frame communication loss fault, ESC252 frame communication loss fault, ESC142 frame communication loss fault, and ESC232 frame communication loss fault. These calibration items have their own calibration positions. When the ESC122 frame communication is lost, at its corresponding calibration position, its calibration identifier is the first identifier, and the first identifier is marked 1 at the corresponding calibration position. As long as the calibration item at the calibration position is marked 1, a corresponding original fault signal will be generated. These original fault signals are obtained through CAN and reported to the VCU. The total amount of original fault signals reported by CAN is the total amount of fault signals.

具体地,所述标定位置为所述第一标识的标定项都会生成一个原始故障信号,因此某一时刻CAN内存储并上报给VCU的所述原始故障信号的总量即为当下时刻的故障信号总量,将所述故障信号总量也发送至CAN,可实现VCU在读取故障信号的同时,同时读取故障信号总量,实现获取数据的同步性。Specifically, each calibration item with the calibration position as the first identifier will generate an original fault signal. Therefore, the total amount of the original fault signals stored in the CAN and reported to the VCU at a certain moment is the total amount of fault signals at the current moment. The total amount of fault signals is also sent to the CAN, so that the VCU can read the total amount of fault signals at the same time as reading the fault signals, thereby achieving synchronization of data acquisition.

本实施例提供一种获取故障信号总量的方法,能够有效准确地对车内控制器存在的故障进行标定,以供CAN获取并上报。This embodiment provides a method for obtaining the total amount of fault signals, which can effectively and accurately calibrate the faults existing in the in-vehicle controller for CAN to obtain and report.

在一可选的实施例中,实时获取车辆的负载率相关信息,还包括以下步骤:In an optional embodiment, obtaining the vehicle load rate related information in real time further includes the following steps:

获取第一样本集,所述第一样本集包括多组发电机的转轴转速、以及每组所述转轴转速对应的整车电压;Acquire a first sample set, the first sample set including a plurality of groups of generator shaft speeds and a vehicle voltage corresponding to each group of the shaft speeds;

以所述转轴转速作为初始模型的输入,以所述整车电压作为所述初始模型的输出,对所述初始模型进行训练,得到电压模型;The shaft speed is used as an input of an initial model, and the vehicle voltage is used as an output of the initial model, and the initial model is trained to obtain a voltage model;

获取发电机实时的转轴转速,并将所述实时的转轴转速输入至所述电压模型,得到实时的整车电压。The real-time shaft speed of the generator is obtained, and the real-time shaft speed is input into the voltage model to obtain the real-time whole vehicle voltage.

具体地,所述整车电压可以理解为发电机的输出电压,可以通过发电机上设置的转速传感器测量发电机的转速,再将转速转换为电压得到,转换过程可以通过电压模型实现,所述电压模型的输入为发电机转速,输出为整车电压。Specifically, the vehicle voltage can be understood as the output voltage of the generator. The speed of the generator can be measured by a speed sensor provided on the generator, and then the speed is converted into voltage. The conversion process can be realized by a voltage model. The input of the voltage model is the generator speed, and the output is the vehicle voltage.

本实施例提供了一种有效获取整车电压,以供预测VCU的预设负载率使用,使用简单、可操作性强。This embodiment provides a method for effectively obtaining the voltage of the entire vehicle for use in predicting the preset load rate of the VCU, which is simple to use and highly operable.

在一可选的实施例中,所述标定标识还包括第二标识;所述第二标识用于表征该标定位置的标定项不存在故障;In an optional embodiment, the calibration mark further includes a second mark; the second mark is used to indicate that there is no fault in the calibration item of the calibration position;

将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,至少包括以下步骤:Adjusting the total amount of the fault signals reported to the vehicle controller to the target total amount of fault signals comprises at least the following steps:

对每个所述故障信号,设定其中一个标定位置为第一标识的标定项为该所述故障信号的特征标定项,将除所述特征标定项以外的标定项作为该所述故障信号的冗余标定项;For each of the fault signals, a calibration item with a calibration position as a first identifier is set as a characteristic calibration item of the fault signal, and calibration items other than the characteristic calibration item are set as redundant calibration items of the fault signal;

将若干个所述冗余标定项的所述标定位置的所述标定标识切换至所述第二标识。The calibration identifiers of the calibration positions of the plurality of redundant calibration items are switched to the second identifiers.

具体地,所述第二标识即为在对应的标定位置标0。Specifically, the second mark is to mark 0 at the corresponding calibration position.

进一步地,对于某个所述故障信号,例如ESC控制器故障信号,存在ESC122帧通信标定项、ESC2A3帧通信标定项、ESC252帧通信标定项、ESC142帧通信标定项、ESC232帧通信标定项,ESC控制器故障信号对应5个标定项,相应的有5个标定位置,每个标定位置具有一个标定标识,原本是哪个帧出现故障,其对应的标定位置的标定标识就置为第一标识(即1),如果是有大于一帧出现故障(比如3帧),则有三个标定位置的标定标识为1,那么就会对应生成3个原始故障信号(实际相同),故障信号总量就较大,但是在本实施例中,将标定位置标1的标定标识中的任意一个作为特征标定项,其他2个作为冗余标定项,冗余标定项的标定标识置为第二标识(即0),如此,对于ESC控制器故障信号只生成1个原始故障信号,降低了故障信号总量,至此也就达到了降低VCU读取到的故障信号总量,但又没影响VCU故障判断的准确性的目的。Further, for a certain fault signal, such as an ESC controller fault signal, there are ESC122 frame communication calibration items, ESC2A3 frame communication calibration items, ESC252 frame communication calibration items, ESC142 frame communication calibration items, and ESC232 frame communication calibration items. The ESC controller fault signal corresponds to 5 calibration items, and there are 5 corresponding calibration positions. Each calibration position has a calibration identifier. The calibration identifier of the calibration position corresponding to the frame in which the fault originally occurred is set to the first identifier (i.e. 1). If there is a fault in more than one frame (for example, 3 frames), then If the calibration marks of three calibration positions are 1, then three original fault signals (actually the same) will be generated accordingly, and the total amount of fault signals will be large. However, in this embodiment, any one of the calibration marks of the calibration position marked 1 is used as a characteristic calibration item, and the other two are used as redundant calibration items. The calibration marks of the redundant calibration items are set to the second mark (i.e. 0). In this way, only one original fault signal is generated for the ESC controller fault signal, which reduces the total amount of fault signals. Thus, the purpose of reducing the total amount of fault signals read by the VCU is achieved without affecting the accuracy of the VCU fault judgment.

在一可选的实施例中,将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,至少包括以下步骤:In an optional embodiment, adjusting the total amount of the fault signals reported to the vehicle controller to the target total amount of fault signals comprises at least the following steps:

查找相同的所述原始故障信号,并将若干个相同的所述原始故障信号合并为一个故障信号。The same original fault signals are searched, and a plurality of the same original fault signals are combined into one fault signal.

除了上述将所述冗余标定项的所述标定位置的所述标定标识切换至所述第二标识的方式,本实施例又提供了另一种更为直接的降低故障信号总量的方式,还以ESC控制器故障信号举例,由于ESC122帧通信标定项、ESC2A3帧通信标定项、ESC252帧通信标定项、ESC142帧通信标定项、ESC232帧通信标定项对应的标定位置为第一标识,都是通过CAN上报相同的原始故障信号,那么可以将相同的原始故障信号直接合成为一个,进一步地,传统而言,CAN识别到一个标定位置为第一标识的标定项,就会实时生成一个原始故障信号,其实很多标定项标定的故障是相同的,此时随时读取并随时将标定相同故障的原始故障信号合并,可以有效减少生成故障信号的个数,以达到将故障信号总量调节至所述目标故障信号总量的目的。In addition to the above-mentioned method of switching the calibration identifier of the calibration position of the redundant calibration item to the second identifier, the present embodiment provides another more direct method of reducing the total amount of fault signals. Taking the ESC controller fault signal as an example, since the calibration positions corresponding to the ESC122 frame communication calibration item, the ESC2A3 frame communication calibration item, the ESC252 frame communication calibration item, the ESC142 frame communication calibration item, and the ESC232 frame communication calibration item are the first identifier, and all report the same original fault signal through CAN, then the same original fault signal can be directly synthesized into one. Furthermore, traditionally speaking, when CAN recognizes a calibration item with a calibration position as the first identifier, it will generate an original fault signal in real time. In fact, the faults calibrated by many calibration items are the same. At this time, reading and merging the original fault signals calibrated with the same fault at any time can effectively reduce the number of generated fault signals, so as to achieve the purpose of adjusting the total amount of fault signals to the target total amount of fault signals.

进一步地,可以将这两种调节方法混用,也可以单独只有一种,具体因情况而定,只要将故障信号总量降至目标故障信号总量即可。Furthermore, the two adjustment methods may be mixed or used alone, depending on the specific situation, as long as the total amount of fault signals is reduced to the target total amount of fault signals.

本实施例提供了另一种更为直接的减少CAN上报故障信号总量的方法,可以与上述方法混用,也可以单用,提升了调节故障信号总量过程的可实施性和多样性,以达到更快捷更实时地降低故障信号总量的效果,进而更快捷地降低整车控制器的负载率,规避VCU超负载的风险。This embodiment provides another more direct method for reducing the total amount of CAN reported fault signals, which can be mixed with the above method or used alone, improving the feasibility and diversity of the process of adjusting the total amount of fault signals, so as to achieve the effect of reducing the total amount of fault signals more quickly and in real time, thereby reducing the load rate of the vehicle controller more quickly and avoiding the risk of VCU overload.

实施例2Example 2

请参考图2所示,本实施例提供一种整车控制器负载率的调节系统,包括:Please refer to FIG. 2 , the present embodiment provides a vehicle controller load rate adjustment system, including:

计算模块,所述计算模块配置用于接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;A calculation module, wherein the calculation module is configured to obtain, in real time, information related to the vehicle's load rate and a target load rate corresponding to the information related to the load rate after receiving a vehicle power-on signal; input the information related to the load rate obtained in real time into a load rate model to obtain a real-time preset load rate; the information related to the load rate at least includes a total amount of fault signals, a CAN line data frame, a whole vehicle voltage, and a driving mode;

调节模块,所述调节模块配置用于判断实时的所述预设负载率大于对应时刻的所述目标负载率时,基于实时获取的所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。The adjustment module is configured to determine that when the real-time preset load rate is greater than the target load rate at the corresponding moment, obtain a target total amount of fault signals based on the target load rate obtained in real time, and adjust the total amount of fault signals reported to the vehicle controller to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate.

实施例3Example 3

请参考图3所示,所述终端设备的计算机系统600包括CPU(中央处理单元)601,其可以根据存储在ROM(只读存储器)602中的程序或者从存储部分608加载到RAM(随机访问存储器)603中的程序而执行各种适当的动作和处理。在RAM603中,还存储有系统操作所需的各种程序和数据。CPU601、ROM602以及RAM603通过总线604彼此相连。I/O(输入/输出)接口605也连接至总线604。以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。Please refer to FIG. 3 , the computer system 600 of the terminal device includes a CPU (central processing unit) 601, which can perform various appropriate actions and processes according to the program stored in the ROM (read-only memory) 602 or the program loaded from the storage part 608 to the RAM (random access memory) 603. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, the ROM 602 and the RAM 603 are connected to each other through the bus 604. The I/O (input/output) interface 605 is also connected to the bus 604. The following components are connected to the I/O interface 605: an input part 606 including a keyboard, a mouse, etc.; an output part 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part 608 including a hard disk, etc.; and a communication part 609 including a network interface card such as a LAN card, a modem, etc. The communication part 609 performs communication processing via a network such as the Internet. A drive is also connected to the I/O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

特别地,根据本申请的实施例,上文参考流程图1描述的过程可以被实现为计算机软件程序。例如,本申请的实施例1包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机程序被CPU601执行时,执行本计算机系统600中限定的上述功能。In particular, according to an embodiment of the present application, the process described above with reference to flowchart 1 can be implemented as a computer software program. For example, embodiment 1 of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and/or installed from a removable medium. When the computer program is executed by CPU 601, the above-mentioned functions defined in the present computer system 600 are executed.

需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

附图中的流程图和框图,图示了按照本申请实施例1、实施例2的方法、系统和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagram in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the method, system and computer program product according to embodiment 1 and embodiment 2 of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。所描述的单元或模块也可以设置在处理器中,例如,可以描述为:一种处理器包括计算模块、调节模块。其中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定,例如,计算模块还可以被描述为“用于接收到车辆上电信号后,实时获取车辆的负载率相关信息实例的计算模块”。The units involved in the embodiments of the present application may be implemented by software or hardware, and the units described may also be provided in a processor. The names of these units do not, in some cases, limit the units themselves. The units or modules described may also be provided in a processor, for example, they may be described as: a processor includes a computing module and an adjustment module. The names of these units or modules do not, in some cases, limit the units or modules themselves, for example, the computing module may also be described as "a computing module for obtaining, in real time, an instance of information related to the vehicle's load rate after receiving a vehicle power-on signal."

实施例4Example 4

作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现如上述实施例中所述的整车控制器负载率的调节方法。As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method for adjusting the load rate of the vehicle controller as described in the above embodiment.

例如,所述电子设备可以实现如图1中所示的:S101、接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;S102、判断实时的所述预设负载率大于对应时刻的所述目标负载率时,基于实时获取的所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。又如,所述电子设备可以实现本申请所描述的各个步骤。For example, the electronic device can implement as shown in Figure 1: S101, after receiving the vehicle power-on signal, obtain the vehicle's load rate related information and the target load rate corresponding to the load rate related information in real time; input the load rate related information obtained in real time into the load rate model to obtain a real-time preset load rate; the load rate related information at least includes the total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode; S102, when it is determined that the real-time preset load rate is greater than the target load rate at the corresponding moment, based on the target load rate obtained in real time, obtain the target total amount of fault signals, and adjust the total amount of fault signals reported to the vehicle controller to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate. For another example, the electronic device can implement the various steps described in this application.

应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments disclosed in the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

此外,尽管在附图中以特定顺序描述了本申请中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选地,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and/or one step may be decomposed into multiple steps, etc.

通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware.

以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的申请范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述申请构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the concept of the application. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.

Claims (10)

1.一种整车控制器负载率的调节方法,其特征在于,包括以下步骤:1. A method for adjusting the load rate of a vehicle controller, characterized in that it comprises the following steps: 接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;After receiving the vehicle power-on signal, the vehicle load rate related information and the target load rate corresponding to the load rate related information are obtained in real time; the load rate related information obtained in real time is input into the load rate model to obtain a real-time preset load rate; the load rate related information at least includes the total amount of fault signals, CAN line data frames, vehicle voltage, and driving mode; 判断所述预设负载率大于对应时刻的所述目标负载率时,基于所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。When it is determined that the preset load rate is greater than the target load rate at the corresponding moment, the target total amount of fault signals is obtained based on the target load rate, and the total amount of fault signals reported to the vehicle controller is adjusted to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate. 2.根据权利要求1所述的整车控制器负载率的调节方法,其特征在于:获取所述负载率相关信息对应的目标负载率,至少包括以下步骤:2. The method for adjusting the load rate of a vehicle controller according to claim 1, characterized in that obtaining the target load rate corresponding to the load rate related information comprises at least the following steps: 确定优化目标以及约束条件,并将所述负载率相关信息作为决策变量;Determine the optimization goal and constraint conditions, and use the load rate related information as decision variables; 在所述优化目标以及约束条件下,基于所述决策变量,对整车控制器负载率进行寻优,得到所述负载率相关信息对应的最小负载率,将所述最小负载率作为所述负载率相关信息对应的所述目标负载率。Under the optimization objective and constraints, based on the decision variables, the load rate of the vehicle controller is optimized to obtain the minimum load rate corresponding to the load rate related information, and the minimum load rate is used as the target load rate corresponding to the load rate related information. 3.根据权利要求1所述的整车控制器负载率的调节方法,其特征在于:基于实时获取的所述目标负载率,得到目标故障信号总量,至少包括以下步骤:3. The method for adjusting the load rate of a vehicle controller according to claim 1, characterized in that: obtaining a target total amount of fault signals based on the target load rate obtained in real time, at least comprises the following steps: 将实时获取的所述目标负载率代入所述负载率模型,并将对应时刻获取的CAN线数据帧、整车电压、驾驶模式输入至所述负载率模型,得到对应的故障信号总量,将该故障信号总量作为所述目标故障信号总量。The target load rate obtained in real time is substituted into the load rate model, and the CAN line data frame, vehicle voltage and driving mode obtained at the corresponding time are input into the load rate model to obtain the corresponding total amount of fault signals, which is used as the target total amount of fault signals. 4.根据权利要求1所述的整车控制器负载率的调节方法,其特征在于:实时获取车辆的负载率相关信息,至少包括以下步骤:4. The method for adjusting the load rate of a vehicle controller according to claim 1 is characterized in that: obtaining the vehicle load rate related information in real time comprises at least the following steps: 获取每个故障信号对应的若干个标定项、以及每个所述标定项的标定位置,并读取每个所述标定位置的标定标识,所述标定标识至少包括第一标识;所述第一标识用于表征该标定位置的标定项存在故障;Acquire a number of calibration items corresponding to each fault signal and a calibration position of each calibration item, and read a calibration mark of each calibration position, wherein the calibration mark includes at least a first mark; the first mark is used to indicate that a fault exists in the calibration item at the calibration position; 查找所述标定位置为第一标识的标定项,并将每个所述标定位置为第一标识的标定项生成一个对应的原始故障信号;Searching for the calibration item whose calibration position is the first mark, and generating a corresponding original fault signal for each calibration item whose calibration position is the first mark; 计算所有所述原始故障信号的总和,并将所有所述原始故障信号的总和作为所述故障信号总量。The sum of all the original fault signals is calculated, and the sum of all the original fault signals is used as the total amount of fault signals. 5.根据权利要求1所述的整车控制器负载率的调节方法,其特征在于:实时获取车辆的负载率相关信息,还包括以下步骤:5. The method for adjusting the load rate of a vehicle controller according to claim 1 is characterized in that: the vehicle load rate related information is obtained in real time, and further comprising the following steps: 获取第一样本集,所述第一样本集包括多组发电机的转轴转速、以及每组所述转轴转速对应的整车电压;Acquire a first sample set, the first sample set including a plurality of groups of generator shaft speeds and a vehicle voltage corresponding to each group of the shaft speeds; 以所述转轴转速作为初始模型的输入,以所述整车电压作为所述初始模型的输出,对所述初始模型进行训练,得到电压模型;The shaft speed is used as an input of an initial model, and the vehicle voltage is used as an output of the initial model, and the initial model is trained to obtain a voltage model; 获取发电机实时的转轴转速,并将所述实时的转轴转速输入至所述电压模型,得到实时的整车电压。The real-time shaft speed of the generator is obtained, and the real-time shaft speed is input into the voltage model to obtain the real-time whole vehicle voltage. 6.根据权利要求4所述的整车控制器负载率的调节方法,其特征在于:所述标定标识还包括第二标识;所述第二标识用于表征该标定位置的标定项不存在故障;6. The method for adjusting the load rate of a vehicle controller according to claim 4, characterized in that: the calibration mark further includes a second mark; the second mark is used to indicate that there is no fault in the calibration item of the calibration position; 将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,至少包括以下步骤:Adjusting the total amount of the fault signals reported to the vehicle controller to the target total amount of fault signals comprises at least the following steps: 对每个所述故障信号,设定其中一个标定位置为第一标识的标定项为所述故障信号的特征标定项,将除所述特征标定项以外的标定项作为所述故障信号的冗余标定项;For each of the fault signals, a calibration item with a calibration position as a first identifier is set as a characteristic calibration item of the fault signal, and calibration items other than the characteristic calibration item are set as redundant calibration items of the fault signal; 将若干个所述冗余标定项的所述标定位置的所述标定标识切换至所述第二标识。The calibration identifiers of the calibration positions of the plurality of redundant calibration items are switched to the second identifiers. 7.根据权利要求4所述的整车控制器负载率的调节方法,其特征在于:将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,至少包括以下步骤:7. The method for adjusting the load rate of a vehicle controller according to claim 4, characterized in that: adjusting the total amount of the fault signals reported to the vehicle controller to the target total amount of fault signals comprises at least the following steps: 查找相同的所述原始故障信号,并将若干个相同的所述原始故障信号合并为一个故障信号。The same original fault signals are searched, and a plurality of the same original fault signals are combined into one fault signal. 8.一种整车控制器负载率的调节系统,其特征在于:包括:8. A vehicle controller load rate adjustment system, characterized in that it includes: 计算模块,所述计算模块配置用于接收到车辆上电信号后,实时获取车辆的负载率相关信息、以及所述负载率相关信息对应的目标负载率;将实时获取的所述负载率相关信息输入至负载率模型,得到实时的预设负载率;所述负载率相关信息至少包括故障信号总量、CAN线数据帧、整车电压、驾驶模式;A calculation module, wherein the calculation module is configured to obtain, in real time, information related to the vehicle's load rate and a target load rate corresponding to the information related to the load rate after receiving a vehicle power-on signal; input the information related to the load rate obtained in real time into a load rate model to obtain a real-time preset load rate; the information related to the load rate at least includes a total amount of fault signals, a CAN line data frame, a whole vehicle voltage, and a driving mode; 调节模块,所述调节模块配置用于判断所述预设负载率大于对应时刻的所述目标负载率时,基于所述目标负载率,得到目标故障信号总量,并将上报至整车控制器的所述故障信号总量调节至所述目标故障信号总量,以使整车控制器在当前时刻的实况负载率降至所述目标负载率。The adjustment module is configured to determine that when the preset load rate is greater than the target load rate at the corresponding moment, obtain a target total amount of fault signals based on the target load rate, and adjust the total amount of fault signals reported to the vehicle controller to the target total amount of fault signals, so that the actual load rate of the vehicle controller at the current moment is reduced to the target load rate. 9.一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于:所述处理器执行所述计算机程序时实现如权利要求1至7任意一项所述的整车控制器负载率的调节方法的步骤。9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for adjusting the load rate of a vehicle controller as described in any one of claims 1 to 7 when executing the computer program. 10.一种计算机可读存储介质,所述计算机可读存储介质有计算机程序,其特征在于:所述计算机程序被处理器执行时实现如权利要求1至7任意一项所述的整车控制器负载率的调节方法的步骤。10. A computer-readable storage medium, wherein the computer-readable storage medium has a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of the method for adjusting the load rate of a vehicle controller as described in any one of claims 1 to 7.
CN202311800901.4A 2023-12-25 2023-12-25 A method, system, device and medium for adjusting the load rate of a vehicle controller Active CN117681810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311800901.4A CN117681810B (en) 2023-12-25 2023-12-25 A method, system, device and medium for adjusting the load rate of a vehicle controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311800901.4A CN117681810B (en) 2023-12-25 2023-12-25 A method, system, device and medium for adjusting the load rate of a vehicle controller

Publications (2)

Publication Number Publication Date
CN117681810A CN117681810A (en) 2024-03-12
CN117681810B true CN117681810B (en) 2024-08-20

Family

ID=90133496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311800901.4A Active CN117681810B (en) 2023-12-25 2023-12-25 A method, system, device and medium for adjusting the load rate of a vehicle controller

Country Status (1)

Country Link
CN (1) CN117681810B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103080719A (en) * 2010-09-10 2013-05-01 迪尔公司 Method and system for performing diagnostics or software maintenance for a vehicle
CN109154813A (en) * 2016-05-24 2019-01-04 美光科技公司 Adaptive refresh rate and method based on memory device mistake

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100974705B1 (en) * 2007-12-13 2010-08-06 현대자동차주식회사 Fault information processing system and method for vehicle
JP5818938B1 (en) * 2014-04-18 2015-11-18 三菱電機株式会社 Control device switching system
US11281214B2 (en) * 2018-12-19 2022-03-22 Zoox, Inc. Safe system operation using CPU usage information
JP7111606B2 (en) * 2018-12-19 2022-08-02 日立Astemo株式会社 Electronic control unit and in-vehicle system
JP7409222B2 (en) * 2020-05-14 2024-01-09 マツダ株式会社 Mobile control device
JP7613246B2 (en) * 2021-04-28 2025-01-15 株式会社オートネットワーク技術研究所 Vehicle-mounted relay device, relay method, and relay program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103080719A (en) * 2010-09-10 2013-05-01 迪尔公司 Method and system for performing diagnostics or software maintenance for a vehicle
CN109154813A (en) * 2016-05-24 2019-01-04 美光科技公司 Adaptive refresh rate and method based on memory device mistake

Also Published As

Publication number Publication date
CN117681810A (en) 2024-03-12

Similar Documents

Publication Publication Date Title
US20230029810A1 (en) Battery model construction method and battery degradation prediction device
CN113547919B (en) Remote fault monitoring method and system for fuel cell vehicle
JP2008118799A (en) System, method, and program for optimizing operation for distribution system
CN117200250B (en) Control method and system for combined frequency regulation of fire and storage
CN109507625A (en) The automatic calibrating method and terminal device of battery simulator
CN112330488B (en) Power grid frequency situation prediction method based on transfer learning
CN117681810B (en) A method, system, device and medium for adjusting the load rate of a vehicle controller
CN115649240B (en) An online real-time optimized multi-train cooperative cruise control method and system
NL2024252B1 (en) A charge-discharge control method for an electric vehicle based on virtual inertia
CN116094101A (en) Battery SOC balance control method and related device of energy storage system
CN118478745A (en) A method for correcting electrical balance
CN117951524B (en) Electric quantity balance strategy model training method, device, equipment and medium
WO2025123598A1 (en) Control method and apparatus for performance optimization of levitation guidance system, and electronic device
CN118211675A (en) Method and system for accelerating optimization of unit commitment based on machine learning to eliminate redundant constraints
CN116256655B (en) Energy loss determination method, device and readable storage medium
Zheng et al. Estimation of remaining energy and available power for Li-Ion battery packs considering energy consumption by heat convection
CN116432507A (en) Method and device for predicting oxygen content of boiler flue gas and computing equipment
CN114063588A (en) Method, device and equipment for selecting test speed of transmission control unit
JP2014078146A (en) Control performance calculation method and control performance calculation device for plant
CN118343025A (en) Vehicle battery control system, method, vehicle and storage medium
CN118779625A (en) Equipment status evaluation method and system based on artificial intelligence
CN118672380B (en) Voltage regulating method and electronic equipment
CN117719362A (en) Zero torque control method, system, equipment and medium
CN118683400A (en) Battery power switching method, device, equipment and medium
US20220187889A1 (en) Power System Operational Support System and Power System Operational Support Method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20241219

Address after: 401133 No. 229, Fusheng Avenue, Jiangbei District, Chongqing

Patentee after: Thalys Automobile Co.,Ltd.

Country or region after: China

Address before: 401135 No. 618 Liangjiang Avenue, Longxing Town, Yubei District, Chongqing

Patentee before: Chongqing Celes New Energy Automobile Design Institute Co.,Ltd.

Country or region before: China