Claims (3)
로터리 광학 엔토더회로를 테스트하기 위한 테스트회로에 있어서, 상기 로터리 공학 엔코더로부터의 제1,제2,제3신호를 입력하여 노이즈가 없는 소정레벨의 제4,제5,제6신호로 만들기 위한 입력수단 ; 상기 입력수단의 제4출력신호에 의해서 리세트되고 상기 입력수단의 제5출력신호를 클럭신호로 하여 계수하기 위한 계수수단 ; 및 상기 계수수단의 출력신호가 상기 엔코더의 분해능과 일치하는지 않는지를 결정하기 위한 결정수단을 구비한 것을 특징으로 하는 엔코더의 테스트회로.A test circuit for testing a rotary optical encoder circuit, comprising: inputting first, second, and third signals from the rotary engineering encoder to a fourth, fifth, and sixth signal of a predetermined level without noise; Input means; Counting means for resetting by a fourth output signal of said input means and counting a fifth output signal of said input means as a clock signal; And determining means for determining whether the output signal of the counting means matches the resolution of the encoder.
제1항에 있어서, 상기 입력수단은 상기 제1,제2,제3신호를 각각 입력하여 소정레벨의 신호와 비교하기 위한 제1,제2,제3전압 비교수단 ; 상기 전압비교수단의 출력신호를 각각 입력하여 버퍼하기 위한 제1,제2,제3버퍼수단을 구비한 것을 특징으로 하는 엔코더의 테스트회로.2. The apparatus of claim 1, wherein the input unit comprises: first, second, and third voltage comparing means for inputting the first, second, and third signals, respectively, and comparing them with a signal having a predetermined level; And first, second, and third buffer means for inputting and buffering the output signal of the voltage comparing means, respectively.
로터리 광학 엔코더를 테스트하기 위한 방법에 있어서, 상기 엔코더로부터의 제1신호를 입력하여 인터럽트 상태인가를 판단하기 위한 제1판단단계 ; 상기 제1판단결과 인터럽트 상태가 아니면 인터럽트 상태를 기다리는 대기단계; 상기 제1판단결과 인터럽트 상태이면 상기 엔코더의 제2, 제3신호를 입력하고 펄스수를 계수하는 계수단계 ; 상기 계수단계 수행후에 상기 엔코더의 제2신호가 제1상태이면 출력수단을 통하여 비정상임을 알리는 제1출력단계 ; 상기 계수단계 수행후에 상기 엔코더의 제2신호가 제2상태이면 상기 엔코더의 제3신호가 제1상태인가를 판단하는 제2단판단계 ; 상기 제2판단단계 수행후에 상기 엔코더의 제3신호가 제1상태이면 펄스수와 엔코더의 분해능이 같은지를 비교하는 비교단계 ; 상기 펄스수와 엔코더의 분해능이 같지 않으면 상기 출력단계로 가서 동작을 수행하는 제2출력단계 ; 상기 펄스수와 엔코더의 분해능이 같으면 출력수단을 통하여 정상임을 알리고 상기 제1판단단계로 가서 동작을 수행하는 단계 ; 상기 판단계 수행후에 상기 엔코더의 제3신호가 제2상태이면 상기 제1판단단계로 가서 동작을 수행하는 단계로 이루어진 것을 특징으로 하는 엔코더의 테스트방법.CLAIMS 1. A method for testing a rotary optical encoder, comprising: a first judging step for inputting a first signal from the encoder to determine whether an interrupt condition is present; Waiting for an interrupted state if the first determination result is not an interrupted state; A counting step of inputting second and third signals of the encoder and counting the number of pulses when the first determination result is an interrupt state; A first output step of notifying an abnormality through an output means if the second signal of the encoder is in a first state after performing the counting step; A second step of determining whether the third signal of the encoder is in the first state if the second signal of the encoder is in the second state after performing the counting step; A comparison step of comparing whether the number of pulses is equal to the resolution of the encoder when the third signal of the encoder is in the first state after performing the second determination step; A second output step of performing an operation if the pulse number and the resolution of the encoder are not equal to each other; If the number of pulses and the resolution of the encoder are the same, notifying a normal state through an output means, and performing the operation by going to the first determination step; And performing the operation when the third signal of the encoder is in the second state after performing the determination system, and performing the operation.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.