TWI832611B - Battery state monitoring device and control method thereof - Google Patents
Battery state monitoring device and control method thereof Download PDFInfo
- Publication number
- TWI832611B TWI832611B TW111147920A TW111147920A TWI832611B TW I832611 B TWI832611 B TW I832611B TW 111147920 A TW111147920 A TW 111147920A TW 111147920 A TW111147920 A TW 111147920A TW I832611 B TWI832611 B TW I832611B
- Authority
- TW
- Taiwan
- Prior art keywords
- battery
- monitoring device
- virtual
- status monitoring
- battery status
- Prior art date
Links
- 238000012806 monitoring device Methods 0.000 title claims abstract description 142
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000011161 development Methods 0.000 claims abstract description 67
- 238000007600 charging Methods 0.000 claims description 43
- 238000012544 monitoring process Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 9
- 230000002159 abnormal effect Effects 0.000 claims description 5
- 238000007599 discharging Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 claims description 2
- 238000012360 testing method Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 4
- 239000002699 waste material Substances 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012356 Product development Methods 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010281 constant-current constant-voltage charging Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
本揭露涉及一種電池狀態監控裝置及其控制方法,特別是指一種可模擬開發機及電池的運作狀態的電池狀態監控裝置及其控制方法。 The present disclosure relates to a battery status monitoring device and a control method thereof, in particular to a battery status monitoring device and a control method thereof that can simulate the operating status of a development machine and a battery.
目前在研發或測試內置有電池的產品時,都是採用電源供應器,或是客製化的真實電池盒。但是往往有需多問題難以克服。 Currently, when developing or testing products with built-in batteries, power supplies or customized real battery boxes are used. But there are often many problems that are difficult to overcome.
電源供應器只能單純地供給電力,無法進行全程監控紀錄以及或自動調整供電條件。客製化電池盒的開發與生產,通常都是與產品一起平行生產製作。即便是電池盒樣本也需要耗費一個月至兩個月進行開模製作,所以不利於產品對電池的功能進行測試。 The power supply can only simply supply power and cannot monitor and record the entire process or automatically adjust the power supply conditions. The development and production of customized battery boxes are usually produced in parallel with the product. Even the battery box sample takes one to two months to make the mold, so it is not conducive to testing the battery function of the product.
電池盒功能的測試往往需要有實際樣本之後,才能測試電池盒的功能是否符合產品之需求。通常需要針對產品設計客製化的電池功能測試程式,但客製化的電池功能測試程式僅只能適合於同一種類的產品。當產品的種類不同時,需要重新開發新的電池功能測試程式,如此產生不少資源的浪費。 Testing the function of the battery box often requires actual samples before testing whether the function of the battery box meets the needs of the product. It is usually necessary to design a customized battery function test program for a product, but a customized battery function test program can only be suitable for the same type of product. When the types of products are different, new battery function test programs need to be developed again, which results in a lot of waste of resources.
由於產品與電池盒都是一併同時進行測試,常常會出現各自內部因素而發生干擾影響測試結果的情況,讓測試的結果產生諸多不確定,甚至是可信度不足的疑慮。再者,樣品電池盒在產品開發結束後,通常都會報廢,造成資源的浪費。 Since the product and the battery box are tested at the same time, there are often internal factors that interfere with the test results, causing many uncertainties in the test results, and even doubts about lack of credibility. Furthermore, sample battery boxes are usually scrapped after product development is completed, resulting in a waste of resources.
本揭露所要解決的技術問題在於,針對現有技術的不足提供一種電池狀態監控裝置及其控制方法。 The technical problem to be solved by this disclosure is to provide a battery status monitoring device and a control method thereof in view of the shortcomings of the existing technology.
為了解決上述的技術問題,本揭露所採用的其中一技術方案是,提供一種電池狀態監控裝置,其用於模擬電池的運作狀態以及開發機的運作狀態,電池狀態監控裝置包括一微處理器、一記憶體、一第一開關電路、一第二開關電路以及一模式切換介面。記憶體電性連接於微處理器且儲存有多個虛擬暫存器項目及多個分別對應於該些虛擬暫存器項目的虛擬暫存器數值。第一開關電路連接於微處理器與開發機之間。第二開關電路連接於微處理器與電池之間。模式切換介面連接於微處理器,其中當模式切換介面處於第一狀態時,第一開關電路導通以及第二開關電路截止以使電池狀態監控裝置處於虛擬電池模式,微處理器用於將對應於開發機的一請求命令的虛擬暫存器數值回應給開發機。當模式切換介面處於第二狀態時,第一開關電路截止以及第二開關電路導通以使電池狀態監控裝置處於虛擬開發機模式,微處理器用於監控電池的暫存器數值。 In order to solve the above technical problems, one of the technical solutions adopted by the present disclosure is to provide a battery status monitoring device, which is used to simulate the operating status of the battery and the operating status of the development machine. The battery status monitoring device includes a microprocessor, A memory, a first switch circuit, a second switch circuit and a mode switching interface. The memory is electrically connected to the microprocessor and stores a plurality of virtual register items and a plurality of virtual register values respectively corresponding to the virtual register items. The first switch circuit is connected between the microprocessor and the development machine. The second switch circuit is connected between the microprocessor and the battery. The mode switching interface is connected to the microprocessor, wherein when the mode switching interface is in the first state, the first switch circuit is turned on and the second switch circuit is turned off so that the battery status monitoring device is in a virtual battery mode, and the microprocessor is used to convert the data corresponding to the development The virtual register value of a request command from the machine is responded to the development machine. When the mode switching interface is in the second state, the first switch circuit is turned off and the second switch circuit is turned on so that the battery status monitoring device is in the virtual development machine mode, and the microprocessor is used to monitor the register value of the battery.
為了解決上述的技術問題,本揭露所採用的另外一技術方案是,提供一種電池狀態監控裝置的控制方法,用於模擬電池的運作狀態以及開發機的運作狀態,包括:於電池狀態監控裝置的模式切換介面接收外部指令時,根據外部指令設定模式切換介面的狀態;根據模式切換介面的狀態,設定電池狀態監控裝置的操作模式;當模式切換介面處於第一狀態時,電池狀態監控裝置僅與開發機電性連接,電池狀態監控裝置處於虛擬電池模式,並用於將應該開發機的請求命令的虛擬暫存器數值回應給開發機;以及當模式切換介面處於第二狀態時,電池狀態監控裝置僅與電池電性連接,電池狀態監控裝置處於虛擬開發機模式,並用於監控電池的暫存器數值。 In order to solve the above technical problems, another technical solution adopted by the present disclosure is to provide a control method of a battery status monitoring device for simulating the operating status of the battery and the operating status of the development machine, including: When the mode switching interface receives an external command, it sets the state of the mode switching interface according to the external command; according to the state of the mode switching interface, it sets the operating mode of the battery status monitoring device; when the mode switching interface is in the first state, the battery status monitoring device only communicates with Develop electromechanical connection, the battery status monitoring device is in the virtual battery mode, and is used to respond to the development machine with a virtual register value corresponding to the request command of the development machine; and when the mode switching interface is in the second state, the battery status monitoring device only Electrically connected to the battery, the battery status monitoring device is in a virtual development machine mode and is used to monitor the battery's register value.
本揭露的其中一有益效果在於,本揭露所提供電池狀態監控裝置及其控制方法,可使得產品與電池同步進行研發生產,且各自獨立測試分析,可大量減少樣品電池盒的浪費。當產品量產或進行測試驗證時,可提供更穩定的測試環境。 One of the beneficial effects of this disclosure is that the battery status monitoring device and its control method provided by this disclosure can enable products and batteries to be developed and produced simultaneously, and each can be tested and analyzed independently, which can greatly reduce the waste of sample battery boxes. When the product is mass-produced or tested and verified, a more stable testing environment can be provided.
為使能更進一步瞭解本揭露的特徵及技術內容,請參閱以下有關本揭露的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本揭露加以限制。 In order to further understand the features and technical content of the present disclosure, please refer to the following detailed description and drawings of the present disclosure. However, the drawings provided are only for reference and illustration and are not used to limit the present disclosure.
1:電池狀態監控裝置 1:Battery status monitoring device
101:微處理器 101:Microprocessor
102:記憶體 102:Memory
103:充電電路 103:Charging circuit
104:電池電量管理電路 104:Battery power management circuit
105:數位可變電阻 105:Digital variable resistor
106:模式切換介面 106: Mode switching interface
107:通訊連接介面 107: Communication connection interface
108:電子負載器連接介面 108: Electronic load connection interface
SW1:第一開關電路 SW1: first switch circuit
SW2:第二開關電路 SW2: Second switch circuit
SW3:第三開關電路 SW3: The third switch circuit
SW4:第四開關電路 SW4: The fourth switch circuit
SW5:第五開關電路 SW5: The fifth switch circuit
SW6:第六開關電路 SW6: The sixth switch circuit
T:溫度感測線 T: Temperature sensing line
EL:電子負載器 EL: electronic load
B:電池 B:battery
DUT:開發機 DUT: development machine
RM:遠端裝置 RM: remote device
S301-S321:步驟 S301-S321: Steps
S401-S407:步驟 S401-S407: Steps
S501-S515:步驟 S501-S515: Steps
S601-S617:步驟 S601-S617: Steps
S701-S719:步驟 S701-S719: Steps
S801-S807:步驟 S801-S807: Steps
S901-S917:步驟 S901-S917: Steps
圖1為本揭露的第一實施例的電池狀態監控裝置的示意圖;圖2為本揭露的第二實施例的電池狀態監控裝置的示意圖;圖3為本揭露的電池狀態監控裝置處於監控模式時的控制方法流程圖;圖4為本揭露的遠端裝置當電池狀態監控裝置處於監控模式時的控制方法流程圖;圖5為本揭露的電池狀態監控裝置處於第一虛擬電池模式的控制方法流程圖;圖6為本揭露的遠端裝置當電池狀態監控裝置處於第一虛擬電池模式的控制方法流程圖;圖7為本揭露的電池狀態監控裝置處於第二虛擬電池模式的控制方法流程圖;圖8為本揭露的電池狀態監控裝置處於第一虛擬開發機模式的控制方法流程圖;以及圖9為本揭露的電池狀態監控裝置處於第二虛擬開發機模式的控制方法流程圖。 FIG. 1 is a schematic diagram of a battery status monitoring device according to a first embodiment of the present disclosure; FIG. 2 is a schematic diagram of a battery status monitoring device according to a second embodiment of the present disclosure; FIG. 3 is a schematic diagram of the battery status monitoring device of the present disclosure when it is in monitoring mode. The control method flow chart; Figure 4 is the control method flow chart of the remote device when the battery status monitoring device is in the monitoring mode; Figure 5 is the control method flow chart of the battery status monitoring device of the disclosure when it is in the first virtual battery mode. Figure; Figure 6 is a flow chart of the control method of the remote device of the present disclosure when the battery status monitoring device is in the first virtual battery mode; Figure 7 is a flow chart of the control method of the battery status monitoring device of the present disclosure is in the second virtual battery mode; 8 is a flow chart of a control method when the battery status monitoring device of the present disclosure is in the first virtual development machine mode; and FIG. 9 is a flow chart of a control method when the battery status monitoring device of the present disclosure is in the second virtual development machine mode.
以下是通過特定的具體實施例來說明本揭露所公開有關“電池狀態監控裝置及其控制方法”的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本揭露的優點與效果。本揭露可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不悖離本揭露的構思下進行各種修改與變更。另外,本揭露的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本揭露的相關技術內容,但所公開的內容並非用以限制本揭露的保護範圍。 The following is a specific embodiment to illustrate the implementation of the "battery status monitoring device and control method thereof" disclosed in the present disclosure. Those skilled in the art can understand the advantages and effects of the present disclosure from the content disclosed in this specification. The present disclosure can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present disclosure. In addition, the drawings of the present disclosure are only simple schematic illustrations and are not depictions based on actual dimensions, as is stated in advance. The following embodiments will further describe the relevant technical content of the present disclosure in detail, but the disclosed content is not intended to limit the scope of protection of the present disclosure.
應當可以理解的是,雖然本文中可能會使用到“第一”、“第二”、“第三”等術語來描述各種元件或者信號,但這些元件或者信號不應受這些術語的限制。這些術語主要是用以區分一元件與另一元件,或者一信號與另一信號。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。 It should be understood that although terms such as “first”, “second” and “third” may be used herein to describe various elements or signals, these elements or signals should not be limited by these terms. These terms are primarily used to distinguish one component from another component or one signal from another signal. In addition, the term "or" used in this article shall include any one or combination of more of the associated listed items depending on the actual situation.
圖1為本揭露的第一實施例的電池狀態監控裝置的示意圖。如圖1所示,電池狀態監控裝置1用於模擬一電池B的一運作狀態以及一開發機DUT(Development Unit)的一運作狀態,而電池狀態監控裝置1包括一微處理器101、一記憶體102、一充電電路103、一電池電量管理電路104、一第一開關電路SW1、一第二開關電路SW2、一第三開關電路SW3及一第四開關電路SW4。
FIG. 1 is a schematic diagram of a battery status monitoring device according to a first embodiment of the present disclosure. As shown in Figure 1, the battery
微處理器101為主要控制核心,微處理器101電性連接於記憶體102,而記憶體102例如為電子抹除式可複寫唯讀記憶體(EEPROM),但不以此為限。記憶體102用於儲存一虛擬暫存器列表,虛擬暫存器列表包含有多個虛擬暫存器項目及多個分別對應於該些虛擬暫存器項目的虛擬暫存器數值,其中部分的虛擬暫存器數值表示虛擬電池電量、虛擬電池電壓、虛擬電池電流以及虛擬電池溫度。充電電路103用於連接一外部電源(圖未示),充電電路103電性連
接於微處理器101,且充電電路103與微處理器101之間的電性連接介面為I2C(Inter-Integrated Circuit),但不以此為限。微處理器101透過I2C去控制充電電路103,以使充電電路103對電池B充電或者提供特定的電壓及電流給開發機DUT,電池電量管理電路104電性連接於充電電路103及微處理器101,電池電量管理電路104與微處理器101之間的電性連接介面為I2C(Inter-Integrated Circuit),但不以此為限。微處理器101透過I2C去控制電池電量管理電路104。
The
第一開關電路SW1連接於微處理器101與開發機DUT之間。第二開關電路SW2連接於微處理器101與電池B之間。第三開關電路SW3連接於充電電路103與開發機DUT之間。第四開關電路SW4連接於電池電量管理電路104與電池B之間。
The first switch circuit SW1 is connected between the
再參閱圖1,電池狀態監控裝置1更包括一數位可變電阻105、一第五開關電路SW5、一第六開關電路SW6、一模式切換介面106、一通訊連接介面107以及一電子負載器連接介面108。數位可變電阻105電性連接於微處理器101,數位可變電阻105及微處理器101之的電性連接介面可為I2C(Inter-Integrated Circuit),但不以此為限。第五開關電路SW5連接於數位可變電阻105以及一溫度感測線T的一端,而溫度感測線T的另一端連接於開發機DUT。第六開關電路SW6連接於數位可變電阻105以及電池B之間。
Referring again to Figure 1, the battery
模式切換介面106電性連接於微處理器101。模式切換介面106例如為一種按鈕式的模式切換介面且設置於電池狀態監控裝置1的殼體上,模式切換介面106包含有多個按鈕。模式切換介面106用於接收外部指令,舉例來說,當模式切換介面106的第一按鈕被使用者按壓時,模式切換介面106處於第一狀態且傳送一第一模式通知訊息至微處理器101,而微處理器101根據第一模式通知訊息控制第一開關電路SW1、第三開關電路SW3以及第五開關電路SW5均處於導通狀態以及控制第二開關電路SW2、第四開關電路SW4以及第六開關電路
SW6均處於截止狀態,此時電池狀態監控裝置1只與開發機DUT電性連接而處於一虛擬電池模式。當電池狀態監控裝置1處於虛擬電池模式時,可模擬電池B的運作狀態。
The
微處理器101用於改變數位可變電阻105的阻值,當電池狀態監控裝置1處於虛擬電池模式時,微處理器101藉由數位可變電阻105的電壓差模擬電池B的真實溫度。詳言之,開發機DUT發送一請求命令要求微處理器101回應一電池溫度資訊,當電池狀態監控裝置1處於虛擬電池模式時,微處理器101改變數位可變電阻105的阻值,而不同的電阻值對應於不同的電壓差。開發機DUT透過溫度感測線T接收到數位可變電阻105的電壓差,而開發機DUT的記憶體儲存有多種電壓差及其對應的多個電池溫度,藉由溫度感測線T所感測到的電壓差,便可計算出電池溫度。
The
當模式切換介面106的第二按鈕被使用者按壓時,模式切換介面106處於第二狀態模式且傳送一第二模式通知訊息至微處理器101,而微處理器101根據第二模式通知訊息控制第一開關電路SW1、第三開關電路SW3以及第五開關電路SW5均處於截止狀態以及控制第二開關電路SW2、第四開關電路SW4以及第六開關電路SW6均處於導通狀態。此時電池狀態監控裝置1只與電池B電性連接而處於一虛擬開發機模式。當電池狀態監控裝置1處於虛擬開發機模式時,可模擬開發機DUT的運作狀態以對電池B進行充電與監控。
When the second button of the
當模式切換介面106的第三按鈕被使用者按壓時,模式切換介面106處於第三狀態且傳送一第三模式通知訊息至微處理器101,而微處理器101根據第三模式通知訊息控制第一開關電路SW1、第三開關電路SW3以及第五開關電路SW5均處於導通狀態以及控制第二開關電路SW2、第四開關電路SW4以及第六開關電路SW6均處於導通狀態。此時電池狀態監控裝置1與電池B及
開發機DUT均有電性連接而處於一監控模式,以便對開發機DUT的資料流以及電池B的資料流進行監控與紀錄。
When the third button of the
此外,當電池B本身已設有電池電量管理電路時,使用者可透過按壓模式切換介面106的第四按鈕,以停能電池狀態監控裝置1內的電池電量管理電路104。當電池B本身只具有電池芯心而未設有電池電量管理電路時,可釋放被按壓的模式切換介面106的第四按鈕,以致能電池狀態監控裝置1內的電池電量管理電路104。
In addition, when the battery B itself is equipped with a battery power management circuit, the user can disable the battery
通訊連接介面107電性連接於微處理器101,而通訊連接介面107例如為USB連接埠、WIFI模組或藍芽模組。通訊傳輸介面107用於連接於一遠端裝置RM。遠端裝置RM例如為遠端電腦或者行動通訊裝置,而使用者透過遠端裝置RM可直接修改儲存於記憶體102內的虛擬暫存器數值。
The
電子負載器連接介面108電性連接於充電電路103。電子負載器連接介面108用於連接一電子負載器EL。當電池狀態監控裝置1處於虛擬開發機模式時,透過設定電子負載器EL的耗電參數,可模擬電池B於不同的溫度狀態以及不同的剩餘電量狀態下的放電情況。
The electronic
圖2為本揭露的第二實施例的電池狀態監控裝置的示意圖。圖2的電池狀態監控裝置與圖1的電池狀態監控裝置之間的差異在於,圖2的電池狀態監控裝置為未設有通訊連接介面107以及電子負載器連接介面108。
FIG. 2 is a schematic diagram of a battery status monitoring device according to a second embodiment of the present disclosure. The difference between the battery status monitoring device of FIG. 2 and the battery status monitoring device of FIG. 1 is that the battery status monitoring device of FIG. 2 is not provided with the
本揭露更提供電池狀態監控裝置的控制方法,其用於模擬電池B的運作狀態以及開發機DUT(Development Unit)的運作狀態,電池狀態監控裝置的控制方法包括:於電池狀態監控裝置1的模式切換介面106接收外部指令時,根據外部指令設定模式切換介面106的狀態;根據模式切換介面106的狀態,設定電池狀態監控裝置1的操作模式;當模式切換介面106處於第一狀態時,電池狀態監控裝置1僅與該開發機DUT電性連接,電池狀態監控裝置1處於虛擬電池
模式,並用於將對應開發機DUT的請求命令的虛擬暫存器數值回應給該開發機DUT;當模式切換介面106處於第二狀態時,電池狀態監控裝置1僅與電池B電性連接,電池狀態監控裝置1處於虛擬開發機模式,並用於監控電池B的暫存器數值;以及當模式切換介面106處於第三狀態時,電池狀態監控裝置1與開發機DUT以及電池B均電性連接,電池狀態監控裝置1處於監控模式。
The present disclosure further provides a control method of the battery status monitoring device, which is used to simulate the operating status of battery B and the operating status of the development machine DUT (Development Unit). The control method of the battery status monitoring device includes: in the mode of the battery
以下將針對電池狀態監控裝置1處於監控模式、虛擬電池模式以及虛擬開發機模式的控制方法進行詳細的闡述。
The following will describe in detail the control method of the battery
圖3為本揭露的電池狀態監控裝置處於監控模式時的控制方法流程圖。如圖3所示,在步驟S301,開發機DUT發送請求命令至電池狀態監控裝置1的微處理器101。在步驟S303,微處理器101傳送請求命令至電池B。在步驟S305,電池B將對應於請求命令的暫存器數值回應至微處理器101。在步驟S307,微處理器101儲存電池B的暫存器狀態於記憶體102。在步驟S309,微處理器101判斷電池B的暫存器數值是否異常。舉例來說,電池狀態監控裝置1的記憶體102儲存有電池B的第一暫存器數值的正常範圍,當第一暫存器數值不在正常範圍內,微處理器判定電池B的第一暫存器為異常。
FIG. 3 is a flow chart of the control method when the battery status monitoring device of the present disclosure is in the monitoring mode. As shown in FIG. 3 , in step S301 , the development machine DUT sends a request command to the
在步驟S309中,當電池B的暫存器數值為異常時,接著步驟S311。在步驟S311,微處理器101傳送電池B的暫存器數值以及警示訊息至遠端裝置RM,接著步驟S313。在步驟S313,微處理器101傳送電池B的暫存器數值至開發機DUT,接著步驟S315。在步驟S315,開發機DUT讀取電池B的暫存器數值,接著返回步驟S301。
In step S309, when the register value of battery B is abnormal, step S311 follows. In step S311, the
在步驟S309中,當電池B的暫存器數值無異常時,接著步驟S317。在步驟S317,微處理器101傳送電池B的暫存器數值至遠端裝置RM,接著步驟S319。在步驟S319,微處理器101傳送電池B的暫存器數值至開發機DUT,
接著步驟S321。在步驟S321,開發機DUT讀取電池B的暫存器數值,接著返回步驟S301。
In step S309, when there is no abnormality in the register value of battery B, step S317 follows. In step S317, the
圖4為本揭露的遠端裝置當電池狀態監控裝置處於監控模式時的控制方法流程圖。如圖4所示,在步驟S401,遠端裝置RM讀取來自電池狀態監控裝置1的資料流,接著步驟S403。詳言之,當電池B的暫存器數值處於正常範圍內,電池狀態監控裝置1傳送至遠端裝置RM的資料流只有暫存器數值。當電池B的暫存器數值不在正常範圍內,電池狀態監控裝置1傳送至遠端裝置RM的資料流包含了暫存器數值及警示訊息。在步驟S403,遠端裝置RM的螢幕顯示電池狀態監控裝置1的資料流,接著步驟S405。詳言之,遠端裝置RM安裝有電池監控應用程式,電池監控應用程式用於顯示暫存器數值以及警示訊息。在步驟S405,遠端裝置RM判斷是否接收到用於儲存暫存器數值的控制指令。詳言之,使用者可透過電池監控應用程式下達儲存暫存器數值的控制指令,以儲存暫存器數值於遠端裝置RM的記憶體。當遠端裝置RM接收到儲存暫存器數值的控制指令,接著步驟S407。當遠端裝置RM未接收到儲存暫存器數值的控制指令,接著返回步驟S401。在步驟S407,暫存器數值被儲存於遠端裝置RM的記憶體,接著返回步驟S401。
FIG. 4 is a flow chart of the control method of the remote device of the present disclosure when the battery status monitoring device is in the monitoring mode. As shown in FIG. 4 , in step S401 , the remote device RM reads the data stream from the battery
圖5為本揭露的電池狀態監控裝置處於第一虛擬電池模式的控制方法流程圖。當電池狀態監控裝置1的虛擬電池模式為第一虛擬電池模式時,如圖5所示,在步驟S501,載入記憶體102的虛擬暫存器列表。在步驟S503,微處理器101判斷是否有遠端裝置RM的控制指令。當有來自遠端裝置RM的控制指令,接著步驟S505。在步驟S505,微處理器101將虛擬暫存器列表中對應於遠端裝置RM的控制指令的虛擬暫存器數值進行更新,接著返回步驟S503。
FIG. 5 is a flow chart of a control method of the battery status monitoring device of the present disclosure in the first virtual battery mode. When the virtual battery mode of the battery
當沒有來自遠端裝置RM的控制指令,接著步驟S507。在步驟S507,微處理器101讀取虛擬暫存器列表中對應於開發機DUT的請求命令的虛擬
暫存器數值,接著步驟S509。在步驟S509,判斷虛擬暫存器數值是否為固定值。當虛擬暫存器數值為固定值,接著步驟S511。在步驟S511,微處理器101將虛擬暫存器數值回應至開發機DUT,接著返回步驟503。
When there is no control instruction from the remote device RM, step S507 is followed. In step S507, the
當虛擬暫存器數值非固定值,接著步驟S513。在步驟S513,微處理器101每隔預設週期依據預設變化量更新虛擬暫存器數值,接著步驟S515。在步驟S515,微處理器101每隔預設週期將被更新的虛擬暫存器數值回應至開發機DUT,接著返回步驟S503。
When the virtual register value is not a fixed value, step S513 follows. In step S513, the
舉例來說,使用者可透過安裝於遠端裝置RM的電池狀態監控程式直接設定電池狀態監控裝置1的記憶體102的第一虛擬暫存器數值為變動值以及設定第二虛擬暫存器數值為固定值。關於第一虛擬暫存器數值的設定包含預設週期、暫存器數值下限、暫存器數值上限以預設變化量。開發機DUT會週期性地發送請求命令,當開發機DUT發送第一請求命令至電池狀態監控裝置1時,由於第一虛擬暫存器數值自動地每隔預設週期依據預設變化量進行更新,故微處理器101每隔預設週期將被更新的第一虛擬暫存器數值回應給開發機DUT。當開發機DUT發送第二請求命令至電池狀態監控裝置1時,微處理器101將對應於第二請求命令的第二虛擬暫存器數值回報給開發機DUT。
For example, the user can directly set the first virtual register value of the
圖6為本揭露的遠端裝置當電池狀態監控裝置處於第一虛擬電池模式的控制方法流程圖。如圖6所示,在步驟S601,載入電池狀態監控程式的虛擬暫存器列表。在步驟S603,遠端裝置RM判斷是否有一外部控制指令。當有外部控制指令時,接著步驟S605。在步驟S605,更新虛擬暫存器列表中對應於外部控制指令的虛擬暫存器數值,接著步驟S607。在步驟S607,遠端裝置RM傳送被更新的虛擬暫存器數值至電池狀態監控裝置1,接著返回步驟S603。
FIG. 6 is a flowchart of the control method of the remote device when the battery status monitoring device is in the first virtual battery mode of the present disclosure. As shown in Figure 6, in step S601, the virtual register list of the battery status monitoring program is loaded. In step S603, the remote device RM determines whether there is an external control command. When there is an external control instruction, step S605 follows. In step S605, the virtual register value corresponding to the external control instruction in the virtual register list is updated, followed by step S607. In step S607, the remote device RM transmits the updated virtual register value to the battery
當沒有外部控制指令時,接著步驟S609。在步驟S609,判斷虛擬暫存器數值是否被設定為固定值。當虛擬暫存器數值被設定為固定值,接著
步驟S611。在步驟S611,維持虛擬暫存器數值,接著步驟S613。在步驟S613,遠端裝置RM傳送虛擬暫存器數值至電池狀態監控裝置1,接著返回步驟S603。
When there is no external control instruction, step S609 follows. In step S609, it is determined whether the virtual register value is set to a fixed value. When the virtual register value is set to a fixed value, then
Step S611. In step S611, the virtual register value is maintained, followed by step S613. In step S613, the remote device RM sends the virtual register value to the battery
當虛擬暫存器數值被設定為非固定值,接著步驟S615。在步驟S615,電池狀態監控程式每隔預設週期依據預設變化量自動更新虛擬暫存器數值,接著步驟S617。在步驟S617,電池狀態監控程式每隔預設週期傳送被更新的虛擬暫存器數值至電池狀態監控裝置1,接著返回步驟S603。
When the virtual register value is set to a non-fixed value, step S615 follows. In step S615, the battery status monitoring program automatically updates the virtual register value according to the preset change amount every preset period, and then step S617 is performed. In step S617, the battery status monitoring program transmits the updated virtual register value to the battery
舉例來說,遠端裝置RM為使用者的行動通訊裝置,且行動通訊裝置安裝有電池狀態監控程式。電池狀態監控程式具有虛擬暫存器列表,虛擬暫存器列表包含多個虛擬暫存器項目以及多個分別對應於該些虛擬暫存器項目的虛擬暫存器數值。當使用者對行動通訊裝置輸入一外部控制指令,以便對電池狀態監控程式的虛擬暫存器列表中的第一虛擬暫存器數值進行修改,則電池狀態監控程式會將被變修改的第一虛擬暫存器數值傳送至電池狀態監控裝置1,而電池狀態監控裝置1的微處理器101將對於儲存於記憶體102中的第一虛擬暫存器數值進行更新,使得儲存於記憶體102中的第一虛擬暫存器數值相同於遠端裝置RM的電池狀態監控程式的第一虛擬暫存器數值。當使用者將電池狀態監控程式的虛擬暫存器列表中的第二虛擬暫存器數值設定為每隔1000ms進行數值變更,則遠端裝置RM的電池狀態監控程式每隔1000ms將更新後的第二虛擬暫存器數值傳送至電池狀態監控裝置1,而電池狀態監控裝置1的微處理器101將更新儲存於記憶體102中的第二虛擬暫存器數值,使得儲存於記憶體102中的第二虛擬暫存器數值相同於遠端裝置RM的電池狀態監控程式的第二虛擬暫存器數值。
For example, the remote device RM is the user's mobile communication device, and the mobile communication device is installed with a battery status monitoring program. The battery status monitoring program has a virtual register list, and the virtual register list includes a plurality of virtual register items and a plurality of virtual register values respectively corresponding to the virtual register items. When the user inputs an external control command to the mobile communication device to modify the first virtual register value in the virtual register list of the battery status monitoring program, the battery status monitoring program will change the modified first virtual register value. The virtual register value is sent to the battery
圖7為本揭露的電池狀態監控裝置處於第二虛擬電池模式的控制方法流程圖。當電池狀態監控裝置1的虛擬電池模式為第二虛擬電池模式時,如圖7所示,在步驟S701,載入記憶體102中的虛擬暫存器列表。在步驟S703,微
處理器101讀取虛擬暫存器列表中對應於開發機DUT的請求命令的虛擬暫存器數值,接著步驟S705。在步驟S705,判斷虛擬暫存器數值是否為固定值。當虛擬暫存器數值為固定值,接著步驟S707。在步驟S707,微處理器101將虛擬暫存器數值回應至開發機DUT,接著步驟S709。在步驟S709,判斷電池狀態監控裝置1是否連接於遠端裝置RM。
FIG. 7 is a flow chart of a control method of the battery status monitoring device of the present disclosure in the second virtual battery mode. When the virtual battery mode of the battery
當電池狀態監控裝置1連接於遠端裝置RM,接著步驟S711。當電池狀態監控裝置1未連接於遠端裝置RM,接著返回步驟S703。
When the battery
在步驟S711,電池狀態監控裝置1傳送虛擬暫存器數值至遠端裝置RM,以使遠端裝置RM的螢幕可顯示來自電池狀態監控裝置1的虛擬暫存器數值,接著返回步驟S703。
In step S711, the battery
當虛擬暫存器數值非固定值,接著步驟S713。在步驟S713,微處理器101每隔預設週期依據預設變化量更新虛擬暫存器列表中的虛擬暫存器數值,接著步驟S715。在步驟S715,微處理器101每隔預設週期將被更新的虛擬暫存器數值回應至開發機DUT,接著步驟S717。在步驟S717,判斷電池狀態監控裝置1是否連接於遠端裝置RM。當電池狀態監控裝置1連接於遠端裝置RM,接著步驟S719。在步驟S719,電池狀態監控裝置1傳送虛擬暫存器數值至遠端裝置RM,以使遠端裝置RM的螢幕可顯示來自電池狀態監控裝置1的虛擬暫存器數值,接著返回步驟S703。當電池狀態監控裝置1未連接於遠端裝置RM,接著返回步驟S703。
When the virtual register value is not a fixed value, step S713 follows. In step S713, the
在其他實施例中,圖7的步驟S709至步驟S711以及步驟S717至步驟S719可以省略。 In other embodiments, steps S709 to S711 and steps S717 to S719 of FIG. 7 may be omitted.
舉例來說,電池狀態監控裝置1未與任何遠端裝置RM相連接且電池狀態監控裝置1的記憶體102內儲存有虛擬暫存器列表,虛擬暫存器列表中包含有多個虛擬暫存器項目以及多個分別對應該些虛擬暫存器項目的虛擬暫存器
數值。當虛擬暫存器列表中的第一虛擬暫存器數值被設定為每隔1000ms根據設定的數值變動量(例如數值變動量為800)進行數值更新,則電池狀態監控裝置1每隔1000ms將更新後的第一虛擬暫存器數值回應給開發機DUT。
For example, the battery
圖8為本揭露的電池狀態監控裝置處於第一虛擬開發機模式的控制方法流程圖。當電池狀態監控裝置1的虛擬開發機模式為第一虛擬開發機模式時,如圖8所示,在步驟S801,載入記憶體102中的虛擬暫存器列表。在步驟S803,讀取電池B於放電過程中的暫存器數值。在步驟S805,判斷電池狀態監控裝置是否與遠端裝置RM相連接。當電池狀態監控裝置1未與遠端裝置RM相連接,接著返回步驟803。當電池狀態監控裝置1與遠端裝置RM相連接,接著步驟807。在步驟S807,電池狀態監控裝置1傳送電池B於放電過程中的暫存器數值至遠端裝置RM,以使遠端裝置RM的螢幕上可顯示電池B於放電過程中的暫存器數值,接著返回步驟S803。詳言之,當電池狀態監控裝置1處於第一虛擬開發機模式時,使用者可設定電子負載器EL的耗電參數,而電子負載器EL將根據耗電參數對電池B抽取電能。此時,電池狀態監控裝置1可監控電池B在放電過程下的每一暫存器數值。
FIG. 8 is a flow chart of a control method of the battery status monitoring device of the present disclosure in the first virtual development machine mode. When the virtual development machine mode of the battery
圖9為本揭露的電池狀態監控裝置處於第二虛擬開發機模式的控制方法流程圖。當電池狀態監控裝置1的虛擬開發機模式為第二虛擬開發機模式時,如圖9所示,在步驟S901,載入記憶體102中的充電參數。在步驟S903,判斷電池狀態監控裝置1是否與遠端裝置RM相連接。當電池狀態監控裝置1與遠端裝置RM相連接時,接著步驟S905。在步驟S905,根據遠端裝置RM的控制指令更新儲存於記憶體102內的充電參數,接著步驟S907。在步驟S907,根據儲存於記憶體102內的充電參數設定充電電路103。
FIG. 9 is a flow chart of a control method of the battery status monitoring device of the present disclosure in the second virtual development machine mode. When the virtual development machine mode of the battery
當電池狀態監控裝置1未與遠端裝置RM相連接時,接著步驟S907。在步驟S907之後,接著步驟S909。在步驟S909,充電電路103對電池B充
電,接著步驟S911。在步驟S911,讀取電池B於充電過程中的暫存器數值,接著步驟S913。在步驟S913,判斷是否有來自遠端裝置RM的控制指令。當有來自遠端裝置RM的控制指令時,接著步驟S915。在步驟S915,根據遠端裝置RM的控制指令,重新設定儲存於記憶體102內的充電參數,接著步驟S917。在步驟S917,停止對電池B充電,接著返回步驟S903。當沒有來自遠端裝置RM的控制指令時,接著步驟S917。
When the battery
舉例來說,使用者可於遠端裝置RM的電池狀態監控程式設定針對電池B的多種充電參數,如表1所示,表1為定電流-定電壓充電的充電參數表,當電池B的電壓未達1800mV時,充電電路103以180mA對電池B充電。當電池B的電壓未達4400mV時,充電電路103以1500mA對電池B充電。當電池B的電壓達到4400mV時,充電電路103以50mA對電池B充電。
For example, the user can set various charging parameters for battery B in the battery status monitoring program of the remote device RM, as shown in Table 1. Table 1 is a charging parameter table for constant current-constant voltage charging. When battery B When the voltage does not reach 1800mV, the charging
如表2所示,表2為電池溫度-最大充電電壓-最大充電電流的充電參數表。當電池B的電壓未達1800mV時,充電電路103以180mA對電池B充電。當電池B的溫度低於-10度或者高於55度時,充電電路103不對電池B進行充電。當電池B的溫度介於-10度與0度之間,充電電路103對電池B的最大充電電壓及最大充電電流分別為4200mV以及1000mA。當電池B的溫度介於0度與45度之間,充電電路103對電池B的最大充電電壓及最大充電電流分別為4400mV以及1500mA。
As shown in Table 2, Table 2 is a charging parameter table of battery temperature-maximum charging voltage-maximum charging current. When the voltage of battery B does not reach 1800mV, the charging
【實施例的有益效果] [Beneficial effects of the embodiment]
本揭露的其中一有益效果在於,本揭露所提供電池狀態監控裝置及其控制方法,可使得產品與電池同步進行研發生產,且各自獨立測試分析,可大量減少樣品電池盒的浪費。當產品量產或進行測試驗證時,可提供更穩定的測試環境。 One of the beneficial effects of this disclosure is that the battery status monitoring device and its control method provided by this disclosure can enable products and batteries to be developed and produced simultaneously, and each can be tested and analyzed independently, which can greatly reduce the waste of sample battery boxes. When the product is mass-produced or tested and verified, a more stable testing environment can be provided.
以上所公開的內容僅為本揭露的優選可行實施例,並非因此侷限本揭露的申請專利範圍,所以凡是運用本揭露說明書及圖式內容所做的等效技術變化,均包含於本揭露的申請專利範圍內。 The contents disclosed above are only preferred and feasible embodiments of the present disclosure, and do not limit the patent scope of the present disclosure. Therefore, all equivalent technical changes made by using the contents of the description and drawings of the present disclosure are included in the application of the present disclosure. within the scope of the patent.
1:電池狀態監控裝置 1:Battery status monitoring device
101:微處理器 101:Microprocessor
102:記憶體 102:Memory
103:充電電路 103:Charging circuit
104:電池電量管理電路 104:Battery power management circuit
105:數位可變電阻 105:Digital variable resistor
106:模式切換介面 106: Mode switching interface
107:通訊連接介面 107: Communication connection interface
108:電子負載器連接介面 108: Electronic load connection interface
SW1:第一開關電路 SW1: first switch circuit
SW2:第二開關電路 SW2: Second switch circuit
SW3:第三開關電路 SW3: The third switch circuit
SW4:第四開關電路 SW4: The fourth switch circuit
SW5:第五開關電路 SW5: The fifth switch circuit
SW6:第六開關電路 SW6: The sixth switch circuit
T:溫度感測線 T: Temperature sensing line
EL:電子負載器 EL: electronic load
B:電池 B:battery
DUT:開發機 DUT: development machine
RM:遠端裝置 RM: remote device
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211492192.3A CN115856656A (en) | 2022-11-25 | 2022-11-25 | Battery state monitoring device and control method thereof |
CN202211492192.3 | 2022-11-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
TWI832611B true TWI832611B (en) | 2024-02-11 |
Family
ID=85666562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111147920A TWI832611B (en) | 2022-11-25 | 2022-12-14 | Battery state monitoring device and control method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115856656A (en) |
TW (1) | TWI832611B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200511627A (en) * | 2003-06-19 | 2005-03-16 | O2Micro Inc | Battery cell monitoring and balancing circuit |
TW200535441A (en) * | 2004-04-16 | 2005-11-01 | O2Micro Inc | Battery gas gauge |
TW201033631A (en) * | 2009-02-05 | 2010-09-16 | O2Micro Inc | Voltage detection circuit, circuits and methods for multi-cell battery pack protection |
US20150066416A1 (en) * | 2013-08-30 | 2015-03-05 | Ford Global Technologies, Llc | System and method for testing vehicle traction battery components |
US20150268285A1 (en) * | 2014-03-24 | 2015-09-24 | Ford Global Technologies, Llc | Battery simulator with variable current capacity |
CN111130065A (en) * | 2019-12-31 | 2020-05-08 | 北京巨成科技有限公司 | Protection method and device suitable for energy storage system |
CN111697693A (en) * | 2020-05-27 | 2020-09-22 | 杭州高特电子设备股份有限公司 | Intelligent monocell management system |
US20210318387A1 (en) * | 2020-04-09 | 2021-10-14 | Yazaki Corporation | Battery monitoring device |
US20220082627A1 (en) * | 2020-09-15 | 2022-03-17 | Analog Devices International Unlimited Company | Autonomous battery monitoring system |
TW202215701A (en) * | 2020-10-07 | 2022-04-16 | 美商瑟克公司 | Battery swell detection |
-
2022
- 2022-11-25 CN CN202211492192.3A patent/CN115856656A/en active Pending
- 2022-12-14 TW TW111147920A patent/TWI832611B/en active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200511627A (en) * | 2003-06-19 | 2005-03-16 | O2Micro Inc | Battery cell monitoring and balancing circuit |
TW200535441A (en) * | 2004-04-16 | 2005-11-01 | O2Micro Inc | Battery gas gauge |
TW201033631A (en) * | 2009-02-05 | 2010-09-16 | O2Micro Inc | Voltage detection circuit, circuits and methods for multi-cell battery pack protection |
US20150066416A1 (en) * | 2013-08-30 | 2015-03-05 | Ford Global Technologies, Llc | System and method for testing vehicle traction battery components |
US20150268285A1 (en) * | 2014-03-24 | 2015-09-24 | Ford Global Technologies, Llc | Battery simulator with variable current capacity |
CN111130065A (en) * | 2019-12-31 | 2020-05-08 | 北京巨成科技有限公司 | Protection method and device suitable for energy storage system |
US20210318387A1 (en) * | 2020-04-09 | 2021-10-14 | Yazaki Corporation | Battery monitoring device |
CN111697693A (en) * | 2020-05-27 | 2020-09-22 | 杭州高特电子设备股份有限公司 | Intelligent monocell management system |
US20220082627A1 (en) * | 2020-09-15 | 2022-03-17 | Analog Devices International Unlimited Company | Autonomous battery monitoring system |
TW202215701A (en) * | 2020-10-07 | 2022-04-16 | 美商瑟克公司 | Battery swell detection |
Also Published As
Publication number | Publication date |
---|---|
CN115856656A (en) | 2023-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101398776A (en) | Automatic powering-on/powering-off test device and method | |
CN106325348A (en) | Method of control multi-mode power | |
CN108695569B (en) | Current sensor calibration device | |
CN107221980A (en) | Temperature rise control method, device and storage medium when terminal device and its charging | |
TWI832611B (en) | Battery state monitoring device and control method thereof | |
Balasingam et al. | Smart home automation system using iot | |
JPH06328458A (en) | Mold maintaining apparatus | |
US10025471B1 (en) | User-programmable cluster of smart devices | |
US20190232184A1 (en) | Modular Electronics System | |
CN107221984B (en) | Terminal device, temperature rise control method and device during charging of terminal device, and storage medium | |
CN102590680A (en) | Intelligent power supply capable of simulating characteristics of true battery | |
CN211148867U (en) | Battery pack diagnostic device for electric vehicle | |
JP5908258B2 (en) | Power management apparatus, power management apparatus control method, and power management apparatus control program | |
CN201397359Y (en) | Metering and monitoring module for electric power remote terminal unit | |
JP6166530B2 (en) | Information processing apparatus and program | |
JP6736957B2 (en) | Display program, terminal device, and power management system | |
CN202840130U (en) | Intelligent socket | |
CN100399668C (en) | Intelligent battery simulating device | |
JP2019079580A (en) | Electronic apparatus, calculation method and program | |
CN206292290U (en) | Voltage monitor | |
JP6518614B2 (en) | Electronic device, method of specifying operation of electronic device, and program | |
CN209015643U (en) | LCD module structure based on torch power ATS3505 | |
US20240151418A1 (en) | Room unit for an hvac system and method for exchanging data between a mobile device and a room unit or an hvac system | |
CN201548619U (en) | Internal resistance on-line detection device for DC cabinet | |
CN208673328U (en) | A kind of electric relay protection scene knowledge base model device |