TWI797468B - Control system and method for traffic signal light - Google Patents

Control system and method for traffic signal light Download PDF

Info

Publication number
TWI797468B
TWI797468B TW109126191A TW109126191A TWI797468B TW I797468 B TWI797468 B TW I797468B TW 109126191 A TW109126191 A TW 109126191A TW 109126191 A TW109126191 A TW 109126191A TW I797468 B TWI797468 B TW I797468B
Authority
TW
Taiwan
Prior art keywords
image
artificial intelligence
control system
lane
turn lane
Prior art date
Application number
TW109126191A
Other languages
Chinese (zh)
Other versions
TW202141444A (en
Inventor
卓訓榮
陳泓勳
吳易蓉
Original Assignee
義碩智能股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 義碩智能股份有限公司 filed Critical 義碩智能股份有限公司
Priority to CN202010796121.7A priority Critical patent/CN112071093A/en
Priority to US17/037,317 priority patent/US11776259B2/en
Publication of TW202141444A publication Critical patent/TW202141444A/en
Application granted granted Critical
Publication of TWI797468B publication Critical patent/TWI797468B/en
Priority to US18/364,251 priority patent/US20230377332A1/en

Links

Images

Abstract

An control method for a traffic signal light includes: obtaining an image at a preset time point before a red light is turned off, wherein there is at least one car stopped by the red light in the image; determining a time length according to the image, wherein the time length is generated by an artificial intelligence algorithm; controlling a green light according to the time length.

Description

交通號誌燈的控制系統及方法Traffic light control system and method

本發明是有關一種交通號誌燈的控制系統及方法,特別是關於一種利用人工智慧控制交通號誌燈的控制系統及方法。The present invention relates to a control system and method for traffic signal lamps, in particular to a control system and method for controlling traffic signal lamps using artificial intelligence.

大部分的路口都會設置交通號誌燈來控制車輛行進或停止。傳統交通號誌燈的紅綠燈時間是按經驗設定的,紅綠燈時間不會根據車流量(traffic flow)即時調整。因此,在車流量增加時,可能出現綠燈時間長度不足,無法有效地紓解車流量,導致交通壅塞。為了解決交通壅塞問題,傳統的方式是由交通警察在現場進行指揮,或是讓監視人員透過設置在路口的攝影機所拍攝的影像遠端控制交通號誌燈。Most of the intersections will be provided with traffic lights to control vehicles to move forward or stop. The traffic light time of traditional traffic lights is set according to experience, and the traffic light time will not be adjusted in real time according to the traffic flow. Therefore, when the traffic flow increases, the length of the green light may not be long enough to effectively relieve the traffic flow, resulting in traffic congestion. In order to solve the traffic congestion problem, the traditional way is to command the traffic police on the spot, or let the surveillance personnel remotely control the traffic lights through the images captured by the cameras installed at the intersections.

然而,透過人力來控制交通號誌燈,需要非常大量的人員,而且人員也難以進行長時間不間斷的指揮或監視。However, controlling traffic lights by manpower requires a very large number of personnel, and it is difficult for personnel to conduct uninterrupted command or monitoring for a long time.

本發明的目的之一,在於提出一種交通號誌燈的控制系統及方法。One of the objectives of the present invention is to provide a control system and method for traffic lights.

本發明的目的之一,在於提出一種可依據車流量即時控制綠燈的控制系統及方法。One of the objectives of the present invention is to provide a control system and method that can instantly control the green light according to the traffic flow.

根據本發明,一種交通號誌燈的控制方法,包括下列步驟:在該交通號誌燈的紅燈結束前的一預設時間點,獲取一影像,其中該影像包含停等該紅燈的至少一車輛;根據該影像決定一時間長度,其中該時間長度是透過一人工智慧演算法來產生;以及根據該時間長度控制該交通號誌燈的綠燈。According to the present invention, a traffic signal light control method includes the following steps: acquiring an image at a preset time point before the end of the red light of the traffic signal light, wherein the image includes at least A vehicle; a time length is determined according to the image, wherein the time length is generated through an artificial intelligence algorithm; and a green light of the traffic signal light is controlled according to the time length.

根據本發明,一種交通號誌燈的控制系統包括一攝影機及一人工智慧裝置.該攝影機在該交通號誌燈的紅燈結束前的一預設時間點,拍攝一影像,其中該影像包含停等該紅燈的至少一車輛。該人工智慧裝置以有線或無線方式連接該攝影機,該人工智慧裝置包含一人工智慧演算法用以根據該影像決定一時間長度用於控制該交通號誌燈的綠燈。According to the present invention, a traffic light control system includes a camera and an artificial intelligence device. The camera shoots an image at a preset time point before the end of the red light of the traffic signal, wherein the image includes at least one vehicle waiting for the red light. The artificial intelligence device is connected to the camera in a wired or wireless manner, and the artificial intelligence device includes an artificial intelligence algorithm for determining a time length for controlling the green light of the traffic signal light according to the image.

本發明的控制系統及方法可以根據當前的車流量即時調整綠燈的時間,故可以有效的紓解車流量,解決交通壅塞問題。The control system and method of the present invention can adjust the time of the green light in real time according to the current traffic flow, so it can effectively relieve the traffic flow and solve the problem of traffic congestion.

圖1顯示本發明之交通號誌之控制的應用的示意圖。本發明的控制系統10利用人工智慧(artificial intelligence; AI)控制設置在一路口的交通號誌燈12。交通號誌燈12包括一紅燈122、一黃燈124及一綠燈126。在一實施例中,交通號誌燈12也可以有兩個以上的綠燈,例如增加一指示左轉的綠燈或一指示右轉的綠燈。參照圖1,控制系統10內的各個元件可以與交通號誌燈12設置在同一支架上,但並不以此為限。控制系統10包含一攝影機102以及一人工智慧裝置104。攝影機102是用以拍攝該路口,以獲得該路口的影片,該影片是由多張連續影像(image)構成。在一實施例中,該攝影機102為魚眼攝影機。攝影機102所拍攝的範圍至少包括該交通號誌燈12之前的一段道路,該道路可能包括一個或多個車道。在交通號誌燈12的紅燈122點亮時,各式的車輛會在路口的停止線14前停下。此時攝影機102可以拍攝到停等紅燈122的至少一車輛(vehicle)的影片。在此所述的車輛包括各種交通工具,例如汽車及機車。攝影機102在紅燈122結束前的一個預設時間點t,例如在紅燈122結束前3秒,拍攝一影像A。攝影機102將影像A(如圖2所示)以有線或無線方式傳送給人工智慧裝置104。在另一實施例中,攝影機102可將影片傳送至人工智慧裝置104,而人工智慧裝置104從多張連續影像中獲取在預設時間點t所拍攝的影像A。人工智慧裝置104以有線或無線方式連接交通號誌燈12。人工智慧裝置104根據影像A決定一時間長度T,該時間長度T被用於控制綠燈126的點亮時間。時間長度T是一預估值。在圖1的實施例中,時間長度T代表的是人工智慧裝置104預估在紅燈122轉換為綠燈126後,影像A中至少一車道上的所有車輛全部通過停止線14所需要的時間,但本發明的時間長度T並不限於所有車輛通過停止線14的時間。在一實施例中,該人工智慧裝置104根據該時間長度T控制該綠燈126。該另一實施例中,該人工智慧控制裝置104將該時間長度T傳送至遠端的伺服器,該伺服器根據該時間長度T產生時制計畫以控制綠燈126。FIG. 1 shows a schematic diagram of the application of traffic signal control of the present invention. The control system 10 of the present invention utilizes artificial intelligence (AI) to control the traffic lights 12 arranged at the intersection. The traffic signal light 12 includes a red light 122 , a yellow light 124 and a green light 126 . In an embodiment, the traffic signal light 12 may also have more than two green lights, for example, a green light indicating a left turn or a green light indicating a right turn are added. Referring to FIG. 1 , various components in the control system 10 can be arranged on the same bracket as the traffic signal light 12 , but it is not limited thereto. The control system 10 includes a camera 102 and an artificial intelligence device 104 . The camera 102 is used to shoot the intersection to obtain a video of the intersection, and the video is composed of a plurality of continuous images. In one embodiment, the camera 102 is a fisheye camera. The range photographed by the camera 102 includes at least a section of road before the traffic signal light 12 , and the road may include one or more lanes. When the red light 122 of the traffic signal lamp 12 was on, various vehicles would stop before the stop line 14 of the crossing. At this moment, the video camera 102 can capture a video of at least one vehicle (vehicle) that stops at the red light 122 . Vehicles mentioned herein include various means of transportation, such as automobiles and motorcycles. The camera 102 shoots an image A at a preset time point t before the end of the red light 122 , for example, 3 seconds before the end of the red light 122 . The camera 102 transmits the image A (as shown in FIG. 2 ) to the artificial intelligence device 104 in a wired or wireless manner. In another embodiment, the camera 102 may transmit the video to the artificial intelligence device 104, and the artificial intelligence device 104 obtains the image A shot at the preset time point t from a plurality of continuous images. The artificial intelligence device 104 is connected to the traffic signal lamp 12 in a wired or wireless manner. The artificial intelligence device 104 determines a time length T according to the image A, and the time length T is used to control the lighting time of the green light 126 . The length of time T is an estimated value. In the embodiment of FIG. 1 , the time length T represents the time required by the artificial intelligence device 104 to pass the stop line 14 for all the vehicles in at least one lane in the image A after the red light 122 changes to the green light 126 , But the time length T of the present invention is not limited to the time when all vehicles pass the stop line 14 . In one embodiment, the artificial intelligence device 104 controls the green light 126 according to the time length T. In another embodiment, the artificial intelligence control device 104 transmits the time length T to a remote server, and the server generates a timing plan according to the time length T to control the green light 126 .

從以上說明可以了解,本發明提出一種交通號誌燈的控制方法係如圖3所示。參照圖1及圖3,本發明的控制方法是在紅燈122結束前的一預設時間點t,獲取一影像A,如步驟S10所示,影像A包含至少一車道上停等紅燈122的至少一車輛。在一實施例中,可以利用攝影機102在該預設時間點t進行拍攝以獲取該影像A,攝影機102再將該影像A以有線或無線方式傳送給人工智慧裝置104。在另一實施例中,攝影機102拍攝多張連續影像以產生一影片,攝影機102將該影片傳送至人工智慧裝置104,再由人工智慧裝置104從多張連續影像中獲取在預設時間點t所拍攝的該影像A。在獲得影像A後接著進行步驟S12,本發明將根據影像A決定一時間長度T,其中該時間長度T是透過人工智慧裝置104中的人工智慧演算法來產生。在一實施例中,時間長度T代表的是人工智慧裝置104預估在紅燈122轉換為綠燈126後,影像A中至少一車道上的所有車輛全部通過停止線14所需要的時間。最後,本發明根據該時間長度T控制該綠燈126,如步驟S14所示。在一實施例中,人工智慧裝置104根據該時間長度T控制該綠燈126。該另一實施例中,該人工智慧控制裝置104將該時間長度T傳送至遠端的伺服器,該伺服器根據該時間長度T產生時制計畫以控制綠燈126。It can be understood from the above description that the present invention proposes a traffic signal control method as shown in FIG. 3 . Referring to Fig. 1 and Fig. 3, the control method of the present invention is to acquire an image A at a preset time point t before the end of the red light 122, as shown in step S10, the image A includes at least one lane to stop and wait for the red light 122 at least one vehicle. In one embodiment, the camera 102 may be used to capture the image A at the preset time point t, and the camera 102 transmits the image A to the artificial intelligence device 104 in a wired or wireless manner. In another embodiment, the camera 102 shoots a plurality of continuous images to generate a movie, the camera 102 transmits the movie to the artificial intelligence device 104, and then the artificial intelligence device 104 acquires The captured image A. After the image A is obtained, proceed to step S12. The present invention determines a time length T according to the image A, wherein the time length T is generated through an artificial intelligence algorithm in the artificial intelligence device 104 . In one embodiment, the time length T represents the estimated time required by the artificial intelligence device 104 for all vehicles in at least one lane in the image A to pass the stop line 14 after the red light 122 changes to the green light 126 . Finally, the present invention controls the green light 126 according to the time length T, as shown in step S14. In one embodiment, the artificial intelligence device 104 controls the green light 126 according to the time length T. In another embodiment, the artificial intelligence control device 104 transmits the time length T to a remote server, and the server generates a timing plan according to the time length T to control the green light 126 .

圖4顯示圖1中人工智慧裝置104的第一實施例,其包括一人工智慧(AI)演算法1042及一控制器1044,其中AI演算法1042可以用硬體電路或軟體來實現。圖5顯示圖4的人工智慧裝置104的操作實施例,圖5中的步驟S121及S141分別對應圖3中的步驟S12及S14。參照圖4及圖5,人工智慧裝置104獲得影像A後,人工智慧裝置104內的AI演算法1042可以根據影像A產生時間長度T,如步驟S121所示。AI演算法1042可以是但不限於卷積神經網路(Convolutional Neural Network; CNN),CNN包括特徵萃取(feature extraction)部分及回歸(regression)部分,該特徵萃取部分用以從影像中萃取出特徵產生一特徵資訊,該回歸部分根據該特徵資訊產生一時間長度T。控制器1044控制綠燈126點亮的時間長度。在圖4的實施例中,控制器1044接收該時間長度T,並且根據時間長度T產生一控制信號Sc給交通號誌燈12,以控制綠燈126點亮的時間長度,如圖5的步驟S141所示。FIG. 4 shows a first embodiment of the artificial intelligence device 104 in FIG. 1, which includes an artificial intelligence (AI) algorithm 1042 and a controller 1044, wherein the AI algorithm 1042 can be implemented by hardware circuits or software. FIG. 5 shows an operation example of the artificial intelligence device 104 in FIG. 4 , and steps S121 and S141 in FIG. 5 correspond to steps S12 and S14 in FIG. 3 , respectively. Referring to FIG. 4 and FIG. 5 , after the artificial intelligence device 104 obtains the image A, the AI algorithm 1042 in the artificial intelligence device 104 can generate a time length T according to the image A, as shown in step S121 . The AI algorithm 1042 can be, but not limited to, a convolutional neural network (Convolutional Neural Network; CNN). CNN includes a feature extraction (feature extraction) part and a regression (regression) part, and the feature extraction part is used to extract features from images. A characteristic information is generated, and the regression part generates a time length T according to the characteristic information. The controller 1044 controls the length of time that the green light 126 is on. In the embodiment of FIG. 4, the controller 1044 receives the time length T, and generates a control signal Sc to the traffic signal light 12 according to the time length T, so as to control the time length of the green light 126, as shown in step S141 of FIG. 5 shown.

圖6顯示圖1中人工智慧裝置104的第二實施例,其除了AI演算法1042及控制器1044之外,還包括一影像處理電路1046在攝影機102及AI演算法1042之間。圖7顯示圖6的人工智慧裝置104的第一操作實施例。圖7的步驟S122及S123的組合可以被理解為是圖3的步驟S12的一個實施例,圖7的步驟S141是對應圖3中的步驟S14。參照圖6及圖7,人工智慧裝置104獲得影像A後先進行步驟S122。在步驟S122中,影像處理電路1046先對影像A進行預處理,該預處理包括將影像A中的所有車輛進行分類及標示(label)產生一第一標示影像B(如圖2所示)。影像處理電路1046可以使用但不限於電腦視覺(computer vision)演算法或人工智慧視覺偵測(AI vision detection)演算法來對影像A中的至少一車輛進行分類及標示。在一實施例中,對車輛進行分類的方式包括以車輛種類進行分類,例如分成大客車、轎車、機車及貨車等。在一實施例中,可以將影像A中的車輛以不同顏色的標示框來標示,例如,如圖2所示,轎車以綠色標示框16來標示,機車以藍色標示框18來標示,大客車及貨車以紅色標示框20來標示。接著執行步驟S123利用AI演算法1042對第一標示影像B進行分析產生時間長度T。不同種類的車輛從綠燈126點亮到開始移動的反應時間不同,一般而言,機車的反應時間較快,而大客車及貨車的反應時間較慢,故在大客車或貨車後方的車輛可能需要更多時間才能通過停止線14或路口。本發明的AI演算法1042根據標示影像B中不同種類的車輛之間的位置關係預估所有車輛通過停止線14所需的時間長度T。最後控制器1044再根據時間長度T產生一控制信號Sc給交通號誌燈12,以控制綠燈126點亮的時間長度,如步驟S141所示。FIG. 6 shows a second embodiment of the artificial intelligence device 104 in FIG. 1 , which includes an image processing circuit 1046 between the camera 102 and the AI algorithm 1042 in addition to the AI algorithm 1042 and the controller 1044 . FIG. 7 shows a first operational embodiment of the artificial intelligence device 104 of FIG. 6 . The combination of steps S122 and S123 in FIG. 7 can be understood as an embodiment of step S12 in FIG. 3 , and step S141 in FIG. 7 corresponds to step S14 in FIG. 3 . Referring to FIG. 6 and FIG. 7 , after the artificial intelligence device 104 obtains the image A, it first proceeds to step S122 . In step S122 , the image processing circuit 1046 performs preprocessing on the image A. The preprocessing includes classifying and labeling all the vehicles in the image A to generate a first labeled image B (as shown in FIG. 2 ). The image processing circuit 1046 can use but not limited to a computer vision algorithm or an artificial intelligence vision detection (AI vision detection) algorithm to classify and label at least one vehicle in the image A. In one embodiment, the manner of classifying the vehicles includes classifying the vehicles by vehicle types, such as buses, cars, locomotives, and trucks. In one embodiment, the vehicles in the image A can be marked with different colored marking frames. For example, as shown in FIG. Passenger cars and trucks are marked with a red marking frame 20 . Next, step S123 is executed by using the AI algorithm 1042 to analyze the first marker image B to generate a time length T. Different types of vehicles have different reaction times from when the green light 126 is turned on to when they start to move. Generally speaking, the reaction time of a locomotive is faster, while that of a bus and a truck is slower, so vehicles behind the bus or truck may need to More time to pass stop line 14 or intersection. The AI algorithm 1042 of the present invention estimates the time length T required for all vehicles to pass the stop line 14 according to the positional relationship between different types of vehicles in the marked image B. Finally, the controller 1044 generates a control signal Sc to the traffic signal light 12 according to the time length T, so as to control the time length of the green light 126 being on, as shown in step S141.

圖8顯示圖6的人工智慧裝置104的第二操作實施例,圖8的步驟S122、S124及S125的組合可以被理解為圖3的步驟S12的另一實施例,圖8的步驟S141是對應圖3中的步驟S14。參照圖6及圖8,人工智慧裝置104獲得影像A後,影像處理裝置1046先對影像A進行預處理,如步驟S121及S124所示。具體而言,影像處理裝置1046先將影像A中的所有車輛進行分類及標示產生一第一標示影像B,如步驟S122所示。之後,為了防止車輛以外的物件(例如圖1所示的路標22、路燈24、路樹26及建築物28等)影響判斷,影像處理電路1046忽略第一標示影像B中車輛以外的物件以產生一第二標示影像C,如步驟S124所示。在圖2的實施例中,第二標示影像C具有黑色背景,並以不同顏色的色塊表示不同種類的車輛,例如轎車以綠色色塊30來標示,機車以藍色色塊32來標示,大客車及貨車以紅色色塊34來標示。本發明的第二標示影像C並不限於圖2所示的實施例。接著執行步驟S125使用AI演算法1042對第二標示影像C進行分析產生時間長度T。同樣的,本發明的AI演算法1042可以根據第二標示影像C中不同種類的車輛之間的位置關係預估一時間長度T。最後控制器1044再根據時間長度T產生控制信號Sc給交通號誌燈12,以控制綠燈126點亮的時間長度,如步驟S141所示。Fig. 8 shows the second operation embodiment of the artificial intelligence device 104 of Fig. 6, the combination of steps S122, S124 and S125 of Fig. 8 can be understood as another embodiment of step S12 of Fig. 3, and step S141 of Fig. 8 is corresponding Step S14 in FIG. 3 . Referring to FIG. 6 and FIG. 8 , after the artificial intelligence device 104 obtains the image A, the image processing device 1046 first performs preprocessing on the image A, as shown in steps S121 and S124 . Specifically, the image processing device 1046 first classifies and labels all the vehicles in the image A to generate a first labeled image B, as shown in step S122 . Afterwards, in order to prevent objects other than vehicles (such as road signs 22, street lamps 24, road trees 26, buildings 28, etc. shown in FIG. A second logo image C, as shown in step S124. In the embodiment of FIG. 2 , the second marking image C has a black background, and different types of vehicles are represented by color blocks of different colors, for example, cars are marked by green color blocks 30 , locomotives are marked by blue color blocks 32 , and Passenger cars and trucks are marked with red color blocks 34 . The second marker image C of the present invention is not limited to the embodiment shown in FIG. 2 . Next, step S125 is executed to use the AI algorithm 1042 to analyze the second marker image C to generate a time length T. Likewise, the AI algorithm 1042 of the present invention can estimate a time length T according to the positional relationship between different types of vehicles in the second marker image C. Finally, the controller 1044 generates a control signal Sc to the traffic signal light 12 according to the time length T, so as to control the time length of the green light 126 being on, as shown in step S141.

圖4及圖6中的人工智慧裝置104的AI演算法1042需要預先進行訓練以獲得預估一時間長度T的能力。在訓練的方法包括準備許多不同的影像I,這些影像I可以是在例如圖1所示的路口拍攝。這些影像I是在不同時間點拍攝,並且每一張影像I都是在紅燈122結束前的預設時間點t拍攝。另一方面,還需要計算每一個影像I中所有車輛通過靜止線14所需的實際時間Tr。這些影像I以及其分別對應的實際時間Tr被提供給一訓練程式Pt。該訓練程式Pt具有與AI演算法1042相同的模型架構,例如CNN架構。訓練程式Pt根據這些影像I及其對應的實際時間Tr,獲得一組係數用於預估時間長度T。AI演算法1042利用該組係數進行運作以解析影像A,並預估影像A中所有車輛通過所需的時間長度T。上述訓練的過程,可以被理解為讓訓練程式Pt學習根據影像預估需要多少時間讓影像中的車輛通過靜止線14。而經由上述的訓練過程,AI演算法1042便具有能力能根據影像A預估一時間長度T。The AI algorithm 1042 of the artificial intelligence device 104 in FIG. 4 and FIG. 6 needs to be trained in advance to obtain the ability to estimate a time length T. The training method includes preparing many different images I, which may be taken at intersections such as those shown in FIG. 1 . These images I are shot at different time points, and each image I is shot at a preset time point t before the end of the red light 122 . On the other hand, it is also necessary to calculate the actual time Tr required for all the vehicles in each image I to pass the stationary line 14 . These images I and their corresponding actual times Tr are provided to a training program Pt. The training program Pt has the same model architecture as the AI algorithm 1042, such as CNN architecture. The training program Pt obtains a set of coefficients for estimating the time length T according to the images I and the corresponding actual time Tr. The AI algorithm 1042 uses the set of coefficients to analyze the image A and estimate the time T required for all the vehicles in the image A to pass through. The above-mentioned training process can be understood as allowing the training program Pt to learn how long it will take to let the vehicle in the image pass the stationary line 14 according to the image estimation. And through the above training process, the AI algorithm 1042 has the ability to estimate a time length T according to the image A.

在不同的實施例中,交通號誌燈12可能還包括右轉燈號126”及左轉燈號126’,並且交通號誌燈12所在的道路除了直行車道40外,還包括左轉車道42及右轉車道44,如圖9所示。根據本發明,可以將攝影機12拍攝的影像A區分成直行車道40的影像Ad、左轉車道42的影像Al以及右轉車道44的影像Ar,即本發明可從影像A中取得直行車道的影像Ad、左轉車道的影像Al及/或右轉車道的影像Ar。在一實施例中,人工智慧裝置104係藉由偵測影像A中道路上的箭頭402、422及442而識別出不同行進方向的車道。一般來說,左轉車道42會標示有代表左轉的箭頭422,右轉車道44會標示有代表右轉的箭頭442,直行車道40則會標示有代表直行的箭頭402。AI演算法1042根據影像Ad產生時間長度T1以控制綠燈,根據影像Al產生時間長度T2以控制左轉燈,以及根據影像Ar產生時間長度T3以控制右轉燈。針對這種情況,要訓練AI演算法1042預估時間T1,就需要提供多個直行車道的影像給訓練程式Pt。要訓練AI演算法1042預估時間T2,就需要提供多個左轉車道的影像給訓練程式Pt。要訓練AI演算法1042預估時間T3,就需要提供多個右轉轉車道的影像給訓練程式Pt。其餘的細節與前述訓練過程近似,在此不贅述。In different embodiments, the traffic signal 12 may also include a right-turn signal 126 ″ and a left-turn signal 126 ′, and the road where the traffic signal 12 is located includes a left-turn lane 42 in addition to the straight lane 40 and the right-turn lane 44, as shown in Figure 9. According to the present invention, the image A shot by the camera 12 can be divided into the image Ad of the straight lane 40, the image Al of the left-turn lane 42 and the image Ar of the right-turn lane 44, that is The present invention can obtain the image Ad of the through lane, the image Al of the left-turn lane and/or the image Ar of the right-turn lane from the image A. In one embodiment, the artificial intelligence device 104 detects the road in the image A Arrows 402, 422 and 442 of the arrows 402 and 442 to identify lanes in different directions of travel. Generally speaking, the left-turn lane 42 will be marked with an arrow 422 representing a left turn, and the right-turn lane 44 will be marked with an arrow 442 representing a right turn. 40 will be marked with an arrow 402 representing going straight. The AI algorithm 1042 generates a time length T1 according to the image Ad to control the green light, generates a time length T2 according to the image Al to control the left turn light, and generates a time length T3 according to the image Ar to control the right turn light. Turn lights. In view of this situation, to train the AI algorithm 1042 to estimate the time T1, it is necessary to provide multiple images of the through lanes to the training program Pt. To train the AI algorithm 1042 to estimate the time T2, it is necessary to provide multiple images of the left and right lanes. The images of the turning lanes are provided to the training program Pt. To train the AI algorithm 1042 to estimate the time T3, it is necessary to provide multiple images of the right-turning lanes to the training program Pt. The rest of the details are similar to the aforementioned training process and will not be repeated here.

在圖4及圖6的實施例中,控制器1044是設置在人工智慧裝置104中,控制器1044可以是一台電腦,也可以是一硬體電路用於控制交通號誌燈12。在不同的實施例中,控制器1044也可以設置在控制系統10的外部,例如控制器1044可以一遠端的交通控制中心(Traffic Control Center)(圖中未示)中。在此情況下,控制系統10將時間長度T以有線或無線方式傳送至遠端行控中心的控制器1044,再由控制器1044根據時間長度T產生控制信號Sc經由有線或無線網路控制綠燈126的點亮時間。In the embodiment shown in FIG. 4 and FIG. 6 , the controller 1044 is set in the artificial intelligence device 104 , and the controller 1044 may be a computer or a hardware circuit for controlling the traffic signal lamp 12 . In different embodiments, the controller 1044 can also be set outside the control system 10, for example, the controller 1044 can be located in a remote traffic control center (Traffic Control Center) (not shown in the figure). In this case, the control system 10 transmits the time length T to the controller 1044 of the remote control center in a wired or wireless manner, and then the controller 1044 generates a control signal Sc according to the time length T to control the green light via a wired or wireless network 126 lighting hours.

以上對於本發明之較佳實施例所作的敘述係為闡明之目的,而無意限定本發明精確地為所揭露的形式,基於以上的教導或從本發明的實施例學習而作修改或變化是可能的,實施例係為解說本發明的原理以及讓熟習該項技術者以各種實施例利用本發明在實際應用上而選擇及敘述,本發明的技術思想企圖由之後的申請專利範圍及其均等來決定。The above descriptions of the preferred embodiments of the present invention are for the purpose of illustration, and are not intended to limit the present invention to the disclosed form. It is possible to modify or change based on the above teachings or learning from the embodiments of the present invention. The embodiment is selected and described in order to explain the principle of the present invention and to allow those familiar with the art to use the present invention in various embodiments for practical application. Decide.

10:人工智慧控制裝置 102:攝影機 104:人工智慧裝置 1042:人工智慧演算法 1044:控制器 1046:影像處理電路 12:交通號誌燈 122:紅燈 124:黃燈 126:綠燈 126’:左轉燈號 126”:右轉燈號 14:停止線 16:綠色標示框 18:藍色標示框 20:紅色標示框 22:路標 24:路燈 26:路樹 28:建築物 30:綠色色塊 32:藍色色塊 34:紅色色塊 40:直行車道 402:箭頭 42:左轉車道 422:箭頭 44:右轉車道 442:箭頭 A:影像 B:第一標示影像 C:第二標示影像10: Artificial intelligence control device 102: camera 104: Artificial intelligence device 1042: Artificial intelligence algorithm 1044: Controller 1046: Image processing circuit 12:Traffic lights 122: red light 124: yellow light 126: green light 126': left turn signal 126": right turn signal 14: Stop line 16: Green label box 18: blue label box 20: Red label box 22: Road sign 24: street lights 26: road tree 28: Buildings 30: green color block 32: blue color block 34: red color block 40: Straight lane 402: arrow 42: Left turn lane 422: arrow 44: Right turn lane 442: arrow A: Image B: The first logo image C: Second logo image

圖1顯示本發明之控制系統的應用的示意圖。 圖2顯示本發明對影像進行處理的實施例。 圖3顯示本發明的控制方法的實施例。 圖4顯示圖1中人工智慧裝置的第一實施例。 圖5顯示圖4的人工智慧裝置的操作步驟。 圖6顯示圖1中人工智慧裝置的第二實施例。 圖7顯示圖6的人工智慧裝置的第一操作實施例。 圖8顯示圖6的人工智慧裝置的第二操作實施例。 圖9顯示本發明之控制系統應用在具有多個車道的道路的示意圖。Fig. 1 shows a schematic diagram of the application of the control system of the present invention. FIG. 2 shows an embodiment of image processing in the present invention. Fig. 3 shows an embodiment of the control method of the present invention. FIG. 4 shows a first embodiment of the artificial intelligence device in FIG. 1 . FIG. 5 shows the operation steps of the artificial intelligence device in FIG. 4 . FIG. 6 shows a second embodiment of the artificial intelligence device in FIG. 1 . FIG. 7 shows a first operational embodiment of the artificial intelligence device of FIG. 6 . FIG. 8 shows a second operational embodiment of the artificial intelligence device of FIG. 6 . FIG. 9 shows a schematic diagram of the control system of the present invention applied to a road with multiple lanes.

10:人工智慧控制裝置10: Artificial intelligence control device

102:攝影機102: camera

104:人工智慧裝置104: Artificial intelligence device

12:交通號誌燈12:Traffic lights

122:紅燈122: red light

124:黃燈124: yellow light

126:綠燈126: green light

14:停止線14: Stop line

16:綠色標示框16: Green label box

18:藍色標示框18: blue label box

20:紅色標示框20: Red label box

22:路標22: Road sign

24:路燈24: street lights

26:路樹26: road tree

28:建築物28: Buildings

Claims (18)

一種交通號誌燈的控制方法,該交通號誌燈包含一紅燈及一綠燈,該方法包括下列步驟:A.在該紅燈結束前的一預設時間點,獲取一影像,其中該影像包含停等該紅燈的至少一車輛;B.根據該影像中不同種類的車輛之間的位置關係決定一時間長度,其中該時間長度是透過一人工智慧演算法來產生;以及C.根據該時間長度控制該綠燈。 A control method of a traffic signal light, the traffic signal light includes a red light and a green light, the method comprises the following steps: A. acquiring an image at a preset time point before the end of the red light, wherein the image including at least one vehicle waiting for the red light; B. determining a length of time according to the positional relationship between different types of vehicles in the image, wherein the length of time is generated through an artificial intelligence algorithm; and C. according to the The length of time controls this green light. 如請求項1的控制方法,其中該人工智慧演算法係以卷積神經網路來實現。 As the control method of claim 1, wherein the artificial intelligence algorithm is realized by a convolutional neural network. 如請求項1的控制方法,其中該步驟B更包括對該影像進行預處理,該預處理包括將該影像中的該至少一車輛進行分類及標示。 The control method according to claim 1, wherein the step B further includes preprocessing the image, and the preprocessing includes classifying and labeling the at least one vehicle in the image. 如請求項3的控制方法,其中預處理更包括以不同顏色的色塊表示被標示的不同類型的車輛。 The control method according to claim 3, wherein the preprocessing further includes representing marked vehicles of different types with color blocks of different colors. 如請求項3或4的控制方法,其中該將該影像中的該至少一車輛進行分類及標示的步驟包括使用電腦視覺演算法或人工智慧視覺偵測演算法來實現。 The control method according to claim 3 or 4, wherein the step of classifying and marking the at least one vehicle in the image includes using a computer vision algorithm or an artificial intelligence visual detection algorithm. 如請求項1的控制方法,其中該步驟A包括:獲取一路口的一影片;以及根據該影片中的多張連續影像獲取在該預設時間點時所拍攝的該影像。 The control method according to claim 1, wherein the step A includes: acquiring a video of an intersection; and acquiring the image shot at the preset time point according to a plurality of consecutive images in the video. 如請求項1的控制方法,其中該影像包括直行車道、左轉車道及/或右轉車道的影像。 The control method according to claim 1, wherein the image includes images of a through lane, a left-turn lane and/or a right-turn lane. 如請求項7的控制方法,更包括偵測該影像中道路上的箭頭從該 影像中取得該直行車道的影像、該右轉車道的影像或該左轉車道的影像。 As the control method of claim item 7, it further includes detecting the arrow on the road in the image from the The image of the through lane, the image of the right-turn lane or the image of the left-turn lane is obtained from the image. 如請求項8的控制方法,其中該步驟B更包括根據該直行車道的影像、該右轉車道的影像或該左轉車道的影像決定該時間長度。 The control method according to claim 8, wherein the step B further includes determining the time length according to the image of the through lane, the image of the right-turn lane or the image of the left-turn lane. 一種交通號誌燈的控制系統,該交通號誌燈包含一紅燈及一綠燈,該控制系統包括:一攝影機,在該紅燈結束前的一預設時間點,拍攝一影像,其中該影像包含停等該紅燈的至少一車輛;以及一人工智慧裝置,以有線或無線方式連接該攝影機,該人工智慧裝置包含一人工智慧演算法用以根據該影像中不同種類的車輛之間的位置關係決定一時間長度用於控制該綠燈。 A traffic signal light control system, the traffic signal light includes a red light and a green light, the control system includes: a camera, at a preset time point before the end of the red light, shoots an image, wherein the image Including at least one vehicle waiting for the red light; and an artificial intelligence device connected to the camera in a wired or wireless manner, the artificial intelligence device includes an artificial intelligence algorithm for determining the position between different types of vehicles in the image The relationship determines a length of time for controlling the green light. 如請求項10的控制系統,其中該人工智慧演算法是以卷積神經網路來實現。 The control system according to claim 10, wherein the artificial intelligence algorithm is realized by a convolutional neural network. 如請求項10的控制系統,其中該人工智慧裝置更包括一影像處理電路連接該攝影機用以對該影像進行預處理,該預處理包括對該影像中的該至少一車輛進行分類及標示。 The control system according to claim 10, wherein the artificial intelligence device further includes an image processing circuit connected to the camera for preprocessing the image, and the preprocessing includes classifying and labeling the at least one vehicle in the image. 如請求項12的控制系統,其中該影像處理電路更以不同顏色的色塊表示被標示的不同類型的車輛。 The control system according to claim 12, wherein the image processing circuit further uses color blocks of different colors to indicate different types of marked vehicles. 如請求項12或13的控制系統,其中該影像處理電路包括一電腦視覺演算法或一人工智慧視覺偵測演算法用以對該至少一車輛進行分類及標示。 The control system according to claim 12 or 13, wherein the image processing circuit includes a computer vision algorithm or an artificial intelligence visual detection algorithm for classifying and marking the at least one vehicle. 如請求項10的控制系統,其中該攝影機獲取一路口的一影片,該人工智慧裝置由該影片獲得在該預設時間點的該影像。 The control system according to claim 10, wherein the camera obtains a video of an intersection, and the artificial intelligence device obtains the image at the preset time point from the video. 如請求項10的控制系統,其中該影像包括直行車道、左轉車道及 /或右轉車道。 Such as the control system of claim item 10, wherein the image includes the through lane, the left turn lane and /or right turn lane. 如請求項16的控制系統,其中該人工智慧裝置偵測該影像中道路上的箭頭從該影像中取得該直行車道的影像、該右轉車道的影像或該左轉車道的影像。 The control system according to claim 16, wherein the artificial intelligence device detects the arrow on the road in the image to obtain the image of the through lane, the image of the right-turn lane or the image of the left-turn lane from the image. 如請求項17的控制系統,其中該人工智慧演算法根據該直行車道的影像、該右轉車道的影像或該左轉車道的影像決定該時間長度。 The control system according to claim 17, wherein the artificial intelligence algorithm determines the time length according to the image of the through lane, the image of the right-turn lane or the image of the left-turn lane.
TW109126191A 2020-04-22 2020-08-03 Control system and method for traffic signal light TWI797468B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010796121.7A CN112071093A (en) 2020-04-22 2020-08-10 Control system and method for traffic signal lamp
US17/037,317 US11776259B2 (en) 2020-04-22 2020-09-29 Control system of traffic lights and method thereof
US18/364,251 US20230377332A1 (en) 2020-08-03 2023-08-02 Control system of traffic lights and method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202063014091P 2020-04-22 2020-04-22
US63/014,091 2020-04-22

Publications (2)

Publication Number Publication Date
TW202141444A TW202141444A (en) 2021-11-01
TWI797468B true TWI797468B (en) 2023-04-01

Family

ID=80783216

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109126191A TWI797468B (en) 2020-04-22 2020-08-03 Control system and method for traffic signal light

Country Status (1)

Country Link
TW (1) TWI797468B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI812191B (en) * 2022-04-26 2023-08-11 睿星科技股份有限公司 Artificial intelligent traffic signal controlling system, method and computer program product thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763734A (en) * 2010-01-21 2010-06-30 上海交通大学 Traffic signal light intelligent control system and control method thereof
WO2015166876A1 (en) * 2014-05-01 2015-11-05 住友電気工業株式会社 Traffic signal control device, traffic signal control method, and computer program
CN106683447A (en) * 2015-11-11 2017-05-17 中国移动通信集团公司 Method and device for controlling traffic lamps
TW201901632A (en) * 2017-05-22 2019-01-01 香港商阿里巴巴集團服務有限公司 Road traffic control system, method and electronic device
TW201913594A (en) * 2017-08-17 2019-04-01 財團法人國家實驗研究院 Image-based vehicle counting and classification system
WO2019130300A1 (en) * 2017-12-31 2019-07-04 Axilion Ltd. Method, device, and system of traffic light control utilizing virtual detectors
CN110660234A (en) * 2019-09-29 2020-01-07 柳超 Intelligent traffic light control method
CN110969845A (en) * 2019-11-19 2020-04-07 武汉理工大学 Intelligent vehicle speed control method and system based on vehicle-road cooperation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763734A (en) * 2010-01-21 2010-06-30 上海交通大学 Traffic signal light intelligent control system and control method thereof
WO2015166876A1 (en) * 2014-05-01 2015-11-05 住友電気工業株式会社 Traffic signal control device, traffic signal control method, and computer program
CN106683447A (en) * 2015-11-11 2017-05-17 中国移动通信集团公司 Method and device for controlling traffic lamps
TW201901632A (en) * 2017-05-22 2019-01-01 香港商阿里巴巴集團服務有限公司 Road traffic control system, method and electronic device
TW201913594A (en) * 2017-08-17 2019-04-01 財團法人國家實驗研究院 Image-based vehicle counting and classification system
WO2019130300A1 (en) * 2017-12-31 2019-07-04 Axilion Ltd. Method, device, and system of traffic light control utilizing virtual detectors
CN110660234A (en) * 2019-09-29 2020-01-07 柳超 Intelligent traffic light control method
CN110969845A (en) * 2019-11-19 2020-04-07 武汉理工大学 Intelligent vehicle speed control method and system based on vehicle-road cooperation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
網路文獻 吳育婷、張智華、劉宜傑 "多時相適應性號誌控制系統之發展" 中華技術 July, 2011 <http://www.ceci.org.tw/book/91/web/70-79.pdf> *

Also Published As

Publication number Publication date
TW202141444A (en) 2021-11-01

Similar Documents

Publication Publication Date Title
CN105825696B (en) Drive assist system based on signal information prompting
US8995723B2 (en) Detecting and recognizing traffic signs
CN103236178B (en) Signal lamp pattern-recognition system for prompting and method
US10351134B2 (en) Travel control device and travel control method
US20160232423A1 (en) Environmental scene condition detection
KR20180086632A (en) Apparatus amd method of determining action of an autonomous vehicle
SE537259C2 (en) Device and procedure for increased road safety in vehicle trains
CN102496285A (en) Method for determining red-light running of vehicles at intersection based on video detection and signal control system
US11745749B2 (en) Vehicular system for testing performance of object detection algorithms
TWI797468B (en) Control system and method for traffic signal light
CN107680395A (en) A kind of wireless road conditions in-car caution system and its method
CN112102609A (en) Intelligent detection system for highway vehicle violation behaviors
Nagaraj et al. Traffic jam detection using image processing
CN104228670A (en) Event data recorder of large vehicle and implementation method thereof
CN104680618B (en) A kind of drive recorder with the signal lighties for warning other vehicles and control method
US11776259B2 (en) Control system of traffic lights and method thereof
US20230377332A1 (en) Control system of traffic lights and method thereof
US20220327819A1 (en) Image processing apparatus, image processing method, and program
CN116580567A (en) Road congestion cause acquisition method, system and equipment based on intelligent traffic light
JP6151569B2 (en) Ambient environment judgment device
JPH01281600A (en) Traveling vehicle recognizing device
CN105448114B (en) A kind of intelligent transportation intersection information system
JP2019219856A (en) Periphery monitoring system
CN115482684A (en) Safe driving control method and system
JP2023546062A (en) Image processing method