Motor control method, controller, motor and air conditioner of air conditioner
Patent Information
- Application Number
- CN202211191575.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-09-28
AI Technical Summary
[0002]在空调器中设置有电机,而电机是按照固定升降频速度升降转速,如电机设置在风机中,在风轮负载是固定(或缓慢变化)的正常情况下的电机运行是不会出现问题,但是当风机遇到强逆风(如刮台风)的情况下,强逆风有可能会对风机的风轮形成强阻力,从而造成风轮负载出现不均匀增大,此时需要电机能够快速提高输出转矩,但是由于电机成本及结构设计,对于突加的重负载,往往转矩输出较慢,由此造成风机中的电机实际运行转速与目标转速差距过大导致出现停机保护的问题
[0009]根据本发明第一方面实施例的空调器的电机控制方法,至少具有如下有益效果:在空调器的电机处于速度闭环模式,获取该电机的转动速度和转速给定值,当判断转动速度与转速给定值的差值达到速度差阈值时,表示当前电机的转动受到外力的作用,如果不进行干预,有可能出现负载突变情况,那么此时根据实际的转动速度和目标转速得到第一转速变化率,根据第一转速变化率对电机的运作进行调整,即对转速给定值进行调整,使得转动速度趋近于转速给定值,以防止出现停机保护问题,有效提高电机运行的可靠性。
Smart Images

Figure CN117824083B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor technology, and in particular to a motor control method, controller, motor, and air conditioner for an air conditioner. Background Technology
[0002] Air conditioners contain motors that operate at a fixed speed. If the motor is located in a fan, it will not have any problems running under normal conditions when the fan load is fixed (or changes slowly). However, when the fan encounters strong headwinds (such as typhoons), the strong headwinds may create strong resistance on the fan's impeller, causing an uneven increase in the impeller load. In this case, the motor needs to be able to quickly increase its output torque. However, due to the cost and structural design of motors, the torque output is often slow for sudden heavy loads. This results in a large difference between the actual operating speed of the motor in the fan and the target speed, leading to a shutdown protection problem. Summary of the Invention
[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.
[0004] This invention provides a motor control method, controller, motor, and air conditioner for an air conditioner, which can effectively improve the reliability of the motor operation of the air conditioner.
[0005] A first aspect of the present invention provides a motor control method for an air conditioner, the method comprising:
[0006] When the motor of the air conditioner is in the speed closed-loop control stage, the rotational speed and speed setpoint of the motor are obtained;
[0007] When the difference between the rotational speed and the given rotational speed reaches a speed difference threshold, a first rotational speed change rate is obtained based on the rotational speed and the given rotational speed.
[0008] The rotational speed setpoint is adjusted according to the first rotational speed change rate so that the rotational speed approaches the rotational speed setpoint.
[0009] The motor control method for an air conditioner according to a first aspect embodiment of the present invention has at least the following beneficial effects: when the air conditioner motor is in a speed closed-loop mode, the rotational speed and speed setpoint of the motor are obtained. When it is determined that the difference between the rotational speed and the speed setpoint reaches a speed difference threshold, it indicates that the current rotation of the motor is subjected to an external force. If no intervention is made, a sudden load change may occur. At this time, a first speed change rate is obtained based on the actual rotational speed and the target speed. The operation of the motor is adjusted according to the first speed change rate, that is, the speed setpoint is adjusted so that the rotational speed approaches the speed setpoint, so as to prevent the shutdown protection problem and effectively improve the reliability of motor operation.
[0010] In some embodiments, the motor is disposed in the fan of the air conditioner, or the motor is disposed in the compressor of the air conditioner.
[0011] In some embodiments, obtaining the first rate of change of rotational speed based on the rotational speed error value includes:
[0012] The speed error range is determined based on the speed error value;
[0013] The first speed change rate is obtained based on the speed error range.
[0014] In some embodiments, obtaining the first speed change rate based on the speed error range includes:
[0015] The target speed coefficient corresponding to the speed error range is obtained by looking up a preset correspondence table based on the speed error range.
[0016] The first speed change rate is obtained based on the target speed coefficient and the second speed change rate.
[0017] In some embodiments, the method further includes: when the target speed sent by the host computer of the motor is greater than the given speed value, the speed error value is the difference between the given speed value and the rotational speed, and the speed error value is greater than 0; or when the target speed is greater than the given speed value, the speed error value is the difference between the rotational speed and the given speed value, and the speed error value is less than 0, the absolute value of the speed error value is inversely proportional to the target speed coefficient, the target speed coefficient is less than 1 and greater than 0, and the second speed change rate characterizes the initial frequency increase rate.
[0018] In some embodiments, the method further includes: when the target speed sent by the host computer of the motor is less than the given speed value, the speed error value is the difference between the given speed value and the rotational speed, and the speed error value is less than 0; or, when the target speed is less than the given speed value, the speed error value is the difference between the rotational speed and the given speed value, and the speed error value is greater than 0, the absolute value of the speed error value is proportional to the target speed coefficient, the target speed coefficient is greater than 1, and the second speed change rate characterizes the initial frequency reduction speed.
[0019] In some embodiments, obtaining the first speed change rate based on the speed error value includes:
[0020] Obtain the preset maximum speed error, minimum speed error, maximum speed setting, and minimum speed setting;
[0021] The first speed change rate is obtained by linear interpolation based on the speed error value, the maximum speed error value, the minimum speed error value, the maximum speed given value, and the minimum speed given value.
[0022] A second aspect of the present invention provides a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the motor control method for an air conditioner as described in the first aspect.
[0023] A third aspect of the present invention provides an electric motor, including the controller as described in the second aspect;
[0024] A fourth aspect of the present invention provides an air conditioner including a motor as described in the third aspect.
[0025] A fifth aspect of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the motor control method for an air conditioner as described in the first aspect.
[0026] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims, and drawings. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the system architecture platform for executing a motor control method for an air conditioner, provided in an embodiment of the present invention;
[0028] Figure 2 This is a flowchart of a motor control method for an air conditioner provided in one embodiment of the present invention;
[0029] Figure 3 This is a flowchart of a motor control method for an air conditioner provided in another embodiment of the present invention;
[0030] Figure 4 This is a flowchart of a motor control method for an air conditioner provided in another embodiment of the present invention;
[0031] Figure 5 This is a flowchart of a motor control method for an air conditioner provided in another embodiment of the present invention;
[0032] Figure 6 This is a flowchart of a motor control method for an air conditioner provided in another embodiment of the present invention;
[0033] Figure 7 This is a flowchart of a motor control method for an air conditioner provided in another embodiment of the present invention. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various implementations. Simultaneously, the steps or actions in the method description can be rearranged or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various orders in the specification and drawings are merely for the clear description of a particular embodiment and do not imply a mandatory order, unless otherwise stated that a particular order must be followed.
[0035] In the description of this invention, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0036] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).
[0037] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0038] In related technologies, air conditioners incorporate motors. The motor's starting process primarily involves a pre-processing stage, a positioning stage, an open-loop speed control stage, and a closed-loop speed control stage. The pre-processing stage mainly handles self-charging and speed estimation. The positioning stage primarily uses a preset fixed-angle dq-axis current to drive the motor rotor to the set angle. The open-loop speed control stage ensures the motor reaches a set speed within a set time. The open-loop speed control period is fixed, and the target speed for switching from open-loop to closed-loop speed control is also fixed. In the closed-loop speed control stage, the motor speed is closed-loop, and the controller output is adjusted according to the target speed.
[0039] The working process of the positioning processing stage - speed open-loop control stage - speed closed-loop control stage is as follows: In the positioning processing stage, the maximum setpoint values of id and iq are preset. Within the positioning time, id and iq ramp up to reach the maximum setpoint values, completing the positioning processing. After the positioning processing is completed, the speed open-loop control stage begins. At this time, the setpoint values of id and iq remain unchanged, and the preset angle begins to slowly change, driving the motor to rotate in an open loop. After the speed open-loop control stage ends, the speed closed-loop control stage begins. At this time, id gradually decreases (id can also be equal to 0), and iq begins to adjust the motor speed according to the speed loop control closed loop, adjusting the motor speed towards the target speed according to the set speed change value.
[0040] For example, when a motor is installed in a wind turbine, it will not have any problems operating under normal conditions when the load on the wind turbine is fixed (or changes slowly). However, when the wind turbine encounters strong headwinds (such as typhoons), the strong headwinds may create strong resistance on the wind turbine's rotor, causing the rotor load to increase unevenly. At this time, the motor needs to be able to quickly increase its output torque. However, due to the cost and structural design of the motor, the torque output is often slow for sudden heavy loads. This results in a large difference between the actual operating speed of the motor in the wind turbine and the target speed, leading to the problem of shutdown protection.
[0041] Based on the above, embodiments of the present invention provide a motor control method, controller, fan, and computer-readable storage medium for an air conditioner. The motor control method for the air conditioner includes, but is not limited to, the following steps:
[0042] When the air conditioner motor is in the speed closed-loop control stage, the rotational speed and speed setpoint of the motor are obtained. The speed setpoint is the target speed obtained by the motor based on the speed change value.
[0043] When the rotational speed change value is the second rotational speed change rate, and the difference between the rotational speed and the given rotational speed value reaches the speed difference threshold, the first rotational speed change rate is obtained based on the rotational speed and the given rotational speed value.
[0044] The rotational speed setpoint is adjusted based on the first rotational speed change rate to make the rotational speed approach the rotational speed setpoint.
[0045] According to the technical solution of the present invention, in the embodiment of the present invention, when the motor of the air conditioner is in the speed closed-loop mode, the rotation speed and the speed setpoint of the motor are obtained. When it is determined that the difference between the rotation speed and the speed setpoint reaches the speed difference threshold, it indicates that the current rotation of the motor is subjected to external force. If no intervention is made, a sudden load change may occur. At this time, a first speed change rate is obtained based on the actual rotation speed and the target speed. The operation of the motor is adjusted according to the first speed change rate, that is, the speed setpoint is adjusted so that the rotation speed approaches the speed setpoint, so as to prevent the shutdown protection problem and effectively improve the reliability of motor operation.
[0046] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0047] like Figure 1 As shown, Figure 1 This is a schematic diagram of a system architecture platform for performing a motor control method for an air conditioner, provided in an embodiment of the present invention.
[0048] The system architecture platform 1000 of this embodiment includes one or more processors 1001 and a memory 1002. Figure 1 The example uses a processor 1001 and a memory 1002.
[0049] Processor 1001 and memory 1002 can be connected via a bus or other means. Figure 1 Taking the example of a connection between China and Israel via a bus.
[0050] Memory 1002, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 1002 may optionally include memory 1002 remotely located relative to processor 1001, and these remote memories can be connected to the system architecture platform 1000 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0051] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the system architecture platform 1000 and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0052] exist Figure 1 In the system architecture platform 1000 shown, the processor 1001 can be used to call the motor control program of the air conditioner stored in the memory 1002, thereby realizing the motor control method of the air conditioner.
[0053] Based on the hardware structure of the above-mentioned system architecture platform 1000, various embodiments of the motor control method for air conditioners of the present invention are proposed.
[0054] like Figure 2 As shown, Figure 2 This is a flowchart of a motor control method for an air conditioner according to an embodiment of the present invention. The motor control method for an air conditioner according to an embodiment of the present invention includes, but is not limited to, steps S100, S200, and S300.
[0055] Step S100: When the air conditioner motor is in the speed closed-loop control stage, obtain the rotational speed and speed setpoint of the motor.
[0056] In one embodiment, after the air conditioner motor enters the speed closed-loop control stage, the motor obtains the target speed sent by the host computer, and then calculates the speed change value based on the target speed and the time it takes for the current motor rotation speed to reach the target speed. Then, the motor can calculate the speed setpoint based on the speed change value, adjust the rotation speed according to the speed setpoint, and obtain the motor speed in real time. The speed setpoint represents the target speed that the motor needs to reach at a certain moment during the acceleration / deceleration process of the target speed sent by the host computer.
[0057] In one embodiment, after the air conditioner motor enters the speed closed-loop control stage, the motor obtains the target speed sent by the host computer, and then the motor can calculate the speed setpoint according to the preset speed change value. The rotation speed is adjusted according to the speed setpoint, and the motor speed is obtained in real time. The speed setpoint represents the target speed that the motor needs to reach at a certain moment in the acceleration / deceleration process of the target speed sent by the host computer.
[0058] In one embodiment, when the air conditioner motor is in the speed closed-loop control stage, the motor obtains a new speed change value, and then the motor can calculate a speed setpoint based on the new speed change value. The motor adjusts its rotation speed according to the speed setpoint and obtains the motor speed in real time. The speed setpoint represents the target speed that the motor needs to reach at a certain moment in the target speed acceleration / deceleration process sent to the host computer.
[0059] Step S200: When the difference between the rotational speed and the given rotational speed reaches the speed difference threshold, the first rotational speed change rate is obtained based on the rotational speed and the given rotational speed.
[0060] Specifically, the speed change value used to determine the speed setpoint is the second speed change rate. After the motor obtains the actual rotation speed at the current moment, it compares the actual rotation speed at the current moment with the speed setpoint that the motor should reach at the current moment. If the comparison result is that the difference between the rotation speed and the speed setpoint reaches the speed difference threshold, it can be considered that the current rotation of the motor is affected by an external force, making the actual rotation speed of the motor unable to match the speed setpoint. If no intervention is taken, a sudden load change may occur, causing the actual operating speed of the motor in the fan to be too far from the target speed, resulting in a shutdown protection problem. At this time, the first speed change rate can be obtained based on the rotation speed and the speed setpoint. The first speed change rate is used to adjust and control the motor, whereby the first speed change rate is used to control the speed setpoint so that the speed setpoint changes according to the set speed change rate.
[0061] It should be noted that the speed difference threshold can be set according to the actual situation, and this embodiment does not impose any specific limitations on it.
[0062] In some embodiments, the motor is installed in the fan of the air conditioner. When the actual rotation speed at the current moment is inconsistent with the given speed value that the motor should reach at the current moment, it can be assumed that the blades of the fan are subjected to the wind force, which causes a sudden change in load on the motor connected to the blades. This may cause the actual operating speed of the motor in the fan to be too different from the target speed, resulting in a shutdown protection problem. In order to improve the reliability of motor operation, a first speed change rate can be obtained based on the rotation speed and the given speed value.
[0063] In some embodiments, the motor is installed in the compressor of the air conditioner. When the actual rotation speed at the current moment is inconsistent with the given speed value that the motor should reach at the current moment, it can be considered that the compressor is under refrigerant disturbance, which causes a sudden change in the load of the motor in the compressor. This may cause the actual operating speed of the motor to be too different from the target speed, resulting in a shutdown protection problem. In order to improve the reliability of motor operation, a first speed change rate can be obtained based on the rotation speed and the given speed value.
[0064] Step S300: Adjust the speed setpoint according to the first speed change rate so that the rotational speed approaches the speed setpoint.
[0065] Specifically, the speed setpoint is determined based on the first speed change rate determined by the rotational speed and the speed setpoint, so that the actual rotational speed of the motor can approach the speed setpoint during the subsequent rotational speed adjustment process, that is, the actual rotational speed is reduced from the speed setpoint, so as to prevent the shutdown protection problem and effectively improve the reliability of motor operation.
[0066] In the embodiments of steps S100 to S300, when the air conditioner motor is in speed closed-loop mode, the rotational speed and speed setpoint of the motor are obtained. When it is determined that the difference between the rotational speed and the speed setpoint reaches the speed difference threshold, it indicates that the current rotation of the motor is subjected to external force. If no intervention is made, a sudden load change may occur. At this time, a first speed change rate is obtained based on the actual rotational speed and the target speed. The speed setpoint of the motor is adjusted according to the first speed change rate. Since the first speed change rate has fully considered the difference between the rotational speed and the target speed, and the first speed change rate is used to control the speed setpoint so that the speed setpoint changes according to the set speed change rate, adjusting the operation of the motor through the first speed change rate can make the rotational speed approach the speed setpoint, thereby preventing the shutdown protection problem and effectively improving the reliability of motor operation.
[0067] Reference Figure 3 Step S200 includes, but is not limited to, the following steps S310 and S320:
[0068] Step S310: Obtain the rotational speed error value based on the given rotational speed and rotational speed.
[0069] In one embodiment, the rotational speed and the given rotational speed can be directly subtracted to obtain the rotational speed error value.
[0070] In one embodiment, the rotational speed setpoint can be multiplied by a coefficient, and then the rotational speed can be subtracted from the rotational speed setpoint to obtain the rotational speed error value.
[0071] In one embodiment, the rotational speed can be multiplied by a coefficient, and then the rotational speed can be subtracted from the given rotational speed value to obtain the rotational speed error value.
[0072] It should be noted that subtracting the rotational speed from the given rotational speed can be either subtracting the given rotational speed from the rotational speed or subtracting the rotational speed from the given rotational speed; this embodiment does not impose a specific limitation on either.
[0073] Step S320: Calculate the first speed change rate based on the speed error value.
[0074] In one embodiment, the magnitude and sign of the rotational speed error value can be determined to determine the rotational speed error range to which the rotational speed error value belongs, and then the first rotational speed change rate can be determined based on the rotational speed error range.
[0075] In one embodiment, the rotational speed error value can be input into a preset formula, and the first rotational speed change rate can be obtained by converting the formula.
[0076] Reference Figure 4 Step S320 includes, but is not limited to, the following steps S410 and S420:
[0077] Step S410: Determine the speed error range based on the speed error value.
[0078] In one embodiment, the rotational speed error value is the rotational speed setpoint minus the rotational speed. Three rotational speed error ranges are set: the first error range is the range between a first error threshold and 0, wherein the first error threshold is greater than 0; the second error range is the range between a second error threshold and the first error threshold, wherein the second error threshold is greater than the first error threshold; and the third error range is the range between a third error threshold and the second error threshold, wherein the third error threshold is greater than the second error threshold.
[0079] It should be noted that the number of speed error ranges can be set according to the actual situation. There can be 3, 4, or 5 ranges. This embodiment does not make a specific limitation on it.
[0080] Step S420: Obtain the first speed change rate based on the speed error range.
[0081] Specifically, each speed error range corresponds to a different first speed change rate, which can be set according to actual conditions. This embodiment does not impose any specific limitations on it.
[0082] In one embodiment, when the motor is in a state where the target speed is greater than the given speed, the speed error is the difference between the given speed and the rotational speed, and the speed error is greater than 0, it can be seen that the motor speed is encountering headwinds during the acceleration process (frequency increase state), which prevents the motor speed from increasing to the given speed. At this time, the speed error value (the speed error value corresponds to the speed error range) should be inversely proportional to the first speed change rate, where the target speed coefficient is less than 1 and greater than 0, and the second speed change rate represents the initial frequency increase rate. That is, the greater the headwind encountered by the motor blades, the greater the speed error value. In order to prevent sudden load changes, the motor torque cannot be too small, but it needs to gradually reach the target speed. Therefore, it is necessary to reduce the increase value of the motor speed, that is, the first speed change rate is less than the second speed change rate.
[0083] It should be noted that the initial frequency ramp-up rate can be preset or calculated based on the air conditioner's operating parameters; this embodiment does not impose any specific limitations on it.
[0084] In one embodiment, when the motor is at a target speed greater than the set speed, the speed error is the difference between the set speed and the rotational speed, and the speed error is less than 0, it can be seen that the motor speed is in a deceleration process (frequency reduction state) encountering a tailwind, preventing the motor's rotational speed from decreasing to the set speed. At this time, the absolute value of the speed error (the speed error value corresponds to the speed error range) should be proportional to the absolute value of the first speed change rate, where the target speed coefficient is greater than 1, and the second speed change rate represents the initial frequency reduction speed. That is, the greater the tailwind encountered by the motor blades, the greater the speed error. In order to quickly decrease to the target speed, the first speed change rate needs to be lower than the second speed change rate to meet the user's needs.
[0085] It should be noted that the initial frequency reduction speed can be preset or calculated based on the operating parameters of the air conditioner. This embodiment does not impose any specific limitations on it.
[0086] Reference Figure 5 Step 420 includes, but is not limited to, the following steps S510 and S520:
[0087] Step S510: Find the target speed coefficient corresponding to the speed error range by looking up the preset correspondence table according to the speed error range.
[0088] Step S520: Obtain the first speed change rate based on the target speed coefficient and the second speed change rate.
[0089] Specifically, the motor has a pre-set correspondence table between the speed error range and the target speed coefficient. The first speed change rate is obtained by multiplying the target speed coefficient and the second speed change rate. After the motor determines the speed error range based on the speed error value, the target speed coefficient corresponding to the speed error range is found from the pre-set correspondence table. Then, the target speed system is multiplied by the second speed change rate to obtain the first speed change rate.
[0090] In one embodiment, when the target speed sent by the host computer of the motor is greater than the given speed value, the speed error value is the difference between the given speed value and the rotational speed, and the speed error value is greater than 0, or when the target speed is greater than the given speed value, the speed error value is the difference between the rotational speed and the given speed value, and the speed error value is less than 0, the absolute value of the speed error value is inversely proportional to the target speed coefficient, the target speed coefficient is less than 1 and greater than 0, and the second speed change rate characterizes the initial frequency increase speed of the motor.
[0091] In one embodiment, when the target speed sent by the host computer of the motor is less than the given speed value, the speed error value is the difference between the given speed value and the rotational speed, and the speed error value is less than 0, or when the target speed is less than the given speed value, the speed error value is the difference between the rotational speed and the given speed value, and the speed error value is greater than 0, the absolute value of the speed error value is proportional to the target speed coefficient, the target speed coefficient is greater than 1, and the second speed change rate characterizes the initial frequency reduction speed of the motor.
[0092] Reference Figure 6 Step 320 includes, but is not limited to, the following steps S610 and S620:
[0093] Step S610: Obtain the preset maximum speed error, minimum speed error, maximum speed setting, and minimum speed setting.
[0094] Step S620: The first speed change rate is obtained by linear interpolation based on the speed error value, the maximum speed error value, the minimum speed error value, the maximum speed given value, and the minimum speed given value.
[0095] Specifically, the parameter table of the motor has preset maximum speed error, minimum speed error, maximum speed setpoint, and minimum speed setpoint. After the speed error value is calculated, the maximum speed setpoint, minimum speed setpoint, maximum speed error, minimum speed error, and speed error value are input into the linear interpolation formula for calculation to obtain the first speed change rate.
[0096] In one embodiment, when the motor is in the process of increasing speed, the motor parameter table has preset maximum speed, minimum speed, maximum speed error, and minimum speed error. Then, the actual first speed change rate can be calculated according to the linear interpolation formula:
[0097]
[0098] Where △ωmax is the maximum speed error, △ωmin is the minimum speed error, αmax is the maximum speed given, αmin is the minimum speed given, and α is the first speed change rate.
[0099] Reference Figure 7 , Figure 7 This is a flowchart of a motor control method for an air conditioner provided in another embodiment of the present invention, including...
[0100] Step S710: Determine whether the motor is in the speed closed-loop control stage. If yes, proceed to step S720; otherwise, end the process.
[0101] Step S720: Determine whether the current setpoint speed is greater than the target speed sent by the host computer. If yes, proceed to step S730; otherwise, proceed to step S740.
[0102] Step S730: The motor is currently in frequency-increase mode; detect the actual rotational speed ω. really and the current speed setpoint ω ref And the rotational speed error value Δω=ω is calculated. ref -ω really :
[0103] Step S731: Determine whether the rotational speed error value satisfies Δω≥Δω1>0. If yes, proceed to step S732; otherwise, proceed to step S733.
[0104] Step S732, change the speed change value to α 升1 =α 升 *K1 (K1 is the speed coefficient, which is less than 1 and greater than 0);
[0105] Step S733: Determine whether the speed error value satisfies △ω1≥△ω≥△ω2>0. If yes, proceed to step S734; otherwise, proceed to step S735.
[0106] Step S734, change the speed change value to α 升2 =α 升 *K2 (K2 is a speed coefficient that is less than 1, greater than 0, and greater than or equal to K1);
[0107] Step S735: Determine whether the rotational speed error value satisfies △ω2≥△ω≥△ω3>0. If yes, proceed to step S736; otherwise, proceed to step S737.
[0108] Step S736, change the rotational speed change value to α 升3 =α 升 *K3 (K3 is a speed coefficient that is less than 1, greater than 0, and greater than or equal to K2);
[0109] Step S737, change the rotational speed change value to α 升4 =α 升 *K4 (K4 is a speed coefficient that is less than 1, greater than 0, and greater than or equal to K3); (According to the step logic, the speed error value in step S737 satisfies 0 < △ω ≦ △ω3)
[0110] Step S740: Determine whether the current state of the fan is a frequency reduction state. If yes, proceed to step S750; otherwise, proceed to step S760.
[0111] Step S750: The motor is currently in a reduced frequency state; detect the actual rotational speed ω. reallyand the current speed setpoint ω ref And the rotational speed error value Δω=ω is calculated. really -ω ref :
[0112] Step S751: Determine whether the rotational speed error value satisfies Δω≥Δω5>0. If yes, proceed to step S752; otherwise, proceed to step S753.
[0113] Step S752, change the rotational speed change value to α 降1 =α 降 *K5 (K5 is a speed coefficient greater than 1 and less than 10);
[0114] Step S753: Determine whether the rotational speed error value satisfies △ω5≥△ω≥△ω5>0. If yes, proceed to step S754; otherwise, proceed to step S755.
[0115] Step S754, change the speed change value to α 降2 =α 降 *K6 (K6 is a speed coefficient that is less than 10, greater than 1, and less than or equal to K5);
[0116] Step S755: Determine whether the speed error value satisfies △ω5≥△ω≥△ω6>0. If yes, proceed to step S756; otherwise, proceed to step S757.
[0117] Step S756, change the rotational speed change value to α 降3 =α 降 *K7 (K7 is a speed coefficient that is less than 10, greater than 1, and less than or equal to K6);
[0118] Step S757, change the speed change value to α 降4 =α 降 *K8 (K8 is a speed coefficient that is less than 1, greater than 0, and less than or equal to K7); (According to the step logic, the speed error value in step S757 satisfies 0 < △ω ≦ △ω6)
[0119] In step S760, the fan's rotational speed reaches the target speed, and the speed change value is set as α. 升 Or α 降 ;
[0120] Step S770: Determine whether the speed change value is greater than the minimum frequency increase rate (minimum frequency decrease rate) and less than the maximum frequency increase rate (maximum frequency decrease rate). If yes, end the process; otherwise, proceed to step S780.
[0121] Step S780: Set the rotational speed change value to either the minimum frequency increase rate (minimum frequency decrease rate) or the maximum frequency increase rate (maximum frequency decrease rate).
[0122] It should be noted that α 升 α 降 The second rotational speed change rate, α, is equivalent to that in the above embodiment. 升1 α 升2 α 升3 α 升4 α 降1 α 降2 α 降3 α 降4 This is equivalent to the first rotational speed change rate in the above embodiment.
[0123] It should be noted that more gears can be set according to actual needs, and this embodiment does not make a specific limit on the number of gears.
[0124] It should be noted that the maximum speed change value shall not exceed the maximum speed change value preset in the parameter table, and the minimum speed change value shall not be lower than the minimum speed change value preset in the parameter table.
[0125] Based on the above-described motor control method for air conditioners, the following are various embodiments of the controller, fan, and computer-readable storage medium of the present invention.
[0126] One embodiment of the present invention provides a controller comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor.
[0127] The processor and memory can be connected via a bus or other means.
[0128] It should be noted that the controller in this embodiment may include, for example: Figure 1 The processor and memory in the illustrated embodiment belong to the same inventive concept, and therefore have the same implementation principle and beneficial effects, which will not be described in detail here.
[0129] The non-transient software program and instructions required to implement the motor control method of the air conditioner in the above embodiments are stored in the memory. When executed by the processor, the motor control method of the air conditioner in the above embodiments is executed.
[0130] Furthermore, embodiments of the present invention also provide a motor, which includes the controller described above.
[0131] It is worth noting that, since the motor in this embodiment of the invention has the controller of the above embodiment, and the controller of the above embodiment can execute the motor control method of the air conditioner in the above embodiment, the specific implementation method and technical effect of the motor of the air conditioner in this embodiment of the invention can refer to the specific implementation method and technical effect of the motor control method of the air conditioner in any of the above embodiments.
[0132] Furthermore, this invention also provides an air conditioner, the motor of which includes the motor described above.
[0133] It is worth noting that, since the air conditioner of this embodiment has the motor of the above embodiment, and the motor of the above embodiment can execute the motor control method of the air conditioner of the above embodiment, the specific implementation method and technical effect of the motor of the air conditioner of this embodiment can refer to the specific implementation method and technical effect of the motor control method of the air conditioner of any of the above embodiments.
[0134] This invention also provides a computer-readable storage medium storing computer-executable instructions for performing the aforementioned air conditioner motor control method, for example, […]. Figure 1 One of the processors 1001 executes, which can cause the one or more processors to execute the air conditioner motor control method in the above method embodiment, for example, to execute the above-described method. Figure 2 Method steps S100 to S300 Figure 3 Method steps S310 to S320, Figure 4 Method steps S410 to S420 Figure 5 Method steps S510 to S520 Figure 6 Method steps S610 to S620 and Figure 7 Method steps S710 to S780.
[0135] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network nodes. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0136] Those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer-readable storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer-readable storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0137] The above is a detailed description of the preferred embodiments of this application. However, this application is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. A motor control method for an air conditioner, characterized in that, The method includes: When the motor of the air conditioner is in the speed closed-loop control stage, the rotational speed and speed setpoint of the motor are obtained; When the difference between the rotational speed and the given rotational speed reaches a speed difference threshold, a rotational speed error value is obtained based on the rotational speed and the given rotational speed. Determine the speed error range and the target speed coefficient corresponding to the speed error range based on the speed error value; The first speed change rate is obtained based on the target speed coefficient and the second speed change rate, whereby the second speed change rate characterizes the initial frequency increase rate or the initial frequency decrease rate. The rotational speed setpoint is adjusted according to the first rotational speed change rate so that the rotational speed approaches the rotational speed setpoint.
2. The motor control method for an air conditioner according to claim 1, characterized in that, The motor is installed in the fan of the air conditioner, or the motor is installed in the compressor of the air conditioner.
3. The motor control method for an air conditioner according to claim 1, characterized in that, The method further includes: When the target speed sent by the host computer of the motor is greater than the given speed value, the speed error value is the difference between the given speed value and the rotational speed, and the speed error value is greater than 0; or when the target speed is greater than the given speed value, the speed error value is the difference between the rotational speed and the given speed value, and the speed error value is less than 0, the absolute value of the speed error value is inversely proportional to the target speed coefficient, the target speed coefficient is less than 1 and greater than 0, and the second speed change rate characterizes the initial frequency increase rate.
4. The motor control method for an air conditioner according to claim 1, characterized in that, The method further includes: When the target speed sent by the host computer of the motor is less than the given speed value, the speed error value is the difference between the given speed value and the rotational speed, and the speed error value is less than 0; or when the target speed is less than the given speed value, the speed error value is the difference between the rotational speed and the given speed value, and the speed error value is greater than 0, the absolute value of the speed error value is proportional to the target speed coefficient, the target speed coefficient is greater than 1, and the second speed change rate characterizes the initial frequency reduction speed.
5. The motor control method for an air conditioner according to claim 1, characterized in that, The step of obtaining the first speed change rate based on the speed error value includes: Obtain the preset maximum speed error, minimum speed error, maximum speed setting, and minimum speed setting; The first speed change rate is obtained by linear interpolation based on the speed error value, the maximum speed error value, the minimum speed error value, the maximum speed given value, and the minimum speed given value.
6. A controller, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the motor control method for an air conditioner as described in any one of claims 1 to 5.
7. An electric motor, characterized in that, Includes the controller as described in claim 6.
8. An air conditioner, characterized in that, Includes the motor described in claim 7.
9. A computer-readable storage medium, characterized in that, The device stores computer-executable instructions for performing the motor control method for an air conditioner as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Motor rotation speed restricting method and system
CN103746635A
Rotating speed adjusting method and device, electronic equipment and readable storage medium
CN113970157A