Controller circuit of motor and control method
The motor controller circuit addresses disturbance suppression by using a compensator and disturbance observer to generate a virtual controlled variable, enhancing robustness and convergence time in motor control systems.
Patent Information
- Application Number
- JP2023054393
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-10
AI Technical Summary
Existing motor control systems face challenges in suppressing the influence of disturbances without compromising system stability, particularly when using PI compensators with zero-pole cancellation methods.
A motor controller circuit incorporating a compensator and a disturbance observer that generates a virtual controlled variable and corrects the command value based on estimated disturbance, using a transfer function similar to the system's characteristics.
The proposed solution enhances the robustness of the motor controller circuit against disturbances, improving convergence time and reducing susceptibility to parameter errors.
Smart Images

Figure 2024142269000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a controller circuit for a motor. [Background technology]
[0002] Feedback control using a PI (proportional-integral) compensator is widely used for motor control. Various methods for setting the compensator coefficients have been devised, including one called the zero-pole cancellation method. In a control system designed with the zero-pole cancellation method, the transfer characteristic H(s) between the input and output is equivalent to a first-order step response and is expressed by the following equation. H(s)=1 / (1+sT)
[0003] When a disturbance is introduced into this control loop, it is difficult to suppress the effect of the disturbance unless the gain is increased just before the disturbance occurs. On the other hand, making the gain unnecessarily large is not preferable from the viewpoint of system stability.
[0004] In order to suppress the effects of disturbances, a control technique called disturbance estimation is sometimes used. In disturbance estimation, the disturbance is estimated by an observer (estimator) and the disturbance is offset by feedback, making it possible to suppress the effects of disturbances acting on the system. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2021-191071 A Summary of the Invention [Problem to be solved by the invention]
[0006] The present disclosure has been made in this context, and it is an exemplary purpose of an aspect thereof to provide a motor controller circuit that is robust against external disturbances. [Means for solving the problem]
[0007] A motor controller circuit according to one aspect of the present disclosure includes a 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 a disturbance observer that has a transfer function of a system that takes the command value as an input and outputs the control amount, generates a virtual control amount by inputting the command value to the transfer function, and corrects the command value based on a disturbance estimated value corresponding to the difference between the virtual control amount and the detected value of the control amount.
[0008] Any combination of the above components, or mutual substitution of components or expressions between methods, devices, systems, etc. are also valid aspects of the present invention. Effect of the Invention
[0009] According to an aspect of the present disclosure, a motor controller circuit that is robust against external disturbances can be provided. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram of a motor drive system including a controller circuit according to an embodiment. [Diagram 2] FIG. 2 is a block diagram of the motor drive system according to the first embodiment. [Diagram 3] FIG. 3 is an operational waveform diagram of the motor drive system of FIG. [Figure 4] FIG. 4 is a block diagram of a motor drive system according to the second embodiment. [Diagram 5] FIG. 5 is a circuit diagram of a motor drive system according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (Overview of the embodiment) A summary of some exemplary embodiments of the present disclosure will be described. This summary is intended to provide a simplified overview of some concepts of one or more embodiments for a basic understanding of the embodiments as a prelude to the detailed description that follows, and is not intended to limit the scope of the invention or disclosure. This summary is not intended to be an exhaustive overview of all possible embodiments, nor is it 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 in this specification.
[0012] A controller circuit according to one embodiment is a motor controller circuit and includes: a compensator that generates an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; and a disturbance observer that has a transfer function of a system that takes the command value as an input and outputs the control amount, generates a virtual control amount by inputting the command value to the transfer function, and corrects the command value based on a disturbance estimated value corresponding to the difference between the virtual control amount and the detection value of the control amount.
[0013] According to this configuration, the expected response of the controlled variable to the command value r is estimated by a filter 222 having the same transfer function H(s) as the system, and the difference between the expected response y^ of the controlled variable and the actual response y is used as an unexpected thing, that is, a disturbance. By correcting the command value r using the disturbance obtained in this way, the influence of the disturbance d can be suppressed.
[0014] In one embodiment, the controlled variable may be the current flowing through a coil of the motor.
[0015] In one embodiment, the controlled variable may be the rotation speed of the motor.
[0016] A controller circuit according to one embodiment includes a major controller for controlling a minor loop in which a current flowing through a motor is a controlled variable, and a minor controller for controlling a major loop in which a rotation speed of the motor is a controlled variable. At least one of the major controller and the minor controller includes a compensator for generating an operation variable corresponding to a detection value of the control variable of the motor and an error in a command value of the control variable, and a disturbance observer having a transfer function of a system in which the command value is input and the control variable is output, generating a virtual control variable by inputting the command value to the transfer function, and correcting the command value based on a disturbance estimate value corresponding to a difference between the virtual control variable and the detection value of the control variable.
[0017] (Embodiment) 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 duplicated descriptions will be omitted as appropriate. In addition, 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.
[0018] 1 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 an electric 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 controlled variable (system output) y 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). When the motor 102 is a linear motor, the controlled variable y may be the position of the mover.
[0021] The controller circuit 200 generates an operation amount u according to an error e between a detected value of a control amount y and a command value r of the control amount y. The controller circuit 200 may be implemented as a combination of a microcontroller (processor) and a software program, may be implemented as a hardware logic such as a Field Programmable Gate Array (FGPA), or may be implemented as an Application Specific Integrated Circuit (ASIC).
[0022] The drive circuit 300 supplies an electric signal according to the operation amount u to the motor 102. That is, when the operation amount u is a voltage command, the drive circuit 300 supplies a drive voltage based on the operation amount u to the motor 102. When the operation amount u is a current command, the drive circuit 300 supplies a drive current based on the operation amount u to the motor 102.
[0023] The controller circuit 200 and the drive circuit 300 may be separate ICs (Integrated Circuits), or may be a single IC integrated on the same semiconductor substrate.
[0024] The controller circuit 200 includes a feedback circuit 210 and a disturbance observer 220. The feedback circuit 210 includes an error detector 212 and a PI compensator 214. The error detector 212 is a subtractor, and calculates an error e between a command value r' corrected by the disturbance observer 220 and a detected control amount y (feedback amount). The PI compensator 214 receives the error e and generates a manipulated variable u. When the proportional gain is Kp and the integral gain is Ki, the manipulated variable u is expressed by the following equation. u=(Kp+Ki / s)·e
[0025] As an example, the parameters Ki and Kp of the PI compensator 214 can be determined using a zero-pole cancellation method so that the transfer function H(s) of the system 110 has a first-order step response.
[0026] The disturbance observer 220 will now be described.
[0027] The disturbance observer 220 has a transfer characteristic H(s) similar to the transfer function H(s) of the system 110, which receives a command value r' and outputs a controlled variable y. The disturbance observer 220 generates a virtual controlled variable y^ by inputting the command value r to the transfer function H(s). The disturbance observer 220 calculates a disturbance estimate value d^ according to the difference between the virtual controlled variable y^ and the detected value of the controlled variable y. The disturbance observer 220 then corrects the command value r based on the disturbance estimate value d^, and inputs the corrected command value r' to the feedback circuit 210.
[0028] The disturbance observer 220 includes a filter 222, a disturbance calculation unit 224, and a correction unit 226. The filter 222 has a transfer characteristic H(s) similar to that of the system 110, and calculates a virtual control amount y^ by inputting a command value r to the transfer function H(s). The disturbance calculation unit 224 generates a disturbance estimation value d^ according to the difference between the virtual control amount y^ and the detected value of the control amount y. The correction unit 226 generates a corrected command value r' by adding (or subtracting) the disturbance estimation value d^ to (or from) the command value r.
[0029] The configuration of the controller circuit 200 is as described above.
[0030] In this motor drive system 100, a first-order response is expected from the system 110 to a command value r. The response expected to the command value r is estimated by a filter 222 having the same transfer function H(s) as the system 110, and the difference between the expected response y^ and the actual response y is used as an unexpected response, i.e., a disturbance. The command value r is corrected using the disturbance thus obtained, thereby suppressing the effect of the disturbance d.
[0031] This has the advantage that it is only necessary to add the disturbance observer 220 to the conventional controller circuit 200 including the feedback circuit 210 and the drive circuit 300, and there is no need to make any improvements to the feedback circuit 210 and the drive circuit 300 which are the basic control system.
[0032] Moreover, the controller circuit 200 according to this embodiment uses, as a disturbance, the difference between the actual characteristic of the entire system including the PI compensator 214 and the characteristic expected therefor. Therefore, compared to disturbance estimation using characteristics not including the PI compensator 214, there is an advantage in that it is less susceptible to the influence of parameter errors.
[0033] The present disclosure covers various devices and methods that can be understood as the block diagram or circuit diagram in Fig. 1 or derived from the above description, and is not limited to a specific configuration. Below, more specific configuration examples and examples will be described in order to aid in understanding the essence and operation of the present disclosure and the present invention and to clarify them, without narrowing the scope of the present disclosure.
[0034] Example 1 2 is a block diagram of a motor drive system 100A according to Example 1. In this example, the motor drive system 100A uses a current (coil current) i flowing through a coil of the motor 102 as a controlled variable.
[0035] The controller circuit 200 outputs a command value i for the coil current i. ref and the detected coil current value i fb The driving voltage V to be applied to the motor 102 so that the error of drv The voltage command V ref Generate.
[0036] 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.
[0037] In the case of the linear system, the driving circuit 300A is driven by a voltage command V ref is amplified and the driving voltage V drv The amplifier may include a linear amplifier for generating
[0038] The configuration of the controller circuit 200A is similar to that described in FIG. 1, and therefore a description thereof will be omitted.
[0039] Fig. 3 is an operational waveform diagram (simulation result) of the motor drive system 100A of Fig. 2. Waveform (i) is the waveform of the coil current i of the motor drive system 100A, and waveform (ii) is the waveform of the coil current i in the comparative technique. The comparative technique corresponds to a circuit in which the disturbance observer 220 is omitted.
[0040] In the simulation, at time t 0 The response is calculated when a step disturbance d is input to the coil. In the comparative technique, the disturbance causes the coil current i to increase significantly, and the target current i ref In contrast, in the embodiment, the increase in the coil current i can be suppressed, and the target current i ref The time it takes to converge to the target has also been significantly reduced.
[0041] Example 2 4 is a block diagram of a motor driving system 100B according to Example 2. The motor driving system 100B includes a motor 102, a driving circuit 300, and a controller circuit 400B. The controller circuit 400B includes a major controller 410 and a minor controller 420B.
[0042] The major controller 410 performs feedback control using the rotation speed ω of the motor 102 as a control variable. ref and the detected value ω of the rotation speed ω fb and the current command i is set so that the error e approaches zero. ref (torque command). The major controller 410 may include an error detector 412 and a PI compensator 414. In speed control, a PID compensator may be used instead of the PI compensator 414.
[0043] The minor controller 420B 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 420B has the same configuration as the controller circuit 200A described in the first embodiment, and includes the disturbance observer 220.
[0044] Example 3 5 is a circuit diagram of a motor driving system 100C according to Example 3. The controller circuit 400C of the motor driving system 100C includes a major controller 410C and a minor controller 420, similar to Example 2.
[0045] In the third embodiment, the major controller 410C incorporates the disturbance observer 220 of the controller circuit 200 in Fig. 1. The filter 222 of the disturbance observer 220 has a transfer function G(s) of the system 120 that receives the corrected rotation speed command value ωref as input and outputs the rotation speed ω.
[0046] The embodiment is merely an example, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component and each processing process, and that such modifications are also within the scope of the present disclosure or the present invention. Such modifications will be described below.
[0047] The configuration of the disturbance observer 220 shown in FIG. 1 is an example, and the order of calculations and additions and subtractions can be changed.
[0048] The embodiments are merely examples, and it will be understood by those skilled in the art that there are various modifications in the combination of each component and each treatment process, and that such modifications are also included within the scope of the present disclosure or the present invention.
[0049] (Additional Note) One aspect of the technology disclosed in this specification can be understood as follows.
[0050] (Item 1) A controller circuit for a motor, comprising: a compensator for generating an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; a disturbance observer having a transfer function of a system in which the command value is input and the controlled variable is output, the disturbance observer generating a virtual controlled variable by inputting the command value to the transfer function, and correcting the command value based on a disturbance estimated value corresponding to a difference between the virtual controlled variable and a detection value of the controlled variable; A controller circuit comprising:
[0051] (Item 2) 2. The controller circuit of item 1, wherein the controlled variable is a current flowing through a coil of the motor.
[0052] (Item 3) 2. The controller circuit of claim 1, wherein the control amount is a rotation speed of the motor.
[0053] (Item 4) A controller circuit for a motor, comprising: a major controller for controlling a minor loop in which a current flowing through the motor is a control variable; a minor controller for controlling a major loop in which the rotation speed of the motor is used as a control variable; Equipped with At least one of the major controller and the minor controller is a compensator for generating an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; a disturbance observer having a transfer function of a system in which the command value is input and the controlled variable is output, the disturbance observer generating a virtual controlled variable by inputting the command value to the transfer function, and correcting the command value based on a disturbance estimated value corresponding to a difference between the virtual controlled variable and a detection value of the controlled variable; A controller circuit comprising:
[0054] (Item 5) A method for controlling a motor, comprising the steps of: generating an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; generating a virtual control variable by inputting the command value to a filter having a transfer function of a system in which the command value is input and the control variable is output; correcting the command value based on a disturbance estimated value corresponding to a difference between the virtual controlled variable and a detected value of the controlled variable; A control method comprising: [Explanation of symbols]
[0055] 100 Motor Drive System 102 Motor 200 Controller Circuit 210 Feedback Circuit 212 Error Detector 214 PI compensator 220 Disturbance Observer 222 Filter 224 Disturbance Calculation Unit 226 Correction Section 300 Drive circuit 400 Controller Circuit 410 Major Controller 420 Minor Controller
Claims
1. A controller circuit for a motor, comprising: a compensator for generating an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; a disturbance observer having a transfer function of a system in which the command value is input and the controlled variable is output, the disturbance observer generating a virtual controlled variable by inputting the command value to the transfer function, and correcting the command value based on a disturbance estimated value corresponding to a difference between the virtual controlled variable and a detection value of the controlled variable; A controller circuit comprising:
2. The controller circuit according to claim 1 , wherein the controlled variable is a current flowing through a coil of the motor.
3. 2. The controller circuit according to claim 1, wherein the controlled variable is a rotation speed of the motor.
4. A controller circuit for a motor, comprising: a major controller for controlling a minor loop in which a current flowing through the motor is a control variable; a minor controller for controlling a major loop in which the rotation speed of the motor is used as a control variable; Equipped with At least one of the major controller and the minor controller is a compensator for generating an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; a disturbance observer having a transfer function of a system in which the command value is input and the controlled variable is output, the disturbance observer generating a virtual controlled variable by inputting the command value to the transfer function, and correcting the command value based on a disturbance estimated value corresponding to a difference between the virtual controlled variable and a detection value of the controlled variable; A controller circuit comprising:
5. A method for controlling a motor, comprising the steps of: generating an operation amount corresponding to an error between a detection value of a control amount of the motor and a command value of the control amount; generating a virtual control variable by inputting the command value to a filter having a transfer function of a system in which the command value is input and the control variable is output; correcting the command value based on a disturbance estimated value corresponding to a difference between the virtual controlled variable and a detected value of the controlled variable; A control method comprising:
Citation Information
Patent Citations
Motor controller
JP2021191071A
