UPS (Uninterrupted Power Supply) based on ARM processor dual-temperature compensation algorithm

By using ARM processor and dual temperature compensation algorithm in UPS power supply, the battery temperature is monitored and adjusted in real time, the problem of low stability and efficiency of UPS power supply when temperature fluctuates is solved, and stable power supply and efficient operation in different temperature environments are achieved.

CN119582421APending Publication Date: 2025-03-07ZHENGZHOU HAIWEI ELECTRONIC TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411705413.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

When the ambient temperature fluctuates greatly, the stability and power supply efficiency of existing UPS power supplies are poor, which affects the stable power supply to electronic equipment.

Method used

The dual temperature compensation algorithm based on the ARM processor is adopted to monitor the temperature of the battery pack module in real time through the dual temperature sensor module. The ARM processor performs data processing and analysis, and adjusts the battery charging and discharge parameters according to the temperature data to achieve temperature compensation.

Benefits of technology

Optimize the performance of UPS power supply, improve stability and efficiency, ensure that UPS power supply can operate stably under different temperature environments, and further enhance stability through the settings of power filter modules and overload protection modules, and ensure that electronic equipment obtains reliable power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119582421A_ABST
    Figure CN119582421A_ABST
Patent Text Reader

Abstract

The invention discloses a UPS (Uninterrupted Power Supply) based on an ARM (Advanced RISC Machines) processor dual-temperature compensation algorithm, which comprises a UPS body connected with a remote monitoring end and electronic equipment, the UPS power supply body comprises an ARM processor, a dual-temperature sensor module, a battery pack module, a communication interface module, an input power supply module, an alarm module, an output power supply module, a power filtering module, an overload protection module and a DC / AC conversion module. According to the invention, the temperature change in the UPS power supply body is monitored, and the ARM processor and the dual-temperature compensation algorithm are combined according to the temperature change condition to carry out temperature compensation, so that the performance of the UPS power supply body can be optimized, the stability and efficiency of the UPS power supply body are improved, the UPS power supply body can work stably in different temperature environments, and the power supply reliability is improved. And the stability of the UPS power supply body can be further enhanced through the cooperation of the arrangement of the power filtering module and the overload protection module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of UPS power supply technology, and in particular to a UPS power supply based on an ARM processor dual temperature compensation algorithm. Background Technology

[0002] UPS (Uninterruptible Power Supply) is a device that provides stable power to electronic equipment. UPS power supplies are mainly used to provide temporary power when the power grid supply is unstable or there is a power outage, protecting equipment from damage caused by power fluctuations, voltage fluctuations, or even power outages. UPS power supplies use built-in batteries or supercapacitors to immediately switch to backup power when the power grid fails, ensuring continuous power supply to the equipment and preventing data loss or equipment damage.

[0003] Existing UPS power supplies have poor adaptability to changes in ambient temperature during use. When the ambient temperature fluctuates greatly, the stability and power supply efficiency of the UPS power supply will be affected, thereby affecting the stable power supply to electronic equipment. To address this, this application proposes a UPS power supply based on a dual temperature compensation algorithm of an ARM processor. Summary of the Invention

[0004] Based on the technical problems existing in the background technology, this invention proposes a UPS power supply based on a dual temperature compensation algorithm of ARM processor.

[0005] The UPS power supply based on the dual temperature compensation algorithm of ARM processor proposed in this invention includes a UPS power supply body connected to a remote monitoring terminal and electronic equipment. The UPS power supply body includes an ARM processor, a dual temperature sensor module, a battery pack module, a communication interface module, an input power module, an alarm module, an output power module, a power filtering module, an overload protection module, and a DC / AC conversion module.

[0006] The ARM processor is connected to the dual temperature sensor module, battery pack module, communication interface module, input power module, alarm module, output power module, power filter module, and overload protection module. The communication interface module is connected to the remote monitoring terminal. The input power module is connected to the electronic equipment. The battery pack module is connected to the dual temperature sensor module and DC / AC conversion module. The output power module is connected to the DC / AC conversion module, overload protection module, electronic filter module, and electronic equipment.

[0007] Preferably, the dual temperature sensor module is used to monitor the temperature of the battery pack module in real time and transmit the temperature data to the ARM processor. The specific logical steps are as follows:

[0008] S101: The temperature sensor in the dual temperature sensor module monitors the temperature of the battery pack module in real time. The temperature sensor generates an electrical signal by receiving temperature changes, and the electrical signal changes according to the temperature changes.

[0009] S102: The detected temperature signal is converted into a digital signal by the analog-to-digital converter (ADC) of the dual temperature sensor module. The digital signal is transmitted to the microcontroller of the dual temperature sensor module via the communication bus. When the temperature signal is converted into a digital signal, it is used... The formula is transformed, where n represents the resolution bit depth of the ADC;

[0010] S103: The microcontroller of the dual temperature sensor module packages the collected temperature data into a data packet and transmits it through the interface with the ARM processor module.

[0011] Preferably, the ARM processor serves as the control core, monitoring the status and data of each module in real time. The ARM processor is used to implement a temperature compensation algorithm, adjusting parameters based on temperature data to compensate for the impact of the battery pack module's temperature on battery performance and operation. The adjusted parameters are the battery charging and discharging parameters.

[0012] The execution logic steps of the temperature compensation algorithm are as follows:

[0013] S201: The ARM processor processes and parses the received temperature data. This processing and parsing includes data correction and filtering. The accuracy of the data is improved through processing and parsing, and the processed temperature data is stored in variables for subsequent temperature compensation algorithm calculations and adjustments.

[0014] When correcting the data, a zero-point correction method is required. The formula used for this correction is: T correcte =T measured -T offset ;

[0015] Where T measured It is the sensor's raw measurement value, T offset It is a known offset value, which is determined through calibration;

[0016] The filtering process uses a moving average filter, which calculates the average value of the data within a sliding window to smooth short-term fluctuations and remove noise from the temperature data. The formula used in the calculation is as follows:

[0017]

[0018] Where N is the window size, and T[n] is the temperature value of the nth sample;

[0019] S202: Based on the set temperature compensation algorithm, the ARM processor performs real-time analysis and calculation of the temperature data of the battery pack module;

[0020] S203: Based on the results obtained from the algorithm, the ARM processor adjusts the battery charging and discharging parameters of the battery pack module to optimize battery performance;

[0021] S204: The ARM processor controls the operation of the entire UPS power supply based on the results of the temperature compensation algorithm.

[0022] Preferably, the specific logical steps of S202 are as follows:

[0023] S2021: First, define the temperature threshold, including the upper limit threshold T_high and the lower limit threshold T_low, and determine whether the battery is within the normal operating range based on the temperature threshold;

[0024] S2022: Calculate the temperature difference based on the reference temperature and the acquired temperature data. The temperature difference formula is: ΔT=T_current-T_ref, where T_current represents the acquired actual temperature data and T_ref represents the set reference temperature.

[0025] S2023: Calculate the compensation coefficient K based on the temperature difference in S2022, and determine the impact on battery performance based on the compensation coefficient K. Factors affecting battery performance include battery capacity, resistance and charging efficiency. Increased temperature usually leads to a decrease in the usable capacity of the battery. Temperature changes affect the fluidity of the electrolyte inside the battery, thereby affecting the internal resistance of the battery. Increased temperature will reduce the charging efficiency of the battery.

[0026] The formula for its calculation is: k = 1 + α * ΔT, where α is the temperature compensation coefficient, representing the sensitivity of the parameter to temperature.

[0027] S2024: Calculate the battery charging and discharging parameters based on the compensation coefficient K. The calculation formula is as follows:

[0028] Calculation of charging and discharging voltage parameters: V charge =V nominal ×k, where V charge This is the adjusted voltage, V nominal This refers to the battery's rated voltage. For example, if the ambient temperature is low, the compensation factor K may be less than 1, thus requiring a reduction in the charging voltage to avoid overcharging and damage.

[0029] Calculation of charging and discharging current parameters: I charge =I nominal ×k, where I charge It is the adjusted current, I nominalThis is the battery's rated current. For example, at high temperatures, the compensation coefficient K may be less than 1 to reduce the charging and discharging current and prevent the battery from overheating; at low temperatures, the charging and discharging current may also be reduced to avoid damage caused by low internal reaction efficiency.

[0030] Preferably, the input power module is used to monitor the voltage parameters of the electronic device. When the electronic device is unstable or loses power, the ARM processor switches to the output power module to supply power to the electronic device. During power supply, the battery module converts the power supply through the DC / AC conversion module and transmits it to the output power module, which then supplies power to the electronic device.

[0031] Preferably, the power filtering module is used to filter the power output from the output power module, eliminating noise and interference in the power supply and ensuring the purity and stability of the output power. The specific logical steps are as follows:

[0032] S301: The power filtering module first collects the power signal output by the power supply module;

[0033] S302: The power filtering module selects a low-pass filter to filter the acquired signal, removing unwanted frequency components and retaining the required power signal. During the filtering process, it uses... The formula is used for calculation;

[0034] Where w c H(s) is the cutoff frequency of the filter, H(s) represents the frequency response to frequency (S), s = jω represents the complex frequency, j is the imaginary unit, and ω is the angular frequency.

[0035] Because there is a lot of high-frequency noise in the UPS power supply itself, including electromagnetic interference (EMI) and radio frequency interference (RFI) generated by the power supply and equipment switching, a low-pass filter is selected to remove high-frequency noise.

[0036] S303: Perform frequency analysis on the filtered signal in S302 to ensure that interference signals within the expected range have been filtered out;

[0037] S304: The processed, clean, and stable power signal will be sent out to provide electronic equipment with stable and reliable operation.

[0038] Preferably, the overload protection module is used to monitor the output current and prevent the UPS power supply body from overloading, thereby protecting the connected electronic equipment from damage. Its specific logic steps are as follows:

[0039] S401: The current value output by the power supply module is measured by a current sensor, and a current threshold is set in the overload protection module. When the current exceeds the value, an overload is considered to have occurred. The threshold setting should take into account the maximum current load that the UPS power supply can withstand and the rated load of the connected electronic equipment.

[0040] S402: The overload protection module compares the real-time measured current value with the set threshold, sets the real-time measured current value as X, and sets the set threshold as Y. If X>Y, it means that the current value exceeds the set threshold and is identified as an overload state. If X≤Y, it means that the current is normal and there is no overload.

[0041] S403: When an overload is detected in S402, a signal is transmitted to the ARM processor. The ARM processor controls the output power module to disconnect, cut off the output power, and stop supplying power to the electronic device.

[0042] S404: The ARM processor controls the alarm module to emit sound or light signals to alert the user of overload conditions. At the same time, the ARM processor transmits the signal to the remote monitoring terminal through the communication interface module, and the remote monitoring terminal notifies the personnel at the remote monitoring terminal by sending an SMS.

[0043] Preferably, the communication interface module is used to realize communication between the remote monitoring terminal and the ARM processor. The data received by the ARM processor is transmitted to the remote monitoring terminal through the communication interface module, thereby realizing the function of remote monitoring.

[0044] Compared with existing technologies, the beneficial effects of this invention are:

[0045] This invention monitors the internal temperature changes of the UPS power supply and uses an ARM processor and a dual temperature compensation algorithm to perform temperature compensation based on these changes. This optimizes the performance of the UPS power supply, improves its stability and efficiency, and ensures stable operation under different temperature conditions. Furthermore, the inclusion of a power filtering module and an overload protection module further enhances the stability of the UPS power supply, ensuring reliable power supply to electronic devices under various circumstances. Attached Figure Description

[0046] Figure 1 This is a connection block diagram of the UPS power supply based on the dual temperature compensation algorithm of the ARM processor proposed in this invention;

[0047] Figure 2 This is a flowchart of the UPS power supply based on the dual temperature compensation algorithm of the ARM processor proposed in this invention. Detailed Implementation

[0048] The present invention will be further explained below with reference to specific embodiments.

[0049] Example

[0050] Reference Figure 1-2 This embodiment proposes a UPS power supply based on an ARM processor dual temperature compensation algorithm, including a UPS power supply body connected to a remote monitoring terminal and electronic devices. The UPS power supply body includes an ARM processor, a dual temperature sensor module, a battery pack module, a communication interface module, an input power module, an alarm module, an output power module, a power filtering module, an overload protection module, and a DC / AC conversion module.

[0051] The ARM processor is connected to the dual temperature sensor module, battery pack module, communication interface module, input power module, alarm module, output power module, power filter module, and overload protection module. The communication interface module is connected to the remote monitoring terminal. The input power module is connected to the electronic equipment. The battery pack module is connected to the dual temperature sensor module and DC / AC conversion module. The output power module is connected to the DC / AC conversion module, overload protection module, electronic filter module, and electronic equipment. The input power module is used to monitor the voltage parameters of the electronic equipment. When the electronic equipment is unstable or loses power, the ARM processor switches to the output power module to supply power to the electronic equipment. During power supply, the battery pack module converts the power supply through the DC / AC conversion module and transmits it to the output power module, which then supplies power to the electronic equipment.

[0052] The communication interface module is used to realize communication between the remote monitoring terminal and the ARM processor. The data received by the ARM processor is transmitted to the remote monitoring terminal through the communication interface module, thereby realizing the remote monitoring function.

[0053] The dual temperature sensor module is used to monitor the temperature of the battery pack module in real time and transmit the temperature data to the ARM processor. The specific logic steps are as follows:

[0054] S101: The temperature sensor in the dual temperature sensor module monitors the temperature of the battery pack module in real time. The temperature sensor generates an electrical signal by receiving temperature changes, and the electrical signal changes according to the temperature changes.

[0055] S102: The detected temperature signal is converted into a digital signal by the analog-to-digital converter (ADC) of the dual temperature sensor module. The digital signal is transmitted to the microcontroller of the dual temperature sensor module via the communication bus. When the temperature signal is converted into a digital signal, it is used... The formula is converted, where n represents the resolution bits of the ADC. For example, a dual temperature sensor module is connected to a microcontroller with a 10-bit ADC resolution. The reference voltage is set to 5V. The output voltage of sensor A in the dual temperature sensor module is proportional to the ambient temperature, while the output voltage of sensor B is proportional to the temperature of the object being measured. The output voltages of sensor A and sensor B are 1.5V and 2.5V respectively. The voltage difference between the two sensors is calculated to detect the change or difference between the ambient temperature and the object temperature: Vdifference = VB. - VA = 2.5V - 1.5V = 1.0V, using the voltage difference V_difference = 1.0V as the input signal for the ADC. 204.8 is the digital signal used to detect temperature;

[0056] S103: The microcontroller of the dual temperature sensor module packages the collected temperature data into a data packet and transmits it through the interface with the ARM processor module.

[0057] The ARM processor serves as the control core, monitoring the status and data of each module in real time. The ARM processor is used to implement the temperature compensation algorithm, adjusting parameters based on temperature data to compensate for the impact of the battery pack module's temperature on battery performance and operation. The adjusted parameters are the battery charging and discharging parameters.

[0058] The execution logic steps of the temperature compensation algorithm are as follows:

[0059] S201: The ARM processor processes and parses the received temperature data. This processing and parsing includes data correction and filtering. The accuracy of the data is improved through processing and parsing, and the processed temperature data is stored in variables for subsequent temperature compensation algorithm calculations and adjustments.

[0060] Because the dual temperature sensors have a fixed offset value that needs to be removed through calibration, zero-point calibration is required when calibrating the data. The formula used for calibration is: T correcte =T measured -T offset T measured It is the sensor's raw measurement value, T offset It is a known offset value, which is determined through calibration;

[0061] Meanwhile, ambient temperature affects the accuracy of the dual temperature sensors, requiring a compensation term for correction. The formula used is: T compensated =T corrected +k·ΔT, where k is the compensation coefficient (the calculation of the compensation coefficient has been mentioned in subsequent S2023), and ΔT is the difference between the ambient temperature and the reference temperature;

[0062] The purpose of filtering is to remove noise from temperature data and make the signal smoother. It uses a moving average filter to calculate the average value of the data within a sliding window, smoothing short-term fluctuations and removing noise from the temperature data. The formula used in the calculation is as follows:

[0063]

[0064] Where N is the window size, and T[n] is the temperature value of the nth sample;

[0065] S202: Based on the set temperature compensation algorithm, the ARM processor performs real-time analysis and calculation of the temperature data of the battery pack module. The specific logical steps are as follows:

[0066] S2021: First, define the temperature threshold, including the upper limit threshold T_high and the lower limit threshold T_low, and determine whether the battery is within the normal operating range based on the temperature threshold;

[0067] S2022: Calculate the temperature difference based on the reference temperature and the acquired temperature data. The temperature difference formula is: ΔT=T_current-T_ref, where T_current represents the acquired actual temperature data and T_ref represents the set reference temperature.

[0068] S2023: Calculate the compensation coefficient K based on the temperature difference in S2022, and determine the impact on battery performance based on the compensation coefficient K. Factors affecting battery performance include battery capacity, resistance and charging efficiency. Increased temperature usually leads to a decrease in the usable capacity of the battery. Temperature changes affect the fluidity of the electrolyte inside the battery, thereby affecting the internal resistance of the battery. Increased temperature will reduce the charging efficiency of the battery.

[0069] The formula for its calculation is: k = 1 + α * ΔT, where α is the temperature compensation coefficient, representing the sensitivity of the parameter to temperature.

[0070] S2024: Calculate the battery charging and discharging parameters based on the compensation coefficient K. The calculation formula is as follows:

[0071] Calculation of charging and discharging voltage parameters: V charge =V nominal ×k, where V charge This is the adjusted voltage, V nominal This refers to the battery's rated voltage. For example, if the ambient temperature is low, the compensation factor K may be less than 1, thus requiring a reduction in the charging voltage to avoid overcharging and damage.

[0072] Calculation of charging and discharging current parameters: I charge =I nominal ×k, where Icharge It is the adjusted current, I nominal This is the battery's rated current. For example, at high temperatures, the compensation factor K may be less than 1 to reduce the charging and discharging current and prevent the battery from overheating; at low temperatures, the charging and discharging current may also be reduced to avoid damage caused by low internal reaction efficiency.

[0073] S203: Based on the results obtained from the algorithm, the ARM processor adjusts the battery charging and discharging parameters of the battery pack module to optimize battery performance;

[0074] S204: The ARM processor controls the operation of the entire UPS power supply based on the results of the temperature compensation algorithm.

[0075] The power filtering module is used to filter the power output from the power supply module, eliminating noise and interference in the power supply and ensuring the purity and stability of the output power. Its specific logic steps are as follows:

[0076] S301: The power filtering module first collects the power signal output by the power supply module;

[0077] S302: The power filtering module selects a low-pass filter to filter the acquired signal, removing unwanted frequency components and retaining the required power signal. During the filtering process, it uses... The formula is used for calculation;

[0078] Where w c H(s) is the cutoff frequency of the filter, H(s) represents the frequency response to frequency (S), s = jω represents the complex frequency, j is the imaginary unit, and ω is the angular frequency.

[0079] Because there is a lot of high-frequency noise in the UPS power supply itself, including electromagnetic interference (EMI) and radio frequency interference (RFI) generated by the power supply and equipment switching, a low-pass filter is selected to remove high-frequency noise.

[0080] S303: Perform frequency analysis on the filtered signal in S302 to ensure that interference signals within the expected range have been filtered out;

[0081] S304: The processed, clean, and stable power signal will be sent out to provide electronic equipment with stable and reliable operation.

[0082] The overload protection module monitors the output current to prevent the UPS power supply from overloading, thereby protecting connected electronic equipment from damage. Its specific logic steps are as follows:

[0083] S401: The current value output by the power supply module is measured by a current sensor, and a current threshold is set in the overload protection module. When the current exceeds the value, an overload is considered to have occurred. The threshold setting should take into account the maximum current load that the UPS power supply can withstand and the rated load of the connected electronic equipment.

[0084] S402: The overload protection module compares the real-time measured current value with the set threshold, sets the real-time measured current value as X, and sets the set threshold as Y. If X>Y, it means that the current value exceeds the set threshold and is identified as an overload state. If X≤Y, it means that the current is normal and there is no overload.

[0085] S403: When an overload is detected in S402, a signal is transmitted to the ARM processor. The ARM processor controls the output power module to disconnect, cut off the output power, and stop supplying power to the electronic device.

[0086] S404: The ARM processor controls the alarm module to emit sound or light signals to alert the user to an overload situation. At the same time, the ARM processor transmits the signal to the remote monitoring terminal through the communication interface module. The remote monitoring terminal then sends an SMS message to the personnel at the remote monitoring terminal.

[0087] This embodiment monitors the internal temperature changes of the UPS power supply and uses an ARM processor and a dual temperature compensation algorithm to perform temperature compensation based on these changes. This optimizes the performance of the UPS power supply, improves its stability and efficiency, and ensures stable operation under different temperature conditions. Furthermore, the inclusion of a power filtering module and an overload protection module further enhances the stability of the UPS power supply, ensuring reliable power supply to electronic devices under various circumstances.

[0088] In this embodiment, when the UPS power supply is in normal use, the voltage parameters of the electronic devices are monitored by the input power module. When the electronic devices are unstable or lose power, the ARM processor switches to the output power module. At the same time, the battery module converts the power supply through the DC / AC conversion module and transmits it to the output power module. The power filtering module is used to filter the power output from the output power module to eliminate noise and interference in the power supply and ensure the purity and stability of the output power. The filtered power supply supplies power to the electronic devices. At the same time, the overload protection module is used to monitor the output current to prevent the UPS power supply from being overloaded, thereby protecting the connected electronic devices from damage. When an overload is detected, the signal is transmitted to the ARM processor. The ARM processor controls the output power module to disconnect, cut off the output power, and stop supplying power to the electronic devices. At the same time, the ARM processor controls the alarm module to issue an audible or visual alarm to remind the user of the overload situation.

[0089] Simultaneously, the dual temperature sensor module monitors the temperature of the battery module in real time and transmits the temperature data to the ARM processor. The ARM processor processes and parses the received temperature data, and uses the set temperature compensation algorithm to perform real-time analysis and calculation on the temperature data of the battery module. Based on the results, the ARM processor adjusts the battery charging and discharging parameters of the battery module. The ARM processor controls the operation of the entire UPS power supply based on the results of the temperature compensation algorithm. By adjusting the battery charging and discharging parameters of the battery module through the dual temperature compensation algorithm, the performance of the UPS power supply can be optimized, the impact of temperature on the UPS power supply during use can be reduced, the stability and efficiency of the UPS power supply can be improved, and the UPS power supply can work stably in different temperature environments.

[0090] In addition, the data received by the ARM processor from various modules is transmitted to the remote monitoring terminal through the communication interface module, which allows the monitoring personnel to remotely understand the situation and thus realize the function of remote monitoring.

[0091] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A UPS power supply based on an ARM processor dual temperature compensation algorithm, comprising a UPS power supply body connected to a remote monitoring terminal and an electronic device, characterized in that: The UPS power supply body includes an ARM processor, a dual temperature sensor module, a battery pack module, a communication interface module, an input power module, an alarm module, an output power module, a power filter module, an overload protection module and a DC / AC conversion module; The ARM processor is connected to the dual temperature sensor module, the battery pack module, the communication interface module, the input power module, the alarm module, the output power module, the power filter module and the overload protection module; the communication interface module is connected to the remote monitoring end; the input power module is connected to the electronic device; the battery pack module is connected to the dual temperature sensor module and the DC / AC conversion module; the output power module is connected to the DC / AC conversion module, the overload protection module, the electronic filter module and the electronic device.

2. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 1 is characterized in that: The dual temperature sensor module is used to monitor the temperature of the battery pack module in real time and transmit the temperature data to the ARM processor. The specific logical steps are as follows: S101: The temperature sensor in the dual temperature sensor module monitors the temperature of the battery module in real time. The temperature sensor generates an electrical signal according to the received temperature change, and the electrical signal changes according to the temperature change. S102: The detected temperature signal is converted into a digital signal by the analog-to-digital converter (ADC) of the dual temperature sensor module. The digital signal is transmitted to the microcontroller of the dual temperature sensor module through the communication bus. When the temperature signal is converted into a digital signal, it is used The conversion is performed using the formula, where n represents the number of bits of resolution of the ADC; S103: The microcontroller of the dual temperature sensor module packages the collected temperature data into a data packet, and communicates and transmits the data packet through the interface with the ARM processor module.

3. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 1 is characterized in that: The ARM processor serves as a control core to monitor the status and data of each module in real time. The ARM processor is used to implement a temperature compensation algorithm and adjust parameters according to temperature data to compensate for the impact of the temperature of the battery pack module on battery performance and operation. The adjusted parameters are battery charging and discharging parameters. The operating logic steps to implement the temperature compensation algorithm are as follows: S201: The ARM processor processes and analyzes the received temperature data, wherein the processing and analysis include data correction and filtering, and the processed temperature data is stored in a variable for subsequent calculation and adjustment of a temperature compensation algorithm; When the data is calibrated, the zero point calibration method needs to be used for calibration. The formula used for calibration is: T correcte =T measured -T offset ; Where T measured is the raw measurement value of the sensor, T offset is a known offset value, which is determined by calibration; The filtering process uses moving average filtering to calculate the average value of the data in the sliding window, smooth short-term fluctuations, and remove noise in the temperature data. The formula used in the calculation is: Where N is the window size, T[n] is the temperature value of the nth sample; S202: According to the set temperature compensation algorithm, the ARM processor performs real-time analysis and calculation on the temperature data of the battery pack module; S203: According to the result obtained by the algorithm, the ARM processor adjusts the battery charging and discharging parameters of the battery pack module to optimize the performance of the battery; S204: The ARM processor controls the operation of the entire UPS power supply body according to the result of executing the temperature compensation algorithm.

4. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 3 is characterized in that: The specific logical steps of S202 are as follows: S2021: first define temperature thresholds, including an upper threshold T_high and a lower threshold T_low, and determine whether the battery is within a normal operating range according to the temperature thresholds; S2022: Calculate the temperature difference according to the reference temperature and the obtained temperature data, wherein the temperature difference formula is: ΔT=T_current-T_ref, where T_current represents the actual temperature data obtained, and T_ref represents the set reference temperature; S2023: Calculate a compensation coefficient K according to the temperature difference in S2022, and determine the impact on battery performance according to the compensation coefficient K. Factors affecting battery performance include battery capacity, resistance, and charging efficiency. An increase in temperature usually leads to a decrease in the available capacity of the battery. A change in temperature affects the fluidity of the electrolyte inside the battery, thereby affecting the internal resistance of the battery. An increase in temperature leads to a decrease in the charging efficiency of the battery. The calculation formula is: k = 1 + α * ΔT, where α is the temperature compensation coefficient, which indicates the sensitivity of temperature to the parameter; S2024: Calculate the battery charge and discharge parameters according to the compensation coefficient K. The calculation formula is as follows: Parameter calculation of charge and discharge voltage: V charge =V nominal ×k, where V cjarge is the adjusted voltage, V nominal is the rated voltage of the battery; Parameter calculation of charge and discharge current: I charge =I nominal ×k, where I charge is the adjusted current, I nominal is the rated current of the battery.

5. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 1 is characterized in that: The input power module is used to monitor the voltage parameters of the electronic device. When the electronic device is unstable or powered off, the ARM processor switches to the output power module, and the output power module powers the electronic device. When powering, the battery pack module converts the power supply through the DC / AC conversion module and transmits it to the output power module, and the output power module powers the electronic device.

6. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 1, characterized in that: The power filter module is used to filter the power output by the output power module, eliminate noise and interference in the power supply, and ensure the purity and stability of the output power. The specific logical steps are as follows: S301: The power filter module first collects the power signal output by the output power module; S302: The power filter module selects a low-pass filter to filter the collected signal, removes unnecessary frequency components, and retains the required power signal. During the filtering process, it uses Formula for calculation processing; where w c is the cutoff frequency of the filter, H(s) represents the frequency response to frequency (S), s=jω represents the complex frequency, j is the imaginary unit, and ω is the angular frequency; S303: Performing frequency analysis on the signal filtered in S302 to ensure that interference signals within an expected range are filtered out; S304: The processed pure and stable power signal will be sent out to provide to the electronic device to ensure the stability and reliability of its operation.

7. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 1, characterized in that: The overload protection module is used to monitor the output current to prevent the UPS power supply body from overloading, thereby protecting the connected electronic equipment from damage. The specific logical steps are as follows: S401: Measure the current value output by the output power module through the current sensor, and set a current threshold in the overload protection module, indicating that an overload occurs when the current exceeds this value. The setting of the threshold should take into account the maximum current load that the UPS power supply body can withstand and the rated load of the connected electronic equipment; S402: The overload protection module compares the current value measured in real time with the set threshold value, sets the current value measured in real time to X, and sets the set threshold value to Y. If X>Y, it means that the current value exceeds the set threshold value and is considered to be in an overload state. If X≤Y, it means that the current is normal and there is no overload condition. S403: When an overload is detected in S402, a signal is transmitted to the ARM processor, and the ARM processor controls the output power module to be disconnected, cuts off the output power, and stops supplying power to the electronic device; S404: The ARM processor controls the alarm module to emit a sound or light signal alarm to remind the user of the overload condition. At the same time, the ARM processor transmits the signal to the remote monitoring end through the communication interface module, and the remote monitoring end reminds the remote monitoring end personnel by sending a text message.

8. The UPS power supply based on the ARM processor dual temperature compensation algorithm according to claim 1, characterized in that: The communication interface module is used to realize the communication between the remote monitoring terminal and the ARM processor. The data received by the ARM processor is transmitted to the remote monitoring terminal through the communication interface module, thereby realizing the remote monitoring function.

Citation Information

Cited By

  • Automatic temperature control system of UPS (Uninterrupted Power Supply)

    CN120376834A