CD player

Abstract: A CD player capable of detecting the recording end of a partially recorded CD-R (PRD) during playback. When an unrecorded area (URA) is detected, an address immediately before that of the URA is held and a setup is performed at the position of that detection. If the setup has been unsuccessful, a setup is performed at a reference setup position, and when this setup operation is complete, playback starts from the held address position. When the playback from the position and detection of the URA are repeated a predetermined number of times, the held address position is discriminated as the recording end. A method of searching for the last piece of recorded information in the program area on a PRD. When reading failure occurs in a search, the pickup is moved back to a previous jump position to the position of occurrence of the reading failure, then a search is conducted through jumps over tracks equal to or less in number than the number of tracks of the predetermined smallest information from that jump position, and the last piece is detected by a sub code acquired at a jump position immediately previous to the position of re-occurrence of reading failure. A CD player capable of ensuring reproduction of all the pieces of recorded information in playback of a PRD. When detecting a next track number in an area following an area of a memorized last track number during playback of a PRD, this player updates the last track number to the newly detected track number.

Description: The present invention relates to a CD (Compact Disk) player, and more particularly, to a CD player capable of playing back a partially recorded, additionally recordable CD-R (CD Recordable). The CD is well known as a recording medium to record acoustic information or the like. The CD has a lead-in area LIA where index information of recorded information is recorded, a program area PA where actual musical information is recorded, and a lead-out area LOA indicating the end of the program area PA, formed thereon in the named order from the inner periphery of the disk, as shown in Fig. 1(a). Those areas LIA, PA and LOA as a whole are called an information area. A signal to be recorded is a digital signal modulated by EFM (Eight to Fourteen Modulation), and includes a main code (main information) such as musical information, and a sub code such as a time code (time information). Index information called TOC (Table Of Contents) is recorded in the lead-in area LIA, and the total number of recorded information pieces (e.g., the total number of musical pieces), the total program time (e.g., the total playing time), etc. are recorded as a sub code also in that area LIA. Musical information or the like is recorded as a main code in the program area PA. A track number (TNO) indicating the number of each piece of recorded information (e.g., the music number), the program time (P-TIME) from the beginning of the track, such as the playing time of the music piece, the total program time (A-TIME) measured from the first track number (= 1), such as the total playing time, etc. are recorded in the Q channel of the sub code in the program area PA. In the lead-out area LOA is recorded a lead-out code indicating the lead-out area. In a CD player that plays back the above CD, when the CD is set, a pickup is moved to a predetermined position (home position), a setup operation is then performed to rotate the CD to make it ready for information reading therefrom, and TOC information is read from the lead-in area upon completion of the setup operation. Since the TOC information normally includes the track number of the last piece of recorded information in the program area (LTNO), a playback instruction of recorded information beyond the LTNO, even if given, will not be accepted. In reading the TOC information, however, the TOC information may not be acquired due to some scratches on the disk. If reading of the TOC information is not possible, the LTNO cannot apparently be acquired in advance, so that when an instruction to reproduce the last piece of recorded information is issued, searching for the LTNO is executed. The operational diagrams of a process in the search for the LTNO are given in Fig. 2(a) to Fig. 2(d). In the search for the LTNO, the target TNO is set to the maximum TNO "99" and searching is conducted radially outward first. A track-jump (hereinafter referred to as "Tr-jump") is to skip a track in reproduction of the disk. The search speed is generally improved by the Tr-jump to skip over about 100 recorded tracks on a disk. When 99 pieces of information are not recorded, the lead-out area is detected in this search as apparent from (a) in Fig. 2. When the lead-out area is detected, the search is terminated and a 10 Tr jump is made backward until the program area is detected as indicated in (b) in Fig. 2. A 10 Tr jump is such that its jump-over time is equal to or smaller than the predetermined minimum recording time (4 seconds) for one piece of information. Therefore, what in the program area that is detected after the 10 Tr jump is the recording area for the last piece of recorded information, and the TNO indicated by the sub code which is read out from that area is the LTNO. Accordingly, the LTNO is detected and memorized, and the pickup is moved to the head of the information specified by the TNO of the detected LTNO to reproduce the last piece of recorded information, as indicated in (c) in Fig. 2. Thereafter, searching is conducted referring to the memorized LTNO. The CD player which plays back the above-described CD sequentially reads the recorded information in the program area outward from the inner periphery in normal playback mode. Heretofore, the detection and control of the end of recorded information in the program area (hereinafter called "disk-end") in such playback or fast forward (FF) mode is performed in such a way that the last track number (LTNO) of the information recorded in the program area is previously acquired from the TOC information and controllably memorized, and that it is discriminated as the disk-end 1. When the lead-out area is detected, or 2. When a track number larger than the LTNO is detected. Fig. 3 illustrates a flowchart of a routine for determining the disk-end in playback mode in the prior art. During playback, as information is read out, sub codes are sequentially read out. First, the currently acquired sub code is compared with the previously obtained sub code (step S50). If both sub codes equal each other, step S50 is repeated; and if both differs from each other, the current sub code is stored in the memory area of the previous sub code (step S51). Then, it is determined from the sub code information if the pickup has entered the lead-out area (step S52). When the pickup is in the lead-out area, it is discriminated as the disk-end and the routine goes to the subsequent control process of moving the pickup 2 to access the information (disk edge) of the first track number (FTNO) recorded at the innermost track of the program area. When the pickup is out of the lead-out area, on the other hand, the current track number indicated by the sub code is compared with the LTNO (step S53). When the current track number is equal to or smaller than the LTNO, the routine returns to step S50 to repeat the above sequence of processes. When the current track number is larger than the LTNO, it is discriminated as the disk-end and the subsequent process to move the pickup to the disk edge is performed as done after step S52. The conventional CD player discriminates the disk-end in the above manner. While a CD having the above-described recording format is a read-only recording medium, an additionally recordable CD-R having the same format as the CDs has been developed recently. This CD-R recording format standard is standardized into a so-called "Orange Book", and conforms to the CD format standard (called a "red book"). The CD-R disks are classified into the following three types as shown in Fig. 1(b) to Fig. 1 (d) depending on the recording status. Fig. 1(b) shows a section of a blank or unrecorded disk where no information has been recorded yet. Fig. 1(c) shows a section of a partially recorded CD-R disk (hereinafter referred to as "PRD") where information is partially written. Fig. 1(d) shows a section of a finalized CD-R disk for which recording is complete and which has finally been formatted in nearly the same format as CDs. As illustrated in Fig. 1(b) to Fig. 1(d), the lead-in area LIA, program area PA and lead-out area LOA are also formatted on each CD-R in the same manner as that of CDs. A pregroove is formed on the recording track of a CD-R, and it is wobbled by a frequency that is acquired through FM modulation of a carrier with data indicating the absolute time information (ATIP: Absolute Time In Pregroove). In a CD-R recording and playback apparatus, the tracking control and spindle control are performed according to the pregroove so that information is recorded on and read from a blank disk as well as a PRD. A PMA (Program Memory Area) as a temporary TOC area to store the recording history of recorded information is provided on the PRD at the inner periphery side of an area I that is reserved for the lead-in area LIA as indicated in Fig. 1(c). In this PMA the following three types of information are recorded. The first information includes the start and end addresses of information recorded in the program area, which are recorded in the same format as TOC information that is recorded in the lead-in area. The second type is disk identification information (optional) which may be 6-digit numeral information to identify a disk as needed. The third type is skip command information and skip release information, which are associated with a command to skip the recorded information piece (track) by piece or part of each piece (track) of the recorded information (time designatable in the latter case) at the time of playing back the disk. The reason for recording such information as temporary TOC in the PMA is that since information is writable in the remaining program area PA on the PRD, TOC information cannot be recorded in the lead-in area LIA until the finalization of recording is instructed finally. In a PRD, no information is written in an area I for the lead-in area LIA and an area O for the lead-out area LOA. Therefore, those areas remain in a mirror-finished state. When a command for finalization is given, the CD-R recording apparatus records predetermined information and TOC information recorded in the PMA as a sub code in the area I for the lead-in area LIA, and records a predetermined lead-out code indicating the lead-out area LOA in the area O for the lead-out area LOA in order to provide the same format as that of CDs at last. This allows the conventional CD player to play back the finalized CD-R. While the conventional CD player is capable of playing back a finalized CD-R, the player is not designed to cope with a PRD so that it cannot reproduce reproducible information from a PRD though that information is stored in the program area PA. To describe in detail, it is so because of the following reasons. Although a PRD has TOC information recorded in the PMA provided on the inner periphery side of the lead-in area, the conventional CD player is equipped with no mechanism to access that PMA. In addition, the area I for the lead-in area LIA and the area O for the lead-out area LOA remain mirror-finished and the conventional CD player is not designed to perform the proper control on information reading from such areas so that runaway of the servo system may occur in reading information from those areas. As a solution to this problem, like the CD-R recording and playback apparatus, the CD player may be equipped with the mechanism to access the PMA and some means to read the pregroove and perform the tracking and spindle controls. The provision of such means only for the PRD is not cost effective. The conventional CD player recognizes the recording end of a disk, which is currently being played back, by detecting the lead-out area during playback or fast forward mode, or detecting the track number (TNO) larger than the last track number (LTNO) indicating the last piece of recorded information based on TOC information previously stored during playback mode. After such recognition, the CD player performs repetitive playback or the like, starting from the recording start position of the disk. After the recognition, a CD player having an auto-changer capable of automatically playing back a plurality of disks performs disk exchange. Even if the conventional CD player accesses the program area PA of a PRD, it cannot detect the recording end of the disk due to the following reasons. First, the PRD does not have a lead-out area. Secondly, the CD player cannot read information from the PMA and cannot thus acquire the TOC information, so that it is unable to find out the last track number (LTNO) or the total recording time. The above shortcoming is described below more specifically. As shown in Fig. 4, when a defect or an unrecorded area (URA; mirror-finished portion) is detected during playback (or fast forward) mode (see (a) in Fig. 4), the setup operation is performed three times there (see (b) in Fig. 4). If the setup operation is not completed even after the three tries, the Tr-jump is made again to the position corresponding to the defect-detected position after the setup at the home position HP is complete, and then the setup operation is tried again (see (c) in Fig. 4). Accordingly, the above sequence of operations is repeated endlessly. This is because no unrecorded area URA (mirror-finished portion) should be present in the to-be-reproduced area of a CD, so that the conventional CD player cannot recognize such a mirror-finished URA, simply sees it as a defective portion, such as a scratch, and functions accordingly. It is to be noted that the home position of a PRD is set within the program area PA. As described above, the conventional CD player involves a first problem in that it is not designed to cope with an unrecorded area URA in playback mode. European patent application 97204143.0 (EP-A-0837473) , from which the present application is divided, provides a solution to this problem, which solution is not part of the present invention. For wider applicability of CD-Rs, a CD player capable of reproducing information from the program area of a PRD through controllable alteration has been developed. In playing back a PRD, however, the conventional CD player cannot access the PMA of the PRD and is thus unable to acquire the TOC information as mentioned above. Thus, the LTNO cannot also be obtained in advance. When an instruction to reproduce the last piece of recorded information from the program area is given, therefore, it is necessary to search for the LTNO. But a lead-out code is not recorded in an area following the information recording area of the program area of the PRD and that area is a mirror-finished area. In the conventional search, therefore, the pickup comes in the mirror-finished portion as indicated in (d) in Fig. 2, which causes the spindle to run away, requiring a further setup, and which prevents the detection of the LTNO. In addition, when a PRD is played back by the conventional CD player, TOC information cannot be read so that the last track number LTNO of recorded information cannot be acquired in advance. The LTNO is thus obtained by searching the information. But the searched last track number LTNO may be erroneously identified as smaller than the actual last tract number during the searching due to a scratch on the disk, vibration of the disk or the like, and may be memorized as such. In this case, even if there still is some information on and following the track with the memorized track number, the conventional CD player sees that track as the disk-end due to the memorized disk track number as mentioned earlier, so that recorded information on and following the track with the once memorized LTNO cannot be reproduced. For example, if a PRD actually having 9 pieces of music recorded is identified as having 8 pieces of music due to some protection or the like, the CD player sees it the disk-end when detecting the track number of the ninth piece of music information, and cannot play back the ninth piece of music information. EP-A-0 482 645, which is state of the art under Article 54(3) EPC discloses a system for recording programs and data on an optical disk, a CD write-once disk. This CD has a program area in which the programs are written and a PMA in which the TOC is written as long as the CD is not finalised. An completely unrecorded disk is determined when a TOC is not written in the PMA in whic case the pick-up is moved to a predetermined position based on the absolute time of the pregroove. This is, however, not a solution for the detection of the last track number of a partially recorded recordable disk. It is an object of the present invention to provide a recorded information searching method for a CD player, which overcomes the above-mentioned problem and which can thus search for the last piece of recorded information in the program area on a PRD, a partially recorded CD-R, during playback on the PRD, thus ensuring efficient reproduction of recorded information from the PRD. To achieve this object, according to the present invention, there is provided a recorded information searching method for a CD player for moving a pickup through jumps, each jump skipping a predetermined number of tracks, to search for a last piece of recorded information in a program area, said method comprising the steps of: sequentially storing sub codes read at the positions of said jumps; and further comprising, when reading failure occurs in said search: moving said pickup back to the previous jump position to the position of the occurrence of said reading failure; performing a search through jumps over tracks equal to or less in number than the number of tracks of the predetermined smallest information from said jump position; and detecting said last piece of recorded information by that sub code read out at the jump position immediately previous to the position of re-occurrence of reading failure. If a search is made for the last piece of recorded information on a PRD area following the program area is mirror-finished, the pickup of a CD player enters the mirror-finished portion following the program area, resulting in reading failure. According to the recorded information searching method of the second aspect of the present invention, the sub code read out at a jump position immediately before the occurrence of the reading failure is stored, and the pickup is moved to the position indicated by the stored sub code. Then, searching is conducted from that position while changing the number of tracks to be jumped. As the number of tracks to be jumped is the number of recording tracks of predetermined smallest information recorded, searching is executed without jumping over the smallest recorded information, and the last piece of recorded information in the program area is detected by the sub code at a jump position immediately before the re-occurrence of reading failure. A number of preferred embodiments of the present invention will now be described by way of example only, and with reference to the accompanying drawings, in which:- Fig. 1 is a diagram for explaining the recording formats of various disk; Fig. 2 is a diagram for explaining a conventional TNO search process; Fig. 3 is a flowchart of a conventional disk-end discriminating process; Fig. 4 is a diagram for explaining the operation in the conventional CD player; Fig. 5 is a block diagram illustrating the basic structure of a CD player embodying the present invention; Fig. 6 is a flowchart (part 1) illustrating the operation of the invention of EP-A-0837473 from which the present application is divided; Fig. 7 is a flowchart (part 2) illustrating the operation of the invention of EP-A-0837473; Fig. 8 is a diagram (part 1) for explaining the operation of the invention of EP-A-0837473; Fig. 9 is a diagram (part 2) for explaining the operation of the invention of EP-A-0837473; Fig. 10 is a diagram for explaining a search for the last piece of recorded information on a PRD according to an embodiment of the present invention; Fig. 11 is a flowchart (part 1) of a TNO search routine according to one embodiment of the present invention; Fig. 12 is a flowchart (part 2) of the TNO search routine, which follows Fig. 11; and Fig. 13 illustrates an operational flowchart of Disk-end updating means according to a further embodiment of the present invention. By way of introduction, the invention will now be described referring to Figs. 5 through 9 of EP-A-0837473. Fig. 5 presents a block diagram showing the basic structure of a CD player to which the present invention is applied. A CD (or a partially recorded or a finalized CD-R) 1 to be played back is placed on a turntable (not shown) of a CD player 100. A spindle motor 2 rotates the CD1 based on a spindle servo control signal S SC from a servo unit 3. A pickup 4 reads recorded data on the CD1 and outputs it as a playback RF signal S RF to a preamplifier section 5. The preamplifier section 5 amplifies the playback RF signal S RF , and outputs the amplified signal to a decoder unit 6. The preamplifier section 5 also produces an error signal S ER from the playback RF signal S RF and outputs it to the servo unit 3. The servo unit 3 includes a first servo section 3A and a second servo section 3B. The first servo section 3A produces a tracking error signal S TE and a focusing error signal S FE from the error signal S ER and a control signal S CON from a system controller 7 to execute tracking servo and focusing servo for the pickup 4. The first servo section 3A also performs carriage servo to drive a carriage 8 based on the control signal S CON from the system controller 7 and the error signal S ER from the preamplifier section 5. Near the carriage 8 is provided a home position detection switch 9, which detects the home position of the carriage 8 and outputs a home position detection signal S HM to the system controller 7. The decoder unit 6 includes an audio-data decoding section 6A and a control-data decoding section 6B. The audio-data decoding section 6A converts the received playback RF signal S RF into a binary signal, separates a frame sync pattern therefrom, demodulates the signal based on the EFM (Eight to Fourteen Modulation), performs signal processing, such as error correction, on the resultant signal, and outputs audio data D AD to a D/A converter section 10. The audio-data decoding section 6A also outputs control data D CN included in a sub code to the control-data decoding section 6B. The decoding section 6B decodes the control data D CN and outputs the resultant data to the system controller 7. At the same time, the decoder unit 6 produces a spindle servo error signal S SE from the input playback RF signal S RF and outputs it to the second servo section 3B. The second servo section 3B serves as a spindle servo section. Based on the spindle servo error signal S SE and control signal S CON , the second servo section 3B outputs the spindle servo control signal S SC to the spindle motor 2 to rotate the spindle motor 2 at a predetermined speed. The D/A converter section 10 converts the input audio data D AD into an analog signal and outputs it as an audio output signal S OUT . The system controller 7 performs the general control of the CD player 100 based on the control data D CN and an operation control signal from a display/operation section 11. The system controller 7 has a memory 7A memorizing various data. The display/operation section 11 is equipped with a display section (not shown) to display various types of information and inform a user of such information, and performs various displays under the control of the system controller 7. Before the operational description of this embodiment, the setup operation will be described. 1) Move Pickup to Initial Position In the setup operation, first, the pickup is moved to the initial position. For instance, if the home position is set so that the beam spot position is about 24 mm in radius from the center of the CD 1, the system controller 7 controls the first servo section 3A and drives the carriage 8 to move the pickup 4 toward the inner periphery of the CD 1. As a result, the carriage 8 is moved to the position (initial position) where the beam spot from the pickup 4 comes closer to the center of the CD 1 than the predetermined home position (about 24 mm in radius). The carriage 8 is moved by radial servo that sets the relative speed of the beam spot to the recording track in the radial direction constant. However, focus servo has not been applied yet in the above carriage movement, so that the relative speed cannot be detected and the carriage is moved at the maximum speed allowable by a carriage motor (not shown). But the carriage 8 is controlled to move for a short period of time and then be braked immediately thereafter, to repeat this intermittent movement until it reaches the initial position. 2) Move Pickup to Activation Position Next, the pickup 4 is moved to the activation position. This movement is done by moving the carriage 8 in the same manner as the movement to the initial position but toward the outer periphery of the CD 1 this time. It is detected that the pickup 4 has reached the activation position when the home position detection switch 9 is turned off, and then the movement to the activation position is terminated. Accordingly, the activation position comes slightly outward of the home position. 3) Activate Semiconductor Laser When the pickup 4 reaches the activation position, the system controller 7 activates a semiconductor laser (not shown) in the pickup 4 and waits for the laser to be stable. 4) Activate Focus Servo When the semiconductor laser becomes stable, the system controller 7 activates the focus servo. 5) Rotate Disk Then, the system controller 7 feeds a large constant current to the spindle motor 2 via the second servo section 3B of the servo unit 3 and accelerates the rotation of the CD 1 to about 500 rpm nearly equal to the rotational speed involved in accessing the inner periphery side of the CD 1. 6) Examine pull-in of Focus Servo Next, the system controller 7 examines if the focus servo has been pulled in. 7) Activate Tracking Servo When a completion of the pull-in of the focus servo is detected, the system controller 7 activates the tracking servo and carriage servo, and then examines if both servos are completed pull-in. 8) Activate Sync Servo After the tracking servo and carriage servo have been completd pull-in, the system controller 7 switches the spindle servo to sync servo, which thereafter controls the spindle motor 2 to make the rotating CD 1 have nearly the correct linear speed. 9) Lock PLL Immediately after the sync servo is activated, the speed of the spindle motor 2 may not be the correct linear speed. Thus, the system controller 7 detects the frame sync in the reproduced signal, and performs control based on the frame sync so that the speed of the spindle motor 2 comes within a range of several percent of the correct linear speed, and the PLL is locked in. The setup operation is terminated after the above steps 1) to 9) are executed, and the CD player goes to the normal playback operation. The above sequence of steps is just one example of the setup operation, and is in no way restrictive. The above setup operation is for a normal CD; to play back a PRD, it is necessary to set a home position in the program area PA of the PRD. A process of detecting the recording end position will be described referring to operational flowcharts given in Figs. 6 and 7 and exemplary operational diagrams given in Figs. 8 and 9. In this case, it is assumed that a PRD is placed on the turntable, playback or fast forward (FF) of the program area PA is in progress after completion of the setup operation at the home position, and the system controller 7 is sequentially producing and holding the total or accumulative recording time (A-TIME) measured from the first track with the track number = 1 in the sub code, which should be acquired if the playback or fast forward is being carried out properly, as an expected address. It is also assumed that during the proper playback, the accumulative recording time (A-TIME) measured from the first track with the track number = 1 in the sub code which is included in an actual reproduced signal is updated and held as a current address. It is to be noted that the memory 7A of the system controller 7 is provided with an area for a counter used to check the number of times a mirror-finished portion is detected, an area for holding the expected address, and an area for holding the last address. The initial value for the count of the counter is "0". When Recording End Is Reached First, the system controller 7 determines if the currently holding expected address matches with the current address, i.e., whether or not playback is in progress properly (step S1). When the expected address matches with the current address, it is determined if the playback mode is performed continuously for 16 seconds or longer (step S7). When the playback mode is continuing for 16 seconds or longer, the counter is reset (step S8) and the playback mode is resumed. If the playback mode is not performed continuously for 16 seconds or longer, it is resumed simply. When the expected address is not equal to the current address, the Tr-jump is made outward to a position on the disk corresponding to the expected address (step S2). Then, it is determined if the pickup 4 enters an unrecorded area URA as shown in (a) in Fig. 8 to detect a mirror-finished portion (step S3). When no mirror-finished portion is detected, the routine goes back to step S1. When a mirror-finished portion is detected in step S3, the value of the counter is incremented and it is then determined if a mirror-finished portion has been detected three times, i.e., if the value of the counter equals "3" (step S4). In this case, it is the first detection (count = 1) and the destination of the jump is a mirror-finished portion, disabling the reading of a sub code, the spindle motor 2 is stopped (step S9). At this time, before stopping the spindle motor 2, the latest updated current address is stored as a last address in the memory 7A. Then, a setup operation is performed at that position. It is then determined if the setup operation has been successful (step S10). If the setup operation has been unsuccessful, it is discriminated if the setup operation has been unsuccessful three consecutive times based on the value of the counter (step S12). When the setup operation has been unsuccessful three times at that position (see (b) in Fig. 8), the pickup 4 is moved to the home position HP as indicated in (c) in Fig. 8 and a setup operation is tried there (step S13). It is then checked if the setup operation at the home position HP has been successful (step S14). When the setup operation at the home position HP has been successful as indicated in (c) in Fig. 8, the Tr-jump is made to a position LADR equivalent to the last address, playback starts from this position LADR, and a sequence of processes from steps S1 to S4 is repeated. Also, in this case, as it is the second detection of a mirror-finished portion in step S4, a sequence of processes starting with step S9 is also executed. When the number of times a mirror-finished portion is detected becomes three (count = 3), the process jumps from step S4 to step S5 for the first time, it is discriminated that the recording end has been reached (step S5), and the spindle motor 2 is stopped (step S6) before terminating the routine. If it is found that the setup operation at the home position HP has been unsuccessful in step S14, it is checked if the setup retry has already been done six times (step S15). As no setup retry has been done yet in this case, the process goes to the setup retry routine. If the setup retry has already been done six times, on the other hand, it is considered that the setup is not possible and the operation will be terminated (step S16). In this setup retry routine, it is determined how many times the retry has been done. If it is an even-numbered retry, the setup operation is performed at the normal home position HP (step S18); but if it is an odd-numbered retry, on the other hand, the setup operation is performed at an outer home position set outward of the normal home position HP (step S19). It is checked again if the setup operation has been successful (step S14). When the setup has not been carried out properly, a sequence of processes of steps S15, S17 and S18 or S19 is likewise executed to perform the setup operation until the sixth setup retry is conducted. In the setup retry routine, therefore, the setup operation at the normal home position HP and the setup operation at the outer home position are executed alternately, three times at the normal home position HP and three times at the outer home position at a maximum. When any setup operation has been unsuccessful, the setup is considered disabled and the spindle motor 8 is stopped (step S16). Thus, the operation will be terminated. When Expected Address Does Not Match With Current Address At Other Portion Than Recording End When the expected address does not match with the current address at other portion than the recording end as indicated in (a) in Fig. 9 due to the vibration of the disk or some scratches thereon, if, after the processes of step S1 and step S2, a setup operation is performed at the position, the setup operation at that position is possible so that the current position is discriminated not to belong to a mirror-finished portion in step S3, and the process goes back to step S1. Since the expected address should match with the current address this time, the process goes to step S7. As playback should continue for 16 seconds or longer this time, the counter is reset (step S8) and the playback is resumed. Although the number of setup retries is set to six times in the above embodiment, it is possible to conduct a setup retry arbitrary number of times equal to or greater than two. While the time for the continuous playback is 16 seconds or longer in step S7, the time is not limited to this value but may be set to any value enough to distinguish an unrecorded area URA from a real defective portion (such as a scratch or vibration of the disk). Further, although the number of setup retries for an unrecorded area is set to three times, any given number is acceptable. In short, according to the first of the present invention, when the playback from the position corresponding to the address held by the address storing means and detection of an unrecorded area are repeated a predetermined number of times, the recording-end position discriminating means discriminates the position corresponding to the address held by the address storing means as the recording end position of the disk. Therefore, the recording end position of a PRD can be detected by detecting an unrecorded area without accessing the PMA of the PRD. It is thus possible to perform repetitive playback of a PRD or switch one disk from another in an auto-changer or the like as easily as done for a normal CD. Further, only when the playback from the position corresponding to the address at which the last playback has been done and detection of the unrecorded area are repeated a predetermined number of times, this position is discriminated as the recording end position of the disk. Even if an area in the recorded area on the disk is erroneously detected as an unrecorded area due to a scratch on the disk or vibration of the disk, therefore, that area , will not be discriminated erroneously as the recording end position. A preferred embodiment of the present invention will be described below. Referring to Fig. 5, when the disk 1 is set, the system controller 7 first drives the carriage 8 as a servo mechanism via the servo unit 3 to move the pickup 4 to the home position set near the innermost portion of the program area to conduct a setup. In the setup, the system controller 7 drives the spindle motor 2 and sequentially activates the individual servos, making the CD player ready for information reproduction. If there is a scratch or the like at that position on the disk 1 which corresponds to the home position, or the home position comes on the mirror-finished portion of the PRD, the setup may not be carried out. In this case, the pickup 4 is moved outward of the home position and the setup is tried again, thus controlling to reproduce the information at the innermost portion of the program area. When the setup is complete, a process to read TOC information is performed next. It is discriminated whether the disk is a "normal CD with TOC," "normal CD without TOC" or "PRD" that is a partially recorded disk belonging to additionally recordable CD-Rs, based on the result of reading the TOC information, and information on the discrimination result is stored as disk discrimination information. Thereafter, when playback is instructed from the display/operation section 11, reproduction of the recorded information in the program area is controlled according to the disk discrimination information. When the target disk 1 is discriminated as a "PRD", "99" is set and memorized as a LTNO indicating the last piece of recorded information. When receiving an instruction to reproduce the last piece of recorded information from the display/operation section 11, the system controller 7 starts searching for the LTNO = 99. The search is generalLy conducted by making a 100-Tr-jump. Referring to Fig. 10, a description will now be given of a search for the last piece of recorded information in the program area according to this embodiment. (1) In search for the program area of a PRD outward, first, sub codes read out at jump positions are sequentially stored. Then, when the pickup 4 enters a mirror-finished portion and reading failure occurs at the jump position as indicated in (a) in Fig. 10, the search is interrupted and the spindle motor 2 is stopped while the sub code including the stored address of a previous jump position to the position of occurrence of the reading failure is stored. (2) Next, the pickup 4 is moved back inward from the position where the reading failure has occurred, as indicated in (b) in Fig. 10. The pickup 4 is moved by a given amount that depends on the home position and the amount of a jump. (3) Then, a setup is performed at the position to which the pickup 4 has been shifted inward. When the setup is unsuccessful, the home position is located again or the pickup 4 is moved further inward by a given period of time, which is repeated until the setup is complete. (4) When the setup is complete, searching is conducted outward with the stored address (M) of an immediately previous jump position to the position of occurrence of the reading failure as a temporary target, as indicated in (c) in Fig. 10. The search is conducted through a jump in such a way that the pickup 4 does not stop at a position outside the position of the address (M) while comparing the current position with the position (M). (5) When the position (M) is searched, searching is resumed outward from that position by a 10-Tr-jump, which skips tracks less in number than the number of recording tracks of predetermined smallest information, if recorded on the disk, as indicated in (c) in Fig. 10. In this searching too, the sub codes read at the addresses of the individual jump positions are sequentially stored. (6) When the pickup 4 enters a mirror-finished position, resulting again in reading failure, in the search through a 10-Tr-jump, the information in the recording area indicated by the TNO included in the sub code (C) that has been read at the jump position immediately previous to the position of the occurrence of the reading failure is determined as the last piece of recorded information in the program area and this TNO is stored as the LTNO. Then, a search for the head of the recording area specified by the LTNO is conducted and the information is reproduced as the last piece of recorded information. Thereafter, searching for the last piece of recorded information is executed with that stored LTNO. (7) The number of jumps in the search through 10-TR-jumps is counted, and if no reading failure occurs after thirty jumps, the previous reading failure is considered as originating from a scratch on the disk, the disk vibration or the like. Then, as indicated in Fig. 10(4), the search through a 10 Tr jump is interrupted, and the normal searching is executed again from that position. Referring now to the flowcharts given in Figs. 11 and 12, a detailed description will be given of the process of the system controller 7 which controls the above-described search. First, the TNO specified by a playback instruction given from the display/operation section 11 is set as a target (A) (step S21). In this case, when playback of the last piece of recorded information is designated, the stored LTNO is taken as the target TNO (A); however, when the disk is a PRD, "99" is set for the LTNO. Next, the system controller 7 controls the servo unit 3 to start the search through the Tr-jump (step s22). The Tr-jump in this search is set a large jump to skip about 100 tracks. Then, a sub code at each jump position is read out. If it can be read out properly, the sub code (B) is stored in the memory (M), and the TNO (B) specified by that sub code is compared with the target TNO (A) (steps S23, S24 and S25). If both track numbers do not match with each other, the flow returns to step S22 to make the next Tr jump. When both track numbers match with each other, the search is terminated, and the head of the recording area specified by the TNO is then searched to play back the recorded information. If it is found that a sub code cannot be properly read out at the jump position in step S23, this event is considered as the occurrence of reading failure and the spindle motor 2 is controlled to stop (step S26 in Fig. 12). The servo unit 3 is then controlled to make a backward jump for a given distance and a setup operation is tried there. If the setup operation is not possible, the pickup 4 is moved back further, and a setup operation is tried again (steps S27 and S28). This sequence of processes is repeated until the setup operation is complete. In the backward jump, the pickup 4 may be returned to the home position. When the setup operation is completed, a search is conducted while taking the position indicated by the sub code at the previous jump position to the position of occurrence of the reading failure, stored in the memory (M), as a temporary target (step S29). This search is so controlled as not to skip the temporary target. When the position of the temporary target is searched, a search through 10-Tr-jumps starts from that position in the direction toward the first target, the number of the jumps is counted, and it is then checked if the count exceeds "30" (step S30). If the count exceeds "30", it is considered that the reading failure has originated from some scratches on the disk, the disk vibration or the like, and the process returns to step S22 to resume the search for the first target through a large jump. If the count is less than "30" in step S30, on the other hand, the process advances to step S31 to try a 10-Tr-jump. In each 10-Tr-jump, like a large jump, a sub code at the jump position is read; if the sub code is read properly, that sub code (C) is compared with the sub code (M) in the memory; when the address of the currently read sub code is larger than that of the stored sub code, the latter sub code in the memory is replaced with the former one before repeating a 10-Tr-jump (steps S32, S33 and S34). When the sub code at the destination of the 10-Tr-jump is not properly read in step S32, the reading failure is determined as having originated from a mirror-finished portion, the 10-Tr-jump is terminated, and the TNO specified by the sub code at the previous jump position to the occurrence of the reading failure, stored in the memory, is determined and stored as the LTNO (End TNO) (steps S35 and S36). This completes the searching, after which a setup operation is performed, the head of the recording area of the LTNO is searched, and playback is then performed. Although the number of conducted 10-Tr-jumps that is checked in step S30 is set to "30", this number is determined so that the number of tracks jumped by 10-Tr-jumps does not exceed the number of tracks jumped by a large jump in a search, and is not restrictive in any way. As described above, according to this embodiment, even if reading failure of a sub code occurs due to the pickup positioned at a mirror-finished portion of a PRD, the pickup is moved back to the position of the sub code read immediately before the occurrence of reading failure, searching is resumed from that position by a 10-Tr-jump, which skips tracks less in number than the number of recording tracks of predetermined smallest information, and the sub code immediately before the re-occurrence of reading failure originating again from a mirror-finished portion is memorized. As indicated in (c) in Fig. 10, therefore, the last piece of recorded information (TNO = 8) in the program area can surely be detected. Further, even if the reading failure originates from some scratches on the disk or the disk vibration, this event will not be erroneously discriminated as caused by a mirror-finished portion by controlling the number of 10-Tr-jumps that should be conducted. In short, the recorded information searching method for a CD player according to the second aspect of the present invention can search, without problems, for the last piece of recorded information in the program area even if a partially recorded type of CD-R (i.e., PRD) whose TOC information cannot be read and whose area following the program area is a mirror-finished portion. Quick playback is therefore possible in a later search, thus ensuring efficient playback of a PRD. Another embodiment of the present invention will be described below. Referring to Fig. 5, when the disk 1 is a read only type CD, the system controller 7 controllably accesses the lead-in area, obtains TOC information via the decoder unit 6, and then stores that information in the memory. The system controller 7 stores the track number LTNO indicating the last piece of information recorded in the program areabased on that TOC information, as per the conventional CD player. When the disk 1 is a PRD, which is a partially recorded type of CD-R, TOC information cannot be obtained. In this case, the LTNO indicating the last piece of information in the program area is acquired in such a way that when an access instruction is given from the display/operation section 11, the last piece of information in the program area is searched and the sub code of that information is stored in the memory, taking the track number of that information as the LTNO. The end of the program area is discriminated by the presence of a mirror-finished portion. After the sub code is stored, the disk-end updating means compares the track number indicated by a sub code of currently reproduced information with the LTNO during playback or fast forward, and updates the LTNO when detecting any sub code that indicates a track number larger than the LTNO. Fig. 13 illustrates a flowchart of a process that is executed by the system controller 7 as the disk-end updating means during playback. Referring to this flowchart, the process of the disk-end updating means will be described. First, it is determined if the disk to be played back is a PRD (step S41). When it is not a PRD, the flow advances to step S44 to perform the same processing as done conventionally. If the disk is a PRD, the system controller 7 obtains the sub code of the information currently being read, via the decoder unit 6, compares the track number indicated by this sub code with the LTNO in the stored sub code that has been set as that of the last piece of information, and determines if the former track number is greater than the LTNO (step S42). When it is not larger than the LTNO, the system controller 7 goes to step S44. If the former track number is equal to or larger than the LTNO, the system controller 7 replaces the stored sub code with the current sub code, and updates and stores the number of the last piece of music (LTNO) and the largest absolute time (step S43). Then, the system controller 7 compares the current sub code with the previous sub code as done conventionally (step S44). When both match with each other, the system controller 7 repeats a sequence of processes starting from step S41; and when the codes do not match with each other, the system controller 7 stores the current sub code in the memory area where the previous sub code is stored (step S45). Next, it is determined if the pickup has reached the lead-out area (step S46). When the lead-out area has been reached in the case of a read only disk, the system controller 7 judges it as the disk-end and proceeds to the next process. When the pickup has not reached the lead-out area, the current track number is compared with the LTNO (step S47). When the current track number is equals to or smaller than the LTNO, the system controller 7 returns to step S41 and repeats the described process. If the current track number is larger, the system controller 7 judges it as the disk-end and goes to the subsequent process. According to the CD player of this embodiment, the once-set track number indicating the last piece of information can be updated during playback of a PRD. The track number that should indicate the last piece of recorded information may be erroneously set smaller than the actual track number specifying the location of the last piece of recorded information, as in a case where some area is erroneously discriminated as a mirror-finished portion in a search for the last piece of information due to a scratch on the disk, disk vibration or the like. Even in such a case, when the presence of information in an area following the area having the erroneously set track number during playback, is detected, the track number indicating the last piece of the information is updated, so that the information of the actual track number can be accessed in a later search. For instance, when a PRD actually having 9 pieces of music information recorded is identified as having 8 pieces of music information due to some protection or the like during playback, the track number set as the LTNO is updated when the ninth piece of music information is detected during playback, so that playback of the ninth piece of music information becomes possible in a later search. Even in fast forward which is done by the Tr-jump, sub codes are read out sequentially and the renewal of the track number is executed as done in playback mode. As described above, if the presence of any piece of recorded information after the track that has the last track number stored in the memory is detected in playback of a PRD, the CD player of the third aspect of the present invention updates the last track number to ensure a search for that piece of information. Even if the track number indicating the last piece of recorded information is erroneously set smaller than the actual one, therefore, the present CD player makes it possible to reproduce effectively all the pieces of recorded information. It is noted that parent application 97204143.8 is on its turn a divisional of application 93300498.8 (EP-A-0552986).

Claims: A recorded information searching method for a CD player for moving a pickup (4) through jumps, each jump skipping a predetermined number of tracks, to search for a last piece of recorded information in a program area, said method comprising the steps of: sequentially storing sub codes read at the positions of said jumps; and further comprising, when reading failure occurs in said search: moving said pickup back to the previous jump position to the position of the occurrence of said reading failure; performing a search through jumps over tracks equal to or less in number than the number of tracks of the predetermined smallest information from said jump position; and detecting said last piece of recorded information by that sub code read out at the jump position immediately previous to the position of re-occurrence of reading failure.

Inventors: ABE HIROYUKI, AOYAGI YOSHIO, BRADSHAW ALEX, HARAGUCHI KOICHIRO, KATO SEIJI, KIYOURA KAZUHIRO, NONAKA YOSHIYA, ABE, HIROYUKI, AOYAGI, YOSHIO, BRADSHAW, ALEX, HARAGUCHI, KOICHIRO, KATO, SEIJI, KIYOURA, KAZUHIRO, NONAKA, YOSHIYA, Abe, Hiroyuki, c/o Pioneer Electronic, Aoyagi, Yoshio, c/o Pioneer Electronic, Nonaka, Yoshiya, c/o Pioneer Electronic
Applicants: PIONEER ELECTRONIC CORP, PIONEER ELECTRONIC CORPORATION
Application year: 1993
Main classification: G11B27
IPC codes: G11B27, G11B7, G11B19