[go: up one dir, main page]

CN117533319A - Vehicle longitudinal control method and device, vehicle and storage medium - Google Patents

Vehicle longitudinal control method and device, vehicle and storage medium Download PDF

Info

Publication number
CN117533319A
CN117533319A CN202311723943.2A CN202311723943A CN117533319A CN 117533319 A CN117533319 A CN 117533319A CN 202311723943 A CN202311723943 A CN 202311723943A CN 117533319 A CN117533319 A CN 117533319A
Authority
CN
China
Prior art keywords
vehicle
torque
control
output torque
speed
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.)
Pending
Application number
CN202311723943.2A
Other languages
Chinese (zh)
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.)
Xiaomi Automobile Technology Co Ltd
Original Assignee
Xiaomi Automobile Technology 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 Xiaomi Automobile Technology Co Ltd filed Critical Xiaomi Automobile Technology Co Ltd
Priority to CN202311723943.2A priority Critical patent/CN117533319A/en
Publication of CN117533319A publication Critical patent/CN117533319A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
    • B60W30/18Propelling the vehicle

Landscapes

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

Abstract

The present disclosure relates to a vehicle longitudinal control method, a vehicle longitudinal control device, a vehicle and a storage medium. The method comprises the following steps: receiving a longitudinal control request for the vehicle, the longitudinal control request including an input control amount; determining a first output torque according to the input control amount; acquiring the resistance torque of the vehicle; compensating the first output torque according to the resistance torque to obtain a second output torque; and controlling the motor operation of the vehicle according to the second output torque to longitudinally control the vehicle. The first output torque is obtained through the longitudinal control request, then, the resistance torque of the vehicle is obtained, the first output torque is compensated according to the resistance torque of the vehicle, the second output torque is obtained, the motor operation of the vehicle is controlled according to the second output torque, and the vehicle is longitudinally controlled, so that the influence of the resistance of the vehicle on the longitudinal movement of the vehicle in the running process can be compensated, the second output torque can be accurately and rapidly obtained, and the longitudinal control effect of the vehicle is improved.

Description

车辆纵向控制方法、装置、车辆及存储介质Vehicle longitudinal control method, device, vehicle and storage medium

技术领域Technical field

本公开涉及车辆控制技术领域,尤其涉及一种车辆纵向控制方法、装置、车辆及存储介质。The present disclosure relates to the field of vehicle control technology, and in particular, to a vehicle longitudinal control method, device, vehicle and storage medium.

背景技术Background technique

车辆纵向控制(Vehicle Longitudinal Control,VLC)是指对于车辆在直线上的加减速控制,在相关技术中,VLC系统会根据目标加速度和车辆的实际加速度之间的偏差进行开环或闭环控制,以获取达到该目标加速度所需的扭矩,再将该扭矩发送至驱动单元或制动单元,实现车辆的纵向控制。Vehicle Longitudinal Control (VLC) refers to the acceleration and deceleration control of the vehicle in a straight line. In related technologies, the VLC system will perform open-loop or closed-loop control based on the deviation between the target acceleration and the actual acceleration of the vehicle to Obtain the torque required to achieve the target acceleration, and then send the torque to the drive unit or braking unit to achieve longitudinal control of the vehicle.

然而,车辆在实际行驶过程中会受到坡道、风力等环境因素影响,其实际加速度并不稳定,导致目标加速度与实际加速度之间的偏差无法快速收敛,使得VLC系统难以准确、快速地获取达到该目标加速度所需的扭矩,影响车辆的纵向控制效果。However, during actual driving, the vehicle will be affected by environmental factors such as slopes and wind, and its actual acceleration is not stable. As a result, the deviation between the target acceleration and the actual acceleration cannot be quickly converged, making it difficult for the VLC system to accurately and quickly obtain the desired acceleration. The torque required for the target acceleration affects the longitudinal control effect of the vehicle.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种车辆纵向控制方法、装置、车辆及存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a vehicle longitudinal control method, device, vehicle and storage medium.

根据本公开实施例的第一方面,提供一种车辆纵向控制方法,包括:According to a first aspect of an embodiment of the present disclosure, a vehicle longitudinal control method is provided, including:

接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;receiving a longitudinal control request for the vehicle, the longitudinal control request including an input control quantity, the input control quantity including a target acceleration and/or a target speed of the vehicle;

根据所述输入控制量,确定第一输出扭矩;Determine the first output torque according to the input control quantity;

获取所述车辆的阻力扭矩;Obtain the resistance torque of the vehicle;

根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;Compensate the first output torque according to the resistance torque to obtain a second output torque;

根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。The motor operation of the vehicle is controlled according to the second output torque to perform longitudinal control of the vehicle.

可选地,所述获取所述车辆的阻力扭矩,包括:Optionally, obtaining the resistance torque of the vehicle includes:

获取所述车辆在当前时刻的实际速度和实际电机扭矩;Obtain the actual speed and actual motor torque of the vehicle at the current moment;

根据当前时刻的实际速度和当前时刻的上一时刻的实际速度,确定所述车辆的加速度;Determine the acceleration of the vehicle based on the actual speed at the current time and the actual speed at the previous time of the current time;

根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述阻力扭矩。The resistance torque is predicted based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment.

可选地,所述根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述阻力扭矩,包括:Optionally, predicting the resistance torque based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment includes:

根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述车辆在所述当前时刻的预测速度以及预测扭矩;Predict the predicted speed and predicted torque of the vehicle at the current moment based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment;

根据第一速度偏差,确定扭矩补偿量;其中,所述第一速度偏差为所述预测速度与当前时刻的实际速度之差;Determine the torque compensation amount according to the first speed deviation; wherein the first speed deviation is the difference between the predicted speed and the actual speed at the current moment;

根据所述扭矩补偿量对所述预测扭矩进行补偿,得到所述阻力扭矩。The predicted torque is compensated according to the torque compensation amount to obtain the resistance torque.

可选地,所述输入控制量包括目标加速度,所述根据所述输入控制量,确定第一输出扭矩,包括:Optionally, the input control quantity includes target acceleration, and determining the first output torque according to the input control quantity includes:

以所述目标加速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行前馈控制,得到所述第一输出扭矩。Using the target acceleration as the control input and the vehicle's output torque as the controlled object, feedforward control is performed on the vehicle to obtain the first output torque.

可选地,所述输入控制量包括目标速度,所述根据所述输入控制量,确定第一输出扭矩,包括:Optionally, the input control variable includes a target speed, and determining the first output torque according to the input control variable includes:

以所述目标速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行反馈控制,得到所述第一输出扭矩。Using the target speed as the control input and the vehicle's output torque as the controlled object, feedback control is performed on the vehicle to obtain the first output torque.

可选地,所述以所述目标速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行反馈控制,得到所述第一输出扭矩,包括:Optionally, using the target speed as the control input and the vehicle's output torque as the controlled object, performing feedback control on the vehicle to obtain the first output torque includes:

对第二速度偏差进行比例控制,得到比例控制扭矩;其中,所述第二速度偏差为所述目标速度与当前时刻的上一时刻的实际速度之差;Perform proportional control on the second speed deviation to obtain proportional control torque; wherein the second speed deviation is the difference between the target speed and the actual speed at the previous moment of the current moment;

对第三速度偏差进行积分控制,得到积分控制扭矩;其中,所述第三速度偏差为所述目标速度与当前时刻的实际速度之差;Perform integral control on the third speed deviation to obtain an integral control torque; wherein the third speed deviation is the difference between the target speed and the actual speed at the current moment;

将所述比例控制扭矩和所述积分控制扭矩之和,确定为所述第一输出扭矩。The sum of the proportional control torque and the integral control torque is determined as the first output torque.

可选地,所述根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩,包括:Optionally, the first output torque is compensated according to the resistance torque to obtain the second output torque, including:

根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到合成扭矩;Compensate the first output torque according to the resistance torque to obtain a synthetic torque;

根据所述车辆的电机状态,确定电机能力限制扭矩;Determine the motor capacity limit torque according to the motor status of the vehicle;

根据所述车辆的电池状态,确定电池能力限制扭矩;Determine battery capacity limiting torque based on the battery status of the vehicle;

将所述合成扭矩、所述电机能力限制扭矩以及所述电池能力限制扭矩中的最小值,确定为第二输出扭矩。The minimum value among the synthetic torque, the motor capacity limiting torque, and the battery capacity limiting torque is determined as the second output torque.

根据本公开实施例的第二方面,提供一种车辆纵向控制装置,包括:According to a second aspect of an embodiment of the present disclosure, a vehicle longitudinal control device is provided, including:

请求接收模块,被配置为接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;a request receiving module configured to receive a longitudinal control request for the vehicle, the longitudinal control request including an input control quantity, the input control quantity including the target acceleration and/or target speed of the vehicle;

第一获取模块,被配置为根据所述输入控制量,确定第一输出扭矩;A first acquisition module configured to determine the first output torque according to the input control quantity;

第二获取模块,被配置为获取所述车辆的阻力扭矩;a second acquisition module configured to acquire the resistance torque of the vehicle;

第三获取模块,被配置为根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;a third acquisition module configured to compensate the first output torque according to the resistance torque to obtain a second output torque;

控制模块,被配置为根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。A control module configured to control operation of an electric motor of the vehicle according to the second output torque to perform longitudinal control of the vehicle.

根据本公开实施例的第三方面,提供一种车辆,包括:According to a third aspect of embodiments of the present disclosure, a vehicle is provided, including:

处理器;processor;

用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;

其中,所述处理器被配置为:Wherein, the processor is configured as:

接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;receiving a longitudinal control request for the vehicle, the longitudinal control request including an input control quantity, the input control quantity including a target acceleration and/or a target speed of the vehicle;

根据所述输入控制量,确定第一输出扭矩;Determine the first output torque according to the input control quantity;

获取所述车辆的阻力扭矩;Obtain the resistance torque of the vehicle;

根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;Compensate the first output torque according to the resistance torque to obtain a second output torque;

根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。The motor operation of the vehicle is controlled according to the second output torque to perform longitudinal control of the vehicle.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的车辆纵向控制方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the vehicle longitudinal control method provided by the first aspect of the present disclosure are implemented. .

本公开的实施例提供的技术方案可以包括以下有益效果:通过纵向控制请求获得第一输出扭矩,然后,获取车辆的阻力扭矩,并根据车辆的阻力扭矩对第一输出扭矩进行补偿,得到第二输出扭矩,再然后,根据第二输出扭矩控制车辆的电机运行,对车辆进行纵向控制,这样,能够补偿车辆在行驶过程中受到的阻力对车辆纵向运动的影响,从而能够准确、快速地获取到第二输出扭矩,提升车辆纵向控制的效果。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: obtain the first output torque through longitudinal control request, then obtain the resistance torque of the vehicle, and compensate the first output torque according to the resistance torque of the vehicle to obtain the second output torque. output torque, and then control the motor operation of the vehicle according to the second output torque to perform longitudinal control of the vehicle. In this way, the impact of the resistance on the longitudinal motion of the vehicle during driving can be compensated, so that the vehicle's longitudinal motion can be accurately and quickly obtained. The second output torque improves the longitudinal control effect of the vehicle.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种车辆纵向控制方法的流程图。Figure 1 is a flow chart of a vehicle longitudinal control method according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种反馈控制方法的流程图。FIG. 2 is a flow chart of a feedback control method according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种预测车辆的阻力扭矩的流程图。FIG. 3 is a flowchart illustrating a method of predicting the drag torque of a vehicle according to an exemplary embodiment.

图4是根据一示例性实施例示出的另一种车辆纵向控制方法的流程图。FIG. 4 is a flowchart of another vehicle longitudinal control method according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种车辆纵向控制装置的框图。FIG. 5 is a block diagram of a vehicle longitudinal control device according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种车辆的框图。FIG. 6 is a block diagram of a vehicle according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the appended claims.

需要说明的是,本申请中所有获取信号、信息或数据的动作都是在遵照所在地相应的数据保护法规政策的前提下,并获得由相应装置所有者给予授权的情况下进行的。It should be noted that all actions to obtain signals, information or data in this application are performed under the premise of complying with the corresponding data protection regulations and policies of the location and with authorization from the owner of the corresponding device.

高级驾驶辅助系统(Advanced Driver Assistance Systems,ADAS)能够辅助用户进行车辆驾驶,有效增加驾驶过程的舒适性和安全性。其中,自适应巡航控制(AdaptiveCruise Control,ACC)、车道居中控制(Lane Centering Control,LCC)、导航辅助驾驶(Navigate on Autopilot,NOA)以及自动泊车辅助(Auto Parking Assist,APA)等功能均需要对车辆进行纵向控制。Advanced Driver Assistance Systems (ADAS) can assist users in vehicle driving, effectively increasing the comfort and safety of the driving process. Among them, functions such as Adaptive Cruise Control (ACC), Lane Centering Control (LCC), Navigate on Autopilot (NOA), and Auto Parking Assist (APA) are all required Longitudinal control of the vehicle.

车辆纵向控制(Vehicle Longitudinal Control,VLC)是指对于车辆在直线上的加减速控制,在自动驾驶系统中属于动力执行和分配单元。目前,自动驾驶系统的架构可以包括感知、决策、控制以及执行部分,其中,感知系统可以获取目标距离;决策和控制系统能够获取车辆的目标速度和目标加速度;执行系统(即VLC系统)能够根据目标加速度计算出所需的制动扭矩或驱动扭矩,并将该制动扭矩或驱动扭矩发送给车辆的驱动单元或制动单元,以实现车辆纵向的驱动或制动。Vehicle Longitudinal Control (VLC) refers to the acceleration and deceleration control of the vehicle in a straight line, and is a power execution and distribution unit in the automatic driving system. At present, the architecture of the autonomous driving system can include perception, decision-making, control and execution parts. Among them, the perception system can obtain the target distance; the decision-making and control system can obtain the target speed and target acceleration of the vehicle; the execution system (i.e. VLC system) can obtain the target distance according to the The target acceleration calculates the required braking torque or driving torque, and sends the braking torque or driving torque to the driving unit or braking unit of the vehicle to achieve longitudinal driving or braking of the vehicle.

然而,车辆在实际行驶过程中会受到坡道、风力等环境因素产生的阻力影响,导致车辆的实际加速度并不稳定,使得目标加速度与实际加速度之间的偏差无法快速收敛,根据计算得到的理论扭矩无法满足实际需求,需要通过反馈控制不断调整,才能得到最终的驱动电机运行的扭矩。因此,VLC系统难以准确、快速地获取该扭矩,影响车辆的纵向控制效果。However, during actual driving, the vehicle will be affected by the resistance caused by environmental factors such as slopes and wind, causing the actual acceleration of the vehicle to be unstable, making the deviation between the target acceleration and the actual acceleration unable to converge quickly. According to the calculated theory The torque cannot meet the actual demand and needs to be continuously adjusted through feedback control to obtain the final torque for driving the motor. Therefore, it is difficult for the VLC system to obtain the torque accurately and quickly, which affects the longitudinal control effect of the vehicle.

另外,车辆的实际加速度并不能够直接获取到,通常需要先获取车辆的轮速或车速,然后对轮速或车速进行微分计算才能得到实际加速度,存在一定程度的响应滞后,因此,相关技术中通过实际加速度与目标加速度之间的偏差进行纵向控制的时效性较差。In addition, the actual acceleration of the vehicle cannot be obtained directly. It is usually necessary to obtain the wheel speed or vehicle speed of the vehicle first, and then perform differential calculation on the wheel speed or vehicle speed to obtain the actual acceleration. There is a certain degree of response lag. Therefore, in related technologies, Longitudinal control based on the deviation between actual acceleration and target acceleration has poor timeliness.

为此,本公开提供一种车辆纵向控制方法、装置、车辆及存储介质,下面结合附图对本公开的具体实施方式进行详细说明。To this end, the present disclosure provides a vehicle longitudinal control method, device, vehicle, and storage medium. Specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

图1是根据一示例性实施例示出的一种车辆纵向控制方法的流程图,如图1所示,车辆纵向控制方法用于车辆中,包括以下步骤:Figure 1 is a flow chart of a vehicle longitudinal control method according to an exemplary embodiment. As shown in Figure 1, the vehicle longitudinal control method is used in a vehicle and includes the following steps:

S101:接收到针对车辆的纵向控制请求,纵向控制请求包括输入控制量,输入控制量包括车辆的目标加速度和/或目标速度。S101: A longitudinal control request for the vehicle is received. The longitudinal control request includes an input control quantity, and the input control quantity includes the target acceleration and/or target speed of the vehicle.

在本公开的一种实施例中,纵向控制请求可分为制动控制和驱动控制,即控制车辆减速、或控制车辆加速,可以根据纵向控制请求中的输入控制量,来获取与该纵向控制请求对应的扭矩,使得车辆达到相应的减速或加速目的,其中,输入控制量可以包括车辆的目标加速度和/或目标速度。In one embodiment of the present disclosure, the longitudinal control request can be divided into braking control and driving control, that is, controlling the vehicle deceleration or controlling the vehicle acceleration. The longitudinal control can be obtained according to the input control amount in the longitudinal control request. The corresponding torque is requested so that the vehicle achieves the corresponding deceleration or acceleration purpose, wherein the input control quantity may include the target acceleration and/or target speed of the vehicle.

示例地,该目标加速度和目标速度可以由自动驾驶系统中的决策和控制系统计算得到。For example, the target acceleration and target speed can be calculated by the decision-making and control system in the automatic driving system.

S102:根据输入控制量,确定第一输出扭矩。S102: Determine the first output torque according to the input control quantity.

在本公开的一种实施例中,可以根据该输入控制量,对车辆进行前馈控制和/或反馈控制,以得到第一输出扭矩。In an embodiment of the present disclosure, feedforward control and/or feedback control can be performed on the vehicle according to the input control quantity to obtain the first output torque.

S103:获取车辆的阻力扭矩。S103: Obtain the resistance torque of the vehicle.

在本公开的一种实施例中,阻力扭矩是指车辆应对坡道、风阻、滚阻或其他阻力所需要的扭矩。可以通过龙贝格观测器预测得到车辆的阻力扭矩。In one embodiment of the present disclosure, the resistance torque refers to the torque required by the vehicle to cope with slopes, wind resistance, rolling resistance or other resistance forces. The drag torque of the vehicle can be predicted by the Romberg observer.

S104:根据阻力扭矩对第一输出扭矩进行补偿,得到第二输出扭矩。S104: Compensate the first output torque according to the resistance torque to obtain the second output torque.

在本公开的一种实施例中,根据阻力扭矩对第一输出扭矩进行补偿,即将阻力扭矩与第一输出扭矩求和,能够补偿车辆受到的阻力对车辆纵向运动的影响,进而能够快速、准确地得到第二输出扭矩。In one embodiment of the present disclosure, the first output torque is compensated according to the resistance torque, that is, the resistance torque is summed with the first output torque, which can compensate for the impact of the resistance on the vehicle's longitudinal motion, and thus can quickly and accurately to obtain the second output torque.

S105:根据第二输出扭矩控制车辆的电机运行,以对车辆进行纵向控制。S105: Control the motor operation of the vehicle according to the second output torque to perform longitudinal control of the vehicle.

在本公开的一种实施例中,控制车辆的电机运行并输出第二输出扭矩,以对车辆进行纵向控制,从而实现纵向控制请求中所需的速度或加速度变化目标。In an embodiment of the present disclosure, the motor of the vehicle is controlled to operate and output the second output torque to perform longitudinal control of the vehicle, thereby achieving the speed or acceleration change target required in the longitudinal control request.

本公开的实施例提供的技术方案可以包括以下有益效果:通过纵向控制请求获得第一输出扭矩,然后,获取车辆的阻力扭矩,并根据车辆的阻力扭矩对第一输出扭矩进行补偿,得到第二输出扭矩,再然后,根据第二输出扭矩控制车辆的电机运行,对车辆进行纵向控制,这样,能够补偿车辆在行驶过程中受到的阻力对车辆纵向运动的影响,从而能够准确、快速地获取到第二输出扭矩,提升车辆纵向控制的效果。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: obtain the first output torque through longitudinal control request, then obtain the resistance torque of the vehicle, and compensate the first output torque according to the resistance torque of the vehicle to obtain the second output torque. output torque, and then control the motor operation of the vehicle according to the second output torque to perform longitudinal control of the vehicle. In this way, the impact of the resistance on the longitudinal motion of the vehicle during driving can be compensated, so that the vehicle's longitudinal motion can be accurately and quickly obtained. The second output torque improves the longitudinal control effect of the vehicle.

作为一种可选的实施方式,输入控制量包括目标加速度,S102可以包括:以目标加速度为控制输入量,以车辆的输出扭矩为被控对象,对车辆进行前馈控制,得到第一输出扭矩。As an optional implementation, the input control quantity includes the target acceleration. S102 may include: using the target acceleration as the control input quantity and the vehicle's output torque as the controlled object, performing feedforward control on the vehicle to obtain the first output torque. .

在本公开的一种实施例中,前馈控制是一种开环的控制方式,能够直接根据控制输入量对被控对象进行控制。在本公开中,将目标加速度作为控制输入量,将输出扭矩作为被控对象,通过前馈控制得到第一输出扭矩。In one embodiment of the present disclosure, feedforward control is an open-loop control method that can directly control the controlled object according to the control input quantity. In the present disclosure, the target acceleration is used as the control input quantity, the output torque is used as the controlled object, and the first output torque is obtained through feedforward control.

示例地,通过如下关系式计算得到第一输出扭矩T1For example, the first output torque T 1 is calculated through the following relationship:

T1=m×AxTar×WheelRadiusT 1 =m×AxTar×WheelRadius

其中,m为车辆质量,m=(车辆的空载质量+车辆的满载质量)/2、AxTar为目标加速度、WheelRadius为车轮的滚动半径。Among them, m is the mass of the vehicle, m = (unladen mass of the vehicle + fully loaded mass of the vehicle)/2, AxTar is the target acceleration, and WheelRadius is the rolling radius of the wheel.

作为一种可选的实施方式,输入控制量包括目标速度,S102可以包括:以目标速度为控制输入量,以车辆的输出扭矩为被控对象,对车辆进行反馈控制,得到第一输出扭矩。As an optional implementation, the input control quantity includes the target speed. S102 may include: using the target speed as the control input quantity and the vehicle's output torque as the controlled object, performing feedback control on the vehicle to obtain the first output torque.

在本公开的一种实施例中,反馈控制是一种闭环的控制方式,能够根据控制参数的当前状态与期望状态(即控制输入量)之间的偏差对被控对象进行控制。在本公开中,将目标速度作为控制输入量,将输出扭矩作为被控对象,根据目标速度与实际速度之间的偏差进行反馈控制,得到第一输出扭矩。由于车辆的实际速度可以通过传感器等设备直接测量得到,能够准确、实时地获取,而车辆的加速度需要通过计算得到,无法直接测出,因此,将目标速度作为控制输入量进行反馈控制,能够避免以目标加速度为控制目标进行反馈控制带来的响应滞后,从而能够提升车辆纵向控制的时效性。In one embodiment of the present disclosure, feedback control is a closed-loop control method that can control the controlled object based on the deviation between the current state of the control parameter and the desired state (ie, the control input quantity). In the present disclosure, the target speed is used as the control input quantity, the output torque is used as the controlled object, and feedback control is performed based on the deviation between the target speed and the actual speed to obtain the first output torque. Since the actual speed of the vehicle can be directly measured by sensors and other equipment and can be obtained accurately and in real time, the acceleration of the vehicle needs to be calculated and cannot be measured directly. Therefore, using the target speed as a control input for feedback control can avoid The response lag caused by feedback control using target acceleration as the control target can improve the timeliness of vehicle longitudinal control.

作为一种可选的实施方式,以目标速度为控制输入量,以车辆的输出扭矩为被控对象,对车辆进行反馈控制,得到第一输出扭矩,包括:对第二速度偏差进行比例控制,得到比例控制扭矩;其中,第二速度偏差为目标速度与当前时刻的上一时刻的实际速度之差;对第三速度偏差进行积分控制,得到积分控制扭矩;其中,第三速度偏差为目标速度与当前时刻的实际速度之差;将比例控制扭矩和积分控制扭矩之和,确定为第一输出扭矩。As an optional implementation, using the target speed as the control input and the vehicle's output torque as the controlled object, feedback control is performed on the vehicle to obtain the first output torque, including: proportional control of the second speed deviation, Obtain proportional control torque; where, the second speed deviation is the difference between the target speed and the actual speed at the previous moment; perform integral control on the third speed deviation to obtain the integral control torque; where, the third speed deviation is the target speed The difference from the actual speed at the current moment; the sum of the proportional control torque and the integral control torque is determined as the first output torque.

图2是根据一示例性实施例示出的一种反馈控制方法的流程图。如图2所示,反馈控制包括比例控制和积分控制两部分,其中,比例控制部分的输入为目标速度和当前时刻的上一时刻的实际速度,输出的比例控制扭矩与第二速度偏差(即目标速度与当前时刻的上一时刻的实际速度之差)成正比;积分控制部分的输入为目标速度和当前时刻的实际速度,输出的积分控制扭矩与第三速度偏差(即目标速度与当前时刻的实际速度之差)的积分成正比,比例控制扭矩和积分控制扭矩之和为第一输出扭矩。FIG. 2 is a flow chart of a feedback control method according to an exemplary embodiment. As shown in Figure 2, feedback control includes two parts: proportional control and integral control. The input of the proportional control part is the target speed and the actual speed at the previous moment of the current moment. The output proportional control torque is the same as the second speed deviation (i.e. The target speed is proportional to the difference between the actual speed of the current moment and the previous moment); the input of the integral control part is the target speed and the actual speed of the current moment, and the output integral control torque is the third speed deviation (that is, the target speed and the current moment is proportional to the integral of the actual speed difference), and the sum of the proportional control torque and the integral control torque is the first output torque.

具体的,通过如下关系式得到比例控制扭矩TpSpecifically, the proportional control torque T p is obtained through the following relationship:

Tp=Kp×(VxTar-VxActk-1)×dtT p =K p ×(VxTar-VxAct k-1 )×dt

其中,Kp为比例系数、VxTar为目标速度、VxActk-1为当前时刻的上一时刻的实际速度、dt为运算周期;Among them, K p is the proportional coefficient, VxTar is the target speed, VxAct k-1 is the actual speed at the previous moment of the current moment, and dt is the operation period;

然后,通过如下关系式得到积分控制扭矩TiThen, the integral control torque Ti is obtained through the following relationship:

Ti=Ki×(VxTar-VxAct)×dtT i =K i ×(VxTar-VxAct)×dt

其中,Ki为积分系数、VxAct为当前时刻的实际速度;Among them, K i is the integration coefficient and VxAct is the actual speed at the current moment;

最后,通过如下关系式得到第一输出扭矩T1Finally, the first output torque T 1 is obtained through the following relationship:

T1=Tp+Ti T 1 =T p +T i

在另一种可选的实施方式中,第一输出扭矩可以为前馈控制生成的第一输出扭矩与反馈控制生成的第一输出扭矩之和。In another optional implementation, the first output torque may be the sum of the first output torque generated by feedforward control and the first output torque generated by feedback control.

作为一种可选的实施方式,S103可以包括:获取车辆在当前时刻的实际速度和实际电机扭矩;根据当前时刻的实际速度和当前时刻的上一时刻的实际速度,确定车辆的加速度;根据加速度、车辆的质量以及当前时刻的实际电机扭矩,预测得到阻力扭矩。As an optional implementation, S103 may include: obtaining the actual speed and actual motor torque of the vehicle at the current moment; determining the acceleration of the vehicle based on the actual speed at the current moment and the actual speed at the previous moment of the current moment; , the mass of the vehicle and the actual motor torque at the current moment, the resistance torque is predicted.

在本公开的一种实施例中,可以通过龙贝格观测器(Luenberger observer)预测得到车辆的阻力扭矩。龙贝格观测器是一种典型的状态观测器,能够根据系统的可测量输出信号,估计系统不可直接测量的状态信号,因此,将车辆在当前时刻的实际速度和实际电机扭矩输入龙贝格观测器,能够准确地预测得到阻力扭矩。In an embodiment of the present disclosure, the drag torque of the vehicle can be predicted by a Luenberger observer. Romberg observer is a typical state observer, which can estimate the state signal of the system that cannot be directly measured based on the measurable output signal of the system. Therefore, the actual speed of the vehicle at the current moment and the actual motor torque are input to Romberg The observer can accurately predict the resistance torque.

具体地,先根据车辆在当前时刻的实际速度和实际电机扭矩对龙贝格观测器进行初始化,然后,再根据车辆的加速度、车辆的质量以及当前时刻的实际电机扭矩,预测得到阻力扭矩。Specifically, the Romberg observer is initialized based on the actual speed of the vehicle at the current moment and the actual motor torque, and then the resistance torque is predicted based on the acceleration of the vehicle, the mass of the vehicle, and the actual motor torque at the current moment.

可以理解的是,车辆的加速度为当前时刻的实际速度与当前时刻的上一时刻的实际速度之差,与当前时刻与上一时刻之间的时间间隔之商,即:It can be understood that the acceleration of the vehicle is the difference between the actual speed at the current moment and the actual speed at the previous moment, and the quotient of the time interval between the current moment and the previous moment, that is:

其中,a为加速度、ΔVxAct为当前时刻的实际速度和当前时刻的上一时刻的实际速度之差、Δt为当前时刻与上一时刻之间的时间间隔。Among them, a is the acceleration, ΔVxAct is the difference between the actual speed at the current time and the actual speed at the previous time of the current time, and Δt is the time interval between the current time and the previous time.

作为一种可选的实施方式,根据加速度、车辆的质量以及当前时刻的实际电机扭矩,预测得到阻力扭矩,包括:根据加速度、车辆的质量以及当前时刻的实际电机扭矩,预测得到车辆在当前时刻的预测速度以及预测扭矩;根据第一速度偏差,确定扭矩补偿量;其中,第一速度偏差为预测速度与当前时刻的实际速度之差;根据扭矩补偿量对预测扭矩进行补偿,得到阻力扭矩。As an optional implementation, predicting the resistance torque according to the acceleration, the mass of the vehicle and the actual motor torque at the current moment includes: predicting the resistance torque of the vehicle at the current moment according to the acceleration, the mass of the vehicle and the actual motor torque at the current moment. The predicted speed and predicted torque; determine the torque compensation amount according to the first speed deviation; where the first speed deviation is the difference between the predicted speed and the actual speed at the current moment; compensate the predicted torque according to the torque compensation amount to obtain the resistance torque.

在本公开的一种实施例中,根据加速度、车辆的质量以及当前时刻的实际电机扭矩,预测得到车辆在当前时刻的预测速度以及预测扭矩。In one embodiment of the present disclosure, the predicted speed and predicted torque of the vehicle at the current moment are predicted based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment.

示例地,通过如下关系式得到预测扭矩TLoadFor example, the predicted torque T Load is obtained through the following relationship:

其中,TM为当前时刻的实际电机扭矩;Among them, TM is the actual motor torque at the current moment;

然后,通过如下关系式得到预测速度VxPre:Then, the predicted speed VxPre is obtained through the following relationship:

VxPre=VxActk-1+a×dtVxPre=VxAct k-1 +a×dt

在本公开的一种实施例中,根据第一速度偏差(即预测速度与当前时刻的实际速度之差),确定扭矩补偿量,然后,根据扭矩补偿量对预测扭矩进行补偿,得到阻力扭矩。In one embodiment of the present disclosure, the torque compensation amount is determined based on the first speed deviation (ie, the difference between the predicted speed and the actual speed at the current moment), and then the predicted torque is compensated based on the torque compensation amount to obtain the resistance torque.

具体地,先将第一速度偏差作为扭矩补偿量,即扭矩补偿量与第一速度偏差的数值相同,然后,在扭矩补偿量满足扭矩补偿条件的情况下,根据该扭矩补偿量,对预测扭矩进行补偿,即将扭矩补偿量与预测扭矩求和,得到纠偏后扭矩。Specifically, the first speed deviation is first used as the torque compensation amount, that is, the torque compensation amount is the same as the first speed deviation. Then, when the torque compensation amount satisfies the torque compensation condition, the predicted torque is calculated based on the torque compensation amount. Compensation is performed by summing the torque compensation amount and the predicted torque to obtain the corrected torque.

示例地,扭矩补偿条件可以为扭矩补偿量处于预设的扭矩补偿范围内,例如,扭矩补偿范围可以为[5,60]。For example, the torque compensation condition may be that the torque compensation amount is within a preset torque compensation range. For example, the torque compensation range may be [5, 60].

进一步地,将上述纠偏后扭矩作为当前时刻的实际电机扭矩,根据加速度、车辆的质量以及该纠偏后扭矩,再次预测得到车辆在当前时刻的预测速度以及预测扭矩,重复执行上述步骤,直至扭矩补偿量不满足扭矩补偿条件的情况下,将此时的预测扭矩确定为车辆的阻力扭矩。Further, the above-mentioned corrected torque is used as the actual motor torque at the current moment. According to the acceleration, the mass of the vehicle and the corrected torque, the predicted speed and predicted torque of the vehicle at the current moment are again predicted, and the above steps are repeated until the torque is compensated. If the torque does not meet the torque compensation conditions, the predicted torque at this time is determined as the vehicle's resistance torque.

图3是根据一示例性实施例示出的一种预测车辆的阻力扭矩的流程图。如图3所示,先根据车辆在当前时刻的实际速度和实际电机扭矩对龙贝格观测器进行初始化;然后,根据车辆的加速度、车辆的质量以及当前时刻的实际电机扭矩,执行前述实施例中的方法,得到预测扭矩和预测速度;再然后,根据第一速度偏差,确定扭矩补偿量,并根据扭矩补偿量对预测扭矩进行补偿,得到纠偏后扭矩;再然后,根据纠偏后扭矩再次进行阻力扭矩预测,重复执行上述步骤,直至扭矩补偿量不满足扭矩补偿条件的情况下,将预测扭矩确定为车辆的阻力扭矩,其中,图3中Z为状态传递参数。FIG. 3 is a flowchart illustrating a method of predicting the drag torque of a vehicle according to an exemplary embodiment. As shown in Figure 3, the Romberg observer is first initialized based on the actual speed of the vehicle at the current moment and the actual motor torque; then, the aforementioned embodiment is executed based on the acceleration of the vehicle, the mass of the vehicle, and the actual motor torque at the current moment. According to the method in For resistance torque prediction, the above steps are repeated until the torque compensation amount does not meet the torque compensation conditions, and the predicted torque is determined as the resistance torque of the vehicle, where Z in Figure 3 is the state transfer parameter.

作为一种可选的实施方式,S104可以包括:根据阻力扭矩对第一输出扭矩进行补偿,得到合成扭矩;根据车辆的电机状态,确定电机能力限制扭矩;根据车辆的电池状态,确定电池能力限制扭矩;将合成扭矩、电机能力限制扭矩以及电池能力限制扭矩中的最小值,确定为第二输出扭矩。As an optional implementation, S104 may include: compensating the first output torque according to the resistance torque to obtain a synthetic torque; determining the motor capacity limit torque according to the motor status of the vehicle; determining the battery capacity limit according to the battery status of the vehicle Torque; determine the minimum value among the synthetic torque, the motor capacity limiting torque and the battery capacity limiting torque as the second output torque.

在本公开的一种实施例中,根据阻力扭矩对第一输出扭矩进行补偿,即将阻力扭矩与第一输出扭矩相加,得到合成扭矩。In an embodiment of the present disclosure, the first output torque is compensated according to the resistance torque, that is, the resistance torque and the first output torque are added to obtain a resultant torque.

然后,根据车辆的电机状态,确定电机能够提供的最大扭矩,即电机能力限制扭矩,该电机能力限制扭矩能够用于表示该扭矩不超过电机的能力范围。示例地,可以根据电机的放电功率、发电功率、电机效率以及电机转速计算得到电机能力限制扭矩。Then, according to the motor status of the vehicle, the maximum torque that the motor can provide is determined, that is, the motor capability limit torque. The motor capability limit torque can be used to indicate that the torque does not exceed the capability range of the motor. For example, the motor capacity limiting torque can be calculated based on the motor's discharge power, generated power, motor efficiency, and motor speed.

再然后,根据车辆的电池状态,确定电池的当前能量能够提供的最大扭矩,即电池能力限制扭矩,该电池能力限制扭矩能够用于表示该扭矩不超过电池的能力范围,避免电池过度放电、无法满足车辆需求。示例地,可以根据电池电压、电机效率以及电机转速计算得到电池能力限制扭矩。Then, according to the battery status of the vehicle, the maximum torque that the current energy of the battery can provide is determined, that is, the battery capacity limiting torque. The battery capacity limiting torque can be used to indicate that the torque does not exceed the battery's capacity range to avoid excessive discharge of the battery and inability to operate the vehicle. Meet vehicle needs. For example, the battery capacity limiting torque can be calculated based on the battery voltage, motor efficiency, and motor speed.

最后,对第二输出扭矩进行仲裁,即将合成扭矩、电机能力限制扭矩以及电池能力限制扭矩中的最小值确定为第二输出扭矩,这样,能够使得第二输出扭矩不超过任意一个限制因素的限制范围,以保障车辆行驶安全。Finally, the second output torque is arbitrated, that is, the minimum value among the synthetic torque, the motor capacity limit torque and the battery capacity limit torque is determined as the second output torque, so that the second output torque does not exceed the limit of any limiting factor. range to ensure vehicle driving safety.

图4是根据一示例性实施例示出的另一种车辆纵向控制方法的流程图。如图4所示,先以目标加速度为控制输入量,对车辆进行前馈控制,得到前馈控制输出的第一输出扭矩;并根据当前时刻的实际速度和当前时刻的实际电机扭矩进行阻力扭矩预测,执行前述实施例中的方法,确定阻力扭矩;并以目标速度为控制输入量,对车辆进行反馈控制,得到反馈控制输出的第一输出扭矩;然后,将前馈控制输出的第一输出扭矩、阻力扭矩以及反馈控制输出的第一输出扭矩之和确定为合成扭矩,并根据该合成扭矩、电机能力限制扭矩、电池能力限制扭矩对第二输出扭矩进行仲裁,得到第二输出扭矩,并根据该第二输出扭矩控制电机运行,实现车辆纵向控制。FIG. 4 is a flowchart of another vehicle longitudinal control method according to an exemplary embodiment. As shown in Figure 4, first use the target acceleration as the control input, perform feedforward control on the vehicle, and obtain the first output torque of the feedforward control output; and perform resistance torque based on the actual speed at the current moment and the actual motor torque at the current moment. Predict, execute the method in the aforementioned embodiment to determine the resistance torque; and use the target speed as the control input quantity to perform feedback control on the vehicle to obtain the first output torque of the feedback control output; then, use the first output of the feedforward control output The sum of torque, resistance torque and the first output torque of the feedback control output is determined as the synthetic torque, and the second output torque is arbitrated according to the synthetic torque, the motor capacity limit torque, and the battery capacity limit torque to obtain the second output torque, and The operation of the motor is controlled according to the second output torque to achieve longitudinal control of the vehicle.

图5是根据一示例性实施例示出的一种车辆纵向控制装置框图。参照图5,车辆纵向控制装置200可以包括请求接收模块201、第一获取模块202、第二获取模块203、第三获取模块204以及控制模块205。Figure 5 is a block diagram of a vehicle longitudinal control device according to an exemplary embodiment. Referring to FIG. 5 , the vehicle longitudinal control device 200 may include a request receiving module 201 , a first acquisition module 202 , a second acquisition module 203 , a third acquisition module 204 and a control module 205 .

请求接收模块201,被配置为接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;The request receiving module 201 is configured to receive a longitudinal control request for the vehicle, the longitudinal control request includes an input control quantity, the input control quantity includes the target acceleration and/or target speed of the vehicle;

第一获取模块202,被配置为根据所述输入控制量,确定第一输出扭矩;The first acquisition module 202 is configured to determine the first output torque according to the input control quantity;

第二获取模块203,被配置为获取所述车辆的阻力扭矩;The second acquisition module 203 is configured to acquire the resistance torque of the vehicle;

第三获取模块204,被配置为根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;The third acquisition module 204 is configured to compensate the first output torque according to the resistance torque to obtain a second output torque;

控制模块205,被配置为根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。The control module 205 is configured to control the motor operation of the vehicle according to the second output torque to perform longitudinal control of the vehicle.

本公开的实施例提供的技术方案可以包括以下有益效果:通过纵向控制请求获得第一输出扭矩,然后,获取车辆的阻力扭矩,并根据车辆的阻力扭矩对第一输出扭矩进行补偿,得到第二输出扭矩,再然后,根据第二输出扭矩控制车辆的电机运行,对车辆进行纵向控制,这样,能够补偿车辆在行驶过程中受到的阻力对车辆纵向运动的影响,从而能够准确、快速地获取到第二输出扭矩,提升车辆纵向控制的效果。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: obtain the first output torque through longitudinal control request, then obtain the resistance torque of the vehicle, and compensate the first output torque according to the resistance torque of the vehicle to obtain the second output torque. output torque, and then control the motor operation of the vehicle according to the second output torque to perform longitudinal control of the vehicle. In this way, the impact of the resistance on the longitudinal motion of the vehicle during driving can be compensated, so that the vehicle's longitudinal motion can be accurately and quickly obtained. The second output torque improves the longitudinal control effect of the vehicle.

可选地,第二获取模块203包括:Optionally, the second acquisition module 203 includes:

第一获取子模块,被配置为获取所述车辆在当前时刻的实际速度和实际电机扭矩;The first acquisition sub-module is configured to acquire the actual speed and actual motor torque of the vehicle at the current moment;

第二获取子模块,被配置为根据当前时刻的实际速度和当前时刻的上一时刻的实际速度,确定所述车辆的加速度;The second acquisition submodule is configured to determine the acceleration of the vehicle based on the actual speed at the current time and the actual speed at the previous time of the current time;

第一预测子模块,被配置为根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述阻力扭矩。The first prediction sub-module is configured to predict the resistance torque based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment.

可选地,第一预测子模块包括:Optionally, the first prediction sub-module includes:

第二预测子模块,被配置为根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述车辆在所述当前时刻的预测速度以及预测扭矩;The second prediction submodule is configured to predict the predicted speed and predicted torque of the vehicle at the current moment based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment;

第三获取子模块,被配置为根据第一速度偏差,确定扭矩补偿量;其中,所述第一速度偏差为所述预测速度与当前时刻的实际速度之差;The third acquisition sub-module is configured to determine the torque compensation amount according to the first speed deviation; wherein the first speed deviation is the difference between the predicted speed and the actual speed at the current moment;

第四获取子模块,被配置为根据所述扭矩补偿量对所述预测扭矩进行补偿,得到所述阻力扭矩。The fourth acquisition sub-module is configured to compensate the predicted torque according to the torque compensation amount to obtain the resistance torque.

可选地,第一获取模块202包括:Optionally, the first acquisition module 202 includes:

第五获取子模块,被配置为以所述目标加速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行前馈控制,得到所述第一输出扭矩。The fifth acquisition sub-module is configured to use the target acceleration as the control input quantity and the output torque of the vehicle as the controlled object to perform feedforward control on the vehicle to obtain the first output torque.

可选地,第一获取模块202包括:Optionally, the first acquisition module 202 includes:

第六获取子模块,被配置为以所述目标速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行反馈控制,得到所述第一输出扭矩。The sixth acquisition sub-module is configured to use the target speed as a control input quantity and the output torque of the vehicle as a controlled object to perform feedback control on the vehicle to obtain the first output torque.

可选地,第六获取子模块包括:Optionally, the sixth acquisition sub-module includes:

比例控制子模块,被配置为对第二速度偏差进行比例控制,得到比例控制扭矩;其中,所述第二速度偏差为所述目标速度与当前时刻的上一时刻的实际速度之差;The proportional control submodule is configured to perform proportional control on the second speed deviation to obtain the proportional control torque; wherein the second speed deviation is the difference between the target speed and the actual speed at the previous moment of the current moment;

积分控制子模块,被配置为对第三速度偏差进行积分控制,得到积分控制扭矩;其中,所述第三速度偏差为所述目标速度与当前时刻的实际速度之差;The integral control submodule is configured to perform integral control on the third speed deviation to obtain the integral control torque; wherein the third speed deviation is the difference between the target speed and the actual speed at the current moment;

第七获取子模块,被配置为将所述比例控制扭矩和所述积分控制扭矩之和,确定为所述第一输出扭矩。A seventh acquisition sub-module is configured to determine the sum of the proportional control torque and the integral control torque as the first output torque.

可选地,第三获取模块204包括:Optionally, the third acquisition module 204 includes:

第八获取子模块,被配置为根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到合成扭矩;An eighth acquisition sub-module is configured to compensate the first output torque according to the resistance torque to obtain a synthetic torque;

第九获取子模块,被配置为根据所述车辆的电机状态,确定电机能力限制扭矩;The ninth acquisition sub-module is configured to determine the motor capacity limit torque according to the motor status of the vehicle;

第十获取子模块,被配置为根据所述车辆的电池状态,确定电池能力限制扭矩;A tenth acquisition sub-module configured to determine the battery capacity limiting torque according to the battery status of the vehicle;

第十一获取子模块,被配置为将所述合成扭矩、所述电机能力限制扭矩以及所述电池能力限制扭矩中的最小值,确定为第二输出扭矩。An eleventh acquisition sub-module is configured to determine the minimum value of the synthetic torque, the motor capacity limiting torque, and the battery capacity limiting torque as the second output torque.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的车辆纵向控制方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the vehicle longitudinal control method provided by the present disclosure are implemented.

图6是根据一示例性实施例示出的一种车辆600的框图。例如,车辆600可以是混合动力车辆,也可以是非混合动力车辆、电动车辆、燃料电池车辆或者其他类型的车辆。车辆600可以是自动驾驶车辆。FIG. 6 is a block diagram of a vehicle 600 according to an exemplary embodiment. For example, vehicle 600 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 600 may be an autonomous vehicle.

参照图6,车辆600可包括各种子系统,例如,信息娱乐系统610、感知系统620、决策控制系统630、驱动系统640以及计算平台650。其中,车辆600还可以包括更多或更少的子系统,并且每个子系统都可包括多个部件。另外,车辆600的每个子系统之间和每个部件之间可以通过有线或者无线的方式实现互连。Referring to FIG. 6 , vehicle 600 may include various subsystems, such as infotainment system 610 , perception system 620 , decision control system 630 , drive system 640 , and computing platform 650 . The vehicle 600 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and each component of the vehicle 600 can be interconnected in a wired or wireless manner.

在一些实施例中,信息娱乐系统610可以包括通信系统,娱乐系统以及导航系统等。In some embodiments, the infotainment system 610 may include a communication system, an entertainment system, a navigation system, etc.

感知系统620可以包括若干种传感器,用于感测车辆600周边的环境的信息。例如,感知系统620可包括全球定位系统(全球定位系统可以是GPS系统,也可以是北斗系统或者其他定位系统)、惯性测量单元(inertial measurement unit,IMU)、激光雷达、毫米波雷达、超声雷达以及摄像装置。The sensing system 620 may include several types of sensors for sensing information about the environment around the vehicle 600 . For example, the perception system 620 may include a global positioning system (the global positioning system may be a GPS system, a Beidou system, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter wave radar, or ultrasonic radar. and camera equipment.

决策控制系统630可以包括计算系统、整车控制器、转向系统、油门以及制动系统。The decision control system 630 may include a computing system, vehicle controller, steering system, throttle and braking system.

驱动系统640可以包括为车辆600提供动力运动的组件。在一个实施例中,驱动系统640可以包括引擎、能量源、传动系统和车轮。引擎可以是内燃机、电动机、空气压缩引擎中的一种或者多种的组合。引擎能够将能量源提供的能量转换成机械能量。Drive system 640 may include components that provide powered motion for vehicle 600 . In one embodiment, drive system 640 may include an engine, energy source, drivetrain, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, and an air compression engine. An engine converts energy provided by an energy source into mechanical energy.

车辆600的部分或所有功能受计算平台650控制。计算平台650可包括至少一个处理器651和存储器652,处理器651可以执行存储在存储器652中的指令653。Some or all functions of vehicle 600 are controlled by computing platform 650 . Computing platform 650 may include at least one processor 651 and memory 652, and processor 651 may execute instructions 653 stored in memory 652.

处理器651可以是任何常规的处理器,诸如商业可获得的CPU。处理器还可以包括诸如图像处理器(Graphic Process Unit,GPU),现场可编程门阵列(Field ProgrammableGate Array,FPGA)、片上系统(System on Chip,SOC)、专用集成芯片(ApplicationSpecific Integrated Circuit,ASIC)或它们的组合。Processor 651 may be any conventional processor, such as a commercially available CPU. The processor may also include graphics processors (Graphic Process Unit, GPU), Field Programmable Gate Array (FPGA), System on Chip (SOC), Application Specific Integrated Circuit (ASIC). or a combination of them.

存储器652可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 652 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.

除了指令653以外,存储器652还可存储数据,例如道路地图,路线信息,车辆的位置、方向、速度等数据。存储器652存储的数据可以被计算平台650使用。In addition to the instructions 653, the memory 652 can also store data, such as road maps, route information, vehicle position, direction, speed and other data. Data stored in memory 652 may be used by computing platform 650.

在本公开实施例中,处理器651可以执行指令653,以完成上述的车辆纵向控制方法的全部或部分步骤。In the embodiment of the present disclosure, the processor 651 can execute instructions 653 to complete all or part of the steps of the vehicle longitudinal control method described above.

在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的车辆纵向控制方法的代码部分。In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a function for performing the above when executed by the programmable device. The code part of the vehicle longitudinal control method.

本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.

Claims (10)

1.一种车辆纵向控制方法,其特征在于,包括:1. A vehicle longitudinal control method, characterized by comprising: 接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;receiving a longitudinal control request for the vehicle, the longitudinal control request including an input control quantity, the input control quantity including a target acceleration and/or a target speed of the vehicle; 根据所述输入控制量,确定第一输出扭矩;Determine the first output torque according to the input control quantity; 获取所述车辆的阻力扭矩;Obtain the resistance torque of the vehicle; 根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;Compensate the first output torque according to the resistance torque to obtain a second output torque; 根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。The motor operation of the vehicle is controlled according to the second output torque to perform longitudinal control of the vehicle. 2.根据权利要求1所述的方法,其特征在于,所述获取所述车辆的阻力扭矩,包括:2. The method according to claim 1, characterized in that said obtaining the resistance torque of the vehicle includes: 获取所述车辆在当前时刻的实际速度和实际电机扭矩;Obtain the actual speed and actual motor torque of the vehicle at the current moment; 根据当前时刻的实际速度和当前时刻的上一时刻的实际速度,确定所述车辆的加速度;Determine the acceleration of the vehicle based on the actual speed at the current time and the actual speed at the previous time of the current time; 根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述阻力扭矩。The resistance torque is predicted based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment. 3.根据权利要求2所述的方法,其特征在于,所述根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述阻力扭矩,包括:3. The method of claim 2, wherein predicting the resistance torque based on the acceleration, the mass of the vehicle and the actual motor torque at the current moment includes: 根据所述加速度、所述车辆的质量以及当前时刻的实际电机扭矩,预测得到所述车辆在所述当前时刻的预测速度以及预测扭矩;Predict the predicted speed and predicted torque of the vehicle at the current moment based on the acceleration, the mass of the vehicle, and the actual motor torque at the current moment; 根据第一速度偏差,确定扭矩补偿量;其中,所述第一速度偏差为所述预测速度与当前时刻的实际速度之差;Determine the torque compensation amount according to the first speed deviation; wherein the first speed deviation is the difference between the predicted speed and the actual speed at the current moment; 根据所述扭矩补偿量对所述预测扭矩进行补偿,得到所述阻力扭矩。The predicted torque is compensated according to the torque compensation amount to obtain the resistance torque. 4.根据权利要求1所述的方法,其特征在于,所述输入控制量包括目标加速度,所述根据所述输入控制量,确定第一输出扭矩,包括:4. The method according to claim 1, wherein the input control quantity includes target acceleration, and determining the first output torque according to the input control quantity includes: 以所述目标加速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行前馈控制,得到所述第一输出扭矩。Using the target acceleration as the control input and the vehicle's output torque as the controlled object, feedforward control is performed on the vehicle to obtain the first output torque. 5.根据权利要求1所述的方法,其特征在于,所述输入控制量包括目标速度,所述根据所述输入控制量,确定第一输出扭矩,包括:5. The method of claim 1, wherein the input control variable includes a target speed, and determining the first output torque according to the input control variable includes: 以所述目标速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行反馈控制,得到所述第一输出扭矩。Using the target speed as a control input and the vehicle's output torque as a controlled object, feedback control is performed on the vehicle to obtain the first output torque. 6.根据权利要求5所述的方法,其特征在于,所述以所述目标速度为控制输入量,以所述车辆的输出扭矩为被控对象,对所述车辆进行反馈控制,得到所述第一输出扭矩,包括:6. The method according to claim 5, characterized in that, using the target speed as a control input quantity and the output torque of the vehicle as a controlled object, feedback control is performed on the vehicle to obtain the The first output torque includes: 对第二速度偏差进行比例控制,得到比例控制扭矩;其中,所述第二速度偏差为所述目标速度与当前时刻的上一时刻的实际速度之差;Perform proportional control on the second speed deviation to obtain proportional control torque; wherein the second speed deviation is the difference between the target speed and the actual speed at the previous moment of the current moment; 对第三速度偏差进行积分控制,得到积分控制扭矩;其中,所述第三速度偏差为所述目标速度与当前时刻的实际速度之差;Perform integral control on the third speed deviation to obtain an integral control torque; wherein the third speed deviation is the difference between the target speed and the actual speed at the current moment; 将所述比例控制扭矩和所述积分控制扭矩之和,确定为所述第一输出扭矩。The sum of the proportional control torque and the integral control torque is determined as the first output torque. 7.根据权利要求1所述的方法,其特征在于,所述根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩,包括:7. The method of claim 1, wherein the step of compensating the first output torque according to the resistance torque to obtain the second output torque includes: 根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到合成扭矩;Compensate the first output torque according to the resistance torque to obtain a synthetic torque; 根据所述车辆的电机状态,确定电机能力限制扭矩;Determine the motor capacity limit torque according to the motor status of the vehicle; 根据所述车辆的电池状态,确定电池能力限制扭矩;Determine battery capacity limiting torque based on the battery status of the vehicle; 将所述合成扭矩、所述电机能力限制扭矩以及所述电池能力限制扭矩中的最小值,确定为第二输出扭矩。The minimum value among the synthetic torque, the motor capacity limiting torque, and the battery capacity limiting torque is determined as the second output torque. 8.一种车辆纵向控制装置,其特征在于,包括:8. A vehicle longitudinal control device, characterized in that it includes: 请求接收模块,被配置为接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;a request receiving module configured to receive a longitudinal control request for the vehicle, the longitudinal control request including an input control quantity, the input control quantity including the target acceleration and/or target speed of the vehicle; 第一获取模块,被配置为根据所述输入控制量,确定第一输出扭矩;A first acquisition module configured to determine the first output torque according to the input control quantity; 第二获取模块,被配置为获取所述车辆的阻力扭矩;a second acquisition module configured to acquire the resistance torque of the vehicle; 第三获取模块,被配置为根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;a third acquisition module configured to compensate the first output torque according to the resistance torque to obtain a second output torque; 控制模块,被配置为根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。A control module configured to control operation of an electric motor of the vehicle according to the second output torque to perform longitudinal control of the vehicle. 9.一种车辆,其特征在于,包括:9. A vehicle, characterized in that it includes: 处理器;processor; 用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor; 其中,所述处理器被配置为:Wherein, the processor is configured as: 接收到针对所述车辆的纵向控制请求,所述纵向控制请求包括输入控制量,所述输入控制量包括所述车辆的目标加速度和/或目标速度;receiving a longitudinal control request for the vehicle, the longitudinal control request including an input control quantity, the input control quantity including a target acceleration and/or a target speed of the vehicle; 根据所述输入控制量,确定第一输出扭矩;Determine the first output torque according to the input control quantity; 获取所述车辆的阻力扭矩;Obtain the resistance torque of the vehicle; 根据所述阻力扭矩对所述第一输出扭矩进行补偿,得到第二输出扭矩;Compensate the first output torque according to the resistance torque to obtain a second output torque; 根据所述第二输出扭矩控制所述车辆的电机运行,以对所述车辆进行纵向控制。The motor operation of the vehicle is controlled according to the second output torque to perform longitudinal control of the vehicle. 10.一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,该程序指令被处理器执行时实现权利要求1~7中任一项所述方法的步骤。10. A computer-readable storage medium with computer program instructions stored thereon, characterized in that when the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
CN202311723943.2A 2023-12-14 2023-12-14 Vehicle longitudinal control method and device, vehicle and storage medium Pending CN117533319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311723943.2A CN117533319A (en) 2023-12-14 2023-12-14 Vehicle longitudinal control method and device, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311723943.2A CN117533319A (en) 2023-12-14 2023-12-14 Vehicle longitudinal control method and device, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN117533319A true CN117533319A (en) 2024-02-09

Family

ID=89786187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311723943.2A Pending CN117533319A (en) 2023-12-14 2023-12-14 Vehicle longitudinal control method and device, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN117533319A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160159352A1 (en) * 2014-12-08 2016-06-09 Hyundai Motor Company Apparatus and method for controlling auto cruise speed of vehicle
US20180196440A1 (en) * 2016-11-17 2018-07-12 Baidu Usa Llc Method and system for autonomous vehicle speed following
US11285950B1 (en) * 2020-09-28 2022-03-29 Ford Global Technologies, Llc Vehicle one pedal drive grade compensation system
CN114701491A (en) * 2022-02-28 2022-07-05 重庆长安汽车股份有限公司 Longitudinal control method and system for intelligent driving vehicle
CN115096605A (en) * 2022-06-22 2022-09-23 无锡市朗迪测控技术有限公司 Automobile test method, system, electronic equipment and storage medium
CN115556726A (en) * 2022-12-01 2023-01-03 小米汽车科技有限公司 Braking efficiency degradation compensation method, device, vehicle and storage medium
CN115571117A (en) * 2022-11-21 2023-01-06 安徽蔚来智驾科技有限公司 Vehicle longitudinal control method, computer device, storage medium and vehicle
CN116001794A (en) * 2023-02-27 2023-04-25 重庆长安汽车股份有限公司 Longitudinal motion control system for electrically driven vehicle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160159352A1 (en) * 2014-12-08 2016-06-09 Hyundai Motor Company Apparatus and method for controlling auto cruise speed of vehicle
US20180196440A1 (en) * 2016-11-17 2018-07-12 Baidu Usa Llc Method and system for autonomous vehicle speed following
CN108391429A (en) * 2016-11-17 2018-08-10 百度时代网络技术(北京)有限公司 Method and system for autonomous vehicle speed follower
US11285950B1 (en) * 2020-09-28 2022-03-29 Ford Global Technologies, Llc Vehicle one pedal drive grade compensation system
CN114312344A (en) * 2020-09-28 2022-04-12 福特全球技术公司 Vehicle single pedal driving gradient compensation system
CN114701491A (en) * 2022-02-28 2022-07-05 重庆长安汽车股份有限公司 Longitudinal control method and system for intelligent driving vehicle
CN115096605A (en) * 2022-06-22 2022-09-23 无锡市朗迪测控技术有限公司 Automobile test method, system, electronic equipment and storage medium
CN115571117A (en) * 2022-11-21 2023-01-06 安徽蔚来智驾科技有限公司 Vehicle longitudinal control method, computer device, storage medium and vehicle
CN115556726A (en) * 2022-12-01 2023-01-03 小米汽车科技有限公司 Braking efficiency degradation compensation method, device, vehicle and storage medium
CN116001794A (en) * 2023-02-27 2023-04-25 重庆长安汽车股份有限公司 Longitudinal motion control system for electrically driven vehicle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余志生: "汽车理论", vol. 6, 30 June 2022, 机械工业出版社, pages: 7 - 17 *

Similar Documents

Publication Publication Date Title
US12164297B2 (en) Systems and methods for dynamic predictive control of autonomous vehicles
US10545503B2 (en) Propulsion efficient autonomous driving strategy
JP6802222B2 (en) Peak efficiency recommendations and sharing
US11072329B2 (en) Ground vehicle control techniques
CN110673602B (en) Reinforced learning model, vehicle automatic driving decision method and vehicle-mounted equipment
US20190375394A1 (en) Ground Vehicle Control Techniques
US20250001873A1 (en) Method, vehicle and storage medium for vehicle acceleration slip regulating
CN115534966B (en) Vehicle drift control method and device, vehicle, storage medium and chip
US20180057004A1 (en) Method and apparatus for vehicle accessory and load management
US20230242111A1 (en) System and method for controlling vehicle energy consumption using segmented route optimization
CN116118730B (en) Control method, device, equipment and medium of predictive cruise system
JP2023545817A (en) Electromechanical braking method and electromechanical braking device
CN117445697B (en) Motor torque control method and device for vehicle, vehicle and medium
US20230406346A1 (en) Real time estimation of critical vehicle parameters in autonomous systems
CN117533319A (en) Vehicle longitudinal control method and device, vehicle and storage medium
CN116118412A (en) Vehicle control method, device, electronic equipment and storage medium
US20240391470A1 (en) Vehicle control method, vehicle and chip
CN115140061B (en) Adhesion coefficient determination method, apparatus and storage medium
US20230415777A1 (en) Wheel torque estimation for autonomous driving
JP7593251B2 (en) Driving control system, driving control device, driving control method, and driving control program
CN117068149A (en) Obstacle avoidance for vehicles
CN115782610A (en) Method, device and vehicle for determining target vehicle weight range
JP2023091460A (en) VEHICLE CONTROL DEVICE, VEHICLE CONTROL METHOD AND PROGRAM
CN115583240A (en) Following method, device, vehicle and medium
CN118529049A (en) Vehicle control method and device, storage medium and vehicle

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