CN114665776A - Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium - Google Patents

Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium Download PDF

Info

Publication number
CN114665776A
CN114665776A CN202210561928.1A CN202210561928A CN114665776A CN 114665776 A CN114665776 A CN 114665776A CN 202210561928 A CN202210561928 A CN 202210561928A CN 114665776 A CN114665776 A CN 114665776A
Authority
CN
China
Prior art keywords
axis
fdk
current
ctr
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210561928.1A
Other languages
Chinese (zh)
Other versions
CN114665776B (en
Inventor
罗清伟
李信锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Just Motion Control Electromechanics Co ltd
Original Assignee
Shenzhen Just Motion Control Electromechanics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Just Motion Control Electromechanics Co ltd filed Critical Shenzhen Just Motion Control Electromechanics Co ltd
Priority to CN202210561928.1A priority Critical patent/CN114665776B/en
Publication of CN114665776A publication Critical patent/CN114665776A/en
Application granted granted Critical
Publication of CN114665776B publication Critical patent/CN114665776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/22Current control, e.g. using a current control loop
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors rotating step by step
    • H02P8/12Control or stabilisation of current

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The invention relates to the technical field of motor control, in particular to a control method, a system and a storage medium for dynamic decoupling of a closed-loop stepping motor, wherein the control method comprises the steps of respectively obtaining a current correction voltage Uq _ Ctr of a q axis and a current correction voltage Ud _ Ctr of a d axis; obtaining a d-axis compensation voltage Ud according to the q-axis feedback current Iq _ fdk; obtaining q-axis compensation voltage Uq according to the d-axis feedback current Id _ fdk; taking the sum of Uq _ Ctr and Uq as the actual correction voltage Uq of the q axis; taking the sum of Ud _ Ctr and Ud as the actual correction voltage Ud of the d axis; and performing inverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generating a PWM (pulse-width modulation) wave according to the duty ratio of the voltage value to control the rotation of the stepping motor. The invention can realize the dynamic decoupling of the exciting current component and the torque current component and improve the dynamic performance of the stepping motor.

Description

Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium
Technical Field
The invention relates to the technical field of motor control, in particular to a control method and a control system for dynamic decoupling of a closed-loop stepping motor and a storage medium.
Background
The traditional stepping motor generally only adopts open-loop control, and in order to improve the output torque and the rotating speed of the stepping motor, speed and position detection is added on the basis of the open-loop stepping motor to form closed-loop control. In a closed loop of the current of the closed-loop stepping motor, the current is decomposed into an exciting current component (d-axis current) and a torque current component (q-axis current) by coordinate transformation and is respectively controlled, so that the decoupling of the exciting current component and the torque current component of the current of the stepping motor is realized, but the method only realizes the static decoupling of the two current components, and the two current components still have a dynamic coupling relation. Particularly, in the process of very high acceleration and deceleration transition, the coupling influence of speed and position on current is intensified, so that the torque generates instantaneous distortion, and the dynamic performance of the torque is influenced.
Disclosure of Invention
In order to solve the technical problem that dynamic coupling exists between the excitation current component and the torque current component, the invention provides a control method for dynamic decoupling of a closed-loop stepping motor so as to realize dynamic decoupling between the excitation current component and the torque current component, and also provides a control system and a storage medium of the closed-loop stepping motor.
A control method for dynamic decoupling of a closed-loop stepping motor comprises the following steps:
obtaining a current correction voltage Uq _ Ctr of a q axis according to the feedback current Iq _ fdk of the q axis;
acquiring a current correction voltage Ud _ Ctr of a d axis according to the feedback current Id _ fdk of the d axis;
acquiring a first compensation voltage Ud of a d axis according to the q axis feedback current Iq _ fdk;
acquiring a second compensation voltage Uq of a q axis according to the d axis feedback current Id _ fdk;
taking the sum of the q-axis current correction voltage Uq _ Ctr and the second compensation voltage Uq as the q-axis actual correction voltage Uq; taking the sum of the current correction voltage Ud _ Ctr of the d axis and the first compensation voltage Ud as the actual correction voltage Ud of the d axis;
and performing inverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generating a PWM (pulse-width modulation) wave according to the duty ratio of the voltage value to control the rotation of the stepping motor.
Further, the obtaining the first compensation voltage Ud of the d-axis according to the q-axis feedback current Iq _ fdk includes:
acquiring a fixed constant P of the stepping motor;
acquiring a speed feedback value Spd _ fdk detected by an encoder in a speed loop;
obtaining an inductance value L of the stepping motor;
performing Park transformation on two orthogonal currents of the stepping motor to obtain q-axis feedback current Iq _ fdk;
a first compensation voltage Ud, Ud = -p × Spd _ fbk × L × Iq _ fdk is calculated.
Further, the obtaining of the q-axis second compensation voltage Uq according to the d-axis feedback current Id _ fdk includes:
acquiring a fixed constant P of the stepping motor;
obtaining a speed feedback value Spd _ fdk detected by an encoder in a speed loop;
obtaining an inductance value L of the stepping motor;
performing Park conversion on two orthogonal currents of the stepping motor to obtain d-axis feedback current Id _ fdk;
acquiring a magnetic linkage psi f;
the second compensation voltage Uq, Uq = p × Spd _ fdk × L × Id _ fdk + p × Spd _ fdk × ψ f is calculated.
Further, the obtaining of the q-axis current correction voltage Uq _ Ctr according to the q-axis feedback current Iq _ fdk includes:
acquiring a given position Pos _ ref in a position loop and a feedback position Pos _ fdk detected by an encoder; after the difference is made between the given position Pos _ ref and the feedback position Pos _ fdk, a position loop control quantity Pos _ Ctr is obtained through a position loop proportional controller;
acquiring a given speed Spd _ ref in a speed loop and a feedback speed Spd _ fdk detected by an encoder; multiplying the given speed Spd _ ref by a factor K1After the position loop control quantity Pos _ Ctr is added, the difference between the position loop control quantity Pos _ Ctr and the feedback speed Spd _ fdk is obtained through a speed loop proportional integral controller, and then the speed loop control quantity Spd _ Ctr is obtained;
the given speed Spd _ ref in the speed loop is subtracted from the feedback speed Spd _ fdk detected by the encoder and multiplied by a factor K2Then adding the q-axis given current Iq _ ref to the speed loop control quantity Spd _ Ctr to obtain q-axis given current Iq _ ref; and (3) obtaining the current correction voltage Uq _ Ctr of the q axis through a current loop proportional integral controller after the difference is made between the given current Iq _ ref of the q axis and the feedback current of the q axis.
Further, the obtaining of the d-axis current correction voltage Ud _ Ctr according to the d-axis feedback current Id _ fdk includes:
acquiring a d-axis given current Id _ ref;
and obtaining the current correction voltage Ud _ Ctr of the d axis through a current loop proportional-integral controller after the difference is made between the given current Id _ ref of the d axis and the feedback current Id _ fdk of the d axis.
Further, the acquisition process of the electrical angle θ _ Ctr of the park transformation and the reverse park transformation comprises the following steps:
acquiring a feedback position electrical angle theta detected by an encoder;
calculating an electrical angle θ _ Ctr, θ _ Ctr = θ + Spd _ fdk × K3+φ,K3Is a coefficient, phi is an angle compensation value.
A control system for a closed loop stepper motor comprising:
a q-axis correction voltage obtaining module configured to obtain a q-axis current correction voltage Uq _ Ctr according to the q-axis feedback current Iq _ fdk;
a d-axis correction voltage acquisition module configured to acquire a d-axis current correction voltage Ud _ Ctr according to the d-axis feedback current Id _ fdk;
a d-axis compensation voltage obtaining module configured to obtain a first compensation voltage Ud of a d-axis according to the q-axis feedback current Iq _ fdk;
a q-axis compensation voltage obtaining module configured to obtain a q-axis second compensation voltage Uq from the d-axis feedback current Id _ fdk;
a compensation module configured to take the sum of the q-axis current correction voltage Uq _ Ctr and the second compensation voltage Uq as the q-axis actual correction voltage Uq; taking the sum of the current correction voltage Ud _ Ctr of the d axis and the first compensation voltage Ud as the actual correction voltage Ud of the d axis;
and the control module is configured to perform inverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generate a PWM (pulse-width modulation) wave according to the duty ratio of the voltage value to control the rotation of the stepping motor.
A storage medium having stored thereon computer program instructions which, when read and executed by a computer, perform the steps of the method of controlling a closed loop stepper motor as defined in any one of the preceding claims.
Has the advantages that: the invention provides a control method for dynamic decoupling of a closed-loop stepping motor, which is characterized in that a proper d-axis first compensation voltage Ud is obtained through calculation according to a q-axis feedback current, a proper q-axis second compensation voltage Uq is obtained through calculation according to the d-axis feedback current, and the d-axis voltage and the q-axis voltage are dynamically compensated through the first compensation voltage and the second compensation voltage respectively, so that the dynamic decoupling of an exciting current component and a torque current component is realized, the dynamic performance of the stepping motor is improved, and the torque and the stability of the stepping motor at high speed are increased.
Drawings
FIG. 1 is a block flow diagram of a control method of the present invention;
FIG. 2 is a schematic diagram of the dynamic decoupling of the stepper motor of the present invention;
FIG. 3 is a schematic diagram of the control system of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The embodiment provides a control method for dynamic decoupling of a closed-loop stepping motor, which is used for respectively and properly compensating voltages of a q axis and a d axis to realize dynamic decoupling in a current loop control process, and specifically comprises the following steps:
s101, obtaining a current q-axis correction voltage Uq _ Ctr according to the q-axis feedback current Iq _ fdk;
s102, obtaining a current correction voltage Ud _ Ctr of a d axis according to the feedback current Id _ fdk of the d axis;
s103, acquiring a first compensation voltage Ud of a d axis according to the q axis feedback current Iq _ fdk;
s104, acquiring a second compensation voltage Uq of a q axis according to the d axis feedback current Id _ fdk;
s105, taking the sum of the q-axis current correction voltage Uq _ Ctr and the second compensation voltage Uq as an actual correction voltage Uq of the q-axis; taking the sum of the current correction voltage Ud _ Ctr of the d axis and the first compensation voltage Ud as the actual correction voltage Ud of the d axis;
and S106, carrying out reverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generating a PWM (pulse-width modulation) wave according to the duty ratio of the voltage value to control the rotation of the stepping motor.
In this embodiment, a proper first compensation voltage Ud of the d axis is calculated and obtained according to the q-axis feedback current, a proper second compensation voltage Uq of the q axis is calculated and obtained according to the d-axis feedback current, and the d-axis voltage and the q-axis voltage are dynamically compensated by using the first compensation voltage and the second compensation voltage, respectively, so as to dynamically decouple the excitation current component and the torque current component, improve the dynamic performance of the stepping motor, and increase the torque and the stability of the stepping motor at high speed.
Specifically, the process of obtaining the first compensation voltage Ud of the d-axis according to the q-axis feedback current Iq _ fdk includes the following steps:
s1031, obtaining a fixed constant P of the stepping motor, wherein the fixed constant is a back electromotive force constant of the stepping motor;
s1032, acquiring a speed feedback value Spd _ fdk detected by an encoder in a speed loop;
s1033, obtaining an inductance value L of the stepping motor;
s1034, performing Park conversion on the two orthogonal currents of the stepping motor to obtain a q-axis feedback current Iq _ fdk;
s1035, calculating a first compensation voltage Ud, Ud = -p × Spd _ fbk × L × Iq _ fdk.
Specifically, the obtaining of the d-axis current correction voltage Ud _ Ctr according to the d-axis feedback current Id _ fdk includes:
s1021, acquiring a d-axis given current Id _ ref, wherein the value of the d-axis given current is 0 generally;
s1022, performing Park transformation on the two orthogonal currents of the stepping motor to obtain d-axis feedback current Id _ fdk;
and S1023, obtaining the current correction voltage Ud _ Ctr of the d axis through a current loop proportional-integral controller after the difference is made between the given current Id _ ref of the d axis and the feedback current Id _ fdk of the d axis.
Specifically, the obtaining of the q-axis second compensation voltage Uq according to the d-axis feedback current Id _ fdk includes:
s1041, obtaining a fixed constant P of the stepping motor;
s1042, acquiring a speed feedback value Spd _ fdk detected by an encoder in a speed loop;
s1043, obtaining an inductance value L of the stepping motor;
s1044, carrying out Park transformation on the two orthogonal currents of the stepping motor to obtain d-axis feedback current Id _ fdk;
s1045, acquiring a magnetic linkage psi f;
s1046, calculating a second compensation voltage Uq, Uq = p Spd _ fdk L Id _ fdk + p Spd _ fdk ψ f.
Specifically, the obtaining of the q-axis current correction voltage Uq _ Ctr according to the q-axis feedback current Iq _ fdk includes:
s1011, acquiring a given position Pos _ ref in the position loop and a feedback position Pos _ fdk detected by the encoder; after the difference is made between the given position Pos _ ref and the feedback position Pos _ fdk, a position loop control quantity Pos _ Ctr is obtained through a position loop proportional controller;
s1012, acquiring a given speed Spd _ ref in a speed loop and a feedback speed Spd _ fdk detected by an encoder; multiplying the given speed Spd _ ref by a factor K1After the position loop control quantity Pos _ Ctr is added, the difference between the position loop control quantity Pos _ Ctr and the feedback speed Spd _ fdk is obtained through a speed loop proportional integral controller, and then the speed loop control quantity Spd _ Ctr is obtained; wherein the coefficient K1The optimal value can be obtained by debugging in the control process;
s1013, multiplying a difference between a given speed Spd _ ref in the speed loop and a feedback speed Spd _ fdk detected by the encoder by a coefficient K2Then adding the q-axis given current Iq _ ref to the speed loop control quantity Spd _ Ctr to obtain q-axis given current Iq _ ref; and (3) obtaining the current correction voltage Uq _ Ctr of the q axis through a current loop proportional integral controller after the difference is made between the given current Iq _ ref of the q axis and the feedback current of the q axis. Wherein the coefficient K2The debugging can be carried out in the control process to obtain the optimal value.
In this embodiment, as shown in fig. 2, after the current correction voltage Ud _ Ctr of the d-axis is obtained, the first compensation voltage Ud is used to perform dynamic compensation to obtain an actual correction voltage Ud, where the first compensation voltage Ud is obtained according to the fixed constant P of the stepping motor, the speed feedback value Spd _ fdk, the inductance value L, and the feedback current Iq _ fdk of the q-axis; after the q-axis current correction voltage Uq _ Ctr is acquired, the actual correction voltage Uq is obtained by performing dynamic compensation by using a second compensation voltage Uq, wherein the second compensation voltage is obtained according to a fixed constant P of the stepping motor, a speed feedback value Spd _ fdk, an inductance value L, a flux linkage ψ f and a feedback current Id _ fdk of the d-axis. And then, the actual correction voltages Ud and Uq are used for calculating the control quantity of the stepping motor, so that the dynamic decoupling of the exciting current component and the torque current component in the control process of the stepping motor is realized, the dynamic performance of the stepping motor is improved, and the torque and the stability of the stepping motor at high speed are increased.
The control method for dynamic decoupling of the closed-loop stepping motor provided by this embodiment is a vector control method, and is suitable for multiphase stepping motors such as two-phase stepping motors and three-phase stepping motors, and the current needs to be park converted into q-axis feedback current Iq _ fdk and d-axis feedback current Id _ fdk, and the actual correction voltages Ud and Uq need to be inverse park converted into voltages, and the electric angle θ _ Ctr needs to be obtained through park conversion and inverse park conversion, and the obtaining process of the electric angle θ _ Ctr includes:
acquiring a feedback position electrical angle theta detected by an encoder;
calculating an electrical angle θ _ Ctr, θ _ Ctr = θ + Spd _ fdk × K3+ phi, where K3Is a coefficient, phi is an angle compensation value, wherein the coefficient K3The optimal value can be obtained by debugging in the control process, and phi can be obtained by calculation according to the inductance, the resistance, the current and the voltage of the stepping motor and the back electromotive force coefficient of the stepping motor.
In this embodiment, the electric angle θ _ Ctr is further compensated, so that dynamic decoupling of the current loop magnetic excitation current component, the torque current component and the electric angle of the closed-loop stepping motor is realized.
Example 2
Referring to fig. 3, the present embodiment discloses a control system for a closed-loop stepping motor, including:
a q-axis correction voltage obtaining module configured to obtain a q-axis current correction voltage Uq _ Ctr according to the q-axis feedback current Iq _ fdk;
a d-axis correction voltage acquisition module configured to acquire a d-axis current correction voltage Ud _ Ctr according to the d-axis feedback current Id _ fdk;
a d-axis compensation voltage obtaining module configured to obtain a first compensation voltage Ud of a d-axis according to the q-axis feedback current Iq _ fdk;
a q-axis compensation voltage obtaining module configured to obtain a q-axis second compensation voltage Uq from the d-axis feedback current Id _ fdk;
a compensation module configured to take the sum of the q-axis current correction voltage Uq _ Ctr and the second compensation voltage Uq as the q-axis actual correction voltage Uq; taking the sum of the current correction voltage Ud _ Ctr of the d axis and the first compensation voltage Ud as the actual correction voltage Ud of the d axis;
and the control module is configured to perform inverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generate a PWM wave according to the duty ratio of the voltage value to control the rotation of the stepping motor.
In this embodiment, the control system of the closed-loop stepping motor is used to control the action of the closed-loop stepping motor, so as to realize dynamic decoupling of the current loop excitation current component and the torque current component of the closed-loop stepping motor, improve the dynamic performance of the stepping motor, and increase the torque and stability of the stepping motor at high speed.
It should be noted that the division of each module of the above apparatus is only a logical division, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can all be implemented in the form of software invoked by a processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Example 3
The present embodiment provides a storage medium, which stores thereon computer program instructions, when the computer program instructions are read and executed by a computer, for executing the steps of the control method of a closed-loop stepping motor according to any one of embodiment 1.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A control method for dynamic decoupling of a closed-loop stepping motor is characterized by comprising the following steps:
obtaining a current correction voltage Uq _ Ctr of a q axis according to the feedback current Iq _ fdk of the q axis;
acquiring a current correction voltage Ud _ Ctr of a d axis according to the feedback current Id _ fdk of the d axis;
acquiring a first compensation voltage Ud of a d axis according to the q axis feedback current Iq _ fdk;
acquiring a second compensation voltage Uq of a q axis according to the d axis feedback current Id _ fdk;
taking the sum of the q-axis current correction voltage Uq _ Ctr and the second compensation voltage Uq as the q-axis actual correction voltage Uq; taking the sum of the current correction voltage Ud _ Ctr of the d axis and the first compensation voltage Ud as the actual correction voltage Ud of the d axis;
and performing inverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generating a PWM (pulse-width modulation) wave according to the duty ratio of the voltage value to control the rotation of the stepping motor.
2. The method as claimed in claim 1, wherein said obtaining the first compensation voltage Ud of d-axis according to the q-axis feedback current Iq _ fdk comprises:
acquiring a fixed constant P of the stepping motor;
obtaining a speed feedback value Spd _ fdk detected by an encoder in a speed loop;
obtaining an inductance value L of the stepping motor;
performing Park transformation on two orthogonal currents of the stepping motor to obtain q-axis feedback current Iq _ fdk;
a first compensation voltage Ud, Ud = -p × Spd _ fbk × L × Iq _ fdk is calculated.
3. The method as claimed in claim 2, wherein said obtaining the second compensation voltage Uq of the q-axis according to the d-axis feedback current Id _ fdk comprises:
acquiring a fixed constant P of the stepping motor;
acquiring a speed feedback value Spd _ fdk detected by an encoder in a speed loop;
obtaining an inductance value L of the stepping motor;
performing Park conversion on two orthogonal currents of the stepping motor to obtain d-axis feedback current Id _ fdk;
acquiring a magnetic linkage psi f;
the second compensation voltage Uq, Uq = p × Spd _ fdk × L × Id _ fdk + p × Spd _ fdk × ψ f is calculated.
4. The method for controlling dynamic decoupling of a closed-loop stepping motor according to claim 3, wherein said obtaining a q-axis present correction voltage Uq _ Ctr according to a q-axis feedback current Iq _ fdk comprises:
acquiring a given position Pos _ ref in a position loop and a feedback position Pos _ fdk detected by an encoder; after the difference is made between the given position Pos _ ref and the feedback position Pos _ fdk, a position loop control quantity Pos _ Ctr is obtained through a position loop proportional controller;
acquiring a given speed Spd _ ref in a speed loop and a feedback speed Spd _ fdk detected by an encoder; multiplying the given speed Spd _ ref by a coefficient K1 and adding the position loop control quantity Pos _ Ctr, and then obtaining a speed loop control quantity Spd _ Ctr by making a difference with the feedback speed Spd _ fdk and then passing through a speed loop proportional integral controller;
multiplying a difference between a given speed Spd _ ref in the speed loop and a feedback speed Spd _ fdk detected by an encoder by a coefficient K2, and adding the difference to a speed loop control quantity Spd _ Ctr to obtain a q-axis given current Iq _ ref; and (3) obtaining the current correction voltage Uq _ Ctr of the q axis through a current loop proportional integral controller after the difference is made between the given current Iq _ ref of the q axis and the feedback current of the q axis.
5. The method as claimed in claim 4, wherein said obtaining the d-axis current correction voltage Ud _ Ctr according to the d-axis feedback current Id _ fdk comprises:
acquiring a d-axis given current Id _ ref;
and obtaining the current correction voltage Ud _ Ctr of the d axis through a current loop proportional-integral controller after the difference is made between the given current Id _ ref of the d axis and the feedback current Id _ fdk of the d axis.
6. The method for controlling the dynamic decoupling of the closed-loop stepping motor according to claim 5, wherein the step of obtaining the electrical angle θ _ Ctr of park transformation and inverse park transformation comprises:
acquiring a feedback position electrical angle theta detected by an encoder;
calculating an electrical angle theta _ Ctr, theta _ Ctr = theta + Spd _ fdk K3+ phi, wherein K3 is a coefficient and phi is an angle compensation value.
7. A control system for a closed loop stepper motor, comprising:
a q-axis correction voltage obtaining module configured to obtain a q-axis current correction voltage Uq _ Ctr according to the q-axis feedback current Iq _ fdk;
a d-axis correction voltage acquisition module configured to acquire a d-axis current correction voltage Ud _ Ctr according to the d-axis feedback current Id _ fdk;
a d-axis compensation voltage obtaining module configured to obtain a first compensation voltage Ud of a d-axis according to the q-axis feedback current Iq _ fdk;
a q-axis compensation voltage obtaining module configured to obtain a q-axis second compensation voltage Uq according to the d-axis feedback current Id _ fdk;
a compensation module configured to take the sum of the q-axis current correction voltage Uq _ Ctr and the second compensation voltage Uq as the q-axis actual correction voltage Uq —; taking the sum of the current correction voltage Ud _ Ctr of the d axis and the first compensation voltage Ud as the actual correction voltage Ud of the d axis;
and the control module is configured to perform inverse park conversion on the actual correction voltage Uq of the q axis and the actual correction voltage Ud of the d axis to obtain a voltage value, and generate a PWM (pulse-width modulation) wave according to the duty ratio of the voltage value to control the rotation of the stepping motor.
8. A storage medium having stored thereon computer program instructions which, when read and executed by a computer, perform the steps of a method of controlling a closed-loop stepper motor as defined in any of claims 1-6.
CN202210561928.1A 2022-05-23 2022-05-23 Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium Active CN114665776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210561928.1A CN114665776B (en) 2022-05-23 2022-05-23 Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210561928.1A CN114665776B (en) 2022-05-23 2022-05-23 Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium

Publications (2)

Publication Number Publication Date
CN114665776A true CN114665776A (en) 2022-06-24
CN114665776B CN114665776B (en) 2023-01-03

Family

ID=82036642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210561928.1A Active CN114665776B (en) 2022-05-23 2022-05-23 Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium

Country Status (1)

Country Link
CN (1) CN114665776B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116449884A (en) * 2023-04-14 2023-07-18 江苏吉泰科电气有限责任公司 Positioning method and device for motor spindle and computer readable storage medium
CN118300457A (en) * 2024-06-06 2024-07-05 浙江诺和机电股份有限公司 Winch brushless motor operation precision optimization method

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189892A (en) * 1992-01-10 1993-07-30 Sony Corp Power supply circuit for motor drive
JP2009033949A (en) * 2007-06-22 2009-02-12 Yokogawa Electric Corp Linear pulse motor
CN101888207A (en) * 2009-05-14 2010-11-17 多拉股份公司 In feed-forward voltage mode, drive the method and the hardware system of stepping motor
CN103368474A (en) * 2012-03-27 2013-10-23 比亚迪股份有限公司 Motor rotation speed control method
CN206283441U (en) * 2016-08-02 2017-06-27 苏州艾文芯伺电气技术有限公司 A kind of multiaxis AC Servo Motor Control device
CN106961233A (en) * 2017-03-29 2017-07-18 广州智能装备研究院有限公司 A kind of two-phase hybrid stepping motor closed loop control method
CN107154760A (en) * 2017-06-06 2017-09-12 深圳市杰美康机电有限公司 A kind of high speed high torque (HT) implementation method of composite stepper motor
CN107181439A (en) * 2017-07-20 2017-09-19 中车株洲电力机车研究所有限公司 A kind of method for controlling permanent magnet synchronous motor and system
CN107809194A (en) * 2016-08-26 2018-03-16 比亚迪股份有限公司 The rotor angle compensating control method and control system of motor
CN109391189A (en) * 2018-10-17 2019-02-26 浙江大华技术股份有限公司 A kind of stepper motor rotational angle compensation method and device
CN110034707A (en) * 2019-03-28 2019-07-19 南京航空航天大学 A kind of method for suppressing torque ripple of low-speed direct driving magneto servo-system
CN110442019A (en) * 2018-05-05 2019-11-12 深圳市越疆科技有限公司 Feedover method of servo-controlling, AC servo and readable storage medium storing program for executing
CN111049437A (en) * 2019-12-24 2020-04-21 浙江大华技术股份有限公司 Method, device, equipment and medium for compensating back electromotive force voltage of stepping motor
CN111614292A (en) * 2020-06-17 2020-09-01 杭州海康威视数字技术股份有限公司 Drive control device and drive control method for stepping motor
CN112821836A (en) * 2021-02-02 2021-05-18 杭州优迈科技有限公司 Motor control method and device and electronic equipment
CN113179058A (en) * 2021-06-29 2021-07-27 深圳市杰美康机电有限公司 Stepper motor current harmonic suppression method based on harmonic current injection method
CN113258841A (en) * 2021-06-23 2021-08-13 深圳市杰美康机电有限公司 Medium-speed torque compensation method and device for two-phase hybrid stepping motor
CN113517829A (en) * 2021-07-22 2021-10-19 燕山大学 Brushless direct current motor maximum torque current ratio control method and system
CN113726234A (en) * 2021-07-27 2021-11-30 山东师范大学 PID control-based stepping motor double-closed-loop control method and system

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189892A (en) * 1992-01-10 1993-07-30 Sony Corp Power supply circuit for motor drive
JP2009033949A (en) * 2007-06-22 2009-02-12 Yokogawa Electric Corp Linear pulse motor
CN101888207A (en) * 2009-05-14 2010-11-17 多拉股份公司 In feed-forward voltage mode, drive the method and the hardware system of stepping motor
CN103368474A (en) * 2012-03-27 2013-10-23 比亚迪股份有限公司 Motor rotation speed control method
CN206283441U (en) * 2016-08-02 2017-06-27 苏州艾文芯伺电气技术有限公司 A kind of multiaxis AC Servo Motor Control device
CN107809194A (en) * 2016-08-26 2018-03-16 比亚迪股份有限公司 The rotor angle compensating control method and control system of motor
CN106961233A (en) * 2017-03-29 2017-07-18 广州智能装备研究院有限公司 A kind of two-phase hybrid stepping motor closed loop control method
CN107154760A (en) * 2017-06-06 2017-09-12 深圳市杰美康机电有限公司 A kind of high speed high torque (HT) implementation method of composite stepper motor
CN107181439A (en) * 2017-07-20 2017-09-19 中车株洲电力机车研究所有限公司 A kind of method for controlling permanent magnet synchronous motor and system
CN110442019A (en) * 2018-05-05 2019-11-12 深圳市越疆科技有限公司 Feedover method of servo-controlling, AC servo and readable storage medium storing program for executing
CN109391189A (en) * 2018-10-17 2019-02-26 浙江大华技术股份有限公司 A kind of stepper motor rotational angle compensation method and device
CN110034707A (en) * 2019-03-28 2019-07-19 南京航空航天大学 A kind of method for suppressing torque ripple of low-speed direct driving magneto servo-system
CN111049437A (en) * 2019-12-24 2020-04-21 浙江大华技术股份有限公司 Method, device, equipment and medium for compensating back electromotive force voltage of stepping motor
CN111614292A (en) * 2020-06-17 2020-09-01 杭州海康威视数字技术股份有限公司 Drive control device and drive control method for stepping motor
CN112821836A (en) * 2021-02-02 2021-05-18 杭州优迈科技有限公司 Motor control method and device and electronic equipment
CN113258841A (en) * 2021-06-23 2021-08-13 深圳市杰美康机电有限公司 Medium-speed torque compensation method and device for two-phase hybrid stepping motor
CN113179058A (en) * 2021-06-29 2021-07-27 深圳市杰美康机电有限公司 Stepper motor current harmonic suppression method based on harmonic current injection method
CN113517829A (en) * 2021-07-22 2021-10-19 燕山大学 Brushless direct current motor maximum torque current ratio control method and system
CN113726234A (en) * 2021-07-27 2021-11-30 山东师范大学 PID control-based stepping motor double-closed-loop control method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘暐等: "《传感器原理及应用技术》", 31 August 2019 *
袁雷等: "《现代永磁同步电机控制原理及MATLAB仿真》", 30 April 2016, 北京航空航天大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116449884A (en) * 2023-04-14 2023-07-18 江苏吉泰科电气有限责任公司 Positioning method and device for motor spindle and computer readable storage medium
CN118300457A (en) * 2024-06-06 2024-07-05 浙江诺和机电股份有限公司 Winch brushless motor operation precision optimization method

Also Published As

Publication number Publication date
CN114665776B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN114665776B (en) Control method and system for dynamic decoupling of closed-loop stepping motor and storage medium
US8674638B2 (en) Determining initial rotor position of an alternating current motor
CN110323983B (en) Current decoupling method, device, equipment and medium for permanent magnet synchronous motor
CN111355411B (en) Control method and device of permanent magnet synchronous motor, storage medium and terminal
CN106385216B (en) A kind of permanent magnet synchronous motor predictive current control steady-state error removing method and system
CN111293939B (en) Method for suppressing harmonic current of motor
US20170373618A1 (en) Motor control apparatus and control method for motor control apparatus
Zhang et al. Model predictive voltage control for SPMSM drives with parameter robustness optimization
Yan et al. Speed-sensorless dual reference frame predictive torque control for induction machines
CN111293946B (en) Method for suppressing harmonic current of motor
CN108683376A (en) A kind of alternating current generator current measurement offset error compensation method based on filtering principle
CN110739892A (en) permanent magnet synchronous motor V/F control stator resistance compensation method and system
CN110581678A (en) Motor control method, motor control device, electric equipment and storage medium
JPS5996891A (en) Control system for ac motor
JP5641774B2 (en) Method and apparatus for estimating rotor position and speed of stepping motor
CN117118285A (en) Permanent magnet synchronous motor control method based on flux linkage observer
WO2023024029A1 (en) Control method and apparatus for permanent-magnet synchronous electric motor, and permanent-magnet synchronous electric motor control system
KR20100094764A (en) Sensorless speed control system of induction motor
US11038452B2 (en) Motor control system and method
CN111371363B (en) Motor maximum torque current ratio control method and device based on signal injection
CN114070154A (en) Motor control method, chip and motor control system
CN109617480B (en) Design method of open-winding permanent magnet motor zero-sequence current controller considering sampling error
CN113179058A (en) Stepper motor current harmonic suppression method based on harmonic current injection method
CN112134495A (en) Open-loop harmonic compensation method for current of permanent magnet synchronous motor
CN111669091A (en) Direct torque control method for motor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant