Air conditioner self-adaptive regulation and control method and device, air conditioner and computer storage medium
By collecting the total load power of household appliances in a generator-powered environment in real time and adaptively adjusting the speed of the air-conditioning compressor and fan, the problem that traditional air-conditioning control systems cannot dynamically match the generator power supply in remote areas or emergency scenarios is solved, and the stable operation and efficient utilization of multiple appliances are achieved.
Patent Information
- Application Number
- CN202511193071.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-25
- Publication Date
- 2025-10-10
AI Technical Summary
Traditional air-conditioning control systems are unable to perceive the generator power supply characteristics in real time in remote areas or emergency scenarios, resulting in a sudden increase in generator output power when the air conditioner is started, causing system-level power imbalance and affecting the power supply stability of other home appliances. Existing technologies lack dynamic adjustment capabilities and cannot achieve stable operation under complex working conditions.
By collecting the total load power of household appliances in a generator-powered environment in real time, calculating the available power of the air conditioner based on the safety redundancy coefficient, and adaptively adjusting the compressor and fan speeds, including accurately grasping the load status of the power supply system and dynamically matching the generator power, adaptive adjustment of the air conditioner is achieved.
It effectively avoids generator overload or appliance undervoltage problems, reduces the risk of frequent compressor start-stop and equipment damage, improves generator efficiency, and ensures the coordinated and stable operation of multiple appliances.
Smart Images

Figure CN120760262A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and more particularly to an air conditioner adaptive control method and device, an air conditioner and a computer storage medium. Background Art
[0002] In remote areas, emergency scenarios, or areas with weak grid coverage, diesel / gasoline generators are the primary power supply. In these scenarios, generators have fixed rated output power (such as the common 5kW and 10kW models) and must simultaneously power a variety of home appliances, including lighting, refrigerators, and televisions, as well as air conditioners. Traditional air conditioning control systems are designed based on stable grid power supply and focus solely on their own operating parameters (such as set temperature and wind speed). They lack integrated mechanisms to sense and adapt to the generator's power supply characteristics.
[0003] When an air conditioner starts up or operates in high-load mode, its inductive loads, such as the compressor and fan, generate instantaneous high currents, causing a sudden increase in the generator's output power. If the generator's residual power is insufficient, this can lead to system-level power imbalances. On the one hand, the air conditioner's compressor frequently starts and stops due to unstable power supply, resulting in reduced heating and cooling efficiency. On the other hand, other home appliances experience flickering lights, device restarts, or even hardware damage (such as a refrigerator compressor burning out) due to terminal voltage drops (e.g., below 90% of the rated voltage).
[0004] Among existing technologies, some resolve power conflicts by expanding the capacity of generators or adding energy storage devices. However, these technologies have drawbacks such as high cost, large equipment size, and low fuel efficiency, and fail to provide a systematic solution from the air-conditioning control end.
[0005] Furthermore, traditional air conditioner power regulation relies on preset operating modes (such as energy-saving mode, high-power mode, and reduced compressor frequency), and cannot dynamically adjust to real-time load. Generator output power fluctuates slightly depending on fuel quality and engine operating conditions. Existing control strategies lack real-time monitoring of the total appliance load and power allocation algorithms, making it difficult to achieve stable operation under complex operating conditions.
[0006] A power distribution system with priority load control is disclosed in Chinese patent CN102934326A. The method includes a generator and a first load interrupt device associated with the generator and a load powered by the generator. The power distribution system can also have a second load interrupt device associated with the load and a generator controller. The generator controller can be configured to control the generator, determine the presence of a fault condition associated with power service between the generator and the load, and selectively activate the second load interrupt device based on such determination. The generator controller can also be configured to determine whether activation of the second load interrupt device isolates the fault condition, and selectively activate the first load interrupt device when activation of the second load interrupt device does not isolate the fault condition. This solution only ensures that other loads can operate normally when a certain load is interrupted due to a fault during the operation of the entire power distribution system.
[0007] A control method and device for adjusting power load are disclosed in Chinese patent CN115459271A. The control method includes: 1. obtaining power consumption registration information recorded by a power consumption object, and dividing the power consumption registration information into different levels of power consumption tags; 2. sending an electricity adjustment signal to a power consumption circuit according to the different levels of power consumption tags; wherein the power consumption circuit is electrically connected to the power supply system to output power from the power supply system to multiple load branch circuits, and the power load corresponds to the load branch circuit one by one; determining whether the output power of the power supply system meets the safe power supply condition; if not, controlling the power consumption ratio of the power consumption circuit output to the load branch circuit according to the electricity adjustment signal; if yes, controlling the power supply system to supply power according to the rated power consumption demand of each load branch circuit; 3. when it is determined that the safe power supply condition is not met, and when the power input to at least one of the multiple load branch circuits from the power supply system changes, determining whether to send a cooperation signal to the load branch circuit according to its power consumption in the historical period; if yes, controlling the power consumption input to the load branch circuit to be reduced, and determining that the cooperation signal is successfully sent; if not, controlling the load branch circuit to send a power limit instruction signal; 4. after determining that the cooperation signal is successfully sent, controlling the power consumption circuit to generate first response information corresponding to the successful sending of the cooperation signal; calculating the tacit rate of successful sending of the cooperation signal according to the relationship between the number of generated first response information and the total number of sent cooperation signals; and adjusting the power supply priority of the load branch circuit in the next period according to the tacit rate. The technical solution has the disadvantage of being unable to perform fault diagnosis and self-adaptive adjustment of air conditioner compressor frequency and fan speed, thereby failing to achieve precise power matching.
[0008] The Chinese patent with the publication number CN216390511U discloses a control unit for a system and a building energy system. The system has an air conditioning device, a photovoltaic device for generating electrical energy and an energy store for storing electrical energy, wherein the system is connected with a network connection point and is adapted to feed electrical energy into an external power grid or to absorb electrical energy from the external power grid, wherein the control unit is configured to jointly control the air conditioning device, the photovoltaic device and the energy store in dependence on at least one condition of the current strength and / or the voltage related to the electrical energy fed into the external power grid or absorbed from the external power grid and to provide a controller for a common inverter for the air conditioning device, the photovoltaic device and the energy store which provides a reactive power depending on the detected measured variables, wherein the joint control of the air conditioning device, the photovoltaic device and the energy store comprises a control of the power absorbed by the air conditioning device, the power output by the photovoltaic device and the power absorbed or output by the energy store, wherein the at least one condition is at least one condition derived by the control unit from one or more measured variables detected at the network connection point or at another point of the external power grid, wherein the detected measured variables relate to a network voltage. The technical solution only feeds electrical energy into an external power grid or absorbs electrical energy from an external power grid, and cannot realize real-time sensing of total load of household appliances and common problems in other power supply environments. SUMMARY
[0009] The present application aims to overcome the deficiencies of the prior art, and provides an air conditioner adaptive regulation method and device, an air conditioner and a computer storage medium, which aims to realize stable operation of multiple household appliances through adaptive regulation of the air conditioner without increasing external equipment.
[0010] To achieve the above object, the present application adopts the following technical solutions:
[0011] In a first aspect, the present application provides an air conditioner adaptive regulation method, comprising:
[0012] Real-time acquisition of total load power of household appliances in a power generation environment;
[0013] Calculation of available power of the air conditioner based on the total load power of household appliances and a preset safety redundancy coefficient;
[0014] Adaptive adjustment of the rotation speed of the air conditioner compressor and the rotation speed of the air conditioner fan according to the available power of the air conditioner.
[0015] Further, the adaptive adjustment of the rotation speed of the air conditioner compressor and the rotation speed of the air conditioner fan according to the available power of the air conditioner comprises:
[0016] According to the available power of the air conditioner, the target power of the compressor is calculated;
[0017] According to the preset speed mapping relationship, the target power of the compressor is converted into the target speed of the motor;
[0018] The current of the three-phase stator of the compressor is obtained and converted into the current in the stationary coordinate system;
[0019] The position angle of the rotor flux linkage is estimated according to the current in the stationary coordinate system;
[0020] The power demand of the motor is calculated according to the target speed of the motor and the actual speed of the motor;
[0021] The power supply demand of the motor is calculated according to the power demand of the motor;
[0022] The motor switching action signal is generated according to the power supply demand of the motor and the position angle of the rotor flux linkage, so as to adjust the speed of the air conditioner compressor.
[0023] Further, the adaptive adjustment of the speed of the air conditioner compressor and the speed of the fan according to the available power of the air conditioner further comprises:
[0024] The indoor temperature, outdoor temperature and evaporator temperature are collected;
[0025] The temperature difference between the indoor temperature and the outdoor temperature is calculated;
[0026] The superheat degree is calculated according to the indoor temperature and the evaporator temperature;
[0027] The target speed of the fan is obtained by model inference according to the temperature difference and the superheat degree;
[0028] The target speed of the fan is converted into the corresponding pulse width modulation duty cycle;
[0029] The actual speed of the fan is collected in real time, and the pulse width modulation duty cycle is adjusted according to the difference between the target speed of the fan and the actual speed of the fan, so as to adjust the speed of the fan.
[0030] Further, the adaptive adjustment of the speed of the air conditioner compressor and the speed of the fan according to the available power of the air conditioner further comprises:
[0031] The actual power of the compressor and the actual power of the fan are collected, and the total power consumption is calculated;
[0032] If the difference between the total power consumption and the available power of the air conditioner exceeds a preset value, a power correction coefficient is generated;
[0033] The target power of the compressor is updated based on the power correction coefficient.
[0034] Further, it further comprises:
[0035] When an abnormality is detected, a protection strategy is executed.
[0036] Furthermore, executing a protection strategy when an anomaly is detected includes:
[0037] Monitor operating parameters;
[0038] Compare operating parameters with preset safety threshold ranges;
[0039] Obtain the fault type and fault level according to the comparison results;
[0040] According to the fault type and fault level, the corresponding protection scheme is called from the preset protection strategy library and the protection instruction is executed.
[0041] Furthermore, the calculation of the available power of the air conditioner based on the total load power of household appliances and a preset safety redundancy factor includes:
[0042] Get the generator rated power;
[0043] Calculate the difference between the rated power of the generator and the total load power of household appliances to obtain the remaining power;
[0044] The remaining power is multiplied by the safety redundancy factor to obtain the available power of the air conditioner.
[0045] In a second aspect, the present invention further provides an air conditioning adaptive control device, comprising:
[0046] The acquisition unit is used to collect the total load power of household appliances in a generator-powered environment in real time;
[0047] a calculation unit, configured to calculate the available power of the air conditioner based on the total load power of household appliances and a preset safety redundancy factor;
[0048] The regulating unit is used to adaptively adjust the air conditioner compressor speed and fan speed according to the available power of the air conditioner.
[0049] In a third aspect, the present invention further provides an air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the air conditioner adaptive control method as described above when executing the computer program.
[0050] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the air conditioning adaptive control method as described above.
[0051] Compared with the prior art, the present invention has the following beneficial effects: an air-conditioning adaptive control method, including real-time collection of the total load power of household appliances in a generator-powered environment; calculation of the available power of the air-conditioner based on the total load power of the household appliances and a preset safety redundancy coefficient; and adaptive adjustment of the air-conditioning compressor speed and the fan speed according to the available power of the air-conditioner. By accurately grasping the real-time load status of the power supply system, the present invention can efficiently utilize the remaining power of the generator and perform safety redundancy control, and adaptively adjust the air-conditioning compressor speed and the fan speed according to the available power, and can flexibly adapt to the power supply capacity of the generator, effectively avoiding the generator overload or other household appliance undervoltage problems caused by the operation of the air-conditioner, and significantly reducing the risks of frequent compressor start-stop, equipment restart, and hardware damage; at the same time, through dynamic power matching and precise speed control, while ensuring the cooling / heating needs, the reactive power consumption is reduced, the generator efficiency is improved, and the power supply stability of basic household appliances such as lighting and refrigerators is ensured, ultimately achieving the coordinated and stable operation of multiple appliances in a generator-powered environment.
[0052] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0054] Figure 1 The process of the air conditioning adaptive control method provided by the specific embodiment of the present invention Figure 1 ;
[0055] Figure 2 The process of the air conditioning adaptive control method provided by the specific embodiment of the present invention Figure 2 ;
[0056] Figure 3 A schematic block diagram of an air conditioning adaptive control device provided by a specific embodiment of the present invention Figure 1 ;
[0057] Figure 4 A schematic block diagram of an air conditioning adaptive control device provided by a specific embodiment of the present invention Figure 2 ;
[0058] Figure 5 A schematic block diagram of an air conditioner provided in accordance with a specific embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0060] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0061] It should also be understood that the terms used in the present specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0062] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0063] An embodiment of the present invention provides an air conditioner adaptive control method, which is mainly applied in a scenario where power is supplied by a generator.
[0064] like Figure 1 As shown, the air conditioning adaptive control method includes the following steps: S10-S30.
[0065] S10. Real-time collection of the total load power of household appliances in a generator-powered environment.
[0066] A current transformer (CT, 200A / 5A) and a voltage sensor (VT, 1000V / 1V) are used as the core sensors for total load power acquisition. During installation, the current transformer is connected in series at the generator's main circuit output, and the voltage sensor is connected in parallel between the live and neutral wires at the generator's output terminals. This ensures that the total current and voltage signals of all appliances are captured when operating. The sensor signal cables are connected to the signal conditioning circuit using twisted-pair shielded cables to reduce electromagnetic interference.
[0067] The raw sensor output signal is first fed into a signal conditioning circuit, which includes an RC anti-aliasing filter (5kHz cutoff frequency) and a gain amplifier (200x amplification for current signals and 10x amplification for voltage signals). This circuit filters out high-frequency noise and enhances weak signals. The conditioned analog signal is then fed into a 16-bit analog-to-digital converter (ADC). The ADC is connected to the main control chip (MCU) and digital signal processor (DSP) via an internal bus to convert the analog signal to digital.
[0068] The MCU and DSP establish a communication link via the CAN bus (baud rate 250kbps). ADC sampling data is preferentially transmitted to the DSP for real-time calculation. The processed total load power data is then sent via the CAN bus to the MCU for storage and access. The control board (integrating the MCU, DSP, ADC, and filters) and the power board (containing high-power components such as IGBTs) are arranged in a partitioned layout. Analog and digital signals are isolated via optical couplers to prevent interference from power components on sampling accuracy.
[0069] The EEPROM is directly connected to the MCU and is used to pre-store basic data such as the generator rated power and sensor calibration parameters. The timer is integrated into the MCU and is used to trigger the ADC sampling cycle (fixed at 10kHz).
[0070] Current transformers and voltage sensors must be installed close to the generator's power output to ensure coverage of all appliance power supply circuits. This prevents power calculation errors caused by branch circuits not being monitored. An LC filter circuit should be connected in series with the power supply line to reduce interference from generator output voltage fluctuations (such as frequency fluctuations and transient pulses) on the sampled signal, ensuring the stability of the voltage and current signals. The connecting cables between the control board and the power board should be routed short distances, and analog signal lines should be routed separately from digital control lines to further minimize electromagnetic interference (EMI).
[0071] Hardware initialization: After the system is powered on, the MCU starts the bootloader, configures the ADC sampling channels, timers, and CAN bus registers, and establishes a communication link between the MCU and the DSP. It also reads the sensor calibration parameters stored in the EEPROM (such as the current transformer zero offset value and the voltage sensor gain coefficient).
[0072] Sensor calibration: Perform zero-point correction on current transformers and voltage sensors, eliminate hardware bias errors by injecting standard signals (such as 1A standard current and 220V standard voltage) to ensure accurate sampling baselines.
[0073] Sampling start conditions: The MCU monitors the generator output voltage in real time (preliminary detection through the voltage sensor). When the voltage value is greater than 100V, it is determined that the generator is supplying power normally, and the timer is triggered to start 10kHz ADC sampling. If the voltage is ≤100V, it remains in standby mode and only retains basic monitoring.
[0074] Synchronous acquisition: The ADC synchronously acquires the current signal I(t) output by the current transformer and the voltage signal U(t) output by the voltage sensor at a frequency of 10kHz. The sampled data is stored in the DSP's ring buffer (capacity 1024 points) in real time.
[0075] When the buffer is full of 1024 points, the DSP triggers the fast Fourier transform (FFT) to separate the 50Hz fundamental component (filtering out harmonic interference) and calculate the voltage RMS Urms, current RMS Irms, and power factor cosφ.
[0076] Calculate the real-time total load power according to the active power formula P1 = Urms × Irms × cosφ, retaining two decimal places to ensure accuracy.
[0077] Compare the current power value with the power value of the previous cycle (within 100ms). If the absolute value of the change rate is greater than 30%, it is determined to be abnormal data (such as interference caused by instantaneous load impact), and the current data is discarded and the valid data of the previous cycle is used; if the change rate is ≤30%, the data is confirmed to be valid.
[0078] The DSP sends the effective total load power data (formatted as power value + timestamp + checksum) to the MCU via the CAN bus, and the data frame ID is set to 0x101 (power data frame dedicated ID).
[0079] The MCU stores the received total load power data in a temporary memory and updates the real-time load value on the LCD / OLED display so that the user can view the load status of the current power supply system.
[0080] S20. Calculate the available power of the air conditioner based on the total load power of the household appliances and a preset safety redundancy factor.
[0081] In one embodiment, step S20 specifically includes the following steps: S201 - S203 .
[0082] S201. Obtain the rated power of the generator.
[0083] The rated power of the generator is a preset parameter and is stored in an EEPROM directly connected to the main control chip (MCU). When the system starts, the MCU reads the rated power parameter from the EEPROM and verifies the data integrity through a checksum.
[0084] S202, difference calculation is performed on the generator rated power and the total load power of the household appliances to obtain a residual power.
[0085] The MCU receives real-time total load power data of the household appliances (i.e., the output value P1 of step S10) from a digital signal processor (DSP) through a CAN bus, and the calculation formula of the residual power P2 is as follows:
[0086] Residual power P2 = generator rated power P - total load power P1 of the household appliances.
[0087] Trigger overload protection: turn off the air conditioner compressor, and only the fan runs at low speed (500 RPM), and the OLED display displays an alarm code E01 (red flashing). If P2 > 0, proceed to the next step of calculation.
[0088] S203, product operation is performed on the residual power and a safety redundancy coefficient to obtain an available power of the air conditioner.
[0089] The safety redundancy coefficient (a) is a dynamic adjustment parameter, and the value range is pre-set to be 0.8-0.9. The advantage of the safety redundancy coefficient is that sudden power impact (such as sudden start of a refrigerator) can be coped with, and the generator is prevented from being overloaded and powered off, thereby ensuring stable operation of all household appliances. For example, if the generator still has 1000W available power, the system will not allocate all the 1000W to the air conditioner, but will calculate 850W (1000*0.85) for the air conditioner by using a = 0.85, and the remaining 150W is reserved as "backup".
[0090] The calculation formula of the available power P2' of the air conditioner is as follows:
[0091] Available power P2' = residual power P2 * safety redundancy coefficient a.
[0092] After the calculation is completed, the MCU limits the result in a range: if P2' < 0.5kW, it is forced to be 0.5kW (to guarantee basic operation of the air conditioner); if P2' > 50% of the rated power of the generator, 50% of the rated power is taken as an upper limit (to avoid the air conditioner monopolizing too much power). The final available power data is sent to the DSP through the CAN bus, and is also stored in a system log (including calculation time, P1, P2, and a value).
[0093] For step S20, by dynamically obtaining the rated power, real-time calculation of the residual power, and adjustment of the hierarchical redundancy coefficient, the available power of the air conditioner is ensured to match the power supply capacity of the generator, and 10%-20% of power margin is reserved to cope with instantaneous load impact, thereby avoiding the problem of "overload as soon as the air conditioner is started". The safety redundancy coefficient can be automatically adjusted with fluctuations in the voltage and frequency of the generator, thereby improving power utilization rate in stable working conditions, enhancing system safety in complex working conditions, and adapting to diversified generator power supply environments such as remote areas and emergency scenes.
[0094] S30, adjusting the compressor speed and the fan speed according to the available power of the air conditioner.
[0095] For step 30, the compressor speed and the fan speed are precisely controlled to achieve dynamic adaptation of the air conditioner power based on the calculated available power of the air conditioner, so as to ensure stable operation of the air conditioner in the generator power supply environment. The compressor speed and the fan speed are cooperatively achieved through a compressor speed control sub-process (S301-S307) and a fan speed control sub-process (S308-S3013).
[0096] In an embodiment, step S30 specifically comprises the following steps: S301-S307.
[0097] S301, calculating the compressor target power according to the available power of the air conditioner.
[0098] A digital signal processor (DSP) receives the available power P2' of the air conditioner from a master control chip (MCU), and allocates the compressor target power P_comp according to a preset ratio. For example, when P2'≤0.5kW, P_comp=0 (the compressor is stopped); when 0.5kW
[0099] S302, converting the compressor target power into a motor target speed according to a preset speed mapping relationship.
[0100] A compressor power and speed mapping table is pre-stored in an EEPROM, which is generated by experiment calibration. For example, P_comp=1kW corresponds to a speed of 1500RPM, P_comp=2kW corresponds to a speed of 3000RPM, and P_comp=2.4kW corresponds to a speed of 3600RPM (the speed accuracy is ±5RPM). The DSP queries the mapping table according to P_comp, and calculates the motor target speed n* through a linear interpolation method.
[0101] S303, acquiring the current of the three-phase stator of the compressor, and converting the current into a current in a stationary coordinate system.
[0102] A current transformer (CT) acquires the three-phase stator current (I_a, I_b, I_c) of the compressor, inputs the current to a 16-bit ADC after signal conditioning (filtering and amplifying), and converts the current into a digital signal for transmission to the DSP.
[0103] The DSP performs Clarke transformation (three-phase stationary coordinate system transformation into two-phase stationary coordinate system) and Park transformation (two-phase stationary transformation into two-phase rotating coordinate system) on the three-phase current, and obtains the current signals I_α and I_β in the stationary coordinate system after the transformation.
[0104] S304, estimate the position angle of the rotor flux according to the current in the stationary coordinate system.
[0105] The DSP built-in model reference adaptive system (MRAS) takes the current I_α, I_β in the stationary coordinate system and the motor voltage parameters as input, and estimates the rotor flux position θ through the flux observer.
[0106] The estimated result is compared with the actual position feedback by the encoder, and the deviation is corrected by the PI controller to ensure that the position angle error is ≤±3°, providing a basis for subsequent field-oriented control.
[0107] S305, calculate the motor power demand according to the motor target speed and the actual motor speed.
[0108] The encoder collects the actual compressor speed n in real time (resolution 1024 pulses / revolution), and calculates the speed deviation Δn = n* - n.
[0109] The speed loop PI controller outputs the given value of the q-axis current (q-axis current command) according to Δn.
[0110] S306, calculate the motor power demand according to the motor power demand.
[0111] The DSP compares the actual q-axis current (obtained by Park transformation of I_α, I_β) with the given value of the q-axis current, and obtains the current deviation ΔI_q.
[0112] The current loop PI controller outputs the given value of the d-q axis voltage (dq-axis voltage command) according to ΔI_q, wherein the given value of the d-axis voltage (d-axis) is set to 0 (focus on torque control), and the given value of the q-axis voltage (q-axis) is dynamically adjusted with ΔI_q to ensure that the actual current tracks the command value.
[0113] S307, generate the motor switching action signal according to the motor power demand and the position angle of the rotor flux to adjust the speed of the air conditioner compressor.
[0114] The DSP performs inverse Park transformation on the d-q axis voltage given value to obtain two-phase stationary coordinate system voltage commands U_α, U_β, and then generates six pulse signals through space vector pulse width modulation (SVPWM) technology.
[0115] The pulse signal drives the IGBT module (switching frequency 15 kHz, dead time 2 μs), and adjusts the power supply of the compressor motor by controlling the conduction and turn-off of the IGBT, realizes the stable tracking of the target speed n*, and the speed fluctuation is controlled within ±2%.
[0116] In an embodiment, step S30 further comprises the following steps: S308-S3013.
[0117] S308, collect indoor temperature, outdoor temperature and evaporator temperature.
[0118] The NTC thermistor is respectively installed at the indoor return air inlet (to measure the indoor temperature T_in), the outdoor unit condenser (to measure the outdoor temperature T_out) and the evaporator coil (to measure the evaporator temperature T_evap).
[0119] S309, calculate the temperature difference degree of the indoor temperature and the outdoor temperature.
[0120] The indoor-outdoor temperature difference ΔT = T_in - T_out (in cooling mode) or ΔT = T_out - T_in (in heating mode).
[0121] S3010, calculate the superheat degree according to the indoor temperature and the evaporator temperature.
[0122] The superheat degree ΔT_sh = T_evap - T_in in cooling mode, and the superheat degree ΔT_sh = T_in - T_evap in heating mode.
[0123] S3011, obtain the fan target speed through model reasoning according to the temperature difference degree and the superheat degree.
[0124] The MCU built-in fuzzy logic controller divides ΔT into 5 levels (very low, low, medium, high, and very high), and ΔT_sh into 3 levels (negative, zero, and positive), with 15 rule bases (usually refers to a rule set containing 15 rules, used to guide the decision-making process of system, algorithm or logical reasoning). n_fan* is limited to the range of 500 RPM (minimum) - 2500 RPM (maximum).
[0125] S3012, convert the fan target speed into the corresponding pulse width modulation duty cycle.
[0126] The MCU converts n_fan* into PWM duty cycle according to the fan speed-voltage characteristic curve, for example: 1500 RPM corresponds to 50% duty cycle, and 2500 RPM corresponds to 90% duty cycle (PWM frequency 20 kHz).
[0127] S3013, real-time collect the actual fan speed and adjust the pulse width modulation duty cycle according to the difference between the fan target speed and the actual fan speed to adjust the fan speed.
[0128] The Hall sensor collects the actual fan speed n_fan, calculates the deviation Δn_fan = n_fan* - n_fan, and if |Δn_fan| > 50 RPM, corrects the duty cycle through a PI controller (correction amount ±5% / cycle) to ensure stable speed.
[0129] In an embodiment, step S30 further comprises steps S3014-S3016.
[0130] S3014, collect the actual power of the compressor and the actual power of the fan, and calculate the total power consumption.
[0131] The actual power of the compressor and the actual power of the fan are summed to obtain the total power consumption P_total_act.
[0132] S3015, if the difference between the total power consumption and the available power of the air conditioner exceeds a preset value, a power correction coefficient is generated.
[0133] The preset value (deviation threshold) is stored in the EEPROM and is set to 100W by default, and the user can configure it through the display screen (range 50W-200W) to distinguish between normal power fluctuations and significant deviations that need to be corrected.
[0134] The MCU retrieves the total power consumption P_total_act and the available power P2' of the air conditioner in the buffer area, calculates the deviation ΔP = |P_total_act - P2'|, and if ΔP ≤ the preset value, it is determined that the power is matched normally, and no correction coefficient is generated; if ΔP > the preset value, the correction coefficient generation logic is triggered.
[0135] S3016, update the target power of the compressor based on the power correction coefficient.
[0136] The original target power of the compressor and the obtained power correction coefficient are summed to obtain the updated target power. The updated target power is used to replace the original target power.
[0137] For steps S3014-S3016, by monitoring the deviation between the actual power consumption and the available power of the air conditioner in real time, the target power of the compressor is dynamically corrected to form a power closed-loop control, ensuring that the total power consumption of the air conditioner always adapts to the generator power supply capability.
[0138] In an embodiment, as shown in FIG. 4, the air conditioner adaptive control method further includes the following steps: S40. Figure 2
[0139] S40, execute a protection strategy when an abnormality is detected.
[0140] This step is used to monitor the running state of the air conditioner and the generator power supply system in real time, and to avoid equipment damage or power supply collapse through a hierarchical protection mechanism when an abnormality is detected, ensuring system safety and controllability.
[0141] In an embodiment, step S40 specifically includes the following steps: S401-S404.
[0142] S401, monitor the running parameters.
[0143] The operation parameters include generator voltage, frequency, load power, three-phase current / voltage, and compressor temperature, etc.
[0144] S402, compare the operation parameters with the preset safety threshold range.
[0145] S403, obtain the fault type and fault level according to the comparison result.
[0146] S404, call the corresponding protection scheme from the preset protection strategy library according to the fault type and fault level, and execute the protection instruction.
[0147] For steps S401-S404, the operation parameters include generator voltage, frequency, load power, three-phase current / voltage, and compressor temperature, etc. The fault type includes (overcurrent, undervoltage, compressor stall, etc.), and the graded fault response is executed if the probability of a certain type of fault is > 95%:
[0148] First-level response (such as overcurrent): reduce power by 20%, and intermittent alarm of the buzzer.
[0149] Second-level response (such as fan jam): turn off the faulty component, display the code (such as E03) on the OLED, and keep other devices running.
[0150] Third-level response (such as generator overload): power off the entire machine, disconnect the relay, and manually reset or remotely restart.
[0151] In summary: the present application can efficiently utilize the remaining power of the generator and safely control the redundancy by accurately grasping the real-time load state of the power supply system, and can adaptively adjust the compressor speed and fan speed according to the available power, which can flexibly adapt to the power supply capacity of the generator, effectively avoids the generator overload or other home appliance undervoltage problems caused by air conditioner operation, significantly reduces the risk of frequent start-stop of the compressor, device restart, and hardware damage; at the same time, through dynamic power matching and precise speed control, the power consumption is reduced, the generator efficiency is improved, and the power supply stability of basic home appliances such as lighting and refrigerators is ensured, ultimately realizing the stable operation of multiple home appliances under the generator power supply environment.
[0152] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0153] The embodiment of the present application also provides an air conditioner adaptive control device for executing the steps in any embodiment of the air conditioner adaptive control method described above. Specifically, please refer to Figure 3 , Figure 3A schematic block diagram of the air conditioner adaptive regulation device 100 is shown, which specifically comprises:
[0154] The acquisition unit 110 is configured to acquire the total load power of the household appliances in real time under the power supply of the generator; the calculation unit 120 is configured to calculate the available power of the air conditioner based on the total load power of the household appliances and a preset safety redundancy coefficient; and the adjustment unit 130 is configured to adaptively adjust the rotation speed of the compressor and the rotation speed of the fan according to the available power of the air conditioner.
[0155] As shown in Figure 4 the air conditioner adaptive regulation device 100 further specifically comprises:
[0156] The protection unit 140 is configured to execute a protection strategy when an abnormality is detected.
[0157] In an embodiment, the calculation unit 120 is specifically configured to: acquire the rated power of the generator; calculate the difference between the rated power of the generator and the total load power of the household appliances to obtain the remaining power; and calculate the product of the remaining power and the safety redundancy coefficient to obtain the available power of the air conditioner.
[0158] In an embodiment, the adjustment unit 130 is specifically configured to: calculate the target power of the compressor according to the available power of the air conditioner; convert the target power of the compressor into the target rotation speed of the motor according to a preset rotation speed mapping relationship; acquire the current of the three-phase stator of the compressor and convert it into the current in the stationary coordinate system; estimate the position angle of the rotor flux linkage according to the current in the stationary coordinate system; calculate the motor power demand according to the target rotation speed of the motor and the actual rotation speed of the motor; calculate the motor power supply demand according to the motor power demand; and generate a motor switch action signal according to the motor power supply demand and the position angle of the rotor flux linkage, so as to adjust the rotation speed of the air conditioner compressor.
[0159] In an embodiment, the adjustment unit 130 is further specifically configured to: acquire the indoor temperature, the outdoor temperature and the evaporator temperature; calculate the temperature difference degree of the indoor temperature and the outdoor temperature; calculate the superheat degree according to the indoor temperature and the evaporator temperature; obtain the target rotation speed of the fan through model reasoning according to the temperature difference degree and the superheat degree; convert the target rotation speed of the fan into the corresponding pulse width modulation duty cycle; acquire the actual rotation speed of the fan in real time and adjust the pulse width modulation duty cycle according to the difference between the target rotation speed of the fan and the actual rotation speed of the fan, so as to adjust the rotation speed of the fan.
[0160] In an embodiment, the adjustment unit 130 is further specifically configured to: acquire the actual power of the compressor and the actual power of the fan, and calculate the total consumed power; generate a power correction coefficient if the difference between the total consumed power and the available power of the air conditioner exceeds a preset value; and update the target power of the compressor based on the power correction coefficient.
[0161] In an embodiment, the protection unit 140 is specifically configured to: monitor the operating parameter; compare the operating parameter with the preset safety threshold range; obtain a fault type and a fault level according to a comparison result; and call a corresponding protection scheme from a preset protection strategy library and execute a protection instruction according to the fault type and the fault level.
[0162] It should be noted that the specific implementation process of the air conditioner adaptive control device 100 and each unit can be clearly understood by those skilled in the art, and can refer to the corresponding description in the foregoing method embodiments. For the convenience and brevity of description, it will not be repeated here.
[0163] The air conditioner adaptive control device described above can be realized in the form of a computer program, which can run on an air conditioner as shown in Figure 5 .
[0164] Please refer to Figure 5 , Figure 5 is a schematic block diagram of an air conditioner provided by an embodiment of the present application.
[0165] As shown in Figure 5 , the air conditioner comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the air conditioner adaptive control method steps as described above when executing the computer program.
[0166] The air conditioner 700 comprises a processor 720, a memory, and a network interface 750 connected through a system bus 710, wherein the memory can comprise a non-volatile storage medium 730 and an internal memory 740.
[0167] The non-volatile storage medium 730 can store an operating system 731 and a computer program 732. The computer program 732, when executed, can cause the processor 720 to execute the air conditioner adaptive control method.
[0168] The processor 720 is configured to provide computing and control capabilities to support the operation of the entire air conditioner 700.
[0169] The internal memory 740 provides an environment for the execution of the computer program 732 in the non-volatile storage medium 730, and the computer program 732, when executed by the processor 720, can cause the processor 720 to execute the air conditioner adaptive control method.
[0170] The network interface 750 is configured to perform network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 5The structure shown in FIG. 7 is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the air conditioner 700 to which the scheme of the present application is applied. Specifically, the air conditioner 700 can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. The processor 720 is configured to run program code stored in the memory to implement the air conditioner adaptive control method.
[0171] Those skilled in the art can understand that, Figure 5 The embodiment of the air conditioner shown in FIG. 7 does not constitute a limitation on the specific structure of the air conditioner. In other embodiments, the air conditioner can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the air conditioner can only include the memory and the processor. In such embodiments, the structure and function of the memory and the processor are consistent with those of the memory 710 and the processor 720 shown in the embodiment, and will not be described here. Figure 5
[0172] It should be understood that, in the embodiments of the present application, the processor 720 can be a central processing unit (CPU). The processor 720 can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0173] In another embodiment of the present application, a computer readable storage medium is provided. The computer readable storage medium can be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program is executed by a processor to implement the air conditioner adaptive control method disclosed in the embodiments of the present application.
[0174] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the devices, apparatuses and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here. Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, each example has been described in the foregoing description in terms of its general functionality, without regard to its specific combination of hardware and software. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0175] In several embodiments provided by the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely schematic, for example, the division of the units is merely logical functional division, and actual implementation can have another division, or units with the same function can be combined into one unit, for example, multiple units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, apparatuses or units, or can be electrical, mechanical or other form of connection.
[0176] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0177] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or software functional unit.
[0178] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a storage medium. Based on such understanding, the technical solutions of the present application essentially or the part of the prior art that contributes to the present application, or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0179] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An air conditioning adaptive control method, characterized in that: include: Real-time collection of total load power of household appliances in a generator-powered environment; Calculate the available power of the air conditioner based on the total load power of household appliances and the preset safety redundancy factor; The air conditioner compressor speed and fan speed are adaptively adjusted according to the available power of the air conditioner.
2. The air conditioning adaptive control method according to claim 1, characterized in that: The adaptively adjusting the air conditioner compressor speed and the fan speed according to the air conditioner available power includes: Calculate the compressor target power based on the available power of the air conditioner; Convert the compressor target power into the motor target speed according to the preset speed mapping relationship; Obtain the current of the three-phase stator of the compressor and convert it into the current in the stationary coordinate system; Estimate the position angle of the rotor flux based on the current in the stationary coordinate system; Calculate the motor power demand based on the motor target speed and the motor actual speed; Calculate the motor power supply requirements based on the motor power requirements; The motor switching action signal is generated according to the motor power supply demand and the position angle of the rotor magnetic flux to adjust the speed of the air conditioner compressor.
3. The air conditioning adaptive control method according to claim 1, characterized in that: The adaptively adjusting the air conditioner compressor speed and the fan speed according to the air conditioner available power also includes: Collect indoor temperature, outdoor temperature and evaporator temperature; Calculate the temperature difference between indoor and outdoor temperatures; Calculate superheat based on indoor temperature and evaporator temperature; The target speed of the fan is obtained through model reasoning based on the temperature difference and superheat; Convert the fan target speed into the corresponding pulse width modulation duty cycle; The actual fan speed is collected in real time and the pulse width modulation duty cycle is adjusted according to the difference between the fan target speed and the fan actual speed to regulate the fan speed.
4. The air conditioning adaptive control method according to claim 1, characterized in that: The adaptively adjusting the air conditioner compressor speed and the fan speed according to the air conditioner available power also includes: Collect the actual power of the compressor and the actual power of the fan to calculate the total power consumption; If the difference between the total power consumption and the available power of the air conditioner exceeds a preset value, a power correction factor is generated; The compressor target power is updated based on the power correction factor.
5. The air conditioning adaptive control method according to claim 1, characterized in that: Also includes: Execute protection strategies when anomalies are detected.
6. The air conditioning adaptive control method according to claim 5, characterized in that: The protection strategy is executed when an anomaly is detected, including: Monitor operating parameters; Compare operating parameters with preset safety threshold ranges; Obtain the fault type and fault level according to the comparison results; According to the fault type and fault level, the corresponding protection scheme is called from the preset protection strategy library and the protection instruction is executed.
7. The air conditioning adaptive control method according to claim 1, characterized in that: The calculation of the available power of the air conditioner based on the total load power of household appliances and a preset safety redundancy factor includes: Get the rated power of the generator; Calculate the difference between the rated power of the generator and the total load power of household appliances to obtain the remaining power; The remaining power is multiplied by the safety redundancy factor to obtain the available power of the air conditioner.
8. Air conditioning adaptive control device, characterized in that: include: The acquisition unit is used to collect the total load power of household appliances in a generator-powered environment in real time; a calculation unit, configured to calculate the available power of the air conditioner based on the total load power of household appliances and a preset safety redundancy factor; The regulating unit is used to adaptively adjust the air conditioner compressor speed and fan speed according to the available power of the air conditioner.
9. An air conditioner, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the air conditioning adaptive control method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor executes the air conditioning adaptive control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Power distribution system having priority load control
CN102934326A
Control method for deploying power load and deploying device
CN115459271A
Control unit for system and building energy system
CN216390511U