[go: up one dir, main page]

TWI658371B - A battery charging algorithm based on model predictive control - Google Patents

A battery charging algorithm based on model predictive control Download PDF

Info

Publication number
TWI658371B
TWI658371B TW107109670A TW107109670A TWI658371B TW I658371 B TWI658371 B TW I658371B TW 107109670 A TW107109670 A TW 107109670A TW 107109670 A TW107109670 A TW 107109670A TW I658371 B TWI658371 B TW I658371B
Authority
TW
Taiwan
Prior art keywords
charging
battery
neural network
temperature rise
predicted
Prior art date
Application number
TW107109670A
Other languages
Chinese (zh)
Other versions
TW201941079A (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 TW107109670A priority Critical patent/TWI658371B/en
Application granted granted Critical
Publication of TWI658371B publication Critical patent/TWI658371B/en
Publication of TW201941079A publication Critical patent/TW201941079A/en

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

一種基於模型預測控制之電池充電演算法,其係利用一控制電路實現,該電池充電演算法包括以下步驟:設定M筆充電選項組合,各筆所述充電選項組合均包含一個預設電池剩餘電量及N個預設電流值,M、N均為大於1的整數;對各筆所述充電選項組合的第1至第N-1個所述預設電流值分別進行一庫侖積分法運算以獲得N-1個預測電池剩餘電量;利用一類神經網路模型對各筆所述充電選項組合的所述預設電池剩餘電量及第1個所述預設電流值進行一類神經網路運算以獲得一第1個預測電池溫升值,對第K個所述預設電流值及第K個所述預測電池剩餘電量進行所述的類神經網路運算以獲得一第K個所述預測電池溫升值,K=2至N;依各筆所述充電選項組合的所述預設電池剩餘電量、N-1個所述預測電池剩餘電量產生N個電池剩餘電量增量;依各筆所述充電選項組合的N個所述電池剩餘電量增量及N個所述預測電池溫升值進行一加權評分運算以使M筆所述充電選項組合各獲得一評分;以及依M個所述評分中的最高分者所對應的一筆所述充電選項組合決定一充電輸出電流。A battery charging algorithm based on model predictive control is implemented by a control circuit. The battery charging algorithm includes the following steps: setting M charging option combinations, each charging option combination including a preset remaining battery power And N preset current values, where M and N are integers greater than 1. The first to N-1th preset current values of each of the charging option combinations are each subjected to a Coulomb integration operation to obtain N-1 predicted remaining battery power; a type of neural network operation is performed on the preset remaining battery power and the first preset current value of each of the charging option combinations using a type of neural network model to obtain a A first predicted battery temperature rise value, performing the neural network-like operation on the Kth preset current value and the Kth predicted battery remaining power to obtain a Kth predicted battery temperature rise value, K = 2 to N; the preset remaining battery power and N-1 the predicted remaining battery power are used to generate N remaining battery power increments according to each charging option combination; according to each charging option combination N said Performing a weighted scoring operation on the remaining battery power increase and the N predicted battery temperature rise values to obtain a score for each of the M charge charging combinations; and a sum corresponding to the highest of the M scores The combination of charging options determines a charging output current.

Description

一種基於模型預測控制之電池充電演算法A battery charging algorithm based on model predictive control

本發明係關於二次電池充電之演算法,特別是一種基於模型預測控制(Model Predictive Control, MPC)結合類神經網路之二次電池充電之演算法。The invention relates to an algorithm for charging a secondary battery, in particular to an algorithm for charging a secondary battery based on a Model Predictive Control (MPC) combined with a neural network.

隨著二次電池相關技術的進步,二次電池已普遍應用於手機、筆記型電腦和平板電腦等產品中。在二次電池當中,鋰離子因具有高能量密度、循環壽命長、體積輕巧、無記憶效應、平均工作電壓高及自放電率低等特點,所以能成為二次電池中的主流。另外,許多大電力儲能系統也開始投入大容量鋰離子電池的研究與發展。With the advancement of secondary battery related technologies, secondary batteries have been widely used in products such as mobile phones, notebook computers and tablet computers. Among secondary batteries, lithium ions can become the mainstream of secondary batteries due to their high energy density, long cycle life, light weight, no memory effect, high average operating voltage, and low self-discharge rate. In addition, many large electric energy storage systems have also begun to invest in research and development of large-capacity lithium-ion batteries.

然而為了追求快速充電造成充電電流必須加大,卻也使得鋰離子電池的表面溫度提升、電池壽命減短。亦即,若充電時的溫度提升越高代表損耗越大,不但充電效率會下降,還會產生安全上的顧慮。However, in order to pursue fast charging, the charging current must be increased, which also increases the surface temperature of the lithium-ion battery and shortens the battery life. In other words, if the temperature rises during charging, the higher the loss, the lower the charging efficiency and the safety concerns.

因此充電技術對二次電池來說十分重要。充電技術關係到二次電池之充電速度、充電效率、電池溫升值,電池循環壽命等因素,而已有許多研究探討如何加快充電時間、增加充電效率以及降低充電溫升值,茲簡介如下:Therefore, charging technology is very important for secondary batteries. Charging technology is related to the charging speed, charging efficiency, battery temperature rise, battery cycle life, and other factors of the secondary battery. There have been many studies exploring how to speed up the charging time, increase the charging efficiency, and reduce the charging temperature rise. The brief introduction is as follows:

目前最普遍被使用的充電法為定電流定電壓充電法(Constant Current Constant Voltage, CC-CV),充電一開始係使用定電流充電直到電池之額定上限電壓後使用額定上限電壓對電池進行充電,其優點為方法簡單,缺點為定電壓充電時間較久。有許多文獻加以改良,有文獻利用雙迴路控制,不需使用電流感測器,即可得到與定電流定電壓充電法相似的充電曲線,此方法簡單且成本更低;有文獻提出一開始使用高於電池上限額定電壓如4.3V進行定電壓充電之升壓式定電流-定電壓充電法,在定電壓週期過後切換至定電流定電壓充電法,此法能在短時間將電池充至額定容量的30%,所以充電時間較短;亦有文獻提出主動式充電狀態結合模糊控制充電法及灰預測控制電池充電系統,可在相同樣時間內充入較多的電量;或有文獻提出以鎖相迴路控制為基礎的充電法,參考相位與輸出相位比較後產生相位誤差,誤差之相位會傳送到電流源去產生適合的電流對電池充電;為了改善鎖相迴路在定電壓模式的缺點,尚有文獻提出電流泵電池充電器,定電流模式時使用電流泵充電,而定電壓模式則使用脈衝電流充電,根據文獻實驗結果,此方法充電效率高於定電流定電壓充電法,整體的充電時間也相近。At present, the most commonly used charging method is the Constant Current Constant Voltage (CC-CV) method. At the beginning of charging, the battery is charged using a constant current until the rated upper limit voltage of the battery is used to charge the battery. The advantage is that the method is simple, and the disadvantage is that the constant voltage charging time is longer. Many literatures have been improved. Some literatures use dual-loop control to obtain a charging curve similar to the constant-current and constant-voltage charging method without using a current sensor. This method is simple and lower in cost. Some literatures have proposed to use it at the beginning. Step-up constant current-constant voltage charging method for constant voltage charging above the upper limit of the battery, such as 4.3V, to switch to constant current and constant voltage charging method after the constant voltage period. This method can charge the battery to the rated level in a short time. 30% of the capacity, so the charging time is short; some literatures have proposed that the active charging state combined with the fuzzy control charging method and the gray prediction control battery charging system can charge more power in the same time; or some literatures have suggested that The phase-locked loop control-based charging method generates a phase error after comparing the reference phase with the output phase. The phase of the error is transmitted to the current source to generate a suitable current to charge the battery. In order to improve the disadvantages of the phase-locked loop in the constant voltage mode, Some literatures have proposed that the current pump battery charger uses a current pump for charging in the constant current mode, while using a pulsed battery in the constant voltage mode. Charging, the experimental results according to the literature, this method is more efficient than the constant charging current and constant voltage charging method, the charging time is also similar overall.

由於模型預測控制具有可應用於多種模型,且可以透過評分函數將環境因素、安全性列入考量等優點,能用以降低電池充電時的溫升值,進而達到提升充電效率,因此本領域亟需一新穎的電池充電演算法。Because model predictive control has the advantages of being applicable to a variety of models, and taking environmental factors and safety into consideration through a scoring function, it can be used to reduce the temperature rise during battery charging and thus improve charging efficiency. Therefore, there is an urgent need in this field. A novel battery charging algorithm.

本發明之一目的在於揭露一種基於模型預測控制(Model Predictive Control, MPC)之電池充電法,其係結合類神經網路運算建立電池溫升模型及模型預測控制來挑選合適之充電電流,達到區域最佳控制,用以降低電池充電時的溫度上升。One object of the present invention is to disclose a battery charging method based on Model Predictive Control (MPC), which combines a neural network-like operation to establish a battery temperature rise model and model predictive control to select a suitable charging current to reach a region Optimal control to reduce temperature rise during battery charging.

本發明之另一目的在於揭露一種基於模型預測控制之電池充電法,其係結合類神經網路運算建立電池溫升模型及模型預測控制來挑選合適之充電電流,達到區域最佳控制,用以縮短電池的充電時間,提升充電效率。Another object of the present invention is to disclose a battery charging method based on model predictive control, which combines a neural network-like operation to establish a battery temperature rise model and model predictive control to select a suitable charging current to achieve the optimal regional control for Shorten the charging time of the battery and improve the charging efficiency.

本發明之再一目的在於揭露一種基於模型預測控制之電池充電法,其相較習知技術的定電流定電壓充電法,充電時間減少了2.8%,平均溫升值也降低了14.45%。Another object of the present invention is to disclose a battery charging method based on model predictive control. Compared with the constant current and constant voltage charging method of the conventional technology, the charging time is reduced by 2.8%, and the average temperature rise value is also reduced by 14.45%.

本發明之又一目的在於揭露一種基於模型預測控制之電池充電法,其能藉由降低電池充電時的溫度上升及縮短電池的充電時間而延長電池使用之循環壽命。Another object of the present invention is to disclose a battery charging method based on model predictive control, which can extend the cycle life of a battery by reducing the temperature rise during battery charging and shortening the battery charging time.

為達前述目的,一種基於模型預測控制之電池充電演算法乃被提出,其係利用一控制電路實現,該電池充電演算法包括以下步驟:設定M筆充電選項組合,各筆所述充電選項組合均包含一個預設電池剩餘電量及N個預設電流值,M、N均為大於1的整數;(步驟a);對各筆所述充電選項組合的第1至第N-1個所述預設電流值分別進行一庫侖積分法運算以獲得N-1個預測電池剩餘電量;(步驟b);利用一類神經網路模型對各筆所述充電選項組合的所述預設電池剩餘電量及第1個所述預設電流值進行一類神經網路運算以獲得一第1個預測電池溫升值,對第K個所述預設電流值及第K個所述預測電池剩餘電量進行所述的類神經網路運算以獲得一第K個所述預測電池溫升值,K=2至N;(步驟c);依各筆所述充電選項組合的所述預設電池剩餘電量、N-1個所述預測電池剩餘電量產生N個電池剩餘電量增量;(步驟d);依各筆所述充電選項組合的N個所述電池剩餘電量增量及N個所述預測電池溫升值進行一加權評分運算以使M筆所述充電選項組合各獲得一評分;(步驟e);以及依M個所述評分中的最高分者所對應的一筆所述充電選項組合決定一充電輸出電流;(步驟f)。In order to achieve the aforementioned purpose, a battery charging algorithm based on model predictive control is proposed, which is implemented by a control circuit. The battery charging algorithm includes the following steps: setting M charging option combinations, each charging option combination Each includes a preset remaining battery power and N preset current values, and M and N are integers greater than 1; (step a); the first to the N-1th of each of the charging option combinations are described The preset current value is respectively subjected to a Coulomb integral operation to obtain N-1 predicted remaining battery power; (step b); a type of neural network model is used for the preset remaining battery power of each of the charging option combinations and The first preset current value is subjected to a type of neural network operation to obtain a first predicted battery temperature rise value, and the K-th preset current value and the K-th predicted battery remaining power are performed as described above. Neural network-like operation to obtain a K-th predicted battery temperature rise value, K = 2 to N; (step c); the preset remaining battery power, N-1, according to each of the charging options The predicted remaining battery power generates N batteries Increment of remaining power; (step d); performing a weighted scoring operation based on the N remaining battery power increments and N predicted battery temperature rise values of each of the charging options to make M the charging options Each combination obtains a score; (step e); and determines a charging output current according to a combination of the charging options corresponding to the highest of the M scores; (step f).

在一實施例中,該加權評分運算係以N個所述電池剩餘電量增量的總和乘以一權重值a加上N個所述預測電池溫升值的總和乘以(100-a)而得到所述的評分,a為小於100的正整數。In an embodiment, the weighted scoring operation is obtained by multiplying a sum of N remaining battery power increments by a weight value a plus a sum of N predicted battery temperature rise values by (100-a). In the score, a is a positive integer less than 100.

在一實施例中,該權重值a係一可變的權重值。In one embodiment, the weight value a is a variable weight value.

在一實施例中,該類神經網路模型為一具有四層架構之倒傳遞類神經網路,包括1層輸入層、2層隱藏層和及1層輸出層。In one embodiment, the neural network model is a reverse-transmission neural network with a four-layer architecture, including one input layer, two hidden layers, and one output layer.

在一實施例中,所述輸入層之輸入參數為所述預設電流值及所述預設電池剩餘電量,所述2層隱藏層各包含35個神經元,所述輸出層之輸出參數為所述預測電池溫升值。In one embodiment, the input parameters of the input layer are the preset current value and the preset remaining battery power. The two hidden layers each contain 35 neurons. The output parameters of the output layer are The predicted battery temperature rise value.

在一實施例中,其進一步包含一由LabVIEW程式撰寫的人機介面以監控一溫度變化。In one embodiment, it further includes a human-machine interface written by a LabVIEW program to monitor a temperature change.

為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable your reviewers to further understand the structure, characteristics, and purpose of the present invention, drawings and detailed descriptions of the preferred embodiments are attached below.

請參照圖1,其繪示本發明之基於模型預測控制之電池充電演算法之步驟流程圖。Please refer to FIG. 1, which illustrates a flowchart of steps of a battery charging algorithm based on model predictive control of the present invention.

如圖所示,本發明之基於模型預測控制之電池充電演算法,其係利用一控制電路實現,該電池充電演算法包括以下步驟:As shown in the figure, the battery charging algorithm of the present invention based on model predictive control is implemented using a control circuit. The battery charging algorithm includes the following steps:

設定M筆充電選項組合,各筆所述充電選項組合均包含一個預設電池剩餘電量及N個預設電流值,M、N均為大於1的整數;(步驟a);Set M pen charging option combinations, each of said charging option combinations includes a preset remaining battery power and N preset current values, and M and N are integers greater than 1; (step a);

對各筆所述充電選項組合的第1至第N-1個所述預設電流值分別進行一庫侖積分法運算以獲得N-1個預測電池剩餘電量;(步驟b);Performing a Coulomb integration operation on each of the first to N-1th preset current values of each of the charging option combinations to obtain N-1 predicted remaining battery power; (step b);

利用一類神經網路模型對各筆所述充電選項組合的所述預設電池剩餘電量及第1個所述預設電流值進行一類神經網路運算以獲得一第1個預測電池溫升值,對第K個所述預設電流值及第K個所述預測電池剩餘電量進行所述的類神經網路運算以獲得一第K個所述預測電池溫升值,K=2至N;(步驟c);Use a type of neural network model to perform a type of neural network operation on the preset remaining battery power and the first preset current value of each of the charging option combinations to obtain a first predicted battery temperature rise value. Perform the neural network-like operation on the Kth preset current value and the Kth predicted battery remaining power to obtain a Kth predicted battery temperature rise value, K = 2 to N; (step c );

依各筆所述充電選項組合的所述預設電池剩餘電量、N-1個所述預測電池剩餘電量產生N個電池剩餘電量增量;(步驟d);Generating N battery remaining power increments according to the preset remaining battery power and N-1 the predicted remaining battery power of each of the charging option combinations; (step d);

依各筆所述充電選項組合的N個所述電池剩餘電量增量及N個所述預測電池溫升值進行一加權評分運算以使M筆所述充電選項組合各獲得一評分;(步驟e);Perform a weighted scoring operation based on the N remaining battery power increments of the charging option combination and the N predicted battery temperature rise values to obtain a score for each of the M charging option combinations; (step e) ;

以及依M個所述評分中的最高分者所對應的一筆所述充電選項組合決定一充電輸出電流;(步驟f)。And determining a charging output current according to a combination of the charging options corresponding to the highest one of the M scores; (step f).

其中,該加權評分運算係以N個所述電池剩餘電量增量的總和乘以一權重值a加上N個所述預測電池溫升值的總和乘以(100-a)而得到所述的評分,a為小於100的正整數。Wherein, the weighted scoring operation is obtained by multiplying a sum of N remaining battery power increments by a weight value a plus a sum of N predicted battery temperature rise values by (100-a) to obtain the score. , A is a positive integer less than 100.

在另一實施例中,該權重值a係一可變的權重值,例如但不限於每三個取樣時間計算得一平均電流,再依該平均電流所在之區間調整該權重值a,若電流過大則降低權重值,電流過小則增加權重值。In another embodiment, the weight value a is a variable weight value, such as, but not limited to, an average current is calculated every three sampling times, and then the weight value a is adjusted according to the interval in which the average current is located. If the current is too large, the weight value will be decreased. If the current is too small, the weight value will be increased.

該類神經網路模型為一具有四層架構之倒傳遞類神經網路,包括1層輸入層、2層隱藏層和及1層輸出層,所述輸入層之輸入參數為所述預設電流值及所述預設電池剩餘電量,所述2層隱藏層各包含35個神經元,所述輸出層之輸出參數為所述預測電池溫升值。This type of neural network model is a backward-transmission neural network with a four-layer architecture, including one input layer, two hidden layers, and one output layer. The input parameters of the input layer are the preset current. Value and the preset remaining battery power, the two hidden layers each include 35 neurons, and the output parameter of the output layer is the predicted battery temperature rise value.

以下將針對本發明的原理進行說明:The following will explain the principle of the present invention:

模型預測控制Model predictive control 的意義:Significance:

模型預測控制(Model Predictive Control, MPC)發展於20世紀,由於工業上許多應用情境均為非線性與時變,要建立精確的模型相對困難,習知控制技術如比例積分微分(Proportional-Integral and Derivative, PID)控制及現代控制理論均難以獲得理想的控制效果。Model Predictive Control (MPC) was developed in the 20th century. Because many application scenarios in the industry are nonlinear and time-varying, it is relatively difficult to build accurate models. Known control technologies such as Proportional-Integral and Derivative (PID) control and modern control theory are difficult to obtain ideal control results.

而模型預測控制則係透過多步預測、評分函數及反饋校正等策略,而具有控制效果好及強健性等優點,因此被廣泛應用於工業控制,在石油、化工、冶金、機械等領域皆有成功的實例。Model predictive control is a multi-step prediction, scoring function, and feedback correction strategy. It has the advantages of good control effect and robustness. Therefore, it is widely used in industrial control. Success stories.

請一併參照圖2a至圖2c,其中圖2a其繪示模型預測控制之結構示意圖,圖2b其繪示模型預測控制之控制信號示意圖,圖2c其繪示模型預測控制之輸出信號示意圖。Please refer to FIG. 2a to FIG. 2c together, where FIG. 2a is a schematic diagram of the model predictive control, FIG. 2b is a schematic diagram of the control signal of the model predictive control, and FIG. 2c is a schematic diagram of the output signal of the model predictive control.

如圖所示,模型預測控制係透過比較預測之輸出與期望值以獲得預測誤差並據以進行優化來調整輸出,因此預測控制能夠根據系統的現在的控制輸入及過程的歷史資訊來預測過程輸出的未來值。其中,k為取樣時間點、u為輸入、w為期望輸出之曲線、y為預測出來的輸出、H p為預測之步數長度,將y與w序列相減可得誤差,透過誤差函數與優化器可以決定下一筆輸入。 As shown in the figure, the model predictive control is to compare the predicted output with the expected value to obtain the prediction error and optimize the output to adjust the output. Therefore, the predictive control can predict the process output based on the system's current control input and historical information of the process. Future value. Among them, k is the sampling time point, u is the input, w is the curve of the expected output, y is the predicted output, and H p is the length of the predicted steps. The error is obtained by subtracting the y and w sequences. The optimizer can decide the next input.

而預測控制之演算法主要有基於非參數模型的算法控制(Model Algorithmic Control,MAC)、動態矩陣控制(Dynamic Matrix Control,DMC),以及基於參數模型的廣義預測控制(General Predictive Control, GPC)等。The algorithms for predictive control include model algorithmic control (MAC), dynamic matrix control (DMC) based on non-parametric models, and general predictive control (GPC) based on parametric models. .

本發明採用基於參數模型的廣義預測控制(General Predictive Control, GPC):The present invention adopts a General Predictive Control (GPC) based on a parameter model:

廣義預測控制由法國學者J. Richalet所發明,係透過評分函數J來優化預測控制之表現,結合自我校正之機制而具有強健性與模型要求低等特點。Generalized predictive control was invented by French scholar J. Richalet. It optimizes the performance of predictive control through the scoring function J, and combines the mechanism of self-correction with low robustness and low model requirements.

在預測理論中,需要一個描述動態行為之模型,能夠透過系統歷史輸出和未來輸入來預測未來輸出,廣義預測控制模型透過受控制迴歸積分滑動平均模型可以得到預測模型,如方程式(1)所示。In prediction theory, a model describing dynamic behavior is needed, which can predict the future output through the system's historical output and future input. The generalized predictive control model can obtain the prediction model through the controlled regression integral moving average model, as shown in equation (1) .

(1) (1)

其中,y為輸出、u為輸入、ε為均值為零的白雜訊序列,而A、B、C、Δ如方程式(2)所示。Among them, y is an output, u is an input, and ε is a white noise sequence with a mean value of zero, and A, B, C, and Δ are as shown in equation (2).

(2) (2)

為了方便運算,令c(z -1)=1。為了利用方程式(1)來得出j步後的輸出需引入Diophantine方程式,如方程式(3)所示。 For convenience, let c (z -1 ) = 1. In order to use equation (1) to obtain the output after step j, the Diophantine equation needs to be introduced, as shown in equation (3).

(3) 其中, (3) where

將方程式(1)兩邊乘上E j(z -1) Δ再將方程式(3)整理,代入可得j步後如預測方程式(4)所示。 Multiply both sides of the equation (1) by E j (z -1 ) Δ, and then arrange the equation (3). Substituting it into j steps, the prediction equation (4) is shown.

(4) (4)

未來的輸出預報可忽略雜訊之影響,且令E j(z -1)B j(z -1) =G j(z -1),則方程式(4)可改寫如方程式(5)所示。 The future output forecast can ignore the influence of noise, and let E j (z -1 ) B j (z -1 ) = G j (z -1 ), then equation (4) can be rewritten as shown in equation (5) .

(5) (5)

而G j(z -1)可改寫如方程式(6)所示。 G j (z -1 ) can be rewritten as shown in equation (6).

(6) (6)

其中,方程式(6)是由已知量與未知量組成,用f(k+n)來表示已知量,移項後改寫如方程式(7)所示。Among them, the equation (6) is composed of a known quantity and an unknown quantity, and f (k + n) is used to represent the known quantity, and the term is rewritten as shown in equation (7).

(7) (7)

再整理成矩陣形式,可寫成如方程式(8)所示。Rearranged into a matrix form, it can be written as shown in equation (8).

(8) (8)

其中,among them,

將方程式(5)整理為方程式(9) Sort equation (5) into equation (9)

(9) 其中, (9) of which

而為了增強系統之強健性需建立評分函數,其中需考慮現在時刻的控制u(k)對系統未來輸出之影響,評分函數如方程式(10)所示。In order to enhance the robustness of the system, a scoring function needs to be established, in which the influence of the current control u (k) on the future output of the system needs to be considered. The scoring function is shown in equation (10).

(10) (10)

後項主要用於抑制過於激烈的控制增量以防止系統超出限制範圍,其中,n為預測長度,一般大於B(Z -1)的階數;m為控制長度且m n;l為非零之加權係數,通常令l (j)= l。 The latter term is mainly used to suppress excessively drastic control increments to prevent the system from exceeding the limit range, where n is the predicted length and is generally greater than the order of B (Z -1 ); m is the control length and m n; l is a non-zero weighting coefficient, usually let l (j) = l.

為了使預測之輸出趨近於期望輸出,期望曲線由方程式(11)所示。In order to make the predicted output approach the expected output, the expected curve is shown by equation (11).

(11) (11)

其中, y r 為一設定值, y(k)為輸出函數, w(k)為期望曲線。 Among them, y r is a set value, y (k) is an output function, and w (k) is an expected curve.

方程式(10)如表示為矩陣型式,得方程式(12)。If equation (10) is expressed as a matrix type, equation (12) is obtained.

(12) (12)

其中,[] T表轉置矩陣 (Transposed Matrix),再將方程式(9)代入,得方程式(13)。 Among them, [] T table Transposed Matrix, and then substituting equation (9) into equation (13).

(13) (13)

而評分函數J越小越好,令 得方程式(14)。 The smaller the scoring function J, the better. Equation (14) is obtained.

(14) (14)

然而實際控制時僅使用第一筆輸入,如方程式(15)。However, only the first input is used in actual control, such as equation (15).

(15) (15)

其中g T中的第一行。 Where g T is In the first line.

由於預測控制的優化目標會隨時間推移,所以每一個時刻都有局部優化目標,優化的過程並非離線進行,因此能因應模型時變、非線性或干擾的問題來進行修補、降低偏差。Because the optimization goal of predictive control will go over time, there are local optimization goals at every moment. The optimization process is not performed offline, so it can repair and reduce deviations according to the time-varying, non-linear or interference problems of the model.

綜上所述,模型預測控制有以下幾點優點:能靈活應用於各種模型,如線性或非線性系統;能考慮到多變量之情況;評分函數中能加上各種限制且易於修改,如環境因素、安全問題。In summary, model predictive control has the following advantages: it can be flexibly applied to various models, such as linear or non-linear systems; it can take into account the situation of multiple variables; various restrictions can be added to the scoring function and it is easy to modify, such as the environment Factors, safety issues.

本發明結合類神經網路之運算:類神經網路之運算係透過不斷的調整節點間的權重和偏權,使得所運算的輸出值為目標輸出值,目的係讓類神經網路能夠映射出正確的輸入輸出關係模式。 The invention combines the operation of a neural network : the operation of a neural network is to continuously adjust the weights and partial weights between nodes so that the calculated output value is the target output value, and the purpose is to enable the neural network to map out Correct input-output relationship mode.

請參照圖3,其繪示本發明所使用之倒傳遞類神經網路架構示意圖。Please refer to FIG. 3, which illustrates a schematic diagram of a reverse transfer neural network architecture used in the present invention.

如圖所示,本發明係使用四層之倒傳遞類神經網路架構,包括1層輸入層、2層隱藏層和及1層輸出層。As shown in the figure, the present invention uses a four-layer inverted transfer neural network architecture, including one input layer, two hidden layers, and one output layer.

類神經網路中的輸入層和輸出層之節點數是依照輸入參數及輸出參數的維度而定,隱藏層的神經元數目則須以試誤法來決定,而本發明所述輸入層之輸入參數為所述預設電流值及所述預設電池剩餘電量,所述2層隱藏層各包含35個神經元,所述輸出層之輸出參數為所述預測電池溫升值。The number of nodes in the input layer and the output layer in a neural network is determined according to the dimensions of the input parameters and output parameters. The number of neurons in the hidden layer must be determined by trial and error. The parameters are the preset current value and the preset battery remaining power. The two hidden layers each include 35 neurons, and the output parameter of the output layer is the predicted battery temperature rise value.

經由改變輸入參數並針對輸出參數來進行類神經網路之訓練估測,若類神經網路之訓練樣本夠完整,當輸入任何合理範圍的資料至學習完成之類神經網路時,即能做出適當判斷並產生近似正確的輸出結果。Neural network-like training estimates are made by changing input parameters and output parameters. If the training samples of the neural network are complete enough, it can be done when any reasonable range of data is input to the neural network such as learning completion. Make proper judgments and produce near correct output results.

類神經網路運算時,所處理的輸入值、輸出值均必須縮放至-1至1的範圍內,而轉移函數(transfer function)的作用即為限制、壓縮或處理其非線性關係,實現非線性的加乘運算並輸入到下一個神經元層,本發明選用正切雙彎曲(Tansig)函數作為轉移函數,其為習知技術,擬不再贅述。When performing a neural network-like operation, the input value and output value processed must be scaled to the range of -1 to 1, and the role of the transfer function is to limit, compress, or process its nonlinear relationship to achieve non-linearity. The linear multiplication operation is input to the next neuron layer. In the present invention, the tangent double bending (Tansig) function is used as the transfer function, which is a conventional technique and will not be described again.

請參照圖4,其繪示本發明使用類神經網路運算所建置之實驗平台示意圖。Please refer to FIG. 4, which illustrates a schematic diagram of an experimental platform constructed using a neural network-like operation according to the present invention.

如圖所示,本實驗平台係將電池置於恆溫箱並控制在25˚C 的環境下,再透過USB NI9211溫度擷取器來量測該電池之溫度並透過LabVIEW人機介面紀錄溫度曲線,並將電池放電至截止電流後始用來進行充電測試。As shown in the figure, the experimental platform is to place the battery in a constant temperature box and control it at 25˚C, then measure the temperature of the battery through a USB NI9211 temperature picker and record the temperature curve through the LabVIEW human-machine interface. After the battery is discharged to the cut-off current, it is used for charging test.

利用類神經網路來估側電池充電之溫升值時,為使估測更準確,本發明之實驗平台每1分鐘量測一次,充電範圍由0.5C至1.0C,以每0.1C作為一間隔,共使用6種充電電流與其對應之電池剩餘電量,並個別紀錄電池溫度直到定電流充電階段結束。When using a neural network to estimate the temperature rise of the side battery charge, in order to make the estimation more accurate, the experimental platform of the present invention measures it every 1 minute, and the charging range is from 0.5C to 1.0C, with every 0.1C as an interval A total of 6 kinds of charging currents and the corresponding remaining battery power are used, and the battery temperature is individually recorded until the end of the constant current charging phase.

類神經網路資料之分佈如表1所示,共有331筆資料,其中307筆為訓練資料,再由各個充電電流以平均分佈之方式取得4筆,共24筆為測試資料並將其輸入至訓練後之類神經網路,將輸出結果與實際值相比,藉此驗證類神經網路之正確性。The distribution of neural network-like data is shown in Table 1. There are 331 data in total, of which 307 are training data, and 4 charges are obtained by each charging current in an even distribution manner, and a total of 24 are test data and input it to After training, the neural network compares the output with the actual value to verify the correctness of the neural network.

表1 訓練資料(307筆) 測試資料(24筆) 0.5C 0.6C 0.7C 0.8C 0.9C 1.0C 0.5C 0.6C 0.7C 0.8C 0.9C 1.0C 84 64 52 43 35 29 4 4 4 4 4 4 Table 1 Training materials (307 results) Test data (24 records) 0.5C 0.6C 0.7C 0.8C 0.9C 1.0C 0.5C 0.6C 0.7C 0.8C 0.9C 1.0C 84 64 52 43 35 29 4 4 4 4 4 4

其中,類神經網路實現步驟如下:The implementation steps of neural network are as follows:

一、建立訓練資料庫 請參照圖5,其繪示本發明之類神經網路之0.5C至1.0C充電電流之訓練資料庫。1. Establishing training database Please refer to FIG. 5, which shows a training database of 0.5C to 1.0C charging current of a neural network such as the present invention.

如圖所示,本發明將由0.5C至1.0C充電電流收集得來的307筆參數資料,以[2´307]的矩陣表示,每一筆參數資料都有其對應之輸出電池溫升值,即輸出目標矩陣為[1´307]。As shown in the figure, the present invention collects 307 parameter data collected from a charging current of 0.5C to 1.0C, which is represented by a matrix of [2´307]. Each parameter data has a corresponding output battery temperature rise value, that is, output The target matrix is [1´307].

類神經網路經訓練完畢後,以平均分布的方式形成一[2´24]之測試資料,再輸入至訓練完成之類神經網路來測試,類神經網路輸出之電池溫升值也就是一組[1´24]的輸出矩陣比對真實測試所得之溫升值,即可驗證類神經網路參數的正確性。After training the neural network, it will form a [2´24] test data in an evenly distributed manner, and then input it to the trained neural network to test. The temperature rise of the battery output of the neural network is also one. The output matrix of group [1´24] is compared with the temperature rise value obtained from the real test to verify the correctness of the parameters of the neural network.

二、建立倒傳遞類神經網路模型Second, build a backward transitive neural network model

本發明係使用MATLAB提供之類神經網路圖形介面(Graphic User Interface, GUI)建立倒傳遞類神經網路,並以此進行訓練和模擬驗證,訓練函數則採用Trainlm (Levenberg-Marquardt)函數,並以均方誤差函數(Mean Squared Error, MSE)作為比較的衡量指標,其中,Trainlm (Levenberg-Marquardt)函數是一種結合最陡下降法和牛頓法的演算法,用以克服收斂速度慢、易陷入局部極小值的缺點,並能大幅減少網路訓練的反覆運算次數,其為習知技術,擬不再贅述。In the present invention, a neural network graphic interface (Graphic User Interface, GUI) provided by MATLAB is used to establish a reverse transfer neural network, and training and simulation verification are performed based on this. The training function uses the Trainlm (Levenberg-Marquardt) function, and The Mean Squared Error (MSE) function is used as a comparison index. Among them, the Trainlm (Levenberg-Marquardt) function is an algorithm that combines the steepest descent method and Newton method to overcome the slow convergence and easy to fall into. The shortcomings of local minimums can greatly reduce the number of iterations of network training. This is a known technique and will not be described again.

作好矩陣歸類和網路參數設定後,即可建立倒傳遞類神經網路模型,接著進行類神經網路之訓練。After the matrix classification and network parameter settings are made, a backward transfer neural network model can be established, and then the neural network-like training is performed.

請參照圖6,其繪示本發明之類神經網路之訓練收斂圖。Please refer to FIG. 6, which illustrates a training convergence diagram of a neural network such as the present invention.

如圖所示,在第4次疊代訓練之後得到均方誤差值為0.00037911。 請參照圖7,其繪示本發明之類神經網路之權重和偏權。As shown in the figure, after the 4th iteration training, the mean square error value is 0.00037911. Please refer to FIG. 7, which illustrates the weights and partial weights of neural networks such as the present invention.

類神經網路經訓練完成後,便可得到該類神經網路之權重以及偏權,如圖所示,權重為iw(1,1)、lw(2,1)、lw(3,2);偏權為b(1)、b(2)、b(3)。After training the neural network, the weight and partial weight of the neural network can be obtained. As shown in the figure, the weights are iw (1,1), lw (2,1), lw (3,2) ; Partial weights are b (1), b (2), b (3).

三、驗證訓練完成之倒傳遞類神經網路Third, verify the completion of the inverted transfer neural network

為了驗證倒傳遞類神經網路的正確性,所以測試矩陣中的溫升值輸入參數並未包含在訓練參數內,將測試矩陣輸入到類神經網路中,再將類神經網路輸出與真實電池之溫升值做比較,結果整理如表2所示,藉此驗證類神經網路之準確性。 In order to verify the correctness of the reverse transfer neural network, the temperature rise input parameters in the test matrix are not included in the training parameters. The test matrix is input into the neural network, and then the output of the neural network and the real battery are used. The temperature rise values are compared, and the results are summarized in Table 2 to verify the accuracy of the neural network.

SOC(%) C rate  SOC (%) C rate 5  5 20  20 35  35 50  50 1C  1C 0.505449  0.505449 0.117151  0.117151 0.065983  0.065983 0.061198  0.061198 ANN-output  ANN-output 0.55261  0.55261 0.13239  0.13239 0.054729  0.054729 0.056403  0.056403

請參照圖8,其繪示本發明之測試資料誤差之長條圖。Please refer to FIG. 8, which illustrates a bar graph of test data errors of the present invention.

圖8係表2之實際溫升值與類神經網路估測之溫升值相減後取其絕對值,將誤差整理為長條圖,如圖所示,測試資料與類神經網路所得到之結果相近最大誤差為0.05°C,因此驗證能透過類神經網路之運算來得到電池溫升值。Figure 8 shows the actual temperature rise of Table 2 and the temperature rise estimated by the neural network-like value. The absolute value is taken, and the error is arranged into a bar graph. As shown in the figure, the test data and the neural network-like value are obtained The maximum error is close to 0.05 ° C, so it can be verified that the temperature rise of the battery can be obtained through a neural network-like operation.

請參照圖9,其繪示本發明用以監控溫度變化之人機介面。Please refer to FIG. 9, which illustrates a man-machine interface for monitoring temperature changes according to the present invention.

如圖所示,本發明進一步包含一由LabVIEW程式撰寫的人機介面以監控一溫度變化,將類神經網路訓練後所得到的權重及偏權匯入,隨後每一層之計算結果需透過正切雙彎曲(Tansig)轉移函數來轉移後再作正規化轉成正常的輸出值,即能得到電池溫升值。As shown in the figure, the present invention further includes a human-machine interface written by a LabVIEW program to monitor a temperature change, and import the weights and partial weights obtained after the training of the neural network, and then the calculation results of each layer need to pass through the tangent The double bending (Tansig) transfer function is used to normalize the normal output value after the transfer, and the battery temperature rise value can be obtained.

本發明係在充電過程中對所述預設電流值進行一庫侖積分法(Coulomb Counting Method)運算以獲得預測電池剩餘電量,並透過一移位暫存器(未示於圖中)來紀錄溫升值之資料。其中,該庫侖積分法係將電流與時間累計後就可取得電池在使用狀態下已經消耗或補充的電量,其為習知技術,在此擬不贅述。The invention performs a Coulomb Counting Method operation on the preset current value during the charging process to obtain the predicted remaining battery power, and records the temperature through a shift register (not shown in the figure). Appreciation information. Among them, the Coulomb integration method is to accumulate the current and time to obtain the amount of power that the battery has consumed or replenished in the state of use. It is a conventional technology and will not be repeated here.

將所述電池剩餘電量增量與所述溫升值作為評分條件,評分程序係將所述電池剩餘電量增量與所述溫升值進行一加權評分運算,再依評分中的最高分者被選定作為充電輸出電流。該加權評分運算係以N個所述電池剩餘電量增量SOC的總和乘以一權重值a加上N個所述預測電池溫升值DT的總和乘以(100-a)而得到所述的評分,a為小於100的正整數,如方程式(16)所示。The increment of the remaining battery power and the temperature rise value are used as scoring conditions. The scoring program performs a weighted scoring operation on the increment of the remaining battery power and the temperature rise value, and is selected as the highest score in the score. Charging output current. The weighted scoring operation is obtained by multiplying a sum of N remaining battery power incremental SOCs by a weight value a plus a sum of N predicted battery temperature rise values DT by (100-a) to obtain the score. , A is a positive integer less than 100, as shown in equation (16).

(16) (16)

本發明提出一MPC-ANN充電法,其中該權重值a例如但不限為一常數 65。The present invention proposes an MPC-ANN charging method, wherein the weight value a is, for example, but not limited to, a constant 65.

本發明另提出一MPC-ANN-CS充電法,其中該權重值a係一可變的權重值,其變動的準則例如但不限為每三個取樣時間計算一次平均電流,取樣時間例如但不限為120秒,並根據平均電流所在之區間調整權重,若電流過大則降低權重,電流過小則增加權重。The present invention further proposes an MPC-ANN-CS charging method, wherein the weight value a is a variable weight value, and its variation criterion is, for example, but not limited to, the average current is calculated every three sampling times, and the sampling time is for example but not The limit is 120 seconds, and the weight is adjusted according to the interval where the average current is located. If the current is too large, the weight is reduced, and if the current is too small, the weight is increased.

本發明提出之MPC-ANN充電法及MPC-ANN-CS充電法之參數設定如表3所示。The parameter settings of the MPC-ANN charging method and the MPC-ANN-CS charging method proposed in the present invention are shown in Table 3.

表3 MPC-ANN MPC-ANN-CS 取樣時間 權重值a 取樣時間 權重值a 變動量Δα1 變動量Δα2 變動量Δα3 變動量Δα4 120(秒) 65 120(秒) 65 5 1.25 -5 -10 table 3 MPC-ANN MPC-ANN-CS Sampling time Weight value a Sampling time Weight value a Variation Δα1 Variation Δα2 Variation Δα3 Variation Δα4 120 (seconds) 65 120 (seconds) 65 5 1.25 -5 -10

本發明與習知技術之實驗結果與比較:Experimental results and comparison of the present invention and the conventional technology:

以下將針對本發明提出之MPC-ANN充電法、MPC-ANN-CS充電法與習知技術的定電流定電壓充電法及五階段定電流法進行實驗測試,並記錄各個充電法的電壓、電流和溫升值,並比較其充電速度以及溫度上升的變化,以驗證本發明之可行性和性能改善。In the following, experimental tests will be carried out for the MPC-ANN charging method, MPC-ANN-CS charging method and the constant current and constant voltage charging method and the five-phase constant current method proposed in the present invention, and the voltage and current of each charging method will be recorded. And the temperature rise value, and compare the charging speed and temperature rise changes to verify the feasibility and performance improvement of the present invention.

實驗測試所使用之鋰電池為PANASONIC公司所生產的NCR18650B鋰離子電池,其規格如表4所示。The lithium battery used in the experimental test is the NCR18650B lithium-ion battery produced by PANASONIC. Its specifications are shown in Table 4.

表4 額定容量 3350 mAh 最小額定容量 3200 mAh 額定電壓 3.6 V 截止電壓 2.5 V 標準充電條件 CC-CV,1625 mA,4.2 V,4.0 hr 能量密度 676 Wh/l 尺寸 18.5 mm (直徑),65.3 mm (高) 重量 48.5 g 充電溫度 0 ˚C to +45 ˚C 放電溫度 -20 ˚C to +60 ˚C 靜態溫度 -20 ˚C to +50 ˚C Table 4 Rated Capacity 3350 mAh Minimum rated capacity 3200 mAh Rated voltage 3.6 V Cut-off voltage 2.5 V Standard charging conditions CC-CV, 1625 mA, 4.2 V, 4.0 hr Energy Density 676 Wh / l size 18.5 mm (diameter), 65.3 mm (height) weight 48.5 g Charging temperature 0 ˚C to +45 ˚C Discharge temperature -20 ˚C to +60 ˚C Static temperature -20 ˚C to +50 ˚C

請一併參照圖10a至圖10e,其中圖10a 其繪示習知技術之定電流定電壓充電法定電流階段以0.8C充電之充電電壓、電流和溫度上升變化曲線,圖10b其繪示習知技術之五階段定電流充電之充電電壓、電流和溫度上升變化曲線,圖10c其繪示本發明之MPC-ANN充電法之充電電壓、電流和溫度上升變化曲線,圖10d其繪示本發明之MPC-ANN-CS充電法之充電電壓、電流和溫度上升變化曲線,圖10e其繪示上述各充電法所造成電池之溫度變化的比較。Please refer to FIG. 10a to FIG. 10e together, wherein FIG. 10a shows the charging voltage, current, and temperature rise curve of charging at 0.8C during the constant current and constant voltage charging legal current phase of the conventional technology, and FIG. The fifth stage of technology is the charging voltage, current and temperature rising curve of constant current charging. Figure 10c shows the charging voltage, current and temperature rising curve of the MPC-ANN charging method of the present invention, and Figure 10d shows the MPC-ANN-CS charging method's charging voltage, current and temperature rising curve. Figure 10e shows the comparison of the temperature change of the battery caused by the above charging methods.

如圖所示,本發明之MPC-ANN充電法之溫升值與定電流定電壓充電法0.7C充電法相近;MPC-ANN-CS充電法之溫升值約在定電流定電壓充電法0.7C與0.8C充電法之間。As shown in the figure, the temperature rise value of the MPC-ANN charging method of the present invention is similar to the constant current charging method 0.7C charging method; the temperature rising value of the MPC-ANN-CS charging method is about 0.7C and 0.8C charging method.

因此以下將與其比較充電速度以及溫升值,充電時間可以很容易的比較出來,但電池溫升值卻僅能比較最高值,如此一來無法看到充電過程中整體的溫度上升變化,所以本發明積分溫升曲線面積以利比較,又因為各充電電流到達CV段的時間不同,故積分時間選擇兩者之間時間較短者以確保公平性。Therefore, the charging speed and temperature rise value will be compared with the charging time, and the charging time can be easily compared. However, the battery temperature rise value can only be compared with the highest value. In this way, the overall temperature rise change during the charging process cannot be seen, so the present invention points The temperature rise curve area is convenient for comparison, and because the time for each charging current to reach the CV section is different, the shorter integration time is selected to ensure fairness.

各種充電法滿充電池所需之充電時間及最大溫升值之整理如表5所示。The charging time and the maximum temperature rise required for various charging methods to fully charge the battery are shown in Table 5.

表5 充電方法 習知技術之充電法 本發明之充電法 定電流定電壓充電法(CC-CV) 五階段定電流 MPC- ANN MPC- ANN- CS 0.6C 0.7C 0.75C 0.8C 0.9C 1C 充電時間(秒) 7580 7022 6860 6616 6318 6103 6138 6909 6663 最大溫升值(°C) 2.45 3.21 3.66 4.07 4.7 5.7 5.66 2.993 3.4318 table 5 Charging method Charging method Charging method of the present invention Constant current and constant voltage charging method (CC-CV) Five-phase constant current MPC- ANN MPC- ANN- CS 0.6C 0.7C 0.75C 0.8C 0.9C 1C Charging time (seconds) 7580 7022 6860 6616 6318 6103 6138 6909 6663 Temperature rise (° C) 2.45 3.21 3.66 4.07 4.7 5.7 5.66 2.993 3.4318

本發明與習知技術之定電流定電壓充電法滿充電池之平均溫升值比較整理如表6所示。The comparison of the average temperature rise values of the full-charge battery of the constant current and constant voltage charging method of the present invention and the conventional technology is shown in Table 6.

表6 充電方法 時間 本發明之充電法 定電流定電壓充電法(CC-CV) MPC-ANN MPC-ANN-CS 0.7C 0.75C 0.8C 57(分) 2.255°C 2.5072°C 48(分) 2.3261°C 2.3873°C 2.7190°C 3.0643°C Table 6 Charging method time Charging method of the present invention Constant current and constant voltage charging method (CC-CV) MPC-ANN MPC-ANN-CS 0.7C 0.75C 0.8C 57 (minutes) 2.255 ° C 2.5072 ° C 48 (minutes) 2.3261 ° C 2.3873 ° C 2.7190 ° C 3.0643 ° C

由表5及表6可知,本發明之MPC-ANN充電法之充電速度比習知技術之定電流定電壓充電法0.7C快1.6%,平均溫升值低0.252°C;本發明之MPC-ANN-CS充電法之充電速度比習知技術之定電流定電壓充電法0.75C快2.9%,平均溫升值小0.393°C,與習知技術之定電流定電壓充電法0.7C相比充電速度快5.4%,平均溫升值小0.0612°C。As can be seen from Tables 5 and 6, the charging speed of the MPC-ANN charging method of the present invention is 1.6% faster than the constant current and constant voltage charging method of the conventional technology, which is 1.6%, and the average temperature rise value is 0.252 ° C lower. The MPC-ANN of the present invention -The charging speed of the CS charging method is 2.9% faster than the constant current constant voltage charging method of conventional technology 0.75C, and the average temperature rise value is 0.393 ° C lower. Compared with the constant current constant voltage charging method of conventional technology 0.7C, the charging speed is faster. 5.4%, the average temperature rise is less than 0.0612 ° C.

藉由前述所揭露的設計,本發明乃具有以下的優點:With the design disclosed above, the present invention has the following advantages:

1.本發明揭露的基於模型預測控制之電池充電法,係結合類神經網路運算建立電池溫升模型及模型預測控制來挑選合適之充電電流,達到區域最佳控制用以降低電池充電時的溫度上升。1. The battery charging method based on model predictive control disclosed in the present invention combines a neural network-like operation to establish a battery temperature rise model and model predictive control to select a suitable charging current to achieve the optimal area control to reduce the battery charging time. The temperature rises.

2.本發明揭露的基於模型預測控制之電池充電法,其係結合類神經網路運算建立電池溫升模型及模型預測控制來挑選合適之充電電流,達到區域最佳控制用以縮短電池的充電時間,提升充電效率。2. The battery charging method based on model predictive control disclosed in the present invention combines a neural network-like operation to establish a battery temperature rise model and model predictive control to select a suitable charging current to achieve the optimal area control to shorten the battery charge. Time to improve charging efficiency.

本發明所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本發明之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本發明之專利權範疇。The disclosure of the present invention is a preferred embodiment, and any change or modification that is partly derived from the technical idea of the present invention and easily inferred by those skilled in the art will not depart from the scope of patent rights of the present invention.

綜上所陳,本發明無論就目的、手段與功效,在在顯示其迥異於習知之技術特徵,且其首先發明合於實用,亦在在符合發明之專利要件,懇請 貴審查委員明察,並祈早日賜予專利,俾嘉惠社會,實感德便。To sum up, the present invention, regardless of the purpose, means and effect, is showing its technical characteristics that are quite different from the conventional ones, and its first invention is practical, and it also meets the patent requirements of the invention. Pray for granting patents at an early date.

步驟a‧‧‧設定M筆充電選項組合,各筆所述充電選項組合均包含一個預設電池剩餘電量及N個預設電流值,M、N均為大於1的整數Step a‧‧‧Set M charging option combinations, each charging option combination includes a preset remaining battery power and N preset current values, and M and N are integers greater than 1.

步驟b‧‧‧對各筆所述充電選項組合的第1至第N-1個所述預設電流值分別進行一庫侖積分法運算以獲得N-1個預測電池剩餘電量Step b‧‧‧ performs a Coulomb integration operation on each of the first to N-1 preset current values of each of the charging option combinations to obtain N-1 predicted battery remaining power

步驟c‧‧‧利用一類神經網路模型對各筆所述充電選項組合的所述預設電池剩餘電量及第1個所述預設電流值進行一類神經網路運算以獲得一第1個預測電池溫升值,對第K個所述預設電流值及第K個所述預測電池剩餘電量進行所述的類神經網路運算以獲得一第K個所述預測電池溫升值,K=2至NStep c‧‧‧ uses a type of neural network model to perform a type of neural network operation on the preset remaining battery power and the first preset current value of each of the charging option combinations to obtain a first prediction Battery temperature rise value, performing the neural network-like operation on the Kth preset current value and the Kth predicted battery remaining power to obtain a Kth predicted battery temperature rise value, K = 2 to N

步驟d‧‧‧依各筆所述充電選項組合的所述預設電池剩餘電量、N-1個所述預測電池剩餘電量產生N個電池剩餘電量增量Step d‧‧‧ generates N remaining battery power increments according to the preset remaining battery power and N-1 the predicted remaining battery power of each of the charging option combinations

步驟e‧‧‧依各筆所述充電選項組合的N個所述電池剩餘電量增量及N個所述預測電池溫升值進行一加權評分運算以使M筆所述充電選項組合各獲得一評分Step e‧‧‧ perform a weighted scoring operation based on the N remaining battery power increments and N predicted battery temperature rise values of each of the charging option combinations to obtain a score for each of the M charging options combinations

步驟f‧‧‧依M個所述評分中的最高分者所對應的一筆所述充電選項組合決定一充電輸出電流Step f‧‧‧ determines a charging output current according to the charge option combination corresponding to the highest of the M scores

圖1繪示本發明之基於模型預測控制之電池充電演算法之步驟流程圖。 圖2a繪示模型預測控制之結構示意圖。 圖2b其繪示模型預測控制之控制信號示意圖。 圖2c其繪示模型預測控制之輸出信號示意圖。 圖3繪示本發明所使用之倒傳遞類神經網路架構示意圖。 圖4繪示本發明使用類神經網路運算所建置之實驗平台示意圖。 圖5繪示本發明之類神經網路之0.5C至1.0C充電電流之訓練資料庫。 圖6繪示本發明之類神經網路之訓練收斂圖。 圖7繪示本發明之類神經網路之權重和偏權。 圖8繪示本發明之測試資料誤差之長條圖。 圖9繪示本發明用以監控溫度變化之人機介面。 圖10a其繪示習知技術之定電流定電壓充電法(Constant Current Constant Voltage, CC-CV)以0.8C充電之充電電壓、電流和溫度上升變化曲線。 圖10b繪示習知技術之五階段定電流充電之充電電壓、電流和溫度上升變化曲線。 圖10c繪示本發明之MPC-ANN充電法之充電電壓、電流和溫度上升變化曲線。 圖10d其繪示本發明之MPC-ANN-CS充電法之充電電壓、電流和溫度上升變化曲線。 圖10e其繪示上述各充電法所造成電池之溫度變化的比較。FIG. 1 is a flowchart of steps of a battery charging algorithm based on model predictive control according to the present invention. FIG. 2a is a schematic structural diagram of model predictive control. FIG. 2b is a schematic diagram of control signals for model predictive control. FIG. 2c is a schematic diagram showing output signals of the model predictive control. FIG. 3 is a schematic diagram of a reverse transfer neural network architecture used in the present invention. FIG. 4 is a schematic diagram of an experimental platform constructed using a neural network-like operation according to the present invention. FIG. 5 shows a training database of a charging current of 0.5C to 1.0C for a neural network such as the present invention. FIG. 6 illustrates a training convergence diagram of a neural network such as the present invention. FIG. 7 illustrates the weights and partial weights of neural networks such as the present invention. FIG. 8 shows a bar graph of the test data error of the present invention. FIG. 9 illustrates a human-machine interface for monitoring temperature changes according to the present invention. FIG. 10a shows the charging voltage, current, and temperature rise curves of the conventional technique of Constant Current Constant Voltage (CC-CV) charging at 0.8C. FIG. 10b shows the charging voltage, current, and temperature rise curves of the five-phase constant current charging of the conventional technology. FIG. 10c shows the charging voltage, current, and temperature rise curves of the MPC-ANN charging method of the present invention. FIG. 10d shows the charging voltage, current, and temperature rise curves of the MPC-ANN-CS charging method of the present invention. FIG. 10e shows a comparison of temperature changes of the batteries caused by the above charging methods.

Claims (6)

一種基於模型預測控制之電池充電演算法,其係利用一控制電路實 現,該電池充電演算法包括以下步驟: 設定M筆充電選項組合,各筆所述充電選項組合均包含一個預設電池剩餘電量及N個預設電流值,M、N均為大於1的整數; 對各筆所述充電選項組合的第1至第N-1個所述預設電流值分別進行一庫侖積分法運算以獲得N-1個預測電池剩餘電量; 利用一類神經網路模型對各筆所述充電選項組合的所述預設電池剩餘電量及第1個所述預設電流值進行一類神經網路運算以獲得一第1個預測電池溫升值,對第K個所述預設電流值及第K個所述預測電池剩餘電量進行所述的類神經網路運算以獲得一第K個所述預測電池溫升值,K=2至N; 依各筆所述充電選項組合的所述預設電池剩餘電量、N-1個所述預測電池剩餘電量產生N個電池剩餘電量增量; 依各筆所述充電選項組合的N個所述電池剩餘電量增量及N個所述預測電池溫升值進行一加權評分運算以使M筆所述充電選項組合各獲得一評分;以及 依M個所述評分中的最高分者所對應的一筆所述充電選項組合決定一充電輸出電流。A battery charging algorithm based on model predictive control is implemented using a control circuit. The battery charging algorithm includes the following steps: setting M charging option combinations, each charging option combination including a preset remaining battery power And N preset current values, M and N are both integers greater than 1. The first to N-1th preset current values of each of the charging option combinations are respectively subjected to a Coulomb integration operation to obtain N-1 predictions of remaining battery power; using a type of neural network model to perform a type of neural network operation on the preset remaining battery power and the first preset current value for each of the charging option combinations A first predicted battery temperature rise value, performing the neural network-like operation on the Kth preset current value and the Kth predicted battery remaining power to obtain a Kth predicted battery temperature rise value, K = 2 to N; N preset remaining battery power and N-1 predicted battery remaining power are used to generate N remaining battery power increments according to each charging option combination; Performing a weighted scoring operation on the N remaining battery power increase and N predicted battery temperature rise values of the item combination to obtain a score for each of the M charging combination options; and the highest of the M pieces of the ratings Each of the charging option combinations corresponding to a branch determines a charging output current. 如申請專利範圍第1項所述之基於模型預測控制之電池充電演算法 ,其中該加權評分運算係以N個所述電池剩餘電量增量的總和乘以一權重值a加上N個所述預測電池溫升值的總和乘以(100-a)而得到所述的評分,a為小於100的正整數。The battery charging algorithm based on model predictive control as described in item 1 of the scope of the patent application, wherein the weighted scoring operation is calculated by multiplying the sum of the remaining remaining battery power increments by a weight value a plus N said The sum of the predicted battery temperature rise values is multiplied by (100-a) to obtain the score, a is a positive integer less than 100. 如申請專利範圍第2項所述之基於模型預測控制之電池充電演算法 ,其中該權重值a係一可變的權重值。The battery charging algorithm based on model predictive control as described in item 2 of the scope of patent application, wherein the weight value a is a variable weight value. 如申請專利範圍第2項或第3項所述之基於模型預測控制之電池充 電演算法,該類神經網路模型為一具有四層架構之倒傳遞類神經網路,包括1層輸入層、2層隱藏層和及1層輸出層。According to the battery charging algorithm based on model predictive control described in item 2 or item 3 of the scope of the patent application, this type of neural network model is a four-layer reverse transfer neural network, including a 1-layer input layer, 2 hidden layers and 1 output layer. 如申請專利範圍第4項所述之基於模型預測控制之電池充電演算法 ,所述輸入層之輸入參數為所述預設電流值及所述預設電池剩餘電量,所述2層隱藏層各包含35個神經元,所述輸出層之輸出參數為所述預測電池溫升值。According to the battery charging algorithm based on model predictive control described in item 4 of the scope of patent application, the input parameters of the input layer are the preset current value and the preset remaining battery power, and each of the two hidden layers It includes 35 neurons, and the output parameter of the output layer is the predicted battery temperature rise value. 如申請專利範圍第1項所述之基於模型預測控制之電池充電演算法 ,其進一步包含一由LabVIEW程式撰寫的人機介面以監控一溫度變化。The battery charging algorithm based on model predictive control described in item 1 of the patent application scope further includes a human-machine interface written by a LabVIEW program to monitor a temperature change.
TW107109670A 2018-03-21 2018-03-21 A battery charging algorithm based on model predictive control TWI658371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107109670A TWI658371B (en) 2018-03-21 2018-03-21 A battery charging algorithm based on model predictive control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107109670A TWI658371B (en) 2018-03-21 2018-03-21 A battery charging algorithm based on model predictive control

Publications (2)

Publication Number Publication Date
TWI658371B true TWI658371B (en) 2019-05-01
TW201941079A TW201941079A (en) 2019-10-16

Family

ID=67348930

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107109670A TWI658371B (en) 2018-03-21 2018-03-21 A battery charging algorithm based on model predictive control

Country Status (1)

Country Link
TW (1) TWI658371B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047452A (en) * 2022-01-13 2022-02-15 浙江玥视科技有限公司 Method and device for determining cycle life of battery

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI231373B (en) * 2002-04-15 2005-04-21 Fujitsu Ltd Method for predicting remaining charge of portable electronics battery
US20110037438A1 (en) * 2009-08-17 2011-02-17 Apple Inc. Modulated, temperature-based multi-cc-cv charging technique for li-ion/li-polymer batteries
CN102105957A (en) * 2008-07-23 2011-06-22 皇家飞利浦电子股份有限公司 Fast charger for super capacitor
CN103926538A (en) * 2014-05-05 2014-07-16 山东大学 Variable tap-length RC equivalent circuit model and realization method based on AIC
US20140278170A1 (en) * 2013-03-15 2014-09-18 Qualcomm Incorporated State of charge (soc) display for rechargeable battery
CN104730468A (en) * 2015-04-07 2015-06-24 阳光电源股份有限公司 Battery SOC estimation method and device and battery management system
TWI523298B (en) * 2015-01-16 2016-02-21 新普科技股份有限公司 Method to estimate the charging time of lithium-ion batteries and charging monitor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI231373B (en) * 2002-04-15 2005-04-21 Fujitsu Ltd Method for predicting remaining charge of portable electronics battery
CN102105957A (en) * 2008-07-23 2011-06-22 皇家飞利浦电子股份有限公司 Fast charger for super capacitor
US20110037438A1 (en) * 2009-08-17 2011-02-17 Apple Inc. Modulated, temperature-based multi-cc-cv charging technique for li-ion/li-polymer batteries
US20140278170A1 (en) * 2013-03-15 2014-09-18 Qualcomm Incorporated State of charge (soc) display for rechargeable battery
CN103926538A (en) * 2014-05-05 2014-07-16 山东大学 Variable tap-length RC equivalent circuit model and realization method based on AIC
TWI523298B (en) * 2015-01-16 2016-02-21 新普科技股份有限公司 Method to estimate the charging time of lithium-ion batteries and charging monitor
CN104730468A (en) * 2015-04-07 2015-06-24 阳光电源股份有限公司 Battery SOC estimation method and device and battery management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047452A (en) * 2022-01-13 2022-02-15 浙江玥视科技有限公司 Method and device for determining cycle life of battery
CN114047452B (en) * 2022-01-13 2022-05-13 浙江玥视科技有限公司 Method and device for determining cycle life of battery

Also Published As

Publication number Publication date
TW201941079A (en) 2019-10-16

Similar Documents

Publication Publication Date Title
Xiao et al. Accurate state-of-charge estimation approach for lithium-ion batteries by gated recurrent unit with ensemble optimizer
Li et al. Optimized charging of lithium-ion battery for electric vehicles: Adaptive multistage constant current–constant voltage charging strategy
Khalid et al. Prediction of li-ion battery state of charge using multilayer perceptron and long short-term memory models
Shen et al. A deep learning method for online capacity estimation of lithium-ion batteries
US20210123975A1 (en) Systems and methods for forecasting battery state of charge
CN108519556A (en) A Lithium-ion Battery SOC Prediction Method Based on Recurrent Neural Network
CN115308606B (en) A method for estimating the health state of lithium-ion batteries based on neighboring features
CN104319793B (en) A kind of wind storage control method for coordinating stabilizing the fluctuation of shot and long term wind power
Yang et al. Balancing awareness fast charging control for lithium-ion battery pack using deep reinforcement learning
Wang et al. Dynamic battery equalization scheme of multi-cell lithium-ion battery pack based on PSO and VUFLC
TW202132800A (en) Battery charging method based on model predictive control which uses the current state of the lithium battery to calculate the optimal charging current for the next step so as to reduce the temperature rise during charging and the charging time
CN105119285B (en) Multiobjective optimization control method is coordinated in wind storage based on dynamic weight index
Hasan et al. Performance comparison of machine learning methods with distinct features to estimate battery SOC
Khalid et al. A multi-step predictive model to estimate li-ion state of charge for higher c-rates
CN111244564A (en) A method for multi-target simultaneous charging of lithium battery pack
CN107492901A (en) A kind of distributed energy storage system real-time optimization method and device
CN117220318A (en) Power grid digital driving control method and system
CN112418496B (en) Power distribution station energy storage configuration method based on deep learning
CN116796911A (en) Medium-voltage distribution network optimization regulation and control method and system based on typical scene generation and on-line scene matching
Zhang et al. Lithium battery SOC prediction based on mproved BP eural etwork algorithm
TWI658371B (en) A battery charging algorithm based on model predictive control
CN118381095B (en) Intelligent control method and device for energy storage charging and discharging of new energy micro-grid
CN114295987B (en) A battery SOC state estimation method based on nonlinear Kalman filtering
CN116165545A (en) Battery SOC state estimation method based on unscented Kalman filter and neural network
CN105720597A (en) Method for optimizing charge and discharge power of electric car charge-storage-discharge integrated power station

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees