Control method and related device of electromagnetic ring of permanent magnet synchronous DC motor

By calculating real-time thermal overload parameters and maximum thermal overload parameters, combined with analog-to-digital converters and motor parameters, digital overheating protection and current loop parameter self-tuning of permanent magnet synchronous motors are realized, which solves the problem of untimely execution of hardware control and large amount of calculation. problems, improving the accuracy and efficiency of control.

CN118264167BActive Publication Date: 2024-09-17SHANGHAI LYNAC NUMERICAL CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410456869.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-09-17
Estimated Expiration
2044-04-16

AI Technical Summary

Technical Problem

The existing overheating protection of permanent magnet synchronous motors uses hardware methods, which has the problem of not being implemented in a timely manner and is not conducive to digital automatic control. Moreover, the current loop parameter self-tuning method requires a large amount of calculation and contains errors.

Method used

Real-time thermal overload parameters and maximum thermal overload parameters are calculated. Based on the bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, the digital overheating protection of the motor is realized, and the current is calculated through dimensionality reduction transformation and coordinate system transformation. The proportional and integral parameters of the loop realize parameter self-tuning.

Benefits of technology

It realizes digital control of motor overheating protection, avoids the problem of untimely execution of hardware control, reduces the calculation amount of current loop parameter self-tuning, and improves the accuracy and efficiency of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118264167B
    Figure CN118264167B
Patent Text Reader

Abstract

The present application discloses a control method and related device for the electromagnetic ring of a permanent magnet synchronous DC motor, the control method includes: calculating the rated current and maximum current of the q-axis; calculating the maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis; obtaining the three-phase real-time current of the motor to obtain the real-time current of the q-axis; calculating the real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter and the control frequency of the motor; when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter, sending an overheat protection instruction. The control method of the present application realizes the digital control of the motor overheat protection, avoids the problem of untimely execution of traditional hardware control, which is not conducive to the digital automatic control of the permanent magnet synchronous motor; obtains the proportional parameter and integral parameter of the controller with a small amount of calculation, realizes parameter self-tuning, and is helpful for the digital control of the electromagnetic ring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of motor digital control, and specifically relates to a control method and related device for an electromagnetic ring of a permanent magnet synchronous DC motor. Background Art

[0002] Permanent magnet synchronous motors have been widely used in high-tech fields due to their small size, light weight, small moment of inertia, and superior speed regulation performance. High-quality manufacturing requirements also put forward higher requirements on the control performance of servo systems. The control structure of AC servo drives generally includes the current loop, speed loop, and position loop from the inside to the outside. The current loop is the innermost loop in the servo system and the most critical one. The dynamic response performance of the current loop directly affects the dynamic response responsiveness of the entire servo system.

[0003] At present, the overheat protection of permanent magnet synchronous motors is generally implemented by protection module hardware. The protection module detects overcurrent and automatically shuts down when overcurrent is detected. However, the hardware overcurrent protection has the problem of untimely execution when performing protection operations, and is not conducive to the digital automatic control of permanent magnet synchronous motors.

[0004] In addition, the self-tuning of the control parameters of the current loop is the basis of the parameter tuning of the entire servo system, and the research on the self-tuning strategy of the current loop parameters is of great significance. The existing control parameter self-tuning methods are generally divided into model-based self-tuning methods and rule-based self-tuning methods. The former has the problem of large dependence on model characteristic parameters and the error in the identification of motor electrical parameters affecting reliability; the latter has the problem of large amount of calculation. Summary of the invention

[0005] The purpose of the present application is to provide a control method and related device for the electromagnetic ring of a permanent magnet synchronous DC motor, so as to solve the problem that the overheat protection of the permanent magnet synchronous motor in the prior art is implemented by hardware, which is not executed in time and is not conducive to the digital automatic control of the permanent magnet synchronous motor.

[0006] In order to achieve the above purpose, a technical solution adopted in this application is:

[0007] A control method for an electromagnetic ring of a permanent magnet synchronous DC motor is provided, comprising:

[0008] Obtain the rated current and maximum current of the motor coil and driver, the maximum detection current and bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, and calculate the rated current and maximum current of the q-axis;

[0009] Calculate a maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheat time of the motor, and the rated current and maximum current of the q-axis;

[0010] Get the three-phase real-time current of the motor, and get the real-time current of the q-axis after dimensionality reduction transformation;

[0011] Calculate a real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter, and the control frequency of the motor;

[0012] The real-time thermal overload parameter is compared with the maximum thermal overload parameter, and when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter, an overheat protection instruction is sent.

[0013] In one or more embodiments, the step of calculating the rated current and the maximum current of the q-axis includes:

[0014] Based on the rated current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter, the rated current of the q-axis is calculated;

[0015] The maximum current of the q-axis is calculated based on the maximum current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter.

[0016] In one or more embodiments, the step of calculating the rated current of the q-axis based on the rated current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter is as follows:

[0017]

[0018] Where bw is the bit width of the analog-to-digital converter, I AOP is the maximum detection current of the analog-to-digital converter, I M Rated is the rated current of the motor coil, I D Rated is the rated current of the driver, I q Rated is the rated current of the q-axis.

[0019] In one or more embodiments, the step of calculating the maximum current of the q-axis based on the maximum current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter is as follows:

[0020]

[0021] Where bw is the bit width of the analog-to-digital converter, I AOP is the maximum detection current of the analog-to-digital converter, I M Max is the maximum current of the motor coil, I D Max is the maximum current of the driver, I q Max is the maximum current of the q-axis.

[0022] In one or more embodiments, the step of calculating the maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis is as follows:

[0023]

[0024] In the formula, I q Rated is the rated current of the q axis, I q Max is the maximum current of the q axis, bw is the bit width of the analog-to-digital converter, PermittedTime is the allowable overheating time of the motor, I 2 T limit is the maximum thermal overload parameter.

[0025] In one or more embodiments, the step of obtaining the three-phase real-time current of the motor and obtaining the real-time current of the q-axis after dimensionality reduction transformation includes:

[0026] Obtain the real-time current of phase A and phase B of the motor, and calculate the real-time current of the three phases of the motor;

[0027] Based on Clark transformation, the three-phase real-time current of the motor is transformed into a two-phase stationary αβ coordinate system to obtain the real-time current of the α-axis and the β-axis;

[0028] Based on Park transformation, the real-time currents of the α-axis and the β-axis are transformed into a two-phase rotating dq coordinate system to obtain the real-time current of the q-axis.

[0029] In one or more embodiments, the step of calculating the real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter and the control frequency of the motor is as follows:

[0030]

[0031] In the formula, I q is the real-time current of the q axis, I q Rated is the rated current of the q axis, bw is the bit width of the analog-to-digital converter, ServoCycle is the control frequency of the motor, I 2 T is the real-time thermal overload parameter.

[0032] In one or more embodiments, it further includes:

[0033] Based on the open-loop transfer function model of the current loop, a closed-loop transfer function model is obtained;

[0034] Taking the closed-loop transfer function model as a standard second-order system, a proportional parameter calculation model and an integral parameter calculation model are obtained;

[0035] The damping ratio, phase resistance, phase inductance and natural frequency of the motor are obtained and substituted into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter.

[0036] In one or more embodiments, the open-loop transfer function model is as follows:

[0037]

[0038] The closed-loop transfer function model is as follows:

[0039]

[0040] In the formula, K p is the scale parameter, K i is the integration parameter, L is the phase resistance of the motor, R is the phase inductance of the motor, and s is the complex frequency in the frequency domain.

[0041] In one or more embodiments, the standard second-order system is as follows:

[0042]

[0043] In the formula, is the natural frequency of the motor, is the damping ratio of the motor;

[0044] The proportional parameter calculation model and the integral parameter calculation model are as follows:

[0045]

[0046] The step of obtaining the damping ratio, phase resistance, phase inductance and natural frequency of the motor and substituting them into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter comprises:

[0047] Get the PWM refresh frequency of the motor and calculate the current loop bandwidth;

[0048] The damping ratio of the motor is , taking the current loop bandwidth as the natural frequency of the motor, obtaining the phase resistance and phase inductance of the motor at the same time, substituting them into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter.

[0049] In order to achieve the above purpose, another technical solution adopted by this application is:

[0050] A control device for an electromagnetic ring of a permanent magnet synchronous DC motor is provided, comprising:

[0051] The first calculation module is used to obtain the rated current and maximum current of the motor coil and the driver, the maximum detection current and bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, and calculate the rated current and maximum current of the q-axis;

[0052] A second calculation module is used to calculate a maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis;

[0053] The transformation module is used to obtain the three-phase real-time current of the motor, and obtain the real-time current of the q axis after dimensionality reduction transformation;

[0054] a third calculation module, configured to calculate a real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter, and the control frequency of the motor;

[0055] The instruction sending module is used to compare the real-time thermal overload parameter with the maximum thermal overload parameter, and send an overheating protection instruction when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter.

[0056] In order to achieve the above purpose, another technical solution adopted by this application is:

[0057] An electronic device is provided, comprising:

[0058] at least one processor; and

[0059] A memory storing instructions, which, when executed by the at least one processor, enables the at least one processor to execute the method for controlling the electromagnetic ring of the permanent magnet synchronous DC motor as described in any of the above embodiments.

[0060] In order to achieve the above purpose, another technical solution adopted by this application is:

[0061] A machine-readable storage medium is provided, which stores executable instructions. When the instructions are executed, the machine executes the control method of the electromagnetic ring of the permanent magnet synchronous DC motor as described in any of the above embodiments.

[0062] Different from the prior art, the beneficial effects of this application are:

[0063] The control method of the present application can realize digital control of motor overheat protection by calculating the real-time thermal overload parameter and the maximum thermal overload parameter, thereby avoiding the problem of untimely execution of traditional hardware control and being unfavorable to the digital automatic control of permanent magnet synchronous motor;

[0064] The control method of the present application can obtain the proportional parameters and integral parameters of the controller with a relatively small amount of calculation, realize parameter self-tuning, and facilitate digital control of the electromagnetic ring. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art description are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0066] Figure 1 It is a flow chart of an implementation method of a control method of an electromagnetic ring of a permanent magnet synchronous DC motor of the present application;

[0067] Figure 2 yes Figure 1 A schematic flow chart of an implementation method corresponding to step S100;

[0068] Figure 3 yes Figure 1 A schematic diagram of a flow chart of an implementation method corresponding to step S300;

[0069] Figure 4 It is a flow chart of another implementation method of the control method of the electromagnetic ring of the permanent magnet synchronous DC motor of the present application;

[0070] Figure 5 It is the control block diagram of the current loop of this application;

[0071] Figure 6 yes Figure 4 A schematic diagram of a flow chart of an implementation method corresponding to step S300';

[0072] Figure 7 This is a structural block diagram of an implementation method of a control device for an electromagnetic ring of a permanent magnet synchronous DC motor of the present application;

[0073] Figure 8 It is a schematic structural diagram of an embodiment of an electronic device of the present application. DETAILED DESCRIPTION

[0074] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions 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 part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of this application.

[0075] The present application provides a control method for the electromagnetic ring of a permanent magnet synchronous DC motor. The control method can realize automatic overheating protection of the motor and self-tuning of current loop parameters based on a digital method, effectively solving the problems existing in the hardware-based implementation of traditional motor overheating protection and reducing the calculation amount of self-tuning of current loop parameters.

[0076] Specifically, see Figure 1 , Figure 1 It is a flow chart of an implementation method of a control method of an electromagnetic ring of a permanent magnet synchronous DC motor of the present application.

[0077] like Figure 1 As shown, the control method includes:

[0078] S100, obtaining the rated current and maximum current of the motor coil and the driver, the maximum detection current and bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, and calculating the rated current and maximum current of the q-axis.

[0079] First, the rated current and the maximum current of the q-axis can be calculated based on the setting parameters of the motor and the setting parameters of the analog-to-digital converter.

[0080] The dq axis of the motor is the rotating coordinate system of the motor. In this coordinate system, the d axis is aligned with the rotor flux of the motor, while the q axis is perpendicular to the d axis. The d axis current is used to control the magnetic field of the motor, and the q axis current is used to control the torque of the motor.

[0081] Specifically, see Figure 2 , Figure 2 yes Figure 1 A flowchart of an implementation method corresponding to step S100 in FIG.

[0082] The steps to calculate the rated current and maximum current of the q-axis include:

[0083] S101. Calculate the rated current of the q-axis based on the rated current of the motor coil and the driver, and the maximum detection current and bit width of the analog-to-digital converter.

[0084] Specifically, the calculation formula of the rated current of the q-axis can be as follows:

[0085]

[0086] Where bw is the bit width of the analog-to-digital converter, I AOP is the maximum detection current of the analog-to-digital converter, I M Rated is the rated current of the motor coil, I D Rated is the rated current of the driver, I q Rated is the rated current of the q-axis.

[0087] S102 . Calculate the maximum current of the q-axis based on the maximum current of the motor coil and the driver, and the maximum detection current and bit width of the analog-to-digital converter.

[0088] Specifically, the maximum current of the q-axis can be calculated as follows:

[0089]

[0090] Where bw is the bit width of the analog-to-digital converter, I AOP is the maximum detection current of the analog-to-digital converter, I M Max is the maximum current of the motor coil, I D Max is the maximum current of the driver, I q Max is the maximum current of the q axis.

[0091] S200, calculating a maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis.

[0092] Based on the rated current and maximum current of the q-axis calculated in the above steps, as well as the bit width of the analog-to-digital converter ADC and the allowable overheating time of the motor obtained in the above steps, the maximum thermal overload parameter can be calculated; the maximum thermal overload parameter is used to limit the maximum value of the thermal overload parameter allowed by the motor, so as to determine whether thermal overload protection is required.

[0093] Specifically, the calculation formula of the maximum thermal overload parameter can be as follows:

[0094]

[0095] In the formula, I q Rated is the rated current of the q axis, I q Max is the maximum current of the q axis, bw is the bit width of the analog-to-digital converter, PermittedTime is the allowable overheating time of the motor, I 2 T limit is the maximum thermal overload parameter.

[0096] S300, obtaining the three-phase real-time current of the motor, and obtaining the real-time current of the q-axis after dimensionality reduction transformation.

[0097] After the maximum thermal overload parameter of the motor is obtained, the real-time thermal overload parameter of the motor can be calculated.

[0098] First, the three-phase real-time current of the motor can be obtained and transformed into the dq-axis two-dimensional coordinate system of the motor to obtain the real-time current of the q-axis, that is, the real-time current used to control the torque of the motor.

[0099] See also Figure 3, Figure 3 yes Figure 1 A flowchart of an implementation method corresponding to step S300 in FIG.

[0100] like Figure 3 As shown, the method for obtaining the real-time current of the q axis may include:

[0101] S301, obtaining the real-time current of the A-phase and B-phase of the motor, and calculating the real-time current of the three-phase of the motor.

[0102] Based on ADC sampling, the real-time current of phase A and phase B of the motor can be obtained and converted into digital quantities. Then, based on the property that the sum of the three-phase currents is zero, the real-time current of phase C is calculated to obtain the real-time three-phase current of the motor.

[0103] S302 , based on Clark transformation, transform the three-phase real-time current of the motor into a two-phase stationary αβ coordinate system to obtain the real-time current of the α-axis and the β-axis.

[0104] Based on the Clark transformation, the physical quantities in the three-phase (abc) coordinate system are transformed into the two-phase stationary (αβ) coordinate system; in the Clarke transformation, the three-phase current is projected onto the αβ axis, realizing the dimensionality reduction from three phases to two phases, thereby obtaining the real-time current of the α axis and the β axis.

[0105] The Clark transform may be implemented based on a Clark transform formula commonly used in the art, which will not be described in detail here.

[0106] S303 , based on Park transformation, transform the real-time currents of the α-axis and the β-axis into a two-phase rotating dq coordinate system to obtain the real-time current of the q-axis.

[0107] Based on Park transformation, the physical quantities in the two-phase stationary (αβ) coordinate system are transformed into the two-phase rotating (dq) coordinate system, which rotates synchronously with the rotor flux of the motor. Through Park transformation, the motor control problem can be further simplified to a two-phase control problem in the rotating coordinate system, thereby obtaining the real-time current of the q axis.

[0108] The Park transform may be implemented based on a Park transform formula commonly used in the art, which will not be described in detail here.

[0109] S400 calculates a real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter, and the control frequency of the motor.

[0110] Based on the real-time current and rated current of the q-axis obtained above, as well as the bit width of the analog-to-digital converter and the control frequency of the motor, the real-time thermal overload parameter of the motor can be calculated.

[0111] Specifically, the calculation formula of the real-time thermal overload parameter can be as follows:

[0112]

[0113] In the formula, I q is the real-time current of the q axis, I q Rated is the rated current of the q axis, bw is the bit width of the analog-to-digital converter, ServoCycle is the control frequency of the motor, I 2 T is the real-time thermal overload parameter.

[0114] S500: Compare the real-time thermal overload parameter with the maximum thermal overload parameter, and send an overheat protection instruction when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter.

[0115] By comparing the real-time thermal overload parameter with the maximum thermal overload parameter, it can be determined whether overheat protection is required in the current state. When the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter, it can be determined that overheat protection is required and an overheat protection instruction is sent.

[0116] The overheat protection instruction may be an instruction to shut down the motor or an instruction to reduce the motor power, so that the real-time overload parameter can be smaller than the maximum thermal overload parameter again.

[0117] Based on the above method, digital control of motor overheat protection can be realized, avoiding the problem of untimely execution of traditional hardware control, which is not conducive to digital automatic control of permanent magnet synchronous motor.

[0118] In another embodiment, the control method of the permanent magnet synchronous DC motor electromagnetic ring of the present application may also include self-tuning of the current loop control parameters, see Figure 4 , Figure 4 It is a flow chart of another implementation method of the control method of the electromagnetic ring of the permanent magnet synchronous DC motor of the present application.

[0119] like Figure 4 As shown in the figure, the self-tuning method of the current loop control parameters includes:

[0120] S100', obtaining a closed-loop transfer function model based on the open-loop transfer function model of the current loop.

[0121] See also Figure 5 , Figure 5 This is the control block diagram of the current loop of this application, as shown in the figure, is the input current, is the transfer function of the controller, is the transfer function of the motor, i dq is the feedback current.

[0122] Based on the above control block diagram, the open-loop transfer function model of the current loop can be obtained as follows:

[0123]

[0124] Based on the above open-loop transfer function model, the closed-loop transfer function model can be obtained as follows:

[0125]

[0126] In the formula, K p is the scale parameter, K i is the integration parameter, L is the phase resistance of the motor, R is the phase inductance of the motor, and s is the complex frequency in the frequency domain.

[0127] S200', taking the closed-loop transfer function model as a standard second-order system, obtaining a proportional parameter calculation model and an integral parameter calculation model.

[0128] Taking the above closed-loop transfer function model as a standard second-order system, the following equation can be obtained:

[0129]

[0130] In the formula, is the natural frequency of the motor, is the damping ratio of the motor.

[0131] Based on the above formula, the calculation parameter model of the proportional parameter and the integral parameter can be obtained as follows:

[0132]

[0133] S300', obtaining the damping ratio, phase resistance, phase inductance and natural frequency of the motor and substituting them into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter.

[0134] Among them, see Figure 6 , Figure 6 yes Figure 4 A flowchart of an implementation method corresponding to step S300' in FIG.

[0135] like Figure 6 As shown, the steps of obtaining the damping ratio, phase resistance, phase inductance and natural frequency of the motor may include:

[0136] S301', obtaining the PWM refresh frequency of the motor, and calculating the current loop bandwidth.

[0137] In one embodiment, the PWM refresh frequency of the motor can be defined as , define the current loop bandwidth as .

[0138] Of course, in other implementations, the current loop bandwidth may also be adjusted based on actual operating conditions. For example, in some implementations, the current loop bandwidth may also be defined as .

[0139] S302', taking the damping ratio of the motor as , taking the current loop bandwidth as the natural frequency of the motor, and obtaining the phase resistance and phase inductance of the motor at the same time, substituting them into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter.

[0140] In one embodiment, the damping ratio of the motor can be , under this damping ratio, the natural frequency of the motor can be approximated as the current loop bandwidth.

[0141] At the same time, based on the obtained phase resistance and phase inductance of the motor, the proportional parameter and integral parameter can be obtained as follows:

[0142]

[0143] Based on the self-tuning method of each of the above-mentioned embodiments, the proportional parameter and the integral parameter of the controller can be obtained with a relatively small amount of calculation, thereby realizing parameter self-tuning, which is helpful for the digital control of the electromagnetic ring.

[0144] The present application also provides a control device for the electromagnetic ring of a permanent magnet synchronous DC motor. Figure 7 , Figure 7 It is a structural block diagram of an implementation method of a control device for an electromagnetic ring of a permanent magnet synchronous DC motor of the present application.

[0145] like Figure 7 As shown, the control device includes a first calculation module 21, a second calculation module 22, a transformation module 23, a third calculation module 24 and an instruction sending module 25.

[0146] The first calculation module 21 is used to obtain the rated current and maximum current of the motor coil and the driver, the maximum detection current and bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, and calculate the rated current and maximum current of the q-axis;

[0147] The second calculation module 22 is used to calculate the maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis;

[0148] The transformation module 23 is used to obtain the three-phase real-time current of the motor, and obtain the real-time current of the q axis after dimensionality reduction transformation;

[0149] The third calculation module 24 is used to calculate the real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter and the control frequency of the motor;

[0150] The instruction sending module 25 is used to compare the real-time thermal overload parameter with the maximum thermal overload parameter, and send an overheat protection instruction when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter.

[0151] As above Figures 1 to 6 , a control method for the electromagnetic ring of a permanent magnet synchronous DC motor according to an embodiment of the present specification is described. The details mentioned in the above description of the method embodiment are also applicable to the control device of the electromagnetic ring of a permanent magnet synchronous DC motor according to an embodiment of the present specification. The above control device of the electromagnetic ring of a permanent magnet synchronous DC motor can be implemented by hardware, or by software, or by a combination of hardware and software.

[0152] This application also provides an electronic device, see Figure 8 , Figure 8 Schematic diagram of the structure of an electronic device of the present application. Figure 8 As shown, the electronic device 30 may include at least one processor 31, a memory 32 (e.g., a non-volatile memory), a memory 33, and a communication interface 34, and the at least one processor 31, the memory 32, the memory 33, and the communication interface 34 are connected together via a bus 35. At least one processor 31 executes at least one computer-readable instruction stored or encoded in the memory 32.

[0153] It should be understood that the computer executable instructions stored in the memory 32, when executed, cause at least one processor 31 to perform the above combined operations in various embodiments of the present specification. Figure 1-Figure 6 Describes the various operations and functions.

[0154] In the embodiments of the present specification, the electronic device 30 may include, but is not limited to, personal computers, server computers, workstations, desktop computers, laptop computers, notebook computers, mobile electronic devices, smart phones, tablet computers, cellular phones, personal digital assistants (PDAs), handheld devices, messaging devices, wearable electronic devices, consumer electronic devices, and the like.

[0155] According to one embodiment, a program product such as a machine-readable medium is provided. The machine-readable medium may have instructions (i.e., the above-mentioned elements implemented in the form of software), which, when executed by a machine, causes the machine to perform the above-mentioned combination of various embodiments of this specification. Figure 1-Figure 6Specifically, a system or device equipped with a readable storage medium may be provided, on which a software program code implementing the functions of any of the above-mentioned embodiments is stored, and a computer or processor of the system or device reads and executes the instructions stored in the readable storage medium.

[0156] In this case, the program code itself read from the machine-readable medium can realize the function of any one of the above embodiments, and thus the machine-readable code and the machine-readable storage medium storing the machine-readable code constitute part of this specification.

[0157] Examples of readable storage media include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer or a cloud via a communication network.

[0158] Those skilled in the art should understand that the various embodiments disclosed above can be modified and altered in various ways without departing from the essence of the invention. Therefore, the protection scope of this specification should be defined by the appended claims.

[0159] It should be noted that not all steps and units in the above-mentioned processes and system structure diagrams are necessary, and some steps or units can be ignored according to actual needs. The execution order of each step is not fixed and can be determined as needed. The device structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some units may be implemented by the same physical client, or some units may be implemented by multiple physical clients, or some components in multiple independent devices may be implemented together.

[0160] In the above embodiments, the hardware unit or module can be realized by mechanical or electrical means. For example, a hardware unit, module or processor can include permanent dedicated circuit or logic (such as special processor, FPGA or ASIC) to complete the corresponding operation. The hardware unit or processor can also include programmable logic or circuit (such as general-purpose processor or other programmable processor), which can be temporarily set by software to complete the corresponding operation. Specific implementation (mechanical method or dedicated permanent circuit or temporary circuit) can be determined based on cost and time consideration.

[0161] The specific embodiments described above in conjunction with the accompanying drawings describe exemplary embodiments, but do not represent all embodiments that can be implemented or fall within the scope of protection of the claims. The term "exemplary" used throughout this specification means "used as an example, instance or illustration" and does not mean "preferred" or "having advantages" over other embodiments. For the purpose of providing an understanding of the described technology, the specific embodiments include specific details. However, these technologies can be implemented without these specific details. In some instances, in order to avoid making the concepts of the described embodiments difficult to understand, well-known structures and devices are shown in block diagram form.

[0162] The above description of the present disclosure is provided to enable any person of ordinary skill in the art to implement or use the present disclosure. Various modifications to the present disclosure will be apparent to those of ordinary skill in the art, and the general principles corresponding to the present disclosure may be applied to other variations without departing from the scope of protection of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is consistent with the widest range of principles and novel features disclosed herein.

Claims

1. A control method for an electromagnetic ring of a permanent magnet synchronous DC motor, characterized in that: include: Obtain the rated current and maximum current of the motor coil and driver, the maximum detection current and bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, and calculate the rated current and maximum current of the q-axis; Based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis, the maximum thermal overload parameter is calculated, specifically as follows: ; Get the three-phase real-time current of the motor, and get the real-time current of the q-axis after dimensionality reduction transformation; Based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter and the control frequency of the motor, a real-time thermal overload parameter is calculated, which is specifically as follows: ; comparing the real-time thermal overload parameter with the maximum thermal overload parameter, and sending an overheat protection instruction when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter; The step of calculating the rated current and the maximum current of the q-axis comprises: Based on the rated current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter, the rated current of the q-axis is calculated as follows: ; Based on the maximum current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter, the maximum current of the q-axis is calculated as follows: ; In the above formulas, bw is the bit width of the analog-to-digital converter, I AOP is the maximum detection current of the analog-to-digital converter, I q Rated is the rated current of the q axis, I q Max is the maximum current of the q axis, PermittedTime is the allowable overheating time of the motor, I 2 T limit is the maximum thermal overload parameter, I q is the real-time current of the q axis, I q Rated is the rated current of the q-axis, ervoCycle is the control frequency of the motor, I 2 T is the real-time thermal overload parameter, I M Rated is the rated current of the motor coil, I D Rated is the rated current of the driver, I M Max is the maximum current of the motor coil, I D Max is the maximum current of the driver.

2. The control method according to claim 1, characterized in that: The step of obtaining the three-phase real-time current of the motor and obtaining the real-time current of the q-axis after dimensionality reduction transformation comprises: Obtain the real-time current of phase A and phase B of the motor, and calculate the real-time current of the three phases of the motor; Based on Clark transformation, the three-phase real-time current of the motor is transformed into a two-phase stationary αβ coordinate system to obtain the real-time current of the α-axis and the β-axis; Based on Park transformation, the real-time currents of the α-axis and the β-axis are transformed into a two-phase rotating dq coordinate system to obtain the real-time current of the q-axis.

3. The control method according to claim 1, characterized in that: Also includes: Based on the open-loop transfer function model of the current loop, a closed-loop transfer function model is obtained; Taking the closed-loop transfer function model as a standard second-order system, a proportional parameter calculation model and an integral parameter calculation model are obtained; The damping ratio, phase resistance, phase inductance and natural frequency of the motor are obtained and substituted into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter.

4. The control method according to claim 3, characterized in that: The open-loop transfer function model is as follows: ; The closed-loop transfer function model is as follows: In the formula, K p is the scale parameter, K i is the integration parameter, L is the phase resistance of the motor, R is the phase inductance of the motor, and s is the complex frequency in the frequency domain.

5. The control method according to claim 4, characterized in that: The standard second-order system is as follows: ; In the formula, is the natural frequency of the motor, is the damping ratio of the motor; The proportional parameter calculation model and the integral parameter calculation model are as follows: ; The step of obtaining the damping ratio, phase resistance, phase inductance and natural frequency of the motor and substituting them into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter comprises: Get the PWM refresh frequency of the motor and calculate the current loop bandwidth; The damping ratio of the motor is , taking the current loop bandwidth as the natural frequency of the motor, obtaining the phase resistance and phase inductance of the motor at the same time, substituting them into the proportional parameter calculation model and the integral parameter calculation model to obtain the proportional parameter and the integral parameter.

6. A control device for an electromagnetic ring of a permanent magnet synchronous DC motor, characterized in that: include: The first calculation module is used to obtain the rated current and maximum current of the motor coil and the driver, the maximum detection current and bit width of the analog-to-digital converter, the allowable overheating time and control frequency of the motor, and calculate the rated current and maximum current of the q-axis; The second calculation module is used to calculate the maximum thermal overload parameter based on the bit width of the analog-to-digital converter, the allowable overheating time of the motor, and the rated current and maximum current of the q-axis, as shown in the following formula: ; The transformation module is used to obtain the three-phase real-time current of the motor, and obtain the real-time current of the q axis after dimensionality reduction transformation; The third calculation module is used to calculate the real-time thermal overload parameter based on the real-time current and rated current of the q-axis, the bit width of the analog-to-digital converter and the control frequency of the motor, which is specifically as follows: ; An instruction sending module, used for comparing the real-time thermal overload parameter with the maximum thermal overload parameter, and sending an overheat protection instruction when the real-time thermal overload parameter is greater than or equal to the maximum thermal overload parameter; The calculation to obtain the rated current and maximum current of the q-axis includes: Based on the rated current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter, the rated current of the q-axis is calculated as follows: ; Based on the maximum current of the motor coil and the driver, the maximum detection current and the bit width of the analog-to-digital converter, the maximum current of the q-axis is calculated as follows: ; In the above formulas, bw is the bit width of the analog-to-digital converter, I AOP is the maximum detection current of the analog-to-digital converter, I q Rated is the rated current of the q axis, I q Max is the maximum current of the q axis, PermittedTime is the allowable overheating time of the motor, I 2 T limit is the maximum thermal overload parameter, I q is the real-time current of the q axis, I q Rated is the rated current of the q-axis, ervoCycle is the control frequency of the motor, I 2 T is the real-time thermal overload parameter, I M Rated is the rated current of the motor coil, I D Rated is the rated current of the driver, I M Max is the maximum current of the motor coil, I D Max is the maximum current of the driver.

7. An electronic device, comprising: at least one processor; as well as A memory storing instructions, wherein when the instructions are executed by the at least one processor, the at least one processor executes the method for controlling the electromagnetic ring of the permanent magnet synchronous DC motor according to any one of claims 1 to 5.

8. A machine-readable storage medium storing executable instructions, wherein when the instructions are executed, the machine executes the method for controlling the electromagnetic ring of a permanent magnet synchronous DC motor according to any one of claims 1 to 5.