Super-capacitor system control method and system based on proportional control adjustment
By smoothly filtering and analyzing the voltage and current signal data of the supercapacitor system, estimating the charge and discharge time and adjusting the proportional gain coefficient, the problem of slow adjustment response speed or oscillation of the supercapacitor system in the prior art is solved, and a more efficient and stable control effect is achieved.
Patent Information
- Application Number
- CN202510327003.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-06-17
AI Technical Summary
The existing supercapacitor system control methods can easily lead to problems such as slow response speed or system oscillation when adjusting the proportional gain coefficient.
By obtaining the voltage and current signal data in the supercapacitor, performing smooth filtering and data analysis, estimating the charge and discharge time, and adjusting the proportional gain coefficient based on the difference between the estimated and measured time, efficient control of the supercapacitor system is achieved.
It improves the credibility of data and the accuracy of the comparative gain coefficient, enhances the accuracy and stability of the control and adjustment of the supercapacitor system, and avoids the problems of oscillation and untimely response.
Smart Images

Figure CN120165472A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and particularly to a control method and system for a supercapacitor system based on proportional control regulation. Background Art
[0002] A supercapacitor is an electrical energy storage device with a high capacitance value, capable of providing rapid charge and discharge, featuring high power density, long lifespan, etc., and is widely used in fields such as electric vehicle energy recovery, instantaneous electrical energy supplementation, and backup power supplies. The control of a supercapacitor system mainly aims to ensure that the supercapacitor can operate efficiently and stably during the processes of energy storage and release. These control methods usually involve the regulation of voltage and current and the real-time monitoring of the system, ensuring that the supercapacitor can be maintained within a safe operating range under different working conditions while achieving optimal performance.
[0003] In conventional technologies, the control and regulation of a supercapacitor system can be carried out using proportional regulation in the PID control algorithm. Usually, the regulation proportional gain coefficient is set manually by oneself. However, when a relatively small proportional gain coefficient is used for supercapacitor system regulation, the response speed is slow and the error cannot be eliminated in a timely manner; when a relatively large proportional gain coefficient is used for supercapacitor system regulation, the response speed is fast, but if the proportional gain coefficient is too large, it will cause oscillation of the supercapacitor system. Summary of the Invention
[0004] The present invention provides a control method and system for a supercapacitor system based on proportional control regulation to solve the existing problems.
[0005] The objective of the present invention can be achieved through the following technical solutions: In the first aspect of the present invention, a control method for a supercapacitor system based on proportional control regulation is provided, including: Obtaining each signal data in the supercapacitor; wherein, the signal data includes voltage signal data and current signal data; Performing smoothing filtering on the voltage signal data to obtain the filtered voltage signal data; denoting the voltage corresponding to the current moment as the target voltage; obtaining the estimated charge and discharge duration at the current moment according to the change amount between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current; obtaining the duration from the initial moment to the current moment, denoted as the measured charge and discharge duration at the current moment, and adjusting the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration and the measured charge and discharge duration at the current moment to obtain the adjusted proportional gain coefficient; Performing control regulation on the supercapacitor system according to the adjusted proportional gain coefficient.
[0006] Further, the smoothing filter is applied to the voltage signal data to obtain the filtered voltage signal data, including: Filtering the voltage signal data by using an extended Kalman filter algorithm to obtain the filtered voltage signal data.
[0007] Further, the estimated charge and discharge duration at the current moment is obtained according to the change amount between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the super capacitor, and the current, including:
[0008] In the formula, represents the change amount between the initial voltage and the target voltage in the filtered voltage signal data, represents the average value of all current data during the process from the initial voltage to the target voltage, represents the capacitance of the super capacitor, represents the estimated charge and discharge duration at the current moment.
[0009] Further, the preset proportional gain coefficient is adjusted according to the difference between the estimated charge and discharge duration at the current moment and the measured charge and discharge duration to obtain the adjusted proportional gain coefficient, including: If the estimated charge and discharge duration at the current moment is greater than or equal to the measured charge and discharge duration at the current moment, the preset proportional gain coefficient is increased; If the estimated charge and discharge duration at the current moment is less than the measured charge and discharge duration at the current moment, the preset proportional gain coefficient is decreased.
[0010] Further, if the estimated charge and discharge duration at the current moment is greater than or equal to the measured charge and discharge duration at the current moment, the preset proportional gain coefficient is increased, including:
[0011] In the formula, represents the estimated charge and discharge duration at the current moment, represents the measured charge and discharge duration at the current moment, represents the preset proportional gain coefficient, represents the adjusted proportional gain coefficient, represents the linear normalization function.
[0012] Further, if the estimated charge and discharge duration at the current moment is less than the measured charge and discharge duration at the current moment, the preset proportional gain coefficient is decreased, including:
[0013] In the formula, represents the estimated charge and discharge duration at the current moment, Indicates the measured charge and discharge duration at the current moment. Indicates the preset proportional gain coefficient. Indicates the adjusted proportional gain coefficient. Indicates the linear normalization function.
[0014] Furthermore, the control and regulation of the supercapacitor system according to the adjusted proportional gain coefficient includes: Using the PID control algorithm to control and regulate the supercapacitor system according to the adjusted proportional gain coefficient.
[0015] The second aspect of the present invention is to provide a control system for a supercapacitor system based on proportional control regulation, including: Data acquisition module: used to obtain each signal data in the supercapacitor; among them, the signal data includes voltage signal data and current signal data; Data analysis module: used to perform smoothing filtering on the voltage signal data to obtain the filtered voltage signal data; record the voltage corresponding to the current moment as the target voltage; obtain the estimated charge and discharge duration at the current moment according to the change amount between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current; obtain the duration from the initial moment to the current moment, which is recorded as the measured charge and discharge duration at the current moment, and adjust the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration and the measured charge and discharge duration at the current moment to obtain the adjusted proportional gain coefficient; Adjustment module: used to control and regulate the supercapacitor system according to the adjusted proportional gain coefficient.
[0016] The third aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the control method for a supercapacitor system based on proportional control regulation.
[0017] The fourth aspect of the present invention is to provide a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the control method for a supercapacitor system based on proportional control regulation.
[0018] Compared with the prior art, the beneficial effects of the present invention are as follows: smoothing and filtering the voltage signal data to obtain the filtered voltage signal data, improving the credibility of the data and reducing the interference degree of noise; recording the voltage corresponding to the current moment as the target voltage; obtaining the estimated charge and discharge duration at the current moment according to the change amount between the initial voltage and the target voltage, the capacitance of the supercapacitor, and the current in the filtered voltage signal data, improving the accuracy of the error influence analysis; obtaining the duration from the initial moment to the current moment, denoted as the measured charge and discharge duration at the current moment, and adjusting the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration and the measured charge and discharge duration at the current moment to obtain the adjusted proportional gain coefficient; improving the accuracy of the proportional gain coefficient; controlling and adjusting the supercapacitor system according to the adjusted proportional gain coefficient, and improving the accuracy of the control and adjustment of the supercapacitor system by adjusting the proportional gain coefficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0020] Figure 1 It is a schematic flow chart of the steps of a control method for a supercapacitor system based on proportional control regulation provided by the present invention; Figure 2 It is a schematic module flow chart of a control system for a supercapacitor system based on proportional control regulation provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the description, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0023] In view of the problems existing in the background technology, it is of great practical significance to research and design a control method and system for a supercapacitor system based on proportional control regulation.
[0024] As Figure 1 shown, the first aspect of the present invention is to provide a control method for a supercapacitor system based on proportional control regulation, including the following steps: Step S001: Collect each signal data in the supercapacitor.
[0025] It should be noted that in order to realize the health assessment of the supercapacitor, the prediction of the service life, the optimization of the control accuracy of the supercapacitor, and the fault diagnosis of the supercapacitor, it is necessary to collect various signal data of the supercapacitor through various sensors, and analyze various signal data of the supercapacitor to realize the health assessment, life prediction, control optimization and fault diagnosis of the supercapacitor, so as to ensure its efficient and stable operation in various application scenarios.
[0026] Specifically, various sensors are used to collect various signal data in the supercapacitor system; among them, various signal data in the supercapacitor include: current signal data, voltage signal data, temperature signal data, internal resistance signal data and power signal data.
[0027] Among them, the current signal data is collected by a current sensor, the voltage signal data is collected by a voltage sensor, the temperature signal data is collected by a temperature sensor, the internal resistance signal data is simply calculated by an AC impedance spectrometer, and the power signal data is collected by a power meter.
[0028] Thus, each signal data in the supercapacitor is obtained.
[0029] Step S002: Smoothly filter the voltage signal data to obtain the filtered voltage signal data; Denote the voltage corresponding to the current moment as the target voltage; According to the change amount between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current, obtain the estimated charge-discharge duration at the current moment; Obtain the duration from the initial moment to the current moment, denoted as the measured charge-discharge duration at the current moment, and adjust the preset proportional gain coefficient according to the difference between the estimated charge-discharge duration and the measured charge-discharge duration at the current moment to obtain the adjusted proportional gain coefficient.
[0030] It should be noted that since the charge-discharge process of the supercapacitor system is carried out in a short time, rapid adjustment is required within a short time when controlling and regulating through the controller. If rapid response adjustment is carried out within a short time, when adjusting through the proportional gain in the PID control algorithm, a relatively large proportional gain coefficient needs to be used for adjustment, so that rapid response can be achieved, and thus rapid feedback adjustment can be carried out.
[0031] Furthermore, it should be noted that since there is noise interference during the charge-discharge process of the supercapacitor system, resulting in large errors in the voltage data, it is first necessary to filter and adjust the voltage data, and estimate the charge-discharge time through the adjusted voltage data.
[0032] Specifically, use the Extended Kalman Filter (EKF) algorithm to filter the voltage signal data to obtain the filtered voltage signal data; Among them, the Extended Kalman Filter algorithm is a well-known technology and will not be specifically described here.
[0033] Denote the voltage corresponding to the current moment as the target voltage; According to the change amount between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current, analyze and obtain the estimated charge-discharge duration at the current moment; The estimated charge-discharge duration at the current moment is specifically expressed by the formula:
[0034] In the formula, represents the change amount between the initial voltage and the target voltage in the filtered voltage signal data, represents the average value of all current data during the process from the initial voltage to the target voltage, represents the capacitance of the supercapacitor, represents the estimated charge-discharge duration at the current moment.
[0035] It should be noted that due to the large capacitance and energy storage characteristics of the supercapacitor system, there are strong inertia and delay effects. A large proportional gain may cause the system to over-respond, even leading to oscillation or instability. Therefore, the larger the proportional gain coefficient, the faster the corresponding charge and discharge, and the shorter the estimated charge and discharge duration. To avoid oscillation, the proportional gain coefficient needs to be reduced; when the proportional gain coefficient is smaller, the corresponding charge and discharge are slower, and the estimated charge and discharge duration is longer. To avoid untimely response, the proportional gain coefficient needs to be increased.
[0036] Specifically, obtain the duration from the initial moment to the current moment, denoted as the measured charge and discharge duration at the current moment; adjust the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration and the measured charge and discharge duration at the current moment The specific adjustment process is expressed by the formula:
[0037] In the formula, represents the estimated charge and discharge duration at the current moment, represents the measured charge and discharge duration at the current moment, represents the preset proportional gain coefficient, represents the adjusted proportional gain coefficient, represents the linear normalization function.
[0038] Among them, if the estimated charge and discharge duration at the current moment is greater than or equal to the measured charge and discharge duration at the current moment, that is , it indicates that the response speed of the supercapacitor system is slow, and a faster proportional gain coefficient is required for adjustment. Therefore, the value obtained by normalizing the difference between the two durations is used as an adjustment coefficient for addition adjustment. Among them, dividing by 2 is mainly to prevent exceeding 1 when increasing the proportional gain coefficient; if the estimated charge and discharge duration at the current moment is less than the measured charge and discharge duration at the current moment, that is , it indicates that the response speed of the supercapacitor system is fast, and a slower proportional gain coefficient is required for adjustment. Therefore, the value obtained by normalizing the difference between the two durations is used as an adjustment coefficient for subtraction adjustment.
[0039] Thus, the adjusted proportional gain coefficient at the current moment is obtained.
[0040] Step S003: Control and adjust the supercapacitor system according to the adjusted proportional gain coefficient.
[0041] Control and adjust the supercapacitor system using the PID control algorithm according to the adjusted proportional gain coefficient.
[0042] Such as Figure 2As shown, the second aspect of the present invention is to provide a supercapacitor system control system based on proportional control regulation, including the following modules: Data acquisition module 101: used to obtain each signal data in the supercapacitor; among them, the signal data includes voltage signal data and current signal data; Data analysis module 102: used to perform smoothing filtering on the voltage signal data to obtain the filtered voltage signal data; record the voltage corresponding to the current moment as the target voltage; according to the change amount between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current, obtain the estimated charge and discharge duration at the current moment; obtain the duration from the initial moment to the current moment, denoted as the measured charge and discharge duration at the current moment, and adjust the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration and the measured charge and discharge duration at the current moment to obtain the adjusted proportional gain coefficient; Adjustment module 103: used to perform control adjustment on the supercapacitor system according to the adjusted proportional gain coefficient.
[0043] The third aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a control method for a supercapacitor system based on proportional control regulation.
[0044] The fourth aspect of the present invention is to provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements a control method for a supercapacitor system based on proportional control regulation.
[0045] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program code.
[0046] The present invention is described with reference to the flowcharts and / or block diagrams of methods, systems, and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate for implementation in the process Figure 1One or more processes and / or blocks Figure 1 Apparatus for the functions specified in one or more blocks
[0047] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to work in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction apparatus that implements the functions in the process Figure 1 One or more processes and / or blocks Figure 1 The functions specified in one or more blocks
[0048] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus, such that a series of operational steps are performed on the computer or other programmable apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the process Figure 1 One or more processes and / or blocks Figure 1 The steps of the functions specified in one or more blocks
[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications or equivalent replacements can still be made to the specific implementation manners of the present invention, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered by the protection scope of the present invention.
Claims
1. A supercapacitor system control method based on proportional control regulation, characterized in that: include: Acquire each signal data in the supercapacitor; wherein the signal data includes voltage signal data and current signal data; Smoothing and filtering the voltage signal data to obtain filtered voltage signal data; recording the voltage corresponding to the current moment as the target voltage; obtaining the estimated charge and discharge duration at the current moment according to the change between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current; obtaining the duration from the initial moment to the current moment, recording it as the measured charge and discharge duration at the current moment, and adjusting the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration at the current moment and the measured charge and discharge duration, to obtain the adjusted proportional gain coefficient; The supercapacitor system is controlled and regulated according to the adjusted proportional gain coefficient.
2. The method for controlling a supercapacitor system based on proportional control regulation according to claim 1, characterized in that: The step of smoothing and filtering the voltage signal data to obtain filtered voltage signal data includes: The voltage signal data is filtered using an extended Kalman filter algorithm to obtain filtered voltage signal data.
3. The method for controlling a supercapacitor system based on proportional control regulation according to claim 1, characterized in that: The method of obtaining the estimated charge and discharge duration at the current moment according to the variation between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance and the current of the supercapacitor includes: In the formula, Represents the change between the initial voltage and the target voltage in the filtered voltage signal data, Represents the mean value of all current data from the initial voltage to the target voltage. Represents the capacitance of the supercapacitor, Indicates the estimated charging and discharging time at the current moment.
4. The method for controlling a supercapacitor system based on proportional control regulation according to claim 1, characterized in that: The step of adjusting the preset proportional gain coefficient according to the difference between the estimated charging and discharging time at the current moment and the measured charging and discharging time to obtain the adjusted proportional gain coefficient includes: If the estimated charge and discharge duration at the current moment is greater than or equal to the measured charge and discharge duration at the current moment, the preset proportional gain coefficient is increased; If the estimated charge and discharge duration at the current moment is less than the measured charge and discharge duration at the current moment, the preset proportional gain coefficient is reduced.
5. The method for controlling a supercapacitor system based on proportional control regulation according to claim 4, characterized in that: If the estimated charge and discharge duration at the current moment is greater than or equal to the measured charge and discharge duration at the current moment, then the preset proportional gain coefficient is increased, including: In the formula, Indicates the estimated charging and discharging time at the current moment. Indicates the measured charge and discharge time at the current moment. Indicates the preset proportional gain coefficient, represents the adjusted proportional gain coefficient, represents the linear normalization function.
6. The method for controlling a supercapacitor system based on proportional control regulation according to claim 4, characterized in that: If the estimated charge and discharge duration at the current moment is less than the measured charge and discharge duration at the current moment, then the preset proportional gain coefficient is reduced, including: In the formula, Indicates the estimated charging and discharging time at the current moment. Indicates the measured charge and discharge time at the current moment. Indicates the preset proportional gain coefficient, represents the adjusted proportional gain coefficient, represents the linear normalization function.
7. The method for controlling a supercapacitor system based on proportional control regulation according to claim 1, characterized in that: The controlling and regulating of the supercapacitor system according to the adjusted proportional gain coefficient includes: The supercapacitor system is controlled and regulated using a PID control algorithm based on the adjusted proportional gain coefficient.
8. A supercapacitor system control system based on proportional control regulation, characterized in that: include: Data acquisition module: used to obtain each signal data in the supercapacitor; wherein the signal data includes voltage signal data and current signal data; Data analysis module: used to smooth and filter the voltage signal data to obtain the filtered voltage signal data; record the voltage corresponding to the current moment as the target voltage; obtain the estimated charge and discharge duration at the current moment according to the change between the initial voltage and the target voltage in the filtered voltage signal data, the capacitance of the supercapacitor, and the current; obtain the duration from the initial moment to the current moment, record it as the measured charge and discharge duration at the current moment, adjust the preset proportional gain coefficient according to the difference between the estimated charge and discharge duration at the current moment and the measured charge and discharge duration, and obtain the adjusted proportional gain coefficient; Regulation module: used to control and regulate the supercapacitor system according to the adjusted proportional gain coefficient.
9. An electronic device, characterized in that: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a supercapacitor system control method based on proportional control regulation as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the supercapacitor system control method based on proportional control regulation as described in any one of claims 1 to 7 is implemented.