Intelligent traffic light control method and system for replacing mobile traffic light

The distributed control system, which utilizes a LoRa star network and intelligent battery management, solves the problems of poor response time, resource waste, and short battery life in emergency traffic light power outage solutions, enabling fast and reliable emergency traffic light control and improving traffic safety and efficiency.

CN121505898APending Publication Date: 2026-02-10SICHUAN CHANGXING TIANDI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511409497.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing emergency response plans for traffic light power outages suffer from poor response time, significant resource waste, short battery life, and large timing synchronization errors, resulting in low traffic safety and efficiency.

Method used

A distributed control system is built using a star-shaped wireless network based on LoRa technology. Through the collaborative work of the master controller and slave controller, rapid power failure confirmation and synchronous switching are achieved. Combined with intelligent battery management and anti-interference timing synchronization algorithms, seamless switching at all intersections and extended battery life are ensured.

Benefits of technology

Significantly improves emergency response speed, reduces traffic accidents, lowers operating costs, enhances timing synchronization accuracy and system reliability, and supports flexible configuration and emergency notification functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121505898A_ABST
    Figure CN121505898A_ABST
Patent Text Reader

Abstract

The invention relates to an intelligent traffic light control method and system for replacing a mobile traffic light, and belongs to the technical field of communication control systems, and the system comprises a master controller, a slave controller, a power supply system and a communication network system. The main controller is used for coordinating signal timing and state synchronization of the four direction lamp sets and sending a unified control instruction. The slave controller is used for monitoring the state of a local alternating current power supply, transmitting information to the master controller, and receiving and executing a timing instruction of the master controller at the same time; the power supply system is used for realizing alternating current / direct current automatic switching and battery charging management; the communication network system is a star wireless network constructed based on a LoRa technology, takes the master controller as a central node, and keeps real-time communication with nodes of the other three slave controllers; the method has the beneficial effects that the problems of poor response time efficiency, serious resource waste, short battery life and large timing synchronization error are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent traffic signal control and emergency power management technology, and specifically relates to an intelligent traffic light control method and system that replaces mobile traffic lights. Background Technology

[0002] There are currently many technical challenges in handling power outages of urban road traffic lights that urgently need to be addressed, mainly in the following three aspects:

[0003] First, the emergency response time is extremely poor. Traditional solutions rely on traffic police to manually patrol and detect power outages, with an average discovery time of ≥30 minutes. Adding to this, the one-way transport time for mobile traffic lights is ≥20 minutes, resulting in chaotic situations at intersections lasting for over an hour. According to traffic data from a provincial capital city, such situations trigger 3-5 minor accidents daily, reducing traffic efficiency by 60% and severely impacting road safety and traffic flow.

[0004] Secondly, there is a serious waste of emergency resources. Existing mobile traffic lights require dedicated vehicles for transportation, with a single transport cost of ≥200 yuan, and require two traffic police officers for on-site deployment, resulting in a labor cost of ≥300 yuan per trip. Statistics show that a certain second-tier city's annual emergency expenditure exceeds 500,000 yuan, causing a significant waste of human and material resources.

[0005] Third, battery management technology is outdated. Most existing emergency mobile lights are powered by simple rechargeable batteries, lacking intelligent charging management systems. The battery cycle life is ≤100 cycles, and the annual replacement cost accounts for 40% of the total equipment investment. This not only increases maintenance costs but also reduces the continuity of emergency support due to frequent battery replacements.

[0006] In view of the limitations of the traditional emergency response plan, there is an urgent need for an integrated emergency traffic light system that can achieve rapid response, efficient collaboration and intelligent management. Summary of the Invention

[0007] This invention provides an intelligent traffic light control method and system to replace mobile traffic lights, which solves the technical problems of poor response time, serious resource waste, short battery life and large timing synchronization error in the existing traffic light power outage emergency solutions.

[0008] To achieve the above objectives, the present invention is implemented through the following technical solution:

[0009] An intelligent traffic light control system that replaces mobile traffic lights includes:

[0010] The main controller is a microcontroller in one of the four directional light groups at the intersection. It is used to coordinate the signal timing and status synchronization of the four directional light groups, receive the power status information of each slave controller through the communication network, and send unified control commands.

[0011] The controller is a microcontroller in the other three of the four-way light groups at the intersection. It is used to monitor the local AC power status and transmit the information to the main controller. At the same time, it receives and executes the timing instructions from the main controller.

[0012] The power system includes a 12V / 7Ah battery pack and a power management module installed in the light box of each directional light group. The power management module is used to realize automatic AC / DC switching and battery charging management.

[0013] The communication network system is a star-shaped wireless network built on LoRa technology, with the main controller as the central node, maintaining real-time communication with the other three slave controller nodes, with a communication interval of ≤1 second;

[0014] When the main controller confirms a power outage in the four directional light groups through its own nodes and all slave nodes, the main controller controls each directional light group to switch to the power supply system and controls the signal lights according to the preset timing. When the AC power is detected to be restored, the main controller controls each light group to switch back to AC power supply and starts the power supply system charging process until the power supply system is fully charged.

[0015] Optionally, the battery pack includes a 12V / 7Ah lead-acid battery pack, and the power management module uses an NCE4435 MOSFET for power switching with a switching time of ≤100ms.

[0016] Optionally, the power management module uses the CN3768 chip to implement three-stage charging management, which automatically stops charging when the battery voltage is ≥13.8V, thereby increasing the battery cycle life to 300-500 times.

[0017] Optionally, the control system includes an anti-interference timing synchronization algorithm. This algorithm first controls all light groups to flash yellow lights for 3 seconds to unify the benchmark, and then runs according to the preset timing to ensure that the timing error is ≤100ms.

[0018] Optionally, the main controller also includes a Bluetooth module and a SIM card communication module; the Bluetooth module is used to communicate with the mobile devices of the configuration personnel to obtain information such as timing settings, emergency maintenance personnel's mobile phone numbers, and intersection numbers; the SIM card communication module is used to send SMS notifications to emergency maintenance personnel.

[0019] Optionally, both the master controller and the slave controller use an STM32F103C8T6 or STC89C52 microcontroller as the core processing unit, and detect battery voltage and temperature through an ADC module.

[0020] A smart traffic light control method that replaces mobile traffic lights includes the following steps:

[0021] Step S1. When the system is in normal mode, it is powered by AC power and the battery is charged;

[0022] Step S2. Each controller monitors its local power status in real time and reports it to the main controller via the LoRa network;

[0023] Step S3. After the main controller confirms that all ports are powered off, it broadcasts a takeover command via the LoRa network;

[0024] Step S4. All light groups switch to battery power and execute the timing synchronization algorithm to uniformly enter emergency mode;

[0025] Step S5. After the main controller detects that the power has been restored, it broadcasts a restoration command, and all lamp groups switch back to AC power and start charging.

[0026] Optionally, the timing synchronization algorithm in step S4 includes two sub-steps: "yellow light flashing pre-synchronization" and "reference timing calibration" to ensure that the timing error of the multi-directional light group is ≤100ms.

[0027] Optionally, in emergency mode, if a new slave node is added to the controller, the master controller will trigger a "3-second all-red light" resynchronization operation to maintain network timing consistency.

[0028] Optionally, the charging process in step S5 adopts a three-stage management, including trickle charging, constant current charging and float charging stages, and automatically stops when the battery voltage reaches a preset threshold to optimize battery life.

[0029] The beneficial effects of this invention are:

[0030] 1. This invention constructs a "one master, multiple slaves" distributed architecture using a LoRa star network. The master controller dynamically acquires the power status of all intersections, enabling full-intersection power outage confirmation and synchronous switching of emergency modes (unlike traditional single-lamp independent emergency modes, avoiding accidental switching due to partial power outages), significantly improving emergency response speed. Through a distributed master-slave collaborative control mechanism, it achieves synchronous confirmation and switching of power outages across all intersections, reducing the disordered state of traditional solutions (over 1 hour) to seamless switching within 100ms, significantly reducing the traffic accident rate. This is mainly achieved by requiring the master controller to receive power anomaly signals from all slave nodes before initiating the emergency mode, ensuring decision accuracy; slave nodes only execute master controller commands, avoiding multi-node conflicts.

[0031] 2. This invention significantly reduces operating costs, eliminating the transportation and manual deployment costs of mobile traffic lights. Calculations show that it can significantly reduce the average annual emergency expenditure in second-tier cities from over 500,000 yuan. At the same time, through intelligent charging management, the battery cycle life is increased from ≤100 times to 300-500 times, reducing the annual replacement cost by more than 60%.

[0032] 3. This invention improves timing synchronization accuracy: Employing an anti-interference timing synchronization algorithm, it controls the timing error of traditional wireless solutions (>500ms) to ≤100ms, effectively avoiding traffic chaos caused by asynchronous signals and enhancing system reliability. Through multiple hardware protection designs (overvoltage and overcurrent protection, noise suppression) and software inspection mechanisms, it achieves a communication reception rate >99.9% in urban environments and a continuous operating temperature rise <45℃, ensuring stable system operation. It also features flexible configuration capabilities: supporting both Bluetooth and DIP switch timing settings, it can be flexibly adjusted according to the traffic flow characteristics of different intersections. A SIM card communication interface is also reserved for emergency notification functions, improving operational efficiency. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of the overall structure of the present invention;

[0035] Figure 2 This is a power switching circuit diagram of the present invention;

[0036] Figure 3 This is a control flowchart of the main controller of the present invention;

[0037] Figure 4 This is a flowchart illustrating the timing and synchronization preparation phase of the present invention.

[0038] Figure 5 This is a flowchart of the timing synchronization control after power failure according to the present invention;

[0039] Figure 6 This is a flowchart illustrating the power outage emergency mode workflow of the present invention.

[0040] Figure 7 This is a flowchart illustrating the overall workflow of the present invention. Detailed Implementation

[0041] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0042] Example 1

[0043] like Figure 1 As shown, this embodiment provides an intelligent traffic light control system that replaces mobile traffic lights, including: a main controller, a slave controller, a power supply system, and a communication network system;

[0044] The main controller is a microcontroller in one of the four directional light groups at the intersection. It is used to coordinate the signal timing and status synchronization of the four directional light groups, receive the power status information of each slave controller through the communication network, and send unified control commands.

[0045] The controller is a microcontroller in the other three of the four-way light groups at the intersection. It is used to monitor the local AC power status and transmit the information to the main controller. At the same time, it receives and executes the timing instructions from the main controller.

[0046] The power system includes a 12V / 7Ah battery pack and a power management module installed in the individual light box of each directional light group. The power management module is used to realize automatic AC / DC switching and battery charging management.

[0047] The communication network system is a star-shaped wireless network built on LoRa technology, with the main controller as the central node, maintaining real-time communication with the other three slave controller nodes, with a communication interval of ≤1 second;

[0048] When the main controller confirms a power outage in the four directional light groups through its own nodes and all slave nodes, the main controller controls each directional light group to switch to power supply from the power system and controls the signal lights according to the preset timing. When the AC power is detected to be restored, the main controller controls each light group to switch back to AC power supply and starts the power system charging process until the power system is fully charged, after which the main controller stops working.

[0049] The battery pack consists of a 12V / 7Ah lead-acid battery. The power management module uses an NCE4435 MOSFET for power switching, with a switching time of ≤100ms. The power management module employs a CN3768 chip to implement three-stage charging management. Charging automatically stops when the battery voltage reaches ≥13.8V, extending the battery cycle life to 300-500 cycles. The charging voltage and current of the 12V / 7Ah lead-acid battery must be strictly controlled; otherwise, its lifespan will be significantly shortened (normal cycle life is approximately 300-500 cycles, but may drop below 100 cycles without protection). The charging logic follows a three-stage process of "constant current-constant voltage-float charging." Overcharging can lead to electrolyte decomposition, plate sulfation, and even explosion; overcurrent can cause overheating and plate deformation; and undercharging can result in capacity decay. The CN3768 chip is selected as a dedicated charging management chip for 12V / 7Ah lead-acid batteries. It has a wide input voltage range of 6.6V-30V and supports a maximum charging current of 4A, which can be adjusted according to the value of the sampling resistor. A Schottky diode is connected in series after the MOSFET to prevent reverse voltage from the battery. A freewheeling diode is connected in parallel with an RC circuit to absorb voltage spikes.

[0050] The control system includes an anti-interference timing synchronization algorithm. This algorithm first controls all light groups to flash yellow lights for 3 seconds to unify the benchmark, and then runs according to the preset timing to ensure that the timing error is ≤100ms.

[0051] Example 2

[0052] Based on Example 1, such as Figure 3 As shown, the main controller also includes a Bluetooth module, a SIM card communication module, and an STM32 controller. The Bluetooth module communicates with the mobile devices of the configuration personnel to obtain information such as timing settings, emergency maintenance personnel's mobile phone numbers, and intersection numbers. The SIM card communication module sends SMS notifications to emergency maintenance personnel. The STM32 controller carries the main control software, which is responsible for calling various modules, acquiring and processing data, and responding to situations. Both the main controller and the slave controller use STM32F103C8T6 or STC89C52 microcontrollers as core processing units and use ADC modules to detect battery voltage and temperature.

[0053] Furthermore, both the master controller and the slave controller include an MCU module, an AC detection module, a LoRa communication module, a lamp control module, a battery detection module, and a DIP switch module;

[0054] The MCU module uses an STM32F103C8T6 or an STC89C52 microcontroller.

[0055] The AC detection module uses a combination circuit of PC817 optocoupler and LM393 to detect the 220VAC power supply status; the LoRa communication module uses SX1278 module, which operates in the 433MHz frequency band.

[0056] LoRa communication module: responsible for sending status acquisition commands or status switching commands (normal status / takeover commands) to other light groups, and receiving information returned by other light groups;

[0057] DIP switch module: Responsible for acquiring signal codes and returning the corresponding preset timing and intersection location. (Bluetooth timing takes priority; the DIP switch is used when Bluetooth timing is not set.)

[0058] Battery detection module: It detects the battery voltage and temperature using an ADC, and performs a power-off operation when the voltage and temperature exceed the normal range.

[0059] The lamp control module controls the MOSFET switch via GPIO port level to achieve lamp power supply control; the battery detection module detects battery voltage and temperature via ADC, and performs a power-off operation when it exceeds the normal range.

[0060] The power management module includes a power switching circuit and a charging management circuit. The power switching circuit uses an NCE4435P channel enhancement-mode power MOSFET chip to achieve high-speed switching control, so that the switching time from AC detection module power failure to battery power supply is ≤100ms.

[0061] The charging management circuit uses the CN3768PWM step-down 12V lead-acid battery charging management chip to realize three-stage charging modes: trickle charging, constant current charging, overcharging, and float charging. Charging is automatically stopped when the battery voltage is ≥13.8V.

[0062] The entire control system also includes an anti-interference timing synchronization algorithm, which includes a yellow light flashing pre-synchronization and a reference timing calibration mechanism. After the main controller takes over, it first controls all light groups to flash yellow lights for 3 seconds to unify the starting reference, and then runs according to the preset timing. When a new slave node is connected, the main controller triggers a 3-second resynchronization operation for all red lights to ensure that the timing error of multi-directional light groups is ≤100ms.

[0063] like Figure 2 As shown, the independent power switching circuit for each lamp group works as follows: Under normal conditions: the switching power supply is selected, and the battery is charged simultaneously. During a power outage: the MCU module detects a power failure in the AC detection module → controls the relay to switch to battery power. Upon power restoration: the AC detection module detects power restoration → switches back to the switching power supply → starts charging → charging is complete, and charging is turned off (charging protection).

[0064] Example 3

[0065] Based on Embodiment 2, the communication between the master controller and the slave controller adopts a specific frame structure, including a 1-byte start symbol (0xAA), a 1-byte target address, a 1-byte command word, 4 bytes of data, a 1-byte XOR checksum, and a 1-byte end symbol (0x55). The command word includes acquisition / return status (0x01), entering takeover status (0x02), entering normal status (0x03), communication verification (0x66), timing operation (0xbb), and time calibration (0x22). Specifically, the communication frame structure is defined as shown in Table 1 below:

[0066] Table 1: Communication Frame Structure Definition Table

[0067]

[0068] The definition of a data frame is shown in Table 2:

[0069] Table 2: Definition of Data Frame

[0070]

[0071] Each light group controller has two 4-bit DIP switches. One is used to set the location of the light group (East: 0001, South: 0010, West: 0100, North: 1000), and the other is used to set the traffic light timing. The 4-bit binary status corresponds to different timings from 5 to 105 seconds.

[0072] Each master or slave controller has two 4-bit DIP switches. One DIP switch determines the direction of the light group. During installation, the switch is configured according to the orientation of the light group: 0001 for east-facing lights, 0010 for south-facing lights, 0100 for west-facing lights, and 1000 for north-facing lights. The other DIP switch sets the timing of the traffic lights for the light group on the control board. Since the 4-bit switch can be considered as 4 bits of binary code, there are 16 states. Each state can be set to 5 seconds or other durations via software. Table 3 shows an example timing table.

[0073] Table 3: Example of Green Light Timing for a Certain Direction

[0074]

[0075] Example 4

[0076] Based on Embodiment 3, when synchronizing traffic lights in different light groups, since wireless communication is susceptible to interference, in order to ensure the synchronous start of traffic light timings in different directions and avoid traffic chaos caused by asynchronous start, this invention sets up the following algorithm to ensure the synchronization of traffic lights in different light groups. The specific algorithm is as follows: Figure 4 and Figure 5 As shown.

[0077] Figure 4 After the system is installed, the traffic control power supply is turned on, each light group is powered on, and the main controller reads the timing DIP switch settings on the control board of each slave controller through LoRa communication to prepare for timing synchronization after a power outage.

[0078] Figure 5 The main controller detected a power outage in the traffic control system. The main controller then took over the control of the traffic lights, turning them on and off. After taking over, the main controller still needs to continuously check the status of each light group, monitor whether the power supply of the traffic control unit is normal, and whether the communication between the main and slave controllers is normal.

[0079] Noise suppression measures are as follows: a π-type filter (10μF + 100Ω + 10μF) is used at the power input; the relay coil is a 1N4148 diode connected in reverse parallel; the MCU detection module reset is achieved with a 100nF capacitor and a 10kΩ pull-up; the crystal oscillator is a 15-22pF load capacitor and a copper grounding plate.

[0080] Example 5

[0081] Based on Example 4, during normal operation, each lamp group controller monitors the AC power status in real time (collecting data once per second). If there is no power outage, the main controller is not notified, and each lamp group uses AC power for power supply.

[0082] In the power outage emergency response, the main controller collects information from all slave controllers, detects a power failure in the AC detection module, and broadcasts via LoRa to notify the light groups in the east, south, west, and north directions to enter emergency mode. Upon receiving the broadcast from the main controller, each light group automatically switches to battery power and performs timing synchronization. After receiving confirmation of communication responses from each direction, the preset timing scheme is executed. The specific process is as follows: Figure 6 As shown.

[0083] Example 6

[0084] Based on Embodiment 1, it is further explained that the main controller is a microcontroller selected from the four directional light groups at the intersection (8 groups when including the left-turn arrow light) in the direction with the largest traffic flow, and an STM32F103C8T6 or STC89C52 microcontroller is used as the core control unit.

[0085] The main controller integrates an AC detection module (PC817 optocoupler + LM393), a LoRa communication module (SX1278), a Bluetooth module, a DIP switch module, a light control module, a battery detection module, and a SIM card communication module. The main function of the main controller is to receive real-time power status information from each slave node via the LoRa network, and after confirming a power outage at the entire intersection, send unified emergency control commands to coordinate the signal timing and status synchronization of the entire intersection.

[0086] The slave controller is the microcontroller in the other three directions, which also uses the STM32F103C8T6 microcontroller. It is equipped with an AC detection module, a LoRa communication module, a lamp control module and a battery detection module. It is responsible for monitoring the local AC power status and transmitting the information to the master controller, while receiving and executing the timing instructions of the master controller.

[0087] The power system consists of a 12V / 7Ah lead-acid battery pack (e.g., Tianneng 12V·7AH) in each lamp box, meeting the power supply requirements of a 7W lamp group for ≥5 hours. The power management module includes a power switching circuit and a charging management circuit. The power switching circuit uses an NCE4435 MOSFET to achieve automatic AC / DC switching with a switching time ≤100ms. The charging management circuit uses a CN3768 chip to implement three-stage charging, supporting trickle charging, constant current, overcharge, and float charging modes. Charging automatically stops when the battery voltage ≥13.8V.

[0088] The communication network system is a star-shaped wireless network built on LoRa technology. The master controller acts as the central node and maintains real-time communication with the other three slave nodes, with a communication interval of ≤1 second. The communication frame structure includes a start symbol (0xAA), destination address, command word, data, checksum, and end symbol (0x55) to ensure the accuracy and reliability of data transmission.

[0089] Specifically, in the normal mode of this invention, the traffic control cabinet's AC power supply (AC220V) is converted to 12V DC via a switching power supply to power the light assembly and simultaneously charge the battery through the CN3768 chip. Each light assembly controller collects the AC power status once per second, and does not send a notification to the main controller if there is no abnormality.

[0090] In emergency mode, once the main controller confirms a power outage at the entire intersection through its own and all slave nodes' AC detection information, it immediately broadcasts a takeover command via LoRa. Upon receiving the command, each light group automatically switches to battery power and simultaneously performs timing synchronization: the main controller first controls all light groups to flash yellow for 3 seconds to establish a unified baseline, then operates according to the preset timing (red for n seconds → yellow flashing for 3 seconds → green for m seconds in a cycle). If a new slave node is added, the main controller triggers a 3-second all-red light resynchronization operation.

[0091] Recovery mode is when the main controller detects that AC power has been restored, broadcasts a normal mode command, and each light group switches back to AC power and restarts the battery charging process until the battery is fully charged and then automatically stops charging.

[0092] Example 7

[0093] Based on all the above embodiments, such as Figure 7 As shown, this embodiment provides an intelligent traffic light control method that replaces mobile traffic lights, including the following steps:

[0094] Step S1. When the system is in normal mode, it is powered by AC power and the battery is charged;

[0095] Step S2. Each controller monitors its local power status in real time and reports it to the main controller via the LoRa network;

[0096] Step S3. After the main controller confirms that all ports are powered off, it broadcasts a takeover command via the LoRa network;

[0097] Step S4. All light groups switch to battery power and execute the timing synchronization algorithm to uniformly enter emergency mode;

[0098] Step S5. After the main controller detects that the power has been restored, it broadcasts a restoration command, and all lamp groups switch back to AC power and start charging.

[0099] Specifically, the timing synchronization algorithm in step S4 includes two sub-steps: "yellow light flashing pre-synchronization" and "reference timing calibration" to ensure that the timing error of the multi-directional light group is ≤100ms.

[0100] In emergency mode, if a new slave node is added to the controller, the master controller will trigger a "3-second all-red light" resynchronization operation to maintain network timing consistency.

[0101] The charging process in step S5 adopts a three-stage management, including trickle charging, constant current charging and float charging stages, and automatically stops when the battery voltage reaches a preset threshold to optimize battery life.

[0102] When the battery voltage is below 75% of the overcharge voltage, it automatically enters trickle charging mode, with the charging current being 17.5% of the constant current charging current. When the battery voltage is above this value, it enters constant current charging mode, with the charging current set by an external resistor. When the battery voltage approaches the overcharge voltage, it enters overcharge mode, and the charging current gradually decreases. When the charging current decreases to 38% of the constant current charging current, it enters float charging mode. At this time, the voltage of the microcontroller's BAT pin is modulated to around 13.55V to compensate for energy loss caused by battery self-discharge or load.

[0103] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope described in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An intelligent traffic light control system that replaces mobile traffic lights, characterized in that, include: The main controller is a microcontroller in one of the four directional light groups at the intersection. It is used to coordinate the signal timing and status synchronization of the four directional light groups, receive the power status information of each slave controller through the communication network, and send unified control commands. The controller is a microcontroller in the other three of the four-way light groups at the intersection. It is used to monitor the local AC power status and transmit the information to the main controller. At the same time, it receives and executes the timing instructions from the main controller. The power system includes a 12V / 7Ah battery pack and a power management module installed in the light box of each directional light group. The power management module is used to realize automatic AC / DC switching and battery charging management. The communication network system is a star-shaped wireless network built on LoRa technology, with the main controller as the central node, maintaining real-time communication with the other three slave controller nodes, with a communication interval of ≤1 second; When the main controller confirms a power outage in the four directional light groups through its own nodes and all slave nodes, the main controller controls each directional light group to switch to the power supply system and controls the signal lights according to the preset timing. When the AC power is detected to be restored, the main controller controls each light group to switch back to AC power supply and starts the power supply system charging process until the power supply system is fully charged.

2. The intelligent traffic light control system for replacing mobile traffic lights according to claim 1, characterized in that, The battery pack includes a 12V / 7Ah lead-acid battery pack, and the power management module uses an NCE4435 MOSFET for power switching with a switching time of ≤100ms.

3. The intelligent traffic light control system for replacing mobile traffic lights according to claim 2, characterized in that, The power management module uses the CN3768 chip to implement three-stage charging management. When the battery voltage is ≥13.8V, charging will automatically stop, increasing the battery cycle life to 300-500 times.

4. The intelligent traffic light control system for replacing mobile traffic lights according to claim 1, characterized in that, The control system includes an anti-interference timing synchronization algorithm. This algorithm first controls all light groups to flash yellow lights for 3 seconds to unify the benchmark, and then runs according to the preset timing to ensure that the timing error is ≤100ms.

5. The intelligent traffic light control system for replacing mobile traffic lights according to claim 1, characterized in that, The main controller also includes a Bluetooth module and a SIM card communication module; the Bluetooth module is used to communicate with the mobile devices of the configuration personnel to obtain information such as timing settings, emergency maintenance personnel's mobile phone numbers, and intersection numbers; the SIM card communication module is used to send SMS notifications to emergency maintenance personnel.

6. The intelligent traffic light control system for replacing mobile traffic lights according to claim 1, characterized in that, Both the master controller and the slave controller use STM32F103C8T6 or STC89C52 microcontrollers as the core processing units, and detect battery voltage and temperature through an ADC module.

7. A method for controlling intelligent traffic lights as an alternative to mobile traffic lights, used to execute an intelligent traffic light control system as described in any one of claims 1-6, characterized in that, Includes the following steps: Step S1. When the system is in normal mode, it is powered by AC power and the battery is charged; Step S2. Each controller monitors its local power status in real time and reports it to the main controller via the LoRa network; Step S3. After the main controller confirms that all ports are powered off, it broadcasts a takeover command via the LoRa network; Step S4. All light groups switch to battery power and execute the timing synchronization algorithm to uniformly enter emergency mode; Step S5. After the main controller detects that the power has been restored, it broadcasts a restoration command, and all lamp groups switch back to AC power and start charging.

8. The intelligent traffic light control method for replacing mobile traffic lights according to claim 7, characterized in that, The timing synchronization algorithm in step S4 includes two sub-steps: yellow light flashing pre-synchronization and reference timing calibration, to ensure that the timing error of the multi-directional light group is ≤100ms.

9. The intelligent traffic light control method for replacing mobile traffic lights according to claim 8, characterized in that, In emergency mode, if a new slave node is added to the controller, the master controller will trigger a 3-second resynchronization operation with all red lights to maintain network timing consistency.

10. The intelligent traffic light control method for replacing mobile traffic lights according to claim 7, characterized in that, The charging process in step S5 adopts a three-stage management, including trickle charging, constant current charging and float charging stages, and automatically stops when the battery voltage reaches a preset threshold to optimize battery life.