KR100197462B1 - Reading method for image improvement of oa system - Google Patents

Reading method for image improvement of oa system Download PDF

Info

Publication number
KR100197462B1
KR100197462B1 KR1019960065425A KR19960065425A KR100197462B1 KR 100197462 B1 KR100197462 B1 KR 100197462B1 KR 1019960065425 A KR1019960065425 A KR 1019960065425A KR 19960065425 A KR19960065425 A KR 19960065425A KR 100197462 B1 KR100197462 B1 KR 100197462B1
Authority
KR
South Korea
Prior art keywords
data
read
reading
motor
interrupt
Prior art date
Application number
KR1019960065425A
Other languages
Korean (ko)
Other versions
KR19980046989A (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 KR1019960065425A priority Critical patent/KR100197462B1/en
Publication of KR19980046989A publication Critical patent/KR19980046989A/en
Application granted granted Critical
Publication of KR100197462B1 publication Critical patent/KR100197462B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00795Reading arrangements
    • H04N1/00798Circuits or arrangements for the control thereof, e.g. using a programmed control device or according to a measured quantity
    • H04N1/00814Circuits or arrangements for the control thereof, e.g. using a programmed control device or according to a measured quantity according to a detected condition or state of the reading apparatus, e.g. temperature
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00567Handling of original or reproduction media, e.g. cutting, separating, stacking
    • H04N1/0057Conveying sheets before or after scanning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/024Details of scanning heads ; Means for illuminating the original
    • H04N1/032Details of scanning heads ; Means for illuminating the original for picture information reproduction
    • H04N1/034Details of scanning heads ; Means for illuminating the original for picture information reproduction using ink, e.g. ink-jet heads

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

본 발명의 목적은 원고 이송 모터의 효율적인 제어와 버퍼 관리를 통하여 원고를 독취할 때 독취 데이터에 대한 개선된 화질을 지원하는 복합기에서의 화질 개선을 위한 독취 방법을 제공함에 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a reading method for improving image quality in a multifunction apparatus that supports improved image quality of read data when reading a document through efficient control and buffer management of the document transfer motor.

상기한 목적들을 달성하기 위한 본 발명의 특징은, 데이터를 독취하기 위해 원고를 이송시키기 위한 모터를 구동시키는 모터 구동 인터럽트(M)와, 상기 원고로부터 상기 데이터 독취를 위해 독취수단을 기동시키는 독취수단 구동 인터럽트(S)를 사용하여 상기 원고로부터 데이터 독취를 수행하는 독취 방법에 있어서, 상기 모터가 정상상태로 동작하여 상기 원고를 정상 속도로 이송할 때까지 데이터 독취를 수행하지 않고 상기 모터를 미리 기동시키기 위해 상기 독취수단 구동 인터럽트에 대응되는 상기 모터 구동 인터럽트를 소정 개수의 소정의 인터럽트가 발생하기 전에 발생시키는 것을 특징으로 한다.A feature of the present invention for achieving the above objects is a motor drive interrupt (M) for driving a motor for transferring an original for reading data, and reading means for starting a reading means for reading the data from the original. A read method for performing data read from the original using a drive interrupt (S), wherein the motor is started in advance without performing data read until the motor operates in a normal state and transfers the original at a normal speed. The motor driving interrupt corresponding to the read means driving interrupt is generated before a predetermined number of predetermined interrupts occur.

이상에서 살펴본 바와 같이 본 발명에 따르면 원고 데이터를 판독할 때 원고 이송을 하는 모터가 정상상태로 작동할 때까지 데이터 독취를 하지 않고 모터를 미리 기동시켜, 원고의 동일 라인을 반복 판독하는 문제를 극복함으로써 독취시 발생하는 화질 저하를 개선하는 효과가 있다.As described above, the present invention overcomes the problem of repeatedly reading the same line of the original by starting the motor in advance without reading data until the motor for feeding the original is operated in a normal state when reading the original data. As a result, there is an effect of improving the deterioration of image quality generated during reading.

Description

복합기에서의 화질 개선을 위한 독취 방법Reading method for improving image quality in multifunction device

본 발명은 복합기에서의 화질 개선을 위한 독취 방법에 관한 것으로서, 보다 상세하게는 효율적인 모터 제어 및 버퍼 관리를 통하여 빠른 데이터 독취시 발생하는 화질 저하를 개선하기 위한 복합기에서의 화질 개선을 위한 독취 방법에 관한 것이다.The present invention relates to a reading method for improving image quality in a multifunction device, and more particularly, to a reading method for improving image quality in a multifunction device for improving image degradation caused by fast data reading through efficient motor control and buffer management. It is about.

일반적으로, 잉크젯방식 복합기는 독취부와 프린터 및 모뎀과 컴퓨터 등을 복합적으로 구비하여 독취부로부터 독취된 데이터 또는 모뎀을 통하여 전송된 데이터를 프린터로 인쇄하거나 혹은 컴퓨터내의 하드디스크에 저장하는 장치를 말한다.In general, an inkjet multifunction printer is a device that includes a reading unit, a printer, a modem, a computer, and the like, and prints data read from the reading unit or data transmitted through the modem to a printer or stores the data on a hard disk in the computer. .

도 1에는 일반적인 잉크젯방식 복합장치의 개략적 블록도가 도시되어 있다.1 is a schematic block diagram of a general inkjet composite device.

도 1을 보면, 시스템을 소정프로그램에 따라 제어, 처리하는 중앙처리장치(CPU; 1)와, 전송하고자 하는 서류 혹은 원고의 그림이나 문자를 일정한 간격으로 주사하여 분할함으로써 명함을 가진 전기적 에너지로 변환하여 중앙처리장치(1)에 디지털 화상데이터를 전송하는 독취부(2)와, 프로그램 데이터·프로토콜 데이터·문자 데이터 및 녹음된 음성 데이터를 저장하며 중앙처리장치(1)의 제어에 따른 데이터를 액세스하거나 저장하는 메모리부(3)와, 중앙처리장치(1)의 제어를 받아 중앙처리장치(1)로부터 출력되는 데이터를 아날로그 형태로 변조하여 출력하는 한편 수신된 입력신호를 복조하여 출력하는 모뎀(4)과, 모뎀(4)으로 입/출력되는 데이터의 효율적인 처리를 위하여 중앙처리장치(1)의 제어를 받아 데이터를 부호화 혹은 복호화하는 부호/복호부(5)와, 중앙처리장치(1)의 제어를 받아 전화선로의 통화루프를 형성하며 모뎀(4)의 신호와 전화선로의 신호를 인터페이싱(Interfacing)하는 망제어기(6)와, 다수의 키 및 표시장치를 구비하여 각종 제어명령을 입력함과 아울러 중앙처리장치(1)의 제어를 받아 시스템의 상태 및 각종 정보를 표시하는 작동패널(7)과, 주기억장치 혹은 보조기억장치를 갖는 통상의 컴퓨터(8)와, 원래의 정보를 임의의 전송선로를 통해 인쇄하여 표현하거나 컴퓨터(8)에 저장된 내용을 인쇄할 수 있는 통상의 프린터(9)와, 모뎀(4)을 통해 수신 혹은 송신되는 데이터나, 메모리부(3)에 저장되어 있는 데이터 혹은 일반 컴퓨터(8)의 주기억 장치 또는 보조 기억장치에 있는 데이터를 중앙처리장치(1)의 제어를 받아 전송토록 하거나, 일반컴퓨터(8)의 기억장치에 있는 데이터를 프린터(9)로 출력하게 하거나 독취부(2)를 통해 독취된 데이터를 프린터(9)로 출력하게 해주는 버퍼 콘트롤러(10)로 구성되어 있다.Referring to FIG. 1, a central processing unit (CPU) 1 for controlling and processing a system according to a predetermined program, and converting into electrical energy having a business card by scanning and dividing pictures or characters of documents or documents to be transmitted at regular intervals. A reading unit 2 for transmitting digital image data to the central processing unit 1, program data, protocol data, text data and recorded audio data, and accessing data under control of the central processing unit 1; Or a modem for demodulating and outputting the received input signal by modulating and outputting the data output from the central processing unit 1 under the control of the memory unit 3 and the central processing unit 1 in analog form. 4) and a code / decoding unit 5 for encoding or decoding data under the control of the central processing unit 1 for efficient processing of data input / output to the modem 4. And a network controller 6 for forming a call loop of a telephone line under the control of the central processing unit 1 and interfacing the signal of the modem 4 with the signal of the telephone line, and a plurality of keys and a display device. And a general computer 8 having an operation panel 7 for inputting various control commands and displaying the state and various information of the system under the control of the central processing unit 1, and a main memory device or an auxiliary memory device. And a conventional printer 9 capable of printing and expressing original information through an arbitrary transmission line or printing contents stored in the computer 8, and data received or transmitted through the modem 4, or memory. Data stored in the unit 3 or data stored in the main memory device or auxiliary storage device of the general computer 8 can be transferred under the control of the central processing unit 1, or stored in the storage device of the general computer 8; Output data to printer (9) Or it consists of the data read through the reading portions (2) to the buffer controller 10 which outputs to the printer (9).

이와 같이 구성된 일반적인 복합기에서 독취 데이터를 임시 보관하기 위해 단일 버퍼를 사용하고 있는 데, 독취부(2)에 의해 데이터를 독취한 후 인쇄부(9)를 통하여 독취 데이터를 출력할 경우, 싱크(sink: 전송기기로부터 자료를 받는 장치)로 작용하는 인쇄부(9)는 버퍼에 있는 모든 독취 데이터를 소비할 때까지 버퍼를 독점하게 된다. 이때 소스(source: 정보를 생성하는 장치)인 데이터 독취 장치(2)는 중앙처리부(1)의 제어에 의하여 일정 시간마다 독취한 데이터를 버퍼에 저장하려 하고, 버퍼를 점유하기 위해 인쇄부(9)가 데이터를 다 소비할 때까지 대기하여야 한다.In the general multifunction apparatus configured as described above, a single buffer is used to temporarily store the read data. When reading the data by the reading unit 2 and outputting the reading data through the printing unit 9, the sink is sinked. The printing unit 9, which acts as a device for receiving data from the transmitting device, monopolizes the buffer until it consumes all the read data in the buffer. At this time, the data reading device 2, which is a source generating device, attempts to store the read data at a predetermined time in a buffer under the control of the central processing unit 1, and the printing unit 9 to occupy the buffer. Wait until) runs out of data.

버퍼를 점유한 소스(예를 들면, 독취 수단)는 등속을 유지하는 모터의 움직임에 따라 이송되는 원고로부터 내용을 독취하게 되나 버퍼의 액세스를 인쇄부(9)에 넘긴 상태에서는 모터도 더 이상 진행을 못하고 멈추게 된다.The source occupying the buffer (for example, a reading means) reads the contents from the conveyed document in accordance with the movement of the motor maintaining the constant velocity, but the motor further progresses when the buffer access is passed to the printing unit 9. Can not stop.

잠시 후 독취 장치(2)가 다시 블록을 점유하면 모터는 곧바로 기동을 시작하여서 원고를 이송시킨다. 이 순간 모터의 응답 특성에 따라 전기적인 펄스가 인가되더라도 모터는 바로 구동되지 않으므로, 구동을 못하는 시간내에 데이터 독취가 이루어지면 잘못된 원고의 부분을 계속 독취하여 전체적인 화질의 저하 및 변형이 초래하게 된다.After a while, when the reading device 2 occupies the block again, the motor immediately starts to move the document. At this moment, even if an electric pulse is applied according to the response characteristic of the motor, the motor is not immediately driven. Therefore, if data reading is performed within a time when it cannot be driven, the wrong part of the original is read continuously, resulting in deterioration and deformation of the overall image quality.

따라서, 일반적인 복합기에서는 모터 기동 특성에 따른 특정 데이터 독취 구간에서 화질의 변형이 발생한다.Therefore, in the general MFP, the image quality is changed in the specific data reading section according to the motor starting characteristic.

따라서, 본 발명은 전술한 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 원고 이송 모터의 효율적인 제어와 버퍼 관리를 통하여 원고를 독취할 때 독취 데이터에 대한 개선된 화질을 지원하는 복합기에서의 화질 개선을 위한 독취 방법을 제공함에 있다.Accordingly, an object of the present invention is to solve the above-described problems, and an object of the present invention is to improve image quality in a multifunction apparatus that supports improved image quality of read data when reading an original through efficient control and buffer management of an original feed motor. To provide a reading method for.

도 1은 일반적인 잉크젯방식 복합기의 개략적 블록도,1 is a schematic block diagram of a general inkjet multifunction printer,

도 2는 본 발명에 따른 화질 개선을 위한 버퍼 구조를 나타낸 블록도.2 is a block diagram showing a buffer structure for improving image quality according to the present invention;

도 3은 모터 및 독취부 구동 인터럽트를 나타낸 개념도.3 is a conceptual diagram illustrating a motor and a read driving interrupt.

도 4a ∼ 4c는 각각의 경우에 따른 모터 및 독취부 구동 인터럽트를 나타낸 개념도.4A to 4C are conceptual views illustrating motor and read drive interrupts according to respective cases.

도 5a는 모터 구동 인터럽트를 이동하지 않은 경우의 모터 및 독취부 구동 인터럽트를 나타낸 개념도.5A is a conceptual diagram illustrating a motor and a read drive interrupt when no motor drive interrupt is moved.

도 5b는 모터 구동 인터럽트를 소정량 만큼 이동시킨 경우의 모토 및 독취부 구동 인터럽트를 나타낸 개념도.Fig. 5B is a conceptual diagram showing the motto and the readout drive interrupt when the motor drive interrupt is moved by a predetermined amount.

도 6a ∼ 6c는 본 발명에 따른 데이터 제어 흐름도6A-6C illustrate a data control flow diagram in accordance with the present invention.

*도면의주요부분에사용된부호의설명** Description of the symbols used in the main parts of the drawings *

1 : 중앙처리장치2 : 독취부1: central processing unit 2: reading unit

3 : 메모리부4 : 모뎀3: memory section 4: modem

5 : 부호/복호부6 : 망 제어기5: Code / Decoder 6: Network Controller

7 : 작동패널8 : 컴퓨터7: operating panel 8: computer

9 : 프린터10 : 버퍼 콘트롤러9: printer 10: buffer controller

M : 모터스텝 설정 인터럽트U : 미사용M: Motor step setting interrupt U: Not used

S : 독취 인터럽트T : 인터럽트 주기S: Read interrupt T: Interrupt cycle

전술한 바와 같은 목적들을 달성하기 위한 본 발명의 특징은, 데이터를 독취하기 위해 원고를 이송시키기 위한 모터를 구동시키는 모터 구동 인터럽트(M)와, 상기 원고로부터 상기 데이터 독취를 위해 독취수단을 기동시키는 독취수단 구동 인터럽트(S)를 사용하여 상기 원고로부터 데이터 독취를 수행하는 독취 방법에 있어서, 상기 모터가 정상상태로 동작하여 상기 원고를 정상 속도로 이송할 때까지 데이터 독취를 수행하지 않고 상기 모터를 미리 기동시키기 위해 상기 독취수단 구동 인터럽트에 대응되는 상기 모터 구동 인터럽트를 소정 개수의 소정의 인터럽트가 발생하기 전에 발생시키는 것을 특징으로 한다.A feature of the present invention for achieving the above objects is a motor drive interrupt (M) for driving a motor for transferring an original for reading data, and for starting reading means for reading the data from the original. A read method for reading data from the document by using a reading means driving interrupt (S), wherein the motor is operated without a data reading until the motor is operated in a normal state and the document is transferred at a normal speed. The motor driving interrupt corresponding to the read means driving interrupt is generated before a predetermined number of predetermined interrupts are generated to start in advance.

이하, 본 발명에 의한 잉크젯방식 복합장치의 고속인쇄방법의 바람직한 실시예에 대하여 첨부도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of a high speed printing method of an inkjet composite device according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 화질 개선을 위해 사용한 버퍼 구조를 나타낸 도면으로서, 스캔모터가 진행되면서 원고를 데이터 독취 부분으로 이송하고 이에 따라 1, 2, …, N, N+1, N+2, … , 2N의 순으로 독취가 이루어진다. 즉, 버퍼에 채울 데이터가 라인1, 라인2, … , 라인N, 라인N+1, 라인N+2, … , 라인2N으로 만들어지며 이 과정을 원고가 있는 한 계속 반복하게 된다. 이러한 과정에 의해 순차적으로 데이터를 실시간 저장할 수 있는 두 개의 용기가 있어야 하는 데 이것이 바로 블록1 블록2이다.FIG. 2 is a diagram illustrating a buffer structure used to improve image quality, wherein an original is transferred to a data reading portion as a scan motor progresses, and accordingly 1, 2,... , N, N + 1, N + 2,... , 2N in order of poisoning. That is, the data to be filled in the buffer is line 1, line 2,... , Line N, line N + 1, line N + 2,... It is made on line 2N, and the process is repeated as long as there is a manuscript. By this process, there should be two containers that can sequentially store data in real time. This is Block 1 Block 2.

이때, 한 블록은 N 개의 라인 버퍼를 포함하며 한 라인 버퍼는 W바이트로 구성되고, W 값은 데이터 독취 소자의 해상도 및 유효 독취 폭에 비례하여 결정되는 값이다. 또한 N은 버퍼 구성시 사용 가능한 메모리의 크기와 모터의 제어시 정속으로 운행할 수 있는 구간에 따라 결정되는 값이다.In this case, one block includes N line buffers, one line buffer is composed of W bytes, and the W value is a value determined in proportion to the resolution and the effective read width of the data read device. In addition, N is a value determined according to the size of the memory available in the buffer configuration and the section that can run at constant speed when controlling the motor.

블록의 크기는 물론 클수록 좋으나 사용하는 모터의 주파수 응답 특성에 맞추어 실험적으로 적당한 값을 얻을 수 있다.The larger the block size is, of course, the better, but it is possible to obtain an appropriate value experimentally according to the frequency response characteristics of the motor used.

도 3은 모터 및 독취부 구동 인터럽트를 나타낸 개념도로서, 원고 용지를 이송시키도록 하는 모터스텝 설정 인터럽트(M)와, 설정된 모터스텝에 의하여 상기 원고 용지를 독취할 위치까지 이송시키기 위해 모터를 회전시키는 시간을 나타내는 U와, 독취를 위한 기본 항목들을 설정해주는 독취 인터럽트(S)의 세 종류의 인터럽트로 구성되는 기본적인 인터럽트 서비스 루틴을 나타낸 것이다. 이 서비스 루틴의 주기는 T ms이며 이 시간 동안 ①, ②, ③, ④를 반복 수행한다. 전술한 각각의 인터럽트들은 ①, ②, ③, ④에 대응되며 모두 매ms마다 발생한다. 즉, 이와 같이 인터럽트 서브 루틴을 구성하면 이 시스템은 T ms 독취 시간을 갖게 된다. 만약 T=5로 설정하였다면 한 라인 독취를 5 ms 마다하게 되며 독취된 데이터는 보통 DMA(Direct Memory Access)를 통하여 블록내의 버퍼에 저장된다.FIG. 3 is a conceptual diagram showing a motor and a reading unit driving interrupt, in which a motor step setting interrupt M for conveying a document sheet, and a motor for rotating the motor to convey the document sheet to a position to be read by the set motor step. It shows a basic interrupt service routine consisting of three types of interrupts, U which represents time and a read interrupt S which sets basic items for reading. The cycle of this service routine is T ms, and repeat ①, ②, ③, ④ during this time. Each of the interrupts described above corresponds to ①, ②, ③, and ④. Occurs every ms. In other words, configuring the interrupt subroutine in this way gives the system a T ms read time. If T = 5, a line read is performed every 5 ms, and the read data is usually stored in a buffer in a block through direct memory access (DMA).

이때, DMA를 사용하여 데이터를 전송하는 것은 데이터의 입출력 속도를 향상시키기 위함으로, 독취 동작 동안 블록 점유 시간을 줄여 화질 개선을 얻을 수 있다.In this case, the data is transmitted using DMA to improve the input / output speed of the data, and thus, the image quality can be improved by reducing the block occupancy time during the read operation.

도 4a ∼ 4c는 인터럽트를 구성하는 네 항목과 DMA의 시작 및 데이터 독취 시간에 따른 세 가지의 경우를 나타낸다. 세 경우는 인터럽트 구동 방법이 모두 다르기 때문에 데이터 독취 시 독취 데이터의 화질 및 데이터 독취 시간에 영향을 준다.4A to 4C show four cases constituting an interrupt and three cases according to the start of the DMA and the data read time. In all three cases, the interrupt driving method is different, which affects the quality of the read data and the data read time.

한편, 후술할 세 가지 경우가 다음과 같은 가정 하에 동작한다.Meanwhile, three cases to be described below operate under the following assumptions.

먼저, 판독한 데이터를 블록내의 라인 버퍼로 옮기는 DMA로직은 항상 인터럽트 주기의 첫번째 인터럽트(①)에서 구동된다고 하자.First, suppose that DMA logic, which transfers the read data to the line buffer in the block, is always driven at the first interrupt (1) of the interrupt period.

또한, 독취시의 화소수는 1728 화소라 가정하고 한 화소를 판독하는 시간은 중앙처리부의 클럭을 분주시켜 바꿀 수 있다고 가정하자.In addition, assume that the number of pixels at the time of reading is 1728 pixels, and that the time for reading one pixel can be changed by dividing the clock of the central processing unit.

전술한 가정에 따라, 첫 번째 인터럽트 구동 방법은 도 4a에 도시된 바와 같이, 모터스텝설정 인터럽트(M)를 마지막 상(④)에 놓아 U, U, S, M의 주기로 진행하도록한 경우이다. 이때, DMA로직의 구동은 항상 ①에서 시작하며 시작을 위한 기본 설정은 독취 인터럽트(S)에서 해준다. 하나의 화소를 독취하는 데 소요되는 시간을 2㎲로 설정하였을 때 1728화소로 구성되는 한 라인을 독취하는 데 소요되는 시간은 3.456㎳가 된다. 결론적으로 첫 번째 경우는 다음의 주기에 구동되는 DMA의 시작을 설정 못하는 경우 도시된 바와 같이 데이터 전송을 못하므로(ⓑ 상태 ) 전체적으로 데이터 전송 시간이 늘어나는 문제가 발생한다.According to the above-described assumption, the first interrupt driving method is a case where the motor step setting interrupt M is placed on the last phase ④ as shown in FIG. 4A to proceed in the period of U, U, S, M. At this time, DMA logic starts running at ① always and basic setting for start is at read interrupt (S). When the time required to read one pixel is set to 2 ms, the time required to read one line composed of 1728 pixels is 3.456 ms. In conclusion, in the first case, when the start of the DMA driven in the next period cannot be set, the data transmission time is increased as shown in FIG.

두 번째 인터럽트 구동 방법은 도 4b에 도시된 바와 같이, 첫번째 경우와 동일하면서 독취 인터럽트(S)와 모터스텝 설정 인터럽트(M)의 순서만 바꾸어 M, U, U, S의 주기로 진행하도록한 경우이다. 이때, ⓐ, ⓑ, ⓒ, … 순으로 데이터 전송이 제대로 이루어짐을 알 수 있다.As shown in FIG. 4B, the second interrupt driving method is the same as the first case, but only when the order of the read interrupt S and the motor step setting interrupt M is changed, the second interrupt driving method is performed in the cycles of M, U, U, and S. FIG. . At this time, ⓐ, ⓑ, ⓒ,... You can see that the data transfer is done in order.

세 번째 인터럽트 구동 방법은 전술한 첫 번째 경우에서 한 화소 독취 시간만을 더 짧게한 경우이다. 이 경우 도 4c에 도시된 바와 같이 전체적인 흐름이 제대로 이루어짐을 알 수 있다. 그러나 독취방식이 CIS(Contact Image Censor)를 이용할 경우 1 ㎲내에 소자가 충분히 충전되어 만족한 입력 레벨을 얻어야 한다. 즉, 세번째 경우와 같이 독취 시간을 너무 짧게할 경우 화상 레벨의 저하가 발생할 수 있다.The third interrupt driving method is a case in which only one pixel read time is shorter in the first case described above. In this case, as shown in FIG. 4C, it can be seen that the overall flow is properly performed. However, when the read method uses CIS (Contact Image Censor), the device must be sufficiently charged within 1 되어 to obtain a satisfactory input level. That is, when the reading time is made too short as in the third case, the image level may decrease.

도 4a ∼ 4c에 전술한 바와 같이 모터 및 독취부 구동 인터럽트를 사용하면 도 5a에 도시된 바와 같이 매 블록에 대응되는 모터 구동 인터럽트와 독취부 구동 인터럽트가 동시에(물론, U의 삽입에 의해 몇 ㎳의 차이가 존재할 수 있음) 맞물려 발생한다. 즉, 모터 및 독취부 인터럽트는 동일한 회수만큼 발생하여 블록1, 블록2, 블록1 ,… 에 판독된 데이터를 저장한다. 이때, 본 발명의 바람직한 실시례에서는 한 블록에 판독 데이터를 저장하기 위해 필요한 인터럽트의 수를 5로 정하였다.If the motor and read drive interrupts are used as described above in Figs. 4A to 4C, as shown in Fig. 5A, the motor drive interrupts and the read drive interrupts corresponding to each block are simultaneously executed (of course, by the insertion of U). May exist). That is, the motor and read interrupts are generated the same number of times, so that blocks 1, 2, 1,... The read data is stored in. At this time, in the preferred embodiment of the present invention, the number of interrupts required for storing read data in one block is set to five.

도 5a와 같이 제어를 수행할 경우 발생하는 문제는 매 블록의 경계에서는 일반적으로 블록이 프린터 등의 싱크에 의해 점유되므로 모터는 멈추게되고, 블록이 빈 후 다시 모터를 기동시킨다. 이 경우 모터 구동 인터럽트에 의해 모터 기동을 위한 값이 설정되고, 독취부 구동 인터럽트에서 데이터 독취를 하도록 필요한 값들을 정하는데 처음 몇 개의 모터 구동 인터럽트가 진행하는 동안 모터는 응답 특성이 늦어 처음 몇 개의 인터럽트에 대하여 즉시 구동을 못하게 된다.The problem that occurs when the control is performed as shown in Figure 5a is that the block is generally occupied by a sink, such as a printer at the boundary of every block, so that the motor is stopped, the motor is started again after the block is empty. In this case, the value for the motor start is set by the motor drive interrupt, and the necessary values for reading data from the read drive interrupt are set. During the first few motor drive interrupts, the motor is slow in response and the first few interrupts You will not be able to drive immediately.

이때, 독취부 구동 인터럽트는 계속 데이터 독취를 진행할 것이며, 모터가 원고를 이송하지 못하기 때문에 같은 라인을 반복해서 독취를 수행하게 됨에 따라 화질 변형이 생기게 되며 매우 빠르게 데이터 독취를 하는 경우는 더욱 심각하게 된다.At this time, the readout driving interrupt will continue to read the data, and since the motor cannot transfer the original, the reading will be repeated as the same line is repeatedly read. do.

이와 같은 문제를 본 발명에서는 도 5b에 도시된 바와 같이 모터의 응답이 정상상태로 진행될 때까지 데이터 독취를 하지 않고 모터를 미리 기동시킨다(참고, ▲부분). 본 발명의 바람직한 실시례에서는 모터의 이동 카운터를 2로 두어 독취부 구동 인터럽트에 대응되는 모터 구동 인터럽트가 항상 두 인터럽트 발생에 해당하는 시간만큼 먼저 진행하게 한다.In the present invention, as shown in FIG. 5B, the motor is started in advance without reading data until the response of the motor proceeds to a normal state. In a preferred embodiment of the present invention, the motor counter is set to 2 so that the motor driving interrupt corresponding to the read driving interrupt always advances by the time corresponding to the occurrence of two interrupts.

도 6a ∼ 도 6c에는 본 발명에 의한 전체적인 데이터의 제어흐름도가 도시되어 있다. 도 6에 있어서, 모든 판단 및 처리과정을 위한 제어는 중앙처리장치(1)에서 수행하므로, 중앙처리장치(1)를 지칭하는 단어는 생략하기로 한다.6A to 6C show a flow chart of the overall data according to the present invention. In FIG. 6, since the control for all determination and processing is performed by the central processing unit 1, the word referring to the central processing unit 1 will be omitted.

먼저, 독취부(2)를 통하여 독취한 한 라인분량의 이전 데이터가 전송 완료되었는가를 확인한다(S1). 이 단계(S1)에서 한 라인의 전송이 완료되지 않았다고 판단되면, 모든 진행을 종료한다.First, it is checked whether the previous data of one line amount read through the reading unit 2 is completed (S1). If it is determined in step S1 that transmission of one line is not completed, all the processing ends.

한 라인의 전송이 완료되었으면 현재 독취부(2)가 지정한 블록이 제1 블록인가를 체크한다(S2). 즉, 단계 2(S2)는 데이터를 독취하여 전송할 수 있는 조건을 나타내는 것으로, 본 발명에서는 데이터 저장 용량이 N 라인으로 구성된 두 개의 이중버퍼를 사용하기 때문에 현재 독취부(2)가 지정한 블록이 제1 블록인가를 확인하여야만 한다.If transmission of one line is completed, it is checked whether the block currently designated by the reading unit 2 is the first block (S2). That is, step 2 (S2) represents a condition under which data can be read and transmitted. In the present invention, since the data storage capacity uses two double buffers composed of N lines, the block designated by the current reading unit 2 is the first. You must verify that it is 1 block.

위의 단계 2(S2)에서 현재 독취부(2)가 지정한 블록이 제1 블록이라고 판단되면, 제1 블록이 공백상태(데이터가 저장되지 않은 상태, 프린터(9)등에 데이터를 모두 전송한 상태)인가를 확인한다(S3). 여기서, 제1 블록이 공백상태가 아니라고 판단되면 모든 진행을 종료하고, 제1 블록이 공백상태가 될 때까지 대기한다.If it is determined in step 2 (S2) that the block currently designated by the reading unit 2 is the first block, the first block is in a blank state (the state in which no data is stored, the data is transmitted to the printer 9, etc.). (S3). Here, if it is determined that the first block is not empty, all the processes are terminated, and wait until the first block is empty.

한편, 전술한 단계 2(S2)에서 현재 독취부(2)가 지정한 블록이 제1 블록이 아니면 제 2 블록인지 체크한다(S4). 이 단계 4(S4)에서 현재 독취부(2)가 지정한 블록이 제2 블록이 아니라고 판단되면, 이것은 현재 독취부(2)가 제1 및 제2 블록을 모두 지정하지 않은 상태를 나타내므로, 모든 진행을 종료한다.On the other hand, in step 2 (S2) described above, it is checked whether the block designated by the current reading unit 2 is the second block if it is not the first block (S4). If it is determined in this step 4 (S4) that the block specified by the current reading unit 2 is not the second block, this indicates that the current reading unit 2 does not designate both the first and second blocks, End the process.

위의 단계 4(S4)에서 현재 독취부(2)가 지정한 블록이 제2 블록이라고 판단되면, 제2 블록이 공백상태인가를 확인한다(S5). 여기서, 제2 블록이 공백상태가 아니라고 판단되면, 이것은 제1 및 제2 블록 모두 공백상태가 아닌 것을 나타내므로, 모든 진행을 종료한다.If it is determined in step 4 (S4) that the block currently designated by the reading unit 2 is the second block, it is checked whether the second block is empty (S5). Here, if it is determined that the second block is not empty, this indicates that both of the first and second blocks are not empty, so all the processing ends.

만약, 위의 단계 3(S3)에서 제1 블록이 공백상태라고 판단되거나 혹은 위의 단계 5(S5)에서 제2 블록이 공백상태라고 판단되면, 시스템이 독취를 진행할 수 있도록 독취모드가 활성화되었는가를 확인한다(S6). 이 단계 6(S6)에서 독취모드가 활성화되지 않았다고 판단되면, 이것은 독취부(2)가 동작되지 않는 상태를 나타내므로, 모든 진행을 종료한다.If it is determined in step 3 (S3) that the first block is empty or in step 5 (S5) above, the second block is empty, is the read mode activated so that the system can proceed with reading? Check (S6). If it is determined in this step 6 (S6) that the read mode is not activated, this indicates a state in which the read unit 2 is not operated, and thus all the processing is finished.

위의 단계 6(S6)에서 독취모드가 활성화되었다고 판단되면, 한 라인의 데이터 판독을 수행하고 독취동작을 종료한 후 데이터를 여타의 목적지(프린터(9)의 버퍼, 내부 메모리부(3), 컴퓨터(8)의 하드디스크 등)로 전송하기 위하여 필요한 기본 값들을 미리 설정한 후(S7), 독취동작에 의해 독취된 데이터를 N개의 버퍼 중 몇 번째의 버퍼에 저장할 것인가를 지정한다(S8).If it is determined in step 6 (S6) that the read mode is activated, the data is read in one line, the read operation is finished, and the data is transferred to another destination (the buffer of the printer 9, the internal memory unit 3, After setting basic values necessary for the transfer to the hard disk of the computer 8) (S7), it is designated to which of the N buffers the data read by the read operation is stored (S8). .

이후, 버퍼의 포인터가 어긋나서 데이터의 오류가 발생하는 것을 방지하기 위하여, 지정된 버퍼가 공백상태인가를 확인한다(S9). 이 단계 9(S9)에서 지정된 버퍼가 공백상태가 아니라고 판단되면, 이것은 기존의 데이터가 버퍼 내에 잔류하는 것을 의미하며, 이때, 새로운 데이터가 버퍼에 기록됨에 따라 기존의 데이터가 파괴될 수 있으므로, 기존의 데이터를 보호하기 위하여 모든 진행을 종료한다.Thereafter, in order to prevent the error of data due to the shift of the pointer of the buffer, it is checked whether the designated buffer is empty (S9). If it is determined in this step 9 (S9) that the designated buffer is not empty, this means that the existing data remains in the buffer, where the existing data may be destroyed as new data is written to the buffer. Terminate all proceedings in order to protect your data.

이어, 현재 독취하여 저장할 블록의 위치가 블록의 마지막 라인인지 판단하여(S10), 만일 현재 독취하여 저장할 블록의 위치가 블록의 마지막 라인이 아니면 후술할 단계 14(S14)로 분기한다.Then, it is determined whether the position of the block to be read and stored is the last line of the block (S10). If the position of the block to be read and stored is not the last line of the block, the process branches to step 14 (S14), which will be described later.

만일 현재 독취하여 저장할 블록의 위치가 블록의 마지막 라인이면 다음 블록을 위한 모터 관련 변수를 바꾸기 위해 모터 구동 인터럽트가 발생한 회수를 저장한 모터 카운터(motor counter) 값과 블록을 구성하는 라인들 중 현재 독취된 데이터의 한 라인이 저장될 위치를 지적하는 블록 카운터(block counter) 값을 비교하여 모터 카운터 값이 블록 카운터 값보다 같거나 커지면 모터 카운터를 0으로 설정한다(S11, S12). 이는 모터 카운터 값이 블록 카운터의 최대 값을 넘어갔을 때 다시 초기화시켜 다음 블록에 대한 모터 제어를 수행하기 위함이다.If the position of the block to be read and stored is the last line of the block, the current counter of the lines constituting the block and the motor counter value that stores the number of occurrences of the motor drive interrupt to change the motor related variable for the next block. When the motor counter value is equal to or larger than the block counter value, the motor counter is set to 0 by comparing a block counter value indicating a location where one line of the data is stored (S11 and S12). This is to reinitialize when the motor counter value exceeds the maximum value of the block counter to perform motor control for the next block.

만일, 모터 카운터가 블록 카운터보다 작으면 모터 인터럽트를 얼마만큼 독취부 구동 인터럽트보다 먼저 진행시킬지 그 값을 갖는 이동 카운터(shift counter)와 모터 카운터를 비교하여 모터 카운터 값이 이동 카운터 값보다 크지 않으면 후술할 단계 27(S27)로 분기하여 모터 구동 인터럽트를 발생하여 모터 카운터를 증가시킨다. 한편, 모터 카운터 값이 이동 카운터 값보다 커지면 독취부 구동 인터럽트를 진행시키기 위해 지정된 버퍼가 메모리 맵의 어디에서부터 시작되는지를 나타내는 시작번지를 지정한다(S13, S14). 즉, 이 단계 14(S14)는 중앙처리장치(1)가 수행하여야 하는 프로세서의 부담을 감소시키기 위하여 직접 메모리 접근(DMA: Direct Memory Access)방식으로 데이터를 전송하는 경우 필요한 단계이다.If the motor counter is smaller than the block counter, the motor counter is compared with a shift counter having a value that determines how much the motor interrupt proceeds before the read driving interrupt. The motor branches to the next step 27 (S27) to generate a motor drive interrupt and increment the motor counter. On the other hand, when the motor counter value is larger than the moving counter value, start addresses indicating where the designated buffer starts from the memory map for the readout driving interrupt are designated (S13 and S14). That is, step 14 (S14) is a step required when data is transmitted in a direct memory access (DMA) method in order to reduce the burden on the processor that the CPU 1 must perform.

이후, 시작번지가 지정되면, 데이터 전송을 위한 로직(DMA 등)을 활성화시킨 후(S15), 데이터를 해당 메모리 공간에 전송한다(S16). 여기서, 본 발명에서의 데이터 전송은 일정한 시간단위로 발생하여 순차적으로 진행되어야 하므로, 운영체계(Operating System)적인 측면에서 태스크(Task)보다는 인터럽트방식으로 구성하는 것이 유리하다. 즉, 인터럽트로 구성되면 본 발명의 제어흐름도가 설정된 시간이 경과한 후 다시 시작되므로, 그 시간 내에 데이터 전송이 진행될 수 있다. 데이터의 전송이 완료되어 한 라인의 독취가 끝나면, 블록카운터 값을 감소시킨다(S17). 이것은, 블록카운터 값이 감소됨에 따라 한 블록내의 모든 버퍼에 데이터가 채워졌는가를 판단하는 척도로 이용하기 위함이다.After that, if a start address is designated, after activating logic (DMA, etc.) for data transmission (S15), the data is transmitted to the corresponding memory space (S16). Here, since the data transmission in the present invention should occur in a predetermined time unit and proceed sequentially, it is advantageous to configure the interrupt method rather than the task in terms of an operating system. That is, if it is configured as an interrupt, the control flow chart of the present invention is restarted after the set time elapses, so that data transmission can proceed within that time. When data transmission is completed and reading of one line is completed, the block counter value is reduced (S17). This is to use as a measure to determine whether data is filled in all buffers in one block as the block counter value decreases.

블록카운터 값이 감소되면, 수정된 블록카운터 값이 '0'인가를 체크하여(S18), 블록카운터 값이 '0'이 아니라고 판단되면, 이것은 현재 블록이 풀(full) 상태가 아니므로, 후술할 단계 24(S24)로 분기한다.If the block counter value is decreased, it is checked whether the modified block counter value is '0' (S18), and if it is determined that the block counter value is not '0', this is because the current block is not in a full state. The process branches to step 24 (S24).

만일 수정된 블록카운터 값이 '0'인가를 체크하여(S18), 블록카운터 값이 '0'이면, 이것은 현재 블록이 풀(full)인 상태를 의미하므로, 또 다른 블록을 설정하기 위해 독취부(2)를 통하여 현재 지정된 블록위치가 제 1 블록인가를 판단한다(S19). 이 단계 19(S19)에서 지정된 블록위치가 제 1 블록이라고 판단되면, 제1 블록을 구성하는 모든 버퍼에 독취된 데이터가 채워진 경우를 나타내므로, 제1 블록을 '풀(Full)'이라고 설정한 후(S20), 블록위치를 제2 블록으로 변경 지정한다(S21).If it is checked that the modified block counter value is '0' (S18), and if the block counter value is '0', this means that the current block is full, and thus, a read part for setting another block It is determined through (2) whether the currently designated block position is the first block (S19). If it is determined in step 19 (S19) that the designated block position is the first block, it indicates that all the buffers constituting the first block are filled with the read data. Therefore, the first block is set to 'full'. After that (S20), the block position is changed to the second block (S21).

만약, 전술한 단계 19(S19)에서 독취부(2)를 통하여 현재 지정된 블록위치가 제1 블록이 아니라고 판단되면, 제2 블록을 구성하는 모든 버퍼에 독취된 데이터가 채워진 경우를 나타내므로, 제2 블록을 '풀(Full)'이라고 설정한 후(S22), 블록위치를 제1 블록으로 변경 지정한다(S23).If it is determined in the above-described step 19 (S19) that the block position currently designated by the reading unit 2 is not the first block, it indicates that all the buffers constituting the second block are filled with read data. After setting 2 blocks as 'full' (S22), the block position is changed to the first block and designated (S23).

블록을 설정한 후, 현재 지적하는 블록의 라인(즉, 블록 카운터의 값)과 이동 카운터 값이 같은가 판단하여, 블록 카운터의 값과 이동 카운터 값이 같으면, 두 블록이 모두 비어 있는지 확인한다(S24, S25).After setting the block, it is determined whether the line (i.e., the value of the block counter) and the moving counter value of the block currently pointed to are the same, and if the block counter value and the moving counter value are the same, it is checked whether both blocks are empty (S24). , S25).

만일 두 블록이 모두 비어 있는 경우 모터 구동 인터럽트에서 모터 기동을 위한 값을 설정하기 위해 모터 카운터 값을 -1로 세팅한다(S26).If both blocks are empty, the motor counter value is set to -1 to set a value for starting the motor at the motor driving interrupt (S26).

단계 27(S27)은 단계 13(S13)에서 분주된 단계로서, 모터 카운터보다 작은지 검사하는 단계로 참이면 단계 29(S29)로 분주하고 거짓이면 모터 카운터를 0으로 만드는 단계 28(S28)로 분주한다.Step 27 (S27) is a step dispensed in step 13 (S13), which is a step of checking whether it is smaller than the motor counter. Busy.

단계 26(S26)과 단계 28(S28)이 처리된 후, 모터 카운터가 -1인지 판단하여, 모터 카운터가 -1이면 모터 카운터를 증가시키고(S29, S31), 모터 카운터가 -1이 아니면 모터 카운터 값이 블록 카운터 값보다 작은지를 판단한다(S29, S30).After the steps 26 (S26) and 28 (S28) are processed, it is determined whether the motor counter is -1, and if the motor counter is -1, the motor counter is increased (S29, S31), and if the motor counter is not -1, the motor It is determined whether the counter value is smaller than the block counter value (S29, S30).

만일, 모터 카운터 값이 블록 카운터 값보다 작으면, 모터 카운터를 증가시키고 다음 단계로 제어를 넘기고, 그렇지 않으면 모터를 증가시키고 수행을 종료한다(S30, S34).If the motor counter value is smaller than the block counter value, the motor counter is incremented and control passes to the next step, otherwise the motor is increased and execution ends (S30, S34).

단계 31(S31)을 수행한 후, 다음 라인의 데이터를 독취하기 위하여 독취할 원고가 있는가를 체크하여(S32), 독취할 원고가 있다고 판단되면, 모든 진행을 종료한다. 이 단계 32(S32)에서 독취할 원고가 없다고 판단되면, 두 블록의 상태를 모두 '풀(Full)'로 설정하여 더 이상 독취를 못하도록 한 후 종료한다(S33).After performing step 31 (S31), it is checked whether there is an original to be read in order to read the data of the next line (S32), and when it is determined that there is an original to be read, all the processing is finished. If it is determined that there are no originals to be read in step 32 (S32), the state of both blocks is set to 'full' so that no further reading is done (S33).

이상에서 살펴본 바와 같이 본 발명에 따르면 원고 데이터를 판독할 때 원고 이송을 하는 모터가 정상상태로 작동할 때까지 데이터 독취를 하지 않고 모터를 미리 기동시켜, 원고의 동일 라인을 반복 판독하는 문제를 극복함으로써 독취시 발생하는 화질 저하를 개선하는 효과가 있다.As described above, the present invention overcomes the problem of repeatedly reading the same line of the original by starting the motor in advance without reading data until the motor for feeding the original is operated in a normal state when reading the original data. As a result, there is an effect of improving the deterioration of image quality generated during reading.

이상 본 발명의 바람직한 실시예에 대해 상세히 기술되었지만, 본 발명이 속하는 기술 분야에 있어서 통상의 지식을 가진 사람이라면, 첨부된 청구 범위에 정의된 본 발명의 정신 및 범위를 벗어나지 않으면서 본 발명을 여러 가지로 변형 또는 변경하여 실시할 수 있음을 알 수 있을 것이다. 따라서 본 발명의 앞으로의 실시예들의 변경은 본 발명의 기술을 벗어날 수 없을 것이다.Although the preferred embodiments of the present invention have been described in detail above, those skilled in the art will appreciate that the present invention may be modified without departing from the spirit and scope of the invention as defined in the appended claims. It will be appreciated that modifications or variations may be made. Therefore, changes in the future embodiments of the present invention will not be able to escape the technology of the present invention.

Claims (10)

원고에 실린 데이터를 독취하는 독취수단과, 상기 독취수단에 의해 독취된 데이터를 저장하기 위한 버퍼를 갖는 메모리부와, 상기 메모리부에 데이터의 저장을 제어하는 중앙처리장치를 구비하고, 상기 데이터를 독취할 때 상기 원고를 이송시키기 위해 모터를 구동시키는 모터 구동 인터럽트(M)와, 상기 원고로부터 상기 데이터 독취를 위해 독취수단을 기동시키는 독취수단 구동 인터럽트(S)를 사용하여 상기 원고로부터 데이터 독취를 수행하는 독취 방법에 있어서,And a memory unit having reading means for reading data loaded on an original, a buffer for storing data read by the reading means, and a central processing unit for controlling the storage of data in the memory unit. Read data is read from the original by using a motor drive interrupt (M) for driving a motor to transfer the original when reading, and a read means drive interrupt (S) for starting a read means for reading data from the original. In the poisoning method performed, 상기 모터가 정상상태로 동작하여 상기 원고를 정상 속도로 이송할 때까지 데이터 독취를 수행하지 않고 상기 모터를 미리 기동시키기 위해 상기 독취수단 구동 인터럽트에 대응되는 상기 모터 구동 인터럽트를 소정 개수의 소정의 인터럽트가 발생하기 전에 발생시키는 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.A predetermined number of predetermined interrupts for the motor drive interrupt corresponding to the read means drive interrupt to start the motor in advance without performing data read until the motor operates in a normal state and transfers the document at a normal speed. Read method for improving the image quality in the multifunction device, characterized in that the generation before the occurrence. 제 1 항에 있어서,The method of claim 1, 상기 원고로부터 소정량의 데이터를 독취하는 독취 단계;A reading step of reading a predetermined amount of data from the original; 상기 버퍼가 소정량만큼 차있으면 상기 모터 구동 인터럽트의 발생 수와 상기 버퍼에 상기 소정량의 독취된 데이터를 저장할 수 있는 용량을 나타내는 블록 카운터 값을 비교하는 제 1 단계; 및A first step of comparing a number of occurrences of the motor driving interrupt with a block counter value indicating a capacity for storing the predetermined amount of read data in the buffer when the buffer is full by a predetermined amount; And 상기 블록 카운터 값이 상기 모터 구동 인터럽트의 발생 수보다 크고, 상기 모터 구동 인터럽트의 발생 수가 상기 소정의 인터럽트의 발생 수보다 크면 상기 버퍼에 상기 독취된 데이터를 전송하는 제 2 단계를 포함하는 복합기에서의 화질 개선을 위한 독취 방법.And transmitting the read data to the buffer when the block counter value is greater than the number of occurrences of the motor driving interrupt and the number of occurrences of the motor driving interrupt is greater than the number of occurrences of the predetermined interrupt. Read method for improving picture quality. 제 2 항에 있어서,The method of claim 2, 상기 블록 카운터 값이 상기 모터 구동 인터럽트의 발생 수보다 크지 않으면 모터 구동 인터럽트 발생 수를 초기화하고, 상기 모터 구동 인터럽트의 발생 수가 상기 소정의 인터럽트의 발생 수보다 크지 않으면 모터 구동 인터럽트를 발생하는 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.If the block counter value is not greater than the number of occurrences of the motor drive interrupt, the motor drive interrupt generation number is initialized, and if the number of generation of the motor drive interrupt is not greater than the number of occurrence of the predetermined interrupt, the motor drive interrupt is generated. Read method for improving image quality in a multifunction device. 제 2 항에 있어서,The method of claim 2, 상기 독취부로부터 독취된 데이터를 한 라인단위로 상기 버퍼에 저장하도록 한 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.The read method for improving the image quality in the multifunction device, characterized in that for storing the data read from the reading unit in the line unit. 원고에 실린 데이터를 독취하는 독취부와, 독취부로부터 데이터를 전송받아 소정의 처리를 수행하는 처리 수단과, 상기 독취부에 의해 독취된 데이터를 저장하고 상기 저장된 데이터를 상기 처리 수단에 전송하는 복수개의 버퍼를 갖는 메모리부, 및 상기 메모리부내에 구성된 복수개의 버퍼에 데이터의 저장 및 전송상태를 제어하는 중앙처리장치를 구비하고, 상기 데이터를 독취할 때 상기 원고를 이송시키기 위해 모터를 구동시키는 모터 구동 인터럽트(M)와, 상기 원고로부터 상기 데이터 독취를 위해 독취수단을 기동시키는 독취수단 구동 인터럽트(S)를 사용하여 상기 원고로부터 데이터 독취를 수행하는 독취 방법에 있어서,A reading unit for reading data contained in the document, processing means for receiving data from the reading unit and performing a predetermined process, a plurality of storing data read by the reading unit, and transmitting the stored data to the processing means. A memory having a number of buffers, and a central processing unit for controlling the storage and transmission state of data in a plurality of buffers configured in the memory, and a motor for driving a motor to transfer the original when reading the data. A read method for performing data read from the original by using a drive interrupt (M) and a read means drive interrupt (S) for starting a read means for reading the data from the original. 상기 메모리부내에 구성된 상기 복수개의 버퍼 중 데이터가 저장되지 않은 적어도 하나 이상의 버퍼를 검출하는 검출 과정;A detection process of detecting at least one buffer in which data is not stored among the plurality of buffers configured in the memory unit; 상기 모터가 정상상태로 동작하여 상기 원고를 정상 속도로 이송할 때까지 데이터 독취를 수행하지 않고 상기 모터를 미리 기동시키기 위해 상기 독취수단 구동 인터럽트에 대응되는 상기 모터 구동 인터럽트를 소정 개수의 소정의 인터럽트가 발생하기 전에 발생시키는 독취과정을 포함하는 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.A predetermined number of predetermined interrupts for the motor drive interrupt corresponding to the read means drive interrupt to start the motor in advance without performing data read until the motor operates in a normal state and transfers the document at a normal speed. Read method for improving the image quality in a multifunction device, characterized in that it comprises a reading process generated before the generation. 제 5 항에 있어서,The method of claim 5, 상기 독취부로부터 독취된 데이터를 한 라인단위로 상기 버퍼에 저장하도록 한 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.The read method for improving the image quality in the multifunction device, characterized in that for storing the data read from the reading unit in the line unit. 제 6 항에 있어서, 상기 검출 과정은,The method of claim 6, wherein the detecting process, 상기 독취부에 의해 독취된 한 라인분량의 이전 데이터가 전송 완료되었는가를 확인하는 완료 확인 단계; 및A completion confirmation step of confirming whether the one-line amount of previous data read by the reading unit has been transmitted; And 상기 한 라인분량의 이전데이터가 모두 전송된 후, 상기 복수개의 버퍼 중 상기 독취부에 의해 독취된 데이터를 저장하기 위한 어느 하나의 버퍼를 지정하는 버퍼 지정 단계를 포함하는 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.And a buffer designating step of designating one buffer for storing data read by the reading unit among the plurality of buffers after all of the one-line amount of previous data is transmitted. Read method for improving picture quality. 제 5 항 또는 제 7 항에 있어서,The method according to claim 5 or 7, 상기 원고로부터 한 라인에 해당하는 데이터를 독취하는 독취 단계;A reading step of reading data corresponding to one line from the original; 상기 버퍼가 소정량만큼 차있으면 상기 모터 구동 인터럽트의 발생 수와 상기 버퍼에 상기 소정량의 독취된 데이터를 저장할 수 있는 용량을 나타내는 블록 카운터 값을 비교하는 비교 단계; 및A comparison step of comparing a number of occurrences of the motor driving interrupt with a block counter value indicating a capacity for storing the predetermined amount of read data in the buffer when the buffer is full by a predetermined amount; And 상기 블록 카운터 값이 상기 모터 구동 인터럽트의 발생 수보다 크고, 상기 모터 구동 인터럽트의 발생 수가 상기 소정의 인터럽트의 발생 수보다 크면 상기 버퍼에 상기 독취된 데이터를 전송하는 데이터 전송단계를 포함하는 복합기에서의 화질 개선을 위한 독취 방법.And a data transfer step of transmitting the read data to the buffer when the block counter value is greater than the number of occurrences of the motor driving interrupt and the number of occurrences of the motor driving interrupt is greater than the number of occurrences of the predetermined interrupt. Read method for improving picture quality. 제 8 항에 있어서,The method of claim 8, 상기 블록 카운터 값이 상기 모터 구동 인터럽트의 발생 수보다 크지 않으면 모터 구동 인터럽트 발생 수를 초기화하고, 상기 모터 구동 인터럽트의 발생 수가 상기 소정의 인터럽트의 발생 수보다 크지 않으면 모터 구동 인터럽트를 발생하는 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.If the block counter value is not greater than the number of occurrences of the motor drive interrupt, the motor drive interrupt generation number is initialized; Read method for improving image quality in a multifunction device. 제 8 항에 있어서,The method of claim 8, 상기 독취부에 의해 독취된 데이터가 상기 버퍼에 모두 저장되면 상기 버퍼가 더 이상의 데이터를 저장할 수 없도록 상기 버퍼의 상태를 설정한 후, 상기 복수개의 버퍼 중 데이터가 저장되지 않은 다른 하나의 버퍼를 탐색하여 상기 다른 하나의 버퍼가 상기 독취부에 의해 독취된 데이터를 저장할 수 있도록 상기 다른 하나의 버퍼의 상태를 설정하는 단계를 더 수행하도록 한 것을 특징으로 하는 복합기에서의 화질 개선을 위한 독취 방법.If the data read by the reading unit is all stored in the buffer, the buffer is set so that the buffer cannot store any more data, and then the other one of the plurality of buffers is searched for another buffer in which no data is stored. And setting the state of the other buffer so that the other buffer can store the data read by the reader.
KR1019960065425A 1996-12-13 1996-12-13 Reading method for image improvement of oa system KR100197462B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960065425A KR100197462B1 (en) 1996-12-13 1996-12-13 Reading method for image improvement of oa system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960065425A KR100197462B1 (en) 1996-12-13 1996-12-13 Reading method for image improvement of oa system

Publications (2)

Publication Number Publication Date
KR19980046989A KR19980046989A (en) 1998-09-15
KR100197462B1 true KR100197462B1 (en) 1999-06-15

Family

ID=19487700

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960065425A KR100197462B1 (en) 1996-12-13 1996-12-13 Reading method for image improvement of oa system

Country Status (1)

Country Link
KR (1) KR100197462B1 (en)

Also Published As

Publication number Publication date
KR19980046989A (en) 1998-09-15

Similar Documents

Publication Publication Date Title
US6330374B1 (en) Image manipulation for a digital copier which operates on a block basis
US5572335A (en) Method and system for transferring image data between two devices having different bandwidths
EP1010133B1 (en) Image storage and retrieval for a printer
US5867614A (en) Control for an image filing apparatus
US5293432A (en) Document image scanner with variable resolution windows
US4922437A (en) Image information processing apparatus
US5815283A (en) Image forming apparatus
JP3161031B2 (en) Image processing device
KR100197462B1 (en) Reading method for image improvement of oa system
JP3707509B2 (en) Multifunctional parallel processing electronic device
JPH11136459A (en) Image input/output device and method
US5337409A (en) Parallel/serial data conversion system
US5805778A (en) DMA controller for DMA transferring image data for one page without increasing a burden on a CPU
US5954803A (en) DMA controller which provides multiple channels
JPH06111012A (en) Image processor
US11093150B2 (en) Image processing apparatus
KR950000284B1 (en) Data size changing device for fax
KR19980035670A (en) High speed printing method of inkjet composite device
JP2872144B2 (en) Printing equipment
KR100467564B1 (en) Method for storing data according to data type of multi-function peripheral
KR960016840B1 (en) Facsimile equipment
JPH0432978A (en) Image processor
JPH1063258A (en) Device and method for picture processing
JPH0289185A (en) Picture reader
KR19990050843A (en) Memory management method of multifunction device

Legal Events

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

Payment date: 20070130

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee