Super capacitor monitoring management method and system, electronic equipment and storage medium

By dynamically calibrating the PWM value of the supercapacitor and combining automated testing and management detection, the problems of inaccurate SOC management and insufficient firmware updates in the supercapacitor management system are solved, and comprehensive detection of the performance and life of the supercapacitor is achieved, improving the stability and intelligence level of the system.

CN120254443APending Publication Date: 2025-07-04ARMORLINK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510426527.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-07
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Existing supercapacitor management systems cannot achieve accurate state of charge (SOC) management, it is difficult to suppress power fluctuations and restore SOCs at the same time, lack monitoring of capacitor operating mode and firmware version, and cannot perform remote control and firmware updates, resulting in incomplete performance detection and difficult to evaluate service life.

Method used

The basic parameters of the supercapacitor are obtained through the MCU, dynamic calibration of the PWM value is performed, and the parameters are burned into memory. Combined with the automated testing and management detection module, the working status of the supercapacitor is monitored in real time, including operating mode and firmware update requirements, ensuring that the system is always in the best state.

Benefits of technology

It realizes accurate detection of supercapacitor performance and service life, improves the stability and reliability of the system, extends the service life, and enhances intelligent management capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120254443A_ABST
    Figure CN120254443A_ABST
Patent Text Reader

Abstract

The invention relates to the field of super-capacitor management, and provides a super-capacitor monitoring management method and system, electronic equipment and a storage medium, and the method comprises the following steps: a parameter burning and calibration step: an MCU obtains basic parameters of a super-capacitor, carries out the dynamic calibration of a PWM value of the super-capacitor according to the basic parameters, and carries out the parameter burning and calibration of the super-capacitor; then burning the basic parameters into a memory externally connected with the MCU; an automatic testing step: testing the service life of the super-capacitor by performing charging and discharging operation on the super-capacitor, acquiring real-time state information of the super-capacitor, and ending the test when a condition set based on the testing power consumption of the super-capacitor is reached; and a management detection step: detecting the working state of the super capacitor in real time, wherein the step at least comprises the steps of obtaining an MCU operation mode, checking whether MCU firmware needs to be updated or not, and entering a corresponding mode to work according to a detection result. The purpose of detecting the performance and the service life of the super capacitor in time is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of supercapacitor management, and particularly to a supercapacitor monitoring and management method, system, electronic device, and storage medium. Background Art

[0002] With the wide application of supercapacitors in energy storage systems, the importance of their management and testing technologies has become increasingly prominent. Supercapacitors have advantages such as high power density, fast charge and discharge capabilities, and long life, but they also face problems such as low energy density and easy over-limitation of the state of charge (SOC). Traditional testing methods mostly rely on simple charge and discharge experiments, lacking precise management and dynamic calibration of the basic information of capacitors, and unable to meet the requirements of large-scale production and complex applications.

[0003] In practical applications, the management of the state of charge (SOC) of supercapacitors is crucial. Although existing SOC management strategies can control the SOC, the division of operating modes is complex, and it is difficult to simultaneously achieve power fluctuation suppression and SOC recovery. In addition, charge and discharge control technologies are also constantly evolving, and the traditional constant current and constant voltage charging mode has gradually been replaced by multi-stage charging algorithms and adaptive charging technologies.

[0004] However, existing monitoring systems can only provide basic parameters such as voltage and current, lack the monitoring of detailed information such as the working mode and firmware version of the capacitor, and cannot achieve remote control and firmware update, making it inconvenient to detect the performance and service life of supercapacitors. Summary of the Invention

[0005] In order to timely detect problems with the performance and service life of supercapacitors, the present application provides a supercapacitor monitoring and management method, system, electronic device, and storage medium.

[0006] In a first aspect, the present application provides a supercapacitor monitoring and management method, adopting the following technical solution: A supercapacitor monitoring and management method includes the following steps: Parameter burning and calibration step: The MCU obtains the basic parameters of the supercapacitor, dynamically calibrates the PWM value of the supercapacitor according to the basic parameters, and then burns the basic parameters into the memory externally connected to the MCU; Automated testing step: By performing charge and discharge operations on the supercapacitor, its service life is tested, and the real-time status information of the supercapacitor is obtained. When the conditions set based on the test power consumption of the supercapacitor are met, the test ends; Management and detection step: The working status of the supercapacitor is detected in real time. This step at least includes obtaining the MCU operating mode, checking whether the MCU firmware needs to be updated, and entering the corresponding mode for work according to the detection results.

[0007] By adopting the above technical solutions, the MCU is used to dynamically calibrate the PWM value of the supercapacitor according to the basic parameters, realizing precise control of the charging and discharging process, effectively improving the usage efficiency and extending the service life; then, through automated testing, the real-time status information and service life data of the supercapacitor are comprehensively obtained, providing strong support for timely discovering potential problems and ensuring the stable operation of the system; furthermore, the working state of the supercapacitor is detected in real time, and it enters the corresponding mode to work according to different situations and checks the MCU firmware update requirements, ensuring that the system is always in the best operating state, enhancing the intelligence and reliability.

[0008] Further, the parameter burning and calibration steps specifically include the following steps: Connection status detection step: Obtain the connection status of the supercapacitor. If the supercapacitor is successfully connected, proceed to the next step; if the connection fails, the supercapacitor needs to be reconnected, and its connection status is continuously detected until the connection is successful. MES server connection step: After successfully connecting the supercapacitor, perform the connection operation to the MES server; if the connection is successful, output the basic parameters of the supercapacitor; if the connection fails, reconnect to the MES server to ensure accurate basic parameters are obtained. Communication interface connection and parameter writing step: After successfully connecting to the MES server, obtain the connection status of the MCU communication interface; when the MCU is successfully connected, update the burning status in a timely manner, and then write the basic parameters of the supercapacitor in sequence. Calibrate PWM value step: Dynamically calibrate the PWM value of the supercapacitor based on the basic parameters of the supercapacitor.

[0009] By adopting the above technical solutions, through the connection status detection step, it is ensured that the supercapacitor is stably connected to the system, avoiding monitoring and management interruption or data anomalies caused by unstable connections, laying a solid foundation for subsequent operations; the MES server connection step ensures that accurate basic parameters of the supercapacitor can be obtained from the server, providing a reliable data source for subsequent calibration; the communication interface connection and parameter writing step ensures smooth communication between the MCU and other parts of the system, accurately updating the burning status and writing parameters, making the entire parameter entry process standardized and orderly; the calibrate PWM value step realizes precise dynamic calibration of the PWM value of the supercapacitor based on accurate basic parameters, optimizing the charging and discharging control of the supercapacitor. This series of closely linked steps comprehensively improve the stability, reliability and accuracy of the supercapacitor monitoring and management method, effectively ensuring the efficient operation of the supercapacitor and extending its service life.

[0010] Further, the automated testing steps specifically include the following steps: DC power supply startup step: Start the DC power supply. If it fails, the process ends; if it is successful, continue with the subsequent process. Supercapacitor connection steps: Connect the supercapacitor. If the connection fails, start timing, and reconnect the supercapacitor after setting a time; if successful, proceed to the next step. Test control steps: Obtain the basic information of the supercapacitor, including the working mode and basic parameters of the supercapacitor. Set the test control range according to the obtained capacitor information, start the test timing again, and obtain the real-time status information of the supercapacitor, so that the supercapacitor enters the operating states of charging, fully charged, discharging, and discharging completed in sequence. If the test power consumption is reached during the process, end the current test.

[0011] By adopting the above technical solutions, through the connection establishment steps, quickly judge the connection status, timely feedback connection error information, avoid invalid operations, and improve the efficiency of the test process; the DC power supply startup steps ensure the normal operation of the DC power supply, provide stable power support for the subsequent charge and discharge tests of the supercapacitor, and ensure the smooth progress of the test; the supercapacitor connection steps automatically time and reconnect when the connection of the supercapacitor fails, reduce human intervention, and at the same time ensure the continuity of the test process; the test control steps set the test control range according to the basic information of the supercapacitor, accurately control the test process, obtain the capacitor status information in real time, enable the supercapacitor to enter different operating states in an orderly manner, and can end the test in time according to the test power consumption, which not only ensures the accuracy of the test results, but also effectively protects the supercapacitor and avoids damage caused by overtesting. These steps cooperate closely, significantly improving the efficiency, accuracy, and safety of the supercapacitor automated test, and providing a reliable guarantee for the stable operation and performance evaluation of the supercapacitor.

[0012] Further, the management and detection steps include the following steps: Update check step: Check whether the software and MCU firmware need to be updated. If so, output an instruction for updating. After the update is completed, output an instruction to the MCU to make the MCU enter the BootApp mode. Operating mode acquisition step: Obtain the operating mode of the MCU. The MCU operating model includes BootLoader and BootApp. If the MCU operating mode is the BootApp mode, it is the current working state; if the MCU operating mode is the BootLoader mode, output an instruction to enter the BootApp mode.

[0013] By adopting the above technical solutions, the operating mode acquisition step can accurately identify the operating mode of the MCU. When it is detected that the MCU is in the BootApp mode, it is confirmed that the system is in a normal working state, ensuring the continuous and stable operation of the supercapacitor monitoring and management system. If it is detected that the MCU is in the BootLoader mode, an instruction is promptly output to make it enter the BootApp mode, effectively avoiding system operation failures caused by abnormal modes. The firmware update check step can monitor the software and MCU firmware status in real time. Once it is found that an update is required, an instruction is quickly output for the update to ensure that the software and MCU always have the latest functions and performance optimizations, improving the overall operation efficiency and stability of the system. After the update is completed, it can automatically guide the MCU back to the BootApp mode to maintain the normal working process of the system. These two steps complement each other, greatly enhancing the reliability, stability, and functionality of the system, providing a solid guarantee for the efficient and safe operation of the supercapacitor monitoring and management system, and creating favorable conditions for the long-term stable maintenance and function upgrade of the device.

[0014] Further, the management detection step further includes the following steps: Shutdown detection step: Check whether the MCU is in the shutdown mode. If it is in the hardware shutdown mode, after power-off, the Power Button signal is triggered after the first set time to switch to the shutdown mode. If it is in the software shutdown mode, after power-off, the software shutdown is triggered after the second set time.

[0015] By adopting the above technical solutions, in the hardware shutdown mode, the PowerButton signal is triggered after the first set time after power-off to switch to the shutdown mode, and in the software shutdown mode, the software shutdown is triggered after the second set time after power-off. This can ensure that the system can complete the shutdown process orderly in various shutdown situations. On the one hand, it avoids data loss and system errors caused by abnormal power-off, improving the stability and reliability of system operation. On the other hand, the accurate shutdown time setting helps to reasonably control power consumption, extend the service life of the supercapacitor, and optimize the overall performance and user experience of the device.

[0016] Further, it also includes a power status detection step, specifically as follows: Determine whether the power supply is powered on. If it is in a power-off state, check whether the software is in the shutdown mode. If the software is in the shutdown mode, start the shutdown mechanism, notify the BIOS to enter the power-saving mode. At the same time, the software starts a Timer countdown. After the countdown ends, the MCU sends a WM_QUERYENDSESSION signal to prompt whether to shut down. Also, determine whether a power recovery signal is received within the third set time period. If a signal is received, stop the Timer countdown and the shutdown mechanism. If no signal is received, notify the BIOS to enter the power-saving mode and notify the MCU to switch to the shutdown mode; If it is in a powered-on state, check whether the shutdown mechanism has been started. If the shutdown mechanism has been started, turn off the shutdown mechanism, notify the BIOS to enter the normal working mode at the same time, and control the power supply to resume power-on.

[0017] By adopting the above technical solution, when the power is off, the system starts the shutdown mechanism according to the software shutdown state, notifies the BIOS to save power, and the software countdown cooperates with the MCU to send signals to ensure reasonable shutdown. If the power is restored within a short time, the shutdown can be stopped in time; if not, the shutdown is completed to ensure data security. When the power is on, if the shutdown mechanism has been started, the system will be shut down in time, and the BIOS will resume normal operation and be powered on. These operations ensure the stable operation of the system in different power states, avoid damage caused by power-off, save energy, and improve the system performance and user experience.

[0018] Furthermore, the update check step specifically includes the following steps: Software update check step: Check whether there is a new version of the software. If there is, a pop-up window will prompt whether to update. If the user selects to update, update the APP; Hardware update check step: Check whether there is a new version of the MCU firmware. If there is, a pop-up window will prompt whether to update. If the user selects to update, disconnect the connected device, and a pop-up window will prompt not to disconnect the power supply during the update. Stop the timer for obtaining information from the MCU, update the MCU firmware, notify the MCU to enter the Bootloader mode, and check the update status.

[0019] By adopting the above technical solutions, the software update check step monitors the software version in real time. When a new version is found, a pop-up window will prompt the user. The user can choose to update to keep the APP with the latest functions, improving the system functionality and user experience. The hardware update check step focuses on the MCU firmware. When a new version is found, it also prompts the user. After the user agrees, the connected device is disconnected to prevent data conflicts. The user is prompted not to cut off the power to ensure power stability. The timer for obtaining MCU information is stopped to avoid interfering with the firmware update. Subsequently, the firmware is updated, and the MCU is notified to enter the Bootloader mode and check the update module to ensure the accuracy and integrity of the firmware update. These two steps continuously optimize the system and hardware functions, enhance the compatibility between the system and the device, and greatly improve the reliability and stability of the system. Combined with the foregoing steps, it ensures the efficient and safe operation of the supercapacitor monitoring and management system, lays a foundation for equipment maintenance and upgrade, and improves the user experience.

[0020] In a second aspect, the present application provides a supercapacitor monitoring and management system, adopting the following technical solutions: A supercapacitor monitoring and management system includes: A parameter programming and calibration module, configured to obtain the basic parameters of the supercapacitor, dynamically calibrate the PWM value of the supercapacitor according to the basic parameters, and then program the basic parameters into the memory externally connected to the MCU; An automated test module, configured to perform charge and discharge operations on the supercapacitor, test its service life, and obtain the real-time status information of the supercapacitor. When the conditions set based on the test power consumption of the supercapacitor are met, the test ends; A management and detection module, configured to detect the working status of the supercapacitor in real time. This step at least includes obtaining the MCU operation mode, checking whether the MCU firmware needs to be updated, and entering the corresponding mode to work according to the detection results.

[0021] By adopting the above technical solutions, the parameter programming and calibration module obtains the basic parameters of the supercapacitor and dynamically calibrates the PWM value, and then programs the parameters into the memory, ensuring the accuracy of the system's control over the supercapacitor parameters and laying a foundation for subsequent stable operation. The automated test module performs charge and discharge operations on the supercapacitor, tests its service life, and obtains real-time status information, and ends the test when the set conditions are met, which can efficiently and comprehensively evaluate the performance of the supercapacitor and ensure its reliability in actual use. The management and detection module detects the working status of the supercapacitor in real time, covering obtaining the MCU operation mode, checking whether the MCU firmware needs to be updated, etc., and enters the corresponding mode to work according to the results, greatly improving the stability and adaptability of the system operation, being able to detect and solve potential problems in a timely manner, ensuring that the supercapacitor is always in a good working state, and thus comprehensively improving the overall performance and operation efficiency of the system.

[0022] In a third aspect, the present application provides an electronic device, adopting the following technical solution: An electronic device, comprising: At least one processor; A memory; At least one application program, wherein at least one application program is stored in the memory and configured to be executed by at least one processor, and the at least one application program is configured to: execute the foregoing supercapacitor monitoring and management method.

[0023] In a fourth aspect, the present application provides a storage medium, adopting the following technical solution: A storage medium, on which a computer program is stored, and when the computer program is executed in a computer, the computer is made to execute the foregoing supercapacitor monitoring and management method.

[0024] To sum up, the present application relies on the MCU, dynamically calibrates the PWM value based on the basic parameters of the supercapacitor, realizes high-precision control of the charging and discharging process, significantly improves the usage efficiency, extends the service life, and reduces the equipment maintenance cost and replacement frequency; the automated test module comprehensively conducts charging and discharging tests, deeply collects real-time status information and service life data, laying a solid foundation for accurately identifying potential problems and ensuring the stable operation of the system; the management and detection module continuously monitors the working state of the supercapacitor in real time, intelligently switches the working mode, keenly captures the need for MCU firmware updates and upgrades in a timely manner, ensuring that the system is always in the best operating state, and greatly enhancing the intelligence level and reliability. The multi-module collaboration comprehensively improves the overall system efficiency from multiple dimensions, timely detects the service life of the supercapacitor, and brings a more stable and efficient usage experience to users. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a step schematic diagram of an embodiment of a supercapacitor monitoring and management method of the present application; Figure 2 It is a step schematic diagram of parameter burning and calibration of a supercapacitor monitoring and management method of the present application; Figure 3 It is a step schematic diagram of the automated test of a supercapacitor monitoring and management method of the present application; Figure 4 It is a step schematic diagram of the test control of a supercapacitor monitoring and management method of the present application; Figure 5 It is a step schematic diagram of the management and detection of a supercapacitor monitoring and management method of the present application; Figure 6 It is a step schematic diagram of detecting the working state of a supercapacitor of a supercapacitor monitoring and management method of the present application; Figure 7It is a structural block diagram of an embodiment of a supercapacitor monitoring and management system of the present application; Figure 8 It is a schematic structural diagram of an electronic device of the present application.

[0026] Reference numerals: 101, parameter programming and calibration module; 102, automated test module; 103, management detection module; 201, processor; 202, bus; 203, memory; 204, transceiver. Detailed implementation manners

[0027] Referring to the accompanying drawings and specific embodiments, the composition, characteristics, advantages, etc. of the motor current sampling circuit, sampling method and sampling device according to the present application will be described by way of example below. However, all descriptions should not form any limitation to the present application.

[0028] In addition, for any single technical feature described or implied in the embodiments mentioned herein, or any single technical feature shown or implied in the respective drawings, the present application still allows any combination or deletion to continue between these technical features (or their equivalents) without any technical obstacles. Therefore, it should be considered that these more embodiments according to the present application are also within the scope of the present disclosure.

[0029] It should also be noted that terms such as "set" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be directly connected, or indirectly connected through an intermediate medium. Unless otherwise clearly defined, those skilled in the art can understand the specific meaning of the above terms in the present application according to specific circumstances.

[0030] Figure 1 It is a step schematic diagram of a supercapacitor monitoring and management method according to an embodiment of the present application.

[0031] The embodiment of the present application provides a supercapacitor monitoring and management method, which realizes the comprehensive monitoring and management of supercapacitors through steps such as parameter programming and calibration, automated testing, and management detection.

[0032] Step S100: Parameter programming and calibration step, which is mainly applied during the production stage, that is, during the production process of supercapacitors.

[0033] Specifically, the MCU first obtains the basic parameters of the supercapacitor, and these parameters include but are not limited to key information such as capacitance, rated voltage, and rated current. Based on these basic parameters, the system can dynamically calibrate the PWM value of the supercapacitor to ensure its optimal performance under different working conditions. After calibration, the system programs these basic parameters into the memory external to the MCU for subsequent use.

[0034] Step S110: Connection status detection step. Before programming the basic parameters of the supercapacitor, the system first detects the connection status of the supercapacitor. If the connection is successful, proceed to the next step; if the connection fails, the system will repeatedly detect until the supercapacitor is successfully connected.

[0035] Step S120: MES server connection step. After successfully connecting to the supercapacitor, the system attempts to connect to the MES server, and the system will output the basic parameters of the supercapacitor saved in the MES server; if the connection fails, the system will reconnect to the MES server to ensure accurate basic parameters are obtained.

[0036] It should be understood that the MES server (Manufacturing Execution System Server) refers to the core component of the Manufacturing Execution System (MES), which is used to manage and monitor all aspects and data in the manufacturing process. By integrating enterprise resources and interacting with production equipment and on-site systems for data, it provides complete production execution information and management functions, thereby optimizing the production process and improving production efficiency and quality.

[0037] Step S130: Communication interface connection and parameter writing step. After successfully connecting to the MES server, the system obtains the connection status of the MCU communication interface and determines whether the connection is successful. If the connection is successful, the system promptly updates the programming status and sequentially writes the basic parameters of the supercapacitor.

[0038] Step S140: Calibrate PWM value step. The system dynamically calibrates the PWM value of the supercapacitor based on the basic parameters of the supercapacitor to ensure its optimal performance under different working conditions.

[0039] The system in each of the above steps can be implemented by software and installed at the control end of the production line, facilitating the programming of the basic parameters of the supercapacitor into the external memory of the MCU during the production process. At the same time, by calibrating the PWM value of the supercapacitor, it is convenient for users to precisely control the charging and discharging current of the supercapacitor during use, ensuring rapid charging within a safe range or meeting the load requirements. Since the PWM value can also be used to monitor the health status of the supercapacitor, the high-frequency impedance changes generated by its high-frequency switching oscillation can reflect the degree of capacitor aging, and it is also convenient for users to monitor the service life of the supercapacitor.

[0040] Step S200: Automated testing step, mainly applied in the factory testing process. By performing charging and discharging operations on the supercapacitor, its service life is tested to determine whether the supercapacitor meets the requirements.

[0041] Step S210: DC power supply startup step. During the automated testing process, the DC current needs to be started first in Xi'an. If the startup fails, an error message is prompted to facilitate the staff to reconnect. If the startup is successful, the subsequent process continues.

[0042] Step S220: Supercapacitor connection step. After successfully starting the DC power supply, connect the supercapacitor. If the connection fails, start a countdown. After the set time, reconnect the supercapacitor and first determine whether the supercapacitor is successfully connected. If the connection is successful, proceed to the next step.

[0043] Step S230: Test control step. After the supercapacitor is successfully connected, the following three steps are carried out simultaneously to complete the test: Step S231: Obtain the basic information of the supercapacitor, including the working mode and basic parameters of the supercapacitor. The supercapacitor enters the process of charging - full charge. After being full, obtain the test time and start pumping. Then enter the process of discharging - discharge completion. After discharge completion, obtain the test time and turn off the pumping.

[0044] Step S232: According to the obtained capacitor information, the system sets the test control interval as the judgment benchmark for the end of the supercapacitor test. If the conditions set based on the test power consumption of the supercapacitor are reached during the test, this test is ended.

[0045] Step S233: Start the test timing, and obtain the real-time status information of the supercapacitor after the set time.

[0046] The above process can be repeated multiple times to obtain the stable state information of the supercapacitor under different working conditions, so as to more comprehensively evaluate its performance and service life.

[0047] Step S300: Management detection step, applied to the client side. By detecting the working state of the supercapacitor in real time, it is convenient for users to detect the performance and service life of the supercapacitor in real time.

[0048] Step S310: Update check step. Check whether the software and MCU firmware need to be updated. If an update is required, output an instruction to update.

[0049] Check whether there is a new version of the software. If there is, a pop-up window prompts the user whether to update. If the user selects to update, disconnect the connected supercapacitor and automatically update the software. After the update is completed, automatically connect the supercapacitor. If the user selects not to update, proceed to the next step.

[0050] Meanwhile, the system checks whether there is a new version of the MCU firmware. If there is, a pop-up window will prompt the user whether to update. If the user selects to update, a pop-up window will prompt not to disconnect the power supply during the update, and then notify the MCU to enter the Bootloader mode and stop timing for obtaining information from the MCU. When the MCU firmware update is completed, notify the MCU to enter the BootAPP mode and start timing for obtaining information from the MCU at the same time.

[0051] Step S320: Detect the working state of the super capacitor. In this step, the operating mode of the super capacitor, the shutdown mode of the super capacitor, the power supply state, the working state of the super capacitor, the detected voltage value, and the temperature of the super capacitor can be detected; the above steps can be carried out synchronously or separately at regular intervals.

[0052] Step S321: Operating mode acquisition step. First, obtain the MCU operating mode of the super capacitor. Here, the MCU operating mode includes two types: BootLoader and BootApp. Among them, BootLoader means that the MCU is in the loading state, and BootApp means that the MCU is in the working state. If it is detected that the MCU is in the BootLoader working mode, an instruction needs to be output to make the MCU enter the BootApp mode; if it is detected that the MCU is in the BootApp mode, proceed to the next step.

[0053] Step S322: Shutdown detection step. Check whether the MCU is in the shutdown mode. If it is in the hardware shutdown mode, trigger the Power Button signal after the first set time after power-off and switch to the shutdown mode; if it is in the software shutdown mode, trigger the software shutdown after the second set time after power-off.

[0054] Step S323: Power supply state detection step. This step has overlapping actions with the aforementioned shutdown detection step to form protection during power-off and reduce the probability of data loss and device damage.

[0055] Specifically, determine whether the power supply is powered on. If it is in the powered-on state, check whether the shutdown mechanism is started. If the shutdown mechanism has been started, turn off the shutdown mechanism, notify the BIOS to enter the normal working mode at the same time, and control the power supply to resume power-on.

[0056] If it is in a power-off state, check whether the software is in the shutdown mode. If the software is in the shutdown mode, start the shutdown mechanism and notify the BIOS to enter the power-saving mode. At the same time, the software starts a countdown. After the countdown ends, the MCU sends a WM_QUERYENDSESSION signal to prompt whether to shut down. Whether a power recovery signal is received within the third set time period. If a signal is received, the countdown is stopped and the shutdown mechanism is stopped; if no signal is received, notify the BIOS to enter the power-saving mode and notify the MCU to switch to the shutdown mode.

[0057] After triggering the software shutdown in step S323, it enters the software countdown in step S333 to determine whether to perform the software shutdown operation.

[0058] Step S324: The working state detection step of the supercapacitor. The working state of the supercapacitor includes three states: fully charged, charging, and discharging, which is convenient for users to view the working state of the supercapacitor.

[0059] Step S325: The voltage value detection step. During the operation of the supercapacitor, the voltage value of the power supply, the voltage value of the supercapacitor, and the voltage value output to the load can be detected in real time or periodically, which is convenient for users to view the working conditions of the supercapacitor.

[0060] Step S326: The temperature detection step of the supercapacitor. Since the capacitance of the supercapacitor may decrease significantly in the short term when the supercapacitor is in a high-temperature environment for a long time, affecting its own service life and performance, etc., the temperature of the supercapacitor is detected periodically so that users can take corresponding measures in time.

[0061] Through the above detailed steps, the supercapacitor monitoring and management system of the present invention can achieve comprehensive monitoring and management of the supercapacitor, improve the performance and service life of the supercapacitor, and at the same time provide a convenient operation experience for users.

[0062] This application also provides a supercapacitor monitoring and management system, which adopts the above supercapacitor monitoring and management method to realize the monitoring and management of the supercapacitor, and improve the performance and service life of the supercapacitor. Figure 7 It is a structural block diagram of an embodiment of a supercapacitor monitoring and management system of this application.

[0063] A supercapacitor monitoring and management system includes a parameter programming and calibration module 101, an automated test module 102, and a management detection module 103. The above three modules are respectively applied to different scenarios and correspond to the steps in the aforementioned supercapacitor monitoring and management method.

[0064] Specifically, the parameter programming and calibration module 101 is connected to the supercapacitor by signal. The parameter programming and calibration module 101 is used to obtain the basic parameters of the supercapacitor, dynamically calibrate the PWM value of the supercapacitor according to the basic parameters, and then program the basic parameters into the memory externally connected to the MCU.

[0065] The automatic test module 102 is connected to the supercapacitor by signal. The automatic test module 102 is used to charge and discharge the supercapacitor, test its service life, and obtain the real-time status information of the supercapacitor. When the condition set based on the test power consumption of the supercapacitor is reached, the test ends.

[0066] The management and detection module 103 is connected to the supercapacitor by signal. The management and detection module 103 is used to detect the working status of the supercapacitor in real time. This step at least includes obtaining the operation mode of the MCU, checking whether the MCU firmware needs to be updated, and entering the corresponding mode to work according to the detection result.

[0067] See Figure 8 , this embodiment of the present application also introduces an electronic device from the perspective of an entity device, such as Figure 8 shown, Figure 8 The electronic device shown includes: a processor 201 and a memory 203. Among them, the processor 201 and the memory 203 are connected, such as connected by a bus 202. Optionally, the electronic device 20 may further include a transceiver 204. It should be noted that in practical applications, the transceiver 204 is not limited to one, and the structure of the electronic device 20 does not constitute a limitation to the embodiments of the present application.

[0068] The processor 201 may be a CPU (Central Processing Unit, central processing unit), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor 201 may also be a combination that realizes computing functions, such as a combination including one or more MCUs, a combination of a DSP and an MCU, etc.

[0069] The bus 202 may include a path for transmitting information between the above components. The bus 202 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 202 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 only a thick line is used in Figure 3 , but this does not mean that there is only one bus or one type of bus.

[0070] The memory 203 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, or it may also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0071] The memory 203 is used to store the application program code for implementing the solution of this application, and is controlled by the processor 201 for execution. The processor 201 is used to execute the application program code stored in the memory 203 to implement the content shown in the foregoing method embodiments.

[0072] Among them, the electronic device includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and may also be a server, etc. Figure 3 The electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.

[0073] The embodiments of this application provide a storage medium on which a computer program is stored. When it runs on a computer, it enables the computer to execute the corresponding content in the foregoing method embodiments.

[0074] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially according to the indication of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear indication in this text, there is no strict order restriction for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.

[0075] The above are only some implementation manners of the present application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A supercapacitor monitoring and management method, characterized in that, It includes the following steps: Parameter programming and calibration step: The MCU obtains the basic parameters of the supercapacitor, dynamically calibrates the PWM value of the supercapacitor according to the basic parameters, and then programs the basic parameters into the memory external to the MCU; Automated test step: By performing charge and discharge operations on the supercapacitor, its service life is tested, and the real-time status information of the supercapacitor is obtained. When the conditions set based on the test power consumption of the supercapacitor are met, the test ends; Management detection step: The working status of the supercapacitor is detected in real time. This step at least includes obtaining the MCU operation mode, checking whether the MCU firmware needs to be updated, and entering the corresponding mode to work according to the detection results.

2. The supercapacitor monitoring and management method according to claim 1, characterized in that The parameter programming and calibration step specifically includes the following steps: Connection status detection step: Obtain the connection status of the supercapacitor. If the supercapacitor is successfully connected, proceed to the next step; if the connection fails, the supercapacitor needs to be reconnected, and its connection status is continuously detected until the connection is successful; MES server connection step: After successfully connecting the supercapacitor, perform the connection operation of the MES server; if the connection is successful, output the basic parameters of the supercapacitor; if the connection fails, reconnect the MES server to ensure accurate basic parameters are obtained; Communication interface connection and parameter writing step: After successfully connecting the MES server, obtain the connection status of the MCU communication interface; when the MCU is successfully connected, update the programming status in a timely manner, and then write the basic parameters of the supercapacitor in sequence; PWM value calibration step: Dynamically calibrate the PWM value of the supercapacitor based on the basic parameters of the supercapacitor.

3. The supercapacitor monitoring and management method according to claim 1, wherein, The automated test step specifically includes the following steps: DC power supply startup step: Start the DC power supply. If it fails, the process ends; if it is successful, continue with the subsequent process; Supercapacitor connection step: Connect the supercapacitor. If the connection fails, start timing and reconnect the supercapacitor after a set time; if it is successful, proceed to the next step; Test control step: Obtain the basic information of the supercapacitor, including the working mode of the supercapacitor and the basic parameters of the supercapacitor. Set the test control interval according to the obtained capacitor information, start the test timing again, and obtain the real-time status information of the supercapacitor, so that the supercapacitor enters the operating states of charging, fully charged, discharging, and discharge completed in sequence. If the test power consumption is reached during the process, end the current test.

4. The supercapacitor monitoring and management method according to claim 1, characterized in that, The management detection step includes the following steps: Update check step: Check whether the software and MCU firmware need to be updated. If so, output an instruction for updating. After the update is completed, output an instruction to the MCU to make the MCU enter the BootApp mode; Operation mode acquisition step: Obtain the MCU operation mode. The MCU operation model includes BootLoader and BootApp. If the MCU operation mode is the BootApp mode, it is the current working state; if the MCU operation mode is the BootLoader mode, output an instruction to enter the BootApp mode.

5. The supercapacitor monitoring and management method according to claim 4, wherein The management detection step further includes the following steps: Shutdown detection steps: Check whether the MCU is in the shutdown mode. If it is in the hardware shutdown mode, after power-off, trigger the Power Button signal after the first set time to switch to the shutdown mode; if it is in the software shutdown mode, after power-off, trigger the software shutdown after the second set time.

6. The supercapacitor monitoring and management method according to claim 5, characterized in that It also includes power status detection steps, which are as follows: Judge whether the power is on. If it is in the power-off state, check whether the software is in the shutdown mode. If the software is in the shutdown mode, start the shutdown mechanism, notify the BIOS to enter the power-saving mode, and at the same time, the software starts the Timer countdown. After the countdown ends, the MCU sends a WM_QUERYENDSESSION signal to prompt whether to shut down; and judge whether a power recovery signal is received within the third set time period. If a signal is received, stop the Timer countdown and stop the shutdown mechanism. If no signal is received, notify the BIOS to enter the power-saving mode and notify the MCU to switch to the shutdown mode; If it is in the power-on state, check whether the shutdown mechanism is started. If the shutdown mechanism has been started, turn off the shutdown mechanism, notify the BIOS to enter the normal working mode at the same time, and control the power to resume power-on.

7. The supercapacitor monitoring and management method according to claim 4, characterized in that The specific update check steps include the following steps: Software update check step: Check whether there is a new version of the software. If there is, pop up a window to prompt whether to update. If the user selects to update, update the APP; Hardware update check step: Check whether there is a new version of the MCU firmware. If there is, pop up a window to prompt whether to update. If the user selects to update, disconnect the connected device, pop up a window to prompt not to disconnect the power during the update, stop the timer for obtaining information from the MCU, update the MCU firmware, notify the MCU to enter the Bootloader mode, and check the update status.

8. A supercapacitor monitoring and management system, characterized in that, It includes: A parameter burning and calibration module, which is used to obtain the basic parameters of the super capacitor, dynamically calibrate the PWM value of the super capacitor according to the basic parameters, and then burn the basic parameters into the memory external to the MCU; An automated test module, which is used to perform charge and discharge operations on the super capacitor, test its service life, and obtain the real-time status information of the super capacitor. When the conditions set based on the test power consumption of the super capacitor are met, the test ends; A management detection module, which is used to detect the working state of the super capacitor in real time. This step at least includes obtaining the MCU operation mode, checking whether the MCU firmware needs to be updated, and entering the corresponding mode to work according to the detection results.

9. An electronic device, characterized in that, This electronic device includes: At least one processor; A memory; At least one application program, where at least one application program is stored in the memory and is configured to be executed by at least one processor. The at least one application program is configured to: execute the super capacitor monitoring and management method according to any one of claims 1 to 7.

10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed on the computer, the computer is made to execute the super capacitor monitoring and management method according to any one of claims 1 to 7.