TWI761882B - Method, track system and computer program product for determining prediction sign - Google Patents

Method, track system and computer program product for determining prediction sign Download PDF

Info

Publication number
TWI761882B
TWI761882B TW109123953A TW109123953A TWI761882B TW I761882 B TWI761882 B TW I761882B TW 109123953 A TW109123953 A TW 109123953A TW 109123953 A TW109123953 A TW 109123953A TW I761882 B TWI761882 B TW I761882B
Authority
TW
Taiwan
Prior art keywords
intersection
train
time point
time
pass
Prior art date
Application number
TW109123953A
Other languages
Chinese (zh)
Other versions
TW202205226A (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 TW109123953A priority Critical patent/TWI761882B/en
Publication of TW202205226A publication Critical patent/TW202205226A/en
Application granted granted Critical
Publication of TWI761882B publication Critical patent/TWI761882B/en

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)

Abstract

A method for determining a prediction sign includes: setting a time point of the prediction sign; determining if a train starting from a current station at the time point can pass through an intersection directly; determining if waiting time is greater than an upper limit of waiting time and times of stop are greater than an upper limit of stop times if the train cannot pass through the intersection directly; setting that the prediction sign shows “stop” if the waiting time is greater than the upper limit of waiting time and the times of stop are greater than the upper limit of stop times; setting that the prediction signs shows “go” after determining that the train can pass all intersections if the train can pass the intersection directly or the train cannot pass the intersection directly but the waiting time is less than the upper limit of waiting time and the times of stop are less than the upper limit of stop times.

Description

預告號誌判斷方法、軌道系統與電腦程式產品Forecast signal judgment method, track system and computer program product

本揭露是關於軌道系統的預告號誌判斷方法,用以指示何時可以離站且不會違反停車次數與等待時間的規定。The present disclosure relates to a method for judging a warning sign of a track system, which is used to indicate when it is possible to leave the station without violating the regulations on the number of stops and waiting time.

在一些輕軌系統中,列車的電力源自列車掛載的超級電容,當列車停靠車站時對超級電容充電,列車離站後仰賴電容供電行駛至下一車站。然而,輕軌沒有絕對路權,有時得停在路口等待列車通行時相,為避免列車電力耗盡停駛,管理單位規定各站與站間最大停等秒數與停車次數。若站與站之間行經多個路口,又離站的時間點不恰當,將使列車停等秒數或停車次數超過規定,甚至沒電停駛,嚴重影響輕軌營運。In some light rail systems, the power of the train comes from the supercapacitor mounted on the train. When the train stops at the station, the supercapacitor is charged. After the train leaves the station, it relies on the power supply from the capacitor to drive to the next station. However, the light rail has no absolute right of way, and sometimes it has to stop at the intersection and wait for the train to pass. In order to avoid the train running out of power, the management unit stipulates the maximum number of seconds and the number of stops between stations. If there are multiple intersections between the stations and the time of leaving the station is not appropriate, the train will stop waiting for seconds or stop more than the specified number of times, or even stop running without electricity, which will seriously affect the operation of the light rail.

本發明的實施例提出一種預告號誌判斷方法,適用於一軌道系統。此軌道系統包括一目前停靠站與下一停靠站,目前停靠站與下一停靠站之間具有至少一個路口,且目前停靠站具有預告號誌。預告號誌判斷方法包括:設定預告號誌的時間點;判斷列車在上述時間點從目前停靠站出發至路口時是否可以立即通過路口;如果列車無法立即通過路口,判斷等待時間是否超過等待時間上限,且判斷停車次數是否超過停車次數上限;如果等待時間超過等待時間上限或停車次數超過停車次數上限,設定預告號誌在時間點顯示不可離站;如果列車可立即通過路口,或者列車無法立即通過路口但等待時間未超過等待時間上限並且停車次數未超過停車次數上限,在判斷列車可通過所有的路口後設定預告號誌在時間點顯示可離站。The embodiment of the present invention provides a method for judging a warning sign, which is applicable to a track system. The track system includes a current stop station and a next stop station, there is at least one intersection between the current stop station and the next stop station, and the current stop station has a warning sign. The method for judging the warning sign includes: setting the time point of the warning sign; judging whether the train can immediately pass through the intersection when it departs from the current stop at the above-mentioned time point; if the train cannot pass the intersection immediately, judging whether the waiting time exceeds the upper limit of the waiting time , and judge whether the number of stops exceeds the upper limit of the number of stops; if the waiting time exceeds the upper limit of the waiting time or the number of stops exceeds the upper limit of the number of stops, set the warning sign to show that the station cannot leave the station at the time point; if the train can pass the intersection immediately, or the train cannot pass immediately At the intersection but the waiting time does not exceed the upper limit of the waiting time and the number of stops does not exceed the upper limit of the number of stops, after judging that the train can pass through all the intersections, a warning sign is set to indicate that the train can leave the station at the time point.

在一些實施例中,上述判斷列車在時間點從目前停靠站出發至路口時是否可以立即通過路口的步驟包括:將時間點加上列車行駛到路口的時間以得到第一時間點;判斷第一時間點是否小於路口的通行時相的起始時間點;以及如果第一時間點小於路口的通行時相的起始時間點,判斷列車不可立即通過路口。In some embodiments, the step of judging whether the train can immediately pass through the intersection when the train departs from the current stop at the time point to the intersection includes: adding the time point to the time when the train travels to the intersection to obtain the first time point; judging the first time point; Whether the time point is less than the starting time point of the passing phase of the intersection; and if the first time point is less than the starting time point of the passing phase of the intersection, it is judged that the train cannot pass through the intersection immediately.

在一些實施例中,上述判斷列車在時間點從目前停靠站出發至路口時是否可以立即通過路口的步驟還包括;判斷第一時間點是否小於路口的通行時相的終止時間點;以及如果第一時間大於等於路口的通行時相的終止時間點,判斷列車不可立即通過路口。In some embodiments, the above step of judging whether the train can immediately pass through the intersection when the train departs from the current stop at the time point to the intersection further includes: judging whether the first time point is less than the termination time point of the passing phase of the intersection; When the time is greater than or equal to the termination time point of the passing phase of the intersection, it is judged that the train cannot pass through the intersection immediately.

在一些實施例中,上述判斷列車在時間點從目前停靠站出發至路口時是否可以立即通過路口的步驟還包括:判斷第一時間點加上通過路口所需的時間後是否小於路口的通行時相的終止時間點,若否則判斷列車不可立即通過路口,若是則判斷列車可立即通過路口。In some embodiments, the above step of judging whether the train can immediately pass through the intersection when the train departs from the current stop station to the intersection at the time point further includes: judging whether the first time point plus the time required to pass through the intersection is less than the passing time of the intersection If not, it is judged that the train cannot pass through the intersection immediately; if so, it is judged that the train can pass through the intersection immediately.

在一些實施例中,上述判斷等待時間是否超過等待時間上限的步驟包括:如果第一時間點小於路口的通行時相的起始時間點,判斷等待時間加上等待至起始時間點所需的時間後是否大於等待時間上限;如果第一時間大於等於路口的通行時相的終止時間點,判斷等待時間加上等待至路口的下一通行時相的起始時間點後是否大於等待時間上限。In some embodiments, the above step of judging whether the waiting time exceeds the upper limit of the waiting time includes: if the first time point is less than the starting time point of the traffic phase of the intersection, judging the waiting time plus the time required to wait until the starting time point Whether the time is greater than the upper limit of the waiting time; if the first time is greater than or equal to the end time of the traffic phase at the intersection, judge whether the waiting time plus the start time of the next traffic phase waiting to the intersection is greater than the upper limit of the waiting time.

在一些實施例中,上述判斷列車可通過所有的路口的步驟包括:將時間點加上通過目前路口所需的時間以得到第二時間點;以及判斷列車在第二時間點從目前路口出發是否可通過剩餘的路口。In some embodiments, the step of judging that the train can pass through all the intersections includes: adding the time point to the time required to pass through the current intersection to obtain a second time point; and judging whether the train departs from the current intersection at the second time point Pass the remaining intersections.

以另一個角度來說,本發明的實施例提出一種軌道系統,包括列車、目前停靠站、下一停靠站與控制器。目前停靠站與下一停靠站之間具有至少一個路口。控制器通訊連接至目前停靠站的預告號誌,用以執行以下多個步驟:設定預告號誌的時間點;判斷列車在時間點從目前停靠站出發至路口時是否可以立即通過路口;如果列車無法立即通過路口,判斷等待時間是否超過等待時間上限,且判斷停車次數是否超過停車次數上限;如果等待時間超過等待時間上限或停車次數超過停車次數上限,設定預告號誌在時間點顯示不可離站;如果列車可立即通過路口,或者列車無法立即通過路口但等待時間未超過等待時間上限並且停車次數未超過停車次數上限,在判斷列車可通過所有的路口後設定預告號誌在時間點顯示可離站。From another perspective, an embodiment of the present invention provides a track system including a train, a current stop, a next stop, and a controller. There is at least one intersection between the current stop and the next stop. The controller is communicatively connected to the warning sign of the current stop to perform the following steps: setting the time point of the warning sign; judging whether the train can immediately pass through the intersection when it departs from the current stop at the time point; If you cannot pass the intersection immediately, judge whether the waiting time exceeds the upper limit of the waiting time, and judge whether the number of stops exceeds the upper limit of the number of stops; if the waiting time exceeds the upper limit of the waiting time or the number of stops exceeds the upper limit of the number of stops, the warning sign will be set to indicate that you cannot leave the station at the time point. ; If the train can pass through the intersection immediately, or the train cannot pass through the intersection immediately but the waiting time does not exceed the upper limit of the waiting time and the number of stops does not exceed the upper limit of the number of stops, set a warning sign after judging that the train can pass through all the intersections at the time point to show that it is possible to leave. stand.

以另一個角度來說,本發明的實施例提出一種電腦程式產品,用於上述的軌道系統。電腦程式產品用以被載入並執行以完成上述的預告號誌判斷方法。From another perspective, an embodiment of the present invention provides a computer program product for the above-mentioned track system. The computer program product is used to be loaded and executed to complete the above-mentioned method for judging the warning sign.

在上述的系統與方法中,可以準確地判斷列車在一時間點是否可以離站,同時符合停車次數與等待時間的限制。In the above-mentioned system and method, it can be accurately determined whether the train can leave the station at a certain point in time, and at the same time, the limit of the number of stops and the waiting time can be met.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and easy to understand, the following embodiments are given and described in detail with the accompanying drawings as follows.

關於本文中所使用之「第一」、「第二」等,並非特別指次序或順位的意思,其僅為了區別以相同技術用語描述的元件或操作。另外,關於本文中所使用之「通訊連接」,是指二個元件可透過有線或無線的方式彼此交換訊息。The terms "first", "second", etc. used in this document do not mean a particular order or order, but are only used to distinguish elements or operations described in the same technical terms. In addition, with regard to "communication connection" as used herein, it means that two components can exchange information with each other through wired or wireless means.

圖1是根據一實施例繪示軌道系統的示意圖。請參照圖1,軌道系統包括了列車110與多個站台,在此以目前停靠站120與下一停靠站130為例,目前停靠站120與下一停靠站130之間具有一或多個路口。目前停靠站120上還具有一預告號誌140,此預告號誌140可顯示至少兩個燈號141、142,其中燈號141表示“不可離站”,燈號142表示“可離站”。FIG. 1 is a schematic diagram illustrating a track system according to an embodiment. Referring to FIG. 1 , the rail system includes a train 110 and a plurality of platforms. Taking the current stop 120 and the next stop 130 as an example, there is one or more intersections between the current stop 120 and the next stop 130 . At present, there is also a warning sign 140 on the docking station 120. The warning sign 140 can display at least two light signs 141 and 142, wherein the light sign 141 indicates "cannot leave the station", and the light sign 142 indicates "can leave the station".

控制器150用以通訊連接至預告號誌140並執行一個預告號誌判斷方法來控制預告號誌140切換至燈號141或是燈號142。控制器150可以是個人電腦、伺服器、中央控制電腦、或各種具有計算能力的電腦系統或電子裝置。The controller 150 is used to communicate with the warning sign 140 and execute a warning sign judging method to control the warning sign 140 to switch to the light signal 141 or the light signal 142 . The controller 150 can be a personal computer, a server, a central control computer, or various computer systems or electronic devices with computing capabilities.

每個路口都有一個交通號誌,用以指示列車110是否可以通過此路口。舉例來說,如果路口1的交通號誌處於時相161或時相163,表示列車110不可通過。如果路口1的交通號誌處於時相162,表示列車110可以通過,在此將時相162稱為“通行時相”。如果列車110到達路口1時交通號誌並不是在通行時相162,則表示列車110必須停車且等待。在此實施例中設定了列車110從目前停靠站120行駛到下一停靠站130的等待時間不能超過一等待時間上限,且停車次數不能超過一停車次數上限。控制器150是用以控制預告號誌140來指示什麼時候列車110可以離開目前停靠站120,同時符合上述等待時間與停車次數的限制。Each intersection has a traffic sign to indicate whether the train 110 can pass through the intersection. For example, if the traffic sign at intersection 1 is in phase 161 or phase 163, it means that the train 110 cannot pass. If the traffic sign of the intersection 1 is in the phase 162, it means that the train 110 can pass through, and the phase 162 is referred to as the "passing phase" herein. If the traffic sign is not in the passing phase 162 when the train 110 arrives at the intersection 1, it means that the train 110 must stop and wait. In this embodiment, it is set that the waiting time of the train 110 traveling from the current stop 120 to the next stop 130 cannot exceed an upper limit of the waiting time, and the number of stops cannot exceed an upper limit of the number of stops. The controller 150 is used to control the advance sign 140 to indicate when the train 110 can leave the current stop 120, while complying with the above-mentioned restrictions on the waiting time and the number of stops.

圖2A與圖2B是根據一實施例繪示預告號誌判斷方法的流程圖,此方法是以模擬的方式判斷列車在一時間點出發是否可以滿足等待時間與停車次數的限制。請參照圖2A與圖2B,在步驟201中進行初始設定。在此共設定7個變數,實數PredictTime表示預告號誌的時間點,正整數CrossingCnt表示路口個數,整數WaitTimes表示列車的停車次數,實數WaitSec表示列車的等待時間,實數T表示模擬列車行進的時間點,實數Ti表示列車經過目前路口所需要的時間,整數N表示列車目前已經經過幾個路口。在步驟201中會將PredictTime設定為欲得到預告號誌燈號的時間,CrossingCnt設定為從目前停靠站120到下一停靠站130之間的路口個數,T=PredictTime,WaitTimes=0,WaitSec=0,N=0。在此,第(N+1)個路口便是目前路口。2A and 2B are flow charts illustrating a method for judging a warning sign according to an embodiment. The method uses a simulation method to judge whether the departure of a train at a time point can meet the limitation of the waiting time and the number of stops. Please refer to FIG. 2A and FIG. 2B , in step 201 , initial setting is performed. A total of 7 variables are set here, the real number PredictTime represents the time point of the warning sign, the positive integer CrossingCnt represents the number of intersections, the integer WaitTimes represents the number of stops of the train, the real number WaitSec represents the waiting time of the train, and the real number T represents the traveling time of the simulated train. point, the real number Ti represents the time it takes for the train to pass through the current intersection, and the integer N represents the number of intersections the train has passed through. In step 201, PredictTime is set as the time to obtain the warning signal, CrossingCnt is set as the number of intersections from the current stop 120 to the next stop 130, T=PredictTime, WaitTimes=0, WaitSec= 0, N=0. Here, the (N+1)th intersection is the current intersection.

在步驟202,判斷列車是否已經通過所有的路口,以上述的變數來表示即是判斷N>=CrossingCnt。若步驟202的結果為“是”,進行步驟203,確認停車次數WaitTimes未超過停車次數上限,且等待時間WaitSec沒有超過等待時間上限,接著在步驟204設定預告號誌在此時間點PredictTime顯示可離站。In step 202, it is judged whether the train has passed all the intersections, expressed by the above-mentioned variables, that is, it is judged that N>=CrossingCnt. If the result of step 202 is "Yes", go to step 203 to confirm that the number of parking times WaitTimes does not exceed the upper limit of the number of parking times, and the waiting time WaitSec does not exceed the upper limit of the waiting time, then in step 204, set the warning sign at this time point PredictTime shows that it is possible to leave stand.

如果步驟202的結果為否,表示列車還沒經過所有的路口,接著進行程序S1,判斷列車在時間點PredictTime從目前停靠站120出發至目前路口時是否可以立即通過目前路口。在此,“立即通過”表示列車到達路口時,該路口的交通號誌處於通行時相,因此列車不需要停車等待。If the result of step 202 is no, it means that the train has not passed all the intersections, and then the procedure S1 is performed to determine whether the train can immediately pass through the current intersection when it departs from the current stop 120 to the current intersection at the time point PredictTime. Here, "pass through immediately" means that when the train arrives at the intersection, the traffic sign at the intersection is in the passing phase, so the train does not need to stop and wait.

請同時參照圖2B與圖3。具體來說,在步驟205,將時間點T加上行駛到第(N+1)個路口所需要的時間,在此將行駛到第(N+1)個路口所需要的時間表示為T(N+1),因此步驟205可以表示為T+=T(N+1),更新後的時間點T則稱為第一時間點。Please refer to FIG. 2B and FIG. 3 at the same time. Specifically, in step 205, the time point T is added to the time required to travel to the (N+1)th intersection, and the time required to travel to the (N+1)th intersection is expressed as T( N+1), so step 205 can be expressed as T+=T(N+1), and the updated time point T is called the first time point.

在步驟206,判斷第一時間點T是否小於第(N+1)個路口的通行時相的起始時間點,此判斷可以表示為T>C 1PLS,其中C 1PLS為通行時相162的起始時間點。如果步驟206的結果為是,表示列車不可立即通過第(N+1)個路口。舉例來說,在圖3中如果列車於時間點301出發,則到達路口時並不處於通行時相162,此時必須等待至通行時相162的起始時間點C 1PLS。因此在步驟207中,將等待時間加上等待至通行時相162的起始時間點所需要的時間,此計算可以表示為WaitSec+=C 1PLS-T。此外,在步驟207中還將停車次數加上1,表示為WaitTimes+=1;另外也將時間點T設定為通行時相162的起始時間點,表示為T=C 1PLS。 In step 206, it is judged whether the first time point T is less than the starting time point of the traffic phase at the (N+1)th intersection, and this judgment can be expressed as T>C 1 PLS, where C 1 PLS is the traffic phase 162 starting time point. If the result of step 206 is yes, it means that the train cannot pass through the (N+1)th intersection immediately. For example, in FIG. 3 , if the train departs at time point 301 , it is not in the traffic phase 162 when it arrives at the intersection, and must wait until the starting time point C 1 PLS of the traffic phase 162 . Therefore, in step 207, the waiting time is added to the time required to wait until the start time point of the pass phase 162, and this calculation can be expressed as WaitSec+=C 1 PLS-T. In addition, in step 207, the number of stops is added by 1, which is represented as WaitTimes+=1; and the time point T is also set as the starting time point of the passing phase 162, which is represented as T=C 1 PLS.

如果步驟206的結果為否則進行步驟208,判斷第一時間點T是否小於第(N+1)個路口通行時相的終止時間點,此判斷可以表示為T>C 1PLE,其中C 1PLE表示通行時相162的終止時間點。如果步驟208的結果為否,表示列車不可立即通過第(N+1)個路口,舉例來說,如果列車在時間點303出發則會錯過第一個通行時相162,必須等待至下一個通行時相164的起始時間點C 2PLS。因此,在步驟209中,將等待時間加上等待至路口下一通行時相164的起始時間點,此計算可以表示為WaitSec+=C 2PLS-T。此外,在步驟209中還將停車次數加上1,表示為WaitTimes+=1;另外也將時間點T設定為通行時相164的起始時間點,表示為T=C 2PLS。 If the result of step 206 is otherwise, go to step 208 to judge whether the first time point T is less than the termination time point of the (N+1)th intersection passing phase, and this judgment can be expressed as T>C 1 PLE, where C 1 PLE Indicates the end time point of the transit phase 162 . If the result of step 208 is no, it means that the train cannot pass the (N+1)th intersection immediately. For example, if the train departs at time point 303, it will miss the first pass phase 162 and must wait until the next pass. The starting time point C 2 PLS of phase 164 . Therefore, in step 209, the waiting time is added to the starting time point of waiting until the next passing phase 164 of the intersection, and this calculation can be expressed as WaitSec+=C 2 PLS-T. In addition, in step 209, the number of stops is added by 1, which is represented as WaitTimes+=1; and the time point T is also set as the starting time point of the traffic phase 164, which is represented as T=C 2 PLS.

如果步驟208的結果為是,進行步驟210,判斷第一時間點T加上通過第(N+1)個路口所需的時間後是否小於此路口通行時相的終止時間點,此步驟可以表示為T+Ti>C 1PLE。如果步驟210的結果為否則判斷列車不可立即通過路口,接著進行步驟209。如果步驟210的結果為是則判斷列車可立即通過路口。舉例來說,在圖3中如果列車於時間點302出發,則列車可以直接通過第(N+1)個路口。 If the result of step 208 is yes, go to step 210 to determine whether the first time point T plus the time required to pass through the (N+1)th intersection is less than the end time point of the passing phase of this intersection, this step can be expressed as is T+Ti>C 1 PLE. If the result of step 210 is otherwise, it is determined that the train cannot pass through the intersection immediately, and then step 209 is performed. If the result of step 210 is yes, it is judged that the train can pass through the intersection immediately. For example, in FIG. 3, if the train departs at time point 302, the train can directly pass through the (N+1)th intersection.

在步驟211,判斷停車次數WaitTimes是否超過停車次數上限。如果步驟211的結果為否則再進行步驟212,判斷等待時間WaitSec是否超過等待時間上限。如果步驟211或者步驟212的結果為是,設定預告號誌在時間點PredictTime顯示不可離站(步驟213)。In step 211, it is determined whether the number of parking times WaitTimes exceeds the upper limit of the number of parking times. If the result of step 211 is otherwise, go to step 212 to determine whether the waiting time WaitSec exceeds the upper limit of the waiting time. If the result of step 211 or step 212 is yes, set the forecast sign to show that the station cannot be left at the time point PredictTime (step 213).

如果步驟212的結果為否,表示列車無法立即通過路口但符合等待時間與停車次數的限制,接著進行步驟214,設定列車通過目前路口,也就是將時間點T加上通過目前路口所需要的時間,表示為T+=Ti。另一方面,如果步驟210的結果為是,在步驟215中同樣地設定列車通過第(N+1)個路口,表示為T+=Ti。更新後的時間點T亦稱為第二時間點。If the result of step 212 is no, it means that the train cannot pass through the intersection immediately but meets the limit of waiting time and number of stops, then proceed to step 214 to set the train to pass through the current intersection, that is, add the time point T to the time required to pass through the current intersection , expressed as T+=Ti. On the other hand, if the result of step 210 is YES, in step 215 the train is similarly set to pass through the (N+1)th intersection, which is expressed as T+=Ti. The updated time point T is also referred to as the second time point.

當設定列車通過第(N+1)個路口以後,在步驟216,繼續判斷列車在第二時間點T從目前路口出發是否可通過剩餘的路口,也就是執行N+=1並且回到步驟202。After setting the train to pass through the (N+1)th intersection, in step 216, continue to judge whether the train can pass the remaining intersections at the second time point T from the current intersection, that is, execute N+=1 and return to step 202.

執行完圖2A與圖2B的流程便可以判斷預告號誌在時間點PredictTime應該顯示可離站或不可離站,接下來可以改變時間點PredictTime並重新執行圖2的步驟。如此一來,如圖1所示,預告號誌140便可以在不同的時間點顯示對應的燈號,用以告知列車駕駛此時是否可以離站。值得注意的是,預告號誌140的燈號可以用任意顏色與形狀的圖案,也可以用任意的文字、數字或符號來表示,在一些實施例中也可以顯示還需要等待多少時間才可以離站,本揭露並不在此限。2A and 2B are executed, it can be determined that the forecast sign at the time point PredictTime should display the station that can leave the station or the station that cannot be left, and then the time point PredictTime can be changed and the steps of FIG. 2 can be re-executed. In this way, as shown in FIG. 1 , the warning sign 140 can display corresponding lights at different time points to inform the train driver whether it is possible to leave the station at this time. It is worth noting that the light signal of the warning sign 140 can be represented by any color and shape pattern, and can also be represented by any text, number or symbol, and in some embodiments, it can also display how much time it still needs to wait before leaving. station, this disclosure is not limited to this.

另一方面,值得注意的是,圖2A與圖2B中各步驟可以實作為多個程式碼或是電路,本發明並不在此限。此外,圖2A與圖2B的方法可以搭配以上實施例使用,也可以單獨使用。換言之,圖2A與圖2B的各步驟之間也可以加入其他的步驟。On the other hand, it should be noted that each step in FIG. 2A and FIG. 2B can be implemented as a plurality of codes or circuits, and the present invention is not limited thereto. In addition, the methods of FIG. 2A and FIG. 2B may be used in conjunction with the above embodiments, or may be used alone. In other words, other steps may also be added between the steps in FIGS. 2A and 2B .

以另外一個角度來說,本發明也提出了一電腦程式產品,此產品可由任意的程式語言及/或平台所撰寫,當此電腦程式產品被載入至電腦系統並執行時,可執行圖2A與圖2B的方法。From another perspective, the present invention also proposes a computer program product, which can be written in any programming language and/or platform. When the computer program product is loaded into a computer system and executed, it can execute FIG. 2A . with the method of Figure 2B.

在上述的預告號誌判斷方法與軌道系統中,可以準確地判斷列車在一時間點是否可以離站,同時符合停車次數與等待時間的限制,這可以提供駕駛明確的離站指示,也避免列車沒電影響營運。In the above-mentioned pre-announcement signal judgment method and track system, it is possible to accurately determine whether the train can leave the station at a certain point in time, and at the same time meet the restrictions on the number of stops and waiting time, which can provide a clear departure instruction for driving, and avoid the train Power outages affect operations.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The protection scope of the present invention shall be determined by the scope of the appended patent application.

110:列車 120:目前停靠站 130:下一停靠站 140:預告號誌 141,142:燈號 150:控制器 161,162,163,164:時相 S1:程序 201~216:步驟 301~303, PredictTime:時間點 T(N+1):行駛到第(N+1)個路口所需要的時間 C 1PLS,C 2PLS:起始時間點 C 1PLE:終止時間點 Ti:列車經過第i個路口所需要的時間 110: Train 120: Current stop 130: Next stop 140: Prediction sign 141, 142: Light sign 150: Controller 161, 162, 163, 164: Phase S1: Program 201~216: Step 301~303, PredictTime: Time point T(N +1): The time required to travel to the (N+1)th intersection C 1 PLS, C 2 PLS: the starting time point C 1 PLE: the ending time point Ti: the time required for the train to pass the i-th intersection

[圖1]是根據一實施例繪示軌道系統的示意圖。 [圖2A]與[圖2B]是根據一實施例繪示預告號誌判斷方法的流程圖。 [圖3]是根據一實施例繪示判斷列車是否可通過路口的示意圖。 [FIG. 1] is a schematic diagram illustrating a track system according to an embodiment. [ FIG. 2A ] and [ FIG. 2B ] are flowcharts illustrating a method for determining a warning sign according to an embodiment. [ FIG. 3 ] is a schematic diagram illustrating determining whether a train can pass through an intersection according to an embodiment.

110:列車 120:目前停靠站 130:下一停靠站 140:預告號誌 141,142:燈號 150:控制器 161,162,163:時相 110: Train 120: Current stop 130: Next stop 140: Warning Sign 141, 142: Lights 150: Controller 161, 162, 163: Phases

Claims (4)

一種預告號誌判斷方法,適用於一軌道系統,該軌道系統包括一目前停靠站與下一停靠站,該目前停靠站與該下一停靠站之間具有至少一路口,該目前停靠站具有一預告號誌,該預告號誌判斷方法包括:設定該預告號誌的一時間點;判斷一列車在該時間點從該目前停靠站出發至該至少一路口時是否可以立即通過該至少一路口,其中判斷該列車在該時間點從該目前停靠站出發至該至少一路口時是否可以立即通過該至少一路口的步驟包括:將該時間點加上該列車行駛到該至少一路口的時間以得到第一時間點;如果該第一時間點小於該至少一路口的該通行時相的起始時間點,判斷該列車不可立即通過該至少一路口,將一停車次數加上1,且將一等待時間加上等待至該起始時間點所需的時間;以及如果該第一時間大於等於該至少一路口的該通行時相的終止時間點或者該第一時間點加上通過該至少一路口所需的時間後大於等於該至少一路口的該通行時相的該終止時間點,判斷該列車不可立即通過該至少一路口,將該停車次數加上1,且將該等待時間加上等待至該至少一路口的下一通行時相的起始時間點,否則判斷該列車可立即通過該至少一路口;如果該列車無法立即通過該至少一路口,判斷該等待時 間是否超過一等待時間上限,且判斷該停車次數是否超過一停車次數上限;如果該等待時間超過該等待時間上限或該停車次數超過該停車次數上限,設定該預告號誌在該時間點顯示不可離站;以及如果該列車可立即通過該至少一路口,或者該列車無法立即通過該至少一路口但該等待時間未超過該等待時間上限並且該停車次數未超過該停車次數上限,在判斷該列車可通過所有的該至少一路口後設定該預告號誌在該時間點顯示可離站。 A method for judging a warning sign is applicable to a track system, the track system includes a current stop and a next stop, there is at least one intersection between the current stop and the next stop, and the current stop has a A warning sign, the method for judging the warning sign includes: setting a time point of the warning sign; judging whether a train can immediately pass through the at least one intersection when it departs from the current stop at the time point to the at least one intersection, The step of judging whether the train can immediately pass through the at least one intersection when it departs from the current stop station at the time point to the at least one intersection includes: adding the time point to the time when the train travels to the at least one intersection to obtain The first time point; if the first time point is less than the starting time point of the passing phase of the at least one intersection, it is judged that the train cannot pass through the at least one intersection immediately, a number of stops is added by 1, and a waiting time time plus the time required to wait until the starting time point; and if the first time is greater than or equal to the end time point of the passing phase of the at least one intersection or the first time point plus the time required to pass through the at least one intersection After the required time is greater than or equal to the termination time point of the traffic phase of the at least one intersection, determine that the train cannot pass through the at least one intersection immediately, add 1 to the number of stops, and add the waiting time to the waiting time until the The starting time of the next traffic phase of at least one intersection, otherwise it is judged that the train can pass through the at least one intersection immediately; if the train cannot pass the at least one intersection immediately, it is judged that the waiting time If the waiting time exceeds the upper limit of the waiting time or the number of parking times exceeds the upper limit of the number of parking times, set the warning sign to show that the number of stops cannot be displayed at this time. and if the train can pass through the at least one intersection immediately, or the train cannot pass through the at least one intersection immediately but the waiting time does not exceed the upper limit of the waiting time and the number of stops does not exceed the upper limit of the number of stops, the train is judged to be After passing through all the at least one intersection, the warning sign can be set to show that the station can be left at the time point. 如請求項1所述之預告號誌判斷方法,其中判斷該列車可通過所有的該至少一路口的步驟包括:將該時間點加上通過一目前路口所需的時間以得到第二時間點;以及判斷該列車在該第二時間點從該目前路口出發是否可通過剩餘的該至少一路口。 The method for judging an advance sign according to claim 1, wherein the step of judging that the train can pass through all the at least one intersection includes: adding the time point to the time required to pass through a current intersection to obtain the second time point; and judging whether the train can pass through the remaining at least one intersection when starting from the current intersection at the second time point. 一種軌道系統,包括:一列車;一目前停靠站;一下一停靠站,其中該目前停靠站與該下一停靠站之間具有至少一路口;以及一控制器,通訊連接至該目前停靠站的一預告號誌,用 以執行多個步驟:設定該預告號誌的一時間點;判斷該列車在該時間點從該目前停靠站出發至該至少一路口時是否可以立即通過該至少一路口,其中判斷該列車在該時間點從該目前停靠站出發至該至少一路口時是否可以立即通過該至少一路口的步驟包括:將該時間點加上該列車行駛到該至少一路口的時間以得到第一時間點;如果該第一時間點小於該至少一路口的該通行時相的起始時間點,判斷該列車不可立即通過該至少一路口,將一停車次數加上1,且將一等待時間加上等待至該起始時間點所需的時間;以及如果該第一時間大於等於該至少一路口的該通行時相的終止時間點或者該第一時間點加上通過該至少一路口所需的時間後大於等於該至少一路口的該通行時相的該終止時間點,判斷該列車不可立即通過該至少一路口,將該停車次數加上1,且將該等待時間加上等待至該至少一路口的下一通行時相的起始時間點,否則判斷該列車可立即通過該至少一路口;如果該列車無法立即通過該至少一路口,判斷該等待時間是否超過一等待時間上限,且判斷該停車次數是否超過一停車次數上限;如果該等待時間超過該等待時間上限或該停車次數超過該停車次數上限,設定該預告號誌在該時間點顯示不 可離站;如果該列車可立即通過該至少一路口,或者該列車無法立即通過該至少一路口但該等待時間未超過該等待時間上限並且該停車次數未超過該停車次數上限,在判斷該列車可通過所有的該至少一路口後設定該預告號誌在該時間點顯示可離站。 A track system, comprising: a train; a current stop; a next stop, wherein there is at least one intersection between the current stop and the next stop; and a controller that is communicatively connected to the current stop a warning sign, with To perform a plurality of steps: set a time point of the warning sign; determine whether the train can immediately pass through the at least one intersection when it departs from the current stop at the time point to the at least one intersection, wherein it is determined that the train is at the at least one intersection. The step of whether the time point can immediately pass through the at least one intersection when starting from the current stop station to the at least one intersection includes: adding the time point to the time when the train travels to the at least one intersection to obtain the first time point; if The first time point is less than the start time point of the passing phase of the at least one intersection, it is judged that the train cannot pass through the at least one intersection immediately, a number of stops is added by 1, and a waiting time is added to wait until the The time required for the starting time point; and if the first time is greater than or equal to the end time point of the passing phase of the at least one intersection or the first time point plus the time required to pass the at least one intersection is greater than or equal to At the termination time point of the passing phase of the at least one intersection, it is determined that the train cannot pass through the at least one intersection immediately, the number of stops is added by 1, and the waiting time is added to the next waiting time at the at least one intersection. The starting time of the traffic phase, otherwise it is judged that the train can pass through the at least one intersection immediately; if the train cannot pass the at least one intersection immediately, judge whether the waiting time exceeds a waiting time upper limit, and judge whether the number of stops exceeds An upper limit of the number of stops; if the waiting time exceeds the upper limit of the waiting time or the number of stops exceeds the upper limit of the number of stops, set the warning sign to display no Can leave the station; if the train can pass through the at least one intersection immediately, or the train cannot pass through the at least one intersection immediately but the waiting time does not exceed the upper limit of the waiting time and the number of stops does not exceed the upper limit of the number of stops, the train is judged to be After passing through all the at least one intersection, the warning sign can be set to show that the station can be left at the time point. 一種電腦程式產品,用於一軌道系統,其中該軌道系統包括一列車、一目前停靠站與一下一停靠站,該目前停靠站與該下一停靠站之間具有至少一路口,該目前停靠站具有一預告號誌,該電腦程式產品用以被載入並執行以完成多個步驟:設定該預告號誌的一時間點;判斷該列車在該時間點從該目前停靠站出發至該至少一路口時是否可以立即通過該至少一路口,其中判斷該列車在該時間點從該目前停靠站出發至該至少一路口時是否可以立即通過該至少一路口的步驟包括:將該時間點加上該列車行駛到該至少一路口的時間以得到第一時間點;如果該第一時間點小於該至少一路口的該通行時相的起始時間點,判斷該列車不可立即通過該至少一路口,將一停車次數加上1,且將一等待時間加上等待至該起始時間點所需的時間;以及如果該第一時間大於等於該至少一路口的該通行時相 的終止時間點或者該第一時間點加上通過該至少一路口所需的時間後大於等於該至少一路口的該通行時相的該終止時間點,判斷該列車不可立即通過該至少一路口,將該停車次數加上1,且將該等待時間加上等待至該至少一路口的下一通行時相的起始時間點,否則判斷該列車可立即通過該至少一路口;如果該列車無法立即通過該至少一路口,判斷該等待時間是否超過一等待時間上限,且判斷該停車次數是否超過一停車次數上限;如果該等待時間超過該等待時間上限或該停車次數超過該停車次數上限,設定該預告號誌在該時間點顯示不可離站;以及如果該列車可立即通過該至少一路口,或者該列車無法立即通過該至少一路口但該等待時間未超過該等待時間上限並且該停車次數未超過該停車次數上限,在判斷該列車可通過所有的該至少一路口後設定該預告號誌在該時間點顯示可離站。 A computer program product for a track system, wherein the track system includes a train, a current stop and a next stop, there is at least one intersection between the current stop and the next stop, the current stop Having a warning sign, the computer program product is used to be loaded and executed to complete a plurality of steps: setting a time point of the warning sign; judging that the train departs from the current stop at the time point to the at least one Whether the at least one intersection can be passed immediately at the intersection, wherein the step of judging whether the train can immediately pass through the at least one intersection when the train departs from the current stop at this time point to the at least one intersection includes: adding the time point to the at least one intersection. The time when the train travels to the at least one intersection to obtain the first time point; if the first time point is less than the starting time point of the passing phase of the at least one intersection, it is determined that the train cannot pass through the at least one intersection immediately, and the Add 1 to the number of stops, and add a waiting time to the time required to wait until the starting time point; and if the first time is greater than or equal to the passing phase of the at least one intersection or the first time point plus the time required to pass through the at least one intersection is greater than or equal to the termination time point of the passing phase of the at least one intersection, it is judged that the train cannot pass through the at least one intersection immediately, Add 1 to the number of stops, and add the waiting time to the starting time of the next traffic phase at the at least one intersection, otherwise it is judged that the train can pass through the at least one intersection immediately; if the train cannot immediately Through the at least one intersection, determine whether the waiting time exceeds an upper limit of the waiting time, and determine whether the number of stops exceeds an upper limit of the number of stops; if the waiting time exceeds the upper limit of the waiting time or the number of stops exceeds the upper limit of the number of stops, set the The warning sign shows that the station cannot be left at the time point; and if the train can pass the at least one intersection immediately, or the train cannot pass the at least one intersection immediately but the waiting time does not exceed the waiting time upper limit and the number of stops does not exceed For the upper limit of the number of stops, after judging that the train can pass through all the at least one intersection, the warning sign is set to indicate that the train can leave the station at the time point.
TW109123953A 2020-07-15 2020-07-15 Method, track system and computer program product for determining prediction sign TWI761882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109123953A TWI761882B (en) 2020-07-15 2020-07-15 Method, track system and computer program product for determining prediction sign

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109123953A TWI761882B (en) 2020-07-15 2020-07-15 Method, track system and computer program product for determining prediction sign

Publications (2)

Publication Number Publication Date
TW202205226A TW202205226A (en) 2022-02-01
TWI761882B true TWI761882B (en) 2022-04-21

Family

ID=81323594

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109123953A TWI761882B (en) 2020-07-15 2020-07-15 Method, track system and computer program product for determining prediction sign

Country Status (1)

Country Link
TW (1) TWI761882B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101332820A (en) * 2007-06-27 2008-12-31 陈笠 Intelligent electric rail car traffic network system
JP2011218838A (en) * 2010-04-05 2011-11-04 Hitachi Ltd System and device for supporting rescheduling, and method of computing train operation plan
CN102654941A (en) * 2011-12-27 2012-09-05 上海市城市建设设计研究总院 Reservation type traffic signal priority control method
CN109572451A (en) * 2019-01-02 2019-04-05 中车株洲电力机车有限公司 A kind of charging method and its emulated computation method of hybrid power tramcar
CN111301491A (en) * 2020-05-15 2020-06-19 北京全路通信信号研究设计院集团有限公司 Train operation plan adjusting method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101332820A (en) * 2007-06-27 2008-12-31 陈笠 Intelligent electric rail car traffic network system
JP2011218838A (en) * 2010-04-05 2011-11-04 Hitachi Ltd System and device for supporting rescheduling, and method of computing train operation plan
CN102654941A (en) * 2011-12-27 2012-09-05 上海市城市建设设计研究总院 Reservation type traffic signal priority control method
CN109572451A (en) * 2019-01-02 2019-04-05 中车株洲电力机车有限公司 A kind of charging method and its emulated computation method of hybrid power tramcar
CN111301491A (en) * 2020-05-15 2020-06-19 北京全路通信信号研究设计院集团有限公司 Train operation plan adjusting method and system

Also Published As

Publication number Publication date
TW202205226A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN105448157B (en) A kind of universal train simulation drive system and method
Albrecht et al. Applications of real‐time speed control in rail‐bound public transportation systems
CN103065463B (en) Traffic control simulation system and traffic control simulation method
CN112164272B (en) Signal simulation system and simulation method of tramcar signal system
CN110386153B (en) Lane keeping auxiliary system safety analysis method based on system theory hazard analysis
CN106097825A (en) ATP mobile unit special project simulation training system
EP3975152B1 (en) Signal light control method, apparatus, and system
TWI761882B (en) Method, track system and computer program product for determining prediction sign
CN108470443A (en) A kind of duty goal method and apparatus of traffic accident
RU2685368C1 (en) Device for construction of forecast energy-saving train schedules
JP2013203216A (en) Fixed-position stop supporting device and fixed-position stop supporting method
CN107818687B (en) Method, device and system for controlling vehicle release on road
JP6018941B2 (en) Driving support system
US20240092407A1 (en) Method and device for multi-train operation trend deduction
JP2013112247A (en) Program, train performance curve preparation device, and results diagram estimating device
CN110414739A (en) A kind of municipal rail train maintenance circle optimization method and apparatus
CN115649246A (en) Simulation test platform and method compatible with CBTC and urban (suburban) railway
CN113422817A (en) Mobile device, method and electronic device for assisting driving training
CN114216471A (en) Electronic map determination method and device, electronic equipment and storage medium
Hamilton et al. Early route drivability assessment in support of railway investment
JP7426256B2 (en) Energy-saving driving support system and its method
CN114030511B (en) Train dispatching operation danger prediction method and system based on operation verification
CN112406969B (en) Tramcar traction calculation simulation method considering road traffic control influence
TAKEUCHI et al. Improvement of train operation and passenger flow simulator for detailed estimation of train movement on high frequency railway lines
Zhu et al. Modelling and simulation for automatic train protection systems using an integrated algorithm