Household energy storage battery state indication system and control method thereof
Through the coordinated work of millimeter radar wave detection and touch control modules, multi-state accurate feedback and low-power display of household energy storage battery status are achieved, solving the problems of single function and high power consumption in existing technologies, and improving user experience and system stability.
Patent Information
- Application Number
- CN202511247980.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-03
- Publication Date
- 2025-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The LED indicator lights of existing household energy storage batteries have a single function and cannot accurately reflect the type of fault. The constant light mode causes high power consumption, lacks intelligent sensing and interactive control, and provides a poor user experience.
The millimeter radar wave detection module and the touch control module work together. The millimeter radar wave detects the approach of the human body and automatically wakes up the LED indicator. The touch control realizes accurate status display and brightness adjustment. The WiFi module supports APP remote configuration and has a fault detection and backup light switching mechanism.
It realizes accurate multi-state feedback of the energy storage battery status, reduces power consumption when no one is around, improves the convenience of interaction, adapts to the needs of different scenarios, and ensures the continuous stability of the status indication function.
Smart Images

Figure CN120751544A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of household energy storage equipment, and in particular to a household energy storage battery status indication system and a control method thereof. Background Art
[0002] As the global energy structure shifts toward cleaner, more distributed energy, the adoption of household energy storage batteries is rapidly increasing, and their product positioning is gradually shifting from traditional industrial-grade equipment to consumer-grade products. This has led to higher user requirements for product recognition, ease of use, and energy efficiency. While mainstream household energy storage batteries currently feature LED indicators for status feedback, existing solutions have significant shortcomings and are unable to meet consumer-grade needs. The specific issues are as follows: First, the status feedback function is limited and fault identification is poor: existing LED indicators can only roughly display the remaining battery charge and basic charging and discharging status. They cannot distinguish between fault types such as battery undervoltage, communication interruption, and battery cell damage, and can only indicate abnormalities through a fixed pattern. This makes it difficult for users to promptly identify the cause of the fault and requires after-sales repairs to locate the problem with specialized equipment, which prolongs the troubleshooting cycle and increases user time costs.
[0003] Second, constant-on mode generates ineffective power consumption and shortens standby time. To facilitate user access, existing LED indicators often use a constant-on standby mode. These indicators remain on regardless of whether anyone is paying attention, resulting in meaningless energy consumption. This power consumption directly shortens standby time and reduces emergency power supply reliability, especially during power outages, continuous rainy days, and other scenarios where the battery relies on its own stored energy. Furthermore, keeping LEDs constantly on for extended periods accelerates lamp aging, increasing subsequent maintenance costs.
[0004] Third, there is a lack of intelligent sensing and interactive control, resulting in a poor user experience: the existing system has no environmental perception capabilities. The indicator light remains on and consumes energy when the user is far away, and the display needs to be manually triggered when the user approaches, which is cumbersome to operate. Parameters such as the indicator light brightness and sensing sensitivity are fixed at the factory and cannot be personalized according to different scenarios such as strong light and bedrooms. The display effect is greatly affected by the environment, resulting in a poor user experience.
[0005] In summary, the current household energy storage battery LED indication system cannot meet the requirements of consumer-grade products for intelligence, low power consumption, and high usability. There is an urgent need for an adaptive LED indication solution that can achieve multi-state precise feedback, intelligent sensing control, and low-power operation to address the pain points of existing technologies. Summary of the Invention
[0006] To this end, the technical problem to be solved by the present invention is to overcome the problem that the LED indicator light of existing household energy storage batteries has a single function (can only display the power level and basic status, and cannot feedback the fault type) and is always on, resulting in high power consumption and reduced battery standby time.
[0007] In order to solve the above technical problems, the present invention provides a household energy storage battery status indication system and a control method thereof, wherein the system comprises: a main control module, a perception module and a status indication control module, wherein the perception module comprises a millimeter radar wave detection module and a touch control module, wherein the millimeter radar wave detection module and the touch control module are connected to the main control module; and the status indication control module is connected to the main control module; wherein, The touch control module includes a cascaded switch unit and a touch detection unit. The input end of the switch unit is connected to the drive signal output pin of the main control module. Through the on / off logic of the multi-stage switch tube and the voltage division and current limiting of the resistor, it outputs a PWM drive signal adapted to the impedance and signal requirements of the touch detection unit. The input end of the touch detection unit is connected to the output end of the switch unit, and its output end is connected to the voltage signal sampling pin of the main control module. Under the action of the PWM drive signal output by the switch unit, the touch detection unit senses the human touch action through the capacitive coupling effect, and conditions the voltage change signal corresponding to the touch action and transmits it to the main control module, assisting the main control module to determine the touch state and then output a control instruction to the status indication control module, thereby realizing precise control of the household energy storage battery status indication.
[0008] In one embodiment of the present invention, the switch unit includes a drive signal receiving end, a switch tube Q2, a switch tube Q3, a switch tube Q4, a switch tube Q5, a resistor R1, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a resistor R11; The drive signal receiving end is connected to the PWM signal output pin of the main control module and is connected to the base of the switch tube Q5 through the resistor R8; the emitter of the switch tube Q5 is grounded, and its collector is connected to the base of the switch tube Q2 through the resistor R5 and to the emitter of the switch tube Q2 through the resistor R1. The emitter of the switch tube Q2 is connected to the collector of the switch tube Q3 and is connected to a +5V power supply; the collector of the switch tube Q2 is connected to the bases of the switch tube Q3 and the switch tube Q4 through the resistor R6, and the collector of the switch tube Q4 is grounded; the emitters of the switch tubes Q3 and Q4 are connected in common to form a common connection node, which is connected to the resistor R7 to output the PWM drive signal.
[0009] In one embodiment of the present invention, the touch detection unit includes a diode D2, a diode D3, a resistor R9, a resistor R10, a capacitor C2, a capacitor C3 and a touch point; wherein the cathode of the diode D2 is connected to the resistor R7; the anodes of the diode D2 and the diode D3 are connected together to form a common connection point, which is respectively connected to one end of the capacitor C2, one end of the resistor R9 and one end of the resistor R10; the other end of the resistor R9 is connected to the cathode of the diode D2; the other end of the capacitor C2 is connected to the touch point; the other end of the resistor R10 is respectively connected to the ADC signal sampling pin of the main control module and one end of the capacitor C3; and the other end of the capacitor C3 is grounded.
[0010] In one embodiment of the present invention, the switch unit further includes a resistor R12 , one end of the resistor R12 is connected to the collector of the switch tube Q2 , and the other end is grounded.
[0011] In one embodiment of the present invention, the status indication control module includes an LED light board composed of multiple LED lights and an on-off control switch, the control end of the on-off control switch is connected to the light board power supply pin of the main control module, and the input end of the on-off control switch is connected to the ground end of the LED light board.
[0012] In one embodiment of the present invention, the status indication control module also includes a current detection and signal conditioning module, which includes an operational amplifier U5, a resistor R13, a resistor R14, a resistor R15, a resistor 16 and a resistor R17; wherein, the resistor R15 is connected in series in the power supply circuit of the LED light board, and one end is connected to the output end of the on-off control switch, and the other end is connected to the inverting input end of the operational amplifier U5 through the resistor R17, and is grounded; the non-inverting input end of the operational amplifier U5 is connected to the common connection point of the on-off control switch and the resistor R15 through the resistor R14, and is grounded through the resistor R13; the inverting input end of the operational amplifier U5 is connected to its output end through the resistor R18, and is connected to the indicator light working voltage sampling pin of the main control module.
[0013] In one embodiment of the present invention, the current detection and signal conditioning module further includes a low-pass filtering unit, which includes a resistor R16 and a capacitor C8. One end of the resistor R16 is connected to the output end of the operational amplifier U5, and the other end is connected to the indicator light working voltage sampling pin; one end of the capacitor C8 is connected to the indicator light working voltage sampling pin, and the other end is grounded.
[0014] In one embodiment of the present invention, the system further includes a battery status data transmission module, and the battery status data transmission module is connected to the main control module.
[0015] In one embodiment of the present invention, the system further includes a communication module, and the communication module is connected to the main control module.
[0016] In addition, the present invention also provides a control method applied to the system, comprising: Initializing the millimeter-wave radar detection chip, touch control module, and status indication control module, configuring human body sensing distance and sensitivity parameters, and PWM signal frequency parameters, and placing the status indication control module in an initial standby state; Real-time detection of whether there is a human body approaching within a set range. If a human body is detected approaching, a high-level signal is output. Based on the high-level signal, a wake-up instruction is output to the status indication control module to control the status indication control module to start and display the current status of the household energy storage battery. If no human body is detected approaching, a low-level signal is output. Based on the low-level signal, the status indication control module is controlled to remain in a dormant and light-off state. If no response signal indicating that a human body has entered the environment sensing range is detected within a preset number of times, the environment sensing process is determined to be invalid, and the mode is switched to the touch control priority mode. The status indication control module is controlled only by the detection result of the human body touch action, including: sensing the human body touch action and generating a status signal corresponding to the touch, determining the touch type according to the touch status signal, and controlling the status indication control module to switch the on and off state if it is a short touch, and controlling the status indication control module to adjust the display brightness if it is a long touch; If the voltage change signal corresponding to the human touch action continues to be in the abnormal range, it is determined that the human touch control process is invalid, and the status indication control module is controlled only by the detection result of the environment perception process.
[0017] The above technical solution of the present invention has the following advantages over the prior art: First, through multi-state fusion display technology, it breaks through the functional limitations of existing LED indicators and can accurately display the energy storage battery's power level, charge and discharge status, and various fault conditions (such as battery undervoltage and communication failures) in real time, allowing users to clearly understand the battery's operating status; Secondly, the millimeter-wave radar and touch collaborative control are used. When no one is around, the LED light panel enters sleep mode, significantly reducing system power consumption and extending battery standby time. When someone approaches, the display automatically wakes up. The light panel can also be flexibly controlled by touch to turn on and off and adjust brightness, improving interaction convenience. Thirdly, it is equipped with a WiFi module that supports remote configuration of light board parameters (such as sensing distance, sensitivity, etc.) via APP to adapt to users' needs in different actual scenarios. It also has a light board fault detection and backup light switching mechanism to ensure the continuous and stable status indication function, taking into account the overall functional practicality, energy economy and flexibility of use. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings, wherein: Figure 1 This is a schematic structural diagram of a household energy storage battery status indication system provided in an embodiment of the present invention; Figure 2 1 is a schematic diagram of the circuit structure of a main control module provided in an embodiment of the present invention; Figure 3 1 is a schematic diagram of the circuit structure of a millimeter radar wave detection module provided in an embodiment of the present invention; Figure 4 is a schematic diagram of the circuit structure of a touch control module provided in an embodiment of the present invention; Figure 5 1 is a schematic diagram of the circuit structure of a status indication control module provided in an embodiment of the present invention; Figure 6 1 is a schematic diagram of the circuit structure of a battery status data transmission module provided in an embodiment of the present invention; Figure 7 is a schematic diagram of the circuit structure of a communication module provided in an embodiment of the present invention; Figure 8 This is a flow chart of a control method for a household energy storage battery status indication system provided in an embodiment of the present invention; Figure 9 A flow chart of a control method for controlling the light panel to flash yellow and sending a communication data loss fault prompt message to the mobile terminal when the main control module fails to receive battery status data; Figure 10 A flow chart of a control method in which, when the main control module detects a battery abnormality, the light panel is controlled to flash red and a battery fault prompt message is sent to the mobile terminal; Figure 11 It is a flowchart of a control method for entering a touch control mode when the millimeter-wave radar monitoring chip does not respond to the access data sent by the main control module; Figure 12 This is a schematic diagram of the interruption task execution process when the battery status is normal; Explanation of the reference numerals in the specification: 10. Main control module; 20. Perception module; 201. Millimeter radar wave detection module; 202. Touch control module; 2021. Switch unit; 20211. Drive signal receiving end; 2022. Touch detection unit; 20221. Touch point; 30. Status indication control module; 301. LED light board; 302. Current detection and signal conditioning module; 303. LED standby light board; 40. Battery status data transmission module; 50. Communication module. DETAILED DESCRIPTION
[0019] The present invention will be further described below with reference to the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it. However, the embodiments are not intended to limit the present invention.
[0020] Example 1: like Figures 1 to 4 As shown, the present invention provides a household energy storage battery status indication system, the system includes: a main control module 10, a perception module 20 and a status indication control module 30, the perception module 20 includes a millimeter radar wave detection module 201 and a touch control module 202, the millimeter radar wave detection module 201 and the touch control module 202 are connected to the main control module 10; the status indication control module 30 is connected to the main control module 10; wherein, The touch control module 202 includes a cascaded switch unit 2021 and a touch detection unit 2022. The input end of the switch unit 2021 is connected to the drive signal output pin of the main control module 10. Through the on / off logic of the multi-stage switch tube and the voltage division and current limiting of the resistor, it outputs a PWM drive signal adapted to the impedance and signal requirements of the touch detection unit 2022; The input end of the touch detection unit 2022 is connected to the output end of the switch unit 2021, and its output end is connected to the voltage signal sampling pin of the main control module 10. Under the action of the PWM drive signal output by the switch unit 2021, the touch detection unit 2022 senses the human touch action through the capacitive coupling effect, and conditions the voltage change signal corresponding to the touch action and transmits it to the main control module 10, assisting the main control module 10 to determine the touch state, and then outputs a control instruction to the status indication control module 30, thereby realizing precise control of the household energy storage battery status indication.
[0021] Further, if Figure 2 and Figure 3As shown, the millimeter-wave radar wave detection module 201 is composed of a millimeter-wave radar wave detection chip U3. Its signal receiving pin RXD is connected to the serial port sending pin Radar_TX0 of the main control module 10 through a current-limiting resistor R2, which is used to enable the main control module 10 to transmit configuration instructions (including sensing distance threshold setting, sensitivity parameter calibration, etc.) and status query frames to the millimeter-wave radar detection chip U3. Its signal transmitting pin TXD is connected to the serial port receiving pin Radar_RX0 of the main control module 10 through a current-limiting resistor R3, which is used to receive the configuration response frame and device operation status data (including self-test results, environmental interference coefficient, etc.) fed back by the millimeter-wave radar detection chip U3. The above pins constitute an asynchronous serial communication interface between the main control module 10 and the millimeter-wave radar detection chip U3, and complete the parameter configuration and status monitoring of the radar module through full-duplex data exchange.
[0022] The sensing pin SENSE of the millimeter radar wave detection chip U3 is connected to the GPIO pin (PB14) of the main control module 10, forming a level-triggered sensing signal link: when a target human body is detected entering a preset sensing area, the SENSE pin outputs a high-level trigger signal; after the main control module 10 recognizes the high-level signal, it controls the LED indicator panel in the status indication control module 30 to enter the working state; when the target human body leaves the sensing area, the SENSE pin returns to a low level, and after the main control module 10 detects the low-level signal, it controls the LED indicator panel to turn off, thereby realizing intelligent start-stop control of the status indication.
[0023] Since the output drive capability of the GPIO pin of the main control module 10 is limited (the maximum output voltage is +3.3V), a switch unit 2021 with an external PWM generation function needs to be configured. Figure 4 As shown, in this embodiment, the switch unit 2021 includes a drive signal receiving end 20211, a switch tube Q2, a switch tube Q3, a switch tube Q4, a switch tube Q5, a resistor R1, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R11 and a resistor R12; preferably, the switch tube Q3 and the switch tube Q5 are both N-channel transistors, and the switch tube Q2 and the switch tube Q4 are both P-channel transistors.
[0024] The drive signal receiving end 20211 is connected to the PWM signal output pin (PA4) of the main control module 10 to receive the PWM drive signal from the main control module 10, and the drive signal receiving end 20211 is connected to the base of the switch tube Q5 through the resistor R8.
[0025] One end of the resistor R12 is connected to the collector of the switch tube Q2, and the other end is grounded; the emitter of the switch tube Q5 is grounded, and its collector is connected to the base of the switch tube Q2 through the resistor R5 and to the emitter of the switch tube Q2 through the resistor R1. The emitter of the switch tube Q2 and the collector of the switch tube Q3 are connected together and then connected to a +5V power supply.
[0026] The collector of the switch tube Q2 is connected to the base of the switch tube Q3 and the switch tube Q4 through the resistor R6, and the collector of the switch tube Q4 is grounded; the emitters of the switch tube Q3 and the switch tube Q4 are connected in common to form a common connection node, which is connected to the resistor R7 to output a PWM drive signal.
[0027] The touch detection unit 2022 includes a diode D2, a diode D3, a resistor R9, a resistor R10, a capacitor C2, a capacitor C3 and a touch point 20221; wherein, the cathode of the diode D2 is connected to the resistor R7; the anodes of the diode D2 and the diode D3 are connected together to form a common connection point, which is respectively connected to one end of the capacitor C2, one end of the resistor R9 and one end of the resistor R10; the other end of the resistor R9 is connected to the cathode of the diode D2; the other end of the capacitor C2 is connected to the touch point 20221; the other end of the resistor R10 is respectively connected to the ADC signal sampling pin Touch_ADC (PA3) of the main control module 10 and one end of the capacitor C3; and the other end of the capacitor C3 is grounded.
[0028] The operating principle of the touch detection unit 2022 is as follows: When no human touches touch point 20221, capacitor C2 is in a floating state. When the PWM drive signal output by resistor R7 is high, the PWM drive signal charges capacitor C3 via resistor R9 and diode D3. When the PWM drive signal is low, capacitor C3 discharges through resistor R10 and diode D2. After multiple cycles of charge and discharge balancing, the voltage across capacitor C3 stabilizes at approximately 2.5V. At this point, the Touch_ADC pin of the main control module 10 detects this voltage and determines that no touch is present. When a human touches touch point 20221, capacitor C2 is connected to the circuit and initially has zero charge. It draws energy from capacitor C3 and the PWM signal to charge, causing the voltage of capacitor C3 to drop below 2.5V in the equilibrium state (the voltage drop slope is determined by the time constant formed by capacitor C2 and resistor R9). When the Touch_ADC pin detects this voltage below 2.5V, it determines that a human touch is present.
[0029] Further, if Figure 5As shown, the status indication control module 30 includes an LED light board 301 comprised of multiple LEDs (LED11, LED12, ..., LED1n), an on / off control switch Q1, and a current detection and signal conditioning module 302. The on / off control switch Q1 is an NMOS transistor. The gate of the on / off control switch Q1 is connected to the light board power supply pin LED_ON / OFF of the main control module 10, and the drain of the on / off control switch Q1 is connected to the GND terminal of the LED light board 301. The input of the LED light board 301 is connected to the light board status control pin LED1_CTRL of the main control module 10, enabling the main control module 10 to control the on / off, switching, and color status of the LED light board 301.
[0030] The current detection and signal conditioning module 302 includes an operational amplifier U5, a resistor R13, a resistor R14, a resistor R15, a resistor 16 and a resistor R17; wherein the resistor R15 is connected in series in the power supply circuit of the LED light board 301, and one end is connected to the output end of the on-off control switch Q1, and the other end is connected to the inverting input end of the operational amplifier U5 through the resistor R17, and is grounded; the non-inverting input end of the operational amplifier U5 is connected to the common connection point of the on-off control switch Q1 and the resistor R15 through the resistor R14, and is grounded through the resistor R13; the inverting input end of the operational amplifier U5 is connected to its output end through the resistor R18, and is connected to the indicator light working current sampling pin LED_CUR of the main control module 10.
[0031] In addition, the current detection and signal conditioning module 302 also includes a low-pass filter unit, which includes a resistor R16 and a capacitor C8. One end of the resistor R16 is connected to the output of the operational amplifier U5 and the other end is connected to the indicator light operating current sampling pin LED_CUR. One end of the capacitor C8 is connected to the indicator light operating current sampling pin LED_CUR and the other end is grounded. The resistor R16 and capacitor C8 filter the voltage signal output by the operational amplifier U5, eliminating high-frequency interference, and generate a smooth DC signal that is transmitted to the LED_CUR sampling pin of the main control module 10.
[0032] Furthermore, the status indication control module 30 also includes an LED backup light board 303 composed of multiple LED lights (LED21, LED22...LED2n), and the input end of the LED backup light board 303 is connected to the light board status control pin LED2_CTRL of the main control module 10, which is used to enable the main control module 10 to control the on and off, switching and color status of the LED backup light board 303; the GND end of the LED backup light board 303 is connected to the drain of the on-off control switch Q1.
[0033] Based on the circuit connection relationship of the above-mentioned status indication control module 30, its working principle is further explained: The on-off control switch Q1 serves as the power supply path for the LED light board 301 and the backup LED light board 303. Its gate is controlled by the LED_ON / OFF pin of the main control module 10. When the LED_ON / OFF pin outputs a high level, the on-off control switch Q1 conducts, providing a ground return path for the light board. When the LED_ON / OFF pin outputs a low level, the on-off control switch Q1 is turned off, cutting off power to the light board. The main control module 10 controls the on / off, switching, and color state of the LED light board 301 via the LED1_CTRL pin. The same control logic is implemented for the backup LED light board 303 via the LED2_CTRL pin.
[0034] The current detection and signal conditioning module 302 is connected in series to the light board's power supply circuit via current-sense resistor R15, converting the light board's operating current into a voltage signal. Operational amplifier U5 forms a differential amplifier circuit. Its non-inverting input receives the voltage signal at one end of resistor R15 via resistor R14, while its inverting input receives the voltage signal at the other end of resistor R15 via resistor R17. This signal is fed back through resistor R18 to achieve a stable amplification factor, amplifying the weak current signal into a sampleable voltage signal. The main control module 10 detects this voltage signal to determine whether current is flowing through the LED light board 301, thereby confirming the light board's operating status.
[0035] When the main control module 10 triggers the LED light board 301 to light up (the on-off control switch Q1 is turned on and the LED1_CTRL pin outputs a control signal), if the LED_CUR pin does not detect a corresponding voltage signal (that is, no current passes through the resistor R15), it is determined that the LED light board 301 has failed, and then the LED backup light board 303 is started through the LED2_CTRL pin to ensure that the status indication function continues to operate.
[0036] Further, if Figure 6 As shown, the system also includes a battery status data transmission module 40, which is connected to the main control module 10. The battery status data transmission module 40 is composed of a CAN transceiver chip U4, capacitors C4, C5, C6, C7 and resistor R4. The connection relationship and function of each component are as follows: The CANH pin of the CAN transceiver chip U4 is connected to the CANH1 pin of the main control chip of the household energy storage battery, and the CANL pin of the CAN transceiver chip U4 is connected to the CANL1 pin of the main control chip of the household energy storage battery. The two together constitute a differential signal transmission link, which is used to realize two-way differential communication of battery status data (such as power, voltage, fault code, etc.) between this system and the main control chip of the energy storage battery, and has the characteristics of strong anti-interference ability and long transmission distance.
[0037] One end of resistor R4 is connected to the STB pin of the CAN transceiver chip U4 and the CAN_STB pin of the main control module 10, and the other end is connected to capacitor C4 and ground level XGND. The other end of capacitor C4 is connected to the CANH1 pin of the main control chip of the household energy storage battery. Resistor R4 is a pull-down resistor that controls the operating mode (normal mode / standby mode) of the CAN transceiver chip U4 in conjunction with the level signal (high / low level) of the CAN_STB pin. Capacitor C4 is used to filter out high-frequency interference signals on the CANH1 pin and stabilize the differential communication level.
[0038] One end of the capacitor C7 is connected to the CANL1 pin of the main control chip of the household energy storage battery, and the other end is connected to the capacitor C4 and the ground level XGND. Its function is to filter the high-frequency noise on the CANL1 pin to ensure the stability of differential signal transmission.
[0039] The other end of the capacitor C6 is connected to the VIO pin of the CAN transceiver chip U4 and is connected to a +3.3V power supply to filter the IO interface power supply of the CAN transceiver chip U4 to ensure stable transmission of logic level signals (TXD / RXD) between the chip and the main control module 10.
[0040] The TXD pin of the CAN transceiver chip U4 is connected to the CAN_TX pin of the main control module 10, and the RXD pin of the CAN transceiver chip U4 is connected to the CAN_RX pin of the main control module 10, forming a serial data interaction channel between the CAN transceiver chip U4 and the main control module 10: the TXD pin receives the control instruction (such as data request frame) output by the main control module 10 and converts it into a differential signal, and the RXD pin converts the received differential signal (battery status data frame) into a single-ended logic signal and transmits it to the main control module 10.
[0041] The GND end of the CAN transceiver chip U4 is connected to the ground level GND and the capacitor C5. The other end of the capacitor C5 is connected to the VCC power pin of the CAN transceiver chip U4 and is connected to the +5V power supply. The capacitor C5 serves as a power supply filter capacitor to suppress the ripple interference of the +5V power supply and provide a stable operating voltage for the CAN transceiver chip U4.
[0042] like Figure 7 As shown, the system further includes a communication module 50, which is connected to the main control module 10. Preferably, the communication module 50 is composed of a WiFi module U1 and a capacitor C1, wherein the VCC pin of the WiFi module U1 is connected to the capacitor C1 and connected to a +3.3V power supply; the other end of the capacitor C1 is grounded.
[0043] In addition, the TX pin of the WiFi module U1 is connected to the WIFI_RX pin of the main control module 10, and the RX pin of the WiFi module U1 is connected to the WIFI_TX pin of the main control module 10, forming an asynchronous serial communication interface. This interface serves as a data exchange link, enabling bidirectional information transmission. On the one hand, it uploads the LED light board's operating data (such as operating status and fault identification) and battery status data (such as battery level and charge and discharge status) to the mobile terminal, supporting user remote monitoring. On the other hand, during the initial deployment of the system, it allows users to issue configuration instructions through this link via the mobile terminal to perform on-site calibration of parameters such as the sensing threshold (detection range) and sensitivity coefficient of the millimeter-wave radar detection chip U3. This avoids the problem of LED light board 301 or LED backup light board 303 being accidentally triggered and illuminated in unmanned scenarios, thereby reducing ineffective power consumption.
[0044] Furthermore, the main control module is composed of a main control chip U2, and the main control chip U2 includes but is not limited to an STM32F103C8T6 chip, a GD32F130C8T6 chip, an STM32L431RCT6 chip or an MC9S12XEP100 chip.
[0045] Example 2: In addition, the present invention also provides a control method applied to the system described in Example 1, including: Initialize the millimeter-wave radar detection chip U3, the touch control module 202, and the status indication control module 30, configure the human body sensing distance and sensitivity parameters, and the PWM signal frequency parameters, and put the status indication control module 30 into an initial standby state; The millimeter-wave radar detection chip U3 detects in real time whether there is a human body approaching within the set range. If a human body is detected approaching, it outputs a high-level signal. Based on the high-level signal, it outputs a wake-up instruction to the status indication control module 30, controlling the status indication control module 30 to start and display the current status of the household energy storage battery. If no human body is detected approaching, it outputs a low-level signal. Based on the low-level signal, it controls the status indication control module 30 to remain in a dormant and light-off state. If no response signal indicating that a human body has entered the environmental sensing range is detected within a preset number of times, the environmental sensing process is determined to be invalid, and the touch control priority mode is switched to. The status indication control module is controlled only by the detection result of the human body touch action, including: sensing the human body touch action and generating a status signal corresponding to the touch, determining the touch type according to the touch status signal, and controlling the status indication control module 30 to switch the on and off state if it is a short touch, and controlling the status indication control module 30 to adjust the display brightness if it is a long touch; If the voltage change signal corresponding to the human touch action is continuously within the abnormal range, the human touch control process is determined to be invalid, and the status indication control module 30 is controlled only by the detection result of the environment perception process.
[0046] Optionally, refer to Figure 8 The present invention provides a control method for the system described in Example 1, which specifically includes the following steps: S1: Initialize all modules and upload data to the mobile terminal in real time. The main control module 10 determines whether the battery status data from the CAN transceiver chip U4 is received: If the battery status data is not received, the main control module 10 controls the light board to flash yellow and sends a communication data loss fault prompt message to the mobile terminal; If the battery status data is received, proceed to step S2; S2: The main control module 10 determines whether the battery status is normal based on the battery status data: If the battery status is abnormal, the control light board flashes red and sends a battery fault prompt message to the mobile terminal; If the battery status is normal, the main control module 10 accesses the millimeter wave radar monitoring chip U3 multiple times (set to 10 times) and enters step S3; S3: Determine whether the millimeter wave radar monitoring chip U3 can respond normally: If the millimeter wave radar monitoring chip U3 does not respond, the module is deemed to be failed and enters the touch control mode; If the millimeter-wave radar monitoring chip U3 responds normally, it is further determined whether the target human body has entered the environmental sensing range, that is, whether the SENSE pin becomes high: If yes, the main control module 10 turns on the on-off control switch Q1 via the LED_ON / OFF pin, so that the LED light board 301 is powered; If not, the LED light board 301 is controlled to be in a dormant and light-off state, thereby extending the LED life and optimizing the system power consumption, and improving the battery standby time in scenes such as continuous rainy days.
[0047] Further, if Figure 9 As shown, the main control module 10 controls the light board to flash yellow and sends a communication data loss fault prompt message to the mobile terminal, including the following steps: The main control module 10 sends a flashing yellow light control instruction to the LED light board 301 through the LED1_CTRL pin, and controls the on-off control switch Q1 to be turned on through the LED_ON / OFF pin; The main control module 10 collects the working current of the LED light board 301 through its LED_CUR pin and determines whether the working current is greater than the set first current threshold : If the operating current is greater than the first current threshold , the LED light board 301 flashes yellow and prompts the mobile terminal that the communication data is lost; If the operating current is less than or equal to the first current threshold , indicating that the LED light board 301 is damaged, the main control module 10 immediately switches to the LED backup light board 303, and sends a flashing yellow light control instruction to the LED backup light board 303 through the LED2_CTRL pin, and controls the on-off control switch Q1 to be turned on through the LED_ON / OFF pin; the main control module 10 prompts the mobile terminal that the communication data is lost.
[0048] Further, if Figure 10 As shown, when the main control module 10 detects that the battery status is abnormal, the control light board flashes red and sends a battery fault prompt message to the mobile terminal, including: Send a red light flashing control instruction to the LED light board 301 via the LED1_CTRL pin, and control the on-off control switch Q1 to be turned on via the LED_ON / OFF pin; The main control module 10 collects the working current of the LED light board 301 through its LED_CUR pin and determines whether the working current is greater than the set second current threshold : If the operating current is greater than the second current threshold , the LED light board 301 flashes red and prompts the mobile terminal battery failure; If the operating current is less than or equal to the second current threshold , indicating that the LED light board 301 is damaged, the main control module 10 immediately switches to the LED backup light board 303, and sends a flashing red light control instruction to the LED backup light board 303 through the LED2_CTRL pin, and controls the on-off control switch Q1 to be turned on through the LED_ON / OFF pin; the main control module 10 prompts that the mobile terminal battery is faulty.
[0049] Further, if Figure 11 As shown, when the millimeter wave radar monitoring chip U3 does not respond to the access data sent by the main control module 10, it enters the touch control mode, including: The main control module 10 detects the touch state of the touch point 20221 and determines whether the first short touch detection condition is met, that is, the voltage value detected by the Touch_ADC pin is less than 2.5V and the touch duration is greater than 0.1s: If not, the original state of the LED light board 301 is maintained, and the touch state of the touch point 20221 is continued to be detected; If so, further determine whether the second short touch detection condition is met, that is, the voltage value detected by the Touch_ADC pin is less than 2.5V and the touch duration is greater than 0.1s and less than 0.5s: If satisfied, the level of the LED_ON / OFF pin is controlled to flip, the LED light board 301 is in the state after the hand is released, and returns to continue detecting the touch state of the touch point 20221; If the condition is not met, it is determined to be in the long press touch detection state, and the main control module 10 sends a dimming instruction to the LED light board 301 or the LED backup light board 303 through the LED1_CTRL pin or the LED2_CTRL pin respectively.
[0050] Alternatively, see Figure 12 When the battery is in normal working condition, the system has two interrupt tasks that can be processed in parallel. The specific functional logic is as follows: Interrupt Task 1 involves controlling the light panel's on / off state via touch. This task monitors the state of touch detection unit 2022 in real time, implementing hierarchical control based on the current sampling value of the Touch_ADC pin and the touch duration. If the voltage on the Touch_ADC pin is detected to be no less than 2.5V and the touch duration is less than 0.1s, the system determines that there is no touch event and maintains the light panel's current operating state. If the voltage on the Touch_ADC pin is detected to be less than 2.5V and the touch duration is between 0.1s and 0.5s, the system determines that there is a short touch operation. The main control module 10 controls the LED_ON / OFF pin to flip the level, switching the light panel's operating state (on → off, off → on in normal state). The state remains locked after the touch is released. If the voltage on the Touch_ADC pin is detected to be less than 2.5V and the touch duration is greater than 0.5s, the system determines that there is a long touch operation. The main control module 10 outputs a brightness adjustment command through the LED1_CTRL pin and the LED2_CTRL pin, achieving incremental brightness adjustment (increase or decrease).
[0051] Interrupt Task 2 is the battery status display control process: Under this task, the main control module 10 continuously receives and analyzes battery status data, generates a light board display control instruction, and sends it to the LED light board 301, so that it presents different indication states according to the battery status. Specifically, when the battery is in a static battery condition with no charging or discharging, that is, State 1, the actual SOC (remaining power) data and a green solid-on control instruction are output; when the battery is in a charging condition, that is, State 2, the actual SOC data and a green rising and falling display control instruction are output (simulating the dynamic change of charging progress); when the battery is in a discharging condition, that is, State 3, the actual SOC data and a green falling and falling display control instruction are output (simulating the dynamic change of discharging progress).
[0052] It should be noted that in interrupt task 2, the main control module 10 always sends real-time control data to the light board, but only when the LED_ON / OFF pin is in the enabled state (the power supply path of the light board is turned on), the light board will respond to the command and realize the visual display of the battery status.
[0053] Obviously, the above embodiments are merely examples for clarity of explanation and are not intended to limit the implementation methods. Those skilled in the art will appreciate that other variations or modifications can be made based on the above description. It is not necessary and impossible to enumerate all implementation methods here. Obvious variations or modifications arising therefrom remain within the scope of protection of the present invention.
Claims
1. A household energy storage battery status indication system, characterized in that: include: Main control module; A perception module, comprising a millimeter radar wave detection module and a touch control module, wherein the millimeter radar wave detection module and the touch control module are connected to the main control module; and a status indication control module, wherein the status indication control module is connected to the main control module; The touch control module includes a cascaded switch unit and a touch detection unit. The input end of the switch unit is connected to the drive signal output pin of the main control module. The on / off logic of the multi-stage switch tube works in conjunction with the voltage division and current limiting of the resistor to output a PWM drive signal adapted to the impedance and signal requirements of the touch detection unit. The input end of the touch detection unit is connected to the output end of the switch unit, and its output end is connected to the voltage signal sampling pin of the main control module. Under the action of the PWM drive signal output by the switch unit, the touch detection unit senses the human touch action through the capacitive coupling effect, and conditions the voltage change signal corresponding to the touch action and transmits it to the main control module, assisting the main control module to determine the touch state and then output a control instruction to the status indication control module, thereby realizing precise control of the household energy storage battery status indication.
2. The household energy storage battery status indication system according to claim 1, characterized in that: The switch unit includes a drive signal receiving end, a switch tube Q2, a switch tube Q3, a switch tube Q4, a switch tube Q5, a resistor R1, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a resistor R11; The drive signal receiving end is connected to the PWM signal output pin of the main control module and is connected to the base of the switch tube Q5 through the resistor R8; the emitter of the switch tube Q5 is grounded, and its collector is connected to the base of the switch tube Q2 through the resistor R5 and to the emitter of the switch tube Q2 through the resistor R1. The emitter of the switch tube Q2 is connected to the collector of the switch tube Q3 and is connected to a +5V power supply; the collector of the switch tube Q2 is connected to the bases of the switch tube Q3 and the switch tube Q4 through the resistor R6, and the collector of the switch tube Q4 is grounded; the emitters of the switch tubes Q3 and Q4 are connected in common to form a common connection node, which is connected to the resistor R7 to output the PWM drive signal.
3. The household energy storage battery status indication system according to claim 2, characterized in that: The touch detection unit includes a diode D2, a diode D3, a resistor R9, a resistor R10, a capacitor C2, a capacitor C3 and a touch point; wherein, the cathode of the diode D2 is connected to the resistor R7; the anodes of the diode D2 and the diode D3 are connected together to form a common connection point, which is respectively connected to one end of the capacitor C2, one end of the resistor R9 and one end of the resistor R10; the other end of the resistor R9 is connected to the cathode of the diode D2; the other end of the capacitor C2 is connected to the touch point; the other end of the resistor R10 is respectively connected to the ADC signal sampling pin of the main control module and one end of the capacitor C3; and the other end of the capacitor C3 is grounded.
4. The household energy storage battery status indication system according to claim 2, characterized in that: The switch unit further includes a resistor R12 , one end of which is connected to the collector of the switch tube Q2 , and the other end of which is grounded.
5. The household energy storage battery status indication system according to claim 1, characterized in that: The status indication control module includes an LED light board composed of multiple LED lights and an on-off control switch, the control end of the on-off control switch is connected to the light board power supply pin of the main control module, and the input end of the on-off control switch is connected to the ground end of the LED light board.
6. The household energy storage battery status indication system according to claim 5, characterized in that: The status indication control module also includes a current detection and signal conditioning module, which includes an operational amplifier U5, a resistor R13, a resistor R14, a resistor R15, a resistor 16 and a resistor R17; wherein the resistor R15 is connected in series in the power supply circuit of the LED light board, and one end is connected to the output end of the on-off control switch, and the other end is connected to the inverting input end of the operational amplifier U5 through the resistor R17 and is grounded; the non-inverting input end of the operational amplifier U5 is connected to the common connection point of the on-off control switch and the resistor R15 through the resistor R14, and is grounded through the resistor R13; the inverting input end of the operational amplifier U5 is connected to its output end through the resistor R18, and is connected to the indicator light working voltage sampling pin of the main control module.
7. The household energy storage battery status indication system according to claim 6, characterized in that: The current detection and signal conditioning module also includes a low-pass filtering unit, which includes a resistor R16 and a capacitor C8. One end of the resistor R16 is connected to the output end of the operational amplifier U5, and the other end is connected to the indicator light working voltage sampling pin; one end of the capacitor C8 is connected to the indicator light working voltage sampling pin, and the other end is grounded.
8. The household energy storage battery status indication system according to claim 1, characterized in that: The system further includes a battery status data transmission module, which is connected to the main control module.
9. The household energy storage battery status indication system according to claim 1, characterized in that: The system further includes a communication module, which is connected to the main control module.
10. A control method for the household energy storage battery status indication system according to any one of claims 1 to 9, characterized in that: include: Initializing the millimeter-wave radar detection chip, touch control module, and status indication control module, configuring human body sensing distance and sensitivity parameters, and PWM signal frequency parameters, and placing the status indication control module in an initial standby state; Real-time detection of whether there is a human body approaching within a set range. If a human body is detected approaching, a high-level signal is output. Based on the high-level signal, a wake-up instruction is output to the status indication control module to control the status indication control module to start and display the current status of the household energy storage battery. If no human body is detected approaching, a low-level signal is output. Based on the low-level signal, the status indication control module is controlled to remain in a dormant and light-off state. If no response signal indicating that a human body has entered the environment sensing range is detected within a preset number of times, the environment sensing process is determined to be invalid, and the mode is switched to the touch control priority mode. The status indication control module is controlled only by the detection result of the human body touch action, including: sensing the human body touch action and generating a status signal corresponding to the touch, determining the touch type according to the touch status signal, and controlling the status indication control module to switch the on and off state if it is a short touch, and controlling the status indication control module to adjust the display brightness if it is a long touch; If the voltage change signal corresponding to the human touch action continues to be in the abnormal range, it is determined that the human touch control process is invalid, and the status indication control module is controlled only by the detection result of the environment perception process.
Citation Information
Patent Citations
Low-power-consumption control circuit of power supply device
CN115755704A
Equipment wakeup processing method and device, equipment, storage medium and program product
CN119065723A
Children healthy water device
CN204904527U
Intelligent Bluetooth faucet controller
CN215673838U
Battery electric quantity display circuit and power supply device
CN223155193U