Power supply control system based on single chip microcomputer control
Through the power control system based on the microcontroller, real-time monitoring and automatic adjustment of the power supply status are achieved, the problems of misjudgment and unreasonable control in the existing technology are solved, and the accuracy and stability of power supply control are improved.
Patent Information
- Application Number
- CN202411097694.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-12
AI Technical Summary
The existing power control system is prone to misjudgment and unreasonable control after long-term use, and it is difficult to adjust manually, so it is impossible to optimize according to the change in the power state in real time.
Adopt a power control system based on microcontroller, including microcontroller microcontroller module, power management module, sensor network module and user interaction interface module. Through data reception, PID control algorithm and automatic recovery mechanism, real-time monitoring and automatic adjustment of power supply status can be achieved. .
It improves the accuracy and stability of power control, can automatically adjust according to the power supply status, extend the detection time threshold, reduce the need for manual intervention, and improve power supply efficiency.
Smart Images

Figure CN118630925B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply control, in particular to a power supply control system based on single chip microcomputer control. Background Art
[0002] The power control system is a key component of the power supply circuit. Its performance directly affects the performance and actual effect of the power supply circuit. In order to obtain higher power supply efficiency, the power supply circuit is required to be able to effectively adjust the output voltage and current of the power supply according to the working conditions of the power supply, so that the power supply circuit can operate as stably as possible at a higher voltage and current state to obtain better power supply effect.
[0003] Most of the existing power supply control systems use controller judgment to control the distribution of power supply. However, when the controller is used for a long time, its internal electronic components are prone to misjudgment. At this time, re-control is likely to lead to unreasonable control. At the same time, when manual control of the power supply is carried out, the power supply can only be controlled once, and the algorithm inside the controller cannot be changed with manual control, so manual adjustment of the controller is required in a timely manner. Summary of the invention
[0004] The purpose of the present invention is to provide a power supply control system based on single chip microcomputer control to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides a power control system based on single chip microcomputer control, including a single chip microcomputer microcontroller module, a power management module, a sensor network module and a user interaction interface module;
[0006] The single chip microcontroller module includes a data receiving unit;
[0007] The single-chip microcontroller module also includes a calculation unit and a time management unit, wherein the data receiving unit is used to receive the data output by the status monitoring unit through a network interface receiving method, and to distinguish the data output by the status monitoring unit into abnormal data and normal data through a raw data and a threshold setting comparison method;
[0008] The principle of the network interface receiving method is: when the network interface card detects a signal on the transmission medium, it starts to receive the data frame. The data frame is the basic unit of network transmission data, including the frame header, data load and frame tail; the data frame received by the network interface card must be synchronized with the receiver to ensure that the data is correctly parsed, which is achieved through a special synchronization sequence in the frame header, where:
[0009] ;
[0010] Method for comparing original data and threshold setting: statistical analysis of data output by the state monitoring unit, setting a normal threshold by staff, and treating data exceeding or below the threshold as abnormal data;
[0011] The comparison method of raw data and threshold setting is:
[0012] Step 1: Calculate the mean μ and standard deviation σ of the original data set;
[0013] ;
[0014] ;
[0015] is the number of data points, is the sum of all data points; To find the square root;
[0016] For each data point xi, calculate its ;
[0017] According to the threshold, usually set to ±3, each data point is judged to be an outlier. If |Zi|>3, the detected data point is considered to be an outlier.
[0018] The calculation unit is used to receive the abnormal data output by the data receiving unit through the above-mentioned network interface, and calculate the abnormal data into reasonable data of the power supply through the PID control algorithm, and then output it to the power supply adjustment unit;
[0019] The PID control algorithm is used for feedback control in continuous or discrete systems. The working principle is to combine the three control elements of proportion, integration and differentiation to achieve accurate tracking and stability of the system. Specifically:
[0020] ;
[0021] in, is the error at time t, It is the normal data set. is the actual measured abnormal value;
[0022] The time management unit is used to automatically output the start and stop data of the power supply to the power supply adjustment unit through the method received by the above network interface according to the time set by the staff when the sensor network module does not detect the existence of abnormal data in the power supply;
[0023] The times set by the staff are: Times when the power supply is not used regularly, which are nighttime and rest days;
[0024] The running time is: ;
[0025] Among them, open and These are the timestamps of when the power is turned on and off, respectively.
[0026] The power management module includes a power adjustment unit;
[0027] The power management module also includes a data recording unit, and the power adjustment unit is used to receive the reasonable data calculated by the calculation unit and adjust the power supply through an automatic control method;
[0028] The automatic control method is calculated by the weighted sum of three control elements, each of which has a specific role to achieve fast response, eliminate static errors and suppress dynamic errors, specifically:
[0029] Proportional control:
[0030] ;
[0031] is the current control output, is the proportional gain, Set the error between the threshold and the abnormal value;
[0032] Integral control:
[0033] ;
[0034] is the integral gain, is the time interval detected by the state monitoring unit (310);
[0035] Derivative control:
[0036] ;
[0037] is the differential gain:
[0038] The final control output is the sum of these three control elements;
[0039] ;
[0040] is the integral error of the independent variable t, which is used to represent integral control;
[0041] The data recording unit is used to record the adjustment data generated when the power adjustment unit adjusts the power supply, and then outputs the reasonable data to the user interaction interface module through the method of receiving the network interface in the data receiving unit by establishing a NoSQL database to store data.
[0042] The power management module also includes an automatic recovery unit, which is used to automatically control the recovery sequence and timing of the electronic components inside the power supply through a recovery control method after the power supply is cut off, so as to protect the sensitive electronic components in the power supply;
[0043] The recovery control method recovers the load distribution in the electronic components by calculating the load distribution in the electronic components;
[0044] If the power supply has N electronic components, the load distribution formula for each electronic component is: load / N.
[0045] The sensor network module includes a state monitoring unit and an energy saving unit;
[0046] The state monitoring unit is used to periodically detect the operating state and operating environment of the power supply through a sensor;
[0047] The detected data include: voltage anomaly, current anomaly and power supply operating environment;
[0048] Current and voltage detection is done by magnetic induction sensors:
[0049] The magnetic induction sensor is based on the Hall effect. When current passes through a conductor, a voltage is generated in the magnetic field. At this time, the voltage can be recorded and the current can be calculated again by measuring the voltage.
[0050] The power supply operating environment is detected by the humidity sensor:
[0051] The principle of humidity sensor detection: When the humidity increases, the dielectric constant of the medium increases, causing the capacitance of the sensor to change;
[0052] The change in capacitance is proportional to the humidity. Humidity is calculated by measuring the change in capacitance and converting it into voltage. The formula is:
[0053] ;
[0054] C is the current capacitance value, is the reference capacitance value, is the capacitance value when the humidity changes by one unit;
[0055] Method for regular power supply detection: the staff sets the operating threshold of the sensor, and the sensor can automatically operate when the operating threshold is set;
[0056] The energy-saving unit automatically determines the automatic start and stop of the status monitoring unit through the normal data in the data receiving unit and the power supply operating environment in the status monitoring unit through a card point detection method;
[0057] When the state monitoring unit detects the operating state of the power supply, during the operation of the power supply, multiple detections within the detection time threshold set by the staff are normal values, and at this time, when the power supply operating environment detection in the state monitoring unit does not change significantly, the energy saving unit can automatically extend the detection time threshold;
[0058] Assumption value: Use the card point detection method to determine the threshold, set an initial value based on the actual situation, and calculate the chi-square value;
[0059] Calculate observation values: Calculate the number of data that meet the conditions in a certain period of time;
[0060] ;
[0061] Compare the chi-square value to the threshold in the chi-square distribution table: If the chi-square value is greater than the threshold, reject the null hypothesis and set the new threshold to the current timing detection threshold.
[0062] The sensor network module also includes an energy consumption calculation unit, which is used to calculate the power operation energy consumption of the power adjustment unit after the power adjustment and before the power adjustment, and compare the calculated data, and then output the power operation energy consumption after the power adjustment and before the power adjustment to the display unit, and then manually compare the power operation energy consumption after the power adjustment and before the power adjustment to judge the rationality of the power adjustment by the power adjustment unit;
[0063] The calculation method of power supply operation energy consumption is:
[0064] Power consumption = power consumption × running time;
[0065] Power consumption refers to the total energy consumed by the power supply in a certain period of time, measured in kilowatt-hours, and the operating time is measured in hours.
[0066] The user interaction interface module includes a display unit, an adjustment input unit and an optimization unit;
[0067] The display unit is used to receive the adjustment of the power supply by the power adjustment unit through the method of the network interface in the data receiving unit, and to establish an interactive interface through HTML and display the power supply operation status on the display;
[0068] The adjustment input unit is used to manually determine whether the adjustment of the power supply by the power adjustment unit is accurate. If it is inaccurate, the adjustment data is manually output to the power adjustment unit.
[0069] The optimization unit is used to record the manually output adjustment data, and output the recorded data to the calculation formula of the calculation unit, and adjust the calculation method in the calculation unit by an automatic modification method;
[0070] The automatic modification method is to determine the data adjusted by the staff of the adjustment input unit, determine the effect of the adjusted data on the PID control algorithm of the calculation unit, and modify the PID control algorithm of the calculation unit according to the adjusted data.
[0071] The user interaction interface module also includes a remote control unit, which is used to observe the value displayed by the display unit by wireless transmission. When the value is unreasonable, the staff adjusts the value by wireless transmission;
[0072] The wireless transmission method converts digital information into a signal form suitable for wireless transmission, amplifies the modulated signal to sufficient power, and transmits the signal into the air through an antenna to form an electromagnetic wave. The staff can then remotely output the signal to the adjustment input unit.
[0073] The state monitoring unit monitors the power supply in real time, and then outputs the monitoring data to the data receiving unit. The data is distinguished and calculated by the single-chip microcontroller module. The distinguished abnormal data is calculated and output to the power supply adjustment unit to adjust the power supply. At the same time, the adjustment state of the power supply can be observed through the user interaction interface module. When the adjustment is unreasonable, the adjustment data is manually output to the power supply adjustment unit for adjustment. The adjustment data manually output is output to the calculation unit through the optimization unit, and the calculation method in the calculation unit is adjusted. Then the energy-saving unit controls the automatic start and stop of the state monitoring unit according to the normal data in the data receiving unit and the power supply operating environment detected in the state monitoring unit.
[0074] Compared with the prior art, the present invention has the following beneficial effects:
[0075] 1. In the power control system based on single-chip microcomputer control, the adjustment data manually output is sent to the power adjustment unit for adjustment, and then the adjustment data manually output is output to the calculation unit through the optimization unit, and the calculation method in the calculation unit is adjusted. At the same time, when the operating status of the power supply is detected by the status monitoring unit, during the operation of the power supply, multiple detections within the detection time threshold set by the staff are normal values. At this time, when the power supply operating environment detection in the status monitoring unit has not changed significantly, the energy-saving unit can automatically extend the detection time threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1It is the overall module principle diagram of the present invention;
[0077] Figure 2 It is the principle diagram of the single chip microcontroller module of the present invention;
[0078] Figure 3 This is a schematic diagram of the power management module of the present invention;
[0079] Figure 4 It is the principle diagram of the sensor network module of the present invention;
[0080] Figure 5 It is a schematic diagram of the user interaction interface module of the present invention;
[0081] Figure 6 It is the overall process principle diagram of the present invention.
[0082] The meaning of each number in the figure is:
[0083] 100, single chip microcontroller module; 110, data receiving unit; 120, calculation unit; 130, time management unit;
[0084] 200, power management module; 210, power adjustment unit; 220, data recording unit; 230, automatic recovery unit;
[0085] 300, sensor network module; 310, status monitoring unit; 320, energy saving unit; 330, energy consumption calculation unit;
[0086] 400, user interaction interface module; 410, display unit; 420, adjustment input unit; 430, optimization unit; 440, remote control unit. DETAILED DESCRIPTION
[0087] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0088] The power control system based on single chip microcomputer control includes a single chip microcontroller module 100, a power management module 200, a sensor network module 300 and a user interaction interface module 400;
[0089] The single chip microcontroller module 100 includes a data receiving unit 110;
[0090] The single-chip microcontroller module 100 further includes a calculation unit 120 and a time management unit 130. The data receiving unit 110 is used to receive the data output by the status monitoring unit 310 through a network interface receiving method, and to distinguish the data output by the status monitoring unit 310 into abnormal data and normal data through a raw data and a threshold setting comparison method;
[0091] The principle of the network interface receiving method is: when the network interface card detects a signal on the transmission medium, it starts to receive the data frame. The data frame is the basic unit of network transmission data, including the frame header, data load and frame tail; the data frame received by the network interface card must be synchronized with the receiver to ensure that the data is correctly parsed, which is achieved through a special synchronization sequence in the frame header, where:
[0092] ;
[0093] Method for comparing raw data and threshold setting: statistical analysis of data output by the status monitoring unit 310, setting a normal threshold by staff, and treating data exceeding or below the threshold as abnormal data;
[0094] The comparison method of raw data and threshold setting is:
[0095] Step 1: Calculate the mean μ and standard deviation σ of the original data set;
[0096] ;
[0097] ;
[0098] is the number of data points, is the sum of all data points; To find the square root;
[0099] For each data point xi, calculate its ;
[0100] According to the threshold, usually set to ±3, each data point is judged to be an outlier. If |Zi|>3, the detected data point is considered to be an outlier.
[0101] The calculation unit 120 is used to receive the abnormal data output by the data receiving unit 110 through the above-mentioned network interface receiving method, and calculate the abnormal data into reasonable data of the power supply through the PID control algorithm, and then output it to the power supply adjustment unit 210;
[0102] The PID control algorithm is used for feedback control in continuous or discrete systems. The working principle is to combine the three control elements of proportion, integration and differentiation to achieve accurate tracking and stability of the system. Specifically:
[0103] ;
[0104] in, is the error at time t, It is the normal data set. is the actual measured abnormal value;
[0105] The time management unit 130 is used to automatically output the start and stop data of the power supply to the power supply adjustment unit 210 through the method received by the above network interface according to the time set by the staff when the sensor network module 300 does not detect the existence of abnormal data in the power supply;
[0106] The times set by the staff are: Times when the power supply is not used regularly, which are nighttime and rest days;
[0107] The running time is: ;
[0108] Among them, open and These are the timestamps of when the power is turned on and off, respectively.
[0109] The power management module 200 includes a power adjustment unit 210;
[0110] The power management module also includes a data recording unit 220, and the power adjustment unit 210 is used to receive reasonable data calculated by the calculation unit 120 and adjust the power supply through an automatic control method;
[0111] The automatic control method is calculated by the weighted sum of three control elements, each of which has a specific role to achieve fast response, eliminate static errors and suppress dynamic errors, specifically:
[0112] Proportional control:
[0113] ;
[0114] is the current control output, is the proportional gain, Set the error between the threshold and the abnormal value;
[0115] Integral control:
[0116] ;
[0117] is the integral gain, is the time interval detected by the status monitoring unit 310;
[0118] Derivative control:
[0119] ;
[0120] is the differential gain:
[0121] The final control output is the sum of these three control elements;
[0122] ;
[0123] is the integral error of the independent variable t, which is used to represent integral control;
[0124] The data recording unit 220 is used to record the adjustment data generated when the power adjustment unit 210 adjusts the power, and then outputs the reasonable data to the user interaction interface module 400 through the method of receiving the network interface in the data receiving unit 110 by establishing a NoSQL database to store data.
[0125] The power management module 200 also includes an automatic recovery unit 230, which is used to automatically control the recovery sequence and timing of the electronic components inside the power supply through a recovery control method after the power supply is cut off, so as to protect the sensitive electronic components in the power supply;
[0126] The recovery control method recovers the load distribution in the electronic components by calculating the load distribution in the electronic components;
[0127] If the power supply has N electronic components, the load distribution formula for each electronic component is: load / N.
[0128] The sensor network module 300 includes a state monitoring unit 310 and an energy saving unit 320;
[0129] The state monitoring unit 310 is used to periodically detect the operating state and operating environment of the power supply through sensors;
[0130] The detected data include: voltage anomaly, current anomaly and power supply operating environment;
[0131] Current and voltage detection is done by magnetic induction sensors:
[0132] The magnetic induction sensor is based on the Hall effect. When current passes through a conductor, a voltage is generated in the magnetic field. At this time, the voltage can be recorded and the current can be calculated again by measuring the voltage.
[0133] The power supply operating environment is detected by the humidity sensor:
[0134] The principle of humidity sensor detection: When the humidity increases, the dielectric constant of the medium increases, causing the capacitance of the sensor to change;
[0135] The change in capacitance is proportional to the humidity. Humidity is calculated by measuring the change in capacitance and converting it into voltage. The formula is:
[0136] ;
[0137] C is the current capacitance value, C0 is the reference capacitance value, and C1 is the capacitance value when the humidity changes by one unit;
[0138] Method for regular power supply detection: the staff sets the operating threshold of the sensor, and the sensor can automatically operate when the operating threshold is set;
[0139] The energy-saving unit 320 automatically determines the automatic start and stop of the state monitoring unit 310 through the normal data in the data receiving unit 110 and the power supply operation environment in the state monitoring unit 310 through the card point detection method;
[0140] When the state monitoring unit 310 detects the operating state of the power supply, during the operation of the power supply, multiple detections within the detection time threshold set by the staff are normal values, and at this time, when the state monitoring unit 310 detects that there is no significant change in the power supply operating environment, the energy saving unit 320 can automatically extend the detection time threshold;
[0141] Assumption value: Use the card point detection method to determine the threshold, set an initial value based on the actual situation, and calculate the chi-square value;
[0142] Calculate observation values: Calculate the number of data that meet the conditions in a certain period of time;
[0143] ;
[0144] Compare the chi-square value to the threshold in the chi-square distribution table: If the chi-square value is greater than the threshold, reject the null hypothesis and set the new threshold to the current timing detection threshold.
[0145] The sensor network module 300 also includes an energy consumption calculation unit 330, which is used to calculate the power operation energy consumption of the power adjustment unit 210 after the power adjustment and before the power adjustment, and compare the calculated data, and then output the power operation energy consumption after the power adjustment and before the power adjustment to the display unit 410, and then manually compare the power operation energy consumption after the power adjustment and before the power adjustment to determine the rationality of the power adjustment by the power adjustment unit 210;
[0146] The calculation method of power supply operation energy consumption is:
[0147] Power consumption = power consumption × running time;
[0148] Power consumption refers to the total energy consumed by the power supply in a certain period of time, measured in kilowatt-hours, and the operating time is measured in hours.
[0149] The user interaction interface module 400 includes a display unit 410, an adjustment input unit 420, and an optimization unit 430;
[0150] The display unit 410 is used to receive the power adjustment status of the power adjustment unit 210 through the network interface receiving method in the data receiving unit 110, and to establish an interactive interface through HTML and display the power operation status on the display;
[0151] The adjustment input unit 420 is used to manually determine whether the adjustment of the power supply by the power adjustment unit 210 is accurate. If it is inaccurate, the adjustment data is manually output to the power adjustment unit 210.
[0152] The optimization unit 430 is used to record the manually output adjustment data, and output the recorded data to the calculation formula of the calculation unit 120, and adjust the calculation method in the calculation unit 120 by an automatic modification method;
[0153] The automatic modification method is to determine the data adjusted by the staff of the adjustment input unit 420, determine the effect of the adjusted data on the PID control algorithm in the calculation unit 120, and modify the PID control algorithm of the calculation unit 120 according to the adjusted data.
[0154] The user interaction interface module 400 also includes a remote control unit 440, which is used to observe the value displayed by the display unit 410 by wireless transmission. When the value is unreasonable, the staff adjusts the value by wireless transmission;
[0155] The wireless transmission method converts digital information into a signal form suitable for wireless transmission, amplifies the modulated signal to sufficient power, and transmits the signal into the air through an antenna to form an electromagnetic wave. The staff can then remotely output the signal to the adjustment input unit 420.
[0156] The status monitoring unit 310 monitors the power supply in real time, and then outputs the monitoring data to the data receiving unit 110. The single-chip microcontroller module 100 distinguishes and calculates the data, and the distinguished abnormal data is calculated and output to the power adjustment unit 210 to adjust the power supply. At the same time, the adjustment status of the power supply can be observed through the user interaction interface module 400. When the adjustment is unreasonable, the adjustment data is manually output to the power adjustment unit 210 for adjustment, and the manually output adjustment data is output to the calculation unit 120 through the optimization unit 430. The calculation method in the calculation unit 120 is adjusted, and then the energy saving unit 320 controls the automatic start and stop of the status monitoring unit 310 according to the normal data in the data receiving unit 110 and the power supply operating environment detected in the status monitoring unit 310.
[0157] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. The power control system based on single chip microcomputer control is characterized by: It comprises a single-chip microcontroller module (100), a power management module (200), a sensor network module (300) and a user interaction interface module (400); The single-chip microcontroller module (100) comprises a data receiving unit (110), the power management module (200) comprises a power adjustment unit (210), the sensor network module (300) comprises a state monitoring unit (310) and an energy saving unit (320), and the user interaction interface module (400) comprises a display unit (410), an adjustment input unit (420), and an optimization unit (430), wherein: The state monitoring unit (310) monitors the power supply in real time, and then outputs the monitoring data to the data receiving unit (110). The single-chip microcontroller module (100) distinguishes and calculates the data, and the distinguished abnormal data is calculated and output to the power supply adjustment unit (210) to adjust the power supply. At the same time, the adjustment state of the power supply can be observed through the user interaction interface module (400). When the adjustment is unreasonable, the adjustment data is manually output to the power supply adjustment unit (210) for adjustment. The optimization unit (430) outputs the manually output adjustment data to the calculation unit (120), and the calculation method in the calculation unit (120) is adjusted. Then, the energy saving unit (320) controls the automatic start and stop of the state monitoring unit (310) according to the normal data in the data receiving unit (110) and the power supply operation environment detected in the state monitoring unit (310); The single-chip microcontroller module (100) further comprises a calculation unit (120) and a time management unit (130); The data receiving unit (110) is used to receive the data output by the status monitoring unit (310) through a network interface receiving method, and to distinguish the data output by the status monitoring unit (310) into abnormal data and normal data through an original data and threshold setting comparison method; The principle of the network interface receiving method is: when the network interface card detects a signal on the transmission medium, it starts to receive the data frame. The data frame is the basic unit of network transmission data, including the frame header, data load and frame tail; the data frame received by the network interface card must be synchronized with the receiver to ensure that the data is correctly parsed, which is achieved through a special synchronization sequence in the frame header, where: ; A method for comparing raw data and threshold setting: statistically analyzing the data output by the state monitoring unit (310), setting a normal threshold by a staff member, and treating data exceeding or below the threshold as abnormal data; The comparison method of raw data and threshold setting is: Step 1: Calculate the mean μ and standard deviation σ of the original data set; ; ; is the number of data points, is the sum of all data points; To find the square root; For each data point xi, ; According to the threshold, usually set to ±3, each data point is judged to be an outlier. If |Zi|>3, the detected data point is considered to be an outlier. The calculation unit (120) is used to receive the abnormal data output by the data receiving unit (110) through the above-mentioned network interface receiving method, and calculate the abnormal data into reasonable data of the power supply through a PID control algorithm, and then output it to the power supply adjustment unit (210); The PID control algorithm is used for feedback control in continuous or discrete systems. The working principle is to combine the three control elements of proportion, integration and differentiation to achieve accurate tracking and stability of the system. Specifically: ; in, is the error at time t, It is the normal data set. is the actual measured abnormal value; The time management unit (130) is used to automatically output the start and stop data of the power supply to the power supply adjustment unit (210) through the method received by the network interface according to the time set by the staff when the sensor network module (300) does not detect the presence of abnormal data in the power supply; The times set by the staff are: The times when the power supply is not used regularly, which are nighttime and rest days; The running time is: ; in, and These are the timestamps of when the power is turned on and off, respectively.
2. The power control system based on single chip microcomputer control according to claim 1 is characterized in that: The power management module (200) further comprises a data recording unit (220); The power supply adjustment unit (210) is used to receive reasonable data calculated by the calculation unit (120) and adjust the power supply through an automatic control method; The automatic control method is calculated by the weighted sum of three control elements, each of which has a specific role to achieve fast response, eliminate static errors and suppress dynamic errors; The data recording unit (220) is used to record the adjustment data generated when the power adjustment unit (210) adjusts the power supply, and then outputs the reasonable data to the user interaction interface module (400) through a method of receiving the reasonable data via a network interface in the data receiving unit (110) by establishing a NoSQL database to store the data.
3. The power control system based on single chip microcomputer control according to claim 1 is characterized in that: The state monitoring unit (310) is used to periodically detect the operating state and operating environment of the power supply through a sensor; The detected data include: voltage anomaly, current anomaly, power supply operating environment; Current and voltage detection is done by magnetic induction sensors: The magnetic induction sensor is based on the Hall effect. When current passes through a conductor, a voltage is generated in the magnetic field. At this time, the voltage can be recorded and the current can be calculated again by measuring the voltage. The power supply operating environment is detected by the humidity sensor: The principle of humidity sensor detection: When the humidity increases, the dielectric constant of the medium increases, causing the capacitance of the sensor to change; The change in capacitance is proportional to the humidity. Humidity is calculated by measuring the change in capacitance and converting it into voltage. The formula is: ; C is the current capacitance value, C0 is the reference capacitance value, and C1 is the capacitance value when the humidity changes by one unit; Method for regular power supply detection: the staff sets the operating threshold of the sensor, and the sensor can automatically operate when the operating threshold is set; The energy-saving unit (320) automatically determines the automatic start and stop of the status monitoring unit (310) through a card point detection method based on the normal data in the data receiving unit (110) and the power supply operation environment in the status monitoring unit (310); When the state monitoring unit (310) detects the operating state of the power supply, during the operation of the power supply, multiple detections within the detection time threshold set by the staff are normal values, and at this time, the state monitoring unit (310) detects that there is no significant change in the power supply operating environment, the energy saving unit (320) can automatically extend the detection time threshold; Assumption value: Use the card point detection method to determine the threshold, set an initial value based on the actual situation, and calculate the chi-square value; Calculate observation values: Calculate the number of data that meet the conditions in a certain period of time; ; Compare the chi-square value to the threshold in the chi-square distribution table: If the chi-square value is greater than the threshold, reject the null hypothesis and set the new threshold to the current timing detection threshold.
4. The power control system based on single chip microcomputer control according to claim 1 is characterized in that: The display unit (410) is used to receive the power adjustment status of the power adjustment unit (210) through the network interface receiving method in the data receiving unit (110), and to establish an interactive interface through HTML and display the power operation status on the display; The adjustment input unit (420) is used to manually determine whether the adjustment of the power supply by the power adjustment unit (210) is accurate, and if it is inaccurate, manually output the adjustment data to the power adjustment unit (210); The optimization unit (430) is used to record the manually output adjustment data, and output the recorded data to the calculation formula of the calculation unit (120), and adjust the calculation method in the calculation unit (120) by an automatic modification method; The automatic modification method comprises determining the data adjusted by the staff of the adjustment input unit (420), determining the effect of the adjusted data on the PID control algorithm in the calculation unit (120), and modifying the PID control algorithm of the calculation unit (120) according to the adjusted data.
5. The power control system based on single chip microcomputer control according to claim 1 is characterized in that: The power management module (200) further comprises an automatic recovery unit (230), wherein the automatic recovery unit (230) is used to automatically control the recovery sequence and timing of the electronic components inside the power supply through a recovery control method after a power outage, thereby protecting sensitive electronic components inside the power supply; The recovery control method recovers the load distribution in the electronic components by calculating the load distribution in the electronic components; If the power supply has N electronic components, the load distribution formula for each electronic component is: load / N.
6. The power control system based on single chip microcomputer control according to claim 1 is characterized in that: The sensor network module (300) further comprises an energy consumption calculation unit (330), the energy consumption calculation unit (330) being used to calculate the power operation energy consumption after the power adjustment and before the power adjustment in the power adjustment unit (210), and compare the calculated data, and then output the power operation energy consumption after the power adjustment and before the power adjustment to the display unit (410), and then manually compare the power operation energy consumption after the power adjustment and before the power adjustment to judge the rationality of the power adjustment by the power adjustment unit (210); The calculation method of power supply operation energy consumption is: Power consumption = power consumption × running time; Power consumption refers to the total energy consumed by the power supply in a certain period of time, measured in kilowatt-hours, and the operating time is measured in hours.
7. The power control system based on single chip microcomputer control according to claim 1 is characterized in that: The user interaction interface module (400) further comprises a remote control unit (440), wherein the remote control unit (440) is used to observe the numerical value displayed by the display unit (410) by means of wireless transmission, and when the numerical value is unreasonable, the staff adjusts the numerical value by means of wireless transmission; The wireless transmission method converts digital information into a signal form suitable for wireless transmission, amplifies the modulated signal to a sufficient power, and transmits the signal into the air through an antenna to form an electromagnetic wave, and then the staff can remotely output the signal to the adjustment input unit (420).
Citation Information
Patent Citations
Energy-saving control system for single-chip microcomputer switching power supply
CN109656158A
Power supply control cabinet system based on precise control and operation method thereof
CN117950309A
Power management system
KR1020110104140A
