[go: up one dir, main page]

TWI845200B - A system and method of path planning based on charging station and computer-readable medium thereof - Google Patents

A system and method of path planning based on charging station and computer-readable medium thereof Download PDF

Info

Publication number
TWI845200B
TWI845200B TW112108750A TW112108750A TWI845200B TW I845200 B TWI845200 B TW I845200B TW 112108750 A TW112108750 A TW 112108750A TW 112108750 A TW112108750 A TW 112108750A TW I845200 B TWI845200 B TW I845200B
Authority
TW
Taiwan
Prior art keywords
charging station
electric vehicle
route
point
path
Prior art date
Application number
TW112108750A
Other languages
Chinese (zh)
Other versions
TW202436142A (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 TW112108750A priority Critical patent/TWI845200B/en
Application granted granted Critical
Publication of TWI845200B publication Critical patent/TWI845200B/en
Publication of TW202436142A publication Critical patent/TW202436142A/en

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The present invention provides a system and method of path planning based on charging station and computer-readable medium thereof including a data input module, a data preprocessing module and a path planning module, wherein the data input module inputs a starting and ending points, loading point information, vehicle information of the electric vehicle and charging station information, and then the data preprocessing module converts a mileage of the electric vehicle, distance matrix, power consumption matrix and time matrix. In this way, the path planning module obtains an initial path by the above information, and further obtains an optimal driving path according to the initial path after processing. Therefore, the present invention generates the optimal driving path through the above path planning technology to ensure that the electric vehicle has sufficient power during driving, thereby greatly improving the driving efficiency of the electric vehicle.

Description

一種基於充電站之路徑規劃系統、方法及其電腦可讀媒介 A charging station-based route planning system, method, and computer-readable medium thereof

本發明關於一種路徑規劃技術,尤其指一種基於充電站之路徑規劃系統、方法及其電腦可讀媒介。 The present invention relates to a route planning technology, and more particularly to a route planning system, method and computer-readable medium based on a charging station.

隨著科技的發展及政府的推動,許多人對於純電動車的興趣也有所提高,因此現今電動車已為大眾購車時考慮的選項之一。 With the development of technology and the promotion of the government, many people have become more interested in pure electric vehicles, so now electric vehicles have become one of the options that people consider when buying a car.

然而,電動車由於充電上的限制,例如:充電站設置站點不多、充電時間較長等限制,使得電動車在行駛的便利性上遠低於油車,造成許多人怯步,而不願意購買電動車。再者,對於貨運業者來說,即便政府大力支持採用電動車運輸貨物,以降低環境的汙染,但若電動車的行駛路徑未有完善的規劃,容易導致電動車的運輸距離與時間大受限制。 However, due to the limitations of electric vehicles in charging, such as the limited number of charging stations and the long charging time, the convenience of electric vehicles in driving is far lower than that of gasoline vehicles, causing many people to hesitate and unwilling to buy electric vehicles. Moreover, for freight operators, even if the government strongly supports the use of electric vehicles to transport goods to reduce environmental pollution, if the driving routes of electric vehicles are not well planned, it is easy to lead to significant restrictions on the transportation distance and time of electric vehicles.

因此,如何提供一種路徑規劃技術,能完善的規劃電動車的行駛路徑,以避免電動車之電量限制其行駛距離與時間,進而大幅提升電動車的行駛效率,遂成為業界亟待解決的課題。 Therefore, how to provide a route planning technology that can perfectly plan the driving route of electric vehicles to avoid the electric vehicle's power limiting its driving distance and time, thereby greatly improving the driving efficiency of electric vehicles, has become an issue that the industry urgently needs to solve.

為解決前述習知的技術問題或提供相關之功效,本發明提供一種基於充電站之路徑規劃系統,係包括:一資料輸入模組,係輸入起訖點、載貨點資訊、電動車之車輛資訊及充電站資訊;一資料前處理模組,係通訊連接該資料輸入模組,且依據該充電站資訊進行資料篩選,以得到可使用之充電站資訊,再由該資料前處理模組將該起訖點、該載貨點資訊、該車輛資訊及該可使用之充電站資訊進行資料轉換,以得到該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣;以及一路徑規劃模組,係通訊連接該資料前處理模組,以依據該電動車之可行駛里程、該距離矩陣、該耗電量矩陣及該時間矩陣,得到一初始路徑,再由該路徑規劃模組進一步計算以依據該初始路徑取得一最佳行駛路徑。 In order to solve the above-mentioned known technical problems or provide related effects, the present invention provides a charging station-based route planning system, which includes: a data input module, which inputs the starting point, the loading point information, the vehicle information of the electric vehicle and the charging station information; a data pre-processing module, which is connected to the data input module and performs data screening based on the charging station information to obtain the usable charging station information, and then the data pre-processing module converts the starting point, the loading point information into the charging station information. The data is converted into data by the vehicle information, the vehicle information and the available charging station information to obtain the feasible driving range, distance matrix, power consumption matrix and time matrix of the electric vehicle; and a path planning module is connected to the data pre-processing module to obtain an initial path according to the feasible driving range, the distance matrix, the power consumption matrix and the time matrix of the electric vehicle, and the path planning module further calculates to obtain an optimal driving path according to the initial path.

本發明復提供一種基於充電站之路徑規劃方法,係包括:由一資料輸入模組輸入起訖點、載貨點資訊、電動車之車輛資訊及充電站資訊;由一資料前處理模組依據該充電站資訊進行資料篩選,以得到可使用之充電站資訊;由該資料前處理模組將該起訖點、該載貨點資訊、該車輛資訊及該可使用之充電站資訊進行資料轉換,以得到該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣;由一路徑規劃模組依據該電動車之可行駛里程、該距離矩陣、該耗電量矩陣及該時間矩陣,得到一初始路徑;以及由該路徑規劃模組進一步計算以依據該初始路徑取得一最佳行駛路徑。 The present invention further provides a method for planning a route based on a charging station, comprising: a data input module inputting a starting point, a loading point information, vehicle information of an electric vehicle and charging station information; a data pre-processing module performing data screening according to the charging station information to obtain usable charging station information; the data pre-processing module converting the starting point, the loading point information, the vehicle information and the usable charging station information into a data input module; The charging station information used is used for data conversion to obtain the mileage, distance matrix, power consumption matrix and time matrix of the electric vehicle; a path planning module obtains an initial route based on the mileage, distance matrix, power consumption matrix and time matrix of the electric vehicle; and the path planning module further calculates to obtain an optimal driving route based on the initial route.

於前述實施例中,該資料前處理模組係依據該充電站資訊排除無剩餘空位之充電站及種類不符合之充電站,以得到該可使用之充電站資訊。 In the aforementioned embodiment, the data pre-processing module excludes charging stations with no remaining vacancies and charging stations of unqualified types based on the charging station information to obtain the available charging station information.

於前述實施例中,該路徑規劃模組係利用最近鄰域法,以判斷出該電動車之目前所在點距離最近的載貨點,再判斷該最近的載貨點之載貨量是否符合該電動車之載貨容量,及該電動車是否能抵達該最近的載貨點或訖點,以得到該初始路徑。 In the aforementioned embodiment, the route planning module uses the nearest neighbor method to determine the distance between the current location of the electric vehicle and the nearest loading point, and then determines whether the cargo volume of the nearest loading point meets the cargo capacity of the electric vehicle, and whether the electric vehicle can reach the nearest loading point or search point, so as to obtain the initial route.

於前述實施例中,當不符合該電動車之載貨容量時,該路徑規劃模組尋找下一個最近的載貨點,或當無法抵達該最近的載貨點或該訖點時,該路徑規劃模組尋找一最近的充電站。 In the aforementioned embodiment, when the cargo capacity of the electric vehicle is not met, the route planning module searches for the next nearest cargo point, or when the nearest cargo point or the checkpoint cannot be reached, the route planning module searches for the nearest charging station.

於前述實施例中,該路徑規劃模組係利用禁忌搜尋法,將該初始路徑中之載貨點進行交換後,計算出複數第一目標值,再將該複數第一目標值中之目標值最小者所相對之路徑作為第一候選解,又將作為現行解之該初始路徑或該第一候選解執行優化(如2-optimization),以獲得作為第二候選解之更新路徑,且於達到最大疊代次數時,獲得該最佳行駛路徑。 In the aforementioned embodiment, the path planning module uses the taboo search method to exchange the loading points in the initial path, calculate multiple first target values, and then use the path corresponding to the smallest target value among the multiple first target values as the first candidate solution. The initial path or the first candidate solution as the current solution is optimized (such as 2-optimization) to obtain an updated path as the second candidate solution, and when the maximum number of iterations is reached, the optimal driving path is obtained.

於前述實施例中,該路徑規劃模組透過禁忌搜尋法判斷該第一候選解所相對應之路徑是否在一禁忌名單中,且其中,若該第一候選解所相對應之路徑不在該禁忌名單中,則依據該第一候選解執行優化(如2-optimization);反之,若該第一候選解所相對應之路徑在該禁忌名單中,則依據該現行解執行優化(如2-optimization)。 In the aforementioned embodiment, the path planning module determines whether the path corresponding to the first candidate solution is in a taboo list through a taboo search method, and if the path corresponding to the first candidate solution is not in the taboo list, then the optimization (such as 2-optimization) is performed according to the first candidate solution; conversely, if the path corresponding to the first candidate solution is in the taboo list, then the optimization (such as 2-optimization) is performed according to the current solution.

由上述內容可知,本發明之基於充電站之路徑規劃系統、方法及其電腦可讀媒介,主要透過將起訖點、載貨點資訊、電動車之車輛資訊及可使用之充電站資訊轉換成該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣,藉以得到一初始路徑,且依據該初始路徑進一步計算以取得一最佳行駛路徑。因此,本發明透過上述路徑規劃技術進行站點排序,並完成 規劃路徑,藉此產出一預估行駛距離或時間較佳的路徑,以確保電動車在行駛間電量足夠,進而大幅提升電動車的行駛效率。 As can be seen from the above content, the charging station-based route planning system, method and computer-readable medium of the present invention mainly converts the starting point, loading point information, electric vehicle vehicle information and available charging station information into the electric vehicle's drivable mileage, distance matrix, power consumption matrix and time matrix to obtain an initial route, and further calculates based on the initial route to obtain an optimal driving route. Therefore, the present invention uses the above route planning technology to sort the stations and complete the planning route, thereby generating a route with a better estimated driving distance or time to ensure that the electric vehicle has sufficient power during driving, thereby greatly improving the driving efficiency of the electric vehicle.

1:基於充電站之路徑規劃系統 1: Route planning system based on charging stations

11:資料輸入模組 11: Data input module

12:資料前處理模組 12: Data pre-processing module

13:路徑規劃模組 13: Path planning module

S21至S25:步驟 S21 to S25: Steps

S24-1至S24-12:步驟 S24-1 to S24-12: Steps

S25-1至S25-8:步驟 S25-1 to S25-8: Steps

圖1係為本發明之基於充電站之路徑規劃系統之架構示意圖。 Figure 1 is a schematic diagram of the architecture of the charging station-based route planning system of the present invention.

圖2係為本發明之基於充電站之路徑規劃方法之流程示意圖。 Figure 2 is a schematic diagram of the process of the charging station route planning method of the present invention.

圖2A-1及圖2A-2係為本發明之最近鄰域法之流程示意圖。 Figure 2A-1 and Figure 2A-2 are schematic diagrams of the process of the nearest neighbor method of the present invention.

圖2B係為本發明之禁忌搜尋法之流程示意圖。 Figure 2B is a schematic diagram of the process of the taboo search method of the present invention.

以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。 The following is a specific and concrete example to illustrate the implementation of the present invention. People familiar with this technology can easily understand other advantages and effects of the present invention from the content disclosed in this manual.

須知,本說明書所附圖式所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,並非用以限定本發明可實施之限定條件,故不具技術上之實質意義,任何結構之修飾、比例關係之改變或大小之調整,在不影響本發明所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。同時,本說明書中所引用之如「一」、「第一」、「第二」、「上」及「下」等之用語,亦僅為便於敘述之明瞭,而非用以限定本發明可實施之範圍,其相對關係之改變或調整,在無實質變更技術內容下,當視為本發明可實施之範疇。 It should be noted that the structures, proportions, sizes, etc. depicted in the drawings attached to this specification are only used to match the contents disclosed in the specification for understanding and reading by people familiar with this technology, and are not used to limit the restrictive conditions for the implementation of the present invention. Therefore, they have no substantial technical significance. Any modification of the structure, change of the proportion relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effects and purposes that can be achieved by the present invention. At the same time, the terms such as "one", "first", "second", "upper" and "lower" used in this specification are only used to facilitate the clarity of the description, and are not used to limit the scope of the implementation of the present invention. The changes or adjustments in their relative relationships shall be regarded as the scope of the implementation of the present invention without substantially changing the technical content.

圖1係為本發明之基於充電站之路徑規劃系統1之架構示意圖,且該基於充電站之路徑規劃系統1係包括:一資料輸入模組11、一資料前處理模組12以及一路徑規劃模組13。 FIG1 is a schematic diagram of the structure of the charging station-based path planning system 1 of the present invention, and the charging station-based path planning system 1 includes: a data input module 11, a data pre-processing module 12 and a path planning module 13.

在一實施例中,該基於充電站之路徑規劃系統1係建立於伺服器(網路伺服器、通用型伺服器、檔案型伺服器、儲存單元型伺服器等)或電腦等具有適當演算機制之電子設備中,其中,該基於充電站之路徑規劃系統1中之各個模組(該資料輸入模組11、該資料前處理模組12及該路徑規劃模組13)均可為軟體、硬體或韌體;若為硬體,則可為具有資料處理與運算能力之處理單元、處理器、電腦或伺服器;若為軟體或韌體,則可包括處理單元、處理器、電腦或伺服器可執行之指令,且可安裝於同一硬體裝置或分布於不同的複數硬體裝置。 In one embodiment, the charging station-based path planning system 1 is established in a server (network server, general-purpose server, file server, storage unit server, etc.) or a computer or other electronic device with an appropriate calculation mechanism, wherein each module in the charging station-based path planning system 1 (the data input module 11, the data pre-processing module 12 and the path planning module 13) can be software, hardware or firmware; if it is hardware, it can be a processing unit, processor, computer or server with data processing and computing capabilities; if it is software or firmware, it can include instructions that can be executed by a processing unit, processor, computer or server, and can be installed on the same hardware device or distributed on different multiple hardware devices.

在一實施例中,所述之資料輸入模組11係輸入起訖點、載貨點資訊(如位置、貨量等)、電動車之車輛資訊(如剩餘電量、電耗、電池容量、載貨容量、最低電量限制、適用充電站類型等)或/及充電站資訊(如位置、廠牌、空位、充電功率等)。 In one embodiment, the data input module 11 inputs the starting point, loading point information (such as location, cargo volume, etc.), electric vehicle vehicle information (such as remaining power, power consumption, battery capacity, cargo capacity, minimum power limit, applicable charging station type, etc.) or/and charging station information (such as location, brand, vacancy, charging power, etc.).

在一實施例中,所述之資料前處理模組12係通訊連接該資料輸入模組11,且該資料前處理模組12依據該充電站資訊,以判斷剩餘空位、充電所需時間及充電站種類是否符合,進而篩選出可使用之充電站,並計算出電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣。 In one embodiment, the data pre-processing module 12 is communicatively connected to the data input module 11, and the data pre-processing module 12 determines whether the remaining space, the charging time and the charging station type are in compliance with the charging station information, and then selects the available charging stations, and calculates the feasible driving range, distance matrix, power consumption matrix and time matrix of the electric vehicle.

在一實施例中,所述之路徑規劃模組13係通訊連接該資料前處理模組12,且進行路徑規劃,產生出一最佳行駛路徑,以確保行駛途中電動 車不會有電量不足的問題,同時該路徑規劃模組13輸出一規劃路徑結果,且該規劃路徑結果包含一預估總行駛距離及一總行駛時間。 In one embodiment, the route planning module 13 is communicatively connected to the data pre-processing module 12, and performs route planning to generate an optimal driving route to ensure that the electric vehicle will not have a problem of insufficient power during driving. At the same time, the route planning module 13 outputs a planned route result, and the planned route result includes an estimated total driving distance and a total driving time.

圖2係為本發明之基於充電站之路徑規劃方法之流程示意圖,且一併參閱圖1說明之。 FIG2 is a schematic diagram of the process of the charging station route planning method of the present invention, and FIG1 is also referred to for explanation.

於步驟S21中,由一資料輸入模組11輸入一起訖點、一載貨點資訊、一電動車之車輛資訊或/及一充電站資訊。 In step S21, a data input module 11 inputs a call point, a loading point information, an electric vehicle vehicle information and/or a charging station information.

於步驟S22中,由一資料前處理模組12接收該起訖點、該載貨點資訊、該車輛資訊或/及該充電站資訊,且依據該充電站資訊進行資料篩選,以從該充電站資訊得到可使用之充電站資訊。 In step S22, a data pre-processing module 12 receives the origin, the loading point information, the vehicle information and/or the charging station information, and performs data screening based on the charging station information to obtain usable charging station information from the charging station information.

在一實施例中,該資料前處理模組12依據該充電站資訊排除無剩餘空位之充電站、及排除種類不符合之充電站,以得到該可使用之充電站資訊。舉例而言,種類不符合之充電站係為該充電站之充電規格與欲充電之電動車不符合,故將其排除。 In one embodiment, the data pre-processing module 12 excludes charging stations with no remaining vacancies and charging stations of unqualified types based on the charging station information to obtain the available charging station information. For example, unqualified charging stations are those whose charging specifications do not match the electric vehicle to be charged, so they are excluded.

於步驟S23中,由該資料前處理模組12將該起訖點、該載貨點資訊、該車輛資訊或/及該可使用之充電站資訊進行資料轉換,以得到該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣。 In step S23, the data pre-processing module 12 converts the departure point, the loading point information, the vehicle information and/or the available charging station information to obtain the feasible driving range, distance matrix, power consumption matrix and time matrix of the electric vehicle.

於步驟S24中,由一路徑規劃模組13利用各種方法(如最近鄰域法),以依據該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣,以得到一初始路徑。 In step S24, a path planning module 13 uses various methods (such as the nearest neighbor method) to obtain an initial path based on the feasible driving range, distance matrix, power consumption matrix and time matrix of the electric vehicle.

在一實施利中,該路徑規劃模組13執行該最近鄰域法或類似方法,以得到該初始路徑,其中,如圖2A-1及圖2A-2所示,該最近鄰域法包含下列步驟: In one implementation, the path planning module 13 executes the nearest neighbor method or a similar method to obtain the initial path, wherein, as shown in FIG. 2A-1 and FIG. 2A-2, the nearest neighbor method includes the following steps:

於步驟S24-1中,出發:由該路徑規劃模組13取得起點之座標及當下載貨量。例如:預設當下載貨量為0。 In step S24-1, start: obtain the coordinates of the starting point and the current loading volume from the route planning module 13. For example: the current loading volume is set to 0 by default.

於步驟S24-2中,搜尋最近的載貨點:由該路徑規劃模組13依據一電動車之目前所在點i(如起點),以利用該時間矩陣找到距離該目前所在點i最近的載貨點jIn step S24-2, the nearest loading point is searched: the route planning module 13 uses the time matrix to find the loading point j closest to the current location i of an electric vehicle according to the current location i (such as the starting point).

於步驟S24-3中,檢查載貨量:由該路徑規劃模組13判斷該最近的載貨點j之載貨量是否大於該電動車之載貨容量,其中,若該最近的載貨點j之載貨量大於該電動車之載貨容量,則執行步驟S24-4;反之,若該最近的載貨點j之載貨量小於或等於該電動車之載貨容量,則執行步驟S24-5。 In step S24-3, the cargo capacity is checked: the path planning module 13 determines whether the cargo capacity of the nearest loading point j is greater than the cargo capacity of the electric vehicle. If the cargo capacity of the nearest loading point j is greater than the cargo capacity of the electric vehicle, step S24-4 is executed; otherwise, if the cargo capacity of the nearest loading point j is less than or equal to the cargo capacity of the electric vehicle, step S24-5 is executed.

於步驟S24-4中,搜尋另一最近的載貨點:由該路徑規劃模組13判斷其他所有載貨點之載貨量是否大於該電動車之載貨容量,其中,若該其他所有載貨點之載貨量均大於該電動車之載貨容量,則執行步驟S24-12;反之,若該其他所有載貨點之載貨量中至少一者小於或等於該電動車之載貨容量,則利用該時間矩陣從該其他所有載貨點中取得另一最近的載貨點j',以由該路徑規劃模組13令j=j',並執行步驟S24-3。 In step S24-4, search for another nearest loading point: the path planning module 13 determines whether the loading capacity of all other loading points is greater than the loading capacity of the electric vehicle. If the loading capacity of all other loading points is greater than the loading capacity of the electric vehicle, execute step S24-12; on the contrary, if at least one of the loading capacity of all other loading points is less than or equal to the loading capacity of the electric vehicle, use the time matrix to obtain another nearest loading point j' from all other loading points, so that the path planning module 13 sets j = j' , and executes step S24-3.

於步驟S24-5中,檢查剩餘電量:由該路徑規劃模組13依據該耗電量矩陣計算出該電動車到達該最近的載貨點j之剩餘電量,且判斷到達該最近的載貨點j之剩餘電量是否小於該電動車之最低電量限制W min ,其中,若到達該最近的載貨點j之剩餘電量小於該電動車之最低電量限制W min ,則執行步驟S24-8;反之,若到達該最近的載貨點j之剩餘電量大於或等於該電動車之最低電量限制W min ,則執行步驟S24-6。 In step S24-5, the remaining power is checked: the route planning module 13 calculates the remaining power of the electric vehicle when it reaches the nearest loading point j according to the power consumption matrix, and determines whether the remaining power when it reaches the nearest loading point j is less than the minimum power limit W min of the electric vehicle. If the remaining power when it reaches the nearest loading point j is less than the minimum power limit W min of the electric vehicle, step S24-8 is executed; otherwise, if the remaining power when it reaches the nearest loading point j is greater than or equal to the minimum power limit W min of the electric vehicle, step S24-6 is executed.

於步驟S24-6中,檢查到達最近的載貨點後,是否有足夠的電量回到訖點:由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該最近的載貨點j到達該訖點之耗電量,且判斷該電動車抵達該最近的載貨點j之剩餘電量是否大於回到該訖點之耗電量,其中,若該電動車抵達該最近的載貨點j之剩餘電量大於回到該訖點之耗電量,則執行步驟S24-9;反之,若該電動車抵達該最近的載貨點j之剩餘電量小於或等於回到該訖點之耗電量,則執行步驟S24-7。 In step S24-6, it is checked whether there is enough power to return to the search point after arriving at the nearest loading point: the path planning module 13 obtains the power consumption of the electric vehicle from the nearest loading point j to the search point according to the power consumption matrix, and determines whether the remaining power of the electric vehicle when arriving at the nearest loading point j is greater than the power consumption when returning to the search point. If the remaining power of the electric vehicle when arriving at the nearest loading point j is greater than the power consumption when returning to the search point, step S24-9 is executed; conversely, if the remaining power of the electric vehicle when arriving at the nearest loading point j is less than or equal to the power consumption when returning to the search point, step S24-7 is executed.

於步驟S24-7中,檢查抵達該最近的載貨點後,是否有足夠電量到達最近的充電站:由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該最近的載貨點j到達最近的充電站p之耗電量,且判斷該電動車抵達該最近的載貨點j之剩餘電量是否小於到達該最近的充電站p之耗電量,其中,若抵達該最近的載貨點j之剩餘電量小於到達該最近的充電站p之耗電量,則執行步驟S24-8;反之,若抵達該最近的載貨點j之剩餘電量大於或等於到達該最近的充電站p之耗電量,則執行步驟S24-9。 In step S24-7, it is checked whether there is enough power to reach the nearest charging station after arriving at the nearest loading point: the path planning module 13 obtains the power consumption of the electric vehicle from the nearest loading point j to the nearest charging station p according to the power consumption matrix, and determines whether the remaining power of the electric vehicle when arriving at the nearest loading point j is less than the power consumption when arriving at the nearest charging station p . If the remaining power when arriving at the nearest loading point j is less than the power consumption when arriving at the nearest charging station p , step S24-8 is executed; conversely, if the remaining power when arriving at the nearest loading point j is greater than or equal to the power consumption when arriving at the nearest charging station p , step S24-9 is executed.

於步驟S24-8中,檢查是否可由目前所在點到達最近的充電站:由該路徑規劃模組13依據該耗電量矩陣判斷該電動車之剩餘電量是否能從該目前所在點i到達該最近的充電站p,其中,若能從該目前所在點i到達該最近的充電站p,則執行步驟S24-11;反之,若不能從該目前所在點i到達該最近的充電站p,則結束流程。 In step S24-8, it is checked whether the nearest charging station can be reached from the current location: the path planning module 13 determines whether the remaining power of the electric vehicle can reach the nearest charging station p from the current location i according to the power consumption matrix. If the nearest charging station p can be reached from the current location i , step S24-11 is executed; otherwise, if the nearest charging station p cannot be reached from the current location i , the process ends.

於步驟S24-9中,進行載貨:由該路徑規劃模組13規畫該電動車至該最近的載貨點j進行載貨,以由該路徑規劃模組13令該目前所在點i=該最近的載貨點j,且判斷是否還有其他載貨點,其中,若仍有其他載貨點, 則更新充電站資訊,並回到步驟S24-2;若無其他載貨點,則執行步驟S24-10。 In step S24-9, loading is performed: the path planning module 13 plans the electric vehicle to the nearest loading point j for loading, so that the path planning module 13 sets the current point i = the nearest loading point j , and determines whether there are other loading points. If there are other loading points, the charging station information is updated and the process returns to step S24-2; if there are no other loading points, the process executes step S24-10.

於步驟S24-10中,檢查是否能回到訖點:由該路徑規劃模組13判斷該電動車之剩餘電量是否足夠回到訖點,其中,若該電動車之剩餘電量能回到訖點,則執行步驟S24-12;反之,若該電動車之剩餘電量無法回到訖點,則執行步驟S24-11。 In step S24-10, check whether the vehicle can return to the detection point: the route planning module 13 determines whether the remaining power of the electric vehicle is sufficient to return to the detection point. If the remaining power of the electric vehicle can return to the detection point, step S24-12 is executed; otherwise, if the remaining power of the electric vehicle cannot return to the detection point, step S24-11 is executed.

於步驟S24-11中,進行充電:由該路徑規劃模組13規畫該電動車至該最近的充電站p進行充電,以由該路徑規劃模組13令目前所在點i=該最近的充電站p,且判斷是否還有其他載貨點,其中,若仍有其他載貨點,則更新充電站資訊,並回到步驟S24-2;若無其他載貨點,則執行步驟S24-12。 In step S24-11, charging is performed: the path planning module 13 plans the electric vehicle to the nearest charging station p for charging, so that the path planning module 13 sets the current location i = the nearest charging station p , and determines whether there are other loading points. If there are other loading points, the charging station information is updated and the process returns to step S24-2; if there are no other loading points, the process executes step S24-12.

於步驟S24-12中,完成路徑:由該路徑規劃模組13規畫該電動車回到終點,以得到該初始路徑,且若所有站點都進入過則停止,並到最近的充電站進行充電。 In step S24-12, the route is completed: the route planning module 13 plans the electric vehicle to return to the end point to obtain the initial route, and if all stations have been entered, it stops and goes to the nearest charging station for charging.

回到圖2,於步驟S25中,由該路徑規劃模組13利用各種啟發式演算法(如禁忌搜尋法(Tabu Search,TS)),以依據該初始路徑取得一最佳行駛路徑。 Returning to FIG. 2, in step S25, the path planning module 13 uses various heuristic algorithms (such as Tabu Search (TS)) to obtain an optimal driving path based on the initial path.

在一實施例中,禁忌搜尋法是一種啟發式演算法,能解決組合最佳化的問題,例如:旅行推銷員問題(traveling salesman problem,TSP)等組合問題。再者,該禁忌搜尋法是建立在爬山演算法(Hill climbing)的基礎上,再加入記憶機制,將曾經拜訪過的鄰近最優解納入禁忌清單,避免重複過去相同的移動方式,並盡可能跳脫局部最佳解。 In one embodiment, the taboo search method is a heuristic algorithm that can solve combinatorial optimization problems, such as the traveling salesman problem (TSP). Furthermore, the taboo search method is based on the hill climbing algorithm, and a memory mechanism is added to include the neighboring optimal solutions that have been visited into the taboo list to avoid repeating the same movement mode in the past and to jump out of the local optimal solution as much as possible.

在一實施例中,該禁忌搜尋法將透過移步方法,以依據該初始路徑找出更好的解,而該禁忌搜尋法在載貨量及電量所造成之不可行解會給予懲罰值,以利用改變載貨點及充電站在該初始路徑內的順序,進而找出載貨點及充電站在路徑中的最佳位置,得到該最佳行駛路徑,其中,如圖2B所示,該禁忌搜尋法包含下列步驟: In one embodiment, the taboo search method will use a step-by-step method to find a better solution based on the initial path, and the taboo search method will give a penalty value to the infeasible solution caused by the cargo load and power, so as to change the order of the cargo points and charging stations in the initial path, and then find the best position of the cargo points and charging stations in the path to obtain the optimal driving path. As shown in FIG2B, the taboo search method includes the following steps:

於步驟S25-1中,由該路徑規劃模組13輸入該初始路徑,以作為一現行解。 In step S25-1, the path planning module 13 inputs the initial path as a current solution.

於步驟S25-2中,由該路徑規劃模組13將該初始路徑(該現行解)中之載貨點進行交換,以計算交換後的複數第一目標值(如計算出載貨點交換後之總行駛長度或總行駛花費時間),且從該複數第一目標值選擇出最少的總行駛長度或總行駛花費時間之一者,再將其相對的經交換後之路徑作為第一候選解。 In step S25-2, the path planning module 13 exchanges the loading points in the initial path (the current solution) to calculate multiple first target values after the exchange (such as calculating the total driving distance or total driving time after the loading points are exchanged), and selects one of the minimum total driving distance or total driving time from the multiple first target values, and then uses the corresponding exchanged path as the first candidate solution.

於步驟S25-3中,由該路徑規劃模組13判斷該第一候選解所相對應之路徑是否在一禁忌名單中,其中,若交換的該之二個載貨點不在該禁忌名單中,則執行步驟S25-4;反之,若交換的該二個載貨點在該禁忌名單中,則執行步驟S25-5。 In step S25-3, the path planning module 13 determines whether the path corresponding to the first candidate solution is in a taboo list, wherein if the two exchanged loading points are not in the taboo list, step S25-4 is executed; otherwise, if the two exchanged loading points are in the taboo list, step S25-5 is executed.

於步驟S25-4中,由該路徑規劃模組13允許該二個載貨點進行交換,以將該現行解更新為該第一候選解,其中,若該第一候選解不符合限制式,則加上懲罰值。 In step S25-4, the routing module 13 allows the two loading points to be exchanged to update the current solution to the first candidate solution, wherein if the first candidate solution does not meet the constraint, a penalty value is added.

於步驟S25-5中,由該路徑規劃模組13不允許該二個載貨點進行交換,以維持該現行解,並更新該禁忌名單,其中,若該現行解不符合限制式,則加上懲罰值。 In step S25-5, the routing module 13 does not allow the two loading points to be exchanged to maintain the current solution and updates the taboo list, wherein a penalty value is added if the current solution does not meet the constraint.

於步驟S25-6中,由該路徑規劃模組13執行優化(如2-optimization),以從該現行解或該第一候選解中選擇不相鄰的二個載貨點,將該二個載貨點之間的路徑翻轉,以獲得更新路徑,且將該更新路徑作為第二候選解,又計算出其第二目標值,其中,若該更新路徑中具有充電站,則將該充電站移到該更新路徑中之各個位置,以計算出該充電站於該更新路徑中之各個位置之目標值,並選擇該充電站於該更新路徑中之改善最多的位置(亦即最少的總行駛長度或總行駛花費時間之位置),以作為該第二候選解。 In step S25-6, the path planning module 13 performs optimization (such as 2-optimization) to select two non-adjacent loading points from the current solution or the first candidate solution, flip the path between the two loading points to obtain an updated path, and use the updated path as the second candidate solution, and calculate its second target value. If there is a charging station in the updated path, the charging station is moved to each position in the updated path to calculate the target value of each position of the charging station in the updated path, and the most improved position of the charging station in the updated path (i.e., the position with the least total driving length or total driving time) is selected as the second candidate solution.

於步驟S25-7中,由該路徑規劃模組13判斷流程是否達到最大疊代次數,其中,若達到該最大疊代次數,則獲得最終解(即最佳行駛路徑),並結束流程;反之,若未達到最大疊代次數,則執行步驟S25-8。 In step S25-7, the path planning module 13 determines whether the process has reached the maximum number of iterations. If the maximum number of iterations has been reached, the final solution (i.e., the optimal driving path) is obtained and the process ends; otherwise, if the maximum number of iterations has not been reached, step S25-8 is executed.

於步驟S25-8中,由該路徑規劃模組13將疊代次數加1,且更新禁忌名單,並回到步驟S25-2,以將該更新路徑中之載貨點進行交換,進而執行後續步驟。 In step S25-8, the path planning module 13 increases the number of iterations by 1, updates the taboo list, and returns to step S25-2 to exchange the loading points in the updated path and execute subsequent steps.

下列係為本發明之基於充電站之路徑規劃系統1之架構示意圖之具體實施例,且一併參閱圖1及圖2說明之。 The following is a specific embodiment of the schematic diagram of the structure of the charging station route planning system 1 of the present invention, and is also explained with reference to Figures 1 and 2.

於本實施例中,一資料輸入模組11輸入起訖點、載貨點資訊、電動車之車輛資訊或/及充電站資訊,其中,該起訖點包含一起點O及一訖點P,且該起點O之座標係為O(0,0)及一訖點P之座標係為P(0,0);該載貨點資訊包含第一載貨點A、第二載貨點B及第三載貨點C,且該第一載貨點A之座標係為A(2,3)及載貨量係為3、該第二載貨點B之座標係為B(5,6)及載貨量係為2、該第三載貨點C之座標係為C(3,8)及載貨量係為1;該車輛資訊包含初始時剩餘電量係為100%、電耗係為0.1(即消耗1度電能開0.1單位距 離)、電池容量係為100kWh、載貨容量為係為10個單位(如10箱等)、最低電量限制係為20%、適用充電站類型係為X牌之充電站;該充電站資訊包含第一充電站a、第二充電站b、第三充電站c及第四充電站d,且該些充電站a,b,c,d之位置、廠牌、空位、充電功率分別為:該第一充電站a={(3,7),X,有,120kw};該第二充電站b={(3,3),X,無,120kw};該第三充電站c={(6,6),Y,有,120kw};該第四充電站d={(5,5),X,有,120kw}。 In this embodiment, a data input module 11 inputs the starting and ending points, the loading point information, the vehicle information of the electric vehicle and/or the charging station information, wherein the starting and ending points include a starting point O and a loading point P, and the coordinates of the starting point O are O(0,0) and the coordinates of the loading point P are P(0,0); the loading point information includes a first loading point A, a second loading point B and a third loading point C, and the coordinates of the first loading point A are A(2,3) and the loading volume is 3, the coordinates of the second loading point B are B(5,6) and the loading volume is 2, and the coordinates of the third loading point C are C(3,8) and the loading volume is 1; the vehicle information includes the initial remaining power is 100%, the power consumption is 0.1 (i.e., 1 kWh of electricity is consumed to start 0.1 unit distance ), battery capacity is 100kWh, cargo capacity is 10 units (such as 10 boxes, etc.), minimum power limit is 20%, applicable charging station type is X brand charging station; the charging station information includes the first charging station a, the second charging station b, the third charging station c and the fourth charging station d, and the location, brand, vacancy and charging power of these charging stations a, b, c, d are respectively: the first charging station a={(3,7), X, yes, 120kw}; the second charging station b={(3,3), X, no, 120kw}; the third charging station c={(6,6), Y, yes, 120kw}; the fourth charging station d={(5,5), X, yes, 120kw}.

再者,由一資料前處理模組12接收來自該資料輸入模組11的該起訖點、該載貨點資訊、該車輛資訊或/及該充電站資訊,且該資料前處理模組12對該充電站資訊進行資料篩選,以排除無剩餘空位及種類不符合之充電站,故該資料前處理模組12排除該第二充電站b及該第三充電站c,以篩選出可使用之該第一充電站a及該第四充電站d。 Furthermore, a data pre-processing module 12 receives the starting point, the loading point information, the vehicle information and/or the charging station information from the data input module 11, and the data pre-processing module 12 performs data screening on the charging station information to exclude charging stations with no remaining space and incompatible types. Therefore, the data pre-processing module 12 excludes the second charging station b and the third charging station c to screen out the first charging station a and the fourth charging station d that can be used.

由該資料前處理模組12根據該充電站資訊計算出該第一充電站a及該第四充電站d之充電時間及該電動車之可行駛里程。具言之,該第一充電站a及該第四充電站d每充1%電量所需充電時間約為0.5分鐘(從0%充到100%所需時間為100/120kw×60=50分鐘,而每充1%電量所需充電時間為50(分鐘)/100%=0.5分鐘),且該車輛資訊得知每1%電量可行駛里程為0.1單位距離(0.1=0.1(電耗)×100(電池容量)/100%)。 The data pre-processing module 12 calculates the charging time of the first charging station a and the fourth charging station d and the mileage of the electric vehicle based on the charging station information. Specifically, the charging time required for each 1% charge at the first charging station a and the fourth charging station d is about 0.5 minutes (the time required to charge from 0% to 100% is 100/120kw×60=50 minutes, and the charging time required for each 1% charge is 50 (minutes)/100%=0.5 minutes), and the vehicle information shows that the mileage for each 1% charge is 0.1 unit distance (0.1=0.1 (power consumption)×100 (battery capacity)/100%).

由該資料前處理模組12透過一歐式距離計算公式(1),以依據該起點O、該訖點P、該第一充電站a及該第四充電站d之座標計算出一距離矩陣,如下表1所示,其中,該歐式距離計算公式(1)如下所示: The data pre-processing module 12 calculates a distance matrix according to the coordinates of the starting point O, the search point P, the first charging station a and the fourth charging station d through a European distance calculation formula (1), as shown in Table 1 below, wherein the European distance calculation formula (1) is as follows:

Figure 112108750-A0101-12-0012-1
Figure 112108750-A0101-12-0012-1

表1:距離矩陣

Figure 112108750-A0101-12-0013-15
Table 1: Distance Matrix
Figure 112108750-A0101-12-0013-15

由該資料前處理模組12據該距離矩陣及每1%電量可行駛里程為0.1單位距離進行計算,以取得一耗電量矩陣,且該耗電量矩陣如下表2所示: The data pre-processing module 12 calculates based on the distance matrix and the mileage per 1% of the electric power is 0.1 unit distance to obtain a power consumption matrix, and the power consumption matrix is shown in Table 2 below:

表2:耗電量矩陣

Figure 112108750-A0101-12-0014-3
Table 2: Power Consumption Matrix
Figure 112108750-A0101-12-0014-3

在考慮時間因素下,由該資料前處理模組12根據一每個點位之間的歷史到/離站資料中之行駛時間,先利用四分法排除離群值後,再運用平均數之方式,分別計算出歷史行駛時間之平均數,以取得行駛於各個點位之間的時間矩陣,且該時間矩陣如下表3所示: Taking the time factor into consideration, the data pre-processing module 12 first uses the quartile method to eliminate outliers based on the travel time in the historical arrival/departure data between each point, and then uses the average method to calculate the average of the historical travel time to obtain the time matrix between each point, and the time matrix is shown in Table 3 below:

表3:時間矩陣

Figure 112108750-A0101-12-0015-4
Table 3: Time Matrix
Figure 112108750-A0101-12-0015-4

為了取得各個載貨點的預計停留時間,由該資料前處理模組12透過線性回歸方式,以依據歷史到/離站資料中之停留時間及配送量,利用最小平方法計算出各個載貨點的停留時間及配送量之回歸曲線,再使用回歸曲線及配送量計算出各個載貨點之預計停留時間,且該預計停留時間如下表4所示: In order to obtain the expected stay time of each loading point, the data pre-processing module 12 uses a linear regression method to calculate the regression curve of the stay time and delivery volume of each loading point based on the stay time and delivery volume in the historical arrival/departure data using the least square method, and then uses the regression curve and delivery volume to calculate the expected stay time of each loading point, and the expected stay time is shown in Table 4 below:

表4:預計停留時間

Figure 112108750-A0101-12-0016-5
Table 4: Estimated duration of stay
Figure 112108750-A0101-12-0016-5

由一路徑規劃模組13依據該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣執行一最近鄰域法,以得到一初始路徑。 A path planning module 13 executes a nearest neighbor method based on the feasible driving range, distance matrix, power consumption matrix and time matrix of the electric vehicle to obtain an initial path.

具體而言,於該電動車從該起點O出發時,該起點O係作為目前所在點i,且假設當下載貨量為0、耗電量為0及電量為100%,而依據該時間矩陣找到距離該目前所在點i最近的載貨點j係為該第一載貨點A。 Specifically, when the electric vehicle starts from the starting point O, the starting point O is taken as the current point i , and assuming that the amount of cargo loaded is 0, the power consumption is 0 and the power is 100%, the loading point j closest to the current point i is found according to the time matrix as the first loading point A.

在一實施例中,由該路徑規劃模組13判斷該最近的載貨點j(即該第一載貨點A)之載貨量是否大於該電動車之載貨容量,且於該第一載貨點A之載貨量(3)小於該電動車之載貨容量(10)時,再由該路徑規劃模組13依據該耗電量矩陣計算出該電動車到達該第一載貨點A之剩餘電量,例如:100%(電動車之電量)-36%(到達該第一載貨點A之耗電量)=64%(到達該第一載貨點A之剩餘電量),且判斷出到達該第一載貨點A之剩餘電量(64%)大於該電動車之最低電量限制W min (20%)。 In one embodiment, the path planning module 13 determines whether the cargo volume of the nearest loading point j (i.e., the first loading point A) is greater than the cargo capacity of the electric vehicle, and when the cargo volume (3) of the first loading point A is less than the cargo capacity (10) of the electric vehicle, the path planning module 13 calculates the remaining power of the electric vehicle when it reaches the first loading point A according to the power consumption matrix, for example: 100% (power of the electric vehicle) - 36% (power consumption when reaching the first loading point A) = 64% (remaining power when reaching the first loading point A), and determines that the remaining power when reaching the first loading point A (64%) is greater than the minimum power limit W min (20%) of the electric vehicle.

接著,由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該第一載貨點A到達該訖點之耗電量(36%),且於判斷出該電動車抵達該第 一載貨點A之剩餘電量(64%)大於回到該訖點之耗電量(36%)時,故該電動車具有足夠的電量回到該訖點P。因此,由該路徑規劃模組13規畫該電動車至該第一載貨點A進行載貨。此外,仍有其他未進入之站點(即該第二載貨點B及第三載貨點C),所以由該路徑規劃模組13更新充電站資訊,此時將該第一載貨點A作為目前所在點i並判斷距離最近的載貨點jNext, the route planning module 13 obtains the power consumption (36%) of the electric vehicle from the first loading point A to the search point according to the power consumption matrix, and when it is determined that the remaining power (64%) of the electric vehicle arriving at the first loading point A is greater than the power consumption (36%) of returning to the search point, the electric vehicle has enough power to return to the search point P. Therefore, the route planning module 13 plans the electric vehicle to the first loading point A for loading. In addition, there are still other stations that have not been entered (i.e., the second loading point B and the third loading point C), so the route planning module 13 updates the charging station information, and at this time, the first loading point A is taken as the current point i and the nearest loading point j is determined.

在一實施例中,由該路徑規劃模組13判斷距離該第一載貨點A最近之該最近的載貨點j(即該第二載貨點B)之載貨量是否大於該電動車之載貨容量,且於該第二載貨點B之載貨量(2)小於該電動車之載貨容量(7=10-3)時,再由該路徑規劃模組13依據該耗電量矩陣計算出該電動車從該第一載貨點A到達該第二載貨點B之剩餘電量,例如:64%(電動車之剩餘電量)-42%(到達該第二載貨點B之耗電量)=22%(到達該第二載貨點B之剩餘電量),且判斷出到達該第二載貨點B之剩餘電量(22%)大於該電動車之最低電量限制W min (20%)。 In one embodiment, the path planning module 13 determines whether the cargo volume of the nearest loading point j (i.e., the second loading point B) closest to the first loading point A is greater than the cargo capacity of the electric vehicle, and when the cargo volume (2) of the second loading point B is less than the cargo capacity of the electric vehicle (7=10-3), the path planning module 13 then determines the cargo volume of the second loading point B according to the power consumption matrix. The remaining power of the electric vehicle from the first loading point A to the second loading point B is calculated, for example: 64% (remaining power of the electric vehicle) - 42% (power consumption to reach the second loading point B) = 22% (remaining power to reach the second loading point B), and it is determined that the remaining power to reach the second loading point B (22%) is greater than the minimum power limit W min (20%) of the electric vehicle.

接著,由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該第二載貨點B到達該訖點之耗電量(78%),且於判斷出該電動車抵達該第二載貨點B之剩餘電量(22%)小於回到該訖點之耗電量(78%)時,故該電動車沒有足夠的電量回到該訖點P。因此,由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該第二載貨點B到達最近的充電站p(即第二充電站d)之耗電量(10%),且於判斷出該電動車抵達該第二載貨點B之剩餘電量(22%)大於到達該第二充電站d之耗電量(10%)時,由該路徑規劃模組13規畫該電動車至該第二載貨點B進行載貨。此外,仍有其他未進入之站點(即第三載貨點C), 所以由該路徑規劃模組13更新充電站資訊,此時將該第二載貨點B作為目前所在點i並判斷距離最近的載貨點jNext, the route planning module 13 obtains the power consumption (78%) of the electric vehicle from the second loading point B to the search point according to the power consumption matrix, and when it is determined that the remaining power (22%) of the electric vehicle when arriving at the second loading point B is less than the power consumption (78%) when returning to the search point, the electric vehicle does not have enough power to return to the search point P. Therefore, the route planning module 13 obtains the power consumption (10%) of the electric vehicle from the second loading point B to the nearest charging station p (i.e., the second charging station d) according to the power consumption matrix, and when it is determined that the remaining power (22%) of the electric vehicle arriving at the second loading point B is greater than the power consumption (10%) of arriving at the second charging station d, the route planning module 13 plans the electric vehicle to carry goods at the second loading point B. In addition, there are still other stations that have not been entered (i.e., the third loading point C), so the route planning module 13 updates the charging station information, and at this time, the second loading point B is used as the current location i and the nearest loading point j is determined.

在一實施例中,由該路徑規劃模組13判斷距離該第二載貨點B最近之該最近的載貨點j(即該第三載貨點C)之載貨量是否大於該電動車之載貨容量,且於該第三載貨點C之載貨量(1)小於該電動車之載貨容量(5=7-2)時,再由該路徑規劃模組13依據該耗電量矩陣計算出該電動車從該第二載貨點B到達該第三載貨點C之剩餘電量,例如:22%(電動車之剩餘電量)-28%(到達該第三載貨點C之耗電量)=-6%,以判斷出該電動車之剩餘電量無法抵達該第三載貨點C。 In one embodiment, the path planning module 13 determines whether the cargo volume of the nearest loading point j (i.e., the third loading point C) closest to the second loading point B is greater than the cargo capacity of the electric vehicle, and when the cargo volume (1) of the third loading point C is less than the cargo capacity of the electric vehicle (5=7-2), the path planning module 13 calculates the remaining power of the electric vehicle from the second loading point B to the third loading point C according to the power consumption matrix, for example: 22% (remaining power of the electric vehicle) - 28% (power consumption to reach the third loading point C) = -6%, to determine that the remaining power of the electric vehicle is insufficient to reach the third loading point C.

接著,由該路徑規劃模組13規畫該電動車至該第二充電站d進行充電,且依據抵達該電動車抵達該第二充電站d之剩餘電量(12%),以計算出該電動車充滿100%之電量需要44分鐘,例如:44分鐘=(100%-12%)×0.5分鐘。此外,亦有其他未進入之站點(即第三載貨點C),所以由該路徑規劃模組13更新充電站資訊,此時將該第二充電站d作為目前所在點i並判斷距離最近的載貨點jNext, the route planning module 13 plans the electric vehicle to charge at the second charging station d, and according to the remaining power (12%) of the electric vehicle when it arrives at the second charging station d, it is calculated that it takes 44 minutes for the electric vehicle to charge to 100%, for example: 44 minutes = (100%-12%) × 0.5 minutes. In addition, there are other stations that have not been entered (i.e., the third loading point C), so the route planning module 13 updates the charging station information, and at this time, the second charging station d is used as the current location i and the nearest loading point j is determined.

在一實施例中,由該路徑規劃模組13判斷距離該第二充電站d最近之該最近的載貨點j(即該第三載貨點C)之載貨量是否大於該電動車之載貨容量,且於該第三載貨點C之載貨量(1)小於該電動車之載貨容量(5)時,再由該路徑規劃模組13依據該耗電量矩陣計算出該電動車從該第二充電站d到達該第三載貨點C之剩餘電量,例如:100%(電動車之剩餘電量)-36%(到達該第三載貨點C之耗電量)=64%,且判斷出到達該第三載貨點C之剩餘電量(64%)大於該電動車之最低電量限制W min (20%)。 In one embodiment, the route planning module 13 determines whether the cargo volume of the nearest loading point j (i.e., the third loading point C) closest to the second charging station d is greater than the cargo capacity of the electric vehicle, and when the cargo volume (1) of the third loading point C is less than the cargo capacity (5) of the electric vehicle, the route planning module 13 calculates the remaining power of the electric vehicle from the second charging station d to the third loading point C according to the power consumption matrix, for example: 100% (remaining power of the electric vehicle) - 36% (power consumption when reaching the third loading point C) = 64%, and determines that the remaining power (64%) when reaching the third loading point C is greater than the minimum power limit W min (20%) of the electric vehicle.

接著,由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該第三載貨點C到達該訖點之耗電量(78%),且於判斷出該電動車抵達該第三載貨點C之剩餘電量(64%)小於回到該訖點之耗電量(85%)時,故該電動車沒有足夠的電量回到該訖點P。因此,由該路徑規劃模組13依據該耗電量矩陣得到該電動車從該第三載貨點C到達最近的充電站p(即第一充電站a)之耗電量(10%),且於判斷出該電動車抵達該第三載貨點C之剩餘電量(64%)大於到達該第一充電站a之耗電量(10%)時,由該路徑規劃模組13規畫該電動車至該第三載貨點C進行載貨。 Next, the route planning module 13 obtains the power consumption (78%) of the electric vehicle from the third loading point C to the search point according to the power consumption matrix, and when it is determined that the remaining power (64%) of the electric vehicle when arriving at the third loading point C is less than the power consumption (85%) when returning to the search point, the electric vehicle does not have enough power to return to the search point P. Therefore, the path planning module 13 obtains the power consumption (10%) of the electric vehicle from the third loading point C to the nearest charging station p (i.e., the first charging station a) based on the power consumption matrix, and when it is determined that the remaining power (64%) of the electric vehicle arriving at the third loading point C is greater than the power consumption (10%) of arriving at the first charging station a, the path planning module 13 plans the electric vehicle to the third loading point C for loading.

此外,該電動車已進入所有站點,故由該路徑規劃模組13判斷該電動車是否有足夠的電量回到該訖點P,且因該電動車抵達該第三載貨點C之剩餘電量(64%)小於回到該訖點之耗電量(85%)。是以,由該路徑規劃模組13規畫該電動車從該第三載貨點C到達最近的充電站p(即第一充電站a)進行充電,而該電動車抵達該第一充電站a之剩餘電量為54%,故該路徑規劃模組13計算出該電動車充滿100%之電量需要23分鐘,例如:23分鐘=(100%-54%)×0.5分鐘。最後,由該路徑規劃模組13規畫該電動車從該第一充電站a回到該訖點P。 In addition, the electric vehicle has entered all stations, so the route planning module 13 determines whether the electric vehicle has enough power to return to the search point P, and because the remaining power (64%) of the electric vehicle arriving at the third loading point C is less than the power consumption (85%) to return to the search point. Therefore, the route planning module 13 plans the electric vehicle to charge from the third loading point C to the nearest charging station p (i.e., the first charging station a), and the remaining power of the electric vehicle arriving at the first charging station a is 54%, so the route planning module 13 calculates that it takes 23 minutes for the electric vehicle to charge 100%, for example: 23 minutes = (100%-54%) × 0.5 minutes. Finally, the route planning module 13 plans the electric vehicle to return from the first charging station a to the detection point P.

藉此,由該路徑規劃模組13得到該電動車之初始路徑,即:起點O→第一載貨點A→第二載貨點B→第二充電站d→第三載貨點C→第一充電站a→訖點P。再者,該路徑規劃模組13依據該初始路徑及該距離矩陣得到總行駛長度為21距離單位(21=3.6+4.2+1+3.6+1+7.6);依據該初始路徑及該時間矩陣得到預估行駛花費時間為26分鐘(26=5+5+2+5+6+3);依據該些載貨點A,B,C之回歸曲線及配送量得到預估停留時間為23分鐘 (23=10+8+5);依據依據該些充電站a,d之充電時間得到預估充電時間67分鐘(67=44+23);以及依據該預估行駛花費時間、該預估停留時間及該預估充電時間得到預估總行駛花費時間為116分鐘(116=26+23+67)。 Thus, the path planning module 13 obtains the initial path of the electric vehicle, namely: starting point O→first loading point A→second loading point B→second charging station d→third loading point C→first charging station a→query point P. Furthermore, the path planning module 13 obtains the total travel length of 21 distance units (21=3.6+4.2+1+3.6+1+7.6) according to the initial path and the distance matrix; the estimated travel time is 26 minutes (26=5+5+2+5+6+3) according to the initial path and the time matrix; and the estimated travel time is 26 minutes (26=5+5+2+5+6+3) according to the regression curves of the loading points A, B, C and the distribution The estimated stay time is 23 minutes (23=10+8+5); the estimated charging time is 67 minutes (67=44+23) based on the charging time of the charging stations a and d; and the estimated total driving time is 116 minutes (116=26+23+67) based on the estimated driving time, the estimated stay time and the estimated charging time.

於另一實施例中,由該路徑規劃模組13得到該電動車之初始路徑後,透過一禁忌搜尋法,設法取得最終解,亦即取得最佳行駛路徑。 In another embodiment, after the path planning module 13 obtains the initial path of the electric vehicle, a taboo search method is used to try to obtain the final solution, that is, the best driving path.

具體而言,本實施例目標式為最小化行車時間,而若目標為最小化行車距離則可透過距離矩陣來進行。 Specifically, the goal of this embodiment is to minimize driving time, and if the goal is to minimize driving distance, it can be done through a distance matrix.

再者,本實施例之集合定義如下所示: Furthermore, the set definition of this embodiment is as follows:

G:所有載貨點的集合,G

Figure 112108750-A0101-12-0020-23
NG : the set of all loading points, G
Figure 112108750-A0101-12-0020-23
N.

P:所有充電站的集合,P

Figure 112108750-A0101-12-0020-24
NP : the set of all charging stations, P
Figure 112108750-A0101-12-0020-24
N.

N:所有載貨點及充電站的集合,其中,0代表起點及0’代表迄點。 N : The set of all loading points and charging stations, where 0 represents the starting point and 0' represents the end point.

A:所有點連成為線之集合,

Figure 112108750-A0101-12-0020-17
A : The set of all points connected by lines.
Figure 112108750-A0101-12-0020-17
.

接著,本實施例之參數及變數,定義如下所示: Next, the parameters and variables of this embodiment are defined as follows:

W max :電動車之最高電量限制。 W max : The maximum power limit of an electric vehicle.

W min :電動車之最低電量限制。 W min : The minimum power limit of an electric vehicle.

Q:電動車之載貨容量限制。 Q : Cargo capacity restrictions on electric vehicles.

d ij :從i點到j點的距離。 d ij : the distance from point i to point j .

t ij :從i點到j點的時間。 t ij : time from point i to point j .

r ij :從i點到j點所需的耗電量。 r ij : The power consumption required to travel from point i to point j .

z j :電動車到達j點時的剩餘電量。 z j : the remaining power of the electric vehicle when it reaches point j .

q j j點的載貨量需求。 q j : cargo demand at point j .

x ij :為一個二元變數,若點i行駛到點j則為1,否則為0。 x ij : A binary variable, which is 1 if point i travels to point j , otherwise it is 0.

又,本實施例之限制式,以供該禁忌搜尋法使用,且該限制式如下所示: In addition, the restriction formula of this embodiment is used for the taboo search method, and the restriction formula is as follows:

限制式(1):每一個載貨點最多只進入1次。 Restriction (1): Each loading point can only be entered once at most.

Figure 112108750-A0101-12-0021-6
x ij
Figure 112108750-A0101-12-0021-25
1
Figure 112108750-A0101-12-0021-26
j
Figure 112108750-A0101-12-0021-18
G
Figure 112108750-A0101-12-0021-6
x ij
Figure 112108750-A0101-12-0021-25
1
Figure 112108750-A0101-12-0021-26
j
Figure 112108750-A0101-12-0021-18
G

限制式(2):每一個充電站最多只進入1次。 Restriction (2): Each charging station can only be entered once at most.

Figure 112108750-A0101-12-0021-7
x ij
Figure 112108750-A0101-12-0021-27
1
Figure 112108750-A0101-12-0021-19
j
Figure 112108750-A0101-12-0021-28
P
Figure 112108750-A0101-12-0021-7
x ij
Figure 112108750-A0101-12-0021-27
1
Figure 112108750-A0101-12-0021-19
j
Figure 112108750-A0101-12-0021-28
P

限制式(3):每一個載貨點都要進入並離開1次。 Restriction (3): Each loading point must be entered and exited once.

Figure 112108750-A0101-12-0021-16
Figure 112108750-A0101-12-0021-29
(i,j)
Figure 112108750-A0101-12-0021-20
A,ij
Figure 112108750-A0101-12-0021-16
Figure 112108750-A0101-12-0021-29
( i , j )
Figure 112108750-A0101-12-0021-20
A , ij

限制式(4):電動車到達每個載貨點時,剩餘電量不能小於最低電量限制。 Restriction (4): When the electric vehicle reaches each loading point, the remaining power cannot be less than the minimum power limit.

z i

Figure 112108750-A0101-12-0021-30
W min
Figure 112108750-A0101-12-0021-31
i
Figure 112108750-A0101-12-0021-32
P z i
Figure 112108750-A0101-12-0021-30
W min
Figure 112108750-A0101-12-0021-31
i
Figure 112108750-A0101-12-0021-32
P

限制式(5):電動車到達每個充電站時,剩餘電量必須大於0。 Constraint (5): When the electric vehicle arrives at each charging station, the remaining power must be greater than 0.

z i

Figure 112108750-A0101-12-0021-33
0
Figure 112108750-A0101-12-0021-34
i
Figure 112108750-A0101-12-0021-35
P z i
Figure 112108750-A0101-12-0021-33
0
Figure 112108750-A0101-12-0021-34
i
Figure 112108750-A0101-12-0021-35
P

限制式(6):電動車到達每個載貨點時,載貨量需小於等於最高載貨量限制。 Restriction (6): When the electric vehicle reaches each loading point, the cargo volume must be less than or equal to the maximum cargo volume limit.

Figure 112108750-A0101-12-0021-9
q j
Figure 112108750-A0101-12-0021-36
Q
Figure 112108750-A0101-12-0021-37
i
Figure 112108750-A0101-12-0021-38
G
Figure 112108750-A0101-12-0021-9
q
Figure 112108750-A0101-12-0021-36
Q
Figure 112108750-A0101-12-0021-37
i
Figure 112108750-A0101-12-0021-38
G

限制式(7):電動車耗電量關係式,亦即電動車到達每個載貨點時的剩餘電量,減掉到下一個載貨點的耗電量,要大於到下一個載貨點的剩餘電量。 Constraint (7): The relationship between the power consumption of electric vehicles, that is, the remaining power of the electric vehicle when it arrives at each loading point minus the power consumption to the next loading point must be greater than the remaining power at the next loading point.

z i -r ij

Figure 112108750-A0101-12-0021-39
z i
Figure 112108750-A0101-12-0021-21
i
Figure 112108750-A0101-12-0021-40
G∪{0},(i,j)
Figure 112108750-A0101-12-0021-22
A z i - r ij
Figure 112108750-A0101-12-0021-39
z i
Figure 112108750-A0101-12-0021-21
i
Figure 112108750-A0101-12-0021-40
G ∪{0},( i , j )
Figure 112108750-A0101-12-0021-22
A

是以,該禁忌搜尋法將透過移步方法(如圖2B所示),以利用改變該些載貨點A,B,C及該些充電站a,d在該初始路徑內的順序,以找出該些載貨點A,B,C及該些充電站a,d在路徑中的最佳位置。 Therefore, the taboo search method will use the shifting method (as shown in FIG. 2B ) to change the order of the loading points A, B, C and the charging stations a, d in the initial path to find the best positions of the loading points A, B, C and the charging stations a, d in the path.

其中,本實施例之禁忌搜尋法中所使用的參數值如下所示: Among them, the parameter values used in the taboo search method of this embodiment are as follows:

1.電動車之最高載貨容量限制Q:每台車固定的容量限制。例如:該最高載貨容量限制Q設定為10。 1. Maximum cargo capacity limit Q of electric vehicles: a fixed capacity limit for each vehicle. For example, the maximum cargo capacity limit Q is set to 10.

2.電動車之最高電量限制W max :每台車固定的最高電量限制。例如:該最高電量限制W max 設定為100。 2. Maximum power limit W max for electric vehicles: Each vehicle has a fixed maximum power limit. For example, the maximum power limit W max is set to 100.

3.電動車之最低電量限制W min :每台車固定的最低電量限制。例如:該最低電量限制W min 設定為20。 3. Minimum power limit W min for electric vehicles: A fixed minimum power limit for each vehicle. For example, the minimum power limit W min is set to 20.

4.載貨容量不可行解之懲罰值α:如果移步後,超過載貨容量限制Q,即在目標值加上懲罰值α。例如:該懲罰值α設定為1000。 4. Penalty value α for infeasible solution of cargo capacity: If the cargo capacity limit Q is exceeded after the step, the penalty value α is added to the target value. For example, the penalty value α is set to 1000.

5.電量不可行解之懲罰值β:如果移步後,無足夠的電量到達充電站或載貨點,即在目標值加上懲罰值β。例如:該懲罰值β設定為1000。 5. Penalty value β for infeasible solution of electricity: If there is not enough electricity to reach the charging station or loading point after moving, the penalty value β is added to the target value. For example: the penalty value β is set to 1000.

6.最大疊代次數(Max Iteration):該禁忌搜尋法所執行的最大次數,且達到該最大疊代次數時,停止執行該禁忌搜尋法。例如:最大疊代次數設定為5。 6.Maximum Iteration: The maximum number of times the taboo search method is executed. When the maximum number of iterations is reached, the taboo search method stops executing. For example: the maximum number of iterations is set to 5.

舉例而言,由該路徑規劃模組13輸入該初始路徑(即起點O→第一載貨點A→第二載貨點B→第二充電站d→第三載貨點C→第一充電站a→訖點P),以作為一現行解,由該路徑規劃模組13將該初始路徑(該現行解)中之載貨點進行交換,例如:由該路徑規劃模組13分別將該第一載貨點A及該第二載貨點B順序交換、該第二載貨點B及該第三載貨點C順序交換以及 該第一載貨點A及該第三載貨點C順序交換,且分別計算出載貨點交換後的複數第一目標值,以從該複數第一目標值選擇出最少的總行駛花費時間之一者,再將其相對的經交換後之路徑作為第一候選解。 For example, the path planning module 13 inputs the initial path (i.e., starting point O→first loading point A→second loading point B→second charging station d→third loading point C→first charging station a→query point P) as a current solution, and the path planning module 13 swaps the loading points in the initial path (the current solution). For example, the path planning module 13 swaps the first loading point A→second loading point B→second charging station d→third loading point C→first charging station a→query point P. The cargo point A and the second cargo point B are exchanged in sequence, the second cargo point B and the third cargo point C are exchanged in sequence, and the first cargo point A and the third cargo point C are exchanged in sequence, and the multiple first target values after the cargo point exchange are calculated respectively, so as to select one of the multiple first target values with the least total travel time, and then use the relative exchanged path as the first candidate solution.

再者,由該路徑規劃模組13判斷出該第一候選解所相對應之路徑位於一禁忌名單中後,以維持該現行解,並更新該禁忌名單。此外,若由該路徑規劃模組13判斷出該現行解不符合限制式,則將由該現行解所計算出之目標值加上懲罰值(如1000)。 Furthermore, after the path planning module 13 determines that the path corresponding to the first candidate solution is in a taboo list, the current solution is maintained and the taboo list is updated. In addition, if the path planning module 13 determines that the current solution does not meet the constraint, a penalty value (such as 1000) is added to the target value calculated by the current solution.

接著,由該路徑規劃模組13執行優化(如2-optimization),以從該現行解中選擇不相鄰的二個載貨點,將該二個載貨點之間的路徑翻轉,以獲得更新路徑,例如:選擇該第一載貨點A及該第三載貨點C,以將該第一載貨點A及該第三載貨點C之間的站點進行反轉,即起點O→第三載貨點C→第二載貨點B→第四充電站d→第一載貨點A→第一充電站a→迄點P。 Then, the path planning module 13 performs optimization (such as 2-optimization) to select two non-adjacent loading points from the current solution, and flip the path between the two loading points to obtain an updated path, for example: select the first loading point A and the third loading point C to flip the stations between the first loading point A and the third loading point C, that is, starting point O→third loading point C→second loading point B→fourth charging station d→first loading point A→first charging station a→end point P.

此外,由於該更新路徑中具有該第四充電站d,故由該路徑規劃模組13該第四充電站d移到該更新路徑中之各個位置,以計算出該第四充電站d於該更新路徑中之各個位置之目標值(如總行駛長度),並選擇該第四充電站d於該更新路徑中之目標值之最小者,以作為該第二候選解。 In addition, since the updated path has the fourth charging station d, the path planning module 13 moves the fourth charging station d to each position in the updated path to calculate the target value (such as the total driving length) of the fourth charging station d at each position in the updated path, and selects the smallest target value of the fourth charging station d in the updated path as the second candidate solution.

之後,由該路徑規劃模組13判斷此次流程是否達到最大疊代次數,其中,若達到該最大疊代次數,則結束流程;反之,若未達到該最大疊代次數,則繼續將該更新路徑中之載貨點進行交換,進而執行後續步驟,直至達到該最大疊代次數,藉此獲得一最佳行駛路徑(即最終解),例如:該最佳行駛路徑係為:起點O→第四充電站d→第二載貨點B→第三載貨點C→充電站 a→第一載貨點A→迄點P,其總行駛長度為7+1+2.8+1+4.1+3.6=19.5距離單位,優於該初始路徑之總行駛長度21距離單位。 Afterwards, the path planning module 13 determines whether the current process has reached the maximum number of iterations. If the maximum number of iterations has been reached, the process ends. Otherwise, if the maximum number of iterations has not been reached, the loading points in the updated path are exchanged, and the subsequent steps are executed until the maximum number of iterations has been reached, thereby obtaining an optimal driving path. (i.e. the final solution), for example: the optimal driving route is: starting point O→the fourth charging station d→the second loading point B→the third loading point C→charging station a→the first loading point A→the end point P, the total driving length is 7+1+2.8+1+4.1+3.6=19.5 distance units, which is better than the total driving length of the initial route of 21 distance units.

綜上所述,本發明之基於充電站之路徑規劃系統、方法及其電腦可讀媒介,係藉由將起訖點、載貨點資訊、電動車之車輛資訊及可使用之充電站資訊轉換成該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣,藉以得到一初始路徑,且依據該初始路徑進一步處理以取得一最佳行駛路徑。是以,本發明透過上述路徑規劃技術進行站點排序,並完成規劃路徑,藉此產出一預估行駛距離或時間較佳的路徑,以確保電動車在行駛間電量足夠,進而大幅提升電動車的行駛效率。 In summary, the charging station-based route planning system, method and computer-readable medium of the present invention converts the starting and ending points, loading point information, electric vehicle vehicle information and available charging station information into the electric vehicle's drivable mileage, distance matrix, power consumption matrix and time matrix to obtain an initial route, and further processes the initial route to obtain an optimal driving route. Therefore, the present invention uses the above-mentioned route planning technology to sort the stations and complete the planned route, thereby generating a route with a better estimated driving distance or time to ensure that the electric vehicle has sufficient power during driving, thereby greatly improving the driving efficiency of the electric vehicle.

一、本發明之基於充電站之路徑規劃系統及其方法,可依據起訖點、載貨點資訊、電動車之車輛資訊及充電站資訊進行分析,以利用最近鄰域法取得初始路徑,進而透過禁忌搜尋法找出相對較佳的路徑。 1. The charging station-based route planning system and method of the present invention can analyze the starting and ending points, loading point information, electric vehicle vehicle information and charging station information to obtain the initial route using the nearest neighbor method, and then find a relatively better route through the taboo search method.

二、本發明之基於充電站之路徑規劃系統及其方法,係依據充電站資訊進行分析,並預先排除不適合的充電站,找出當下適合的充電站,再進行路徑規劃。 2. The charging station-based route planning system and method of the present invention analyzes the charging station information, eliminates unsuitable charging stations in advance, finds the currently suitable charging stations, and then performs route planning.

三、本發明之基於充電站之路徑規劃系統及其方法,係依據載貨點資訊進行分析,並針對資料做前處理,考量預估的到站時間,再進行路徑規劃,以提高路徑規劃的效率。 3. The charging station-based route planning system and method of the present invention analyzes the loading point information, performs pre-processing on the data, considers the estimated arrival time, and then performs route planning to improve the efficiency of route planning.

上述實施形態僅例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施形態進行修飾與改變。因此,本發明之權利保護範圍應如申請專利範圍所列。 The above implementation forms are only illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with this technology can modify and change the above implementation forms without violating the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be as listed in the scope of the patent application.

S21至S25:步驟 S21 to S25: Steps

Claims (13)

一種基於充電站之路徑規劃系統,係包括: A charging station-based route planning system includes: 一資料輸入模組,係輸入起訖點、載貨點資訊、電動車之車輛資訊及充電站資訊; 1. A data input module for inputting the departure and arrival points, loading point information, electric vehicle information, and charging station information; 一資料前處理模組,係通訊連接該資料輸入模組,且依據該充電站資訊進行資料篩選,以得到可使用之充電站資訊,再由該資料前處理模組將該起訖點、該載貨點資訊、該車輛資訊及該可使用之充電站資訊進行資料轉換,以得到該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣;以及 A data pre-processing module is communicatively connected to the data input module and performs data screening based on the charging station information to obtain the available charging station information. The data pre-processing module then performs data conversion on the departure point, the loading point information, the vehicle information and the available charging station information to obtain the electric vehicle's feasible driving range, distance matrix, power consumption matrix and time matrix; and 一路徑規劃模組,係通訊連接該資料前處理模組,以依據該電動車之可行駛里程、該距離矩陣、該耗電量矩陣及該時間矩陣,得到一初始路徑,再由該路徑規劃模組進一步計算以依據該初始路徑取得一最佳行駛路徑。 A path planning module is communicatively connected to the data pre-processing module to obtain an initial path according to the mileage of the electric vehicle, the distance matrix, the power consumption matrix and the time matrix. The path planning module then further calculates to obtain an optimal driving path according to the initial path. 如請求項1所述之基於充電站之路徑規劃系統,其中,該資料前處理模組係依據該充電站資訊排除無剩餘空位之充電站及種類不符合之充電站,以得到該可使用之充電站資訊。 As described in claim 1, the charging station-based route planning system, wherein the data pre-processing module excludes charging stations with no remaining vacancies and charging stations of unqualified types based on the charging station information, so as to obtain the available charging station information. 如請求項1所述之基於充電站之路徑規劃系統,其中,該路徑規劃模組係利用最近鄰域法,以判斷出該電動車之目前所在點距離最近的載貨點,再判斷該最近的載貨點之載貨量是否符合該電動車之載貨容量,及該電動車是否能抵達該最近的載貨點或訖點,以得到該初始路徑。 As described in claim 1, the route planning system based on the charging station, wherein the route planning module uses the nearest neighbor method to determine the distance between the current location of the electric vehicle and the nearest loading point, and then determines whether the cargo volume of the nearest loading point meets the cargo capacity of the electric vehicle, and whether the electric vehicle can reach the nearest loading point or the search point, so as to obtain the initial route. 如請求項3所述之基於充電站之路徑規劃系統,其中,當不符合該電動車之載貨容量時,該路徑規劃模組尋找下一個最近的載貨點,或當無法抵達該最近的載貨點或該訖點時,該路徑規劃模組尋找一最近的充電站。 A charging station-based route planning system as described in claim 3, wherein when the electric vehicle's cargo capacity is not met, the route planning module searches for the next nearest cargo point, or when the nearest cargo point or the checkpoint cannot be reached, the route planning module searches for a nearest charging station. 如請求項1所述之基於充電站之路徑規劃系統,其中,該路徑規劃模組係利用禁忌搜尋法,將該初始路徑中之載貨點進行交換後,計算出複數第一目標值,再將該複數第一目標值中之目標值最小者所相對之路徑作為第一候選解,又將作為現行解之該初始路徑或該第一候選解執行優化,以獲得作為第二候選解之更新路徑,且於達到最大疊代次數時,獲得該最佳行駛路徑。 As described in claim 1, the route planning system based on the charging station, wherein the route planning module uses the taboo search method to exchange the loading points in the initial route, calculate multiple first target values, and then use the path corresponding to the smallest target value among the multiple first target values as the first candidate solution, and optimize the initial route or the first candidate solution as the current solution to obtain an updated route as the second candidate solution, and when the maximum number of iterations is reached, the optimal driving route is obtained. 如請求項5所述之基於充電站之路徑規劃系統,其中,該路徑規劃模組透過該禁忌搜尋法判斷該第一候選解所相對應之路徑是否在一禁忌名單中,且其中,若該第一候選解所相對應之路徑不在該禁忌名單中,則依據該第一候選解執行優化;反之,若該第一候選解所相對應之路徑在該禁忌名單中,則依據該現行解執行優化。 A charging station-based path planning system as described in claim 5, wherein the path planning module determines whether the path corresponding to the first candidate solution is in a taboo list through the taboo search method, and wherein, if the path corresponding to the first candidate solution is not in the taboo list, the optimization is performed based on the first candidate solution; conversely, if the path corresponding to the first candidate solution is in the taboo list, the optimization is performed based on the current solution. 一種基於充電站之路徑規劃方法,係包括: A charging station-based route planning method includes: 由一資料輸入模組輸入起訖點、載貨點資訊、電動車之車輛資訊及充電站資訊; A data input module inputs the departure and arrival point, loading point information, electric vehicle vehicle information, and charging station information; 由一資料前處理模組依據該充電站資訊進行資料篩選,以得到可使用之充電站資訊; A data pre-processing module performs data screening based on the charging station information to obtain usable charging station information; 由該資料前處理模組將該起訖點、該載貨點資訊、該車輛資訊及該可使用之充電站資訊進行資料轉換,以得到該電動車之可行駛里程、距離矩陣、耗電量矩陣及時間矩陣; The data pre-processing module converts the departure point, the loading point information, the vehicle information and the available charging station information to obtain the feasible driving range, distance matrix, power consumption matrix and time matrix of the electric vehicle; 由一路徑規劃模組依據該電動車之可行駛里程、該距離矩陣、該耗電量矩陣及該時間矩陣,得到一初始路徑;以及 A path planning module obtains an initial path according to the feasible driving range of the electric vehicle, the distance matrix, the power consumption matrix and the time matrix; and 由該路徑規劃模組進一步計算以依據該初始路徑取得一最佳行駛路徑。 The route planning module further calculates to obtain an optimal driving route based on the initial route. 如請求項7所述之基於充電站之路徑規劃方法,更包括由該資料前處理模組係依據該充電站資訊排除無剩餘空位之充電站及種類不符合之充電站,以得到該可使用之充電站資訊。 The method for planning a route based on charging stations as described in claim 7 further includes the data pre-processing module excluding charging stations with no remaining vacancies and charging stations of unqualified types based on the charging station information to obtain the available charging station information. 如請求項7所述之基於充電站之路徑規劃方法,更包括由該路徑規劃模組係利用最近鄰域法,以判斷出該電動車之目前所在點距離最近的載貨點,再判斷該最近的載貨點之載貨量是否符合該電動車之載貨容量,及該電動車是否能抵達該最近的載貨點或訖點,以得到該初始路徑。 The charging station-based route planning method as described in claim 7 further includes the route planning module using the nearest neighbor method to determine the distance between the current location of the electric vehicle and the nearest loading point, and then determining whether the cargo volume of the nearest loading point meets the cargo capacity of the electric vehicle, and whether the electric vehicle can reach the nearest loading point or search point, so as to obtain the initial route. 如請求項9所述之基於充電站之路徑規劃方法,更包括當不符合該電動車之載貨容量時,由該路徑規劃模組尋找下一個最近的載貨點,或當無法抵達該最近的載貨點或該訖點時,由該路徑規劃模組尋找一最近的充電站。 The charging station-based route planning method as described in claim 9 further includes the route planning module finding the next nearest loading point when the electric vehicle does not meet its cargo capacity, or finding the nearest charging station when the nearest loading point or the checkpoint cannot be reached. 如請求項7所述之基於充電站之路徑規劃方法,更包括由該路徑規劃模組係利用禁忌搜尋法,以將該初始路徑中之載貨點進行交換後,計算出複數第一目標值,再將該複數第一目標值中之目標值最小者所相對之路徑作為第一候選解,又將作為現行解之該初始路徑或該第一候選解執行優化,以獲得作為第二候選解之更新路徑,且於達到最大疊代次數時,獲得該最佳行駛路徑。 The charging station-based route planning method as described in claim 7 further includes the route planning module using a taboo search method to exchange the loading points in the initial route, calculate a plurality of first target values, and then use the path corresponding to the smallest target value among the plurality of first target values as the first candidate solution, and optimize the initial route or the first candidate solution as the current solution to obtain an updated route as the second candidate solution, and when the maximum number of iterations is reached, the optimal driving route is obtained. 如請求項11所述之基於充電站之路徑規劃方法,更包括由該路徑規劃模組透過該禁忌搜尋法判斷該第一候選解所相對應之路徑是否在一禁忌名單中,且其中,若該第一候選解所相對應之路徑不在該禁忌名單中,則依據該第一候選解執行優化;反之,若該第一候選解所相對應之路徑在該禁忌名單中,則依據該現行解執行優化。 The charging station-based path planning method as described in claim 11 further includes the path planning module determining whether the path corresponding to the first candidate solution is in a taboo list through the taboo search method, and wherein, if the path corresponding to the first candidate solution is not in the taboo list, then the optimization is performed based on the first candidate solution; conversely, if the path corresponding to the first candidate solution is in the taboo list, then the optimization is performed based on the current solution. 一種電腦可讀媒介,應用於計算裝置或電腦中,係儲存有指令,以執行如請求項7至12之任一者所述之基於充電站之路徑規劃方法。 A computer-readable medium, used in a computing device or a computer, stores instructions for executing a charging station-based route planning method as described in any one of claims 7 to 12.
TW112108750A 2023-03-09 2023-03-09 A system and method of path planning based on charging station and computer-readable medium thereof TWI845200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112108750A TWI845200B (en) 2023-03-09 2023-03-09 A system and method of path planning based on charging station and computer-readable medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112108750A TWI845200B (en) 2023-03-09 2023-03-09 A system and method of path planning based on charging station and computer-readable medium thereof

Publications (2)

Publication Number Publication Date
TWI845200B true TWI845200B (en) 2024-06-11
TW202436142A TW202436142A (en) 2024-09-16

Family

ID=92541687

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112108750A TWI845200B (en) 2023-03-09 2023-03-09 A system and method of path planning based on charging station and computer-readable medium thereof

Country Status (1)

Country Link
TW (1) TWI845200B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110224900A1 (en) * 2010-03-09 2011-09-15 Hitachi Automotive Systems, Ltd. Route Planning Device and Route Planning System
TW201321245A (en) * 2011-11-30 2013-06-01 Automotive Res & Testing Ct Recursive-type path-planning method of electric vehicle
US20140163877A1 (en) * 2012-12-07 2014-06-12 Hitachi, Ltd. Navigation system for electric vehicle
CN104390650A (en) * 2014-11-12 2015-03-04 清华大学 Electric car route planning method and system based on cloud platform
WO2020188893A1 (en) * 2019-03-15 2020-09-24 パナソニックIpマネジメント株式会社 Delivery plan generating method and delivery plan generating system
EP3943890A1 (en) * 2020-07-23 2022-01-26 Fujitsu Limited A computer-implemented method of predicting energy use for a route

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110224900A1 (en) * 2010-03-09 2011-09-15 Hitachi Automotive Systems, Ltd. Route Planning Device and Route Planning System
TW201321245A (en) * 2011-11-30 2013-06-01 Automotive Res & Testing Ct Recursive-type path-planning method of electric vehicle
US20140163877A1 (en) * 2012-12-07 2014-06-12 Hitachi, Ltd. Navigation system for electric vehicle
CN104390650A (en) * 2014-11-12 2015-03-04 清华大学 Electric car route planning method and system based on cloud platform
WO2020188893A1 (en) * 2019-03-15 2020-09-24 パナソニックIpマネジメント株式会社 Delivery plan generating method and delivery plan generating system
EP3943890A1 (en) * 2020-07-23 2022-01-26 Fujitsu Limited A computer-implemented method of predicting energy use for a route

Also Published As

Publication number Publication date
TW202436142A (en) 2024-09-16

Similar Documents

Publication Publication Date Title
CN108764777B (en) Electric logistics vehicle scheduling method and system with time window
CN109583650B (en) Electric vehicle battery replacement station site selection and logistics distribution joint scheduling method
CN107578199B (en) Method for solving two-dimensional loading constraint logistics vehicle scheduling problem
Li-ying et al. Multiple charging station location-routing problem with time window of electric vehicle.
Zhao et al. Research on cooperative scheduling of automated quayside cranes and automatic guided vehicles in automated container terminal
CN109948855A (en) A kind of isomery harmful influence Transport route planning method with time window
Li-zhen et al. Research on multi-load AGV path planning of weaving workshop based on time priority
CN103246969B (en) A kind of implementation method of logistics deployment and device
CN107909228B (en) Method and device for dynamic vehicle receipt and delivery path planning based on meme calculation
CN108959782B (en) A layout optimization method, device and equipment for an intelligent workshop
Li et al. Efficient task planning for heterogeneous AGVs in warehouses
Fontes et al. A bi-objective multi-population biased random key genetic algorithm for joint scheduling quay cranes and speed adjustable vehicles in container terminals: BMMD Fontes, SM Homayouni
CN116151499B (en) Intelligent multi-mode intermodal route planning method based on improved simulated annealing algorithm
Fan A hybrid adaptive large neighborhood search for time-dependent open electric vehicle routing problem with hybrid energy replenishment strategies
Chen et al. A hybrid two-stage sweep algorithm for capacitated vehicle routing problem
CN114358233A (en) Optimization method and system for multi-AGV path planning problem based on dual hybrid particle swarm
Zhu et al. Electric vehicle traveling salesman problem with drone with partial recharge policy
Shen et al. Intelligent material distribution and optimization in the assembly process of large offshore crane lifting equipment
CN112926769A (en) Logistics distribution path planning method and device
Zhen et al. Scheduling AGVs in ports with battery charging and swapping
TWI845200B (en) A system and method of path planning based on charging station and computer-readable medium thereof
Yang et al. AGV scheduling in automated container terminals considering multi-load strategy and charging requirements
Zhu et al. Plug-in hybrid electric vehicle traveling-salesman problem with drone
CN115310676A (en) Path optimization method and device under time-varying road network and storage medium
CN120031330A (en) A multi-vehicle parallel scheduling optimization method for ports considering yard priority