CN118044110A - Air conditioner and control method thereof - Google Patents
Air conditioner and control method thereof Download PDFInfo
- Publication number
- CN118044110A CN118044110A CN202380013707.3A CN202380013707A CN118044110A CN 118044110 A CN118044110 A CN 118044110A CN 202380013707 A CN202380013707 A CN 202380013707A CN 118044110 A CN118044110 A CN 118044110A
- Authority
- CN
- China
- Prior art keywords
- value
- compressor
- speed
- phase compensation
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000010355 oscillation Effects 0.000 claims abstract description 45
- 230000001629 suppression Effects 0.000 claims description 69
- 239000003507 refrigerant Substances 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 15
- 239000000306 component Substances 0.000 description 107
- 230000008569 process Effects 0.000 description 13
- 230000008859 change Effects 0.000 description 9
- 238000005259 measurement Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 4
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 4
- 238000001816 cooling Methods 0.000 description 4
- 238000010438 heat treatment Methods 0.000 description 4
- 239000007788 liquid Substances 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000010521 absorption reaction Methods 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F1/00—Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station
- F24F1/06—Separate outdoor units, e.g. outdoor unit to be linked to a separate room comprising a compressor and a heat exchanger
- F24F1/08—Compressors specially adapted for separate outdoor units
- F24F1/12—Vibration or noise prevention thereof
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/05—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation specially adapted for damping motor oscillations, e.g. for reducing hunting
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Air Conditioning Control Device (AREA)
Abstract
Description
本申请要求于2022年03月03日提交的、申请号为202210203715.1的中国专利申请的优先权;2022年03月03日提交的、申请号为202210203718.5的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese patent application No. 202210203715.1 filed on March 3, 2022; priority to Chinese patent application No. 202210203718.5 filed on March 3, 2022, the entire contents of which are incorporated by reference into this application.
本公开涉及空气调节技术领域,尤其涉及一种空调器及其控制方法。The present disclosure relates to the technical field of air conditioning, and in particular to an air conditioner and a control method thereof.
通常,空调器通过使用压缩机、冷凝器、膨胀阀和蒸发器以执行空调器的制冷循环。压缩机作为空调器的核心部件之一,其具有多种类型,如单转子压缩机、双转子压缩机等。其中,单转子压缩机是指压缩机采用的是一个转子的滚动转子压缩机,双转子压缩机采用的是两个对称滚动转子的压缩机。由于双转子压缩机的两个转子是对称的,所以这种压缩机振动非常小,输出效率高。Generally, an air conditioner performs a refrigeration cycle by using a compressor, a condenser, an expansion valve, and an evaporator. As one of the core components of an air conditioner, the compressor has many types, such as a single-rotor compressor, a dual-rotor compressor, and the like. Among them, a single-rotor compressor refers to a rolling rotor compressor with one rotor, and a dual-rotor compressor refers to a compressor with two symmetrical rolling rotors. Since the two rotors of a dual-rotor compressor are symmetrical, this compressor has very little vibration and high output efficiency.
发明内容Summary of the invention
一方面,提供一种空调器。所述空调器包括室内机、室外机和控制器。所述室内机包括室内换热器。所述室外机包括压缩机、室外换热器以及膨胀阀,所述压缩机、所述室外换热器、所述膨胀阀和所述室内换热器依序连接以形成冷媒回路。所述控制器被配置为:获取所述压缩机的第一转速值、第二转速值以及初始相位补偿角度;根据所述第一转速值和所述第二转速值获得所述压缩机的速度纹波;根据所述压缩机的速度纹波获取所述速度纹波的基波的第一正弦分量和第一余弦分量;根据所述第一正弦分量、所述第一余弦分量和预设振荡幅值进行比例积分运算,以获取幅度控制量;根据所述第一正弦分量、所述第一余弦分量、所述幅度控制量和所述初始相位补偿角度确定交轴的第一电流补偿值,以控制所述压缩机,完成对所述压缩机的本次振动抑制。所述第一转速值为预先设定的所述压缩机的转速值,所述第二转速值为所述压缩机当前的转速值,所述速度纹波等于所述第二转速值与所述第一转速值之差,所述预设振荡幅值为根据所述压缩机在低频运行时的振动情况预先设定的速度纹波的目标幅值。On the one hand, an air conditioner is provided. The air conditioner includes an indoor unit, an outdoor unit and a controller. The indoor unit includes an indoor heat exchanger. The outdoor unit includes a compressor, an outdoor heat exchanger and an expansion valve, and the compressor, the outdoor heat exchanger, the expansion valve and the indoor heat exchanger are connected in sequence to form a refrigerant circuit. The controller is configured to: obtain a first speed value, a second speed value and an initial phase compensation angle of the compressor; obtain the speed ripple of the compressor according to the first speed value and the second speed value; obtain the first sine component and the first cosine component of the fundamental wave of the speed ripple according to the speed ripple of the compressor; perform proportional integral operation according to the first sine component, the first cosine component and the preset oscillation amplitude to obtain the amplitude control amount; determine the first current compensation value of the quadrature axis according to the first sine component, the first cosine component, the amplitude control amount and the initial phase compensation angle to control the compressor and complete the local vibration suppression of the compressor. The first speed value is a preset speed value of the compressor, the second speed value is a current speed value of the compressor, the speed ripple is equal to the difference between the second speed value and the first speed value, and the preset oscillation amplitude is a target amplitude of the speed ripple preset according to the vibration condition of the compressor when operating at a low frequency.
另一方面,提供一种空调器的控制方法。该方法应用到所述空调器的控制器。所述空调器包括室内机以及室外机。所述室外机包括压缩机。所述方法包括:所述控制器获取所述压缩机的第一转速值、第二转速值以及初始相位补偿角度;所述控制器根据所述第一转速值和所述第二转速值,获取所述压缩机的速度纹波;所述控制器根据所述压缩机的速度纹波获取所述速度纹波的基波的第一正弦分量和第一余弦分量;所述控制器根据所述第一正弦分量、所述第一余弦分量和预设振荡幅值进行比例积分运算,以获取幅度控制量;所述控制器根据所述第一正弦分量、所述第一余弦分量、所述幅度控制量和所述初始相位补偿角度确定交轴的第一电流补偿值,以控制所述压缩机,完成对所述压缩机的本次振动抑制。所述第一转速值为预先设定的所述压缩机的转速值,所述第二转速值为所述压缩机当前的转速值,所述速度纹波等于所述第二转速值与所述第一转速值之差,所述预设振荡幅值为根据所述压缩机在低频运行时的振动情况预先设定的速度纹波的目标幅值。On the other hand, a control method for an air conditioner is provided. The method is applied to a controller of the air conditioner. The air conditioner includes an indoor unit and an outdoor unit. The outdoor unit includes a compressor. The method includes: the controller obtains a first speed value, a second speed value and an initial phase compensation angle of the compressor; the controller obtains the speed ripple of the compressor according to the first speed value and the second speed value; the controller obtains the first sine component and the first cosine component of the fundamental wave of the speed ripple according to the speed ripple of the compressor; the controller performs proportional integral operation according to the first sine component, the first cosine component and the preset oscillation amplitude to obtain the amplitude control amount; the controller determines the first current compensation value of the quadrature axis according to the first sine component, the first cosine component, the amplitude control amount and the initial phase compensation angle to control the compressor and complete the current vibration suppression of the compressor. The first speed value is a preset speed value of the compressor, the second speed value is the current speed value of the compressor, the speed ripple is equal to the difference between the second speed value and the first speed value, and the preset oscillation amplitude is a target amplitude of the speed ripple preset according to the vibration condition of the compressor when running at a low frequency.
又一方面,提供一种空调器。所述空调器包括室内机、室外机和控制器。所述室内机包括室内换热器。所述室外机包括压缩机、室外换热器以及膨胀阀,所述压缩机、所述室外换热器、所述膨胀阀和所述室内换热器依序连接以形成冷媒回路。所述控制器被配置为:获取所述压缩机的第一转速值和第二转速值;根据所述第一转速值和所述第二转速值,获得所述压缩机的速度纹波;对所述速度纹波作定积分运算,以获得所述速度纹波的积分值;获取初始相位补偿角度和角度步进值,并根据所述角度步进值、所述初始相位补偿角度和所述速度纹波的积分值,获得目标相位补偿角度;根据所述速度纹波和所述目标相位补偿角度,获得交轴的第一电流补偿值以控制所述压缩机。所述第一转速值为预先设定的所述压缩机的转速值,所述第二转速值为所述压缩机当前的转速值,所述速度纹波等于所述第二转速值与所述第一转速值之差。On the other hand, an air conditioner is provided. The air conditioner includes an indoor unit, an outdoor unit and a controller. The indoor unit includes an indoor heat exchanger. The outdoor unit includes a compressor, an outdoor heat exchanger and an expansion valve, and the compressor, the outdoor heat exchanger, the expansion valve and the indoor heat exchanger are connected in sequence to form a refrigerant circuit. The controller is configured to: obtain a first speed value and a second speed value of the compressor; obtain a speed ripple of the compressor according to the first speed value and the second speed value; perform a definite integral operation on the speed ripple to obtain an integral value of the speed ripple; obtain an initial phase compensation angle and an angle step value, and obtain a target phase compensation angle according to the angle step value, the initial phase compensation angle and the integral value of the speed ripple; obtain a first current compensation value of the quadrature axis according to the speed ripple and the target phase compensation angle to control the compressor. The first speed value is a preset speed value of the compressor, the second speed value is a current speed value of the compressor, and the speed ripple is equal to the difference between the second speed value and the first speed value.
又一方面,提供一种空调器的控制方法。该方法应用到所述空调器的控制器。所述空调器 包括室内机以及室外机。所述室外机包括压缩机。所述方法包括:所述控制器获取所述压缩机的第一转速值和第二转速值;所述控制器根据所述第一转速值和所述第二转速值,获得所述压缩机的速度纹波;所述控制器对所述速度纹波作定积分运算,以获得所述速度纹波的积分值;所述控制器获取初始相位补偿角度和角度步进值,并根据所述角度步进值、所述初始相位补偿角度和所述速度纹波的积分值,获得目标相位补偿角度;所述控制器根据所述速度纹波和所述目标相位补偿角度,获得交轴的第一电流补偿值以控制所述压缩机。所述第一转速值为预先设定的所述压缩机的转速值,所述第二转速值为所述压缩机当前的转速值,所述速度纹波等于所述第二转速值与所述第一转速值之差。On the other hand, a control method for an air conditioner is provided. The method is applied to the controller of the air conditioner. The air conditioner includes an indoor unit and an outdoor unit. The outdoor unit includes a compressor. The method includes: the controller obtains a first speed value and a second speed value of the compressor; the controller obtains the speed ripple of the compressor according to the first speed value and the second speed value; the controller performs a definite integral operation on the speed ripple to obtain the integral value of the speed ripple; the controller obtains an initial phase compensation angle and an angle step value, and obtains a target phase compensation angle according to the angle step value, the initial phase compensation angle and the integral value of the speed ripple; the controller obtains a first current compensation value of the quadrature axis according to the speed ripple and the target phase compensation angle to control the compressor. The first speed value is a preset speed value of the compressor, the second speed value is a current speed value of the compressor, and the speed ripple is equal to the difference between the second speed value and the first speed value.
为了更清楚地说明本公开中的技术方案,下面将对本公开一些实施例中所需要使用的附图作简单地介绍。然而,下面描述中的附图仅仅是本公开的一些实施例的附图,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。此外,以下描述中的附图可以视作示意图,并非对本公开实施例所涉及的产品的实际尺寸、方法的实际流程、信号的实际时序等的限制。In order to more clearly illustrate the technical solutions in the present disclosure, the following briefly introduces the drawings required for use in some embodiments of the present disclosure. However, the drawings described below are only drawings of some embodiments of the present disclosure, and a person of ordinary skill in the art can also obtain other drawings based on these drawings. In addition, the drawings described below can be regarded as schematic diagrams, and are not limitations on the actual size of the product involved in the embodiments of the present disclosure, the actual process of the method, the actual timing of the signal, etc.
图1为根据一些实施例的一种空调器的结构图;FIG1 is a structural diagram of an air conditioner according to some embodiments;
图2为根据一些实施例的一种空调器的另一种结构图;FIG2 is another structural diagram of an air conditioner according to some embodiments;
图3为根据一些实施例的空调器中室内机的剖视图;3 is a cross-sectional view of an indoor unit of an air conditioner according to some embodiments;
图4为根据一些实施例的空调器中控制器的框图;FIG4 is a block diagram of a controller in an air conditioner according to some embodiments;
图5为根据一些实施例的空调器中控制器的流程图;FIG5 is a flow chart of a controller in an air conditioner according to some embodiments;
图6为根据一些实施例的空调器中控制器的另一种流程图;FIG6 is another flow chart of a controller in an air conditioner according to some embodiments;
图7为根据一些实施例的空调器中控制器的又一种流程图;FIG. 7 is another flow chart of a controller in an air conditioner according to some embodiments;
图8为根据一些实施例的空调器中控制器的又一种流程图;FIG8 is another flow chart of a controller in an air conditioner according to some embodiments;
图9为根据一些实施例的空调器中控制器的又一种流程图;FIG9 is another flow chart of a controller in an air conditioner according to some embodiments;
图10为根据一些实施例的空调器中控制器的又一种流程图;FIG10 is another flow chart of a controller in an air conditioner according to some embodiments;
图11为根据一些实施例的空调器中控制器的又一种流程图;FIG11 is another flow chart of a controller in an air conditioner according to some embodiments;
图12为根据一些实施例的空调器中控制器的又一种流程图;FIG12 is another flow chart of a controller in an air conditioner according to some embodiments;
图13为根据一些实施例的一种空调器的控制方法的一种流程图;FIG13 is a flow chart of a method for controlling an air conditioner according to some embodiments;
图14为根据一些实施例的空调器中控制器的流程图;FIG. 14 is a flow chart of a controller in an air conditioner according to some embodiments;
图15为根据一些实施例的空调器中控制器的另一种流程图;FIG. 15 is another flow chart of a controller in an air conditioner according to some embodiments;
图16为根据一些实施例的空调器中控制器的又一种流程图;FIG. 16 is another flow chart of a controller in an air conditioner according to some embodiments;
图17为根据一些实施例的空调器中控制器的又一种流程图;FIG. 17 is another flow chart of a controller in an air conditioner according to some embodiments;
图18为根据一些实施例的空调器中控制器的又一种流程图;FIG. 18 is another flow chart of a controller in an air conditioner according to some embodiments;
图19为根据一些实施例的空调器中控制器的又一种流程图;FIG. 19 is another flow chart of a controller in an air conditioner according to some embodiments;
图20为根据一些实施例的一种空调器的控制方法的一种流程图。FIG. 20 is a flow chart of a method for controlling an air conditioner according to some embodiments.
下面将结合附图,对本公开一些实施例进行清楚、完整地描述。然而,所描述的实施例仅仅是本公开的一部分实施例,而不是全部的实施例。基于本公开所提供的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本公开保护的范围。Some embodiments of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings. However, the described embodiments are only some embodiments of the present disclosure, rather than all embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of the present disclosure.
除非上下文另有要求,否则,在整个说明书和权利要求书中,术语“包括(comprise)”及其其他形式例如第三人称单数形式“包括(comprises)”和现在分词形式“包括(comprising)”被解释为开放、包含的意思,即为“包含,但不限于”。在说明书的描述中,术语“一个实施例(one embodiment)”、“一些实施例(some embodiments)”、“示例性实施例(exemplary embodiments)”、“示例(example)”、“特定示例(specific example)”或“一些示例(some examples)”等旨在表明与该实施例或示例相关的特定特征、结构、材料或特性包括在本公开的至少一个实施例或示例中。上述术语的示意性表示不一定是指同一实施例或示例。此外,所述的特定特征、结构、材料或特点可以以任何适当方式包括在任何一个或多个实施例或示例中。 Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本公开实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.
在描述一些实施例时,可能使用了“耦接”和“连接”及其衍伸的表达。例如,描述一些实施例时可能使用了术语“连接”以表明两个或两个以上部件彼此间有直接物理接触或电接触。然而,术语“连接”也可能指两个或两个以上部件彼此间并无直接接触,但仍彼此协作或相互作用。又如,描述一些实施例时可能使用了术语“耦接”以表明两个或两个以上部件有直接物理接触或电接触。然而,术语“耦接”或“通信耦合(communicatively coupled)”也可能指两个或两个以上部件彼此间并无直接接触,但仍彼此协作或相互作用。这里所公开的实施例并不必然限制于本文内容。When describing some embodiments, the expressions "coupled" and "connected" and their derivatives may be used. For example, when describing some embodiments, the term "connected" may be used to indicate that two or more components are in direct physical or electrical contact with each other. However, the term "connected" may also refer to two or more components that are not in direct contact with each other, but still cooperate or interact with each other. For another example, when describing some embodiments, the term "coupled" may be used to indicate that two or more components are in direct physical or electrical contact. However, the term "coupled" or "communicatively coupled" may also refer to two or more components that are not in direct contact with each other, but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the contents of this document.
“A和/或B”,包括以下三种组合:仅A,仅B,及A和B的组合。“A and/or B” includes the following three combinations: A only, B only, and a combination of A and B.
如本文中所使用,根据上下文,术语“如果”任选地被解释为意思是“当……时”或“在……时”或“响应于确定”或“响应于检测到”。类似地,根据上下文,短语“如果确定……”或“如果检测到[所陈述的条件或事件]”任选地被解释为是指“在确定……时”或“响应于确定……”或在“检测到[所陈述的条件或事件]时”或“响应于检测到[所陈述的条件或事件]”。As used herein, the term "if" is optionally interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined that" or "if [a stated condition or event] is detected" are optionally interpreted to mean "upon determining that" or "in response to determining that" or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.
本文中“适用于”或“被配置为”的使用意味着开放和包容性的语言,其不排除适用于或被配置为执行额外任务或步骤的设备。The use of "adapted to" or "configured to" herein is meant to be open and inclusive language that does not exclude devices adapted or configured to perform additional tasks or steps.
如本文所使用的那样,“约”、“大致”或“近似”包括所阐述的值以及处于特定值的可接受偏差范围内的平均值,其中所述可接受偏差范围如由本领域普通技术人员考虑到正在讨论的测量以及与特定量的测量相关的误差(即,测量系统的局限性)所确定。As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of variation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
如本文所使用的那样,“平行”、“垂直”、“相等”包括所阐述的情况以及与所阐述的情况相近似的情况,该相近似的情况的范围处于可接受偏差范围内,其中所述可接受偏差范围如由本领域普通技术人员考虑到正在讨论的测量以及与特定量的测量相关的误差(即,测量系统的局限性)所确定。As used herein, "parallel," "perpendicular," and "equal" include the stated conditions and conditions approximate to the stated conditions, the range of which is within an acceptable range of deviation as determined by one of ordinary skill in the art taking into account the measurement in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
本公开一些实施例提供了一种空调器1000。Some embodiments of the present disclosure provide an air conditioner 1000 .
如图1所示,空调器1000包括室内机10和室外机20。室内机10和室外机20通过管路连接以传输冷媒。As shown in Fig. 1, the air conditioner 1000 includes an indoor unit 10 and an outdoor unit 20. The indoor unit 10 and the outdoor unit 20 are connected by a pipeline to transfer a refrigerant.
需要说明的是,图1以空调器1000为挂壁式空调器,且室内机10挂设在室内墙壁100(如图3所示)上为例进行示意。当然,本公开一些实施例中的空调器1000也可以为立柜式空调器。另外,由于图1中的室内机10位于室内,而室外机20位于户外,因此图1中用虚线来表示室外机20。It should be noted that FIG1 is a diagram showing an example in which the air conditioner 1000 is a wall-mounted air conditioner, and the indoor unit 10 is mounted on the indoor wall 100 (as shown in FIG3 ). Of course, the air conditioner 1000 in some embodiments of the present disclosure may also be a cabinet-type air conditioner. In addition, since the indoor unit 10 in FIG1 is located indoors, and the outdoor unit 20 is located outdoors, the outdoor unit 20 is represented by a dotted line in FIG1 .
如图2所示,室内机10包括室内换热器101和室内风扇102。室外机20包括压缩机201、室外换热器202、室外风扇203和膨胀阀204。依序连接的压缩机201、室外换热器202、膨胀阀204和室内换热器101形成冷媒回路30。例如,空调器1000还包括连接管40,连接管40连接室内机10和室外机20以构成冷媒回路30。冷媒在冷媒回路30中循环流动,并通过室外换热器202与室内换热器101分别与空气进行换热,以实现空调器1000的制冷模式或制热模式。As shown in FIG. 2 , the indoor unit 10 includes an indoor heat exchanger 101 and an indoor fan 102. The outdoor unit 20 includes a compressor 201, an outdoor heat exchanger 202, an outdoor fan 203 and an expansion valve 204. The compressor 201, the outdoor heat exchanger 202, the expansion valve 204 and the indoor heat exchanger 101 connected in sequence form a refrigerant circuit 30. For example, the air conditioner 1000 also includes a connecting pipe 40, which connects the indoor unit 10 and the outdoor unit 20 to form a refrigerant circuit 30. The refrigerant circulates in the refrigerant circuit 30 and exchanges heat with the air through the outdoor heat exchanger 202 and the indoor heat exchanger 101, respectively, to achieve a cooling mode or a heating mode of the air conditioner 1000.
压缩机201被配置为压缩冷媒以使低压冷媒受压缩形成高压冷媒。压缩机201从吸入口吸入冷媒,然后将在内部压缩后的冷媒从排出口排出。压缩机201具有逆变器。逆变器可以将直流电转换成定频定压或调频调压交流电,以驱动压缩机201。The compressor 201 is configured to compress the refrigerant so that the low-pressure refrigerant is compressed to form a high-pressure refrigerant. The compressor 201 inhales the refrigerant from the suction port and then discharges the refrigerant compressed inside from the discharge port. The compressor 201 has an inverter. The inverter can convert direct current into constant frequency and constant voltage or frequency and voltage modulated alternating current to drive the compressor 201.
室外换热器202被配置为将室外空气与在室外换热器202中传输的冷媒进行热交换。例如,室外换热器202在空调器1000的制冷模式下作为冷凝器进行工作,使得由压缩机201压缩的冷媒通过室外换热器202将热量散发至室外空气而冷凝。室外换热器202在空调器1000的制热模式下作为蒸发器进行工作,使得减压后的冷媒通过室外换热器202吸收室外空气的热量而蒸发。在一些实施例中,室外换热器202包括第一换热管。该第一换热管连接于冷媒回路30 内,冷媒可以在所述第一换热管中流动以与室外空气进行热量交换。The outdoor heat exchanger 202 is configured to perform heat exchange between outdoor air and the refrigerant transmitted in the outdoor heat exchanger 202. For example, the outdoor heat exchanger 202 works as a condenser in the cooling mode of the air conditioner 1000, so that the refrigerant compressed by the compressor 201 condenses by dissipating heat to the outdoor air through the outdoor heat exchanger 202. The outdoor heat exchanger 202 works as an evaporator in the heating mode of the air conditioner 1000, so that the decompressed refrigerant absorbs the heat of the outdoor air through the outdoor heat exchanger 202 and evaporates. In some embodiments, the outdoor heat exchanger 202 includes a first heat exchange tube. The first heat exchange tube is connected to the refrigerant circuit 30 , and the refrigerant can flow in the first heat exchange tube to exchange heat with the outdoor air.
室外风扇203被配置为将室外空气经室外机20的室外进风口吸入至室外机20内,并将与室外换热器202换热后的室外空气经由室外机20的室外出风口送出。室外风扇203为室外空气的流动提供动力,以使室外空气流经室外换热器202与室外换热器202中的冷媒进行热量交换。室外风扇203具有转速可变换的第一马达2030,第一马达2030用于驱动室外风扇203的扇叶转动。The outdoor fan 203 is configured to draw outdoor air into the outdoor unit 20 through the outdoor air inlet of the outdoor unit 20, and send the outdoor air after heat exchange with the outdoor heat exchanger 202 out through the outdoor air outlet of the outdoor unit 20. The outdoor fan 203 provides power for the flow of outdoor air, so that the outdoor air flows through the outdoor heat exchanger 202 and exchanges heat with the refrigerant in the outdoor heat exchanger 202. The outdoor fan 203 has a first motor 2030 with a variable speed, and the first motor 2030 is used to drive the blades of the outdoor fan 203 to rotate.
膨胀阀204连接于室外换热器202与室内换热器101之间,由膨胀阀204的开度大小调节流经室外换热器202和室内换热器101的冷媒压力,以调节流通于室外换热器202和室内换热器101之间的冷媒流量。流通于室外换热器202和室内换热器101之间的冷媒的流量和压力将影响室外换热器202和室内换热器101的换热性能。膨胀阀204的开度是可调节的,以控制流经膨胀阀204的冷媒的流量和压力。例如,膨胀阀204使在冷凝器中冷凝的液态冷媒膨胀为低压的液态冷媒。需要说明的是,本公开一些实施例以膨胀阀204设置在室外机20中为例进行说明。当然,在一些实施例中,膨胀阀204也可以设置在室内机10中。The expansion valve 204 is connected between the outdoor heat exchanger 202 and the indoor heat exchanger 101. The opening of the expansion valve 204 adjusts the pressure of the refrigerant flowing through the outdoor heat exchanger 202 and the indoor heat exchanger 101 to adjust the flow of the refrigerant flowing between the outdoor heat exchanger 202 and the indoor heat exchanger 101. The flow and pressure of the refrigerant flowing between the outdoor heat exchanger 202 and the indoor heat exchanger 101 will affect the heat exchange performance of the outdoor heat exchanger 202 and the indoor heat exchanger 101. The opening of the expansion valve 204 is adjustable to control the flow and pressure of the refrigerant flowing through the expansion valve 204. For example, the expansion valve 204 expands the liquid refrigerant condensed in the condenser into a low-pressure liquid refrigerant. It should be noted that some embodiments of the present disclosure are described by taking the expansion valve 204 as an example of being arranged in the outdoor unit 20. Of course, in some embodiments, the expansion valve 204 can also be arranged in the indoor unit 10.
室内换热器101被配置为将室内空气与在室内换热器101中传输的冷媒进行热交换。例如,室内换热器101在空调器1000的制冷模式下作为蒸发器进行工作,使得经由室外换热器202散热后的冷媒通过室内换热器101吸收室内空气的热量而蒸发。室内换热器101在空调器1000的制热模式下作为冷凝器进行工作,使得经由室外换热器202吸热后的冷媒通过室内换热器101将热量散发至室内空气而冷凝。The indoor heat exchanger 101 is configured to perform heat exchange between indoor air and the refrigerant transmitted in the indoor heat exchanger 101. For example, the indoor heat exchanger 101 works as an evaporator in the cooling mode of the air conditioner 1000, so that the refrigerant after heat dissipation through the outdoor heat exchanger 202 absorbs the heat of the indoor air through the indoor heat exchanger 101 and evaporates. The indoor heat exchanger 101 works as a condenser in the heating mode of the air conditioner 1000, so that the refrigerant after heat absorption through the outdoor heat exchanger 202 dissipates the heat to the indoor air through the indoor heat exchanger 101 and condenses.
在一些实施例中,如图3所示,室内换热器101包括第二换热管1010。第二换热管1010连接于冷媒回路30内,冷媒可以在第二换热管1010中流动以与室内空气进行热量交换。In some embodiments, as shown in Fig. 3, the indoor heat exchanger 101 includes a second heat exchange tube 1010. The second heat exchange tube 1010 is connected to the refrigerant circuit 30, and the refrigerant can flow in the second heat exchange tube 1010 to exchange heat with the indoor air.
室内风扇102被配置为将室内空气经室内机10的室内进风口吸入至室内机10内,并将与室内换热器101换热后的室内空气经由室内机10的室内出风口送出。室内风扇102为室内空气的流动提供动力,以使室内空气流经室内换热器101与室内换热器101中的冷媒进行热量交换。室内风扇102具有转速可变换的第二马达1020,第二马达1020驱动室内风扇102的扇叶旋转。The indoor fan 102 is configured to suck indoor air into the indoor unit 10 through the indoor air inlet of the indoor unit 10, and send the indoor air after heat exchange with the indoor heat exchanger 101 out through the indoor air outlet of the indoor unit 10. The indoor fan 102 provides power for the flow of indoor air, so that the indoor air flows through the indoor heat exchanger 101 and exchanges heat with the refrigerant in the indoor heat exchanger 101. The indoor fan 102 has a second motor 1020 with a variable speed, and the second motor 1020 drives the blades of the indoor fan 102 to rotate.
在一些实施例中,空调器1000还包括四通阀。该四通阀连接于冷媒回路30内,且被配置为切换冷媒在冷媒回路30中的流向以使空调器1000执行制冷模式或制热模式。In some embodiments, the air conditioner 1000 further includes a four-way valve connected to the refrigerant circuit 30 and configured to switch the flow direction of the refrigerant in the refrigerant circuit 30 so that the air conditioner 1000 performs a cooling mode or a heating mode.
在一些实施例中,如图2所示,空调器1000还包括储液器205,储液器205与压缩机201的吸入口相连通,以将待流入压缩机201的冷媒分离成气态冷媒和液态冷媒,并将气态冷媒输送至压缩机201的吸入口。In some embodiments, as shown in Figure 2, the air conditioner 1000 also includes a liquid reservoir 205, which is connected to the suction port of the compressor 201 to separate the refrigerant to flow into the compressor 201 into gaseous refrigerant and liquid refrigerant, and transport the gaseous refrigerant to the suction port of the compressor 201.
在一些实施例中,如图2和图4所示,空调器1000还包括控制器50。控制器50被配置为控制空调器1000中的各个部件工作,以实现空调器1000的各个预定功能。例如,控制器50控制压缩机201的运行频率、膨胀阀204的开度、室外风扇203的转速和室内风扇102的转速。并且,控制器50与压缩机201、膨胀阀204、室外风扇203和室内风扇102通过数据线相连以传输通信信息。In some embodiments, as shown in FIG. 2 and FIG. 4 , the air conditioner 1000 further includes a controller 50. The controller 50 is configured to control the operation of various components in the air conditioner 1000 to achieve various predetermined functions of the air conditioner 1000. For example, the controller 50 controls the operating frequency of the compressor 201, the opening of the expansion valve 204, the rotation speed of the outdoor fan 203, and the rotation speed of the indoor fan 102. In addition, the controller 50 is connected to the compressor 201, the expansion valve 204, the outdoor fan 203, and the indoor fan 102 through a data line to transmit communication information.
如图2和图4所示,控制器50包括第一子控制器501和第二子控制器502。第一子控制器501位于室外机20内,第二子控制器502位于室内机10内。并且,第一子控制器501与第二子控制器502通过信号线连接,且可以相互发送或接收信号。As shown in Fig. 2 and Fig. 4, the controller 50 includes a first sub-controller 501 and a second sub-controller 502. The first sub-controller 501 is located in the outdoor unit 20, and the second sub-controller 502 is located in the indoor unit 10. In addition, the first sub-controller 501 and the second sub-controller 502 are connected through a signal line and can send or receive signals to each other.
第一子控制器501可以控制压缩机201、膨胀阀204及室外风扇203等。当然,在一些实施例中,室外机20还包括室外机温度传感器71、室外换热器温度传感器72、排出管温度传感器73以及吸入管温度传感器74等。第一子控制器501分别与该多个温耦接,以获取室外机20所在的室外环境的温度、室外换热器202的工作温度、室外机20的排出管和吸入管的温度。需要说明的是,室外换热器202的工作温度可以指流动在室外换热器202内的冷媒的温度,室外机20的排出管和吸入管可以指冷媒回路30位于室外机20中的部分管路。The first sub-controller 501 can control the compressor 201, the expansion valve 204 and the outdoor fan 203. Of course, in some embodiments, the outdoor unit 20 also includes an outdoor unit temperature sensor 71, an outdoor heat exchanger temperature sensor 72, a discharge pipe temperature sensor 73 and a suction pipe temperature sensor 74. The first sub-controller 501 is respectively coupled with the multiple temperature sensors to obtain the temperature of the outdoor environment where the outdoor unit 20 is located, the operating temperature of the outdoor heat exchanger 202, and the temperature of the discharge pipe and the suction pipe of the outdoor unit 20. It should be noted that the operating temperature of the outdoor heat exchanger 202 may refer to the temperature of the refrigerant flowing in the outdoor heat exchanger 202, and the discharge pipe and the suction pipe of the outdoor unit 20 may refer to the part of the pipeline of the refrigerant circuit 30 located in the outdoor unit 20.
第二子控制器502可以控制室内风扇102。当然,在一些实施例中,室内机10也可以包括室内机温度传感器81、室内换热器温度传感器82、水平挡板驱动马达83以及垂直挡板驱动 马达84。第二子控制器502分别与室内机温度传感器81、室内换热器温度传感器82、水平挡板驱动马达83以及垂直挡板驱动马达84耦接,以获取室内机10所在的室内环境的温度、室内换热器101的工作温度,以及控制室内机10中的水平挡板85和垂直挡板86的工作状态。水平挡板85和垂直挡板86可参见图3,水平挡板85和垂直挡板86用于引导室内机10的换热气流。需要说明的是,室内换热器101的工作温度可以指流动在室内换热器101内的冷媒的温度。The second sub-controller 502 can control the indoor fan 102. Of course, in some embodiments, the indoor unit 10 may also include an indoor unit temperature sensor 81, an indoor heat exchanger temperature sensor 82, a horizontal baffle drive motor 83, and a vertical baffle drive motor 84. The second sub-controller 502 is coupled to the indoor unit temperature sensor 81, the indoor heat exchanger temperature sensor 82, the horizontal baffle drive motor 83, and the vertical baffle drive motor 84, respectively, to obtain the temperature of the indoor environment where the indoor unit 10 is located, the operating temperature of the indoor heat exchanger 101, and control the working state of the horizontal baffle 85 and the vertical baffle 86 in the indoor unit 10. The horizontal baffle 85 and the vertical baffle 86 can be seen in Figure 3. The horizontal baffle 85 and the vertical baffle 86 are used to guide the heat exchange airflow of the indoor unit 10. It should be noted that the operating temperature of the indoor heat exchanger 101 may refer to the temperature of the refrigerant flowing in the indoor heat exchanger 101.
控制器50包括处理器。处理器可以包括中央处理器(central processing unit,CPU)、微处理器(microprocessor)、专用集成电路(application specific integrated circuit,ASIC),并且可以被配置为当处理器执行存储在耦合到控制器50的非暂态计算机可读介质中的程序时,执行控制器50中描述的相应操作。The controller 50 includes a processor. The processor may include a central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC), and may be configured to perform the corresponding operations described in the controller 50 when the processor executes a program stored in a non-transitory computer readable medium coupled to the controller 50.
需要说明的是,如图1所示,空调器1000还包括遥控器60,该遥控器60被配置为与控制器50进行通信,以实现用户与空调器1000之间的交互。遥控器60可以使用红外、蓝牙、wifi或其他通信方式。It should be noted that, as shown in Fig. 1, the air conditioner 1000 further includes a remote controller 60, which is configured to communicate with the controller 50 to achieve interaction between the user and the air conditioner 1000. The remote controller 60 may use infrared, Bluetooth, wifi or other communication methods.
由于单转子压缩机的偏心结构,压缩机的力矩会有周期性变化。尤其在压缩机低频(即低转速)运行的情况下,转子的转动惯量较小压缩机的力矩波动较大,导致压缩机振动影响其正常运行。因此,对于单转子压缩机,通常采用比例谐振控制器(proportional resonant controller,PR控制器)的转速波动抑制方法、模拟负载曲线的电流前馈补偿方法或通过傅里叶变换对速度波形提取基波信息的补偿方法来抑制压缩机的低频振动。Due to the eccentric structure of the single-rotor compressor, the torque of the compressor will change periodically. Especially when the compressor is running at low frequency (i.e., low speed), the rotational inertia of the rotor is small and the torque fluctuation of the compressor is large, causing the vibration of the compressor to affect its normal operation. Therefore, for single-rotor compressors, the speed fluctuation suppression method of the proportional resonant controller (PR controller), the current feedforward compensation method of simulating the load curve, or the compensation method of extracting the fundamental information of the speed waveform through Fourier transform is usually used to suppress the low-frequency vibration of the compressor.
然而,比例谐振控制器的转速波动抑制方法仅在压缩机稳定运行时可以有效地抑制低频振动,当压缩机的运行状态突然变化时,负载转矩的突变导致较大的转速波动,比例谐振控制器无法有效地抑制低频振动。However, the speed fluctuation suppression method of the proportional resonant controller can effectively suppress low-frequency vibration only when the compressor is running stably. When the operating state of the compressor changes suddenly, the sudden change of load torque leads to large speed fluctuations, and the proportional resonant controller cannot effectively suppress low-frequency vibrations.
模拟负载曲线的电流前馈补偿方法则需要预先设定几种负载曲线,并通过查表法获得不同负载需要补偿的电流值,但由于预设的补偿曲线数量有限,该方法的自适应能力较差,无法准确识别转速波动以对压缩机进行准确的电流补偿。The current feedforward compensation method of the simulated load curve requires pre-setting several load curves and obtaining the current values that need to be compensated for different loads through a table lookup method. However, due to the limited number of preset compensation curves, the method has poor adaptability and cannot accurately identify speed fluctuations to accurately compensate the compressor for current.
对于通过傅里叶变换对速度波形提取基波信息的补偿方法,由于在获取补偿值的过程中该方法未设置比例积分控制器(proportional integral controller,PI控制器),尤其是没有积分环节,该补偿方法无法完全消除过渡过程中的残余偏差(也称为静差,如被控变量的稳定值与给定值之差),容易造成速度纹波的振荡,振动抑制效果较差。Regarding the compensation method of extracting fundamental wave information from the velocity waveform through Fourier transform, since this method does not set a proportional integral controller (PI controller) in the process of obtaining the compensation value, especially there is no integral link, this compensation method cannot completely eliminate the residual deviation (also called static error, such as the difference between the stable value of the controlled variable and the given value) in the transition process, which easily causes oscillation of the velocity ripple and poor vibration suppression effect.
为了解决上述问题,本公开的一些实施例提供上述空调器1000。该空调器1000中的控制器50根据压缩机201的各项参数进行比例积分运算以获取对压缩机201进行补偿的参数,以对低频运行的压缩机201进行振动抑制。To solve the above problems, some embodiments of the present disclosure provide the above air conditioner 1000. The controller 50 in the air conditioner 1000 performs proportional integral operation according to various parameters of the compressor 201 to obtain parameters for compensating the compressor 201, so as to suppress vibration of the compressor 201 running at a low frequency.
在一些实施例中,如图5所示,控制器50被配置执行步骤11至步骤15。In some embodiments, as shown in FIG. 5 , the controller 50 is configured to perform steps 11 to 15 .
在步骤11中,获取压缩机201的第一转速值ωr_ref和第二转速值ωr(如图6所示),以及初始相位补偿角度 In step 11, the first speed value ω r_ref and the second speed value ω r of the compressor 201 (as shown in FIG. 6 ) and the initial phase compensation angle are obtained.
第一转速值ωr_ref为预先设定的压缩机201的转速值(目标转速)。第二转速值ωr为压缩机201当前的转速值(实际转速)。初始相位补偿角度为补偿第二转速值ωr与第一转速值ωr_ref之间的相位差的初始值。在一些实施例中,该初始相位补偿角度可以为预设的固定值,或者也可以为变量,本公开对此不作限制。The first speed value ω r_ref is a preset speed value (target speed) of the compressor 201. The second speed value ω r is a current speed value (actual speed) of the compressor 201. Initial phase compensation angle is the initial value for compensating the phase difference between the second speed value ω r and the first speed value ω r_ref . In some embodiments, the initial phase compensation angle It can be a preset fixed value, or it can be a variable, and the present disclosure does not limit this.
在步骤12中,根据第一转速值ωr_ref和第二转速值ωr获得压缩机201的速度纹波。In step 12, the speed ripple of the compressor 201 is obtained according to the first speed value ω r_ref and the second speed value ω r .
所述速度纹波是指在运动控制系统中,在一定时间内需求的目标速度与实际速度之间的偏差。例如,所述速度纹波等于第二转速值ωr与第一转速值ωr_ref之差(即,速度纹波=第二转速值ωr-第一转速值ωr_ref)。The speed ripple refers to the deviation between the target speed required within a certain period of time and the actual speed in the motion control system. For example, the speed ripple is equal to the difference between the second speed value ω r and the first speed value ω r_ref (ie, speed ripple = second speed value ω r - first speed value ω r_ref ).
控制器50可以通过获取的速度纹波获取压缩机201的振动信息,以便于判断压缩机201是否处于振动状态。这样,在压缩机201振动较大时,控制器50可以通过振动抑制算法抑制压缩机201的振动,从而减小室外机20的振动和噪声,提高空调器1000的运行效果。The controller 50 can obtain the vibration information of the compressor 201 through the acquired speed ripple, so as to judge whether the compressor 201 is in a vibrating state. In this way, when the vibration of the compressor 201 is large, the controller 50 can suppress the vibration of the compressor 201 through the vibration suppression algorithm, thereby reducing the vibration and noise of the outdoor unit 20 and improving the operation effect of the air conditioner 1000.
在步骤13中,根据压缩机201的速度纹波获取速度纹波基波的第一正弦分量和第一余弦 分量。In step 13, the first sine component and the first cosine component of the speed ripple fundamental wave are obtained according to the speed ripple of the compressor 201.
对于单转子压缩机,其负载转矩呈周期性变化。任意周期性变化的负载转矩可以用傅里叶级数表示。该周期性变化的负载转矩的傅里叶展开式如下。 For a single-rotor compressor, its load torque varies periodically. Any periodically varying load torque can be expressed by a Fourier series. The Fourier expansion of the periodically varying load torque is as follows.
这里,Tl(t)为负载转矩;CT0为负载转矩的直流分量;θ(t)为机械角度;ATn、BTn(n=1,2,3,...,)分别为负载转矩的n次谐波的正弦成分与余弦成分;p为极对数,即压缩机201中的成对磁极的个数。Here, T l (t) is the load torque; C T0 is the DC component of the load torque; θ(t) is the mechanical angle; A Tn , B Tn (n=1,2,3,...,) are the sine component and cosine component of the nth harmonic of the load torque respectively; p is the pole pair number, that is, the number of paired magnetic poles in the compressor 201.
在该周期性变化的负载转矩的作用下,压缩机201的第二转速值ωr也呈周期性变化,从而压缩机201的速度纹波的傅里叶展开式如下。 Under the effect of the periodically changing load torque, the second speed value ω r of the compressor 201 also changes periodically, so that the Fourier expansion of the speed ripple of the compressor 201 is as follows.
这里,Δω(t)为速度纹波的傅里叶展开式,Cω0为第二转速值ωr的直流分量,为速度纹波的n次谐波的正弦分量,为速度纹波的n次谐波的余弦分量。当n为1时,为速度纹波的一次谐波(即基波)的正弦分量,为速度纹波的一次谐波的余弦分量。当n为2时,为速度纹波的二次谐波的正弦分量,为速度纹波的二次谐波的余弦分量。Here, Δω(t) is the Fourier expansion of the speed ripple, C ω0 is the DC component of the second speed value ω r , is the sinusoidal component of the nth harmonic of the velocity ripple, is the cosine component of the nth harmonic of the velocity ripple. When n is 1, is the sinusoidal component of the first harmonic (i.e. fundamental wave) of the velocity ripple, is the cosine component of the first harmonic of the velocity ripple. When n is 2, is the sinusoidal component of the second harmonic of the velocity ripple, is the cosine component of the second harmonic of the velocity ripple.
对于单转子压缩机,由于速度纹波的基波在各个谐波中起主导作用,因此,在抑制压缩机201振动的过程中各个频率段可采用速度纹波的基波进行补偿。这样,速度纹波的傅里叶展开式(如,公式(2))可简化为如下公式。 Δω(t)=Aωn×sin(θ(t))+Bωn×cos(θ(t)); 公式(3)For a single-rotor compressor, since the fundamental wave of the speed ripple plays a leading role in each harmonic, the fundamental wave of the speed ripple can be used to compensate for each frequency band in the process of suppressing the vibration of the compressor 201. In this way, the Fourier expansion of the speed ripple (such as formula (2)) can be simplified to the following formula. Δω(t) = A ωn × sin(θ(t)) + B ωn × cos(θ(t)); Formula (3)
在公式(3)中,当n=1时,Aω1×sin(θ(t))为第一正弦分量;Bω1×cos(θ(t))为第一余弦分量。In formula (3), when n=1, A ω1 ×sin(θ(t)) is the first sine component; B ω1 ×cos(θ(t)) is the first cosine component.
在步骤14中,根据所述第一正弦分量、所述第一余弦分量和预设振荡幅值进行比例积分(proportional integral,PI)运算,以获取幅度控制量。In step 14, a proportional integral (PI) operation is performed according to the first sine component, the first cosine component and a preset oscillation amplitude to obtain an amplitude control amount.
所述预设振荡幅值可以为根据压缩机201在低频运行时的振动情况预先设定的速度纹波的目标幅值。在该预设振荡幅值下,压缩机201在低频运行时的振动较小。这样,通过调节速度纹波的基波在正弦方向和余弦方向上的幅值,使该幅值接近所述预设振荡幅值,可以降低速度纹波的振荡幅度。The preset oscillation amplitude may be a target amplitude of the speed ripple that is preset according to the vibration condition of the compressor 201 when it is running at a low frequency. Under the preset oscillation amplitude, the vibration of the compressor 201 when it is running at a low frequency is small. In this way, by adjusting the amplitude of the fundamental wave of the speed ripple in the sine direction and the cosine direction so that the amplitude is close to the preset oscillation amplitude, the oscillation amplitude of the speed ripple can be reduced.
在一些实施例中,所述预设振荡幅值为接近于零的数值,以降低速度纹波的振荡幅度。In some embodiments, the preset oscillation amplitude is a value close to zero to reduce the oscillation amplitude of the speed ripple.
在另一些实施例中,所述预设振荡幅值也可以等于0。由于速度纹波基波的第一正弦分量和第一余弦分量的幅值等于0时,压缩机201处于理想的无振动状态,因此,通过将所述预设振荡幅值设置为0,可以控制所述第一正弦分量和所述第一余弦分量的幅值接近于0,从而在最大程度上抑制压缩机201的振动,以使压缩机201达到理想的无振动状态。In other embodiments, the preset oscillation amplitude may also be equal to 0. Since the compressor 201 is in an ideal vibration-free state when the amplitudes of the first sine component and the first cosine component of the speed ripple fundamental wave are equal to 0, the amplitudes of the first sine component and the first cosine component may be controlled to be close to 0 by setting the preset oscillation amplitude to 0, thereby suppressing the vibration of the compressor 201 to the greatest extent, so that the compressor 201 reaches an ideal vibration-free state.
所述PI运算为在闭环控制下,根据给定值和实际输出值之间的偏差,将该偏差按比例和积分通过线性组合成控制量,以对被控对象进行控制的算法。The PI operation is an algorithm for controlling a controlled object by linearly combining the deviation between a given value and an actual output value in proportion and integration under closed-loop control.
在此情况下,如图7所示,在对速度纹波作傅里叶变换以提取速度纹波的基波的第一正弦分量和第一余弦分量后,控制器50进行PI运算。控制器50采用PI运算对速度纹波的基波的第一正弦分量和第一余弦分量的幅值进行调节,以消除静差,使得速度纹波的幅值接近于所述预设振荡幅值,从而降低速度纹波的基波在正弦方向和余弦方向上的幅值,进而有效减小速度纹波的振荡幅度,提高对压缩机201的振动抑制效果。In this case, as shown in Fig. 7, after Fourier transforming the speed ripple to extract the first sine component and the first cosine component of the fundamental wave of the speed ripple, the controller 50 performs PI operation. The controller 50 uses PI operation to adjust the amplitude of the first sine component and the first cosine component of the fundamental wave of the speed ripple to eliminate static error, so that the amplitude of the speed ripple is close to the preset oscillation amplitude, thereby reducing the amplitude of the fundamental wave of the speed ripple in the sine direction and the cosine direction, thereby effectively reducing the oscillation amplitude of the speed ripple and improving the vibration suppression effect on the compressor 201.
在步骤15中,根据所述第一正弦分量、所述第一余弦分量、所述幅度控制量以及所述初始相位补偿角度确定Q轴的第一电流补偿值Iq_comp,以控制压缩机201,完成对压缩机201的本次振动抑制。需要说明的是,Q轴(quadrature axis)也称为交轴,交轴垂直于压缩机201 转子的磁场方向。In step 15, according to the first sine component, the first cosine component, the amplitude control amount and the initial phase compensation angle The first current compensation value Iq_comp of the Q axis is determined to control the compressor 201 and complete the vibration suppression of the compressor 201. It should be noted that the Q axis (quadrature axis) is also called the quadrature axis, which is perpendicular to the magnetic field direction of the rotor of the compressor 201.
在控制器50的此次振动抑制的过程中,控制器50根据所述幅度控制量确定Q轴的第一电流补偿值Iq_comp的正弦分量和余弦分量的幅值,并根据所述第一正弦分量、所述第一余弦分量和所述初始相位补偿角度计算Q轴的第一电流补偿值Iq_comp。During the vibration suppression process of the controller 50, the controller 50 determines the amplitudes of the sine component and the cosine component of the first current compensation value I q_comp of the Q axis according to the amplitude control amount, and determines the amplitudes of the sine component and the cosine component of the first current compensation value I q_comp of the Q axis according to the first sine component, the first cosine component and the initial phase compensation angle A first current compensation value I q — comp of the Q axis is calculated.
之后,如图6所示,控制器50将获得的Q轴的第一电流补偿值Iq_comp与速度环输出的控制量(如后文描述的速度环的直接输出的控制量Iq)之和作为Q轴的第一电流值Iq_ref,并根据Q轴的第一电流值Iq_ref和Q轴的第二电流值Iq_Fbk通过PI运算获得Q轴的电流控制值。同时,控制器50根据第一母线电压值Vbus_ref和第二母线电压值Vbus通过PI运算获得D轴的第一电流值Id_ref,并根据D轴的第一电流值Id_ref和D轴的第二电流值Id_Fbk通过PI运算获得D轴的电流控制值。这样,通过Q轴的所述电流控制值和D轴的所述电流控制值,控制器50可以控制压缩机201,从而完成对压缩机201的本次振动抑制。Afterwards, as shown in FIG6 , the controller 50 uses the sum of the obtained first current compensation value I q_comp of the Q axis and the control amount output by the speed loop (such as the control amount I q directly output by the speed loop described later) as the first current value I q_ref of the Q axis, and obtains the current control value of the Q axis through PI operation according to the first current value I q_ref of the Q axis and the second current value I q_Fbk of the Q axis. At the same time, the controller 50 obtains the first current value I d_ref of the D axis through PI operation according to the first bus voltage value V bus_ref and the second bus voltage value V bus , and obtains the current control value of the D axis through PI operation according to the first current value I d_ref of the D axis and the second current value I d_Fbk of the D axis. In this way, through the current control value of the Q axis and the current control value of the D axis, the controller 50 can control the compressor 201, thereby completing the current vibration suppression of the compressor 201.
需要说明的是,D轴也称为直轴(direct-axis),直轴平行于转子的磁场方向。Q轴的第二电流值Iq_Fbk为Q轴的当前的电流值(如,Q轴的实际电流值)。第一母线电压值Vbus_ref为预先设定的压缩机201的电压值(如,压缩机201的目标电压值)。第二母线电压值Vbus为压缩机201当前的电压值(如,压缩机201的实际电压值)。D轴的第二电流值Id_Fbk为D轴的当前的电流值(如D轴的实际电流值)。所述速度环是指工控领域中对伺服电机进行运动控制的一种技术,速度环用于控制电机(压缩机201的电机)的旋转速度。It should be noted that the D-axis is also called the direct-axis, which is parallel to the magnetic field direction of the rotor. The second current value I q_Fbk of the Q-axis is the current current value of the Q-axis (e.g., the actual current value of the Q-axis). The first bus voltage value V bus_ref is a preset voltage value of the compressor 201 (e.g., the target voltage value of the compressor 201). The second bus voltage value V bus is the current voltage value of the compressor 201 (e.g., the actual voltage value of the compressor 201). The second current value I d_Fbk of the D-axis is the current current value of the D-axis (e.g., the actual current value of the D-axis). The speed loop refers to a technology for motion control of servo motors in the field of industrial control, and the speed loop is used to control the rotation speed of the motor (the motor of the compressor 201).
在本公开的一些实施例的空调器1000中,通过在获取速度纹波的基波的第一正弦分量和第一余弦分量后采用PI运算,并以所述预设振荡幅值为目标降低速度纹波的基波在正弦和余弦方向上的幅值,可以有效地减小速度纹波的振荡幅度,提高对压缩机201的振动抑制效果。In the air conditioner 1000 of some embodiments of the present disclosure, by adopting PI operation after obtaining the first sine component and the first cosine component of the fundamental wave of the speed ripple, and reducing the amplitude of the fundamental wave of the speed ripple in the sine and cosine directions with the preset oscillation amplitude as the target, the oscillation amplitude of the speed ripple can be effectively reduced, and the vibration suppression effect on the compressor 201 can be improved.
在一些实施例中,如图8所示,在执行步骤11之前,控制器50被配置为执行步骤110。In some embodiments, as shown in FIG. 8 , before executing step 11 , the controller 50 is configured to execute step 110 .
在步骤110中,判断压缩机201的当前运行频率是否小于截止频率。若是,控制器50执行步骤11;若否,控制器50继续判断压缩机201的当前运行频率是否小于截止频率。In step 110, it is determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency. If so, the controller 50 executes step 11; if not, the controller 50 continues to determine whether the current operating frequency of the compressor 201 is less than the cut-off frequency.
在上述步骤的执行过程中,控制器50判断压缩机201的当前运行频率是否小于截止频率。若压缩机201的当前运行频率小于截止频率,则压缩机201的振动较大,需要对压缩机201进行振动抑制,控制器50执行确定Q轴的第一电流补偿值Iq_comp的步骤,以实现对压缩机201的振动抑制。若压缩机201的当前运行频率大于截止频率,则压缩机201的振动较小无需对压缩机201进行振动抑制,从而无需对压缩机201进行振动抑制。During the execution of the above steps, the controller 50 determines whether the current operating frequency of the compressor 201 is less than the cut-off frequency. If the current operating frequency of the compressor 201 is less than the cut-off frequency, the vibration of the compressor 201 is large, and the compressor 201 needs to be subjected to vibration suppression. The controller 50 executes the step of determining the first current compensation value I q_comp of the Q axis to achieve vibration suppression of the compressor 201. If the current operating frequency of the compressor 201 is greater than the cut-off frequency, the vibration of the compressor 201 is small and there is no need to suppress the vibration of the compressor 201, and thus there is no need to suppress the vibration of the compressor 201.
在一些实施例中,截止频率可以为预先设定的频率(如50Hz)。In some embodiments, the cut-off frequency may be a preset frequency (eg, 50 Hz).
需要说明的是,控制器50可以通过设置在压缩机201运行电路中的电压传感器或电流传感器获得压缩机201的电流曲线或电压曲线,然后通过该电流曲线或电压曲线确定压缩机201的当前运行频率。It should be noted that the controller 50 can obtain the current curve or voltage curve of the compressor 201 through a voltage sensor or a current sensor set in the operating circuit of the compressor 201, and then determine the current operating frequency of the compressor 201 through the current curve or voltage curve.
在一些实施例中,如图9所示,控制器50所执行的步骤14包括步骤141至步骤145。In some embodiments, as shown in FIG. 9 , step 14 performed by the controller 50 includes steps 141 to 145 .
在步骤141中,根据所述第一正弦分量确定速度纹波的正弦幅值 In step 141, the sinusoidal amplitude of the velocity ripple is determined according to the first sinusoidal component.
在步骤142中,根据正弦幅值与所述预设振荡幅值的偏差对正弦幅值进行PI运算,以获得正弦幅度控制量AK。In step 142, according to the sine amplitude Deviation from the preset oscillation amplitude to the sine amplitude Perform PI operation to obtain the sinusoidal amplitude control quantity AK .
如图7所示,在公式(3)的基础上,控制器50通过将速度纹波乘以相同频率和相位的正弦量sinθ(t),可以获得在正弦方向上的一个直流分量与两倍频的交流分量的和,如下文的公式(4)。需要说明的是,所述交流分量是指跟随时间变化的参数,所述直流分量是指不随时间变化的参数。 As shown in FIG7 , based on formula (3), the controller 50 can obtain the sum of a DC component and an AC component of twice the frequency in the sinusoidal direction by multiplying the speed ripple by a sinusoidal quantity sinθ(t) of the same frequency and phase, as shown in formula (4) below. It should be noted that the AC component refers to a parameter that changes with time, and the DC component refers to a parameter that does not change with time.
由上述公式(4)可知,公式(4)中的直流分量为速度纹波的正弦分量的幅值的一半。在此情况下,如图7所示,在对上述公式(4)进行低通滤波处理后控制器50可以获得正弦幅值然后控制器50对正弦幅值进行PI运算以获得正弦幅度控制量AK。例如,正弦幅度控制量这样,通过控制器50对正弦幅值进行PI运算,可以使正弦幅值接近所述预设振荡幅值,从而减小速度纹波 在正弦方向上的振荡幅度,提高对压缩机201的振动抑制效果。所述增益可以指放大倍数,如输出值与输入值之间的比例关系。It can be seen from the above formula (4) that the DC component in formula (4) is half the amplitude of the sinusoidal component of the speed ripple. In this case, as shown in FIG7 , after low-pass filtering the above formula (4), the controller 50 can obtain the sinusoidal amplitude Then the controller 50 adjusts the sine amplitude Perform PI operation to obtain the sinusoidal amplitude control quantity AK . For example, the sinusoidal amplitude control quantity Thus, the sine amplitude is controlled by the controller 50. Performing PI operation can make the sine amplitude The preset oscillation amplitude is approached, thereby reducing the oscillation amplitude of the speed ripple in the sinusoidal direction and improving the vibration suppression effect on the compressor 201. The gain may refer to an amplification factor, such as the proportional relationship between the output value and the input value.
在步骤143中,根据所述第一余弦分量确定速度纹波的余弦幅值 In step 143, the cosine amplitude of the velocity ripple is determined according to the first cosine component.
在步骤144中,根据余弦幅值与所述预设振荡幅值的偏差对余弦幅值进行PI运算,以获取余弦幅度控制量BK。In step 144, according to the cosine amplitude The deviation from the preset oscillation amplitude to the cosine amplitude A PI operation is performed to obtain the cosine amplitude control amount B K .
如图7所示,在公式(3)的基础上,控制器50通过将速度纹波乘以相同频率和相位的余弦量cosθ(t),可以获得在余弦方向上的一个直流分量与两倍频的交流分量的和,如下文的公式(5)。 As shown in FIG. 7 , based on formula (3), the controller 50 can obtain the sum of a DC component in the cosine direction and an AC component of twice the frequency by multiplying the speed ripple by the cosine quantity cosθ(t) of the same frequency and phase, as shown in formula (5) below.
由上述公式(5)可知,公式(5)中的直流分量为速度纹波的余弦分量的幅值的一半。在此情况下,如图7所示,在对上述公式(5)进行低通滤波处理后控制器50可以获得余弦幅值然后控制器50对余弦幅值进行PI运算以获得余弦幅度控制量BK。例如,余弦幅度控制量这样,通过控制器50对余弦幅值进行PI运算,可以使余弦幅值接近所述预设振荡幅值,从而减小速度纹波在余弦方向上的振荡幅度,提高对压缩机201的振动抑制效果。It can be seen from the above formula (5) that the DC component in formula (5) is half the amplitude of the cosine component of the speed ripple. In this case, as shown in FIG7 , after low-pass filtering the above formula (5), the controller 50 can obtain the cosine amplitude: Then the controller 50 adjusts the cosine amplitude Perform PI operation to obtain the cosine amplitude control amount B K . For example, the cosine amplitude control amount Thus, the cosine amplitude is controlled by the controller 50. Performing PI operation can make the cosine amplitude The preset oscillation amplitude is close to the preset oscillation amplitude, thereby reducing the oscillation amplitude of the speed ripple in the cosine direction and improving the vibration suppression effect on the compressor 201.
在步骤145中,控制器50确定正弦幅度控制量AK和余弦幅度控制量BK为所述幅度控制量。In step 145, the controller 50 determines the sine amplitude control amount AK and the cosine amplitude control amount BK as the amplitude control amounts.
控制器50将正弦幅度控制量AK和余弦幅度控制量BK作为幅度控制量,并分别作为Q轴的第一电流补偿值Iq_comp的正弦分量和余弦分量的幅值。Q轴的第一电流补偿值Iq_comp的计算公式如下。 The controller 50 uses the sine amplitude control value Ak and the cosine amplitude control value Bk as amplitude control values, and as the amplitudes of the sine component and the cosine component of the first current compensation value Iq_comp of the Q axis, respectively. The calculation formula of the first current compensation value Iq_comp of the Q axis is as follows.
这里,K1为基波的补偿电流增益。为目标相位补偿角度。目标相位补偿角度的获取方式将在后文描述。Here, K1 is the compensation current gain of the fundamental wave. is the target phase compensation angle. The method of obtaining will be described later.
在一些实施例中,如图10所示,控制器50所执行的步骤15包括步骤151至步骤155。In some embodiments, as shown in FIG. 10 , step 15 performed by the controller 50 includes steps 151 to 155 .
在步骤151中,获取压缩机201的当前运行频率。In step 151 , the current operating frequency of the compressor 201 is obtained.
例如,控制器50可以通过内置于室外机20内的第一子控制器501实时获取压缩机201的当前运行频率,并将当前运行频率通过信号线传送至第一子控制器501的存储器中,控制器50通过存储器储存的数据来获取压缩机201的当前运行频率。For example, the controller 50 can obtain the current operating frequency of the compressor 201 in real time through the first sub-controller 501 built into the outdoor unit 20, and transmit the current operating frequency to the memory of the first sub-controller 501 through a signal line. The controller 50 obtains the current operating frequency of the compressor 201 through the data stored in the memory.
在步骤152中,根据压缩机201的当前运行频率确定角度步进值。In step 152 , the angle step value is determined according to the current operating frequency of the compressor 201 .
所述角度步进值可以为根据压缩机201经实际调试后的结果预先设定的机械角度的变化值。The angle step value may be a change value of the mechanical angle that is preset according to the result of actual debugging of the compressor 201 .
例如,可以预先对压缩机201进行调试,并根据压缩机201的实际调试结果设定多个档位。该多个档位可以指压缩机201的不同运行频率对应不同的角度步进值。例如,在压缩机201的运行频率高于25Hz的情况下,对应的角度步进值为2°;在压缩机201的运行频率低于25Hz的情况下,对应的角度步进值为0.5°,并且,上述运行频率与角度步进值的对应关系存储于控制器50内。这样,控制器50可以根据压缩机201的当前运行频率通过查询预先设定的运行频率与角度步进值的对应关系确定角度步进值。例如,在压缩机201的当前运行频率为30Hz的情况下,控制器50通过查询预先设定的运行频率与角度步进值的对应关系可确定角度步进值为2°。For example, the compressor 201 may be debugged in advance, and a plurality of gears may be set according to the actual debugging result of the compressor 201. The plurality of gears may refer to different angle step values corresponding to different operating frequencies of the compressor 201. For example, when the operating frequency of the compressor 201 is higher than 25 Hz, the corresponding angle step value is 2°; when the operating frequency of the compressor 201 is lower than 25 Hz, the corresponding angle step value is 0.5°, and the correspondence between the operating frequency and the angle step value is stored in the controller 50. In this way, the controller 50 may determine the angle step value according to the current operating frequency of the compressor 201 by querying the correspondence between the preset operating frequency and the angle step value. For example, when the current operating frequency of the compressor 201 is 30 Hz, the controller 50 may determine that the angle step value is 2° by querying the correspondence between the preset operating frequency and the angle step value.
在步骤153中,根据所述角度步进值和初始相位补偿角度计算目标相位补偿角度 In step 153, according to the angle step value and the initial phase compensation angle Calculate the target phase compensation angle
本公开一些实施例中的控制器50根据所述角度步进值和初始相位补偿角度计算目标相位补偿角度以进一步提高对压缩机201的振动抑制效果。在此情况下,补偿第二转速值ωr与第一转速值ωr_ref之间的相位差的目标相位补偿角度是可变化的,可以通过所述角度步进值对初始相位补偿角度进行动态调整获得该目标相位补偿角度这样,可以以目标相位补偿角度作为Q轴的第一电流补偿值Iq_comp的相位,有效地提高对压缩机201的振动抑制 效果。The controller 50 in some embodiments of the present disclosure adjusts the angle step value and the initial phase compensation angle according to the angle step value and the initial phase compensation angle. Calculate the target phase compensation angle To further improve the vibration suppression effect of the compressor 201. In this case, the target phase compensation angle for compensating the phase difference between the second speed value ω r and the first speed value ω r_ref is is variable, and the initial phase compensation angle can be adjusted by the angle step value Dynamically adjust to obtain the target phase compensation angle In this way, the target phase compensation angle can be The phase of the first current compensation value I q_comp of the Q axis effectively improves the vibration suppression effect on the compressor 201.
初始相位补偿角度可以预先设定为0。这样,当调节第二转速值ωr与第一转速值ωr_ref之间的相位差时,控制器50可以在初始相位补偿角度等于0的情况下开始进行动态调节。Initial phase compensation angle It can be preset to 0. In this way, when adjusting the phase difference between the second speed value ω r and the first speed value ω r_ref , the controller 50 can compensate the initial phase angle When it is equal to 0, dynamic adjustment begins.
在步骤154中,根据目标相位补偿角度所述第一正弦分量、所述第一余弦分量、所述正弦幅度控制量AK和余弦幅度控制量BK计算Q轴的第一电流补偿值Iq_comp。In step 154, the target phase compensation angle The first sine component, the first cosine component, the sine amplitude control amount AK and the cosine amplitude control amount KB calculate a first current compensation value Iq_comp of the Q axis.
例如,根据公式(6)计算出Q轴的第一电流补偿值Iq_comp。For example, the first current compensation value I q — comp of the Q axis is calculated according to formula (6).
在步骤155中,根据Q轴的第一电流补偿值Iq_comp控制压缩机201,并将初始相位补偿角度赋值为目标相位补偿角度并返回步骤110。In step 155, the compressor 201 is controlled according to the first current compensation value Iq_comp of the Q axis, and the initial phase compensation angle Assign the target phase compensation angle And return to step 110.
在控制器50根据Q轴的第一电流补偿值Iq_comp控制压缩机201后,控制器50返回之前确定压缩机201是否处于振动抑制的步骤,直至压缩机201的当前运行频率大于截止频率。也就是说,在对压缩机201进行振动抑制时,控制器50按所述角度步进值对初始相位补偿角度进行循环地动态调节,以有效补偿第二转速值ωr与第一转速值ωr_ref之间的相位差,直至压缩机201的当前运行频率大于截止频率时,完成对压缩机201的本次振动抑制。After the controller 50 controls the compressor 201 according to the first current compensation value I q_comp of the Q axis, the controller 50 returns to the previous step of determining whether the compressor 201 is in vibration suppression until the current operating frequency of the compressor 201 is greater than the cut-off frequency. That is, when the vibration suppression is performed on the compressor 201, the controller 50 increases the initial phase compensation angle by the angle step value. The dynamic adjustment is performed cyclically to effectively compensate for the phase difference between the second speed value ω r and the first speed value ω r_ref , until the current operating frequency of the compressor 201 is greater than the cut-off frequency, thereby completing the current vibration suppression of the compressor 201.
在一些实施例中,如图11所示,控制器50所执行的步骤153包括步骤1531至步骤1536。In some embodiments, as shown in FIG. 11 , step 153 executed by the controller 50 includes steps 1531 to 1536 .
在步骤1531中,获取压缩机201的当前运行参数。In step 1531 , the current operating parameters of the compressor 201 are obtained.
所述当前运行参数指的是压缩机201在实际运行状态时的参数。例如,所述当前运行参数为压缩机201的转动圈数或转动角度。The current operating parameter refers to a parameter of the compressor 201 in the actual operating state. For example, the current operating parameter is the number of rotations or the rotation angle of the compressor 201.
在步骤1532中,获取上一运行周期的速度纹波的峰值和当前运行周期的速度纹波的峰值。In step 1532, the peak value of the speed ripple in the previous operation cycle and the peak value of the speed ripple in the current operation cycle are obtained.
所述上一运行周期的速度纹波的峰值可以为在未对初始相位补偿角度进行调整情况下压缩机201在一运行周期内的速度纹波的峰值。当然,在初始相位补偿角度经过多次循环调整的情况下,所述上一运行周期内的速度纹波的峰值为上一次(相对于当前运行周期)对初始相位补偿角度进行调整的一运行周期内的速度纹波的峰值。The peak value of the speed ripple of the previous operation cycle can be The peak value of the speed ripple of the compressor 201 in one operation cycle under adjustment. Of course, at the initial phase compensation angle After multiple cycles of adjustment, the peak value of the speed ripple in the last operating cycle is the initial phase compensation angle of the last time (relative to the current operating cycle). The peak value of the speed ripple within one operating cycle is adjusted.
所述当前运行周期的速度纹波的峰值可以为针对上一运行周期的速度纹波的峰值的情况,对初始相位补偿角度进行调整后的压缩机201在一运行周期内的速度纹波的峰值。The peak value of the speed ripple of the current operation cycle may be the peak value of the speed ripple of the previous operation cycle, and the initial phase compensation angle The peak value of the speed ripple of the compressor 201 in an operation cycle after adjustment.
例如,在第一运行周期内,在根据Q轴的第一电流补偿值Iq_comp控制压缩机201后,控制器50计算并存储压缩机201在所述第一运行周期内的速度纹波的峰值以作为上一运行周期的速度纹波的峰值。此时,在所述第一运行周期内,初始相位补偿角度已经被调节过一次。For example, in the first operation cycle, after the compressor 201 is controlled according to the first current compensation value I q_comp of the Q axis, the controller 50 calculates and stores the peak value of the speed ripple of the compressor 201 in the first operation cycle as the peak value of the speed ripple of the previous operation cycle. At this time, in the first operation cycle, the initial phase compensation angle It has been adjusted once.
然后,在第二运行周期中,在再次对初始相位补偿角度进行调节并获得目标相位补偿角度后,控制器50以调节后获得的目标相位补偿角度计算Q轴的第一电流补偿值Iq_comp,并以该Q轴的第一电流补偿值Iq_comp再次控制压缩机201。此时,控制器50计算并存储压缩机201在所述第二运行周期内的速度纹波的峰值以作为当前运行周期的速度纹波的峰值。并且,控制器50在每次目标相位补偿角度变化后更新上一运行周期的速度纹波的峰值。例如,在调整完目标相位补偿角度后,控制器50将当前运行周期的速度纹波的峰值作为下一次执行步骤1532时的上一运行周期的速度纹波的峰值,以与再次调节初始相位补偿角度后计算的速度纹波的峰值作比较。Then, in the second operation cycle, the initial phase compensation angle is again adjusted. Adjust and obtain the target phase compensation angle After that, the controller 50 uses the target phase compensation angle obtained after adjustment The first current compensation value I q_comp of the Q axis is calculated, and the compressor 201 is controlled again with the first current compensation value I q_comp of the Q axis. At this time, the controller 50 calculates and stores the peak value of the speed ripple of the compressor 201 in the second operation cycle as the peak value of the speed ripple of the current operation cycle. In addition, the controller 50 increases the target phase compensation angle at each time. Update the peak value of the speed ripple of the previous operation cycle after the change. For example, after adjusting the target phase compensation angle After that, the controller 50 uses the peak value of the speed ripple of the current operation cycle as the peak value of the speed ripple of the previous operation cycle when the next step 1532 is executed, so as to adjust the initial phase compensation angle again. The peak value of the velocity ripple calculated later is used for comparison.
在步骤1533中,确定当前运行参数达到预设运行参数。In step 1533, it is determined whether the current operating parameters have reached the preset operating parameters.
所述预设运行参数为预先设定的阈值。The preset operating parameter is a preset threshold value.
由于在对初始相位补偿角度调节后,对压缩机201的振动抑制效果不会立刻反应至压缩机201的下一运行参数上,需等待压缩机201的实际运行状态发生一定变化后再进行判定,因此,通过设定所述预设运行参数,控制器50可以在确定当前运行参数达到所述预设运行参数后再进行后续操作,从而可以准确地判断在调节初始补偿相位角度后压缩机201的振动变化。Since the initial phase compensation angle After adjustment, the vibration suppression effect of the compressor 201 will not be immediately reflected in the next operating parameter of the compressor 201. It is necessary to wait for the actual operating state of the compressor 201 to change to a certain extent before making a judgment. Therefore, by setting the preset operating parameters, the controller 50 can perform subsequent operations after determining that the current operating parameters have reached the preset operating parameters, so as to accurately judge the adjustment of the initial compensation phase angle. The vibration of the rear compressor 201 changes.
在步骤1534中,判断上一运行周期的速度纹波的峰值是否大于当前运行周期的速度纹波的峰值。若是,控制器50执行步骤1535;若否,控制器50执行步骤1536。In step 1534 , it is determined whether the peak value of the speed ripple in the previous operation cycle is greater than the peak value of the speed ripple in the current operation cycle. If so, the controller 50 executes step 1535 ; if not, the controller 50 executes step 1536 .
在步骤1535中,计算所述角度步进值和初始相位补偿角度之和,并将该和值作为目标相位补偿角度 In step 1535, the angle step value and the initial phase compensation angle are calculated. The sum is used as the target phase compensation angle
在步骤1536中,计算初始相位补偿角度和所述角度步进值之差,并将该差值作为目标相位补偿角度 In step 1536, the initial phase compensation angle is calculated and the angle step value, and use the difference as the target phase compensation angle
若控制器50确定上一运行周期的速度纹波峰值大于当前运行周期的速度纹波的峰值,则速度纹波的峰值变小。因此,为继续降低速度纹波的峰值,控制器50计算所述角度步进值和初始相位补偿角度的和值以作为目标相位补偿角度或者,若控制器50确定上一运行周期的速度纹波峰值小于当前运行周期的速度纹波的峰值,则速度纹波的峰值变大。因此,为继续降低速度纹波的峰值,控制器50计算初始相位补偿角度和所述角度步进值和的差值以作为目标相位补偿角度这样,通过比较上一运行周期的速度纹波的峰值与当前运行周期的速度纹波的峰值,可以不断调节初始相位补偿角度以不断地更新速度纹波的峰值,使得速度纹波的振动幅度降低,从而提高对压缩机201的振动抑制效果。If the controller 50 determines that the peak value of the speed ripple in the previous operation cycle is greater than the peak value of the speed ripple in the current operation cycle, the peak value of the speed ripple becomes smaller. Therefore, in order to continue to reduce the peak value of the speed ripple, the controller 50 calculates the angle step value and the initial phase compensation angle The sum of the values is used as the target phase compensation angle Alternatively, if the controller 50 determines that the peak value of the speed ripple in the previous operation cycle is less than the peak value of the speed ripple in the current operation cycle, the peak value of the speed ripple becomes larger. Therefore, in order to continue to reduce the peak value of the speed ripple, the controller 50 calculates the initial phase compensation angle The difference between the angle step value and the target phase compensation angle In this way, by comparing the peak value of the speed ripple in the previous operating cycle with the peak value of the speed ripple in the current operating cycle, the initial phase compensation angle can be continuously adjusted. The peak value of the speed ripple is continuously updated, so that the vibration amplitude of the speed ripple is reduced, thereby improving the vibration suppression effect on the compressor 201.
例如,在控制器50设定初始相位补偿角度等于且压缩机201的当前运行频率为10Hz的情况下,控制器50计算并存储该运行周期内的速度纹波的峰值以作为上一运行周期的速度纹波的峰值,并根据压缩机201的当前运行频率确定对应的角度步进值为0.5°。然后,控制器50计算初始相位补偿角度与角度步进值之和,以获得第一目标相位补偿角度在计算第一目标相位补偿角度后,控制器50计算Q轴的第一电流补偿值Iq_comp以控制压缩机201。在压缩机201的转动圈数(当前运行参数)达到预设转动圈数(预设运行参数)后,控制器50计算该运行周期内的速度纹波的峰值以作为当前运行周期的速度纹波的峰值。之后,控制器50判断速度纹波的峰值是否变小。也就是说,控制器50判断当前运行周期的速度纹波的峰值是否小于上一运行周期的速度纹波的峰值,从而通过比较当前运行周期的速度纹波的峰值与上一运行周期的速度纹波的峰值确定下一次如何调节初始相位补偿角度 For example, the controller 50 sets the initial phase compensation angle equal When the current operating frequency of the compressor 201 is 10 Hz, the controller 50 calculates and stores the peak value of the speed ripple in the operating cycle as the peak value of the speed ripple in the previous operating cycle, and determines the corresponding angle step value to be 0.5° according to the current operating frequency of the compressor 201. Then, the controller 50 calculates the initial phase compensation angle The sum of the angle step value to obtain the first target phase compensation angle In calculating the first target phase compensation angle After that, the controller 50 calculates the first current compensation value I q_comp of the Q axis to control the compressor 201. After the number of revolutions of the compressor 201 (current operating parameter) reaches the preset number of revolutions (preset operating parameter), the controller 50 calculates the peak value of the speed ripple within the operating cycle as the peak value of the speed ripple of the current operating cycle. After that, the controller 50 determines whether the peak value of the speed ripple becomes smaller. In other words, the controller 50 determines whether the peak value of the speed ripple of the current operating cycle is less than the peak value of the speed ripple of the previous operating cycle, thereby determining how to adjust the initial phase compensation angle next time by comparing the peak value of the speed ripple of the current operating cycle with the peak value of the speed ripple of the previous operating cycle.
若确定速度纹波的峰值变小,则控制器50将初始相位补偿角度赋值为第一目标相位补偿角度(即,),并返回之前确定目标相位补偿角度的步骤(如步骤151)。也就是说,若确定速度纹波的峰值变小,控制器50再次根据压缩机201的当前运行频率确定所述角度步进值,并以所述角度步进值(如0.5°)调节初始相位补偿角度例如,控制器50继续增加初始相位补偿角度以获得第二目标相位补偿角度 If it is determined that the peak value of the speed ripple becomes smaller, the controller 50 adjusts the initial phase compensation angle Assign the first target phase compensation angle (Right now, ), and returns the previously determined target phase compensation angle That is, if it is determined that the peak value of the speed ripple becomes smaller, the controller 50 again determines the angle step value according to the current operating frequency of the compressor 201, and adjusts the initial phase compensation angle with the angle step value (such as 0.5°). For example, the controller 50 continues to increase the initial phase compensation angle To obtain the second target phase compensation angle
若确定速度纹波的峰值变大,则控制器50将初始相位补偿角度赋值为第一目标相位补偿角度(即,),并返回之前确定目标相位补偿角度的步骤(如步骤151)。也就是说,若确定速度纹波的峰值变大,控制器50再次根据压缩机201的当前运行频率确定所述角度步进值,并以所述角度步进值(如0.5°)对初始相位补偿角度进行调节。例如,控制器50减小初始相位补偿角度以获得第二目标相位补偿角度 If it is determined that the peak value of the speed ripple becomes larger, the controller 50 will increase the initial phase compensation angle Assign the first target phase compensation angle (Right now, ), and returns the previously determined target phase compensation angle That is, if it is determined that the peak value of the speed ripple becomes larger, the controller 50 again determines the angle step value according to the current operating frequency of the compressor 201, and uses the angle step value (such as 0.5°) to compensate the initial phase angle. For example, the controller 50 reduces the initial phase compensation angle To obtain the second target phase compensation angle
这样,控制器50可以计算Q轴的第一电流补偿值Iq_comp以控制压缩机201。通过循环上述步骤,可以使速度纹波的峰值接近最小值,从而速度纹波的峰值不再减小以趋于稳定值,进而达到对压缩机201的振动抑制效果。In this way, the controller 50 can calculate the first current compensation value Iq_comp of the Q axis to control the compressor 201. By looping the above steps, the peak value of the speed ripple can be close to the minimum value, so that the peak value of the speed ripple no longer decreases to a stable value, thereby achieving the vibration suppression effect on the compressor 201.
在一些实施例中,控制器50被配置为根据正弦幅度控制量AK和余弦幅度控制量BK确定初始相位补偿角度以获取初始相位补偿角度 In some embodiments, the controller 50 is configured to determine the initial phase compensation angle according to the sine amplitude control amount AK and the cosine amplitude control amount BK. To obtain the initial phase compensation angle
例如,控制器50可以根据以下公式计算初始相位补偿角度 For example, the controller 50 can calculate the initial phase compensation angle according to the following formula:
这里,AK为正弦幅度控制量,BK为余弦幅度控制量。Here, A K is the sine amplitude control amount, and B K is the cosine amplitude control amount.
或者,控制器50被配置为记录本次振动抑制完成后最后的目标相位补偿角度将初始相位补偿角度赋值为该最后的目标相位补偿角度以作为下次振动抑制时的初始相位补偿角度 Alternatively, the controller 50 is configured to record the final target phase compensation angle after the vibration suppression is completed. The initial phase compensation angle Assign the final target phase compensation angle As the initial phase compensation angle for the next vibration suppression
该最后的目标相位补偿角度为在对目标相位补偿角度进行动态循环调节,直至压缩机201的当前运行频率大于截止频率时,最后一次调节获得的目标相位补偿角度也就是说,控制器50在每次振动抑制完成后,将存储此次振动抑制中最后的目标相位补偿角度以在下一次振动抑制时使用该最后的目标相位补偿角度从而提高对压缩机201的振动抑制效率。 The final target phase compensation angle The target phase compensation angle Dynamic cycle adjustment is performed until the current operating frequency of the compressor 201 is greater than the cut-off frequency, and the target phase compensation angle obtained by the last adjustment is That is, after each vibration suppression is completed, the controller 50 stores the last target phase compensation angle in the vibration suppression. The last target phase compensation angle is used in the next vibration suppression. This improves the vibration suppression efficiency of the compressor 201.
例如,在对目标相位补偿角度进行多次动态循环调节后,控制器50根据所述角度步进值和初始相位补偿角度计算目标相位补偿角度并以该目标相位补偿角度计算Q轴的第一电流补偿值Iq_comp以控制压缩机201。此时,若压缩机201的当前运行频率大于截止频率,则本次振动抑制完成,控制器50记录本次振动抑制完成后最后的目标相位补偿角度以作为下一次振动抑制时的初始相位补偿角度的初始值。For example, when compensating the target phase angle After multiple dynamic cycle adjustments, the controller 50 adjusts the angle according to the angle step value and the initial phase compensation angle. Calculate the target phase compensation angle And the target phase compensation angle The first current compensation value I q_comp of the Q axis is calculated to control the compressor 201. At this time, if the current operating frequency of the compressor 201 is greater than the cut-off frequency, the vibration suppression is completed, and the controller 50 records the final target phase compensation angle after the vibration suppression is completed. As the initial phase compensation angle for the next vibration suppression The initial value of .
然后,当再次对压缩机201进行振动抑制时,控制器50获取第一子控制器501中存储器储存的上一次振动抑制完成后最后的初始相位补偿角度并将本次振动抑制的初始相位补偿角度赋值为上一次振动抑制完成后最后的初始相位补偿角度也就是说,本次振动抑制的初始相位补偿角度等于上一次振动抑制中的目标相位补偿角度这样,控制器50以该初始相位补偿角度作为初始值进行动态调节,提高了对压缩机201的振动抑制效率。Then, when the vibration suppression is performed on the compressor 201 again, the controller 50 obtains the last initial phase compensation angle stored in the memory of the first sub-controller 501 after the last vibration suppression is completed. And the initial phase compensation angle of this vibration suppression Assigned to the final initial phase compensation angle after the last vibration suppression was completed That is to say, the initial phase compensation angle of this vibration suppression is Equal to the target phase compensation angle in the previous vibration suppression Thus, the controller 50 uses the initial phase compensation angle Dynamic adjustment is performed as an initial value to improve the vibration suppression efficiency of the compressor 201.
在对压缩机201进行振动抑制过程中,由于当压缩机201工作在某些频率点或频率范围时,导致压缩机201的振动较大的因素并非完全是基波成分,二次谐波成分也起到了较大的作用。因此,对于仅通过对基波成分进行补偿来抑制压缩机201的低频振动的方式,其振动抑制效果不佳。为此,本公开一些实施例在对基波成分进行补偿的基础上,对于受二次谐波影响较大的单一频率点或频率范围增加了二次谐波的补偿。In the process of suppressing the vibration of the compressor 201, when the compressor 201 operates at certain frequency points or frequency ranges, the factor causing the larger vibration of the compressor 201 is not entirely the fundamental wave component, and the second harmonic component also plays a greater role. Therefore, the vibration suppression effect of the method of suppressing the low-frequency vibration of the compressor 201 by only compensating the fundamental wave component is not good. For this reason, some embodiments of the present disclosure, on the basis of compensating the fundamental wave component, add compensation for the second harmonic for a single frequency point or frequency range that is greatly affected by the second harmonic.
在一些实施例中,如图12所示,控制器50还被配置为执行步骤16至步骤18。In some embodiments, as shown in FIG. 12 , the controller 50 is further configured to perform steps 16 to 18 .
在步骤16中,根据压缩机201的速度纹波获取速度纹波的二次谐波的第二正弦分量和第二余弦分量。In step 16 , a second sine component and a second cosine component of the second harmonic of the speed ripple are obtained according to the speed ripple of the compressor 201 .
例如,根据速度纹波的傅里叶展开式(如公式(3)),速度纹波的二次谐波的公式如下。 Δω(t)=Aω2×sin(2θ(t))+Bω2×cos(2θ(t)); 公式(8)For example, according to the Fourier expansion of the velocity ripple (such as formula (3)), the formula of the second harmonic of the velocity ripple is as follows: Δω(t) = A ω2 × sin(2θ(t)) + B ω2 × cos(2θ(t)); Formula (8)
这里,Aω2×sin(2θ(t))为第二正弦分量;Bω2×cos(2θ(t))为第二余弦分量。Here, A ω2 ×sin(2θ(t)) is the second sine component; and B ω2 ×cos(2θ(t)) is the second cosine component.
在步骤17中,根据所述第二正弦分量、所述第二余弦分量、所述初始相位补偿角度正弦幅度控制量AK和余弦幅度控制量BK计算速度纹波的二次谐波的Q轴的第二电流补偿值Iq-comp0。In step 17, according to the second sine component, the second cosine component, the initial phase compensation angle The sine amplitude control amount AK and the cosine amplitude control amount BK calculate the second current compensation value Iq-comp0 of the Q axis of the second harmonic of the speed ripple.
例如,速度纹波的二次谐波的Q轴的第二电流补偿值Iq-comp0的公式如下。 For example, the formula of the second current compensation value I q-comp0 of the Q-axis of the second harmonic of the speed ripple is as follows.
这里,Iq-comp0为速度纹波的二次谐波的Q轴的第二电流补偿值,K2为二次谐波的补偿电流增益。Here, Iq-comp0 is the second current compensation value of the Q axis of the second harmonic of the speed ripple, and K2 is the compensation current gain of the second harmonic.
在步骤18中,根据Q轴的第一电流补偿值Iq_comp和速度纹波的二次谐波的Q轴的第二电流补偿值Iq_comp0获得Q轴的第三电流补偿值Iq_comp1。In step 18 , a third current compensation value I q — comp1 of the Q axis is obtained according to the first current compensation value I q — comp of the Q axis and the second current compensation value I q — comp0 of the Q axis of the second harmonic of the speed ripple.
例如,Q轴的第三电流补偿值Iq_comp1的公式如下。 For example, the formula of the third current compensation value I q_comp1 of the Q-axis is as follows.
这里,Iq_comp1为Q轴的第三电流补偿值。控制器50通过Q轴的第三电流补偿值Iq_comp1对压缩机201进行振动抑制。这样,通过在对基波成分进行补偿的基础上增加二次谐波的补偿,可以进一步提高对压缩机201振动抑制效果。Here, Iq_comp1 is the third current compensation value of the Q axis. The controller 50 suppresses the vibration of the compressor 201 through the third current compensation value of the Q axis Iq_comp1 . In this way, by adding the compensation of the second harmonic on the basis of compensating the fundamental wave component, the vibration suppression effect of the compressor 201 can be further improved.
在一些实施例中,基波的补偿电流增益K1和二次谐波的补偿电流增益K2,分别小于1(即,K1<1,K2<1),以防止因基波和二次谐波同时补偿导致Q轴的第三电流补偿值Iq_comp1过大而引起过流。需要说明的是,所述过流可以指电机或其它的电器元件的工作电流高于其额定电流。In some embodiments, the compensation current gain K1 of the fundamental wave and the compensation current gain K2 of the second harmonic are respectively less than 1 (i.e., K1<1, K2<1) to prevent the third current compensation value Iq_comp1 of the Q axis from being too large due to simultaneous compensation of the fundamental wave and the second harmonic, thereby causing overcurrent. It should be noted that the overcurrent may refer to the operating current of the motor or other electrical components being higher than their rated current.
本公开一些实施例还提供了一种空调器的控制方法。该方法应用于控制器上。所述空调器与上述空调器1000的结构类似。例如,所述空调器包括上述室内机10以及上述室外机20。 室外机20包括压缩机201。Some embodiments of the present disclosure also provide a control method for an air conditioner. The method is applied to a controller. The air conditioner has a similar structure to the air conditioner 1000. For example, the air conditioner includes the indoor unit 10 and the outdoor unit 20. The outdoor unit 20 includes a compressor 201.
在此情况下,如图5所示,该方法包括步骤21至步骤25。In this case, as shown in FIG. 5 , the method includes steps 21 to 25 .
在步骤21中,获取压缩机201的第一转速值ωr_ref和第二转速值ωr,以及初始相位补偿角度 In step 21, the first speed value ω r_ref and the second speed value ω r of the compressor 201, as well as the initial phase compensation angle
在步骤22中,根据第一转速值ωr_ref和第二转速值ωr获得压缩机201的速度纹波。In step 22, the speed ripple of the compressor 201 is obtained according to the first speed value ω r_ref and the second speed value ω r .
在步骤23中,根据压缩机的速度纹波获取速度纹波基波的第一正弦分量和第一余弦分量。In step 23, a first sine component and a first cosine component of a speed ripple fundamental wave are obtained according to the speed ripple of the compressor.
在步骤24中,根据所述第一正弦分量、所述第一余弦分量和预设振荡幅值采用PI运算进行运算,以获取幅度控制量。In step 24, a PI operation is performed based on the first sine component, the first cosine component and a preset oscillation amplitude to obtain an amplitude control amount.
在步骤25中,根据所述第一正弦分量、所述第一余弦分量、所述幅度控制量和所述初始相位补偿角度确定Q轴的第一电流补偿值Iq_comp。通过Q轴的第一电流补偿值Iq_comp控制压缩机201,可以完成对压缩机201的本次振动抑制。In step 25, according to the first sine component, the first cosine component, the amplitude control amount and the initial phase compensation angle The first current compensation value I q_comp of the Q axis is determined. The compressor 201 is controlled by the first current compensation value I q_comp of the Q axis, so that the local vibration suppression of the compressor 201 can be completed.
在一些实施例中,如图8所示,在获取第一转速值ωr_ref和第二转速值ωr,以及初始相位补偿角度之前,该方法还包括步骤210。In some embodiments, as shown in FIG8 , after obtaining the first speed value ω r_ref and the second speed value ω r , and the initial phase compensation angle Before, the method further includes step 210 .
在步骤210中,确定压缩机201的当前运行频率是否小于截止频率。若是,则执行步骤21;若否,则继续判断压缩机201的当前运行频率是否小于截止频率。In step 210, it is determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency. If so, step 21 is executed; if not, it is further determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency.
在一些实施例中,如图9所示,步骤24包括步骤241至步骤245。In some embodiments, as shown in FIG. 9 , step 24 includes steps 241 to 245 .
在步骤241中,根据所述第一正弦分量确定速度纹波的正弦幅值 In step 241, the sinusoidal amplitude of the velocity ripple is determined according to the first sinusoidal component.
在步骤242中,根据正弦幅值与所述预设振荡幅值的偏差对正弦幅值进行PI运算,以获取正弦幅度控制量AK。In step 242, according to the sine amplitude Deviation from the preset oscillation amplitude to the sine amplitude Perform PI operation to obtain the sinusoidal amplitude control quantity AK .
在步骤243中,根据所述第一余弦分量确定速度纹波的余弦幅值 In step 243, the cosine amplitude of the velocity ripple is determined according to the first cosine component.
在步骤244中,根据余弦幅值与所述预设振荡幅值的偏差对余弦幅值进行PI运算,以获取余弦幅度控制量BK。In step 244, according to the cosine amplitude The deviation from the preset oscillation amplitude to the cosine amplitude A PI operation is performed to obtain the cosine amplitude control amount B K .
在步骤245中,确定正弦幅度控制量AK和余弦幅度控制量BK为所述幅度控制量。In step 245, the sine amplitude control amount AK and the cosine amplitude control amount BK are determined as the amplitude control amounts.
在一些实施例中,如图10所示,步骤25包括步骤251至步骤255。In some embodiments, as shown in FIG. 10 , step 25 includes steps 251 to 255 .
在步骤251中,获取压缩机201的当前运行频率。In step 251 , the current operating frequency of the compressor 201 is obtained.
在步骤252中,根据压缩机201的当前运行频率确定角度步进值。In step 252 , the angle step value is determined according to the current operating frequency of the compressor 201 .
在步骤253中,根据所述角度步进值和初始相位补偿角度计算目标相位补偿角度 In step 253, according to the angle step value and the initial phase compensation angle Calculate the target phase compensation angle
在步骤254中,根据目标相位补偿角度φ、所述第一正弦分量、所述第一余弦分量、所述正弦幅度控制量AK和所述余弦幅度控制量BK计算Q轴的第一电流补偿值Iq_comp。In step 254 , a first current compensation value I q — comp of the Q axis is calculated according to the target phase compensation angle φ, the first sine component, the first cosine component, the sine amplitude control amount AK , and the cosine amplitude control amount KB .
在步骤255中,根据Q轴的第一电流补偿值Iq_comp控制压缩机201,并将初始相位补偿角度赋值为目标相位补偿角度并返回步骤210。In step 255, the compressor 201 is controlled according to the first current compensation value Iq_comp of the Q axis, and the initial phase compensation angle Assign the target phase compensation angle And return to step 210.
在一些实施例中,如图11所示,步骤253包括步骤2531至步骤2536。In some embodiments, as shown in FIG. 11 , step 253 includes steps 2531 to 2536 .
在步骤2531中,获取压缩机201的当前运行参数。In step 2531, the current operating parameters of the compressor 201 are obtained.
在步骤2532中,获取上一运行周期的速度纹波的峰值和当前运行周期的速度纹波的峰值。In step 2532, the peak value of the speed ripple in the previous operation cycle and the peak value of the speed ripple in the current operation cycle are obtained.
在步骤2533中,确定当前运行参数达到预设运行参数。In step 2533, it is determined whether the current operating parameters have reached the preset operating parameters.
在步骤2534中,判断上一运行周期的速度纹波的峰值是否大于当前运行周期的速度纹波的峰值。若是,则执行步骤2535;若否,则执行步骤2536。In step 2534, it is determined whether the peak value of the speed ripple in the previous operation cycle is greater than the peak value of the speed ripple in the current operation cycle. If so, step 2535 is executed; if not, step 2536 is executed.
在步骤2535中,计算所述角度步进值和初始相位补偿角度之和,并将该和值作为目标相位补偿角度 In step 2535, the angle step value and the initial phase compensation angle are calculated. The sum is used as the target phase compensation angle
在步骤2536中,计算初始相位补偿角度和所述角度步进值之差,并将该差值作为目标相位补偿角度 In step 2536, the initial phase compensation angle is calculated and the angle step value, and use the difference as the target phase compensation angle
以下参考图13对确定相位补偿角度所执行的流程做示例性说明。The following is an exemplary description of the process performed to determine the phase compensation angle with reference to FIG. 13 .
如图13所示,该方法包括步骤51至步骤64。As shown in FIG. 13 , the method includes steps 51 to 64 .
在步骤51中,控制空调器开始工作。In step 51, the air conditioner is controlled to start operating.
当用户需要空调器1000工作时,控制空调器开始工作。When the user requires the air conditioner 1000 to work, the air conditioner is controlled to start working.
在步骤52中,将压缩机201的当前运行参数F赋值为0,以及将初始相位补偿角度赋 值为0。In step 52, the current operating parameter F of the compressor 201 is assigned to 0, and the initial phase compensation angle is set to Assign a value of 0.
在步骤53中,判断压缩机201是否处于振动抑制状态(例如,压缩机201的当前运行频率是否大于截止频率)。若是,则执行步骤54;若否,则返回执行步骤52。In step 53, it is determined whether the compressor 201 is in a vibration suppression state (for example, whether the current operating frequency of the compressor 201 is greater than the cut-off frequency). If yes, step 54 is executed; if no, the process returns to step 52.
在步骤54中,计算当前运行周期的速度纹波的峰值Pk。In step 54, the peak value Pk of the speed ripple of the current operation cycle is calculated.
在步骤55中,将上一运行周期的速度纹波的峰值Pk(n-1)赋值为当前运行周期的速度纹波的峰值Pk(即,Pk(n-1)=Pk)。In step 55, the peak value Pk(n-1) of the speed ripple in the previous operation cycle is assigned to the peak value Pk of the speed ripple in the current operation cycle (ie, Pk(n-1)=Pk).
在步骤56中,确定目标相位补偿角度为初始相位补偿角度和角度步进值之和,以对压缩机201进行振动抑制。In step 56, the target phase compensation angle is determined is the initial phase compensation angle and angle step value The sum of the values is used to suppress the vibration of the compressor 201.
在步骤57中,控制压缩机201的当前运行参数F递增以获得递增后的当前运行参数F,并计算当前运行周期的速度纹波的峰值Pk(n)。In step 57, the current operating parameter F of the compressor 201 is controlled to be incremented to obtain the incremented current operating parameter F, and the peak value Pk(n) of the speed ripple of the current operating cycle is calculated.
在步骤58中,判断压缩机201的当前运行参数F(递增的运行参数)是否达到预设运行参数Fmax。若是,则执行步骤59;若否,则返回执行步骤57。In step 58, it is determined whether the current operating parameter F (incremented operating parameter) of the compressor 201 reaches the preset operating parameter Fmax. If yes, step 59 is executed; if no, the process returns to step 57.
在步骤59中,判断当前运行周期的速度纹波的峰值Pk(n)是否小于上一运行周期的速度纹波的峰值Pk(n-1)。若是,则执行步骤61;若否,则执行步骤62。In step 59, it is determined whether the peak value Pk(n) of the speed ripple of the current operation cycle is less than the peak value Pk(n-1) of the speed ripple of the previous operation cycle. If yes, step 61 is executed; if not, step 62 is executed.
在步骤61中,计算目标相位补偿角度为初始相位补偿角度和角度步进值的和值。In step 61, the target phase compensation angle is calculated is the initial phase compensation angle and angle step value The sum value of .
在步骤62中,计算目标相位补偿角度为初始相位补偿角度和角度步进值的的差值。In step 62, the target phase compensation angle is calculated is the initial phase compensation angle and the angle step value The difference.
在步骤63中,清零压缩机201的当前运行参数F。In step 63 , the current operating parameter F of the compressor 201 is cleared.
在步骤64中,将当前运行周期的速度纹波的峰值Pk(n)赋值给上一运行周期的速度纹波峰值Pk(n-1),并返回步骤57。In step 64 , the peak value Pk(n) of the speed ripple of the current operation cycle is assigned to the peak value Pk(n-1) of the speed ripple of the previous operation cycle, and the process returns to step 57 .
在一些实施例中,该方法可以根据正弦幅度控制量AK和余弦幅度控制量BK确定初始相位补偿角度 In some embodiments, the method can determine the initial phase compensation angle according to the sine amplitude control value A K and the cosine amplitude control value B K
例如,根据上述公式(7)计算初始相位补偿角度 For example, the initial phase compensation angle is calculated according to the above formula (7):
在一些实施例中,如图12所示,该方法还包括步骤26至步骤28。In some embodiments, as shown in FIG. 12 , the method further includes steps 26 to 28 .
在步骤26中,根据压缩机201的速度纹波获取速度纹波的二次谐波的第二正弦分量和第二余弦分量。In step 26 , a second sine component and a second cosine component of the second harmonic of the speed ripple are obtained according to the speed ripple of the compressor 201 .
根据速度纹波的傅里叶展开式(如公式(3)),获得速度纹波的二次谐波的公式(上述公式(8))。According to the Fourier expansion of the velocity ripple (such as formula (3)), the formula of the second harmonic of the velocity ripple is obtained (the above formula (8)).
在步骤27中,根据所述第二正弦分量、所述第二余弦分量、所述初始相位补偿角度正弦幅度控制量AK和余弦幅度控制量BK计算速度纹波的二次谐波的Q轴的第二电流补偿值Iq-comp0。In step 27, according to the second sine component, the second cosine component, the initial phase compensation angle The sine amplitude control amount AK and the cosine amplitude control amount BK calculate the second current compensation value Iq-comp0 of the Q axis of the second harmonic of the speed ripple.
例如,通过上述公式(9)计算Q轴的第二电流补偿值Iq-comp0。For example, the second current compensation value I q-comp0 of the Q axis is calculated by the above formula (9).
在步骤28中,根据Q轴的第一电流补偿值Iq-comp0和速度纹波的二次谐波的Q轴的第二电流补偿值Iq_comp0获得Q轴的第三电流补偿值Iq_comp1。In step 28 , a third current compensation value I q — comp1 of the Q axis is obtained according to the first current compensation value I q-comp0 of the Q axis and the second current compensation value I q — comp0 of the Q axis of the second harmonic of the speed ripple.
例如,通过上述公式(10)计算Q轴的第三电流补偿值Iq_comp1。For example, the third current compensation value I q — comp1 of the Q axis is calculated by the above formula (10).
需要说明的是,本公开一些实施例提供的空调器的控制方法,与上述实施例提供的空调器中的控制器50所执行的所有流程步骤相同,两者的工作原理和有益效果一一对应,因而在此不再赘述。It should be noted that the control method of the air conditioner provided in some embodiments of the present disclosure is the same as all the process steps executed by the controller 50 in the air conditioner provided in the above embodiments, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated here.
前文主要以通过速度纹波的峰值确定目标相位补偿角度为例进行说明。当然,本公开的一些实施例也可以通过计算速度纹波的积分值的方式确定目标相位补偿角度。The above mainly describes the method of determining the target phase compensation angle by the peak value of the velocity ripple as an example. Of course, some embodiments of the present disclosure may also determine the target phase compensation angle by calculating the integral value of the velocity ripple.
因此,本公开一些实施例还提供了一种空调器。该空调器与上述空调器1000的结构相同。该空调器包括上述室内机10、上述室外机20以及上述控制器50。室外机20包括压缩机201。控制器50被配置为控制所述空调器中的各个部件工作,以实现所述空调器的各个预定功能。Therefore, some embodiments of the present disclosure further provide an air conditioner. The air conditioner has the same structure as the air conditioner 1000. The air conditioner includes the indoor unit 10, the outdoor unit 20 and the controller 50. The outdoor unit 20 includes a compressor 201. The controller 50 is configured to control the operation of various components in the air conditioner to achieve various predetermined functions of the air conditioner.
如图14所示,控制器50被配置为执行步骤31至步骤37。As shown in FIG. 14 , the controller 50 is configured to execute steps 31 to 37 .
在步骤31中,判断压缩机201的当前运行频率是否小于截止频率。若是,则执行步骤32;若否,则继续判断压缩机201的当前运行频率是否小于截止频率。 In step 31, it is determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency. If so, step 32 is executed; if not, it is further determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency.
在控制器50执行步骤的过程中,控制器50判断压缩机201的当前运行频率是否小于截止频率。若压缩机201的当前运行频率小于截止频率,则需要对压缩机201继续进行振动抑制,控制器50执行步骤32,并继续执行步骤33至步骤37,以实现对压缩机201的振动抑制。若压缩机201的当前运行频率大于截止频率,则无需对压缩机201进行振动抑制,控制器50退出该循环过程。During the process of the controller 50 executing the steps, the controller 50 determines whether the current operating frequency of the compressor 201 is less than the cut-off frequency. If the current operating frequency of the compressor 201 is less than the cut-off frequency, it is necessary to continue to suppress the vibration of the compressor 201, and the controller 50 executes step 32, and continues to execute steps 33 to 37 to achieve vibration suppression of the compressor 201. If the current operating frequency of the compressor 201 is greater than the cut-off frequency, it is not necessary to suppress the vibration of the compressor 201, and the controller 50 exits the cycle.
所述截止频率的示例可参见前文的相关描述,此处不再赘述。The example of the cut-off frequency can be found in the related description above, which will not be repeated here.
在步骤32中,获取压缩机201的第一转速值ωr_ref和第二转速值ωr。In step 32, a first speed value ω r_ref and a second speed value ω r of the compressor 201 are obtained.
在步骤33中,根据第一转速值ωr_ref和第二转速值ωr获得压缩机201的速度纹波。In step 33, the speed ripple of the compressor 201 is obtained according to the first speed value ω r_ref and the second speed value ω r .
需要说明的是,第一转速值ωr_ref、第二转速值ωr以及速度纹波可参见前文的相关描述,此处不再赘述。并且,控制器50所执行步骤32以及步骤33与前文控制器50所执行的步骤11以及步骤12相同,两者的工作原理和有益效果一一对应,因而在此不再赘述。It should be noted that the first speed value ω r_ref , the second speed value ω r and the speed ripple can refer to the relevant description in the previous text, which will not be repeated here. In addition, steps 32 and 33 executed by the controller 50 are the same as steps 11 and 12 executed by the controller 50 in the previous text, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated here.
在步骤34中,对速度纹波作定积分运算以获得速度纹波的积分值。In step 34, a definite integral operation is performed on the speed ripple to obtain an integral value of the speed ripple.
速度纹波的峰值或单峰值较大、或者速度纹波在一运行周期内的面积(积分值)较大都可能导致压缩机201的较强的振动。假设存在两种情况:第一种情况为速度纹波的峰值大,但该速度纹波在一运行周期内的面积小;第二种情况为速度纹波的峰值小,但该速度纹波在一运行周期内的面积大。并且,两种情况中的运行周期相同。对于上述两种情况,第一种情况仅能表明在压缩机201的转子运转一圈的过程中压缩机201的第二转速值ωr的最大值较大,但第二转速值ωr与第一转速值ωr_ref具有差值的时间较短。也就是说,在一运行周期的大部分时间内,第二转速值ωr与第一转速值ωr_ref相等或相差较小。在第二种情况中,虽然在压缩机201的转子运转一圈的过程中,第二转速值ωr的最大值和最小值相差较小,但第二转速值ωr与第一转速值ωr_ref具有差值的时间较长。也就是说,在一运行周期内,仅在较短的时间内第二转速值ωr与第一转速值ωr_ref相等或相差较小。因此,对于上述两种情况,在第二种情况下压缩机201的振动明显。为了解决上述问题,本公开一些实施例通过计算速度纹波的积分值的方式以表明压缩机201的实际振动,便于后续通过振动抑制算法有效抑制压缩机201的振动幅度。A large peak value or single peak value of the speed ripple, or a large area (integral value) of the speed ripple in one operating cycle may cause a strong vibration of the compressor 201. Assume that there are two situations: the first situation is that the peak value of the speed ripple is large, but the area of the speed ripple in one operating cycle is small; the second situation is that the peak value of the speed ripple is small, but the area of the speed ripple in one operating cycle is large. And the operating cycle in the two situations is the same. For the above two situations, the first situation can only indicate that the maximum value of the second speed value ω r of the compressor 201 is large during the operation of the rotor of the compressor 201, but the time during which the second speed value ω r and the first speed value ω r_ref have a difference is short. That is to say, for most of the time during an operating cycle, the second speed value ω r is equal to or slightly different from the first speed value ω r_ref . In the second situation, although the maximum and minimum values of the second speed value ω r are slightly different during the operation of the rotor of the compressor 201, the time during which the second speed value ω r and the first speed value ω r_ref have a difference is long. That is to say, in an operation cycle, the second speed value ω r is equal to or slightly different from the first speed value ω r_ref only in a short period of time. Therefore, for the above two cases, the vibration of the compressor 201 is obvious in the second case. In order to solve the above problem, some embodiments of the present disclosure calculate the integral value of the speed ripple to indicate the actual vibration of the compressor 201, so as to facilitate the subsequent effective suppression of the vibration amplitude of the compressor 201 through the vibration suppression algorithm.
在步骤35中,获取初始相位补偿角度和角度步进值,并根据所述角度步进值、初始相位补偿角度和速度纹波的积分值获得目标相位补偿角度初始相位补偿角度所述角度步进值以及如何获取所述角度步进值可参考前文的相关描述,此处不再赘述。In step 35, the initial phase compensation angle is obtained and angle step value, and according to the angle step value, the initial phase compensation angle The target phase compensation angle is obtained by integrating the velocity ripple Initial phase compensation angle The angle step value and how to obtain the angle step value can be referred to the relevant description in the previous text, which will not be repeated here.
本公开一些实施例以速度纹波的积分值来判断压缩机201的振动变化,并结合所述角度步进值和初始相位补偿角度以计算目标相位补偿角度提高了对压缩机201的振动抑制效果。在此情况下,用于补偿第二转速值ωr与第一转速值ωr_ref之间的相位差的目标相位补偿角度是可变化的,可以通过所述角度步进值对初始相位补偿角度进行动态调整获得该目标相位补偿角度这样,可以以目标相位补偿角度作为Q轴的第一电流补偿值Iq_comp的相位,有效地提高对压缩机201的振动抑制效果。并且,由于速度纹波的积分值可以有效地表明压缩机201的振动情况,因此,在调节目标相位补偿角度时,控制器50还可以通过速度纹波的积分值计算目标相位补偿角度以获得Q轴的第一电流补偿值Iq_comp,以控制压缩机201,从而有效地抑制压缩机201的低频振动,提高对压缩机201的振动抑制效果。In some embodiments of the present disclosure, the integral value of the speed ripple is used to determine the vibration change of the compressor 201, and the angle step value and the initial phase compensation angle are combined. To calculate the target phase compensation angle The vibration suppression effect on the compressor 201 is improved. In this case, the target phase compensation angle for compensating the phase difference between the second speed value ω r and the first speed value ω r_ref is is variable, and the initial phase compensation angle can be adjusted by the angle step value Dynamically adjust to obtain the target phase compensation angle In this way, the target phase compensation angle can be As the phase of the first current compensation value I q_comp of the Q axis, the vibration suppression effect of the compressor 201 is effectively improved. In addition, since the integral value of the speed ripple can effectively indicate the vibration of the compressor 201, the target phase compensation angle is adjusted. When the controller 50 is used, the target phase compensation angle can be calculated by the integral value of the speed ripple. The first current compensation value I q — comp of the Q axis is obtained to control the compressor 201 , thereby effectively suppressing the low-frequency vibration of the compressor 201 and improving the vibration suppression effect on the compressor 201 .
在步骤36中,根据速度纹波和目标相位补偿角度获得Q轴的第一电流补偿值Iq_comp以控制压缩机201。In step 36, the speed ripple and the target phase compensation angle are calculated. A first current compensation value I q — comp of the Q axis is obtained to control the compressor 201 .
在步骤37中,将初始相位补偿角度赋值为目标相位补偿角度并返回步骤31。In step 37, the initial phase compensation angle Assign the target phase compensation angle And return to step 31.
在对压缩机201进行振动抑制时,控制器50结合速度纹波的积分值的变化,按所述角度步进值对初始相位补偿角度进行循环动态调节,以有效地补偿第二转速值ωr与第一转速值ωr_ref之间的相位差,直至压缩机201的当前运行频率大于截止频率。When the compressor 201 is subjected to vibration suppression, the controller 50 adjusts the initial phase compensation angle according to the angle step value in combination with the change in the integral value of the speed ripple. Cyclic dynamic adjustment is performed to effectively compensate for the phase difference between the second speed value ω r and the first speed value ω r_ref until the current operating frequency of the compressor 201 is greater than the cut-off frequency.
本公开一些实施例通过对Q轴的电流前馈补偿一种扭矩补偿电流以实现对压缩机201的振动抑制。如图6所示,该扭矩补偿电流可以以模拟负载曲线补偿、以正弦波等固定曲线补偿、或以提取的速度纹波的基波成分进行补偿。例如,在以正弦波补偿的情况下,该扭矩补偿电流(Q轴的第一电流补偿值Iq_comp)可以用如下公式计算。 A=K0×Iq; 公式(12)Some embodiments of the present disclosure implement vibration suppression of the compressor 201 by feed-forward compensating a torque compensation current for the current of the Q axis. As shown in FIG6 , the torque compensation current can be compensated by a simulated load curve, a fixed curve such as a sine wave, or a fundamental wave component of the extracted speed ripple. For example, in the case of sine wave compensation, the torque compensation current (the first current compensation value I q_comp of the Q axis) can be calculated by the following formula. A=K 0 ×I q ; Formula (12)
这里,Iq为速度环的直接输出的控制量;K0为设定的补偿电流比例值;A为扭矩补偿的幅值;θ(t)为机械角度。Here, Iq is the control quantity directly output by the speed loop; K0 is the set compensation current proportional value; A is the amplitude of torque compensation; θ(t) is the mechanical angle.
这样,控制器50在对压缩机201进行振动抑制时,可以根据速度纹波和目标相位补偿角度计算Q轴的第一电流补偿值Iq_comp以控制压缩机201。In this way, when the controller 50 suppresses the vibration of the compressor 201, the controller 50 can compensate the speed ripple and the target phase angle according to the speed ripple and the target phase angle. A first current compensation value I q — comp of the Q axis is calculated to control the compressor 201 .
之后,如图6所示,控制器50将获得的Q轴的第一电流补偿值Iq_comp与速度环输出的控制量Iq之和作为Q轴的第一电流值Iq_ref(即,Iq-ref=Iq-comp+Iq),并根据Q轴的第一电流值Iq_ref和Q轴的第二电流值Iq_Fbk计算Q轴的电流控制值。同时,控制器50根据第一母线电压值Vbus_ref和第二母线电压值Vbus计算D轴的第一电流值Id_ref,并根据D轴的第一电流值Id_ref和D轴的第二电流值Id_Fbk获得D轴的电流控制值。这样,通过Q轴的所述电流控制值和D轴的所述电流控制值,控制器50可以控制压缩机201,从而完成对压缩机201的本次振动抑制。Afterwards, as shown in FIG6 , the controller 50 uses the sum of the obtained first current compensation value I q_comp of the Q axis and the control amount I q output by the speed loop as the first current value I q_ref of the Q axis (i.e., I q-ref =I q-comp +I q ), and calculates the current control value of the Q axis according to the first current value I q_ref of the Q axis and the second current value I q_Fbk of the Q axis. At the same time, the controller 50 calculates the first current value I d_ref of the D axis according to the first bus voltage value V bus_ref and the second bus voltage value V bus , and obtains the current control value of the D axis according to the first current value I d_ref of the D axis and the second current value I d_Fbk of the D axis. In this way, through the current control value of the Q axis and the current control value of the D axis, the controller 50 can control the compressor 201, thereby completing the current vibration suppression of the compressor 201.
Q轴、D轴、Q轴的第二电流值Iq_Fbk、第一母线电压值Vbus_ref、第二母线电压值Vbus、D轴的第二电流值Id_Fbk、以及所述速度环可参见前文的相关描述,此处不再赘述。The Q axis, D axis, the second current value I q — Fbk of the Q axis, the first bus voltage value V bus — ref , the second bus voltage value V bus , the second current value I d — Fbk of the D axis, and the speed loop can be found in the above description and will not be repeated here.
在本公开一些实施例的空调器1000中,控制器50通过对速度纹波作定积分运算来获得速度纹波的积分值,并以角度步进值、初始相位补偿角度和该积分值获得目标相位补偿角度也就是说,在抑制压缩机201的低频振动时,控制器50通过计算速度纹波的积分值的方式来调节目标相位补偿角度并以速度纹波的积分值计算的目标相位补偿角度来获得Q轴的第一电流补偿值Iq_comp,以控制压缩机201,可以有效地抑制压缩机201的低频振动,提高对压缩机201的振动抑制效果。In the air conditioner 1000 of some embodiments of the present disclosure, the controller 50 obtains the integral value of the speed ripple by performing a definite integral operation on the speed ripple, and calculates the integral value of the speed ripple by using the angle step value, the initial phase compensation angle, and the initial phase compensation angle. The target phase compensation angle is obtained by adding the integral value That is, when suppressing the low-frequency vibration of the compressor 201, the controller 50 adjusts the target phase compensation angle by calculating the integral value of the speed ripple. The target phase compensation angle is calculated by the integral value of the speed ripple The first current compensation value I q — comp of the Q axis is obtained to control the compressor 201 , which can effectively suppress the low-frequency vibration of the compressor 201 and improve the vibration suppression effect of the compressor 201 .
在一些实施例中,速度纹波的积分值包括压缩机201的上一运行周期内的速度纹波的积分值和当前运行周期内的速度纹波的积分值。如图15和图16所示,控制器50所执行的步骤34包括步骤341至步骤344。In some embodiments, the integral value of the speed ripple includes the integral value of the speed ripple in the previous operation cycle and the integral value of the speed ripple in the current operation cycle of the compressor 201. As shown in Figures 15 and 16, step 34 executed by the controller 50 includes steps 341 to 344.
在步骤341中,对压缩机201的上一运行周期内的速度纹波作绝对值运算(即,控制器50将上一运行周期内的速度纹波位于负半周的曲线翻转,以使该曲线的值由负值变为正值),以获得上一运行周期内速度纹波的绝对值。In step 341, an absolute value operation is performed on the speed ripple in the previous operating cycle of the compressor 201 (i.e., the controller 50 flips the curve of the speed ripple in the previous operating cycle in the negative half cycle so that the value of the curve changes from a negative value to a positive value) to obtain the absolute value of the speed ripple in the previous operating cycle.
所述上一运行周期内的速度纹波可以为未对初始相位补偿角度进行调整的情况下压缩机201在一运行周期内的速度纹波。当然,在初始相位补偿角度经过多次循环调整的情况下,所述上一运行周期内的速度纹波为上一次(相对于当前运行周期)对初始相位补偿角度进行调整的一运行周期内的速度纹波。The speed ripple in the previous operation cycle may be the initial phase compensation angle. The speed ripple of the compressor 201 in one operation cycle under the condition of adjustment. Of course, at the initial phase compensation angle After multiple cycles of adjustment, the speed ripple in the last operating cycle is the initial phase compensation angle of the last time (relative to the current operating cycle). The speed ripple within one operating cycle is adjusted.
在步骤342中,对上一运行周期内速度纹波的绝对值作定积分运算,以获得上一运行周期内速度纹波的积分值(即,控制器50获得上一运行周期内速度纹波的面积)。In step 342, a definite integral operation is performed on the absolute value of the speed ripple in the previous operation cycle to obtain the integral value of the speed ripple in the previous operation cycle (ie, the controller 50 obtains the area of the speed ripple in the previous operation cycle).
在步骤343中,对压缩机201的当前运行周期内的速度纹波作绝对值运算(即,控制器50将当前运行周期内速度纹波位于负半周的曲线翻转,以使该曲线的值由负值变为正值),以获得当前运行周期内速度纹波的绝对值。In step 343, an absolute value operation is performed on the speed ripple in the current operating cycle of the compressor 201 (i.e., the controller 50 flips the curve of the speed ripple in the negative half cycle in the current operating cycle so that the value of the curve changes from a negative value to a positive value) to obtain the absolute value of the speed ripple in the current operating cycle.
所述当前运行周期内的速度纹波可以为针对上一运行周期内速度纹波的积分值,对初始相位补偿角度进行调整后压缩机201在一运行周期内速度纹波。The speed ripple in the current operation cycle may be the integral value of the speed ripple in the previous operation cycle, and the initial phase compensation angle After adjustment, the speed ripple of the compressor 201 during an operation cycle is reduced.
在步骤344中,对当前运行周期内速度纹波的绝对值作定积分运算,以获得当前运行周期内速度纹波的积分值(即,控制器50获得当前运行周期内速度纹波的面积)。In step 344, a definite integral operation is performed on the absolute value of the speed ripple in the current operation cycle to obtain the integral value of the speed ripple in the current operation cycle (ie, the controller 50 obtains the area of the speed ripple in the current operation cycle).
在一些实施例中,如图17所示,控制器50所执行的步骤35包括步骤351至步骤353。In some embodiments, as shown in FIG. 17 , step 35 executed by the controller 50 includes steps 351 to 353 .
在步骤351中,判断上一运行周期内速度纹波的积分值是否大于当前运行周期内速度纹波的积分值。若是,则执行步骤352;若否,则执行步骤353。In step 351, it is determined whether the integral value of the speed ripple in the previous operation cycle is greater than the integral value of the speed ripple in the current operation cycle. If so, step 352 is executed; if not, step 353 is executed.
在步骤352中,计算所述角度步进值和初始相位补偿角度之和,并将该和作为目标相位补偿角度 In step 352, the angle step value and the initial phase compensation angle are calculated. The sum is used as the target phase compensation angle
在步骤353中,计算所述角度步进值和初始相位补偿角度之差,并将该差作为目标相位补偿角度 In step 353, the angle step value and the initial phase compensation angle are calculated. The difference is taken as the target phase compensation angle
例如,在控制器50确定上一运行周期内速度纹波的积分值小于当前运行周期内速度纹波的积分值的情况下,压缩机201的振动变大。因此,控制器50将角度步进值和初始相位补偿角度之差作为目标相位补偿角度以抑制压缩机201的振动。或者,在控制器50确定上一运行周期内速度纹波的积分值大于当前运行周期内速度纹波的积分值的情况下,压缩机201的振动变小。因此,控制器50以角度步进值和初始相位补偿角度之和作为目标相位补偿角度以继续抑制压缩机201的振动。For example, when the controller 50 determines that the integral value of the speed ripple in the previous operation cycle is less than the integral value of the speed ripple in the current operation cycle, the vibration of the compressor 201 becomes larger. Therefore, the controller 50 sets the angle step value and the initial phase compensation angle The difference is taken as the target phase compensation angle To suppress the vibration of the compressor 201. Alternatively, when the controller 50 determines that the integral value of the speed ripple in the previous operation cycle is greater than the integral value of the speed ripple in the current operation cycle, the vibration of the compressor 201 becomes smaller. Therefore, the controller 50 uses the angle step value and the initial phase compensation angle The sum of the target phase compensation angle To continue to suppress the vibration of the compressor 201.
在一些实施例中,如图17所示,在确定目标相位补偿角度之前(即,在步骤351之前),控制器50所执行的步骤35还包括步骤3501和步骤3502。In some embodiments, as shown in FIG. 17 , when determining the target phase compensation angle Before (ie, before step 351 ), step 35 executed by the controller 50 also includes step 3501 and step 3502 .
在步骤3501中,获取压缩机201的当前运行频率。In step 3501 , the current operating frequency of the compressor 201 is obtained.
控制器50获取压缩机201的当前运行频率的方法在前文已经描述,此处不再赘述。The method by which the controller 50 obtains the current operating frequency of the compressor 201 has been described above and will not be repeated here.
在步骤3502中,根据压缩机201的当前运行频率确定角度步进值。In step 3502 , the angle step value is determined according to the current operating frequency of the compressor 201 .
控制器50根据压缩机201的当前运行频率确定角度步进值的方法与前文描述的步骤152相同,此处不再赘述。The method by which the controller 50 determines the angle step value according to the current operating frequency of the compressor 201 is the same as step 152 described above and will not be repeated here.
在一些实施例中,如图15所示,在控制器50对压缩机201的当前运行周期内的速度纹波做定积分运算之前(即,在步骤343之前),控制器50所执行的步骤34还包括步骤3401和步骤3402。In some embodiments, as shown in FIG. 15 , before the controller 50 performs a definite integral operation on the speed ripple in the current operating cycle of the compressor 201 (ie, before step 343 ), step 34 executed by the controller 50 also includes steps 3401 and 3402 .
在步骤3401中,获取压缩机201的当前运行参数。In step 3401 , the current operating parameters of the compressor 201 are obtained.
所述当前运行参数为体现压缩机201实际运行状态的参数,如,压缩机201的转动圈数或转动角度。The current operating parameter is a parameter reflecting the actual operating state of the compressor 201 , such as the number of rotations or the rotation angle of the compressor 201 .
在步骤3402中,确定当前运行参数达到预设运行参数。In step 3402, it is determined whether the current operating parameters have reached the preset operating parameters.
由于在对初始相位补偿角度调节后,对压缩机201的振动抑制效果不会立刻反应至压缩机201的下一运行参数上,需等待压缩机201的实际运行状态发生一定变化后再进行判定,因此,通过设定所述预设运行参数,控制器50可以在确定当前运行参数达到所述预设运行参数后再进行后续操作,从而准确判断在调节初始补偿相位角度后压缩机201的振动变化。Since the initial phase compensation angle After adjustment, the vibration suppression effect of the compressor 201 will not be immediately reflected in the next operating parameter of the compressor 201. It is necessary to wait for the actual operating state of the compressor 201 to change to a certain extent before making a judgment. Therefore, by setting the preset operating parameters, the controller 50 can perform subsequent operations after determining that the current operating parameters have reached the preset operating parameters, thereby accurately judging the initial compensation phase angle when adjusting. The vibration of the rear compressor 201 changes.
当然,在本公开的另一些实施例中,控制器50也可以通过补偿角调节周期来判断压缩机201的实际运行状态。Of course, in other embodiments of the present disclosure, the controller 50 may also determine the actual operating state of the compressor 201 by adjusting the compensation angle period.
如图16所示,在控制器50对压缩机201的当前运行周期内的速度纹波做定积分运算之前。控制器50所执行的步骤34还包括步骤3403至步骤3404。As shown in FIG. 16 , before the controller 50 performs a definite integral operation on the speed ripple in the current operation cycle of the compressor 201 , step 34 executed by the controller 50 further includes steps 3403 to 3404 .
在步骤3403中,根据预设运行参数和压缩机201的当前运行频率确定补偿角调节周期Tadjust。In step 3403 , the compensation angle adjustment period T adjust is determined according to the preset operating parameters and the current operating frequency of the compressor 201 .
例如,通过以下公式计算补偿角调节周期。 For example, the compensation angle adjustment period is calculated by the following formula.
这里,Tadjust为补偿角调节周期,Fmax为预设运行参数,f为当前运行频率。Here, T adjust is the compensation angle adjustment period, F max is the preset operating parameter, and f is the current operating frequency.
在步骤3404中,确定压缩机201的工作时间达到补偿角调节周期Tadjust。在确定压缩机201的工作时间达到补偿角调节周期Tadjust后,控制器50可以进行后续操作(如步骤343),从而可以准确地判断在调节初始补偿相位角度后压缩机201的振动变化。In step 3404, it is determined that the working time of the compressor 201 reaches the compensation angle adjustment period T adjust . After determining that the working time of the compressor 201 reaches the compensation angle adjustment period T adjust , the controller 50 can perform subsequent operations (such as step 343), so as to accurately determine the initial compensation phase angle. The vibration of the rear compressor 201 changes.
在压缩机201的当前运行频率在非振动抑制频率区间内时(即,当压缩机201的当前运行频率大于截止频率时),控制器50对各个变量赋初始值。例如,控制器50设定初始相位补偿角度的初始值等于当前运行参数F(如,转动角度)等于0(F=0)。当压缩机201的当前运行频率在振动抑制频率区间内时(即,压缩机201的当前运行频率小于截止频率时),控制器50计算并存储该运行周期内速度纹波的积分值以作为上一运行周期内速度纹波的积分值Δωrs(0),并根据压缩机201的当前运行频率确定角度步进值。若当前运行频率为10Hz,则控制器50确定角度步进值为0.5°。然后,控制器50计算初始相位补偿角度与角度步进值之和,以获得第一目标相位补偿角度在计算第一目标相位补偿角度后,控制器50计算Q轴的第一电流补偿值Iq_comp以控制压缩机201。在压缩机201的当前运行参数F(转动角度)达到预设运行参数Fmax(预设转动角度)后(即,F≥Fmax),或者, 在压缩机201的工作时间达到补偿角调节周期Tadjust后,控制器50计算该运行周期内的速度纹波的积分值以作为当前运行周期内速度纹波的积分值Δωrs(1)。之后,控制器50通过比较当前运行周期内速度纹波的积分值Δωrs(1)与上一运行周期内速度纹波的积分值Δωrs(0)确定下一次如何调节初始相位补偿角度也就是说,在以第一目标相位补偿角度调节后,控制器50判断速度纹波在一个运行周期内的积分值是否变小。When the current operating frequency of the compressor 201 is within the non-vibration suppression frequency range (i.e., when the current operating frequency of the compressor 201 is greater than the cut-off frequency), the controller 50 assigns initial values to various variables. For example, the controller 50 sets the initial phase compensation angle The initial value is equal to The current operating parameter F (e.g., rotation angle) is equal to 0 (F=0). When the current operating frequency of the compressor 201 is within the vibration suppression frequency interval (i.e., the current operating frequency of the compressor 201 is less than the cutoff frequency), the controller 50 calculates and stores the integral value of the speed ripple in the operating cycle as the integral value of the speed ripple in the previous operating cycle Δωr s (0), and determines the angle step value according to the current operating frequency of the compressor 201. If the current operating frequency is 10 Hz, the controller 50 determines the angle step value to be 0.5°. Then, the controller 50 calculates the initial phase compensation angle The sum of the angle step value to obtain the first target phase compensation angle In calculating the first target phase compensation angle After that, the controller 50 calculates the first current compensation value I q_comp of the Q axis to control the compressor 201. After the current operating parameter F (rotation angle) of the compressor 201 reaches the preset operating parameter F max (preset rotation angle) (i.e., F ≥ F max ), or, after the working time of the compressor 201 reaches the compensation angle adjustment period T adjust , the controller 50 calculates the integral value of the speed ripple in the operating period as the integral value Δωr s (1) of the speed ripple in the current operating period. After that, the controller 50 determines how to adjust the initial phase compensation angle next time by comparing the integral value Δωr s (1) of the speed ripple in the current operating period with the integral value Δωr s (0) of the speed ripple in the previous operating period. That is, at the first target phase compensation angle After the adjustment, the controller 50 determines whether the integral value of the speed ripple in one operation cycle becomes smaller.
若当前运行周期内速度纹波的积分值Δωrs(1)小于上一运行周期内速度纹波的积分值Δωrs(0)(即,Δωrs(1)<Δωrs(0)),速度纹波的积分值变小,控制器50将初始相位补偿角度赋值为第一目标相位补偿角度(即,)。控制器50再次根据压缩机201的当前运行频率确定角度步进值并以角度步进值对初始相位补偿角度进行调节。例如,控制器50继续增加初始相位补偿角度以获得第二目标相位补偿角度 If the integral value Δωr s (1) of the speed ripple in the current operation cycle is less than the integral value Δωr s (0) of the speed ripple in the previous operation cycle (i.e., Δωr s (1)<Δωr s (0)), the integral value of the speed ripple becomes smaller, and the controller 50 increases the initial phase compensation angle Assign the first target phase compensation angle (Right now, ). The controller 50 again determines the angle step value according to the current operating frequency of the compressor 201. And in degrees step value Initial phase compensation angle For example, the controller 50 continues to increase the initial phase compensation angle To obtain the second target phase compensation angle
若当前运行周期内速度纹波的积分值Δωrs(1)大于上一运行周期内速度纹波的积分值Δωrs(0)(即,Δωrs(1)>Δωrs(0)),速度纹波的积分值变大,控制器50将初始相位补偿角度赋值为第一目标相位补偿角度(即,)。控制器50再次根据压缩机201的当前运行频率确定角度步进值并以角度步进值对初始相位补偿角度进行调节。例如,控制器50减小初始相位补偿角度以获得第二目标相位补偿角度 If the integral value Δωr s (1) of the speed ripple in the current operation cycle is greater than the integral value Δωr s (0) of the speed ripple in the previous operation cycle (i.e., Δωr s (1)>Δωr s (0)), the integral value of the speed ripple becomes larger, and the controller 50 increases the initial phase compensation angle Assign the first target phase compensation angle (Right now, ). The controller 50 again determines the angle step value according to the current operating frequency of the compressor 201. And in degrees step value Initial phase compensation angle For example, the controller 50 reduces the initial phase compensation angle To obtain the second target phase compensation angle
这样,控制器50可以计算Q轴的第一电流补偿值Iq_comp以控制压缩机201。同时,控制器50更新上一运行周期内速度纹波的积分值Δωrs(0),以将当前运行周期内速度纹波的积分值Δωrs(1)作为下一次执行步骤351时的上一运行周期内速度纹波的积分值,并初始化当前运行参数F(即,F=0)。在当前运行参数F再次达到预设运行参数Fmax或压缩机201的工作时间再次达到补偿角调节周期Tadjust时,控制器50再次执行上述循环,并不断更新上一运行周期内速度纹波的积分值,以使速度纹波的积分值接近最小值,从而使得速度纹波的积分值不再减小以趋于稳定,进而达到对压缩机201的振动抑制的效果。In this way, the controller 50 can calculate the first current compensation value I q_comp of the Q axis to control the compressor 201. At the same time, the controller 50 updates the integral value Δωr s (0) of the speed ripple in the previous operation cycle, so as to use the integral value Δωr s (1) of the speed ripple in the current operation cycle as the integral value of the speed ripple in the previous operation cycle when the step 351 is executed next time, and initializes the current operation parameter F (i.e., F=0). When the current operation parameter F reaches the preset operation parameter F max again or the working time of the compressor 201 reaches the compensation angle adjustment period T adjust again, the controller 50 executes the above cycle again, and continuously updates the integral value of the speed ripple in the previous operation cycle, so that the integral value of the speed ripple is close to the minimum value, so that the integral value of the speed ripple no longer decreases to be stable, thereby achieving the effect of suppressing the vibration of the compressor 201.
在一些实施例中,如图18所示,控制器50所执行的步骤36包括步骤361至步骤363。In some embodiments, as shown in FIG. 18 , step 36 executed by the controller 50 includes steps 361 to 363 .
在步骤361中,根据压缩机201的速度纹波获取速度纹波基波的第一正弦分量和第一余弦分量。In step 361 , a first sine component and a first cosine component of a speed ripple fundamental wave are acquired according to the speed ripple of the compressor 201 .
在步骤362中,根据第一正弦分量、第一余弦分量和预设振荡幅值进行PI运算,以获取幅度控制量。In step 362, a PI operation is performed according to the first sine component, the first cosine component and the preset oscillation amplitude to obtain an amplitude control amount.
在步骤363中,根据所述第一正弦分量、所述第一余弦分量、所述幅度控制量以及初始相位补偿角度确定Q轴的第一电流补偿值Iq_comp。这样,控制器50可以通过Q轴的第一电流补偿值Iq_comp控制压缩机201,以对压缩机201进行振动抑制。In step 363, according to the first sine component, the first cosine component, the amplitude control amount and the initial phase compensation angle The first current compensation value I q — comp of the Q axis is determined. In this way, the controller 50 can control the compressor 201 by the first current compensation value I q — comp of the Q axis to suppress vibration of the compressor 201 .
需要说明的是,如何获取纹波基波的第一正弦分量和第一余弦分量,如何获取幅度控制量,以及如何根据述第一正弦分量、所述第一余弦分量、所述幅度控制量以及初始相位补偿角度确定Q轴的第一电流补偿值Iq_comp可参考前文的相关描述,此处不再赘述。It should be noted that how to obtain the first sine component and the first cosine component of the ripple fundamental wave, how to obtain the amplitude control amount, and how to obtain the amplitude control amount according to the first sine component, the first cosine component, the amplitude control amount and the initial phase compensation angle For determining the first current compensation value I q_comp of the Q axis, reference may be made to the relevant description above, which will not be repeated here.
在一些实施例中,如图19所示,控制器50所执行的步骤362包括步骤3621至步骤3625。In some embodiments, as shown in FIG. 19 , step 362 executed by the controller 50 includes steps 3621 to 3625 .
在步骤3621中,根据所述第一正弦分量确定速度纹波的正弦幅值 In step 3621, the sinusoidal amplitude of the velocity ripple is determined according to the first sinusoidal component.
在步骤3622中,根据正弦幅值与所述预设振荡幅值的偏差对正弦幅值进行PI运算,以获取正弦幅度控制量AK。In step 3622, according to the sine amplitude The deviation from the preset oscillation amplitude is used to perform PI operation on the sinusoidal amplitude to obtain the sinusoidal amplitude control value AK .
在步骤3623中,根据所述第一余弦分量确定速度纹波的余弦幅值 In step 3623, the cosine amplitude of the velocity ripple is determined according to the first cosine component.
在步骤3624中,根据余弦幅值与所述预设振荡幅值的偏差对余弦幅值进行PI运算,以获取余弦幅度控制量BK。In step 3624, according to the cosine amplitude The deviation from the preset oscillation amplitude to the cosine amplitude A PI operation is performed to obtain the cosine amplitude control amount B K .
在步骤3625中,将正弦幅度控制量AK和余弦幅度控制量BK作为幅度控制量。In step 3625, the sine amplitude control amount AK and the cosine amplitude control amount BK are used as amplitude control amounts.
在一些实施例中,控制器50在获取初始相位补偿角度时被配置为根据正弦幅度控制量AK和余弦幅度控制量BK确定初始相位补偿角度 In some embodiments, the controller 50 obtains the initial phase compensation angle When configured to determine the initial phase compensation angle according to the sine amplitude control value A K and the cosine amplitude control value B K
例如,控制器50根据上述公式(7)计算初始相位补偿角度 For example, the controller 50 calculates the initial phase compensation angle according to the above formula (7):
或者,控制器50在获取初始相位补偿角度时被配置为记录本次振动抑制完成后最后的初始相位补偿角度以该最后的初始相位补偿角度作为下次振动抑制时的初始相位补偿 角度 Alternatively, the controller 50 obtains the initial phase compensation angle It is configured to record the final initial phase compensation angle after the vibration suppression is completed. With this final initial phase compensation angle As the initial phase compensation angle for the next vibration suppression
最后的初始相位补偿角度可参考前文的相关描述,此处不再赘述。The final initial phase compensation angle Please refer to the relevant description in the previous article and will not repeat it here.
本公开一些实施例还提供了一种空调器的控制方法。该方法应用于控制器上。所述空调器与上述空调器1000的结构类似。例如,所述空调器包括上述室内机10以及上述室外机20。室外机20包括压缩机201。Some embodiments of the present disclosure also provide a control method for an air conditioner. The method is applied to a controller. The air conditioner has a similar structure to the air conditioner 1000. For example, the air conditioner includes the indoor unit 10 and the outdoor unit 20. The outdoor unit 20 includes a compressor 201.
在此情况下,如图14所示,该方法包括步骤41至步骤47。In this case, as shown in FIG. 14 , the method includes steps 41 to 47 .
在步骤41中,判断压缩机201的当前运行频率是否小于截止频率。若是,则执行步骤42;若否,则继续判断压缩机201的当前运行频率是否小于截止频率。In step 41, it is determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency. If so, step 42 is executed; if not, it is further determined whether the current operating frequency of the compressor 201 is less than the cut-off frequency.
在步骤42中,获取压缩机201的第一转速值ωr_ref和第二转速值ωr。In step 42 , a first speed value ω r_ref and a second speed value ω r of the compressor 201 are acquired.
在步骤43中,根据第一转速值ωr_ref和第二转速值ωr获得压缩机201的速度纹波。In step 43, the speed ripple of the compressor 201 is obtained according to the first speed value ω r_ref and the second speed value ω r .
在步骤44中,对速度纹波作定积分运算以获得速度纹波的积分值。In step 44, a definite integral operation is performed on the velocity ripple to obtain an integral value of the velocity ripple.
在步骤45中,获取初始相位补偿角度和角度步进值,并根据所述角度步进值、初始相位补偿角度和速度纹波的积分值获得目标相位补偿角度 In step 45, the initial phase compensation angle is obtained and angle step value, and according to the angle step value, the initial phase compensation angle The target phase compensation angle is obtained by integrating the velocity ripple
在步骤46中,根据速度纹波和目标相位补偿角度获得Q轴的第一电流补偿值Iq_comp以控制压缩机201。In step 46, the speed ripple and the target phase compensation angle are calculated. A first current compensation value I q — comp of the Q axis is obtained to control the compressor 201 .
在步骤47中,将初始相位补偿角度赋值为目标相位补偿角度并返回执行步骤41。In step 47, the initial phase compensation angle Assign the target phase compensation angle And return to execute step 41.
在一些实施例中,速度纹波的积分值包括压缩机201的上一运行周期内速度纹波的积分值和当前运行周期内速度纹波的积分值,如图15和图16所示,步骤44包括步骤441至步骤444。In some embodiments, the integral value of the speed ripple includes the integral value of the speed ripple in the previous operation cycle of the compressor 201 and the integral value of the speed ripple in the current operation cycle. As shown in FIGS. 15 and 16 , step 44 includes steps 441 to 444 .
在步骤441中,对压缩机201的上一运行周期内的速度纹波作绝对值运算(即,控制器将上一运行周期内的速度纹波位于负半周的曲线翻转,以使该曲线的值由负值变为正值),以获得上一运行周期内速度纹波的绝对值。In step 441, an absolute value operation is performed on the speed ripple in the previous operating cycle of the compressor 201 (i.e., the controller flips the curve of the speed ripple in the previous operating cycle in the negative half cycle so that the value of the curve changes from a negative value to a positive value) to obtain the absolute value of the speed ripple in the previous operating cycle.
在步骤442中,对上一运行周期内速度纹波的绝对值作定积分运算,以获得上一运行周期内速度纹波的积分值,(即,控制器获得上一运行周期内速度纹波的面积)。In step 442, a definite integral operation is performed on the absolute value of the speed ripple in the previous operation cycle to obtain the integral value of the speed ripple in the previous operation cycle (ie, the controller obtains the area of the speed ripple in the previous operation cycle).
在步骤443中,对压缩机201的当前运行周期内的速度纹波作绝对值运算(即,控制器将当前运行周期内速度纹波位于负半周的曲线翻转,以使该曲线的值由负值变为正值),以获得当前运行周期内速度纹波的绝对值。In step 443, an absolute value operation is performed on the speed ripple in the current operating cycle of the compressor 201 (i.e., the controller flips the curve of the speed ripple in the negative half cycle in the current operating cycle so that the value of the curve changes from a negative value to a positive value) to obtain the absolute value of the speed ripple in the current operating cycle.
在步骤444中,对当前运行周期内速度纹波的绝对值作定积分运算,以获得当前运行周期内速度纹波的积分值(即,控制器获得当前运行周期内速度纹波的面积)。In step 444, a definite integral operation is performed on the absolute value of the speed ripple in the current operation cycle to obtain the integral value of the speed ripple in the current operation cycle (ie, the controller obtains the area of the speed ripple in the current operation cycle).
在一些实施例中,如图17所示,步骤45包括步骤451至步骤453。In some embodiments, as shown in FIG. 17 , step 45 includes steps 451 to 453 .
在步骤451中,判断上一运行周期内速度纹波的积分值是否大于当前运行周期内速度纹波的积分值。若是,则执行步骤452;若否,则执行步骤453。In step 451, it is determined whether the integral value of the speed ripple in the previous operation cycle is greater than the integral value of the speed ripple in the current operation cycle. If so, step 452 is executed; if not, step 453 is executed.
在步骤452中,计算所述角度步进值和初始相位补偿角度之和,并将该和作为目标相位补偿角度 In step 452, the angle step value and the initial phase compensation angle are calculated. The sum is used as the target phase compensation angle
在步骤453中,计算所述角度步进值和初始相位补偿角度之差,并将该差作为目标相位补偿角度 In step 453, the angle step value and the initial phase compensation angle are calculated. The difference is taken as the target phase compensation angle
在一些实施例中,如图17所示,在步骤451之前,步骤45还包括步骤4501和步骤4502。In some embodiments, as shown in FIG. 17 , before step 451 , step 45 further includes step 4501 and step 4502 .
在步骤4501中,获取压缩机201的当前运行频率。In step 4501 , the current operating frequency of the compressor 201 is obtained.
控制器获取压缩机201的当前运行频率的方法在前文已经描述,此处不再赘述。The method by which the controller obtains the current operating frequency of the compressor 201 has been described above and will not be repeated here.
在步骤4502中,根据压缩机201的当前运行频率确定角度步进值。In step 4502 , the angle step value is determined according to the current operating frequency of the compressor 201 .
需要说明的是,本公开一些实施例提供的空调器的控制方法,与上述实施例提供的空调器中的控制器所执行的所有流程步骤相同,两者的工作原理和有益效果一一对应,因而在此不再赘述。It should be noted that the control method of the air conditioner provided in some embodiments of the present disclosure is the same as all the process steps executed by the controller in the air conditioner provided in the above embodiments, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated here.
以下参考图20对相位补偿角度的确定方法做示例性说明。The following is an exemplary description of a method for determining the phase compensation angle with reference to FIG. 20 .
如图20所示,该方法包括步骤71至步骤81。As shown in FIG. 20 , the method includes steps 71 to 81 .
在步骤71中,对各参数初始化。也就是说,将压缩机的当前运行参数F赋值为0,以及将初始相位补偿角度赋值为0。 In step 71, each parameter is initialized. That is, the current operating parameter F of the compressor is assigned a value of 0, and the initial phase compensation angle is set to Assign a value of 0.
在步骤72中,判断压缩机201是否处于振动抑制状态(例如,压缩机201的当前运行频率是否大于截止频率)。若是,则执行步骤73;若否,则返回步骤71。In step 72 , it is determined whether the compressor 201 is in a vibration suppression state (for example, whether the current operating frequency of the compressor 201 is greater than the cutoff frequency). If yes, step 73 is executed; if no, the process returns to step 71 .
在步骤73中,计算上一运行周期内速度纹波的积分值Δωrs(n-1)。In step 73 , the integrated value Δωr s (n-1) of the speed ripple in the previous operation cycle is calculated.
在步骤74中,确定目标相位补偿角度为初始相位补偿角度和角度步进值之和。In step 74, the target phase compensation angle is determined is the initial phase compensation angle and angle step value Sum.
在步骤75中,控制压缩机201的当前运行参数F递增以获得递增后的当前运行参数F,并计算当前运行周期内速度纹波的积分值Δωrs(n)。In step 75 , the current operating parameter F of the compressor 201 is controlled to be incremented to obtain the incremented current operating parameter F, and the integral value Δωr s (n) of the speed ripple in the current operating cycle is calculated.
在步骤76中,判断压缩机201当前运行参数F(递增的运行参数)是否达到预设运行参数Fmax。若是,则执行步骤77;若否,则返回步骤75。In step 76 , it is determined whether the current operating parameter F (incremented operating parameter) of the compressor 201 reaches the preset operating parameter Fmax. If yes, step 77 is executed; if not, the process returns to step 75 .
在步骤77中,判断当前运行周期内速度纹波的积分值Δωrs(n)是否小于上一运行周期内速度纹波的积分值Δωrs(n-1)。若是,则执行步骤78;若否,则执行步骤79。In step 77 , it is determined whether the integral value Δωr s (n) of the speed ripple in the current operation cycle is less than the integral value Δωr s (n-1) of the speed ripple in the previous operation cycle. If so, step 78 is executed; if not, step 79 is executed.
在步骤78中,计算目标相位补偿角度为初始相位补偿角度和角度步进值的和值。In step 78, the target phase compensation angle is calculated is the initial phase compensation angle and angle step value The sum value of .
在步骤79中,计算目标相位补偿角度为初始相位补偿角度和角度步进值的差值。In step 79, the target phase compensation angle is calculated is the initial phase compensation angle and angle step value The difference.
在步骤80中,清零压缩机201的当前运行参数F。In step 80 , the current operating parameter F of the compressor 201 is cleared.
在步骤81中,将当前运行周期内速度纹波的积分值Δωrs(n)赋值给上一运行周期内速度纹波的积分值Δωrs(n-1),以将当前运行周期内速度纹波的积分值Δωrs(n)作为下一周期的上一运行周期内速度纹波的积分Δωrs(n-1),以用于计算下一周期的目标相位补偿角度之后,控制器返回步骤75。In step 81, the integral value Δωr s (n) of the speed ripple in the current operation cycle is assigned to the integral value Δωr s (n-1) of the speed ripple in the previous operation cycle, so that the integral value Δωr s (n) of the speed ripple in the current operation cycle is used as the integral Δωr s (n-1) of the speed ripple in the previous operation cycle of the next cycle, so as to calculate the target phase compensation angle of the next cycle. Afterwards, the controller returns to step 75 .
在上述实施方式的描述中,具体特征、结构、材料或者特点可以在任何一个或多个实施例或示例中以合适的方式结合。In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in a suitable manner in any one or more embodiments or examples.
本公开一些实施例提供了一种计算机可读存储介质(例如,非暂态计算机可读存储介质),该计算机可读存储介质中存储有计算机程序指令,计算机程序指令在控制器上运行时,使得控制器(例如,单片机)执行如上述实施例中任一实施例所述的空调器的控制方法。Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), in which computer program instructions are stored. When the computer program instructions are executed on a controller, the controller (e.g., a single-chip microcomputer) executes the air conditioner control method as described in any of the above embodiments.
例如,上述计算机可读存储介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,CD(Compact Disk,压缩盘)、DVD(Digital Versatile Disk,数字通用盘)等),智能卡和闪存器件(例如,EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、卡、棒或钥匙驱动器等)。本公开实施例描述的各种计算机可读存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读存储介质。术语“机器可读存储介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。For example, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., CDs (Compact Disks), DVDs (Digital Versatile Disks), etc.), smart cards and flash memory devices (e.g., EPROMs (Erasable Programmable Read-Only Memory), cards, sticks or key drives, etc.). The various computer-readable storage media described in the embodiments of the present disclosure may represent one or more devices and/or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
本公开一些实施例提供了一种计算机程序产品。该计算机程序产品包括计算机程序指令(该计算机程序指令例如存储在非暂态计算机可读存储介质上),在计算机上执行该计算机程序指令时,该计算机程序指令使计算机执行如上述实施例所述的空调器的控制方法。Some embodiments of the present disclosure provide a computer program product. The computer program product includes computer program instructions (the computer program instructions are, for example, stored on a non-transitory computer-readable storage medium), and when the computer program instructions are executed on a computer, the computer program instructions cause the computer to execute the control method of the air conditioner as described in the above embodiment.
本公开一些实施例提供了一种计算机程序。当该计算机程序在计算机上执行时,该计算机程序使计算机执行如上述实施例所述的空调器的控制方法。Some embodiments of the present disclosure provide a computer program. When the computer program is executed on a computer, the computer program enables the computer to execute the air conditioner control method as described in the above embodiments.
上述计算机可读存储介质、计算机程序产品及计算机程序的有益效果和上述实施例所述的空调器的控制方法的有益效果相同,此处不再赘述。The beneficial effects of the above-mentioned computer-readable storage medium, computer program product and computer program are the same as the beneficial effects of the air conditioner control method described in the above-mentioned embodiment, and will not be repeated here.
本领域的技术人员将会理解,本发明的公开范围不限于上述具体实施例,并且可以在不脱离本申请的精神的情况下对实施例的某些要素进行修改和替换。本申请的范围受所附权利要求的限制。 Those skilled in the art will appreciate that the disclosure scope of the present invention is not limited to the above specific embodiments, and certain elements of the embodiments may be modified and replaced without departing from the spirit of the present application. The scope of the present application is limited by the appended claims.
Claims (27)
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210203715.1A CN114520611A (en) | 2022-03-03 | 2022-03-03 | Air conditioner and method for suppressing low-frequency vibration of compressor |
CN2022102037185 | 2022-03-03 | ||
CN202210203718.5A CN114517937B (en) | 2022-03-03 | 2022-03-03 | Air conditioner and method for suppressing low-frequency vibration of compressor |
CN2022102037151 | 2022-03-03 | ||
PCT/CN2023/079663 WO2023165620A1 (en) | 2022-03-03 | 2023-03-03 | Air conditioners and control methods thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118044110A true CN118044110A (en) | 2024-05-14 |
Family
ID=87883103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202380013707.3A Pending CN118044110A (en) | 2022-03-03 | 2023-03-03 | Air conditioner and control method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN118044110A (en) |
WO (1) | WO2023165620A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2025112677A1 (en) * | 2023-11-29 | 2025-06-05 | 安徽美芝制冷设备有限公司 | Compressor control method, apparatus and device, and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113253B (en) * | 2014-07-01 | 2017-06-06 | 广东美芝制冷设备有限公司 | The suppressing method of velocity perturbation, control device and compressor control system |
KR20170075292A (en) * | 2015-12-23 | 2017-07-03 | 한온시스템 주식회사 | Safety speed driving method and system in electric compressor |
CN110463017B (en) * | 2017-03-31 | 2023-05-05 | 株式会社安川电机 | Motor control device, compressor, and motor control method |
CN109724330B (en) * | 2018-12-13 | 2021-07-23 | 重庆海尔空调器有限公司 | Method for suppressing speed fluctuation of air conditioner compressor |
CN114517937B (en) * | 2022-03-03 | 2023-08-01 | 海信空调有限公司 | Air conditioner and method for suppressing low-frequency vibration of compressor |
CN114520611A (en) * | 2022-03-03 | 2022-05-20 | 海信(山东)空调有限公司 | Air conditioner and method for suppressing low-frequency vibration of compressor |
-
2023
- 2023-03-03 CN CN202380013707.3A patent/CN118044110A/en active Pending
- 2023-03-03 WO PCT/CN2023/079663 patent/WO2023165620A1/en active Application Filing
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2025112677A1 (en) * | 2023-11-29 | 2025-06-05 | 安徽美芝制冷设备有限公司 | Compressor control method, apparatus and device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2023165620A1 (en) | 2023-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109463040B (en) | Motor drive device and refrigeration equipment | |
KR100738755B1 (en) | Motor controlling device, compressor, air conditioner and refrigerator | |
JP6877592B2 (en) | Drive device, fluid utilization device and air conditioner | |
CN101931363B (en) | Control method of VVVF (Variable Velocity Variable Frequency) direct-current brushless motor with voltage/current feedback | |
CN109314477B (en) | Motor driving device, refrigeration cycle device, and motor driving method | |
US11499537B2 (en) | Closed loop torque compensation for compressor applications | |
CN105529980B (en) | Control device of electric motor, compressor, air conditioner and program | |
CN109237848B (en) | Control compensation angle determination method and device based on low-frequency vibration of variable-frequency air conditioner | |
CN114517937B (en) | Air conditioner and method for suppressing low-frequency vibration of compressor | |
CN118044110A (en) | Air conditioner and control method thereof | |
JP3874865B2 (en) | Compressor torque control method and apparatus | |
JP7058562B2 (en) | Motor control device and air conditioner | |
JP6833071B2 (en) | Drive device, fluid utilization device and air conditioner | |
JP6838999B2 (en) | Motor control device and air conditioner | |
JP7042028B2 (en) | Motor control device and air conditioner | |
CN118611507A (en) | Motor drives and electronics | |
CN109660171B (en) | Method and device for suppressing fluctuation of rotation speed of compressor | |
CN110595091A (en) | Double-fan frequency conversion heat pump air conditioner and its control method | |
JP3995377B2 (en) | Control apparatus and method for refrigeration cycle | |
WO2009064050A2 (en) | Motor controller of air conditioner | |
Li et al. | Vibration suppression and control parameter design of a sensorless PMSM rotary compressor drive | |
WO2020070879A1 (en) | Compressor and refrigeration air conditioning apparatus using same | |
JPH0249983A (en) | Capacity control device for compressor | |
JP7705757B2 (en) | Air conditioners | |
JP2018129957A (en) | Motor controller and air conditioner |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |