KR920001956B1 - Floppy disk controller - Google Patents
Floppy disk controller Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, 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/02—Control of operating function, e.g. switching from recording to reproducing
- G11B19/06—Control of operating function, e.g. switching from recording to reproducing by counting or timing of machine operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0674—Disk device
- G06F3/0676—Magnetic disk device
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, 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/20—Driving; Starting; Stopping; Control thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single 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
제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
제1도에 도시된 바와 같이, FDC(32)는 FDD(33)와의 사이에서 다수의 신호를 주고 받음으로써 FDD(33)를 제어하고, 플로피디스크에 기억된 데이타를 판독하여 플로피디스크에 데이타를 기록한다.As shown in FIG. 1, the FDC 32 controls the
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
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
제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
스핀들 모터가 회전하기 시작하고 나서 안정되기까지의 시간, 또는 헤드가 이동하기 시작하고 나서 안정되기까지의 시간을, 총칭하여 상태 천이 시간이라고 부른다.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
상기 결점을 해결하기 위해 본 발명의 발명자는 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
상기 구성을 함으로써, 본 발명에 의하면 플로피디스크 콘트롤러는 가동부의 동작이 안정되고 나서 플로피디스크에서 데이타를 판독한다. 이 때문에, 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
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
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
FDD(13)의 판독 회로(137)는 판독/기록 헤드(131)에 의해 독출된 아날로그신호를 증폭하고, 펄스 신호로 변환하여 RDATA신호로서 출력한다.The
FDD(13)의 기록회로(138)는 FDC(12)로부터의 WDATA신호, WGATE신호를 받아, 판독/기록 헤드(131)에 기록 데이타를 공급하여, 플로피디스크에 데이타를 기록한다. FDD(13)의 마이크로스위치(139)는 헤드(131)가 홈포지션에 위치할때 온(ON)하여 신호 TRACKO를 출력한다.The
FDC(12)와 FDD(13)사이에는 인터페이스회로(100)가 설치되어 있다. 이 인터페이스 회로(100)는 앤드게이트(111), (112)로 구성된다. 앤드게이트(111) ,(112)의 한쪽의 입력단자에는 공통으로 READY신호가 공급된다. 앤드게이트(111)의 다른쪽 입력단자에는 INDEX신호가 공급된다. 앤드게이트(112)의 다른쪽 입력단자에는 RDATA신호가 공급된다. 앤드게이트(111)의 출력 신호는 FDC(12)의 인덱스 신호 입력단자에 공급되며, 앤드게이트(112)의 출력신호는 FDC(12)의 RDATA신호 입력단자에 공급된다.An
제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
(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
(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
(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
(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
이 실시예에서는 스핀들 모터의 회전이 안정되기까지의 시간을 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)는 모터 동작 명령 출력후, 상태 천이시간의 경과를 기다리지 않고 다음의 명령, 예를 들면 데이타의 판독 명령을 출력하고(스텝 S4), 다른 처리로 옮긴다(스텝 S5).After outputting the motor operation command, the
스텝 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
상태천이 시간이 경과하고, 플로피디스크의 회전이 안정되면(스텝 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
다음에 스텝 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
플로피디스크 콘트롤러(12)는 포매트 동작을 제외한 모든 기록/판독 조작을 RDATA신호에 의한 ID셀렉터의 검출을 근거로 하고, 포매트 동작은 INDEX신호를 근거로 하기 때문에, RDATA신호와 INDEX신호를 게이트하는 것이 FDC(12)를 상태천이 기간동안 대기시키기 위한 필요 충분한 조건으로 된다.The
다음에, 본 발명의 제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
멀티바이브레이터(211)에 공급되는 STEP신호는 헤드를 움직이기 위해 사용되는 신호이다. STEP신호에 포함되는 펄스의 뒷가장자리(논리 "1"에서 "0"으로의 변환점)에서 헤드 드라이버는 판독/기록 헤드를 1트랙 이동한다. 단, FDD(13)가 플로피디스크에 데이타를 기록중이면, 헤드 드라이버는 판독 기록 헤드를 이동하지 않는다. 판독/기록 헤드는 최종 스텝펄스의 뒷가장 자리에서 18ms후에 안정되고, 안정후, 플로피디스크에의 데이타의 기록 독출 동작이 가능해진다.The STEP signal supplied to the
다음에 제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
헤드 이동 명령에 응답하여, FDC(12)는 하나의 헤드 이동명령에 대해 1펄스의 STEP신호를 출력한다(스텝 S24). 그리고 STEP신호는 헤드가 이동중이더라도 복수 부여함으로써 복수 트랙의 이동을 할 수 있다.In response to the head movement command, the
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
CPU(11)로부터의 판독 명령에 응답하여, FDC(12)는 데이타를 판독하려고 한다. 그러나, INDEX신호 및 RDATA신호가 FDC(12)에 공급되지 않기 때문에, FDC(12)는 데이타를 읽을 수 없어서 대기 상태로 된다(스텝 S28).In response to a read command from the
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
CPU(11)는 FDC(12)로부터의 인터럽트 요구를 받아, 현재 실행중인 처리를 중단하고, 인터럽트 처리 루틴내에서 FDC(12)로부터 판독 데이타를 받아(스텝 S33), 다음 처리로 이행한다.The
다음에 스텝 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
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)는 포매트 동작을 제외한 모든 기록/판독 조작을 RDATA신호에 의한 ID섹터의 검출을 근원으로 하고, 포매트 동작은 INDEX신호를 근거로 하기 때문에 상기 2개의 신호를 게이트하는 것이 FDC(12)를 대기시키기 위한 필요 충분한 조건으로 된다.The
상기 실시예에서는 모터의 상태천이 시간과 헤드의 상태천이시간을 따로따로 생각했지만, 제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
또, 상기 실시예에서는 FDC(12)와 인터페이스회로(100), (200)를 별개의 구성으로 생각했지만, 제2, 4 및 6도의 파선(300)으로 표시되는 부분을, 근래의 슈퍼인테그레이션 기술을 사용하여, 1칩화해도 된다. 부분(300)을 1칩화하면 플로피디스크콘트롤시스템의 구성을 간단히 하고, 또한 취급을 간단히 할 수 있다.In the above embodiment, the
상기 실시예에 있어서는 모터의 상태천이 시간을 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
본 발명에 사용되는 인터페이스 회로는 상기 실시예에 도시되는 인터페이스 회로에 한정되지 않으며, 상태천이 시간동안 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인 μ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)
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) |
-
1989
- 1989-01-27 KR KR1019890000852A patent/KR920001956B1/en not_active IP Right Cessation
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 |