TWI748659B - Device and method for LED display control in charging and discharging system - Google Patents

Device and method for LED display control in charging and discharging system Download PDF

Info

Publication number
TWI748659B
TWI748659B TW109132777A TW109132777A TWI748659B TW I748659 B TWI748659 B TW I748659B TW 109132777 A TW109132777 A TW 109132777A TW 109132777 A TW109132777 A TW 109132777A TW I748659 B TWI748659 B TW I748659B
Authority
TW
Taiwan
Prior art keywords
charging
display code
signal
display
code
Prior art date
Application number
TW109132777A
Other languages
Chinese (zh)
Other versions
TW202207756A (en
Inventor
李淼
鄭光文
王發剛
付朋飛
Original Assignee
大陸商昂寶電子(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商昂寶電子(上海)有限公司 filed Critical 大陸商昂寶電子(上海)有限公司
Application granted granted Critical
Publication of TWI748659B publication Critical patent/TWI748659B/en
Publication of TW202207756A publication Critical patent/TW202207756A/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

公開了用於充放電系統中的發光二極體(Light-Emitting Diode,LED)顯示控制的裝置和方法。該裝置包括顯示代碼生成器,被配置為基於充放電系統中的電池的電壓訊號和充電狀態訊號、LED顯示使能訊號、以及多個預設電壓閾值訊號,來生成充電顯示代碼或放電顯示代碼;以及解碼驅動器,被配置為根據充電狀態訊號來對充電顯示代碼或放電顯示代碼進行解碼以生成驅動訊號,該驅動訊號用於驅動LED進行顯示。 Disclosed are a device and method for display control of a light-emitting diode (LED) in a charging and discharging system. The device includes a display code generator configured to generate a charge display code or a discharge display code based on the voltage signal and charge status signal of the battery in the charging and discharging system, the LED display enable signal, and a plurality of preset voltage threshold signals ; And a decoding driver, configured to decode the charging display code or the discharging display code according to the charging state signal to generate a driving signal, the driving signal is used to drive the LED for display.

Description

用於充放電系統中的LED顯示控制的裝置和方法 Device and method for LED display control in charging and discharging system

本發明總體涉及充放電技術領域,更具體地涉及用於充放電系統中的發光二極體(Light-Emitting Diode,LED)顯示控制的裝置和方法。 The present invention generally relates to the field of charging and discharging technology, and more specifically to a device and method for controlling a light-emitting diode (LED) display in a charging and discharging system.

在大多數充放電系統中,經常使用LED燈來直觀地顯示充放電系統的工作狀態和電池電量。 In most charging and discharging systems, LED lights are often used to visually display the working status and battery power of the charging and discharging system.

目前主流的LED顯示控制方案有兩種:一種是通過利用電池電壓、電池電流、以及電池內阻資訊做精確運算生成其電量曲線來控制LED顯示,但這種方案較為複雜、耗費大量資源;另一種是只根據電池電壓做粗略的顯示,該方案雖然耗費的資源較少,但實際應用時由於感測到的電池電壓在不同的狀態、不同的電流下會有不同,引起了很多顯示問題。常見的問題包括:在充電狀態下顯示電量遞減變化而在放電狀態下顯示電量遞增變化,在充電和放電狀態互相切換時發生跳燈,即亮燈和/或閃燈的數目發生變化,其中“亮燈”指LED燈保持亮的狀態,而“閃燈”指LED燈忽亮忽暗。 At present, there are two mainstream LED display control solutions: one is to control the LED display by using battery voltage, battery current, and battery internal resistance information to do accurate calculations to generate its power curve, but this solution is more complicated and consumes a lot of resources; the other is One is to make a rough display based only on the battery voltage. Although this solution consumes less resources, in actual applications, the sensed battery voltage is different under different states and currents, causing many display problems. Common problems include: displaying a decreasing change in the power level in the charging state and displaying an increasing change in the power level in the discharging state. When the charging and discharging states are switched between each other, the light jumps, that is, the number of lights and/or flashing lights changes. "Lighting" refers to the state where the LED light stays on, while "flashing light" refers to the LED light turning on and off.

鑒於以上所述的一個或多個問題,本發明提供了新穎的用於充放電系統中的LED顯示控制的裝置和方法。 In view of one or more of the above-mentioned problems, the present invention provides a novel device and method for LED display control in a charging and discharging system.

根據本發明實施例的一方面,公開了用於充放電系統中的LED顯示控制的裝置,該裝置包括顯示代碼生成器,被配置為基於充放電系統中的電池的電壓訊號和充電狀態訊號、LED顯示使能訊號、以及多個預設電壓閾值訊號,來生成充電顯示代碼或放電顯示代碼;以及解碼驅動器,被配置為根據充電狀態訊號來對充電顯示代碼或放電顯示代碼進行 解碼以生成驅動訊號,該驅動訊號用於驅動LED進行顯示。 According to an aspect of the embodiments of the present invention, a device for LED display control in a charging and discharging system is disclosed. The device includes a display code generator configured to be based on a voltage signal and a charging state signal of a battery in the charging and discharging system, LED display enable signal and multiple preset voltage threshold signals to generate charge display code or discharge display code; and a decoding driver configured to perform charging display code or discharge display code according to the charge status signal Decode to generate a driving signal, which is used to drive the LED for display.

根據本發明實施例的另一方面,公開了用於充放電系統中的LED顯示控制的方法,該方法包括:基於充放電系統中的電池的電壓訊號和充電狀態訊號、LED顯示使能訊號、以及多個預設電壓閾值訊號,來生成充電顯示代碼或放電顯示代碼;並且根據充電狀態訊號來對充電顯示代碼或放電顯示代碼進行解碼以生成驅動訊號,該驅動訊號用於驅動LED進行顯示。 According to another aspect of the embodiments of the present invention, a method for LED display control in a charging and discharging system is disclosed. The method includes: based on a voltage signal and a charging state signal of a battery in the charging and discharging system, an LED display enable signal, And a plurality of preset voltage threshold signals to generate a charging display code or a discharging display code; and according to the charging state signal, the charging display code or the discharging display code is decoded to generate a driving signal, and the driving signal is used to drive the LED for display.

100:充放電系統 100: charge and discharge system

110:充電控制電路 110: Charging control circuit

120:電池 120: battery

200:LED顯示控制的裝置 200: LED display control device

210,300:顯示代碼生成器 210,300: Display code generator

220:解碼驅動器 220: Decoding drive

310:基礎時鐘訊號生成模組 310: Basic clock signal generation module

320,400A:充電顯示代碼生成模組 320,400A: Charging display code generation module

330,400B:放電顯示代碼生成模組 330, 400B: discharge display code generation module

410,440:第一顯示代碼比特生成單元 410, 440: first display code bit generation unit

411,421,431,441,451,461,471,481:比較訊號 411,421,431,441,451,461,471,481: comparison signal

412,422,432,442,452,462,472,482:經延遲訊號 412,422,432,442,452,462,472,482: delayed signal

420,450:第二顯示代碼比特生成單元 420, 450: Second display code bit generation unit

430,460:第三顯示代碼比特生成單元 430, 460: third display code bit generation unit

470:第四顯示代碼比特生成單元 470: Fourth display code bit generation unit

480:第五顯示代碼比特生成單元 480: Fifth display code bit generating unit

600:方法 600: method

610,620:步驟 610,620: steps

COMP:電壓感測比較器 COMP: Voltage Sensing Comparator

Charge_ena 202:充電狀態訊號 Charge_ena 202: charge status signal

Charge_code 211,Charge_code 321:充電顯示代碼 Charge_code 211, Charge_code 321: charging display code

DBS:延遲組件 DBS: Delay component

DCLK 311:基礎時鐘訊號 DCLK 311: basic clock signal

Discharge_code 212,Discharge_code 322:放電顯示代碼 Discharge_code 212, Discharge_code 322: Discharge display code

LATCH:栓鎖組件 LATCH: Latch assembly

LED_ena 203,LED_ena 303:LED顯示使能訊號 LED_ena 203, LED_ena 303: LED display enable signal

LED_drive 221:驅動訊號 LED_drive 221: drive signal

Icharge:充電電流 I charge : charging current

Idischarge:放電電流 I discharge : discharge current

Vbat,Vbat_det:電池電壓 V bat ,V bat_det : battery voltage

Vth1_chg,Vth2_chg,Vth3_chg,Vth1_dischg,Vth2_dischg,Vth3_dischg,Vth4_dischg,Vth5_dischg:電壓閾值 V th1_chg , V th2_chg , V th3_chg , V th1_dischg , V th2_dischg , V th3_dischg , V th4_dischg , V th5_dischg : voltage threshold

Vbat_det 201,Vbat_det 301:電壓訊號 V bat_det 201, V bat_det 301: voltage signal

Vth* 204,Vth1_chg 304-1,Vth2_chg 304-2,Vth3_chg 304-3,Vth1_dischg 304-8,Vth2_dischg 304-4,Vth2_dischg 304-7,Vth3_dischg 304-6,Vth4_dischg 304-4,Vth5_dischg 304-4:預設電壓閾值訊號 V th* 204,V th1_chg 304-1,V th2_chg 304-2,V th3_chg 304-3,V th1_dischg 304-8,V th2_dischg 304-4,V th2_dischg 304-7,V th3_dischg 304-6,V th4_dischg 304 -4,V th5_dischg 304-4: preset voltage threshold signal

從下面結合圖式對本發明的具體實施方式的描述中可以更好地理解本發明。為了圖式的簡單和清晰,圖式中圖示的元素不一定是按比例繪製的。例如,為了清晰,一些元素的尺寸相對於其他元素可被誇大。另外,在認為適當時,圖式標記在圖式之間被重複以指示出對應的或相似的元素。在圖式中: The present invention can be better understood from the following description of the specific embodiments of the present invention in conjunction with the drawings. For the simplicity and clarity of the diagram, the elements illustrated in the diagram are not necessarily drawn to scale. For example, the size of some elements may be exaggerated relative to other elements for clarity. In addition, when deemed appropriate, schema marks are repeated between the schemas to indicate corresponding or similar elements. In the scheme:

圖1A示出了充放電系統在充電狀態下的示意框圖; Figure 1A shows a schematic block diagram of the charging and discharging system in a charging state;

圖1B示出了充放電系統在放電狀態下的示意框圖; Figure 1B shows a schematic block diagram of the charging and discharging system in a discharging state;

圖2示出了根據本發明的實施例的用於充放電系統中的LED顯示控制的裝置的示意圖。 Fig. 2 shows a schematic diagram of a device for LED display control in a charging and discharging system according to an embodiment of the present invention.

圖3示出了根據本發明的實施例的示例顯示代碼生成器的示意圖。 Fig. 3 shows a schematic diagram of an example display code generator according to an embodiment of the present invention.

圖4A示出了根據本發明的實施例的示例充電顯示代碼生成模組的內部結構的框圖。 4A shows a block diagram of the internal structure of an exemplary charging display code generation module according to an embodiment of the present invention.

圖4B示出了根據本發明的實施例的示例放電顯示代碼生成模組的內部結構的框圖。 4B shows a block diagram of the internal structure of an exemplary discharge display code generation module according to an embodiment of the present invention.

圖5A示出了根據本發明的實施例的示例充電顯示狀態到放電顯示狀態轉換的示意圖。 FIG. 5A shows a schematic diagram of the transition from an exemplary charging display state to a discharging display state according to an embodiment of the present invention.

圖5B示出了根據本發明的實施例的示例放電顯示狀態到充電顯示狀態轉換的示意圖。 FIG. 5B shows a schematic diagram of an exemplary transition from a discharging display state to a charging display state according to an embodiment of the present invention.

圖6示出了根據本發明的實施例的用於充放電系統中的LED顯示控制 的方法的簡化流程圖。 Figure 6 shows the LED display control used in the charging and discharging system according to an embodiment of the present invention Simplified flow chart of the method.

下面將詳細描述本發明的各個方面的特徵和示例性實施例。在下面的詳細描述中,提出了許多具體細節,以便提供對本發明的全面理解。但是,對於本領域技術人員來說很明顯的是,本發明可以在不需要這些具體細節中的一些細節的情況下實施。下面對實施例的描述僅僅是為了通過示出本發明的示例來提供對本發明的更好的理解。本發明絕不限於下面所提出的任何具體配置和演算法,而是在不脫離本發明的精神的前提下覆蓋了元素、部件和演算法的任何修改、替換和改進。在圖式和下面的描述中,沒有示出公知的結構和技術,以便避免對本發明造成不必要的模糊。 The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In the following detailed description, many specific details are proposed in order to provide a comprehensive understanding of the present invention. However, it is obvious to those skilled in the art that the present invention can be implemented without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by showing examples of the present invention. The present invention is by no means limited to any specific configuration and algorithm proposed below, but covers any modification, replacement and improvement of elements, components and algorithms without departing from the spirit of the present invention. In the drawings and the following description, well-known structures and technologies are not shown in order to avoid unnecessary obscurity of the present invention.

需要指出的是,在下面的描述中提到的“裝置”、“模組”、“單元”、“組件”等都可以指電路或電路的一部分。 It should be pointed out that the "device", "module", "unit", "component", etc. mentioned in the following description can all refer to a circuit or a part of a circuit.

圖1A和圖1B分別示出了充放電系統100在充電狀態和放電狀態下的示意框圖。當充放電系統100連接到電源以進行充電時,電池部分120中產生充電電流Icharge;而當充放電系統100連接到負載以給負載供電時,電池部分120中產生放電電流Idischarge。假設在充放電系統100在充電狀態和放電狀態之間相互切換的瞬間電池電壓Vbat保持不變,由於充電電流Icharge和放電電流Idischarge之間的轉變,會使得充電控制電路110感測到的電池電壓Vbat_det發生變化。這種變化可能導致在只根據電池電壓來控制LED的顯示時出現諸如跳燈之類的問題。以使用四顆LED燈的情況為例,目前行業內對四顆LED燈的通用定義如下:在充電模式下1閃→1亮1閃→2亮1閃→3亮1閃;在放電模式下4亮→3亮→2亮→1亮→1閃→全滅。例如,跳燈問題可能體現為:在從充電模式切換到放電模式時,從充電狀態的2亮1閃跳到放電狀態的1亮,或者在從放電模式切換到充電模式時,從放電狀態的2亮跳到充電狀態的3亮1閃,等等。 1A and 1B show schematic block diagrams of the charging and discharging system 100 in a charging state and a discharging state, respectively. When the charging and discharging system 100 is connected to a power source for charging, a charging current I charge is generated in the battery part 120; and when the charging and discharging system 100 is connected to a load to supply power to the load, a discharging current I discharge is generated in the battery part 120. Assuming that the battery voltage V bat remains unchanged at the moment when the charging and discharging system 100 switches between the charging state and the discharging state, due to the transition between the charging current I charge and the discharging current I discharge , the charging control circuit 110 will sense The battery voltage V bat_det changes. This change may cause problems such as light jumping when controlling the display of the LED based only on the battery voltage. Taking the case of using four LED lights as an example, the current industry definition of four LED lights is as follows: in charging mode, 1 flash → 1 on and 1 flash → 2 on and 1 flash → 3 on and 1 flash; in discharge mode 4 bright → 3 bright → 2 bright → 1 bright → 1 flash → all off. For example, the problem of light jumping may be reflected in: when switching from the charging mode to the discharging mode, from the charging state of 2 on and 1 flashing to the discharging state 1 on, or when switching from the discharging mode to the charging mode, from the discharging state 2 lights up and jumps to the charging state, 3 lights up and 1 flashes, and so on.

本發明提供的新穎的用於充放電系統中的LED顯示控制的裝置和方法能夠只需根據電池電壓資訊,通過定義充電/放電各模式亮燈 的時序來滿足實際的充放電系統電量顯示的需求,同時還避免了上面提到的LED顯示控制中遇到的常見問題。 The novel device and method for LED display control in the charging and discharging system provided by the present invention can light up the lights by defining the charging/discharging modes only according to the battery voltage information The time sequence to meet the actual charging and discharging system power display needs, while also avoiding the above-mentioned common problems encountered in the LED display control.

需要說明的是,為清楚和簡潔起見,在下面的描述中以上面提到的四顆LED燈的情況為例進行描述,但是本領域普通技術人員應該清楚本發明的原理可以適用於任何適當數目的LED燈,而不僅限於所描述的四顆LED燈的情況。因此,這種描述僅僅是說明性的而非限制性的。 It should be noted that, for the sake of clarity and conciseness, the four LED lights mentioned above are used as an example for description in the following description, but those of ordinary skill in the art should understand that the principles of the present invention can be applied to any suitable The number of LED lights is not limited to the four LED lights described. Therefore, this description is only illustrative and not restrictive.

圖2示出了根據本發明的實施例的用於充放電系統中的LED顯示控制的裝置200的示意圖。例如,該LED顯示控制的裝置200可以被佈置在圖1的充電控制電路110中以用於對充放電系統100的LED燈的顯示進行控制。 FIG. 2 shows a schematic diagram of a device 200 for LED display control in a charging and discharging system according to an embodiment of the present invention. For example, the LED display control device 200 may be arranged in the charging control circuit 110 of FIG. 1 to control the display of the LED lights of the charging and discharging system 100.

如圖所示,LED顯示控制的裝置200可以包括顯示代碼生成器210和解碼驅動器220。顯示代碼生成器210接收所感測到的充放電系統中的電池(例如,圖1充放電系統100中的電池120)的電壓訊號Vbat_det 201和充電狀態訊號Charge_ena 202、LED顯示使能訊號LED_ena203、以及多個預設電壓閾值訊號Vth* 204,並且基於上述訊號來生成充電顯示代碼Charge_code 211或放電顯示代碼Discharge_code 212。 As shown in the figure, the LED display control device 200 may include a display code generator 210 and a decoding driver 220. The display code generator 210 receives the sensed voltage signal V bat_det 201 of the battery in the charging and discharging system (for example, the battery 120 in the charging and discharging system 100 in FIG. 1), the charging status signal Charge_ena 202, the LED display enable signal LED_ena203, And a plurality of preset voltage threshold signals V th* 204, and based on the above signals, a charge display code Charge_code 211 or a discharge display code Discharge_code 212 is generated.

Charge_ena 202指示電池正在充電還是放電,例如,當Charge_ena 212為高位準時,指示電池正在充電,而Charge_ena 202為低位準時,指示正在放電;或反之。當然,其他指示方式也是可以的,只要能夠實現相應的功能即可,在此不作一一描述。當Charge_ena 202指示電池正在充電時,顯示代碼生成器210生成Charge_code 211,而當Charge_ena 202指示電池正在放電時,顯示代碼生成器210生成Discharge_code 212。 Charge_ena 202 indicates whether the battery is charging or discharging. For example, when Charge_ena 212 is at a high level, it indicates that the battery is charging, and when Charge_ena 202 is at a low level, it indicates that it is discharging; or vice versa. Of course, other indication methods are also possible, as long as the corresponding functions can be realized, and they will not be described here. When Charge_ena 202 indicates that the battery is charging, the display code generator 210 generates Charge_code 211, and when Charge_ena 202 indicates that the battery is discharging, the display code generator 210 generates Discharge_code 212.

LED_ena 203指示充放電系統是否啟用LED顯示來指示其工作狀態或電池電量。例如,當Charge_ena 202為高位準時,指示已啟用LED顯示;相反地,也可以設置Charge_ena 202為低位準時,指示已啟用LED顯示。當然,其他指示方式也是可以的,只要能夠實現相應的功能即可,在此不作一一描述。 LED_ena 203 indicates whether the charging and discharging system enables LED display to indicate its working status or battery power. For example, when Charge_ena 202 is at a high level, it indicates that the LED display is enabled; conversely, when Charge_ena 202 is set at a low level, it indicates that the LED display is enabled. Of course, other indication methods are also possible, as long as the corresponding functions can be realized, and they will not be described here.

Vth* 204指示預設的一組電壓閾值,其數量與所採用的LED燈的數量有關,具體地,其數量可以與預定義的LED燈在充電過程中的顯示狀態和在放電過程中的顯示狀態的總和有關。例如,在上面的使用四顆LED燈的情況中,在充電模式下共有四種顯示狀態,即1閃→1亮1閃→2亮1閃→3亮1閃,在放電模式下共有六種顯示狀態,即4亮→3亮→2亮→1亮→1閃→全滅,從而Vth* 204的數量可以為(4-1)+(6-1)=8個。 V th* 204 indicates a set of preset voltage thresholds, the number of which is related to the number of LED lights used, specifically, the number can be related to the display status of the predefined LED lights during the charging process and the discharge process. The sum of the displayed states is related. For example, in the case of using four LED lights above, there are four display states in the charging mode, namely 1 flash → 1 on and 1 flash → 2 on and 1 flash → 3 on and 1 flash. There are six types in the discharge mode. The display status is 4 on→3 on→2 on→1 on→1 flash→all off, so the number of V th* 204 can be (4-1)+(6-1)=8.

解碼驅動器220接收Charge_ena 202,以參考該訊號來對從顯示代碼生成器210接收的Charge_code 211或Discharge_code 212進行解碼,以生成用於驅動LED燈進行顯示的驅動訊號LED_drive 221。 The decoding driver 220 receives the Charge_ena 202 to decode the Charge_code 211 or the Discharge_code 212 received from the display code generator 210 with reference to the signal to generate a driving signal LED_drive 221 for driving the LED lamp for display.

下面將參考圖3和圖4來詳細描述顯示代碼生成器210的結構和功能。需要說明的是,為清楚和簡潔起見,在圖3和圖4以及相關描述中以上面提到的四顆LED燈的情況為例進行說明,但是本領域普通技術人員應該清楚本發明的原理可以適用於任何適當數目的LED燈,而不僅限於所描述的四顆LED燈的情況。 The structure and function of the display code generator 210 will be described in detail below with reference to FIGS. 3 and 4. It should be noted that, for the sake of clarity and conciseness, the four LED lights mentioned above are taken as an example in Figures 3 and 4 and related descriptions. However, those of ordinary skill in the art should understand the principle of the present invention. It can be applied to any suitable number of LED lights, not limited to the four LED lights described.

圖3示出了根據本發明的實施例的示例顯示代碼生成器300的示意圖。示例顯示代碼生成器300例如可以是上面結合圖2描述的顯示代碼生成器210。 FIG. 3 shows a schematic diagram of an example display code generator 300 according to an embodiment of the present invention. The example display code generator 300 may be, for example, the display code generator 210 described above in conjunction with FIG. 2.

顯示代碼生成器300可以包括,例如,基礎時鐘訊號生成模組310、充電顯示代碼生成模組320、以及放電顯示代碼生成模組330。 The display code generator 300 may include, for example, a basic clock signal generation module 310, a charge display code generation module 320, and a discharge display code generation module 330.

如圖所示,基礎時鐘訊號生成模組310接收LED顯示使能訊號LED_ena 303,來在LED_ena 303指示LED顯示被啟用時生成基礎時鐘訊號DCLK 311。每當充放電系統開機啟用LED顯示時,基礎時鐘訊號生成模組310以較高頻率輸出基礎時鐘訊號DCLK 311,該基礎時鐘訊號DCLK 311被提供給後面將會介紹的延遲組件DBS用於進行數字延遲,這樣使得初始LED顯示能夠迅速地感測到電池電壓而進行顯示。隨後,基礎時鐘訊號生成模組310切換到以較低頻率輸出基礎時鐘訊號DCLK 311,以使得LED顯示的更新不受能夠感測到的短時間電池電壓波動的影響。 As shown in the figure, the basic clock signal generating module 310 receives the LED display enable signal LED_ena 303 to generate the basic clock signal DCLK 311 when the LED_ena 303 indicates that the LED display is enabled. Whenever the charging and discharging system is turned on and the LED display is enabled, the basic clock signal generation module 310 outputs the basic clock signal DCLK 311 at a higher frequency. The basic clock signal DCLK 311 is provided to the delay component DBS described later for digital processing. Delay, so that the initial LED display can quickly sense the battery voltage for display. Subsequently, the basic clock signal generating module 310 switches to output the basic clock signal DCLK 311 at a lower frequency, so that the update of the LED display is not affected by the short-term battery voltage fluctuation that can be sensed.

充電顯示代碼生成模組320和放電顯示代碼生成模組330分別接收充電狀態訊號Charge_ena 302。當Charge_ena 302指示充放電系統的電池正在充電時,充電顯示代碼生成模組320被啟用,而當Charge_ena 302指示電池正在放電時,放電顯示代碼生成模組330被啟用。 The charging display code generating module 320 and the discharging display code generating module 330 respectively receive the charging state signal Charge_ena 302. When the Charge_ena 302 indicates that the battery of the charging and discharging system is charging, the charging display code generation module 320 is enabled, and when the Charge_ena 302 indicates that the battery is discharging, the discharge display code generating module 330 is enabled.

當被啟用時,充電顯示代碼生成模組320接收感測到的電池電壓訊號Vbat_det 301、由基礎時鐘訊號生成模組310生成的DCLK 311、以及預設電壓閾值訊號Vth1_chg 304-1、Vth2_chg 304-2和Vth3_chg 304-3,並基於這些訊號生成充電顯示代碼Charge_code 321。在此需要說明的是,在上面的使用四顆LED燈的情況中,在充電模式下共有四種顯示狀態,即1閃→1亮1閃→2亮1閃→3亮1閃,因此,在此實施例中針對充電模式設置了Vth1_chg、Vth2_chg和Vth3_chg共三個電壓閾值,但是在其他實施例中,當使用不同數量的LED燈時和/或當定義不同數量的顯示狀態時,可以根據需要設置其他數量的電壓閾值,在此不做具體限定。 When enabled, the charging display code generation module 320 receives the sensed battery voltage signal V bat_det 301, the DCLK 311 generated by the basic clock signal generation module 310, and the preset voltage threshold signal V th1_chg 304-1, V th2_chg 304-2 and V th3_chg 304-3, and generate a charging display code Charge_code 321 based on these signals. It should be noted here that in the case of using four LED lights above, there are four display states in the charging mode, namely 1 flash → 1 on 1 flash → 2 on 1 flash → 3 on 1 flash, therefore, In this embodiment, three voltage thresholds V th1_chg , V th2_chg and V th3_chg are set for the charging mode, but in other embodiments, when a different number of LED lights are used and/or when a different number of display states are defined , Other number of voltage thresholds can be set as needed, and there is no specific limitation here.

當被啟用時,放電顯示代碼生成模組330接收感測到的電池電壓訊號Vbat_det 301、由基礎時鐘訊號生成模組310生成的DCLK 311、以及預設電壓閾值訊號Vth5_dischg 304-4、Vth4_dischg 304-4、Vth3_dischg 304-6、Vth2_dischg 304-4和Vth1_dischg 304-8,並基於這些訊號生成放電顯示代碼Discharge_code 322。在此需要說明的是,在上面的使用四顆LED燈的情況中,放電模式下共有六種顯示狀態,即4亮→3亮→2亮→1亮→1閃→全滅,因此,在此實施例中針對放電模式設置了Vth5_dischg、Vth4_dischg、Vth3_dischg、Vth2_dischg和Vth1_dischg共五個電壓閾值,但是在其他實施例中,當使用不同數量的LED燈時和/或當定義不同數量的顯示狀態時,可以根據需要設置其他數量的電壓閾值,在此不做具體限定。 When enabled, the discharge display code generation module 330 receives the sensed battery voltage signal Vbat_det 301, the DCLK 311 generated by the basic clock signal generation module 310, and the preset voltage threshold signals V th5_dischg 304-4, V th4_dischg 304-4, V th3_dischg 304-6, V th2_dischg 304-4, and V th1_dischg 304-8, and generate a discharge display code Discharge_code 322 based on these signals. It should be noted here that in the case of using four LED lights above, there are a total of six display states in the discharge mode, namely 4 on → 3 on → 2 on → 1 on → 1 flash → all off, therefore, here In the embodiment, five voltage thresholds V th5_dischg , V th4_dischg , V th3_dischg , V th2_dischg and V th1_dischg are set for the discharge mode, but in other embodiments, when different numbers of LED lamps are used and/or when different numbers are defined In the display state of the, you can set other number of voltage thresholds as needed, and there is no specific limitation here.

充電顯示代碼生成模組320還從放電顯示代碼生成模組330接收Discharge_code 322,同樣,放電顯示代碼生成模組330還從充電顯示代碼生成模組320接收Charge_code 321,以使得充電顯示代碼生成模組320和放電顯示代碼生成模組330能夠在發生充電/放電狀態切換時根據預定義的規則切換到生成指定的顯示代碼。這將在下面進行詳細描述。 The charge display code generation module 320 also receives Discharge_code 322 from the discharge display code generation module 330. Similarly, the discharge display code generation module 330 also receives Charge_code 321 from the charge display code generation module 320, so that the charge display code generation module 320 and the discharge display code generation module 330 can switch to generate a specified display code according to a predefined rule when the charging/discharging state is switched. This will be described in detail below.

在圖4A和圖4B中詳細示出了示例充電顯示代碼生成模組400A和示例放電顯示代碼生成模組400B的內部結構。示例充電顯示代碼生成模組400A可以是上面結合圖3描述的充電顯示代碼生成模組320,並且示例放電顯示代碼生成模組400B可以是上面結合圖3描述的放電顯示代碼生成模組330。 The internal structure of the example charging display code generating module 400A and the example discharging display code generating module 400B are shown in detail in FIGS. 4A and 4B. The example charge display code generation module 400A may be the charge display code generation module 320 described above in conjunction with FIG. 3, and the example discharge display code generation module 400B may be the discharge display code generation module 330 described above in conjunction with FIG.

如圖4A所示,示例充電顯示代碼生成模組400A包括多個並列的顯示代碼比特生成單元,例如,第一到第三顯示代碼比特生成單元410、420和430。顯示代碼比特生成單元的數量可以與預定義的LED燈在充電過程中的顯示狀態的數量有關。例如,在上面的使用四顆LED燈的情況中,在充電模式下共有四種顯示狀態,即1閃→1亮1閃→2亮1閃→3亮1閃,因此,在此實施例中採用3個並列的顯示代碼比特生成單元410、420和430。每個顯示代碼比特生成單元生成一個高位準或低位準,該高/低位準例如被轉換成數字代碼(0,1),從而表示二進位數字的一個比特。三個有序排列的顯示代碼比特生成單元410、420和430所產生的比特被按照從最高有效比特到最低有效比特的順序排列,組成一個二進位碼,也即充電顯示代碼,這將在下面進行論述。 As shown in FIG. 4A, the example charging display code generating module 400A includes a plurality of display code bit generating units in parallel, for example, first to third display code bit generating units 410, 420, and 430. The number of display code bit generating units may be related to the number of predefined LED lights' display states during the charging process. For example, in the case of using four LED lights above, there are four display states in the charging mode, that is, 1 flash → 1 on and 1 flash → 2 on and 1 flash → 3 on and 1 flash. Therefore, in this embodiment Three parallel display code bit generating units 410, 420, and 430 are used. Each display code bit generating unit generates a high level or low level, and the high/low level is converted into a digital code (0, 1), for example, to represent one bit of a binary number. The bits generated by the three orderly arranged display code bit generating units 410, 420, and 430 are arranged in order from the most significant bit to the least significant bit to form a binary code, that is, the charging display code, which will be shown below Discuss.

第一到第三顯示代碼比特生成單元410、420和430中的每一者分別包括電壓感測比較器COMP、延遲組件DBS、以及栓鎖組件LATCH。 Each of the first to third display code bit generating units 410, 420, and 430 includes a voltage sensing comparator COMP, a delay component DBS, and a latch component LATCH, respectively.

每個COMP分別接收感測到的電池電壓訊號Vbat_det 301和相應的預設電壓閾值訊號Vth1_chg 304-1、Vth2_chg 304-2和Vth3_chg 304-3。在此實施例中,按照遞增的順序設置預設電壓閾值訊號Vth1_chg 304-1、Vth2_chg 304-2和Vth3_chg 304-3;在其他實施例中也可以滿足要求的其他方式進行設置。 Each COMP receives the sensed battery voltage signal V bat_det 301 and the corresponding preset voltage threshold signal V th1_chg 304-1, V th2_chg 304-2 and V th3_chg 304-3 respectively. In this embodiment, the preset voltage threshold signals V th1_chg 304-1, V th2_chg 304-2, and V th3_chg 304-3 are set in an increasing order; in other embodiments, it can also be set in other ways that meet the requirements.

第一顯示代碼比特生成單元410的COMP將Vbat_det 301與Vth1_chg 304-1進行比較以生成比較訊號411,例如,高位準或低位準。在此為描述方便,以二進位數字1來表示高位準,二進位數字0來表示低位準;在實際使用中也可能存在相反的情況,本發明的原理同樣適用。第 一顯示代碼比特生成單元410的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號411進行延遲以生成經延遲訊號412。第一顯示代碼比特生成單元410的LATCH對經延遲訊號412進行鎖定,以保證充電顯示的單調性。第一顯示代碼比特生成單元410最終輸出一個二進位數字0或1,其表示充電顯示代碼的最高有效比特。 The COMP of the first display code bit generating unit 410 compares V bat_det 301 with V th1_chg 304-1 to generate a comparison signal 411, for example, a high level or a low level. For the convenience of description here, the binary number 1 is used to represent the high level, and the binary number 0 is used to represent the low level; in actual use, there may be the opposite situation, and the principle of the present invention is also applicable. The DBS of the first display code bit generating unit 410 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 411 based on the DCLK 311 to A delayed signal 412 is generated. The LATCH of the first display code bit generating unit 410 locks the delayed signal 412 to ensure the monotonicity of the charging display. The first display code bit generating unit 410 finally outputs a binary number 0 or 1, which represents the most significant bit of the charging display code.

第二顯示代碼比特生成單元420的COMP將Vbat_det 301與Vth2_chg 304-2進行比較以生成比較訊號421,例如,高位準或低位準。第二顯示代碼比特生成單元420的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號421進行延遲以生成經延遲訊號422。第二顯示代碼比特生成單元420的LATCH對經延遲訊號422進行鎖定,以保證充電顯示的單調性。第二顯示代碼比特生成單元420最終輸出一個二進位數字0或1,其表示充電顯示代碼的次高有效比特。 The COMP of the second display code bit generating unit 420 compares V bat_det 301 with V th2_chg 304-2 to generate a comparison signal 421, for example, a high level or a low level. The DBS of the second display code bit generating unit 420 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 421 based on the DCLK 311 to A delayed signal 422 is generated. The LATCH of the second display code bit generating unit 420 locks the delayed signal 422 to ensure the monotonicity of the charging display. The second display code bit generating unit 420 finally outputs a binary number 0 or 1, which represents the second most significant bit of the charging display code.

第三顯示代碼比特生成單元430的COMP將Vbat_det 301與Vth3_chg 304-3進行比較以生成比較訊號431,例如,高位準或低位準。第三顯示代碼比特生成單元430的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號431進行延遲以生成經延遲訊號422。第三顯示代碼比特生成單元430的LATCH對經延遲訊號432進行鎖定,以保證充電顯示的單調性。第三顯示代碼比特生成單元430最終輸出一個二進位數字0或1,其表示充電顯示代碼的最低有效比特。 The COMP of the third display code bit generating unit 430 compares V bat_det 301 with V th3_chg 304-3 to generate a comparison signal 431, for example, a high level or a low level. The DBS of the third display code bit generating unit 430 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 431 based on the DCLK 311 to A delayed signal 422 is generated. The LATCH of the third display code bit generating unit 430 locks the delayed signal 432 to ensure the monotonicity of the charging display. The third display code bit generating unit 430 finally outputs a binary number 0 or 1, which represents the least significant bit of the charging display code.

可選地,按照以上順序在前的顯示代碼比特生成單元輸出的訊號可以用於後續顯示代碼比特生成單元的使能,例如,當第一顯示代碼比特生成單元410的輸出為1時,所有後續顯示代碼比特生成單元的功能被啟用(即,按照以上描述進行所述比較、延遲及鎖定操作),否則,所有後續顯示代碼比特生成單元輸出0;依此類推。 Optionally, the signal output by the preceding display code bit generating unit in the above order can be used to enable the subsequent display code bit generating unit. For example, when the output of the first display code bit generating unit 410 is 1, all subsequent The function of the display code bit generation unit is enabled (that is, the comparison, delay, and lock operations are performed as described above), otherwise, all subsequent display code bit generation units output 0; and so on.

所有顯示代碼比特生成單元輸出的二進位數字按照上面 提到的順序組合成一個二進位碼,也即充電顯示代碼Charge_code 321,以供充電顯示代碼生成模組400A輸出。 All the binary digits output by the display code bit generation unit follow the above The mentioned sequence is combined into a binary code, that is, the charging display code Charge_code 321, which is output by the charging display code generating module 400A.

在第一到第三顯示代碼比特生成單元410、420和430中,COMP將感測到的電池電壓(即,Vbat_det 301)與相應的閾值進行比較,以生成比較訊號,DBS對該比較訊號進行延遲後再更新到輸出訊號,這種設計保證了當感測到的電池電壓被短時間擾動時(通常時間小於4秒),其結果會被濾除,不更新到最終輸出訊號,而真實的訊號產生的比較訊號則會被保留並更新到最終輸出訊號;同時,通過LATCH實現了最終由充電顯示代碼生成模組400A輸出的充電顯示代碼Charge_code的單向遞增變化,即000→100→110→111,這對應於LED燈的顯示狀態1閃→1亮1閃→2亮1閃→3亮1閃。 In the first to third display code bit generating units 410, 420, and 430, COMP compares the sensed battery voltage (ie, V bat_det 301) with a corresponding threshold to generate a comparison signal, which is the comparison signal for DBS The output signal is updated after a delay. This design ensures that when the sensed battery voltage is disturbed for a short time (usually less than 4 seconds), the result will be filtered out, and the final output signal will not be updated. The comparison signal generated by the signal will be retained and updated to the final output signal; at the same time, the one-way incremental change of the charge display code Charge_code finally output by the charge display code generation module 400A is realized through LATCH, that is, 000→100→110 →111, which corresponds to the display status of the LED light: 1 flash → 1 on and 1 flash → 2 on and 1 flash → 3 on and 1 flash.

如圖4B所示,示例放電顯示代碼生成模組400B包括多個並列的顯示代碼比特生成單元,例如,第一到第五顯示代碼比特生成單元440、450、460、470和480。顯示代碼比特生成單元的數量可以與預定義的LED燈在放電過程中的顯示狀態的數量有關。例如,在上面的使用四顆LED燈的情況中,在放電模式下共有六種顯示狀態,即4亮→3亮→2亮→1亮→1閃→全滅,因此,在此實施例中採用5個並列的顯示代碼比特生成單元440、450、460、470和480。每個顯示代碼比特生成單元生成一個高位準或低位準,該高/低位準例如被轉換成數字代碼(0,1),從而表示二進位數字的一個比特。五個有序排列的顯示代碼比特生成單元440、450、460、470和480所產生的比特被按照從最低有效比特到最高有效比特的順序排列,組成一個二進位碼,也即放電顯示代碼,這將在下面進行論述。 As shown in FIG. 4B, the exemplary discharge display code generation module 400B includes a plurality of display code bit generation units in parallel, for example, first to fifth display code bit generation units 440, 450, 460, 470, and 480. The number of display code bit generating units may be related to the number of predefined LED lights' display states during the discharge process. For example, in the case of using four LED lights above, there are a total of six display states in the discharge mode, namely 4 on → 3 on → 2 on → 1 on → 1 flash → all off. Therefore, in this embodiment, Five parallel display code bit generating units 440, 450, 460, 470, and 480. Each display code bit generating unit generates a high level or low level, and the high/low level is converted into a digital code (0, 1), for example, to represent one bit of a binary number. The bits generated by the five orderly arranged display code bit generating units 440, 450, 460, 470, and 480 are arranged in order from the least significant bit to the most significant bit to form a binary code, that is, the discharge display code, This will be discussed below.

第一到第五顯示代碼比特生成單元440、450、460、470和480中的每一者分別包括電壓感測比較器COMP、延遲組件DBS、以及栓鎖組件LATCH。 Each of the first to fifth display code bit generating units 440, 450, 460, 470, and 480 includes a voltage sensing comparator COMP, a delay component DBS, and a latch component LATCH, respectively.

每個COMP分別接收感測到的電池電壓訊號Vbat_det 301和相應的預設電壓閾值訊號Vth5_dischg 304-4、Vth4_dischg 304-5、Vth3_dischg 304- 6、Vth2_dischg 304-7和Vth1_dischg 304-8。在此實施例中,按照遞減的順序設置預設電壓閾值訊號Vth5_dischg 304-4、Vth4_dischg 304-5、Vth3_dischg 304-6、Vth2_dischg 304-7和Vth1_dischg 304-8;在其他實施例中也可以滿足要求的其他方式進行設置。 Each COMP receives the sensed battery voltage signal V bat_det 301 and the corresponding preset voltage threshold signal V th5_dischg 304-4, V th4_dischg 304-5, V th3_dischg 304-6 , V th2_dischg 304-7 and V th1_dischg 304 respectively -8. In this embodiment, the preset voltage threshold signals V th5_dischg 304-4, V th4_dischg 304-5, V th3_dischg 304-6, V th2_dischg 304-7, and V th1_dischg 304-8 are set in descending order; in other embodiments It can also be set in other ways that meet the requirements.

第一顯示代碼比特生成單元440的COMP將Vbat_det 301與Vth5_dischg 304-4進行比較以生成比較訊號441,例如,高位準或低位準。第一顯示代碼比特生成單元440的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號441進行延遲以生成經延遲訊號442。第一顯示代碼比特生成單元440的LATCH對經延遲訊號442進行鎖定,以保證放電顯示的單調性。第一顯示代碼比特生成單元440最終輸出一個二進位數字0或1,其表示放電顯示代碼的最低有效比特。 The COMP of the first display code bit generating unit 440 compares V bat_det 301 with V th5_dischg 304-4 to generate a comparison signal 441, for example, a high level or a low level. The DBS of the first display code bit generating unit 440 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 441 based on the DCLK 311 to A delayed signal 442 is generated. The LATCH of the first display code bit generating unit 440 locks the delayed signal 442 to ensure the monotonicity of the discharge display. The first display code bit generating unit 440 finally outputs a binary number 0 or 1, which represents the least significant bit of the discharge display code.

第二顯示代碼比特生成單元450的COMP將Vbat_det 301與Vth4_dischg 304-5進行比較以生成比較訊號451,例如,高位準或低位準。第二顯示代碼比特生成單元450的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號451進行延遲以生成經延遲訊號452。第二顯示代碼比特生成單元450的LATCH對經延遲訊號452進行鎖定,以保證放電顯示的單調性。第二顯示代碼比特生成單元450最終輸出一個二進位數字0或1,其表示放電顯示代碼的次低有效比特。 The COMP of the second display code bit generating unit 450 compares V bat_det 301 with V th4_dischg 304-5 to generate a comparison signal 451, for example, a high level or a low level. The DBS of the second display code bit generating unit 450 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 451 based on the DCLK 311 to A delayed signal 452 is generated. The LATCH of the second display code bit generating unit 450 locks the delayed signal 452 to ensure the monotonicity of the discharge display. The second display code bit generating unit 450 finally outputs a binary number 0 or 1, which represents the second least significant bit of the discharge display code.

第三顯示代碼比特生成單元460的COMP將Vbat_det 301與Vth3_dischg 304-6進行比較以生成比較訊號461,例如,高位準或低位準。第三顯示代碼比特生成單元460的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號461進行延遲以生成經延遲訊號462。第三顯示代碼比特生成單元460的LATCH對經延遲訊號462進行鎖定,以保證放電顯示的單調性。第三顯示代碼比特生成單元460最終輸出一個二進位數字0或1,其表示放電顯示代碼的下一個有效比特。 The COMP of the third display code bit generating unit 460 compares V bat_det 301 with V th3_dischg 304-6 to generate a comparison signal 461, for example, a high level or a low level. The DBS of the third display code bit generating unit 460 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 461 based on the DCLK 311 to A delayed signal 462 is generated. The LATCH of the third display code bit generating unit 460 locks the delayed signal 462 to ensure the monotonicity of the discharge display. The third display code bit generating unit 460 finally outputs a binary number 0 or 1, which represents the next valid bit of the discharge display code.

第四顯示代碼比特生成單元470的COMP將Vbat_det 301與Vth2_dischg 304-7進行比較以生成比較訊號471,例如,高位準或低位準。第四顯示代碼比特生成單元470的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號471進行延遲以生成經延遲訊號472。第四顯示代碼比特生成單元470的LATCH對經延遲訊號472進行鎖定,以保證放電顯示的單調性。第四顯示代碼比特生成單元470最終輸出一個二進位數字0或1,其表示放電顯示代碼的次高有效比特。 The COMP of the fourth display code bit generating unit 470 compares V bat_det 301 with V th2_dischg 304-7 to generate a comparison signal 471, for example, a high level or a low level. The DBS of the fourth display code bit generating unit 470 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 471 based on the DCLK 311 to A delayed signal 472 is generated. The LATCH of the fourth display code bit generating unit 470 locks the delayed signal 472 to ensure the monotonicity of the discharge display. The fourth display code bit generating unit 470 finally outputs a binary number 0 or 1, which represents the second most significant bit of the discharge display code.

第五顯示代碼比特生成單元480的COMP將Vbat_det 301與Vth1_dischg 304-8進行比較以生成比較訊號481,例如,高位準或低位準。第四顯示代碼比特生成單元480的DBS接收基礎時鐘訊號DCLK 311(例如,上面結合圖3描述的由基礎時鐘訊號生成模組310生成的DCLK 311),並基於DCLK 311對比較訊號481進行延遲以生成經延遲訊號482。第五顯示代碼比特生成單元480的LATCH對經延遲訊號482進行鎖定,以保證放電顯示的單調性。第五顯示代碼比特生成單元480最終輸出一個二進位數字0或1,其表示放電顯示代碼的最高有效比特。 The COMP of the fifth display code bit generating unit 480 compares V bat_det 301 with V th1_dischg 304-8 to generate a comparison signal 481, for example, a high level or a low level. The DBS of the fourth display code bit generating unit 480 receives the basic clock signal DCLK 311 (for example, the DCLK 311 generated by the basic clock signal generating module 310 described above in conjunction with FIG. 3), and delays the comparison signal 481 based on the DCLK 311 to A delayed signal 482 is generated. The LATCH of the fifth display code bit generating unit 480 locks the delayed signal 482 to ensure the monotonicity of the discharge display. The fifth display code bit generating unit 480 finally outputs a binary number 0 or 1, which represents the most significant bit of the discharge display code.

可選地,按照以上順序在前的顯示代碼比特生成單元輸出的訊號可以用於後續顯示代碼比特生成單元的使能,例如,當第一顯示代碼比特生成單元440的輸出為0時,所有後續顯示代碼比特生成單元(即,第二到第五顯示代碼比特生成單元)的功能被啟用(即,按照以上描述進行所述比較、延遲及鎖定操作),否則,所有後續顯示代碼比特生成單元輸出1;當第二顯示代碼比特生成單元450的輸出也為0時,所有後續顯示代碼比特生成單元(即,第三到第五顯示代碼比特生成單元)的功能被啟用,否則,所有後續顯示代碼比特生成單元輸出1;依此類推。 Optionally, the signal output by the preceding display code bit generating unit in the above order can be used to enable the subsequent display code bit generating unit. For example, when the output of the first display code bit generating unit 440 is 0, all subsequent The functions of the display code bit generating units (ie, the second to fifth display code bit generating units) are enabled (ie, the comparison, delay, and locking operations are performed as described above), otherwise, all subsequent display code bit generating units output 1; When the output of the second display code bit generating unit 450 is also 0, the functions of all subsequent display code bit generating units (ie, the third to fifth display code bit generating units) are enabled, otherwise, all subsequent display code bit generating units The bit generation unit outputs 1; and so on.

所有顯示代碼比特生成單元輸出的二進位數字按照上面提到的順序組合成一個二進位碼,也即放電顯示代碼Discharge_code 322,以供放電顯示代碼生成模組400B輸出。 All the binary numbers output by the display code bit generating unit are combined into a binary code in the order mentioned above, that is, the discharge display code Discharge_code 322, for the discharge display code generation module 400B to output.

在第一到第五顯示代碼比特生成單元440、450、460、 470和480中,COMP將感測到的電池電壓(即,Vbat_det 301)與相應的閾值進行比較,以生成比較訊號,DBS對該比較訊號進行延遲後再更新到輸出訊號,這種設計保證了當感測到的電池電壓被短時間擾動時(通常時間小於4秒),其結果會被濾除,不更新到最終輸出訊號,而真實的訊號產生的比較訊號則會被保留並更新到最終輸出訊號;同時,通過LATCH實現了最終由放電顯示代碼生成模組400B輸出的放電顯示代碼Discharge_code的單向遞減變化,即11111→11110→11100→11000→10000→00000,這對應於LED燈的顯示狀態4亮→3亮→2亮→1亮→1閃→全滅。 In the first to fifth display code bit generating units 440, 450, 460, 470, and 480, COMP compares the sensed battery voltage (ie, V bat_det 301) with the corresponding threshold to generate a comparison signal, DBS The comparison signal is delayed and then updated to the output signal. This design ensures that when the sensed battery voltage is disturbed for a short time (usually less than 4 seconds), the result will be filtered out and not updated to the final output The comparison signal generated by the real signal will be retained and updated to the final output signal; at the same time, the unidirectional decreasing change of the discharge display code Discharge_code finally output by the discharge display code generation module 400B is realized through LATCH, which is 11111 → 11110 → 11100 → 11000 → 10000 → 00000, which corresponds to the display status of the LED light 4 bright → 3 bright → 2 bright → 1 bright → 1 flash → all off.

返回到上面結合圖3提到的,充電顯示代碼生成模組320還從放電顯示代碼生成模組330接收Discharge_code 322,同樣,放電顯示代碼生成模組330還從充電顯示代碼生成模組320接收Charge_code 321,以使得充電顯示代碼生成模組320和放電顯示代碼生成模組330能夠在發生充電/放電狀態切換時根據預定義的規則切換到生成指定的顯示代碼,這在圖4A和圖4B中體現為: Returning to what was mentioned above in conjunction with FIG. 3, the charge display code generation module 320 also receives Discharge_code 322 from the discharge display code generation module 330, and similarly, the discharge display code generation module 330 also receives Charge_code from the charge display code generation module 320 321, so that the charging display code generating module 320 and the discharging display code generating module 330 can switch to generate a specified display code according to a predefined rule when the charging/discharging state switching occurs, which is reflected in FIGS. 4A and 4B for:

(1)當充放電系統的電池從放電狀態切換到充電狀態時,充電顯示代碼生成模組400A的第一到第三顯示代碼比特生成單元410、420和430中的每一者的LATCH還接收由放電顯示代碼生成模組400B生成的Discharge_code 322,以按照預定義的規則根據Discharge_code 322輸出指定的訊號,例如,指定的位準或二進位數字; (1) When the battery of the charging and discharging system is switched from the discharging state to the charging state, the LATCH of each of the first to third display code bit generating units 410, 420, and 430 of the charging display code generating module 400A also receives The Discharge_code 322 generated by the discharge display code generation module 400B is used to output a specified signal according to the Discharge_code 322 according to a predefined rule, for example, a specified level or a binary number;

(2)當充放電系統的電池從充電狀態切換到放電狀態時,放電顯示代碼生成模組400B中的每個顯示代碼比特生成單元440、450、460、470和480中的每一者的LATCH還接收由充電顯示代碼生成模組400A生成的Charge_code 321,以按照預定義的規則根據Charge_code 321輸出指定的訊號,例如,指定的位準或二進位數字。 (2) When the battery of the charging and discharging system is switched from the charging state to the discharging state, the discharge displays the LATCH of each of the display code bit generating units 440, 450, 460, 470, and 480 in the code generating module 400B The Charge_code 321 generated by the charging display code generation module 400A is also received to output a specified signal according to the Charge_code 321 according to a predefined rule, for example, a specified level or a binary number.

下面將對所提到的“預定義的規則”進行詳細的描述。 The "predefined rules" mentioned will be described in detail below.

表1描述了在使用四顆LED燈的情況下的充電顯示代碼Charge_code和放電顯示代碼Discharge_code的示例。 Table 1 describes an example of the charge display code Charge_code and the discharge display code Discharge_code when four LED lights are used.

Figure 109132777-A0101-12-0013-1
Figure 109132777-A0101-12-0013-1

結合圖4A來看,在充電模式下,當感測到的電池電壓小於Vth1_chg 304-1時,第一到第三顯示代碼比特生成單元410、420和430都輸出0,即Charge_code為000,4顆LED燈中有一顆LED燈閃爍;隨著電池電量的增加,當感測到的電池電壓大於Vth1_chg 304-1但小於Vth2_chg 304-2時,第一顯示代碼比特生成單元410輸出1,而第二和第三顯示代碼比特生成單元420和430輸出0,Charge_code為100,4顆LED燈中有一顆LED燈亮起另有一顆LED燈閃爍;隨著電池電量繼續增加,當感測到的電地電壓大於Vth2_chg 304-2但小於Vth3_chg 304-3時,第一顯示代碼比特生成單元410輸出1,第二顯示代碼比特生成單元420也輸出1,而第三顯示代碼比特生成單元430輸出0,Charge_code為110,4顆LED燈中有兩顆LED燈亮起另有一顆LED燈閃爍;隨著電池電量繼續增加,當感測到的電池電壓大於Vth3_chg 304-3時,第一顯示代碼比特生成單元410輸出1,第二顯示代碼比特生成單元420也輸出1,第三顯示代碼比特生成單元430也輸出1,Charge_code為111,4顆LED燈中有三顆LED燈亮起另有一顆LED燈閃爍。 4A, in the charging mode, when the sensed battery voltage is less than V th1_chg 304-1, the first to third display code bit generating units 410, 420, and 430 all output 0, that is, the Charge_code is 000. One of the four LED lights flashes; as the battery power increases, when the sensed battery voltage is greater than V th1_chg 304-1 but less than V th2_chg 304-2, the first display code bit generating unit 410 outputs 1 , And the second and third display code bit generating units 420 and 430 output 0, and the Charge_code is 100. One of the four LED lights is lit and the other one is blinking; as the battery power continues to increase, when it is sensed When the electrical ground voltage is greater than V th2_chg 304-2 but less than V th3_chg 304-3, the first display code bit generating unit 410 outputs 1, the second display code bit generating unit 420 also outputs 1, and the third display code bit generating unit 430 outputs 0, Charge_code is 110, two of the 4 LED lights are on and the other one is blinking; as the battery power continues to increase, when the sensed battery voltage is greater than V th3_chg 304-3, the first The display code bit generation unit 410 outputs 1, the second display code bit generation unit 420 also outputs 1, and the third display code bit generation unit 430 also outputs 1, and the Charge_code is 111. Three of the four LED lights are lit and one is lit. The LED light flashes.

結合圖4B來看,在放電模式下,當感測到的電池電壓大於Vth5_dischg 304-4時,第一到第五顯示代碼比特生成單元440、450、460、470和480都輸出1,即Discharge_code為11111,4顆LED燈全部亮起;隨著電池放電使得感測到的電壓減小,當感測到的電池電壓大於Vth4_dischg 304-5但小於Vth5_dischg 304-4時,第一顯示代碼比特生成單元440輸出0,而第二到第五顯示代碼比特生成單元450、460、470和480都輸出1,即Discharge_code為11110,4顆LED燈中有三顆LED燈亮起、一顆LED燈熄滅;隨著電池放電使得感測到的電壓進一步減小,當感測到的電池電壓大於Vth3_dischg 304-6但小於Vth4_dischg 304-5時,第一和第二顯示代碼比特生成單元440和450輸出0,而第三到第五顯示代碼比特生成單元460、470和480都輸出1,即Discharge_code為11100,4顆LED燈中有兩顆LED燈亮起、兩顆LED燈熄滅;隨著電池放電使得感測到的電壓進一步減小,當感測到的電池電壓大於Vth2_dischg 304-7但小於Vth3_dischg 304-6時,第一到第三顯示代碼比特生成單元440、450和460輸出0,而第四和第五顯示代碼比特生成單元470和480都輸出1,即Discharge_code為11000,4顆LED燈中有一顆LED燈亮起、三顆LED燈熄滅;隨著電池放電使得感測到的電壓進一步減小,當感測到的電池電壓大於Vth1_dischg 304-8但小於Vth2_dischg 304-7時,第一到第四顯示代碼比特生成單元440、450、460和470輸出0,而第五顯示代碼比特生成單元480輸出1,即Discharge_code為10000,4顆LED燈中有一顆LED燈閃爍、其餘熄滅;隨著電池放電使得感測到的電壓進一步減小,當感測到的電池電壓小於Vth1_dischg 304-8時,第一到第五顯示代碼比特生成單元440、450、460、470和480都輸出0,即Discharge_code為00000,4顆LED燈全部熄滅。 4B, in the discharge mode, when the sensed battery voltage is greater than V th5_dischg 304-4, the first to fifth display code bit generating units 440, 450, 460, 470, and 480 all output 1, that is Discharge_code is 11111, all 4 LED lights are on; as the battery discharges, the sensed voltage decreases. When the sensed battery voltage is greater than V th4_dischg 304-5 but less than V th5_dischg 304-4, the first display The code bit generating unit 440 outputs 0, and the second to fifth display code bit generating units 450, 460, 470, and 480 all output 1, that is, the Discharge_code is 11110, and three of the four LED lights are on, and one LED light Off; as the battery discharges, the sensed voltage is further reduced. When the sensed battery voltage is greater than V th3_dischg 304-6 but less than V th4_dischg 304-5, the first and second display code bit generating units 440 and 450 outputs 0, and the third to fifth display code bit generating units 460, 470, and 480 all output 1, that is, the Discharge_code is 11100. Two of the four LED lights are on and two LED lights are off; with the battery The discharge causes the sensed voltage to be further reduced. When the sensed battery voltage is greater than V th2_dischg 304-7 but less than V th3_dischg 304-6, the first to third display code bit generating units 440, 450, and 460 output 0 , And the fourth and fifth display code bit generating units 470 and 480 both output 1, that is, the Discharge_code is 11000. One of the four LED lights is on and three LED lights are off; as the battery discharges, the sensed The voltage is further reduced. When the sensed battery voltage is greater than V th1_dischg 304-8 but less than V th2_dischg 304-7, the first to fourth display code bit generating units 440, 450, 460, and 470 output 0, and the fifth The display code bit generation unit 480 outputs 1, that is, the Discharge_code is 10000. One of the 4 LED lights flashes and the others are off; as the battery discharges, the sensed voltage is further reduced. When the sensed battery voltage is less than When V th1_dischg 304-8, the first to fifth display code bit generating units 440, 450, 460, 470, and 480 all output 0, that is, the Discharge_code is 00000, and all 4 LED lights are turned off.

需要指出的是,以上提及的LED燈的數量、充放電過程中的顯示狀態、以及對應的顯示代碼,都僅僅是示例,在其他實施例中,可以根據實際需要設置不同數量的LED燈、不同的放電過程中的顯示狀態、以及不同的顯示代碼,在此不做具體限定。 It should be pointed out that the number of LED lights mentioned above, the display status during charging and discharging, and the corresponding display code are just examples. In other embodiments, different numbers of LED lights can be set according to actual needs. The different display states during the discharge process and the different display codes are not specifically limited here.

圖5A示出了根據本發明的實施例的示例充電顯示狀態到 放電顯示狀態轉換的示意圖。同樣地,以上面提到的使用四顆LED燈的情況為例,當充電時,LED燈可能的顯示狀態如下:1閃→1亮1閃→2亮1閃→B亮1閃,對應於充電顯示代碼000→100→110→111;當放電時,LED燈可能的顯示狀態如下:4亮→3亮→2亮→1亮→1閃→全滅,對應於放電顯示代碼11111→11110→11100→11000→10000→00000。參照圖5A所示,當充放電系統從充電模式轉換到放電模式時:在LED燈處於充電顯示狀態1閃(000)時,對應地轉換到放電顯示狀態1閃(10000);在LED燈處於充電顯示狀態1亮1閃(100)時,對應地轉換到放電顯示狀態1亮(11000);在LED燈處於充電顯示狀態2亮1閃(110)時,對應地轉換到放電顯示狀態2亮(11100);在LED燈處於充電顯示狀態3亮1閃(111)時,對應地轉換到放電顯示狀態3亮(11110)。下面在表2中示出了充電顯示狀態到放電顯示狀態轉換的代碼轉換關係。 FIG. 5A shows an example charging display state according to an embodiment of the present invention to Schematic diagram of discharge display state transition. Similarly, taking the case of using four LED lights mentioned above as an example, when charging, the possible display states of the LED lights are as follows: 1 flash → 1 on and 1 flash → 2 on and 1 flash → B on and 1 flash, corresponding to Charging display code 000→100→110→111; when discharging, the possible display states of the LED light are as follows: 4 on→3 on→2 on→1 on→1 flash→all off, corresponding to the discharge display code 11111→11110→11100 →11000→10000→00000. Referring to Figure 5A, when the charging and discharging system is switched from charging mode to discharging mode: when the LED light is in the charging display state 1 flash (000), it is correspondingly converted to the discharge display state 1 flash (10000); when the LED light is in When the charging display state 1 is on and 1 flash (100), it will correspondingly switch to the discharge display state 1 is on (11000); when the LED light is in the charging display state 2 is on and 1 flash (110), it is correspondingly switched to the discharge display state 2 is on (11100); When the LED light is in the charge display state 3 on and 1 flash (111), it will correspondingly switch to the discharge display state 3 on (11110). The following table 2 shows the code conversion relationship from the charging display state to the discharging display state.

Figure 109132777-A0101-12-0015-2
Figure 109132777-A0101-12-0015-2

結合上面針對圖4A和圖4B所描述的,當充放電系統的電池從充電狀態切換到放電狀態時,放電顯示代碼生成模組400B中的每個顯示代碼比特生成單元440、450、460、470和480中的每一者的LATCH還接收由充電顯示代碼生成模組400A生成的Charge_code 321,以按照預定義的規則根據Charge_code 321輸出指定的訊號,例如,指定的位準或二進位數字。當充放電系統的電池從充電狀態向放電狀態轉換時,例如,充電顯示代碼生成模組400A生成的Charge_code 321為“000”,則放電顯示代碼生成模組400B中的每個顯示代碼比特生成單元440、450、460、470和480中的每一者的LATCH接收到代碼“000”,並且根據表2所 示的預定義的規則鎖定到對應的二進位數字,例如,“0”、“0”、“0”、“0”、“1”,從而放電顯示代碼生成模組400B輸出放電顯示代碼“10000”;例如,充電顯示代碼生成模組400A生成的Charge_code 321為“111”,則放電顯示代碼生成模組400B中的每個顯示代碼比特生成單元440、450、460、470和480中的每一者的LATCH接收到代碼“111”,並且根據表2所示的預定義的規則鎖定到對應的二進位數字,例如,“0”、“1”、“1”、“1”、“1”,從而放電顯示代碼生成模組400B輸出放電顯示代碼“11110”;其他情況類似,在此不作一一描述。 In conjunction with the description of FIGS. 4A and 4B above, when the battery of the charging and discharging system is switched from the charging state to the discharging state, each display code bit generating unit 440, 450, 460, 470 in the discharge display code generating module 400B The LATCH of each of and 480 also receives the Charge_code 321 generated by the charging display code generation module 400A to output a specified signal according to the Charge_code 321 according to a predefined rule, for example, a specified level or a binary number. When the battery of the charging and discharging system transitions from the charging state to the discharging state, for example, if the Charge_code 321 generated by the charging display code generation module 400A is "000", then each display code bit generation unit in the discharge display code generation module 400B The LATCH of each of 440, 450, 460, 470, and 480 received the code "000", and according to Table 2 The predefined rules shown are locked to the corresponding binary numbers, for example, "0", "0", "0", "0", "1", so that the discharge display code generation module 400B outputs the discharge display code "10000" "; For example, if the Charge_code 321 generated by the charging display code generation module 400A is "111", each of the display code bit generation units 440, 450, 460, 470, and 480 in the discharge display code generation module 400B The user’s LATCH receives the code "111" and locks it to the corresponding binary number according to the predefined rules shown in Table 2, for example, "0", "1", "1", "1", "1" , So that the discharge display code generation module 400B outputs the discharge display code "11110"; other situations are similar and will not be described here.

在充放電系統的電池完成充電顯示狀態到放電顯示狀態轉換的轉換後,放電顯示代碼生成模組400B的各個顯示代碼比特生成單元440、450、460、470和480按照各自的模式正常工作以更新放電顯示代碼。這樣一來,在完成顯示狀態轉換後,不會出現跳燈情況。 After the battery of the charging and discharging system completes the conversion from the charging display state to the discharging display state, the display code bit generating units 440, 450, 460, 470, and 480 of the discharge display code generating module 400B work normally according to their respective modes to update Discharge display code. In this way, after the completion of the display state conversion, there will be no light jumping.

圖5B示出了根據本發明的實施例的示例放電顯示狀態到充電顯示狀態轉換的示意圖。同樣地,以上面提到的使用四顆LED燈的情況為例,當放電時,LED燈可能的顯示狀態如下:4亮→3亮→2亮→1亮→1閃→全滅;當充電時,LED燈可能的顯示狀態如下:1閃→1亮1閃→2亮1閃→3亮1閃,對應於充電顯示代碼000→100→110→111。參照圖5B所示,當充放電系統從放電模式轉換到充電模式時:在LED燈處於放電顯示狀態全滅(00000)或1閃(10000)時,對應地轉換到充電顯示狀態1閃(000);在LED燈處於放電顯示狀態1亮(11000)時,對應地轉換到充電顯示狀態1亮1閃(100);在LED燈處於放電顯示狀態2亮(11100)時,對應地轉換到充電顯示狀態2亮1閃(110);在LED燈處於放電顯示狀態3亮(11110)或4亮(11111)時,對應地轉換到充電顯示狀態3亮1閃(111)。下面在表3中示出了放電顯示狀態到充電顯示狀態轉換的代碼轉換關係。 FIG. 5B shows a schematic diagram of an exemplary transition from a discharging display state to a charging display state according to an embodiment of the present invention. Similarly, taking the case of using four LED lights mentioned above as an example, when discharging, the possible display states of the LED lights are as follows: 4 on → 3 on → 2 on → 1 on → 1 flash → all off; when charging , The possible display states of the LED light are as follows: 1 flash→1 on and 1 flash→2 on and 1 flash→3 on and 1 flash, corresponding to the charging display code 000→100→110→111. Referring to Figure 5B, when the charging and discharging system is switched from the discharging mode to the charging mode: when the LED light is in the discharge display state, all off (00000) or 1 flash (10000), correspondingly switch to the charging display state 1 flash (000) ; When the LED lamp is in the discharge display state 1 on (11000), it will correspondingly switch to the charging display state 1 on and 1 flash (100); when the LED lamp is in the discharge display state 2 on (11100), it will correspondingly switch to the charging display State 2 is on and 1 flash (110); when the LED is in the discharge display state 3 on (11110) or 4 on (11111), it will correspondingly switch to charging display state 3 on and 1 flash (111). The following table 3 shows the code conversion relationship from the discharge display state to the charge display state.

Figure 109132777-A0101-12-0016-3
Figure 109132777-A0101-12-0016-3

Figure 109132777-A0101-12-0017-4
Figure 109132777-A0101-12-0017-4

結合上面針對圖4A和圖4B所描述的,當充放電系統的電池從放電狀態切換到充電狀態時,充電顯示代碼生成模組400A的第一到第三顯示代碼比特生成單元410、420和430中的每一者的LATCH還接收由放電顯示代碼生成模組400B生成的Discharge_code 322,以按照預定義的規則根據Discharge_code 322輸出指定的訊號,例如,指定的位準或二進位數字。當充放電系統的電池從放電狀態向充電狀態轉換時,例如,放電顯示代碼生成模組400B生成的Discharge_code 322“00000”或“10000”,則充電顯示代碼生成模組400A的第一到第三顯示代碼比特生成單元410、420和430中的每一者的LATCH接收到代碼“00000”或“10000”,並且根據表3所示的預定義的規則鎖定到對應的二進位數字,例如,“0”、“0”、“0”,從而充電顯示代碼生成模組400A輸出充電顯示代碼“000”;例如,放電顯示代碼生成模組400B生成的Discharge_code 322“11110”或“11111”,則充電顯示代碼生成模組400A的第一到第三顯示代碼比特生成單元410、420和430中的每一者的LATCH接收到代碼“11110”或“11111”,並且根據表3所示的預定義的規則鎖定到對應的二進位數字,例如,“1”、“1”、“1”,從而充電顯示代碼生成模組400A輸出充電顯示代碼“111”;其他情況類似,在此不作一一描述。 In conjunction with the description of FIGS. 4A and 4B above, when the battery of the charging and discharging system is switched from the discharging state to the charging state, the first to third display code bit generating units 410, 420, and 430 of the charging display code generating module 400A The LATCH of each of them also receives the Discharge_code 322 generated by the discharge display code generation module 400B to output a specified signal according to the Discharge_code 322 according to a predefined rule, for example, a specified level or a binary number. When the battery of the charging and discharging system transitions from the discharging state to the charging state, for example, the Discharge_code 322 "00000" or "10000" generated by the discharging display code generating module 400B, then the first to the third of the charging display code generating module 400A The LATCH showing each of the code bit generating units 410, 420, and 430 receives the code "00000" or "10000", and locks to the corresponding binary number according to the predefined rules shown in Table 3, for example, " 0", "0", "0", so that the charging display code generating module 400A outputs the charging display code "000"; for example, the Discharge_code 322 "11110" or "11111" generated by the discharging display code generating module 400B is charged The LATCH of each of the first to third display code bit generating units 410, 420, and 430 of the display code generating module 400A receives the code "11110" or "11111", and according to the predefined The rules are locked to the corresponding binary numbers, such as "1", "1", and "1", so that the charging display code generation module 400A outputs the charging display code "111"; other situations are similar, and will not be described here.

在充放電系統的電池完成放電顯示狀態到充電顯示狀態轉換的轉換後,充電顯示代碼生成模組400A的各個顯示代碼比特生成單元410、420和430按照各自的模式正常工作以更新充電顯示代碼。這樣一來,在完成顯示狀態轉換後,不會出現跳燈情況。 After the battery of the charging and discharging system completes the conversion from the discharging display state to the charging display state, the display code bit generating units 410, 420, and 430 of the charging display code generating module 400A work normally according to their respective modes to update the charging display code. In this way, after the completion of the display state conversion, there will be no light jumping.

需要指出的是,上面示出的充電/放電LED顯示狀態相互轉換的預定義規則僅僅是為了形象地說明本發明的基本原理而不用於限制本發明的範圍,在其他實施例中,可以根據實際需要定義不同的轉換規則, 在此不做具體限定。 It should be pointed out that the pre-defined rules for the mutual conversion of charging/discharging LED display states shown above are only used to illustrate the basic principles of the present invention and not to limit the scope of the present invention. In other embodiments, it can be based on actual conditions. Need to define different conversion rules, There is no specific limitation here.

下面參考圖6來描述根據本發明的實施例的用於充放電系統中的LED顯示控制的示例方法600。 Hereinafter, an exemplary method 600 for LED display control in a charging and discharging system according to an embodiment of the present invention will be described with reference to FIG. 6.

方法600包括,在步驟610,基於充放電系統中的電池的電壓訊號(Vbat_det)和充電狀態訊號(Charge_ena)、LED顯示使能訊號(Charge_ena)、以及多個預設電壓閾值訊號(Vth*),來生成充電顯示代碼(Charge_code)或放電顯示代碼(Discharge_code)。該步驟可以由例如圖2所示的顯示代碼生成器210來實現。 The method 600 includes, in step 610, based on the voltage signal (V bat_det ) and the charge state signal (Charge_ena) of the battery in the charging and discharging system, the LED display enable signal (Charge_ena), and a plurality of preset voltage threshold signals (V th * ) To generate charge display code (Charge_code) or discharge display code (Discharge_code). This step can be implemented by, for example, the display code generator 210 shown in FIG. 2.

方法600還包括,在步驟620,根據充電狀態訊號(Charge_ena)來對充電顯示代碼(Charge_code)或放電顯示代碼(Discharge_code)進行解碼以生成驅動訊號(LED_drive),該驅動訊號(LED_drive)用於驅動充放電系統的LED燈進行顯示。該步驟可以由例如圖2所示的解碼驅動器220來實現。 The method 600 further includes, in step 620, decoding the charge display code (Charge_code) or the discharge display code (Discharge_code) according to the charge status signal (Charge_ena) to generate a drive signal (LED_drive), and the drive signal (LED_drive) is used for driving The LED lights of the charging and discharging system display. This step can be implemented by, for example, the decoding driver 220 shown in FIG. 2.

本發明的實施例提供的用於充放電系統中的LED顯示控制的裝置和方法能夠實現充放電系統在充電模式下單調亮燈並且在放電模式下單調滅燈,而且在充電模式和放電模式相互轉換時不發生跳燈。此外,本發明的實施例提供的用於充放電系統中的LED顯示控制的裝置和方法還能夠使得充放電系統在開機時能夠快速捕捉電池電壓以進行LED顯示,並且在進行顯示更新時不受能夠感測到的短時間電池電壓波動的影響。 The device and method for LED display control in the charging and discharging system provided by the embodiments of the present invention can realize that the charging and discharging system monotonically lights up the lights in the charging mode and turns off the lights monotonously in the discharging mode, and the charging mode and the discharging mode interact with each other. No light bounce occurs during conversion. In addition, the device and method for LED display control in the charging and discharging system provided by the embodiments of the present invention can also enable the charging and discharging system to quickly capture the battery voltage for LED display when the charging and discharging system is turned on, and it is not affected when the display is updated. The impact of short-term battery voltage fluctuations that can be sensed.

本發明可以以其他的具體形式實現,而不脫離其精神和本質特徵。例如,特定實施例中所描述的演算法可以被修改,而系統體系結構並不脫離本發明的基本精神。因此,當前的實施例在所有方面都被看作是示例性的而非限定性的,本發明的範圍由所附申請專利範圍而非上述描述定義,並且,落入申請專利範圍的含義和等同物的範圍內的全部改變從而都被包括在本發明的範圍之中。 The present invention can be implemented in other specific forms without departing from its spirit and essential characteristics. For example, the algorithm described in the specific embodiment can be modified, and the system architecture does not deviate from the basic spirit of the present invention. Therefore, the current embodiments are regarded as illustrative rather than restrictive in all aspects, and the scope of the present invention is defined by the scope of the appended patent application rather than the above description, and falls within the meaning and equivalent of the scope of the patent application. All changes within the scope of things are thus included in the scope of the present invention.

200:LED顯示控制的裝置 200: LED display control device

210:顯示代碼生成器 210: Display code generator

220:解碼驅動器 220: Decoding drive

Charge_ena 202:充電狀態訊號 Charge_ena 202: charge status signal

Charge_code 211:充電顯示代碼 Charge_code 211: Charging display code

Discharge_code 212:放電顯示代碼 Discharge_code 212: Discharge display code

LED_ena 203:LED顯示使能訊號 LED_ena 203: LED display enable signal

LED_drive 221:驅動訊號 LED_drive 221: drive signal

Vbat_det 201:電壓訊號 V bat_det 201: Voltage signal

Vth* 204:預設電壓閾值訊號 V th* 204: preset voltage threshold signal

Claims (20)

一種用於充放電系統中的LED顯示控制的裝置,包括:顯示代碼生成器,被配置為基於所述充放電系統中的電池的電壓訊號和充電狀態訊號、LED顯示使能訊號、以及多個預設電壓閾值訊號,來生成充電顯示代碼或放電顯示代碼;以及解碼驅動器,被配置為根據所述充電狀態訊號來對所述充電顯示代碼或放電顯示代碼進行解碼以生成驅動訊號,所述驅動訊號用於驅動所述LED進行顯示。 A device for LED display control in a charging and discharging system includes: a display code generator configured to be based on a voltage signal and a charging state signal of a battery in the charging and discharging system, an LED display enable signal, and a plurality of A preset voltage threshold signal to generate a charging display code or a discharging display code; and a decoding driver configured to decode the charging display code or the discharging display code according to the charging state signal to generate a driving signal, the driving The signal is used to drive the LED for display. 如請求項1所述的裝置,其中,所述顯示代碼生成器包括:基礎時鐘訊號生成模組,用於基於所述LED顯示使能訊號生成基礎時鐘訊號;充電顯示代碼生成模組,用於基於所述基礎時鐘訊號、所述電壓訊號、以及所述預設電壓閾值訊號生成所述充電顯示代碼;以及放電顯示代碼生成模組,用於基於所述基礎時鐘訊號、所述電壓訊號、以及所述預設電壓閾值訊號生成所述放電顯示代碼;其中,所述充電顯示代碼生成模組還是所述放電顯示代碼生成模組被啟用取決於所述充電狀態訊號。 The device according to claim 1, wherein the display code generator includes: a basic clock signal generation module for generating a basic clock signal based on the LED display enable signal; and a charging display code generation module for Generate the charging display code based on the basic clock signal, the voltage signal, and the preset voltage threshold signal; and a discharge display code generating module for generating based on the basic clock signal, the voltage signal, and The predetermined voltage threshold signal generates the discharge display code; wherein, whether the charge display code generation module or the discharge display code generation module is activated depends on the charge state signal. 如請求項1或2所述的裝置,其中,所述充電顯示代碼是由第一數量的比特構成的二進位碼,並且所述放電顯示代碼是由第二數量的比特構成的二進位碼。 The device according to claim 1 or 2, wherein the charge display code is a binary code composed of a first number of bits, and the discharge display code is a binary code composed of a second number of bits. 如請求項3所述的裝置,其中,所述第一數量和所述第二數量分別與所述LED的數量有關。 The device according to claim 3, wherein the first number and the second number are respectively related to the number of the LEDs. 如請求項3所述的裝置,其中,所述第一數量與所述LED在充電過程中要顯示的狀態的總數有關,並且所述第二數量與所述LED在放電過程中要顯示的狀態的總數有關。 The device according to claim 3, wherein the first number is related to the total number of states to be displayed by the LED during charging, and the second number is related to the state to be displayed by the LED during discharging The total number is related. 如請求項2所述的裝置,其中,所述充電顯示代碼生成模組包括第一數量的顯示代碼比特生成單元,每個用於生成所述充電顯示代碼的一個 比特;並且所述放電顯示代碼生成模組包括第二數量的顯示代碼比特生成單元,每個用於生成所述放電顯示代碼的一個比特。 The device according to claim 2, wherein the charging display code generation module includes a first number of display code bit generating units, each of which is used to generate one of the charging display code Bit; and the discharge display code generation module includes a second number of display code bit generation units, each of which is used to generate one bit of the discharge display code. 如請求項6所述的裝置,其中,每個所述顯示代碼比特生成單元包括電壓感測比較器、延遲組件、以及栓鎖組件:所述電壓感測比較器用於將所述電壓訊號與對應的一個預設電壓閾值訊號進行比較以生成比較訊號;所述延遲組件用於基於所述基礎時鐘訊號對所述比較訊號進行延遲處理以生成經延遲訊號;並且所述栓鎖組件用於對所述經延遲訊號進行鎖定。 The device according to claim 6, wherein each of the display code bit generating units includes a voltage sensing comparator, a delay component, and a latch component: the voltage sensing comparator is used to compare the voltage signal with the corresponding Compares a preset voltage threshold signal to generate a comparison signal; the delay component is used to delay the comparison signal based on the basic clock signal to generate a delayed signal; and the latch component is used to The delay signal is used to lock. 如請求項7所述的裝置,其中,當所述充放電系統從放電模式切換到充電模式時,所述充電顯示代碼生成模組中的每個所述顯示代碼比特生成單元中的所述栓鎖組件還接收來自所述放電顯示代碼生成模組的所述放電顯示代碼,以按照預定義的規則根據所述放電顯示代碼輸出指定的訊號。 The device according to claim 7, wherein, when the charging and discharging system is switched from the discharging mode to the charging mode, the plug in each of the display code bit generating units in the charging display code generating module The lock component also receives the discharge display code from the discharge display code generation module to output a designated signal according to the discharge display code according to a predefined rule. 如請求項7所述的裝置,其中,當所述充放電系統從充電模式切換到放電模式時,所述放電顯示代碼生成模組中的每個所述顯示代碼比特生成單元中的所述栓鎖組件還接收來自所述充電顯示代碼生成模組的所述充電顯示代碼,以按照預定義的規則根據所述充電顯示代碼輸出指定的訊號。 The device according to claim 7, wherein, when the charging and discharging system is switched from the charging mode to the discharging mode, the plug in each of the display code bit generating units in the discharge display code generating module The lock component also receives the charging display code from the charging display code generating module to output a designated signal according to the charging display code according to a predefined rule. 如請求項7所述的裝置,其中,與所述第一數量的顯示代碼比特生成單元中的每個相對應的預設電壓閾值按照要生成的比特將作為所述充電顯示代碼的最高有效比特到最低有效比特的順序遞增,並且與所述第二數量的顯示代碼比特生成單元中的每個相對應的預設電壓閾值按照要生成的比特將作為所述放電顯示代碼的最低有效比特到最高有效比特的順序遞減。 The device according to claim 7, wherein the preset voltage threshold corresponding to each of the first number of display code bit generating units will be the most significant bit of the charging display code according to the bit to be generated The order of the least significant bit is increasing, and the preset voltage threshold corresponding to each of the second number of display code bit generating units will be the least significant bit of the discharge display code to the highest according to the bit to be generated. The order of valid bits decreases. 如請求項10所述的裝置,其中,在所述充電顯示代碼生成模組中,當按照要生成的比特將作為所述充電顯示代碼的最高有效比特到最低有效比特的順序在前的所述顯示代碼比特生成單元的輸出為1時,所有後續顯示代碼比特生成單元的功能被啟用;否則,所有後續顯示代碼比特生成單元輸出0。 The device according to claim 10, wherein, in the charging display code generation module, when the bits to be generated will be the most significant bit to the least significant bit of the charging display code, the first When the output of the display code bit generating unit is 1, the functions of all subsequent display code bit generating units are enabled; otherwise, all subsequent display code bit generating units output 0. 如請求項10所述的裝置,其中,在所述放電顯示代碼生成模組中,當要生成的比特將作為所述放電顯示代碼的最低有效比特到最高有效比特的順序在前的所述顯示代碼比特生成單元的輸出為0時,所有後續顯示代碼比特生成單元的功能被啟用;否則,所有後續顯示代碼比特生成單元輸出1。 The device according to claim 10, wherein, in the discharge display code generation module, when the bit to be generated will be the least significant bit of the discharge display code to the most significant bit, the order of the first display When the output of the code bit generating unit is 0, the functions of all subsequent display code bit generating units are enabled; otherwise, all subsequent display code bit generating units output 1. 一種用於充放電系統中的LED顯示控制的方法,包括:基於所述充放電系統中的電池的電壓訊號和充電狀態訊號、LED顯示使能訊號、以及多個預設電壓閾值訊號,來生成充電顯示代碼或放電顯示代碼;並且根據所述充電狀態訊號來對所述充電顯示代碼或放電顯示代碼進行解碼以生成驅動訊號,所述驅動訊號用於驅動所述LED進行顯示。 A method for LED display control in a charging and discharging system includes: generating based on a voltage signal and a charging state signal of a battery in the charging and discharging system, an LED display enable signal, and a plurality of preset voltage threshold signals Charging display code or discharging display code; and decoding the charging display code or discharging display code according to the charging state signal to generate a driving signal, and the driving signal is used to drive the LED for display. 如請求項13所述的方法,其中,生成所示充電顯示代碼或所示放電顯示代碼包括:當所述充電狀態訊號指示所述充放電系統處於充電模式時,基於基礎時鐘訊號、所述電壓訊號、以及所述預設電壓閾值訊號生成所述充電顯示代碼;或者當所述充電狀態訊號指示所述充放電系統處於放電模式時,基於所述基礎時鐘訊號、所述電壓訊號、以及所述預設電壓閾值訊號生成所述放電顯示代碼;其中,所述基礎時鐘訊號是基於所述LED顯示使能訊號而生成的。 The method according to claim 13, wherein generating the charging display code or the discharging display code includes: when the charging state signal indicates that the charging and discharging system is in a charging mode, based on a basic clock signal, the voltage Signal and the preset voltage threshold signal to generate the charging display code; or when the charging status signal indicates that the charging and discharging system is in the discharging mode, based on the basic clock signal, the voltage signal, and the A preset voltage threshold signal generates the discharge display code; wherein, the basic clock signal is generated based on the LED display enable signal. 如請求項13或14所述的方法,其中,所述充電顯示代碼是由第一數量的比特構成的二進位碼,並且所述放電顯示代碼是由第二數量的比特構成的二進位碼。 The method according to claim 13 or 14, wherein the charge display code is a binary code composed of a first number of bits, and the discharge display code is a binary code composed of a second number of bits. 如請求項15所述的方法,其中,所述第一數量與所述LED在充電過程中要顯示的狀態的總數有關,並且所述第二數量與所述LED在放電過程中要顯示的狀態的總數有關。 The method according to claim 15, wherein the first number is related to the total number of states to be displayed by the LED during charging, and the second number is related to the state to be displayed by the LED during discharging The total number is related. 如請求項15所述的方法,其中,當所述充電狀態訊號指示所述充 放電系統處於所述充電模式時,基於所述基礎時鐘訊號、所述電壓訊號、以及所述預設電壓閾值訊號生成所述充電顯示代碼包括:通過如下步驟,按照從最高有效比特到最低有效比特的順序依次生成所述充電顯示代碼的每一比特:將所述電壓訊號與對應的一個預設電壓閾值訊號進行比較以生成比較訊號;基於所述基礎時鐘訊號對所述比較訊號進行延遲處理以生成經延遲訊號;並且對所述經延遲訊號進行鎖定以作為所述比特;其中,所述對應的預設電壓閾值按照所述從最高有效比特到最低有效比特的順序遞增。 The method according to claim 15, wherein, when the charging state signal indicates the charging When the discharging system is in the charging mode, generating the charging display code based on the basic clock signal, the voltage signal, and the preset voltage threshold signal includes the following steps: from the most significant bit to the least significant bit To generate each bit of the charging display code in sequence: compare the voltage signal with a corresponding preset voltage threshold signal to generate a comparison signal; delay processing the comparison signal based on the basic clock signal to A delayed signal is generated; and the delayed signal is locked as the bit; wherein the corresponding preset voltage threshold increases in the order from the most significant bit to the least significant bit. 如請求項15所述的方法,其中,當所述充電狀態訊號指示所述充放電系統處於所述放電模式時,基於所述基礎時鐘訊號、所述電壓訊號、以及所述預設電壓閾值訊號生成所述放電顯示代碼包括:通過如下步驟,按照從最低有效比特到最高有效比特的順序依次生成所述放電顯示代碼的每一比特:將所述電壓訊號與對應的預設電壓閾值訊號進行比較以生成比較訊號;基於所述基礎時鐘訊號對所述比較訊號進行延遲處理以生成經延遲訊號;並且對所述經延遲訊號進行鎖定以作為所述比特;其中,所述對應的預設電壓閾值按照所述從最低有效比特到最高有效比特的順序遞減。 The method according to claim 15, wherein when the charging state signal indicates that the charging and discharging system is in the discharging mode, based on the basic clock signal, the voltage signal, and the preset voltage threshold signal Generating the discharge display code includes: generating each bit of the discharge display code in sequence from the least significant bit to the most significant bit through the following steps: comparing the voltage signal with a corresponding preset voltage threshold signal To generate a comparison signal; delay processing the comparison signal based on the basic clock signal to generate a delayed signal; and lock the delayed signal as the bit; wherein, the corresponding preset voltage threshold Decrease in the order from the least significant bit to the most significant bit. 如請求項15所述的方法,其中,當所述充電狀態訊號指示所述充放電系統從放電模式切換到充電模式時,按照預定義的規則根據所述放電顯示代碼輸出指定的充電顯示代碼。 The method according to claim 15, wherein when the charging state signal indicates that the charging and discharging system is switched from the discharging mode to the charging mode, outputting a specified charging display code according to the discharging display code according to a predefined rule. 如請求項15所述的方法,其中,當所述充電狀態訊號指示所述充 放電系統從充電模式切換到放電模式時,按照預定義的規則根據所述充電顯示代碼輸出指定的放電顯示代碼。 The method according to claim 15, wherein, when the charging state signal indicates the charging When the discharging system switches from the charging mode to the discharging mode, it outputs a specified discharge display code according to the charging display code according to a predefined rule.
TW109132777A 2020-08-10 2020-09-22 Device and method for LED display control in charging and discharging system TWI748659B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010793599.4A CN111951719B (en) 2020-08-10 2020-08-10 Apparatus and method for LED display control in charge-discharge system
CN202010793599.4 2020-08-10

Publications (2)

Publication Number Publication Date
TWI748659B true TWI748659B (en) 2021-12-01
TW202207756A TW202207756A (en) 2022-02-16

Family

ID=73332672

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109132777A TWI748659B (en) 2020-08-10 2020-09-22 Device and method for LED display control in charging and discharging system

Country Status (2)

Country Link
CN (1) CN111951719B (en)
TW (1) TWI748659B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114617594B (en) * 2020-12-11 2023-12-08 江苏风和医疗器材股份有限公司 Electric anastomat and electric quantity display method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368193A (en) * 2012-03-30 2013-10-23 中国电力科学研究院 Method for distribution real-time power of battery energy storage power station for tracking planned output
TWI435194B (en) * 2011-03-29 2014-04-21 Univ Nat Kaohsiung 1St Univ Sc Lighting monitoring system
TW201521324A (en) * 2013-11-28 2015-06-01 Univ Nan Kai Technology Programmable charging system and method thereof
CN106385076A (en) * 2016-10-26 2017-02-08 珠海市魅族科技有限公司 Charging input and output control devices, terminal, charging equipment and control method
CN107852028A (en) * 2015-07-24 2018-03-27 Lg伊诺特有限公司 Wireless charging device for vehicle
US20180267586A1 (en) * 2017-03-14 2018-09-20 Samsung Electronics Co., Ltd. Charge control method and electronic device based on voltage of battery
CN110126716A (en) * 2019-06-17 2019-08-16 上汽大众汽车有限公司 Indicate the circuit for lamp of charge capacity

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1050355A (en) * 1996-07-31 1998-02-20 Technical Design Syst:Kk Battery charge capacity display device
CN1219218C (en) * 1999-10-18 2005-09-14 神基科技股份有限公司 Charge or discharge state indicator of battery for protable electronic products
JP2001197675A (en) * 2000-01-11 2001-07-19 Nitsuko Corp Charging method for portable terminal with bar code reader and device therefor
CN1146771C (en) * 2000-09-01 2004-04-21 英业达股份有限公司 Method and device for indicating battery energy by LEDs on computer
US7279958B1 (en) * 2006-02-27 2007-10-09 National Semiconductor Corporation Synthesized resonation for an EL driver circuit
JP4917702B1 (en) * 2011-02-23 2012-04-18 パイオニア株式会社 Battery level detection method, battery level detection device, and audio signal reproduction device
US10314123B1 (en) * 2012-06-15 2019-06-04 Aleddra Inc. Solid-state lighting with multiple control voltages
CN203747479U (en) * 2014-03-21 2014-07-30 深圳天源中芯半导体有限公司 Battery electric quantity indicating circuit used for portable power supply
CN103887856A (en) * 2014-03-21 2014-06-25 浪潮电子信息产业股份有限公司 Charging and discharging strategy and electric quantity display method of battery of Feiteng portable computer made in China
CN203859565U (en) * 2014-05-23 2014-10-01 无锡英诺浦斯微电子有限公司 Detection display device for electric quantity of battery
CN204886324U (en) * 2015-08-27 2015-12-16 山西省交通科学研究院 Power management and battery indicator system
US9841466B2 (en) * 2015-12-30 2017-12-12 Thunder Power New Energy Vehicle Development Company Limited Dynamic battery level indicator
CN205595823U (en) * 2016-03-04 2016-09-21 厦门芯阳科技股份有限公司 Battery power manages circuit
CN206673634U (en) * 2017-04-06 2017-11-24 广州必备电子科技有限公司 One kind collection discharge and recharge multifunctional circuit
CN107196374B (en) * 2017-07-04 2019-10-08 南京矽力杰半导体技术有限公司 Battery capacity indicating circuit and method and battery management integrated circuit
CN109301887A (en) * 2018-08-08 2019-02-01 深圳市德赛微电子技术有限公司 A kind of unidirectional single lattice indicating circuit of battery capacity and method with internal resistance compensation
CN209282864U (en) * 2018-12-05 2019-08-20 上海钛米机器人科技有限公司 A kind of electric quantity detection apparatus and power supply system
CN110165746A (en) * 2019-06-11 2019-08-23 深圳市傲天汇鑫科技有限公司 The battery capacity monitoring method and system of single-chip microcontroller based on built-in voltage comparator
CN210957879U (en) * 2019-12-26 2020-07-07 江苏紫米电子技术有限公司 Electric quantity display device and electronic equipment
CN111030250B (en) * 2019-12-27 2021-06-25 北京锐安科技有限公司 Battery state indicating circuit and indicating method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI435194B (en) * 2011-03-29 2014-04-21 Univ Nat Kaohsiung 1St Univ Sc Lighting monitoring system
CN103368193A (en) * 2012-03-30 2013-10-23 中国电力科学研究院 Method for distribution real-time power of battery energy storage power station for tracking planned output
TW201521324A (en) * 2013-11-28 2015-06-01 Univ Nan Kai Technology Programmable charging system and method thereof
CN107852028A (en) * 2015-07-24 2018-03-27 Lg伊诺特有限公司 Wireless charging device for vehicle
CN106385076A (en) * 2016-10-26 2017-02-08 珠海市魅族科技有限公司 Charging input and output control devices, terminal, charging equipment and control method
US20180267586A1 (en) * 2017-03-14 2018-09-20 Samsung Electronics Co., Ltd. Charge control method and electronic device based on voltage of battery
CN110126716A (en) * 2019-06-17 2019-08-16 上汽大众汽车有限公司 Indicate the circuit for lamp of charge capacity

Also Published As

Publication number Publication date
TW202207756A (en) 2022-02-16
CN111951719B (en) 2023-05-23
CN111951719A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
TWI581661B (en) A device of colorful lantern controlled by edge signal through power line
EP2765834B1 (en) Led illumination device
CN108633126B (en) Linear high-power-factor constant-current non-stroboscopic LED driving circuit and method
US9035575B2 (en) LED lighting device with improved modulation depth
US20080122375A1 (en) Light emitting diode lamp assembly
JP6723064B2 (en) Ground fault detection circuit, abnormality detection circuit, light emitting device, vehicle
TWI748659B (en) Device and method for LED display control in charging and discharging system
CN103929854A (en) LED drive device and LED dimming controller thereof
CN102387628A (en) LED (Light-Emitting Diode) dimming control circuit
TW200937369A (en) The circuit and method for driving strings of light emitting diode
US10470265B1 (en) PWM signal control circuit for driving chip and LED driving chip for automotive reading lamp
CN103974501A (en) Holding current circuit of light emitting diode driving device and operation method thereof
JP6009205B2 (en) Semiconductor light source lighting circuit
CN106804081B (en) Light adjusting circuit and dimming controlling method
CN102098823A (en) Light emitting device
DE602005004167D1 (en) Electrical circuit for LED signal lamps with a switching threshold for switching between daytime and nighttime operation
CN204559932U (en) Controller applied to street lamp
CN105576951A (en) Current limiting method, current limiting-constant current combined power circuit and control method thereof
EP3030051A1 (en) Signal converter circuit for dimming of a light source
TW201311045A (en) Light source device and dimming control circuit thereof
CN107710872B (en) LED light source with improved aura reduction
CN108156713A (en) A kind of adaptive LED lamp
WO2020195478A1 (en) Light-emitting element drive device
US9301351B2 (en) Driving circuit and driving method for light-emitting diode
CN115379616A (en) Parallel sequenced light-emitting diode lamp string