Claims (3)
변수 (B, n, m)률 초기화하고 마이컴(10)의 출력단(가)으로 하이레벨을 출력시켜 t1이 경과되었는가를 판별하는 단계 (S1-S4)와, t1이 경과되지 않았으면 변수 n을 1증가시키고 t1이 경과될때까지 반복하여 t1기간전체의 평균치(Vn)를 구하는 단계 (S5-S6)와, t1이 경과되었으면 평균치를 메모리시키고 마이컴(10)의 출력단(가)으로 로우레벨을 출력시키는 단계 (S7-S8)와, 마이컴(10)의 출력단(가)으로 로우레 벨을 출력시켜 t2의 경과여부를 판별하여 경과되지 않았으면 변수 m을 1증가시키고 t2가 경과될때까지 이를 반복하여 t2기간 전체의 평균치를 구하는 단계(S9-S11)와, t2가 경과되고이며 B≥β일때 자등정지 및 되감기를 수행하는 단계(S12-S14,S15)를 포함하여서 이루어짐을 특징으로 하는 테이프 종단 검출방법.Initializing the variable (B, n, m) rate and outputting a high level to the output terminal of the microcomputer 10 to determine whether t 1 has elapsed (S 1- S 4 ) and t 1 has not elapsed If the variable n 1 increases and t phase 1 has elapsed, to obtain the average value (Vn) of the total period t 1 is repeated until the (S 5 -S 6) and a, t 1 has elapsed, the memory and the microcomputer 10. If the average value Outputting the low level to the output terminal (a) (S 7 -S 8 ) and outputting the low level to the output terminal (a) of the microcomputer 10 to determine whether t 2 has elapsed, and if it has not elapsed, the variable m Increase by 1 and repeat until t 2 has elapsed to average over the entire t 2 period To obtain (S 9 -S 11 ), and t 2 is elapsed And performing a stop and rewind when B≥β (S 12 -S 14 , S 15 ).
변수(N)를 초기화하고, X, Y플레그를 플리어시킨 후 마이컴(10)의 출력단(가) 신호가 로우일때 X, Y플레그를 클리어시키는 단계 (S20-S23)와, 마이컴(10)의 입력단(나) 신호를 판별하여 하이일때 Y플레그를 셀시키고 로우일때 X플레그를 셀시키는 단계(S24-S26) 상기에서 마이컴(10)의 출력단(가) 신호가 하이이고 X플레그=셀,Y플레그=리셀이며 마이컴(10)의 입력단(나)신호가 하이인 상태에서 N≥M일때 센서 검출 루틴을 수행하고, X, Y 플레그를 클리어시키는 단계(S27-S33)를 포함하여서 이루어짐을 특징으로 하는 테이프의 종단 검출방법.Initializing the variable (N), and fluttering the X and Y flags, and then clearing the X and Y flags when the output terminal of the microcomputer 10 is low (S 20 -S 23 ), and the microcomputer 10 (B) counting the Y flag when it is high and counting the X flag when it is low (S 24- S 26 ), where the signal of the output terminal of the microcomputer 10 is high and X flag = Performing a sensor detection routine when N≥M with the cell, Y flag = recell, and the input terminal (B) signal of the microcomputer 10 being high, and clearing the X and Y flags (S 27 -S 33 ). End detection method of the tape, characterized in that made by.
광센서부를 구동하기 위한 t1,t2의 폭을 갖는 일정주기의 펄스를 출력하고 정상 동작 구간과 리터테이프 구간 및 외부광에 의한 오동작 구간을 검출할 수 있는 프로그램을 가진 마이컴(10)과, 상기 마이컴의 출력 펄스틀 소정폭으로 증폭시키는 증폭부(2)와, 상기 증폭부(2)와 마이컴(10)사이에 접속되어 테이프의 종단을 광센서부를 통하여 검출하는 테이프 종단검지부(11)톨 구비하여 구성됨을 특징으로 하는 테이프의 종단 검출회로.A microcomputer 10 having a program for outputting a pulse of a predetermined period having a width t 1 and t 2 for driving the optical sensor unit and detecting a normal operation section, a liter tape section, and a malfunction section by external light; An amplifying unit 2 for amplifying the output pulse frame of the microcomputer to a predetermined width, and a tape end detecting unit 11 connected between the amplifying unit 2 and the microcomputer 10 to detect the end of the tape through an optical sensor unit. End detection circuit of the tape, characterized in that provided with.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.