KR100377332B1 - Position control method and position control system - Google Patents

Position control method and position control system Download PDF

Info

Publication number
KR100377332B1
KR100377332B1 KR10-2000-0020413A KR20000020413A KR100377332B1 KR 100377332 B1 KR100377332 B1 KR 100377332B1 KR 20000020413 A KR20000020413 A KR 20000020413A KR 100377332 B1 KR100377332 B1 KR 100377332B1
Authority
KR
South Korea
Prior art keywords
data
cam
distance data
microprocessor
cam data
Prior art date
Application number
KR10-2000-0020413A
Other languages
Korean (ko)
Other versions
KR20000037326A (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 KR10-2000-0020413A priority Critical patent/KR100377332B1/en
Publication of KR20000037326A publication Critical patent/KR20000037326A/en
Application granted granted Critical
Publication of KR100377332B1 publication Critical patent/KR100377332B1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/402Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for positioning, e.g. centring a tool relative to a hole in the workpiece, additional detection means to correct position
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/20Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
    • B23Q15/22Control or regulation of position of tool or workpiece
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Position Or Direction (AREA)
  • Numerical Control (AREA)

Abstract

본 발명은 기계와 기구를 유기적으로 연결시키기 위해 고정밀 위치제어에 적합할 뿐만 아니라 대상물이 가지고 있는 정보를 감지/검출 및 판단을 위한 자료제공과 외부 입력에 따라 위치결정 경로 및 정보를 제공하기 위한 데이터의 저장방법에 관한 것으로서, 기계의 위치 이동에 따른 거리를 검출하여 소정의 신호로 변환한 후 마이크로 프로세서와 주변 하드웨어의 제어로 CAM 데이터 생성부의 어드레스 생성회로 및 제2 멀티플렉서에 선택적으로 공급하는 위치 검출 및 변환수단과, 정해진 위치에서 동작하기 위한 것을 검출 확인하는 CAD 데이터가 저장되어 있으며 공작물을 가공하기 위한 CAM 데이터 생성부에서의 CAM 데이터의 정정과 저장 및 생성을 제어하는 마이크로 프로세서 및 마이크로 프로세서의 CAD 데이터를 기초로 위치 검출 및 변환수단의 거리 데이터에 대응되게 CAM 데이터로 정정 및 저장하고 CAM 출력단을 통해 생성된 CAM 데이터를 병렬로 출력하는 CAM 데이터 생성부로 구성된다. 본 발명에 의하면, 측정 대상 기계헤드의 상대 운동 및 위치를 인크리멘탈 및 압솔러트 샤프트 엔코더로 검출한 후 목표위치와 현재위치와의 차이값에 대응되는 CAM 데이터를 연산 출력함으로써 릴레이나 전자밸브 모터, 전자 클러치 등의 구동용 부하나 파일럿 램프나 디지털 표시기 등의 표시부하 등의 고속화, 고정밀화, 확장성 등을 개선할 수 있다.The present invention is not only suitable for high-precision position control for organically connecting machines and instruments, but also provides data for sensing / detecting and determining information held by objects and data for providing positioning paths and information according to external inputs. A method of storing a data, comprising: detecting a distance according to a position movement of a machine, converting the signal into a predetermined signal, and detecting a position selectively supplied to an address generation circuit and a second multiplexer of a CAM data generation unit under control of a microprocessor and peripheral hardware; And CAD means for detecting and confirming conversion means, and for confirming to operate at a predetermined position, and for correcting, storing and generating CAM data in a CAM data generating unit for processing a workpiece. Position detection and conversion means based on the And a CAM data generation unit for correcting and storing the CAM data corresponding to the distance data and outputting the CAM data generated through the CAM output terminal in parallel. According to the present invention, the relative motion and position of the measuring machine head are detected by the incremental and absolut shaft encoders, and then the CAM data corresponding to the difference between the target position and the current position is calculated and output, thereby relaying or relaying the valve motor. In addition, it is possible to improve the speed, high precision, expandability, and the like of a driving load such as an electromagnetic clutch and a display load such as a pilot lamp or a digital display.

Description

위치 제어방법과 위치 제어시스템{Position control method and position control system}Position control method and position control system

본 발명은 기계와 기구를 유기적으로 연결시키기 위해 고정밀 위치제어에 적합할뿐만 아니라 대상물이 가지고 있는 정보를 감지/검출 및 판단을 위한 자료제공과 외부 입력에 따라 위치결정 경로 및 정보를 제공하기 위한 데이터의 저장방법에 관한 것으로서, 더욱 상세하게는 측정 대상 기계헤드의 상대 운동 및 위치를 인크리멘탈 및 압솔러트 샤프트 엔코더로 검출한 후 목표위치와 현재위치와의 차이값에 대응되는 정해진 위치에서 동작하기 위한 것을 검출 확인하는 CAM 데이터를 연산 출력함으로써 릴레이나 전자밸브 모터, 전자 클러치 등의 구동용 부하나 파일럿 램프나 디지털 표시기 등의 표시부하 등의 고속화, 고정밀화, 확장성 등을 개선한 산업기계와 자동화 기계 및 각종 장치에서의 위치 제어방법과 위치 제어시스템에 관한 것이다.The present invention is not only suitable for high-precision position control in order to organically connect machines and instruments, but also provides data for sensing / detecting and determining information held by objects and data for providing positioning paths and information according to external inputs. In more detail, the method relates to the method of storing the relative motion and position of the machine head to be measured by an incremental and absolute shaft encoder, and then operating at a predetermined position corresponding to the difference between the target position and the current position. By calculating and outputting the CAM data for detecting and confirming the purpose, industrial machinery that has improved the speed, high precision, and expandability of driving loads such as relays, solenoid valve motors, and electromagnetic clutches, and display loads such as pilot lamps and digital indicators; A position control method and a position control system in an automated machine and various devices.

종래의 공작 기계 또는 위치제어 시스템을 활용한 각종 제어시스템에서의 위치제어는 전자식 캠장치나 릴레이 방식 등이 널리 사용되고 있다. 이는 가공공정의 순서에 맞게 회로도를 전개하고 그 곳에 필요한 제어기기를 접합한 후 리드선으로 배선작업을 하여 필요로 하는 동작을 실현하는 데, 이를 통상적으로 하드와이어드 로직이라 하며 병렬 출력방식이다.As the position control in various control systems utilizing a conventional machine tool or a position control system, an electronic cam device or a relay method is widely used. It develops the circuit diagram according to the order of the machining process, joins the necessary controller there, and wires it with a lead wire to realize the required operation. This is commonly called hardwired logic and is a parallel output method.

또한, PLC(programable logic controller) 포지션 컨트롤러 등과 같이 사용자의 프로그램에 의해 연산방법이나 정해진 위치에서 동작순서를 결정할 수 있도록 메모리에 그 내용을 저장하여 동작하는 방식을 소프트 와이어드 로직이라고 한다. 하드와이어드 로직은 하드웨어와 소프트웨어가 한 쌍을 이루고 있어, 사양이 변경되는 경우 하드와이어드 로직의 하드웨어와 소프트웨어가 모두 변경되기 때문에 이로 인하여 갖가지 문제가 유발되는 결점이 있다.In addition, soft wired logic is a method of operating the program by storing its contents in a memory so that a calculation method or an operation order can be determined by a user program such as a programmable logic controller (PLC) position controller. Hard-wired logic has a pair of hardware and software, and when the specification is changed, the hardware and software of the hard-wired logic are changed, which causes various problems.

그리고, 소프트 와이어드 로직은 전자 부품 집합으로 릴레이 시퀀스와 같은 접점이나 코일은 존재하지 않으며 접점이나 코일을 연결하는 동작은 코일이 여자되면 접점이 닫혀 회로가 활성화되는 릴레이 시퀀스와는 달리 메모리에 프로그램을 기억시켜 놓고 순차적으로 내용을 읽어서 그 내용에 따라 내부 타이머나 카운터를 연산하여 동작하는 방식이다.In addition, soft-wired logic is a set of electronic components, and there is no contact or coil like a relay sequence, and the operation of connecting a contact or coil stores a program in memory unlike a relay sequence in which a contact is closed when the coil is excited to activate a circuit. It reads the contents sequentially and operates the internal timer or counter according to the contents.

따라서, 소프트 와이어드 로직은 마이크로 프로세서의 성능과 그것을 이용해서 구성된 시스템은 마이크로 프로세서의 성능이나 프로그래머의 자질과 능력에 의해 결정되어지며 마이크로 프로세서에 의해 순차적으로 동작되어지므로 직렬 출력방식이다.Therefore, soft-wired logic is a serial output method because the performance of the microprocessor and the system configured using the microprocessor are determined by the performance of the microprocessor or the programmer's qualities and capabilities, and are sequentially operated by the microprocessor.

본 발명은 상기와 같은 결점을 해결하기 위해 안출된 것으로, 측정 대상 기계헤드의 상대 운동 및 위치를 인크리멘탈 및 압솔러트 샤프트 엔코더로 검출한 후 목표위치와 현재위치와의 차이값에 대응되는 위치 결정경로 및 정보에 관한 데이터와 정해진 위치에서 동작하는 것을 검출 확인하기 위한 CAM 데이터를 마이크로 프로세서를 거치지 않고 어드레스 생성부를 통해 메모리에 저장된 정해진 위치에서 동작하는 것을 검출하여 출력함으로써 고속화를 실현하는 한편 엔코드로부터 제공되는 위치 결정경로와 정보를 주변장치를 통해 증폭 연산하여 고정밀의 위치 결정정보를 획득함으로써 고정밀화를 실현할 수 있도록 하는 위치 제어방법과 이를 달성하기 위한 위치 제어시스템을 제공하는 데 그 목적이 있다.The present invention has been made to solve the above-mentioned drawbacks, the position corresponding to the difference between the target position and the current position after detecting the relative movement and position of the measurement target machine head with the incremental and pusher shaft encoder Speeds up by encoding and outputting data on decision paths and information and CAM data for detecting and confirming operation at a predetermined position by detecting and outputting operation at a predetermined position stored in a memory through an address generator without going through a microprocessor. The purpose of the present invention is to provide a position control method and a position control system to achieve high precision by amplifying a positioning path and information provided by a peripheral device to obtain high precision positioning information. .

또한, 본 발명은 다양한 입력장치를 통해 위치결정을 위한 입력장치와 이를 어드레스 생성부를 통해 메모리 내용을 직접 읽어내며 마이크로 프로세서가 사용자의 입력 데이터를 산술적으로 인식 해독함으로써 다기능화를 꾀할 수 있으며, 릴레이나 전자밸브 모터, 전자 클러치 등의 구동용 부하나 파일럿 램프나 디지털 표시기 등의 표시부하 등의 고속화, 고정밀화, 다기능화 등을 개선한 위치 제어방법과 이를 달성하기 위한 위치 제어시스템을 제공하는 데 그 목적이 있다.In addition, the present invention can be multi-functionality by directly reading the memory contents through the input device for positioning and the address generation unit through a variety of input devices and the microprocessor arithmetically recognizes and decodes the user's input data. The present invention provides a position control method that improves high speed, high precision, and versatility of driving loads such as a solenoid valve motor, an electromagnetic clutch, and a display load such as a pilot lamp or a digital display, and a position control system for achieving the same. There is a purpose.

도 1은 본 발명에 따른 위치제어시스템을 나타내는 블록 구성도이다.1 is a block diagram showing a position control system according to the present invention.

도 2 내지 도 4는 본 발명에 따른 위치 제어시스템에 의한 위치 제어방법을 나타내는 흐름도이다.2 to 4 are flowcharts showing a position control method by the position control system according to the present invention.

※ 도면의 주요 부분에 대한 부호의 설명 ※※ Explanation of code about main part of drawing ※

1,2 : 인크리멘탈 샤프트 엔코더 3 : 압솔러트 샤프트 엔코더1,2: Incremental Shaft Encoder 3: Absolute Shaft Encoder

4,8 : 멀티플렉서 5,6 : 슈미트 트리거4,8 multiplexer 5,6 Schmitt trigger

7 : 어드레스 생성회로 9 : EEPROM7: address generation circuit 9: EEPROM

10 : 래치 슈미트 트리거 11 : CAM 출력단10: Latch Schmitt Trigger 11: CAM Output

12 : 마이크로 프로세서 13 : LED 디스플레이12 microprocessor 13: LED display

14 : 세그먼트 디스플레이 15 : 키보드14: segment display 15: keyboard

16,17 : 8진 버스 트랜시버 18 : 래치 레지스터16,17: octal bus transceiver 18: latch register

상기한 바와 같은 목적을 달성하기 위한 본 발명에 따른 위치 제어방법은, 기계의 위치 변화에 따른 복수의 인크리멘탈 샤프트 엔코더와 압솔러트 샤프트 엔코더의 입력에 따라 멀티플렉서를 인에이블 혹은 언인에이블시키게 되는 제1단계와, 상기 인크리멘탈 샤프트 엔코더로부터 거리 데이터 입력시 압솔러트 어드레스를 다운로딩한 후 CAM 데이터를 출력하고 상기 압솔러트 샤프트 엔코더로부터 거리 데이터 입력시 CAM 데이터를 출력한 후 래치 슈미트 트리거를 구동시키게 되는 제2단계와, 상기 복수의 인크리멘탈 샤프트 엔코더로부터의 거리 데이터에 의해 기계의 위치변화를 검출하고 슈미트 트리거를 구동시켜 검출된 거리 데이터를 마이크로 프로세서에 의해 어드레스를 지정하여 멀티플렉서에 제공하는 제3단계와, 래치 슈미트 트리거를 구동시킨 후 상기 인크리멘탈 샤프트 엔코더로부터의 거리 데이터에 변화가 있는 지를 확인하는 제4단계 및 거리 데이터에 변화가 없거나 현재의 거리 데이터와 메모리 EEPROM(Electrically Erasable and Programmable ROM)에 저장된 거리 데이터가 동일시 상기 제3단계를 반복하고 현재의 거리 데이터가 메모리 EEPROM에 저장된 거리 데이터와 다르게 검출시 현재의 거리 데이터를 메모리 EEPROM에 저장하는 제5단계를 포함하는 것을 특징으로 한다.The position control method according to the present invention for achieving the above object is to enable or disable the multiplexer according to the input of the plurality of incremental shaft encoder and the absolute shaft encoder according to the position change of the machine. Step 1, after downloading the absolut address when the distance data is input from the incremental shaft encoder, outputting the CAM data, and outputting the CAM data when the distance data is input from the absolut shaft encoder, to drive the latch schmitt trigger. And a second step of detecting a position change of the machine by the distance data from the plurality of incremental shaft encoders and driving a Schmitt trigger to address the detected distance data by a microprocessor to the multiplexer. Step 3, Drive the Latch Schmitt Trigger A fourth step of checking whether there is a change in the distance data from the incremental shaft encoder after turning on, and if there is no change in the distance data or the distance data stored in the memory EEPROM (Electrically Erasable and Programmable ROM) is the same And repeating the third step and storing the current distance data in the memory EEPROM when the current distance data is detected differently from the distance data stored in the memory EEPROM.

이러한 위치 제어방법 중 CAM 데이터를 저장하는 방법은, CAM 데이터 입력 모드시 키 입력에 따라 정지 및 시작 어드레스를 설정하는 제1단계와, 8진 버스 트랜시버 1,2에 의해 메모리 EEPROM으로부터 CAM 데이터를 추출(fetch)하여 마이크로 프로세서에 비트상태로 셋팅하는 제2단계 및 상기 시작 어드레스가 증가되어 정지 어드레스와 같게 되기까지 상기 8진 버스 트랜시버2,1에 의해 CAM 데이터를 로딩하여 메모리 EEPROM에 저장하는 제3단계를 포함하는 것을 특징으로 한다.Among the position control methods, a method of storing CAM data includes a first step of setting a stop and start address according to a key input in the CAM data input mode, and extracting the CAM data from the memory EEPROM by the octal bus transceiver 1,2. a second step of fetching and setting the bit state in the microprocessor and a third step of loading the CAM data by the octal bus transceivers 2 and 1 and storing it in the memory EEPROM until the start address is increased to be equal to the stop address. Characterized in that it comprises a step.

이러한 위치 제어방법 중 CAM 데이터를 저장하는 방법은, CAM 데이터 입력 모드시 키 입력에 따라 정지 및 시작 어드레스를 설정하는 제1단계와, 8진 버스 트랜시버1,2에 의해 메모리 EEPROM으로부터 CAM 데이터를 추출(fetch)하여 마이크로 프로세서에 비트상태로 셋팅하는 제2단계 및 상기 시작 어드레스가 증가되어 정지 어드레스와 같게 되기까지 상기 8진 버스 트랜시버2,1에 의해 CAM 데이터를 로딩하여 메모리 EEPROM에 저장하는 제3단계를 포함하는 것을 특징으로 한다.Among the position control methods, a method of storing CAM data includes a first step of setting a stop and start address according to a key input in the CAM data input mode, and extracting CAM data from the memory EEPROM by an octal bus transceiver 1,2. a second step of fetching and setting the bit state in the microprocessor and a third step of loading the CAM data by the octal bus transceivers 2 and 1 and storing it in the memory EEPROM until the start address is increased to be equal to the stop address. Characterized in that it comprises a step.

상기한 바와 같은 제어방법을 달성하기 위한 제어시스템은, 기계의 위치 이동에 따른 거리를 검출하여 소정의 신호로 변환한 후 마이크로 프로세서와 주변 하드웨어의 제어로 CAM 데이터 생성부의 어드레스 생성회로 및 제2 멀티플렉서에 선택적으로 공급하는 위치 검출 및 변환수단과, 외부 입력에 따라 정해진 위치에서 동작하기 위한 것을 검출 확인하는 CAD 데이터가 저장되어 있으며 공작물을 가공하기 위한 CAM 데이터 생성부에서의 CAM 데이터의 정정과 저장 및 생성을 제어하는 마이크로 프로세서 및 상기 마이크로 프로세서의 CAD 데이터를 기초로 상기 위치 검출 및변환수단의 거리 데이터에 대응되게 CAM 데이터로 정정 및 저장하고 CAM 출력단을 통해 생성된 CAM 데이터를 병렬로 출력하는 CAM 데이터 생성부를 포함하는 것을 특징으로 한다.The control system for achieving the control method as described above detects the distance according to the positional movement of the machine, converts the signal into a predetermined signal, and then controls the microprocessor and the peripheral hardware to generate the address generation circuit and the second multiplexer of the CAM data generator. A position detecting and converting means for selectively supplying the data, and CAD data for detecting and confirming to operate at a predetermined position according to an external input, and correcting and storing the CAM data in a CAM data generating unit for processing a workpiece. CAM data for correcting and storing CAM data corresponding to the distance data of the position detecting and converting means based on the microprocessor controlling generation and CAD data of the microprocessor and outputting the CAM data generated through the CAM output in parallel. Characterized in that it comprises a generator.

여기서, 위치 검출 및 변환수단은, 직선 위치에서의 현재위치에서 목표 위치까지의 좌표값이 증분(增分)으로 기계 이동을 검출하여 전송(傳送)을 위한 신호로 변환하는 복수의 인크리멘탈 샤프트 엔코더와, 상기 마이크로 프로세서의 인에이블 혹은 언인에이블신호에 의해 상기 복수의 인크리멘탈 샤프트 엔코더의 거리 데이터를 선택하는 제1 멀티플렉서와, 상기 제1 멀티플렉서를 통한 거리 데이터를 소정의 신호로 변환하여 어드레스 생성회로에 공급하는 제1 슈미트 트리거와, 어느 하나의 좌표계에서 공통의 원점 또는 기선으로부터 기계 위치까지의 거리를 검출하여 전송을 위한 신호로 변환하는 압솔러트 샤프트 엔코더 및 상기 압솔러트 샤프트 엔코더의 거리 데이터를 보정한 후 제2 멀티플렉서에 공급하는 제2 슈미트 트리거로 구성하는 것이 바람직하다.Here, the position detecting and converting means includes a plurality of incremental shafts in which coordinate values from the current position to the target position in the linear position are incrementally detected and converted into a signal for transmission. A first multiplexer which selects distance data of the plurality of incremental shaft encoders by an encoder, an enable or unenable signal of the microprocessor, and converts the distance data through the first multiplexer into a predetermined signal The first Schmitt trigger supplied to the generation circuit and the pressure data of the absolute shaft encoder and the absolute data of the absolute encoder, which detects the distance from the common origin or baseline to the machine position in any one coordinate system and converts it into a signal for transmission. Is configured as a second Schmitt trigger that supplies the second multiplexer after Is recommended.

그리고, CAM 데이터 생성부는, 상기 마이크로 프로세서의 제어로 제2 슈미트 트리거로부터의 거리 데이터에 어드레스를 부여하여 제2 멀티플렉서에 제공하는 어드레스 생성회로와, 상기 마이크로 프로세서의 제어로 인에이블되어 상기 제1 슈미트 트리거와 어드레스 생성회로부터의 거리 데이터를 선택적으로 마이크로 프로세서와 메모리 EEPROM에 제공하는 제 2멀티플렉서와, 상기 제2 멀티플렉서로부터의 거리 데이터를 래치 슈미트 트리거를 통해 CAM 출력단으로 출력하는 한편 8진 버스 트랜시버1에 제공하는 메모리 EEPROM 및 상기 마이크로 프로세서의 제어로 메모리 EEPROM로부터 거리 데이터를 추출하여 로딩한 후 래치 레지스터를 통해 CAM 출력단으로 출력하는 8진 버스 트랜시버1,2로 구성되는 것이 바람직하다.The CAM data generating unit includes an address generation circuit which gives an address to the distance data from the second Schmitt trigger under the control of the microprocessor and provides the address to the second multiplexer, and is enabled by the control of the microprocessor to enable the first Schmitt. A second multiplexer that selectively provides distance data from the trigger and address generation circuit to the microprocessor and memory EEPROM, and outputs the distance data from the second multiplexer to the CAM output via a latch schmitt trigger, while an octal bus transceiver1 The memory EEPROM and the microprocessor are controlled by the microprocessor. The distance data is extracted from the memory EEPROM, and is preferably configured as an octal bus transceiver 1, 2 which outputs to the CAM output through a latch register.

이하, 본 발명의 바람직한 일 실시예를 예시도면과 함께 보다 상세히 설명하면 다음과 같다.Hereinafter, a preferred embodiment of the present invention will be described in more detail with an exemplary drawing.

본 발명은 도1에 도시한 것처럼, 위치 검출 및 변환수단과 마이크로 프로세서(12) 그리고 CAM 데이터 생성부 등으로 나뉜다.As shown in FIG. 1, the present invention is divided into a position detecting and converting means, a microprocessor 12, and a CAM data generating unit.

위의 위치 검출 및 변환수단에는 기계의 위치 이동에 따른 거리를 검출하는 두 개의 인크리멘탈 샤프트 엔코더(1)(2)(incremantal shaft encoder)와 하나의 압솔러트 샤프트 엔코더(3)(absolute shaft encoder)가 구비되어 있다.The above position detecting and converting means includes two incremental shaft encoders (1) and (2) (incremantal shaft encoder) for detecting the distance according to the positional movement of the machine, and one absolute shaft encoder (3). ) Is provided.

여기서, 두 개의 인크리멘탈 샤프트 엔코더(1)(2)는 직선 위치에서의 현재위치에서 목표 위치까지의 좌표값이 증분(增分)으로 기계 이동을 검출하여 전송(傳送)을 위한 신호로 변환하고, 하나의 압솔러트 샤프트 엔코더(3)는 어느 하나의 좌표계에서 공통의 원점 또는 기선으로부터 기계 위치까지의 거리를 검출하여 전송을 위한 신호로 변환하는 기능을 가진다.Here, the two incremental shaft encoders (1) and (2) detect the machine movement in increments from the current position to the target position in the linear position and convert it into a signal for transmission. In addition, the single absolute shaft encoder 3 has a function of detecting a distance from a common origin or base line to a machine position in any one coordinate system and converting it into a signal for transmission.

위의 두 개의 인크리멘탈 샤프트 엔코더(1)(2)에는 마이크로 프로세서(12)(micro processor)로부터의 인에이블(enable) 혹은 언인에이블(unenable)신호에 의해 구동되어 두 개의 인크리멘탈 샤프트 엔코더(1)(2)로부터 출력되는 거리 데이터를 슈미트 트리거(5)(schmitt trigger)에 제공하기 위한 멀티플렉서(4)(multiplexers)가 접속되어 있으며, 이 슈미트 트리거(5)는 멀티플렉서(4)로부터 공급된 거리 데이터를 소정의 신호로 변환하여 어드레스 생성회로(7)에 공급하도록 구성되어 있다.The above two incremental shaft encoders (1) and (2) are driven by an enable or unenable signal from a microprocessor (12) to drive two incremental shaft encoders. (1) A multiplexer (4) is provided for providing the distance data output from the (2) to the Schmitt trigger (5). The Schmitt trigger (5) is supplied from the multiplexer (4). The distance data is converted into a predetermined signal and supplied to the address generation circuit 7.

그리고, 압솔러트 샤프트 엔코더(3)에는 슈미트 트리거(6)가 접속되어 있는 데, 이 슈미트 트리거(6)는 압솔러트 샤프트 엔코더(3)로부터 출력되는 거리 데이터를 소정의 신호로 변환하여 멀티플렉서(8)에 공급하도록 구성되어 있다.In addition, a Schmitt trigger 6 is connected to the absolut shaft encoder 3, which converts the distance data output from the absolut shaft encoder 3 into a predetermined signal and multiplexer 8 It is configured to supply).

이렇게 멀티플렉서(4)에 인에이블 혹은 언인에이블신호를 출력하는 마이크로 프로세서(12)에는 키보드(15) 등의 외부 입력에 따라 공작물을 소정의 형상으로 가공하기 위한 CAD 데이터가 저장되어 있으며, 이 마이크로 프로세서(12)는 공작물을 가공하기 위한 CAM 데이터의 정정과 저장 및 생성을 제어하는 한편 LED 디스플레이(13)와 세그먼트 디스플레이(14)를 구동시켜 현재상태가 표시되도록 한다.In this way, the microprocessor 12 that outputs the enable or disable signal to the multiplexer 4 stores CAD data for machining the workpiece into a predetermined shape according to an external input such as a keyboard 15. (12) controls the correction, storage and generation of CAM data for processing the workpiece while driving the LED display 13 and the segment display 14 so that the current state is displayed.

마지막으로 CAM 데이터 생성부는 마이크로 프로세서(12)의 CAD 데이터를 기초로 위치 검출 및 변환수단의 거리 데이터에 대응되게 CAM 데이터로 정정 및 저장하고 CAM 출력단(11)으로 CAM 데이터를 병렬로 출력하는 데, 이는 어드레스 생성회로(7)와 멀티플렉서(8), 메모리 EEPROM(Electrically Erasable and Programmable ROM, 기록된 내용을 전기적인 방법으로 지우고 새로운 내용을 PROM 라이터(PROM(Programmable Read-Only Memory) writer)를 사용하여 써 넣을 수 있는 ROM을 말한다.)(9), 래치 슈미트 트리거(10)(latch schmitt trigger), 8진 버스 트랜스버(16)(17)(octal bus transceivers) 그리고 래치 레지스터(18) (latch resister) 등으로 구성되어 있다. 여기서, 'PROM 라이터'라 함은 PROM에 정보를 기록하기 위해 사용되는 장치로서 일반적인 PROM 라이터는 16진 키보드, 액정 표시판, RS-232C, PROM 소켓 등으로 구성되고, 데이터의 기록방법은 PROM의 종류에 따라 다르므로 범용 PROM 라이터는 어댑터를 교체하여 여러 종류의 PROM에 대처할 수 있도록 되어있다.Finally, the CAM data generation unit corrects and stores the CAM data corresponding to the distance data of the position detecting and converting means based on the CAD data of the microprocessor 12, and outputs the CAM data in parallel to the CAM output terminal 11. It uses an address generation circuit (7), a multiplexer (8), memory EEPROM (Electrically Erasable and Programmable ROM), and electronically erases the recorded contents and uses a PROM writer (PROM (Programmable Read-Only Memory) writer). (9), latch schmitt trigger (10), octal bus transceivers (16) (17) (octal bus transceivers), and latch registers (18) (latch resister). ) And the like. Here, the 'PROM writer' is a device used to record information in the PROM. A general PROM writer is composed of a hexadecimal keyboard, a liquid crystal panel, an RS-232C, a PROM socket, and the like. As it depends on the general purpose PROM writer, it is possible to replace the adapter to cope with various types of PROM.

보다 상세하게는 어드레스 생성회로(7)는 마이크로 프로세서(12)의 제어로 슈미트 트리거(5)로부터 공급되는 거리 데이터에 어드레스를 부여하여 멀티플렉서(8)에 제공할 수 있도록 연결되어 있고, 이 멀티플렉서(8)는 마이크로 프로세서(12)의 제어로 인에이블되어 슈미트 트리거(6)와 어드레스 생성회로(7)부터 공급되는 거리 데이터를 마이크로 프로세서(12)와 메모리 EEPROM(9)에 선택적으로 제공할 수 있도록 연결되어 있다.More specifically, the address generation circuit 7 is connected to give the multiplexer 8 an address to the distance data supplied from the Schmitt trigger 5 under the control of the microprocessor 12, and the multiplexer ( 8) is enabled under the control of the microprocessor 12 so that the distance data supplied from the Schmitt trigger 6 and the address generation circuit 7 can be selectively provided to the microprocessor 12 and the memory EEPROM 9. It is connected.

그리고, 메모리 EEPROM(9)은 멀티플렉서(8)로부터 공급되는 거리 데이터를 래치 슈미트 트리거(10)를 통해 CAM 출력단(11)으로 출력하는 한편 8진 버스 트랜시버(16)에 제공하고, 8진 버스 트랜시버(16)(17)는 마이크로 프로세서(12)의 제어로 메모리 EEPROM(9)으로부터 거리 데이터를 추출하여 로딩한 후 래치 레지스터(8)를 통해 CAM 출력단(11)으로 출력하도록 접속되어 있다.The memory EEPROM 9 outputs the distance data supplied from the multiplexer 8 to the CAM output terminal 11 through the latch schmitt trigger 10 and provides the octal bus transceiver 16 with the octal bus transceiver 16. (16) and (17) are connected to extract the distance data from the memory EEPROM (9) under the control of the microprocessor (12), and then load the data to the CAM output terminal (11) through the latch register (8).

본 발명의 동작을 도1 내지 도4에 의해 설명하는 데, 우선 도1과 도2에 의해 공작기계에서의 위치 제어시스템에 의한 제어동작을 설명한다.1 to 4, the operation of the position control system in the machine tool will be described first with reference to Figs.

마이크로 프로세서(12)는 두 개의 인크리멘탈 샤프트 엔코더(1)(2)의 출력을 감시(S111)(S113)하여 특정 인크리멘탈 샤프트 엔코더로부터 거리 데이터가 출력되는 경우 멀티플렉서(4)를 인에이블 혹은 언인에이블시켜 해당 인크리멘탈 샤프트 엔코더의 거리 데이터가 슈미트 트리거(5)에 공급되도록 한다(S112)(S114).The microprocessor 12 monitors the outputs of the two incremental shaft encoders 1 and 2 (S111) (S113) to enable the multiplexer 4 when the distance data is output from a particular incremental shaft encoder. Alternatively, by enabling the distance data of the corresponding incremental shaft encoder to be supplied to the Schmitt trigger (5) (S112) (S114).

하지만, 어느 하나의 인크리멘탈 샤프트 엔코더로부터 거리 데이터가 출력되지 않는 경우 마이크로 프로세서(12)는 압솔러트 샤프트 엔코더(3)의 출력을 감시(S115)한다. 그리고, 압솔러트 샤프트 엔코더(3)로부터 거리 데이터가 출력되어 슈미트 트리거(6)를 통해 멀티플렉서(8)에 공급되면, 마이크로 프로세서(12)는 멀티플렉서(8)를 인에이블(S116)시켜 압솔러트 샤프트 엔코더(3)로부터 출력된 거리 데이터가 메모리 EEPROM(9)과 래치 슈미트 트리거(10)를 통해 CAM 출력단(11)을 통해 CAM 데이터로 출력(S117)되도록 한 후 래치 슈미트 트리거(10)를 구동시킨다.However, when the distance data is not output from any of the incremental shaft encoders, the microprocessor 12 monitors the output of the absolut shaft encoder 3 (S115). Then, when distance data is output from the absolut shaft encoder 3 and supplied to the multiplexer 8 through the Schmitt trigger 6, the microprocessor 12 enables the multiplexer 8 (S116) to the absolut shaft. The distance data output from the encoder 3 is outputted as CAM data (S117) through the CAM output terminal 11 through the memory EEPROM 9 and the latch schmitt trigger 10, and then the latch schmitt trigger 10 is driven. .

또한, 위에서 멀티플렉서(4)를 인에이블 혹은 언인에이블시켜 인크리멘탈 샤프트엔코더(1)(2)로부터 출력된 거리 데이터가 슈미트 트리거(5)를 통해 어드레스 생성회로(7)에 공급되도록 한 마이크로 프로세서(12)는 압솔러트 어드레스를 다운 로딩(down loading)(S119) 한 후 CAM 출력단(11)으로 CAM 데이터를 출력한다(S120).In addition, the microprocessor enables or disables the multiplexer 4 from above so that the distance data output from the incremental shaft encoder 1 or 2 is supplied to the address generation circuit 7 through the Schmitt trigger 5. 12 outputs the CAM data to the CAM output terminal 11 after down loading (S119) the absolut address (S120).

그리고, 마이크로 프로세서(12)는 인크리멘탈 샤프트 엔코더(1)(2)의 거리 데이터에 의해 기계의 위치가 변화하였는 지를 검출(S121)하고, 슈미트 트리거(5)를 통한(S122) 거리 데이터가 어드레스 생성회로(7)에 공급되면 이에 어드레스를 부여(S123)하여 멀티플렉서(8)를 통해 메모리 EEPROM(9)에 제공한 후 래치 슈미트 트리거(10)를 구동시킨다(S124).Then, the microprocessor 12 detects whether the position of the machine is changed by the distance data of the incremental shaft encoder (1) (2) (S121), and the distance data through the Schmitt trigger (5) (S122) When supplied to the address generation circuit 7, an address is assigned to the address generating circuit 7 (S123), the memory EEPROM 9 is provided through the multiplexer 8, and the latch schmitt trigger 10 is driven (S124).

그리고 나서, 마이크로 프로세서(12)는 인크리멘탈 샤프트 엔코더(1)(2)에 의해 검출되는 거리 데이터에 변화가 있으며, 이 변화된 거리 데이터가 메모리 EEPROM(9)에 저장된 거리 데이터와 동일(S125)(S126)하지 않은 경우 이를 메모리 EEPROM(9)에 새롭게 저장(S127)하지만, 거리 데이터에 변화가 없거나 현재의 거리 데이터와 메모리 EEPROM(9)에 저장된 거리 데이터가 동일한 경우 위의 단계(S120∼S127)를 반복한다.Then, the microprocessor 12 has a change in the distance data detected by the incremental shaft encoder 1, 2, and this changed distance data is the same as the distance data stored in the memory EEPROM 9 (S125). If not (S126), this is newly stored in the memory EEPROM (9) (S127), but if there is no change in the distance data or the distance data stored in the memory EEPROM (9) is the same, the above steps (S120 to S127) Repeat).

도3은 공작물을 가공하기 위한 CAM 데이터를 입력하는 입력(저장)모드를 설명하기 위한 흐름도로서, 키보드(15)의 조작으로 CAM 데이터를 입력하기 위한 입력모드가 설정(S311)되면 마이크로 프로세서(12)는 정지 어드레스(stop adress)와 시작 어드레스(start adress)를 설정한다(S312)(S313).FIG. 3 is a flowchart for explaining an input (storage) mode for inputting CAM data for processing a workpiece. When the input mode for inputting CAM data is set (S311) by operation of the keyboard 15, the microprocessor 12 ) Sets a stop address and a start address (S312) (S313).

이렇게 정지 및 시작 어드레스가 설정되고 나면, 8진 버스 트랜시버1,2(16)(17)는 메모리 EEPROM(9)으로부터 CAM 데이터를 순차적으로 추출(fetch)한 후 마이크로 프로세서(12)에 비트(bit)상태로 셋팅(setting)한다(S314)(S315)(S316).After the stop and start addresses are set, the octal bus transceivers 1, 2, 16 and 17 sequentially fetch the CAM data from the memory EEPROM 9 and then bit the microprocessor 12. (S314) (S315) (S316).

그리고 나서, 8진 버스 트랜스버2,1(17)(16)은 다시 CAM 데이터를 순차적으로 로딩(S317)(S318)한 후 메모리 EEPROM(9)에 저장한다(S320).Then, the octal bus transversal 2, 1 (17) 16 again loads the CAM data sequentially (S317) (S318) and stores it in the memory EEPROM (9) (S320).

이렇게 로딩된 CAM 데이터를 메모리 EEPROM(9)에 저장한 후 마이크로 프로세서(12)는 위에서 설정한 시작 어드레스가 정지 어드레스와 동일한 지를 확인(S320)하여, 시작 어드레스와 정지 어드레스가 동일하면 입력모드를 완료하지만 시작 어드레스와 정지 어드레스가 동일하지 않으면 시작 어드레스를 하나 증가(S321)시킨 후 다시 시작 어드레스와 정지 어드레스가 같게 되기까지 단계(S315∼S320)를 실행하여 CAM 데이터를 추출 및 로딩하는 동작을 반복한다.After storing the loaded CAM data in the memory EEPROM 9, the microprocessor 12 checks whether the start address set above is the same as the stop address (S320), and if the start address and the stop address are the same, the input mode is completed. However, if the start address and the stop address are not the same, the start address is increased by one (S321), and steps S315 to S320 are executed again to extract and load the CAM data until the start address and the stop address are the same. .

도4는 정해진 위치에서 동작하기 위한 것을 검출 확인하는 CAM 데이터를 정정하는 정정모드를 설명하기 위한 흐름도로서, 키보드(15)의 조작으로 CAM 데이터를 정정하기 위한 정정모드가 설정(S411)되면, 마이크로 프로세서(12)는 공작물을 가공하기 위한 기계의 정위치에 대한 CAM 데이터를 추출한다(S412). 이어서, 마이크로 프로세서(12)는 추출된 정위치에 대한 CAM 데이터와 인크리멘탈 및 압솔러트 샤프트 엔코더(1)(2)(3)에 의해 검출(S413)되는 현재 위치에 대한 CAM 데이터를 인지한 후 각 CAM 데이터의 오차를 연산한다.4 is a flowchart for explaining a correction mode for correcting CAM data for detecting and confirming operation for a predetermined position. When the correction mode for correcting CAM data is set by operation of the keyboard 15 (S411), The processor 12 extracts CAM data for the exact position of the machine for processing the workpiece (S412). The microprocessor 12 then recognizes the CAM data for the extracted exact position and the CAM data for the current position detected (S413) by the incremental and absolut shaft encoders (1) (2) (3). The error of each CAM data is then calculated.

그리고, 마이크로 프로세서(12)는 오차가 "0"인지를 확인(S414)하여 오차가 "0"으로 판정되는 경우 현위치에 대한 CAM 데이터의 변화가 없는 것으로 판정(S415)한다. 하지만, 오차가 (+)로 판정(S416)되는 경우 마이크로 프로세서(12)는 반복오차의 (+) 평균값을 연산(S417)하여 오차값으로 설정(S420)하고, 오차가 (-)로 판정(S418)되는 경우 마이크로 프로세서(12)는 반복오차의 (-) 평균값을 연산(S419)하여 오차값으로 설정(S420)한다.Then, the microprocessor 12 checks whether the error is "0" (S414) and determines that there is no change in the CAM data with respect to the current position when the error is determined to be "0" (S415). However, when the error is determined to be positive (S416), the microprocessor 12 calculates the positive average value of the repetition error (S417), sets the error value (S420), and determines the error to be negative (( In operation S418, the microprocessor 12 calculates a negative average value of the repetition error (S419) and sets the error value (S420).

그리고 나서, 마이크로 프로세서(12)는 위의 단계(S415)(S420)에서의 오차값이 허용 오차범위인 지를 확인(S421)하여, 허용 오차범위를 벗어나는 경우 위의 단계(S411∼S420)를 반복해서 실행하지만, 허용 오차범위를 벗어나지 않은 경우 보정된 CAM 데이터를 출력한(S422) 후 단계(S411∼S420)를 다시 반복해서 실행한다.Then, the microprocessor 12 checks whether the error value in the above step (S415) (S420) is the allowable error range (S421), and repeats the above steps (S411 to S420) when it is out of the allowable error range. If it does not deviate from the allowable error range, the corrected CAM data is output (S422), and then steps S411 to S420 are repeatedly executed.

본 발명에 의하면, 측정 대상 기계헤드의 상대 운동 및 위치를 인크리멘탈 및 압솔러트 샤프트 엔코더로 검출한 후 목표위치와 현재위치와의 차이값에서 정해진 위치에서 동작하는 것을 검출 확인하는 CAM 데이터를 연산 출력함으로써 릴레이나 전자밸브 모터, 전자 클러치 등의 구동용 부하나 파일럿 램프나 디지털 표시기 등의 표시부하 등의 고속화, 고정밀화, 확장성 등을 개선할 수 있는 효과가 있다.According to the present invention, the relative motion and position of the measuring machine head are detected by the incremental and absolut shaft encoder, and then the CAM data for detecting and confirming that the target position and the current position are operated at a predetermined position is calculated. By outputting, it is possible to improve the speed, high precision, and expandability of driving loads such as relays, solenoid valve motors, electromagnetic clutches, and display loads such as pilot lamps and digital displays.

이상에서 본 발명은 기재된 구체예에 대해서만 상세히 설명되었지만 본 발명의 기술 사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.Although the present invention has been described in detail only with respect to the described embodiments, it will be apparent to those skilled in the art that various modifications and variations are possible within the spirit of the present invention, and such modifications and modifications belong to the appended claims.

Claims (6)

기계의 위치 변화에 따른 복수의 인크리멘탈 샤프트 엔코더와 압솔러트 샤프트 엔코더의 입력에 따라 멀티플렉서를 인에이블 혹은 언인에이블시키게 되는 제1단계;A first step of enabling or disabling the multiplexer according to the input of the plurality of incremental shaft encoders and the absolut shaft encoder according to the change of the position of the machine; 상기 인크리멘탈 샤프트 엔코더로부터 거리 데이터 입력시 압솔러트 어드레스를 다운로딩한 후 CAM 데이터를 출력하고 상기 압솔러트 샤프트 엔코더로부터 거리 데이터 입력시 CAM 데이터를 출력한 후 래치 슈미트 트리거를 구동시키게 되는 제2단계;A second step of downloading the absolut address when the distance data is input from the incremental shaft encoder and then outputting the CAM data and then outputting the CAM data when the distance data is input from the absolut shaft encoder and driving a latch schmitt trigger ; 상기 복수의 인크리멘탈 샤프트 엔코더로부터의 거리 데이터에 의해 기계의 위치변화를 검출하고 슈미트 트리거를 구동시켜 검출된 거리 데이터를 마이크로 프로세서에 의해 어드레스를 지정하여 멀티플렉서에 제공하는 제3단계;Detecting a change in the position of the machine by the distance data from the plurality of incremental shaft encoders and driving a Schmitt trigger to address the detected distance data by a microprocessor to the multiplexer; 래치 슈미트 트리거를 구동시킨 후 상기 인크리멘탈 샤프트 엔코더로부터의 거리 데이터에 변화가 있는 지를 확인하는 제4단계; 및A fourth step of driving a latch schmitt trigger to determine whether there is a change in distance data from the incremental shaft encoder; And 거리 데이터에 변화가 없거나 현재의 거리 데이터와 메모리 EEPROM(Electrically Erasable and Programmable ROM)에 저장된 거리 데이터가 동일시 상기 제3단계를 반복하고 현재의 거리 데이터가 메모리 EEPROM에 저장된 거리 데이터와 다르게 검출시 현재의 거리 데이터를 메모리 EEPROM에 저장하는 제5단계;If the distance data is not changed or the current distance data and the distance data stored in the memory EEPROM (Electrically Erasable and Programmable ROM) are the same, the third step is repeated and the current distance data is different from the distance data stored in the memory EEPROM. A fifth step of storing distance data in a memory EEPROM; 를 포함하는 것을 특징으로 하는 위치 제어방법.Position control method comprising a. CAM 데이터 입력 모드시 키 입력에 따라 정지 및 시작 어드레스를 설정하는 제1단계;Setting a stop and start address according to a key input in the CAM data input mode; 8진 버스 트랜시버1,2에 의해 메모리 EEPROM으로부터 CAM 데이터를 추출(fetch)하여 마이크로 프로세서에 비트상태로 셋팅하는 제2단계; 및A second step of fetching CAM data from the memory EEPROM by the octal bus transceivers 1 and 2 and setting the bit state to the microprocessor; And 상기 시작 어드레스가 증가되어 정지 어드레스와 같게 되기까지 상기 8진 버스 트랜시버2,1에 의해 CAM 데이터를 로딩하여 메모리 EEPROM에 저장하는 제3단계;A third step of loading CAM data by the octal bus transceivers 2 and 1 and storing them in a memory EEPROM until the start address is increased to be equal to a stop address; 를 포함하는 것을 특징으로 하는 위치 제어방법.Position control method comprising a. 정정 모드시 정위치에 대한 CAM 데이터와 인크리멘탈 및 압솔러트 샤프트 엔코더에 의해 검출되는 현재 위치에 대한 CAM 데이터와의 오차값을 구하는 제1단계;A first step of obtaining an error value between the CAM data for the correct position and the CAM data for the current position detected by the incremental and absolut shaft encoder in the correction mode; 상기 오차값이 (+) 혹은 (-)값인지를 확인하고 이 반복오차의 (+) 혹은 (-)의 평균값을 구하는 제2단계; 및A second step of checking whether the error value is a positive value or a negative value and obtaining an average value of the positive or negative repetition errors; And 상기 (+) 혹은 (-)의 평균값에 의한 오차값을 설정하고 이 오차값이 허용 오차범위에 접근하기까지 상기 정위치에 대한 CAM 데이터를 보정한 CAM 데이터를 출력하는 제3단계;A third step of setting an error value based on the mean value of (+) or (-) and outputting CAM data correcting the CAM data for the exact position until the error value approaches an allowable error range; 를 포함하는 것을 특징으로 하는 위치 제어방법.Position control method comprising a. 기계의 위치 이동에 따른 거리를 검출하여 소정의 신호로 변환한 후 마이크로 프로세서와 주변 하드웨어의 제어로 CAM 데이터 생성부의 어드레스 생성회로 및 제2 멀티플렉서에 선택적으로 공급하는 위치 검출 및 변환수단;A position detecting and converting means for detecting the distance according to the positional movement of the machine and converting the predetermined signal into a predetermined signal, and selectively supplying the address generation circuit and the second multiplexer to the CAM data generation unit under control of the microprocessor and peripheral hardware; 정해진 위치에서 동작하기 위한 것을 검출 확인하는 CAD 데이터가 저장되어 있으며 공작물을 가공하기 위한 CAM 데이터 생성부에서의 CAM 데이터의 정정과 저장 및 생성을 제어하는 마이크로 프로세서; 및A microprocessor for storing and confirming CAD data for detecting and confirming to operate at a predetermined position, and controlling correction, storage, and generation of CAM data in a CAM data generation unit for processing a workpiece; And 상기 마이크로 프로세서의 CAD 데이터를 기초로 상기 위치 검출 및 변환수단의 거리 데이터에 대응되게 CAM 데이터로 정정 및 저장하고 CAM 출력단을 통해 생성된 CAM 데이터를 병렬로 출력하는 CAM 데이터 생성부;A CAM data generation unit for correcting and storing CAM data corresponding to the distance data of the position detecting and converting means based on the CAD data of the microprocessor, and outputting the CAM data generated through the CAM output terminal in parallel; 를 포함하는 것을 특징으로 하는 위치 제어시스템.Position control system comprising a. 제4항에 있어서,The method of claim 4, wherein 상기 위치 검출 및 변환수단은, 직선 위치에서의 현재위치에서 목표 위치까지의 좌표값이 증분(增分)으로 기계 이동을 검출하여 전송(傳送)을 위한 신호로 변환하는 복수의 인크리멘탈 샤프트 엔코더;The position detecting and converting means includes a plurality of incremental shaft encoders in which the coordinate values from the current position to the target position in the linear position are detected in increments and converted into signals for transmission. ; 상기 마이크로 프로세서의 인에이블 혹은 언인에이블신호에 의해 상기 복수의 인크리멘탈 샤프트 엔코더의 거리 데이터를 선택하는 제1 멀티플렉서;A first multiplexer for selecting distance data of the plurality of incremental shaft encoders according to an enable or disable signal of the microprocessor; 상기 제1 멀티플렉서를 통한 거리 데이터를 소정의 신호로 변환하여 어드레스 생성회로에 공급하는 제1 슈미트 트리거;A first Schmitt trigger converting the distance data through the first multiplexer into a predetermined signal and supplying it to an address generation circuit; 어느 하나의 좌표계에서 공통의 원점 또는 기선으로부터 기계 위치까지의 거리를 검출하여 전송을 위한 신호로 변환하는 압솔러트 샤프트 엔코더; 및An absolut shaft encoder for detecting a distance from a common origin or base line to a machine position in one coordinate system and converting the signal into a signal for transmission; And 상기 압솔러트 샤프트 엔코더의 거리 데이터를 보정한 후 제2 멀티플렉서에 공급하는 제2 슈미트 트리거;A second Schmitt trigger for correcting the distance data of the absolut shaft encoder and supplying it to a second multiplexer; 를 포함하는 것을 특징으로 하는 상기 위치 제어시스템.The position control system comprising a. 제4항에 있어서,The method of claim 4, wherein 상기 CAM 데이터 생성부는, 상기 마이크로 프로세서의 제어로 제2 슈미트 트리거로부터의 거리 데이터에 어드레스를 부여하여 제2 멀티플렉서에 제공하는 어드레스 생성회로;The CAM data generation unit may include: an address generation circuit configured to give an address to the distance data from the second Schmitt trigger under the control of the microprocessor and provide the address to the second multiplexer; 상기 마이크로 프로세서의 제어로 인에이블되어 상기 제1 슈미트 트리거와 어드레스 생성회로부터의 거리 데이터를 선택적으로 마이크로 프로세서와 메모리 EEPROM에 제공하는 제 2멀티플렉서;A second multiplexer enabled under the control of the microprocessor to selectively provide distance data from the first Schmitt trigger and address generation event to the microprocessor and memory EEPROM; 상기 제2 멀티플렉서로부터의 거리 데이터를 래치 슈미트 트리거를 통해 CAM 출력단으로 출력하는 한편 8진 버스 트랜시버1에 제공하는 메모리 EEPROM; 및A memory EEPROM for outputting distance data from the second multiplexer to the CAM output terminal via a latch schmitt trigger and providing the octal bus transceiver 1; And 상기 마이크로 프로세서의 제어로 메모리 EEPROM으로부터 거리 데이터를 추출하여 로딩한 후 래치 레지스터를 통해 CAM 출력단으로 출력하는 8진 버스 트랜시버1,2;An octal bus transceiver 1, 2 for extracting and loading distance data from a memory EEPROM under the control of the microprocessor and outputting the distance data to a CAM output terminal through a latch register; 를 포함하는 것을 특징으로 하는 상기 위치 제어시스템.The position control system comprising a.
KR10-2000-0020413A 2000-04-18 2000-04-18 Position control method and position control system KR100377332B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0020413A KR100377332B1 (en) 2000-04-18 2000-04-18 Position control method and position control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0020413A KR100377332B1 (en) 2000-04-18 2000-04-18 Position control method and position control system

Publications (2)

Publication Number Publication Date
KR20000037326A KR20000037326A (en) 2000-07-05
KR100377332B1 true KR100377332B1 (en) 2003-03-26

Family

ID=19665231

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0020413A KR100377332B1 (en) 2000-04-18 2000-04-18 Position control method and position control system

Country Status (1)

Country Link
KR (1) KR100377332B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101631204B1 (en) * 2015-12-21 2016-06-16 유승철 Digital press drive apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101631204B1 (en) * 2015-12-21 2016-06-16 유승철 Digital press drive apparatus

Also Published As

Publication number Publication date
KR20000037326A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
US10416649B2 (en) Numerical controller that prevents a tool compensation value setting error
JP2004148433A (en) Robot device
KR100377332B1 (en) Position control method and position control system
US20120187889A1 (en) Method and Device for Generating a Variable Motion Profile for a Drive Unit of a Machine
US10852709B2 (en) Machine tool certification for part specific working volume
CN112910353B (en) Motor control method, device and system based on sensor deviation self-correction
US20180120806A1 (en) Control system, and control method and program for control system
CN106033212B (en) Electrical clip jaw system and its control method
US10983497B2 (en) Motor control system and input and output device
JP2009300354A (en) Encoder with internal information output function
CN103302509B (en) Processing unit (plant) with airborne measurement function
CN114245883B (en) Program development device, engineering method, and storage medium
CN113348415B (en) Device state reproducing device, method and storage medium
US10480933B2 (en) Control system, and control method and program for control system
US6738802B1 (en) Method and system for transmitting data among various memory units of position measuring devices
JP7333893B1 (en) Numerical Control System, Numerical Control Program and Numerical Control Method
KR100224862B1 (en) Apparatus and method for callibration of robot arm
US6678637B2 (en) Method for event-related determination of process variables
US20220206453A1 (en) Program creation device, program creation method, and program
US20220155740A1 (en) Control for use in an automation system
CN110073637B (en) Master device, slave device, and identification number setting device including the same
GB2319858A (en) Control system for a construction machine
JP6319519B1 (en) Motor control device, motor control method, and motor control system
US20210247746A1 (en) Support device and support program
JPS6299060A (en) Tool presetter

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
LAPS Lapse due to unpaid annual fee