KR920001956B1 - Floppy disk controller - Google Patents

Floppy disk controller Download PDF

Info

Publication number
KR920001956B1
KR920001956B1 KR1019890000852A KR890000852A KR920001956B1 KR 920001956 B1 KR920001956 B1 KR 920001956B1 KR 1019890000852 A KR1019890000852 A KR 1019890000852A KR 890000852 A KR890000852 A KR 890000852A KR 920001956 B1 KR920001956 B1 KR 920001956B1
Authority
KR
South Korea
Prior art keywords
floppy disk
signal
data
read
input terminal
Prior art date
Application number
KR1019890000852A
Other languages
Korean (ko)
Other versions
KR890012213A (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
Priority claimed from JP63014633A external-priority patent/JPH01192057A/en
Priority claimed from JP63014632A external-priority patent/JP2610286B2/en
Application filed by 가부시기가이샤 도시바, 아오이 죠이치 filed Critical 가부시기가이샤 도시바
Publication of KR890012213A publication Critical patent/KR890012213A/en
Application granted granted Critical
Publication of KR920001956B1 publication Critical patent/KR920001956B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/06Control of operating function, e.g. switching from recording to reproducing by counting or timing of machine operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

내용 없음.No content.

Description

플로피디스크 제어회로Floppy Disk Control Circuit

제1도는 종래의 플로피디스크 드라이버 제어 시스템의 구성을 도시한 블럭도.1 is a block diagram showing the configuration of a conventional floppy disk driver control system.

제2도는 본 발명의 제1실시예에 의한 플로피디스크 드라이버 제어 시스템의 구성을 도시한 블럭도.2 is a block diagram showing the configuration of a floppy disk driver control system according to a first embodiment of the present invention.

제3도는 제2도에 도시된 시스템의 동작을 도시한 도면.3 shows the operation of the system shown in FIG.

제4도는 본 발명의 제2실시예에 의한 플로피디스크 드라이버 제어 시스템의 구성을 도시한 블럭도.4 is a block diagram showing a configuration of a floppy disk driver control system according to a second embodiment of the present invention.

제5도는 제4도에 도시된 시스템의 동작을 도시한 도면.5 shows the operation of the system shown in FIG.

제6도는 본 발명의 제3실시예에 의한 플로피디스크 드라이버 제어 시스템의 구성을 도시한 도면.6 is a diagram showing the configuration of a floppy disk driver control system according to a third embodiment of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

31 : CPU 32 : FDC31: CPU 32: FDC

33 : FDD 134 : 모터 드라이버33: FDD 134: motor driver

135 : 모터 상태 검출기 136 : 인덱스 검출기135: motor status detector 136: index detector

137 : 판독 회로 138 : 기록 회로137: read circuit 138: write circuit

139 : 마이크로 스위치139: micro switch

본 발명은 플로피디스크 장치를 제어하는 플로피디스크 제어 회로에 관한 것이며, 더욱 상세하게는 인덱스 신호와 판독 데이타신호를 받아 플로피디스크 장치를제어하는 플로피디스크 콘트롤러의 주변 회로 개량에 관한 것이다.The present invention relates to a floppy disk control circuit for controlling a floppy disk device, and more particularly, to a peripheral circuit improvement of a floppy disk controller for controlling a floppy disk device by receiving an index signal and a read data signal.

플로피디스크장치(FDD)는 컴퓨터 시스템의 외부(보조)기억장치로서 널리 사용되고 있다. FDD는 플로피 디스크 콘트롤러(FDC)에 의해 제어된다. 상업적으로 입수 가능한 FDC로서는 예를 들어 일본 전기주식회사제의 μPD765시리즈의 FDC가 알려져 있다. 이 μPD765시리즈의 FDC를 사용한 FDD제어 시스템의 개략구성은 제1도에 도시된다. 그리고 제1도는 실제의 제품에서는 FDC와 별개의 칩 부품으로 되는 VFO등도 FDC(32)로서 일괄해서 도시된다.Floppy disk devices (FDD) are widely used as external (auxiliary) storage devices of computer systems. FDD is controlled by a floppy disk controller (FDC). As a commercially available FDC, the FDC of the µPD765 series by the Japan Electric Co., Ltd. is known, for example. A schematic configuration of an FDD control system using the FDC of this µPD765 series is shown in FIG. In FIG. 1, in the actual product, a VFO or the like which is a separate chip component from the FDC is also collectively shown as the FDC 32.

제1도의 시스템은, 플로피디스크에 데이타를 판독ㆍ기록하기 위한 제어 명령을 출력하는 CPU(31)와; CPU(31)의 명령에 따라 FDD를 제어하는 FDC(32)와; FDC(32)의 제어하에 플로피디스크를 드라이브하는 FDD(33)로 구성된다.The system of FIG. 1 includes a CPU 31 for outputting a control command for reading and writing data to a floppy disk; An FDC 32 for controlling FDD in accordance with a command of the CPU 31; It consists of an FDD 33 which drives a floppy disk under the control of the FDC 32.

제1도에 도시된 바와 같이, FDC(32)는 FDD(33)와의 사이에서 다수의 신호를 주고 받음으로써 FDD(33)를 제어하고, 플로피디스크에 기억된 데이타를 판독하여 플로피디스크에 데이타를 기록한다.As shown in FIG. 1, the FDC 32 controls the FDD 33 by exchanging a plurality of signals with the FDD 33, reads the data stored in the floppy disk, and writes the data to the floppy disk. Record it.

FDC(32)와 FDD(33)와의 사이에서 주고 받는 신호에 대해 설명한다.A signal exchanged between the FDC 32 and the FDD 33 will be described.

MOTOR ON신호(311)는 플로피디스크를 회전시키기 위한 스핀들 모터의 회전을 지시하는 신호이다. 신호(312)는 플로피디스크의 회전수가 일정해진 것을 나타내는 신호이다. STEP 신호(313)는 FDD(33)의 데이타의 판독/기록 헤드를 1트랙 이동시키는 것을 지시하는 신호이다. DIR신호(314)는 STEP신호(313)가 주어졌을 때의 헤드의 이동방향을 지시하는 신호이다. TRACKO신호(315)는 판독/기록 헤드가 현재 위치하는 트랙이 기준 트랙 위치(홈 포지션)인지 아닌지를 나타내는 신호이다. INDEX신호(316)는 1트랙내의 기록/판독의 기준으로 되는 위치를 나타내는 신호이다. RDATA신호(317)는 판독/기록 헤드에 의해 플로피디스크에서 판독된 데이타를 나타내는 신호이다. WDATA(318)는 플로피디스크에 기록해야 할 데이타를 나타내는 신호이다. WGATE신호(319)는 FDD(33)의 현재의 동작이 독출 동작인지, 기록동작인지를 지시하는 신호이다.The MOTOR ON signal 311 is a signal for instructing the rotation of the spindle motor for rotating the floppy disk. The signal 312 is a signal indicating that the rotation speed of the floppy disk is constant. The STEP signal 313 is a signal instructing to move the read / write head of the data of the FDD 33 by one track. The DIR signal 314 is a signal indicating the moving direction of the head when the STEP signal 313 is given. The TRACKO signal 315 is a signal indicating whether or not the track in which the read / write head is currently located is the reference track position (home position). The INDEX signal 316 is a signal indicating a position serving as a reference for recording / reading in one track. The RDATA signal 317 is a signal representing data read from the floppy disk by the read / write head. The WDATA 318 is a signal representing data to be written to a floppy disk. The WGATE signal 319 is a signal indicating whether the current operation of the FDD 33 is a read operation or a write operation.

FDC(32)는 CPU(31)에서 발하는 명령에 의해 제어되며, 상기 여러가지 신호를 출력하여 FDD(33)를 제어한다. FDC(32)는 RDATA신호(317)와 INDEX신호(316)에 따라서 플로피디스크에서 데이타를 판독하여 지시된 동작의 종료를 CPU(31)에 인터럽트신호 INT를 되돌리는 것에 의해 통지한다.The FDC 32 is controlled by a command issued by the CPU 31 and outputs the various signals to control the FDD 33. The FDC 32 reads data from the floppy disk in accordance with the RDATA signal 317 and the INDEX signal 316 to notify the CPU 31 of the interrupted signal INT by returning the end of the indicated operation.

제1의 구성에 있어서, MOTOR ON신호(311)에 응답하는 스핀들 모터가 회전을 시작하고 나서 모터의 회전이 안정되고, 데이타의 기록/판독을 할 수 있는 상태로 되기까지에 500ms이상의 시간이 필요하다. 또 STEP신호(303)에 응답하여 상기 헤드가 이동을 개시하고 나서 헤드 위치가 안정되기 까지에 18ms이상의 시간이 필요하다.In the first configuration, a time of 500 ms or more is required after the spindle motor in response to the MOTOR ON signal 311 starts to rotate until the rotation of the motor is stabilized and data can be written / read. Do. In addition, a time of 18 ms or more is required for the head position to stabilize after the head starts moving in response to the STEP signal 303.

스핀들 모터가 회전하기 시작하고 나서 안정되기까지의 시간, 또는 헤드가 이동하기 시작하고 나서 안정되기까지의 시간을, 총칭하여 상태 천이 시간이라고 부른다.The time until the spindle motor starts to rotate and stabilizes, or the time after the head starts to move and stabilizes, is collectively called a state transition time.

종래의 FDD시스템에서는 CPU가 모터 회전 명령 또는 헤드이동 명령을 출력하고 나서, 소프트웨어 타이머 등으로 시간을 측정하고, 상기 상태천이 시간이 경과하고 나서 다음의 동작을 하고 있다. CPU(31)가 이와 같은 동작을 하는 이유는 FDC, FDD가 모두 상기상태 천이 시간을 확보하는 기능이 없고, CPU(31)가 상태 천이 시간을 확보할 필요가 있기 때문이다. 그러나 이와 같은 수법을 채용하면, 상태 천이 시간동안 CPU(31)는 다른 일을 할 수 없게 된다. 특히 프로그램을 다중 작업으로 실행할 경우, 상태 천이 시간동안 모든 응용 프로그램의 실행이 정지되어 버린다. 이와 같은 사태를 회피하기 위해서는 CPU가 복잡한 처리를 실행하거나 하드웨어 타이머를 이용하지 않으면 안되었다.In the conventional FDD system, the CPU outputs a motor rotation command or a head move command, and then measures the time with a software timer or the like, and then performs the following operation after the state transition time has elapsed. The reason why the CPU 31 performs this operation is that both the FDC and the FDD have no function to secure the state transition time, and the CPU 31 needs to secure the state transition time. However, if such a technique is adopted, the CPU 31 cannot perform any other work during the state transition time. In particular, when a program is executed in multiple tasks, all applications are stopped during the state transition time. To avoid this situation, the CPU had to perform complex processing or use hardware timers.

상기 결점을 해결하기 위해 본 발명의 발명자는 FDC가 CPU에서의 명령에 따라 FDD를 제어하고, FDC가 INDEX신호와 RDATA신호를 정상으로 수신하고 나서 CPU에 대해 INT신호를 출력하는 것을 알아냈고, 그리고 FDC는 포매트 동작을 제외한 모든 기록/판독 조작을 RDATA신호에 의한 ID셀렉터의 검출 근원으로 하고, 포매트 동작은 인덱스 신호를 근원으로 하기 때문에, 헤드나 모터등의 가동부의 동작 이 불안정한 동안 상기 2개의 신호를 게이트하면 FDC를 대기시킬 수 있다는 것을 알았다.In order to solve the above drawback, the inventor of the present invention has found that the FDC controls the FDD according to the instruction from the CPU, the FDC normally outputs the INT signal to the CPU after receiving the INDEX signal and the RDATA signal, and Since the FDC uses all the write / read operations except for the format operation as the detection source of the ID selector by the RDATA signal, and the format operation uses the index signal as the source, while the operation of the moving parts such as the head and the motor is unstable, We found that gates two signals to wait for the FDC.

그래서, 본 발명에 의한 플로피디스크 제어장치는, CPU(중앙연산처리장치)(11)로부터의 제어 명령을 받아, 상기제어 명령에 따라 플로피디스크의 회전을 지시하는 MOTOR ON신호 및 판독/기록 헤드를 이동하는 것을 지시하는 STEP신호를 플로피디스크 드라이버(13)에 출력하고, 상기 플로피디스크 드라이버에서 상기 플로피디스크의 회전수가 소정치에 달한 것을 나타내는 READY신호와, 트랙상의 기준 위치를 나타내는 INDEX신호와, 상기 프로피디스크로부터의 판독 데이타를 포함하는 RDATA신호를 받아, 그 신호에 따라 플로피디스크로부터의 데이타의 판독, 플로피디스크에의 데이타의 기록을 제어하는 플로피 디스크 콘트롤러(12)와; 상기 플로피디스크 드라이버와 플로피디스크 콘트롤러에 접속되고, 상기 READY신호가 출력되고 있지 않을때, 상기 INDEX신호와 상기 RDATA신호를 상기 플로피디스크 콘트롤러에 공급하는 것을 금지하는 제1금지 수단과, 상기 STEP신호가 출력되고 나서 일정기간 경과하기까지 상기 INDEX신호와 상기 RDATA신호를 상기 플로피디스크 콘트롤러에 공급하는 것을 금지하는 제2 금지수단의 최소한 어느 한쪽을 구비하는 인터페이스 회로(100)로 구성되는 것으로 했다..Thus, the floppy disk control apparatus according to the present invention receives a control command from the CPU (central processing unit) 11 and generates a MOTOR ON signal and a read / write head which instructs the rotation of the floppy disk according to the control command. Outputting a STEP signal instructing to move to the floppy disk driver 13, the READY signal indicating that the rotation speed of the floppy disk reaches a predetermined value in the floppy disk driver, an INDEX signal indicating a reference position on the track, and A floppy disk controller 12 which receives an RDATA signal including read data from a profile disk and controls reading of data from the floppy disk and writing of data to the floppy disk according to the signal; First prohibiting means connected to the floppy disk driver and the floppy disk controller and prohibiting the supply of the INDEX signal and the RDATA signal to the floppy disk controller when the READY signal is not being output; It is assumed that the interface circuit 100 includes at least one of the second prohibition means for prohibiting the supply of the INDEX signal and the RDATA signal to the floppy disk controller until the output is passed for a predetermined period.

상기 구성을 함으로써, 본 발명에 의하면 플로피디스크 콘트롤러는 가동부의 동작이 안정되고 나서 플로피디스크에서 데이타를 판독한다. 이 때문에, CPU가 천이 시간을 계측하거나 할 필요가 없어, CPU의 처리 능력을 향상시킬 수 있다. 또 INDEX신호와 RDATA신호의 양쪽을 게이트하고 있으므로 플로피디스크 콘트롤러가 잘못 동작되거나 포기하는 일이 없다.According to the present invention, the floppy disk controller reads data from the floppy disk after the operation of the movable portion is stabilized. For this reason, it is not necessary for the CPU to measure the transition time, and the processing power of the CPU can be improved. In addition, since both the INDEX and RDATA signals are gated, the floppy disk controller does not operate or give up.

다음에, 본 발명의 제1의 실시예에 의한 FDD제어 시스템을 설명한다. 이 제1실시예는 플로피디스크를 회전시키는 스핀들 모터가 회전을 시작하고 나서 회전이 안정될때까지의 시간, CPU가 다른 업무를 실행할 수 있는 구성으로 한 것이다. 그리고 제2도에서는 실제의 제품에서는 별개의 칩으로 될 가능성이 있는 VFO등도 FDC로서 일괄하여 도시되고 있다.Next, an FDD control system according to the first embodiment of the present invention will be described. This first embodiment has a configuration in which the time until the rotation is stabilized after the spindle motor for rotating the floppy disk starts to rotate and the CPU can execute other tasks. In FIG. 2, VFOs and the like, which may become separate chips in actual products, are collectively shown as FDCs.

다음에 제1실시에에 의한 FDD제어 시스템의 구성을 제2도를 참조하여 설명한다. CPU(11)과 FDC(12)는 버스(14)로 접속되어 있으며, CPU(11)는 FDC(12)에 동작 명령을 출력하고, FDC(12)에서 인터럽트 신호 INT를 받는다.Next, the configuration of the FDD control system according to the first embodiment will be described with reference to FIG. The CPU 11 and the FDC 12 are connected by a bus 14, and the CPU 11 outputs an operation command to the FDC 12, and receives the interrupt signal INT from the FDC 12.

FDC(12)는 μPD765시리즈 해당의 기능을 갖는 FDC이며, 기능적으로 타이밍ㆍ명령 제어부, FDD제어부, 판독 제어부, 기록 제어부 등으로 분할해서 생각할 수 있다.The FDC 12 is an FDC having a function corresponding to the µPD765 series, and can be considered to be functionally divided into a timing / command control unit, an FDD control unit, a read control unit, a write control unit, and the like.

타이밍ㆍ명령 제어부는 CPU(11)로부터의 명령을 받아, 해석하고 지시된 제어를 실행하기 위한 제어 신호를 출력한다. 또 타이밍ㆍ명령 제어부는 CPU(11)로부터의 명령을 실행하면, CPU(11)에 인터럽트 신호를 출력한다. 기록 제어부는 타이밍ㆍ명령 제어부에 제어하에 CPU(11)에서 기록 데이타를 WDATA신호로서 출력하고, WGATE신호를 출력하여, 데이타 기록을 지시한다. 판독 제어부는 타이밍ㆍ명령 제어부의 제어하에 FDD(13)의 판독/기록 헤드에 의해 판독되면 데이타(타이밍펄스와 데이타 펄스가 혼재한 펄스열)를 VFO를 통해 수신하고, 판독 데이타를 CPU(11)에 출력한다. FDD제어부는 타이밍ㆍ명령 제어부의 제어하에 CPU(11)가헤드의 이동을 지시했을 때에는 STEP신호와 DIR신호를 CPU(11)가 스핀들 모터의 회전을 지시했을 때에는 MOTOR ON신호를 출력한다.The timing / command control unit receives a command from the CPU 11, and outputs a control signal for analyzing and executing the indicated control. The timing / instruction control unit outputs an interrupt signal to the CPU 11 when executing the instruction from the CPU 11. The recording control section outputs write data as a WDATA signal from the CPU 11 under control to the timing / command control section, outputs a WGATE signal, and instructs data recording. The read control section receives data (a pulse string in which timing pulses and data pulses are mixed) through the VFO when read by the read / write head of the FDD 13 under the control of the timing / command control section, and read data to the CPU 11. Output The FDD control section outputs a STEP signal and a DIR signal when the CPU 11 instructs the head to move under the control of the timing / command control section, and outputs a MOTOR ON signal when the CPU 11 instructs the rotation of the spindle motor.

FDC(12)로부터의 STEP신호와 DIR신호는 FDD(13)내의 판독/기록 헤드(131)의 위치를 이동하는 헤드 드라이버(132)에 공급된다. FDC(12)로부터의 MOTOR ON신호는 플로피디스크를 구동하는 스핀들 모터(133)를 제어하는 모터 드라이버(134)에 공급된다. FDD(13)내의 모터 동작 상태 검지기(135)는 스핀들 모터의 회전 상태를 검출하고, 모터의 회전 상태가 안정되면 READY신호를 출력한다. FDC(13)의 인덱스 검지기(136)는플로피디스크에 설치된 인덱스(인덱스홀 등)를 검출하고, 검출하면 INDEX신호를 출력한다.The STEP and DIR signals from the FDC 12 are supplied to the head driver 132 which moves the position of the read / write head 131 in the FDD 13. The MOTOR ON signal from the FDC 12 is supplied to the motor driver 134 which controls the spindle motor 133 which drives the floppy disk. The motor operation state detector 135 in the FDD 13 detects the rotation state of the spindle motor, and outputs a READY signal when the rotation state of the motor is stabilized. The index detector 136 of the FDC 13 detects an index (index hole or the like) provided in the floppy disk, and outputs an INDEX signal when detected.

FDD(13)의 판독 회로(137)는 판독/기록 헤드(131)에 의해 독출된 아날로그신호를 증폭하고, 펄스 신호로 변환하여 RDATA신호로서 출력한다.The read circuit 137 of the FDD 13 amplifies the analog signal read by the read / write head 131, converts it into a pulse signal, and outputs it as an RDATA signal.

FDD(13)의 기록회로(138)는 FDC(12)로부터의 WDATA신호, WGATE신호를 받아, 판독/기록 헤드(131)에 기록 데이타를 공급하여, 플로피디스크에 데이타를 기록한다. FDD(13)의 마이크로스위치(139)는 헤드(131)가 홈포지션에 위치할때 온(ON)하여 신호 TRACKO를 출력한다.The recording circuit 138 of the FDD 13 receives the WDATA signal and the WGATE signal from the FDC 12, supplies the write data to the read / write head 131, and writes the data to the floppy disk. The microswitch 139 of the FDD 13 turns on when the head 131 is in the home position and outputs the signal TRACKO.

FDC(12)와 FDD(13)사이에는 인터페이스회로(100)가 설치되어 있다. 이 인터페이스 회로(100)는 앤드게이트(111), (112)로 구성된다. 앤드게이트(111) ,(112)의 한쪽의 입력단자에는 공통으로 READY신호가 공급된다. 앤드게이트(111)의 다른쪽 입력단자에는 INDEX신호가 공급된다. 앤드게이트(112)의 다른쪽 입력단자에는 RDATA신호가 공급된다. 앤드게이트(111)의 출력 신호는 FDC(12)의 인덱스 신호 입력단자에 공급되며, 앤드게이트(112)의 출력신호는 FDC(12)의 RDATA신호 입력단자에 공급된다.An interface circuit 100 is provided between the FDC 12 and the FDD 13. This interface circuit 100 is composed of end gates 111 and 112. The READY signal is commonly supplied to one of the input terminals of the AND gates 111 and 112. The INDEX signal is supplied to the other input terminal of the AND gate 111. The RDATA signal is supplied to the other input terminal of the AND gate 112. The output signal of the AND gate 111 is supplied to the index signal input terminal of the FDC 12, and the output signal of the AND gate 112 is supplied to the RDATA signal input terminal of the FDC 12.

제2도에 도시된 신호들은 기본적으로 종래 사용되는 신호와 동일하지만 이 실시예에서 중요한 작용을 하는 신호에 대해 구체적으로 설명한다.The signals shown in FIG. 2 are basically the same as the signals used conventionally, but will be described in detail with respect to the signals having important functions in this embodiment.

(1) READY(1) READY

READY신호는 플로피디스크의 회전수가 안정되어 있는지 아닌지를 나타내는 신호이다. FDD(13)에 플로피디스크가 삽입되고, 플로피디스크가 회전을 시작하여 회전수가 일정해지면, READY신호는 논리 "1"레벨로 된다. 논리 "1" 레벨의 READY신호는 플로피디스크에 의해 데이타의 기록/판독이 가능한 것을 나타낸다.The READY signal indicates whether or not the rotation speed of the floppy disk is stable. When the floppy disk is inserted into the FDD 13 and the floppy disk starts to rotate and the rotation speed becomes constant, the READY signal is brought to the logical # 1 level. The READY signal at the logical '1' level indicates that data can be written / read by the floppy disk.

(2) STEP(2) STEP

STEP신호는 헤드를 움직이기 위해 사용되는 신호이다. 헤드 드라이버(132)는 STEP신호에 포함되는 펄스의 뒷가장자리(논리 "1"에서 "0"으로의 변환점)에서 FDD(13)의 판독/기록헤드(131)를 1트랙 이동한다. 그러나, 판독/기록 헤드(131)가 플로피디스크에 데이타를 기록중이면 헤드 드라이버(132)는 판독/기록 헤드(131)를 이동시키지 않는다. 판독/기록헤드(131)의 위치는 STEP신호에 포함되는 최종 펄스의 뒷 가장자리에서 18ms후에 안정된다. 판독/기록헤드(131)의 위치가 안정된 다음, 플로피디스크에의 데이타의 기록과 플로피디스크로의 데이타의 판독이 가능해진다.STEP signal is used to move the head. The head driver 132 moves the read / write head 131 of the FDD 13 one track at the trailing edge of the pulse included in the STEP signal (transition point from logic # 1 'to # 0'). However, if the read / write head 131 is writing data to the floppy disk, the head driver 132 does not move the read / write head 131. The position of the read / write head 131 is stabilized after 18 ms at the trailing edge of the last pulse included in the STEP signal. After the position of the read / write head 131 is stabilized, the data can be written to the floppy disk and the data can be read to the floppy disk.

(3) MOTOR ON(3) MOTOR ON

MOTOR ON신호는 스핀들 모터를 움직이기 위해 사용한다. 논리 "1"레벨일 때는 스핀들 모터는 회전하고, 논리 "0"레벨일때 정지한다. 스핀들 모터의 스타트 업(start up)시간은 약 500ms이다. FDD(13)에 플로피디스크가 삽입되어 있지 않을때에는 MOTOR ON신호가 논리 "1"레벨이더라도 모터 드라이버(134)는 스핀들 모터를 회전시키지 않는다.The MOTOR ON signal is used to move the spindle motor. At the logic # 1 level, the spindle motor rotates and stops at the logic # 0 level. The start up time of the spindle motor is about 500 ms. When the floppy disk is not inserted into the FDD 13, the motor driver 134 does not rotate the spindle motor even if the MOTOR ON signal is at the logic # 1 level.

(4) INDEX(4) INDEX

INDEX신호는 트랙의 시작을 나타내는 신호이다. INDEX신호는 데스크의 1회전마다 1회, 논리 "1"레벨의 펄스로 된다. FDD(13)에 플로피디스크가 장전되어 있지 않을 경우, 이 신호는 논리"0"레벨로 된다.The INDEX signal is a signal indicating the start of a track. The INDEX signal is a pulse at the logic # 1 level level once per desk rotation. When no floppy disk is loaded in the FDD 13, this signal is at the logic level 0 level.

(5) RDATA(5) RDATA

RDATA신호는 플로피디스크에서 판독된 아날로그 신호가 펄스 신호로 변환된 것으로서, 클록 펄스의 데이타 펄스가 혼재된 펄스열로 구성된다. 각 펄스의 앞가장자리가 판독 데이타를나타낸다.The RDATA signal is obtained by converting an analog signal read from a floppy disk into a pulse signal, and is composed of a pulse train in which data pulses of clock pulses are mixed. The leading edge of each pulse represents the read data.

다음에 제2도에 도시된 구성의 시스템의 동작을 제3도를 참조하여 설명한다. 제3도는 제2도의 CPU(11), FDC(12), FDD(13), 인터페이스회로(100)의 각 동작을, 시계열적으로 나타낸다.Next, the operation of the system having the configuration shown in FIG. 2 will be described with reference to FIG. FIG. 3 shows the operations of the CPU 11, FDC 12, FDD 13, and interface circuit 100 in FIG. 2 in time series.

이 실시예에서는 스핀들 모터의 회전이 안정되기까지의 시간을 FDC측에서 확보하는 구성이며, CPU(11)가 현재 정지 중인 플로피디스크에서 데이타의 판독을 원했다고 가정한다. CPU(11)는 모터동작 명령을 버스(14)를 통해 FDC(12)에 출력한다(스텝 S1). CPU(11)로부터의 명령에 응답하여, 플로피디스크 콘트롤러(12)는 MOTOR ON신호를 출력한다("1"레벨로 한다)(스텝 S2). MOTOR ON신호에 응답하여 모터드라이버(134)는 스핀들 모터(133)를 회전시킨다(스텝 S3).In this embodiment, it is assumed that the time until the rotation of the spindle motor is stabilized is secured on the FDC side, and it is assumed that the CPU 11 wants to read data from the floppy disk which is currently stopped. The CPU 11 outputs a motor operation command to the FDC 12 via the bus 14 (step S1). In response to a command from the CPU 11, the floppy disk controller 12 outputs a MOTOR ON signal (it is set at # 1 level) (step S2). In response to the MOTOR ON signal, the motor driver 134 rotates the spindle motor 133 (step S3).

CPU(11)는 모터 동작 명령 출력후, 상태 천이시간의 경과를 기다리지 않고 다음의 명령, 예를 들면 데이타의 판독 명령을 출력하고(스텝 S4), 다른 처리로 옮긴다(스텝 S5).After outputting the motor operation command, the CPU 11 outputs the next command, for example, a data read command (step S4) without waiting for the elapse of the state transition time (step S4), and shifts to another process (step S5).

스텝 S4에서 출력된 독출 명령에 따라, FDC(12)는 플로피디스크에서 데이타를 판독하려 한다. 그러나 모터(132)가 회전을 시작한 당초, 모터(132)의 회전은 불안정하며, READY신호는 "0"레벨이다. 이 때문에 앤드 게이트(111), (112)는 닫히고, FDC(12)에는 INDEX신호, RDATA신호가 공급되지 않는다. 이 때문에 FDC(12)는 대기 상태로 되고(스텝 S6), INDEX 신호, RDATA신호가 공급되는 것을 기다린다.In accordance with the read command output in step S4, the FDC 12 attempts to read data from the floppy disk. However, at the beginning of the rotation of the motor 132, the rotation of the motor 132 is unstable, and the READY signal is at the '0' level. For this reason, the AND gates 111 and 112 are closed, and the INDEX signal and the RDATA signal are not supplied to the FDC 12. For this reason, the FDC 12 enters the standby state (step S6) and waits for the INDEX signal and the RDATA signal to be supplied.

상태천이 시간이 경과하고, 플로피디스크의 회전이 안정되면(스텝 S7), 모터 상태 검출기(135)는 READY신호를 출력한다(스텝 S8), READY신호에 응답하여, 앤드게이트(111), (112)가 열리고, INDEX신호, RDATA신호를 FDC(12)에 공급한다(스텝 S8). FDC(12)는 RDATA신호와 INDEX신호에 의거하여 데이타의 판독 동작을 실행하고, 인터럽트 신호 INT를 출력한다( 스텝 S9). CPU(11)는 인터럽트 신호 INT에 응답하여, 현재 실행중인 처리를 중단한다. CPU(11)는 인터럽트처리 루틴내에서 플로피디스크 콘트롤러(12)에서 판독한 데이타를 받아(스텝 S10), 다음의 처리로 옮아간다.When the state transition time has elapsed and the rotation of the floppy disk is stabilized (step S7), the motor state detector 135 outputs a READY signal (step S8). In response to the READY signal, the AND gates 111, 112 ) Is opened, and the INDEX signal and the RDATA signal are supplied to the FDC 12 (step S8). The FDC 12 executes a data read operation based on the RDATA signal and the INDEX signal, and outputs an interrupt signal INT (step S9). The CPU 11 stops the currently executing process in response to the interrupt signal INT. The CPU 11 receives the data read by the floppy disk controller 12 in the interrupt processing routine (step S10), and moves to the next process.

다음에 스텝 S4에서 CPU(11)가 데이타의 기록을 지시했을 경우를 생각한다. FDC(12)는 데이타를 기록해야할 목적이 섹터를 찾아내기 위해 일단 판독 동작을 실행한다. 이 때문에 상기 스텝 S4-스텝 S9의 동작이 그대로 실행된다. CPU는 스텝 S10의 인터럽트 처리내에서 헤드가 목적하는 섹터에 달한 것을 ID데이타를 체크함으로써 검출한 시점에서, 기록 데이타를 FDC(12)에 공급한다. FDC(12)는 WDATA신호와 WGATE신호를 출력하여, 플로피디스크의 소망의 섹터에 소정의 데이타를 기록한다. FDC(12)는 RDATA신호를 받기 전에 INDEX신호를 규정의 회수 이상 검출하면 포기해 버린다. 따라서 RDATA신호만을 READY신호를 사용하여 게이트하면, FDC(12)가 INDEX신호를 규정회수 이상 수신하여, FDC(12)가 금지되어 버린다. 또 FDC(12)는 불안정한 RDATA신호를 받으면 잘못 동작될 가능성이 있다. 따라서, INDEX신호만을 READY신호를 사용하여 게이트하면 불안정한 RDATA에 의해 FDC(12)가 잘못 동작될 가능성이 있다. 이 결과, INDEX신호와 RDATA신호의 양쪽을 READY신호를 사용하여 게이트하면, FDC(12)는 잘못된 동작이나 금지되는 일없이 상태천이 시간 동안 대기 할 수 있다.Next, a case will be considered in which the CPU 11 instructs recording of data in step S4. The FDC 12 performs a read operation once to find a sector whose purpose is to write data. For this reason, the operation | movement of the said step S4-step S9 is performed as it is. The CPU supplies the write data to the FDC 12 at the point of time when the ID data detects that the head has reached the desired sector in the interrupt processing of step S10. The FDC 12 outputs the WDATA signal and the WGATE signal, and records predetermined data in a desired sector of the floppy disk. If the FDC 12 detects the INDEX signal more than the specified number of times before receiving the RDATA signal, it gives up. Therefore, when only the RDATA signal is gated using the READY signal, the FDC 12 receives the INDEX signal more than the prescribed number of times, and the FDC 12 is prohibited. In addition, the FDC 12 may operate incorrectly upon receiving an unstable RDATA signal. Therefore, if only the INDEX signal is gated using the READY signal, there is a possibility that the FDC 12 may operate incorrectly due to unstable RDATA. As a result, when both the INDEX signal and the RDATA signal are gated using the READY signal, the FDC 12 can wait for the state transition time without erroneous operation or prohibition.

플로피디스크 콘트롤러(12)는 포매트 동작을 제외한 모든 기록/판독 조작을 RDATA신호에 의한 ID셀렉터의 검출을 근거로 하고, 포매트 동작은 INDEX신호를 근거로 하기 때문에, RDATA신호와 INDEX신호를 게이트하는 것이 FDC(12)를 상태천이 기간동안 대기시키기 위한 필요 충분한 조건으로 된다.The floppy disk controller 12 performs all write / read operations except for the format operation based on the detection of the ID selector by the RDATA signal, and the format operation is based on the INDEX signal, so that the RDATA and INDEX signals are gated. Is a necessary and sufficient condition for waiting the FDC 12 for the state transition period.

다음에, 본 발명의 제2의 실시예를 제4도를 참조하여 설명한다. 제4도의 구성은 판독/기록 헤드의 이동에 수반하는 천이시간을 FDC측에서 확보하기 위한 구성이다.Next, a second embodiment of the present invention will be described with reference to FIG. 4 is a configuration for ensuring the transition time accompanying the movement of the read / write head on the FDC side.

제4도의 기본 구성은 제2도에 도시된 구성과 유사하며, 특징점을 중심으로 기재한다. 특징점은 인터페이스회로(100)가 인터페이스회로(200)와 대체되고 있는 것이다. 이 인터페이스회로(200)는 리트리거 단안정의 멀티바이브레이터(리트리거블 원쇼트)(211)와, 앤드게이트(212), (213)로 구성되어 있다. 리트리거볼 단안정 멀티바이브레이터(211)는 STEP신호의 하강에 의해 트리거되어, 대략 18ms이상 동안 펄스 신호를 출력한다. 멀티바이브레이터(211)는 펄스신호의 출력중에 다시 STEP신호가 도래하면 리트리거된다. 단안정의 멀티바이브레이터(211)의 Q바 출력은 앤드게이트(212), (213)의 한쪽의 입력단자에 공통으로 공급된다. 앤드게이트(212)의 다른쪽 입력단자에는 플로피디스크 드라이브(13)에서 INDEX신호가 공급된다. 앤드게이트(213)의 다른쪽 입력단자에는 RDATA신호가 공급된다. 앤드게이트(212)의 출력단자는 플로피디스크 콘트롤러(12)의 RDATA신호 입력단자에 접속된다.The basic configuration of FIG. 4 is similar to the configuration shown in FIG. 2 and is described based on the feature points. The characteristic point is that the interface circuit 100 is replaced with the interface circuit 200. The interface circuit 200 is composed of a retrigger monostable multivibrator (retriggerable one short) 211, and end gates 212, 213. The retrigger ball monostable multivibrator 211 is triggered by the falling of the STEP signal, and outputs a pulse signal for approximately 18 ms or more. The multivibrator 211 is retriggered when the STEP signal arrives again during the output of the pulse signal. The Q-bar output of the monostable multivibrator 211 is commonly supplied to one input terminal of the AND gates 212 and 213. The other input terminal of the AND gate 212 is supplied with an INDEX signal from the floppy disk drive 13. The RDATA signal is supplied to the other input terminal of the AND gate 213. The output terminal of the AND gate 212 is connected to the RDATA signal input terminal of the floppy disk controller 12.

멀티바이브레이터(211)에 공급되는 STEP신호는 헤드를 움직이기 위해 사용되는 신호이다. STEP신호에 포함되는 펄스의 뒷가장자리(논리 "1"에서 "0"으로의 변환점)에서 헤드 드라이버는 판독/기록 헤드를 1트랙 이동한다. 단, FDD(13)가 플로피디스크에 데이타를 기록중이면, 헤드 드라이버는 판독 기록 헤드를 이동하지 않는다. 판독/기록 헤드는 최종 스텝펄스의 뒷가장 자리에서 18ms후에 안정되고, 안정후, 플로피디스크에의 데이타의 기록 독출 동작이 가능해진다.The STEP signal supplied to the multivibrator 211 is a signal used to move the head. At the trailing edge of the pulse included in the STEP signal (transition point from logic # 1 'to # 0'), the head driver moves the read / write head one track. However, if the FDD 13 is writing data to the floppy disk, the head driver does not move the read write head. The read / write head is stabilized after 18 ms at the edge of the last step pulse, and after the stabilization, the operation of reading and writing data to the floppy disk becomes possible.

다음에 제5도를 참조하여, 제4도에 도시되는 시스템의 동작에 대해 설명한다. 제4도의 구성은 헤드의 이동 시간을 FDC측에서 확보하는 구성이며, CPU가 판독/기록 헤드의 위치를 이동하고 나서 데이타를 판독하려고 했다고 가정한다.Next, with reference to FIG. 5, the operation of the system shown in FIG. 4 will be described. 4 is a configuration in which the movement time of the head is secured on the FDC side, and it is assumed that the CPU attempts to read data after moving the position of the read / write head.

CPU(11)는 헤드의 이동 명령을 출력한다(스텝 S21). 이 이동 명령은 헤드가 이동해야할 트랙수에 따라 1 또는 복수회 출력된다. CPU(11)는 상태천이 시간의 경과를 기다리지 않고, 다음의 명령, 예를 들어 데이타의 판독 명령을 출력하고(스텝 S22), 다음처리(스텝 S23)로 옮아간다.The CPU 11 outputs a head movement command (step S21). This movement command is output one or more times depending on the number of tracks the head is to move. The CPU 11 outputs the next command, for example, a data read command (step S22) without waiting for the passage of the state transition time, and moves on to the next process (step S23).

헤드 이동 명령에 응답하여, FDC(12)는 하나의 헤드 이동명령에 대해 1펄스의 STEP신호를 출력한다(스텝 S24). 그리고 STEP신호는 헤드가 이동중이더라도 복수 부여함으로써 복수 트랙의 이동을 할 수 있다.In response to the head movement command, the FDC 12 outputs a one-step STEP signal for one head movement command (step S24). Further, even if the head is moving, a plurality of STEP signals can be provided to move a plurality of tracks.

FDD의 헤드 드라이버는 하나의 STEP신호에 응답하여 DIR신호에 의해 지정되는 방향으로 헤드를 1트랙 이동한다(스텝 S25)The head driver of the FDD moves the head one track in the direction specified by the DIR signal in response to one STEP signal (step S25).

STEP신호에 의해 단안정의 멀티바이브레이터(211)는 트리거되고, Q바 출력은 "0"레벨로 된다(스텝 S26). "0"레벨의 Q바 신호에 응답하여, 앤드 게이트(212),(213)는 닫힌다. 이 때문에 INDEX신호, RDATA신호는 앤드게이트(212), (213)에 블록되어, FDC(12)에 공급되지 않는다. 멀티바이브레이터(211)는 리트리거형이며, STEP신호가 출력할때마다 리트리거되고(스텝 S27), Q바 출력은 계속 "0"레벨이다. 이 때문에 멀티바이브레이터(211)가 마지막으로 리트리거되고 나서(최후의 STEP신호(펄스)의 출력후), 대략 18미리초 경과하기까지 앤드게이트(212), (213)는 계속 닫힌다.The monostable multivibrator 211 is triggered by the STEP signal, and the Q bar output is brought to the '0' level (step S26). In response to the Q bar signal at the '0' level, the AND gates 212 and 213 are closed. For this reason, the INDEX signal and the RDATA signal are blocked by the AND gates 212 and 213 and are not supplied to the FDC 12. The multivibrator 211 is of a retrigger type, and is retriggered every time the STEP signal is output (step S27), and the Q bar output continues to be at the '0' level. For this reason, after the multivibrator 211 is finally retried (after the output of the last STEP signal (pulse)), the AND gates 212 and 213 continue to close until approximately 18 milliseconds have elapsed.

CPU(11)로부터의 판독 명령에 응답하여, FDC(12)는 데이타를 판독하려고 한다. 그러나, INDEX신호 및 RDATA신호가 FDC(12)에 공급되지 않기 때문에, FDC(12)는 데이타를 읽을 수 없어서 대기 상태로 된다(스텝 S28).In response to a read command from the CPU 11, the FDC 12 attempts to read data. However, since the INDEX signal and the RDATA signal are not supplied to the FDC 12, the FDC 12 cannot read data and enters the standby state (step S28).

STEP신호의 최종 펄스의 뒷가장자리에서 18미리초 경과하면, FDD(13)의 판독/기록 헤드는 안정된다(스텝 S29). 그후 단안정의 멀티바이브레이터(211)의 Q바 출력은 "`1"레벨로 된다(스텝 S30). 이 때문에 앤드게이트(212), (213)가 열려, FDC(12)에 INDEX신호, RDATA신호가 공급된다(스텝 S31), FDC(12)는 INDEX신호, RDATA신호에 의거하여 데이타의 판독 동작을 하고, CPU(11)에 대해 INT신호에 의해 인터럽트 요구를 발생한다(스텝 S32).When 18 milliseconds have passed from the edge of the last pulse of the STEP signal, the read / write head of the FDD 13 is stabilized (step S29). After that, the Q-bar output of the monostable multivibrator 211 is set at the level of '1' (step S30). For this reason, the AND gates 212 and 213 are opened, and the INDEX signal and the RDATA signal are supplied to the FDC 12 (step S31). The FDC 12 performs the data read operation based on the INDEX signal and the RDATA signal. Then, the interrupt request is generated to the CPU 11 by the INT signal (step S32).

CPU(11)는 FDC(12)로부터의 인터럽트 요구를 받아, 현재 실행중인 처리를 중단하고, 인터럽트 처리 루틴내에서 FDC(12)로부터 판독 데이타를 받아(스텝 S33), 다음 처리로 이행한다.The CPU 11 receives the interrupt request from the FDC 12, stops the currently executing process, receives the read data from the FDC 12 in the interrupt processing routine (step S33), and proceeds to the next process.

다음에 스텝 S22에서 CPU가 데이타의 기록을 지시, 기록 데이타를 출력했을 경우를 생각한다. 플로피디스크 콘트롤러(12)는 데이타를 기록해야 할 목적의 섹터를 찾아내기 위해, 일단 판독 동작을 실행한다. 이 때문에 상기 스텝 S23-S32의 동작이 실행된다. 그리고, CPU(11)가 스텝 S33의 인터럽트 처리내에서, 헤드가 목적하는 섹터에 달한 것을 검출한 시점에서, CPU(11)는 기록 데이타를 FDC(12)에 공급하고, FDC(12)는 WDATA신호와 WGATE신호를 출력하여, 플로피디스크에 소망의 데이타를 기록한다.Next, consider a case in which the CPU instructs the recording of data and outputs the recording data in step S22. The floppy disk controller 12 performs a read operation once to find a sector for which data is to be written. For this reason, the operation | movement of the said step S23-S32 is performed. Then, when the CPU 11 detects that the head reaches the desired sector in the interrupt processing of Step S33, the CPU 11 supplies the write data to the FDC 12, and the FDC 12 supplies the WDATA. Signal and WGATE signal are output, and the desired data is written to the floppy disk.

FDC(12)는 RDATA신호를 받기 전에 INDEX신호를 규정의 회수 이상 검출하면 금지되어 버린다. 따라서 RDATA신호만을 READY신호를 사용하여 게이트하면 INDEX신호를 규정 회수이상 수신함으로써 FDC(12)가 금지되어 버린다. 또 FDC(12)는 불안정한 RDATA신호를 받으면 잘못 동작될 가능성이 있다. 따라서, INDEX신호만을 멀티바이브레이터(211)의 출력 신호로 게이트하면 불안정한 RDATA에 의해 RDC(12)가 잘못 동작될 가능성이 있다. 따라서, INDEX신호와 RDATA신호의 양쪽을 READY신호르 사용하여 게이트하면 FDC(12)는 잘못된 동작이나 금지되는 일 없이 천이 시간 동안 대기할 수 있다.The FDC 12 is prohibited if it detects the INDEX signal more than the specified number of times before receiving the RDATA signal. Therefore, when only the RDATA signal is gated using the READY signal, the FDC 12 is prohibited by receiving the INDEX signal more than the specified number of times. In addition, the FDC 12 may operate incorrectly upon receiving an unstable RDATA signal. Therefore, if only the INDEX signal is gated with the output signal of the multivibrator 211, there is a possibility that the RDC 12 may operate incorrectly due to unstable RDATA. Therefore, when both the INDEX signal and the RDATA signal are gated using the READY signal, the FDC 12 can wait for a transition time without erroneous operation or prohibition.

FDC(12)는 포매트 동작을 제외한 모든 기록/판독 조작을 RDATA신호에 의한 ID섹터의 검출을 근원으로 하고, 포매트 동작은 INDEX신호를 근거로 하기 때문에 상기 2개의 신호를 게이트하는 것이 FDC(12)를 대기시키기 위한 필요 충분한 조건으로 된다.The FDC 12 is based on the detection of the ID sector by the RDATA signal for all write / read operations except for the format operation, and the format operation is based on the INDEX signal. 12) Necessary conditions for waiting are made.

상기 실시예에서는 모터의 상태천이 시간과 헤드의 상태천이시간을 따로따로 생각했지만, 제6도의 구성으로 하면 어느것에도 대처할 수 있다. 제6도의 구성은 제2도 및 제4도의 구성을 조합한 것에 대응한다.In the above embodiment, the state transition time of the motor and the state transition time of the head are separately considered, but the configuration shown in FIG. 6 can cope with any of them. The configuration of FIG. 6 corresponds to the combination of the configurations of FIG. 2 and FIG.

상기 실시예에 있어서는 CPU(11)는 FDC로부터의 인퍼럽트 신호에 응답하여, 인터럽트 처리내에서 판독/기록을 실행한다. 그러나 이것에 한정되지 않며, 예를 들어 CPU(11)의 보링 처리에 의해, FDC의 실행 상태를 체크함으로써 판독/기록 동작을 하도록 해도 된다.In the above embodiment, the CPU 11 executes read / write in the interrupt process in response to the interrupt signal from the FDC. However, the present invention is not limited thereto, and the read / write operation may be performed by checking the execution state of the FDC, for example, by the boring process of the CPU 11.

또, 상기 실시예에서는 FDC(12)와 인터페이스회로(100), (200)를 별개의 구성으로 생각했지만, 제2, 4 및 6도의 파선(300)으로 표시되는 부분을, 근래의 슈퍼인테그레이션 기술을 사용하여, 1칩화해도 된다. 부분(300)을 1칩화하면 플로피디스크콘트롤시스템의 구성을 간단히 하고, 또한 취급을 간단히 할 수 있다.In the above embodiment, the FDC 12 and the interface circuits 100 and 200 are considered to be separate configurations. However, in the super-integration technique, the portions indicated by the broken lines 300 of the second, fourth and sixth degrees are shown. 1 chip may be used. If the portion 300 is made into one chip, the configuration of the floppy disk control system can be simplified and the handling can be simplified.

상기 실시예에 있어서는 모터의 상태천이 시간을 500ms, 판독/기록 헤드의 상태천이 시간을 18ms로 생각했지만, 이것에 한정되지 않으며, 상태천이 시간은 어떤 값이라도 좋다. 단, 멀터바이브레이터(311)의 펄스폭은 판독/기록 헤드의 상태천이 시간의 장단에 맞추어서 조정된다.In the above embodiment, the state transition time of the motor is 500 ms and the state transition time of the read / write head is 18 ms, but the present invention is not limited to this, and the state transition time may be any value. However, the pulse width of the multer vibrator 311 is adjusted in accordance with the length and length of the state transition time of the read / write head.

본 발명에 사용되는 인터페이스 회로는 상기 실시예에 도시되는 인터페이스 회로에 한정되지 않으며, 상태천이 시간동안 INDEX신호 RDATA신호를 FDC(12)에 공급하지 않으면 어떤 구성을 사용해도 된다. 예를 들면 멀티바이브레이터(211)를 타이머로 치환할 수 있다.The interface circuit used in the present invention is not limited to the interface circuit shown in the above embodiment, and any configuration may be used as long as the INDEX signal RDATA signal is not supplied to the FDC 12 during the state transition time. For example, the multivibrator 211 can be replaced with a timer.

상기실시예에 있어서 사용되는 플로피디스크 콘트롤러는 니혼덴끼(일본전기(주))제의 FDC인 μPD765시리즈를 상정하고 있지만 다른 FDC에서도 똑같은 제어 방법을 취하고 있으면 유효하다. 또 FDD로서는 일반적인 3,5,5,8인치의 어느것이라도 또 그 이외라도 좋다.The floppy disk controller used in the above embodiment assumes the µPD765 series, a FDC manufactured by Nippon Denki Co., Ltd., but is effective if the same control method is used in other FDCs. As FDD, any of 3, 5, 5, and 8 inches in general may be used.

실시예에 의하면 CPU는 종래 상태천이 시간을 측정하기 위해 소비하고 있던 시간을, 다른 처리에 돌릴수 있다. CPU에 있어서는 18ms나 500ms라고 하는 시간은 매우 긴 시간이며, 한편, CPU의 단위 시간당의 처리 능력도 향상하고 있어서 이들 시간을 무시할 수 없다. 이 실시예에서는 FDD측에서 상태천이 시간을 확보함으로서 CPU는 상태천이 시간을 의식할 필요가 없어져서 소프트웨어의 구성이 용이해지고 또 CPU의 처리효율도 향상된다.According to the embodiment, the CPU can turn the time spent on the conventional state transition time to other processing. In the CPU, the time of 18 ms or 500 ms is a very long time, and the processing power per unit time of the CPU is also improved, and these times cannot be ignored. In this embodiment, by securing the state transition time on the FDD side, the CPU does not need to be aware of the state transition time, thereby facilitating software configuration and improving the processing efficiency of the CPU.

Claims (20)

CPU(중앙연산처리장치(11)로부터의 제어 명령을 받아, 상기 제어 명령에 따라서 플로피디스크의 회전을 지시하는 MOTOR ON신호 및 판독/기록 헤드를 이동하는 것을 지시하는 STEP신호를 플로피디스크 드라이버(13)에 출력하고, 상기 플로피디스크드라이버에서 상기 플로피디스크의 회전수가 소정치에 달한것을 나타내는 READY신호와, 트랙상의 기준 위치를 나타내는 INDEX신호와, 상기 플로피디스크로부터의 판독 데이타를 포함하는 RDATA신호를 받으며, 받은 신호에 따라 플로피디스크로부터의 판독, 플로피디스크에의 데이타의 기록을 제어하는 플로피디스크콘트롤러(12)와; 상기 플로피디스트드라이버와 플로피디스크콘트롤러에 접속되며, 상기 READY신호가 출력되고 있지 않을때, 상기 INDEX신호와 상기 RDATA신호를 상기 플로피디스크콘트롤러에 공급하는 것을 금지하는 제1금지수단과 상기 STEP신호가 출력되고 나서 일정기간 경과하기까지 상기 INDEX신호와 상기 RDATA신호를 상기 플로피디스크콘트롤러에 공급하는 것을 금지하는 제2금지수단의 최소한 어느 한쪽을 구비한 인터페이스회로(100)로 포함하는 것을 특징으로 하는 플로피디스크제어장치.Receives a control command from the CPU (central processing unit 11), and outputs a MOTOR ON signal for instructing rotation of the floppy disk and a STEP signal for moving the read / write head in accordance with the control command. And a READY signal indicating that the number of revolutions of the floppy disk has reached a predetermined value, an INDEX signal indicating a reference position on the track, and an RDATA signal including read data from the floppy disk. A floppy disk controller 12 for controlling reading from the floppy disk and writing of data to the floppy disk in accordance with the received signal, when connected to the floppy disk drive and the floppy disk controller and the READY signal is not being output. Supplying the INDEX signal and the RDATA signal to the floppy disk controller. An interface circuit having at least one of a first inhibiting means for inhibiting and supplying said INDEX signal and said RDATA signal to said floppy disk controller until a predetermined period of time has elapsed after the STEP signal is output. Floppy disk control device characterized in that it comprises (100). 제1항에 있어서, 상기 프롤피디스크콘트롤러는 상기 INDEX신호와 상기 RDATA신호를 받아, 상기 플로피디스크에서 데이타를 판독하고, 상기 CPU에 인터럽트 요구(INT)를 출력하는 것을 특징으로 하는 플로피디스크제어장치.2. The floppy disk controller of claim 1, wherein the profil disk controller receives the INDEX signal and the RDATA signal, reads data from the floppy disk, and outputs an interrupt request (INT) to the CPU. . 제1항에 있어서, 상기 제1금지수단은 제1의 입력단자에 상기 READY신호를 받고, 제2의 입력단자에 상기 INDEX신호를 받아, 상기 플로피디스크콘트롤러의 INDEX신호 입력단에 출력신호를 공급하는 제1의 앤드 회로와; 제1의 입력단자에 상기 READY신호를 받고, 제2의 입력단자에 상기 RDATA신호를 받아, 상기 플로피디스크콘트롤러의 RDATA신호 입력단에 출력신호를 공급하는 제2의 앤드회로를 포함하는 것을 특징으로 하는 플로피디스크제어장치.The method of claim 1, wherein the first prohibiting means receives the READY signal at a first input terminal, receives the INDEX signal at a second input terminal, and supplies an output signal to an INDEX signal input terminal of the floppy disk controller. A first end circuit; And a second end circuit configured to receive the READY signal at a first input terminal, receive the RDATA signal at a second input terminal, and supply an output signal to an RDATA signal input terminal of the floppy disk controller. Floppy Disk Control Unit. 제1항에 있어서, 상기 제2금지수단은 상기 STEP신호에 응답하여 소정의 펄스폭의 펄스신호를 출력하는 리트리거블의 펄스신호 발생회로와; 제1의 입력단자에서 상기 펄스 신호를 받고, 제2의 입력단자에 상기 INDEX신호를 받아, 상기 플로피디스크콘트롤러의 INDEX신호 입력단에 출력신호를 공급하는 제1의 앤드회로와; 제1의 입력단자에 상기 펄스신호를 받고, 제2의 입력단자에 상기 RDATA신호를 받아, 상기 플로피디스크콘트롤러의 RDATA신호 입력단에 출력신호를 공급하는 제2의 앤드회로를 포함하는 것을 특징으로하는 플로피디스크제어장치.2. The apparatus of claim 1, wherein the second prohibiting means comprises: a retriggerable pulse signal generation circuit for outputting a pulse signal having a predetermined pulse width in response to the STEP signal; A first AND circuit receiving the pulse signal at a first input terminal, receiving the INDEX signal at a second input terminal, and supplying an output signal to an INDEX signal input terminal of the floppy disk controller; And a second end circuit configured to receive the pulse signal at a first input terminal, receive the RDATA signal at a second input terminal, and supply an output signal to an RDATA signal input terminal of the floppy disk controller. Floppy Disk Control Unit. 제3항에 있어서, 상기 펄스신호 발생회로는 리트리거블타입의 단안정의 멀티바이브레이터를 포함하는 것을 특징으로 하는 플로피디스크 제어장치.4. The floppy disk control apparatus according to claim 3, wherein the pulse signal generation circuit includes a restable reversible monostable multivibrator. 제1항에 있어서, 상기 인터페이스회로는 상기 제1의 금지수단과 제2의 금지수단의 양쪽을 포함하며, 제1금지 수단과 제2금지 수단은 상기 STEP신호에 응답하여 소정의 펄스폭의 펄스신호를 출력하는 펄스신호 발생회로(211)와; 제1의 입력단자에 상기 펄스 신호를 받고, 제2의 입력 단자에 상기 READY신호를 받으며, 제3의 입력단자에 상기 INDEX신호를 받아, 상기 플로피디스크콘트롤러의 INDEX신호 입력단에 출력신호를 공급하는 제1의 앤드회로(212)와; 제1의 입력단자에 상기 소정의 펄스 신호를 받고, 제2의 입력단자에 상기 READY 신호를 받으며, 제3의 입력단자에 상기 RDATA신호를 받아, 상기 플로피디스크콘트롤러의 RDATA신호 입력단에 출력신호를 공급하는 제2의 앤드회로(213)를 포함하는 것을 특징으로 하는 플로피디스크제어장치.2. The apparatus of claim 1, wherein the interface circuit includes both of the first prohibiting means and the second prohibiting means, wherein the first prohibiting means and the second prohibiting means pulse at a predetermined pulse width in response to the STEP signal. A pulse signal generating circuit 211 for outputting a signal; Receiving the pulse signal at a first input terminal, receiving the READY signal at a second input terminal, receiving the INDEX signal at a third input terminal, and supplying an output signal to the INDEX signal input terminal of the floppy disk controller. A first end circuit 212; The first input terminal receives the predetermined pulse signal, the second input terminal receives the READY signal, the third input terminal receives the RDATA signal, and outputs an output signal to the RDATA signal input terminal of the floppy disk controller. And a second end circuit (213) for supplying. 제1항에 있어서, 상기 인터페이스회로와 상기 플로피디스크콘트롤러는 1칩내에 구성되어 있는 것을 특징으로 하는 플로피디스크제어장치.The floppy disk control apparatus according to claim 1, wherein the interface circuit and the floppy disk controller are configured in one chip. 제1항에 있어서, 상기 플로피디스크제어장치는 상기 플로피디스크콘트롤러의 제어에 따라 상기 플로피디스크를 구동시키는 상기 플로피디스크드라이버를 추가로 포함하는 것을 특징으로 하는 플로피디스크제어장치.The floppy disk control apparatus according to claim 1, wherein the floppy disk control apparatus further comprises the floppy disk driver for driving the floppy disk under the control of the floppy disk controller. 제8항에 있어서, 상기 플로피디스크장치는 상기 플로피디스크콘트롤러에 기록명령을 출력하여 플로피디스크에 데이타를 기록하고, 상기 플로피디스크콘트롤러에 판독명령을 출력하여 플로피 디스크에서 데이타 판독을 하는 상기 CPU를 추가로 포함하는데, 상기 CPU는 판독 명령 또는 기록 명령을 출력한 다음, 시간을 계축함이 없이 다른 동작으로 이행하고, 상기 플로피디스크 콘트롤러가 데이타 판독을 한 다음, 상기 플로피디스크콘트롤러에서 판독데이타를 받는 것을 특징으로 하는 플로피디스크장치.The apparatus of claim 8, wherein the floppy disk device outputs a write command to the floppy disk controller to write data to the floppy disk, and outputs a read command to the floppy disk controller to add the CPU to read data from the floppy disk. The CPU outputs a read command or a write command, and then shifts to another operation without counting time, and the floppy disk controller reads data and then receives read data from the floppy disk controller. Floppy disk device characterized in. 가동부를 가지며, 플로피디스프를 구동하는 상기 플로피디스크드라이브 수단(13)과; 상기 플로피디스크드라이브수단의 상기 가동부의 동작이 불안정할때, 상기 플로피디스크 수단에서 데이타를 판독하는 것을 정지하고, 상기 플로피디스크드라이브 수단의 상기 가동부의 동작이 안정된 다음, 상기 플로피디스크제어 데이타를 판독하는 플로피디스크콘트롤러 수단(100, 12)을 포함하는 것을 특징으로 하는 플로피디스크제어 시스템.Said floppy disk drive means (13) having a movable portion for driving a floppy disk; When the operation of the movable portion of the floppy disk drive means is unstable, reading of data from the floppy disk drive means is stopped, and after the operation of the movable portion of the floppy disk drive means is stabilized, the floppy disk control data is read. Floppy disk control system comprising a floppy disk controller means (100, 12). 제10항에 있어서, 상기 가동부는 상기 플로피디스크를 회전시키는 모터를 포함하며, 상기 플로피디스크콘트롤수단은 상기 모터의 회전이 안정된 다음, 상기 플로피디스크에서 데이타를 판독하는 것을 특징으로 하는 플로피디스크제어시스템.11. The floppy disk control system according to claim 10, wherein the movable part includes a motor for rotating the floppy disk, and the floppy disk control means reads data from the floppy disk after the rotation of the motor is stabilized. . 제11항에 있어서, 상기 플로피디스크드라이브수단은 상기 모터의 회전이 안정된 것을 나타내는 상기 READY신호를 출력하며, 상기 플로피디스크콘트롤 수단은 상기 READY신호가 상기 모터의 회전이 안정된 것을 나타내고 나서 판독 데이타를 판독하는 것을 특징으로 하는 플로피디스크 제어 시스템.12. The apparatus of claim 11, wherein the floppy disk drive means outputs the READY signal indicating that the rotation of the motor is stable, and the floppy disk control means reads the read data after the READY signal indicates that the rotation of the motor is stable. Floppy disk control system, characterized in that. 제12항에 있어서, 상기 플로피디스크드라이브수단(13)은 플로피디스크의 트랙의 기준 위치를 나타내는 신호(INDEX)와 플로피디스크로부터의 판독 데이타(RDATA)를 출력하며, 상기 플로피디스크콘트롤수단(100, 12)은 상기 기준 위치를 나타내는 신호와 상기 플로피디스크로부터의 상기 판독 데이타를 받아, 상기 READY신호가 상기 모터의 회전이 안정된 것을 나타내고 나서, 상기 기준위치를 나타내는 신호를 상기 판독 데이타에 의거하여 상기 플로피디스크에 기록된 데이타를 판독하는 것을 특징으로 하는 플로피디스크 제어 시스템.13. The floppy disk drive means (13) according to claim 12, wherein said floppy disk drive means (13) outputs a signal (INDEX) indicating a reference position of a track of a floppy disk and read data (RDATA) from the floppy disk. 12) receives the signal indicating the reference position and the read data from the floppy disk, and the READY signal indicates that the rotation of the motor is stable, and then the signal indicating the reference position is determined based on the read data. Floppy disk control system, characterized in that for reading the data recorded on the disk. 제13항에 있어서, 상기 플로피디스크콘트롤수단은 상기 데이타를 판독하고 나서 인터럽트 신호를 출력하고, 상기 플로피디스크콘트롤 수단은 프로그램에 따라 제어동작을 하는 CPU수단을 포함하는데, 상기 CPU수단은 판독 명령 또는 기록 명령 출력후, 다른 동작을 실행하고, 상기 인터럽트 신호에 응답하여 판독 데이타를 판독하는 것을특징으로 하는 플로피디스크 제어 시스템.14. The apparatus of claim 13, wherein the floppy disk control means reads out the data and then outputs an interrupt signal, and the floppy disk control means includes a CPU means for performing a control operation according to a program, wherein the CPU means includes a read command or And outputting a read data in response to the interrupt signal after executing a write command output. 제10항에 있어서, 상기 가동부는 판독/기록 헤드를 포함하며, 상기 플로피디스크콘트로 수단은 상기 판독/기록 헤드의 위치가 안정된 다음, 상기 플로피디스크에서 데이타를 판독하는 것을 특징으로 하는 플로피디스크 제어 시스템.11. The floppy disk control according to claim 10, wherein the movable portion includes a read / write head, and the floppy disk control means reads data from the floppy disk after the position of the read / write head is stabilized. system. 제15항에 있어서, 상기 플로피디스크콘트롤 수단은 상기 판독/기록 헤드의 이동을 지시하는 펄스신호(STEP)을 출력하며, 상기 플로피디스크콘트롤 수단은 연속적으로 출력한 펄스신호의 최후의 펄스의 출력에서 일정기간 경과후, 판독 데이타를 판독하는 것을 특징으로 하는 플로피디스크제어시스템.The method of claim 15, wherein the floppy disk control means outputs a pulse signal (STEP) indicating the movement of the read / write head, and the floppy disk control means at the output of the last pulse of the pulse signal continuously output. A floppy disk control system, characterized in that the read data is read after a certain period of time. 제16항에 있어서, 상기 플로피디스크드라이브수단은 상기 플로피디스크의 트랙의 기준 위치를 나타내는 신호와 상기 플로피디스크의 트랙의 기준위치를 나타내는 신호와 상기 플로피디스크콘트롤 수단은 상기 크랙의 기준 위치를 나타내는 신호와 상기 판독 데이타를 받아, 상기 일정 기간 경과후, 상기 기준위치를 나타내는 신호와 상기 판독 데이타에 의거하여, 상기 플로피디스크에 기억된 데이타를 판독하는 것을 특징으로 하는 플로피디스크제어 시스템.17. The apparatus of claim 16, wherein the floppy disk drive means is a signal indicating a reference position of a track of the floppy disk, a signal indicating a reference position of a track of the floppy disk, and the floppy disk control means is a signal indicating a reference position of the crack. And reading the data stored in the floppy disk on the basis of the signal indicating the reference position and the read data after the predetermined period has elapsed. 제17항에 있어서, 상기 프롤피디스크콘트롤수단은 상기데이타의 판독을 하고나서인터럽트 신호를출력하며, 상기 플로피디스크콘트롤수단은 프로그램에 따라 제어 동작을 하는 CPU수단을 포함하는데, 상기 CPU 수단은 판독 명령 또는 기록 명령 출력후, 다른 동작을 실행하며, 상기 인터럽트신호에 응답하여 데이타를 판독하는 것을 특징으로 하는 플로피디스크제어 시스템.18. The apparatus of claim 17, wherein the profil disk control means outputs an interrupt signal after reading the data, and the floppy disk control means includes a CPU means for performing a control operation according to a program, wherein the CPU means reads the data. And outputting a data in response to the interrupt signal after executing a command or a write command. 플로피디스크에 대한 데이타의 판독을 지시하는 판독 명령을 출력하여, 시간을 계측함이 없이 다음의 동작으로 이동하는 CPU수단과 ; 플로피디스크를 구동하는 플로피디스크드라이브 수단과 ; 상기 CPU수단과 상기 플로피드라이브수단에 접속되어, 상기 CPU수단으로부터의 명령에 응답하여 플로피디스크드라이브 수단의 가동부의 동작 이동을 지시하며, 상기 가동부의 동작이 안정되고 나서 상기 플로피디스크에 기억된 데이타를 판독하는 플로피디스크콘트롤 수단을 포함하는 것을 특징으로 하는 데이타 처리 시스템.CPU means for outputting a read command instructing reading of data to a floppy disk and moving to the next operation without measuring the time; Floppy disk drive means for driving a floppy disk; Connected to the CPU means and the floppy drive means to instruct operation movement of the movable portion of the floppy disk drive means in response to a command from the CPU means, and to store data stored in the floppy disk after the operation of the movable portion is stabilized. And a floppy disk control means for reading out the data processing system. 제19항에 있어서, 상기 CPU수단은 기록 명령을 출력하며, 상기 플로피디스크콘트롤 수단은 상기 기록 명령에 따라 상기 가동부의 동작이 안정되고 나서 상기 플로피디스크의 기억 데이타를 판독하고, 판독된 데이타에 의거하여 목적섹터를 검출해서 목적하는 기억 영역에 데이타를 기록하는 것을 특징으로 하는 데이타처리 시스템.20. The apparatus according to claim 19, wherein the CPU means outputs a write command, and the floppy disk control means reads the stored data of the floppy disk after the operation of the movable portion is stabilized in accordance with the write command, and based on the read data. Detecting the target sector and recording the data in the desired storage area.
KR1019890000852A 1988-01-27 1989-01-27 Floppy disk controller KR920001956B1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP88-14633 1988-01-27
JP88-14632 1988-01-27
JP63014633A JPH01192057A (en) 1988-01-27 1988-01-27 Floppy disk interface circuit
JP63014632A JP2610286B2 (en) 1988-01-27 1988-01-27 Floppy disk interface circuit
JP63-14633 1988-01-27
JP63-14632 1988-11-09

Publications (2)

Publication Number Publication Date
KR890012213A KR890012213A (en) 1989-08-25
KR920001956B1 true KR920001956B1 (en) 1992-03-07

Family

ID=26350614

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890000852A KR920001956B1 (en) 1988-01-27 1989-01-27 Floppy disk controller

Country Status (1)

Country Link
KR (1) KR920001956B1 (en)

Also Published As

Publication number Publication date
KR890012213A (en) 1989-08-25

Similar Documents

Publication Publication Date Title
US5198942A (en) Disc drive control device with accessing and power control
US5099368A (en) Method of accessing a medium with low power consumption and a recording/reproducing apparatus for realizing the same
KR920001956B1 (en) Floppy disk controller
US4479154A (en) Floppy disk drive with local processor control
JPH0565951B2 (en)
JPS61240476A (en) Magnetic disc device
US5293625A (en) Signal selecting circuit which selectively outputs predetermined signal to host computer compatible with plurality of computer hardware types and disk drive having such signal selecting circuit
EP0108225B1 (en) Apparatus and method for transferring fault data from a recording device to a data processor
US5434724A (en) Method and apparatus for the high speed driving of a stepper motor against seek error upon power restoration in a microcomputer system
JP2649250B2 (en) Data recording / reproducing device
JP2610286B2 (en) Floppy disk interface circuit
JPH0423342B2 (en)
JPH033302B2 (en)
KR930001796B1 (en) Disk recording controller for recording device
KR850001460B1 (en) Driver of coaxial disk pack
JPH0129636Y2 (en)
JPS5939304Y2 (en) Magnetic tape control device
JPS6117016B2 (en)
JPS63206960A (en) Magnetic disk system
JPH07122956B2 (en) Disk drive system
JPH04137259A (en) Data recording and reproducing device
JPS61198325A (en) Disc driving device
JPS60154362A (en) Write control system
JPS62273675A (en) Magnetic disk device
JPH05151510A (en) Magnetic disk device

Legal Events

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

Payment date: 19971226

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee