Button switch circuit for capacity indication and battery system
By integrating the switch button and the capacity indicator light, and using hardware circuit design to realize real-time battery capacity display, it solves the problems of complex structure and high cost of the traditional battery system, and achieves a lightweight, portable and efficient battery capacity indication function.
Patent Information
- Application Number
- CN202420127304.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2034-01-18
AI Technical Summary
In traditional battery systems, the switch button and the capacity indicator light are separated, resulting in a complex structure, high cost, large size, and inportability. It also requires software development, which increases the difficulty and cost of development.
Integrate the switch button and the capacity indicator light, and realize real-time battery capacity display through hardware circuit design. No software is required. Comparators, light-emitting diodes and film translucent button covers are used to provide real-time feedback of battery capacity through the battery voltage acquisition module, simplifying the circuit structure. .
It reduces the cost and size of the equipment, makes the battery system more lightweight and portable, enhances the user experience, reduces the difficulty of development, and is suitable for mobile devices such as power banks and portable fans.
Smart Images

Figure CN221651590U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of button switches, in particular to a button switch circuit and a battery system for capacity indication. Background Art
[0002] In traditional battery systems, the switch button and capacity indicator light are separated, which makes the device structure more complicated. In addition, the design of the switch button and capacity indicator light in traditional battery systems often requires more parts or requires software development, which increases the cost of time, manpower and material resources. In addition, the switch button and capacity indicator light are set separately, which makes the device itself larger and less portable, and also brings inconvenience to users. Utility Model Content
[0003] In view of this, the purpose of the utility model is to provide a button switch circuit and a battery system for capacity indication. By combining the switch button and the capacity indicator light into one, the circuit can be implemented only with hardware design, without the need for software, and has low development difficulty. The real-time battery capacity status is displayed through the switch button to remind the user of low power, thereby realizing low-cost capacity indication and button switch functions and reducing the size of the equipment.
[0004] In order to achieve the above purpose, the utility model adopts the following technical solutions:
[0005] A button switch circuit for capacity indication comprises a switch circuit, a switch button, a capacity indicator light circuit, a first indicator light and a second indicator light.
[0006] A first end of the capacity indicator light circuit is connected to the first indicator light, a second end of the capacity indicator light circuit is connected to the second indicator light, a third end of the capacity indicator light circuit is connected to one end of the switch button after passing through one end of the power-on / off circuit, and the other end of the switch button is connected to a battery voltage acquisition module that obtains the current battery capacity according to the current battery voltage value after passing through the other end of the power-on / off circuit.
[0007] Wherein, the switch button is at least composed of a button cover containing a light-transmissive film, which is used to display the battery capacity indication through the button cover.
[0008] In the present utility model, the capacity indicator light circuit at least includes:
[0009] Comparator U1, resistor R1, resistor R2, resistor R3 and resistor R4.
[0010] Among them, the inverting input terminal of the comparator U1 is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the power supply voltage VCC. The inverting input terminal of the comparator U1 is also connected to one end of the resistor R2, and the other end of the resistor R2 is grounded; the non-inverting input terminal of the comparator U1 is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to the reference voltage VREF. The non-inverting input terminal of the comparator U1 is also connected to one end of the resistor R4, and the other end of the resistor R4 is grounded; the output terminal of the comparator U1 is respectively connected to one end of the first indicator light and one end of the second indicator light, the other end of the first indicator light is connected to the reference voltage VREF, and the other end of the second indicator light is connected to the reference voltage VREF.
[0011] In the present invention, the first indicator light at least includes a light emitting diode D1 and a resistor R5.
[0012] The cathode of the light emitting diode D1 is connected to the output end of the comparator U1 , the anode of the light emitting diode D1 is connected to one end of the resistor R5 , and the other end of the resistor R5 is connected to the reference voltage VREF.
[0013] In the present invention, the second indicator light at least includes a light emitting diode D2 and a resistor R6.
[0014] The positive electrode of the light emitting diode D1 is connected to the output end of the comparator U1 and also connected to one end of the resistor R6. The other end of the resistor R6 is connected to the reference voltage VREF. The negative electrode of the light emitting diode D1 is grounded.
[0015] In the present invention, the battery capacity indication condition includes that the current battery capacity is not less than the preset capacity value.
[0016] When the current battery capacity is not lower than the preset capacity value, the light emitting diode D2 is lit and the light emitting diode D1 is off, as shown through the button cover in the button switch.
[0017] In the present invention, the battery capacity indication condition also includes that the current battery capacity is lower than the preset capacity value.
[0018] When the current battery capacity is lower than the preset capacity value, the light emitting diode D1 is lit and the light emitting diode D2 is off as shown through the button cover in the button switch.
[0019] In the present invention, the switch circuit at least includes a self-locking switch or a self-resetting switch.
[0020] In order to achieve the above purpose, the utility model also adopts the following technical solutions:
[0021] A battery system comprises at least one of the button switch circuits for capacity indication as described above.
[0022] Compared with the prior art, the beneficial effects of the utility model are:
[0023] The utility model proposes a button switch circuit and battery system for capacity indication. Through pure hardware circuit design, the switch button and the capacity indicator light are integrated together, which reduces the required parts and complex structures, thereby reducing the manufacturing cost. The integrated design not only reduces the cost, but also reduces the size of the device. This makes the battery system more lightweight and portable, suitable for various mobile devices, such as power banks, portable energy storage, and portable fans. By combining with the battery voltage acquisition module, the system can display the current battery capacity in real time, remind users to pay attention to the power status, and enhance the user experience. The utility model does not need to rely on software, and can realize the function only through a simple hardware circuit. This reduces the difficulty of development and makes it easier to produce, implement and promote the product. The circuit design is suitable for various battery systems, and provides a simple and efficient capacity indication and switch function for power banks, portable energy storage, portable fans and other devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a schematic diagram of the system framework of a button switch for capacity indication in a preferred embodiment of the utility model;
[0025] Figure 2 This is a schematic diagram of the structural frame of a button cover in a preferred embodiment of the utility model;
[0026] Figure 3 The utility model is a circuit schematic diagram of a capacity indicator light circuit in a preferred embodiment.
[0027] Among them, 100 is a button cover; 101 is a first light-proof portion of the film; 102 is a light-transmitting portion of the film; 103 is a second light-proof portion of the film. DETAILED DESCRIPTION
[0028] In order to facilitate the understanding of the present invention, the present invention will be described more comprehensively with reference to the accompanying drawings. The accompanying drawings provide preferred embodiments of the present invention. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.
[0029] Embodiment 1:
[0030] Please refer to Figure 1 In a preferred embodiment, a button switch circuit for capacity indication includes a power on / off circuit, and also includes: a switch button, a capacity indicator light circuit, a first indicator light and a second indicator light.
[0031] It should be noted that the on / off circuit is responsible for controlling the on / off state of the entire circuit, so that the user can control the on / off state of the circuit through the on / off button.
[0032] A first end of the capacity indicator light circuit is connected to the first indicator light, a second end of the capacity indicator light circuit is connected to the second indicator light, a third end of the capacity indicator light circuit is connected to one end of the switch button after passing through one end of the power-on / off circuit, and the other end of the switch button is connected to a battery voltage acquisition module that obtains the current battery capacity according to the current battery voltage value after passing through the other end of the power-on / off circuit.
[0033] It should be noted that the capacity indicator light circuit is divided into three ends, the first end is connected to the first indicator light, the second end is connected to the second indicator light, and the third end is connected to one end of the switch button after passing through one end of the switch circuit. This connection method ensures that the state of the capacity indicator light is controlled by the switch button and the switch circuit.
[0034] In this embodiment, the battery voltage acquisition module is connected to the other end of the switch button, and the current battery capacity is obtained according to the current battery voltage value through the other end of the switch circuit. This ensures that the display of the battery capacity is based on the actual battery voltage value.
[0035] The switch button is at least composed of a button cover 100 containing a light-transmitting film, and is used to display the battery capacity indication through the button cover 100.
[0036] Preferably, as attached Figure 2 As shown, the top view of the outer surface of the button cover 100 of the switch button is a circle, which includes a first film opaque portion 101, a film translucent portion 102 and a second film opaque portion 103. The outer surface of the button cover 100 can also be other shapes, such as a square, but is not limited thereto.
[0037] It should be noted that the switch button is formed by a button cover 100 containing a light-transmitting film, and the outer surface of the button cover 100 is circular in top view. The circle includes a first part 101 of the film that is not light-transmitting, a light-transmitting part 102 of the film, and a second part 103 of the film that is not light-transmitting. This design allows the button to display the battery capacity indication through the button cover 100 in different states.
[0038] For example, the green LED and the red LED indicate the capacity range. Assume that the green light indicates that the capacity is greater than 20%, and the red light indicates that the capacity is less than 20%. Then, by pressing the film on the surface of the device, the button switch below is activated, and the power is supplied to the back stage through the switch circuit to start working. At this time, the capacity indicator light can control the green light or the red light according to the capacity of the battery system. Through the light-transmitting part of the film, the user can directly observe the capacity. In this way, the capacity size is displayed at the switch button in the battery system, and the red light reminds the user that the power is low, realizing low-cost capacity indication and key switch functions.
[0039] In this embodiment, the user can intuitively understand the battery capacity by observing the light-transmitting portion on the button cover 100. The light-transmitting portion in different states displays different indicator light states, for example, green indicates sufficient power and red indicates insufficient power. The switch button and the capacity indicator light are combined together to simplify the circuit structure and reduce costs. This integrated design realizes the functions of switch and capacity indication at the same time, improving the practicality and portability of the device.
[0040] Since the capacity indicator light is controlled by the switch button and the switch circuit, the circuit can provide real-time feedback on the battery capacity when the user operates the switch button, improving the user experience. This design enables the button switch circuit to achieve a better integration effect in terms of capacity indication and switch function.
[0041] Furthermore, as attached Figure 3 As shown, in this embodiment, the capacity indicator light circuit at least includes:
[0042] Comparator U1, resistor R1, resistor R2, resistor R3 and resistor R4.
[0043] Among them, the inverting input terminal of the comparator U1 is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the power supply voltage VCC. The inverting input terminal of the comparator U1 is also connected to one end of the resistor R2, and the other end of the resistor R2 is grounded; the non-inverting input terminal of the comparator U1 is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to the reference voltage VREF. The non-inverting input terminal of the comparator U1 is also connected to one end of the resistor R4, and the other end of the resistor R4 is grounded; the output terminal of the comparator U1 is respectively connected to one end of the first indicator light and one end of the second indicator light, the other end of the first indicator light is connected to the reference voltage VREF, and the other end of the second indicator light is connected to the reference voltage VREF.
[0044] It should be noted that the comparator U1 determines the size of the input signal by the voltage difference between the inverting input and the non-inverting input. Here, R1 and R2 form a voltage divider network to divide the supply voltage VCC to the inverting input of the comparator. R3 and R4 form another voltage divider network to divide the reference voltage VREF to the non-inverting input of the comparator.
[0045] According to the output of the comparator U1, it is possible to determine whether the battery voltage is high or low relative to the reference voltage. According to different voltage states, the connection states of the first and second indicator lights will change, thereby realizing the indication of capacity.
[0046] By connecting to the reference voltage VREF, the reference of the comparator U1 can be adjusted, thereby controlling the threshold of the capacity indication. In this way, the user can adjust the display standard of the battery capacity as needed. Among them, VREF is the reference voltage, which is obtained by VCC through a reference voltage circuit, such as a TL431 reference voltage circuit, etc., but is not limited to this.
[0047] The above design enables the capacity indicator light circuit to reflect the capacity status of the battery in real time according to the difference in battery voltage, providing users with intuitive power indication.
[0048] In the present invention, the first indicator light at least includes a light emitting diode D1 and a resistor R5.
[0049] The cathode of the light emitting diode D1 is connected to the output end of the comparator U1 , the anode of the light emitting diode D1 is connected to one end of the resistor R5 , and the other end of the resistor R5 is connected to the reference voltage VREF.
[0050] It should be noted that the output signal of the comparator U1 is connected to the light-emitting diode D1 to control the first indicator light. When the comparator U1 determines that the battery voltage meets the set conditions, the output signal causes D1 to emit light. The light-emitting diode D1 is used as the light source of the first indicator light, and its light-emitting effect is used to indicate the battery capacity status. Different light-emitting states may represent sufficient power, normal power or insufficient power, etc.
[0051] By connecting to the positive electrode of the LED, the resistor R5 plays a role of current limiting to ensure the normal operation of the LED. At the same time, R5 is connected to the reference voltage VREF to help control the brightness and working state of the LED.
[0052] The above design enables the first indicator light to display the capacity of the battery in real time according to the output state of the comparator, thereby providing an intuitive power indication for the user.
[0053] In the present invention, the second indicator light at least includes a light emitting diode D2 and a resistor R6.
[0054] The positive electrode of the light emitting diode D1 is connected to the output end of the comparator U1 and also connected to one end of the resistor R6. The other end of the resistor R6 is connected to the reference voltage VREF. The negative electrode of the light emitting diode D1 is grounded.
[0055] It should be noted that the output signal of the comparator U1 is connected to the light-emitting diode D2 to control the second indicator light. When the comparator U1 determines that the battery voltage meets the set conditions, the output signal causes D2 to emit light. The light-emitting diode D2 serves as the light source of the second indicator light, and its light-emitting effect is used to indicate the battery capacity status. Different light-emitting states can represent sufficient power, normal power or insufficient power, etc., but are not limited thereto.
[0056] By connecting to the positive electrode of the LED, the resistor R6 plays a role of current limiting to ensure the normal operation of the LED. At the same time, R6 is connected to the reference voltage VREF to help control the brightness and working state of the LED.
[0057] The above design enables the second indicator light to display the capacity of the battery in real time according to the output state of the comparator, thereby providing the user with an intuitive power indication.
[0058] In the present invention, the battery capacity indication condition includes that the current battery capacity is not less than the preset capacity value.
[0059] When the current battery capacity is not lower than the preset capacity value, the button cover 100 in the button switch shows that the LED D2 is lit and the LED D1 is off.
[0060] It should be noted that there is a corresponding relationship between the capacity of a battery and the voltage. The present application obtains the capacity of a battery or a battery pack by judging the battery voltage or the battery pack voltage.
[0061] For example, when the battery capacity is greater than 20%, the voltage divided by the resistor of VCC is greater than the voltage divided by the resistor of VREF, and the output of the comparator U1 is an open-drain output. At this time, in the loop where the light-emitting diode D1 is located, there is not enough current in the loop from the comparator U1 to the ground, and there is not enough voltage drop in the loop from the light-emitting diode D2 to the ground. Among them, the LED voltage drop is about 2V, and the VREF voltage needs to be controlled to be less than 4V, such as 3.3V. At the same time, the green light of the light-emitting diode D2 can be lit, while the light-emitting diode D1 will not light up.
[0062] In the present invention, the battery capacity indication condition also includes that the current battery capacity is lower than the preset capacity value.
[0063] When the current battery capacity is lower than the preset capacity value, the button cover 100 in the button switch shows that the LED D1 is lit and the LED D2 is off.
[0064] It should be noted that, for example, when the battery capacity is less than 20%, the voltage divided by the resistor of VCC is smaller than the voltage divided by the resistor of VREF, and the output of the comparator outputs a low level. The circuit where the light-emitting diode D1 is located has sufficient voltage and current and can be lit. At the same time, the light-emitting diode D2 does not have sufficient voltage difference and is extinguished.
[0065] In this embodiment, the power on / off circuit includes at least a self-locking switch or a self-resetting switch. When the power on / off circuit uses a separate self-locking button switch, the circuit can be controlled to be on or off; when the power on / off circuit uses a self-resetting button switch, the circuit is controlled to be on or off via a one-button power on / off circuit, but the present invention is not limited thereto.
[0066] Preferably, the self-locking switch can be composed of a button, and the user changes the state of the circuit by pressing the button. After pressing the button, the switch remains in the closed state, and the circuit on-off state remains until the button is pressed again.
[0067] The user controls the on / off state of the circuit by pressing the self-locking button switch. This design is simple and intuitive, and the user can realize the switch function through manual operation.
[0068] Preferably, the self-resetting switch can be composed of a button, and the on-off state of the circuit is controlled by a one-button switch circuit. After pressing the button, the on-off state of the circuit changes, but the button will automatically bounce back to its original position.
[0069] The user triggers the one-button switch circuit by pressing the self-resetting push button switch, thereby changing the on-off state of the circuit. Unlike the self-locking switch, the self-resetting switch does not require the user to manually keep the button pressed, and the circuit state still changes after the button is released.
[0070] In summary, the self-locking switch is suitable for scenarios where the state needs to be maintained manually, while the self-resetting switch is suitable for scenarios where the switch function is desired to be realized with one button. This design allows users to easily control the on and off state of the circuit, improving the usability of the battery system.
[0071] Embodiment 2:
[0072] In a preferred embodiment, a battery system is provided, the battery system comprising at least one of the button switch circuits for capacity indication as described above.
[0073] Preferably, it is assumed that the battery system consists of:
[0074] Battery unit: provides power energy and is the core component of the entire system.
[0075] Battery protection circuit: used to monitor and protect the battery, prevent overcharging, overdischarging, overcurrent and other problems, and ensure the safe operation of the battery. Ensure that the battery operates within a safe range, prevent overcharging and overdischarging and other problems, and improve the battery life and safety.
[0076] Battery Management System (BMS): Responsible for managing the battery's charge and discharge process, optimizing battery performance, and ensuring the long life and safe operation of the battery pack. It balances the charge and discharge differences between battery cells to achieve effective battery management and protection.
[0077] Battery system controller: controls the operation of the entire battery system and works with the BMS to ensure effective management and use of the battery. It controls the operation of the entire battery system and switches between charging, discharging and standby states as needed to ensure efficient operation of the battery system.
[0078] The capacity indication button switch circuit includes the power on / off circuit, the switch button, the capacity indicator light circuit, the first and second indicator lights, and other components, which are used to realize the capacity indication and switch functions. Through the button switch circuit, the user can control the battery system on and off. Through the capacity indicator light, the current capacity of the battery is intuitively displayed, which improves the user's perception of the battery status. The integrated design reduces costs, reduces the size of the device, and improves the portability of the device.
[0079] In summary, the battery system design of this embodiment integrates battery management, protection and user interaction functions, providing users with a safe, efficient and convenient power solution. The capacity indication and switch functions are integrated together to reduce the complexity of the circuit structure, reduce costs, and improve the practicality and portability of the device. The integration effect is achieved in the capacity indication and switch functions, providing users with a convenient and intuitive battery usage experience.
[0080] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0081] In the description of the present invention, it should be understood that terms such as "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0082] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present utility model, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0083] Although the utility model is described in conjunction with the above specific embodiments, it is obvious that those skilled in the art can make many substitutions, modifications and changes based on the above content. Therefore, all such substitutions, improvements and changes are included in the spirit and scope of the appended claims.
Claims
1. A button switch circuit for capacity indication, comprising a switch circuit, characterized in that: Also includes: Switch button, capacity indicator light circuit, first indicator light and second indicator light; A first end of the capacity indicator light circuit is connected to the first indicator light, a second end of the capacity indicator light circuit is connected to the second indicator light, a third end of the capacity indicator light circuit is connected to one end of the switch button after passing through one end of the switch circuit, and the other end of the switch button is connected to a battery voltage acquisition module that obtains the current battery capacity according to the current battery voltage value after passing through the other end of the switch circuit; Wherein, the switch button is at least composed of a button cover containing a light-transmissive film, which is used to display the battery capacity indication through the button cover.
2. A button switch circuit for capacity indication according to claim 1, characterized in that: The capacity indicator light circuit at least includes: Comparator U1, resistor R1, resistor R2, resistor R3 and resistor R4.
3. A button switch circuit for capacity indication according to claim 2, characterized in that: The inverting input terminal of the comparator U1 is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the power supply voltage VCC. The inverting input terminal of the comparator U1 is also connected to one end of the resistor R2, and the other end of the resistor R2 is grounded; The non-inverting input terminal of the comparator U1 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the reference voltage VREF, the non-inverting input terminal of the comparator U1 is also connected to one end of the resistor R4, the other end of the resistor R4 is grounded; The output end of the comparator U1 is connected to one end of the first indicator light and one end of the second indicator light respectively, the other end of the first indicator light is connected to the reference voltage VREF, and the other end of the second indicator light is connected to the reference voltage VREF.
4. A button switch circuit for capacity indication according to claim 3, characterized in that: The first indicator light at least includes a light emitting diode D1 and a resistor R5; The cathode of the light emitting diode D1 is connected to the output end of the comparator U1 , the anode of the light emitting diode D1 is connected to one end of the resistor R5 , and the other end of the resistor R5 is connected to the reference voltage VREF.
5. A button switch circuit for capacity indication according to claim 4, characterized in that: The second indicator light at least includes a light emitting diode D2 and a resistor R6; The positive electrode of the light emitting diode D1 is connected to the output end of the comparator U1 and also connected to one end of the resistor R6. The other end of the resistor R6 is connected to the reference voltage VREF. The negative electrode of the light emitting diode D1 is grounded.
6. A button switch circuit for capacity indication according to claim 5, characterized in that: The battery capacity indication condition includes that the current battery capacity is not less than a preset capacity value; When the current battery capacity is not lower than the preset capacity value, the light emitting diode D2 is lit and the light emitting diode D1 is off, as shown through the button cover in the button switch.
7. A button switch circuit for capacity indication according to claim 6, characterized in that: The battery capacity indication condition also includes that the current battery capacity is lower than the preset capacity value; When the current battery capacity is lower than the preset capacity value, the light emitting diode D1 is lit and the light emitting diode D2 is off as shown through the button cover in the button switch.
8. A button switch circuit for capacity indication according to claim 7, characterized in that: The switch circuit at least includes a self-locking switch or a self-resetting switch.
9. A battery system, characterized in that: The battery system at least includes the button switch circuit for capacity indication as described in any one of claims 1 to 8.
