The invention discloses a traffic light auxiliary countdown screen control method, which comprises the following steps: S1, judging the working mode of a traffic light, the working mode comprising at least one of left turn, right turn and straight travel; s2, detecting durations of a first period and a second period of displaying red/yellow/green light signals of the traffic light in the working mode, and storing the durations as a first duration T1 and a second duration T2; s3, T1 and T2 are compared, and if T2 is smaller than T1, characters of the corresponding color of the T2 duration are output by the countdown screen in the next period; if T2 is greater than T1, continuing to output the transition character of the T2-T1 duration after the countdown screen outputs the character of the corresponding color of the T1 duration in the next period; if T2 is equal to T1, outputting the character of the corresponding color of the T1 duration in the countdown screen in the next period; and S4, updating the first duration T1 and the second duration T2, and repeating the steps. The method has the beneficial effects that the traffic light display characters and countdown are automatically matched, and the compatibility is high.
本发明公开了一种交通灯辅助倒计时屏控制方法,包括以下步骤:S1:判断交通灯的工作模式,所述工作模式包括左转、右转、直行中至少一种;S2:检测所述工作模式下的交通灯显示红/黄/绿灯信号的第一、二个周期的时长,保存为第一时长T1、第二时长T2;S3:比较T1和T2的大小,若T2<T1,在下个周期倒计时屏输出T2时长的对应颜色的字符;若T2>T1,在下个周期倒计时屏输出T1时长的对应颜色的字符后继续输出T2‑T1时长的过渡字符;若T2=T1,在下个周期倒计时屏输出T1时长的对应颜色的字符;S4:更新第一时长T1和第二时长T2,重复上述步骤,即成。本发明的有益效果在于:自动匹配交通灯显示字符和倒计时,兼容性强。
Traffic light auxiliary countdown screen and control method thereof
交通灯辅助倒计时屏及其控制方法
2023-06-13
Patent
Electronic Resource
Chinese
IPC: | G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS |
Redundant method for solving traffic countdown screen fault
European Patent Office | 2023
|Traffic light countdown notification and alarm suppression
European Patent Office | 2023
|TRAFFIC LIGHT COUNTDOWN NOTIFICATION AND ALERT SUPPRESSION
European Patent Office | 2023
|