KR100275907B1 - On-line pid tuner for dc motor - Google Patents

On-line pid tuner for dc motor Download PDF

Info

Publication number
KR100275907B1
KR100275907B1 KR1019970052152A KR19970052152A KR100275907B1 KR 100275907 B1 KR100275907 B1 KR 100275907B1 KR 1019970052152 A KR1019970052152 A KR 1019970052152A KR 19970052152 A KR19970052152 A KR 19970052152A KR 100275907 B1 KR100275907 B1 KR 100275907B1
Authority
KR
South Korea
Prior art keywords
motor
pid
control
output
learning
Prior art date
Application number
KR1019970052152A
Other languages
Korean (ko)
Other versions
KR19990031441A (en
Inventor
백승민
국태용
Original Assignee
국태용
백승민
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 국태용, 백승민 filed Critical 국태용
Priority to KR1019970052152A priority Critical patent/KR100275907B1/en
Publication of KR19990031441A publication Critical patent/KR19990031441A/en
Application granted granted Critical
Publication of KR100275907B1 publication Critical patent/KR100275907B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S388/00Electricity: motor control systems
    • Y10S388/90Specific system operational feature
    • Y10S388/906Proportional-integral system

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Feedback Control In General (AREA)

Abstract

PURPOSE: An on-line Proportional-Integral-Derivative (PID) study tuner is provided to enable automatic adjustment of PID gains and reduce endeavors for adjusting the PID gains by using PID gain adjusting means and a reverse model study process. CONSTITUTION: A subtracter(11) subtracts an output of a DC motor(16) from the reference input to output an error signal. An adjustment block(13) receives the error signal from the subtracter(11) to adjust control gains from a PID controller(14). The PID controller(14) performs PID control in response to the control gains adjusted by receiving the error signal, and outputs the first control signal for controlling a DC synchronizing signal. A study block(12) receives the error signal from the subtracter, and performs reverse study to output the second control signal for controlling the DC motor(16). An adder(15) adds the second control signal with the first signal to output the sum.

Description

직류전동기의 온-라인 피아이디 학습튜너On-line PID learning tuner of DC motor

본 발명은 직류전동기를 이용한 위치제어 시스템의 온-라인 피아이디(PID) 학습튜너에 관한 것으로, 특히 시스템 파라미터의 변동과 외부 부하의 변동 및 외란이 있는 시스템의 경우 이러한 악영향을 극복하는 강인한 직류전동기의 온-라인 피아이디(PID) 학습튜너에 관한 것이다.The present invention relates to an on-line PID learning tuner of a position control system using a DC motor. On-line PID learning tuner.

직류전동기의 모델 파라미터나 외부 부하토크 및 외란 등의 작동조건이 잘 알려져 있다면 기존의 피아이디(PID:비례 미분 적분) 제어기만을 직류전동기 제어에 적용해도 좋은 응답특성을 얻을 수 있다. 그러나 일반적인 직류전동기 시스템의 파라미터는 시간에 따라 변화하고 변동하는 부하에 대한 제어에 사용하는 경우가 많다.If the DC motor's model parameters, external load torque, and disturbance are well known, it is possible to apply the existing PID controller only to DC motor control. However, the parameters of a typical DC motor system are often used to control loads that change and change over time.

이렇게 시스템의 파라미터나 작동조건이 불확실하거나 알려져 있지 않을 경우, 모든 조건이 알려져 있다고 가정하고 설계된 시불변 피아이디 제어기는 그러한 좋은 성능을 보장하지 못하는 문제점이 있다. 또한 실제 시스템의 파라미터는 정확하게 구할 수 없으므로 모든 조건이 알려져 있다고 보고 설계된 안정한 일반적인 피아이디 제어기라 하더라도 부정확한 모델링 때문에 실제 적용했을 경우 불안정해질 수가 있고, 그리고 동작조건에 따라 튜닝을 다시 해야하는 문제점이 있다.If the system's parameters or operating conditions are uncertain or unknown, the time-variable PID controller designed assuming that all conditions are known has a problem that does not guarantee such good performance. In addition, since the parameters of the actual system cannot be obtained accurately, even a stable general PID controller designed to see that all conditions are known may be unstable when applied in practice due to inaccurate modeling, and there is a problem of retuning according to operating conditions.

상기의 문제점을 해결하기 위한 본 발명의 목적은 이러한 시스템 파라미터의 변동과 외부부하토크의 변동 및 외란 등의 악영향을 극복하는 직류전동기 제어 시스템의 온-라인 피아이디 학습튜너를 제공함에 있다.An object of the present invention for solving the above problems is to provide an on-line PID learning tuner of a DC motor control system that overcomes such adverse effects such as fluctuations in system parameters, fluctuations in external load torque, and disturbance.

본 발명의 다른 목적은 모델 파라미터와 같은 작동 조건이 알려지지 않은 직류전동기 시스템에도 안정적으로 적용 가능한 온-라인 피아이디 학습튜너를 제공함에 있다.Another object of the present invention is to provide an on-line PID learning tuner that can be stably applied to a DC motor system in which operating conditions such as model parameters are unknown.

본 발명의 또 다른 목적은 계산량이 많지 않은 제어기를 설계하여 소형 마이크로프로세서에도 적용할 수 있는 온-라인 피아이디 학습튜너를 제공함에 있다.It is still another object of the present invention to provide an on-line PID learning tuner that can be applied to a small microprocessor by designing a controller having a small amount of computation.

도 1은 본 발명에 따른 직류전동기의 온-라인 피아이디(PID) 학습튜너의 구성을 도시한 블록도이다.1 is a block diagram illustrating a configuration of an on-line PID learning tuner of a DC motor according to the present invention.

도 2는 개인용 컴퓨터(PC)를 이용한 본 발명의 실시예를 도시한 제어 시스템도이다.2 is a control system diagram showing an embodiment of the present invention using a personal computer (PC).

도 3은 본 발명에 따른 피아이디 학습튜너의 기준입력이 계단형태이고 외란이 없는 경우의 출력을 나타낸 그래프이다.3 is a graph showing an output when the reference input of the PID learning tuner according to the present invention is stepped and there is no disturbance.

도 4는 본 발명에 따른 피아이디 학습튜너의 기준입력이 정현파이고 외란이 없는 경우의 출력을 나타낸 그래프이다.4 is a graph showing an output when the reference input of the PID learning tuner according to the present invention is sine pie and there is no disturbance.

도 5는 본 발명에 따른 피아이디 학습튜너의 기준입력이 계단형태이고 정현파 외란이 있는 경우의 출력을 나타낸 그래프이다.5 is a graph showing the output when the reference input of the PID learning tuner according to the present invention is stepped and there is a sine wave disturbance.

도 6은 본 발명에 따른 피아이디 학습튜너의 기준입력이 정현파이고 외란이 있는 경우의 출력을 나타낸 그래프이다.6 is a graph showing the output when the reference input of the PID learning tuner according to the present invention is sinusoidal and disturbance.

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

11 ... 감산기 12 ... 학습기11 ... Subtractor 12 ... Learner

13 ... 조절기 14 ... 피아이디 제어기13 ... Regulator 14 ... PID Controller

15 ... 가산기 16 ... 직류전동기15 ... adder 16 ... DC motor

상기의 목적을 달성하기 위한 본 발명은,The present invention for achieving the above object,

직류전동기의 출력(θ)이 기준입력(θd)에 추종하도록 제어하는 직류전동기의 온-라인 피아이디(PID) 학습튜너에 있어서, 기준입력(θd)에서 직류전동기의 출력(θ)을 감산하여 에러신호( e=θd )를 출력하는 감산부와, 감산부의 에러신호(e)를 입력받아서 피아이디 제어부의 제어이득(KD, KP, K1)을 조절하는 조절부와, 감산부의 에러신호(e)를 입력받아서 조절된 제어이득(KD, KP, K1)에 따라 피아이디(PID) 제어를 수행하여 직류전동기를 제어하는 제1 제어신호(

Figure 1019970052152_B1_M0002
)를 출력하는 피아이디 제어부와, 감산부의 에러신호(e)를 입력받아서 역모델 학습을 하여 직류전동기를 제어하는 제2 제어신호(vl)를 출력하는 학습부와, 학습부의 제2 제어신호(vl)와 피아이디 제어부의 제1 제어신호(vfb)를 가산하여 그 합(va= vfb+ vl)을 직류전동기에 출력하는 가산부를 구비한다. 그리하여 본 발명은 직류전동기의 모델을 구하고 이를 설계한 입력에 맞게 변형하여 상태공간표현으로 나타내며 상태공간표현에 맞고 안정성이 증명된 학습제어규칙을 적용한다.Output (θ) of the direct-current electric motor on a direct current electric motor for controlling so that the follower to the reference input (θ d) - In-line blood ID (PID) learning tuner, the output (θ) of the direct current motor at the reference input (θ d) Subtract the error signal ( e = θ d ), The output type for the subtraction unit, and a subtracting unit error signal (e) receiving an input control for adjusting a control gain (K D, K P, K 1) of the blood ID control unit and a subtraction unit error signal (e) of The first control signal for controlling the DC motor by performing the PID control according to the received control gain (K D , K P , K 1 )
Figure 1019970052152_B1_M0002
), A learner for outputting a second control signal (v l ) for controlling a DC motor by receiving an error signal (e) of the subtractor and performing reverse model learning. and an adder for adding (v l ) and the first control signal v fb of the PID control unit and outputting the sum (v a = v fb + v l ) to the DC motor. Thus, the present invention obtains a model of a DC motor and transforms it according to the designed input to represent a state space representation, and applies a learning control rule that has been proved to be suitable for state space representation.

이하 본 발명을 첨부된 도면을 참조하여 본 발명의 실시예의 구성 및 작용을 상세히 설명하면 다음과 같다.Hereinafter, the configuration and operation of the embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저 수학식 1의 영구자석형 직류전동기 모델을 고려하자.First, consider the permanent magnet DC motor model of Equation 1.

Figure kpo00000
Figure kpo00000

수학식 1에서 입출력변수와 상태변수, 전기적·기계적 파라미터는 다음과 같이 정의된다.In Equation 1, input and output variables, state variables, and electrical and mechanical parameters are defined as follows.

va v a 입력전압Input voltage ia i a 전기자전류Armature current θθ 회전각Rotation angle Ta T a 출력토크Output torque Tl T l 미지의 부하토크Unknown load torque LL 미지의 전기자 인덕턴스Unknown armature inductance RR 미지의 전기자저항Unknown armature resistance Ka K a 미지의 토크상수Unknown torque constant Kb K b 미지의 역기전력상수Unknown back EMF constant Kc K c 미지의 탄성계수Unknown modulus of elasticity JJ 미지의 모터관성Unknown motor inertia BB 미지의 마찰계수Unknown friction coefficient

이러한 직류전동기에 대하여, 본 발명에서 해결하고자 하는 문제는 미지의 파라미터와 외란토크를 갖는 직류전동기 시스템이 목표위치궤적 θd를 추종하는 강인한 온-라인 피아이디 학습튜너를 구성하는 것이다.In this DC motor, a problem to be solved in the present invention is to construct a robust on-line PID learning tuner in which a DC motor system having unknown parameters and disturbance torque follows the target position trajectory θ d .

이를 위하여 우선, 수학식 1에서 전기적인 시상수가 기계적인 시상수보다 충분히 작다고 가정 (LAPPROX0) 하고 수학식 1을 다시 쓰면 수학식 2와 같다.To this end, first, assume that the electrical time constant in Equation 1 is sufficiently smaller than the mechanical time constant (LAPPROX0) and rewrite Equation 1 as in Equation 2.

Figure kpo00001
Figure kpo00001

이제,

Figure kpo00002
으로 치환하고 수학식 2를 정리하면 수학식 3을 얻는다.now,
Figure kpo00002
Substituting the equation and arranging Equation 2 gives Equation 3.

Figure kpo00003
Figure kpo00003

학습제어입력과 피아이디제어기로 구성되는 전압 va를 수학식 4와 같이 정의하자.Define a voltage v a consisting of the learning control input and the PID controller as shown in Equation 4.

Figure kpo00004
Figure kpo00004

여기서

Figure kpo00005
이고 vl은 아래에서 정의될 학습입력이다. 수학식 4를 사용하여 수학식 3을 다시 정리하면 수학식 5를 얻는다.here
Figure kpo00005
And v l is the learning input defined below. Using Equation 4 to rearrange Equation 3, Equation 5 is obtained.

Figure kpo00006
Figure kpo00006

여기서 Vd

Figure kpo00007
와 같이 정의된다. 수학식 5에서 a0=dKD+a, b0=dKP+b, co=dKI를 정의하고 치환하면 수학식 6을 얻는다.Where V d is
Figure kpo00007
Is defined as: In Equation 5, a 0 = dK D + a, b 0 = dK P + b, and c o = dK I are defined and replaced with Eq.

Figure kpo00008
Figure kpo00008

이제 오차시스템의 재차방정식이 목표응답특성을 갖도록 하는 계수 {a0 *, b0 *, c0 *} 및 피아이디 이득 {KP *, KI *, KD *}이 다음을 만족한다고 가정하자. {a0 *=dKD *+a, bo *=dKP *+b, co *=dKI *}. 그러면 수학식 6은 수학식 7과 같이 쓸 수 있다.Now assume that the coefficients {a 0 * , b 0 * , c 0 * } and the PID gain {K P * , K I * , K D * } satisfying the error response lets do it. {a 0 * = dK D * + a, b o * = dK P * + b, c o * = dK I * }. Equation 6 may then be written as Equation 7.

Figure kpo00009
Figure kpo00009

수학식 7을 다시 정리하면,If we rearrange Equation 7,

Figure kpo00010
Figure kpo00010

여기서

Figure kpo00011
Figure kpo00012
Figure kpo00013
Figure kpo00014
이고,
Figure kpo00015
이다.here
Figure kpo00011
Figure kpo00012
Figure kpo00013
Figure kpo00014
ego,
Figure kpo00015
to be.

이제 피아이디 학습제어기의 구현과 검증을 용이하게 하기 위하여 수학식 8을 상태공간표현으로 나타내면 수학식 9와 같다.Now, in order to facilitate the implementation and verification of the PID learning controller, Equation (8) is expressed as Equation (9).

Figure kpo00016
Figure kpo00016

Figure kpo00017
Figure kpo00017

여기서,

Figure kpo00018
Figure kpo00019
Figure kpo00020
Figure kpo00021
Figure kpo00022
이다.here,
Figure kpo00018
Figure kpo00019
Figure kpo00020
Figure kpo00021
Figure kpo00022
to be.

행렬 A가 후루위츠(Hurwitz)이므로 출력벡터 C는 시스템 {A, B, C}가 에스피알(SPR:Strictly Positive real) 조건을 만족하도록 정의한다. 즉, 시스템 {A,B,C}는 수학식10을 만족한다.Since matrix A is Hurwitz, output vector C defines system {A, B, C} to satisfy the SPR (Strictly Positive Real) condition. That is, the system {A, B, C} satisfies Equation (10).

ATP+PA=-QA T P + PA = -Q

C=BTPC = B T P

여기서 P,Q는 양의 대칭행렬이다.Where P and Q are positive symmetric matrices.

이제 피아이디 이득과 보조제어입력 v1의 학습규칙을 수학식 11과 같이 정의한다.Now, the learning rule of the PID gain and the auxiliary control input v 1 is defined as shown in Equation (11).

Figure kpo00023
Figure kpo00023

여기서 pr(·)은 projection 이고 학습이득 Λ1, Λ2는 각각 대각원소를 지닌 양의 한정 행렬과 상수이다.Where pr (·) is projection and learning gains Λ 1 and Λ 2 are positive finite matrices and constants with diagonal elements, respectively.

도 1은 본 발명에 따른 실시예의 구성을 도시한 블록도로서, 여기에서 도시한 바와 같이 기준입력단의 기준입력(θd)에서 출력(θ)을 감산하는 감산기(11)와, 감산기(11)의 출력을 바탕으로 역모델 학습을 하는 학습기(12)와, 감산기(11)의 출력을 바탕으로 피아이디이득을 조절하는 조절기(13)와, 조절기(13)에서 조절된 이득들을 이용한 피아이디 제어기(14)와, 학습기(12)와 피아이디 제어기(14)의 출력을 가산하는 가산기(15)와, 가산기(15)의 출력(va)으로 구동되는 직류전동기(16)로 구성되는 폐루프 제어 시스템이다.1 is a block diagram showing the configuration of an embodiment according to the present invention, as shown here a subtractor 11 and a subtractor 11 for subtracting an output θ from a reference input θ d of a reference input terminal. A learner 12 for inverse model learning based on the output of the controller, a controller 13 for adjusting the PID gain based on the output of the subtractor 11, and a PID controller using the gains adjusted by the controller 13. (14), a closed loop composed of an adder (15) for adding the outputs of the learner (12) and the PID controller (14), and a DC motor (16) driven by the output (v a ) of the adder (15). Control system.

도 1에서 직류전동기의 전체 제어입력은 피아이디 제어기에서 출력되는 제어입력과 학습기에서 출력되는 학습제어입력으로 구성되는데 학습이 충분히 진행되고 나면 피아이디 제어기에서 출력되는 제어입력은 그 역할이 줄어드는 반면 학습기에서 출력되는 학습제어입력은 시스템의 역모델을 근사화 시킴으로서 궤적추종 및 외란 제거의 목적을 달성한다.In FIG. 1, the total control input of the DC motor is composed of a control input output from the PID controller and a learning control input output from the learner. After learning is sufficiently performed, the control input output from the PID controller decreases its role while the learner learns. The learning control input outputted from EK achieves the purpose of tracking and eliminating disturbance by approximating the inverse model of the system.

과도상태와 정상상태에서의 이러한 역할분담이 피아이디 학습제어기의 주요한 특징 중에 하나이며 일반 피아이디 튜너 및 적응제어방식과의 차이이기도 하다.This role-sharing in transient and steady state is one of the main features of PID learning controller, and it is also different from general PID tuner and adaptive control scheme.

오차시스템 수학식 4와 피아이디 이득 및 보조학습입력을 위한 학습규칙 수학식 5로 구성된 피아이디 학습제어기는 점근적으로 수렴한다.The PID learning controller consisting of the error system Equation 4 and the learning rule Equation 5 for the PID gain and auxiliary learning input converge gradually.

Figure kpo00024
Figure kpo00024

직류전동기 제어 시스템을 구성할 때 본 발명에서 제시한 제어기를 사용하므로써 피아이디 이득들을 맞추는 노력을 줄일 수 있고, 시스템의 노화나 환경변화로 생길 수 잇는 시스템 파라미터의 변동, 외부부하의 변동, 외란등이 존재하더라도 원하는 위치추적 성능을 얻을 수 있다.When configuring the DC motor control system, the controller proposed in the present invention can be used to reduce the effort to match the PID gains, and to change the system parameters, external loads, and disturbances that may occur due to aging or environmental changes of the system. Even if this exists, the desired location tracking performance can be obtained.

도 2는 본 발명에서 제안한 제어기를 PC를 이용하여 구현한 실시예이다. 도 2에서 실험장치는 크게 주컴퓨터(21), 인터페이스 보드(22), 전동기 제어기(23), 전동기 구동기(24)의 네부분으로 나뉘는데 먼저 주컴퓨터(21)는 인터페이스 보드(22)로부터 전동기 제어기(23)가 넘겨준 인코더 펄스(26) 입력을 받아 피이드백(Feedback) 입력으로 사용하여 학습제어입력을 구한 후 출력한다. 인터페이스 보드(22)는 FIFO 메모리를 통하여 주컴퓨터(21)와 전동기 제어기(23) 사이의 입출력신호의 흐름을 조절하는 통로역할을 한다. 전동기 제어기(23)로는 예를 들면 인텔사의 80C196KC의 사용이 가능하며 전동기 제어기(23)는 주컴퓨터(21)가 연산한 제어입력값을 인터페이스 보드(22)로부터 읽어와서 전동기 구동기(24)에 출력하고, 인코더 입력을 업-다운 카운팅(Up-down counting)하여 인터페이스 보드(22)로 출력한다. 전동기 구동기(24)로는 안정적인 출력특성을 가진 선형증폭기를 사용하였으며, 선형증폭기는 입력된 전동기 제어기(23)의 8비트(bit)출력을 8비트(bit) 래치(Latch)와 DAC, OP-AMP를 거쳐 -12V에서 +12의 사이의 신호로 바꾸어 전동기(25)를 구동한다. 또한 전동기 구동기(24)는 하드웨어적인 피아이디제어로 구성된 전류제어루프를 가지며 입력신호의 크기에 따라 전동기(25)의 토크를 조절한다.2 illustrates an embodiment in which the controller proposed in the present invention is implemented using a PC. In FIG. 2, the experimental apparatus is roughly divided into four parts: the main computer 21, the interface board 22, the motor controller 23, and the motor driver 24. First, the main computer 21 is connected to the motor controller from the interface board 22. It receives the encoder pulse 26 input passed by (23) and uses it as a feedback input to obtain a learning control input and output it. The interface board 22 serves as a path for controlling the flow of input / output signals between the main computer 21 and the motor controller 23 through the FIFO memory. As the motor controller 23, for example, an Intel 80C196KC can be used. The motor controller 23 reads the control input value calculated by the main computer 21 from the interface board 22 and outputs the result to the motor driver 24. Then, the encoder input is up-down counted and output to the interface board 22. A linear amplifier having stable output characteristics was used as the motor driver 24. The linear amplifier uses an 8-bit latch, a DAC, and an OP-AMP to output an 8-bit output of the input motor controller 23. The motor 25 is driven by changing the signal between -12V and +12. In addition, the motor driver 24 has a current control loop composed of hardware ID control and adjusts the torque of the motor 25 according to the magnitude of the input signal.

본 발명의 실시예에서 사용되는 전동기(25)는 40W급의 직류전동기로서 전동기 전원으로는 ±24V를 공급한다. 전동기축에는 600Pulse/Revolution의 분해능을 가진 인코더를 연결하고 12.5:1의 감속기어를 거쳐 외부부하 구동축에 연결된다. 즉, 감속기어를 거친 축이 한바퀴를 회전할 때 12.5*600 Pulse가 인코더로 부터 출력된다. 본 실시예에서는 기어 축에 관성부하로 지름이 11cm이고 무게가 100g인 바퀴를 달았으며, 기준궤적은 이 바퀴가 회전하는 값을 라디안(radian)으로 나타낸다.The motor 25 used in the embodiment of the present invention is a 40W DC motor and supplies ± 24V to the motor power source. The motor shaft is connected to an encoder with 600 pulse / revolution resolution and connected to an external load drive shaft via a 12.5: 1 reduction gear. That is, 12.5 * 600 pulses are output from the encoder when the axis passing through the reduction gear rotates one turn. In this embodiment, the gear shaft has an inertia load of 11 cm in diameter and a weight of 100 g, and the reference trajectory indicates the value of the wheel in radians.

입력전압 va는 8bit DAC를 사용하여 -127에서 +127사이로 스케일링(Scaling)하고 셈플링 주기는 1ms로 하며 각 샘플링 주기마다 인코더의 입력값을 라디안(radian)값으로 스케일을 맞춘 후에, 제어기에서 계산하여 전동기 구동 입력으로 넘겨준다.The input voltage v a is scaled from -127 to +127 using an 8-bit DAC, the sampling period is 1ms, and the input value of the encoder is scaled in radians for each sampling period. Calculate and pass to motor drive input.

도 3에서부터 도 6까지는 도 2에 나타난 본 발명의 실시예를 통해 얻은 온-라인 피아이디 학습튜너의 응답도이다.3 to 6 are response diagrams of the on-line PID learning tuner obtained through the embodiment of the present invention shown in FIG. 2.

실시예에서 수학식 5의 형태를 가지는 피아이디 학습규칙에서 피아이디이득들의 제한조건을 0≤K1≤50, 0≤KP≤100, 0≤KD≤10로 두고 학습이득은In the embodiment, in the PID learning rule having the form of Equation 5, the constraints of the PID gains are set to 0≤K 1 ≤50, 0≤K P ≤100, and 0≤K D ≤10.

Figure kpo00025
Figure kpo00025

으로 정했다.Decided.

출력벡터 C의 세 항은 수학식 8의 등호 왼편식의 특성방정식이 설계자가 원하는 응답을 만족하도록 {a0 *, b0 *, c0 *}를 구한 뒤 수학식 9의 A행렬을 구성하고, 구성된 A행렬과 수학식 9의 B행렬이 수학식 10의 에스피알(SPR) 조건을 만족하도록 구하면 된다.The three terms of the output vector C are composed of the matrix A of equation 9 after finding the {a 0 * , b 0 * , c 0 * } so that the characteristic equation of the left-hand equation of Equation 8 satisfies the desired response. In this case, the matrix A and the matrix B of Equation 9 satisfy SSP conditions of Equation 10.

도 3에서부터 도 6까지는 특성방정식 (s+1)2(s+100)=0으로 둘 경우 구한 h0=5.0x10-3, h1=7.5x10-3h2=4.975x10-3을 사용했을 때의 응답도이다. 직류전동기에 외란이 없을때와 변동하는 외란이 있을 때, 요구된 궤적이 계산형태일 때와 정현파 형태의 입력일때로 나누어서 온-라인 피아이디 학습튜너의 응답을 나타낸 것이다. 요구궤적은 계산형태일 때 1rad, 정현파 형태일 때

Figure kpo00026
으로 주고, 전동기입력에 더해지는 외란으로 함수 10sin(πt)를 사용한다. 도면에서 나타난 응답을 보면 파라미터가 알려지지 않은 직류전동기에 대한 응답이었음에도, 우수한 위치추적성능과 부하변동이나 외란에 대한 강인성을 갖는다는 것을 알 수 있다.Also from Fig. 63 by the characteristic equation (s + 1) have 2 (s + 100) = 0 when using the two calculated h 0 = 5.0x10 -3, h 1 = 7.5x10 -3 h 2 = 4.975x10 -3 a It is a response of time. The response of the on-line PID learning tuner is shown by dividing the DC motor when there is no disturbance and when there is a fluctuating disturbance. The required trajectory is 1rad in the calculation form and sinusoidal form
Figure kpo00026
Use the function 10sin (πt) as the disturbance added to the motor input. The response shown in the figure shows that although the parameter was a response to an unknown DC motor, it has excellent position tracking performance and robustness against load variation or disturbance.

또한 온-라인 피아이디 학습튜너는 학습규칙이 단순하여 계산시간이 빠르다. 아무리 좋은 알고리즘이라고 해도 계산시간이 오래 걸린다면 실제 구현하는데 있어서도 그만큼 빠른 프로세서를 사용해야 하므로 제품의 가격이 올라가거나 구현 자체가 불가능해질 수도 있다. 본 발명은 일반적인 피아이디 제어기에 피아이디제어 이득의 자동튜닝과 역동역학, 외란 등을 학습하고 보상하는 간단한 학습규칙만을 가지고 있어서 현재 제어에 사용되고 있는 소형 마이크로프로세서들에 탑재가 가능하다.In addition, the on-line PID learning tuner has a simple learning rule, which leads to fast calculation time. Even if a good algorithm takes a long time to compute, you will have to use a processor that is fast enough to actually implement it. The present invention has a simple learning rule for learning and compensating automatic tuning of PID control gain, dynamics, disturbance, etc. in a general PID controller and can be mounted on small microprocessors currently used for control.

상술한 바와같은 본 발명에 의하면, 본 발명에 의한 특유의 피아이디 이득 조절수단에 따라 피아디 이득을 자동으로 조절함과 동시에, 역모델 학습과정을 통하여, 피아이디 이득들을 맞추는 노력을 줄일 수 있고, 시스템의 노화나 환경변화로 생길 수 있는 시스템 파라미터의 변동, 외부부하의 변동, 외란등이 존재하더라도 원하는 위치추적 성능을 얻을 수 있는 특별한 효과가 있는 것입니다.According to the present invention as described above, by adjusting the PIA gain automatically according to the unique PID gain adjusting means according to the present invention, through the inverse model learning process, it is possible to reduce the effort to match the PID gains Even if there are fluctuations in system parameters, external loads, and disturbances that may occur due to aging of the system or changes in the environment, there is a special effect to obtain the desired location tracking performance.

Claims (1)

직류전동기의 출력(θ)이 기준입력(θd)에 추종하도록 제어하는 직류전동기의 온-라인 피아이디(PID) 학습튜너에 있어서,In the on-line PID learning tuner of the DC motor which controls the output θ of the DC motor to follow the reference input θ d , 상기 기준입력(θd)에서 상기 직류전동기의 출력(θ)을 감산하여 에러신호(e=θd-θ)를 출력하는 감산수단;Subtraction means for subtracting the output (θ) of the DC motor from the reference input (θ d ) and outputting an error signal (e = θ d −θ); 상기 직류전동기의 모델링 식 상기 직류전동기의 모델링 식
Figure pat00019
(a, b, f, d는 직류전동기의 변수)에 의하여 생성되는 재차방정식
Figure pat00020
Modeling formula of the DC motor Modeling formula of the DC motor
Figure pat00019
Equation (a, b, f, d are variables of DC motor)
Figure pat00020
Figure pat00021
이 목표응답특성을 갖도록 하는 계수 {a0 *, b0 *, c0 *} 및 피아이디 이득 {KP *, KI *, KD *}이 a0 *=dKD *+a, b0 *=dKP *+b, c0 *=dKI *의 조건을 만족한다고 가정하고, 상기 가정에 따라
Figure pat00021
The coefficients {a 0 * , b 0 * , c 0 * } and PID gain {K P * , K I * , K D * } to have this target response characteristic are a 0 * = dK D * + a, b Assume that 0 * = dK P * + b, c 0 * = dK I *
Figure pat00022
Figure pat00022
(여기서
Figure pat00023
이고,
Figure pat00024
이다.)의 식을 생성하고, 상기 생성된 식의 상태공간표현, 즉
(here
Figure pat00023
ego,
Figure pat00024
And a state-space representation of the generated expression, i.e.
Figure pat00025
Figure pat00025
Figure pat00026
이다.)으로 나타냄으로써 출력벡터 C를 ATP+PA=-Q, C=BTP (여기서
Figure pat00026
Output vector C is A T P + PA = -Q, C = B T P (where
P,Q는 양의 대칭행렬)에 의하여 구하고, 상기 상태공간 표현에서 y(t)를 구하여, 상기 조절수단의 출력이 K(t)=prl[K(t-T)]+Λlxy(t) (여기서 pr(·)은 프로젝션(projection)이고 학습이득 Λl은 대각원소를 지닌 양의 한정 행렬)의 식에 의하여 결정되어, 상기 감산수단의 에러신호(e)를 입력받아서 피아이디 제어를 위한 제어이득(KD, KP, Kl)을 조절하는 조절수단;P, Q is obtained by a positive symmetric matrix), and y (t) is obtained from the state space representation, so that the output of the adjusting means is K (t) = pr l [K (tT)] + Λ l xy (t (Where pr (·) is projection and learning gain Λ l is a positive limiting matrix with diagonal elements), and receives the error signal e of the subtraction means to control the PID control. Adjusting means for adjusting the control gain (K D , K P , K l ) for; 상기 감산수단의 에러신호(e)를 입력받아서 조절된 제어이득(KD, KP, Kl)에 따라 피아이디(PlD) 제어를 수행하여 상기 직류전동기를 제어하는 제1 제어전압신호
Figure pat00027
를 출력하는 피아이디 제어수단;
A first control voltage signal for controlling the DC motor by performing PID control according to the control gains K D , K P , K l received by receiving the error signal e of the subtraction means.
Figure pat00027
ID control means for outputting;
상기 직류전동기의 모델링 식
Figure pat00028
(a, b, f, d는 직류전동기의 변수)에 의하여 생성되는 재차방정식
Figure pat00029
Figure pat00030
이 목표응답특성을 갖도록 하는 계수 {a0 *, b0 *, c0 *} 및 피아이디 이득 {KP *, KI *, KD *}이 a0 *=dKD *+a, b0 *=dKP *+b, c0 *=dKI *의 조건을 만족한다고 가정하고, 상기 가정에 따라
Modeling formula of the DC motor
Figure pat00028
Equation (a, b, f, d are variables of DC motor)
Figure pat00029
Figure pat00030
The coefficients {a 0 * , b 0 * , c 0 * } and PID gain {K P * , K I * , K D * } to have this target response characteristic are a 0 * = dK D * + a, b Assume that 0 * = dK P * + b, c 0 * = dK I *
Figure pat00031
Figure pat00031
Figure pat00032
)의 식을 생성하고, 상기 생성된 식의 상태
Figure pat00032
Generates an expression, and the state of the generated expression
Figure pat00033
Figure pat00033
Figure pat00034
이다.) 으로 나타냄으로써 출력벡터 C를 ATP+PA=-Q, C=BTP (여기서 P,Q는 양의 대칭행렬)에 의하여 구하고, 상기 상태공간 표현에서 y(t)를 구하여, 상기 역모델 학습수단의 출력이 vl(t)=pr[vl(t-T)]+Λ2y(t) (pr(·)은 프로젝션(projection)이며 Λ2는 학습이득으로서 상수)의 식에 의하여 결정되어, 상기 감산수단의 에러신호(e)를 입력받아서 역모델 학습을 통하여 상기 직류전동기를 제어하는 제2 제어전압신호(vl)를 출력하는 역모델 학습수단; 및
Figure pat00034
Is obtained by A T P + PA = -Q, C = B T P (where P and Q are positive symmetric matrices), and y (t) is obtained from the state-space representation. The output of the inverse model learning means is equal to v l (t) = pr [v l (tT)] + Λ 2 y (t) (pr (·) is projection and Λ 2 is constant as learning gain). Inverse model learning means determined by an equation and outputting a second control voltage signal v l for receiving the error signal e of the subtracting means and controlling the DC motor through reverse model learning; And
상기 학습수단의 제2 제어전압신호(vl)와 상기 피아이디 제어수단의 제1 제어전압신호(vfb)를 가산하여 그 합(va= vfb+ vl)을 상기 직류전동기에 출력하는 가산수단를 포함하여 구성되는 것을 특징으로 하는 직류전동기의 온-라인 피아이디(PID) 학습튜너.The second control voltage signal v l of the learning means and the first control voltage signal v fb of the PID control means are added to output the sum (v a = v fb + v l ) to the DC motor. On-line PID learning tuner of the DC motor, characterized in that it comprises an addition means.
KR1019970052152A 1997-10-10 1997-10-10 On-line pid tuner for dc motor KR100275907B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970052152A KR100275907B1 (en) 1997-10-10 1997-10-10 On-line pid tuner for dc motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970052152A KR100275907B1 (en) 1997-10-10 1997-10-10 On-line pid tuner for dc motor

Publications (2)

Publication Number Publication Date
KR19990031441A KR19990031441A (en) 1999-05-06
KR100275907B1 true KR100275907B1 (en) 2000-12-15

Family

ID=19522566

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970052152A KR100275907B1 (en) 1997-10-10 1997-10-10 On-line pid tuner for dc motor

Country Status (1)

Country Link
KR (1) KR100275907B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101101462B1 (en) * 2010-07-16 2012-01-03 엘에스산전 주식회사 Method and apparatus for setting gain of proportional integral controller
KR102382047B1 (en) * 2019-07-29 2022-03-31 김푸름 Automatic learning tuning system of motor controller using PSO
KR102664363B1 (en) * 2021-10-18 2024-05-10 주식회사 파워엘에스아이 A method, apparatus and system for controlling a motor using a digital PID controller with gain setting

Also Published As

Publication number Publication date
KR19990031441A (en) 1999-05-06

Similar Documents

Publication Publication Date Title
CN109756166B (en) Parameter setting method for dual closed-loop vector control PI (proportional integral) regulator of permanent magnet synchronous motor
JP5258906B2 (en) Valve control device
CN111585475B (en) Brushless direct current motor servo system disturbance suppression and high-precision tracking control method
JP2002330600A (en) Control system for induction motor drive with no speed sensor, observer, and control method
JPH10243699A (en) Synchronous motor controller
CN110620529B (en) Current regulator of permanent magnet DC motor
CN109742999B (en) Dynamic neural network adaptive inverse SRM torque control method and system
KR20190120568A (en) Position Control System and Control Method Using First Order Deadbeat Observer
KR100275907B1 (en) On-line pid tuner for dc motor
CA2156903C (en) A method for determining a stator flux estimate for an asynchronous machine
JPH03100801A (en) Controller
KR102189823B1 (en) Automated torque ripple reduction apparatus of motor
CN114123895A (en) Vibration suppression method and device, servo driver and servo driving system
JP5017984B2 (en) Servo control device and speed tracking control method thereof
KR101122673B1 (en) Method for speed control of ac motor using the radial basis function network observer
US9035587B2 (en) Motor control loop with fast response
KR100299457B1 (en) Method for controlling speed of induction motor
JP2009219288A (en) Motor driving device
Kulkarni et al. PID controller-based DC motor speed control
KR101409585B1 (en) Speed control scheme for reducing the speed-ripple due to the periodic torque ripple in the Motors and control method for same
CN116610026B (en) High-steady-state digital alternating current compensation anti-interference voltage stabilization method and system
Le et al. An improved method of speed damping for a stepper motor with a smooth speed estimation
JP2005182427A (en) Control computing device
JPH1114043A (en) Fuel flow control method of combustion device
Mertens et al. Developing a Hybrid Stochastic and Deterministic Alpha, Beta, Gamma Filter with SNR for Sensorless Control Using Propagation of Uncertainties with a Two Phase Stepper Motor as an Example

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080926

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee