Control method, device and control equipment of motor with Hall sensor

By obtaining the Hall signal of the Hall sensor to determine its operating status and switching to sensorless control, the problem of unstable motor operation caused by the damage to the Hall sensor is solved, ensuring the stable operation of the motor and extending its service life.

CN114499330BActive Publication Date: 2025-08-15MR SEMICON LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210249460.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2025-08-15
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

In the prior art, damage to Hall sensors leads to unstable motor operation, affecting the normal operation of motors and related equipment, and there is no effective control method to solve this problem.

Method used

By obtaining the Hall signal of the Hall sensor and judging that its operating state is abnormal, disconnect the detection path between the motor and the Hall sensor and switch to the sensorless control mode to ensure the stable operation of the motor.

Benefits of technology

When the Hall sensor is abnormal, the normal and stable operation of the motor can still be maintained, the service life of the motor and related equipment can be extended, and the failure caused by sensor damage can be avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114499330B_ABST
    Figure CN114499330B_ABST
Patent Text Reader

Abstract

This application proposes a control method, device, and control equipment for a motor with a Hall sensor, wherein the method includes: obtaining a Hall signal detected by at least one Hall sensor for the motor rotor; for each Hall sensor, determining an abnormality in the operating state of the Hall sensor based on the Hall signal; and upon determining that a Hall sensor with an abnormal operating state exists, disconnecting the detection path between the motor and the Hall sensor. This application can proactively switch the motor control mode to sensorless control upon determining that an abnormality exists in the operating state of a Hall sensor. This allows the motor to maintain normal and stable operation even when an abnormality exists in the operating state of the Hall sensor, thereby increasing the service life of the motor and its corresponding electrical components and resolving the problem of reduced motor life and failure caused by damage to sensors such as Hall sensors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic control technology, and in particular to a control method, device and control equipment for a motor with a Hall sensor. Background Art

[0002] Currently, stable motor operation remains a major concern in the motor control market. For motors equipped with sensors such as Hall sensors, sensor damage is often the primary cause of failure. This damage often results in the motor and its associated appliances, such as air conditioner indoor units and air conditioners, failing to operate properly and stably.

[0003] However, there is no effective control method for a motor with a Hall sensor in the relevant technology. Therefore, how to eliminate the adverse effects of sensor damage on the stable operation of the motor through an effective and reliable control method for a motor with a Hall sensor and ensure the stability and reliability of the motor operation has become a problem that needs to be solved urgently. Summary of the Invention

[0004] The present application aims to solve one of the technical problems in the related art at least to a certain extent.

[0005] To this end, the first purpose of this application is to propose a control method for a motor with a Hall sensor. Through an effective and reliable control method for a motor with a Hall sensor, the adverse effects of sensor damage on the stable operation of the motor can be eliminated, thereby ensuring the stability and reliability of the motor operation.

[0006] A second object of the present application is to provide a control device for a motor with a Hall sensor.

[0007] The third object of this application is to provide a control device.

[0008] The fourth objective of this application is to provide a chip.

[0009] The fifth objective of this application is to provide an electronic device.

[0010] A sixth object of this application is to provide a computer-readable storage medium.

[0011] The seventh object of this application is to provide a computer program product.

[0012] To achieve the above-mentioned purpose, the first embodiment of the present application proposes a control method for a motor with a Hall sensor, including: obtaining a Hall signal for the motor rotor detected by at least one Hall sensor; for each of the Hall sensors, making an abnormal judgment on the operating status of the Hall sensor based on the Hall signal; when it is determined that there is a Hall sensor with an abnormal operating status, disconnecting the detection path between the motor and the Hall sensor.

[0013] The control method of a motor with a Hall sensor in an embodiment of the present application can obtain a Hall signal for the motor rotor detected by at least one Hall sensor, and for each Hall sensor, determine whether the operating state of the Hall sensor is abnormal based on the Hall signal, and then disconnect the detection path between the motor and the Hall sensor when it is determined that there is a Hall sensor with an abnormal operating state. As a result, the present application can actively switch the control mode of the motor to sensorless control when it is determined that the operating state of the Hall sensor is abnormal, so that even when the operating state of the Hall sensor is abnormal, the normal and stable operation of the motor can still be maintained, thereby increasing the service life of the motor and the corresponding electrical components of the motor, and solving the problem of reduced life and failure of the motor caused by damage to sensors such as Hall sensors.

[0014] According to one embodiment of the present application, the method further includes: when it is determined that the Hall sensor does not have the abnormal operating state, maintaining the connection of the detection path between the motor and the Hall sensor.

[0015] According to an embodiment of the present application, before disconnecting the detection path between the motor and the Hall sensor, the method further includes: obtaining the number of the Hall sensors with abnormal operating status, and determining that the number reaches a preset threshold.

[0016] According to one embodiment of the present application, the method further includes: when it is determined that the number does not reach the preset number threshold, disconnecting the detection path between the motor and the Hall sensor whose operating state is abnormal, and keeping the detection path between the motor and the Hall sensor whose operating state is not abnormal connected.

[0017] According to one embodiment of the present application, judging whether the operating status of the Hall sensor is abnormal based on the Hall signal includes: performing analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal; and judging whether the operating status of the corresponding Hall sensor is abnormal based on the digital signal.

[0018] According to one embodiment of the present application, judging whether there is an abnormality in the operating state of the corresponding Hall sensor based on the digital signal includes: monitoring the jump condition of the digital signal within a preset time period to obtain the jump trajectory of the digital signal; and when it is determined that the jump trajectory is consistent with the preset jump trajectory, determining that there is no abnormality in the operating state of the Hall sensor.

[0019] According to one embodiment of the present application, the method further includes: when it is determined that the digital signal does not jump within the preset time length, determining that the operating state of the Hall sensor is abnormal; or, when it is determined that the jump trajectory is inconsistent with a preset jump trajectory, determining that the operating state of the Hall sensor is abnormal.

[0020] According to one embodiment of the present application, disconnecting the detection path between the motor and the Hall sensor includes: opening at least one switch provided on the detection path between the motor and the Hall sensor.

[0021] According to one embodiment of the present application, after disconnecting the detection path between the motor and the Hall sensor, the method further includes: when it is determined that the detection path between the motor and the Hall sensor is disconnected, connecting the detection path between the motor and the back electromotive force detection unit.

[0022] According to an embodiment of the present application, after disconnecting the detection path between the motor and the Hall sensor, the method further includes: restarting the motor and controlling the motor in a manner of disconnecting the detection path between the motor and the Hall sensor.

[0023] According to an embodiment of the present application, obtaining the Hall signal for the motor rotor detected by at least one Hall sensor includes: detecting each phase Hall signal of the Hall sensor to obtain a three-phase Hall signal of each Hall sensor.

[0024] To achieve the above-mentioned purpose, the second aspect embodiment of the present application proposes a control device for a motor with a Hall sensor, including: an acquisition module for acquiring a Hall signal for a motor rotor detected by at least one Hall sensor; a judgment module for making an abnormal judgment on the operating status of each Hall sensor based on the Hall signal; and a control module for disconnecting the detection path between the motor and the Hall sensor when it is determined that there is a Hall sensor with an abnormal operating status.

[0025] The control device for a motor with a Hall sensor in an embodiment of the present application can obtain a Hall signal for the motor rotor detected by at least one Hall sensor, and for each Hall sensor, determine whether the operating state of the Hall sensor is abnormal based on the Hall signal, and then disconnect the detection path between the motor and the Hall sensor when it is determined that there is a Hall sensor with an abnormal operating state. As a result, the present application can actively switch the motor control mode to sensorless control when it is determined that the operating state of the Hall sensor is abnormal, so that even when the operating state of the Hall sensor is abnormal, the motor can still maintain normal and stable operation, thereby increasing the service life of the motor and the corresponding electrical components of the motor, and solving the problem of reduced life and failure of the motor caused by damage to sensors such as Hall sensors.

[0026] According to one embodiment of the present application, the control module is further configured to: when it is determined that there is no abnormal operating state of the Hall sensor, maintain the connection of the detection path between the motor and the Hall sensor.

[0027] According to one embodiment of the present application, the control module is further configured to: obtain the number of the Hall sensors in abnormal operating status, and determine whether the number reaches a preset threshold.

[0028] According to one embodiment of the present application, the control module is also used to: when it is determined that the number does not reach the preset number threshold, disconnect the detection path between the motor and the Hall sensor whose operating state is abnormal, and keep the detection path between the motor and the Hall sensor whose operating state is not abnormal connected.

[0029] According to one embodiment of the present application, the judgment module is further used to: perform analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal; and judge whether there is an abnormality in the operating state of the corresponding Hall sensor based on the digital signal.

[0030] According to one embodiment of the present application, the judgment module is further used to: monitor the jump condition of the digital signal within a preset time period to obtain the jump trajectory of the digital signal; when it is determined that the jump trajectory is consistent with the preset jump trajectory, determine that there is no abnormality in the operating state of the Hall sensor.

[0031] According to one embodiment of the present application, the judgment module is further used to: determine that the operating state of the Hall sensor is abnormal when it is determined that the digital signal does not jump within the preset time length; or determine that the operating state of the Hall sensor is abnormal when it is determined that the jump trajectory is inconsistent with a preset jump trajectory.

[0032] According to one embodiment of the present application, the control module is further configured to: open at least one switch provided on a detection path between the motor and the Hall sensor.

[0033] According to one embodiment of the present application, the control module is further configured to: when it is determined that the detection path between the motor and the Hall sensor is disconnected, connect the detection path between the motor and the back electromotive force detection unit.

[0034] According to an embodiment of the present application, the control module is further configured to: restart the motor, and control the motor in a manner of disconnecting a detection path between the motor and the Hall sensor.

[0035] According to an embodiment of the present application, the acquisition module is further configured to: detect each phase Hall signal of the Hall sensor to acquire a three-phase Hall signal of each Hall sensor.

[0036] To achieve the above-mentioned purpose, the third embodiment of the present application proposes a control device, including: a control device for a motor with a Hall sensor as described in the second embodiment of the present application.

[0037] To achieve the above-mentioned purpose, the fourth embodiment of the present application proposes a chip, including: a control device for a motor with a Hall sensor as described in the second embodiment of the present application.

[0038] To achieve the above-mentioned purpose, the fifth aspect embodiment of the present application proposes an electronic device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the control method of the motor with the Hall sensor as described in the first aspect embodiment of the present application.

[0039] To achieve the above-mentioned purpose, the sixth embodiment of the present application proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it implements the control method of the motor with a Hall sensor as described in the first embodiment of the present application.

[0040] To achieve the above-mentioned purpose, the seventh embodiment of the present application proposes a computer program product, including a computer program / instruction, which, when executed by a processor, implements the control method of a motor with a Hall sensor as described in the first embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 1 is a flow chart of a method for controlling a motor with a Hall sensor according to an embodiment of the present application;

[0042] Figure 2is a flow chart of a method for controlling a motor with a Hall sensor according to another embodiment of the present application;

[0043] Figure 3 is a schematic diagram of a Hall signal according to an embodiment of the present application;

[0044] Figure 4 is a flow chart of a method for controlling a motor with a Hall sensor according to another embodiment of the present application;

[0045] Figure 5 is a flow chart of a method for controlling a motor with a Hall sensor according to another embodiment of the present application;

[0046] Figure 6 is a flow chart of a method for controlling a motor with a Hall sensor according to another embodiment of the present application;

[0047] Figure 7 1 is a schematic structural diagram of a control device for a motor with a Hall sensor according to an embodiment of the present application;

[0048] Figure 8 is a structural diagram of a control device according to an embodiment of the present application;

[0049] Figure 9 is a schematic structural diagram of a chip according to an embodiment of the present application;

[0050] Figure 10 It is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0052] The following describes the control method, device and control equipment of a motor with a Hall sensor according to an embodiment of the present application with reference to the accompanying drawings.

[0053] Figure 1 The figure is a flow chart of a method for controlling a motor with a Hall effect sensor according to an embodiment of the present application. The method for controlling a motor with a Hall effect sensor according to an embodiment of the present application can be executed by a control device for a motor with a Hall effect sensor provided in an embodiment of the present application, which can be installed on the motor.

[0054] like Figure 1As shown, the control method of the motor with the Hall sensor according to the embodiment of the present application may specifically include the following steps:

[0055] S101: Acquire a Hall signal detected by at least one Hall sensor for a motor rotor.

[0056] In the embodiments of the present application, each motor is provided with at least one Hall effect sensor for detecting the motor rotor. It should be noted that the present application does not limit the specific number of Hall effect sensors and can be set based on actual conditions. For example, the number of Hall effect sensors can be set to three.

[0057] Among them, the Hall sensor refers to a magnetic field sensor made according to the Hall effect.

[0058] The Hall signal refers to the position signal corresponding to the rotor of the brushless DC motor.

[0059] It should be noted that in this application, taking a three-phase brushless DC motor A and a Hall sensor A corresponding to three Hall (output) signals as an example, three Hall (output) signals for the rotor of motor A detected by Hall sensor A can be obtained.

[0060] S102 : For each Hall sensor, determine whether the operating state of the Hall sensor is abnormal based on the Hall signal.

[0061] It should be noted that in actual applications, when the motor rotates normally (normal operation), the detected Hall effect signals will change in a specific sequence. At the same time, if any phase of the Hall effect sensor is damaged, the corresponding Hall effect signal will no longer flip, that is, it will no longer jump between 0 and 1. For example, if any phase of the Hall effect sensor is damaged, the corresponding Hall effect signal will be fixed at 1 or fixed at 0.

[0062] Therefore, in the present application, identification can be performed based on the Hall signal and the jump condition corresponding to the Hall signal, and whether there is any abnormality in the operating state of the Hall sensor can be judged based on the identification result.

[0063] S103: When it is determined that there is a Hall sensor with an abnormal operating state, disconnect the detection path between the motor and the Hall sensor.

[0064] In the embodiment of the present application, after determining whether the operating state of each Hall sensor is abnormal based on the Hall signal, the motor can be controlled based on the determination result of the operating state.

[0065] The result of the operation status determination refers to whether an abnormality exists or not.

[0066] Among them, the detection path between the motor and the Hall sensor is disconnected, that is, the control mode of the motor is switched to the sensorless control mode; conversely, the detection path between the motor and the Hall sensor with no abnormal operating status is kept connected, that is, the control mode of the motor is maintained in the sensor control mode.

[0067] It should be noted that in actual applications, the motor usually operates in a sensor control mode. Therefore, optionally, when it is determined that there is a Hall sensor with an abnormal operating state, that is, any phase of the Hall sensor is damaged, indicating that the operating state of the motor is abnormal, the control mode of the motor can be switched from sensor control to sensorless control, that is, the motor is controlled without sensor.

[0068] Optionally, when it is determined that there is no Hall sensor with an abnormal operating state, that is, all phases of the Hall sensor are not damaged, it means that the operating state of the motor is normal, and the motor can be controlled with sensors.

[0069] For example, for motor A, the current control mode is sensor control. In this case, if it is determined that the operating status of the motor is abnormal, the control mode of the motor can be switched, that is, from the current sensor control to sensorless control; if it is determined that the operating status of the motor is not abnormal, the current control mode of the motor can be maintained, that is, the current sensor control can be maintained.

[0070] The control method of a motor with a Hall sensor in an embodiment of the present application can obtain a Hall signal for the motor rotor detected by at least one Hall sensor, and for each Hall sensor, determine whether the operating state of the Hall sensor is abnormal based on the Hall signal, and then disconnect the detection path between the motor and the Hall sensor when it is determined that there is a Hall sensor with an abnormal operating state. As a result, the present application can actively switch the control mode of the motor to sensorless control when it is determined that the operating state of the Hall sensor is abnormal, so that even when the operating state of the Hall sensor is abnormal, the normal and stable operation of the motor can still be maintained, thereby increasing the service life of the motor and the corresponding electrical components of the motor, and solving the problem of reduced life and failure of the motor caused by damage to sensors such as Hall sensors.

[0071] Figure 2 1 is a flow chart of a method for controlling a motor with a Hall sensor according to another embodiment of the present application.

[0072] like Figure 2 As shown, the control method of the motor with the Hall sensor according to the embodiment of the present application may specifically include the following steps:

[0073] S201: Acquire a Hall signal detected by at least one Hall sensor for a motor rotor.

[0074] As a possible implementation manner, each phase of the Hall signal of the Hall sensor may be detected to obtain the three-phase Hall signal of each Hall sensor.

[0075] The above step S102 includes the following steps S202 to S203.

[0076] S202 : For each Hall sensor, perform analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal.

[0077] It should be noted that the Hall signal proposed in this application is an analog signal and cannot intuitively reflect the operating status of the Hall sensor. Therefore, in this application, after obtaining the Hall signal, the Hall signal can be digitized to obtain a digital signal corresponding to the Hall signal.

[0078] It should be noted that the present application does not limit the specific method of performing analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal, and can be set according to actual conditions.

[0079] As a possible implementation, an analog-to-digital converter, also known as an A / D converter, can be used to convert a continuous analog signal into a discrete digital signal.

[0080] For example, for Figure 3 The Hall signal A shown is digitized to obtain a digital signal 101 corresponding to the Hall signal A.

[0081] S203: Determine whether the operating state of the corresponding Hall sensor is abnormal based on the digital signal.

[0082] As a possible implementation, Figure 4 As shown, based on the above embodiment, the specific process of determining whether the operating state of the corresponding Hall sensor is abnormal according to the digital signal in step S203 includes the following steps:

[0083] S401: Monitor the transition of a digital signal within a preset time period to obtain a transition trajectory of the digital signal.

[0084] Among them, the preset duration can be set according to actual conditions.

[0085] For example, if the preset time length is 30s, in this case, if the digital signal is 101, it means that the digital signal has changed within the preset time length; if the digital signal is always 111, it means that the digital signal has not jumped within the preset time length.

[0086] It should be noted that when the motor rotates normally (normal operation), the detected Hall effect signals change in a specific order. In other words, if any phase of the Hall effect sensor is damaged, the digital signal may still change within the preset time period, but the order of change will not be consistent with the specific order.

[0087] Therefore, in the present application, after determining that the digital signal jumps within the preset time length, the change sequence of the digital signal can be further identified.

[0088] In an embodiment of the present application, when attempting to identify the change sequence of a digital signal, a transition trajectory of the digital signal may be obtained.

[0089] Among them, the transition trajectory refers to the transition between high and low levels.

[0090] For example, within a preset time period, the analog signal corresponding to the digital signal first jumps from a high level to a low level, and then jumps from a low level to a high level. In this case, the transition trajectory of the digital signal is 101.

[0091] It should be noted that in the present application, before obtaining the transition trajectory of the digital signal, it is possible to determine whether the digital signal has transitioned within a preset time length. Optionally, when it is determined that the digital signal has transitioned within a preset time length, the transition trajectory of the digital signal can be obtained to determine whether the transition trajectory is consistent with the preset transition trajectory, and steps S402 and S404 are executed; when it is determined that the digital signal has not transitioned within the preset time length, step S403 can be executed. S402: When it is determined that the transition trajectory is consistent with the preset transition trajectory, it is determined that there is no abnormal transition trajectory in the operating state of the Hall sensor.

[0092] For example, if the specific order is 101, in this case, if the jump trajectory of the digital signal within the preset time length is 101, it means that the jump trajectory is consistent with the preset jump trajectory, and it can be determined that there is no abnormality in the operating status of the Hall sensor.

[0093] S403: When it is determined that the digital signal does not jump within the preset time period, determine that the operating state of the Hall sensor is abnormal.

[0094] For example, if the digital signal obtained within the preset time length is always 111, it means that the jump trajectory has not jumped, and it can be directly determined that there is an abnormality in the operating state of the Hall sensor.

[0095] S404: When it is determined that the jump trajectory is inconsistent with the preset jump trajectory, determine that the operating state of the Hall sensor is abnormal.

[0096] For example, if the specific order is 101, in this case, if the jump trajectory of the digital signal within the preset time length is obtained, it is 110, indicating that the jump trajectory is inconsistent with the preset jump trajectory, and it can be determined that there is an abnormality in the operating state of the Hall sensor.

[0097] S204: When it is determined that there is a Hall sensor with an abnormal operating state, disconnect the detection path between the motor and the Hall sensor.

[0098] S205 . When it is determined that there is no Hall sensor with an abnormal operating state, maintain the connection of the detection path between the motor and the Hall sensor.

[0099] The control method for a motor with a Hall effect sensor according to an embodiment of the present application can digitize the Hall effect signal to obtain a digital signal corresponding to the Hall effect signal, and then determine whether the operating state of the corresponding Hall effect sensor is abnormal based on the digital signal. Optionally, when it is determined that the digital signal has not jumped within a preset time period, or when it is determined that the digital signal has jumped within the preset time period but the jump trajectory is inconsistent with the preset jump trajectory, it is determined that the operating state of the Hall effect sensor is abnormal. This improves the accuracy of the Hall effect sensor's operating state identification result, further ensures that the motor can still maintain normal and stable operation when the operating state of the Hall effect sensor is abnormal, and improves the reliability of the motor operation.

[0100] Figure 5 1 is a flow chart of a method for controlling a motor with a Hall sensor according to another embodiment of the present application.

[0101] like Figure 5 As shown, the control method of the motor with the Hall sensor according to the embodiment of the present application may specifically include the following steps:

[0102] S501: Acquire a Hall signal detected by at least one Hall sensor for a motor rotor.

[0103] S502 : For each Hall sensor, perform digital processing on the Hall signal to obtain a digital signal corresponding to the Hall signal.

[0104] S503: Monitor the transition of the digital signal within a preset time period to obtain a transition trajectory of the digital signal.

[0105] S504: When it is determined that the digital signal does not jump within the preset time period, determine that the operating state of the Hall sensor is abnormal.

[0106] S505: When it is determined that the jump trajectory is inconsistent with the preset jump trajectory, it is determined that the operating state of the Hall sensor is abnormal.

[0107] S506: When it is determined that there is a Hall sensor with an abnormal operating state, disconnect the detection path between the motor and the Hall sensor.

[0108] It should be noted that, in the present application, before attempting to perform sensorless control on the motor, the number of Hall sensors with abnormal operating states may be further identified.

[0109] As a possible implementation, optionally, the number of Hall sensors with abnormal operating states can be obtained, and it can be determined whether the number reaches a preset number threshold, wherein the preset number threshold can be set according to actual conditions.

[0110] For example, the preset number threshold is 2. In this case, if the number of Hall sensors with abnormal operating status is 3, it means that the number of Hall sensors that are operating well is less than the number of Hall sensors that can actually support stable operation of the motor (the preset number threshold), which means that the number has reached the preset number threshold, and the motor can be controlled sensorlessly.

[0111] Furthermore, when it is determined that the number does not reach the preset number threshold, the detection path between the motor and the Hall sensor with abnormal operating status can be disconnected, and the detection path between the motor and the Hall sensor with normal operating status can be kept connected.

[0112] That is to say, the control method of the motor with Hall sensor proposed in this application supports disconnecting the detection path between some motors and the Hall sensor when it is determined that the number does not reach the preset number threshold, and supports keeping the detection path between the remaining motors and the Hall sensor connected.

[0113] For example, if the number of Hall sensors with abnormal operating status is 1, it means that the number of Hall sensors that are operating well is greater than the number of Hall sensors that can actually support stable operation of the motor (preset number threshold), that is, the number does not reach the preset number threshold, then the current sensor control of the motor can be maintained.

[0114] Furthermore, as a possible implementation method, Figure 6 As shown, based on the above embodiment, the specific process of disconnecting the detection path between the motor and the Hall sensor in step S506 includes the following steps:

[0115] S601: Turn on at least one switch on a detection path between a motor and a Hall sensor.

[0116] It should be noted that the present application does not limit the specific method of opening at least one switch on the detection path between the motor and the Hall sensor, and can be set according to actual conditions.

[0117] As a possible implementation manner, at least one switch provided on a detection path between the motor and the Hall sensor may be opened based on a microcontroller unit MCU.

[0118] The microcontroller unit (MCU) is used to switch the control mode of the motor.

[0119] It should be noted that in the present application, optionally, when the motor is controlled with a sensor, the connection between the motor and the Hall sensor detection circuit is connected so that the Hall sensor operates normally; optionally, when the motor is controlled without a sensor, the connection between the motor and the Hall sensor detection circuit is disconnected so that the Hall sensor stops operating.

[0120] Furthermore, after the detection path between the motor and the Hall sensor is disconnected, step S602 may be executed to perform sensorless control on the motor.

[0121] S602 : When it is determined that the detection path between the motor and the Hall sensor is disconnected, connect the detection path between the motor and the back-electromotive force detection unit.

[0122] It should be noted that the specific method of conducting the detection path between the motor and the back-electromotive force detection unit is not limited in the present application and can be set according to actual conditions.

[0123] As a possible implementation manner, at least one switch provided on a detection path between the motor and the back-electromotive force detection unit may be opened based on a microcontroller unit MCU.

[0124] For example, during the current cycle, the motor operates in the default control mode (i.e., sensored control). In this case, the connection between the motor and the Hall sensor detection circuit is connected. Furthermore, if an abnormal Hall sensor operation status is detected, the MCU can disconnect the motor from the Hall sensor detection circuit and reconnect the motor to the back-EMF detection unit detection circuit.

[0125] Furthermore, in the present application, after the motor is controlled sensorlessly, the control mode of the motor in the current operation cycle can also be stored as the initial default control mode of the motor in the next operation cycle.

[0126] As a possible implementation manner, optionally, the motor may be restarted, and the motor may be controlled in a manner of disconnecting the detection path between the motor and the Hall sensor.

[0127] Furthermore, the operating status of the Hall sensor can be continuously detected, and after determining that the Hall sensor is repaired, the control mode of the motor can be switched back to sensor control, or the current sensorless control mode can be maintained.

[0128] S507 : When it is determined that there is no Hall sensor with an abnormal operating state, maintain the connection of the detection path between the motor and the Hall sensor.

[0129] The control method of the motor with a Hall sensor in the embodiment of the present application can automatically switch the control mode of the motor to a sensorless mode without human intervention after determining that the Hall sensor is damaged, and write it into the memory so that the motor can automatically run in the sensorless mode the next time it is started.

[0130] It should be noted that the control method of a motor with a Hall sensor proposed in the present disclosure can be applied in a variety of scenarios.

[0131] Regarding the application scenarios of air conditioners, it should be noted that the application scenarios of air conditioners are not limited to the application of air conditioners with cooling and / or heating functions, but also include the application of equipment such as air purifiers with purification functions.

[0132] The control method of the motor with a Hall sensor proposed in this application will be explained below by taking an air conditioner indoor unit including a motor with a Hall sensor as an example.

[0133] As a possible implementation method, the Hall signal of the motor rotor detected by at least one Hall sensor installed on the indoor unit of the air conditioner can be obtained, and for each Hall sensor, whether there is an abnormality in the operating status of the Hall sensor can be judged according to the Hall signal. Then, when it is determined that there is a Hall sensor with an abnormal operating status, the motor can be controlled sensorlessly.

[0134] Therefore, in air conditioner applications, if the Hall sensor's operating status is abnormal, the motor control mode can be proactively switched to sensorless control. This allows the motor to maintain normal and stable operation even when the Hall sensor's operating status is abnormal, avoiding the problem of the air conditioner indoor unit failing due to damage to the Hall element. In addition, the service life of the motor and its corresponding electrical components is increased, solving the problem of reduced motor life and failure caused by damage to sensors such as Hall sensors.

[0135] Regarding electrical equipment application scenarios, electrical equipment refers to a general term for generators, transformers, power lines, circuit breakers, and other equipment in power systems. In other words, an electrical equipment application scenario refers to the application scenario of at least one of the following equipment: power system generators, transformers, power lines, etc.

[0136] The control method of the motor with Hall sensors proposed in this application will be explained below by taking a transformer including a motor with Hall sensors as an example.

[0137] As a possible implementation method, the Hall signal of the motor rotor detected by at least one Hall sensor arranged on the transformer can be obtained, and for each Hall sensor, whether there is an abnormality in the operating status of the Hall sensor can be judged according to the Hall signal. Then, when it is determined that there is a Hall sensor with an abnormal operating status, the motor can be controlled sensorlessly.

[0138] As a result, in electrical equipment applications, if an abnormality is detected in the Hall effect sensor's operating state, the motor's control mode can be proactively switched to sensorless control. This allows the motor to maintain normal and stable operation even when the Hall effect sensor's operating state is abnormal, avoiding the problem of transformer failure caused by damage to the Hall effect element. Furthermore, the service life of the motor and its corresponding electrical components is increased, solving the problem of reduced motor life and failure caused by damage to sensors such as Hall effects sensors.

[0139] Regarding chip application scenarios, the term "chip" (also known as "microcircuit") refers to a general term for semiconductor component products. In other words, an electrical equipment application scenario refers to at least one of the following semiconductor component product application scenarios:

[0140] It should be noted that, in actual applications, the chip is often set inside a device (such as an electronic device). In this case, the chip application scenario usually refers to the application scenario of the device equipped with the chip.

[0141] The control method of the motor with a Hall sensor proposed in this application will be explained below by taking a device equipped with the chip including a motor with a Hall sensor as an example.

[0142] As a possible implementation method, the Hall signal for the motor rotor detected by at least one Hall sensor arranged on the transformer can be obtained, and for each Hall sensor, whether there is an abnormality in the operating status of the Hall sensor can be judged according to the Hall signal. Then, when it is determined that there is a Hall sensor with an abnormal operating status, the motor can be controlled sensorlessly.

[0143] Therefore, in chip applications, when the Hall sensor's operating status is determined to be abnormal, the motor's control mode can be proactively switched to sensorless control. This allows the motor to maintain normal and stable operation even when the Hall sensor's operating status is abnormal, avoiding the problem of failure of the device equipped with the chip due to damage to the Hall element. In addition, the service life of the motor and its corresponding electrical components is increased, solving the problem of reduced motor life and failure caused by damage to sensors such as Hall sensors.

[0144] Furthermore, based on the above examples, in actual applications, air conditioners, electrical equipment, chips, and other devices are often located at a certain link in the system, or even a critical link. In this case, the control method for a motor with a Hall effect sensor proposed in this application can ensure the stable operation of the air conditioner, electrical equipment, chips, and other devices while also avoiding the problem of system paralysis caused by damage to a single device.

[0145] In addition, the control method of the motor with Hall sensor proposed in this application is different from methods such as setting redundant control circuits and control devices. It can also effectively ensure operational stability while reducing hardware costs and subsequent maintenance costs, thereby improving the economy of the motor control process.

[0146] Furthermore, since motors with Hall effect sensors may be installed in different regions, the operating environments of the motors may also be different. In this case, the control method of the motor with Hall effect sensors according to the embodiment of the present application can bring more effects to the different operating environments in different regions.

[0147] For example, if a motor A with a Hall sensor is operating in an area A where the mains power fluctuates greatly, the frequent and significant surges and sharp decreases in the mains power are likely to cause the Hall sensor of the motor A to malfunction. Therefore, the control method of the motor with a Hall sensor according to the embodiment of the present application can maintain the normal and stable operation of the motor even if the Hall sensor has an abnormality, while reducing the impact of the Hall sensor life shortened by the large fluctuation of the mains power on the motor, further increasing the service life of the motor and the electrical components corresponding to the motor, and solving the problem of reduced life and failure of the motor caused by damage to sensors such as the Hall sensor.

[0148] To sum up, the control method of the motor with Hall sensors in the embodiment of the present application can detect the status of the Hall signal through a software algorithm, and when it is determined that the number of good Hall sensors is less than the number of Hall sensors that can actually operate, switch the input channel, that is, switch the detection of the Hall signal to the detection of the back electromotive force detection unit, and write it to the memory at the same time. When the system starts up, it will automatically read the status and perform sensorless control.

[0149] For example, after the motor is powered on, a fixed address status flag can be detected. Optionally, if the flag indicates 1, a program for detecting the Hall sensor can be run; if the flag indicates 0, a sensorless program can be run.

[0150] Furthermore, in the Hall sensor detection state, the operating state of the Hall sensor is detected, and the corresponding digital signal jump trajectory is determined to determine whether it conforms to the normal sequence. For example, the jump trajectory of the operating state of the three Hall sensors is (000, 001, 010, 011, 100, 101, 110, 111). When the motor rotates normally, it will change in a specific order. If one of the Hall sensors is damaged, the corresponding Hall sensor will no longer flip. In this case, the digital signal is always 1 or 0, indicating that the operating state of the Hall sensor is abnormal.

[0151] Furthermore, when attempting to switch the motor to sensorless control, the corresponding pin can be switched to connect the positive terminal circuit of the comparator, switching the Hall signal to terminal voltage sampling, and setting the flag at the same time. In this case, the internal position detection mode is switched to sensorless zero-crossing detection.

[0152] Therefore, the control method of the motor with a Hall sensor in the embodiment of the present application solves the problem of motor operation after the Hall signal is damaged. By reusing the detection input of the control chip, the compatibility of the two algorithms on the same system board can be achieved without increasing the use of resources. In addition, the service life of the motor is increased, and the problems of reduced service life and failure caused by damage to the Hall sensor are solved. Furthermore, without the need for a dial switch or other control elements, the sensorless control mode can be automatically identified and the sensorless control mode can be written to the memory for automatic switching in the next operating cycle.

[0153] In order to implement the above embodiments, the embodiments of the present application further provide a control device for a motor with a Hall sensor. The control device for a motor with a Hall sensor can implement the control method for a motor with a Hall sensor of any of the above embodiments.

[0154] Figure 7 1 is a schematic structural diagram of a control device for a motor with a Hall sensor according to an embodiment of the present application.

[0155] like Figure 7 As shown, the control device 100 for a motor with a Hall sensor proposed in the embodiment of the present application may specifically include: an acquisition module 11, a judgment module 12, and a control module 13. Among them:

[0156] An acquisition module 11 is configured to acquire a Hall signal of a motor rotor detected by at least one Hall sensor;

[0157] A judgment module 12 is configured to judge, for each of the Hall sensors, whether an operating state of the Hall sensor is abnormal based on the Hall signal;

[0158] The control module 13 is configured to disconnect a detection path between the motor and the Hall sensor when determining that the Hall sensor has an abnormal operating state.

[0159] Furthermore, in a possible implementation of the embodiment of the present application, the control module 13 is further configured to:

[0160] When it is determined that there is no Hall sensor with abnormal operating status, the detection path between the motor and the Hall sensor is kept in communication.

[0161] Furthermore, in a possible implementation of the embodiment of the present application, the control module 13 is further configured to:

[0162] The number of the Hall sensors in abnormal operating state is obtained, and it is determined that the number reaches a preset number threshold.

[0163] Furthermore, in a possible implementation of the embodiment of the present application, the control module 13 is further configured to:

[0164] When it is determined that the number does not reach the preset number threshold, the detection path between the motor and the Hall sensor with the abnormal operating state is disconnected, and the detection path between the motor and the Hall sensor with no abnormal operating state is kept connected.

[0165] Furthermore, in a possible implementation of the embodiment of the present application, the judgment module 12 is further configured to:

[0166] Performing analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal;

[0167] According to the digital signal, it is determined whether the operating state of the corresponding Hall sensor is abnormal.

[0168] Furthermore, in a possible implementation of the embodiment of the present application, the judgment module 12 is further configured to:

[0169] Monitoring the transition of the digital signal within a preset time period to obtain a transition trajectory of the digital signal;

[0170] When it is determined that the jump trajectory is consistent with the preset jump trajectory, it is determined that there is no abnormality in the operating state of the Hall sensor.

[0171] Furthermore, in a possible implementation of the embodiment of the present application, the judgment module 12 is further configured to:

[0172] When it is determined that the digital signal does not jump within the preset time period, it is determined that the operating state of the Hall sensor is abnormal; or,

[0173] When it is determined that the jump trajectory is inconsistent with the preset jump trajectory, it is determined that the operating state of the Hall sensor is abnormal.

[0174] Furthermore, in a possible implementation of the embodiment of the present application, the control module 13 is further configured to:

[0175] At least one switch provided on a detection path between the motor and the Hall sensor is opened.

[0176] Furthermore, in a possible implementation of the embodiment of the present application, the control module 13 is further configured to:

[0177] When it is determined that the detection path between the motor and the Hall sensor is disconnected, the detection path between the motor and the back electromotive force detection unit is connected.

[0178] Furthermore, in a possible implementation of the embodiment of the present application, the control module 13 is further configured to:

[0179] The motor is restarted, and the motor is controlled in a manner of disconnecting a detection path between the motor and the Hall sensor.

[0180] Furthermore, in a possible implementation of the embodiment of the present application, the acquisition module 11 is further configured to:

[0181] Each phase of the Hall signal of the Hall sensor is detected to obtain a three-phase Hall signal of each Hall sensor.

[0182] It should be noted that the above explanation of the embodiment of the control method of a motor with a Hall sensor is also applicable to the control device of a motor with a Hall sensor in this embodiment, and will not be repeated here.

[0183] The control device for a motor with a Hall sensor in an embodiment of the present application can obtain a Hall signal for the motor rotor detected by at least one Hall sensor, and for each Hall sensor, determine whether the operating state of the Hall sensor is abnormal based on the Hall signal, and then perform sensorless control on the motor when it is determined that there is a Hall sensor with an abnormal operating state. As a result, the present application can actively switch the control mode of the motor to sensorless control when it is determined that the operating state of the Hall sensor is abnormal, so that when the operating state of the Hall sensor is abnormal, the normal and stable operation of the motor can still be maintained, thereby increasing the service life of the motor and the electrical components corresponding to the motor, and solving the problem of reduced life and failure of the motor caused by damage to sensors such as Hall sensors.

[0184] In order to implement the above embodiment, the present application embodiment also proposes a control device 300, such as Figure 8 As shown, the control device 300 includes the control apparatus 100 for a motor with a Hall sensor proposed in the second aspect of the embodiment of the present application.

[0185] The control device 300 may be, but is not limited to, the following devices: a motor with a Hall sensor, an air conditioner equipped with a motor with a Hall sensor, an electrical device, and the like.

[0186] Furthermore, it should be noted that the control device 300 proposed in this application is a motor with a Hall sensor or includes a motor with a Hall sensor.

[0187] In this case, the control device of the motor with Hall sensor proposed in this application can control the motor using the control method of the motor with Hall sensor to ensure that when it is determined that there is an abnormality in the operating state of the Hall sensor, the control mode of the motor is actively switched to sensorless control, so that when there is an abnormality in the operating state of the Hall sensor, the normal and stable operation of the motor can still be maintained, thereby increasing the service life of the motor and the corresponding electrical components of the motor, and solving the problem of reduced life and failure of the motor caused by damage to sensors such as Hall sensors.

[0188] In order to implement the above embodiment, the present application also proposes a chip 400, such as Figure 9 As shown, it includes: a control device 100 for a motor with a Hall sensor as described in the embodiment of the second aspect of the present application.

[0189] In order to implement the above embodiment, the present application also provides an electronic device 200, such as Figure 10As shown, the electronic device 200 may specifically include a memory 21, a processor 22, and a computer program stored in the memory 21 and executable on the processor 22. When the processor 22 executes the program, the control method for the motor with the Hall sensor as shown in the above embodiment is implemented.

[0190] In order to implement the above embodiments, the embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the control method of a motor with a Hall sensor as shown in the above embodiments.

[0191] In order to implement the above embodiments, the embodiments of the present application further propose a computer program product, including a computer program / instruction, which, when executed by a processor, implements the control method of the motor with a Hall sensor as shown in the above embodiments.

[0192] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.

[0193] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A control method for a motor with a Hall sensor, characterized in that: include: Acquire a Hall signal for a motor rotor detected by at least one Hall sensor; For each of the Hall sensors, determining whether an operating state of the Hall sensor is abnormal according to the Hall signal; When it is determined that the Hall sensor has the abnormal operating state, disconnecting the detection path between the motor and the Hall sensor; The determining, based on the Hall signal, whether the operating state of the Hall sensor is abnormal includes: Performing analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal; Determining, based on the digital signal, whether the operating state of the corresponding Hall sensor is abnormal; The determining, based on the digital signal, whether the operating state of the corresponding Hall sensor is abnormal includes: Monitoring the transition of the digital signal within a preset time period to obtain a transition trajectory of the digital signal, wherein the transition trajectory includes a transition from a high level to a low level and a transition from a low level to a high level; When it is determined that the jump trajectory is consistent with the preset jump trajectory, it is determined that there is no abnormality in the operating state of the Hall sensor.

2. The control method according to claim 1, characterized in that: The method further comprises: When it is determined that there is no Hall sensor with abnormal operating status, the detection path between the motor and the Hall sensor is kept in communication.

3. The control method according to claim 1, wherein: Before disconnecting the detection path between the motor and the Hall sensor, the method further includes: The number of the Hall sensors in abnormal operating state is obtained, and it is determined that the number reaches a preset number threshold.

4. The control method according to claim 3, characterized in that: The method further comprises: When it is determined that the number does not reach the preset number threshold, the detection path between the motor and the Hall sensor with the abnormal operating state is disconnected, and the detection path between the motor and the Hall sensor with no abnormal operating state is kept connected.

5. The control method according to claim 1, characterized in that: The method further comprises: When it is determined that the digital signal does not jump within the preset time period, it is determined that the operating state of the Hall sensor is abnormal; or, When it is determined that the jump trajectory is inconsistent with the preset jump trajectory, it is determined that the operating state of the Hall sensor is abnormal.

6. The control method according to claim 1, characterized in that: The disconnecting the detection path between the motor and the Hall sensor includes: At least one switch provided on a detection path between the motor and the Hall sensor is opened.

7. The control method according to claim 1 or 6, characterized in that: After disconnecting the detection path between the motor and the Hall sensor, the method further includes: When it is determined that the detection path between the motor and the Hall sensor is disconnected, the detection path between the motor and the back electromotive force detection unit is connected.

8. The control method according to claim 1, characterized in that: After disconnecting the detection path between the motor and the Hall sensor, the method further includes: The motor is restarted, and the motor is controlled in a manner of disconnecting a detection path between the motor and the Hall sensor.

9. The control method according to claim 1, characterized in that: The obtaining of a Hall signal for a motor rotor detected by at least one Hall sensor includes: Each phase of the Hall signal of the Hall sensor is detected to obtain a three-phase Hall signal of each Hall sensor.

10. A control device for a motor with a Hall sensor, characterized in that: include: An acquisition module, configured to acquire a Hall signal for a motor rotor detected by at least one Hall sensor; a judgment module, configured to judge, for each of the Hall sensors, whether an operating state of the Hall sensor is abnormal according to the Hall signal; a control module, configured to disconnect a detection path between the motor and the Hall sensor when determining that the Hall sensor has the abnormal operating state; The judgment module is further configured to: Performing analog-to-digital conversion on the Hall signal to obtain a digital signal corresponding to the Hall signal; Determining, based on the digital signal, whether the operating state of the corresponding Hall sensor is abnormal; The judgment module is further configured to: Monitoring the transition of the digital signal within a preset time period to obtain a transition trajectory of the digital signal, wherein the transition trajectory includes a transition from a high level to a low level and a transition from a low level to a high level; When it is determined that the jump trajectory is consistent with the preset jump trajectory, it is determined that there is no abnormality in the operating state of the Hall sensor.

11. The control device according to claim 10, characterized in that: The control module is further configured to: When it is determined that there is no Hall sensor with abnormal operating status, the detection path between the motor and the Hall sensor is kept in communication.

12. The control device according to claim 10, characterized in that The control module is further configured to: The number of the Hall sensors in abnormal operating state is obtained, and it is determined that the number reaches a preset number threshold.

13. The control device according to claim 12, characterized in that: The control module is further configured to: When it is determined that the number does not reach the preset number threshold, the detection path between the motor and the Hall sensor with the abnormal operating state is disconnected, and the detection path between the motor and the Hall sensor with no abnormal operating state is kept connected.

14. The control device according to claim 10, characterized in that The judgment module is further configured to: When it is determined that the digital signal does not jump within the preset time period, it is determined that the operating state of the Hall sensor is abnormal; or, When it is determined that the jump trajectory is inconsistent with the preset jump trajectory, it is determined that the operating state of the Hall sensor is abnormal.

15. The control device according to claim 10, characterized in that The control module is further configured to: At least one switch provided on a detection path between the motor and the Hall sensor is opened.

16. The control device according to claim 10 or 15, characterized in that: The control module is further configured to: When it is determined that the detection path between the motor and the Hall sensor is disconnected, the detection path between the motor and the back electromotive force detection unit is connected.

17. The control device according to claim 10, characterized in that The control module is further configured to: The motor is restarted, and the motor is controlled in a manner of disconnecting a detection path between the motor and the Hall sensor.

18. The control device according to claim 10, characterized in that The acquisition module is further used to: Each phase of the Hall signal of the Hall sensor is detected to obtain a three-phase Hall signal of each Hall sensor.

19. A control device, characterized in that: include: A control device for an electric motor with a Hall sensor according to any one of claims 10 to 18.

20. A chip, characterized in that: include: A control device for an electric motor with a Hall sensor according to any one of claims 10 to 18.

21. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the control method for a motor with a Hall sensor according to any one of claims 1 to 9 is implemented.

22. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the control method of the motor with a Hall sensor according to any one of claims 1 to 9 is implemented.

23. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the control method of a motor with a Hall sensor according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Motor control method and system based on hall sensor

    CN110061673A

  • Method for hall sensor error detection of motor

    KR1020130065411A