TWI832611B - Battery state monitoring device and control method thereof - Google Patents

Battery state monitoring device and control method thereof Download PDF

Info

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
Application number
TW111147920A
Other languages
Chinese (zh)
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 大陸商環鴻電子(昆山)有限公司
Application granted granted Critical
Publication of TWI832611B publication Critical patent/TWI832611B/en

Links

Images

Landscapes

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

Abstract

A battery state monitoring device and a control method thereof are presented, and the battery state monitoring device includes a microprocessor, a memory, a first switch circuit, a second switch circuit, and a mode switching interface. The memory stores a plurality of virtual register values. The first switch circuit is connected between the microprocessor and a development unit. The second switch circuit is connected between the microprocessor and a battery. When the mode switching interface is in a first state, the first switch circuit is turned on and the second switch circuit is turned off so that the battery state monitoring device is in a virtual battery mode. The microprocessor responds a virtual register value which corresponds to a request of the development unit to the development unit. When the mode switching interface is in a second state, the first switch circuit is turned off and the second switch circuit is turned on so that the battery state monitoring device is in a virtual development unit mode, and the microprocessor monitors a register value of the battery.

Description

電池狀態監控裝置及其控制方法Battery status monitoring device and control method thereof

本揭露涉及一種電池狀態監控裝置及其控制方法,特別是指一種可模擬開發機及電池的運作狀態的電池狀態監控裝置及其控制方法。 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 status monitoring device 1 is used to simulate an operating state of a battery B and an operating state of a development machine DUT (Development Unit), and the battery state monitoring device 1 includes a microprocessor 101, a memory 102, a charging circuit 103, a battery power management circuit 104, a first switch circuit SW1, a second switch circuit SW2, a third switch circuit SW3 and a fourth switch circuit SW4.

微處理器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 microprocessor 101 is the main control core, and the microprocessor 101 is electrically connected to the memory 102. The memory 102 is, for example, an electronically erasable rewritable read-only memory (EEPROM), but is not limited to this. The memory 102 is used to store a virtual register list. 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, some of which The virtual register values represent virtual battery power, virtual battery voltage, virtual battery current, and virtual battery temperature. The charging circuit 103 is used to connect an external power supply (not shown). The charging circuit 103 is electrically connected to the microprocessor 101, and the electrical connection interface between the charging circuit 103 and the microprocessor 101 is I 2 C (Inter- Integrated Circuit), but not limited to this. The microprocessor 101 controls the charging circuit 103 through I 2 C, so that the charging circuit 103 charges the battery B or provides a specific voltage and current to the development machine DUT. The battery power management circuit 104 is electrically connected to the charging circuit 103 and the microprocessor. The electrical connection interface between the microprocessor 101, the battery power management circuit 104 and the microprocessor 101 is I 2 C (Inter-Integrated Circuit), but is not limited to this. The microprocessor 101 controls the battery power management circuit 104 through I 2 C.

第一開關電路SW1連接於微處理器101與開發機DUT之間。第二開關電路SW2連接於微處理器101與電池B之間。第三開關電路SW3連接於充電電路103與開發機DUT之間。第四開關電路SW4連接於電池電量管理電路104與電池B之間。 The first switch circuit SW1 is connected between the microprocessor 101 and the development machine DUT. The second switch circuit SW2 is connected between the microprocessor 101 and the battery B. The third switch circuit SW3 is connected between the charging circuit 103 and the development machine DUT. The fourth switch circuit SW4 is connected between the battery power management circuit 104 and the battery B.

再參閱圖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 status monitoring device 1 further includes a digital variable resistor 105, a fifth switch circuit SW5, a sixth switch circuit SW6, a mode switching interface 106, a communication connection interface 107 and an electronic load connection. Interface 108. The digital variable resistor 105 is electrically connected to the microprocessor 101. The electrical connection interface between the digital variable resistor 105 and the microprocessor 101 can be I 2 C (Inter-Integrated Circuit), but is not limited to this. The fifth switch circuit SW5 is connected to the digital variable resistor 105 and one end of a temperature sensing line T, and the other end of the temperature sensing line T is connected to the development machine DUT. The sixth switch circuit SW6 is connected between the digital variable resistor 105 and the battery B.

模式切換介面106電性連接於微處理器101。模式切換介面106例如為一種按鈕式的模式切換介面且設置於電池狀態監控裝置1的殼體上,模式切換介面106包含有多個按鈕。模式切換介面106用於接收外部指令,舉例來說,當模式切換介面106的第一按鈕被使用者按壓時,模式切換介面106處於第一狀態且傳送一第一模式通知訊息至微處理器101,而微處理器101根據第一模式通知訊息控制第一開關電路SW1、第三開關電路SW3以及第五開關電路SW5均處於導通狀態以及控制第二開關電路SW2、第四開關電路SW4以及第六開關電路 SW6均處於截止狀態,此時電池狀態監控裝置1只與開發機DUT電性連接而處於一虛擬電池模式。當電池狀態監控裝置1處於虛擬電池模式時,可模擬電池B的運作狀態。 The mode switching interface 106 is electrically connected to the microprocessor 101 . The mode switching interface 106 is, for example, a button-type mode switching interface and is provided on the casing of the battery status monitoring device 1 . The mode switching interface 106 includes a plurality of buttons. The mode switching interface 106 is used to receive external instructions. For example, when the first button of the mode switching interface 106 is pressed by the user, the mode switching interface 106 is in the first state and sends a first mode notification message to the microprocessor 101 , and the microprocessor 101 controls the first switch circuit SW1, the third switch circuit SW3 and the fifth switch circuit SW5 to be in a conductive state according to the first mode notification message and controls the second switch circuit SW2, the fourth switch circuit SW4 and the sixth switch circuit SW4. switching circuit SW6 is all in the off state. At this time, the battery status monitoring device 1 is only electrically connected to the development machine DUT and is in a virtual battery mode. When the battery status monitoring device 1 is in the virtual battery mode, the operating status of battery B can be simulated.

微處理器101用於改變數位可變電阻105的阻值,當電池狀態監控裝置1處於虛擬電池模式時,微處理器101藉由數位可變電阻105的電壓差模擬電池B的真實溫度。詳言之,開發機DUT發送一請求命令要求微處理器101回應一電池溫度資訊,當電池狀態監控裝置1處於虛擬電池模式時,微處理器101改變數位可變電阻105的阻值,而不同的電阻值對應於不同的電壓差。開發機DUT透過溫度感測線T接收到數位可變電阻105的電壓差,而開發機DUT的記憶體儲存有多種電壓差及其對應的多個電池溫度,藉由溫度感測線T所感測到的電壓差,便可計算出電池溫度。 The microprocessor 101 is used to change the resistance of the digital variable resistor 105. When the battery status monitoring device 1 is in the virtual battery mode, the microprocessor 101 simulates the real temperature of the battery B through the voltage difference of the digital variable resistor 105. Specifically, the development machine DUT sends a request command to request the microprocessor 101 to respond to a battery temperature information. When the battery status monitoring device 1 is in the virtual battery mode, the microprocessor 101 changes the resistance of the digital variable resistor 105. The resistance values correspond to different voltage differences. The development machine DUT receives the voltage difference of the digital variable resistor 105 through the temperature sensing line T, and the memory of the development machine DUT stores multiple voltage differences and their corresponding multiple battery temperatures. The voltage difference sensed by the temperature sensing line T From the voltage difference, the battery temperature can be calculated.

當模式切換介面106的第二按鈕被使用者按壓時,模式切換介面106處於第二狀態模式且傳送一第二模式通知訊息至微處理器101,而微處理器101根據第二模式通知訊息控制第一開關電路SW1、第三開關電路SW3以及第五開關電路SW5均處於截止狀態以及控制第二開關電路SW2、第四開關電路SW4以及第六開關電路SW6均處於導通狀態。此時電池狀態監控裝置1只與電池B電性連接而處於一虛擬開發機模式。當電池狀態監控裝置1處於虛擬開發機模式時,可模擬開發機DUT的運作狀態以對電池B進行充電與監控。 When the second button of the mode switching interface 106 is pressed by the user, the mode switching interface 106 is in the second state mode and sends a second mode notification message to the microprocessor 101, and the microprocessor 101 controls according to the second mode notification message. The first switch circuit SW1, the third switch circuit SW3 and the fifth switch circuit SW5 are all in the off state and the second switch circuit SW2, the fourth switch circuit SW4 and the sixth switch circuit SW6 are all in the on state. At this time, the battery status monitoring device 1 is only electrically connected to the battery B and is in a virtual development machine mode. When the battery status monitoring device 1 is in the virtual development machine mode, the operating state of the development machine DUT can be simulated to charge and monitor the battery B.

當模式切換介面106的第三按鈕被使用者按壓時,模式切換介面106處於第三狀態且傳送一第三模式通知訊息至微處理器101,而微處理器101根據第三模式通知訊息控制第一開關電路SW1、第三開關電路SW3以及第五開關電路SW5均處於導通狀態以及控制第二開關電路SW2、第四開關電路SW4以及第六開關電路SW6均處於導通狀態。此時電池狀態監控裝置1與電池B及 開發機DUT均有電性連接而處於一監控模式,以便對開發機DUT的資料流以及電池B的資料流進行監控與紀錄。 When the third button of the mode switching interface 106 is pressed by the user, the mode switching interface 106 is in the third state and sends a third mode notification message to the microprocessor 101, and the microprocessor 101 controls the third mode according to the third mode notification message. A switch circuit SW1, a third switch circuit SW3 and a fifth switch circuit SW5 are all in a conductive state and the second switch circuit SW2, a fourth switch circuit SW4 and a sixth switch circuit SW6 are controlled to be in a conductive state. At this time, the battery status monitoring device 1 and battery B and The development machine DUT is electrically connected and is in a monitoring mode to monitor and record the data flow of the development machine DUT and the data flow of battery B.

此外,當電池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 power management circuit 104 in the battery status monitoring device 1 by pressing the fourth button of the mode switching interface 106 . When battery B itself only has a battery core and no battery power management circuit, the pressed fourth button of the mode switching interface 106 can be released to enable the battery power management circuit 104 in the battery status monitoring device 1 .

通訊連接介面107電性連接於微處理器101,而通訊連接介面107例如為USB連接埠、WIFI模組或藍芽模組。通訊傳輸介面107用於連接於一遠端裝置RM。遠端裝置RM例如為遠端電腦或者行動通訊裝置,而使用者透過遠端裝置RM可直接修改儲存於記憶體102內的虛擬暫存器數值。 The communication connection interface 107 is electrically connected to the microprocessor 101, and the communication connection interface 107 is, for example, a USB connection port, a WIFI module or a Bluetooth module. The communication transmission interface 107 is used to connect to a remote device RM. The remote device RM is, for example, a remote computer or a mobile communication device, and the user can directly modify the virtual register value stored in the memory 102 through the remote device RM.

電子負載器連接介面108電性連接於充電電路103。電子負載器連接介面108用於連接一電子負載器EL。當電池狀態監控裝置1處於虛擬開發機模式時,透過設定電子負載器EL的耗電參數,可模擬電池B於不同的溫度狀態以及不同的剩餘電量狀態下的放電情況。 The electronic load connection interface 108 is electrically connected to the charging circuit 103 . The electronic load connection interface 108 is used to connect an electronic load EL. When the battery status monitoring device 1 is in the virtual development machine mode, by setting the power consumption parameters of the electronic load EL, the discharge conditions of the battery B under different temperature states and different remaining power states can be simulated.

圖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 communication connection interface 107 and the electronic load connection interface 108 .

本揭露更提供電池狀態監控裝置的控制方法,其用於模擬電池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 status monitoring device 1 When the switching interface 106 receives an external command, it sets the state of the mode switching interface 106 according to the external command; according to the state of the mode switching interface 106, it sets the operating mode of the battery status monitoring device 1; when the mode switching interface 106 is in the first state, the battery status The monitoring device 1 is only electrically connected to the development machine DUT, and the battery status monitoring device 1 is in a virtual battery state. mode, and is used to respond to the development machine DUT with the virtual register value corresponding to the request command of the development machine DUT; when the mode switching interface 106 is in the second state, the battery status monitoring device 1 is only electrically connected to the battery B, and the battery The status monitoring device 1 is in the virtual development machine mode and is used to monitor the register value of battery B; and when the mode switching interface 106 is in the third state, the battery status monitoring device 1 is electrically connected to the development machine DUT and battery B, The battery status monitoring device 1 is in monitoring mode.

以下將針對電池狀態監控裝置1處於監控模式、虛擬電池模式以及虛擬開發機模式的控制方法進行詳細的闡述。 The following will describe in detail the control method of the battery status monitoring device 1 in the monitoring mode, the virtual battery mode and the virtual development machine mode.

圖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 microprocessor 101 of the battery status monitoring device 1 . In step S303, the microprocessor 101 sends a request command to battery B. In step S305, battery B responds to the microprocessor 101 with the register value corresponding to the request command. In step S307, the microprocessor 101 stores the register status of battery B in the memory 102. In step S309, the microprocessor 101 determines whether the register value of battery B is abnormal. For example, the memory 102 of the battery status monitoring device 1 stores the normal range of the first register value of battery B. When the first register value is not within the normal range, the microprocessor determines the first temporary value of battery B. The register is abnormal.

在步驟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 microprocessor 101 sends the register value of battery B and the warning message to the remote device RM, and then step S313 is performed. In step S313, the microprocessor 101 transmits the register value of battery B to the development machine DUT, followed by step S315. In step S315, the development machine DUT reads the register value of battery B, and then returns to step S301.

在步驟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 microprocessor 101 transmits the register value of battery B to the remote device RM, and then step S319 follows. In step S319, the microprocessor 101 transmits the register value of battery B to the development machine DUT, Next step S321. In step S321, the development machine DUT reads the register value of battery B, and then returns to step S301.

圖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 status monitoring device 1 , and then step S403 follows. Specifically, when the register value of battery B is within the normal range, the data stream sent by the battery status monitoring device 1 to the remote device RM only has the register value. When the register value of battery B is not within the normal range, the data stream sent by the battery status monitoring device 1 to the remote device RM includes the register value and warning message. In step S403, the screen of the remote device RM displays the data stream of the battery status monitoring device 1, and step S405 follows. Specifically, the remote device RM is installed with a battery monitoring application, and the battery monitoring application is used to display register values and warning messages. In step S405, the remote device RM determines whether a control instruction for storing the register value is received. Specifically, the user can issue a control command to store the register value through the battery monitoring application, so as to store the register value in the memory of the remote device RM. When the remote device RM receives the control instruction to store the register value, step S407 follows. When the remote device RM does not receive the control instruction to store the register value, the process returns to step S401. In step S407, the register value is stored in the memory of the remote device RM, and then returns to step S401.

圖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 status monitoring device 1 is the first virtual battery mode, as shown in FIG. 5 , in step S501 , the virtual register list of the memory 102 is loaded. In step S503, the microprocessor 101 determines whether there is a control instruction from the remote device RM. When there is a control instruction from the remote device RM, step S505 follows. In step S505, the microprocessor 101 updates the virtual register value corresponding to the control instruction of the remote device RM in the virtual register list, and then returns to step S503.

當沒有來自遠端裝置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 microprocessor 101 reads the virtual register corresponding to the request command of the development machine DUT in the virtual register list. Register value, then step S509. In step S509, it is determined whether the virtual register value is a fixed value. When the virtual register value is a fixed value, step S511 follows. In step S511, the microprocessor 101 responds the virtual register value to the development machine DUT, and then returns to step 503.

當虛擬暫存器數值非固定值,接著步驟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 microprocessor 101 updates the virtual register value according to the preset change amount every preset period, and then step S515 is performed. In step S515, the microprocessor 101 responds the updated virtual register value to the development machine DUT every preset period, and then returns to step S503.

舉例來說,使用者可透過安裝於遠端裝置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 memory 102 of the battery status monitoring device 1 as a change value and set the second virtual register value through the battery status monitoring program installed on the remote device RM. is a fixed value. The setting of the first virtual register value includes a preset period, a lower limit of the register value, an upper limit of the register value, and a preset change amount. The development machine DUT will periodically send request commands. When the development machine DUT sends the first request command to the battery status monitoring device 1, the first virtual register value is automatically updated every preset period according to the preset change amount. , so the microprocessor 101 responds to the development machine DUT with the updated first virtual register value every preset period. When the development machine DUT sends the second request command to the battery status monitoring device 1, the microprocessor 101 returns the second virtual register value corresponding to the second request command to the development machine DUT.

圖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 status monitoring device 1, and then returns to step S603.

當沒有外部控制指令時,接著步驟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 status monitoring device 1, and then returns to step S603.

當虛擬暫存器數值被設定為非固定值,接著步驟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 status monitoring device 1 every preset period, and then returns to step S603.

舉例來說,遠端裝置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 status monitoring device 1 , and the microprocessor 101 of the battery status monitoring device 1 will update the first virtual register value stored in the memory 102 so that it is stored in the memory 102 The first virtual register value is the same as the first virtual register value of the battery status monitoring program of the remote device RM. When the user sets the second virtual register value in the virtual register list of the battery status monitoring program to change the value every 1000ms, the battery status monitoring program of the remote device RM will update the value of the second virtual register every 1000ms. The two virtual register values are sent to the battery status monitoring device 1, and the microprocessor 101 of the battery status monitoring device 1 will update the second virtual register value stored in the memory 102, so that the value stored in the memory 102 The second virtual register value is the same as the second virtual register value of the battery status monitoring program of the remote device RM.

圖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 status monitoring device 1 is the second virtual battery mode, as shown in FIG. 7 , in step S701 , the virtual register list in the memory 102 is loaded. In step S703, micro The processor 101 reads the virtual register value corresponding to the request command of the development machine DUT in the virtual register list, and then step S705 is performed. In step S705, it is determined whether the virtual register value is a fixed value. When the virtual register value is a fixed value, step S707 follows. In step S707, the microprocessor 101 responds the virtual register value to the development machine DUT, followed by step S709. In step S709, it is determined whether the battery status monitoring device 1 is connected to the remote device RM.

當電池狀態監控裝置1連接於遠端裝置RM,接著步驟S711。當電池狀態監控裝置1未連接於遠端裝置RM,接著返回步驟S703。 When the battery status monitoring device 1 is connected to the remote device RM, step S711 follows. When the battery status monitoring device 1 is not connected to the remote device RM, then return to step S703.

在步驟S711,電池狀態監控裝置1傳送虛擬暫存器數值至遠端裝置RM,以使遠端裝置RM的螢幕可顯示來自電池狀態監控裝置1的虛擬暫存器數值,接著返回步驟S703。 In step S711, the battery status monitoring device 1 transmits the virtual register value to the remote device RM, so that the screen of the remote device RM can display the virtual register value from the battery status monitoring device 1, and then returns to step S703.

當虛擬暫存器數值非固定值,接著步驟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 microprocessor 101 updates the virtual register value in the virtual register list according to the preset change amount every preset period, and then step S715 is performed. In step S715, the microprocessor 101 responds the updated virtual register value to the development machine DUT every preset period, and then step S717 is performed. In step S717, it is determined whether the battery status monitoring device 1 is connected to the remote device RM. When the battery status monitoring device 1 is connected to the remote device RM, step S719 follows. In step S719, the battery status monitoring device 1 transmits the virtual register value to the remote device RM, so that the screen of the remote device RM can display the virtual register value from the battery status monitoring device 1, and then returns to step S703. When the battery status monitoring device 1 is not connected to the remote device RM, then return to step S703.

在其他實施例中,圖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 status monitoring device 1 is not connected to any remote device RM and a virtual register list is stored in the memory 102 of the battery status monitoring device 1. The virtual register list includes multiple virtual registers. register items and multiple virtual registers respectively corresponding to these virtual register items. numerical value. When the first virtual register value in the virtual register list is set to be updated every 1000ms according to the set value variation (for example, the value variation is 800), the battery status monitoring device 1 will update the value every 1000ms. The latest first virtual register value is responded to the development machine DUT.

圖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 status monitoring device 1 is the first virtual development machine mode, as shown in FIG. 8 , in step S801 , the virtual register list in the memory 102 is loaded. In step S803, the register value of battery B during the discharge process is read. In step S805, it is determined whether the battery status monitoring device is connected to the remote device RM. When the battery status monitoring device 1 is not connected to the remote device RM, then return to step 803. When the battery status monitoring device 1 is connected to the remote device RM, step 807 follows. In step S807, the battery status monitoring device 1 transmits the register value of battery B during the discharging process to the remote device RM, so that the register value of battery B during the discharging process can be displayed on the screen of the remote device RM. Then return to step S803. Specifically, when the battery status monitoring device 1 is in the first virtual development machine mode, the user can set the power consumption parameters of the electronic load EL, and the electronic load EL will extract power from the battery B according to the power consumption parameters. At this time, the battery status monitoring device 1 can monitor each register value of battery B during the discharge process.

圖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 status monitoring device 1 is the second virtual development machine mode, as shown in FIG. 9 , in step S901 , the charging parameters in the memory 102 are loaded. In step S903, it is determined whether the battery status monitoring device 1 is connected to the remote device RM. When the battery status monitoring device 1 is connected to the remote device RM, step S905 follows. In step S905, the charging parameters stored in the memory 102 are updated according to the control instructions of the remote device RM, and step S907 follows. In step S907, the charging circuit 103 is set according to the charging parameters stored in the memory 102.

當電池狀態監控裝置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 status monitoring device 1 is not connected to the remote device RM, step S907 follows. After step S907, step S909 follows. In step S909, the charging circuit 103 charges the battery B power, and then step S911. In step S911, the register value of battery B during charging is read, and step S913 follows. In step S913, it is determined whether there is a control instruction from the remote device RM. When there is a control instruction from the remote device RM, step S915 follows. In step S915, the charging parameters stored in the memory 102 are reset according to the control command of the remote device RM, and step S917 follows. In step S917, charging of battery B is stopped, and then the process returns to step S903. When there is no control instruction from the remote device RM, step S917 follows.

舉例來說,使用者可於遠端裝置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 circuit 103 charges battery B at 180mA. When the voltage of battery B does not reach 4400mV, the charging circuit 103 charges battery B with 1500mA. When the voltage of battery B reaches 4400mV, charging circuit 103 charges battery B with 50mA.

Figure 111147920-A0305-02-0017-1
Figure 111147920-A0305-02-0017-1

如表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 circuit 103 charges battery B with 180mA. When the temperature of battery B is lower than -10 degrees or higher than 55 degrees, the charging circuit 103 does not charge battery B. When the temperature of battery B is between -10 degrees and 0 degrees, the maximum charging voltage and maximum charging current of battery B by charging circuit 103 are 4200mV and 1000mA respectively. When the temperature of battery B is between 0 degrees and 45 degrees, the maximum charging voltage and maximum charging current of battery B by charging circuit 103 are 4400mV and 1500mA respectively.

Figure 111147920-A0305-02-0018-2
Figure 111147920-A0305-02-0018-2

【實施例的有益效果] [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)

一種電池狀態監控裝置,用於模擬一電池的一運作狀態以及一開 發機的一運作狀態,包括: 一微處理器; 一記憶體,電性連接於該微處理器且儲存有多個虛擬暫存器項目及多個分別對應於該些虛擬暫存器項目的虛擬暫存器數值; 一第一開關電路,連接於該微處理器與該開發機之間; 一第二開關電路,連接於該微處理器與該電池之間;以及 一模式切換介面,連接於該微處理器; 其中當該模式切換介面處於一第一狀態時,該第一開關電路導通以及該第二開關電路截止以使該電池狀態監控裝置處於一虛擬電池模式,該微處理器用於將對應該開發機的一請求命令的該虛擬暫存器數值回應給該開發機; 其中當該模式切換介面處於一第二狀態時,該第一開關電路截止以及該第二開關電路導通以使該電池狀態監控裝置處於一虛擬開發機模式,該微處理器用於監控該電池的一暫存器數值。 A battery status monitoring device used to simulate an operating status and an opening of a battery An operating state of the engine, including: a microprocessor; A memory electrically connected to the microprocessor and storing a plurality of virtual register entries and a plurality of virtual register values respectively corresponding to the virtual register entries; A first switch circuit connected between the microprocessor and the development machine; a second switch circuit connected between the microprocessor and the battery; and a mode switching interface connected to the microprocessor; When the mode switching interface is in a 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 respond to the development machine's The virtual register value of a request command is responded to the development machine; When the mode switching interface is in a 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 a virtual development machine mode, and the microprocessor is used to monitor a condition of the battery. Register value. 如請求項1所述之電池狀態監控裝置,其中該些虛擬暫存器項目包含有一第一虛擬暫存器項目及一第二虛擬暫存器項目,該些虛擬暫存器數值包含一第一虛擬暫存器數值及一第二虛擬暫存器數值,該第一虛擬暫存器項目對應該第一虛擬暫存器數值,該第二虛擬暫存器項目對應該第二虛擬暫存器數值,該第一虛擬暫存器數值每隔一預設週期根據一預設變化量進行更新,而該第二虛擬暫存器數值被設定為一固定值。The battery status monitoring device of claim 1, wherein the virtual register entries include a first virtual register entry and a second virtual register entry, and the virtual register values include a first A virtual register value and a second virtual register value, the first virtual register entry corresponds to the first virtual register value, and the second virtual register entry corresponds to the second virtual register value , the first virtual register value is updated according to a preset change amount every preset period, and the second virtual register value is set to a fixed value. 如請求項1所述之電池狀態監控裝置,更包括一電子負載器連接介面以及一充電電路,該電子負載器連接介面用於連接一電子負載器,該電子負載器設定有一耗電參數,當該電池狀態監控裝置處於該虛擬開發機模式時,該電子負載器根據該耗電參數對該電池抽取電能,該充電電路用於連接一外部電源,該充電電路電性連接於該微處理器,該記憶體儲存有一充電參數,當該電池狀態監控裝置處於該虛擬開發機模式時,該微處理器用於設定該充電電路依據該充電參數對該電池充電。The battery status monitoring device as described in claim 1 further includes an electronic load connection interface and a charging circuit. The electronic load connection interface is used to connect an electronic load. The electronic load is set with a power consumption parameter. When the battery status monitoring device is in the virtual development machine mode, the electronic load extracts power from the battery according to the power consumption parameter. The charging circuit is used to connect an external power supply. The charging circuit is electrically connected to the microprocessor. The memory stores a charging parameter. When the battery status monitoring device is in the virtual development machine mode, the microprocessor is used to set the charging circuit to charge the battery according to the charging parameter. 如請求項1所述之電池狀態監控裝置,其中更包括一通訊連接介面,該通訊連接介面電性連接於該微處理器,該通訊連接介面用於連接於一遠端裝置,當該電池狀態監控裝置處於一監控模式時,該第一開關電路導通與該第二開關電路均導通,且該電池狀態監控裝置用於監控該開發機的一資料流以及該電池的一資料流。The battery status monitoring device as described in claim 1, further comprising a communication connection interface electrically connected to the microprocessor, and the communication connection interface is used to connect to a remote device. When the battery status When the monitoring device is in a monitoring mode, the first switch circuit is turned on and the second switch circuit is turned on, and the battery status monitoring device is used to monitor a data flow of the development machine and a data flow of the battery. 一種電池狀態監控裝置的控制方法,用於模擬一電池的一運作狀態以及一開發機的一運作狀態,包括: 於該電池狀態監控裝置的一模式切換介面接收一外部指令時,根據該外部指令設定該模式切換介面的一狀態; 根據該模式切換介面的該狀態,設定該電池狀態監控裝置的一操作模式; 當該模式切換介面處於一第一狀態時,該電池狀態監控裝置僅與該開發機電性連接,該電池狀態監控裝置處於一虛擬電池模式,並用於將對應該開發機的一請求命令的一虛擬暫存器數值回應給該開發機;以及 當該模式切換介面處於一第二狀態時,該電池狀態監控裝置僅與該電池電性連接,該電池狀態監控裝置處於一虛擬開發機模式,並用於監控該電池的一暫存器數值。 A control method for a battery status monitoring device, used to simulate an operating state of a battery and an operating state of a development machine, including: When a mode switching interface of the battery status monitoring device receives an external command, setting a state of the mode switching interface according to the external command; Set an operating mode of the battery status monitoring device according to the state of the mode switching interface; When the mode switching interface is in a first state, the battery status monitoring device is only electrically connected to the development machine. The battery status monitoring device is in a virtual battery mode and is used to respond to a virtual request command of the development machine. The scratchpad value is returned to the development machine; and When the mode switching interface is in a second state, the battery status monitoring device is only electrically connected to the battery. The battery status monitoring device is in a virtual development machine mode and is used to monitor a register value of the battery. 如請求項5所述之電池狀態監控裝置的控制方法,其中當該虛擬電池模式為一第一虛擬電池模式時,根據一遠端裝置的一控制指令,更新該電池狀態監控裝置的一虛擬暫存器數值,且將更新後的該虛擬暫存器數值傳送至該開發機。The control method of the battery status monitoring device as described in claim 5, wherein when the virtual battery mode is a first virtual battery mode, a virtual temporary setting of the battery status monitoring device is updated according to a control instruction of a remote device. register value, and transmit the updated virtual register value to the development machine. 如請求項5所述之電池狀態監控裝置的控制方法,其中當該虛擬電池模式為一第二虛擬電池模式時,根據該開發機的一請求命令,該電池狀態監控裝置將對應於該開發機的該請求命令的該虛擬暫存器數值回應給該開發機。The control method of the battery status monitoring device as described in claim 5, wherein when the virtual battery mode is a second virtual battery mode, according to a request command of the development machine, the battery status monitoring device will correspond to the development machine. The virtual register value of the request command is responded to the development machine. 如請求項5所述之電池狀態監控裝置的控制方法,其中當該電池狀態監控裝置的該操作模式為一監控模式時,該電池狀態監控裝置用於監控來自該開發機的一資料流以及來自該電池的一資料流,該電池狀態監控裝置根據該開發機的該資料流以及該電池的該資料流判斷該電池且/或該開發機是否為異常,當電池且/或該開發機為異常時,該電池狀態監控裝置傳送一警示訊號至一遠端裝置。The control method of the battery status monitoring device as described in claim 5, wherein when the operation mode of the battery status monitoring device is a monitoring mode, the battery status monitoring device is used to monitor a data stream from the development machine and a data stream from the development machine. A data stream of the battery, the battery status monitoring device determines whether the battery and/or the development machine is abnormal based on the data stream of the development machine and the data flow of the battery. When the battery and/or the development machine is abnormal At this time, the battery status monitoring device sends a warning signal to a remote device. 如請求項5所述之電池狀態監控裝置的控制方法,其中當該虛擬開發機模式為一第一虛擬開發機模式時,一電子負載器根據一耗電參數對該電池抽取電能,該電池狀態監控裝置監控該電池於一放電過程的一暫存器數值。The control method of the battery status monitoring device as described in claim 5, wherein when the virtual development machine mode is a first virtual development machine mode, an electronic load draws power from the battery according to a power consumption parameter, and the battery status The monitoring device monitors a register value of the battery during a discharging process. 如請求項5所述之電池狀態監控裝置的控制方法,其中當該虛擬開發機模式為一第二虛擬開發機模式時,該電池狀態監控裝置根據一充電參數對該電池充電,且該電池狀態監控裝置監控該電池於一充電過程的一暫存器數值。The control method of the battery status monitoring device as described in claim 5, wherein when the virtual development machine mode is a second virtual development machine mode, the battery status monitoring device charges the battery according to a charging parameter, and the battery status The monitoring device monitors a register value of the battery during a charging process.
TW111147920A 2022-11-25 2022-12-14 Battery state monitoring device and control method thereof TWI832611B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
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