Air conditioner
By designing a control module for sampling and filtering processing in the air conditioner, the average voltage and time difference are calculated to determine the power outage of the indoor unit, the problems of slow determination speed, high cost and inaccurate identification in the prior art are solved, and more efficient and reliable power outage judgment is achieved.
Patent Information
- Application Number
- CN202311691792.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2025-06-13
AI Technical Summary
In the prior art, when determining that the air conditioner unit is powered off or too low voltage, the determination process is complicated, resulting in slow judgment speed, high cost and inaccurate identification.
Design an air conditioner, including an alternating current interface, a rectifier module, a sampling module and a control module. By sampling and filtering the bus voltage, the average voltage and time difference are calculated, and these values are compared with the set threshold value to determine whether the indoor unit is powered off.
It improves the speed and accuracy of indoor unit power outage judgment, reduces costs, and improves the reliability and efficiency of control without increasing hardware resources, thereby improving the operating reliability of the air conditioner system.
Smart Images

Figure CN120140911A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioning, and particularly to an air conditioner. Background Art
[0002] A multi-connected air conditioner unit generally has one or several outdoor units connected to several direct expansion indoor units of different or the same type and capacity, forming a single refrigeration cycle system, which has the characteristic of occupying less space and is widely used in fields such as residences, commercial centers, and public buildings.
[0003] When some of the indoor units connected to the outdoor unit are powered off, in order to avoid malfunctions of the multi-connected air conditioner unit caused by the electronic expansion valve not being fully closed, it is necessary to use the electric energy charged by the electrolytic capacitor to close the electronic expansion valve at the moment when the indoor unit is powered off. Therefore, quickly determining the power-off of the indoor unit is a necessary condition for closing the electronic expansion valve.
[0004] Currently, indoor units generally use the alternating current output by the power grid for power supply. The rated voltage output by the power grid is not constant and there will be fluctuations. In addition, when high-power products start at the user end of the power grid, the input voltage of the indoor unit will also fluctuate. Indoor units generally have a function of collecting the bus voltage for over-low voltage protection. In the case of over-low voltage, the electronic expansion valve does not need to be closed. Therefore, how to quickly and correctly identify the power-off and over-low voltage states is a prerequisite for whether the electronic expansion valve is closed and is also a technical problem in the industry.
[0005] The existing technology for determining the power-off or over-low voltage state of the air conditioner unit has a complex determination process, which reduces the determination speed, and there are also problems of high cost and inaccurate identification.
[0006] The above information disclosed in this background art is only used to increase the understanding of the background art of the present application. Therefore, it may include prior art that is not known to those of ordinary skill in the art. Summary of the Invention
[0007] Aiming at the problems of slow determination speed, high cost, and inaccuracy in determining the power-off of the indoor unit in the background art, the present invention provides an air conditioner to improve the speed and accuracy of determining the power-off of the indoor unit and reduce the cost.
[0008] To achieve the above invention purpose, the present invention adopts the following technical solutions:
[0009] An air conditioner, including an indoor unit, which includes an AC interface, a rectification module, a sampling module, and a control module;
[0010] The AC interface is used to access alternating current;
[0011] The rectification module is connected to the AC interface and rectifies the accessed alternating current to output a bus voltage;
[0012] The sampling module is connected to the rectification module and is used to sample the bus voltage to obtain sampling data;
[0013] The control module is connected to the sampling module and receives the sampling data; the control module sets a time difference threshold, obtains a voltage threshold and sample data; the sample data is the respective sampling data obtained from the latest consecutive multiple samplings; calculates the average value of the sample data, denoted as the average voltage; compares the average voltage with the voltage threshold; determines whether the indoor unit has abnormal power supply according to the comparison result; if so, obtains the ripple signal of the sample data, and respectively extracts the moments of the last peak and valley thereof, denoted as the first moment and the second moment; the second moment is later than the first moment, and their difference is denoted as the time difference; compares the time difference with the time difference threshold, and determines whether the indoor unit is powered off according to the comparison result.
[0014] According to some specific embodiments of the present application, the control module sets a sampling period, which adopts the period of the alternating current frequency;
[0015] When the sampling time does not exceed the duration of the sampling period, the sample data includes the respective sampling data within the entire sampling time;
[0016] When the sampling time exceeds the duration of the sampling period, the sample data includes the respective sampling data of the last entire sampling period within the sampling time.
[0017] According to some specific embodiments of the present application, when the sampling time does not reach the duration of the sampling period, the voltage threshold adopts a constant value configured in the control module;
[0018] When the sampling time reaches or exceeds the duration of the sampling period, calculates the average value and standard deviation of the respective sampling data of the first sampling period within the sampling time; the voltage threshold is equal to the difference between the average value of the respective sampling data of the first sampling period within the sampling time and the product of the standard deviation of the respective sampling data of the first sampling period within the sampling time and a coefficient.
[0019] According to some specific embodiments of the present application, a high-pass filter module is configured in the control module, and its cut-off frequency is not greater than the frequency of the alternating current;
[0020] The control module performs high-pass filtering processing on the sample data to obtain the ripple signal.
[0021] According to some specific embodiments of the present application, the sampling frequency of the sampling module configured in the control module is greater than twice the frequency of the alternating current.
[0022] According to some specific embodiments of the present application, the sampling frequency of the sampling module configured in the control module is 250 Hz.
[0023] According to some specific embodiments of the present application, when the first moment is the peak moment of the ripple signal, the second moment is the trough moment of the ripple signal or the cut-off moment of the ripple signal;
[0024] When the first moment is the trough moment of the ripple signal, the second moment is the peak moment of the ripple signal or the cut-off moment of the ripple signal.
[0025] According to some specific embodiments of the present application, for each additional sampling data received by the control module, the acquisition of the average voltage, the comparison between the average voltage and the voltage threshold, and the determination of whether the power supply of the indoor unit is abnormal are implemented.
[0026] According to some specific embodiments of the present application, the control module compares the average voltage with the voltage threshold; if the average voltage reaches or exceeds the voltage threshold, the control module determines that the indoor unit has a regulated power supply; if the average voltage reaches or is lower than the voltage threshold, the control module determines that the power supply of the indoor unit is abnormal.
[0027] According to some specific embodiments of the present application, when the control module determines that the power supply of the indoor unit is abnormal, the ripple signal of the sample data and the time difference included in the ripple signal are acquired, and the time difference is compared with the time difference threshold;
[0028] If the time difference reaches or is less than the time difference threshold, the control module determines that the power supply voltage of the indoor unit has abnormal fluctuations;
[0029] If the time difference reaches or exceeds the time difference threshold, the control module determines that the indoor unit is powered off.
[0030] The air conditioner of the present invention calculates the average voltage from the sample data composed of multiple sampled data, compares the average voltage with the voltage threshold, and determines whether the power supply to the indoor unit is abnormal according to the comparison result; when power supply abnormality occurs, that is, when power failure or abnormal voltage fluctuation of the power supply may occur, the sample data is processed to obtain its ripple signal, and then the time difference included in the ripple signal is obtained. The time difference is compared with the time difference threshold, and according to the comparison result, it is further determined whether the power supply abnormality of the indoor unit is power failure of the indoor unit or abnormal voltage fluctuation of the power supply to the indoor unit. Finally, it is decided whether to control the closing of the electronic expansion valve of the indoor unit, solving the difficult problem of difficult judgment between power failure of the indoor unit and low-voltage power supply, improving the accuracy and efficiency of judging power supply abnormality of the indoor unit as power failure or low voltage, improving the reliability and efficiency of control without increasing costs, and further improving the reliability of the operation of the air conditioner system.
[0031] After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become clearer. Brief Description of the Drawings
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or in the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0033] Figure 1 It is a schematic diagram of the connection of the components of the air conditioner according to the embodiment;
[0034] Figure 2 It is a schematic diagram of the process for judging the power supply state of the indoor unit of the air conditioner according to the embodiment;
[0035] Figure 3 It is a schematic diagram of the process for judging the power supply state of the indoor unit of the air conditioner according to the embodiment;
[0036] Figure 4 It is a schematic diagram of the process for judging the power supply state of the indoor unit of the air conditioner according to the embodiment;
[0037] Figure 5 It is a schematic diagram of the process for judging the power supply state of the indoor unit of the air conditioner according to the embodiment;
[0038] Figure 6 It is a schematic diagram of the process for judging the power supply state of the indoor unit of the air conditioner according to the embodiment;
[0039] Figure 7 It is a schematic diagram of the process for judging the power supply state of the indoor unit of the air conditioner according to the embodiment;
[0040] Figure 8Schematic diagram of the power supply state judgment process for the indoor unit of an air conditioner according to an embodiment;
[0041] Figure 9 Schematic diagram of the power supply state judgment process for the indoor unit of an air conditioner according to an embodiment;
[0042] Figure 10 Schematic diagram of the waveform of the ripple signal of the normal power supply sample data according to an embodiment;
[0043] Figure 11 Schematic diagram of the waveform of the ripple signal of the abnormal power supply voltage fluctuation sample data according to an embodiment;
[0044] Figure 12 Schematic diagram of the waveform of the ripple signal of the power-off sample data according to an embodiment;
[0045] Figure 13 Schematic diagram of the waveform of the voltage amplitude corresponding to the frequency of the normal power supply sample data according to an embodiment;
[0046] Figure 14 Schematic diagram of the waveform of the voltage amplitude corresponding to the frequency of the abnormal power supply voltage fluctuation sample data according to an embodiment;
[0047] Figure 15 Schematic diagram of the waveform of the voltage amplitude corresponding to the frequency of the power-off sample data according to an embodiment;
[0048] Figure 16 Schematic diagram of the waveform including the sampling data when the abnormal power supply voltage occurs according to an embodiment;
[0049] Figure 17 Schematic diagram of the waveform including the sampling data when the power-off occurs according to an embodiment. Detailed implementation manners
[0050] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0051] The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.
[0052] In the description of the present application, it should be noted that, unless otherwise clearly specified and defined, the terms "installed", "connected", and "coupled" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0053] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, the components and settings of specific examples are described below. Of course, they are only examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numerals and / or reference letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides examples of various specific processes and materials, but those of ordinary skill in the art may be aware of the application of other processes and / or the use of other materials.
[0054]
Air Conditioning Principle
[0055] The air conditioner performs a refrigeration cycle by using a compressor, a condenser, an expansion valve, and an evaporator. The refrigeration cycle includes a series of processes involving compression, condensation, expansion, and evaporation to cool or heat the indoor space.
[0056] The low-temperature and low-pressure refrigerant enters the compressor, and the compressor compresses it into a refrigerant gas in a high-temperature and high-pressure state and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process.
[0057] The expansion valve expands the high-temperature and high-pressure liquid-phase refrigerant formed by condensation in the condenser into a low-pressure liquid-phase refrigerant. The evaporator evaporates the refrigerant expanded in the expansion valve and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor. The evaporator can achieve a refrigeration effect by using the latent heat of evaporation of the refrigerant to exchange heat with the material to be cooled.
[0058] The outdoor unit of the air conditioner refers to the part of the refrigeration cycle including the compressor and the outdoor heat exchanger. The indoor unit of the air conditioner includes the indoor heat exchanger, and the expansion valve can be provided in the indoor unit or the outdoor unit.
[0059] The indoor heat exchanger and the outdoor heat exchanger are used as condensers or evaporators. When the indoor heat exchanger is used as a condenser, the outdoor heat exchanger is used as an evaporator, and the air conditioner is used as a heater in the heating mode; when the indoor heat exchanger is used as an evaporator, the outdoor heat exchanger is used as a condenser, and the air conditioner is used as a cooler in the cooling mode.
[0060]
Principle of Multi-Split Air Conditioning Unit
[0061] The multi-split air conditioning unit includes one or more outdoor units and a plurality of indoor units that are connected to the refrigerant link of the outdoor unit and electrically communicated with it; each indoor unit can be a direct expansion type indoor unit with the same or different forms and capacities.
[0062] Electronic expansion valves are respectively arranged in each indoor unit, which are used to open and connect the refrigerant when the indoor unit is turned on and close and cut off the refrigerant when the indoor unit is turned off.
[0063]
Air Conditioner
[0064] Refer to Figure 1 、 Figure 2 、 Figure 3 The air conditioner of the present invention includes an indoor unit, which includes an AC power interface 1, a rectification module 2, a sampling module 3, and a control module 4.
[0065] The AC power interface 1 is used to access AC power; the AC power is the external AC power supply, and the indoor unit is powered by the AC power accessed through the AC power interface 1.
[0066] The rectification module 2 includes a full-wave rectification circuit structure, which is connected to the AC power interface 1 and is used to perform full-wave rectification processing on the AC power accessed through the AC power interface 1 and then output the bus voltage, which is a DC signal and is connected to the indoor unit bus; the DC signal of the bus voltage contains ripples with a frequency equal to the frequency of the AC power and twice the frequency of the AC power.
[0067] The sampling module 3 is connected to the rectification module 2 and is used to continuously sample the bus voltage multiple times to obtain multiple sampling data.
[0068] The control module 4 is connected to the sampling module 3 and is used to receive the sampling data. The control module 4 is provided with a sampling period and a time difference threshold S11, and obtains sample data S2; the sample data is at least a combination of the sampling data of the last sampling period in the sampling time. That is, the sampling module 3 continuously collects the sampling data of the bus voltage; the control module 4 receives each sampling data; the sampling time may be multiple complete sampling periods or multiple complete sampling periods and part of an incomplete sampling period; when the sampling time is an incomplete sampling period, the sample data at least includes a combination of the sampling data of one complete sampling period calculated forward from the last moment of the sampling time.
[0069] Filter the sample data to obtain the ripple signal S3 of the sample data; extract the moments S41 of the last peak and valley of the ripple signal, and record them as the first moment and the second moment respectively; the second moment is later than the first moment; subtract the first moment from the second moment S5, and record it as the time difference; that is, the time difference is equal to the difference between the second moment and the first moment; that is, the time difference is the time difference between the last peak and the last valley of the ripple signal; that is, the time difference is the duration of the signal continuation from the last peak to the last valley of the ripple signal.
[0070] The control module 4 compares the time difference with the time difference threshold, and judges whether the indoor unit is powered off according to the comparison result.
[0071] The air conditioner of the present invention receives the sampling data of the bus voltage collected by the sampling module 3 through the control module 4, filters the sampling data to obtain the ripple signal of the sample data; obtains the time difference included in the ripple signal, compares the obtained time difference with the time difference threshold, and judges whether the indoor unit is powered off according to the comparison result, without adding hardware resources and without causing an increase in the cost of the indoor unit; uses each sampling data within the sampling period as sample data for processing and judgment basis, with multiple data volumes and low data volumes, improving the efficiency of data processing and the accuracy of judging whether the indoor unit is powered off, ensuring the accuracy and reliability of controlling the closing of the electronic expansion valve of the indoor unit when powered off, and further improving the stability and reliability of the operation of the air conditioner system.
[0072] In some specific embodiments, refer to Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 The time difference threshold includes the first time difference threshold. The control module 4 compares the time difference with the first time difference threshold S6; if the time difference reaches or exceeds the first time difference threshold S7, the control module 4 judges that the indoor unit is powered off S8; if the time difference reaches or is less than the first time difference threshold, the control module 4 determines that the indoor unit is powered normally S9.
[0073] The air conditioner of this embodiment can judge whether the indoor unit is powered off through one-step comparison of the time difference with the first time difference threshold, improving the efficiency of judging whether the indoor unit is powered off, saving time for using the charging electric energy of the electrolytic capacitor to supply power to the control module 4 to control the closing of the electronic expansion valve of the indoor unit, ensuring that more charging electric energy of the electrolytic capacitor is applied to the control module 4 to control the closing of the electronic expansion valve, and improving the reliability of controlling the closing of the electronic expansion valve when the indoor unit is powered off.
[0074] In some specific embodiments, refer to Figure 1 、 Figure 2 、 Figure 3 The time difference threshold further includes a second time difference threshold, which is smaller than the first time difference threshold.
[0075] When the control module 4 determines that the power supply to the indoor unit is normal, it compares the time difference with the second time difference threshold S10; if the time difference reaches or exceeds the second time difference threshold, the control module 4 determines that the power supply voltage of the indoor unit fluctuates abnormally S92, but it can still provide the voltage for the normal operation of the indoor unit; that is, when the time difference is between the second time difference threshold and the first time difference threshold, the control module 4 determines that the power supply voltage of the indoor unit fluctuates abnormally S92, and the indoor unit operates normally without controlling its electronic expansion valve to close. If the time difference reaches or is less than the second time difference threshold, the control module 4 determines that the indoor unit has a regulated power supply S91.
[0076] The air conditioner of this embodiment further determines the power supply situation when the power supply to the indoor unit is normal by configuring the second time difference threshold to find out whether there is abnormal fluctuation of the power supply voltage of the indoor unit, and grasps the situation of the AC power supply of the indoor unit, including whether the AC power itself is stable or whether there are high-power electrical appliances with frequent startups around the indoor unit. It can be used as a judgment basis for whether to increase additional protection and preventive measures, and extend the life and operation reliability of the air conditioner.
[0077] In some specific embodiments, referring to Figure 1 、 Figure 2 、 Figure 3 ,the indoor unit includes a circuit board; the AC power interface 1, the rectification module 2, the sampling module 3, and the control module 4 are all arranged on the circuit board.
[0078] In some specific embodiments, referring to Figure 1 、 Figure 2 、 Figure 3 ,a high-pass filter module is configured in the control module 4, and its cut-off frequency is not greater than the frequency of the alternating current, and is used to perform high-pass filtering on the sample data to obtain a ripple signal.
[0079] In some specific embodiments, referring to Figure 1 、 Figure 2 、 Figure 3 ,the sampling frequency of the sampling module 3 configured in the control module 4 is greater than 2 times the frequency of the alternating current, ensuring that the ripple signal of the sample data appears aliased and distorted, affecting the accuracy of the time difference, and further affecting the judgment result of the power supply state of the indoor unit judged according to it.
[0080] In addition, by setting the sampling frequency of the air conditioner of this embodiment to be greater than 2 times the frequency of the alternating current, the ripples with frequencies of the alternating current frequency and 2 times the alternating current frequency contained in the bus voltage are retained, and are used to extract the time difference between the moments of its last wave peak and last wave valley, ensuring the reliability and accuracy of the judgment on whether the indoor unit is powered off.
[0081] In some specific embodiments, referring to Figure 1 、Figure 2 , Figure 3 , the sampling frequency of the sampling module 3 is configured to 250 Hz in the control module 4.
[0082] In some specific embodiments, referring to Figure 1 , Figure 2 , Figure 3 , when the indoor unit starts to run, the sampling module 3 starts sampling immediately, and the control module 4 receives the sampling data immediately.
[0083] When the sampling time reaches the duration of the sampling period, the control module 4 performs high-pass filtering on the sample data for the first time, and obtains the time difference for the first time, compares the time difference with the time difference threshold, and judges the power supply state of the indoor unit.
[0084] That is, when the sampling time does not reach the duration of the sampling period, the control module 4 does not perform high-pass filtering on the sample data and judges the power supply state of the indoor unit by comparing the time difference with the time difference threshold.
[0085] In some specific embodiments, referring to Figure 1 , Figure 2 , Figure 3 , when the sampling time reaches the duration of the sampling period, for each additional sampling data received by the control module 4, high-pass filtering of the latest sample data, obtaining the time difference, comparing the time difference with the time difference threshold, and judging whether the indoor unit is powered off are performed once.
[0086] In some specific embodiments, referring to Figure 1 , Figure 2 , Figure 3 , since the frequency of the ripple signal includes the AC frequency and twice the AC frequency, and the sample data is sampling data with a non-fixed sampling period; therefore, the relative positions of the last peak and valley of the ripple signal are uncertain.
[0087] And due to the abnormal fluctuation of the power supply voltage and the influence of power-off, the ripple signal may only include one peak or valley.
[0088] Therefore, when the first moment is the peak moment of the ripple signal, the second moment is the valley moment of the ripple signal or the cut-off moment of the ripple signal; when the first moment is the valley moment of the ripple signal, the second moment is the peak moment of the ripple signal or the cut-off moment of the ripple signal.
[0089] The embodiments of the present invention are illustrated below by specific examples, referring to Figure 10 , Figure 11 , Figure 12, the indoor unit is powered by connecting to the AC power interface 1 with 220V, 50Hz alternating current. The sampling frequency of the sampling module 3 for collecting the bus voltage is 250Hz; high-pass filtering is performed on the last six sampling data (more than the five sampling data collected in one sampling period) of the sampling; the cut-off frequency of the high-pass filtering is selected as 20Hz; of course, 30Hz or 40Hz can also be selected. The first time difference threshold and the second time difference threshold are set to 0.01s and 0.006s respectively.
[0090] Figure 10 , Figure 11 , Figure 12 are respectively the waveform diagrams of the ripple signals of the sample data during regulated power supply, abnormal voltage fluctuation and power failure; the time differences are respectively Δt1 = 0.004s; Δt2 = 0.008s; Δt3 = 0.012s. Δt1 is less than the second time difference threshold, and it is determined as regulated power supply; Δt2 is between the second time difference threshold and the first time difference threshold, and it is determined as abnormal voltage fluctuation of the power supply; Δt3 is greater than the first time difference threshold, and it is determined as power failure.
[0091] Of course, the setting of the first time difference threshold and the second time difference threshold is determined according to factors including at least the parameters of the alternating current.
[0092] Refer to Figure 1 , Figure 4 , Figure 5 , the present invention also discloses an air conditioner, which includes an AC power interface 1, a rectification module 2, a sampling module 3, and a control module 4 connected in sequence; the AC power module is used to access the alternating current for powering the indoor unit.
[0093] The rectification module 2 includes all the rectification circuit structures, performs full-wave rectification on the accessed alternating current and then outputs the bus voltage, which is a DC signal and is connected to the indoor unit bus; the sampling module 3 continuously samples the bus voltage to obtain multiple sampling data; the control module 4 receives each sampling data.
[0094] The control module 4 is provided with a sampling period and a voltage amplitude threshold S14; obtains the sample data S2, which is a combination of the sampling data in the last complete sampling period during the sampling time; the control module 4 processes the sample data to obtain the voltage amplitudes S20 at different frequencies; and then obtains the maximum value S30 among the voltage amplitudes.
[0095] That is, during the sampling process of the sampling module 3, the sampling time may be a complete sampling period or include multiple complete sampling periods and partial sampling periods; when the sampling time contains an incomplete sampling period, the sample data is a combination of the sampling data included in a complete sampling period calculated forward from the last moment of the sampling time.
[0096] The control module 4 compares the maximum amplitude with the voltage amplitude threshold value, and determines whether the indoor unit is powered off according to the comparison result.
[0097] The air conditioner of the present invention processes each sampling data of the bus voltage collected by the sampling module 3 through the control module 4, compares the maximum amplitude obtained after processing with the voltage amplitude threshold value, and determines whether the indoor unit is powered off according to the comparison result, without adding hardware resources and without causing an increase in cost; uses each sampling data within the latest sampling period as sample data for processing and judgment basis, and the data are a small number of multiple ones, improving the processing efficiency and the accuracy of the judgment of whether the power is off, ensuring the accuracy and reliability of controlling the closing of the electronic expansion valve of the indoor unit when the power is off, and further improving the stability and reliability of the operation of the air conditioner system.
[0098] In some specific embodiments, referring to Figure 1 、 Figure 4 、 Figure 5 the voltage amplitude threshold value includes a first voltage amplitude threshold value.
[0099] The control module 4 compares the maximum amplitude with the first voltage amplitude threshold value S40; if the maximum amplitude reaches or exceeds the first voltage amplitude threshold value S50, the control module 4 determines that the indoor unit is powered normally S9; if the maximum amplitude reaches or is less than the first voltage amplitude threshold value, the control module 4 determines that the indoor unit is powered off S8.
[0100] The air conditioner of this embodiment can determine whether the indoor unit is powered off through one comparison between the maximum amplitude and the first voltage amplitude threshold value, improving the efficiency of the judgment of whether the indoor unit is powered off, and gaining more time for using the charging electric energy of the electrolytic capacitor to supply power to the control module 4 to control the closing of the electronic expansion valve of the indoor unit, ensuring that more of the charging electric energy of the electrolytic capacitor is applied to the control module 4 to control the closing of the electronic expansion valve, and improving the reliability of controlling the closing of the electronic expansion valve when the indoor unit is powered off.
[0101] In some specific embodiments, referring to Figure 1 、 Figure 4 、 Figure 5 the voltage amplitude threshold value further includes a second voltage amplitude threshold value, which is greater than the first voltage amplitude threshold value.
[0102] When the control module 4 determines that the indoor unit is powered normally S9, it compares the maximum amplitude with the second voltage amplitude threshold value.
[0103] If the maximum amplitude reaches or is less than the second voltage amplitude threshold value, that is, if the maximum amplitude is between the first voltage amplitude threshold value and the second voltage amplitude threshold value S90, the control module 4 determines that the supply voltage of the indoor unit has abnormal fluctuations S92.
[0104] If the maximum amplitude reaches or exceeds the second voltage amplitude threshold, the control module 4 determines the regulated power supply S91 of the indoor unit.
[0105] By configuring the second voltage amplitude threshold, the air conditioner in this embodiment further judges the power supply situation when the indoor unit is normally powered to find out whether there is abnormal fluctuation in the power supply voltage of the indoor unit, and grasps the situation of the AC power supply of the indoor unit, including whether the AC power itself is stable and whether there are high-power electrical appliances with frequent startups around the indoor unit. It can be used as a basis for judging whether to increase additional protection and preventive measures, and extend the life and operation reliability of the air conditioner.
[0106] In some specific embodiments, referring to Figure 1 、 Figure 4 、 Figure 5 the sampling frequency of the sampling module 3 configured in the control module 4 is greater than twice the frequency of the alternating current.
[0107] In some specific embodiments, the sampling frequency of the sampling module 3 configured in the control module 4 is 250 Hz. In some specific embodiments, the control module 4 is configured with a Fourier transform module, which obtains complex numbers with the same number as the sampling data in the sample data through Fourier transform processing of the latest sample data; calculates the voltage amplitude of each complex number at its frequency through amplitude.
[0108] Specifically,
[0109] V_f = fft(V(i,…,i+M-1))
[0110] In the formula:
[0111] V_f is a complex number array;
[0112] i is the sampling data serial number;
[0113] V(i,…,i+M-1) is an array of the i-th to the i+M-1-th sampling data;
[0114] M is the number of sampling data collected within a sampling period.
[0115] The voltage amplitude A of the sample data at different frequencies is calculated by the following formula:
[0116] A(1,…,M) = abs(V_f).
[0117] In some specific embodiments, referring to Figure 1 、 Figure 4 、 Figure 5 the control module 4 uses the comparison method to obtain the maximum value among the voltage amplitudes, that is, the maximum amplitude.
[0118] In some specific embodiments, referring toFigure 1 , Figure 4 , Figure 5 When the indoor unit starts to run, the sampling module 3 starts sampling immediately, and the control module 4 starts receiving the sampled data immediately.
[0119] When the sampling time reaches the duration of the sampling period, the control module 4 processes the voltage amplitudes at different frequencies of the sample data for the first time, obtains the maximum amplitude value, compares the maximum amplitude value with the voltage amplitude threshold, and determines the power supply state of the indoor unit according to the comparison result.
[0120] In some specific embodiments, referring to Figure 1 , Figure 4 , Figure 5 , when the sampling time reaches the duration of the sampling period, for each additional sampled data received by the control module 4, a Fourier transform of the latest sample data is performed, the maximum amplitude value is obtained, the maximum amplitude value is compared with the voltage amplitude threshold, and a determination is made as to whether the indoor unit is powered off.
[0121] The following illustrates the embodiments of the present invention through specific examples. Referring to Figure 13 , Figure 14 , Figure 15 , the indoor unit is powered by connecting to the AC power interface 1 with 220V, 50Hz AC power. The sampling frequency of the sampling module 3 for the bus voltage is 250Hz; Fourier transforms and voltage amplitude calculations are performed on the last five sampled data of the sampling. The first voltage amplitude threshold and the second voltage amplitude threshold are set to 1395 and 1440 respectively.
[0122] Figure 13 , Figure 14 , Figure 15 are respectively the frequency - amplitude waveform diagrams of the sample data during regulated power supply, abnormal voltage fluctuation, and power failure; the maximum amplitude values are Amax1 = 1447; Amax2 = 1405; Amax3 = 1386 respectively. Since Amax1 is greater than the second voltage amplitude threshold, it is determined as regulated power supply; Amax2 is between the first voltage amplitude threshold and the second voltage amplitude threshold, it is determined as abnormal voltage fluctuation of the power supply; Amax3 is less than the first voltage amplitude threshold, it is determined as power failure. Of course, the setting of the first voltage amplitude threshold and the second voltage amplitude threshold is determined according to factors including at least the parameters of the alternating current.
[0123] In some specific embodiments, referring to Figure 1 , Figure 6 , the control module 4 is set with a sampling period, a time difference threshold, and a voltage amplitude threshold S12.
[0124] The control module 4 obtains the sample data S2, which is a combination of the sampled data of the last complete sampling period during the sampling time.
[0125] Perform high-pass filtering on the sample data to obtain the ripple signal S3; extract the moments of the last peak and the last trough of the ripple signal, and record them as the first moment and the second moment S4 respectively; the second moment is later than the first moment; calculate the difference between the second moment and the first moment to obtain the time difference S5.
[0126] The control module 4 compares the time difference with the time difference threshold S6; if the time difference reaches or exceeds the time difference threshold S7, it is determined that the indoor unit is powered off S8; if the time difference reaches or is less than the time difference threshold, it is determined that the indoor unit is powered normally S9.
[0127] At this time, the time difference threshold is actually equal to the first time difference threshold in the above embodiment.
[0128] When the control module 4 determines that the indoor unit is powered normally S9, perform Fourier transform and amplitude calculation on the sample data to obtain the voltage amplitudes at different frequencies S20, and obtain the maximum value of each voltage amplitude S30 through the comparison method, that is, obtain the maximum amplitude.
[0129] The control module 4 compares the maximum amplitude with the voltage amplitude threshold S40; if the maximum amplitude reaches or is less than the voltage amplitude threshold S50, the control module 4 determines that the supply voltage of the indoor unit fluctuates abnormally S92.
[0130] If the maximum amplitude reaches or exceeds the voltage amplitude threshold, the control module 4 determines that the indoor unit is supplied with stable voltage S91.
[0131] At this time, the voltage amplitude threshold is actually equal to the second voltage amplitude threshold in the above embodiment.
[0132] In some specific embodiments, refer to Figure 1 、 Figure 7 , the control module 4 is set with a sampling period, a time difference threshold, and a voltage amplitude threshold S12.
[0133] The control module 4 obtains the sample data S2, which is a combination of the sampling data of the last complete sampling period in the sampling time.
[0134] Perform Fourier transform and amplitude calculation at different frequencies on the sample data to obtain the voltage amplitudes at different frequencies S20, and obtain the maximum value of each voltage amplitude S30 through the comparison method, that is, obtain the maximum amplitude.
[0135] The control module 4 compares the maximum amplitude with the voltage amplitude threshold; if the maximum amplitude reaches or exceeds the voltage amplitude threshold S40, the control module 4 determines that the indoor unit is powered normally S9.
[0136] If the maximum amplitude reaches or is less than the voltage amplitude threshold, the control module 4 determines that the indoor unit is powered off S8.
[0137] At this time, the voltage amplitude threshold is actually equal to the first voltage amplitude threshold in the above embodiment.
[0138] When the control module 4 determines that the power supply of the indoor unit is normal S9, it performs high-pass filtering on the sample data to obtain the ripple signal S3 of the sample data; extracts the moments of the last peak and the last trough of the ripple signal, and respectively records them as the first moment and the second moment S4; the second moment is later than the first moment; calculates the second moment minus the first moment to obtain the time difference S5.
[0139] The control module 4 compares the time difference with the time difference threshold; if the time difference reaches or exceeds the time difference threshold S7, it determines that the power supply voltage of the indoor unit fluctuates abnormally S92; if the time difference reaches or is less than the time difference threshold, it determines that the indoor unit has a regulated power supply S91.
[0140] At this time, the time difference threshold is actually equal to the second time difference threshold in the above embodiment.
[0141] Referring to Figure 1 、 Figure 8 The present invention also discloses an air conditioner, which includes an AC power interface 1, a rectification module 2, a sampling module 3, and a control module 4 that are connected in sequence.
[0142] The AC power interface 1 is used to connect the AC power to the indoor unit and supply power to the indoor unit. The rectification module 2 includes a full-wave rectification circuit structure and is used to rectify the connected AC power and output the bus voltage, which is a DC signal and is connected to the indoor unit bus; the sampling module 3 is used to collect the bus voltage to obtain sampling data; the control module 4 receives the sampling data.
[0143] The control module 4 sets the time difference threshold, obtains the voltage threshold S13, and the sample data S2; the sample data is a combination of the sampling data obtained from the latest continuous multiple samplings; calculates the average value of each sampling data of the sample data and records it as the average voltage S60; the control module 4 compares the average voltage with the voltage threshold S70; determines whether the power supply of the indoor unit is abnormal according to the comparison result.
[0144] If the control module 4 determines that the power supply of the indoor unit is abnormal S81, the control module 4 performs filtering on the sample data to obtain the ripple signal S3, and obtains the moments of the last peak and the last trough of the ripple signal, which are respectively recorded as the first moment and the second moment S4; the second moment is later than the first moment; the difference between the second moment and the first moment is recorded as the time difference S5; compares the time difference with the time difference threshold S6, and determines whether the abnormal power supply of the indoor unit is a power-off according to the comparison result.
[0145] The air conditioner of the present invention calculates the average voltage from the sample data composed of multiple sampling data, compares the average voltage with the voltage threshold, and determines whether the power supply of the indoor unit is abnormal according to the comparison result; when there is a power supply abnormality, that is, when there may be a power outage or abnormal voltage fluctuation in the power supply, the sample data is processed to obtain its ripple signal, and then the time difference included in the ripple signal is obtained. The time difference is compared with the time difference threshold, and according to the comparison result, it is further determined whether the abnormal power supply of the indoor unit is a power outage of the indoor unit or an abnormal voltage fluctuation of the power supply of the indoor unit. Finally, it is determined whether to control the closing of the electronic expansion valve of the indoor unit, solving the difficult problem of difficult judgment between power outage of the indoor unit and low-voltage power supply, improving the accuracy and efficiency of judging whether the abnormal power supply of the indoor unit is a power outage or low voltage, improving the reliability and efficiency of control without increasing costs, and further improving the reliability of the operation of the air conditioner system.
[0146] In some specific embodiments, referring to Figure 1 、 Figure 8 , the control module 4 compares the average voltage with the voltage threshold S70; if the average voltage reaches or exceeds the voltage threshold S80, the control module 4 determines that the indoor unit has a regulated power supply S91; if the average voltage reaches or is lower than the voltage threshold, the control module 4 determines that the power supply of the indoor unit is abnormal S81.
[0147] In some specific embodiments, when the control module 4 determines that the power supply of the indoor unit is abnormal S81, the time difference of the sample data is obtained and compared with the time difference threshold; if the time difference reaches or exceeds the time difference threshold, the control module 4 determines that the indoor unit has a power outage S8; if the time difference reaches or is less than the time difference threshold S7, the control module 4 determines that the power supply voltage of the indoor unit has an abnormal fluctuation S92.
[0148] At this time, the time difference threshold is actually equal to the first time difference threshold in the above embodiment.
[0149] In some specific embodiments, referring to Figure 1 、 Figure 8 , the control module 4 sets the sampling period, which is the period of the alternating current frequency. That is, if the alternating current frequency is F, the sampling period is 1 / F.
[0150] When the sampling time does not exceed the duration of the sampling period, the sample data is the combination of each sampling data within the entire sampling time; when the sampling time exceeds the duration of the sampling period, the sample data is the combination of each sampling data in the last complete sampling period during the sampling time.
[0151] In some specific embodiments, referring to Figure 1 、 Figure 8When the sampling time does not reach the duration of the sampling period, the voltage threshold adopts the constant value configured in the control module 4, that is, the value determined by manual setting; when the sampling time reaches or exceeds the duration of the sampling period, calculate the average value and standard deviation of each sampling data in the first sampling period of the sampling time; the voltage threshold is equal to the value obtained by calculating the difference between the average value of each sampling data in the first sampling period of the sampling time and the product of the standard deviation of each sampling data in the first sampling period of the sampling time and the coefficient.
[0152] That is, the voltage threshold can also be obtained through the following calculation.
[0153] The sampling period is the period 1 / F of the frequency of the alternating current; the sampling frequency is f; then the number of samplings M within one sampling period is calculated by the following formula.
[0154] M = round(f / F);
[0155] In the formula,
[0156] f is the sampling frequency;
[0157] F is the frequency of the alternating current;
[0158] Round is the rounding operation.
[0159] Sampling is performed when the indoor unit starts to operate; when the number of samplings is less than M, the control module 4 uses the voltage threshold of the constant value configured therein; when the number of samplings reaches or exceeds M, calculate the average value and standard deviation of each sampling data in the first sampling period of the sampling time, and calculate the voltage threshold.
[0160] Specifically,
[0161] V_t = V_m - 0.5×V_s (1)
[0162]
[0163]
[0164] In the formula:
[0165] V_t is the voltage threshold;
[0166] V_m is the average value of each sampling data in the first sampling period;
[0167] V_s is the standard deviation of each sampling data in the first sampling period;
[0168] The coefficient of the standard deviation is 0.5.
[0169] In some specific embodiments, referring to Figure 1 、 Figure 8When the indoor unit starts to operate, for each additional sampling data received by the control module 4, the acquisition of the average voltage, the comparison between the average voltage and the voltage threshold, and the judgment of whether the power supply of the indoor unit is abnormal are implemented once.
[0170] In some specific embodiments, referring to Figure 1 、 Figure 8 the control module 4 is configured with a high-pass filter module to perform high-pass filtering on the sample data of abnormal power supply to obtain its ripple signal and the time difference included in the ripple signal.
[0171] In some specific embodiments, referring to Figure 1 、 Figure 8 the sampling frequency is not less than 2 times the alternating current frequency.
[0172] The embodiments of the present invention are illustrated below by specific examples. Referring to Figure 16 、 Figure 17 the indoor unit is powered by connecting to the alternating current interface 1 with 220V, 50Hz alternating current. The sampling frequency of the sampling module 3 for collecting the bus voltage is 250Hz; the last five sampling data of the sampling form the sample data.
[0173] Figure 16 、 Figure 17 are respectively waveform diagrams of sampling data including abnormal voltage fluctuations and power outages; the voltage threshold is 286.4V; when the average voltage of the sampling data reaches or exceeds the voltage threshold, the indoor unit is supplied with stable voltage; when the average voltage reaches or is less than the voltage threshold, the power supply is abnormal.
[0174] Referring to Figure 1 、 Figure 9 the present invention also discloses an air conditioner, which includes an alternating current interface 1, a rectification module 2, a sampling module 3, and a control module 4 connected in sequence.
[0175] The alternating current interface 1 is used to connect alternating current to the indoor unit to supply power to the indoor unit. The rectification module 2 includes a full-wave rectification circuit structure and is used to rectify the connected alternating current and then output the bus voltage, which is a direct current signal and is connected to the indoor unit bus; the sampling module 3 is used to collect the bus voltage to obtain sampling data; the control module 4 receives the sampling data.
[0176] The control module 4 sets the voltage amplitude threshold, obtains the voltage threshold S13 and the sample data S2; the sample data is a combination of sampling data obtained from the latest continuous multiple samplings; calculates the average value S60 of each sampling data of the sample data, denoted as the average voltage; the control module 4 compares the average voltage with the voltage threshold S70; and judges whether the power supply of the indoor unit is abnormal according to the comparison result.
[0177] If the control module 4 determines that the power supply of the indoor unit is abnormal S81, the control module 4 obtains the voltage amplitudes at different frequencies of the sample data S20, and obtains the maximum value of the voltage amplitudes S30; compares the maximum amplitude value with the voltage amplitude threshold S40, and determines whether the abnormal power supply of the indoor unit is a power cut according to the comparison result.
[0178] The air conditioner of the present invention calculates the average voltage from the sample data composed of multiple sampling data, compares the average voltage with the voltage threshold, and determines whether the power supply of the indoor unit is abnormal according to the comparison result; when there is an abnormal power supply, that is, when there may be a power cut or abnormal voltage fluctuation in the power supply, the sample data is processed to obtain the maximum amplitude value, compares the maximum amplitude value with the voltage amplitude threshold, and further determines whether the abnormal power supply of the indoor unit is a power cut of the indoor unit or an abnormal voltage fluctuation of the power supply of the indoor unit according to the comparison result, and finally decides whether to control the closing of the electronic expansion valve of the indoor unit, solves the problem that it is difficult to judge the power cut and low-voltage power supply of the indoor unit, improves the accuracy and efficiency of judging the abnormal power supply of the indoor unit as a power cut or low voltage, improves the reliability and efficiency of control without increasing costs, and further improves the reliability of the operation of the air conditioner system.
[0179] In some specific embodiments, referring to Figure 1 、 Figure 9 ,the control module 4 compares the average voltage with the voltage threshold S70; if the average voltage reaches or exceeds the voltage threshold S80, the control module 4 determines that the indoor unit has a regulated power supply S91; if the average voltage reaches or is lower than the voltage threshold, the control module 4 determines that the power supply of the indoor unit is abnormal S81.
[0180] In some specific embodiments, referring to Figure 1 、 Figure 9 ,when the control module 4 determines that the power supply of the indoor unit is abnormal S81, it obtains the maximum amplitude value of the sample data S30 and compares the maximum amplitude value with the voltage amplitude threshold S40; if the maximum amplitude value reaches or exceeds the voltage amplitude threshold S50, the control module 4 determines that the power supply voltage of the indoor unit has an abnormal fluctuation S92; if the maximum amplitude value reaches or is less than the voltage amplitude threshold, the control module 4 determines that the indoor unit has a power cut S91.
[0181] In some specific embodiments, referring to Figure 1 、 Figure 9 ,the control module 4 sets the sampling period, which is the period of the alternating current frequency. That is, if the alternating current frequency is F, the sampling period is 1 / F.
[0182] When the sampling time does not exceed the duration of the sampling period, the sample data is the combination of the sampling data within all sampling times; when the sampling time exceeds the duration of the sampling period, the sample data is the combination of the sampling data of the last complete sampling period in the sampling time.
[0183] In some specific embodiments, referring to Figure 1 , Figure 9 , when the sampling time does not reach the duration of the sampling period, the voltage threshold adopts the constant value configured in the control module 4, that is, the value determined by manual setting; when the sampling time reaches or exceeds the duration of the sampling period, calculate the average value and standard deviation of each sampling data in the first sampling period of the sampling time; the voltage threshold is equal to the value obtained by calculating the difference between the average value of each sampling data in the first sampling period of the sampling time and the product of the standard deviation of each sampling data in the first sampling period of the sampling time and a coefficient.
[0184] That is, the voltage threshold can also be obtained through the following calculation.
[0185] The sampling period is the period 1 / F of the frequency of the alternating current; the sampling frequency is f; then the number of samplings M within one sampling period is calculated by the following formula.
[0186] M = round(f / F);
[0187] In the formula,
[0188] f is the sampling frequency;
[0189] F is the alternating current frequency;
[0190] Round is the rounding operation.
[0191] Sampling is performed when the indoor unit starts to operate; when the number of samplings is less than M, the control module 4 uses the voltage threshold of the constant value configured therein; when the number of samplings reaches or exceeds M, calculate the average value and standard deviation of each sampling data in the first sampling period of the sampling time, and calculate the voltage threshold.
[0192] Specifically,
[0193] V_t = V_m - 0.5×V_s (1)
[0194]
[0195]
[0196] In the formula:
[0197] V_t is the voltage threshold;
[0198] V_m is the average value of each sampling data in the first sampling period;
[0199] V_s is the standard deviation of each sampling data in the first sampling period;
[0200] The coefficient of the standard deviation is 0.5.
[0201] In some specific embodiments, referring to Figure 1 , Figure 9 , when the indoor unit starts to operate, for each additional sampling data received by the control module 4, the acquisition of the average voltage, the comparison between the average voltage and the voltage threshold, and the judgment of whether the power supply of the indoor unit is abnormal are implemented once.
[0202] In some specific embodiments, referring to Figure 1 , Figure 9 , the control module 4 is configured with a Fourier transform module to perform Fourier transform on the latest sample data and calculate the amplitudes of each complex number to obtain the voltage amplitudes at different frequencies, and obtain the maximum value of each voltage amplitude, that is, the maximum amplitude value, through the comparison method.
[0203] In some specific embodiments, referring to Figure 1 , Figure 9 , the sampling frequency is not less than 2 times the alternating current frequency.
[0204] In the description of the above embodiments, the specific features, structures, materials or characteristics can be combined in a suitable manner in any one or more embodiments or examples.
[0205] The above are only the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. An air conditioner, characterized in that, it includes an indoor unit, which includes an AC power interface, a rectification module, a sampling module, and a control module; the AC power interface is used to access AC power; the rectification module is connected to the AC power interface and rectifies the accessed AC power to output a bus voltage; the sampling module is connected to the rectification module and is used to sample the bus voltage to obtain sampling data; the control module is connected to the sampling module and receives the sampling data; the control module sets a time difference threshold, obtains a voltage threshold, and sample data; the sample data is the respective sampling data obtained from the latest consecutive multiple samplings; calculate the average value of the sample data, denoted as the average voltage; compare the average voltage with the voltage threshold; determine whether the power supply of the indoor unit is abnormal according to the comparison result; if so, obtain the ripple signal of the sample data, respectively extract the moments of its last peak and valley, denoted as the first moment and the second moment; the second moment is later than the first moment, and their difference is denoted as the time difference; compare the time difference with the time difference threshold, and determine whether the indoor unit is powered off according to the comparison result.
2. The air conditioner according to claim 1, characterized in that, the control module sets a sampling period, which is the period of the AC power frequency; when the sampling time does not exceed the duration of the sampling period, the sample data includes the respective sampling data within the entire sampling time; when the sampling time exceeds the duration of the sampling period, the sample data includes the respective sampling data of the last entire sampling period within the sampling time.
3. The air conditioner according to claim 2, characterized in that, when the sampling time does not reach the duration of the sampling period, the voltage threshold adopts a constant value configured in the control module; when the sampling time reaches or exceeds the duration of the sampling period, calculate the average value and standard deviation of the respective sampling data of the first sampling period within the sampling time; the voltage threshold is equal to the difference between the average value of the respective sampling data of the first sampling period within the sampling time and the product of the standard deviation of the respective sampling data of the first sampling period within the sampling time and a coefficient.
4. The air conditioner according to claim 1, characterized in that, a high-pass filter module is configured in the control module, and its cut-off frequency is not greater than the frequency of the AC power; the control module performs high-pass filtering processing on the sample data to obtain the ripple signal.
5. The air conditioner according to claim 1, characterized in that, the sampling frequency of the sampling module configured in the control module is greater than twice the frequency of the AC power.
6. The air conditioner according to claim 5, characterized in that, the sampling frequency of the sampling module configured in the control module is 250 Hz.
7. The air conditioner according to claim 1, characterized in that, when the first moment is the peak moment of the ripple signal, the second moment is the valley moment of the ripple signal or the cut-off moment of the ripple signal; When the first moment is the trough moment of the ripple signal, the second moment is the peak moment of the ripple signal or the cut-off moment of the ripple signal.
8. The air conditioner according to claim 7, characterized in that each time the control module receives one more piece of the sampling data, it performs one acquisition of the average voltage, comparison between the average voltage and the voltage threshold, and determination of whether the power supply of the indoor unit is abnormal.
9. The air conditioner according to any one of claims 1 to 8, characterized in that the control module compares the average voltage with the voltage threshold; if the average voltage reaches or exceeds the voltage threshold, the control module determines that the indoor unit has a regulated power supply; if the average voltage reaches or is lower than the voltage threshold, the control module determines that the power supply of the indoor unit is abnormal.
10. The air conditioner according to claim 9, characterized in that when the control module determines that the power supply of the indoor unit is abnormal, it obtains the ripple signal of the sample data and the time difference included in the ripple signal, and compares the time difference with the time difference threshold; if the time difference reaches or is less than the time difference threshold, the control module determines that the supply voltage of the indoor unit has abnormal fluctuations; if the time difference reaches or exceeds the time difference threshold, the control module determines that the indoor unit is powered off.