Brushless DC motor and control method thereof, linear drive device
By combining sensored FOC and sensorless FOC control modes, and using magnetic rings and Hall sensors to calculate angle compensation values, the problem of inaccurate initial angle during DC brushless motor startup is solved, achieving precise electrical angle control and efficient drive performance.
Patent Information
- Application Number
- CN202411179406.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-27
AI Technical Summary
The inability of a brushless DC motor to obtain an accurate initial starting angle during startup results in poor control performance, especially during mass production where Hall sensor installation deviations and batch consistency deviations have a significant impact.
By combining the sensory FOC control mode and the sensorless FOC control mode, the angle compensation value is calculated through the magnetic ring installed on the rotor shaft and the two linear Hall sensors on the drive board, so as to achieve precise electric angle start.
It improves the control performance and drive efficiency of brushless DC motors across the entire speed range, simplifies the process of acquiring angle information, eliminates the need for additional equipment, and enhances the system's startup reliability and heavy-load startup performance.
Smart Images

Figure CN118713532B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of direct current brushless motor driving, and further to a direct current brushless motor and a control method thereof, and a linear driving device. Background Art
[0002] Linear actuators generally raise or lower the push rod in the linear actuator by reversing the motor. Currently, in actual usage scenarios, brushless DC motors are widely used due to their advantages such as high efficiency, fast response, and high power density.
[0003] Common methods for driving brushless DC motors are divided into sensorless FOC control mode and sensory FOC control mode. Since the sensory FOC control mode has a higher electrical angle accuracy in the lower speed range of the motor, the sensory FOC control mode is usually used to start the motor.
[0004] However, since the brushless DC motor stops randomly, the initial angle value of the motor rotor is constantly changing; at the same time, during the mass production process, the Hall sensor has installation deviations and batch consistency deviations. Therefore, during the startup process, the accurate initial startup angle of the brushless DC motor cannot be obtained, which is not conducive to the brushless DC motor running at an accurate electrical angle during the startup process. Summary of the invention
[0005] The purpose of the present invention is to provide a brushless DC motor and a control method thereof, and a linear drive device, which utilizes a combination of a sensed FOC control mode and a sensorless FOC control mode to calculate an accurate angle compensation value of the brushless DC motor, thereby starting the brushless DC motor with a precise electrical angle, ensuring that the brushless DC motor runs at an accurate electrical angle in the full speed range, and is beneficial to improving control performance.
[0006] The technical solution provided by the present invention is as follows:
[0007] The present invention provides a control method for a dual-mode brushless DC motor, wherein a magnetic ring is installed on the rotor shaft of the brushless DC motor, and two linear Hall sensors are installed on a driving board of the brushless DC motor, wherein the linear Hall sensors are used to generate a sinusoidal wave feedback signal containing position information of the magnetic ring;
[0008] The control method comprises:
[0009] In the factory stage, the brushless DC motor is driven to run at no load using the sensorless FOC control mode;
[0010] Obtain a first no-load rotor angle of the motor rotor;
[0011] Respectively obtain a first no-load sine wave feedback signal and a second no-load sine wave feedback signal generated by the two linear Hall sensors when the DC brushless motor is running at no-load, and obtain a second no-load rotor angle of the motor rotor by analyzing and calculating the first no-load sine wave feedback signal and the second no-load sine wave feedback signal;
[0012] Obtaining an angle compensation value according to the first no-load rotor angle and the second no-load rotor angle;
[0013] During the startup phase, based on the angle compensation value, the brushless DC motor is started using a sensored FOC control mode to drive the brushless DC motor to run.
[0014] In some implementations, starting the brushless DC motor using a sensored FOC control mode based on the angle compensation value includes:
[0015] When the brushless DC motor is in a stationary state, respectively obtaining a first stationary sinusoidal wave feedback signal and a second stationary sinusoidal wave feedback signal generated by the two linear Hall sensors;
[0016] Analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a second stationary rotor angle of the motor rotor;
[0017] Obtaining an initial starting angle according to the second stationary rotor angle and the angle compensation value;
[0018] Based on the initial start angle, the brushless DC motor is started using a sensored FOC control mode.
[0019] In some embodiments, the method of starting the brushless DC motor using a sensed FOC control mode based on the angle compensation value and driving the brushless DC motor to run further comprises:
[0020] Real-time monitoring of the rotation speed of the motor rotor;
[0021] When the speed value is higher than a first threshold, switching to a sensorless FOC control mode to control the operation of the brushless DC motor;
[0022] Otherwise, the control mode is switched to the sensored FOC control mode to control the operation of the brushless DC motor.
[0023] In some embodiments, before using the sensorless FOC control mode to drive the brushless DC motor to run at no-load, the method further includes:
[0024] Acquiring characteristic parameter information of the brushless DC motor;
[0025] Debugging the starting parameters of the brushless DC motor according to the characteristic parameter information to obtain starting parameter information that meets the starting performance;
[0026] The brushless DC motor is driven to run at no load using a sensorless FOC control mode according to the startup parameter information.
[0027] In some implementations, the step of analytically calculating the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal to obtain a second no-load rotor angle of the motor rotor includes:
[0028] Analytically calculating the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal to obtain a no-load angle of the motor rotor;
[0029] The pole pair number information of the brushless DC motor is obtained, and the no-load angle is converted by frequency doubling according to the no-load angle and the pole pair number information to obtain a second no-load rotor angle of the motor rotor.
[0030] In some implementations, the method for analyzing the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal includes: an inverse tangent method and a phase-locked loop method.
[0031] In some implementations, the method for acquiring a first no-load rotor angle of a motor rotor includes: acquiring the first no-load rotor angle of the motor rotor by using a sensorless position observer.
[0032] In some implementations, the step of analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a second stationary rotor angle of the motor rotor includes:
[0033] Analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a stationary angle of the motor rotor;
[0034] The pole pair number information of the brushless DC motor is obtained, and the static angle is converted into a multiple frequency according to the static angle and the pole pair number information to obtain a second static rotor angle of the motor rotor.
[0035] The present invention also provides a brushless DC motor, wherein a magnetic ring is installed on the rotor shaft of the brushless DC motor, and two linear Hall sensors are installed on the driving board of the brushless DC motor. The brushless DC motor is used to execute a control method for a dual-mode brushless DC motor as described in any one of the above items.
[0036] The present invention further provides a linear drive device, comprising: a push rod and the above-mentioned DC brushless motor, wherein the DC brushless motor drives the push rod to move linearly by forward and reverse rotation.
[0037] Compared with the prior art, the brushless DC motor and its control method and linear drive device provided by the present invention have the following beneficial effects:
[0038] 1. When the brushless DC motor is in the factory mode, the sensorless FOC control mode is used to start the brushless DC motor and calculate the angle compensation value. In the subsequent normal use process, the sensed FOC control mode is used to start the brushless DC motor normally based on the angle compensation value. That is, by combining the sensed FOC control mode with the sensorless FOC control mode, the accurate operating electrical angle of the brushless DC motor can be obtained, which improves the control performance of the system and also improves the driving efficiency of the system.
[0039] 2. The angle compensation value can be calculated based on the motor rotor angle obtained when the brushless DC motor is running at no-load and the sinusoidal wave feedback signal provided by the two-way linear Hall sensor. Accurate electrical angle information can be obtained without adding other equipment such as shaft end magnetic induction devices. The calculation method is simple and practical.
[0040] 3. At the same time, switching between dual modes when the motor rotor speed is different is conducive to improving control performance and improving the efficiency of the drive system. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will provide an exemplary introduction to the drawings used in the description of the embodiments. The drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work. The drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation to the present disclosure.
[0042] Figure 1 It is a structural schematic diagram of a brushless DC motor in a control method of a dual-mode brushless DC motor of the present invention;
[0043] Figure 2 is a flow chart of an embodiment of a control method for a dual-mode brushless DC motor of the present invention;
[0044] Figure 3 It is a flow chart of a control method of a dual-mode brushless DC motor of the present invention, in which a sensorless FOC control mode is used to drive the brushless DC motor before no-load operation;
[0045] Figure 4 It is a schematic diagram of the process of dual-mode switching in a control method of a dual-mode brushless DC motor of the present invention. DETAILED DESCRIPTION
[0046] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0047] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.
[0048] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0049] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0051] Linear actuators are widely used in office, home, medical, engineering and other environments. In use, linear actuators generally raise or lower the push rod in the linear actuator by reversing the motor. Currently, in the above-mentioned practical use scenarios, brushless DC motors are widely used because of their high efficiency, fast response, and high power density.
[0052] Common methods for driving brushless DC motors are divided into sensorless FOC control mode and sensory FOC control mode. The sensorless FOC control mode has a lower electrical angle accuracy in the lower motor speed range. In the sensory FOC control mode, the installation error and device error caused by the sensor itself will be amplified as the motor speed increases, and the electrical angle accuracy obtained is lower than the electrical angle accuracy obtained by the sensorless position observer. In the existing technical solutions, the full speed range is usually driven by sensor or sensorless, which is not conducive to achieving accurate electrical angle operation in the full speed range.
[0053] In addition, since the brushless DC motor stops randomly, the initial angle value of the motor rotor is constantly changing. At the same time, during the mass production process, the Hall sensor has installation deviations and batch consistency deviations. Therefore, during the startup process, the accurate initial startup angle of the brushless DC motor cannot be obtained. This is not conducive to the brushless DC motor running at an accurate electrical angle during the startup process.
[0054] In order to solve the above technical problems, the present invention provides a brushless DC motor and a control method thereof, and a linear drive device. The sensed FOC control mode and the sensorless FOC control mode are combined to calculate a precise angle compensation value of the brushless DC motor. The precise initial starting angle is calculated through the precise angle compensation value, so that the brushless DC motor can be started with a precise electrical angle, ensuring that the brushless DC motor runs with an accurate electrical angle in the full speed range, which is beneficial to improving the control performance.
[0055] Below, this scheme will be described in detail with reference to the accompanying drawings.
[0056] For the purpose of reference and clarity, the technical terms, abbreviations or acronyms used below are summarized and explained as follows:
[0057] Linear drives: Linear drives generally use the rotation of the motor in the linear actuator to achieve linear reciprocating motion of the actuator, such as lifting tables and medical beds.
[0058] Brushless DC motor: A brushless DC motor is a motor without brushes, commutators or slip rings. A brushless DC motor uses electronic commutation.
[0059] Brushed DC Motor: The stator of a brushed DC motor is equipped with fixed main magnetic poles and brushes, and the rotor is equipped with armature windings and commutators. The electric energy of the DC power supply enters the armature windings through the brushes and commutator, generating armature current. The magnetic field generated by the armature current interacts with the main magnetic field to generate electromagnetic torque, causing the motor to rotate and drive the load.
[0060] FOC: Abbreviation for Field Oriented Control. It is a motor control technology that achieves precise control of the motor by decomposing the motor's magnetic field into direct-axis and quadrature-axis magnetic fields and independently controlling their magnitude and phase. FOC generally includes inductive FOC and inductive FOC.
[0061] Sensored FOC: Field-oriented control that uses a position sensor to obtain the motor rotor angle.
[0062] Sensorless FOC: No position sensor is used, and the position observer of the software is used to obtain the field-oriented control of the motor rotor angle.
[0063] Motor Resistance: Motor resistance is the resistance that electric current experiences when passing through the motor.
[0064] Motor Inductance: Motor inductance refers to the self-inductance generated in the motor windings. When the current changes, the self-inductance will resist the instantaneous value of the current change.
[0065] Motor pole pair number: In motor science, the motor pole pair number refers to the number of magnetic pole pairs of the permanent magnet. A pair of magnetic poles consists of an N pole and an S pole.
[0066] Linear Hall sensor: Hall is a sensor that uses the Hall effect to measure magnetic fields. It can convert changes in the magnetic field into voltage signal output. The voltage feedback signal and magnetic induction intensity of the linear Hall sensor are linearly related within a certain range.
[0067] Dual-mode control: In this solution, dual-mode control specifically refers to the sensored FOC control mode and the sensorless FOC control mode to drive the DC brushless motor to operate.
[0068] In one embodiment, the present invention provides a control method for a dual-mode brushless DC motor, wherein a magnetic ring is installed on the rotor shaft of the brushless DC motor, and two linear Hall sensors are installed on the driving board of the brushless DC motor, and the linear Hall sensors are used to generate a sinusoidal wave feedback signal containing the magnetic ring position information.
[0069] like Figure 1 As shown, a motor housing is arranged on the periphery of the brushless DC motor, a rotor shaft is arranged in the middle, a driving board is arranged between the rotor shaft and the motor housing, a magnetic ring is arranged on the rotor shaft, and the magnetic ring is used to feedback the position information of the motor rotor, and two-way linear Hall sensors are arranged on the driving board of the brushless DC motor, and the linear Hall sensors are used to generate a sine wave feedback signal containing the position information of the magnetic ring. The two-way linear Hall sensors and the magnetic ring are arranged on the same side of the brushless DC motor.
[0070] A brushless DC motor is an electric motor that uses electronic commutation. Usually, a rotor position feedback device, i.e., a magnetic ring in this solution, can be installed on the rotor shaft of the brushless DC motor, and the electronic commutation can be controlled according to the output signal of the magnetic ring to achieve precise control of the brushless DC motor.
[0071] For a given installed magnetic ring, the position of the magnetic field of the magnetic ring and the motor rotor position of the DC brushless motor with permanent magnets as the motor rotor also establish a fixed phase relationship. The phase relationship between the two is identified through angle deviation calibration to obtain the angle compensation value, and then the purpose of accurately controlling the DC brushless motor can be achieved based on the angle compensation value.
[0072] Preferably, the electrical angles of the two linear Hall sensors differ by 90°. When the magnetic ring rotates, the two linear Hall sensors sense two sinusoidal feedback signals with a phase difference of 90°, and the sinusoidal feedback signals contain the position information of the magnetic ring during the rotation process.
[0073] During implementation, in order to obtain more accurate electrical angle information, the amplitude and phase of the two linear Hall sensors are calibrated in real time.
[0074] like Figure 2 As shown, the present invention provides a control method for a dual-mode brushless DC motor, comprising:
[0075] At the factory stage, the sensorless FOC control mode is used to drive the brushless DC motor to run at no load;
[0076] Obtain a first no-load rotor angle of the motor rotor;
[0077] Respectively obtain a first no-load sine wave feedback signal and a second no-load sine wave feedback signal generated by two linear Hall sensors when the DC brushless motor is running at no-load, and analyze and calculate the first no-load sine wave feedback signal and the second no-load sine wave feedback signal to obtain a second no-load rotor angle of the motor rotor;
[0078] Obtaining an angle compensation value according to a first no-load rotor angle and a second no-load rotor angle;
[0079] During the startup phase, based on the angle compensation value, the brushless DC motor is started using the sensored FOC control mode to drive the brushless DC motor to run.
[0080] In one embodiment, during mass production, the angle deviation value of each brushless DC motor is different. Therefore, each brushless DC motor is first calibrated for angle deviation at the factory stage to obtain the angle deviation, that is, the angle compensation value, and thus the electrical angle information for accurately controlling the brushless DC motor is obtained.
[0081] First, when the brushless DC motor is in the factory state, the sensorless FOC control mode is used to drive the brushless DC motor to run normally without load, and the first no-load rotor angle of the motor rotor under specific working conditions is obtained. It should be noted that the first no-load rotor angle under specific working conditions here is only executed once at the factory for angle difference calibration.
[0082] In a specific embodiment, after the brushless DC motor is driven to operate normally using the sensorless FOC control mode, the motor control software obtains the first no-load rotor angle fed back by the sensorless position observer in real time.
[0083] In a specific embodiment, the first no-load rotor angle can also be displayed in the form of data or a continuous curve in an online debugging mode of a motor control software development platform (such as Keil or IAR, two commonly used embedded development tools) or other host computer debugging tools.
[0084] While the brushless DC motor is running at no load, the ADC (analog-to-digital converter) module built into the motor main control chip is used to sample and obtain two orthogonal magnetic induction element analog signals generated by two linear Hall sensors, which are recorded as the first no-load sinusoidal feedback signal and the second no-load sinusoidal feedback signal. The first no-load sinusoidal feedback signal and the second no-load sinusoidal feedback signal are analyzed to obtain the second no-load rotor angle of the motor rotor.
[0085] During implementation, the difference between the first no-load rotor angle and the second no-load rotor angle is calculated to obtain the angle compensation value, thereby completing the angle deviation calibration. After obtaining the angle compensation value, the electrical angle information for accurately controlling the DC brushless motor is obtained.
[0086] During the startup phase, based on the angle compensation value, the brushless DC motor is started using the sensored FOC control mode to drive the brushless DC motor to run.
[0087] The present invention combines the sensory FOC control mode with the sensorless FOC control mode to calculate the accurate angle compensation value of the DC brushless motor, and obtains the accurate initial start angle through the accurate angle compensation value calculation, so as to start the DC brushless motor with the accurate electrical angle, ensure that the DC brushless motor runs with the accurate electrical angle in the full speed section, and improve the control performance of the system. This is an important concept of the present invention.
[0088] At the same time, the angle compensation value can be calculated based on the motor rotor angle obtained when the brushless DC motor is running at no-load and the sinusoidal wave feedback signal provided by the two-way linear Hall sensor. Data can be obtained without adding a second device such as a shaft-end magnetic induction device. The calculation method is simple and practical.
[0089] In one embodiment, based on the angle compensation value, the brushless DC motor is started using the sensored FOC control mode, including:
[0090] When the brushless DC motor is in a stationary state, a first stationary sinusoidal wave feedback signal and a second stationary sinusoidal wave feedback signal generated by two linear Hall sensors are respectively obtained;
[0091] The first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal are analyzed and calculated to obtain a second stationary rotor angle of the motor rotor;
[0092] Obtaining an initial starting angle according to the second stationary rotor angle and the angle compensation value;
[0093] Based on the initial starting angle, the brushless DC motor is started using the sensored FOC control mode.
[0094] In implementation, when the brushless DC motor is in a stationary state, the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal generated by the two linear Hall sensors are respectively obtained, and the current initial angle of the motor rotor is calculated and recorded as the second stationary rotor angle.
[0095] The second stationary rotor angle and the angle compensation value are added to obtain the initial start angle of the motor rotor. The brushless DC motor is started based on the initial start angle using the sensored FOC control mode.
[0096] By reading the angle compensation value of the brushless DC motor at the factory and the second stationary rotor angle of the brushless DC motor when it is in a stationary state, the precise initial starting angle can be obtained by adding these two angles. In the sensed FOC control mode, the brushless DC motor is driven to operate based on the initial starting angle, which improves the control performance of the system and also improves the driving efficiency of the system.
[0097] like Figure 4 As shown, in one embodiment, based on the angle compensation value, the brushless DC motor is started using the sensed FOC control mode, and after the brushless DC motor is driven to run, the method further includes:
[0098] Real-time monitoring of the motor rotor speed;
[0099] When the speed value is higher than the first threshold, the control mode is switched to the sensorless FOC control mode to control the operation of the brushless DC motor;
[0100] Otherwise, switch to the sensored FOC control mode to control the operation of the brushless DC motor.
[0101] In one embodiment, when the brushless DC motor is running at a medium or high speed, the angle value of the motor rotor obtained by the sensorless position observer can accurately control the brushless DC motor.
[0102] In the implementation process, a first threshold is set. When the speed value of the motor rotor is higher than the first threshold, the control mode is switched to the sensorless FOC control mode, which can effectively avoid the influence of the deviation detected by the linear Hall sensor on the DC brushless motor and reduce the requirements for the amplitude and phase calibration of the Hall signal. When the speed value of the motor rotor is lower than the first threshold, the control mode is switched to the sensory FOC control mode to use more accurate motor position information in the stationary and low-speed sections.
[0103] In addition, compared with the sensorless FOC control mode, the DC brushless motor uses the sensored FOC control mode to start from a stationary state, which significantly improves the starting reliability and heavy-load starting performance of the DC brushless motor.
[0104] It should be noted that the first threshold is a speed value set according to the speed of the motor rotor. The specific speed value can be set according to the actual application scenario and is not limited here.
[0105] like Figure 3 As shown, in one embodiment, before using the sensorless FOC control mode to drive the DC brushless motor to run at no-load, it also includes:
[0106] Obtain characteristic parameter information of brushless DC motor;
[0107] Debug the starting parameters of the brushless DC motor according to the characteristic parameter information to obtain starting parameter information that meets the starting performance;
[0108] According to the startup parameter information, the sensorless FOC control mode is used to drive the brushless DC motor to run at no load.
[0109] In the implementation, before starting the brushless DC motor, the characteristic parameter information of the brushless DC motor is measured first, including: motor resistance, motor inductance, and motor pole pair number. When using the sensorless FOC control mode to match the brushless DC motor, these characteristic parameter information needs to be used to establish a control model. The measurement of these characteristic parameter information is a necessary pre-step.
[0110] The starting parameters of the brushless DC motor are matched and debugged in detail according to the measured characteristic parameter information of the brushless DC motor, so that the starting parameters meet the normal starting performance and the sensorless position observer can obtain the angle value of the motor rotor.
[0111] Use sensorless FOC to drive the brushless DC motor according to the adjusted startup parameter information to drive the brushless DC motor to run at no load.
[0112] Acquiring characteristic parameter information of the brushless DC motor and adjusting the characteristic parameter information before the brushless DC motor starts running is beneficial to improving the starting performance of the drive system.
[0113] In one embodiment, the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal are analyzed and calculated to obtain a second no-load rotor angle of the motor rotor, including:
[0114] Analytically calculating the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal to obtain a no-load angle of the motor rotor;
[0115] The pole pair number information of the brushless DC motor is obtained, and the no-load angle is converted by frequency doubling according to the no-load angle and the pole pair number information to obtain a second no-load rotor angle of the motor rotor.
[0116] In one embodiment, the pole pair number information of the brushless DC motor is obtained. In motor science, the pole pair number of the motor refers to the pole pair number of the permanent magnet, which can be obtained from the motor specification or by measurement. A pair of magnetic poles consists of an N pole and an S pole. The pole pair number of the permanent magnet rotor of the motor is not necessarily the same as the pole pair number of the magnetic ring.
[0117] The obtained no-load angle of the motor rotor is converted by multiplying the frequency. Specifically, for example, if the magnetic ring has a pair of poles and the motor rotor has b pair of poles, the no-load angle of the motor rotor calculated in the above embodiment is multiplied by the coefficient (b / a) to obtain an angle value reflecting the position of the motor rotor, that is, the second no-load rotor angle of the motor rotor.
[0118] Since the number of pole pairs of the permanent magnet rotor of the motor is not necessarily the same as the number of pole pairs of the magnetic ring, a more accurate second no-load rotor angle of the motor rotor can be obtained by performing a frequency doubling conversion on the no-load angle of the motor rotor, which is beneficial to improving the driving accuracy of the drive system.
[0119] In one embodiment, the method of analyzing the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal includes: an inverse tangent method and a phase-locked loop method.
[0120] In a specific implementation, the method for analyzing two sinusoidal wave feedback signals with a phase difference of 90° includes but is not limited to an inverse tangent calculation method and a phase-locked loop calculation method.
[0121] In signal processing, the inverse tangent method is a commonly used technique for extracting phase information from two orthogonal signals (i.e. signals with a phase difference of 90°). It can detect the phase of two signals with a phase difference of 90°. Based on the mathematical relationship between the two signals, the phase difference is obtained by calculating their ratio, which has a wide range of applications in signal processing, communication systems, control systems, and other fields.
[0122] The phase-locked loop method multiplies the orthogonal back-EMF signal with the sine and cosine results of the angle calculated in the previous beat, and then sends it to the PI regulator (proportional integral controller). When the error tends to zero, the output of the PI regulator is the motor speed. When the angle difference (err) is very small, the error of the PI regulator is proportional to the angle change. The change in angle is the motor speed, and the motor angle is obtained by integrating the motor speed.
[0123] It should be noted that the inverse tangent calculation method and the phase-locked loop method are both public technical methods and will not be described in detail here.
[0124] In one embodiment, a method for acquiring a first no-load rotor angle of a motor rotor includes: acquiring the first no-load rotor angle of the motor rotor by using a sensorless position observer.
[0125] In one embodiment, the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal are analyzed and calculated to obtain a second stationary rotor angle of the motor rotor, including:
[0126] Analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a stationary angle of the motor rotor;
[0127] The pole pair number information of the brushless DC motor is obtained, and the static angle is converted into a multiple frequency according to the static angle and the pole pair number information to obtain a second static rotor angle of the motor rotor.
[0128] In one embodiment, the pole pair number information of the brushless DC motor is obtained. In motor science, the pole pair number of the motor refers to the pole pair number of the permanent magnet, which can be obtained from the motor specification or by measurement. A pair of magnetic poles consists of an N pole and an S pole. The pole pair number of the permanent magnet rotor of the motor is not necessarily the same as the pole pair number of the magnetic ring.
[0129] The obtained static angle of the motor rotor is converted by multiplying the frequency. Specifically, for example, if the magnetic ring has a pair of poles and the motor rotor has b pair of poles, the static angle of the motor rotor calculated in the above embodiment is multiplied by the coefficient (b / a) to obtain an angle value reflecting the position of the motor rotor, that is, the second static rotor angle of the motor rotor.
[0130] Since the number of pole pairs of the permanent magnet rotor of the motor is not necessarily the same as the number of pole pairs of the magnetic ring, a more accurate second stationary rotor angle of the motor rotor can be obtained by performing a frequency doubling conversion on the stationary angle of the motor rotor, which is beneficial to improving the driving accuracy of the drive system.
[0131] In one embodiment, a control method of a dual-mode brushless DC motor in this solution specifically includes three stages: sensorless FOC control mode matching, angle deviation calibration, and actual operation. Each stage includes corresponding implementation steps, as follows:
[0132] Phase 1: Sensorless FOC control mode matching, including:
[0133] Get the brushless DC motor in factory mode, and measure its characteristic parameter information such as motor resistance Rs, motor inductance Ls, motor pole pair number P, etc. Use these characteristic parameter information to establish a control model, and perform detailed matching and debugging of the motor startup parameter information so that the startup parameter information meets the normal startup performance. After successful debugging, use the sensorless FOC control mode to drive the brushless DC motor according to the adjusted startup parameter information, and drive the brushless DC motor to run at no load.
[0134] Phase 2, angle deviation calibration, includes:
[0135] When the brushless DC motor is in a factory state, the sensorless FOC control mode is used to normally drive the brushless DC motor to run at no-load, and the first no-load rotor angle of the motor rotor is obtained through the sensorless position observer.
[0136] While the brushless DC motor is running at no load, two orthogonal magnetic induction element analog signals generated by two linear Hall sensors are obtained, which are recorded as the first no-load sinusoidal feedback signal and the second no-load sinusoidal feedback signal. The first no-load sinusoidal feedback signal and the second no-load sinusoidal feedback signal are analyzed to obtain the no-load angle of the motor rotor.
[0137] The pole pair number information of the brushless DC motor is obtained, and the no-load angle of the motor rotor is converted by frequency doubling. Specifically, for example, if the magnetic ring has a pair of poles and the motor rotor has b pair of poles, the no-load angle of the motor rotor calculated in the above embodiment is multiplied by a coefficient (b / a) to obtain a second no-load rotor angle of the motor rotor.
[0138] The difference between the first no-load rotor angle and the second no-load rotor angle is calculated to obtain an angle compensation value, thereby completing the angle deviation calibration.
[0139] Based on the angle compensation value, the brushless DC motor is started using the sensored FOC control mode to drive the brushless DC motor to run.
[0140] Phase 3, actual operation, includes:
[0141] A first threshold is set, and the speed of the motor rotor is monitored in real time. When the speed of the motor rotor is higher than the first threshold, the control mode is switched to the sensorless FOC control mode, which can effectively avoid the impact of the deviation detected by the linear Hall sensor on the DC brushless motor and reduce the requirements for amplitude and phase calibration of the Hall signal. When the speed of the motor rotor is lower than the first threshold, the control mode is switched to the sensory FOC control mode to use more accurate motor position information in the stationary and low-speed sections.
[0142] It should be noted that the first threshold is a speed value set according to the speed of the motor rotor. The specific speed value can be set according to the actual application scenario and is not limited here.
[0143] The original function of the linear Hall sensor is to feedback the motion position information to the host computer and only control the position. In this solution, the switch-type linear Hall sensor in the original system is replaced with an analog linear Hall sensor. The signals received by the two-way linear Hall sensor are analyzed and calculated to obtain the angle compensation value, so that the two analog linear Hall sensors can not only play the role of feedback position information, but also be used as a signal for motor control. At the same time, by making the sensed FOC control mode drive the DC brushless motor based on the angle compensation value, the driving performance of the system is improved. In addition, by switching the dual modes according to the speed value of the motor rotor, the advantages of the sensed FOC control mode and the senseless FOC control mode can be better utilized, which not only improves the control performance of the system, but also improves the driving efficiency of the system.
[0144] According to another aspect of the present invention, the present invention also provides a brushless DC motor, a magnetic ring is installed on the rotor shaft of the brushless DC motor, two linear Hall sensors are installed on the drive board of the brushless DC motor, and the brushless DC motor is used to execute a control method for a dual-mode brushless DC motor in any of the above embodiments.
[0145] Specifically, this embodiment is a device embodiment corresponding to the above method embodiment. For specific effects, please refer to the above method embodiment, which will not be described in detail here.
[0146] According to another aspect of the present invention, the present invention further provides a linear drive device, comprising: a push rod and the DC brushless motor in the above embodiment, wherein the DC brushless motor drives the push rod to move linearly by forward and reverse rotation.
[0147] Specifically, this embodiment is a device embodiment corresponding to the above method embodiment. For specific effects, please refer to the above method embodiment, which will not be described in detail here.
[0148] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A control method for a dual-mode brushless DC motor, characterized in that: A magnetic ring is installed on the rotor shaft of the brushless DC motor, and two linear Hall sensors are installed on the driving board of the brushless DC motor, and the linear Hall sensors are used to generate a sinusoidal wave feedback signal containing position information of the magnetic ring; The control method comprises: In the factory stage, the brushless DC motor is driven to run at no load using the sensorless FOC control mode; Obtain a first no-load rotor angle of the motor rotor; Respectively obtain a first no-load sine wave feedback signal and a second no-load sine wave feedback signal generated by the two linear Hall sensors when the DC brushless motor is running at no-load, and obtain a second no-load rotor angle of the motor rotor by analyzing and calculating the first no-load sine wave feedback signal and the second no-load sine wave feedback signal; Obtaining an angle compensation value according to a difference between the first no-load rotor angle and the second no-load rotor angle; During the startup phase, based on the angle compensation value, the brushless DC motor is started using a sensored FOC control mode to drive the brushless DC motor to run.
2. The control method of a dual-mode brushless DC motor according to claim 1, characterized in that: The method of starting the brushless DC motor using a sensored FOC control mode based on the angle compensation value includes: When the brushless DC motor is in a stationary state, respectively obtaining a first stationary sinusoidal wave feedback signal and a second stationary sinusoidal wave feedback signal generated by the two linear Hall sensors; Analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a second stationary rotor angle of the motor rotor; Obtaining an initial starting angle according to the second stationary rotor angle and the angle compensation value; Based on the initial start angle, the brushless DC motor is started using a sensored FOC control mode.
3. The control method of a dual-mode brushless DC motor according to claim 1, characterized in that: After starting the brushless DC motor using the sensed FOC control mode based on the angle compensation value and driving the brushless DC motor to run, the method further includes: Real-time monitoring of the rotation speed of the motor rotor; When the speed value is higher than a first threshold, switching to a sensorless FOC control mode to control the operation of the brushless DC motor; Otherwise, the control mode is switched to the sensored FOC control mode to control the operation of the brushless DC motor.
4. The control method of a dual-mode brushless DC motor according to claim 1, characterized in that: Before using the sensorless FOC control mode to drive the brushless DC motor to run at no-load, the method further includes: Acquiring characteristic parameter information of the brushless DC motor; Debugging the starting parameters of the brushless DC motor according to the characteristic parameter information to obtain starting parameter information that meets the starting performance; The brushless DC motor is driven to run at no load using a sensorless FOC control mode according to the startup parameter information.
5. The control method of a dual-mode brushless DC motor according to claim 1, characterized in that: The step of analyzing and calculating the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal to obtain a second no-load rotor angle of the motor rotor includes: Analytically calculating the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal to obtain a no-load angle of the motor rotor; The pole pair number information of the brushless DC motor is obtained, and the no-load angle is converted by frequency doubling according to the no-load angle and the pole pair number information to obtain a second no-load rotor angle of the motor rotor.
6. The control method of a dual-mode brushless DC motor according to claim 5, characterized in that: The method for analyzing the first no-load sinusoidal wave feedback signal and the second no-load sinusoidal wave feedback signal includes: an inverse tangent method and a phase-locked loop method.
7. The control method of a dual-mode brushless DC motor according to claim 1, characterized in that: The method for obtaining a first no-load rotor angle of a motor rotor comprises: obtaining the first no-load rotor angle of the motor rotor by using a sensorless position observer.
8. The control method of a dual-mode brushless DC motor according to claim 2, characterized in that: The step of analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a second stationary rotor angle of the motor rotor comprises: Analytically calculating the first stationary sinusoidal wave feedback signal and the second stationary sinusoidal wave feedback signal to obtain a stationary angle of the motor rotor; The pole pair number information of the brushless DC motor is obtained, and the static angle is converted into a multiple frequency according to the static angle and the pole pair number information to obtain a second static rotor angle of the motor rotor.
9. A brushless DC motor, characterized in that: A magnetic ring is installed on the rotor shaft of the brushless DC motor, two linear Hall sensors are installed on the driving board of the brushless DC motor, and the brushless DC motor is used to execute a control method for a dual-mode brushless DC motor as described in any one of claims 1-8.
10. A linear drive device, characterized in that: include: A push rod and a DC brushless motor as claimed in claim 9, wherein the DC brushless motor drives the push rod to move linearly by forward and reverse rotation.
