TWI894003B - Multi-battery system and multi-battery self-adaptive arbitration and identification method - Google Patents
Multi-battery system and multi-battery self-adaptive arbitration and identification methodInfo
- Publication number
- TWI894003B TWI894003B TW113136705A TW113136705A TWI894003B TW I894003 B TWI894003 B TW I894003B TW 113136705 A TW113136705 A TW 113136705A TW 113136705 A TW113136705 A TW 113136705A TW I894003 B TWI894003 B TW I894003B
- Authority
- TW
- Taiwan
- Prior art keywords
- battery
- battery module
- battery modules
- activation signals
- random
- Prior art date
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
本發明涉及一種多電池系統和多電池自適應仲裁與識別方法,尤指一種能夠自適應仲裁多電池模組之間的優先排序和通訊控制的多電池系統和多電池自適應仲裁與識別方法 The present invention relates to a multi-battery system and a multi-battery adaptive arbitration and identification method, and in particular to a multi-battery system and a multi-battery adaptive arbitration and identification method capable of adaptively arbitrating priority and communication control among multiple battery modules.
由於電動車的動力需求,單電池模組已無法滿足市場需求。因此,電池管理模組根據系統設計將複數個電池模組分為主要電池模組、和從屬電池模組兩類,滿足電池管理模組動力需求。電池模組的通訊識別在接上控制器區域網路(CAN)匯流排時必須定義才能保持正常通訊。傳統通訊識別的方式,利用各式流水識別碼決定主要電池模組和從屬電池模組之間通訊識別。例如,將產品生產的專案代碼搭配生產流水識別碼配置給電池模組。而流水識別碼於電池模組出廠時已產生且固定不變。此設計使產品搭配性僵化,無法對應預期外的通訊衝突。且固定的流水識別碼使電池模組的控制方法在控制器區域網路(CAN)匯流排上傳遞的資料訊號容易被解析與複製。 Due to the power requirements of electric vehicles, single battery modules can no longer meet market demand. Therefore, the battery management module divides multiple battery modules into two categories: main battery modules and slave battery modules based on system design to meet the power requirements of the battery management module. The communication identification of the battery module must be defined when connected to the controller area network (CAN) bus to maintain normal communication. Traditional communication identification methods use various serial identification codes to determine the communication identification between the main battery module and the slave battery module. For example, the product production project code is combined with the production serial identification code to be configured for the battery module. The serial identification code is generated when the battery module leaves the factory and is fixed. This design makes the product compatibility rigid and cannot cope with unexpected communication conflicts. The fixed serial identification code makes it easy to parse and copy the data signals transmitted by the battery module control method on the Controller Area Network (CAN) bus.
因此,如何隱蔽電池模組的通訊行為,使競爭對手無法輕易解析與複製電池模組的通訊行為,就成為業界所努力的目標之一。 Therefore, concealing the battery module's communication behavior, preventing competitors from easily analyzing and replicating it, has become one of the industry's goals.
本發明的主要目的之一在於提供多電池系統和多電池自適應仲裁與識別方法,使產品管控上可以簡化生產單電池模組,仍可滿足主要電池模組和從屬電池模組需求,並提升物料的管控。 One of the primary objectives of this invention is to provide a multi-battery system and a multi-battery adaptive arbitration and identification method, which can simplify the production of single battery modules while still meeting the requirements of primary and secondary battery modules and improving material control.
本發明提供一種多電池系統,包含有複數個電池模組,其中該複數個電池模組中的每一電池模組分別包含一微控制器,該控制器用來執行一多電池自適應仲裁與識別方法,其中該多電池自適應仲裁與識別方法包含有下述步驟:接收分別來自該複數個電池模組的複數個第一啟動訊號,其中該複數個第一啟動訊號中的每一第一啟動訊號包含一配置識別碼和一第一隨機識別碼;根據該複數個第一啟動訊號,產生一仲裁結果,其中該仲裁結果指示該複數個電池模組之間的一優先排序;以及傳送該仲裁結果給該複數個電池模組的每一電池模組。 The present invention provides a multi-battery system comprising a plurality of battery modules, wherein each of the plurality of battery modules includes a microcontroller configured to execute a multi-battery adaptive arbitration and identification method. The multi-battery adaptive arbitration and identification method comprises the following steps: receiving a plurality of first activation signals from the plurality of battery modules, wherein each of the plurality of first activation signals includes a configuration identification code and a first random identification code; generating an arbitration result based on the plurality of first activation signals, wherein the arbitration result indicates a priority order among the plurality of battery modules; and transmitting the arbitration result to each of the plurality of battery modules.
本發明提供一種多電池自適應仲裁與識別方法,用於一多電池系統,其中該多電池系統包含複數個電池模組,該多電池自適應仲裁與識別方法包含有下述步驟:接收分別來自該複數個電池模組的複數個第一啟動訊號,其中該複數個第一啟動訊號中的每一第一啟動訊號包含一配置識別碼和一第一隨機識別碼;根據該複數個第一啟動訊號,產生一仲裁結果,其中該仲裁結果指示該複數個電池模組之間的一優先排序;以及傳送該仲裁結果給該複數個電池模組的每一電池模組。 The present invention provides a multi-battery adaptive arbitration and identification method for a multi-battery system, wherein the multi-battery system includes a plurality of battery modules. The multi-battery adaptive arbitration and identification method includes the following steps: receiving a plurality of first activation signals from the plurality of battery modules, wherein each of the plurality of first activation signals includes a configuration identification code and a first random identification code; generating an arbitration result based on the plurality of first activation signals, wherein the arbitration result indicates a priority order among the plurality of battery modules; and transmitting the arbitration result to each of the plurality of battery modules.
1:多電池系統 1:Multi-battery system
2,3:流程 2,3: Process
10,12,14,16:電池模組 10, 12, 14, 16: Battery module
20:電子裝置 20: Electronic devices
S200,S202,S204,S206,S208,S300,S302,S304,S306,S308,S310,S312,S314:步驟 S200, S202, S204, S206, S208, S300, S302, S304, S306, S308, S310, S312, S314: Steps
第1圖為本發明實施例一多電池系統之示意圖。 Figure 1 is a schematic diagram of a multi-battery system according to embodiment 1 of the present invention.
第2圖為本發明實施例多電池自適應仲裁與識別方法之流程圖。 Figure 2 is a flow chart of the multi-battery adaptive arbitration and identification method according to an embodiment of the present invention.
第3圖為本發明實施例多電池自適應仲裁與識別方法之流程圖。 Figure 3 is a flow chart of the multi-battery adaptive arbitration and identification method according to an embodiment of the present invention.
第4圖為本發明實施例多電池系統運作之流程圖。 Figure 4 is a flow chart of the operation of the multi-battery system according to an embodiment of the present invention.
第5圖為本發明實施例多電池系統運作之流程圖。 Figure 5 is a flow chart of the operation of the multi-battery system according to an embodiment of the present invention.
第6圖為本發明實施例多電池系統運作之流程圖。 Figure 6 is a flow chart of the operation of the multi-battery system according to an embodiment of the present invention.
第7圖為本發明實施例多電池系統運作之流程圖。 Figure 7 is a flow chart of the operation of the multi-battery system according to an embodiment of the present invention.
第8圖為本發明實施例多電池系統運作之流程圖。 Figure 8 is a flow chart of the operation of the multi-battery system according to an embodiment of the present invention.
第9圖為本發明實施例多電池系統運作之流程圖。 Figure 9 is a flow chart of the operation of the multi-battery system according to an embodiment of the present invention.
在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,硬體製造商可能會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範圍並不以名稱的差異來做為區分元件的方式,而是以元件在功能上的差異來做為區分的準則。在通篇說明書及後續的申請專利範圍當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。以外,「耦接」一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述一第一裝置耦接於一第二裝置,則代表該第一裝置可直接電氣連接於該第二裝置,或透過其他裝置或連接手段間接地電氣連接至該第二裝置。 Certain terms are used in this specification and the subsequent patent claims to refer to specific components. It should be understood by those skilled in the art that hardware manufacturers may use different terms to refer to the same component. This specification and the subsequent patent claims do not distinguish components by difference in name, but rather by difference in function. Throughout this specification and the subsequent patent claims, the word "including" is an open term and should be interpreted as "including but not limited to". In addition, the word "coupled" is used herein to include any direct and indirect electrical connection means. Therefore, if the text describes a first device coupled to a second device, it means that the first device can be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices or connection means.
請參考第1圖,第1圖為本發明實施例一多電池系統1之示意圖。多電池系統1包含互相耦接的複數個電池模組,並用來供電給一電子裝置20。需注意 的是,本發明的多電池系統1可以應用於一電動車(電子裝置20),但不以此為限。此外,為了方便說明,在下述實施例中,複數個電池模組皆以配置有一第一電池模組10、一第二電池模組12和一第三電池模組14為例,本領域具通常知識者當可據以衍生為3組以上的電池模組。 Please refer to Figure 1, which is a schematic diagram of a multi-battery system 1 according to an embodiment of the present invention. The multi-battery system 1 includes a plurality of interconnected battery modules and is used to power an electronic device 20. It should be noted that the multi-battery system 1 of the present invention can be applied to an electric vehicle (electronic device 20), but is not limited thereto. Furthermore, for ease of explanation, the following embodiments illustrate a plurality of battery modules comprising a first battery module 10, a second battery module 12, and a third battery module 14. However, those skilled in the art will readily appreciate that the system can be extended to include more than three battery modules.
請參考第2圖,複數個電池模組會連接到電子裝置20上的在同一控制器區域網路(CAN)匯流排上,為了避免複數個電池模組之間的通訊出現異常干擾,多電池系統1的第一電池模組10、第二電池模組12和第三電池模組14分別包含一微控制器單元(未示與第1圖中),每個微控制器可以執行分別一多電池自適應仲裁與識別方法以協調複數個電池模組的通訊行為。關於多電池系統1的多電池自適應仲裁與識別方法之運作,可歸納為一流程2,如第2圖所示。流程2包含以下步驟: Referring to Figure 2, multiple battery modules are connected to the same Controller Area Network (CAN) bus on an electronic device 20. To prevent communication interference between the multiple battery modules, the first battery module 10, the second battery module 12, and the third battery module 14 of the multi-battery system 1 each include a microcontroller unit (not shown in Figure 1). Each microcontroller can execute a multi-battery adaptive arbitration and identification method to coordinate communication between the multiple battery modules. The operation of the multi-battery adaptive arbitration and identification method of the multi-battery system 1 can be summarized as a process 2, as shown in Figure 2. Process 2 includes the following steps:
步驟S200:開始。 Step S200: Start.
步驟S202:接收分別來自複數個電池模組的複數個第一啟動訊號。 Step S202: Receive a plurality of first activation signals from a plurality of battery modules.
步驟S204:根據複數個第一啟動訊號,產生一仲裁結果。 Step S204: Generate an arbitration result based on a plurality of first activation signals.
步驟S206:傳送仲裁結果給複數個電池模組的每一電池模組。 Step S206: Send the arbitration result to each battery module of the plurality of battery modules.
步驟S208:結束。 Step S208: End.
根據流程2,於步驟S200中,電子裝置20啟動(例如,使用者按下電動車的啟動鈕)並向第一電池模組10、第二電池模組12和第三電池模組14傳送一開機訊號。第一電池模組10、第二電池模組12和第三電池模組14接收開機訊號後,分別執行自體檢測安全開機並發起通訊向電動車的一通訊網路傳送對應的第一啟動訊號。第一啟動訊號可包含一配置識別碼和一第一隨機識別碼。配 置識別碼可以根據電池模組的網路管理代號和/或產品訊息組成客製化配置,但不以此為限。第一隨機識別碼 According to process 2, in step S200, the electronic device 20 is activated (for example, by the user pressing the start button of the electric vehicle) and transmits a power-on signal to the first battery module 10, the second battery module 12, and the third battery module 14. After receiving the power-on signal, the first battery module 10, the second battery module 12, and the third battery module 14 each perform a self-detection safety boot and initiate communication to transmit a corresponding first power-on signal to a communication network of the electric vehicle. The first power-on signal may include a configuration identifier and a first random identifier. The configuration identifier may be customized based on, but is not limited to, the battery module's network management code and/or product information. First random identifier
於步驟S202中,第一電池模組10、第二電池模組12和第三電池模組14透過電動車的通訊網路接收分別來自其他電池模組的第一啟動訊號。例如,第一電池模組10透過通訊網路接收第二電池模組12和第三電池模組14的第一啟動訊號。在一實施例中,第一電池模組10的第一啟動訊號為「0x418」、第二電池模組12的第一啟動訊號為「0x415」和第三電池模組14的第一啟動訊號為「0x451」,其中每個第一啟動訊號中的「0x400」為配置識別碼,而「0x18」、「0x15」和「0x51」為第一隨機識別碼。需注意的是,第一隨機識別碼可以由複數個電池模組的一處理器執行一隨機碼程式產生,或者由複數個電池模組的一隨機碼產生器產生,但不以此為限。 In step S202, the first battery module 10, the second battery module 12, and the third battery module 14 receive first activation signals from each of the other battery modules via the electric vehicle's communication network. For example, the first battery module 10 receives first activation signals from the second battery module 12 and the third battery module 14 via the communication network. In one embodiment, the first activation signal from the first battery module 10 is "0x418," the first activation signal from the second battery module 12 is "0x415," and the first activation signal from the third battery module 14 is "0x451." In each first activation signal, "0x400" is the configuration identifier, while "0x18," "0x15," and "0x51" are the first random identifiers. It should be noted that the first random identification code can be generated by a processor in a plurality of battery modules executing a random code program, or by a random code generator in a plurality of battery modules, but is not limited thereto.
於步驟S204中,微控制器單元根據複數個電池模組的複數個第一啟動訊號中的第一隨機識別碼,產生仲裁結果。仲裁結果可以指示複數個電池模組之間的一優先排序。詳細來說,微控制器單元根據複數個電池模組的第一啟動訊號判斷複數個電池模組的一第一數量。舉例來說,第一隨機識別碼「0x18」、「0x15」和「0x51」為三個不同的隨機識別碼,因此,電動車的通訊網路上累積接收三個隨機識別碼,也就是第一數量為3。進一步地,微控制器單元排序隨機識別碼「0x18」、「0x15」和「0x51」的大小以產生第一電池模組10、第二電池模組12和第三電池模組14之間的優先排序並作為仲裁結果。舉例來說,第二電池模組12的第一隨機識別碼「0x15」最小,微控制器單元指示第二電池模組12的優先排序為第一優先。類似地,微控制器單元指示第一電池模組10的優先排序為第二優先,和第三電池模組14的優先排序為第三優先。此外,微控制器 單元可以指示第一優先的第一電池模組10作為一主要電池模組,第二優先的第二電池模組12和第三優先的第三電池模組14作為從屬電池。需注意的是,微控制器單元亦可以指示隨機識別碼較大的電池模組的優先排序在前,但不以此為限。 In step S204, the microcontroller unit generates an arbitration result based on the first random identification codes in the first activation signals from the battery modules. The arbitration result can indicate a priority ranking among the battery modules. Specifically, the microcontroller unit determines a first quantity of the battery modules based on the first activation signals from the battery modules. For example, the first random identification codes "0x18," "0x15," and "0x51" are three different random identification codes. Therefore, the electric vehicle's communication network has cumulatively received three random identification codes, indicating a first quantity of three. Furthermore, the microcontroller unit ranks the random identification codes "0x18," "0x15," and "0x51" to determine the priority order among the first battery module 10, the second battery module 12, and the third battery module 14, using this as the arbitration result. For example, if the first random identification code "0x15" of the second battery module 12 is the smallest, the microcontroller unit designates the second battery module 12 as the first priority. Similarly, the microcontroller unit designates the first battery module 10 as the second priority, and the third battery module 14 as the third priority. Furthermore, the microcontroller unit may designate the first battery module 10, which has the highest priority, as the master battery module, the second battery module 12, which has the highest priority, and the third battery module 14, which has the highest priority, as the slave battery modules. It should be noted that the microcontroller unit may also instruct the battery module with a larger random identification code to be prioritized first, but the present invention is not limited to this.
於步驟S206中,微控制器單元傳送仲裁結果給複數個電池模組的每一電池模組。舉例來說,在第一電池模組10、第二電池模組12和第三電池模組14收到仲裁結果之後,第二電池模組12可以配置為主要電池模組並傳送請求訊號給配置為從屬電池模組的第一電池模組10和第三電池模組14,請求訊號指示第一電池模組10和第三電池模組14回報對應的電池狀態以建立每個電池模組之間的通訊連結。在每個電池模組之間的通訊連結建立以後,作為主要電池的第二電池模組12認證每個從屬電池模組的電池狀態正確性,並將通過認證的從屬電池模組回報給微控制器單元並歸入微控制器單元的管理對象。至此,多電池自適應仲裁與識別方法完成,多電池系統1的內部自適應網路建立完成並進入一電池管理流程,電池管理流程為本領域所熟知,在此不贅述。 In step S206, the microcontroller unit transmits the arbitration result to each of the plurality of battery modules. For example, after the first battery module 10, the second battery module 12, and the third battery module 14 receive the arbitration result, the second battery module 12 can be configured as the master battery module and transmit a request signal to the first battery module 10 and the third battery module 14, which are configured as slave battery modules. The request signal instructs the first battery module 10 and the third battery module 14 to report the corresponding battery status, thereby establishing a communication link between each battery module. After establishing communication links between each battery module, the second battery module 12, acting as the master battery, verifies the battery status of each slave battery module and reports the authenticated slave battery module to the microcontroller unit, where it is managed. This completes the multi-battery adaptive arbitration and identification method, establishing the internal adaptive network of the multi-battery system 1 and entering a battery management process. This battery management process is well known in the art and will not be detailed here.
需注意的是,本發明的複數個電池模組之間的優先排序(主從關係)是根據第一隨機識別碼決定,因此,每次多電池系統1啟動時,複數個電池模組之間的優先排序都可能不同。然而,複數個電池模組中的一或多個電池模組可能產生出相同的第一隨機識別碼。舉例來說,第一電池模組10的第一隨機識別碼為「0x418」、第二電池模組12的第一隨機識別碼為「0x418」和第三電池模組14的第一隨機識別碼為「0x451」,換言之,第一電池模組10的第一隨機識別碼相同於第二電池模組12的第一隨機識別碼。在此情況下,通訊網路接收二個第一隨機識別碼,因此,微控制器單元判斷電子裝置20連接二個電池模組(第一 數量為2),也就是第一電池模組10和第二電池模組12視為同一個電池模組。為了解決上述問題,多電池系統1的多電池自適應仲裁與識別方法之運作,可歸納為一流程3,如第3圖所示。流程3包含以下步驟: It should be noted that the priority order (master-slave relationship) between the multiple battery modules of the present invention is determined based on the first random identification code. Therefore, the priority order between the multiple battery modules may be different each time the multi-battery system 1 is started. However, one or more battery modules in the multiple battery modules may generate the same first random identification code. For example, the first random identification code of the first battery module 10 is "0x418", the first random identification code of the second battery module 12 is "0x418", and the first random identification code of the third battery module 14 is "0x451". In other words, the first random identification code of the first battery module 10 is the same as the first random identification code of the second battery module 12. In this case, the communication network receives two first random identification codes. Therefore, the microcontroller unit determines that the electronic device 20 is connected to two battery modules (the first number is two). In other words, the first battery module 10 and the second battery module 12 are considered to be the same battery module. To address the above issue, the operation of the multi-battery adaptive arbitration and identification method of the multi-battery system 1 can be summarized as a process 3, as shown in Figure 3. Process 3 includes the following steps:
步驟S300:開始。 Step S300: Start.
步驟S302:接收分別來自複數個電池模組的複數個第一啟動訊號。 Step S302: Receive a plurality of first activation signals from a plurality of battery modules.
步驟S304:紀錄複數個第一啟動訊號。 Step S304: Record multiple first activation signals.
步驟S306:重置複數個電池模組。 Step S306: Reset multiple battery modules.
步驟S308:接收分別來自複數個電池模組的複數個第二啟動訊號。 Step S308: Receive a plurality of second activation signals from a plurality of battery modules.
步驟S310:紀錄複數個第一啟動訊號,並根據複數個第一啟動訊號和複數個第二啟動訊號,產生仲裁結果。 Step S310: Record a plurality of first activation signals and generate an arbitration result based on the plurality of first activation signals and the plurality of second activation signals.
步驟S312:傳送仲裁結果給複數個電池模組的每一電池模組。 Step S312: Send the arbitration result to each battery module of the plurality of battery modules.
步驟S314:結束。 Step S314: End.
請參考第4圖,於步驟S300中,電子裝置20啟動(例如,使用者按下電動車的啟動鈕)並向第一電池模組10、第二電池模組12和第三電池模組14傳送一開機訊號。第一電池模組10、第二電池模組12和第三電池模組14接收開機訊號後,分別執行自體檢測安全開機並發起通訊向電動車的一通訊網路傳送對應的第一啟動訊號。於步驟S302中,第一電池模組10、第二電池模組12和第三電池模組14透過電動車的通訊網路接收分別來自其他電池模組的第一啟動訊號。例如,第一電池模組10透過通訊網路接收電池模組12和第三模組的第一啟動訊號。在一實施例中,第一電池模組10的第一啟動訊號為「0x418」、第二電池模組12的第一啟動訊號為「0x415」和第三電池模組14的第一啟動訊號為「0x451」,其中每個第一啟動訊號中的「0x400」為配置識別碼,而「0x18」、「0x15」 和「0x51」為第一隨機識別碼。 Referring to FIG. 4 , in step S300 , the electronic device 20 is activated (e.g., by a user pressing the start button of the electric vehicle) and transmits a power-on signal to the first battery module 10 , the second battery module 12 , and the third battery module 14 . After receiving the power-on signal, the first battery module 10 , the second battery module 12 , and the third battery module 14 each perform a self-check to safely boot up and initiate communication to transmit a corresponding first power-on signal to a communication network of the electric vehicle. In step S302 , the first battery module 10 , the second battery module 12 , and the third battery module 14 receive first power-on signals from the other battery modules via the communication network of the electric vehicle. For example, the first battery module 10 receives first power-on signals from the battery modules 12 and the third battery module via the communication network. In one embodiment, the first activation signal of the first battery module 10 is "0x418," the first activation signal of the second battery module 12 is "0x415," and the first activation signal of the third battery module 14 is "0x451." "0x400" in each first activation signal is the configuration identification code, while "0x18," "0x15," and "0x51" are the first random identification codes.
請參考第5圖,於步驟S304和步驟S306中,微控制器單元紀錄複數個第一啟動訊號並重置複數個電池模組並產生一第一隨機碼紀錄。在一實施例中,第一隨機識別碼最小的第二電池模組12作為主要電池模組,第二電池模組12可以透過通訊網路傳送一重置訊息以指示第一電池模組10、第二電池模組12和第三電池模組14重置第一啟動訊號並產生第二啟動訊號(新的第一啟動訊號)。需注意的是,第二啟動訊號包含一配置識別碼和一第二隨機識別碼。第二隨機識別碼包含固定碼和一第二隨機碼。此外,重置訊息亦可由微控制器單元傳送給第一電池模組10、第二電池模組12和第三電池模組14,但不以此為限。需注意的是,第一電池模組10、第二電池模組12和第三電池模組14的隨機識別碼重置可以但不限於一次,本領域具通常知識者當可據以衍生為二次以上。於步驟S308中,第一電池模組10、第二電池模組12和第三電池模組14透過電動車的通訊網路接收分別來自其他電池模組的第二啟動訊號。需注意的是,步驟S308類似於步驟S302,在此不贅述。 Referring to Figure 5 , in steps S304 and S306 , the microcontroller unit records a plurality of first activation signals, resets a plurality of battery modules, and generates a first random code record. In one embodiment, the second battery module 12 with the smallest first random identification code serves as the master battery module. Second battery module 12 can transmit a reset message via the communication network to instruct the first battery module 10 , the second battery module 12 , and the third battery module 14 to reset the first activation signal and generate a second activation signal (a new first activation signal). Note that the second activation signal includes a configuration identification code and a second random identification code. The second random identification code includes a fixed code and a second random code. Furthermore, a reset message can also be transmitted by the microcontroller unit to the first battery module 10, the second battery module 12, and the third battery module 14, but this is not limited to the above. It should be noted that the random identification codes of the first battery module 10, the second battery module 12, and the third battery module 14 can be reset, but not limited to, once. Those skilled in the art can readily derive this information from the reset to two or more times. In step S308, the first battery module 10, the second battery module 12, and the third battery module 14 receive a second activation signal from each of the other battery modules via the electric vehicle's communication network. Note that step S308 is similar to step S302 and will not be further described here.
請參考第6圖,於步驟S310中,微控制器單元紀錄複數個第二啟動訊號並重置複數個電池模組並產生一第二隨機碼紀錄。在一實施例中,第一隨機碼紀錄包含:「0x18」、「0x15」、「0x51」,和第二隨機碼紀錄包含:「0x29」、「0x57」、「0x01」。微控制器單元判斷二個隨機碼紀錄對應的電池數量皆為3,如此一來,微控制器單元可以根據第一隨機碼紀錄或第二隨機碼紀錄決定複數個電池模組的優先排序。在另一實施例中,第一隨機碼紀錄包含:「0x18」、「0x15」、「0x51」,和第二隨機碼紀錄包含:「0x29」、「0x29」、「0x01」。微控制器單元判斷第一隨機碼紀錄對應的電池數量為3和第二隨機碼紀錄對應的電池數量為2,如此一 來,微控制器單元可以根據第一隨機碼紀錄決定複數個電池模組的優先排序。 Referring to Figure 6 , in step S310 , the microcontroller unit records a plurality of second activation signals, resets a plurality of battery modules, and generates a second random code record. In one embodiment, the first random code record includes "0x18," "0x15," and "0x51," and the second random code record includes "0x29," "0x57," and "0x01." The microcontroller unit determines that both random code records correspond to a battery quantity of 3. Therefore, the microcontroller unit can prioritize the plurality of battery modules based on the first random code record or the second random code record. In another embodiment, the first random code record includes "0x18," "0x15," and "0x51," and the second random code record includes "0x29," "0x29," and "0x01." The microcontroller unit determines that the battery quantity corresponding to the first random code record is 3 and the battery quantity corresponding to the second random code record is 2. In this way, the microcontroller unit can prioritize the multiple battery modules based on the first random code record.
於步驟S312中,微控制器單元傳送仲裁結果給複數個電池模組的每一電池模組。在一實施例中,如第6圖所示,在第一電池模組10、第二電池模組12和第三電池模組14收到仲裁結果之後,第三電池模組14可以配置為主要電池模組並傳送請求訊號給配置為從屬電池模組的第一電池模組10和第二電池模組12,請求訊號指示第一電池模組10和第二電池模組12回報對應的電池狀態以建立每個電池模組之間的通訊連結。在每個電池模組之間的通訊連結建立以後,作為主要電池的第三電池模組14認證每個從屬電池模組的電池狀態正確性,和將通過認證的從屬電池模組回報給微控制器單元並歸入微控制器單元的管理對象。至此,多電池自適應仲裁與識別方法完成,多電池系統1的內部自適應網路建立完成並進入一電池管理流程,電池管理流程為本領域所熟知,在此不贅述。 In step S312, the microcontroller unit transmits the arbitration result to each of the plurality of battery modules. In one embodiment, as shown in FIG6 , after the first battery module 10, the second battery module 12, and the third battery module 14 receive the arbitration result, the third battery module 14 can be configured as a master battery module and transmit a request signal to the first battery module 10 and the second battery module 12, which are configured as slave battery modules. The request signal instructs the first battery module 10 and the second battery module 12 to report the corresponding battery status, thereby establishing a communication link between each battery module. After establishing communication links between each battery module, the third battery module 14, acting as the master battery, verifies the battery status of each slave battery module and reports the authenticated slave battery module to the microcontroller unit, where it is managed. This completes the multi-battery adaptive arbitration and identification method, establishing the internal adaptive network of the multi-battery system 1 and entering a battery management process. This battery management process is well known in the art and will not be detailed here.
需注意的是,主要電池模組可以定時更新從屬電池模組的電池狀態。請參考第7圖,作為主要電池模組的第二電池模組12以一請求時間T1的週期向第一電池模組10和第三電池模組14傳送請求訊息。據此,第一電池模組10和第三電池模組14以請求時間T1的週期向主要電池模組的第二電池模組12傳送對應的電池狀態。此外,若主要電池模組未獲得從屬電池模組的電池狀態,主要電池模組可以移除從屬電池模組的認證。舉例來說,如第7圖所示,第三電池模組14未回應第二電池模組12傳送的第二個請求訊號,因此,第二電池模組12在請求訊號傳送出請求時間T1之後,解除第三電池模組14的認證。換言之,在此實施例中從屬電池模組僅包含第一電池模組10。 It should be noted that the primary battery module can periodically update the battery status of the slave battery modules. Referring to Figure 7 , the second battery module 12, acting as the primary battery module, sends request messages to the first battery module 10 and the third battery module 14 at a request time interval of T1. Accordingly, the first battery module 10 and the third battery module 14 transmit the corresponding battery status to the second battery module 12, acting as the primary battery module, at a request time interval of T1. Furthermore, if the primary battery module fails to obtain the battery status of a slave battery module, it can remove the slave battery module's authentication. For example, as shown in Figure 7, the third battery module 14 does not respond to the second request signal sent by the second battery module 12. Therefore, the second battery module 12 deauthenticates the third battery module 14 after the request signal is sent for a time period T1. In other words, in this embodiment, the slave battery module only includes the first battery module 10.
進一步而言,當多電池系統1執行完多電池自適應仲裁與識別方法之 後,多電池系統1仍可增加額外的電池模組。請參考第8圖,當一第四電池模組16連接多電池系統1,第四電池模組16執行自體檢測安全開機並發第三啟動訊號起通訊向電動車的通訊網路傳送對應的一第三啟動訊號。第三啟動訊號可包含配置識別碼和一第三隨機識別碼,第三啟動訊號類似於第一啟動訊號,在此不贅述。作為主要電池模組的第二電池模組12透過通訊網路接收第四電池模組16的第三啟動訊號,並將第四電池模組16配置為從屬電池模組。最後,第二電池模組12傳送請求訊號到第四電池模組16以獲得第四電池模組16的電池狀態和建立通訊連結。 Furthermore, after the multi-battery system 1 completes the multi-battery adaptive arbitration and identification method, additional battery modules can be added to the multi-battery system 1. Referring to Figure 8 , when a fourth battery module 16 is connected to the multi-battery system 1, the fourth battery module 16 performs a self-detection safety boot and transmits a third activation signal to the electric vehicle's communication network. This third activation signal may include a configuration identifier and a third random identifier. The third activation signal is similar to the first activation signal and will not be further described here. The second battery module 12, acting as the master battery module, receives the third activation signal from the fourth battery module 16 via the communication network and configures the fourth battery module 16 as a slave battery module. Finally, the second battery module 12 sends a request signal to the fourth battery module 16 to obtain the battery status of the fourth battery module 16 and establish a communication link.
請參考第9圖,當作為主要電池模組的第二電池模組12超過一設定時間T2未傳送請求訊號到第一電池模組10和第三電池模組14時,微控制器單元解除主要電池模組和從屬電池模組的認證。此時,微控制器單元可以重新執行多電池自適應仲裁與識別方法以重新協調複數個電池模組的通訊行為。 Referring to Figure 9 , when the second battery module 12, acting as the master battery module, fails to send a request signal to the first battery module 10 and the third battery module 14 for a set time period T2, the microcontroller unit deauthenticates the master and slave battery modules. At this point, the microcontroller unit can re-execute the multi-battery adaptive arbitration and identification method to re-coordinate the communication behavior of the multiple battery modules.
綜上所述,本發明的多電池系統的複數個電池模組的優先排序由對應的隨機碼決定。因此,每次電動車啟動時,複數個電池模組之間的優先排序都可能不同。如此一來,相較於傳統技術,本發明的複數個電池模組在控制器區域網路匯流排上傳遞的資料訊號不容易被分別側錄。 In summary, the priority order of the multiple battery modules in the multi-battery system of the present invention is determined by corresponding random codes. Therefore, the priority order of the multiple battery modules may vary each time the electric vehicle is started. As a result, compared to conventional technologies, the data signals transmitted by the multiple battery modules on the CAN bus are less easily recorded individually.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above description is merely a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the patent application of the present invention should fall within the scope of the present invention.
S200,S202,S204,S206,S208:步驟 S200, S202, S204, S206, S208: Steps
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113136705A TWI894003B (en) | 2024-09-26 | 2024-09-26 | Multi-battery system and multi-battery self-adaptive arbitration and identification method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113136705A TWI894003B (en) | 2024-09-26 | 2024-09-26 | Multi-battery system and multi-battery self-adaptive arbitration and identification method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TWI894003B true TWI894003B (en) | 2025-08-11 |
Family
ID=97524186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113136705A TWI894003B (en) | 2024-09-26 | 2024-09-26 | Multi-battery system and multi-battery self-adaptive arbitration and identification method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI894003B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9876367B2 (en) * | 2007-12-11 | 2018-01-23 | Antonio Trigiani | Battery management system for multicell batteries |
| TW202044717A (en) * | 2019-05-17 | 2020-12-01 | 加百裕工業股份有限公司 | Battery management system and method thereof |
| TW202119225A (en) * | 2019-11-13 | 2021-05-16 | 南韓商三星Sdi股份有限公司 | Battery system and method of allocating can id |
| TWI851367B (en) * | 2023-08-01 | 2024-08-01 | 新加坡商光寶科技新加坡私人有限公司 | Charging module, charging pile and charging method using the same |
-
2024
- 2024-09-26 TW TW113136705A patent/TWI894003B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9876367B2 (en) * | 2007-12-11 | 2018-01-23 | Antonio Trigiani | Battery management system for multicell batteries |
| TW202044717A (en) * | 2019-05-17 | 2020-12-01 | 加百裕工業股份有限公司 | Battery management system and method thereof |
| TW202119225A (en) * | 2019-11-13 | 2021-05-16 | 南韓商三星Sdi股份有限公司 | Battery system and method of allocating can id |
| TWI851367B (en) * | 2023-08-01 | 2024-08-01 | 新加坡商光寶科技新加坡私人有限公司 | Charging module, charging pile and charging method using the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112953775B (en) | Vehicle machine upgrading system and method | |
| US6449289B1 (en) | Multi-processor bus protocol system | |
| WO2018112942A1 (en) | Device authentication method, apparatus, electronic device and slave device | |
| US20100257400A1 (en) | Network loop healing apparatus and methods | |
| TWI894003B (en) | Multi-battery system and multi-battery self-adaptive arbitration and identification method | |
| JP5097516B2 (en) | Control signal communication method, optical transceiver system, and optical transceiver device | |
| JP2001282701A (en) | Device and method for processing information | |
| JP4013592B2 (en) | Vehicle communication system | |
| JP7042417B2 (en) | Communication equipment, transmission method and computer program | |
| JP7414779B2 (en) | Identifier setting system | |
| US10795848B2 (en) | Dual way communication method, system, and master device thereof | |
| JP4023342B2 (en) | Dual address detection method, slave, master and field bus in field bus system | |
| US11108589B2 (en) | Battery module, control method, program, and information processing system | |
| CN110290158B (en) | Method and system for updating train communication network nodes | |
| CN116846705A (en) | Communication method, system, master node, slave node, and computer storage medium | |
| CN107562440B (en) | A kind of eeprom version update method and device | |
| CN117425142A (en) | Network distribution method, device, equipment and medium of intelligent equipment | |
| WO2006093180A1 (en) | Control apparatus, control method, network system, control apparatus program, and information recording medium | |
| WO2010089810A1 (en) | Reset control circuit, apparatus control device, and control system | |
| JP3559957B2 (en) | Network system, network device, exclusive control method, and recording medium | |
| CN119342038B (en) | Parallel operation automatic stacking addressing method and system based on BMSCAN communication | |
| CN113660373B (en) | Charging authentication method, device, equipment and storage medium | |
| CN115039388B (en) | Communication control device and communication control device control method | |
| JP2018207394A (en) | Communication apparatus and communication method | |
| JP7347391B2 (en) | Communication device |