KR930004186B1 - Four shaft simultaneous potential control device by servo method - Google Patents

Four shaft simultaneous potential control device by servo method Download PDF

Info

Publication number
KR930004186B1
KR930004186B1 KR1019890020428A KR890020428A KR930004186B1 KR 930004186 B1 KR930004186 B1 KR 930004186B1 KR 1019890020428 A KR1019890020428 A KR 1019890020428A KR 890020428 A KR890020428 A KR 890020428A KR 930004186 B1 KR930004186 B1 KR 930004186B1
Authority
KR
South Korea
Prior art keywords
value
motor
speed
software
servo
Prior art date
Application number
KR1019890020428A
Other languages
Korean (ko)
Other versions
KR910011405A (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 KR1019890020428A priority Critical patent/KR930004186B1/en
Publication of KR910011405A publication Critical patent/KR910011405A/en
Application granted granted Critical
Publication of KR930004186B1 publication Critical patent/KR930004186B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

The apparatus simultaneously controls four axes of the system using DC servo motor by using software servo replacing hardwave position loop to reduce the quantity of hardware and expand the flexibility of the system. It includes four encoders (EN) for detecting the current position of a servo motor (M), a microprocessor (CPU) for generating speed control command calculated from the position difference of the motor (M), a frequency/voltage converter (F/V) for converting the output pulse of the encoder (EN) to DC voltage corresponding to the speed of the motor (M), and a D/A converter (D/A) for converting the speed control command to voltage control command.

Description

소프트웨어 서어보 방식을 이용한 4축 동시위치 제어장치4-axis simultaneous position controller using software servo method

제1도는 종래 하드웨어 서어보 장치의 일개략 블록도.1 is a schematic block diagram of a conventional hardware servo device.

제2도는 종래 하드웨어 서어보 장치의 다른 개략 블록도.2 is another schematic block diagram of a conventional hardware servo device.

제3도는 이 발명의 소프트웨어 처리부를 도시한 블록도.3 is a block diagram showing a software processing unit of the present invention.

제4도는 이 발명의 하드웨어를 도시한 블록도.4 is a block diagram showing the hardware of this invention.

제5도는 이 발명의 소프트웨어 위치제어를 도시한 블록도.5 is a block diagram showing software position control of the present invention.

제6도는 제4도의 (3) 부분의 상세도.6 is a detailed view of part (3) of FIG.

제7도는 제4도의 (2) 부분의 상세도.7 is a detail of part (2) of FIG.

제8도는 제4도의 (4) 부분의 상세도.FIG. 8 is a detail of part (4) of FIG.

제9도는 이 발명의 카운트를 소프트웨어로 처리하는 알고리즘의 플로우챠트도이다.9 is a flowchart of an algorithm for processing the count of this invention by software.

이 발명은 소프트웨어 서어보 방식을 이용한 4축 동시위치 제어장치에 관한 것으로, 특히 로보트 콘트롤러, 수치제어공작기계 등에 사용되는 DC 서어보 콘트롤러, 즉 DC 모터를 사용하는 모든 시스템의 4축 동시위치 제어장치에 관한 것이다.The present invention relates to a four-axis simultaneous position control device using a software servo method. In particular, a DC servo controller used in robot controllers, numerically controlled machine tools, etc., that is, a four-axis simultaneous position control device for all systems using a DC motor. It is about.

종래의 하드웨어 서어보 방식에서는 통상적으로 작동부, 전류궤환부, 속도궤환부 및 위치궤환부로 구성되어 있고, 위치 감지기로서 인코우더 또는 편차 카운터를 사용하며, 이때 편차 카운터를 사용하면 인코우더의 클럭을 그대로 이용할 수 있다. 따라서 위치 지령의 양은 클럭의 형태로 전달하여야 한다. 또한 속도궤도환부에는 인코우더를 이용하여 FVC(주파수-대-전압 변환기)를 통과시킨 애널로그 값으로 사용하는 경우 TG(타코 제너레이터)를 사용하지 않아도 속도궤환부를 구성할 수 있었다. 그러나, 하드웨어 서어보 방식은 클럭을 발생하는 회로와, 하드웨어 위치 루우프가 존재하게 되어 하드웨어의 증가를 피할 수 없었다. 또한, 클럭의 수와 절대위치의 차이에 대해 보상하는 것이 곤란한 문제점이 있었다. 통상 출력의 수는 위치에, 또 지령 클럭의 주파수는 속도에 대응하므로, 속도 지령이 인코우더의 값에도 영향을 받으므로 속도 루우프도 전류 루우프의 동작 여하에 따라 위치와 특성이 달라지는데 하드웨어의 특성이 지능적이지 못하기 때문에 상기와 같은 결점을 보완하기가 곤란하였다.In the conventional hardware servo system, it is generally composed of an operating part, a current feedback part, a speed feedback part, and a position feedback part. An encoder or a deviation counter is used as a position detector, and when the deviation counter is used, The clock can be used as it is. Therefore, the amount of position command must be transmitted in the form of a clock. In addition, when using the encoder as an analog value passed through the FVC (frequency-to-voltage converter) using the encoder, the speed feedback unit could be configured without using a tacho generator (TG). However, the hardware servo system has a circuit for generating a clock and a hardware position loop, which causes an increase in hardware. In addition, there is a problem that it is difficult to compensate for the difference between the number of clocks and the absolute position. Since the number of outputs generally corresponds to the position and the frequency of the command clock corresponds to the speed, the speed loop also depends on the encoder value, so the speed loop also varies in position and characteristics depending on the operation of the current loop. This lack of intelligence makes it difficult to make up for these drawbacks.

이와 같은 종래의 단점을 극복하기 위하여, 이 발명에서는 하드웨어 위치루우프를 소프트웨어 위치 루우프로 대체함으로써 하드웨어의 양을 감소시키고, 지령 클럭의 입력에 대하여 피이드백 클럭이 따라오지 못하는 것에 기인한 편차 카운터의 오우버플로우를 소프트웨어 방식으로 위치 제어시켜서 CPU가 판단하여 처리할 수있도록 하여 드라이브쪽에 무리가 가지 않도록 소프트웨어 알고리즘만 개발하면 상황에 따라서 플렉서블하게 처리할 수 있다는 장점이 있다.In order to overcome this conventional disadvantage, the present invention reduces the amount of hardware by replacing the hardware position loop with a software position loop, and the error counter of the deviation counter due to the failure of the feedback clock to follow the input of the command clock. The software has the advantage that it can be processed flexibly depending on the situation by developing the software algorithm so that the CPU can judge and process the location by controlling the location of the flow in the software way.

이 발명의 목적은 소프트웨어 서어보 방식을 채용하여 하드웨어 위치루우프를 소프트웨어로 대체하였으므로 하드웨어의 양이 감소되고, 소프트웨어는 유동적이기 때문에 하드웨어적인 문제를 극복할 수 있는 로보트 콘트롤러 및 수치제어 공작기계 등에 사용되는 DC 서어보 모터를 사용하는 시스템의 4축 동시위치 제어장치를 제공하는데에 있다.The object of the present invention is to replace the hardware position loop with software by adopting the software servo method, so the amount of hardware is reduced, and because the software is flexible, it is used in robot controllers and numerical control machine tools that can overcome hardware problems. It is to provide a 4-axis simultaneous position control system for a system using a DC servo motor.

상기한 목적을 달성하기 위하여 본 발명은 서어보 모터의 소프트웨어 서어보 방식을 이용한 4축 동시위치제어장치에 있어서, 상기 서어보 모터의 현재 위치를 검출하기 위해 4축에 하나씩 설치된 4개의 인코우더(EN)와, 상기 각각의 인코우더의 출력을 받아 주파수 4체배를 행하는 4체배를 행하는 4체배 회로부와, 상기 4체배된 인코우더 펄스를 카운팅하기 위해 각 축당 2개의 프로그래머블 인터벌 타이머와, 상기 타이머를 카운터로 동작시키는데 필요한 인터럽트를 만들어 주기 위한 카운터로 이루어진 주파수 체배 및 카운팅수단과, 목표위치를 계산하고 가감속패턴에 의한 4축 각각에 대한 속도를 계산한 후 각 축에 대한 속도값과 상기 카운팅 수단으로 부터 입력된 모터의 절대위치값으로부터 위치편차를 구하여 이 값에 위치이득을 준 속도명령을 출력하는 마이크로프로세서(CPU)와, 상기 마이크로프로세서로부터 출력된 속도명령을 전압제어 명령으로 변환하기 위한 디지탈/아날로그 변환부(D/A)와, 상기 주파수 체배 및 카운팅 수단으로부터 4체배된 인코우더 출력펄스를 모터 속도값에 대응하는 DC 전압으로 변환하기 위한 주파수/전압변환부(F/V)와, 상기 D/A와 F/V로부터의 출력에 따라 상기 모터를 구동하기 위한 드라이버로 구성되며, 상기 프로그램 가능한 인터벌타이머는 3개의 RAM으로 이루어지고, 각 RAM은 총 카운트값(TCNT), 가장 최근에 읽은 값(LCNT), 및 새로 읽은 값(NCNT)을 갖는 다수의 영역으로 할당되어 인코우더로 부터의 펄스를 카운팅하는 것을 특징으로 하는 소프트웨어 서어보 방식을 이용한 4축 동시 위치 제어장치를 제공한다.In order to achieve the above object, the present invention provides a four-axis simultaneous position control apparatus using a software servo method of a servo motor, wherein four encoders are provided, one on four axes, for detecting a current position of the servo motor. (EN), a four multiplication circuit section for performing four multiplications for four frequency multiplications by receiving the outputs of the respective encoders, two programmable interval timers for each axis for counting the four multiplied encoder pulses, A frequency multiplication and counting means comprising a counter for generating an interrupt required to operate the timer as a counter, a target position, a speed for each of the four axes based on the acceleration / deceleration pattern, and a speed value for each axis. Obtain the position deviation from the absolute position value of the motor inputted from the counting means, and issue the speed command giving the position gain to this value. A microprocessor (CPU), a digital / analog converter (D / A) for converting a speed command output from the microprocessor into a voltage control command, and an encoder multiplied by four times from the frequency multiplication and counting means. A frequency / voltage converter (F / V) for converting an output pulse to a DC voltage corresponding to a motor speed value, and a driver for driving the motor according to the outputs from the D / A and F / V. The programmable interval timer consists of three RAMs, each of which is allocated to a plurality of regions having a total count value (TCNT), a most recently read value (LCNT), and a newly read value (NCNT). It provides a four-axis simultaneous position control device using a software servo method, characterized in that the counting pulse from the.

이하 첨부된 도면에 따라서 이 발명의 장치를 상세히 설명한다.Hereinafter, the apparatus of the present invention will be described in detail according to the accompanying drawings.

제1도 및 제2도는 종래의 하드웨어 서어보 장치의 블록도로서, 종래에는 일반적으로 DC 서어보 모터를 제어하기 위하여 마이크로프로세서(CPU), PWM 콘트롤러 및 DC 모터로 연결된 작동부와, 그들 사이에 각 위치, 속도 및 전류를 피이드백 제어하는 루우프가 형성되어 있고, 위치 센서로서 인코우더(EN) 또는 편차 카운터를 사용하였다. 제2도는 위치센서로서 편차카운터를 사용할때의 서어보 장치의 구성 블록도로, 이때 속도 피이드백은 인코우더(EN)를 이용하여 FVC를 통과한 애널로그 값을 사용하여 TG를 사용하지 않고 속도 루우프를 구성할 수 있었다.1 and 2 are block diagrams of a conventional hardware servo device, in which a microprocessor (CPU), a PWM controller, and an operation unit connected with a DC motor are generally used to control a DC servo motor. A loop for feedback control of each position, speed, and current is formed, and an encoder (EN) or a deviation counter is used as the position sensor. 2 is a block diagram of a servo device when a deviation counter is used as a position sensor. In this case, the speed feedback uses the encoder value passed through the FVC by using the encoder (EN) without using the speed TG. I could construct a loop.

제3도는 마이크로프로세서(CPU)로부터 위치, 속도, 전압 및 펄스 등의 지령을 전달하는 이 발명의 구성도로서, 소프트웨어 서어보 적용 수준을 위치제어에만 한정하고, 속도제어 이후는 애널로그 방식으로 실시하도록 되어 있다.3 is a block diagram of the present invention that transmits a command such as position, speed, voltage, and pulse from a microprocessor (CPU). The software servo application level is limited to position control only. It is supposed to be.

제4도는 본 발명의 하드웨어 블록도이고, 도면의 참고번호 (1)부분이 서어보 하드웨어부이다.4 is a hardware block diagram of the present invention, wherein reference numeral (1) of the figure is a servo hardware part.

제5도는 이 발명의 하드웨어 서어보 제어중의 위치제어를 소프트웨어로 처리하는 소프트웨어 블록도이다.5 is a software block diagram for processing the position control during the hardware servo control of the present invention by software.

CPU로부터 목표위치를 계산하고 가감속 패턴에 의하여 펄스를 4축 각각에 대해 계산을 한 다음, 이 값들과 카운터로 부터의 모터의 절대위치값으로부터 위치 편차를 구하고, 적절한 이득(gain)을 주어서 모터의 속도에 해당하는 전압명령을 D/A(2)을 통해 내보내고 카운터를 통하여 계산된 현위치 값은 다음 위치명령에 피이드백시켜 주도록 되어 있다.Calculate the target position from the CPU, calculate the pulse for each of 4 axes according to the acceleration / deceleration pattern, calculate the position deviation from these values and the absolute position value of the motor from the counter, and give the appropriate gain to the motor. The voltage command corresponding to the speed of is sent out through D / A (2), and the current position value calculated through the counter is fed back to the next position command.

제4도의 디지탈/아날로그변환기(D/A)(2)에 해당하는 실제회로의 구현은 제7도와 같고, 주파수/전압변환기(F/V)(3)은 제6도, 주파수 체배 및 카운팅부(4)는 제8도에 도시하였다.The implementation of the actual circuit corresponding to the digital / analog converter (D / A) 2 of FIG. 4 is shown in FIG. 7, and the frequency / voltage converter (F / V) 3 is shown in FIG. (4) is shown in FIG.

제6도, 제7도 및 제8도에는 이 발명이 구현하고자 하는 소프트웨어 서어보 방식에 필요한 최소한의 하드웨어를 도시하고 있다.6, 7 and 8 illustrate the minimum hardware required for the software servo scheme that this invention is intended to implement.

제6도는 F/V회로로서 제8(A)도의 (2)를 PAL로 구현한 주파수 4체배 회로를 통하여 나온 인코우더 펄스는 제6도의 (1)의 aa, bb로 A상, B상이 입력된다. (1)의 애널로그 소프트웨어에 의하여 A상은 0-+15V로, B상은 0--15V로 스위칭함으로써 (2)의 입력으로 들어가고, (3)의 RC회로를 통하여 1차적분되고 (4)의 연산 증폭기에 의해 2차 적분하여 주파수가 DC 전압으로 변환이 된다. 드라이버(DRIVER)의 F/V입력전압 요구에 따라서 (4)의 가변저항으로 F/V 출력전압을 조정하도록 되어 있다.6 is an F / V circuit, in which the encoder pulses generated through the multiplying circuit of frequency (4) in which (2) of FIG. 8 (A) is implemented as PAL are different in phases A and B as aa and bb in (1) of FIG. Is entered. The analog software of (1) enters the input of (2) by switching the A phase to 0- + 15V and the B phase to 0--15V, and is integrated first through the RC circuit of (3) and The frequency is converted to a DC voltage by performing second integration by an operational amplifier. According to the F / V input voltage request of the driver, the variable resistor of (4) is adjusted to adjust the F / V output voltage.

제7도는 제4도의 D/A(2)에 해당하는 부분으로 CPU에서 계산된 위치명령을 모터의 속도명령으로 환산하고, 이 값을 전압제어 명령으로 만들어 주는 회로이다. 제7도에서 (1)은 디지탈 값을 전압으로 변환해주고, (2)의 연산증폭기를 통해 인버팅(inverting)된 전압이 (3)의 샘플 앤드 홀드(sample and hold)에 대치되어 드라이버에 입력된다.FIG. 7 is a circuit corresponding to the D / A (2) of FIG. 4 and converts the position command calculated by the CPU into the speed command of the motor, and makes this value a voltage control command. In FIG. 7, (1) converts the digital value into a voltage, and the voltage inverted through the operational amplifier of (2) is replaced by the sample and hold of (3) and input to the driver. do.

제6도 및 제7도는 일반적인 제어회로이며 제8도는 이 발명에서 위치제어 보오드 대신에 카운터로 대체하여 소프트웨어어 위치제어를 하기 위한 회로이다.6 and 7 are general control circuits and FIG. 8 is a circuit for controlling software position by substituting a counter instead of a position control board in this invention.

제8(a)도의 (2)는 (1)에서 4개의 모터 인코우더로부터 입력되는 펄스를 광결합기(photo coupler)를 통해 잡음(noise)을 방지하고 주파수 4체배와 방향판별을 할 수 있는 논리프로그램을 입력한 부분이다. (3),(4),(5)는 프로그래머블 인터벌 타이머로서 4체배된 인코우더 펄스를 소프트웨어와 함께 카운팅하는 부분으로 각 축당 2개씩 총 8개로 되어 있다. 이 카운터는 모두 16bit 디크리멘트 카운터이기 때문에 소프트웨어에 의해 제9도에 도시된 특별한 알고리즘으로 계산하도록 되어 있다. (6)는 카운터로서 소프트웨어 위치제어를 하기 위해 필요한 인터럽트를 만들어주기 위한 부분으로 소프트웨어 위치루우프를 위한 것과 샘플링을 만들기 위한 부분이다.(2) of FIG. 8 (a) shows that the pulses inputted from the four motor encoders in (1) can be prevented through a photo coupler, and the frequency can be multiplied by 4 times and direction discriminated. The logic program is entered. (3), (4), (5) is a programmable interval timer that counts four multiplied encoder pulses together with software, and a total of eight, two for each axis. Since these counters are all 16-bit decrement counters, they are calculated by software using a special algorithm shown in FIG. (6) is a counter for generating an interrupt required for software position control, for a software position loop and for making a sampling.

이 발명은 하드웨어적으로는 제6도, 제7도 및 제8도에 도시된 것과 같고 단지 위치루우프를 소프트웨어로 처리하도록 하고 있다.The present invention is in hardware the same as shown in Figs. 6, 7, and 8, and only allows the position loop to be processed by software.

제8(a)도에 도시된 바와 같이 8개 타이머는 3개의 RAM(3,4,5)으로 구성되며, 각 RAM은 제8(b)도와 같이 카운팅을 소프트웨어로 처리하는데 필요한 다수의 메모리 영역으로 나누어져 있다. 제8(b)도에서 카운트 최대값은 $0000이고 최소값은 $0001이다. (단 $는 Hex값) 제8(b)도에서 TCNT는 총 카운트값, LCNT는 가장 최근에 읽는 값, NCNT는 새로 읽은 값이다.As shown in FIG. 8 (a), eight timers are composed of three RAMs (3, 4, and 5), and each RAM includes a plurality of memory areas necessary for processing counting by software as shown in FIG. 8 (b). Divided into In FIG. 8 (b), the maximum count is $ 0000 and the minimum is $ 0001. In Fig. 8 (b), TCNT is the total count value, LCNT is the most recently read value, and NCNT is the newly read value.

제8도에서 RAM상에는 각 축에 해당하는 카운터를 CW(시계 방향), CCW(반시계 방향) 2개씩 할당된다.In FIG. 8, two counters, CW (clockwise) and CCW (counterclockwise), are assigned to the RAM.

상기한 RAM을 이용한 카운팅 방법을 제9도를 참고하여 설명한다. 제9(1)에서 CNT1을 읽는다. 제9도의 (2)에서는 이전 카운트 값(LCNT1)과 현재 읽는 값(NCNT)을 비교하여 새로 읽은 값(NCNT)이 클 경우(3)에서 이들의 차에 대하여 그의 보수로 하여 (4)에서 총 카운터 값(TCNT1)에 더해준다. 클 경우 (5),(6)에서 차에 대해 총 카운터 값(TCNT1)에 더해 주고, 같을 경우는 펄스가 들어 오지 않을 경우이므로 다음 스텝으로 간다. (4),(6)이 완료하면 RAM에 새로 읽은 값(NCNT)을 저장한다. 이는 다음 번 카운팅 할 때 판단 기준을 삼기 위해 가장 최근에 읽은 값을 저장하도록 한다.The counting method using the above-described RAM will be described with reference to FIG. The CNT1 is read in ninth (1). In (9) of FIG. 9, the previous count value LCNT1 is compared with the current read value NCNT, and when the newly read value NCNT is large (3), the difference is calculated as the complement of these differences. Add to counter value TCNT1. If it is large, add to the total counter value TCNT1 for the difference in (5) and (6). If it is the same, the pulse does not come in, so go to the next step. When (4) and (6) is completed, the newly read value (NCNT) is stored in RAM. This allows you to store the most recently read value for the next counting as a criterion.

(8)번 스텝 이후는 스텝 (1) 내지 (7)과 같은 방법으로 수행하고 스텝(10)에서는 스텝(1) 내지 (9)의 스텝을 2축, 3축, 4축에 대해서 반복한다. 이 알고리즘으로 각 축에 대한 CW, CCW에 대한 클럭 수를 계산하였으므로 위치루우프를 돌 때 현재 모터의 절대 위치는 CW의 총 카운트 값인 TCNT1에서 CCW의 총 카운트 값 TCNT2를 빼면 알 수 있게 된다. 따라서, CPU에서 계산된 위치 명령과 피이드백되어 계산된 펄스 수로 목표위치에 대한 편차를 소프트웨어적으로 보상할 수가 있게 된다.After step (8), steps (1) to (7) are performed in the same manner, and in step 10, steps (1) to (9) are repeated for two, three, and four axes. This algorithm calculates the number of clocks for CW and CCW for each axis, so the absolute position of the current motor can be found by subtracting the total count value TCNT2 of CCW from TCNT1, the total count value of CW, when rotating the position loop. Therefore, the deviation of the target position can be compensated in software by the position command calculated by the CPU and the number of pulses calculated by feedback.

이상, 설명한 바와 같이 종래에는 하드웨어 서어보 방식의 문제점인 지령 클럭 발생회로와, 하드웨어 위치 루우프가 존재로 인하여 하드웨어의 양이 많게 되고 속도 루우프 및 전류 루우프의 성능여하에 따라 위치 특성이 달라지는 데에 기인하여 성능 저하가 있지만, 이 발명의 소프트웨어 서어보 방식은 하드웨어 위치 루우프를 소프트웨어로 대체하였으므로 하드웨어의 양을 감소시키고, 하드웨어는 지능적이지 못한 반면에 소프트웨어는 유동적이기 때문에 하드웨어적인 문제를 극복할 수가 있는 효과가 있다. 따라서 소프트웨어 알고리즘만 개발하면 상황에 따라서 상당히 플렉서블하게 처리할 수가 있는 장점이 있다.As described above, due to the presence of the command clock generation circuit, which is a problem of the hardware servo system, and the hardware position loop, the amount of hardware increases and the position characteristic varies depending on the performance of the speed loop and the current loop. Although the performance of the software servo method of the present invention replaces the hardware position loop with software, the amount of hardware is reduced, and the hardware is not intelligent, while the software is fluid, so it can overcome the hardware problem. There is. Therefore, the development of only the software algorithm has the advantage that can be processed quite flexibly depending on the situation.

Claims (2)

서어보 모터의 소프트웨어 서어보 방식을 이용한 4축 동시위치 제어장치에 있어서, 상기 서어보 모터의 현재 위치를 검출하기 위해 4축에 하나씩 설치된 4개의 인코우더(EN)와, 상기 각각의 인코우더의 출력을 받아 주파수 4체배를 행하는 4체배 회로부와, 상기 4체배된 인코우더 펄스를 카운팅하기 위해 각 축당 2개의 프로그래머블 인터벌 타이머와, 상기 타이머를 카운터로 동작시키는데 필요한 인터럽트를 만들어 주기 위한 카운터로 이루어진 주파수 체배 및 카운팅수단과, 목표위치를 계산하고 가감속패턴에 의한 4축 각각에 대한 속도를 계산 한 후 각 축에 대한 속도값과 상기 카운팅 수단으로 부터 입력된 모터의 절대위치값으로부터 위치편차를 구하여 이 값에 위치이득을 준 속도명령을 출력하는 마이크로프로세서(CPU)와, 상기 마이크로프로세서로부터 출력된 속도명령을 전압제어 명령으로 변환하기 위한 디지탈/아날로그 변환부(D/A)와, 상기 주파수 체배 및 카운팅 수단으로부터 4체배된 인코우더 출력 펄스를 모터 속도값에 대응하는 DC 전압으로 변환하기 위한 주파수/전압변환부(F/V)와, 상기 D/A와 F/V로부터의 출력에 따라 상기 모터를 구동하기 위한 드라이버로 구성되며, 상기 프로그램 가능한 인터벌 타이머는 3개의 RAM으로 이루어지고, 각 RAM은 총 카운트 값(TCNT), 가장 최근에 읽은 값(LCNT), 및 새로 읽은 값(NCNT)을 갖는 다수의 영역으로 할당되어 인코우더로 부터의 펄스를 카운팅하는 것을 특징으로 하는 소프트웨어 서어보 방식을 이용한 4축 동시위치 제어장치.A four-axis simultaneous position control apparatus using a software servo method of a servo motor, comprising four encoders (EN) installed on each of four axes to detect a current position of the servo motor, and the respective encoders. Four multiplier circuit section that receives four outputs and performs four times the frequency, two programmable interval timers for each axis to count the four multiplied encoder pulses, and a counter for generating an interrupt required to operate the timer as a counter. Compute the frequency multiplication and counting means, the target position and the speed for each of the four axes by the acceleration and deceleration pattern, and then the position from the speed value for each axis and the absolute position value of the motor input from the counting means A microprocessor (CPU) for calculating a deviation and outputting a speed command giving a position gain to this value, and the microprocessor A digital / analog converting unit (D / A) for converting the speed command outputted from the control unit into a voltage control command, and an encoder output pulse multiplied by four times from the frequency multiplication and counting means to a DC voltage corresponding to the motor speed value. A frequency / voltage conversion unit (F / V) for conversion and a driver for driving the motor according to the outputs from the D / A and F / V, and the programmable interval timer is composed of three RAMs. Each RAM is assigned a plurality of regions having a total count value (TCNT), a most recently read value (LCNT), and a newly read value (NCNT) to count pulses from the encoder. 4-axis simultaneous position controller using software servo method. 제1항에 있어서, 상기 카운팅 수단은 위치 루우프를 이루는 것을 특징으로 하는 장치.The device of claim 1, wherein said counting means constitutes a position loop.
KR1019890020428A 1989-12-30 1989-12-30 Four shaft simultaneous potential control device by servo method KR930004186B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890020428A KR930004186B1 (en) 1989-12-30 1989-12-30 Four shaft simultaneous potential control device by servo method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890020428A KR930004186B1 (en) 1989-12-30 1989-12-30 Four shaft simultaneous potential control device by servo method

Publications (2)

Publication Number Publication Date
KR910011405A KR910011405A (en) 1991-08-07
KR930004186B1 true KR930004186B1 (en) 1993-05-21

Family

ID=19294458

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890020428A KR930004186B1 (en) 1989-12-30 1989-12-30 Four shaft simultaneous potential control device by servo method

Country Status (1)

Country Link
KR (1) KR930004186B1 (en)

Also Published As

Publication number Publication date
KR910011405A (en) 1991-08-07

Similar Documents

Publication Publication Date Title
US4143310A (en) Apparatus for positioning
EP0177060B1 (en) Digital servo-control system
US4751442A (en) Servomotor drive control system
EP0141859A1 (en) Servo control circuit
EP0148269B1 (en) Servo driving unit
WO1988003678A1 (en) Position control system
EP0580866B1 (en) Spindle positioning method
US4638225A (en) Method and apparatus therefor in motor speed control
KR930004186B1 (en) Four shaft simultaneous potential control device by servo method
US3896361A (en) Method and apparatus for compensating an error in numerical control
US5233279A (en) Feedback-type position control method
JP2819411B2 (en) Fixed position stop control device
KR920009888B1 (en) Method of controlling servo motor
US4554428A (en) Electrospark machining control device
JPH01292405A (en) Digital position servo device
JP3388426B2 (en) Pulse train control method of motor that enables arbitrary interpolation
JP2600975B2 (en) Speed control method for synchronous motor
JPS62120513A (en) Control system for multiplication of manual pulse
JPH06301423A (en) Control system for multiple axes
JPH0344506B2 (en)
JP2601804B2 (en) Digital drive with interrupt function
SU1141378A1 (en) Stepping motor program control device
KR960016799B1 (en) Apparatus and method of position control for servo-motor
SU1509832A1 (en) Module for program control of electric drive
SU826282A1 (en) Programme-control device

Legal Events

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

Payment date: 19990524

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee