[go: up one dir, main page]

CN118254875B - A kind of steering-by-wire system and steering control method thereof - Google Patents

A kind of steering-by-wire system and steering control method thereof Download PDF

Info

Publication number
CN118254875B
CN118254875B CN202410685888.0A CN202410685888A CN118254875B CN 118254875 B CN118254875 B CN 118254875B CN 202410685888 A CN202410685888 A CN 202410685888A CN 118254875 B CN118254875 B CN 118254875B
Authority
CN
China
Prior art keywords
steering angle
steering
real
time
detection device
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
CN202410685888.0A
Other languages
Chinese (zh)
Other versions
CN118254875A (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.)
Shenzhen Automotive Research Institute of Beijing University of Technology
Original Assignee
Shenzhen Automotive Research Institute of Beijing University of Technology
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 Shenzhen Automotive Research Institute of Beijing University of Technology filed Critical Shenzhen Automotive Research Institute of Beijing University of Technology
Priority to CN202410685888.0A priority Critical patent/CN118254875B/en
Publication of CN118254875A publication Critical patent/CN118254875A/en
Application granted granted Critical
Publication of CN118254875B publication Critical patent/CN118254875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D6/00Arrangements for automatically controlling steering depending on driving conditions sensed and responded to, e.g. control circuits
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0457Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
    • B62D5/0481Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such monitoring the steering system, e.g. failures

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)

Abstract

本发明涉及电动汽车技术领域,具体涉及一种线控转向系统及其转向控制方法。本申请的方案,将目标转向转角输出给主控制器和备用控制器,在车辆正常行驶时,主控制器根据该目标转向转角以及输出检测装置检测的实时转向转角对转向机构的转向进行闭环控制,当检测到输出检测装置出现故障时,主控制器停止转向闭环控制,由备用控制器根据目标转向转角模拟出转向机构的实时转向转角,然后通过目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制。本申请通过采用备用控制器进行转向闭环控制冗余,在主控制器的转向闭环出现故障时,通过备用控制器向转向机构提供安全保护,有效提高整个系统的安全性。

The present invention relates to the technical field of electric vehicles, and in particular to a wire-controlled steering system and a steering control method thereof. The solution of the present application outputs a target steering angle to a main controller and a backup controller. When the vehicle is driving normally, the main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device. When a fault in the output detection device is detected, the main controller stops the steering closed-loop control, and the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and then performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle. The present application uses a backup controller for steering closed-loop control redundancy. When the steering closed loop of the main controller fails, the backup controller provides safety protection to the steering mechanism, thereby effectively improving the safety of the entire system.

Description

一种线控转向系统及其转向控制方法A steer-by-wire system and a steering control method thereof

技术领域Technical Field

本发明涉及电动汽车技术领域,具体涉及一种线控转向系统及其转向控制方法。The present invention relates to the technical field of electric vehicles, and in particular to a wire-controlled steering system and a steering control method thereof.

背景技术Background technique

线控转向系统是线控底盘系统的主要分支产品,是智能驾驶汽车在底盘执行端的重要部件,线控转向系统主要是按车辆决策层的位置控制指令实现汽车转向角度的精确控制。由于智能驾驶系统的转向角度指令是实时变化的,在不同的路况下,转向执行器都必须能够快速、准确地按车辆的位置控制指令进行动作。The steer-by-wire system is a major branch product of the steer-by-wire chassis system and an important component of the chassis execution end of smart driving vehicles. The steer-by-wire system mainly realizes precise control of the vehicle's steering angle according to the position control instructions of the vehicle's decision-making layer. Since the steering angle instructions of the smart driving system change in real time, under different road conditions, the steering actuator must be able to act quickly and accurately according to the vehicle's position control instructions.

现有技术中,为了避免线控转向系统缺少和驾驶员控制之间的机械连接造成的安全性能缺失,所以一般会增加安全容错设计,从而能够提供备用转向功能,在系统层面保证该系统的安全性,在目前的相关技术中,一般是针对ECU(车辆控制系统)和电机进行安全冗余,而转向执行模块的输出检测装置由于安装环境恶劣和尺寸限制很难进行物理或其他形式上的冗余,因此,没有考虑到执行模块的反馈输入的安全性冗余。In the prior art, in order to avoid the loss of safety performance caused by the lack of mechanical connection between the wire-controlled steering system and the driver's control, a safety fault-tolerant design is generally added to provide a backup steering function to ensure the safety of the system at the system level. In the current related technology, safety redundancy is generally performed for the ECU (vehicle control system) and the motor, while the output detection device of the steering execution module is difficult to perform physical or other forms of redundancy due to the harsh installation environment and size limitations. Therefore, the safety redundancy of the feedback input of the execution module is not considered.

发明内容Summary of the invention

本申请实施例提供的一种线控转向系统及其转向控制方法,解决了现有线控转向系统无法对转向执行模块中的输出检测装置进行安全冗余的问题。A steer-by-wire system and a steering control method thereof provided in an embodiment of the present application solve the problem that the existing steer-by-wire system cannot provide safety redundancy for the output detection device in the steering execution module.

根据第一方面,一种实施例中提供一种线控转向系统的转向控制方法,所述线控转向系统包括转向盘模块,主控制器,备用控制器和输出检测装置,所述输出检测装置用于检测转向机构的实时转向转角,所述转向控制方法包括:According to a first aspect, an embodiment provides a steering control method of a steer-by-wire system, the steer-by-wire system comprising a steering wheel module, a main controller, a backup controller and an output detection device, the output detection device being used to detect a real-time steering angle of a steering mechanism, the steering control method comprising:

所述转向盘模块接收用户发出的转向指令,根据所述转向指令得到目标转向转角并输出给所述主控制器和备用控制器;The steering wheel module receives a steering instruction issued by a user, obtains a target steering angle according to the steering instruction, and outputs the target steering angle to the main controller and the standby controller;

所述主控制器根据所述目标转向转角以及所述输出检测装置检测的实时转向转角对转向机构的转向进行闭环控制;The main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device;

检测所述输出检测装置是否出现故障;Detecting whether the output detection device fails;

在所述输出检测装置出现故障时,所述主控制器停止对转向机构的转向闭环控制,并由所述备用控制器根据所述目标转向转角模拟出转向机构的实时转向转角,根据所述目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制;或者,When the output detection device fails, the main controller stops the steering closed-loop control of the steering mechanism, and the standby controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle; or,

在所述输出检测装置出现故障时,所述备用控制器根据所述目标转向转角模拟出转向机构的实时转向转角,所述主控制器改为根据所述目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制。When the output detection device fails, the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and the main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle.

在一种能够实现的实施方式中,所述备用控制器根据所述目标转向转角模拟出转向机构的实时转向转角,包括:In an achievable implementation, the standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, including:

所述备用控制器将所述目标转向转角输入到预设的转向机构的系统模型中,得到所述系统模型输出的模拟的实时转向转角;其中,所述系统模型包含有:反映目标转向转角与模拟的实时转向转角之间函数关系的函数关系式。The backup controller inputs the target steering angle into a preset system model of the steering mechanism to obtain a simulated real-time steering angle output by the system model; wherein the system model includes: a functional relationship reflecting the functional relationship between the target steering angle and the simulated real-time steering angle.

在一种能够实现的实施方式中,所述函数关系式具有关键参数矩阵,所述关键参数矩阵影响目标转向转角与模拟的实时转向转角之间的函数关系;所述方法还包括:In an achievable implementation, the functional relationship has a key parameter matrix, and the key parameter matrix affects the functional relationship between the target steering angle and the simulated real-time steering angle; the method further includes:

获取所述输出检测装置反馈的实时转向转角;Obtaining the real-time steering angle fed back by the output detection device;

判断所述模拟的实时转向转角与所述实时转向转角之间的差值是否超过预设阈值,若是,则根据所述差值的大小和方向调节所述关键参数矩阵,使下一循环指令中采用调节后的关键参数矩阵对所述系统模型进行调节,直至所述差值不超过所述预设阈值;否则,在下一循环指令中继续采用当前的所述关键参数矩阵对所述系统模型进行调节。Determine whether the difference between the simulated real-time steering angle and the real-time steering angle exceeds a preset threshold value. If so, adjust the key parameter matrix according to the size and direction of the difference, so that the adjusted key parameter matrix is used in the next loop instruction to adjust the system model until the difference does not exceed the preset threshold value; otherwise, continue to use the current key parameter matrix to adjust the system model in the next loop instruction.

在一种能够实现的实施方式中,初始的关键参数矩阵通过如下方式得到:In one practicable implementation, the initial key parameter matrix is obtained in the following manner:

外部推力装置根据多个不同的目标转向角度,依次推动所述转向机构转向;所述输出检测装置检测不同目标转向角度下所述转向机构的实时转向转角;The external thrust device sequentially pushes the steering mechanism to steer according to a plurality of different target steering angles; the output detection device detects the real-time steering angle of the steering mechanism at different target steering angles;

对各个目标转向角度以及对应检测的实时转向转角进行曲线拟合,得到关键参数矩阵。Curve fitting is performed on each target steering angle and the corresponding detected real-time steering angle to obtain a key parameter matrix.

在一种能够实现的实施方式中,所述对各个目标转向角度以及对应检测的实时转向转角进行曲线拟合的拟合公式表示为:In an achievable implementation, the fitting formula for performing curve fitting on each target steering angle and the corresponding detected real-time steering angle is expressed as:

;

式中,表示关键参数矩阵,表示第i个目标转向角度对应的权重,i表示第i个目标转向角度,n表示设置的目标转向角度的个数,表示车辆转角的实际输出值,表示系统模型仿真输出值。In the formula, represents the key parameter matrix, represents the weight corresponding to the i -th target steering angle, i represents the i -th target steering angle, n represents the number of set target steering angles, Indicates the actual output value of the vehicle turning angle, Represents the system model simulation output value.

在一种能够实现的实施方式中,不同车速的情况下对应设置有调节系数,所述判断所述模拟的实时转向转角与所述实时转向转角之间的差值是否超过预设阈值之前,还包括:In an achievable implementation, an adjustment coefficient is correspondingly set for different vehicle speeds, and before determining whether the difference between the simulated real-time steering angle and the real-time steering angle exceeds a preset threshold, the method further includes:

根据车辆当前的车速确定对应的调节系数;Determine the corresponding adjustment coefficient according to the current speed of the vehicle;

根据所述调节系数对所述关键参数矩阵进行调节。The key parameter matrix is adjusted according to the adjustment coefficient.

在一种能够实现的实施方式中,所述根据所述差值的大小和方向调节所述关键参数矩阵,包括:In an achievable implementation, adjusting the key parameter matrix according to the size and direction of the difference includes:

当下一循环指令中所述差值大于前一循环指令中的差值时,根据所述差值增大的比例调节所述关键参数矩阵,以使所述模拟的实时转向转角向所述实时转向转角靠近的调节幅度增大;When the difference in the next cycle instruction is greater than the difference in the previous cycle instruction, adjusting the key parameter matrix according to the ratio of the increase of the difference, so that the adjustment amplitude of the simulated real-time steering angle approaching the real-time steering angle increases;

当下一循环指令中所述差值小于前一循环指令中的差值时,根据所述差值减小的比例调节所述关键参数矩阵,以使所述模拟的实时转向转角向所述实时转向转角靠近的调节幅度减小。When the difference in the next cycle instruction is less than the difference in the previous cycle instruction, the key parameter matrix is adjusted according to the ratio of the difference reduction, so that the adjustment amplitude of the simulated real-time steering angle approaching the real-time steering angle is reduced.

在一种能够实现的实施方式中,所述根据所述差值的大小和方向调节所述关键参数矩阵之后,还包括:In an achievable implementation manner, after adjusting the key parameter matrix according to the size and direction of the difference, the method further includes:

将调节后的所述关键参数矩阵写入只读存储器中,并使调节后的所述关键参数矩阵覆盖上一次写入的关键参数矩阵。The adjusted key parameter matrix is written into a read-only memory, and the adjusted key parameter matrix overwrites the key parameter matrix written last time.

在一种能够实现的实施方式中,所述检测所述输出检测装置是否出现故障,包括:In an achievable implementation manner, the detecting whether the output detection device fails includes:

获取所述实时转向转角的范围和有效性,根据所述实时转向转角的范围和有效性判断所述输出检测装置是否出现故障。The range and validity of the real-time steering angle are obtained, and whether the output detection device fails is determined based on the range and validity of the real-time steering angle.

在一种能够实现的实施方式中,检测所述输出检测装置未出现故障,还包括:In an achievable implementation, detecting that the output detection device has no faults further includes:

将所述输出检测装置输出的实时转向转角信号实时发送至所述备用控制器;Sending the real-time steering angle signal output by the output detection device to the standby controller in real time;

将所述实时转向转角信号与所述模拟的实时转向转角做校对,得到校对结果;Proofreading the real-time steering angle signal with the simulated real-time steering angle to obtain a proofreading result;

根据所述校对结果实时调控所述关键参数矩阵。The key parameter matrix is adjusted in real time according to the proofreading result.

根据第二方面,一种实施例中提供一种线控转向系统,包括转向盘模块,主控制器,备用控制器和输出检测装置,所述输出检测装置用于检测转向机构的实时转向转角;According to a second aspect, an embodiment provides a steer-by-wire system, comprising a steering wheel module, a main controller, a backup controller and an output detection device, wherein the output detection device is used to detect a real-time steering angle of a steering mechanism;

所述转向盘模块接收用户发出的转向指令,根据所述转向指令得到目标转向转角并输出给所述主控制器和备用控制器;The steering wheel module receives a steering instruction issued by a user, obtains a target steering angle according to the steering instruction, and outputs the target steering angle to the main controller and the standby controller;

所述主控制器根据所述目标转向转角以及所述输出检测装置检测的实时转向转角对转向机构的转向进行闭环控制;The main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device;

所述线控转向系统还包括:The steer-by-wire system further comprises:

检测模块,用于检测所述输出检测装置是否出现故障;A detection module, used to detect whether the output detection device fails;

在所述输出检测装置出现故障时,所述主控制器停止对转向机构的转向闭环控制,并由所述备用控制器根据所述目标转向转角模拟出转向机构的实时转向转角,根据所述目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制;或者,When the output detection device fails, the main controller stops the steering closed-loop control of the steering mechanism, and the standby controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle; or,

在所述输出检测装置出现故障时,所述备用控制器根据所述目标转向转角模拟出转向机构的实时转向转角,所述主控制器改为根据所述目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制。When the output detection device fails, the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and the main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle.

根据第三方面,一种计算机可读存储介质,所述介质上存储有程序,所述程序能够被处理器执行以实现如上所述的线控转向系统的转向控制方法。According to a third aspect, a computer-readable storage medium is provided, wherein a program is stored on the medium, and wherein the program can be executed by a processor to implement the steering control method of the steer-by-wire system as described above.

据上述实施例的线控转向系统及其转向控制方法,将接收的转向指令转换为目标转向转角后输出给主控制器和备用控制器,在车辆正常行驶时,主控制器根据该目标转向转角以及输出检测装置检测的实时转向转角对转向机构的转向进行闭环控制,当检测到输出检测装置出现故障时,主控制器停止转向闭环控制,并由备用控制器根据目标转向转角模拟出转向机构的实时转向转角,然后通过目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制。通过本申请的上述方案,采用备用控制器进行转向闭环控制冗余,在主控制器的转向闭环出现故障时,通过备用控制器向转向机构提供安全保护,在不增加该输出检测装置任何成本和尺寸的情况下,仍能有效提高整个系统的安全性。According to the above-mentioned embodiment of the steer-by-wire system and its steering control method, the received steering command is converted into a target steering angle and then output to the main controller and the backup controller. When the vehicle is driving normally, the main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device. When a fault in the output detection device is detected, the main controller stops the steering closed-loop control, and the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and then performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle. Through the above-mentioned scheme of the present application, a backup controller is used for steering closed-loop control redundancy. When the steering closed loop of the main controller fails, the backup controller provides safety protection for the steering mechanism. Without increasing any cost and size of the output detection device, the safety of the entire system can still be effectively improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本实施例的线控转向系统的转向控制方法的流程图一;FIG1 is a flow chart of a steering control method of a steer-by-wire system according to the present embodiment;

图2为本实施例的线控转向系统的转向控制方法的流程图二;FIG2 is a second flow chart of the steering control method of the steer-by-wire system of the present embodiment;

图3为本实施例的线控转向系统的转向控制方法的流程图三;FIG3 is a third flow chart of the steering control method of the steer-by-wire system of the present embodiment;

图4为本实施例的输出检测装置未出现故障时的流程图;FIG4 is a flow chart of the output detection device of this embodiment when no failure occurs;

图5为本实施例的线控转向系统的结构框图;FIG5 is a structural block diagram of the steer-by-wire system of this embodiment;

图6为本实施例的线控转向系统的原理框图一;FIG6 is a first schematic diagram of a steer-by-wire system according to the present embodiment;

图7为本实施例的线控转向系统的原理框图二。FIG. 7 is a second principle block diagram of the steer-by-wire system of this embodiment.

附图标记:10、转向盘模块;20、主控制器;30、备用控制器;40、控制执行模块;50、输出检测装置;60、检测模块。Figure numerals: 10, steering wheel module; 20, main controller; 30, backup controller; 40, control execution module; 50, output detection device; 60, detection module.

具体实施方式Detailed ways

下面通过具体实施方式结合附图对本发明作进一步详细说明。其中不同实施方式中类似元件采用了相关联的类似的元件标号。在以下的实施方式中,很多细节描述是为了使得本申请能被更好的理解。然而,本领域技术人员可以毫不费力的认识到,其中部分特征在不同情况下是可以省略的,或者可以由其他元件、材料、方法所替代。在某些情况下,本申请相关的一些操作并没有在说明书中显示或者描述,这是为了避免本申请的核心部分被过多的描述所淹没,而对于本领域技术人员而言,详细描述这些相关操作并不是必要的,他们根据说明书中的描述以及本领域的一般技术知识即可完整了解相关操作。The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

另外,说明书中所描述的特点、操作或者特征可以以任意适当的方式结合形成各种实施方式。同时,方法描述中的各步骤或者动作也可以按照本领域技术人员所能显而易见的方式进行顺序调换或调整。因此,说明书和附图中的各种顺序只是为了清楚描述某一个实施例,并不意味着是必须的顺序,除非另有说明其中某个顺序是必须遵循的。In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

本文中为部件所编序号本身,例如“第一”、“第二”等,仅用于区分所描述的对象,不具有任何顺序或技术含义。而本申请所说“连接”、“联接”,如无特别说明,均包括直接和间接连接(联接)。The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).

对于现有的线控转向系统,由于转向盘端和转向执行端没有机械连接,等于转向盘端提供转向指令,转向执行端执行指令并提供执行效果的反馈,但是转向执行端本身并没有检测输出反馈的装置,于是需要增加转向执行端的输出检测来保证执行效果的反馈是正确的。目前线控转向系统为了保障取消机械后的控制安全以及智能驾驶对于线控转向系统的功能安全要求,会对系统的冗余性提出很高的要求,而现有的系统冗余方式一般集中在电机、控制器或者转向盘模块的转角扭矩传感器,而转向执行模块的输出检测装置由于安装环境恶劣和尺寸限制很难进行物理或其他形式上的冗余。而本申请在不增加其他其它设备的基础上,通过提供一种线控转向系统的备份控制算法来实现输出检测装置故障后,转向执行模块仍能够完成的转向闭环控制。For the existing wire-controlled steering system, since there is no mechanical connection between the steering wheel end and the steering execution end, it is equivalent to the steering wheel end providing the steering command, and the steering execution end executing the command and providing feedback on the execution effect. However, the steering execution end itself does not have a device for detecting output feedback, so it is necessary to increase the output detection of the steering execution end to ensure that the feedback on the execution effect is correct. At present, in order to ensure the control safety after the cancellation of the mechanical and the functional safety requirements of the wire-controlled steering system for intelligent driving, the wire-controlled steering system will put forward very high requirements on the redundancy of the system. The existing system redundancy methods are generally concentrated on the motor, controller or steering wheel module's angle torque sensor, and the output detection device of the steering execution module is difficult to be physically or other forms of redundancy due to the harsh installation environment and size limitations. On the basis of not adding other equipment, the present application provides a backup control algorithm for the wire-controlled steering system to achieve the steering closed-loop control that the steering execution module can still complete after the output detection device fails.

如图1所示,本实施例提供的一种线控转向系统的转向控制方法,线控转向系统包括转向盘模块、主控制器、备用控制器和输出检测装置,输出检测装置用于检测转向机构的实时转向转角。具体的,主控制器和备用控制器均属于转向执行模块,在输出检测装置正常的情况下,主控制器用于执行主控制算法,并以控制信号的形式输出给转向执行电机,来控制转向执行电机以实现转向,同时,输出检测装置用来检测转向机构(如转向执行电机,或者受电机驱动的车辆的转向机械结构)的实时转向转角,并将检测结果反馈至主控制器,主控制器在根据反馈结果对控制信号进行调整,然后将调整后的控制信号发送给转向执行电机,实现对转向的校准,以实现转向闭环控制。其中,转向机构的实时转向转角可以是转向机械结构的角度,也可以是电机的转角。As shown in FIG1 , the present embodiment provides a steering control method for a wire-controlled steering system, wherein the wire-controlled steering system includes a steering wheel module, a main controller, a backup controller, and an output detection device, wherein the output detection device is used to detect the real-time steering angle of the steering mechanism. Specifically, both the main controller and the backup controller belong to the steering execution module. When the output detection device is normal, the main controller is used to execute the main control algorithm and output it to the steering execution motor in the form of a control signal to control the steering execution motor to achieve steering. At the same time, the output detection device is used to detect the real-time steering angle of the steering mechanism (such as the steering execution motor, or the steering mechanical structure of the vehicle driven by the motor), and feed back the detection result to the main controller. The main controller adjusts the control signal according to the feedback result, and then sends the adjusted control signal to the steering execution motor to achieve steering calibration, so as to achieve steering closed-loop control. Among them, the real-time steering angle of the steering mechanism can be the angle of the steering mechanical structure or the angle of the motor.

具体的,转向控制方法包括如下步骤:Specifically, the steering control method includes the following steps:

步骤100:转向盘模块接收用户发出的转向指令,根据转向指令得到目标转向转角并输出给主控制器和备用控制器。Step 100: The steering wheel module receives a steering instruction issued by a user, obtains a target steering angle according to the steering instruction, and outputs the target steering angle to the main controller and the backup controller.

首先,转向盘模块在接收到用户给出的转向指令后,对该转向指令进行简单的处理,并以目标转向转角进行输出,将目标转向转角分别输出给主控制器和备用控制器。First, after receiving the steering instruction given by the user, the steering wheel module simply processes the steering instruction and outputs it as a target steering angle, and outputs the target steering angle to the main controller and the backup controller respectively.

步骤200:主控制器根据目标转向转角以及输出检测装置检测的实时转向转角对转向机构的转向进行闭环控制。Step 200: The main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device.

然后,主控制器执行主控制算法,根据该目标转向转角对转向执行电机进行转向控制,同时,输出检测装置将检测的实时转向转角反馈给主控制器,实现对转向机构转向的闭环控制。Then, the main controller executes the main control algorithm and controls the steering actuator motor according to the target steering angle. At the same time, the output detection device feeds back the detected real-time steering angle to the main controller to achieve closed-loop control of the steering mechanism.

步骤300:检测输出检测装置是否出现故障。Step 300: Detect whether the output detection device fails.

与此同时,通过检测模块对输出检测装置进行检测,具体的,检测模块通过对输出检测装置输出的传感器信号进行检测,其中,输出检测装置可以是齿轮转角传感器、齿条位置传感器或者力矩传感器,根据不同的转向机械结构设置对应的输出检测装置。当输出检测装置为齿轮转角传感器时,检测模块检测齿轮转角信号;当输出检测装置为齿条位置传感器时,检测模块检测齿条位移信号;当输出检测装置为力矩传感器时,检测模块检测力矩信号。具体根据实时转向转角的范围和有效性判断输出检测装置是否出现故障,也即通过检测输出检测装置输出的信号的范围和有效性来判断输出检测装置是否出现故障。例如,正常情况下,输出信号默认为0,在判断输出检测装置输出信号为1时,则确定输出检测装置出现故障,那么就决定启用备用控制方法。At the same time, the output detection device is detected by the detection module. Specifically, the detection module detects the sensor signal output by the output detection device, wherein the output detection device can be a gear angle sensor, a rack position sensor or a torque sensor, and the corresponding output detection device is set according to different steering mechanical structures. When the output detection device is a gear angle sensor, the detection module detects the gear angle signal; when the output detection device is a rack position sensor, the detection module detects the rack displacement signal; when the output detection device is a torque sensor, the detection module detects the torque signal. Specifically, it is judged whether the output detection device is faulty according to the range and validity of the real-time steering angle, that is, it is judged whether the output detection device is faulty by detecting the range and validity of the signal output by the output detection device. For example, under normal circumstances, the output signal defaults to 0. When it is judged that the output signal of the output detection device is 1, it is determined that the output detection device is faulty, and then it is decided to enable the backup control method.

步骤400:在输出检测装置出现故障时,主控制器停止对转向机构的转向闭环控制,并由备用控制器根据目标转向转角模拟出转向机构的实时转向转角,根据目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制。Step 400: When the output detection device fails, the main controller stops the closed-loop control of the steering mechanism, and the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and performs closed-loop control of the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle.

当检测到输出检测装置出现故障时,主控制器停止对转向机构的转向闭环控制。此时,采用备用控制器执行备用控制算法,该备份控制算法通过对整个转向执行模块进行建模,通过前期标定测试反向推导得到的关键参数矩阵来保障模型的准确性和稳定性,并基于该模型的实时仿真输出进行线控转向系统转向执行模块的无传感器闭环控制。具体的,结合图6,备用控制器中,输出检测闭环控制模块接收到目标转向转角信号后,通过系统模型进行仿真后得到模拟输出信号(模拟的实时转向转角),然后将该模拟输出信号反馈至输出检测闭环控制模块,输出检测闭环控制模块根据目标转向转角对反馈的信号进行调整,以形成备用控制指令,并将该备用控制指令发送给主控制器,主控制器根据该备用控制指令控制转向机构(也即控制执行模块)进行转向,以此实现转向闭环控制。When a fault is detected in the output detection device, the main controller stops the steering closed-loop control of the steering mechanism. At this time, the backup controller is used to execute the backup control algorithm. The backup control algorithm models the entire steering execution module, and the key parameter matrix obtained by reverse deduction through the previous calibration test is used to ensure the accuracy and stability of the model, and the sensorless closed-loop control of the steering execution module of the wire control steering system is performed based on the real-time simulation output of the model. Specifically, in conjunction with Figure 6, in the backup controller, after the output detection closed-loop control module receives the target steering angle signal, it simulates the system model to obtain a simulated output signal (simulated real-time steering angle), and then feeds the simulated output signal back to the output detection closed-loop control module. The output detection closed-loop control module adjusts the feedback signal according to the target steering angle to form a backup control instruction, and sends the backup control instruction to the main controller. The main controller controls the steering mechanism (that is, the control execution module) to steer according to the backup control instruction, thereby realizing the steering closed-loop control.

需说明,本实施例中的输出检测闭环控制模块与正常状态下主控制器的功能一致,都能够用于接收汽车转角的控制指令,并基于反馈的输出进行实时闭环控制。区别在于备用控制器中的软件模块接收的是通过系统模型仿真得到模拟输出信号,而主控制器中是直接接收正常状态下的输出检测装置的真实输出信号。It should be noted that the output detection closed-loop control module in this embodiment has the same function as the main controller in the normal state, and both can be used to receive the control instruction of the vehicle turning angle and perform real-time closed-loop control based on the feedback output. The difference is that the software module in the standby controller receives the simulated output signal obtained by system model simulation, while the main controller directly receives the real output signal of the output detection device in the normal state.

作为本实施例的进一步改进,参考图2,在步骤300之后,检测到输出检测装置出现故障时,步骤400也可以替换为步骤500:备用控制器根据目标转向转角模拟出转向机构的实时转向转角,主控制器改为根据目标转向转角以及模拟的实时转向转角对转向机构的转向进行闭环控制。As a further improvement of this embodiment, referring to Figure 2, after step 300, when a fault is detected in the output detection device, step 400 can also be replaced by step 500: the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, and the main controller performs closed-loop control of the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle.

具体的,备用控制器接收到目标转向转角后,系统模型进行仿真后得到模拟输出信号(模拟的实时转向转角),然后将该模拟输出信号反馈至主控制器,主控制器根据该反馈结果对控制信号进行调整,然后将调整后的控制信号发送给转向执行电机,以实现转向闭环控制。Specifically, after the backup controller receives the target steering angle, the system model is simulated to obtain a simulated output signal (simulated real-time steering angle), and then the simulated output signal is fed back to the main controller. The main controller adjusts the control signal according to the feedback result, and then sends the adjusted control signal to the steering actuator motor to achieve steering closed-loop control.

通过采用本申请实施例的转向控制方法,采用备用控制器进行转向闭环控制冗余,在主控制器的转向闭环出现故障时,通过备用控制器向转向机构提供安全保护,在不增加该输出检测装置任何成本和尺寸的情况下,仍能有效提高整个系统的安全性。By adopting the steering control method of the embodiment of the present application, a backup controller is used for steering closed-loop control redundancy. When a steering closed loop of the main controller fails, the backup controller is used to provide safety protection for the steering mechanism. Without increasing any cost and size of the output detection device, the safety of the entire system can still be effectively improved.

本实施例中,备用控制器根据目标转向转角模拟出转向机构的实时转向转角,具体包括:备用控制器将目标转向转角输入到预设的转向机构的系统模型中,得到系统模型输出的模拟的实时转向转角;其中,系统模型包含有:反映目标转向转角与模拟的实时转向转角之间函数关系的函数关系式。In this embodiment, the backup controller simulates the real-time steering angle of the steering mechanism according to the target steering angle, specifically including: the backup controller inputs the target steering angle into a preset system model of the steering mechanism, and obtains the simulated real-time steering angle output by the system model; wherein the system model includes: a functional relationship reflecting the functional relationship between the target steering angle and the simulated real-time steering angle.

实际应用当中,在投入使用前会预先对电机以及机械结构(减速机构)进行分析并建立转向执行模块对应的基础的系统模型,该系统模型用于表达车辆转角与电机输出转角之间的函数关系式。在投入使用后,将目标转向转角输入到该系统模型中,会输出模拟的实时转向转角(即车辆转角)。In actual application, the motor and mechanical structure (reduction mechanism) will be analyzed in advance before being put into use, and the basic system model corresponding to the steering execution module will be established. The system model is used to express the functional relationship between the vehicle angle and the motor output angle. After being put into use, the target steering angle is input into the system model, and the simulated real-time steering angle (i.e., vehicle angle) will be output.

作为本实施例的进一步改进,具体的,函数关系式具有关键参数矩阵,关键参数矩阵影响目标转向转角与模拟的实时转向转角之间的函数关系。本实施例中,通过关键参数矩阵[K n ]来调节系统模型的输出,以使模拟的输出结果(模拟的实时转向转角)能尽量接近真实结果(目标转向转角),来实现输出的闭环控制。As a further improvement of this embodiment, specifically, the functional relationship has a key parameter matrix, and the key parameter matrix affects the functional relationship between the target steering angle and the simulated real-time steering angle. In this embodiment, the output of the system model is adjusted by the key parameter matrix [ Kn ] so that the simulated output result (simulated real-time steering angle) can be as close as possible to the real result (target steering angle), so as to achieve closed-loop control of the output.

如图3所示,转向控制方法还包括如下步骤:As shown in FIG3 , the steering control method further includes the following steps:

步骤600:获取输出检测装置反馈的实时转向转角。Step 600: Obtain the real-time steering angle fed back by the output detection device.

步骤700:判断模拟的实时转向转角与输出检测装置反馈的实时转向转角之间的差值是否超过预设阈值,若是,则执行步骤800:根据差值的大小和方向调节关键参数矩阵,使下一循环指令中采用调节后的关键参数矩阵对系统模型进行调节,直至差值不超过预设阈值;否则,执行步骤900:在下一循环指令中继续采用当前的关键参数矩阵对系统模型进行调节。Step 700: Determine whether the difference between the simulated real-time steering angle and the real-time steering angle fed back by the output detection device exceeds a preset threshold value. If so, execute step 800: adjust the key parameter matrix according to the size and direction of the difference, so that the adjusted key parameter matrix is used in the next loop instruction to adjust the system model until the difference does not exceed the preset threshold value; otherwise, execute step 900: continue to use the current key parameter matrix to adjust the system model in the next loop instruction.

本实施例在实际应用当中,关键参数矩阵是需要进行调整的。具体的,通过将备用控制器输出的模拟的实时转向转角与输出检测装置反馈的实时转向转角进行比较,判断模拟的实时转向转角与实时转向转角之间的误差是否超过预设阈值,当误差超过预设阈值时,根据误差的数值大小和方向在下一循环指令中调节关键参数矩阵[K n ],并在下一循环指令中使用调节后的关键参数矩阵对系统模型进行调节,直至误差保证在预设阈值之内。当误差未超过预设阈值时,则认为误差可控,也即仿真有效,那么在下一循环指令中继续采用当前的关键参数矩阵对系统模型进行调节。In the actual application of this embodiment, the key parameter matrix needs to be adjusted. Specifically, by comparing the simulated real-time steering angle output by the standby controller with the real-time steering angle fed back by the output detection device, it is determined whether the error between the simulated real-time steering angle and the real-time steering angle exceeds the preset threshold. When the error exceeds the preset threshold, the key parameter matrix [ Kn ] is adjusted in the next loop instruction according to the numerical value and direction of the error, and the adjusted key parameter matrix is used in the next loop instruction to adjust the system model until the error is guaranteed to be within the preset threshold. When the error does not exceed the preset threshold, it is considered that the error is controllable, that is, the simulation is effective, then the current key parameter matrix is continued to be used to adjust the system model in the next loop instruction.

在使用时,系统模型中会有一个初始的关键参数矩阵,而具体的,初始的关键参数矩阵通过如下方式得到:When in use, there will be an initial key parameter matrix in the system model, and specifically, the initial key parameter matrix is obtained in the following way:

外部推力装置根据多个不同的目标转向角度,依次推动转向机构转向;输出检测装置检测不同目标转向角度下转向机构的实时转向转角。然后,对各个目标转向角度以及对应检测的实时转向转角进行曲线拟合,得到关键参数矩阵。The external thrust device pushes the steering mechanism to turn according to multiple different target steering angles; the output detection device detects the real-time steering angle of the steering mechanism under different target steering angles. Then, curve fitting is performed on each target steering angle and the corresponding detected real-time steering angle to obtain the key parameter matrix.

转向执行模块有不同的机械结构和对应的输出检测装置类型,关键参数矩阵[K n ]初始值通过转向执行模块在台架结构上进行标定获得,测量不同转向指令下的真实转向输出,得到输出曲线,将输出曲线和对应系统模型的仿真输出做曲线拟合来得到[K n ]。The steering execution module has different mechanical structures and corresponding output detection device types. The initial value of the key parameter matrix [ Kn ] is obtained by calibrating the steering execution module on the test bench structure. The actual steering output under different steering commands is measured to obtain the output curve. The output curve is then fitted with the simulation output of the corresponding system model to obtain [ Kn ] .

具体的,对各个目标转向角度以及对应检测的实时转向转角进行曲线拟合的拟合公式表示为:Specifically, the fitting formula for curve fitting of each target steering angle and the corresponding detected real-time steering angle is expressed as:

;

式中,表示关键参数矩阵,表示第i个目标转向角度对应的权重,i表示第i个目标转向角度,n表示设置的目标转向角度的个数,表示车辆转角的实际输出值,表示系统模型仿真输出值。In the formula, represents the key parameter matrix, represents the weight corresponding to the i -th target steering angle, i represents the i -th target steering angle, n represents the number of set target steering angles, Indicates the actual output value of the vehicle turning angle, Represents the system model simulation output value.

本实施例以转向执行模块的机械机构为齿轮齿条机械结构为例进行说明,则输出检测装置的检测类型为齿条位移。通过齿条位移来表征目标转向角度。This embodiment is described by taking the mechanical mechanism of the steering execution module as a gear rack mechanical structure as an example, and the detection type of the output detection device is rack displacement. The target steering angle is characterized by the rack displacement.

将对应系统模型的转向执行模块放置在专用台架上,通过外置推力装置在不使用电机的情况下,设定齿条全行程X,将X等分若干段(本实施例等分8段),按照±[0、1/8X、2/8X、3/8X、4/8X、5/8X、6/8X、7/8X、X]的测试顺序依次测量并记录真实输出的齿条位移yr,并且,根据车辆前轮转角和转向执行模块的输出齿轮转角的机械对应公式,得到按照±[0、1/8X、2/8X、3/8X、4/8X、5/8X、6/8X、7/8X、X]下的仿真齿条位移输出数据y i The steering execution module of the corresponding system model is placed on a special test bench. The full stroke X of the rack is set by an external thrust device without using a motor. X is divided into several sections (8 sections in this embodiment). The real output rack displacement y r is measured and recorded in sequence according to the test sequence of ±[0, 1/8X, 2/8X, 3/8X, 4/8X, 5/8X, 6/8X, 7/8X, X]. In addition, according to the mechanical corresponding formula between the vehicle front wheel angle and the output gear angle of the steering execution module, the simulated rack displacement output data y i under ±[0, 1/8X, 2/8X, 3/8X, 4/8X, 5/8X, 6/8X, 7/8X, X] is obtained.

其中,W i (n)是基于该目标转向角度对应的数据点的精度要求,主要是对靠近居中位置8个数据点的权重分配高一点,因为在居中位置的控制精度要求会高一些。设置局部加权的方式是因为基于关键参数的系统模型在输出时也不一定能接近真实输出,所以需要在电机转角的辅助下进行对[K n ]实时调控,确保系统模型输出和真实的输出累计误差的调控在可接受范围内。更具体的,W i (n)根据齿条行程点的位置远近进行设置,如初始设置为[0.5、0.5、0.6、0.6、0.8、0.8、0.8、1、0.8、0.8、0.8、0.6、0.6、0.5、0.5],根据前两步测试的输出的齿条位移y r 、仿真齿条位移输出数据y i 以及对应的权重W i n)计算得到初始关键参数矩阵[K n ]。Among them, Wi ( n ) is based on the accuracy requirements of the data points corresponding to the target steering angle, mainly to assign a higher weight to the 8 data points close to the center position, because the control accuracy requirements at the center position will be higher. The local weighting method is set because the system model based on the key parameters may not be close to the actual output when outputting, so it is necessary to control [ Kn ] in real time with the assistance of the motor angle to ensure that the control of the cumulative error between the system model output and the actual output is within an acceptable range. More specifically, Wi ( n ) is set according to the distance of the rack travel point, such as the initial setting of [ 0.5 , 0.5, 0.6, 0.6, 0.8, 0.8, 0.8, 1, 0.8, 0.8, 0.8, 0.6, 0.6, 0.5, 0.5]. The initial key parameter matrix [Kn] is calculated based on the rack displacement yr output of the first two steps, the simulated rack displacement output data yi and the corresponding weight Wi ( n ) .

得到[K n ]即可得到本申请的系统模型的对应函数公式:By obtaining [ Kn ] , we can get the corresponding function formula of the system model of this application:

;

式中,为车辆转角,为电机转向转角,为不同机械结构的转向执行器的最终输出(也即车辆转角/电机转向转角的函数关系式)。In the formula, is the vehicle turning angle, is the motor steering angle, is the final output of steering actuators with different mechanical structures (i.e., the functional relationship between vehicle steering angle and motor steering angle).

其中,电机转向转角通过测量能够直接得到,然后,分别将电机转向转角、关键参数矩阵以及机械结构的转向执行器的最终输出代入上式中即可得到车辆转角(即模拟的实时转向转角)。Among them, the motor steering angle can be directly obtained through measurement, and then the motor steering angle, the key parameter matrix and the final output of the steering actuator of the mechanical structure are respectively substituted into the above formula to obtain the vehicle angle (i.e., the simulated real-time steering angle).

作为本实施例的进一步改进,不同车速的情况下对应设置有调节系数,判断模拟的实时转向转角与输出检测装置反馈的实时转向转角之间的差值是否超过预设阈值之前,还包括:根据车辆当前的车速确定对应的调节系数;然后,根据调节系数对关键参数矩阵进行调节。As a further improvement of this embodiment, an adjustment coefficient is set correspondingly under different vehicle speeds. Before judging whether the difference between the simulated real-time steering angle and the real-time steering angle fed back by the output detection device exceeds a preset threshold, it also includes: determining the corresponding adjustment coefficient according to the current speed of the vehicle; and then adjusting the key parameter matrix according to the adjustment coefficient.

具体的,在实际应用当中,关键参数矩阵[K n ]还受车速的影响,不同的车速下会有调节系数α(其中α为参数名,表示增益系数),从而在不同的车速下变向得到不同的关键参数矩阵[K n ]。因此,在控制时需要动态变化所以在实际执行时会变为αK n 。具体的,α=1+K 0*Vehspd,其中,K 0为调节参数,该调节参数可根据驾驶员的需求进行实时调节大小;Vehspd表示车速信号,单位是Km/h公里每小时。Specifically, in actual applications, the key parameter matrix [ Kn ] is also affected by the vehicle speed. There will be an adjustment coefficient α (where α is the parameter name, indicating the gain coefficient) at different vehicle speeds, so that different key parameter matrices [ Kn ] are obtained at different vehicle speeds. Therefore, dynamic changes are required during control , so it will become αKn during actual execution. Specifically, α =1+ K0 *Vehspd, where K0 is an adjustment parameter, which can be adjusted in real time according to the driver's needs; Vehspd represents the vehicle speed signal, and the unit is Km/h kilometers per hour.

因此,进一步的,在上述系统模型的对应函数公式的基础上,增加基于转向执模块转速影响的关键参数矩阵[K n ]后的对应函数公式变为:Therefore, further, based on the corresponding function formula of the above system model, the corresponding function formula after adding the key parameter matrix [ Kn ] based on the influence of the steering module speed becomes:

.

本实施例中,对于关键参数矩阵的调整,即根据差值的大小和方向调节关键参数矩阵,具体包括:In this embodiment, the adjustment of the key parameter matrix, that is, adjusting the key parameter matrix according to the size and direction of the difference, specifically includes:

当下一循环指令中差值大于前一循环指令中的差值时,根据差值增大的比例调节关键参数矩阵,以使模拟的实时转向转角向实时转向转角靠近的调节幅度增大。When the difference in the next cycle instruction is greater than the difference in the previous cycle instruction, the key parameter matrix is adjusted according to the ratio of the increase in the difference, so that the adjustment range of the simulated real-time steering angle closer to the real-time steering angle is increased.

当下一循环指令中差值小于前一循环指令中的差值时,根据差值减小的比例调节关键参数矩阵,以使模拟的实时转向转角向实时转向转角靠近的调节幅度减小。When the difference in the next cycle instruction is less than the difference in the previous cycle instruction, the key parameter matrix is adjusted according to the ratio of the difference reduction, so that the adjustment amplitude of the simulated real-time steering angle close to the real-time steering angle is reduced.

需说明的是,本实施例中对于关键参数矩阵的调节是在输出检测装置处于正常运行的情况下来实现的,通过将输出检测装置反馈的实时转向转角和备用控制器模拟的实时转向转角进行对比。It should be noted that, in this embodiment, the adjustment of the key parameter matrix is achieved when the output detection device is in normal operation, by comparing the real-time steering angle fed back by the output detection device with the real-time steering angle simulated by the standby controller.

具体的,以下为关键参数矩阵的调节实例:Specifically, the following is an example of adjusting the key parameter matrix:

获取当前循环指令下收到的输出检测装置反馈的实时转向转角信号和通过备用控制器模拟的实时转向转角的差值(记为第一差值),以及下一循环指令下收到的输出检测装置反馈的实时转向转角信号和通过备用控制器模拟的实时转向转角的差值(记为第二差值)。此时,第一差值和第二差值均超过了预设阈值,比较第一差值和第二差值,当第二差值大于第一差值时,说明输出检测装置反馈的实时转向转角与备用控制器模拟的实时转向转角之间的误差是在不断增大的,此时需要增大[K n ],通过将[K n ]乘以系数(大于1)来实现。当第二差值小于第一差值时,说明输出检测装置反馈的实时转向转角与备用控制器模拟的实时转向转角之间的误差是在不断减小的,此时就减小[K n ],通过将[K n ]乘以系数(小于1)来实现。通过对[K n ]进行周期调节,使模拟的实时转向转角可以无限接近真实的转向转角,以实现备用控制器实时提供备用控制指令供主控制器做控制指令冗余,进而保证在输出检测装置故障发生一瞬间,备用控制器能立刻以接近真实输出的信号进行反馈。Obtain the difference between the real-time steering angle signal fed back by the output detection device received under the current cycle instruction and the real-time steering angle simulated by the standby controller (recorded as the first difference), and the difference between the real-time steering angle signal fed back by the output detection device received under the next cycle instruction and the real-time steering angle simulated by the standby controller (recorded as the second difference). At this time, the first difference and the second difference both exceed the preset threshold value, compare the first difference and the second difference, when the second difference is greater than the first difference, it means that the error between the real-time steering angle fed back by the output detection device and the real-time steering angle simulated by the standby controller is increasing, and at this time it is necessary to increase [ Kn ], which is achieved by multiplying [ Kn ] by a coefficient (greater than 1). When the second difference is less than the first difference, it means that the error between the real-time steering angle fed back by the output detection device and the real-time steering angle simulated by the standby controller is decreasing, and at this time it is necessary to reduce [ Kn ], which is achieved by multiplying [ Kn ] by a coefficient (less than 1). By periodically adjusting [ Kn ] , the simulated real-time steering angle can be infinitely close to the real steering angle, so that the backup controller can provide backup control instructions in real time for the main controller to provide control instruction redundancy, thereby ensuring that at the moment when the output detection device fails, the backup controller can immediately feedback with a signal close to the real output.

作为本方法实施例的进一步改进,根据差值的大小和方向调节关键参数矩阵之后,还包括:将调节后的关键参数矩阵写入只读存储器中,并使调节后的关键参数矩阵覆盖上一次写入的关键参数矩阵。As a further improvement of the present method embodiment, after adjusting the key parameter matrix according to the size and direction of the difference, it also includes: writing the adjusted key parameter matrix into a read-only memory, and making the adjusted key parameter matrix overwrite the key parameter matrix written last time.

如图6和图7所示出,数据变更模块在接收到关键参数矩阵需要变更的请求后,通过汇编语言将关键参数矩阵[K n ]写入ROM(只读存储器)中,使下一次控制直接按照最新的关键参数矩阵[K n ]进行执行。As shown in Figures 6 and 7, after receiving the request that the key parameter matrix needs to be changed, the data change module writes the key parameter matrix [ Kn ] into the ROM (read-only memory) through assembly language, so that the next control is directly executed according to the latest key parameter matrix [ Kn ] .

本实施例中,如图4所示,在检测出输出检测装置未出现故障,即线控转向系统正常运行的过程中,转向控制方法还包括如下步骤:In this embodiment, as shown in FIG. 4 , when it is detected that the output detection device has no fault, that is, the steer-by-wire system is operating normally, the steering control method further includes the following steps:

步骤310:将输出检测装置输出的实时转向转角信号实时发送至备用控制器。Step 310: Send the real-time steering angle signal output by the output detection device to the standby controller in real time.

步骤320:将实时转向转角信号与模拟的实时转向转角做校对,得到校对结果。Step 320: calibrate the real-time steering angle signal with the simulated real-time steering angle to obtain a calibration result.

步骤330:根据校对结果实时调控关键参数矩阵。Step 330: Adjust the key parameter matrix in real time according to the proofreading results.

具体的,输出检测装置正常运行的状态下,继续以齿条位置传感器为例,备用控制算法实时监控齿条位置传感器的信号值状态(即信号的范围和信号的有效性),并将齿条位置信号和模拟齿条位置信号做差值,根据差值动态调整[K n ],其中,具体的动态调整方式参考上述实施例中对关键参数矩阵的调整。同时备用控制算法还提供出备用控制指令可以供主控制算法做控制指令冗余,以保证在输出检测装置故障发生一瞬间能立刻以接近真实输出的信号进行反馈。Specifically, when the output detection device is operating normally, taking the rack position sensor as an example, the backup control algorithm monitors the signal value state of the rack position sensor in real time (i.e., the signal range and signal validity), and makes a difference between the rack position signal and the simulated rack position signal, and dynamically adjusts [ Kn ] according to the difference, wherein the specific dynamic adjustment method refers to the adjustment of the key parameter matrix in the above embodiment. At the same time, the backup control algorithm also provides backup control instructions for the main control algorithm to make control instruction redundancy, so as to ensure that the output detection device can be fed back immediately with a signal close to the real output at the moment of failure.

参考图5所示,本实施例提供一种线控转向系统,包括转向盘模块10,主控制器20、备用控制器30和输出检测装置50,输出检测装置50用于检测转向机构的实时转向转角;转向盘模块10接收用户发出的转向指令,根据转向指令得到目标转向转角并输出给主控制器20和备用控制器30;主控制器20根据目标转向转角以及输出检测装置50检测的实时转向转角对转向机构的转向进行闭环控制。Referring to Figure 5, this embodiment provides a wire-controlled steering system, including a steering wheel module 10, a main controller 20, a backup controller 30 and an output detection device 50, the output detection device 50 is used to detect the real-time steering angle of the steering mechanism; the steering wheel module 10 receives a steering instruction issued by a user, obtains a target steering angle according to the steering instruction and outputs it to the main controller 20 and the backup controller 30; the main controller 20 performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device 50.

线控转向系统还包括检测模块60以及控制执行模块40。检测模块60用于检测输出检测装置50是否出现故障;在输出检测装置50出现故障时,主控制器20停止对转向机构的转向闭环控制,并由备用控制器30根据目标转向转角模拟出转向机构的实时转向转角,根据目标转向转角以及模拟的实时转向转角对转向机构(也即控制执行模块40)的转向进行闭环控制;或者,在输出检测装置50出现故障时,备用控制器30根据目标转向转角模拟出转向机构的实时转向转角,主控制器20改为根据目标转向转角以及模拟的实时转向转角对转向机构(也即控制执行模块40)的转向进行闭环控制。The wire control steering system also includes a detection module 60 and a control execution module 40. The detection module 60 is used to detect whether the output detection device 50 fails; when the output detection device 50 fails, the main controller 20 stops the steering closed-loop control of the steering mechanism, and the backup controller 30 simulates the real-time steering angle of the steering mechanism according to the target steering angle, and performs closed-loop control on the steering of the steering mechanism (i.e., the control execution module 40) according to the target steering angle and the simulated real-time steering angle; or, when the output detection device 50 fails, the backup controller 30 simulates the real-time steering angle of the steering mechanism according to the target steering angle, and the main controller 20 performs closed-loop control on the steering of the steering mechanism (i.e., the control execution module 40) according to the target steering angle and the simulated real-time steering angle.

本实施例的线控转向系统中,对于转向盘模块10,主控制器20、备用控制器30、输出检测装置50、检测模块60以及控制执行模块40所执行的功能以及作用在上述转向控制方法实施例中已进行详细说明,本实施例在此不做过多赘述。In the wire-controlled steering system of the present embodiment, the functions and effects performed by the steering wheel module 10, the main controller 20, the backup controller 30, the output detection device 50, the detection module 60 and the control execution module 40 have been described in detail in the above-mentioned steering control method embodiment, and will not be elaborated in detail in the present embodiment.

本实施例提供的一种计算机可读存储介质,介质上存储有程序,程序能够被处理器执行以实现如上实施例所述的线控转向系统的转向控制方法。鉴于对于线控转向系统的转向控制方法在上述实施例中已进行详细说明,本实施例在此不做过多赘述。This embodiment provides a computer-readable storage medium, on which a program is stored, and the program can be executed by a processor to implement the steering control method of the wire steering system as described in the above embodiment. Since the steering control method of the wire steering system has been described in detail in the above embodiment, this embodiment will not be repeated in detail here.

本领域技术人员可以理解,上述实施方式中各种方法的全部或部分功能可以通过硬件的方式实现,也可以通过计算机程序的方式实现。当上述实施方式中全部或部分功能通过计算机程序的方式实现时,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器、随机存储器、磁盘、光盘、硬盘等,通过计算机执行该程序以实现上述功能。例如,将程序存储在设备的存储器中,当通过处理器执行存储器中程序,即可实现上述全部或部分功能。另外,当上述实施方式中全部或部分功能通过计算机程序的方式实现时,该程序也可以存储在服务器、另一计算机、磁盘、光盘、闪存盘或移动硬盘等存储介质中,通过下载或复制保存到本地设备的存储器中,或对本地设备的系统进行版本更新,当通过处理器执行存储器中的程序时,即可实现上述实施方式中全部或部分功能。Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: a read-only memory, a random access memory, a disk, an optical disk, a hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, a disk, an optical disk, a flash disk or a mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

以上应用了具体个例对本发明进行阐述,只是用于帮助理解本发明,并不用以限制本发明。对于本发明所属技术领域的技术人员,依据本发明的思想,还可以做出若干简单推演、变形或替换。The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the idea of the present invention, some simple deductions, modifications or substitutions can be made.

Claims (8)

1. A steering control method of a steer-by-wire system, the steer-by-wire system including a steering wheel module, a main controller, a standby controller, and an output detection device for detecting a real-time steering angle of a steering mechanism, the steering control method comprising:
The steering wheel module receives a steering instruction sent by a user, obtains a target steering angle according to the steering instruction and outputs the target steering angle to the main controller and the standby controller;
The main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device;
detecting whether the output detection device has a fault;
when the output detection device fails, the main controller stops steering closed-loop control of the steering mechanism, the standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, and the steering of the steering mechanism is closed-loop controlled according to the target steering angle and the simulated real-time steering angle; or alternatively
When the output detection device fails, the standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, and the main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle;
The standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, and comprises the following steps: the standby controller inputs the target steering angle into a system model of a preset steering mechanism to obtain a simulated real-time steering angle output by the system model; wherein, the system model includes: a functional relation reflecting a functional relation between the target steering angle and the simulated real-time steering angle;
The functional relation is provided with a key parameter matrix, and the key parameter matrix influences the functional relation between the target steering angle and the simulated real-time steering angle; the method further comprises the steps of:
Acquiring a real-time steering angle fed back by the output detection device;
Judging whether the difference value between the simulated real-time steering angle and the real-time steering angle exceeds a preset threshold value, if so, adjusting the key parameter matrix according to the magnitude and the direction of the difference value, so that the system model is adjusted by adopting the adjusted key parameter matrix in the next circulation instruction until the difference value does not exceed the preset threshold value; otherwise, continuing to adopt the current key parameter matrix to adjust the system model in the next circulation instruction.
2. The steering control method of claim 1, wherein the initial key parameter matrix is obtained by:
the external thrust device sequentially pushes the steering mechanism to steer according to a plurality of different target steering angles; the output detection device detects real-time steering angles of the steering mechanism under different target steering angles;
and performing curve fitting on each target steering angle and the corresponding detected real-time steering angle to obtain a key parameter matrix.
3. The steering control method according to claim 2, wherein the fitting formula for curve-fitting each target steering angle and the corresponding detected real-time steering angle is expressed as:
Wherein [ K n ] represents a key parameter matrix, W i (n) represents a weight corresponding to an ith target steering angle, i represents the ith target steering angle, n represents the number of set target steering angles, y r represents an actual output value of a vehicle corner, and y i represents a system model simulation output value.
4. The steering control method according to claim 1, wherein adjustment coefficients are correspondingly provided for different vehicle speeds, and the determining whether the difference between the simulated real-time steering angle and the real-time steering angle exceeds a preset threshold value is preceded by:
determining a corresponding adjustment coefficient according to the current speed of the vehicle;
and adjusting the key parameter matrix according to the adjustment coefficient.
5. The steering control method according to claim 1, wherein said adjusting the key parameter matrix according to the magnitude and direction of the difference value comprises:
when the difference value in the next circulation instruction is larger than the difference value in the previous circulation instruction, the key parameter matrix is adjusted according to the proportion of the increase of the difference value, so that the adjustment amplitude of the simulated real-time steering angle approaching the real-time steering angle is increased;
And when the difference value in the next circulation instruction is smaller than the difference value in the previous circulation instruction, adjusting the key parameter matrix according to the proportion of the decrease of the difference value, so that the adjustment amplitude of the simulated real-time steering angle approaching the real-time steering angle is reduced.
6. The steering control method according to claim 4, wherein after said adjusting the key parameter matrix according to the magnitude and direction of the difference value, further comprising:
writing the adjusted key parameter matrix into a read-only memory, and enabling the adjusted key parameter matrix to cover the key parameter matrix written last time.
7. The steering control method according to claim 1, characterized in that detecting that the output detection device has not failed, further comprises:
the real-time steering angle signal output by the output detection device is sent to the standby controller in real time;
The real-time steering angle signal is checked with the real-time steering angle simulated by the vehicle to obtain a check result;
and regulating and controlling the key parameter matrix in real time according to the correction result.
8. The steering-by-wire system is characterized by comprising a steering wheel module, a main controller, a standby controller and an output detection device, wherein the output detection device is used for detecting the real-time steering angle of a steering mechanism;
The steering wheel module receives a steering instruction sent by a user, obtains a target steering angle according to the steering instruction and outputs the target steering angle to the main controller and the standby controller;
The main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the real-time steering angle detected by the output detection device;
The steer-by-wire system further includes:
the detection module is used for detecting whether the output detection device has faults or not;
when the output detection device fails, the main controller stops steering closed-loop control of the steering mechanism, the standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, and the steering of the steering mechanism is closed-loop controlled according to the target steering angle and the simulated real-time steering angle; or alternatively
When the output detection device fails, the standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, and the main controller performs closed-loop control on the steering of the steering mechanism according to the target steering angle and the simulated real-time steering angle;
The standby controller simulates a real-time steering angle of the steering mechanism according to the target steering angle, and comprises the following steps: the standby controller inputs the target steering angle into a system model of a preset steering mechanism to obtain a simulated real-time steering angle output by the system model; wherein, the system model includes: a functional relation reflecting a functional relation between the target steering angle and the simulated real-time steering angle;
The functional relation is provided with a key parameter matrix, and the key parameter matrix influences the functional relation between the target steering angle and the simulated real-time steering angle; the system further comprises:
Acquiring a real-time steering angle fed back by the output detection device;
Judging whether the difference value between the simulated real-time steering angle and the real-time steering angle exceeds a preset threshold value, if so, adjusting the key parameter matrix according to the magnitude and the direction of the difference value, so that the system model is adjusted by adopting the adjusted key parameter matrix in the next circulation instruction until the difference value does not exceed the preset threshold value; otherwise, continuing to adopt the current key parameter matrix to adjust the system model in the next circulation instruction.
CN202410685888.0A 2024-05-30 2024-05-30 A kind of steering-by-wire system and steering control method thereof Active CN118254875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410685888.0A CN118254875B (en) 2024-05-30 2024-05-30 A kind of steering-by-wire system and steering control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410685888.0A CN118254875B (en) 2024-05-30 2024-05-30 A kind of steering-by-wire system and steering control method thereof

Publications (2)

Publication Number Publication Date
CN118254875A CN118254875A (en) 2024-06-28
CN118254875B true CN118254875B (en) 2024-07-30

Family

ID=91611474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410685888.0A Active CN118254875B (en) 2024-05-30 2024-05-30 A kind of steering-by-wire system and steering control method thereof

Country Status (1)

Country Link
CN (1) CN118254875B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111186482A (en) * 2020-01-23 2020-05-22 中国公路车辆机械有限公司 EPS data security acquisition method based on three-system TAS
CN113998001A (en) * 2021-11-05 2022-02-01 合肥工业大学 Fault-tolerant controller for steer-by-wire of unmanned vehicle and design method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5867782B2 (en) * 2011-11-30 2016-02-24 株式会社ジェイテクト Vehicle steering system
CN205381303U (en) * 2015-12-30 2016-07-13 南京航空航天大学 Drive -by -wire a steering system with fault -tolerant function of sensor signal
JP7067405B2 (en) * 2018-10-11 2022-05-16 株式会社デンソー Rotation detector, steering system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111186482A (en) * 2020-01-23 2020-05-22 中国公路车辆机械有限公司 EPS data security acquisition method based on three-system TAS
CN113998001A (en) * 2021-11-05 2022-02-01 合肥工业大学 Fault-tolerant controller for steer-by-wire of unmanned vehicle and design method thereof

Also Published As

Publication number Publication date
CN118254875A (en) 2024-06-28

Similar Documents

Publication Publication Date Title
US11609567B2 (en) Apparatus and method for controlling vehicle based on redundant architecture
US20180009467A1 (en) Steering return control apparatus and method of motor driven power steering
KR102634244B1 (en) Apparatus for estimating column torque in motor driven power steering system and method thereof
CN118254875B (en) A kind of steering-by-wire system and steering control method thereof
KR20220162462A (en) Electric steering control apparatus and control method thereof
CN119117082A (en) A torque control method and system based on steer-by-wire
CN117002610A (en) Control method of steer-by-wire system
CN116161110A (en) Steering-by-wire system, redundancy backup method and device thereof, storage medium and vehicle
JP3928878B2 (en) Wheel initial alignment system and method for vehicle steer-by-wire system
JP2008503810A (en) Signal processing method and apparatus
CN101346270B (en) Method and device for controlling turning angle of a motor vehicle rear wheel
KR101601074B1 (en) ECU Updating Apparatus, ECU Updating Method and ECU Updating Network using the same
US8060278B2 (en) Methods and systems for controlling steering in a vehicle using a primary active steering functionality and a supplemental active steering functionality
CN118182632A (en) Force feedback method and system of steer-by-wire system
CN116001708B (en) Response speed compensation method, fast response method, and storage medium of a control-by-wire chassis
CN118025311A (en) Steering wheel position automatic correction method and system of steer-by-wire system
KR20130008954A (en) The method for controlling cooperative control between electronic stability control and motor driven power steering
KR102517176B1 (en) Apparatus and method for controlling mdps
CN118850172B (en) Vehicle control method, storage medium, steering system and vehicle
CN114995143B (en) Adaptive fault-tolerant control method and storage medium for forklift actuator failure
CN114590254B (en) Torque calculation method and apparatus for lane keeping assist system
CN116101371A (en) Steering control method and device, storage medium, steer-by-wire system, vehicle
KR20250008320A (en) Apparatus and method for conrtolling four-wheel independent steering type vehicles
KR102004347B1 (en) Method and apparatus of controlling eps damping current
CN117533346A (en) Tracking control system, method 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
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20240628

Assignee: Shenzhen Zhidian Future Automotive Technology Co.,Ltd.

Assignor: Shenzhen Automotive Research Institute Beijing University of Technology

Contract record no.: X2024980039299

Denomination of invention: A wire controlled steering system and its steering control method

Granted publication date: 20240730

License type: Common License

Record date: 20241219

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20240628

Assignee: Shenzhen CheNeng Zhilian Consulting Co.,Ltd.

Assignor: Shenzhen Automotive Research Institute Beijing University of Technology

Contract record no.: X2024980039301

Denomination of invention: A wire controlled steering system and its steering control method

Granted publication date: 20240730

License type: Common License

Record date: 20241218

EE01 Entry into force of recordation of patent licensing contract