Abstract:
Disclosed is a system for more precisely controlling the speed of a magnetic tape transport motor in an information storage apparatus of a magnetic tape type, by including a program for controlling the speed of the magnetic tape transport motor in the microprogram for controlling the information storage apparatus of a magnetic tape type.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to a system for controlling the speed of a magnetic tape transport motor and, more particularly, to a system for controlling the speed of a magnetic tape transport motor using a microprogram. 
     2. Description of the Prior Art 
     The method of controlling the speed of a magnetic tape transport motor is known in the prior art, as for example in U.S. Pat. Nos. 3,293,522, 3,383,578 and 3,764,876. In the case where a magnetic tape controlling apparatus is provided with a a microcomputer containing a microprogram memory circuit, for performing various operating functions for controlling the tape, the speed of the control of the magnetic tape transport motor is achieved by an independent device. 
     However, in the prior art described above the following disadvantages exist. Firstly, the size and the price of the magnetic tape controlling apparatus cannot be reduced, because an independent device for controlling the speed of the motor must be provided. Secondly, the advantages which can be obtained by using a microprogram cannot be fully realized, because the microprogram does not include a program for controlling the speed of the motor. Thirdly, it is difficult to precisely control the speed of the motor in accordance with a predetermined controlling program of the magnetic tape controlling apparatus. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide an improved system for controlling the speed of a magnetic tape transport motor which is included in a magnetic tape controlling apparatus. 
     It is another object of the present invention to provide an improved system for controlling the speed of a magnetic tape transport motor in combination with the microprogram memory circuit of a microcomputer in a magnetic tape controlling apparatus. 
     It is a further object of the present invention to provide an improved system for controlling the speed of a magnetic tape transport motor which promotes the reduction of the size and the price of the device for controlling the speed of the motor, the full utilization of a microprogram, and the optimum control of the speed of the magnetic tape transport motor. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 shows a schematic block diagram of the system according to the present invention; 
     FIG. 2(a) shows an example of a motor speed detecting device included in the system of FIG. 1; 
     FIG. 2(b) shows the wave-form of a pulse signal corresponding to the output of the device of FIG. 2(a); 
     FIG. 3 shows an example of the time chart of the operation of the system of FIG. 1; 
     FIGS. 4(a) and (b) show another example of a motor speed detecting device and a wave-form as an alternative to FIGS. 2(a) and (b), respectively, and; 
     FIG. 5 shows another example of the time chart of the operation of the system of FIG. 1. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     As an embodiment of the present invention, the system of FIG. 1 includes a microprogram memory circuit (MMC) 1, an address selecting circuit 2, a register file 3, a digital-to-analog converter 5, a power amplifier 6, a magnetic tape transport motor 7, a magnetic tape transport capstan 8, a speed detector 9, X-, Y- and Z-buses 11, 12 and 13, and an arithmetic logic unit 14. The address selecting circuit comprises a discriminating circuit 201, an address counter 202 and an interrupting circuit 203. The discriminating circuit 201 receives signals from the arithmetic logic unit 14, the speed detector 9, and the other job signals 10, and produces an output signal of either &#34;1&#34; or &#34;0&#34;. If the output signal &#34;1&#34; is produced from the discriminating circuit 201, the address counter 202 effects a jump to a predetermined address to the speed control program. If the output signal &#34;0&#34; is produced from the discriminating circuit 201, the address counter 202 effects the addition of one unit. 
     The register file 3 comprises REGISTER-1, REGISTER-2, . . . , REGISTER-n and TIMER-1, TIMER-2, . . . , TIMER-m. An oscillator 4 is connected to the TIMER-1. 
     The above-described microprogram memory circuit 1, address selecting circuit 2, register file 3, X-, Y- and Z-buses 11, 12 and 13, and arithmetic logic unit 14 together comprise a microcomputer of the present invention. 
     The REGISTER-1 is connected to the digital-to-analog converter 5. The output of the converter 5 is supplied to the magnetic tape transport motor 7 through the power amplifier 6. The transporting of the magnetic tape is effected by the rotation of a capstan 8 driven by a direct-current motor 7. A speed detector 9 coupled to the motor 7 produces a speed detecting signal which is applied to the address selecting circuit 2. 
     The structure of the speed detector is illustrated in FIG. 2(a). A disc 91 is coupled to the motor 7 through the axis 701. An alternating sequential arrangement of transparent zones 92 and light interrupting zones 93 is arranged on and along the circumference of the disc. A light beam emitted from a light source 94 is projected to a light sensor 95 through the transparent zones located in the circumferential portion of the disc 91. In accordance with the rotation of the disc 91 caused by the motor 7, the light beam emitted from the light source 94 reaches intermittently to the light sensor 95 due to the presence of the transparent zones 92 located alternatingly between the light interrupting zones 93. The output signal of the light sensor 95 is shaped by a wave-form shaping circuit 96 which produces a speed detecting signal S as illustrated in FIG. 2(b). The period T of the speed detecting signal S is inversely proportional to the speed of the motor. By counting the number of clock pulses which represents the length of the period T by a timer, the speed of the motor can be measured digitally. 
     Illustrated in FIG. 3 is an example of the time charts of the operations of the system of FIG. 1 using the speed detector of FIG. 2(a). The interrupting circuit 203 produces an interruption signal IS at the moment when the interrupting circuit 203 detects a rising point RP of the wave-form of the speed detecting signal S. The produced interruption signal IS is supplied to the address counter 202, where the signal IS causes the address counter 202 to jump to a predetermined address. Since the speed controlling program SCP is stored in the memory at the predetermined address, the operation of the speed controlling program SCP is effected. The operation of the speed controlling program SCP will be described hereinafter. The content of the TIMER-1, which represents the counted value during the last period of the speed detecting signal S, is transferred to a predetermined register, REGISTER-2, so that the TIMER-1 is cleared out and the counting of the clock pulses from the oscillator 4 can be restarted again. The counted value registered in the REGISTER-2 representing the detected speed of the motoris then transferred to the arithmetic logic unit 14 where the required motor current i 1  is calculated which is necessary to obtain the predetermined speed of the motor. The value i 1  is then registered in the REGISTER-1 via the bus 13, and then converted into an analog value by the digital/analog converter 6. The analog value representing the required motor current is amplified by the power amplifier 6 and then supplied to the direct current motor 7 so that the speed of the motor 7 for transporting the magnetic tape is adjusted to the predetermined value. 
     After the finish of the speed controlling program SCP, the address counter 202 effects a new address designation so that the other program OP is started again. 
     As the motor continues to rotate, a falling point FP and a rising point RP alternately appear in the wave-form of the motor speed detecting signal S. At every rising point, the interrupting circuits 203 effect the interrupting operation as explained hereinbefore. 
     Since the counting of the TIMER-1 starts at a rising point of the wave-form of the motor speed detecting signal and finishes at the next rising point of the wave-form, the counted value of the TIMER-1 corresponds to the period of the wave-form and is thus the index of the motor speed. 
     Another example of the motor speed detector is illustrated in FIG. 4(a). A disc 91 having transparent zones 92 and light interrupting zones 93 is the same as the disc 91 in FIG. 2(a). The light beam emitted from a light source 94 is projected through the points in the circumferential portion of the disc 91, where the transparent zones and the light interrupting zones are formed, to both of the light sensors 951 and 952. Since these two light sensors are separated by a short distance from each other, the speed detecting signals S 1  and S 2  having a phase difference are produced at the outputs of the wave-form shaping circuits 961 and 962 as illustrated in FIG. 4(b). The motor speed detecting signals S 1  and S 2  produced by the speed detector 9 are supplied to the discriminator through the input line indicated by the broken line in FIG. 1. 
     An example of the time charts of the operations of the system of FIG. 1 using the speed detector of FIG. 4(a) is illustrated in FIG. 5. The other job program OP stops at a falling point FP of the wave-form S 2 , due to the discriminating function of the discriminator 201 having the input signal from the speed detector 9. The waiting period W lasts from the above-mentioned stopping of the other job program OP to the starting of the speed controlling program SCP at the rising point RP of the wave form S 1 . When the next rising point RP of the wave-form S 1  appears, the waiting period W is terminated while the speed control program SCP is started. In this example, the speed control program is started by operating only the address selecting circuit 2 in accordance with the rising point RP of the wave-form S 1 . In this example, the interrupting circuit used in the example which utilizes the speed detector of FIG. 2(a) is not necessary because the other last job program OP was terminated at the last falling point FP of the wave-form S.sub. 2. 
     The details of the operation of the speed control program SCP in FIG. 3 or FIG. 5 are explained in connection with FIG. 1 as follows. As is well known, a motor cannot be supplied with a current exceeding the permissible value of the current. As explained hereinbefore, the counted value of the TIMER-1 is transferred to the REGISTER-2 and then the TIMER-1 starts counting again at the rising point RP of the speed detecting signal S. The contents of the REGISTER-2 are transferred to the arithmetic logic unit 14, where the speed deviation ΔS is obtained as a result of subtraction of the reference value from the counted speed value. The speed deviation ΔS is then transferred to the REGISTER-2. Then the arithmetic logic unit 14 compares the speed deviation ΔS transferred from the REGISTER-2 with the maximum permissible speed deviation K 1 . If the speed deviation ΔS is greater than K 1 , a predetermined value K 2  is entered into the REGISTER-1 so that the speed control of the motor 7 by the value K 2  is effected. If the speed deviation ΔS is smaller than K 1 , the current determining value εK which is proportional to the speed deviation ΔS registered in the REGISTER-2 is entered into the REGISTER-1 so that the speed control of the motor 7 by the value εK is effected.