Operational mode control for data storage apparatus using storage disk

Abstract: The present invention relates to data storage apparatus comprising a removable data storage medium, first control means for initially "powering on" the apparatus and for enabling the apparatus to receive a data storage medium, mode setting means for setting the apparatus into an "operate" mode state or a "non-operate" mode state, means for receiving commands to perform operations in connection with the data storage medium, and second control means for controlling the operation of the apparatus on receipt of the commands. According to the invention the apparatus is characterised in that the mode setting means sets the apparatus into a "non-operate" mode state on operation of the first control means to "power on" the apparatus or to enable the apparatus to receive a storage medium, and the second control means, on receipt of a command, checks the mode state (132) and performs operations as follows: (a) if the mode state is "non-operate", (i) checks to see if the received command is a "Mode Set" command (140), (ii) if the received command is not a "Mode Set" command, rejects said command (141), and (iii) if the received command is a "Mode Set" command, sets the mode state to "operate", and (b) if the mode state is "operate" causes performance of the received command (142).

Description: The present invention relates to data storage apparatus and more particularly to the operation of data storage apparatus using a storage disk such as an optical storage disk. Background of the Invention In optical disk storage apparatus employing a storage disk with a magneto-optic (MO) storage medium, data integrity is limited due to the possible deterioration of the MO medium during its life. That is, there are a large number of medium errors at the beginning of life of the MO medium. Additional medium errors may occur (grow) during the lifetime of the medium. Ever though the use of a MO medium for data storage is a relatively new practice, and there is therefore a lack of medium error statistics for such a medium, it is apt that error rates at the beginning of life and end of life improve as more and more of such media are employed. For ensuring adequate data integrity and reliability, "verify on write" commands are needed. When medium reliability improves, such "verify on write" commands may be dispensed with. It is desirable to provide automatic means for invoking or disabling the "verify on write" operation. The "verify on write" operation is a read operation immediately following a write operation requiring one additional rotation of the MO disk. It is desired, if possible, to eliminate this time delay in verifying that data has been successfully recorded on the medium. A second problem occurring in an optical storage disk using an MO medium is related to lifetime of the laser which generates a beam of light which not only records data on the MO medium but also enables reading of such data. Again, the use of solid state lasers such as gallium-arsenide lasers is relatively new and laser life statistics in the optical storage disk environment are not plentiful. Leaving the laser "on" tends to decrease the effective life of the laser. It is desired to provide for laser turnoff for maintaining a maximum life of the laser. Automatic selection of the above two described reliability enhancing operations is desirable. US -A- 4,435,762 shows a tape recording system which uses a Mode Set command which is active during a chain of commands. A chain of commands is determined by a connected host processor and defines the type of operation to be performed in the recording system during a chain of commands. The chain of command is those commands which are related together as one major operation of the host processor and which is identified to peripheral equipment such as the recording system. Several of such chains of commands are used in connection with recording and reading data onto and from a magnetic tape or other storage medium. Such Mode Set command usually lasts only for the duration of the chain of commands; a single chain of commands may have additional Mode Set commands which change the mode of operation within a chain of commands. The object of the present invention is to provide an improved means for controlling the operation of data storage apparatus having a removable data storage medium. The present invention relates to data storage apparatus comprising a removable data storage medium, first control means for initially "powering on" the apparatus and for enabling the apparatus to receive a data storage medium, mode setting means for setting the apparatus into an "operate" mode state or a "non-operate" mode state, means for receiving commands to perform operations in connection with the data storage medium, and second control means for controlling the operation of the apparatus on receipt of the commands. According to the invention the apparatus is characterised in that the mode setting means sets the apparatus into a "non-operate" mode state on operation of the first control means to "power on" the apparatus or to enable the apparatus to receive a storage medium, and the second control means, on receipt of a command, checks the mode state and performs operations as follows: (a) if the mode state is "non-operate", (i) checks to see if the received command is a "Mode Set" command, (ii) if the received command is not a "Mode Set" command, rejects said command, and (iii) if the received command is a "Mode Set" command, sets the mode state to "operate", and (b) if the mode state is "operate" causes performance of the received command. In accordance with one embodiment of the present invention, an optical disk storage apparatus has a mode state that indicates either an "operate" or "non-operate" condition. In the non-operation condition, the only receivable command is a Mode Set command. Such Mode Set command will have control setting up control states within the optical disk apparatus. Such control states include selecting whether or not a "write verify" operation is performed for each recording operation and whether or not a laser is to be turned "off" a predetermined time after completion of the command unless another command is received before the time has elapsed. Once a Mode Set command sets the mode state to "operate", any legal command can be received. In order that the invention may be more readily understood an embodiment will now be described with reference to the accompanying drawings, in which: Fig. 1 is a diagram of an optical disk storage apparatus in which the present invention can be implemented, Fig. 2 illustrates diagrammatically a Mode Set command, usable with the apparatus of Fig. 1, Fig. 3 illustrates in diagrammatic form control data structures within the apparatus of Fig. 1, Fig. 4 is a flow chart showing the operation of control of the optical disk storage apparatus during "power on", and "power on reset" and whenever a new disk is inserted into the apparatus, Fig. 5 is a flow chart showing the execution of operations in the Fig. 1 illustrated optical disk apparatus, Fig. 6, is a flow chart showing the operations when a disk is ejected from the optical disk apparatus of Fig. 1, and Fig. 7 shows a time out control usable in the Fig. 1 illustrated apparatus. Referring to the drawings, like numerals indicate like parts and structural features in the various figures. Before going into the details of how the procedures and criteria are effected in accordance with the present invention, an optical data storage apparatus in which the embodiment of the present invention being described can be implemented is shown in Fig. 1. In this apparatus a magneto-optic record or data storage disk 30 is mounted for rotation on spindle 31 by motor 32. An optical system 33 is mounted on frame 35. A headarm carriage 34 moves radially of disk 30 for carrying an objective lens 45 from track to track of the disk 30. The frame 35 of the apparatus suitably supports carriage 34 for reciprocating radial motion relative to the disk 30. The radial motion of carriage 34 enables access to any one of a plurality of concentric tracks or circumvolutions of a spiral track for recording data on and recovering data from the disk. Linear actuator 36, suitably mounted on frame 35, radially moves carriage 34 for enabling track accessing. The apparatus is suitably attached to one or more host processors 37. Such host processors may be control units, personal computers, large system computers, communication systems, image signal processors, and the like. Attaching circuits 38 provide the logical and electrical connections between the optical storage apparatus and the attaching host processor 37. Microprocessor 40 controls the storage apparatus including the attachment to the host processor 37. Control data, status data, commands and the like are exchanged between attaching circuits 38 and microprocessor 40 via bidirectional bus 43. Included in microprocessor 40 is a program or microcode storing read-only memory (ROM) 41 and a data and control signal storing random-access memory (RAM) 42. The optical system of the apparatus includes an objective or focusing lens 45 mounted for focusing and radial tracking motions on headarm 34 by fine actuator 46. This actuator includes mechanisms for moving lens 45 towards and away from disk 30 for focusing and for moving lens 45 radially parallel to carriage 34, for example for changing tracks within a range of 100 tracks so that carriage 34 need not be actuated each time a track adjacent to a track currently being accessed is to be accessed. Numeral 47 denotes a two-way light path between lens 45 and disk 30. In magneto-optic recording on disk 30, an electromagnet provides a weak magnetic steering field for directing the remnant magnetisation direction of a small spot on disk 30 illuminated by laser light from lens 45. The laser light spot heats the illuminated spot on the disk to a temperature above the Curie point of the magneto-optic layer (not shown, but can be an alloy of rare earth and transitional metals as disclosed in US -A- 3,949,387). This heating enables magnet 48 to direct the remnant magnetisation to a desired direction of magnetisation as the spot cools below the Curie point temperature. Magnet 48 is shown as oriented in the "write" direction, i.e., binary ones recorded on disk 30 normally are "north pole remnant magnetisation". To erase disk 30, magnet 48 rotates so the south pole is adjacent disk 30. Control 49, which is operatively coupled to rotatable magnet 48 as indicated by dashed line 50, controls the rotation of the magnet into the write and erase directions. Microprocessor 40 supplies control signals over line 51 to control 49 for effecting reversal of the recording direction as required. It is necessary to control the radial position of the beam following path 47 such that a track or circumvolution is faithfully followed or that a desired track or circumvolution is quickly and precisely accessed. To this end, focus and tracking circuits 54 control both the coarse actuator 36 and the fine actuator 46. The positioning of carriage 34 by actuator 36 is precisely controlled by control signals supplied by circuits 54 over line 55 to actuator 36. Additionally, the fine actuator 46 control by circuits 54 is exercised through control signals travelling to fine actuator 46 over lines 57 and 58, respectively, for effecting focus and track following and seeking actions. Sensor 56 senses the relative position of fine actuator 46 to headarm carriage 34 to create a relative position error (RPE) signal. Line 57 consists of two signal conductors, one conductor for carrying a focus error signal to circuits 54 and a second conductor for carrying a focus control signal from circuits 54 to the focus mechanisms in fine actuator 46. The focus and tracking position sensing is achieved by analysing laser light reflected from disk 30 over path 47, and thence through lens 45 and through a first half-mirror 60 to be reflected by a second half-mirror 61 to a so-called "quad detector" 62. Quad detector 62 has four photoelements which respectively supply signals on four lines collectively denominated by numeral 63 to focus and tracking circuits 54. By aligning one axis of the detector 62 with a track centre line, track following operations are enabled. Focusing operations are achieved by comparing the light intensities detected by the four photoelements in the quad detector 62. Focus and tracking circuits 54 analyse the signals on lines 63 to control both focus and tracking. Recording or writing of data onto disk 30 is next described. It is assumed that magnet 48 is rotated to the desired position for recording data. Microprocessor 40 supplies a control signal over line 65 to laser control 66 for indicating that a recording operation is to ensue. This means that laser 67 is energised by control 66 to emit a high-intensity laser light beam for recording; in contrast, for reading, the laser 67 emitted laser light beam is at a reduced intensity for not heating the laser illuminated spot on disk 30 above the Curie point. Control 66 supplies its control signal over line 68 to laser 67 and receives a feedback signal over line 69 indicating the laser 67 emitted light intensity. Control 68 adjusts the light intensity to the desired value. Laser 67, a semiconductor laser such as a gallium-arsenide diode laser, can be modulated by data signals so the emitted light beam represents the data to be recorded by intensity modulation. In this regard, data circuits 75 (later described) supply data indicating signals over line 78 to laser 67 for effecting such modulation. This modulated light beam passes through polariser 70 (linearly polarising the beam) and thence through collimating lens 71 to half-mirror 60 for being reflected towards disk 30 through lens 45. Data circuits 75 are prepared for recording by the microprocessor 40 supplying suitable control signals over line 76. Microprocessor 40, in preparing circuits 75, is responding to commands for recording received from host processor 37 via attaching circuits 38. Once data circuits 75 are prepared, data is transferred directly between host processor 37 and data circuits 75 through attaching circuits 38. Data circuits 75 also include ancillary circuits (not shown) relating to disk 30 format signals, error detection and correction and the like. Circuits 75, during a read or recovery action, strip the ancillary signals from the readback signals before supplying corrected data signals over bus 77 to host processor 37 via attaching circuits 38. Reading or recovering data from disk 30 for transmission to a host processor requires optical and electrical processing of the laser light beam from the disk 30. That portion of the reflected light which has its linear polarisation from polariser 70 rotated by disk 30 recording using the Kerr effect travels along the two-way light path 47, through lens 45 and half-mirrors 60 and 61 to the data detection portion 79 of the headarm 33 optical system. Half-mirror or beam splitter 80 divides the reflected beam into two equal intensity beams both having the same reflected rotated linear polarisation. The half-mirror 80 reflected light travels through a first polariser 81 which is set to pass only that reflected light which is rotated when the remnant magnetisation on disk 30 spot being accessed has a "north" or binary one indication. This passed light impinges on photocell 82 for supplying a suitable indicating signal to differential amplifier 85. When the reflected light is rotated by a "south" or erased pole direction remnant magnetisation, then polariser 81 passes no or very little light resulting in no active signal being supplied by photocell 82. The opposite operation occurs by polariser 83 which passes only "south" rotated laser light beam to photocell 84. Photocell 84 supplies a signal indicating it has received laser light to the second input of differential amplifier 85. The amplifier 85 supplies the resulting difference signal (data representing signal) to data circuits 75 for detection. The detected signals include not only data that is recorded but also all of the so-called ancillary signals as well. The term "data" as used herein is intended to include any and all information-bearing signals, preferably of the digital or discrete value type. The rotational position and rotational speed of spindle 31 are sensed by a suitable tachometer or emitter sensor 90. Sensor 90, preferably of the optical-sensing type that senses dark and light spots on a tachometer wheel (not shown) of spindle 31, supplies the "tach" signals (digital signals) to RPS circuit 91 which detects the rotational position of spindle 31 and supplies rotational information-bearing signals to microprocessor 40. Microprocessor 40 employs such rotational signals for controlling access to data storing segments on disk 30 as is widely practised in the magnetic storage of data on storage disks. Additionally, the sensor 90 signals also travel to spindle speed control circuits 93 for controlling motor 32 to rotate spindle 31 at a constant rotational speed. Control 93 may include a crystal-controlled oscillator for controlling motor 32 speed, as is well known. Microprocessor 40 supplies control signals over line 94 to control 93 in the usual manner. Referring next to Fig. 2, a Mode Set command 100 used in implementing the embodiment being described is shown. The command 100 includes a field MODE 101 which indicates it is a Mode Set command. Field WV 102 contains a binary zero whenever no "write verify" is required and a binary one when a "write verify" is required. Field LO 103 indicates whether or not the laser should be turned "off" upon completion of a command execution by the Fig. 1 illustrated optical disk storage apparatus. Binary zero indicates a laser should be left "on" continuously while a binary one indicates it should be turned "off". Field TIME 104 indicates the delay in turning off the laser upon completion of a command. A non-zero number up to the modulus of the field minus one indicates the time in seconds for the device to keep the laser turned "on". At the modulus value (all ones) the laser is always left on. Laser "always on" can be a default at the power on sequencing. The non-zero number less than the modulus activates the Fig. 1 illustrated apparatus to keep the laser powered "on", preferably at a low level used for track following and seeking. Alternatively, it could be left "on" at the reading value. Additionally, for erasing there is a higher level power for that operation and a yet higher level power for recording or writing. Field PF 105 is a page format bit which is set to "one" for indicating that data sent in the mode select command uses a so-called page format. A field SP 106 is a save parameter bit which is set to zero (inactive) to indicate that the optical disk apparatus of Fig. 1 shall not save the pages sent during a data outphase to the drive. Numeral 107 indicates that the Mode Set command may contain other controller information for use by the Fig. 1 illustrated optical disk apparatus. Fig. 3 illustrates the internal data structure 110 within the RAM 42 of microprocessor 40 for implementing the embodiment being described. RAM 42 contains additional data structures for controlling the operation of the Fig. 1 illustrated apparatus not shown in the present application. The field PWR ON 111 indicates that power has been turned on but no Mode Set command has been received. The field DISK IN 112 indicates a storage disk has been inserted into the apparatus but no Mode Set command has been received. The field DISK OUT 113 indicates there is currently no disk in the Fig. 1 apparatus. Field MODE 114 indicates a Mode Set command has been received. Numeral 115 indicates that additional control bits may be used in the data structure 110. Field WV 116 indicates that the Mode Set command has either required or dispensed with the verify operation of a Write command received with the last Mode Set command 100. The LO bit 117 indicates whether or not the laser is to be turned "off" after completion of an executed command while the time field 118 indicates the elapsed time required as above described. Fig. 4 shows a sequence of operations for setting the "disk in" and mode controls (Fig. 3). Numeral 120 denotes a Set Power On sequence which can be the usual set of operations. At step 121 it is determined whether or not a disk has been inserted into the Fig. 1 illustrated disk apparatus. If not, Power On sequencing continues over path 122. If a disk is inserted and is currently lodged in the apparatus, the step 121 occurs at the termination of the Power On sequencing. Then, at step 124 the DISK IN field 112 is set to unity, DISK OUT 113 is reset, MODE bit 114 is reset, and the fields 116-118 are reset, i.e., cleared to a reference state such as all zeros. Fig. 5 shows the sequence of operations of the embodiment of the invention as performed in the Fig. 1 illustrated apparatus. A command is received at step 130 from host processor 37. At step 131 a timer in RAM 42 (typical software timer) is reset through a reference value and the timer counter is disabled. At step 132 microprocessor 40 determines whether or not the received command is a Mode Set command. If yes, then at machine step 133 the MODE bit 114 is set, the POWER ON field bit 111 is reset to zero and the CONTROL fields 116-118 are set to the contents of the fields 102-104 of MODE SET command 100. Then, at step 134 final status is reported. At step 135, microprocessor 40 examines the field LO 117 to determine if the laser should be turned "off" after expiration of a predetermined time period. If yes, then at step 136 the time period is set and timer is turned "on" in the usual manner. Then at step 137 other machine processes are performed which are beyond the present description. If the laser is not to be turned "off" at step 135 (TIME 118 = FFFF), then the laser is left "on" as indicated by step 137 which is immediately entered. At step 135, when TIME 118 = 0000 then the laser is immediately turned "off" at step 138 at the completion of the current command execution. When no Mode Set command was received after a "power on" or disk insertion and prior to the received command at step 130, then at step 140 it is determined whether or not the just-received command is a Mode Set command. If the just-received command is not a Mode Set command, then the just-received command is rejected at step 141. Then steps 134 et seq are performed. In one embodiment of the invention, the Fig. 1 illustrated apparatus has default operating values such as write verify is active (WV 116 = 1) and the laser 67 is continuously on (LO = 0). In this latter implementation, steps 140 and 141 are dispensed with. The step 130 received command is executed at step 142. For each write command with WV 116 = 1, write verify operation 143 is performed in the usual manner. Fig. 6 shows that at step 150 an ejection of a disk is detected, i.e., the disk may be manually ejected rather than automatically. In any event, at step 151 the laser is turned off, then at step 152 the DISK OUT bit 113 is set and the DISK IN bit 112 is reset (Fig. 3). Other operations then ensue. Fig. 7 illustrates entering a timer set of operations. At step 161, microprocessor 40 determines whether or not the timer has timed out. If not, other operations ensue as indicated by numeral 162. If the timer has timed out, then at step 163 microprocessor 40 examines LO bit 117. If it is a zero, the timing out is of no significance. If it is non-zero or a one, then at step 164 the laser is turned off. From either step 163 or step 164 other operations ensue as indicated by numeral 165.

Claims: Data storage apparatus comprising a removable data storage medium (30), first control means (40) for initially "powering on" said apparatus and for enabling said apparatus to receive a data storage medium, means (37, 38) for receiving commands to perform operations in connection with said data storage medium, mode setting means (40) for setting said apparatus into an "operate" mode state in which said commands to perform operations are performed or a "non-operate" mode state in which said commands to perform operations are rejected, and second control means (38) for controlling the operation of said apparatus on receipt of said commands, characterised in that said mode setting means sets said apparatus into a "non-operate" mode state on operation of said first control means to "power on" said apparatus or to enable said apparatus to receive a storage medium, and said second control means, on receipt of a command, checks said mode state (132) and performs operations as follows: (a) if said mode state is "non-operate", (i) checks to see if said received command is a "Mode Set" command (140) with which predetermined control states are set within the optical disc apparatus, (ii) if said received command is not a "Mode Set" command, rejects said command (141), and (iii) if said received command is a "Mode Set" command, sets the mode state to "operate", and (b) if said mode state is "operate" causes performance of said received command (142). Apparatus as claimed in Claim 1 characterised in that said second control means causes said apparatus to perform of a "write verify" operation when it is in said "operate" mode state upon command of the "mode set" command. Apparatus as claimed in either of the preceding claws in which said storage medium is an optical storage medium which is operated by a laser beam, characterised in that said second control means comprises means for turning "off" said laser on completion of the performance of a received command said means being controllable by the "Mode Set" command. Apparatus as clawed in Claim 3 characterised in that said second control means comprises means for turning "off" said laser a predetermined time after the completion of the performance of a received command.

Inventors: KULAKOWSKI JOHN EDWARD, MEANS RODNEY JEROME, STEPHENS GARY RAYMOND, KULAKOWSKI, JOHN EDWARD, MEANS, RODNEY JEROME, STEPHENS, GARY RAYMOND
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1991
Main classification: G11B19
IPC codes: G11B7, G11B19, G11B11