Controller circuit for motor

The motor controller circuit with a PI compensator and automatic tuning circuit addresses the challenge of coefficient adjustment in motor control systems by optimizing the first coefficient for a 90-degree phase difference, ensuring accurate and efficient motor control.

WO2024203647A1PCT designated stage expired Publication Date: 2024-10-03ROHM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/010830
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-19
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing motor control systems using PI compensators face challenges in automatic adjustment of coefficients, particularly with the zero-pole cancellation method, due to the vast number of coefficient combinations, making it difficult to achieve optimal phase difference and frequency characteristics.

Method used

A motor controller circuit with a PI compensator that includes an integrator, a first coefficient circuit, an adder, and a second coefficient circuit, where the automatic tuning circuit adjusts the first coefficient to achieve a 90-degree phase difference between error and control, allowing easy optimization without affecting phase characteristics, and the second coefficient does not impact phase characteristics, enabling easy adjustment.

Benefits of technology

Enables accurate and easy automatic tuning of the motor controller circuit, maintaining integral characteristics and allowing adjustment of the cutoff frequency, thereby improving the system's frequency response and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024010830_03102024_PF_FP_ABST
    Figure JP2024010830_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A PI compensator 230 generates a control input according to an error e between a detected value of the controlled variable of a motor and a command value of the controlled variable. An automatic tuning circuit 250 optimizes the parameters of the PI compensator 230. An integrator 232 integrates the error e. A first coefficient circuit 234 multiplies the output of the integrator 232 by a first coefficient B. An adder 236 adds the output of the first coefficient circuit 232 and the error e. A second coefficient circuit 238 multiplies the output of the adder 236 by a second coefficient A. The automatic tuning circuit varies and adjusts the first coefficient B to a value such that the phase difference between the error e and the controlled variable y is 90 degrees.
Need to check novelty before this filing date? Find Prior Art

Description

Motor controller circuit

[0001] The present disclosure relates to a controller circuit for a motor.

[0002] Feedback control using a PI (proportional-integral) compensator is widely used to control motors. Various methods for setting the compensator coefficients have been devised, including one called the zero-pole cancellation method. In a closed-loop control system designed using the zero-pole cancellation method, the transfer characteristic H(s) between input and output is equivalent to a first-order step response and is expressed by the following equation: H(s) = 1 / (1 + sT)

[0003] Japanese Patent Application Publication No. 5-265564

[0004] FIG. 1 is a block diagram of a PI compensator. FIG. 2 is a block diagram of a motor drive system including a controller circuit according to an embodiment. FIG. 3 is a diagram illustrating automatic tuning of a first coefficient B of the PI compensator of FIG. 2. FIG. 4 is a diagram illustrating automatic tuning of a second coefficient A of the PI compensator of FIG. 2. FIG. 5 is a block diagram of a PI compensator according to one embodiment. FIG. 6 is a block diagram of a motor drive system according to a first embodiment. FIG. 7 is a block diagram of a motor drive system according to a second embodiment.

[0005] (Summary of the Embodiments) A summary of some exemplary embodiments of the present disclosure will be provided. This summary is intended to provide a simplified overview of some concepts of one or more embodiments in order to provide a basic understanding of the embodiments as a prelude to the more detailed description that follows, and is not intended to limit the scope of the invention or disclosure. This summary is not an exhaustive overview of all possible embodiments, and is not intended to identify key elements of all embodiments or to delineate the scope of some or all aspects. For convenience, the term "one embodiment" may be used to refer to one embodiment (example or variant) or multiple embodiments (examples or variants) disclosed herein.

[0006] A motor controller circuit according to one embodiment includes a PI (proportional-integral) compensator that generates a manipulated variable corresponding to an error between a detected value of a motor's controlled variable and a command value of the controlled variable, and an auto-tuning circuit that optimizes parameters of the PI compensator. The PI compensator includes an integrator that integrates the error, a first coefficient circuit that multiplies the output of the integrator by a first coefficient, an adder that adds the output of the first coefficient circuit and the error, and a second coefficient circuit that multiplies the output of the adder by a second coefficient. The auto-tuning circuit adjusts the first coefficient to a value that results in a 90-degree phase difference between the error and the controlled variable.

[0007] In this configuration, the second coefficient does not affect the phase characteristics, so the phase difference can be optimized by changing the first coefficient, facilitating automatic adjustment.

[0008] In one embodiment, the transfer function of the controlled object is expressed as 1 / (τ·s+1), and the reference value of τ is expressed as τ 0 Then, the first coefficient is 1 / τ 0 ×α, and the automatic tuning circuit may vary α with 1 as the reference.

[0009] In one embodiment, the controlled variable may be the current flowing through the coils of the motor.

[0010] In one embodiment, the controlled variable may be the rotation speed of the motor.

[0011] A motor controller circuit according to one embodiment includes a minor controller for controlling a minor loop in which a current flowing through the motor is used as a control variable, and a major controller for controlling a major loop in which the rotational speed of the motor is used as a control variable. At least one of the major and minor controllers includes a PI (proportional-integral) compensator for generating a manipulated variable corresponding to a detected value of the motor's controlled variable and an error in a command value of the controlled variable, and a tuning circuit for optimizing parameters of the PI compensator. The PI compensator includes an integrator for integrating the error, a first coefficient circuit for multiplying the output of the integrator by a first coefficient, an adder for adding the output of the first coefficient circuit and the error, and a second coefficient circuit for multiplying the output of the adder by a second coefficient. The tuning circuit adjusts the first coefficient to a value that results in a 90-degree phase difference between the error and the controlled variable.

[0012] In this configuration, the second coefficient does not affect the phase characteristics, so the phase difference can be optimized by changing the first coefficient, facilitating automatic adjustment.

[0013] (Embodiments) Preferred embodiments will be described below with reference to the drawings. The same or equivalent components, parts, and processes shown in each drawing will be given the same reference numerals, and redundant explanations will be omitted where appropriate. Furthermore, the embodiments are illustrative and do not limit the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.

[0014] In this specification, "a state in which component A is connected to component B" includes not only a case in which component A and component B are directly physically connected to each other, but also a case in which component A and component B are indirectly connected to each other via other components that do not substantially affect the electrical connection state between them or that do not impair the function or effect achieved by their connection.

[0015] Similarly, "a state in which component C is provided between component A and component B" includes not only a case in which component A and component C, or component B and component C, are directly connected to each other, but also a case in which they are indirectly connected to each other via other components that do not substantially affect the electrical connection state between them or that do not impair the functions or effects achieved by their combination.

[0016] Figure 1 is a block diagram of a typical PI compensator. The PI compensator has proportional gain Kp and integral gain Ki as parameters. The input / output characteristic G(s) of the PI compensator is G(s) = Kp + Ki · 1 / s. The two coefficients, proportional gain Kp and integral gain Ki, are determined according to the delay elements of the controlled object. In the zero-pole cancellation method, the two coefficients Kp and Ki are used as parameters, and the coefficients are optimized so that the phase difference between the input and output is 90 degrees.

[0017] Since the number of combinations of the two coefficients Kp and Ki is enormous, it has not been easy to implement an automatic adjustment function based on the zero-pole cancellation method.

[0018] 2 is a block diagram of a motor drive system 100 including a controller circuit 200 according to an embodiment. The motor drive system 100 includes a motor 102, a controller circuit 200, and a drive circuit 300.

[0019] The motor 102 is, for example, a three-phase or single-phase DC brushless motor.

[0020] The controller circuit 200 performs feedback control of the electrical signal (power, voltage, or current) supplied to the motor 102 so that the motor 102 rotates in a target state. In this motor drive system 100, the control variable y (system output) is not particularly limited and may be the current flowing through the coil of the motor 102 (torque control) or the rotation speed of the rotor of the motor 102 (rotation speed control). If the motor 102 is a linear motor, the control variable y may be the position of the mover.

[0021] The controller circuit 200 generates a manipulated variable u according to an error e between a detected value of a controlled variable y and a command value r of the controlled variable y. The controller circuit 200 may be implemented as a combination of a microcontroller (processor) and a software program, or may be implemented as hardware logic such as a field programmable gate array (FPGA), or may be implemented as an application specific integrated circuit (ASIC).

[0022] The drive circuit 300 supplies an electric signal corresponding to the manipulated variable u to the motor 102. That is, when the manipulated variable u is a voltage command, the drive circuit 300 supplies a drive voltage based on the manipulated variable u to the motor 102. When the manipulated variable u is a current command, the drive circuit 300 supplies a drive current based on the manipulated variable u to the motor 102.

[0023] The controller circuit 200 and the drive circuit 300 may be separate integrated circuits (ICs), or may be a single IC integrated on the same semiconductor substrate.

[0024] The controller circuit 200 includes a feedback circuit 210 and an auto-tuning circuit 250. The feedback circuit 210 includes an error detector 212 and a PI compensator 230. The error detector 212 is a subtractor that calculates an error e between a command value r and a detected control amount y (feedback amount). The PI compensator 230 receives the error e and generates an operation amount u. When the proportional gain is Kp and the integral gain is Ki, the operation amount u is expressed by the following equation: u=(Kp+Ki / s)·e (1)

[0025] In this embodiment, the PI compensator 230 includes an integrator 232 , a first coefficient circuit 234 , an adder 236 , and a second coefficient circuit 238 .

[0026] The integrator 232 integrates, i.e., cumulatively adds, the error e. The integrator 232 is also called an integral element.

[0027] A first coefficient circuit 234 multiplies the output of the integrator 232 by a first coefficient B. An adder 236 adds the output of the first coefficient circuit 234 and the error e. A second coefficient circuit 238 multiplies the output of the adder 236 by a second coefficient A.

[0028] The input / output characteristic of this PI compensator 230 is given by: u=(B / s+1)A·e={A+AB / s}e (2) Comparing equations (1) and (2), A is the proportional gain Kp, and AB is the integral gain Ki.

[0029] The automatic tuning circuit 250 optimizes the parameter B of the PI compensator 230 based on the zero-pole cancellation method. Specifically, the automatic tuning circuit 250 changes the first coefficient B to adjust it to a value that makes the phase difference between the error e and the controlled variable y 90 degrees.

[0030] After determining the value of the first coefficient B, the value of the second coefficient A is then adjusted. The product of A and the gain of the driver circuit 300 defines the cutoff frequency of the entire system.

[0031] 3 is a diagram illustrating automatic tuning of the first coefficient B of the PI compensator 230 in FIG. 2. In FIG. 3, (i) shows the gain characteristic of a portion 231 including the integrator 232, the first coefficient circuit 234, and the adder 236. The transfer function of this portion is (B / s+1), where B / s is the integral term and 1 is the proportional term. When the first coefficient B is changed, the integral term B / s changes up or down. In other words, the frequency f at which it intersects with the gain of 0 dB, which is the proportional term, changes.

[0032] 3, (ii) shows the gain characteristic of the controlled object (plant). The controlled object is a first-order lag element with a transfer characteristic of 1 / (τ s + 1), and has the gain characteristic of a low-pass filter with a cutoff frequency fc according to the time constant τ.

[0033] By tuning using the automatic tuning circuit 250 using the zero-pole cancellation method, the first coefficient B is optimized so that the frequency f at the intersection of the integral term B / s and the proportional term 1 matches the cutoff frequency fc of the low-pass filter to be controlled.

[0034] When the first coefficient B is optimized, the gain characteristic of the entire system including the controlled object and the PI compensator becomes the integral characteristic (iii).

[0035] 4 is a diagram illustrating tuning of the second coefficient A of the PI compensator 230 in FIG. 2. When the second coefficient A is changed, the gain characteristic of the entire system moves up and down while maintaining the integral characteristic. As a result, the cutoff frequency f TOTAL can be varied.

[0036] The operation of the controller circuit 200 is as described above.

[0037] Next, its advantages will be explained. In the PI compensator of FIG. 1, when the proportional gain Ki is changed, the integral gain Kp that gives a phase difference of 90 degrees changes. Therefore, if the integral gain Kp is once optimized so that the phase difference between input and output is 90 degrees, and then the proportional gain Ki is changed, the frequency characteristics of the entire system will deviate from those of the integrator, and it will be necessary to readjust the integral gain Kp. In other words, it is difficult to simultaneously optimize two parameters.

[0038] 2, the second coefficient A does not affect the phase characteristics. Therefore, even if the second coefficient B is changed after optimizing the first coefficient A so that the phase difference between input and output is 90 degrees, the integral characteristics of the entire system are maintained, and there is no need to readjust the first coefficient A.

[0039] In this way, the controller circuit 200 according to the embodiment enables accurate automatic tuning.

[0040] 5 is a block diagram of a PI compensator 230a according to one embodiment. As described above, the motor to be controlled is a first-order lag element, and its transfer function is expressed as 1 / (τs+1), where τ is a time constant.

[0041] In the PI compensator 230a having the configuration shown in FIG. 2, when the second coefficient B is equal to 1 / τ, the phase difference between the input and output is 90 degrees. 0 This reference value τ 0 may be determined as the average value of the time constants of several types of motors that are assumed to be controlled.

[0042] The first coefficient B of the first coefficient circuit 234a of the PI compensator 230a is expressed as follows: B=1 / τ 0 ×α. In other words, the first coefficient B is expressed as the reference value τ of the time constant. 0 is a value obtained by multiplying the correction coefficient α by the correction coefficient α. The automatic tuning circuit 250a varies the correction coefficient α with 1 as the reference, and adjusts it to a value that makes the phase difference between input and output 90 degrees.

[0043] The present disclosure covers various devices and methods that can be understood as the block diagram or circuit diagram of Figure 2 or derived from the above description, and is not limited to a specific configuration. Below, more specific configuration examples and examples will be described not to narrow the scope of the present disclosure, but to aid in understanding and clarify the essence and operation of the present disclosure and the present invention.

[0044] 6 is a block diagram of a motor drive system 100A according to Example 1. In this example, the motor drive system 100A uses the current i flowing through the coil of the motor 102 (coil current) as a control variable.

[0045] The controller circuit 200 calculates the command value i of the coil current i. ref and the detected value of the coil current i fb The drive voltage V to be applied to the motor 102 is determined so that the error approaches 0. drv The voltage command V ref Generate.

[0046] The drive circuit 300 receives a voltage command V ref The driving voltage V is proportional to drv is applied to the motor 102. The driving method of the driving circuit 300 is not particularly limited. In the case of a PWM driving method, the driving circuit 300A may include a pulse width modulator and an inverter. In this case, the duty cycle of the pulse signal generated by the pulse width modulator is set to a value equal to or larger than the voltage command V ref is adjusted accordingly.

[0047] In the case of the linear system, the drive circuit 300A generates a voltage command V ref is amplified, and the driving voltage V drv The amplifier may include a linear amplifier for generating

[0048] The configuration of the controller circuit 200A is similar to that described with reference to FIG. 2, and therefore a description thereof will be omitted.

[0049] 7 is a block diagram of a motor drive system 100B according to Example 2. The motor drive system 100B includes a motor 102, a drive circuit 300, and a controller circuit 400. The controller circuit 400 includes a major controller 410 and a minor controller 420.

[0050] The major controller 410 performs feedback control using the rotation speed ω of the motor 102 as a control amount. ref and the detected value ω of the rotation speed ω fb and the current command i is set so that the error e approaches 0. refThe major controller 410 may include an error detector 412 and a PI compensator 414.

[0051] The minor controller 420 performs feedback control using the coil current i of the motor 102 as a control amount. ref and the detected value of coil current i fb The voltage command V ref The minor controller 420 may include an error detector 422 and a PI compensator 424.

[0052] The PI compensators 414, 424 of the major controller 410 and the minor controller 420, respectively, have the configuration shown in Fig. 2 and are configured so that parameters can be automatically adjusted by automatic tuning circuits 416, 426. Note that the architecture shown in Fig. 2 may be adopted for only one of the major controller 410 and the minor controller 420.

[0053] The embodiments are merely examples, and it will be understood by those skilled in the art that there are various variations in the combination of each component and each treatment process, and that such variations are also included within the scope of this disclosure or the present invention.

[0054] (Additional Note) One aspect of the technology disclosed in this specification can be understood as follows.

[0055] (Item 1) A motor controller circuit comprising: a PI (proportional-integral) compensator that generates an operation amount according to an error between a detected value of a control amount of the motor and a command value of the control amount; and an auto-tuning circuit that optimizes parameters of the PI compensator, wherein the PI compensator comprises: an integrator that integrates the error; a first coefficient circuit that multiplies the output of the integrator by a first coefficient; an adder that adds the output of the first coefficient circuit and the error; and a second coefficient circuit that multiplies the output of the adder by a second coefficient, and the auto-tuning circuit changes the first coefficient to adjust it to a value that makes the phase difference between the error and the control amount 90 degrees.

[0056] (Item 2) The transfer function of the controlled object is expressed as 1 / (τ·s+1), and the reference value of τ is τ 0 When the first coefficient is 1 / τ 0 ×α, and the automatic tuning circuit varies α with 1 as a reference.

[0057] (Item 3) The controller circuit according to item 1 or 2, wherein the controlled variable is a current flowing through a coil of the motor.

[0058] (Item 4) The controller circuit according to item 1 or 2, wherein the control amount is the rotation speed of the motor.

[0059] (Item 5) The controller circuit according to item 1 or 2, wherein the controlled variable is a position of the motor.

[0060] (Item 6) A motor controller circuit comprising: a minor controller that controls a minor loop in which a control variable is a current flowing through the motor; and a major controller that controls a major loop in which a control variable is a rotation speed of the motor; at least one of the major controller and the minor controller comprises: a PI (proportional-integral) compensator that generates an operation variable according to an error between a detected value of the control variable of the motor and a command value of the control variable; and an auto-tuning circuit that optimizes parameters of the PI compensator; the PI compensator comprises: an integrator that integrates the error; a first coefficient circuit that multiplies the output of the integrator by a first coefficient; an adder that adds the output of the first coefficient circuit and the error; and a second coefficient circuit that multiplies the output of the adder by a second coefficient; and the auto-tuning circuit changes the first coefficient to adjust the value so that the phase difference between the error and the control variable is 90 degrees.

[0061] The present disclosure relates to a controller circuit for a motor.

[0062] 100 Motor drive system 102 Motor 200 Controller circuit 210 Feedback circuit 212 Error detector 230 PI compensator 232 Integrator 234 First coefficient circuit 236 Adder 238 Second coefficient circuit 250 Auto-tuning circuit 300 Drive circuit 400 Controller circuit 410 Major controller 420 Minor controller

Claims

1. A motor controller circuit comprising: a PI (proportional-integral) compensator that generates an operation amount corresponding to an error between a detected value of a control amount of the motor and a command value of the control amount; and an automatic tuning circuit that optimizes parameters of the PI compensator, wherein the PI compensator comprises: an integrator that integrates the error; a first coefficient circuit that multiplies the output of the integrator by a first coefficient; an adder that adds the output of the first coefficient circuit and the error; and a second coefficient circuit that multiplies the output of the adder by a second coefficient, and the automatic tuning circuit changes the first coefficient to adjust the value to which the phase difference between the error and the control amount is 90 degrees.

2. The transfer function of the controlled object is expressed as 1 / (τ・s+1), and the reference value of τ is τ 0 Then, the first coefficient is 1 / τ 0 2. The controller circuit according to claim 1 , wherein the automatic tuning circuit varies the factor α with 1 as a reference.

3. A controller circuit as claimed in claim 1 or 2, wherein the controlled variable is a current flowing through a coil of the motor.

4. The controller circuit according to claim 1 or 2, wherein the controlled variable is the number of rotations of the motor.

5. A controller circuit as claimed in claim 1 or 2, wherein the controlled variable is the position of the motor.

6. A motor controller circuit comprising: a minor controller which controls a minor loop whose controlled variable is a current flowing through the motor; and a major controller which controls a major loop whose controlled variable is the rotation speed of the motor, wherein at least one of the major controller and the minor controller comprises: a PI (proportional-integral) compensator which generates an operation variable corresponding to an error between a detected value of the control variable of the motor and a command value of the control variable; and an automatic tuning circuit which optimizes parameters of the PI compensator, wherein the PI compensator comprises: an integrator which integrates the error; a first coefficient circuit which multiplies the output of the integrator by a first coefficient; an adder which adds the output of the first coefficient circuit and the error; and a second coefficient circuit which multiplies the output of the adder by a second coefficient, wherein the automatic tuning circuit changes the first coefficient to adjust the value at which the phase difference between the error and the control variable is 90 degrees.

Citation Information

Patent Citations

  • Motor controller and control method

    JP1998056790A

  • Control device for synchronous motors

    JP2008054386A

  • Mechanical learning device and motor control device connected to the same

    JP2022077267A

  • Electric motor control device and electric motor control method

    WO2018230253A1