基于双核控制器的有轨电车制动信号切换智能控制方法

郭团生

Intelligent Control of Tram Braking Signal Switching Based on Dual-core Controller

GUO Tuansheng
摘要:
[目的]由于有轨电车制动信号切换需要充分考虑交通路口间距以及交通流量实际情况,导致控制效果难以得到保障,为此,提出基于双核控制器的有轨电车制动信号切换智能控制方法。[方法]将STMicroelectronics STM32双核多协议无线微控制器作为具体的中心装置,在DMA(直接内存访问)控制器的3个通道分别设置了3个不同的动作,同时以时间步t为基准,对制动信号的相位控制调整矩阵进行多维设置,构建制动信号动作空间。以当前有轨电车信号的状态为基础,从动作价值的角度定义切换制动信号的确定性梯度参数,利用STM32无线MCU(微控制单元)对反馈动作的价值损失与反馈动作的价值奖励进行训练,计算切换制动信号的确定性梯度参数,作为制动信号切换控制基准。搭建仿真测试环境,设置对照组进行对比测试,验证控制方法的性能。[结果及结论]基于双核控制器的有轨电车制动信号切换智能控制方法控制延迟始终稳定在0.4s以内,制动信号(红灯)的实际执行时长与设置时长的偏差稳定在0.04s以内,等待队列长度始终低于对照组,在实时性、准确性及可靠性等方面优于对照组,能提高有轨电车的运行效率和安全性。
Abstracts:
[Objective] As the tram braking signal switching requires fully considering the distance between traffic intersections and the actual traffic flow, the specific control effect is hard to be guaranteed. Therefore, an intelligent control method for the tram braking signal switching based on dual-core controller is proposed. [Method] With STMicroelectronics STM32 dual-core multi-protocol wireless microcontroller as the specific central device, three different actions are set respectively in three channels of DMA (direct memory access) controller, at the same time, the phase control adjustment matrix of the brake signal performs multi-dimensional settings based on the time step to establish the brake signal action space. Based on the current tram signal status, the deterministic gradient parameter of switching brake signal is defined from the perspective of action value. STM32 wireless MCU (micro-control unit) is used to train the value loss and value reward of feedback action, and the deterministic gradient parameter of switching brake signal is calculated as the benchmark of brake signal switching control. The simulation test environment is built and the control group is set for comparative test to verify the performance of the control method. [Result & Conclusion] The control delay of the intelligent control method for tram brake signal switching based on dual-core controller always remains stable within 0.4 s, and the deviation between the actual execution time and the setting time of the brake signal (red light) keeps within 0.04 s, and the waiting queue length is always lower than that of the control group, superior to the control group in terms of real-time, accuracy and reliability. The above method can improve operation efficiency and safety of the tram.
论文检索