Abstract:
A method for correctly measuring the time remaining for a tape running in a tape recorder on the basis of a previously calculated remaining time even when the speed of the tape running in the tape recorder changes or runs at a high speed. The method determines whether or not a present remaining time has been calculated and based on this determination other steps are performed. Other steps include determining the rotation period of a supply reel, determining whether or not the tape is running at a normal speed or whether or not the tape is running in a forward direction, whether the speed of the tape is a high speed or not, subtracting from or adding to the rotation period, a change in rotation period based on the speed and direction of the tape for every rotation of the reel to calculate a new rotation period and calculating a new remaining time by subtracting the new rotation period from or adding the new rotation period to the present remaining time determined in the first mentioned step.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a method for measuring the remaining time of tape in a tape recorder, and more particularly, to a method for correctly measuring the remaining time of tape even when the tape runs at a high speed or the speed of tape changes. 
     A known tape recorder exercises a function of displaying the remaining time of running tape continuously when the tape is driven. In the case of DAT(Digital Audio Tape Recorder), for example, the tape runs regularly at a speed of V t  =8.15 m/s when driven by a capstan motor at a normal speed. So, when one period is measured with the reel pulse of a supply reel by a microcomputer, the remaining time(R t ) can be found as a theoretical value according to the following formula. 
     
         R.sub.t =[(V.sub.t T.sub.s).sup.2 -(2πr.sub.o).sup.2 ]/4πδV.sub.t                                     ( 1) 
    
     wherein, 
     V t  : Running speed of tape when tape runs at normal speed 
     T s  : One period of supply reel 
     δ: Thickness of tape 
     r o  : Radius of hub 
     Consequently, when the tape runs at normal speed, the remaining time found according to the above formula(1) is increased or decreased by the timer of a microcomputer. 
     In the case where the tape is made to run at normal speed by the capstan motor, running speed(V t ) of the tape is constant and the remaining time can be correctly increased or decreased. In the case where the tape runs at high speed mode, the remaining time cannot be increased or decreased correctly for the reason that it is made to turn around fast by driving the reel motor directly, and running speed of the tape is inconstant depending on the remains of tape wound to the reel. 
     Thus, conventional DAT causes a problem in that the remaining time cannot be displayed correctly on the display screen in the case of high speed running mode and the remaining time must be calculated again when the tape is shifted to normal speed-running mode from high-speed running mode. 
     SUMMARY OF THE INVENTION 
     Therefore, an object of the present invention is to provide a method for correctly measuring the remaining time of running tape on the basis of a previously calculated remaining time even when the tape runs at high speed or changes speed in the tape recorder. 
     In order to accomplish the above object, the present invention comprises the steps of: 
     (a) judging whether the present remaining time is calculated; 
     (b) measuring one rotation period on the part of the supply reel by the microcomputer in the case of normal speed running mode in response to the result of a judgment formed in the above step(a); 
     (c) finding one new rotation period by subtracting a certain quantity of change in the one rotation period from or adding it to the just previous rotation period according to the running direction after every one rotation period of reel passes away in a condition where the remaining time is calculated in the case of high speed running mode or in the case of speed-changing mode in response to the result of a judgment formed in the above step(a); and 
     (d) recording the new remaining time by subtracting the value corresponding to the one new rotation period from or adding the value corresponding to the one new rotation period to the remaining time of running tape already inputted in the above step(a) according to the direction of running every time tape effects one periodic rotation. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     For a better understanding of the invention and to show how the same may be carried into effect, reference will now be made, by way of example, to the accompanying diagrammatic drawings, in which: 
     FIGS. 1A and 1B are an illustrative view taken to describe a variation of reel pulses caused by a variation of tape speed; 
     FIG. 2 is a systematic diagram showing only those parts of tape recorder which are correlated to the effectuation of the present invention; and 
     FIGS. 3A and 3B are a flowchart of a method for measuring the remaining time according to the present invention. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     FIG. 2 is a systematic diagram showing a part of a tape recorder necessary to effect the present invention, which comprises: a key input part 10 for generating a key command signal required to drive a running mode designated by a user; a microcomputer 20 for generating a servo control signal according to a corresponding mode by the key command signal and calculating the present remaining time of tape and the period of supply reel by receiving those reel pulses generated in response thereto; a servo 30 for driving a supply reel motor 40 by the servo control signal of the microcomputer 20; a display 50 for displaying the tape remaining time data of the microcomputer 20; and a reel frequency generating sensor 60 for sensing the reel pulse of the supply reel motor 40. 
     A method for measuring the remaining time according to the flowchart shown in FIG. 3A and 3B is stored and implemented as a program by the microcomputer 20. The method for measuring the remaining time of tape recorder according to the present invention will be described in detail hereinafter. 
     As the actual running speed of tape varies depending on wound amounts of tape even if a reel is given a turn at a uniform speed of reel motor in the high speed running mode of tape recorder, the remaining time must be calculated by physical measurement. Thus, the remaining time is calculated by measuring first the period(T s ) of reel pulse on the part of supply reel and, in the following period after the tape is unwound by one rotation, a difference of ΔT as shown from the following formula (2) is uniformly made to the previous period. ##EQU1## wherein, T so  : The first period of the supply reel 
     T s1  : The period of the supply reel after the tape is unwound by one rotation 
     r so  : The first radius of the tape on the part of the supply reel 
     r s1  : The radius of the tape on the part of the supply reel after the tape is unwound by one rotation 
     δ: Thickness of the tape 
     V t  : Running speed of the tape 
     As n reel pulses are generated invariably per one rotation period from the part of supply reel at this instance, the microcomputer 20 counts the sensed reel pulses and renders R t  (remaining time)=R t  -T s  ; T s  =T s  -ΔT, every time one period passes away. When the number of reel pulses does not amount to n at a standstill, a value T s  /n is found and (T s  /n) is subtracted from the remaining time(R t ) multiplied by the value counted in the meantime. 
     Assuming that 8 reel pulses are generated per period by referring to FIGS. 1A and 1B, 
     in A1, a time T s  newly measured is made the present period of the reel, 
     in A2, R t  is reduced as continuing time up to A2, 
     in A3, R t  =(last R t )-T s  and T s  =(last T s )-ΔT are made, 
     in A4, R t  attains to (R t  in A3)-4×(T s  /8) and T s  attains to (T s  in A3)-4×(ΔT/8) by reason that the period was given only a half turn and, in a playing condition, R t  is reduced second by second. 
     In the event of high speed faster than 200-times speed, time is reduced at once to the extent of T s  time, but it is not felt as unusual to the naked eyes as the reduced time is too short. 
     Referring to A5, it is same as A3. Referring to A6, it is same as A2 too. In the timing of A7, one period is wound in a reverse direction and so, 
     the remaining time R t ) attains to (last R t )+T s , and T s  attains to (last T s )+ΔT, which is reverse to A3. 
     In A8, R t  attains to (R t  in A7)+2×(T s  /8), and T s  attains to (T s  in A7)+2×(ΔT/8). 
     In the following play, time is reduced second by second. 
     The method for correctly displaying the remaining time of tape according to the present invention even when the tape runs at a high speed or the speed of tape changes in the tape recorder, is executed as described hereunder. Here, we assume that 8 pulses are generated in one rotation period of the supply reel. 
     Referring to FIG. 3A, the microcomputer 20 judges first whether the present remaining time is calculated in the (B1) stage or not. When the existing remaining time is not calculated, remaining time must be found by physical formula by calculating the period T s  on the part of a first supply reel. In order to measure the correct T s , remaining time must be measured when placed certainly at the normal speed, i.e., play mode. Thus, the microcomputer 20 proceeds to the (B2) stage and judges whether the tape is playing. If the present condition is not playing, the microcomputer 20 terminates measuring of the remaining time. If the present condition is playing, then the microcomputer 20 measures in the (B3) stage every infinitesimal time until 8 reel pulses are generated. Based on this T s , the microprocessor 20 calculates the remaining time R t  according to physical algorithm and terminates a process of control. In the case where the remaining time calculation is completed in the said (B1) stage, the microcomputer 20 proceeds to the (B4) stage and judges whether the direction to which the tape runs is forward or reverse. 
     Thereafter, if forward, the microcomputer 20 checks in the (B5) stage whether the tape is in the forward directional high speed mode. The high speed mode means the mode in which the running speed of tape is not uniformly controlled by the capstan motor but the tape is made to turn round at a high speed by the reel motor. Consequently, when the tape is shifted to the normal speed mode driven by the capstan motor or to the stop mode after tape ran in the high speed mode in the (B5) stage, if high speed running has not passed beyond one period until then, the amount advanced that much must be subtracted in terms of time. At this time, 8 reel pulses are generated from the part of the supply reel during one period. Every time one reel pulse is generated, the microcomputer increases the counting value N. When the tape is shifted to the normal speed mode, the microcomputer 20 multiplies in the (B6) stage the counting value N accumulated until then by a value (T s  /8) fixed as the time per pulse. Then, if it subtracts the multiplied value from the remaining time R t  remained until before that time R t , the result thereof attains to the remaining time in relevant condition. The period T s  in such a condition also attains to the present period T s  when the value N of the counter accumulated is multiplied by (ΔT/8) and subtracted from the preceding period T s . 
     Thereafter, FIG. 3B, the microcomputer 20 judges in the (B7) stage whether the time the tape got out of the high speed mode signifies stop of the tape or signifies that the tape is shifted to a normal speed. In the case where the tape is shifted to a normal speed, the microcomputer 20 proceeds to the (B8) stage and increases or decreases the remaining time. In other words, in the event of normal speed mode, the tape uniformly proceeds at V t  =8.15 m/s on the basis of playing condition and so the remaining time is reduced every second by the microcomputer 20. Also, in the case of medium speed like threefold and ninefold speed, the tape is made to proceed at 3×8.15 m/s and at 9×8.15 m/s by the capstan motor and so, in the case of threefold speed, one second is increased or decreased every 0.333 second depending on a running direction of the tape by the microcomputer 20. In the case of ninefold speed, one second is decreased or increased every 0.111 second. 
     However, when the tape is keeping the high speed mode in the (B5) stage, the microcomputer 20 proceeds to the (B9) stage. When the tape runs at a high speed, a running speed of tape is not uniform and so the microcomputer 20 judges whether the pulses counted amounts to 8 in number in order to subtract the time that the present tape takes to unwind one round, namely, T s , from the present remaining time after one period. In case the reel pulses are not made to one period in the (B9) stage at that time, the microcomputer 20 increases in the (B10) stage the counting value one by one when reel pulses are reversed (become low) and records in the rising edge that one period is advanced when 8 reel pulses are counted. In case one period is advanced under high speed mode conditions in the (B9) stage, in the (B11) stage the microcomputer 20 deducts the one period time T s  from the remaining time R t  to attain the present remaining time R t , and ΔT is deducted from the period T s  to attain a new period T s  as the period is reduced to the extent of ΔT because one period is advanced. 
     In case the tape is driven in a reverse direction in the (B4) stage, the microcomputer 20 checks in the (B12) stage whether the tape is in the high speed mode or not. In case the tape is shifted to the normal speed mode or to the stop mode from the high speed mode at this time, the present remaining time R t  can be found by multiplying the counting value N counted until then by the value T s  /8 time per pulse, and adding the multiplied value to the remaining time R t  until before that time in the (B13) stage. The present rotation period T s  can be found by multiplying the counting value N counted up to now by ΔT/8 and adding the multiplied value to the preceding rotation period Ts. 
     When the remaining time R t  and rotation period T s  are found in such a manner as described hereinabove, the microcomputer 20 proceeds to the (B7) stage discussed above. However, in case the tape is under the high speed mode in the (B12) stage, the microcomputer 20 checks in the (B14) stage whether the reel pulse made one periodic rotation. In case one periodic rotation was not made, the microcomputer 20 proceeds to the (B16) stage and performs the same operation as the (B10) stage. If the microcomputer 20 is ascertained that the reel pulse has made one periodic rotation in the (B14) stage, the present remaining time R t  is calculated in the (B15) stage by adding the corresponding period time T s  to the previous remaining time R t , (R t  +T s ), and the period rotation period T s  is also increased to the extent of ΔT, that is, (T s  +ΔT), to attain the present rotation period T s , as progress was made to the extent of one period. 
     As described hereinbefore, the method for measuring the remaining time according to the present invention has the advantage of being able to correctly measure the remaining time of tape even when the tape runs in the normal speed mode or in the high speed mode, or speed is changed or the direction of drive is shifted in the tape recorder.