首页|期刊导航|农机使用与维修|基于TORCS与PID的汽车车道保持算法设计

基于TORCS与PID的汽车车道保持算法设计OA

Design of vehicle lane-keeping algorithm based on TORCS and PID

中文摘要英文摘要

无人驾驶是一种减少道路交通事故,提升交通效率并满足乘客多样化出行需求的有效方法,已经成为了汽车工业发展的重点方向.自寻道算法作为自动驾驶系统中的重要组成部分,其研究和应用对于提升汽车自动驾驶性能具有重要意义.本文通过对智能驾驶车道保持功能的设计,借助 TORCS 仿真平台完成自寻道算法仿真试验,基于 PID 控制算法设计了车道保持功能,并在仿真平台上进行了功能的实现,主要内容包括使用Python语言设计出了 PID 控制器,并选取了较合适的参数,然后基于仿真平台进行了验证,通过试验结果进行参数的优化.根据试验结果可得调整后的相关系数为 Kp=0.5、Ki=0.005、Kd=10.系统快速达到稳定之后,汽车与道路中轴的距离始终为0,表明车道保持功能控制效果良好,准确性以及动作执行的效率均不错,满足设计要求.

Autonomous driving is an effective method to reduce road traffic accidents,improve traffic efficiency,and meet the diverse travel needs of passengers.It has become a key direction for the development of the automotive indus-try.As an important part of auto drive system,the research and application of self seeking algorithm is of great signifi-cance for improving the performance of automatic driving.This article designs the lane keeping function for intelligent driving,and uses the TORCS simulation platform to complete the self seeking algorithm simulation experiment.Based on the PID control algorithm,the lane keeping function is designed and implemented on the simulation platform.The main content includes designing a PID controller using Python language and selecting suitable parameters.Then,the simula-tion platform is used to verify and optimize the parameters through the experimental results.According to the experimen-tal results,the adjusted correlation coefficient is Kp=0.5、Ki=0.005、Kd=10.After the system quickly reaches stabili-ty,the distance between the car and the road axis is always zero,indicating that the lane keeping function has good con-trol effect,accuracy,and efficiency in action execution,meeting the design requirements.

闫志强;张羽

河南机电职业学院,河南 郑州 451100河南机电职业学院,河南 郑州 451100

交通工程

自寻道算法智能转向TORCS车道保持

self-tracking algorithmintelligent steeringTORCSlane keeping

《农机使用与维修》 2026 (5)

27-32,6

2024年度河南省科技攻关立项项目(242102240139)

10.14031/j.cnki.njwx.2026.05.007

评论