Air conditioner and compressor phase current and PFC current sampling method and system thereof

文档序号:632238 发布日期:2021-05-11 浏览:14次 中文

阅读说明:本技术 空调及其压缩机相电流和pfc电流采样方法、系统 (Air conditioner and compressor phase current and PFC current sampling method and system thereof ) 是由 童成宁 任新杰 王世超 于 2019-11-01 设计创作,主要内容包括:本发明公开了一种空调及其压缩机相电流和PFC电流采样方法、系统,所述方法包括:获取压缩机相电流的采样时刻和采样间隔;获取PFC电流的下一次采样时刻点和采样耗时;根据压缩机相电流的采样时刻和采样间隔、PFC电流下一次采样时刻点和采样耗时,调整PFC电流下一次采样时刻点。该方法可以在压缩机相电流和PFC电流采集时刻点相冲突时,通过移动PFC电流的采样时刻点以躲避压缩机相电流的采样时刻点,避免重叠干涉,从而可以在AD通道资源有限的情况下使压缩机相电流和PFC电流采样能够顺利进行,以保证压缩机和PFC正常工作。(The invention discloses an air conditioner and a method and a system for sampling phase current and PFC current of a compressor of the air conditioner, wherein the method comprises the following steps: acquiring the sampling time and sampling interval of the phase current of the compressor; acquiring the next sampling time point and sampling time consumption of the PFC current; and adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point of the PFC current and the sampling time consumption. According to the method, when the phase current of the compressor and the acquisition time point of the PFC current conflict, the sampling time point of the phase current of the compressor is avoided by moving the sampling time point of the PFC current, so that overlapping interference is avoided, the phase current of the compressor and the sampling of the PFC current can be smoothly carried out under the condition that the AD channel resource is limited, and the normal work of the compressor and the PFC can be guaranteed.)

1. A method for sampling phase current and PFC current of a compressor of an air conditioner is characterized by comprising the following steps:

acquiring the sampling time and sampling interval of the phase current of the compressor;

acquiring the next sampling time point and sampling time consumption of the PFC current;

and adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, and the next sampling time point and the sampling time consumption of the PFC current.

2. The method for sampling the phase current and the PFC current of the air conditioner according to claim 1, wherein the adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point and the sampling time of the PFC current comprises:

and if the next sampling time point of the PFC current is the same as the sampling time point of the phase current of the compressor, adjusting the next sampling time point of the PFC current to be delayed backwards for a first preset time.

3. The method for sampling the phase current and the PFC current of the air conditioner according to claim 1, wherein the adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point and the sampling time of the PFC current comprises:

if the next sampling time point of the PFC current is behind the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time is less than the sampling time of the phase current of the compressor at the next time;

if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the current of the next compressor.

4. The method for sampling the phase current and the PFC current of the air conditioner according to claim 1, wherein the adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point and the sampling time of the PFC current comprises:

if the next sampling time point of the PFC current is located before the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time consumption is less than the sampling time of the phase current of the compressor;

and if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the compressor phase current.

5. The compressor phase current and PFC current sampling method of an air conditioner according to any one of claims 1-4, further comprising:

and judging that the PFC current sampled at the next sampling time point of the adjusted PFC current is abnormal, and taking the PFC current sampled at the last sampling time point of the PFC current as the PFC current sampled at the next sampling time point of the PFC current.

6. A compressor phase current and PFC current sampling system of an air conditioner is characterized by comprising:

the acquisition module is used for acquiring the sampling time and the sampling interval of the phase current of the compressor, and acquiring the next sampling time point and the sampling time consumption of the PFC current;

and the adjusting module is used for adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, and the next sampling time point and the sampling time consumption of the PFC current.

7. The compressor phase current and PFC current sampling system of an air conditioner of claim 6, wherein the adjustment module is to:

and if the next sampling time point of the PFC current is the same as the sampling time point of the phase current of the compressor, adjusting the next sampling time point of the PFC current to be delayed backwards for a first preset time.

8. The compressor phase current and PFC current sampling system of an air conditioner of claim 6, wherein the adjustment module is to:

if the next sampling time point of the PFC current is behind the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time is less than the sampling time of the phase current of the compressor at the next time;

if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the current of the next compressor.

9. The compressor phase current and PFC current sampling system of an air conditioner of claim 6, wherein the adjustment module is to:

if the next sampling time point of the PFC current is located before the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time consumption is less than the sampling time of the phase current of the compressor;

and if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the compressor phase current.

10. An air conditioner, comprising: the compressor phase current and PFC current sampling system of the air conditioner as claimed in any one of claims 6 to 9.

Technical Field

The invention relates to the technical field of electric appliance manufacturing, in particular to a method for sampling phase current (PFC) current of a compressor of an air conditioner, a system for sampling phase current and PFC current of the air conditioner and the air conditioner.

Background

Inverter air conditioners are more and more widely used, and in order to ensure the normal work of the air conditioners, the air conditioners need to be controlled according to the phase current of the compressors. In order to improve the power factor, the dc inverter air conditioner usually includes a PFC driving module circuit, and in order to ensure that the PFC driving module circuit works normally, the PFC current needs to be monitored. Therefore, the AD (analog-To-Digital) acquisition of the compressor phase current and the PFC current is particularly important.

In the related technology, the AD acquisition of the phase current and the PFC current of the compressor respectively corresponds to different series of AD channels of the driving chip, and the acquisition of the two series of AD channels is not interfered with each other and works independently.

However, in some occasions and in consideration of cost, the AD channel resources of some driving chips are limited, and the phase current of the compressor and the current of the PFC cannot be acquired simultaneously. Therefore, how to provide a sampling method capable of simultaneously collecting the compressor current and the PFC current under the condition that the AD channel resource of the driving chip is limited becomes a technical problem to be solved by those skilled in the art.

Disclosure of Invention

The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.

Therefore, an object of the present invention is to provide a method for sampling a phase current and a PFC current of a compressor of an air conditioner, which can avoid overlapping interference by moving a sampling time point of a PFC current to avoid the sampling time point of the phase current of the compressor when the phase current of the compressor and the sampling time point of the PFC current conflict with each other, so that the phase current and the PFC current of the compressor can be smoothly sampled under the condition of limited AD channel resources, thereby ensuring that the compressor and the PFC operate normally.

The second purpose of the invention is to provide a system for sampling the phase current and the PFC current of the compressor of the air conditioner.

A third object of the present invention is to provide an air conditioner.

In order to achieve the above object, an embodiment of a first aspect of the present invention discloses a method for sampling a phase current and a PFC current of a compressor of an air conditioner, including: acquiring the sampling time and sampling interval of the phase current of the compressor; acquiring the next sampling time point and sampling time consumption of the PFC current; and adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, and the next sampling time point and the sampling time consumption of the PFC current.

According to the method for sampling the phase current and the PFC current of the air conditioner, the sampling time and the sampling interval of the phase current of the compressor are firstly obtained, the next sampling time point and the sampling time consumption of the PFC current are obtained, and then the next sampling time point of the PFC current is adjusted according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point and the sampling time consumption of the PFC current. Therefore, when the phase current of the compressor and the acquisition time point of the PFC current conflict, the method can avoid the sampling time point of the phase current of the compressor by moving the sampling time point of the PFC current, so as to avoid overlapping interference, and further, the phase current of the compressor and the sampling of the PFC current can be smoothly carried out under the condition that the AD channel resource is limited, so that the normal work of the compressor and the PFC can be ensured.

In some examples, the adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the compressor phase current, the next sampling time point of the PFC current, and the sampling elapsed time includes: and if the next sampling time point of the PFC current is the same as the sampling time point of the phase current of the compressor, adjusting the next sampling time point of the PFC current to be delayed backwards for a first preset time.

In some examples, the adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the compressor phase current, the next sampling time point of the PFC current, and the sampling elapsed time includes: if the next sampling time point of the PFC current is behind the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time is less than the sampling time of the phase current of the compressor at the next time; if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the current of the next compressor.

In some examples, the adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the compressor phase current, the next sampling time point of the PFC current, and the sampling elapsed time includes: if the next sampling time point of the PFC current is located before the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time consumption is less than the sampling time of the phase current of the compressor; and if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the compressor phase current.

In some examples, the above method for sampling the compressor phase current and the PFC current of the air conditioner further includes: and judging that the PFC current sampled at the next sampling time point of the adjusted PFC current is abnormal, and taking the PFC current sampled at the last sampling time point of the PFC current as the PFC current sampled at the next sampling time point of the PFC current.

An embodiment of a second aspect of the present invention discloses a compressor phase current and PFC current sampling system of an air conditioner, comprising: the acquisition module is used for acquiring the sampling time and the sampling interval of the phase current of the compressor, and acquiring the next sampling time point and the sampling time consumption of the PFC current; and the adjusting module is used for adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, and the next sampling time point and the sampling time consumption of the PFC current.

According to the system for sampling the phase current and the PFC current of the air conditioner, the acquisition module is used for acquiring the sampling time and the sampling interval of the phase current of the compressor and the next sampling time point and the sampling time consumption of the PFC current, and the adjustment module is used for adjusting the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor and the next sampling time point and the sampling time consumption of the PFC current. Therefore, when the phase current of the compressor and the acquisition time point of the PFC current conflict, the system can avoid the sampling time point of the phase current of the compressor by moving the sampling time point of the PFC current, so that overlapping interference is avoided, the phase current of the compressor and the sampling of the PFC current can be smoothly carried out under the condition that the AD channel resource is limited, and the normal work of the compressor and the PFC can be ensured.

In some examples, the adjustment module is to: and if the next sampling time point of the PFC current is the same as the sampling time point of the phase current of the compressor, adjusting the next sampling time point of the PFC current to be delayed backwards for a first preset time.

In some examples, the adjustment module is to: if the next sampling time point of the PFC current is behind the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time is less than the sampling time of the phase current of the compressor at the next time; if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the current of the next compressor.

In some examples, the adjustment module is to: if the next sampling time point of the PFC current is located before the sampling time of the phase current of the compressor, further judging whether the sum of the next sampling time point of the PFC current and the sampling time consumption is less than the sampling time of the phase current of the compressor; and if not, adjusting the next sampling time point of the PFC current to be behind the sampling time point of the compressor phase current.

The embodiment of the third aspect of the invention discloses an air conditioner, which comprises the compressor phase current and PFC current sampling system of the air conditioner in the embodiment of the second aspect of the invention.

According to the air conditioner provided by the embodiment of the invention, through the compressor phase current and PFC current sampling system of the air conditioner, when the compressor phase current and the PFC current acquisition time point conflict, the sampling time point of the PFC current is moved to avoid the sampling time point of the compressor phase current, so that overlapping interference is avoided, and therefore, the compressor phase current and the PFC current can be smoothly sampled under the condition that AD channel resources are limited, so that the compressor and the PFC can normally work.

Drawings

The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

fig. 1 is a flowchart of a compressor phase current and PFC current sampling method of an air conditioner according to an embodiment of the present invention;

fig. 2 is a schematic view illustrating a compressor phase current and PFC current sampling method of an air conditioner according to an embodiment of the present invention;

fig. 3 is a flowchart of a compressor phase current and PFC current sampling method of an air conditioner according to another embodiment of the present invention;

fig. 4 is a block schematic diagram of a compressor phase current and PFC current sampling system of an air conditioner according to one embodiment of the present invention.

Detailed Description

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.

The following describes a compressor phase current and PFC current sampling method of an air conditioner, a compressor phase current and PFC current sampling system of an air conditioner, and an air conditioner according to an embodiment of the present invention with reference to the accompanying drawings.

Fig. 1 is a flowchart of a compressor phase current and PFC current sampling method of an air conditioner according to an embodiment of the present invention.

As shown in fig. 1, the method includes:

s1, the sampling time Tc1 and the sampling interval Δ t of the compressor phase current are obtained.

S2, obtaining the next sampling time Tp1 and the sampling time Tph of the PFC current.

And S3, adjusting the next sampling time point of the PFC current according to the sampling time Tc1 and the sampling interval delta t of the phase current of the compressor, the next sampling time point Tp1 of the PFC current and the sampling time Tph.

Specifically, in the case of limited resources of the AD channel, the compressor phase current and the PFC current may be simultaneously collected using one AD channel. Because the driving frequency of the PFC is generally higher than the driving frequency of the compressor, the sampling of the PFC current always overlaps with the phase current sampling time point of the compressor at a certain moment, and if the phase current of the compressor is collected after the PFC current is collected, the phase current of the compressor is not accurately collected, and the driving of the compressor is abnormal. Therefore, the invention takes the AD sampling of the phase current of the compressor as the optimization, and after the sampling time point of the PFC current is calculated, if the sampling time point of the PFC current and the sampling time point of the phase current of the compressor conflict, the sampling time point of the PFC current is shifted.

Specifically, as shown in fig. 2, the sampling time Tc1 and the sampling interval Δ t of the compressor phase current are obtained, and fig. 2 shows two sampling time points of the compressor phase current, which are Tc1 and Tc2 respectively, and Tc2 > Tc1, and Tc1+ Δ t is Tc2, that is, Tc2 is after Tc 1. And obtaining a next sampling time point Tp1 and sampling time Tph of the PFC current, and adjusting the next sampling time point Tp1 of the PFC current according to Tc, delta t, Tp1 and Tph, wherein if the next sampling time point Tp1 of the PFC current is overlapped with the sampling time point Tc1 of the compressor phase current, the sampling time point of the PFC current is shifted, and the sampling time point of the compressor phase current is avoided by moving the sampling time point of the PFC current, so that overlapping interference is avoided. Therefore, the phase current of the compressor and the current of the PFC can be sampled smoothly under the condition that the AD channel resources are limited, so that the normal work of the compressor and the PFC can be ensured.

According to an embodiment of the present application, as shown in fig. 3, adjusting the next sampling time point of the PFC current according to the sampling time Tc1 and the sampling interval Δ t of the compressor phase current, the next sampling time point Tp1 of the PFC current, and the sampling elapsed time Tph may include:

s31, if the PFC current next sampling timing point Tp1 is the same as the sampling timing Tc1 of the compressor phase current, the PFC current next sampling timing point Tp1 is adjusted to be delayed backward by the first predetermined time Δ ty.

Specifically, as shown in fig. 2(a), if the PFC current next sampling timing Tp1 and the compressor phase current sampling timing Tc1 overlap, the PFC current next sampling timing Tp1 is shifted backward by the first predetermined time Δ ty, and overlapping interference is avoided by shifting the sampling timing point of the PFC current to avoid the sampling timing point of the compressor phase current. The first predetermined time Δ ty may be preset according to an actual situation, but it is required to ensure that the first predetermined time Δ ty is not equal to the sampling interval Δ t of the compressor phase current, that is, Δ ty ≠ Δ t, for example, the first predetermined time Δ ty may be smaller than the sampling interval Δ t of the compressor phase current, that is, Δ ty < Δ t.

According to an embodiment of the present invention, as shown in fig. 3, adjusting the next sampling time point Tp1 of the PFC current according to the sampling time Tc1 and the sampling interval Δ t of the compressor phase current, the next sampling time point Tp1 of the PFC current, and the sampling elapsed time Tph may include:

s32, if the next sampling time point Tp1 of the PFC current is located after the sampling time Tc1 of the compressor phase current, it is further determined whether the sum of the next sampling time point Tp1 of the PFC current and the sampling elapsed time Tph is less than the sampling time Tc2 of the next compressor phase current.

S33, if not, adjusting the next sampling time Tp1 of PFC current to the time Tc2 of the next sampling of compressor phase current.

Specifically, as shown in fig. 2(b), if the next sampling time point Tp1 of the PFC current is located after the sampling time Tc1 of the compressor phase current, it is further determined whether Tp1+ Tph < Tc 2. If TP1+ Tph is less than Tc2, the next sampling time point TP1 of PFC current does not need to be adjusted; if TP1+ Tph is equal to or more than Tc2, adjusting the next sampling time point Tp1 of PFC current to the time point Tc2 of the next compressor phase current. That is, although the time point Tp1 at the next sampling time point of the PFC current is between Tc1 and Tc2, if Tp1+ Tph exceeds Tc2, it is preferable to perform AD sampling of the compressor phase current, and it is necessary to acquire the compressor phase current at Tc2 first, and then acquire the PFC current after the acquisition of the compressor phase current at Tc2 is completed. Therefore, the phase current of the compressor and the current of the PFC can be sampled smoothly under the condition that the AD channel resources are limited, so that the normal work of the compressor and the PFC can be ensured.

According to an embodiment of the present invention, as shown in fig. 3, adjusting the next sampling time point of the PFC current according to the sampling time Tc1 and the sampling interval Δ t of the compressor phase current, the next sampling time point Tp1 of the PFC current, and the sampling elapsed time Tph may include:

s34, if the next sampling time point Tp1 of the PFC current is before the sampling time Tc1 of the compressor phase current, further determining whether the sum of the next sampling time point Tp1 of the PFC current and the sampling elapsed time Tph is less than the sampling time Tc1 of the compressor phase current.

S35, if not, adjusting the next sampling time Tp1 of PFC current to be after the sampling time Tc1 of compressor phase current.

Specifically, as shown in fig. 2(c), if the next sampling time point Tp1 of the PFC current is located before the sampling time Tc1 of the compressor phase current, it is further determined whether Tp1+ Tph < Tc 1. If TP1+ Tph is less than Tc1, the next sampling time point TP1 of PFC current does not need to be adjusted; if TP1+ Tph is equal to or more than Tc1, adjusting the next sampling time point Tp1 of PFC current to be after the sampling time Tc1 of compressor phase current. That is, although the time point Tp1 of the next sampling time point of the PFC current is before Tc1, if Tp1+ Tph exceeds Tc1, it is preferable to use AD sampling of the compressor phase current, and it is necessary to acquire the compressor phase current at Tc1 first, and then acquire the PFC current after the acquisition of the compressor phase current at Tc1 is completed. Therefore, the phase current of the compressor and the current of the PFC can be sampled smoothly under the condition that the AD channel resources are limited, so that the normal work of the compressor and the PFC can be ensured.

According to an embodiment of the present invention, the method for sampling the compressor phase current and the PFC current of the air conditioner may further include: and judging that the PFC current sampled at the next sampling time point of the adjusted PFC current is abnormal, and taking the PFC current sampled at the last sampling time point of the PFC current as the PFC current sampled at the next sampling time point of the PFC current.

That is to say, when the AD value of the PFC current collected at the next sampling time point of the adjusted PFC current is abnormal, for example, when there is a large difference between the AD value of the PFC current collected at the next sampling time point of the adjusted PFC current and the AD value of the PFC current collected at the last sampling time point, the PFC current sampled at the last sampling time point of the PFC current is used as the AD value of the PFC current collected at the next sampling time point of the adjusted PFC current.

In summary, according to the method for sampling the phase current and the PFC current of the compressor of the air conditioner in the embodiment of the present invention, the sampling time and the sampling interval of the phase current of the compressor are first obtained, the next sampling time point and the sampling time consumption of the PFC current are obtained, and then the next sampling time point of the PFC current is adjusted according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point and the sampling time consumption of the PFC current. Therefore, when the phase current of the compressor and the acquisition time point of the PFC current conflict, the method can avoid the sampling time point of the phase current of the compressor by moving the sampling time point of the PFC current, so as to avoid overlapping interference, and further, the phase current of the compressor and the sampling of the PFC current can be smoothly carried out under the condition that the AD channel resource is limited, so that the normal work of the compressor and the PFC can be ensured.

Corresponding to the method for sampling the phase current and the PFC current of the compressor of the air conditioner, the invention also provides a system for sampling the phase current and the PFC current of the compressor of the air conditioner. Since the system embodiment of the present invention corresponds to the method embodiment described above, for details that are not disclosed in the system embodiment of the present invention, please refer to the method embodiment described above, which is not described again in the present invention.

Fig. 4 is a block schematic diagram of a compressor phase current and PFC current sampling system of an air conditioner according to one embodiment of the present invention. As shown in fig. 4, the system includes: an acquisition module 1 and an adjustment module 2.

The obtaining module 1 is configured to obtain a sampling time Tc1 and a sampling interval Δ t of the compressor phase current, and obtain a next sampling time point Tp1 and a sampling time Tph of the PFC current. The adjusting module 2 is configured to adjust a next sampling time point of the PFC current according to a sampling time Tc1 and a sampling interval Δ t of the compressor phase current, a next sampling time point Tp1 of the PFC current, and a sampling time Tph.

Specifically, as shown in fig. 2, the obtaining module 1 obtains a sampling time Tc1 and a sampling interval Δ t of the compressor phase current, two sampling time points of the compressor phase current are shown in fig. 2, which are Tc1 and Tc2 respectively, and Tc2 > Tc1, and Tc1+ Δ t is Tc2, that is, Tc2 is after Tc 1. And the obtaining module 1 obtains a next sampling time point Tp1 and a sampling time Tph of the PFC current, and the adjusting module 2 adjusts the next sampling time point Tp1 of the PFC current according to Tc, Δ t, Tp1 and Tph, wherein if the next sampling time point Tp1 of the PFC current and the sampling time Tc1 of the compressor phase current are overlapped, the sampling time point of the PFC current is shifted, and the sampling time point of the PFC current is moved to avoid the sampling time point of the compressor phase current, so as to avoid overlapping interference. Therefore, the phase current of the compressor and the current of the PFC can be sampled smoothly under the condition that the AD channel resources are limited, so that the normal work of the compressor and the PFC can be ensured.

According to one embodiment of the invention, the adjusting module 2 is configured to: if the PFC current next sampling timing point Tp1 is the same as the sampling timing Tc1 of the compressor phase current, the PFC current next sampling timing point Tp1 is adjusted to be delayed backward by the first predetermined time Δ ty.

According to one embodiment of the invention, the adjusting module 2 is configured to: if the next sampling time point Tp1 of the PFC current is behind the sampling time Tc1 of the compressor phase current, further judging whether the sum of the next sampling time point Tp1 of the PFC current and the sampling time Tph is smaller than the sampling time Tc2 of the next compressor phase current; if not, adjusting the next sampling time point Tp1 of PFC current to be after the sampling time Tc2 of the next compressor phase current.

According to one embodiment of the invention, the adjusting module 2 is configured to: if the next sampling time point Tp1 of the PFC current is located before the sampling time Tc1 of the compressor phase current, further judging whether the sum of the next sampling time point Tp1 of the PFC current and the sampling elapsed time Tph is smaller than the sampling time Tc1 of the compressor phase current; if not, adjusting the next sampling time point Tp1 of the PFC current to be after the sampling time Tc1 of the compressor phase current.

In summary, according to the system for sampling the phase current and the PFC current of the compressor of the air conditioner in the embodiment of the present invention, the obtaining module obtains the sampling time and the sampling interval of the phase current of the compressor and the next sampling time point and the sampling time of the PFC current, and the adjusting module adjusts the next sampling time point of the PFC current according to the sampling time and the sampling interval of the phase current of the compressor, the next sampling time point and the sampling time of the PFC current. Therefore, when the phase current of the compressor and the acquisition time point of the PFC current conflict, the system can avoid the sampling time point of the phase current of the compressor by moving the sampling time point of the PFC current, so that overlapping interference is avoided, the phase current of the compressor and the sampling of the PFC current can be smoothly carried out under the condition that the AD channel resource is limited, and the normal work of the compressor and the PFC can be ensured.

In addition, the invention also provides an air conditioner, which comprises the compressor phase current and PFC current sampling system of the air conditioner.

According to the air conditioner provided by the embodiment of the invention, through the compressor phase current and PFC current sampling system of the air conditioner, when the compressor phase current and the PFC current acquisition time point conflict, the sampling time point of the PFC current is moved to avoid the sampling time point of the compressor phase current, so that overlapping interference is avoided, and therefore, the compressor phase current and the PFC current can be smoothly sampled under the condition that AD channel resources are limited, so that the compressor and the PFC can normally work.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.

The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.

It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种交流电压有效值计算方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!