Motor control device and motor control method

The motor control device stabilizes drive current and torque fluctuations in stepping motors by employing vector control to manage transitions between closed-loop and open-loop control, minimizing vibrations and noises.

JP2024146367APending Publication Date: 2024-10-15MINEBEAMITSUMI INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023059216
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Stepping motors experience fluctuations in drive current and torque when switching from closed-loop control to open-loop control, leading to abnormal noises and vibrations.

Method used

A motor control device that employs vector control to manage the current supplied to the stepping motor, using closed-loop and open-loop control methods to stabilize the rotational speed and torque, ensuring the current vector moves on a constant torque curve and current limit circle.

Benefits of technology

The solution effectively suppresses fluctuations in drive current and torque, reducing vibrations and abnormal noises during transitions between control modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024146367000001_ABST
    Figure 2024146367000001_ABST
Patent Text Reader

Abstract

To suppress modulation of a driving current in the case where a feedback control and an open loop control are switched with a purpose of suppressing an oscillation in a stepping motor.SOLUTION: In a motor control device 1, a current control part 20 performs a closed loop control for controlling a current supplied to a stepping motor by vector control on the basis of a current command value and a rotational speed of the stepping motor or an open loop control for controlling the current supplied to the stepping motor on the basis of a current vector value, and controls the current supplied to the stepping motor so as to move the current vector value onto a fixed torque curvature and a current limit circle of the stepping motor when it is switched to the open loop control from the closed loop control, or it is switched to the closed loop control from the open loop control.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a motor control device and a motor control method. [Background technology]

[0002] In order to achieve stable operation when rotating at high speed, a stepping motor may be controlled by closed-loop control. When a stepping motor is controlled by closed-loop control, vibration (hunting) may occur when the rotation is stopped. Therefore, a method of controlling the drive of a stepping motor may be considered to switch from closed-loop control to open-loop control when the rotation is stopped.

[0003] Incidentally, in the technology for controlling the driving of a motor, a technology for switching between feedback control and open loop control is known in which acceleration control is performed according to a predetermined acceleration, for example (see Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2010-098923 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in a stepping motor, when the drive control method is switched from closed loop control to open loop control when rotation is stopped, fluctuations in the drive current may occur. In a stepping motor, fluctuations in the drive current cause fluctuations in the torque. In a stepping motor, abnormal noise (clicking noise) may occur when the torque fluctuation becomes large. Therefore, in a stepping motor, when switching between feedback control and open loop control for the purpose of suppressing vibration, it is necessary to suppress fluctuations in the drive current (torque).

[0006] The present invention is directed to the above-mentioned problem as an example, and aims to provide a technique for suppressing fluctuations in drive current in a stepping motor when switching between feedback control and open loop control for the purpose of suppressing vibration. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, a motor control device according to the present invention includes a speed control unit that determines a current command value that controls a current supplied to the stepping motor so that the rotational speed of the stepping motor becomes a predetermined value, and a current control unit that outputs a current vector value that controls the current supplied to the stepping motor by vector control based on the current command value and a measured value of a current detected from the stepping motor so that the rotational speed becomes the predetermined value, wherein the current control unit performs closed-loop control that controls the current supplied to the stepping motor by vector control based on the current vector value and the rotational speed, or open-loop control that controls the current supplied to the stepping motor based on the current command value, and controls the current supplied to the stepping motor so that the current vector value moves on the constant torque curve and current limit circle of the stepping motor when transitioning from the closed-loop control to the open-loop control, or when transitioning from the open-loop control to the closed-loop control. Effect of the Invention

[0008] According to the motor control device of the present invention, when switching between feedback control and open loop control for the purpose of suppressing vibration in a stepping motor, it is possible to suppress fluctuations in the drive current. [Brief description of the drawings]

[0009] [Figure 1] 1 is a functional block diagram showing a functional configuration of a motor control device according to an embodiment of the present invention; [Diagram 2] 2 is a diagram showing an example of current vectors in closed-loop control of d-axis current id=0 by the motor control device shown in FIG. 1. [Diagram 3] 2 is a diagram showing an example of current vectors in closed-loop control in which a composite current of iq and id is a constant value by the motor control device shown in FIG. 1. FIG. [Figure 4] 2 is a diagram showing an example of current vectors in closed-loop control by the motor control device shown in FIG. 1 in which a composite current of a q-axis current iq and a d-axis current id is a constant value. FIG. [Diagram 5] 2 is a diagram showing an example of current vectors in closed-loop control by the motor control device shown in FIG. 1 in which a composite current of a q-axis current iq and a d-axis current id is a constant value. FIG. [Figure 6] 2 is a diagram showing an example of current vectors in closed-loop control in which a composite current of iq and id is a constant value by the motor control device shown in FIG. 1. FIG. [Figure 7] 2 is a diagram showing an example of current vectors in open-loop control with q-axis current iq=0 and d-axis current id=fixed value by the motor control device shown in FIG. 1. FIG. [Figure 8] 2 is a diagram showing an example of a current vector in constant torque open loop control in which iq, id = fixed values ​​by the motor control device shown in FIG. 1. FIG. [Figure 9] 4 is a flowchart showing a specific example of a process for switching from closed-loop control to open-loop control in a motor drive control method executed by the motor control device shown in FIG. [Figure 10]4 is a flowchart showing a specific example of a process for switching from open-loop control to closed-loop control in a motor drive control method executed by the motor control device shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] A motor control device 1 according to an embodiment of the present invention will now be described with reference to the drawings.

[0011] FIG. 1 is a functional block diagram showing a functional configuration of a motor control device 1 according to an embodiment of the present invention. As shown in FIG. 1, the motor control device 1 according to the present embodiment controls the driving of a motor 30 such as a stepping motor. The motor control device 1 is a program processing device (for example, a computer such as a microcontroller: MCU (Micro Control Unit)) having hardware elements such as a processor such as a CPU (Central Processing Unit), various memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory), a timer, a counter, an A / D conversion circuit, an input / output I / F circuit, and a clock generation circuit, with each component being connected to each other via a bus or a dedicated line. The motor control device 1 has a rewritable non-volatile storage device such as a flash memory or an EEPROM (Electrically Erasable Programmable Read-Only Memory) as a memory. Various functional units realized to execute a motor control method in the motor control device 1 described below are realized by the processor in the above-mentioned MCU executing various calculations according to the operation program of the motor control device 1 stored in the memory and controlling peripheral circuits such as the timer, counter, A / D conversion circuit, and input / output I / F circuit.

[0012] The motor control device 1 includes a speed control unit 10, a current control unit 20, a motor drive circuit 80, and a current / position detection unit 60. The current control unit 20 has a drive control unit 70, a first closed-loop control unit 21, a second closed-loop control unit 22, a first open-loop control unit 23, a second open-loop control unit 24, and a control switching unit 25.

[0013] The speed control unit 10 determines a current command value for controlling the current of the motor 30 so that the rotational speed detected by the current / position detection unit 60, which detects the rotational position and speed of the motor 30, becomes the speed command value obtained from a higher-level device (not shown), such as a controller.

[0014] The current control unit 20 uses either closed loop control or open loop control to control the current that drives the motor 30. The drive control unit 70 determines command values ​​for the d-axis current id and the q-axis current iq as current command values ​​based on the current command value for the motor 30 generated by the speed control unit 10 and the measured value of the coil current of the motor 30 detected by the current / position detection unit 60.

[0015] In the current control unit 20, a first closed-loop control unit 21 and a second closed-loop control unit 22 control the current of the motor 30 by closed-loop control. Also, in the current control unit 20, a first open-loop control unit 23 and a second open-loop control unit 24 control the current of the motor 30 by open-loop control. A control switching unit 25 switches the control unit that controls the current of the motor 30.

[0016] The first closed-loop control unit 21 and the second closed-loop control unit 22 perform closed-loop control of the current supplied to the motor 30 by vector control. The first closed-loop control unit 21 and the second closed-loop control unit 22 perform control to change the torque T generated by the motor 30 and maintain a predetermined rotation speed by performing closed-loop control of the current supplied to the motor 30 by vector control. That is, in the closed-loop control performed by the first closed-loop control unit 21 and the second closed-loop control unit 22 in the current control unit 20, a feedback loop of a speed control system is enabled. The current control unit 20 changes the q-axis current iq supplied to the motor 30 in order to change the torque T. The first closed-loop control unit 21 and the second closed-loop control unit 22 calculate a current command value of the q-axis current iq and a command value of the d-axis current id at a predetermined control period, for example, a control period of 10 KHz.

[0017] The first open loop control unit 23 and the second open loop control unit 24 drive the motor 30 by open loop current control without using the feedback loop of the speed control system described above. The first open loop control unit 23 and the second open loop control unit 24 control the current supplied to the motor 30 based on the measured values ​​of the coil currents of the A phase and the B phase of the motor 30 detected by the current / position detection unit 60. The first open loop control unit 23 and the second open loop control unit 24 calculate a command value of the current supplied to the motor 30 at a predetermined control period, for example, a control period of 10 KHz.

[0018] The second open-loop control unit 24 can control the q-axis current iq and the d-axis current id to fixed values ​​so that the torque generated in the motor 30 is constant, and when switching from closed-loop control to open-loop control, it controls the current supplied to the motor 30 so that the current vector value moves on the current limit circle while maintaining the same magnitude as the combined current of the q-axis current iq and the d-axis current id at that time.

[0019] The motor 30 generates a driving force by a driving current controlled by the current control unit 20. The motor 30 is driven, for example, by two-phase excitation of phases A and B. The motor 30 has a phase A coil (not shown) and a phase B coil (not shown). The motor 30 is operated by supplying driving power to the coils of each phase from a motor driving circuit 80. An encoder 40 is attached to the output shaft of the motor 30.

[0020] The encoder 40 is, for example, an incremental type rotary encoder that outputs two-phase pulse signals, A-phase and B-phase, to the current / position detection unit 60 in response to the rotation of the output shaft of the motor 30. The output phase of the encoder 40 is not limited to two phases, and may be, for example, one phase or three phases. The encoder 40 is not limited to an incremental type rotary encoder. The encoder 40 may be, for example, an absolute type rotary encoder that specifies and outputs a rotation angle over multiple rotations of the output shaft of the motor 30.

[0021] The current / position detection unit 60 detects the rotation speed and rotation position of the output shaft of the motor 30 based on the A-phase and B-phase pulse signals output by the encoder 40. The current / position detection unit 60 outputs the detected rotation speed to the speed control unit 10. As described above, in the motor control device 1, the encoder 40 and the current / position detection unit 60 function as a speed / position detection sensor that detects the rotation speed and rotation position of the motor 30. In addition, the current / position detection unit 60 detects measured values ​​of currents generated in the coils of the A-phase and B-phase of the motor 30.

[0022] The motor drive circuit 80 converts the d-axis current id and the q-axis current iq into coil currents of phases A and B of the motor 30. The motor drive circuit 80 outputs the converted coil currents of phases A and B to the motor 30.

[0023] Fig. 2 is a diagram showing an example of a current vector in closed-loop control by the motor control device 1 with d-axis current id=0. Figs. 3, 4, 5, and 6 are diagrams showing an example of a current vector in closed-loop control by the motor control device 1 in which a current obtained by combining the d-axis current id and the q-axis current iq supplied to the motor 30 is a constant value. Fig. 7 is a diagram showing an example of a current vector in open-loop control by the motor control device 1 with the q-axis current iq=0 and the d-axis current id=fixed value. Fig. 8 is a diagram showing an example of a current vector in constant-torque open-loop control by the motor control device 1 with iq, id=fixed values.

[0024] 2 to 8, which will be referred to in the following description, symbol CC indicates a current control circle, symbol TC indicates a theoretical curve (hereinafter referred to as a "constant torque curve") in which the torque T of motor 30 is a constant value, and symbol Iv indicates the current supplied to motor 30.

[0025] Next, specific control processing executed by the motor control device 1 will be described. In the current control unit 20 of the motor control device 1, the first closed-loop control unit 21 executes closed-loop control (hereinafter referred to as "first closed-loop control") in which the d-axis current id=0, which will be described below. In the current control unit 20, the second closed-loop control unit 22 executes closed-loop control (hereinafter referred to as "second closed-loop control") in which a composite current of the d-axis current id and the q-axis current iq, which will be described below, is constant. In the current control unit 20, the first open-loop control unit 23 executes open-loop control (hereinafter referred to as "first open-loop control") in which the q-axis current iq=0 and the d-axis current id=fixed value, which will be described below. In the current control unit 20, the second open-loop control unit 24 executes open-loop control (hereinafter referred to as "second open-loop control") in which the d-axis current id=fixed value and the q-axis current iq=fixed value, which will be described below, are used to keep the torque T of the motor 30 constant. In the current control unit 20, the control switching unit 25 switches between the above four control units.

[0026] 2, the first closed-loop control executed by the first closed-loop control unit 21 in the current control unit 20 included in the motor control device 1 fixes the command value of the d-axis current so that the d-axis current id=0 in vector control, and changes only the command value of the q-axis current iq, thereby controlling the current Iv supplied to the motor 30 and keeping the rotation speed of the motor 30 constant. The first closed-loop control unit 21 executes the first closed-loop control to control the current Iv supplied to the motor 30, thereby keeping the rotation speed of the motor 30 constant.

[0027] The second closed-loop control performed by the second closed-loop control unit 22 in the current control unit 20 of the motor control device 1 shown in Fig. 4 and Fig. 5 performs speed control, i.e., closed-loop control to keep the rotation speed of the motor 30 constant, similar to the first closed-loop control performed by the first closed-loop control unit 21. The example of the current vector shown in Fig. 4 shows an example in which, in the second closed-loop control performed by the second closed-loop control unit 22, when transitioning from closed-loop control to open-loop control or when transitioning from open-loop control to closed-loop control, the command values ​​of each are controlled so that the current Iv, which is a composite current of the d-axis current id and the q-axis current iq, becomes a constant current. In the closed-loop control performed by the second closed-loop control unit 22, the command values ​​of each are controlled so that the current Iv, which is a composite current of the d-axis current id and the q-axis current iq, becomes a constant current. Specifically, as shown in Fig. 5, the second closed-loop control unit 22 can determine the current Iv for driving the motor 30 so as to move on the current limit circle CC in the direction of the arrow A3 when transitioning from open-loop control to closed-loop control. In the second closed-loop control executed by the second closed-loop control unit 22, feedback is performed by a speed control system, so that the q-axis current iq changes according to the load torque on the output shaft of the motor 30. The q-axis current iq is determined by the feedback amount of the rotation speed of the output shaft of the motor 30. The d-axis current id is determined so that the current Iv is constant according to the determined q-axis current iq. For example, when Ia is the rated current, the d-axis current id is determined by the following formula (1).

[0028]

number

[0029] An example of a current vector shown in FIG. 3 shows a case where, in the second closed-loop control executed by the second closed-loop control unit 22, when the closed-loop control is shifted to the open-loop control, only the value of the q-axis current iq changes with the d-axis current id being a fixed value. An example of a current vector shown in FIG. 6 shows a case where, in the second closed-loop control executed by the second closed-loop control unit 22, only the value of iq changes with the d-axis current id being a fixed value. The second closed-loop control unit 22 reduces the d-axis current by a certain amount. The q-axis current is determined by the closed loop of the speed system. The second closed-loop control unit 22 reduces the d-axis current, and when the d-axis current id reaches 0, the state transitions to that shown in FIG. 2.

[0030] As shown in Fig. 3, the second closed-loop control unit 22 performs closed-loop control with the d-axis current id set to a fixed value before transitioning to the second closed-loop control shown in Fig. 4. Also, as shown in Fig. 6, the second closed-loop control unit 22 performs closed-loop control with the d-axis current id set to a fixed value. When the second closed-loop control unit 22 sets the d-axis current id to a fixed value (id>0), the q-axis current iq is determined by the feedback amount of the rotation speed of the output shaft of the motor 30. Specifically, the q-axis current iq is determined as follows.

[0031] A general equation for vector control in the feedback control executed by the motor control device 1 is expressed by the determinant of the following equation (2).

[0032]

number

[0033] In equation (2), the d-axis component of the armature voltage is vd, the q-axis component of the armature voltage is vq, the winding resistance of the coil of the motor 30 is Ra, the d-axis inductance is Ld, the q-axis inductance is Lq, the electrical angular velocity is ω, the d-axis current is id, the q-axis current is iq, the magnetic flux linkage is Ψa, and the differential operator is p.

[0034] Moreover, the torque T generated by the motor 30 is expressed by the following formula (3): In formula (3), Pn is the number of pole pairs.

[0035]

number

[0036] When equation (3) is solved for the q-axis current iq, the following equation (4) is obtained. That is, in the motor control device 1, the second closed-loop control unit 22 can determine the current Iv for driving the motor 30 so as to move on the constant torque curve TC shown in FIG. 3 and FIG. 6 by a combination of the d-axis current id and the q-axis current iq that satisfy equation (4) under the condition that the torque T of the motor 30 is constant (fixed). Specifically, as shown in FIG. 3, the second closed-loop control unit 22 can determine the current Iv for driving the motor 30 so as to move on the constant torque curve TC in the direction of the arrow A2 when transitioning from the closed-loop control to the open-loop control. Also, as shown in FIG. 6, the second closed-loop control unit 22 can determine the current Iv for driving the motor 30 so as to move on the constant torque curve TC in the direction of the arrow A4 when transitioning from the open-loop control to the closed-loop control.

[0037]

number

[0038] 3 and 6, in the second closed-loop control executed by the second closed-loop control unit 22 with the d-axis current id set to a fixed value, feedback is performed by the speed control system, so that the q-axis current iq changes according to the load torque on the output shaft of the motor 30. The q-axis current iq is determined by the feedback amount of the rotation speed of the output shaft of the motor 30. Since the q-axis current iq and the current Iv are constant values, the d-axis current id is determined to be a constant fixed value.

[0039] As shown in Fig. 7, the first open loop control executed by the first open loop control unit 23 in the current control unit 20 included in the motor control device 1 controls the q-axis current command value and the d-axis current command value so that the q-axis current iq = 0 and the d-axis current id = fixed value, thereby controlling the current Iv supplied to the motor 30. As the first open loop control, the first open loop control unit 23 performs control using a driving method similar to step driving, which is a basic driving method for the motor 30, without performing feedback using a speed control system. In the first open loop control, the first open loop control unit 23 controls the command value so that a current close to the rated current flows as the d-axis current id.

[0040] As shown in FIG. 8, the second torque open-loop control executed by the second open-loop control unit 24 in the current control unit 20 included in the motor control device 1 is an open-loop control similar to the first open-loop control. In the second open-loop control, the d-axis current id and the q-axis current iq are controlled to be constant currents, for example, the current Iv, which is a composite current of the d-axis current id and the q-axis current iq, is controlled to be a rated current so that the torque generated by the motor 30 is constant. In the second open-loop control, feedback control by the speed control system is not performed either. Specifically, as shown in FIG. 8, in the second open-loop control unit 24, the current Iv for driving the motor 30 can be determined so as to move in the direction of the arrow A1 on the current limit circle CC when shifting from the open-loop control to the closed-loop control.

[0041] The difference between the second closed-loop control and the second open-loop control is that the second closed-loop control is controlled by a closed-loop control of a speed control system. Therefore, in the second closed-loop control, the q-axis current iq and the d-axis current id change dynamically according to the load torque on the output shaft of the motor 30.

[0042] Next, a process for switching from closed-loop control to open-loop control executed by the motor control device 1 will be described.

[0043] FIG. 9 is a flowchart showing a specific example of a process for switching from closed-loop control to open-loop control in the motor drive control method executed by the motor control device 1.

[0044] In the motor control device 1, the first closed-loop control unit 21 in the current control unit 20 controls the motor 30 by the first closed-loop control shown in Fig. 2, i.e., closed-loop control in which the d-axis current id = 0 (step S101). In the first closed-loop control, the motor 30 is controlled by normal vector control. When the motor control device 1 receives a command to switch to open-loop control from a higher-level system, for example, the drive control unit 70 switches from a control state in which the first closed-loop control unit 21 is controlled to a control state in which the second closed-loop control unit 22 is controlled, and the control switching unit 25 switches to a state in which the second closed-loop control unit 22 is output, transitioning to a control state in which the d-axis current id = fixed value in the second closed-loop control shown in Fig. 3.

[0045] The motor control device 1 controls the motor 30 by the second closed-loop control, that is, the closed-loop control in which the composite current of the d-axis current id and the q-axis current iq shown in FIG. 3 is constant, by the transition of the control state (step S102). In the second closed-loop control, the d-axis current id is increased by a constant increment from the state where the d-axis current id=0. The q-axis current iq is determined by the closed-loop control of the speed control system, specifically, by the above-mentioned equation (4). The motor control device 1 increases the d-axis current id, and the current Iv, which is the composite current of the d-axis current id and the q-axis current iq, reaches the rated current Ia (current limit circle CC shown in FIG. 3). At this time, the current Iv is located at the intersection of the constant torque curve TC and the current limit circle CC, and it is the timing to switch from the second closed-loop control to the second open control.

[0046] At this switching timing, the drive control unit 70 switches from a control state in which it controls the second closed-loop control unit 22 to a control state in which it controls the second open-loop control unit 24, and the control switching unit 25 switches the second open-loop control unit 24 to an output state. In other words, the motor control device 1 stops the closed loop of the speed control system, and transitions to the control state of the second open-loop control shown in FIG.

[0047] The motor control device 1 controls the motor 30 with the second open loop control shown in Fig. 8, i.e., constant torque open loop control where the q-axis current iq is a fixed value and the d-axis current id is a fixed value (step S103). In the second open loop control shown in Fig. 8, the q-axis current iq is reduced to 0 from the state shown in Fig. 8 while keeping the value of current Iv=Ia, which is a composite current of the d-axis current id and the q-axis current iq, constant. When the q-axis current iq reaches 0, the motor control device 1 transitions to the first open loop control shown in Fig. 7 where the q-axis current iq is 0 and the d-axis current id is a fixed value.

[0048] The motor control device 1 controls the motor 30 with the first open loop control, that is, the open loop control in which the q-axis current iq=0 and the d-axis current id=fixed value shown in Fig. 7 (step S104). As described above, the motor control device 1 can transition the control of the current of the motor 30 from the closed loop control to the open loop control, as shown in S101 to S104.

[0049] Next, a process for switching from open-loop control to closed-loop control executed by the motor control device 1 will be described.

[0050] FIG. 10 is a flowchart showing a specific example of a process for switching from open-loop control to closed-loop control in the motor drive control method executed by the motor control device 1.

[0051] In the motor control device 1, the first open-loop control unit 23 in the current control unit 20 controls the motor 30 with the first open-loop control, that is, the open-loop control in which the q-axis current iq=0 and the d-axis current id=fixed value shown in Fig. 7 (step S201). For example, when the motor control device 1 receives a command to switch to closed-loop control from a higher-level system, the drive control unit 70 switches from a control state in which it controls the first open-loop control unit 23 to a control state in which it controls the second closed-loop control unit 22, and the control switching unit 25 switches to a state in which it outputs the second closed-loop control unit 22, transitioning to a control state in which the composite current of the d-axis current id and the q-axis current iq in the second closed-loop control shown in Fig. 5 has a constant value.

[0052] The motor control device 1 controls the motor 30 by the second closed-loop control, that is, the closed-loop control in which the composite current of the d-axis current id and the q-axis current iq shown in FIG. 5 is constant, by the transition of the control state (step S202). In the motor control device 1, the closed loop of the speed control system is enabled by transitioning from the first open-loop control to the second closed-loop control. In addition, when switching from the first open-loop control to the second closed-loop control, the motor control device 1 sets the gain of the closed-loop control of the speed control system to a predetermined initial value, for example, 0. The second closed-loop control unit 22 changes the gain value stepwise from the initial value to a normal gain value. If the gain used in the second closed-loop control unit 22 is suddenly set to a normal value when switching from the open-loop control to the closed-loop control of the speed control system in the motor control device 1, the q-axis current iq will change abruptly and cause vibration. Therefore, the gain is set to an initial value lower than the normal value at the switching timing.

[0053] As described above, in the motor control device 1, the second closed-loop control unit 22 controls the gain of the closed-loop control of the speed control system, so that the q-axis current iq increases with an increase in the gain. Also, in the motor 30, the q-axis current iq is determined according to the load torque of the output shaft by controlling the gain of the closed-loop control of the speed control system in the second closed-loop control unit 22.

[0054] That is, the second closed-loop control unit 22 controls the gain of the closed-loop control of the speed control system. By controlling the gain in this manner, the motor control device 1 can suppress the occurrence of vibration (hunting) in the motor 30 at the time of switching from open-loop control to closed-loop control, which is caused by a sudden change in the q-axis current iq.

[0055] In the second closed-loop control unit 22, when the gain of the closed-loop control of the speed control system reaches a normal value, the second closed-loop control transitions from the second closed-loop control to a control state of the second closed-loop control in which the d-axis current id is a fixed value as shown in Figure 4.

[0056] In the second closed-loop control where the d-axis current id = fixed value, the d-axis current id is reduced by a fixed amount from a state where the d-axis current id > 0 (a value determined by the composite current of the q-axis current iq and the d-axis current id when the gain reaches a normal value). The q-axis current iq is determined by the closed loop of the speed control system, specifically by the above-mentioned equation (4). The motor control device 1 reduces the d-axis current id, and when it reaches d-axis current id = 0, it transitions to the control state of the first closed-loop control shown in Figure 2.

[0057] Due to the transition of the control state, the motor control device 1 controls the motor 30 with the first closed-loop control, i.e., closed-loop control in which the d-axis current id=0 (step S203). The first closed-loop control is a state in which the motor 30 is controlled with normal vector control. As described above, in the motor control device 1, the current control unit 20 can transition the control of the current of the motor 30 while suppressing vibration (hunting) that occurs when switching from open-loop control to closed-loop control.

[0058] In the motor control device 1 configured as above, the drive control unit 70 in the current control unit 20 switches between closed-loop control, in which the current supplied to the motor 30 is controlled by vector control based on a current command value and the rotational speed of the motor 30, and open-loop control, in which the current supplied to the motor 30 is controlled based on a current vector value. According to the motor control device 1 having the current control unit 20, by switching between the closed-loop control and the open-loop control through the transitions shown in Figures 9 and 10 described above, it is possible to suppress vibrations (hunting) that occur during switching.

[0059] In addition, those skilled in the art can appropriately modify the present invention in accordance with conventionally known knowledge. As long as the configuration of the present invention is still provided even after such modifications, the modifications are of course included in the scope of the present invention.

[0060] In the motor control device 1, the criterion for switching between open-loop control and closed-loop control is not limited to the above-mentioned switching command from a higher-level system. In the motor control device 1, the criterion for switching between open-loop control and closed-loop control may be a predetermined criterion or timing, such as when the rotation speed of the output shaft of the motor 30 reaches a predetermined rotation speed. [Explanation of symbols]

[0061] 1: motor control device, 10: speed control section, 20: current control section, 21: first closed loop control section, 22: second closed loop control section, 23: first open loop control section, 24: second open loop control section, 25: control switching section, 30: motor, 40: encoder, 60: current / position detection section, 70: drive control section, 80: motor drive circuit, CC: current limit circle, Ia: rated current, Iv: current, T: torque, TC: constant torque curve, id: d-axis current, iq: q-axis current, Pn: number of pole pairs

Claims

1. a speed control unit that determines a current command value for controlling a current supplied to the stepping motor so that the rotation speed of the stepping motor becomes a predetermined value; a current control unit that outputs a current vector value for controlling a current supplied to the stepping motor by vector control based on the current command value and a measured value of a current detected from the stepping motor so that the rotation speed becomes a predetermined value; Equipped with The current control unit is performing closed-loop control in which a current supplied to the stepping motor is controlled by vector control based on the current vector value and the rotation speed, or performing open-loop control in which a current supplied to the stepping motor is controlled based on the current command value; When transitioning from the closed loop control to the open loop control, or when transitioning from the open loop control to the closed loop control, a current supplied to the stepping motor is controlled so that the current vector value moves on a constant torque curve and a current limit circle of the stepping motor. Motor control device.

2. The current control unit is When switching from the closed loop control to the open loop control, before controlling the current supplied to the stepping motor so that the d-axis current and the q-axis current are each set to a fixed value, the current supplied to the stepping motor is controlled so that the current vector value moves on the current limit circle. The motor control device according to claim 1 .

3. The current control unit is When transitioning from the closed loop control to the open loop control, or when transitioning from the open loop control to the closed loop control, a current supplied to the stepping motor is controlled so that the current vector value moves on the current limit circle by changing a composite current of a d-axis current and a q-axis current to a constant value. The motor control device according to claim 1 or 2.

4. The current control unit is When transitioning from the closed loop control to the open loop control, the d-axis current is changed from 0 to an upper value of the constant torque curve to an upper value of the current limit circle, and the q-axis current is changed from an upper value of the constant torque curve to an upper value of the current limit circle to 0. The motor control device according to claim 3.

5. The current control unit is When switching from the open loop control to the closed loop control, the d-axis current is changed from a value above the current limit circle to a value above the constant torque curve to 0, and the q-axis current is changed from 0 to a value above the current limit circle to a value above the constant torque curve. The motor control device according to claim 3.

6. The current control unit is When switching from the open loop control to the closed loop control, a gain of the closed loop control is changed from a predetermined initial value to a normal value. The motor control device according to claim 1 .

7. determining a current command value for controlling a current supplied to the stepping motor so that the rotation speed of the stepping motor becomes a predetermined value; outputting a current vector value for controlling a current supplied to the stepping motor by vector control based on the current command value and a measured value of a current detected from the stepping motor so that the rotation speed becomes a predetermined value; A motor control method comprising: In the step of outputting the current vector value, performing closed-loop control in which a current supplied to the stepping motor is controlled by vector control based on the current vector value and the rotation speed, or performing open-loop control in which a current supplied to the stepping motor is controlled based on the current command value; When transitioning from the closed loop control to the open loop control, or when transitioning from the open loop control to the closed loop control, a current supplied to the stepping motor is controlled so that the current vector value moves on a constant torque curve and a current limit circle of the stepping motor. Motor control methods.

Citation Information

Patent Citations

  • Driving device and electronic apparatus

    JP2010098923A