Control method for pulse countdown self-adaptive display
By constructing the mapping relationship between countdown control instructions and coding, the pulse countdown display can be adjusted in real time, which solves the problem of signal light flashing and fixed display, and improves the safety and operating efficiency of traffic lights.
Patent Information
- Application Number
- CN202410467470.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-10-01
AI Technical Summary
Existing pulse countdown displays have problems such as abnormal flashing of signal lights leading to misjudgments, fixed display content that is difficult to adjust, and incomplete countdown display transitions, which affects traffic safety.
Construct a mapping relationship between countdown control instructions and control codes, calculate the green light and red light countdown requirements of each light group in real time, generate countdown control codes, and issue adjustment instructions through the light driver board of the traffic signal control machine to achieve dynamic adjustment and mode switching of the countdown display.
It avoids misjudgment by traffic participants, improves system safety, simplifies construction operations, achieves friendliness and flexibility in countdown display, and ensures the integrity of countdown display.
Smart Images

Figure CN118736868A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of intelligent control of traffic signals, and in particular relates to a control method for adaptive display of pulse countdown. Background Art
[0002] The public safety industry standard "Road Traffic Signal Countdown Display (GA / T508-2014)" provides a classification of countdown displays, including full-range display and fixed-range display. Among them, fixed-range countdown displays have three control methods: communication, follow-up, and trigger. Taking into account factors such as timing adaptive adjustment, construction cost, and display friendliness, most city countdown displays currently use the fixed-range display trigger method, commonly known as "pulse countdown". Existing patents often use variable frequency or single power-off pulses for countdown display control methods, such as: Chinese invention patent application number CN200610039226.8 is named "Traffic Signal Countdown Display Control Method", and Chinese invention patent application number CN201610430648.1 is named "Power-off Pulse Traffic Light Control System".
[0003] There are many problems with pulse countdown displays in actual applications. The first is the large interval (250 milliseconds) power-off pulse control method used. The traffic light will flash abnormally once, which can easily cause traffic participants to misjudge that the traffic light is faulty and take emergency braking to induce traffic accidents. The second is that the display content is relatively fixed and can only count down from the preset value. The preset value requires construction personnel to adjust the dial code on the countdown display through high-altitude operations. The third is that the countdown is in self-running mode during the countdown display, and the outside world cannot intervene. When the countdown needs to be quickly switched to a certain stage in the manually specified stage, it is easy for the countdown display to jump incompletely. For example, when the green light countdown displays the number 4, it jumps directly to the yellow light, which can easily induce traffic accidents.
[0004] Therefore, there is an urgent need for a control method for pulse countdown adaptive display to achieve convenient adjustment of countdown display content and real-time mode switching. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a control method for pulse countdown adaptive display, so as to solve the technical problems that the existing pulse countdown cannot customize the display content in real time or the signal light flashes abnormally. In the present invention, a mapping relationship between countdown control instructions and control codes is constructed, the requirements for countdown display of green and red lights of each light group are calculated in real time, and the countdown control code is generated in time. The countdown display receives the countdown control code in real time and parses it into control instructions, and generates the action that the countdown display needs to adjust in the next second.
[0006] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0007] A control method for pulse countdown adaptive display of the present invention comprises the following steps:
[0008] 1) Construct a mapping relationship between countdown control instructions and control codes;
[0009] 2) According to the green light pending release / remaining time, red light remaining time and green light, red light countdown preset value, it is judged in real time whether adjustment is needed and the light group control instruction is generated, and the countdown control code is issued through the light drive board of the traffic signal controller;
[0010] 3) Decode the control codes corresponding to the above light groups and execute the instructions.
[0011] Furthermore, the step 1) specifically includes:
[0012] 11) Countdown control code generation: The number of bits of the countdown control code is equal to the command control duration divided by the minimum duration of the state. The value of each bit of the control code is determined according to the control state. The control state includes two types: light-off signal and light-on signal;
[0013] The generation rules of the countdown control code are as follows: the control code starts with a light-off signal, and alternates between light-off-light-off, where the duration of the light-off signal is equal to the minimum duration of the state, and the duration of the light-on signal is an integer multiple of the minimum duration of the state; the first N bits of the control code are defined as the adjustment type, which includes adjusting the display mode, the normal state starts the countdown from the number V, and the reverse state starts the countdown from the number V, where the normal state means that the countdown display color is consistent with the current light group light state; the reverse state means that the countdown display color is inconsistent with the current light group light state;
[0014] 12) Construct a mapping relationship between countdown control instructions and control codes: According to the control requirements of the countdown, generate multiple countdown control instructions, including countdown entering a black screen display, normal countdown starting from the number V, and reverse countdown starting from the number V, and associate them with the countdown control code to generate a mapping relationship between the countdown control instruction and the control code.
[0015] Furthermore, the step 2) specifically includes:
[0016] 21) Setting the preset values for the countdown of the green light and the red light: according to the control requirements of each city, set the preset values for the countdown of the green light and the countdown of the red light on the main control panel of the traffic signal controller;
[0017] 22) Extract the green light pending release / remaining time and red light remaining time of all light groups every second to determine whether the light group control instructions need to be adjusted. If adjustment is required, generate the light group control instructions;
[0018] 23) Based on the control instructions generated in real time by each light group, and the mapping relationship between the countdown control instructions and the control code, the control code corresponding to each light group is generated and sent to the corresponding light group through the light drive board of the traffic signal controller.
[0019] Furthermore, the step 22) specifically includes:
[0020] 221) Extract the green light waiting time / remaining time of the light group, compare it with the preset value of the green light start countdown, and generate the green light control command of the light group if the light group control command needs to be adjusted;
[0021] When the signal release phase is switched, the green light waiting time of the corresponding light group is calculated according to the duration of the upcoming release phase; when the green light waiting time of the light group is less than / equal to the preset value of the green light start countdown, it means that the green light countdown needs to be displayed when the green light of the corresponding light group is turned on, and the number V displayed at the beginning is the green light waiting time of the light group; the current light state of the light group is red, which is inconsistent with the countdown display color, which is an inverse adjustment, and the control instruction of the corresponding light group is to count down from the number V in the inverse state; when the green light waiting time of the light group is greater than the preset value of the green light start countdown, it means that the green light countdown does not need to be displayed when the green light of the corresponding light group is turned on, and the control instruction of the corresponding light group does not need to be adjusted;
[0022] During the execution of the signal release phase, the remaining green light time of the corresponding light group in the current release phase is calculated in real time. When the remaining green light time of the light group is greater than the preset value of the green light start countdown plus 1, it means that the green light of the corresponding light group does not need to start displaying the green light countdown, and the control command of the corresponding light group does not need to be adjusted; when the remaining green light time of the light group is equal to the preset value of the green light start countdown plus 1, it means that the green light of the corresponding light group needs to start displaying the green light countdown in the next second, and the number V displayed at the beginning is the preset value of the green light start countdown; the current light state of the light group is green, which is consistent with the countdown display color, and it belongs to normal adjustment The control instruction of the corresponding light group is to count down from the number V in the normal state; when the remaining time of the green light of the light group is less than the preset value of the green light start countdown plus 1, if the manually specified stage needs to be quickly switched to other stages, causing the remaining time of the green light of the light group to jump, it means that the green light of the corresponding light group has displayed the green light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display; if the remaining time of the green light of the light group does not jump, it means that the green light of the corresponding light group has displayed the green light countdown but the displayed value matches the actual value, and the control instruction of the corresponding light group does not need to be adjusted;
[0023] 222) extract the remaining time of the red light of the light group, compare it with the preset value of the red light start countdown, and generate the red light control command of the light group if the light group control command needs to be adjusted;
[0024] During the execution of the signal release phase, the remaining time of the red light of the corresponding light group in the upcoming release phase is calculated in real time. When the remaining time of the red light of the light group is greater than the preset value of the red light start countdown plus 1, it means that the red light of the corresponding light group does not need to start displaying the red light countdown, and the control command of the corresponding light group does not need to be adjusted; when the remaining time of the red light of the light group is equal to the preset value of the red light start countdown plus 1, it means that the red light of the corresponding light group needs to start displaying the red light countdown in the next second, and the number V displayed at the beginning is the preset value of the red light start countdown; the current light state of the light group is red, which is consistent with the countdown display color, which is normal Adjustment, the control instruction of the corresponding light group is to count down from the number V in normal state; when the remaining time of the red light of the light group is less than the preset value of the red light start countdown plus 1, if the manually specified stage needs to be quickly switched to other stages causing the remaining time of the red light of the light group to jump, it means that the red light of the corresponding light group has displayed the red light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display; if the remaining time of the red light of the light group does not jump, it means that the corresponding light group has displayed the red light countdown but the displayed value matches the actual value, and the control instruction of the corresponding light group does not need to be adjusted.
[0025] Furthermore, the step 3) specifically includes:
[0026] 31) Analyze the control code corresponding to the light group: a decoding circuit is set in the countdown display to detect in real time whether there is a light-off signal for the corresponding light group. When the light-off signal is analyzed, it means that the traffic signal controller has issued a new countdown control code; the decoding circuit continuously detects the light-off / light-on signal from the moment the light-off signal is analyzed. The detection duration is equal to the command control duration. 0 represents the light-off signal and 1 represents the light-on signal. The light-off / light-on signal received by the decoding circuit is converted into a control code according to the minimum duration of the state. The number of bits of the control code is equal to the command control duration divided by the minimum duration of the state;
[0027] 32) Execute countdown display control instructions: According to the mapping relationship between countdown control instructions and control codes, the current control code is converted into a control instruction, and the countdown display of the next second adjusts the countdown display autonomously according to the control instruction.
[0028] Beneficial effects of the present invention:
[0029] 1. The countdown control coding in the present invention comprehensively considers the factor of visual retention and adopts a light-off signal with a small interval (40 milliseconds). Traffic participants cannot observe the light-off operation of the signal light with their naked eyes, which effectively avoids misjudgment of traffic participants and improves the safety of the overall system application.
[0030] 2. The countdown display content in the present invention can be dynamically adjusted according to actual control requirements. The control instructions include countdown entering black screen display, normal countdown starting from number V, and reverse countdown starting from number V, which improves the friendliness of the countdown display and avoids misjudgment of traffic participants.
[0031] 3. The countdown preset value in the present invention is independently set in the traffic signal controller and can be flexibly adjusted remotely through the traffic signal control system, thus avoiding the tedious operation of construction workers in high-altitude operations and greatly improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 Schematic diagram of the method of the present invention.
[0033] Figure 2 This is a sample diagram for control instruction generation and countdown display. DETAILED DESCRIPTION
[0034] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings. The contents mentioned in the implementation modes are not intended to limit the present invention.
[0035] Reference Figure 1 As shown, a control method for pulse countdown adaptive display of the present invention comprises the following steps:
[0036] 1) Construct a mapping relationship between countdown control instructions and control codes;
[0037] 11) Countdown control code generation: The number of bits of the countdown control code is equal to the command control duration divided by the minimum duration of the state. The value of each bit of the control code is determined according to the control state. The control state includes two types: light-off signal and light-on signal;
[0038] The generation rules of the countdown control code are as follows: the control code starts with a light-off signal, and alternates between light-off-light-off, where the duration of the light-off signal is equal to the minimum duration of the state, and the duration of the light-on signal is an integer multiple of the minimum duration of the state; considering the visual retention factor, the duration of the light-off signal state cannot exceed 0.1 seconds.
[0039] In order to meet the needs of flexible adjustment of the countdown, the first N bits of the control code are defined as the adjustment type, which includes adjusting the display mode (for example, the countdown enters a black screen display), the normal state starts the countdown from the number V, and the reverse state starts the countdown from the number V. The normal state means that the countdown display color is consistent with the current light state of the light group (for example, the current light group is a red light, and the countdown display color is red); the reverse state means that the countdown display color is inconsistent with the current light state of the light group (for example, the current light group is a red light, and the countdown display color is green).
[0040] Example: The light-off signal state is represented by 0, and the light-on signal state is represented by 1; taking the command control duration of 0.4 seconds and the minimum state duration of 40 milliseconds as an example, the control code bit is 10; to meet the needs of flexible countdown adjustment, the first 4 bits of the control code are defined as the adjustment type, where 0110 represents the adjustment display mode, 0111 represents the normal adjustment start countdown number, and 0101 represents the reverse adjustment start countdown number;
[0041] 12) Constructing the mapping relationship between countdown control instructions and control codes: According to the control requirements of countdown, multiple countdown control instructions are generated, including countdown entering black screen display, normal state countdown starting from digital V, reverse state countdown starting from digital V, and associated with countdown control codes to generate the mapping relationship between countdown control instructions and control codes; the mapping relationship between countdown control instructions and control codes is shown in Table 1:
[0042] Table 1
[0043] Serial number Control instructions Control Coding Control command meaning 1 BLACK_SCREEN 0110111111 Enter black screen display 2 P_STARTNUM_16 0111010101 Normality starts with the number 16 3 P_STARTNUM_15 0111010111 Normality starts with the number 15. 4 P_STARTNUM_14 0111011011 Normality starts with the number 14 5 P_STARTNUM_13 0111011101 Normality starts counting down from the number 13 6 P_STARTNUM_12 0111011110 Normality starts with the number 12. 7 P_STARTNUM_11 0111011111 Normality starts counting down from the number 11 8 P_STARTNUM_10 0111101010 Normality starts with the number 10 9 P_STARTNUM_09 0111110101 Normal countdown starts from the number 9 10 P_STARTNUM_08 0111110110 Normality starts with the number 8 11 P_STARTNUM_07 0111110111 Normality starts with the number 7 12 P_STARTNUM_06 0111111010 Normality starts with the number 6 13 N_STARTNUM_16 0101010101 The reverse state starts the countdown from the number 16 14 N_STARTNUM_15 0101010111 The countdown starts from the number 15 15 N_STARTNUM_14 0101011011 The countdown starts from the number 14 16 N_STARTNUM_13 0101011101 The countdown starts from the number 13 17 N_STARTNUM_12 0101011110 The reverse countdown starts from the number 12 18 N_STARTNUM_11 0101011111 The countdown starts from the number 11 19 N_STARTNUM_10 0101101010 The reverse countdown starts from the number 10 20 N_STARTNUM_09 0101110101 The reverse countdown starts from the number 9 21 N_STARTNUM_08 0101110110 The reverse countdown starts from the number 8 22 N_STARTNUM_07 0101110111 The reverse countdown starts from the number 7 23 N_STARTNUM_06 0101111010 The reverse countdown starts from the number 6
[0044] 2) According to the green light waiting time / remaining time, red light remaining time and green light, red light countdown preset value, it is judged in real time whether adjustment is needed and the light group control command is generated, and the countdown control code is issued through the light drive board of the traffic signal controller; Figure 2 As shown;
[0045] 21) Setting the preset values for the countdown of the green light and the red light: According to the control requirements of each city, the preset values for the countdown of the green light and the countdown of the red light are set on the main control panel of the traffic signal controller, which are 13 seconds and 16 seconds respectively;
[0046] 22) Extract the green light pending release / remaining time and red light remaining time of all light groups every second to determine whether the light group control instructions need to be adjusted. If adjustment is required, generate the light group control instructions;
[0047] Taking a typical traffic light-controlled intersection as an example, it includes four stages, namely Stage 8 (straight north-south), Stage 0 (left turn north-south), Stage 9 (straight east-west), and Stage 4 (left turn east-west). The duration of each stage is 25 seconds, 15 seconds, 25 seconds, and 15 seconds respectively. The transition light color of each light group includes yellow light for 3 seconds, clearing red for 0 seconds, and flashing green for 3 seconds.
[0048] Wherein, the step 22) specifically includes:
[0049] 221) Extract the green light waiting time / remaining time of the light group, compare it with the preset value of the green light start countdown, and generate the green light control command of the light group if the light group control command needs to be adjusted;
[0050] When the signal release phase is switched, the green light waiting time of the corresponding light group is calculated according to the duration of the upcoming release phase; when the green light waiting time of the light group is less than / equal to the preset value of the green light start countdown, it means that the green light countdown needs to be displayed when the green light of the corresponding light group is turned on, and the number V displayed at the beginning is the green light waiting time of the light group; the current light state of the light group is red, which is inconsistent with the countdown display color, which is an inverse adjustment, and the control instruction of the corresponding light group is to count down from the number V in the inverse state; when the green light waiting time of the light group is greater than the preset value of the green light start countdown, it means that the green light countdown does not need to be displayed when the green light of the corresponding light group is turned on, and the control instruction of the corresponding light group does not need to be adjusted;
[0051] When stage 8 is switched, the release stage is stage 0, where stage 0 includes two light groups, south left turn and north left turn. The green light duration of the south left turn and north left turn is 15-3=12 seconds, which is less than the preset value of the green light countdown (13 seconds). This means that the green light countdown needs to start when the green lights of the south left turn and north left turn are turned on, and the number V displayed at the beginning is 12. Since the lights of the south left turn and north left turn are red at this time, which is inconsistent with the countdown display color green light, the control instructions of the south left turn and north left turn are the opposite state and countdown starts from the number 12 (N_STARTNUM_12).
[0052] During the execution of the signal release phase, the remaining green light time of the corresponding light group in the current release phase is calculated in real time. When the remaining green light time of the light group is greater than the preset value of the green light start countdown plus 1, it means that the green light of the corresponding light group does not need to start displaying the green light countdown, and the control command of the corresponding light group does not need to be adjusted; when the remaining green light time of the light group is equal to the preset value of the green light start countdown plus 1, it means that the green light of the corresponding light group needs to start displaying the green light countdown in the next second, and the number V displayed at the beginning is the preset value of the green light start countdown; the current light state of the light group is green, which is consistent with the countdown display color, and it belongs to normal adjustment The control instruction of the corresponding light group is to count down from the number V in the normal state; when the remaining time of the green light of the light group is less than the preset value of the green light start countdown plus 1, if the manually specified stage needs to be quickly switched to other stages, causing the remaining time of the green light of the light group to jump, it means that the green light of the corresponding light group has displayed the green light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display; if the remaining time of the green light of the light group does not jump, it means that the green light of the corresponding light group has displayed the green light countdown but the displayed value matches the actual value, and the control instruction of the corresponding light group does not need to be adjusted;
[0053] During the execution of stage 8, when it runs to the 1st second, the remaining green light time of the south straight and north straight light groups corresponding to the current release stage is 25-3-1+1=22 seconds, which is greater than the preset value of the green light start countdown plus 1 (14 seconds), and the control instructions of the south straight and north straight light groups do not need to be adjusted; when stage 8 runs to the 9th second, the remaining green light time of the south straight and north straight light groups is 14 seconds, which is equal to the preset value of the green light start countdown plus 1 (14 seconds), and the current light state of the south straight and north straight light groups is green, which is consistent with the countdown display color, and the control instructions of the south straight and north straight light groups are normal and countdown starts from number 13 (P_STARTNUM_13);
[0054] During the execution of stage 0, when it runs to the 5th second, the remaining green light time for the south turn left and the north turn left is 15-3-5+1=8 seconds; at this time, the manually designated stage is stage 9, the south turn left and the north turn left will immediately jump to the green flashing (3 seconds) state to end the release, and the remaining green light time jumps from 8 seconds to 3+1=4 seconds. The green light has displayed the green light countdown but the displayed value does not match the actual value. The control instruction of the south turn left and the north turn left light group is to enter the black screen display (BLACK_SCREEN).
[0055] 222) extract the remaining time of the red light of the light group, compare it with the preset value of the red light start countdown, and generate the red light control command of the light group if the light group control command needs to be adjusted;
[0056] During the execution of the signal release phase, the remaining time of the red light of the corresponding light group in the upcoming release phase is calculated in real time. When the remaining time of the red light of the light group is greater than the preset value of the red light start countdown plus 1, it means that the red light of the corresponding light group does not need to start displaying the red light countdown, and the control command of the corresponding light group does not need to be adjusted; when the remaining time of the red light of the light group is equal to the preset value of the red light start countdown plus 1, it means that the red light of the corresponding light group needs to start displaying the red light countdown in the next second, and the number V displayed at the beginning is the preset value of the red light start countdown; the current light state of the light group is red, which is consistent with the countdown display color, which is normal Adjustment, the control instruction of the corresponding light group is to count down from the number V in normal state; when the remaining time of the red light of the light group is less than the preset value of the red light start countdown plus 1, if the manually specified stage needs to be quickly switched to other stages, causing the remaining time of the red light of the light group to jump, it means that the red light of the corresponding light group has displayed the red light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display; if the remaining time of the red light of the light group does not jump, it means that the corresponding light group has displayed the red light countdown but the displayed value matches the actual value, and the control instruction of the corresponding light group does not need to be adjusted;
[0057] During the execution of stage 8, the stages to be released are stage 0 and stage 9, of which stage 0 includes two light groups, south left turn and north left turn, and stage 9 includes two light groups, east straight and west straight; when stage 8 runs to the 1st second, the remaining red light time for the south left turn and north left turn in stage 0 is 25 seconds, which is greater than the preset value of the red light start countdown plus 1 (17 seconds), and the control instructions of the south left turn and north left turn light groups do not need to be adjusted; when stage 8 runs to the 9th second, the remaining red light time for the south left turn and north left turn in the stage to be released is 17 seconds, which is equal to the preset value of the red light start countdown plus 1 (17 seconds). The light state of the south left turn light group and the north left turn light group is red, which is the same as the countdown display color. The control instruction of the south left turn light group and the north left turn light group is to count down from the number 16 (P_STARTNUM_16) as normal; when stage 8 runs to the 24th second, the east straight and west straight of stage 9 will be released. The remaining red light time is 17 seconds, which is equal to the preset value of the red light start countdown plus 1 (17 seconds). The current light state of the east straight and west straight light groups is red, which is the same as the countdown display color. The control instruction of the east straight and west straight light groups is to count down from the number 16 (P_STARTNUM_16) as normal.
[0058] During the execution of stage 0, the release stage is stage 9, which includes two light groups, east straight and west straight; when stage 0 runs to the 5th second, the remaining red light time for east straight and west straight is 11 seconds; at this time, the manually designated stage is stage 9, the south left turn and the north left turn will immediately jump to the green flashing (3 seconds) state to end the release, and the remaining red light time for east straight and west straight will jump to 3+3+1=7 seconds, indicating that the east straight and west straight light groups have displayed the red light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display, and the control instruction of the east straight and west straight light groups is to enter the black screen display (BLACK_SCREEN).
[0059] 23) Generate the control code corresponding to each light group according to the control command generated in real time by each light group, and the mapping relationship between the countdown control command and the control code, and send it to the corresponding light group through the light drive board of the traffic signal controller;
[0060] When stage 8 runs to the 9th second, the control instructions for the current release stage, going straight south and north, are normally counted down from the number 13, and the corresponding control code is 0111011101.
[0061] When stage 8 runs to the 9th second, the control instructions for stage 0 to turn left south and north will be released, and the countdown will start from the number 16 as usual. The corresponding control code is 0111010101.
[0062] When stage 8 reaches the 24th second, the control command for releasing stage 9 to go straight east and west is to count down from number 16 as normal, and the corresponding control code is 0111010101.
[0063] When stage 8 reaches the 25th second, the control instruction for stage 9 to turn left south and north will be released, and the countdown will start from the number 12 in reverse state. The corresponding control code is 0101011110.
[0064] When stage 0 runs to the 5th second, the manually designated stage is stage 9, and the control instructions for the south left turn and north left turn light groups are to enter a black screen display, and the corresponding control code is 0110111111.
[0065] When stage 0 runs to the 5th second, the manually designated stage is stage 9, and the control instruction of the east straight and west straight light groups is to enter a black screen display, and the corresponding control code is 0110111111.
[0066] 3) Decode the control codes corresponding to the above light groups and execute the instructions;
[0067] 31) Analyze the control code corresponding to the light group: a decoding circuit is set in the countdown display to detect in real time whether there is a light-off signal for the corresponding light group. When the light-off signal is analyzed, it means that the traffic signal controller has issued a new countdown control code; the decoding circuit continuously detects the light-off / light-on signal from the moment the light-off signal is analyzed. The detection duration is equal to the command control duration. 0 represents the light-off signal and 1 represents the light-on signal. The light-off / light-on signal received by the decoding circuit is converted into a control code according to the minimum duration of the state. The number of bits of the control code is equal to the command control duration divided by the minimum duration of the state;
[0068] When stage 8 runs to the 9th second, the countdown displays corresponding to the south straight and north straight start to interpret the light-off signal and convert the received light-off / light-on signal into a control code of 0111011101.
[0069] When stage 8 reaches the 9th second, the countdown displays corresponding to the south left turn and the north left turn begin to interpret the light-off signal and convert the received light-off / light-on signal into a control code of 0111010101.
[0070] When stage 8 reaches the 24th second, the countdown displays corresponding to the east and west straights begin to interpret the light-off signal and convert the received light-off / light-on signal into a control code of 0111010101.
[0071] When stage 8 reaches the 25th second, the countdown displays corresponding to the south left turn and the north left turn begin to interpret the light-off signal and convert the received light-off / light-on signal into a control code of 0101011110.
[0072] When stage 0 reaches the 5th second, the countdown displays corresponding to the south left turn and the north left turn begin to interpret the light-off signal and convert the received light-off / light-on signal into a control code of 0110111111.
[0073] When stage 0 reaches the 5th second, the countdown displays corresponding to the east and west straight lines begin to interpret the light-off signal and convert the received light-off / light-on signal into a control code of 0110111111.
[0074] 32) Execute countdown display control instruction: according to the mapping relationship between countdown control instruction and control code, convert the current control code into control instruction, and the countdown display of the next second adjusts the countdown display autonomously according to the control instruction;
[0075] When stage 8 reaches the 9th second, according to the mapping relationship between the countdown control instruction and the control code, the countdown displays corresponding to the south and north straight lines are parsed to obtain the control code 0111011101, which is converted into the control instruction to normally start the countdown from the number 13; when stage 8 reaches the 10th second, the countdown displays corresponding to the south and north straight lines start the green light countdown from the number 13.
[0076] When stage 8 reaches the 9th second, according to the mapping relationship between the countdown control instruction and the control code, the countdown displays corresponding to the south left turn and the north left turn are parsed to obtain the control code 0111010101, which is converted into the control instruction to normally start the countdown from the number 16; when stage 8 reaches the 10th second, the countdown displays corresponding to the south left turn and the north left turn start the red light countdown from the number 16.
[0077] When stage 8 reaches the 24th second, according to the mapping relationship between the countdown control instruction and the control code, the countdown displays corresponding to the east and west straight lanes are parsed to obtain the control code 0111010101, which is converted into the control instruction to normally start the countdown from the number 16; when stage 8 reaches the 25th second, the countdown displays corresponding to the east and west straight lanes start the red light countdown from the number 16.
[0078] When stage 8 reaches the 25th second, according to the mapping relationship between the countdown control instruction and the control code, the countdown displays corresponding to the south left turn and the north left turn are parsed to obtain the control code 0101011110, which is converted into the control instruction to count down from the number 12 in reverse; when stage 0 reaches the 1st second, the countdown displays corresponding to the south left turn and the north left turn start the green light countdown from the number 12.
[0079] When stage 0 runs to the 5th second, according to the mapping relationship between the countdown control instruction and the control code, the countdown displays corresponding to the south left turn and the north left turn are parsed to obtain the control code 0110111111, which is converted into a control instruction and displayed on a black screen; when stage 0 runs to the 6th second, the countdown displays corresponding to the south left turn and the north left turn are displayed on a black screen.
[0080] When stage 0 runs to the 5th second, according to the mapping relationship between the countdown control instruction and the control code, the countdown displays corresponding to the east straight and west straight are parsed to obtain the control code 0110111111, which is converted into a control instruction to display a black screen; when stage 0 runs to the 6th second, the countdown displays corresponding to the east straight and west straight are displayed in a black screen.
[0081] The present invention has many specific application paths. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements can be made without departing from the principle of the present invention. These improvements should also be regarded as the protection scope of the present invention.
Claims
1. A control method for pulse countdown adaptive display, characterized in that: Here are the steps: 1) Construct a mapping relationship between countdown control instructions and control codes; 2) According to the green light pending release / remaining time, red light remaining time and green light, red light countdown preset value, it is judged in real time whether adjustment is needed and the light group control instruction is generated, and the countdown control code is issued through the light drive board of the traffic signal controller; 3) Decode the control codes corresponding to the above light groups and execute the instructions.
2. The control method for pulse countdown adaptive display according to claim 1, characterized in that: The step 1) specifically includes: 11) Countdown control code generation: The number of bits of the countdown control code is equal to the command control duration divided by the minimum duration of the state. The value of each bit of the control code is determined according to the control state. The control state includes two types: light-off signal and light-on signal; The generation rules of the countdown control code are as follows: the control code starts with a light-off signal, and alternates between light-off-light-off, where the duration of the light-off signal is equal to the minimum duration of the state, and the duration of the light-on signal is an integer multiple of the minimum duration of the state; the first N bits of the control code are defined as the adjustment type, which includes adjusting the display mode, the normal state starts the countdown from the number V, and the reverse state starts the countdown from the number V, where the normal state means that the countdown display color is consistent with the current light group light state; the reverse state means that the countdown display color is inconsistent with the current light group light state; 12) Construct a mapping relationship between countdown control instructions and control codes: According to the control requirements of the countdown, generate multiple countdown control instructions, including countdown entering a black screen display, normal countdown starting from the number V, and reverse countdown starting from the number V, and associate them with the countdown control code to generate a mapping relationship between the countdown control instruction and the control code.
3. The control method for pulse countdown adaptive display according to claim 1, characterized in that: The step 2) specifically includes: 21) Setting the preset values for the countdown of the green light and the red light: according to the control requirements of each city, set the preset values for the countdown of the green light and the countdown of the red light on the main control panel of the traffic signal controller; 22) Extract the green light pending release / remaining time and red light remaining time of all light groups every second to determine whether the light group control instructions need to be adjusted. If adjustment is required, generate the light group control instructions; 23) Based on the control instructions generated in real time by each light group, and the mapping relationship between the countdown control instructions and the control code, the control code corresponding to each light group is generated and sent to the corresponding light group through the light drive board of the traffic signal controller.
4. The control method for pulse countdown adaptive display according to claim 3, characterized in that: The step 22) specifically includes: 221) Extract the green light waiting time / remaining time of the light group, compare it with the preset value of the green light start countdown, and generate the green light control command of the light group if the light group control command needs to be adjusted; When the signal release phase is switched, the green light waiting time of the corresponding light group is calculated according to the duration of the upcoming release phase; when the green light waiting time of the light group is less than / equal to the preset value of the green light start countdown, it means that the green light countdown needs to be displayed when the green light of the corresponding light group is turned on, and the number V displayed at the beginning is the green light waiting time of the light group; the current light state of the light group is red, which is inconsistent with the countdown display color, which is an inverse adjustment, and the control instruction of the corresponding light group is to count down from the number V in the inverse state; when the green light waiting time of the light group is greater than the preset value of the green light start countdown, it means that the green light countdown does not need to be displayed when the green light of the corresponding light group is turned on, and the control instruction of the corresponding light group does not need to be adjusted; During the execution of the signal release phase, the remaining green light time of the corresponding light group in the current release phase is calculated in real time. When the remaining green light time of the light group is greater than the preset value of the green light start countdown plus 1, it means that the green light of the corresponding light group does not need to start displaying the green light countdown, and the control command of the corresponding light group does not need to be adjusted; when the remaining green light time of the light group is equal to the preset value of the green light start countdown plus 1, it means that the green light of the corresponding light group needs to start displaying the green light countdown in the next second, and the number V displayed at the beginning is the preset value of the green light start countdown; the current light state of the light group is green, which is consistent with the countdown display color, and it belongs to normal adjustment The control instruction of the corresponding light group is to count down from the number V in the normal state; when the remaining time of the green light of the light group is less than the preset value of the green light start countdown plus 1, if the manually specified stage needs to be quickly switched to other stages, causing the remaining time of the green light of the light group to jump, it means that the green light of the corresponding light group has displayed the green light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display; if the remaining time of the green light of the light group does not jump, it means that the green light of the corresponding light group has displayed the green light countdown but the displayed value matches the actual value, and the control instruction of the corresponding light group does not need to be adjusted; 222) extract the remaining time of the red light of the light group, compare it with the preset value of the red light start countdown, and generate the red light control command of the light group if the light group control command needs to be adjusted; During the execution of the signal release phase, the remaining time of the red light of the corresponding light group in the upcoming release phase is calculated in real time. When the remaining time of the red light of the light group is greater than the preset value of the red light start countdown plus 1, it means that the red light of the corresponding light group does not need to start displaying the red light countdown, and the control command of the corresponding light group does not need to be adjusted; when the remaining time of the red light of the light group is equal to the preset value of the red light start countdown plus 1, it means that the red light of the corresponding light group needs to start displaying the red light countdown in the next second, and the number V displayed at the beginning is the preset value of the red light start countdown; the current light state of the light group is red, which is consistent with the countdown display color, which is normal Adjustment, the control instruction of the corresponding light group is to count down from the number V in normal state; when the remaining time of the red light of the light group is less than the preset value of the red light start countdown plus 1, if the manually specified stage needs to be quickly switched to other stages causing the remaining time of the red light of the light group to jump, it means that the red light of the corresponding light group has displayed the red light countdown but the displayed value does not match the actual value, and the control instruction of the corresponding light group is to enter the black screen display; if the remaining time of the red light of the light group does not jump, it means that the corresponding light group has displayed the red light countdown but the displayed value matches the actual value, and the control instruction of the corresponding light group does not need to be adjusted.
5. The control method for pulse countdown adaptive display according to claim 1, characterized in that: The step 3) specifically includes: 31) Analyze the control code corresponding to the light group: a decoding circuit is set in the countdown display to detect in real time whether there is a light-off signal for the corresponding light group. When the light-off signal is analyzed, it means that the traffic signal controller has issued a new countdown control code; the decoding circuit continuously detects the light-off / light-on signal from the moment the light-off signal is analyzed, and the detection time is equal to the command control time. The light-off / light-on signal received by the decoding circuit is converted into a control code according to the minimum state duration, and the number of control code bits is equal to the command control time divided by the minimum state duration; 32) Execute countdown display control instructions: According to the mapping relationship between countdown control instructions and control codes, the current control code is converted into a control instruction, and the countdown display of the next second adjusts the countdown display autonomously according to the control instruction.
Citation Information
Cited By
Method for processing remaining time of traffic signal lamp and related device
CN122799645A
