# US 2025/0378757 A1 · System for controlling traffic signal and method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0378757 A1
- Document ID: US20250378757A1
- Status: Published application
- Kind: A1
- Application number: 18/794,648
- Filed: 2024-08-05
- Published: 2025-12-11
- Earliest claimed: 2024-06-07
- Assignees: Leotek Corporation
- Applicants: Leotek Corporation
- Inventors: Heng-An TZOU
- Web page: https://patentgrep.com/patent/US20250378757A1

## CPC

- G08G 1/08: according to detected number or speed of vehicles
- G06N 3/092: Reinforcement learning
- G06V 20/54: of traffic, e.g. cars on the road, trains or boats
- G08G 1/0116: {from roadside infrastructure, e.g. beacons}
- G08G 1/0145: {for active traffic flow control}
- G08G 1/04: using optical or ultrasonic detectors
- G08G 1/095: Traffic lights
- G06V 2201/08: Detecting or categorising vehicles
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method for controlling traffic signal provided by the present disclosure, comprises: obtaining an intersection image; identifying types of multiple objects in the intersection image; counting the types of the multiple objects, to generate at least one vehicle position layer, a pedestrian layer and an object speed layer corresponding to the types of the multiple objects; encoding the foresaid multiple layers, to respectively generate multiple encodings; inputting the foresaid multiple encodings to a reinforcement learning (RL) model; and the RL model determining a phase of the traffic signal according to the input foresaid multiple encodings.

## Claims

### Claim 1

A method for controlling traffic signal, comprising:
obtaining an intersection image;
identifying types of a plurality of objects in the intersection image;
counting the types of the plurality of objects, to generate at least one vehicle position layer, a pedestrian position layer and an object speed layer, corresponding to the types of the plurality of objects, wherein the object speed layer corresponds to speeds of corresponded objects in the at least one vehicle position layer and the pedestrian position layer;
encoding the at least one vehicle position layer, the pedestrian position layer and the object speed layer, to respectively generate a vehicle position encoding, a pedestrian position encoding and an object speed encoding;
inputting the vehicle position encoding, the pedestrian position encoding and the object speed encoding to a reinforcement learning, RL, model; and
determining, by the RL model, a phase of the traffic signal according to the input of the vehicle position encoding, the pedestrian position encoding and the object speed encoding.

### Claim 2 (depends on 1)

The method of claim 1, wherein the types of the plurality of objects identified in the intersection image, include large vehicles and small vehicles, and counting the types of the plurality of objects includes counting the large vehicles and the small vehicles, to respectively generate a large vehicle position layer and a small vehicle position layer of the at least one vehicle position layer.

### Claim 3 (depends on 2)

The method of claim 2, wherein encoding the at least one vehicle position layer comprises encoding the large vehicle position layer and the small vehicle position layer are encoded, to respectively generate a large vehicle position encoding and a small vehicle position encoding,
wherein inputting the vehicle position encoding to the RL model comprises inputting the large vehicle position encoding and the small vehicle position encoding,
wherein the RL model determines a phase of the traffic signal according to the input of the large vehicle position encoding, the small vehicle position encoding, the pedestrian position encoding and the object speed encoding.

### Claim 4 (depends on 1)

The method of claim 1, wherein counting the types of the plurality of objects to the object speed layer corresponding to the types of the plurality of objects comprises using a plurality of vectors for respectively representing positions and moving speeds of a plurality of corresponded moving objects in the intersection image.

### Claim 5 (depends on 1)

The method of claim 1, wherein obtaining the intersection image comprises shooting a plurality of images by a plurality of camera units disposed on an intersection environment, and stitching the plurality of images to obtain the intersection image.

### Claim 6 (depends on 1)

The method of claim 1, wherein obtaining the intersection image comprises shooting a panoramic image by a camera unit disposed on an intersection environment, and sectioning the intersection image from the panoramic image.

### Claim 7 (depends on 1)

The method of claim 1, wherein identifying the types of the plurality of objects in the intersection image comprises, according to preset object areas, identifying the types of the plurality of objects from each object area, in the intersection image.

### Claim 8 (depends on 1)

The method of claim 1, wherein encoding the at least one vehicle position layer and the pedestrian position layer is encoding based on a plurality of positions in the at least one vehicle position layer and the pedestrian position layer corresponding to the plurality of objects.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
obtaining an updated intersection image based on a period of the phase of the traffic signal being determined;
identifying the types of the plurality of objects in the updated intersection image;
counting the types of the plurality of objects, to generate at least one updated vehicle position layer, an updated pedestrian position layer and an updated object speed layer, corresponding to the types of the plurality of objects, wherein the updated object speed layer corresponds to speeds of corresponded objects in the at least one updated vehicle position layer and the updated pedestrian position layer;
encoding the at least one updated vehicle position layer, the updated pedestrian position layer and the updated object speed layer, to respectively generate an updated vehicle position encoding, an updated pedestrian position encoding and an updated object speed encoding;
inputting the updated vehicle position encoding, the updated pedestrian position encoding and the updated object speed encoding to the RL model; and
determining, by the RL model, an updated phase of the traffic signal according to the input of the updated vehicle position encoding, the updated pedestrian position encoding and the updated object speed encoding.

### Claim 10 (depends on 9)

The method of claim 9, wherein the phase and the updated phase of the traffic signal comprise a pedestrian traffic signal phase and a vehicle traffic signal phase.

### Claim 11

A system for controlling traffic signal, comprising:
an image acquiring module, configured to obtain an intersection image;
an image analyze module, configured to identify types of a plurality of objects in the intersection image, and configured to count the types of the plurality of objects, to generate at least one vehicle position layer, a pedestrian position layer and an object speed layer, corresponding to the types of the plurality of objects, wherein the object speed layer corresponds to speeds of corresponded objects in the at least one vehicle position layer and the pedestrian position layer;
a layer encoding module, configured to encode the at least one vehicle position layer, the pedestrian position layer and the object speed layer, to respectively generate a vehicle position encoding, a pedestrian position encoding and an object speed encoding; and
a RL model, configured to receive the vehicle position encoding, the pedestrian position encoding and the object speed encoding, and configured to determine a phase of the traffic signal according to receiving of the vehicle position encoding, the pedestrian position encoding and the object speed encoding.

### Claim 12 (depends on 11)

The system of claim 11, wherein the image analyze module identifies the types of the plurality of objects in the intersection image including large vehicles and small vehicles, and counts the large vehicles and the small vehicles in the intersection image, to respectively generate a large vehicle position layer and a small vehicle position layer of the at least one vehicle position layer.

### Claim 13 (depends on 12)

The system of claim 12, wherein the layer encoding module encoding the at least one vehicle position layer, comprises encoding the large vehicle position layer and the small vehicle position layer are encoded, to respectively generate a large vehicle position encoding and a small vehicle position encoding,
wherein the RL model receiving the vehicle position encoding, comprises receiving the large vehicle position encoding and the small vehicle position encoding,
wherein the RL model determines a phase of the traffic signal according to receiving of the large vehicle position encoding, the small vehicle position encoding, the pedestrian position encoding and the object speed encoding.

### Claim 14 (depends on 11)

The system of claim 11, wherein the image analyze module counting the types of the plurality of objects to the object speed layer corresponding to the types of the plurality of objects, comprises using a plurality of vectors for respectively representing positions and moving speeds of a plurality of corresponded moving objects in the intersection image.

### Claim 15 (depends on 11)

The system of claim 11, wherein the image acquiring module obtaining the intersection image, comprises shooting a plurality of images by a plurality of camera units disposed on an intersection environment, and stitching the plurality of images to obtain the intersection image.

### Claim 16 (depends on 11)

The system of claim 11, wherein the image acquiring module obtaining the intersection image, comprises shooting a panoramic image by a camera unit disposed on an intersection environment, and sectioning the intersection image from the panoramic image.

### Claim 17 (depends on 11)

The system of claim 11, wherein the image analyze module identifying the types of the plurality of objects in the intersection image, comprises, according to preset object areas, identifying the types of the plurality of objects from each object area, in the intersection image.

### Claim 18 (depends on 11)

The system of claim 11, wherein the layer encoding module encoding the at least one vehicle position layer and the pedestrian position layer is encoding based on a plurality of positions in the at least one vehicle position layer and the pedestrian position layer corresponding to the plurality of objects.

### Claim 19 (depends on 11)

The system of claim 11, wherein the image acquiring module is configured to obtain an updated intersection image based on a period of the phase of the traffic signal being determined,
wherein the image analyze module is configured to identify the types of the plurality of objects in the updated intersection image, and is configured to count the types of the plurality of objects, to generate at least one updated vehicle position layer, an updated pedestrian position layer and an updated object speed layer, corresponding to the types of the plurality of objects, wherein the updated object speed layer corresponds to speeds of corresponded objects in the at least one updated vehicle position layer and the updated pedestrian position layer,
wherein the layer encoding module is configured to encode the at least one updated vehicle position layer, the updated pedestrian position layer and the updated object speed layer, to respectively generate an updated vehicle position encoding, an updated pedestrian position encoding and an updated object speed encoding,
wherein the RL model is configured to receive the updated vehicle position encoding, the updated pedestrian position encoding and the updated object speed encoding, and is configured to determine an updated phase of the traffic signal according to receiving of the updated vehicle position encoding, the updated pedestrian position encoding and the updated object speed encoding.

### Claim 20 (depends on 19)

The method of claim 19, wherein the phase and the updated phase of the traffic signal determined by the RL model comprise a pedestrian traffic signal phase and a vehicle traffic signal phase.
