Method and device for determining number of motor pole pairs, and air conditioner outdoor unit
By acquiring and comparing the predetermined current and reference current of the motor, the number of pole pairs of the motor is automatically identified, solving the problem that cannot be identified in the existing technology, realizing high-efficiency operation and speed control of the motor, and improving the performance and energy efficiency of the air conditioner.
Patent Information
- Application Number
- CN202211013291.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-08-23
AI Technical Summary
Existing technologies cannot automatically identify the number of pole pairs of a motor, resulting in inaccurate control of the motor speed and affecting air conditioning performance and energy efficiency.
By acquiring the predetermined current and reference current of the target motor, comparing the absolute value of the difference to determine the actual number of pole pairs of the motor, and cyclically adjusting the preset number of pole pairs until the difference is less than a threshold, the automatic identification of the number of pole pairs of the motor is achieved.
It enables automatic identification of the number of motor pole pairs, ensuring high-efficiency motor operation, accurate speed control, and improved air conditioning performance and energy efficiency.
Smart Images

Figure CN115378331B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning technology, and more specifically, to a method, apparatus, computer-readable storage medium, processor, and outdoor unit of an air conditioner for determining the number of pole pairs of a motor. Background Technology
[0002] Brushless DC motors are widely used in air conditioner outdoor fans due to their high efficiency, long lifespan, low noise, and excellent mechanical characteristics. Outdoor fans are used for heat exchange in outdoor units, and their rotational speed significantly impacts air conditioner performance and energy efficiency, requiring precise speed control. Outdoor fan speed control is related to the number of pole pairs.
[0003] Motors of the same specifications but different models may have different numbers of pole pairs due to different manufacturers and cost reduction and efficiency improvement measures. Currently, the number of pole pairs is generally provided by the motor manufacturer, and there is a lack of methods for automatically identifying the number of pole pairs of a motor.
[0004] The information disclosed above in the background section is only intended to enhance the understanding of the background art of the art described herein. Therefore, the background art may contain certain information that does not constitute prior art known to those skilled in the art in this country. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, computer-readable storage medium, processor, and outdoor unit for determining the number of pole pairs of a motor, in order to solve the problem that the number of pole pairs of a motor cannot be automatically identified in the prior art.
[0006] According to one aspect of the present invention, a method for determining the number of pole pairs of a motor is provided, comprising: acquiring a predetermined current and a reference current of a target motor, wherein the predetermined current is current data of the target motor when it operates according to a preset number of pole pairs until the actual speed reaches a reference speed, and the reference current is preset current data; and determining the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current.
[0007] Optionally, determining the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current includes: determining whether the absolute value of the difference between the predetermined current and the reference current is less than or equal to a preset threshold; if the absolute value of the difference is less than or equal to the preset threshold, determining the actual number of pole pairs as the preset number of pole pairs; if the absolute value of the difference is greater than the preset threshold, determining the actual number of pole pairs based on the set of values for the preset number of pole pairs, the predetermined current, and the reference current.
[0008] Optionally, when the absolute value of the difference is greater than the preset threshold, determining the actual number of pole pairs based on the set of values for the preset pole pair number, the predetermined current, and the reference current includes: an adjustment step, whereby, when the absolute value of the difference is greater than the preset threshold, the preset pole pair number is adjusted according to the set of values to obtain the adjusted preset pole pair number; an acquisition step, whereby a new predetermined current is acquired, the new predetermined current being the predetermined current corresponding to the adjusted preset pole pair number; a determination step, whereby the absolute value of the difference between the new predetermined current and the reference current is less than or equal to the preset threshold; and a looping step, whereby, when the absolute value of the difference is greater than the preset threshold, the adjustment step, the acquisition step, and the determination step are executed sequentially until the absolute value of the difference is less than or equal to the preset threshold, and when the absolute value of the difference is less than or equal to the preset threshold, the corresponding preset pole pair number is the actual number of pole pairs.
[0009] Optionally, when the target motor is started, the preset pole pair number is the minimum value in the set of values, and the adjustment step includes: when the absolute value of the difference is greater than the preset threshold, assigning the target value in the set of values to the preset pole pair number to obtain the adjusted preset pole pair number, wherein the target value is the value that is greater than the preset pole pair number and has the smallest difference from the preset pole pair number.
[0010] Optionally, if the absolute value of the difference is still greater than the preset threshold after adjusting all the values in the set of values, the method further includes: controlling the target motor to stop running; generating fault information, wherein the fault information is information indicating that the determination of the number of pole pairs of the motor has failed.
[0011] Optionally, obtaining the predetermined current of the target motor includes: when the target motor is started, controlling the target motor to operate at the preset number of pole pairs; when the actual speed reaches the reference speed, controlling the target motor to rotate at the reference speed for a predetermined time and then obtaining the phase current data of the target motor to obtain the predetermined current.
[0012] Optionally, obtaining the reference current of the target motor includes: obtaining phase current data corresponding to multiple reference motors running at reference speeds to obtain multiple preliminary reference currents, wherein the reference motors are motors with the same specifications as the target motor; and calculating the average data of the multiple preliminary reference current data to obtain the reference current.
[0013] Optionally, after determining the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current, the method further includes: controlling the target motor to operate at the actual number of pole pairs and the reference speed.
[0014] According to another aspect of the embodiments of the present application, there is also provided a device for determining the pole pair number of a motor, comprising an obtaining unit and a determining unit, wherein the obtaining unit is configured to obtain a predetermined current of a target motor and a reference current, the predetermined current being the current data of the target motor running at a preset pole pair number until the actual rotating speed reaches a reference rotating speed, and the reference current being a preset current data; and the determining unit is configured to determine the actual pole pair number of the target motor according to at least the predetermined current and the reference current.
[0015] According to still another aspect of the embodiments of the present application, there is also provided a computer readable storage medium comprising a stored program, wherein the program performs any of the methods.
[0016] According to another aspect of the embodiments of the present application, there is also provided a processor configured to execute a program, wherein the program performs any of the methods when executed.
[0017] According to still another aspect of the embodiments of the present application, there is also provided an outdoor unit of an air conditioner, comprising a brushless direct current motor and a control device of the brushless direct current motor, the control device comprising one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs comprise instructions for performing any of the methods.
[0018] With the technical solution of the present application, in the method for determining the pole pair number of a motor, the current data of the motor running at a preset pole pair number until a reference rotating speed is obtained as a predetermined current, and a preset reference current is obtained, and then the actual pole pair number of the motor is determined according to at least the predetermined current and the preset reference current, thereby realizing automatic identification of the pole pair number of the motor, and facilitating subsequent accurate control of the rotating speed of the motor according to the actual pole pair number, and ensuring efficient operation of the motor. BRIEF DESCRIPTION OF DRAWINGS
[0019] The accompanying drawings, which form a part of the present application, are intended to provide further understanding of the present application, and are used to interpret the embodiments of the present application and their descriptions, and are not intended to be an improper limitation of the present application. In the drawings:
[0020] Figure 1 Fig. 1 shows a flow diagram of a method for determining the pole pair number of a motor according to an embodiment of the present application;
[0021] Figure 2 Fig. 3 shows a flow diagram of a method for obtaining a reference current according to an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a correspondence between actual rotation speed of a motor and number of pole pairs is shown according to an embodiment of the present application;
[0023] Figure 4 A flow chart of determining number of pole pairs of a motor according to a specific embodiment of the present application is shown.
[0024] Figure 5 A schematic diagram of a device for determining number of pole pairs of a motor according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0025] It should be noted that the embodiments and features of the embodiments in the present application can be combined with each other without conflict. The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0026] In order to enable persons skilled in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative labor should belong to the protection scope of the present application.
[0027] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] It should be understood that when an element (such as a layer, film, region, or substrate) is described as "on" another element, it can be directly on the other element, or there can be an intermediate element. Also, in the specification and claims, when it is described that an element is "connected" to another element, the element can be "directly connected" to the other element, or "connected" to the other element through a third element.
[0029] As described in the background, the prior art cannot automatically identify the pole pair number of the motor, in order to solve the above problems, in a typical embodiment of the present application, a motor pole pair number determination method, a determination device, a computer readable storage medium, a processor and an air conditioner outdoor unit are provided.
[0030] According to the embodiments of the present application, a motor pole pair number determination method is provided.
[0031] Figure 1 is a flowchart of the motor pole pair number determination method according to the embodiments of the present application. As shown in Figure 1 , the method comprises the following steps:
[0032] Step S101, obtaining the predetermined current of the target motor and the reference current, the predetermined current is the current data of the target motor running at a predetermined pole pair number until the actual speed reaches the reference speed, and the reference current is the preset current data;
[0033] The predetermined pole pair number is the estimated pole pair number data of the target motor. Motors of the same specification but different models may come from different manufacturers or the same manufacturer but different development stages. They have similar electrical parameters, but the actual pole pair number may be different. Due to the requirements of motor performance, economic indicators, etc., the pole pair number of different models of motors is basically controlled within a certain range, generally 4, 5, 6, 7 pairs of poles. Therefore, in an embodiment of the present application, the predetermined pole pair number can be set to 4, 5, 6 or 7. Of course, the predetermined pole pair number is not limited to the above values, and those skilled in the art can adjust the value of the predetermined pole pair number according to the actual situation.
[0034] Specifically, the predetermined current is the phase current data of the target motor running at a predetermined pole pair number until the actual speed reaches the reference speed, and the specific process of obtaining the predetermined current of the target motor is: in the case of starting the target motor, control the target motor to run at the predetermined pole pair number; in the case that the actual speed reaches the reference speed, control the target motor to rotate at the reference speed for a predetermined time period, and then obtain the phase current data of the target motor to obtain the predetermined current.
[0035] In the above embodiment, the target motor is first started, the target motor is controlled to run at the predetermined pole pair number and the reference speed, so that the speed of the target motor gradually increases, and when the actual speed reaches the reference speed, the target speed is controlled to run at the reference speed for a predetermined time period, that is, the target motor runs at the reference speed, and then runs for a predetermined time period. This can ensure that the phase current data is obtained when the target motor is running stably, thereby ensuring the accuracy of the phase current data and providing accurate data support for more accurately determining the actual pole pair number of the target motor.
[0036] Those skilled in the art can flexibly set the aforementioned predetermined duration value according to actual conditions. It should also be noted that the aforementioned reference speed is the speed of the rotating magnetic field, i.e., the synchronous speed of the aforementioned motor.
[0037] In order to automatically determine the actual number of pole pairs of the target motor, in the embodiments of this application, it is also necessary to obtain the reference current of the target motor. The reference current is also a phase current. The specific implementation of obtaining the reference current of the target motor can be as follows: obtain the phase current data corresponding to the operation of multiple reference motors at reference speeds to obtain multiple preliminary reference currents. The reference motors are motors with the same specifications as the target motor. Calculate the average data of the multiple preliminary reference currents to obtain the reference current.
[0038] Motors of the same specifications but different models, operating under the same load, will have the same motor speed and similar phase current values. For example... Figure 2 As shown, by obtaining the phase current data (i1, i2, ..., i...) of all motors of the same specification at the same reference speed n in advance... n Then, the average data of multiple phase currents is calculated to obtain the average phase current value, which is denoted as the reference current i. 参考 = (i1+i2+…+i n If the actual phase current value of the target motor is close to the reference phase current value, then the actual speed of the target motor is determined to be the same as the reference speed.
[0039] Step S102: Determine the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current.
[0040] In order to ensure the high-efficiency operation of the target motor, after determining the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current, the method further includes: controlling the target motor to operate at the actual number of pole pairs and the reference speed.
[0041] The actual number of pole pairs of the target motor is determined based at least on the predetermined current and the reference current mentioned above, including the following steps:
[0042] Step S201: Determine whether the absolute value of the difference between the predetermined current and the reference current is less than or equal to a preset threshold.
[0043] Step S202: If the absolute value of the difference is less than or equal to the preset threshold, determine the actual number of pole pairs as the preset number of pole pairs.
[0044] Step S203: If the absolute value of the difference is greater than the preset threshold, the actual number of pole pairs is determined based on the set of preset pole pair values, the predetermined current, and the reference current.
[0045] In the above embodiments, the preset threshold is a relatively small preset value. If the absolute value of the difference between the predetermined current and the reference current is less than or equal to the preset threshold, it indicates that the actual phase current data of the target motor is similar to the reference phase current data; if the actual phase current value is similar to the reference phase current value, it indicates that the actual speed of the target motor is the same as the reference speed. When the actual number of pole pairs of the target motor is unknown, the target motor is controlled to operate according to the reference speed n, and its operation is also controlled according to the preset number of pole pairs P, if and only if the preset number of pole pairs is equal to the actual number of pole pairs of the target motor (P). 预设 =P 实际 Only when the actual speed of the target motor is equal to the reference speed (n) will the actual speed of the target motor be equal to the reference speed (n). 实际 =n 参考 The relationship between the actual speed of the target motor and the reference speed is as follows:
[0046]
[0047] If the absolute value of the difference between the predetermined current and the reference current is less than or equal to a preset threshold, then the actual number of pole pairs is the same as the preset number of pole pairs. However, if the absolute value of the difference is greater than the preset threshold, then the actual speed of the target motor differs from the reference speed. In this case, the preset number of pole pairs of the target motor is not equal to its actual number of pole pairs. Therefore, it is necessary to redetermine the actual number of pole pairs based on the set of values for the preset number of pole pairs, the predetermined current, and the reference current.
[0048] Considering the actual number of pole pairs in the motor, the set of values for the above-mentioned preset number of pole pairs can be [4, 5, 6, 7].
[0049] Figure 3 The phase current waveform diagram for a motor with an actual number of pole pairs of 5 is obtained by using the method described above in this application, based on a reference speed n. 参考 To control the motor to run at 500 rpm, change the preset number of pole pairs P. 预设 The value of n, the actual speed of the motor 实际 As the phase current changes, its magnitude also changes. Specifically, for example... Figure 3 As shown. When it can be determined whether the actual speed of the motor is the same as the reference speed, it can be determined whether the preset number of pole pairs is the same as the actual number of pole pairs.
[0050] In the case that the absolute value of the difference is greater than the preset threshold, the specific steps of determining the actual number of pole pairs according to the value set of the preset number of pole pairs, the predetermined current and the reference current are as follows:
[0051] An adjusting step, in the case that the absolute value of the difference is greater than the preset threshold, the preset number of pole pairs is adjusted according to the value set to obtain an adjusted preset number of pole pairs;
[0052] An obtaining step, a new predetermined current is obtained, the new predetermined current is the predetermined current corresponding to the adjusted preset number of pole pairs;
[0053] A determining step, whether the absolute value of the difference between the new predetermined current and the reference current is less than or equal to the preset threshold is determined;
[0054] A circulating step, in the case that the absolute value of the difference is greater than the preset threshold, the adjusting step, the obtaining step and the determining step are executed in turn until the absolute value of the difference is less than or equal to the preset threshold, and in the case that the absolute value of the difference is less than or equal to the preset threshold, the corresponding preset number of pole pairs is the actual number of pole pairs.
[0055] By executing the above steps in a loop, the automatic identification of the actual number of pole pairs of the motor is further realized, the actual number of pole pairs of the motor can be determined without the manufacturer's provision, and the subsequent accurate control of the speed of the motor according to the actual number of pole pairs is facilitated, and the efficient operation of the motor is ensured.
[0056] In the actual application process, in the case that the target motor is started, the value of the preset number of pole pairs can be any value in the value set, and in the case that the absolute value of the difference is greater than the preset threshold, any value different from the value of the current preset number of pole pairs can be selected from the value set as the value of the updated preset number of pole pairs.
[0057] In the embodiments of the application, the phase current value of the motor under the same reference speed but different preset numbers of pole pairs is detected, compared with the reference phase current value, and it is judged whether the preset number of pole pairs of the motor is the actual number of pole pairs, and through a limited number of comparisons, the effect of automatically identifying the number of pole pairs of the motor is realized.
[0058] To avoid the situation that the adjusted preset pole pair number misses some values in the value set during the adjustment step, in an example, in the case of the target motor starting, the preset pole pair number is the minimum value in the value set, and the adjustment step includes: in the case that the absolute value of the difference is greater than the preset threshold, assigning a first target value in the value set to the preset pole pair number to obtain an adjusted preset pole pair number, the first target value is greater than the preset pole pair number, and the first target value is the value in the value set that has the smallest difference with the preset pole pair number. That is, the minimum value in the value set is assigned to the preset pole pair number, and in the case that the absolute value of the difference is greater than the preset threshold, the assigned value of the preset pole pair number is gradually increased according to the value set.
[0059] Of course, in other embodiments, in the case of the target motor starting, the preset pole pair number can also be the maximum value in the value set, and the adjustment step can also include: in the case that the absolute value of the difference is greater than the preset threshold, assigning a second target value in the value set to the preset pole pair number to obtain an adjusted preset pole pair number, the second target value is less than the preset pole pair number, and is the value in the value set that has the smallest difference with the preset pole pair number.
[0060] In actual applications, due to improper setting of values in the value set and other reasons, all values in the value set can be assigned to the preset pole pair number in the adjustment step, and after the loop step is executed, the corresponding absolute value of the difference is still greater than the preset threshold. In this case, to avoid continuing to use the current inappropriate value set to run and cause the problem of low efficiency of the pole pair number determination process, in this embodiment, in the case that the absolute value of the corresponding difference is still greater than the preset threshold after adjusting all values in the value set, the method further includes: controlling the target motor to stop running; generating fault information, the fault information being information indicating that the motor pole pair number determination fails.
[0061] In other embodiments, the determining the actual pole pair number of the target motor according to at least the predetermined current and the reference current can further include: a first determining step of determining whether the predetermined current is the same as the reference current; a second determining step of, in the case that the predetermined current is the same as the reference current, determining the actual pole pair number as the preset pole pair number; in the case that the predetermined current is different from the reference current, adjusting the preset pole pair number, and controlling the target motor to operate according to the adjusted preset pole pair number until the actual speed reaches the reference speed, obtaining the predetermined current; and repeatedly performing the first determining step and the second determining step until the predetermined current is the same as the reference current, and the preset pole pair number corresponding to the predetermined current which is the same as the reference current is the actual pole pair number.
[0062] In the method for determining the pole pair number of the motor, the reference current of the target motor is obtained, and the predetermined current of the target motor operating according to the preset pole pair number until the actual speed reaches the reference speed is obtained. Then, the actual pole pair number of the target motor is determined according to at least the predetermined current and the reference current. Compared with the prior art which cannot automatically identify the pole pair number of the motor, the current data of the motor operating according to the preset pole pair number until the reference speed is obtained as the predetermined current, and the preset reference current is obtained, and then the actual pole pair number of the motor is determined according to at least the predetermined current and the preset reference current, so that the automatic identification of the pole pair number of the motor is realized, and the subsequent accurate control of the speed of the motor according to the actual pole pair number is facilitated, and the efficient operation of the motor is ensured.
[0063] The target motor mentioned in the above embodiments can be a brushless direct current motor. Due to the rapid development of the position sensorless control method of the brushless direct current motor, the motor driving system is not strongly dependent on the electrical parameters of the motor. The electrical parameters of the same specification motor are similar, and a motor control system can be built to enable all motors of the same specification to reliably operate.
[0064] A specific embodiment, as shown in Figure 4 The determination process of the actual pole pair number of the motor is specifically explained as follows.
[0065] The motor identifies the pole pair number once each time it starts, and continues to operate normally after successful identification. If the identification fails, the motor stops running.
[0066] The motor starts operating according to the preset pole pair number P 预设 The initial value of the preset pole pair number is the minimum pole pair number of the same specification motor. The threshold pole pair number P 阈值 is the maximum pole pair number of the same specification motor. If the preset pole pair number P 预设 exceeds the threshold pole pair number P阈值 If the identification fails, the system is considered to be in failure and is handled as a fault shutdown.
[0067] When the motor runs to the reference speed, the motor runs for a delay time t 延时 After the motor runs stably, the phase current value i 实际 of the motor is detected.
[0068] The difference between the actual phase current i 实际 of the motor and the reference phase current i 参考 is determined, and if the difference is less than or equal to a threshold current i 阈值 , it is determined that the actual speed n 实际 of the motor is the same as the reference speed n 参考 , the preset pole pair number P 预设 is the same as the actual pole pair number P 实际 .
[0069] After the pole pair number is identified successfully, the motor is controlled to continue running at the reference speed.
[0070] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that shown herein.
[0071] The embodiment of the present application also provides a motor pole pair number determination device. It should be noted that the motor pole pair number determination device of the embodiment of the present application can be used to execute the motor pole pair number determination method provided by the embodiment of the present application. The motor pole pair number determination device provided by the embodiment of the present application is introduced as follows.
[0072] Figure 5 is a schematic diagram of the motor pole pair number determination device according to the embodiment of the present application. As shown in Figure 5 , the device comprises:
[0073] The acquisition unit 10 is configured to acquire a predetermined current and a reference current of a target motor. The predetermined current is the current data of the target motor running at a preset pole pair number until the actual speed reaches the reference speed, and the reference current is a preset current data.
[0074] The preset pole pair number is a pole pair number data of an estimated target motor. Motors of different specifications and models may come from different manufacturers or the same manufacturer at different development stages. They have similar electrical parameters, and the actual pole pair number may be different. Due to the requirements of motor operation performance, economic indicators, etc., the pole pair number of different models of motors is basically controlled within a certain range, generally 4, 5, 6, or 7 pole pairs. Therefore, in an embodiment of the present application, the preset pole pair number can be set to 4, 5, 6, or 7. Of course, the preset pole pair number is not limited to the above values, and a person skilled in the art can flexibly adjust the value of the preset pole pair number according to the actual situation.
[0075] In particular, the predetermined current is the phase current data of the target motor running at the preset pole pair number until the actual speed reaches the reference speed, the acquisition unit includes a first control module and a second control module, wherein the first control module is used to control the target motor to run at the preset pole pair number when the target motor starts; the second control module is used to control the target motor to run at the reference speed for a predetermined time after the actual speed reaches the reference speed, and to obtain the phase current data of the target motor to obtain the predetermined current.
[0076] In the above embodiment, the target motor is first started, and the target motor is controlled to run at the preset pole pair number and the reference speed, so that the speed of the target motor gradually increases. When the actual speed reaches the reference speed, the target speed is controlled to run at the reference speed for a predetermined time, that is, the target motor runs at the reference speed for a predetermined time. This can ensure that the phase current data is obtained when the target motor runs stably, thereby ensuring the accuracy of the phase current data and providing accurate data support for subsequent more accurate determination of the actual pole pair number of the target motor.
[0077] A person skilled in the art can flexibly set the value of the predetermined time according to the actual situation. In addition, it should be noted that the reference speed is the speed of the rotating magnetic field, that is, the synchronous speed of the motor.
[0078] In order to automatically determine the actual pole pair number of the target motor, in an embodiment of the present application, the reference current of the target motor also needs to be obtained. The reference current is also a phase current, and the acquisition unit further includes an acquisition module and a calculation module, wherein the acquisition module is used to obtain a plurality of reference motors corresponding to the phase current data running at the reference speed to obtain a plurality of preliminary reference currents, and the reference motor is a motor with the same specifications as the target motor; the calculation module is used to calculate the average data of a plurality of the preliminary reference current data to obtain the reference current.
[0079] Motors of the same specifications but different models, operating under the same load, will have the same motor speed and similar phase current values. For example... Figure 2 As shown, by obtaining the phase current data (i1, i2, ..., i...) of all motors of the same specification at the same reference speed n in advance... n Then, the average data of multiple phase currents is calculated to obtain the average phase current value, which is denoted as the reference current i. 参考 = (i1+i2+…+i n If the actual phase current value of the target motor is close to the reference phase current value, then the actual speed of the target motor is determined to be the same as the reference speed.
[0080] The determining unit 20 is used to determine the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current.
[0081] To ensure the high-efficiency operation of the target motor, the device further includes a first control unit, which is used to control the target motor to operate at the actual number of pole pairs and the reference speed after determining the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current.
[0082] The aforementioned determining unit includes the following modules:
[0083] The first determining module is used to determine whether the absolute value of the difference between the predetermined current and the reference current is less than or equal to a preset threshold.
[0084] The second determining module is used to determine the actual number of pole pairs as the preset number of pole pairs when the absolute value of the difference is less than or equal to the preset threshold.
[0085] The third determining module is used to determine the actual number of pole pairs based on the set of values for the preset number of pole pairs, the predetermined current, and the reference current when the absolute value of the difference is greater than the preset threshold.
[0086] In the above embodiments, the preset threshold is a relatively small preset value. If the absolute value of the difference between the predetermined current and the reference current is less than or equal to the preset threshold, it indicates that the actual phase current data of the target motor is similar to the reference phase current data; if the actual phase current value is similar to the reference phase current value, it indicates that the actual speed of the target motor is the same as the reference speed. When the actual number of pole pairs of the target motor is unknown, the target motor is controlled to operate according to the reference speed n, and its operation is also controlled according to the preset number of pole pairs P, if and only if the preset number of pole pairs is equal to the actual number of pole pairs of the target motor (P). 预设 =P 实际 Only when the actual speed of the target motor is equal to the reference speed (n) will the actual speed of the target motor be equal to the reference speed (n). 实际 =n 参考), i.e. the relationship between the actual speed of the target motor and the reference speed is as follows:
[0087]
[0088] In the case where the absolute value of the difference between the predetermined current and the reference current is less than or equal to the preset threshold, it is indicated that the actual number of pole pairs at this time is the preset number of pole pairs. In the case where the absolute value of the difference is greater than the preset threshold, it is indicated that the actual speed of the target motor is different from the reference speed, and thus the preset number of pole pairs of the target motor is not equal to the actual number of pole pairs. Therefore, the actual number of pole pairs needs to be determined again according to the value set of the preset number of pole pairs, the predetermined current and the reference current.
[0089] Considering the actual number of pole pairs in the motor, the value set of the preset number of pole pairs can be [4, 5, 6, 7].
[0090] Figure 3 The phase current waveform diagram of the motor with the actual number of pole pairs of 5 is shown in FIG. 4. The device is used to control the motor to run at a reference speed n 参考 = 500 rpm, and the value of the preset number of pole pairs P 预设 is changed. The actual speed n 实际 of the motor changes, and the size of the phase current also changes. As shown in FIG. 4, when it can be determined whether the actual speed of the motor is the same as the reference speed, it can be determined whether the preset number of pole pairs is the same as the actual number of pole pairs. Figure 3
[0091] The third determining module specifically includes:
[0092] an adjusting sub-module, configured to adjust the preset number of pole pairs according to the value set in the case where the absolute value of the difference is greater than the preset threshold, to obtain an adjusted preset number of pole pairs;
[0093] an obtaining sub-module, configured to obtain a new predetermined current corresponding to the adjusted preset number of pole pairs in the adjusting step;
[0094] a determining sub-module, configured to determine whether the absolute value of the difference between the new predetermined current and the reference current is less than or equal to the preset threshold;
[0095] a circulating sub-module, configured to execute the adjusting step, the obtaining step and the determining step in sequence in the case where the absolute value of the difference is greater than the preset threshold, until the absolute value of the difference is less than or equal to the preset threshold, and determine that the corresponding preset number of pole pairs is the actual number of pole pairs in the case where the absolute value of the difference is less than or equal to the preset threshold.
[0096] By cyclically executing the above steps, the automatic identification of the actual pole pair number of the motor is further achieved, the actual pole pair number of the motor can be determined without manufacturer's provision, and subsequent accurate control of the motor speed according to the actual pole pair number is facilitated, thereby ensuring efficient operation of the motor.
[0097] In actual application, in the case where the target motor is started, the preset pole pair number can be any value in the value set, and in the case where the absolute value of the difference is greater than the preset threshold, any value different from the current preset pole pair number can be selected from the value set as the value of the updated preset pole pair number.
[0098] In the embodiments of the application, the preset pole pair number of the motor is compared with the reference phase current value by detecting the phase current value of the motor at the same reference speed but different preset pole pair numbers, to determine whether the preset pole pair number of the motor is the actual pole pair number. After a limited number of comparisons, the effect of automatically identifying the pole pair number of the motor is achieved.
[0099] To avoid the case where the adjusted preset pole pair number misses some values in the value set during the adjustment step, in the case where the target motor is started, the preset pole pair number is the minimum value in the value set, and the adjustment submodule is further configured to assign the first target value in the value set to the preset pole pair number to obtain the adjusted preset pole pair number in the case where the absolute value of the difference is greater than the preset threshold, the first target value is greater than the preset pole pair number, and the first target value is the value in the value set that has the minimum difference from the preset pole pair number. That is, the minimum value in the value set is assigned to the preset pole pair number, and in the case where the absolute value of the difference is greater than the preset threshold, the assigned value of the preset pole pair number is gradually increased according to the value set.
[0100] Of course, in other embodiments, in the case where the target motor is started, the preset pole pair number can also be the maximum value in the value set, and the adjustment submodule can also be configured to assign the second target value in the value set to the preset pole pair number to obtain the adjusted preset pole pair number in the case where the absolute value of the difference is greater than the preset threshold, the second target value is less than the preset pole pair number, and is the value in the value set that has the minimum difference from the preset pole pair number.
[0101] In actual application, due to improper setting of the values in the value set, etc., all the values in the value set are assigned to the preset pole pair number in the above adjustment step, and after the execution of the above loop step, the corresponding difference absolute value is still greater than the preset threshold value. In this case, in order to avoid continuing to use the current inappropriate value set to run and cause the problem of low efficiency of the pole pair number determination process, in the embodiment, the device further comprises a second control unit and a generation unit, wherein the second control unit is configured to control the target motor to stop running in the case that the corresponding difference absolute value is still greater than the preset threshold value after adjusting all the values in the value set; and the generation unit is configured to generate fault information, and the fault information is information representing that the motor pole pair number determination fails.
[0102] In other embodiments, the determination unit can further include a fourth determination module, a fifth determination module, and a repetition module, wherein the fourth determination module is configured to determine whether the predetermined current and the reference current are the same in the first determination step; the fifth determination module is configured to determine that the actual pole pair number is the preset pole pair number in the case that the predetermined current and the reference current are the same in the second determination step; in the case that the predetermined current and the reference current are different, adjust the value of the preset pole pair number, and control the target motor to run according to the adjusted preset pole pair number until the actual speed reaches the reference speed, and obtain the predetermined current; and the repetition module is configured to repeatedly execute the first determination step and the second determination step until the predetermined current and the reference current are the same, and the preset pole pair number corresponding to the predetermined current which is the same as the reference current is the actual pole pair number.
[0103] In the motor pole pair number determination device of the present application, the reference current of the target motor is obtained by the acquisition unit, and the predetermined current is obtained in the case that the target motor runs according to the preset pole pair number until the actual speed reaches the reference speed; and the actual pole pair number of the target motor is determined by the determination unit according to at least the predetermined current and the reference current. Compared with the problem that the pole pair number of the motor cannot be automatically identified in the prior art, the current data of the motor running according to the preset pole pair number to the reference speed is obtained as the predetermined current, and the preset reference current is obtained, and then the actual pole pair number of the motor is determined according to at least the predetermined current and the preset reference current, which realizes the automatic identification of the pole pair number of the motor, facilitates the subsequent accurate control of the speed of the motor according to the actual pole pair number, and ensures the efficient operation of the motor.
[0104] The target motor mentioned in the above embodiments of the present application can be a brushless direct current motor. Thanks to the rapid development of the position sensorless control method of the brushless direct current motor, the motor driving system is not strongly dependent on the electrical parameters of the motor. The electrical parameters of the same specification motor are similar, and a set of motor control system can be built to enable all the same specification motors to reliably operate.
[0105] A specific embodiment, as shown in Figure 4 , the determination process of the actual pole pair number of the motor is specifically explained as follows.
[0106] The motor identifies the pole pair number each time it starts, and continues normal operation after successful identification; if the identification fails, it stops running with a fault.
[0107] When the motor starts, the preset pole pair number P 预设 is used for operation, and the initial value of the preset pole pair number is the minimum pole pair number of the same specification motor. The threshold pole pair number P 阈值 is the maximum pole pair number of the same specification motor. If the preset pole pair number P 预设 exceeds the threshold pole pair number P 阈值 , it is considered that the identification fails, and the motor is stopped with a fault.
[0108] When the motor runs to the reference speed, it runs for a delay time t 延时 , and detects the motor phase current value i 实际 after stable operation.
[0109] The difference between the actual motor phase current i 实际 and the reference phase current i 参考 is determined, and if it is less than or equal to the threshold current i 阈值 , it is determined that the actual motor speed n 实际 is the same as the reference speed n 参考 , and the preset pole pair number P 预设 is the same as the actual pole pair number P 实际 .
[0110] After successful identification of the pole pair number, the motor is controlled to continue running at the reference speed.
[0111] The above motor pole pair number determination device includes a processor and a memory, and the above acquisition unit and the above determination unit are stored in the memory as program units, and the corresponding functions are realized by the processor executing the above program units stored in the memory.
[0112] The processor includes a core, and the core retrieves the corresponding program unit from the memory. The core can be set to one or more, and the problem of being unable to automatically identify the pole pair number of the motor in the prior art can be solved by adjusting the core parameters.
[0113] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0114] This invention provides a computer-readable storage medium storing a program that, when executed by a processor, implements the above-described method for determining the number of pole pairs of a motor.
[0115] This invention provides a processor for running a program, wherein the program executes the method for determining the number of pole pairs of a motor.
[0116] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0117] Step S101: Obtain the predetermined current and reference current of the target motor. The predetermined current is the current data of the target motor when it runs according to the preset number of pole pairs until the actual speed reaches the reference speed. The reference current is the preset current data.
[0118] Step S102: Determine the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current.
[0119] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.
[0120] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0121] Step S101: Obtain the predetermined current and reference current of the target motor. The predetermined current is the current data of the target motor when it runs according to the preset number of pole pairs until the actual speed reaches the reference speed. The reference current is the preset current data.
[0122] Step S102: Determine the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current.
[0123] According to another typical embodiment of this application, an outdoor unit for an air conditioner is also provided, including a brushless DC motor and a control device for the brushless DC motor. The control device includes one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for performing any of the above-described methods.
[0124] The air conditioner outdoor unit described above comprises a brushless DC motor and a control device thereof, and the control device is used to execute any of the methods described above. Compared with the prior art which cannot automatically identify the pole pair number of the motor, the method described above first acquires current data of the motor running to a reference rotating speed according to a preset pole pair number as a predetermined current, and acquires a preset reference current, and then determines the actual pole pair number of the motor according to at least the predetermined current and the preset reference current, so as to realize automatic identification of the pole pair number of the motor. Then, the rotating speed of the motor can be accurately controlled according to the actual pole pair number, so as to ensure efficient operation of the motor, thereby ensuring that the operation efficiency of the air conditioner outdoor unit is high.
[0125] In another typical embodiment of the present application, an air conditioner system is further provided, which comprises the air conditioner outdoor unit described above.
[0126] The air conditioner system described above comprises the air conditioner outdoor unit described above, which can automatically identify the actual pole pair number of the brushless DC motor thereof, and accurately control the rotating speed of the motor according to the actual pole pair number, so as to ensure efficient operation of the motor, thereby ensuring that the operation efficiency of the entire air conditioner system is high.
[0127] In the above embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0128] In the several embodiments provided by the present application, it should be understood that the disclosed technology can be implemented in other ways. Of course, the unit embodiment described above is only illustrative, and for example, the division of the units can be a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, units or modules, and can be electrical or other forms.
[0129] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., they can be located in one place, or can be distributed on multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0130] In addition, each function unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.
[0131] When the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application, essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the above-mentioned methods of the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various program code storage media.
[0132] From the above description, it can be seen that the above-mentioned embodiments of the present application achieve the following technical effects:
[0133] 1) In the above-mentioned motor pole pair number determination method, first, the reference current of the target motor is obtained, and the predetermined current of the target motor running according to the preset pole pair number until the actual speed reaches the reference speed; then, at least according to the predetermined current and the reference current, the actual pole pair number of the target motor is determined. Compared with the problem that the pole pair number of the motor cannot be automatically identified in the prior art, the present application first obtains the current data of the motor running according to the preset pole pair number to the reference speed as the predetermined current, and obtains the preset reference current, and then at least according to the predetermined current and the preset reference current, the actual pole pair number of the motor is determined, which realizes the automatic identification of the pole pair number of the motor, facilitates the subsequent accurate control of the speed of the motor according to the actual pole pair number, and ensures the efficient operation of the motor.
[0134] 2) In the motor pole pair number determination device described above, the reference current of the target motor is obtained by the obtaining unit, and the target motor is operated according to the preset pole pair number until the predetermined current under the condition that the actual speed reaches the reference speed; the actual pole pair number of the target motor is determined by the determination unit according to at least the predetermined current and the reference current. Compared with the prior art that cannot automatically identify the pole pair number of the motor, the application first obtains the current data of the motor operated according to the preset pole pair number to the reference speed as the predetermined current, and obtains the preset reference current, and then determines the actual pole pair number of the motor according to at least the predetermined current and the preset reference current, realizes the automatic identification of the pole pair number of the motor, and facilitates the subsequent accurate control of the speed of the motor according to the actual pole pair number, and ensures the efficient operation of the motor.
[0135] 3) The air conditioner outdoor unit described above comprises a brushless DC motor and a control device thereof, and the control device is used to execute any of the methods described above. Compared with the prior art that cannot automatically identify the pole pair number of the motor, the above method of the application first obtains the current data of the motor operated according to the preset pole pair number to the reference speed as the predetermined current, and obtains the preset reference current, and then determines the actual pole pair number of the motor according to at least the predetermined current and the preset reference current, realizes the automatic identification of the pole pair number of the motor, and then can accurately control the speed of the motor according to the actual pole pair number, ensures the efficient operation of the motor, and thus ensures the high operation efficiency of the air conditioner outdoor unit.
[0136] 4) The air conditioner system described above comprises the air conditioner outdoor unit described above, which can automatically identify the actual pole pair number of the brushless DC motor thereof, and accurately control the speed of the motor according to the actual pole pair number, ensures the efficient operation of the motor, and thus ensures the high operation efficiency of the entire air conditioner system.
[0137] The above only describes the preferred embodiments of the application and is not used to limit the application. For those skilled in the art, the application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application shall be included in the protection scope of the application.
Claims
1. A method for determining the number of pole pairs of a motor, characterized in that, include: Acquire a predetermined current and a reference current for the target motor. The predetermined current is the current data of the target motor when it operates according to a preset number of pole pairs until the actual speed reaches the reference speed. The reference current is the preset current data. Determine whether the absolute value of the difference between the predetermined current and the reference current is less than or equal to a preset threshold. If the absolute value of the difference is less than or equal to the preset threshold, the actual number of pole pairs of the target motor is determined to be the preset number of pole pairs; The adjustment step involves adjusting the preset pole number based on the set of values for the preset pole number when the absolute value of the difference is greater than the preset threshold, thereby obtaining the adjusted preset pole number. The acquisition step involves acquiring a new predetermined current, wherein the new predetermined current is the predetermined current corresponding to the adjusted preset number of pole pairs; The determination step is to determine whether the absolute value of the difference between the new predetermined current and the reference current is less than or equal to the preset threshold. In the iterative process, if the absolute value of the difference is greater than the preset threshold, the adjustment step, the acquisition step, and the determination step are executed sequentially until the absolute value of the difference is less than or equal to the preset threshold. If the absolute value of the difference is less than or equal to the preset threshold, the corresponding preset pole pair number is the actual pole pair number.
2. The method according to claim 1, characterized in that, When the target motor is started, the preset number of pole pairs is the minimum value in the set of values, and the adjustment steps include: If the absolute value of the difference is greater than the preset threshold, the target value in the set of values is assigned to the preset extreme number to obtain the adjusted preset extreme number. The target value is the value that is greater than the preset extreme number and has the smallest difference with the preset extreme number.
3. The method according to claim 1, characterized in that, If, after adjusting all values in the set of values, the absolute value of the corresponding difference is still greater than the preset threshold, the method further includes: Control the target motor to stop running; Fault information is generated, which indicates that the determination of the number of pole pairs of the motor has failed.
4. The method according to any one of claims 1 to 3, characterized in that, Obtaining the predetermined current of the target motor includes: When the target motor is started, control the target motor to operate at the preset number of pole pairs; When the actual rotational speed reaches the reference rotational speed, the target motor is controlled to rotate at the reference rotational speed for a predetermined time, and then the phase current data of the target motor is acquired to obtain the predetermined current.
5. The method according to any one of claims 1 to 3, characterized in that, Obtain the reference current of the target motor, including: Multiple reference motors are obtained by operating at reference speeds to obtain corresponding phase current data, and multiple preliminary reference currents are obtained. The reference motors are motors with the same specifications as the target motor. The reference current is obtained by averaging the multiple sets of preliminary reference current data.
6. The method according to any one of claims 1 to 3, characterized in that, After determining the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current, the method further includes: The target motor is controlled to operate at the actual number of pole pairs and the reference speed.
7. A device for determining the number of pole pairs of a motor, characterized in that, include: The acquisition unit is used to acquire a predetermined current and a reference current of the target motor. The predetermined current is the current data of the target motor when it operates according to a preset number of pole pairs until the actual speed reaches the reference speed. The reference current is the preset current data. The determining unit is configured to determine the actual number of pole pairs of the target motor based at least on the predetermined current and the reference current. The determining unit includes: The first determining module is used to determine whether the absolute value of the difference between the predetermined current and the reference current is less than or equal to a preset threshold. The second determining module is used to determine the actual number of pole pairs as the preset number of pole pairs when the absolute value of the difference is less than or equal to the preset threshold. The third determining module is used to determine the actual number of pole pairs based on the set of preset pole pair values, the predetermined current, and the reference current, when the absolute value of the difference is greater than the preset threshold. The third determining module includes: The adjustment submodule is used to adjust the steps. When the absolute value of the difference is greater than the preset threshold, the preset pole number is adjusted according to the set of values to obtain the adjusted preset pole number. The acquisition submodule is used to acquire the new predetermined current, which is the predetermined current corresponding to the adjusted preset number of pole pairs. The determination submodule is used to determine the steps, specifically whether the absolute value of the difference between the new predetermined current and the reference current is less than or equal to the preset threshold. The loop submodule is used for looping steps. When the absolute value of the difference is greater than the preset threshold, the adjustment step, the acquisition step, and the determination step are executed sequentially until the absolute value of the difference is less than or equal to the preset threshold. When the absolute value of the difference is determined to be less than or equal to the preset threshold, the corresponding preset pole pair number is the actual pole pair number.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program performs the method according to any one of claims 1 to 6.
9. A processor, characterized in that, The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 6 when it runs.
10. An outdoor unit for an air conditioner, characterized in that, include: Brushless DC motor; The control device for the brushless DC motor includes one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for performing any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for recognizing number of pole pairs of compressor of air conditioner
CN103944479A
Method and device for determining number of pole pairs
CN104167959A