Zero dynamic calibration method and device for angle unilateral convergence brushless motor
By adopting a dynamic calibration method of unilateral convergence in brushless motors, the problem of low zero calibration accuracy and reliability in the prior art is solved, and more efficient and reliable motor zero calibration is achieved, ensuring the safe and reliable start-up and operation of the motor.
Patent Information
- Application Number
- CN202411941225.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-26
AI Technical Summary
The existing brushless motor zero-position calibration methods have problems with low accuracy and reliability, which may cause unstable motors during startup and operation, and even accidents.
The zero-position dynamic calibration method of brushless motors is adopted. By constructing the angle unilateral convergence reference curve, the rotor of the motor is driven to converge from the initial angle position to the angle zero position, and the zero-position calibration effect is quantified by comparing the actual curve and the reference curve.
Improve the accuracy and reliability of motor zero position calibration, ensure the stability of the motor during start-up and operation, and avoid accidents caused by incorrect calibration.
Smart Images

Figure CN119766035A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of motor technology, and in particular to a method and device for dynamically calibrating the zero position of a brushless motor with unilateral angle convergence. Background Art
[0002] For incremental encoder feedback brushless motors, after the system is completely powered off, the motor zero position calibration must be performed when it is restarted to ensure that the motor control system can accurately control the position and movement of the motor. Existing zero position calibration methods often only set a fixed angle zero position, and pass a sufficiently large current to allow the rotor permanent magnet to overcome the static friction torque, dynamic friction torque, and resistance torque, and try to align to this angle zero position.
[0003] However, in engineering practice, the motor may be in a weak equilibrium state during the calibration process. The zero-position pull generated by the calibration current is nearly parallel to the permanent magnet, and the zeroing torque generated is very small, even insufficient to overcome the static friction torque and resistance torque generated by the motor, reducer, load, etc., resulting in calibration failure. The motor shaft is also often subjected to various unexpected interference torques, which makes it impossible for the motor rotor permanent magnet to align to the angle zero position. The accuracy of the zero-position calibration is low, affecting the stability of the motor operation. In addition, the existing calibration method lacks monitoring of the zero-position calibration effect, which causes the motor control system to control the motor to be put into production when the calibration error is large, which is easy to cause accidents. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method and device for dynamic calibration of the zero position of a single-sided convergence brushless motor, so as to solve the problems of low accuracy and reliability of the zero position calibration method in the prior art, realize efficient and reliable dynamic calibration of the motor zero position, avoid accidents caused by incorrect calibration, and ensure the safe and reliable starting and operation of the motor.
[0005] The embodiment of the present application provides a method for dynamic calibration of the zero position of a single-sided angle convergence brushless motor, the dynamic calibration method comprising:
[0006] Determine the calibration parameters of the motor to be calibrated;
[0007] According to the rotation direction of the motor to be calibrated in the working state, according to the calibration parameters, construct an angle unilateral convergence reference curve of the motor to be calibrated; wherein the angle unilateral convergence reference curve is used to characterize the motion mode of the motor rotor converging unidirectionally from the initial angle position to the angle zero position over time;
[0008] The motor to be calibrated is driven to run according to the angle unilateral convergence reference curve, and an actual angle curve of the motor to be calibrated is obtained; wherein the actual angle curve refers to a curve formed by the actual angle positions of the motor rotor at different operating times;
[0009] Comparing the actual angle curve with the angle unilateral convergence reference curve to determine the zero-position calibration effect of the motor to be calibrated;
[0010] When the zero-position calibration effect meets the preset requirement, it is determined that the motor to be calibrated has completed the zero-position calibration.
[0011] Furthermore, the calibration parameters include: the angle zero position, the deviation angle value and the angle attenuation coefficient; according to the rotation direction of the motor to be calibrated in the working state, according to the calibration parameters, constructing the angle unilateral convergence reference curve of the motor to be calibrated, including:
[0012] According to the rotation direction of the motor to be calibrated in the working state, determining the convergence positive direction of the motor rotor angular position;
[0013] Determine an angle attenuation term according to the deviation angle value and the angle attenuation coefficient; wherein the deviation angle value refers to the angle value of the initial angle position of the motor rotor deviating from the angle zero position; the angle attenuation coefficient is used to control the angle convergence speed of the motor rotor;
[0014] According to the angle zero position, the convergence positive direction and the angle attenuation term, the angle unilateral convergence reference curve that converges unidirectionally in the convergence positive direction is constructed.
[0015] Furthermore, obtaining the actual angle curve of the motor to be calibrated includes:
[0016] Determine the stop angle according to the angle zero position and the preset error angle value;
[0017] Recording the actual angle position corresponding to each running moment until the actual angle position corresponding to any running moment reaches the stop angle;
[0018] Based on the actual angle position corresponding to each recorded running moment, the angle actual curve is obtained.
[0019] Further, comparing the angle actual curve with the angle unilateral convergence reference curve to determine the zero position calibration effect of the motor to be calibrated includes:
[0020] Comparing the angle actual curve with the angle unilateral convergence reference curve, intercepting a preset time length from the running moment when the stop angle is reached forward, to obtain an angle difference curve;
[0021] By performing an integral operation on the angle difference curve, an average angle error of the motor to be calibrated within the preset time length is obtained; wherein the average angle error is used to measure the zero-position calibration effect of the motor to be calibrated.
[0022] Furthermore, the dynamic calibration method further includes determining that the zero position calibration effect meets the preset requirements in the following manner:
[0023] When the average angle error is less than a preset error threshold, it is determined that the zero position calibration effect meets the preset requirement.
[0024] Furthermore, when the angular position of the motor to be calibrated converges in an exponential form, the formula of the angle unilateral convergence reference curve is expressed as:
[0025] Q ref =q0+a×e -bt
[0026] When the angular position of the motor to be calibrated converges in an inverse form, the formula of the angle unilateral convergence reference curve is expressed as:
[0027] Q ref =q0+a / (b×t)
[0028] Among them, Q ref represents the angle unilateral convergence reference curve; Q0 represents the angle zero position; a represents the deviation angle value; b represents the angle attenuation coefficient; T represents the running time.
[0029] Furthermore, the dynamic calibration method also includes:
[0030] When the zero-position calibration effect does not meet the preset requirement, determining whether the number of zero-position calibrations of the motor to be calibrated reaches a preset number threshold;
[0031] If it is not reached, re-calibrate the motor to be calibrated at zero position;
[0032] If it has been reached, an alarm signal is generated and sent to relevant personnel.
[0033] The embodiment of the present application also provides a device for dynamically calibrating the zero position of a brushless motor with single-sided angle convergence, the device comprising:
[0034] A determination module, used to determine the calibration parameters of the motor to be calibrated;
[0035] A construction module is used to construct an angle unilateral convergence reference curve of the motor to be calibrated according to the rotation direction of the motor to be calibrated in the working state and according to the calibration parameters; wherein the angle unilateral convergence reference curve is used to characterize the motion mode of the motor rotor converging unidirectionally from the initial angle position to the angle zero position over time;
[0036] An acquisition module, used to drive the motor to be calibrated to run according to the angle unilateral convergence reference curve, and acquire the angle actual curve of the motor to be calibrated; wherein the angle actual curve refers to a curve formed by the actual angle position of the motor rotor corresponding to different running times;
[0037] A comparison module, used for comparing the angle actual curve with the angle unilateral convergence reference curve, to determine the zero position calibration effect of the motor to be calibrated;
[0038] The judging module is used to determine that the zero-position calibration of the motor to be calibrated has been completed when the zero-position calibration effect meets the preset requirements.
[0039] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned method for dynamic calibration of zero position of a single-sided convergence brushless motor are performed.
[0040] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned method for dynamic calibration of zero position of a brushless motor with single-sided angle convergence are executed.
[0041] The embodiments of the present application provide a method and device for dynamic calibration of the zero position of a brushless motor with single-sided angle convergence. On the one hand, a single-sided angle convergence reference curve is used for dynamic calibration, and the angle zero position is approached in a single-sided convergence manner, so as to break the static and quasi-static balance caused by the large initial static friction torque and the nonlinear dynamic friction torque, so that the motor can produce significant calibration actions, overcome various interference torques, and improve the calibration accuracy. On the other hand, by comparing the actual angle curve and the single-sided angle convergence reference curve, the zero-position calibration effect of the motor can be quantitatively determined to improve the reliability of the calibration. When it is determined that the zero-position calibration effect meets the preset requirements, the zero-position calibration is completed, which helps to ensure the safe operation of the motor.
[0042] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A flow chart of a method for dynamic calibration of zero position of a brushless motor with single-sided angle convergence provided in an embodiment of the present application is shown;
[0045] Figure 2 A schematic diagram of a calibration process when an angle position converges in one direction provided by an embodiment of the present application is shown;
[0046] Figure 3 A schematic diagram of the structure of a zero-position dynamic calibration device for a brushless motor with unilateral angle convergence provided in an embodiment of the present application is shown;
[0047] Figure 4 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0048] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0049] Research has found that the existing zero-position calibration method is very simple. It often only sets a fixed angle zero position, and then aligns the d-axis of the motor FOC algorithm dq coordinate system to the specified angle zero position q0, and increases the d-axis current. By using a sufficiently large current, the NS poles of the rotor permanent magnet can overcome the static friction torque, dynamic friction torque, and resistance torque and try to align to this angle zero position.
[0050] However, in engineering practice, the motor may be in a weak equilibrium state during the calibration process. The zero-position pull generated by the calibration current is nearly parallel to the permanent magnet, and the zeroing torque generated is very small, even insufficient to overcome the static friction torque and resistance torque generated by the motor, reducer, load, etc., resulting in calibration failure. The motor shaft is also often subjected to various unexpected interference torques, which makes it impossible for the motor rotor permanent magnet to align to the angle zero position. The accuracy of the zero-position calibration is low, affecting the stability of the motor operation. In addition, the existing calibration method lacks monitoring of the zero-position calibration effect, which causes the motor control system to control the motor to be put into production when the calibration error is large, which is easy to cause accidents.
[0051] Based on this, the embodiments of the present application provide a method and device for dynamic calibration of the zero position of a single-sided angle convergence brushless motor to solve the problems of low accuracy and reliability of the zero position calibration method in the prior art.
[0052] See also Figure 1 , Figure 1 The present invention provides a flow chart of a method for dynamically calibrating the zero position of a brushless motor with single-sided angle convergence. The dynamic calibration method can be automatically executed by a motor driver.
[0053] like Figure 1 As shown in , the dynamic calibration method provided in the embodiment of the present application includes:
[0054] S101, determining calibration parameters of the motor to be calibrated.
[0055] Here, the calibration parameters may include an angle zero position, a deviation angle value, and an angle attenuation coefficient. The deviation angle value refers to the angle value of the initial angle position of the motor rotor (more specifically, the permanent magnet on the rotor) deviating from the set angle zero position; the angle attenuation coefficient is used to control the angle convergence speed of the motor rotor, that is, the speed at which the permanent magnet approaches the angle zero position.
[0056] In specific implementation, the parameter values of various calibration parameters can be set according to the actual application scenario of the motor and the calibration requirements to achieve flexible calibration of the motor.
[0057] S102 . Constructing a unilateral angle convergence reference curve of the motor to be calibrated according to the rotation direction of the motor to be calibrated in a working state and the calibration parameters.
[0058] The angle unilateral convergence reference curve is used to characterize the motion mode of the motor rotor converging unidirectionally from an initial angle position to an angle zero position over time.
[0059] It should be noted that in engineering practice, most motors mainly work in one-way operation. For example, a water pump almost only rotates in one direction. Therefore, when calibrating the zero position, you only need to consider the rotation direction in the working state and perform unilateral convergence calibration to get the correct calibration result.
[0060] In a possible implementation, step S102 may include:
[0061] According to the rotation direction of the motor to be calibrated in the working state, the convergence positive direction of the motor rotor angular position is defined; according to the deviation angle value and the angle attenuation coefficient, the angle attenuation term is determined; according to the angle zero position, the convergence positive direction and the angle attenuation term, the angle unilateral convergence reference curve that converges unidirectionally according to the convergence positive direction is constructed. Exemplarily, if the rotation direction of the motor to be calibrated in the working state is clockwise, the clockwise direction can be positioned as the convergence positive direction of the motor rotor angular position.
[0062] See below Figure 2 , Figure 2 This is a schematic diagram of a calibration process when the angle position converges in one direction provided by an embodiment of the present application. Figure 2 Reference curve q for medium angle unilateral convergence ref As shown, the angular position converges unidirectionally along the positive direction of convergence.
[0063] More specifically, the unilateral convergence method in the embodiment of the present application includes exponential convergence and inverse convergence.
[0064] When the angular position of the motor to be calibrated converges in an exponential form (approaches zero), the formula of the angle unilateral convergence reference curve can be expressed as:
[0065] Q ref =q0+a×e -bt
[0066] Among them, Q ref represents the angle unilateral convergence reference curve; q0 represents the angle zero position, in degrees; Q ref and q0 are the rotor d-axis angles in the motor stator coordinate system; a represents the deviation angle value; b represents the angle attenuation coefficient; t represents the running time, in seconds; a×e -bt This is the angle attenuation term.
[0067] From the above formula, we can know that the reference curve of unilateral exponential convergence speed is the derivative of the unilateral convergence reference curve of angle. The specific formula can be expressed as:
[0068] V ref =-a×b×e -bt
[0069] It can be seen that as time goes by, the angular velocity of the permanent magnet gradually decreases exponentially until it reaches 0.
[0070] When the angular position of the motor to be calibrated converges in an inverse form, the formula of the angle unilateral convergence reference curve can be expressed as:
[0071] Q ref =q0+a / (b×t)
[0072] Among them, Q ref represents the angle unilateral convergence reference curve; q0 represents the angle zero position; a represents the deviation angle value; b represents the angle attenuation coefficient; t represents the running time; a / (b×t) is the angle attenuation term.
[0073] It can also be seen from the above formula that the reference curve of the unilateral inverse convergence speed is the derivative of the unilateral convergence reference curve of the angle. The specific formula can be expressed as:
[0074] V ref =-a / (b×t 2 )
[0075] It can be seen that as time goes by, the angular velocity of the permanent magnet gradually decreases rapidly according to the second-order inverse until it reaches 0.
[0076] Therefore, compared with exponential convergence, the reciprocal convergence speed is faster at the beginning and slower when approaching 0, that is, the angular velocity of the permanent magnet changes faster in the early stage and changes more smoothly in the later stage. Therefore, compared with exponential convergence, the reciprocal convergence algorithm is simpler and faster in operation, and is more suitable for processing and operation of motor drivers based on embedded microprocessors.
[0077] S103: driving the motor to be calibrated to operate according to the angle unilateral convergence reference curve, and obtaining an actual angle curve of the motor to be calibrated.
[0078] The actual angle curve refers to a curve formed by the actual angle positions of the motor rotor corresponding to different operating moments.
[0079] In specific implementation, the FOC algorithm of the motor driver can be combined for control. FOC (Field-Oriented Control) is a control algorithm for AC motors (such as brushless DC motors BLDC and permanent magnet synchronous motors PMSM, etc.). Its core idea is to decompose the three-phase current and voltage of the motor into two independent DC components: the magnetic field component (d-axis) and the torque component (q-axis), thereby achieving independent control of the motor magnetic field and torque.
[0080] In one example, the actual angle curve may be obtained by the following steps:
[0081] Determine the stop angle according to the angle zero position and the preset error angle value; record the actual angle position corresponding to each operating moment until the actual angle position corresponding to any operating moment reaches the stop angle; and obtain the angle actual curve based on the recorded actual angle position corresponding to each operating moment.
[0082] Continue reading Figure 2 , under the d-axis current mode drive, the motor starts running and converges to the reference curve Q at the angle unilaterally ref Gradually approaching zero q0, while linearly increasing the d-axis current r; when Q ref When the deviation d=abs(q1-q0) reaches the preset allowable error angle value, the motor stops and the motor driver automatically records the actual angle curve Q. act The deviation d can be set according to the required calibration accuracy, such as ±0.1°.
[0083] S104: Compare the actual angle curve with the angle unilateral convergence reference curve to determine the zero-position calibration effect of the motor to be calibrated.
[0084] In this step, by comparing the actual angle curve and the angle unilateral convergence reference curve, the degree of deviation between the actual curve and the reference curve during the dynamic zero calibration process can be determined, and then the zero calibration effect can be determined according to the degree of deviation.
[0085] In a possible implementation, step S104 may include: comparing the actual angle curve with the angle unilateral convergence reference curve, intercepting a preset time length from the running moment when the stop angle is reached, and obtaining an angle difference curve; by integrating the angle difference curve, obtaining an average angle error of the motor to be calibrated within the preset time length; wherein the average angle error is used to measure the zero-position calibration effect of the motor to be calibrated.
[0086] Here, the preset time length is the integration time span T0; more specifically, the embodiment of the present application defines an evaluation function J of the zero calibration effect by comparing the actual angle curve and the angle unilateral convergence reference curve, and the formula can be expressed as:
[0087]
[0088] The size of the average angle error (i.e., the evaluation function J) reflects the severity of the deviation of the actual motion curve from the angle reference curve during the process of the permanent magnet approaching the zero position q0. Obviously, if the J value is very small, it means that the actual approximation curve of the permanent magnet basically coincides with the angle reference curve, that is, the approximation convergence effect is very good. At this time, the motor calibration is successful, and the calibration dynamic process and calibration results are very good. If the J value is not small enough, that is, it is greater than the preset error threshold, the calibration error is too large, the motor calibration fails, and it needs to be recalibrated or the motor system problem needs to be checked.
[0089] In this way, compared with the method of only calculating the difference between the final actual calibration zero position and the preset angle zero position, the evaluation function J designed in the embodiment of the present application can better reflect the overall severity of the deviation of the actual motion curve from the angle reference curve in the overall process of the permanent magnet approaching the zero position q0, thereby more accurately and comprehensively measuring the zero position calibration effect.
[0090] S105. When the zero-position calibration effect meets the preset requirement, determine that the motor to be calibrated has completed the zero-position calibration.
[0091] Here, when the average angle error is less than a preset error threshold, it is determined that the zero-position calibration effect meets the preset requirement, and the motor is allowed to perform subsequent work.
[0092] When the zero-position calibration effect does not meet the preset requirements (i.e., greater than or equal to the preset error threshold), it means that the zero-position calibration has failed. After that, it is determined whether the number of zero-position calibrations of the motor to be calibrated reaches the preset number threshold. If not, the motor to be calibrated is automatically recalibrated. If it has reached, an alarm signal is generated and sent to relevant personnel to remind them to intervene manually. The number threshold can be set according to actual needs, such as 3 times.
[0093] The embodiment of the present application provides a method for dynamic calibration of the zero position of a brushless motor with single-sided angle convergence. On the one hand, the method uses a single-sided angle convergence reference curve for dynamic calibration, approaches the angle zero position in a single-sided convergence manner, breaks the static and quasi-static balance caused by the large initial static friction torque and the nonlinear dynamic friction torque, so that the motor can produce significant calibration actions, overcome various interference torques, and improve the calibration accuracy; on the other hand, by comparing the actual angle curve and the single-sided angle convergence reference curve, the zero position calibration effect of the motor can be quantitatively determined to improve the reliability of the calibration; and when it is determined that the zero position calibration effect meets the preset requirements, the zero position calibration is completed, which helps to ensure the safe operation of the motor.
[0094] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a zero-position dynamic calibration device for a single-sided angle convergence brushless motor provided in an embodiment of the present application. Figure 3As shown in , the dynamic calibration device 300 includes:
[0095] A determination module 310 is used to determine calibration parameters of the motor to be calibrated;
[0096] A construction module 320 is used to construct an angle unilateral convergence reference curve of the motor to be calibrated according to the rotation direction of the motor to be calibrated in the working state and according to the calibration parameters; wherein the angle unilateral convergence reference curve is used to characterize the motion mode of the motor rotor converging unidirectionally from the initial angle position to the angle zero position over time;
[0097] The acquisition module 330 is used to drive the motor to be calibrated to run according to the angle unilateral convergence reference curve, and obtain the angle actual curve of the motor to be calibrated; wherein the angle actual curve refers to the curve formed by the actual angle position of the motor rotor corresponding to different running times;
[0098] A comparison module 340 is used to compare the actual angle curve with the angle unilateral convergence reference curve to determine the zero position calibration effect of the motor to be calibrated;
[0099] The judgment module 350 is used to determine that the zero-position calibration of the motor to be calibrated has been completed when the zero-position calibration effect meets the preset requirements.
[0100] Further, the calibration parameters include: the angle zero position, the deviation angle value and the angle attenuation coefficient; when the construction module 320 is used to construct the angle unilateral convergence reference curve of the motor to be calibrated according to the rotation direction of the motor to be calibrated in the working state and the calibration parameters, the construction module 320 is used to:
[0101] According to the rotation direction of the motor to be calibrated in the working state, defining the convergence positive direction of the motor rotor angular position;
[0102] Determine an angle attenuation term according to the deviation angle value and the angle attenuation coefficient; wherein the deviation angle value refers to the angle value of the initial angle position of the motor rotor deviating from the angle zero position; the angle attenuation coefficient is used to control the angle convergence speed of the motor rotor;
[0103] According to the angle zero position, the convergence positive direction and the angle attenuation term, the angle unilateral convergence reference curve that converges unidirectionally in the convergence positive direction is constructed.
[0104] Furthermore, when the acquisition module 330 is used to acquire the actual angle curve of the motor to be calibrated, the acquisition module 330 is used to:
[0105] Determine the stop angle according to the angle zero position and the preset error angle value;
[0106] Recording the actual angle position corresponding to each running moment until the actual angle position corresponding to any running moment reaches the stop angle;
[0107] Based on the actual angle position corresponding to each recorded running moment, the angle actual curve is obtained.
[0108] Furthermore, when the comparison module 340 is used to compare the angle actual curve with the angle unilateral convergence reference curve to determine the zero position calibration effect of the motor to be calibrated, the comparison module 340 is used to:
[0109] Comparing the angle actual curve with the angle unilateral convergence reference curve, intercepting a preset time length from the running moment when the stop angle is reached forward, to obtain an angle difference curve;
[0110] By performing an integral operation on the angle difference curve, an average angle error of the motor to be calibrated within the preset time length is obtained; wherein the average angle error is used to measure the zero-position calibration effect of the motor to be calibrated.
[0111] Furthermore, the judging module 350 is further configured to determine whether the zero position calibration effect meets the preset requirement by:
[0112] When the average angle error is less than a preset error threshold, it is determined that the zero position calibration effect meets the preset requirement.
[0113] Furthermore, when the angular position of the motor to be calibrated converges in an exponential form, the formula of the angle unilateral convergence reference curve is expressed as:
[0114] Q ref =q0+a×e -bt
[0115] When the angular position of the motor to be calibrated converges in an inverse form, the formula of the angle unilateral convergence reference curve is expressed as:
[0116] Q ref =q0+a / (b×t)
[0117] Among them, Q ref represents the angle unilateral convergence reference curve; q0 represents the angle zero position; a represents the deviation angle value; b represents the angle attenuation coefficient; t represents the running time.
[0118] Furthermore, the determination module 350 is further configured to:
[0119] When the zero-position calibration effect does not meet the preset requirement, determining whether the number of zero-position calibrations of the motor to be calibrated reaches a preset number threshold;
[0120] If it is not reached, re-calibrate the motor to be calibrated at zero position;
[0121] If it has been reached, an alarm signal is generated and sent to relevant personnel.
[0122] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .
[0123] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 The steps of the method for dynamic calibration of the zero position of a brushless motor with single-sided angle convergence in the method embodiment shown in the figure, and the specific implementation method thereof can be referred to the method embodiment, which will not be described in detail here.
[0124] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The steps of the method for dynamic calibration of the zero position of a brushless motor with single-sided angle convergence in the method embodiment shown in the figure, and the specific implementation method thereof can be referred to the method embodiment, which will not be described in detail here.
[0125] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0126] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0127] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0128] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0129] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0130] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for dynamic zero position calibration of a brushless motor with single-sided angle convergence, characterized in that: The dynamic calibration method comprises: Determine the calibration parameters of the motor to be calibrated; According to the rotation direction of the motor to be calibrated in the working state, according to the calibration parameters, construct an angle unilateral convergence reference curve of the motor to be calibrated; wherein the angle unilateral convergence reference curve is used to characterize the motion mode of the motor rotor converging unidirectionally from the initial angle position to the angle zero position over time; The motor to be calibrated is driven to run according to the angle unilateral convergence reference curve, and an actual angle curve of the motor to be calibrated is obtained; wherein the actual angle curve refers to a curve formed by the actual angle positions of the motor rotor at different operating times; Comparing the actual angle curve with the angle unilateral convergence reference curve to determine the zero-position calibration effect of the motor to be calibrated; When the zero-position calibration effect meets the preset requirement, it is determined that the motor to be calibrated has completed the zero-position calibration.
2. The dynamic calibration method according to claim 1, characterized in that: The calibration parameters include: the angle zero position, the deviation angle value and the angle attenuation coefficient; according to the rotation direction of the motor to be calibrated in the working state, according to the calibration parameters, constructing the angle unilateral convergence reference curve of the motor to be calibrated, including: According to the rotation direction of the motor to be calibrated in the working state, defining the convergence positive direction of the motor rotor angular position; Determine an angle attenuation term according to the deviation angle value and the angle attenuation coefficient; wherein the deviation angle value refers to the angle value of the initial angle position of the motor rotor deviating from the angle zero position; the angle attenuation coefficient is used to control the angle convergence speed of the motor rotor; According to the angle zero position, the convergence positive direction and the angle attenuation term, the angle unilateral convergence reference curve that converges unidirectionally in the convergence positive direction is constructed.
3. The dynamic calibration method according to claim 1, characterized in that: Obtaining the actual angle curve of the motor to be calibrated, including: Determine the stop angle according to the angle zero position and the preset error angle value; Recording the actual angle position corresponding to each running moment until the actual angle position corresponding to any running moment reaches the stop angle; Based on the actual angle position corresponding to each recorded running moment, the angle actual curve is obtained.
4. The dynamic calibration method according to claim 3, characterized in that: Comparing the angle actual curve with the angle unilateral convergence reference curve to determine the zero position calibration effect of the motor to be calibrated, including: Comparing the angle actual curve with the angle unilateral convergence reference curve, intercepting a preset time length from the running moment when the stop angle is reached forward, to obtain an angle difference curve; By performing an integral operation on the angle difference curve, an average angle error of the motor to be calibrated within the preset time length is obtained; wherein the average angle error is used to measure the zero-position calibration effect of the motor to be calibrated.
5. The dynamic calibration method according to claim 4, characterized in that: The dynamic calibration method further includes determining that the zero position calibration effect meets the preset requirements by: When the average angle error is less than a preset error threshold, it is determined that the zero position calibration effect meets the preset requirement.
6. The dynamic calibration method according to claim 2, characterized in that: When the angular position of the motor to be calibrated converges in an exponential form, the formula of the angle unilateral convergence reference curve is expressed as: Q ref =q0+a×e -bt When the angular position of the motor to be calibrated converges in an inverse form, the formula of the angle unilateral convergence reference curve is expressed as: Q ref =q0+a / (b×t) Among them, Q ref represents the angle unilateral convergence reference curve; q0 represents the angle zero position; a represents the deviation angle value; b represents the angle attenuation coefficient; t represents the running time.
7. The dynamic calibration method according to claim 1, characterized in that: The dynamic calibration method also includes: When the zero-position calibration effect does not meet the preset requirement, determining whether the number of zero-position calibrations of the motor to be calibrated reaches a preset number threshold; If it is not reached, re-calibrate the motor to be calibrated at zero position; If it has been reached, an alarm signal is generated and sent to relevant personnel.
8. A device for dynamic zero position calibration of a brushless motor with single-sided angle convergence, characterized in that: The dynamic calibration device comprises: A determination module, used to determine the calibration parameters of the motor to be calibrated; A construction module is used to construct an angle unilateral convergence reference curve of the motor to be calibrated according to the rotation direction of the motor to be calibrated in the working state and according to the calibration parameters; wherein the angle unilateral convergence reference curve is used to characterize the motion mode of the motor rotor converging unidirectionally from the initial angle position to the angle zero position over time; An acquisition module, used to drive the motor to be calibrated to run according to the angle unilateral convergence reference curve, and acquire the angle actual curve of the motor to be calibrated; wherein the angle actual curve refers to a curve formed by the actual angle position of the motor rotor corresponding to different running times; A comparison module, used for comparing the angle actual curve with the angle unilateral convergence reference curve, to determine the zero position calibration effect of the motor to be calibrated; The judging module is used to determine that the zero-position calibration of the motor to be calibrated has been completed when the zero-position calibration effect meets the preset requirements.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the method for dynamic calibration of the zero position of a single-sided angle convergence brushless motor as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for dynamic calibration of zero position of a brushless motor with single-sided angle convergence as claimed in any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Automatic zero correction method for bio-safety cabinet wind speed sensing device
CN101034098A
Permanent magnet synchronous motor sensorless control rotor position error observation method
CN114785208A
Motor self-calibration control method
CN117335703A
Method for functional electrical testing of a reluctance electric machine of a motor vehicle
EP3855195A1
System and method of driving motor
US20210044226A1