Controlling system and method for audio or video units

Abstract: A computer (1) is connected to VTR units (2, 3) and a CRT monitor (4) through lines (5-7). Each of the computer (1) and the units (2, 3) to be controlled thereby is provided with a clock means (10) for sharing the same time. The computer sends to the VTR unit (2, 3) a command for releasing record pause state and starting the record operation at time T1. After the VTR unit (2, 3) started the record operation, when the counter value became x, the VTR unit (2, 3) sends time Tx to the computer (1). The computer (1) computes formula D = Tx - T1 -x so as to obtain delay time D.

Description: The present invention relates to a controlling system and method for controlling an audio or video unit by using a computer. Description of the Prior Art When an audio or video unit for example a VTR unit was controlled by using a computer, it was difficult to electrically connect the control terminals of the VTR unit and those of the computer. As an intrinsic matter of VTR units, when two or more VTR units were used for editing a program, timings of these VTR units should be precisely matched. Thus, in this situation, a dedicated controller was sometimes used. As an example, in an editing system including a reproducing VTR unit and a recording VTR unit, a magnetic tape recorded both video information and a time code for representing the position thereof. The editing controller received a time code reproduced from each VTR unit and generated a control signal for controlling an operation mode of each VTR unit. In this situation, the editing controller controlled each VTR unit so that a particular operation mode was executed at a particular timing. As a result, after both the VTR units were in a synchronous operation state, the recording VTR unit recorded a reproduced output of the reproducing VTR unit. The applicant of the present invention has proposed a system having a clocking means for sharing the same time among a controller and an audio or video units controlled thereby so that VTR units can be controlled by a personal computer. In this system, a communication protocol referred to as VISCA protocol was used among the controller (specifically, the personal computer) and the audio or video units. An outline of this communication protocol was in that a command associated with a time of the common clock was sent through two-way communication lines. A receiving unit stored the received command and executed the command at the time specified by the command. As described above, although the system had a reference time, it was impossible to solve an intrinsic delay of a VTR unit which took place when the unit executed a command. In other words, even if a recording VTR unit released the record pause state at a designated time and started a record operation, this VTR unit had a slight delay in the record operation. As a result, the beginning of the image to be recorded was lost. The conventional editing controller was provided with a timing adjusting means for solving an intrinsic delay of the unit. In other words, the editing controller sent to the recording VTR unit the record pause releasing command at an earlier time by the measured delay time. As a method for measuring this delay time, a tape which displays a second hand of a clock on a screen was provided. Thereafter, the tape was reproduced and edited so that the position of 0 second was referred to as a cut-in point. Next, the edited tape was reproduced and a deviation of the cut-in point was determined on the screen. This delay time was set as a timing adjustment time of the edit controller. Thereafter, the same edit operation was repeated and the timing adjustment time was set so that no deviation took place. As described above, when a delay time was measured, a tape which displays a time on the screen was required. Thus, this system required the user to perform a complicated edit operation. In addition, when the timing was finely adjusted, the adjustment became troublesome. Thus, only coarse adjustment such as intervals of 2 sec was available. In the above description, only an intrinsic delay of the VTR unit was described. However, there is another delay which takes place over a communication line and a VTR unit after the controller sends a command to the VTR unit until the controller receives the reply such as the position of a recording medium (a tape or the like). Thus, this delay results in deteriorating the editing accuracy. GB-A-2 187 324 discloses an editing system with a video or audio tape recorder and a synchroniser/controller. There exists a number of characteristics such as the delay between receipt of a command and the actual start of the action, which characteristics are called the ballistics of the machine. The synchroniser takes account of these ballistics. These ballistics, among which the said delays are stored in a ROM. A method of obtaining the values stored in the ROM is a test method in which a test command is issued and the resulting timecodes and status signals received from the VTR are analysed in order to determine the delay. OBJECTS AND SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a controlling system and method for audio or video units for solving an intrinsic delay time of the unit and a delay time which takes place over a transmission line between the controller and the units. According to an aspect of the present invention, there is provided a controlling system, comprising a controller, at least one audio or video unit, a clocking device, the clocking device being provided in the controller and the audio or video unit and being arranged to share the same time among the controller and the audio or video unit, and a sending device for sending position information of a recording medium to record and reproduce audio or video information and time information of the clocking device with respect to the position information from the audio or video unit to the controller, wherein the controller being arranged to compute the position information and the time information and generate control signals for the audio or video unit. The above, and other, objects, features and advantage of the present invention will become readily apparent from the following detailed description thereof which is to be read in connection with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a construction of an example of a control system in accordance with the present invention. Fig. 2A is a block diagram showing a construction of an example of a unit being controlled or a controlling box. Fig. 2B is a block diagram showing a construction of another example of a unit being controlled or a controlling box. Fig. 3 is a block diagram showing a construction of another example of a control system in accordance with the present invention. Fig. 4 is a chart describing a delay time of a recording VTR unit which starts record operation. Fig. 5 is a flow chart describing an embodiment of the present invention. Fig. 6 is a chart describing a delay time measurement process of an embodiment in accordance with the present invention. Fig. 7 is a schematic diagram describing another embodiment in accordance with the present invention. Fig. 8 is a schematic diagram describing further another embodiment in accordance with the present invention. Fig. 9 is a flow chart in accordance with another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Now, embodiments of the present invention will be described. First, an example of a VTR editing system in accordance with the present invention will be described with reference to Fig. 1. In the figure, reference numeral 1 is a controller, practically a personal computer. Reference numerals 2 and 3 are VTR units. Reference numeral 4 is a CRT monitor. In this embodiment, the VTR unit 2 is a reproducing unit, whereas the VTR unit 3 is a recording unit. A communication line 5 connects the computer 1 and the VTR unit 2. The VTR unit 3 and VTR unit 2 are connected with a communication line 6. The VTR unit 3 and the CRT monitor 4 are connected with a communication line 7. Each of these communication lines 5, 6, and 7 is of two way type and is composed of a plurality of signal lines. Commands, acknowledge, and reply data are transmitted through the communication lines 5, 6, and 7 in accordance with a communication protocol referred to as VISCA. With the connections as shown in Fig. 1, a plurality of units can be connected to one port of the computer 1. The VTR units 2 and 3 and the monitor 4 are controlled in accordance with the VISCA. For example, as shown in Fig. 2A, the VTR unit 2 is provided with a clock unit 10 and a communication interface unit 11 along with a system controller 8 for controlling a tape traveling system 9, and so forth. The communication interface unit 11 is connected to the communication lines 5 and 6. The clock unit 10 generate time information consisting of digits of hours (= H), minutes (= M), seconds (= S), and 1/300 seconds (= T). The clock unit 10 can be accomplished by either hardware comprising a crystal oscillator and a counter for dividing the output thereof or by software. The VTR unit 3 and the monitor 4 have the same control construction as the VTR unit 2 shown in Fig. 2A. Each digit of the clock unit provided in each unit is reset by a reset signal received from the computer 1. Thus, the computer 1 and each unit shares the same time. The reset signal from the computer 1 is sent to all the units simultaneously. A command which designates an operation mode of each unit is transmitted from the computer 1 to each unit through the communication interface unit 11 of the VTR unit 2, a communication interface unit of the VTR unit 3, and a communication interface unit of the monitor 4. When each unit receives a command from the computer 1, the unit sends the acknowledge and reply data with respect to position information of a magnetic tape, time information, and so forth back to the computer 1 in response to ask from computer 1. In accordance with VISCA, each command is associated with time information given by the common clock. In other words, each command is associated with time information with respect to the execution thereof. Each message is associated with information of the status detection time. In Fig. 1, each of the VTR units 2 and 3 to be controlled and the monitor 4 has a control construction in accordance with VISCA as shown in Fig. 2A. However, there is a possibility that conventional audio or video units do not have such a control construction. When such a conventional unit is controlled in accordance with VISCA, a system construction as shown in fig. 3 is used. In Fig. 3, the computer 1 is connected to a control box 20 through the communication line 5. The control box 20 is connected to a control box 21 through the communication line 6. The control box 20 is connected to a VTR 22 for example a VTR associated with a video camera through a communication line for transmitting conventional control signals. The control box 21 is connected to a fixed type VTR unit 23 and a CRT monitor 24 through respective communication lines. Each of the control boxes 20 and 21 is provided with two types of control signal output terminals. For example, a terminal LANC of the control box 21 is connected to the VTR unit 23. A control terminal S is connected to the monitor 24. In Fig. 3, a reproduced output of the VTR unit 22 is recorded by the VTR unit 23. Fig. 2B is a block diagram showing an example of a control construction of the control box 20 and the video camera 22. The control box 20 is provided with the clock unit 10 for giving a common time to the system, the communication interface unit 11, and a microcomputer 13. The communication interface 11 connects the control box 20 to the computer 1 and the other control box 21 through the communication lines 5 and 6. The microcomputer 13 communicates with the communication interface unit 12 of the video camera 22. The video camera 22 is provided with the system controller 8 for controlling the tape traveling system 9. The communication interface unit 12 operates in accordance with a protocol for example LANC for communication with conventional control signals. The communication line between the microcomputer 13 and the communication interface unit 12 is of bi-directional type. The microcomputer 13 converts signals communicated between the computer 1 and the control box in accordance with VISCA into signals in accordance with LANC. Figs. 1, 2, and 3 only showed the control constructions. Between the VTR unit 2 and the VTR unit 3 and between the VTR unit 3 and the monitor 4, signal lines for transmitting video signals and audio signals are provided. In the controlling system shown in Fig. 1, when the edit process is performed, the computer 1 controls the reproducing VTR unit 2. At that time, an edit point (cut-in point) is designated in the reproducing VTR unit 2. The recording VTR unit 3 is set to a record pause mode. The tape of the VTR unit 2 is rewound to a position several seconds earlier than the edit point and the reproduce operation is started. When the tape of the VTR unit 2 comes to the designated edit point, the record pause state of the VTR unit 3 is released. The reproduced signal of the VTR unit 2 is recorded by the VTR unit 3. As shown in Fig. 4, at time T0, the computer 1 sends command "start record operation at time T1" to the VTR unit 3. Fig. 4 is a chart showing the relation between system reference time (X axis) and tape position P (Y axis), which is tape counter value P, of the reproducing VTR unit 2. The counter value P normally represents a counting value with digits of hours, minutes, and seconds. In Fig. 4, line 25 represents a variation of the tape position of the VTR unit 2 and line 26 represents a variation of the tape position of the VTR unit 3. At time T1, tape position E of the VTR unit 2 is the edit point. At the edit point, the record pause state of the VTR unit 3 is released. However, the VTR unit 3 actually starts the record operation at time T2 which is later than time T1 by delay time D. As a result, an image just after the edit point E is not recorded. This situation remains the same for the systems which use the control box 20 or 21. Rather, due to presence of the control box 20 or 21, delay time D becomes larger than the delay in the system shown in Fig. 1. Thus, it is necessary to measure this delay time D in advance and shorten time T1 at which the record pause is released. In other words, the computer 1 sends command "start record operation at time (T1 - D)" to the VTR unit 3. Then, with reference to a flow chart shown in Fig. 5, the measurement process performed by the computer 1 for delay time D of the VTR unit 3 will be described. First, the computer 1 sends command "record pause operation" to the VTR unit 3 (in step 31). The VTR unit 3 sends an acknowledge which represents that the VTR unit 3 has entered the record pause state to the computer 1 (in step 32). In this way, when the computer 1 sends a command which designates an operation mode to a remote unit, the remote unit sends an acknowledge which represents that the unit has entered the designated operation mode. Thereafter, the computer 1 sends a subsequent command to the remote unit. Alternatively, in step 32, the computer 1 can ask the VTR unit about its mode. Thereafter, the computer 1 resets the tape counter (in step 33) and then receives from the VTR unit 3 an acknowledge which represents that the tape counter has been reset. In step 35, the computer 1 sends command "start record operation at time T1" at a time earlier than time T1. Thereafter, the computer 1 asks the VTR unit 3 about its operation mode (in step 36). The VTR unit 3 sends a reply which represents the mode at that time to the computer 1. The computer 1 receives this reply (in step 37). The computer 1 determines whether the VTR unit 3 has entered the record mode by using this reply (in step 38). When the computer has determined that the VTR unit 3 has entered the record mode, the flow advances to step 39 that follows. In steps 36, 37, and 38, the computer 1 determines whether the VTR unit 3 has entered the record mode. Instead of these steps, the computer 1 can wait for a particular time period until the VTR unit 3 enters the record mode. After the computer 1 has determined that the VTR unit 3 has entered the record mode, the computer 1 sends a command for asking about the tape position (counter value) to the VTR unit 3. The VTR unit 3 sends counter value x and system time Tx at that time to the computer 1. The computer 1 receives these data (in step 40). The computer 1 determines whether or not the received counter value x is 0 in step 41. The computer 1 computes delay time D by using counter value x and time Tx (in step 42). In other words, by the computation of D = Tx - T1 - x, delay time D is obtained. This computation is executed by software of the computer 1. As a result, . delay time D is stored in memory of the computer 1. Delay time D can be replaced with the old data which has been stored in the memory or each of the delay time for a plurality of VTR units can be stored. Delay time D stored in the memory is used in the edit process that follows the measurement process. As described above, the designated execution time associated with the record pause release command which is sent from the computer 1 to the VTR unit 3 becomes T1 - D. Fig. 6 is a chart practically describing the measurement process of the above mentioned delay time D. When the VTR unit 3 starts the record operation at time T1 in accordance with the record start command received in the step 35 of Fig. 5, the counter value varies from time T2 later than time T1 by delay time D. The computer 1 asks about the counter value at time T4 which is later than time T3 (in step 39). The VTR unit 3 detects time T3 at which the counter value becomes for example 2 seconds. The VTR unit 3 sends the counter value (2 seconds) and time T3 back to the computer 1 (in step 40). Fig. 6 represents that the amount of tape which traveled from time T1 to time T3 is 2 seconds. Since (T3 - T2) becomes 2 seconds in the case where the tape speed is a normal speed (xl), the delay time can be determined by using formula [(D = T3 - T1 - 2) (seconds)]. Before starting the edit operation, the intrinsic delay time of the VTR unit can be easily measured by software so that the computer automatically controls the above mentioned measurement. Thus, the delay time which will take place in the later edit operation can be compensated. In addition, according to this embodiment, since the minimum unit of the system time is 1/300 seconds, the delay time can be precisely measured. In the above measurement process of delay time, the delay time from the record pause state to the record start state was mentioned. However, the present invention can be also applied to a startup time from the reproduce pause state to the reproduce start state. In the above mentioned embodiment, the computer 1 sends the tape position asking command to the VTR unit 3. The VTR unit 3 sends counter value x, which is the tape position, and time Tx, at which the VTR unit 3 has detected counter value x, to the computer 1. This time Tx represents the time at which counter value P was changed to counter value x. Conventionally, when the tape position was asked, only the counter value was replied. However, in this manner, as shown in Fig. 7, when the counter value P changes for example from 1 H, 23 M, 45 S to 1 H, 23 M, 46 S, just before the counter value is changed, the computer as the controller sends the tape position asking command to the VTR. The computer sends the tape position asking command to the VTR at time Ta. Thereafter, the VTR sends the counter value to the computer. However, due to a delay caused by the communication lines and units, the computer receives the counter value from the VTR at time Tb. Thus, the computer cannot determine what time it received the counter value. In the example shown in Fig. 7, at time Tb at which the computer received the counter value from the VTR, the counter value has been advanced to next value. Thus, when the computer controls the VTR in accordance with the tape position, the control accuracy is deteriorated. In the control systems shown in Figs. 1 and 2, there is provided a common system clock. Next, another embodiment for accurately detecting the tape position by using a time given by the clock will be described. As shown in Fig. 8, in the another embodiment, the computer sends the tape position asking command to the VTR at time Ta. The data sent from the VTR to the computer at time Tb is a counter value (1 H, 23 M, 45 S) and a time (0 H, 03 M, 10 S, 045 T (where T = 1/300 seconds)) at which the counter counted this counter value. In other words, the time of the data sent to the computer is not the time at which the VTR received or sent the command. The computer computes the present tape position by using the reply data in the following manner. Assume that the computer received the replay data at 0 H, 03 M, 11 S, 057 T. Thus, there is the following time delay after the counter value of 1 H, 23 M, 45 S until the computer received the data. 0 H, 03 M, 11 S, 57 T - 0 H, 03 M, 10 S, 45 T = 0 H, 0 M, 01 S, 12 T When the VTR is in the reproduction (record) mode, this elapsed time (0.1 S, 012 T) causes the VTR tape to travel the length equivalent to 1 and 12/300 seconds. In the NTSC system, since one second is equal to 30 frames, 12/300 seconds are equal to approximately 1 F (where F is frame). Thus, the tape position at time 0 H, 03 M, 11 S, 057 T is 1 H, 23 M, 46 S, 01 F. Next, with reference to Fig. 9, the flow of control of the control system in accordance with another embodiment of the present invention will be described. By the reset signal received from the computer, the unit connected thereto or the clock device of the control box is reset. Thus, the reference time of the control system is established (in step 51). Then, the computer asks the VTR about its mode (in step 52). The computer receives the replay data from the VTR and knows that the VTR has entered the reproduction mode (in step 53). The computer sends the tape position asking command to the VTR (in step 54). The VTR generates reply data of counter value Pc and time Tc at which the counter just counted counter value Pc and sends these data to the computer (in step 55). The computer obtains the present time Tn (in step 56). In the above mentioned practical example, Pc = 1 H, 23 M, 45 S; Tc = 0 H, 03 M, 10 S, 045 T; and Tn = 0 H, 03 M, 11 S, 057 T. The computer computes the present tape position (counter value) Pn of the VTR. In other words, the computer computes the formula Pn = Pc + (Tn - Tc). In the NTSC system, the digit of T is multiplied by 1/10 and converted into frames. On the other hand, in the CCIR system, the digit of T is multiplied by 1/12. As described above, in this embodiment, the present tape position can be accurately obtained. In addition, the tape position at any time can be obtained. Moreover, although the VTR is provided with only the tape counter in the unit of seconds, the information of the tape position in the unit of frames can be obtained. Thus, according to this embodiment, the edit accuracy can be improved. It should be appreciated that the present invention can be applied to control systems for video disk reproducing units, disk recording units, disk reproducing units, digital audio tape recorders and so forth as well as VTR units. According to the present invention, in a controlling system having a computer and audio or video units to be controlled thereby, a delay time which takes place in the units and over the communication lines can be solved. Thus, the unit can be precisely controlled.

Claims: A controlling system, comprising: a controller (1); at least one audio or video unit (2, 3); characterized by clocking means (10) provided in said controller (1) and said audio or video unit (2, 3), for sharing the same time among said controller (1) and said audio or video unit (2, 3); means issuing commands from said controller to said audio or video unit; and sending means (11) for sending in response to commands from the controller position information of a recording medium to record and reproduce audio or video information and time information of said clocking means (10) with respect to said position information from said audio or video unit (2, 3) to said controller (1); and in that said controller (1) being arranged to compute said position information and said time information for calculating time delays in responding to commands of the controller and generate control signals for said audio or video unit (2, 3). A controlling method for a controlling system according to claim 1, said method comprising the steps of: asking said audio or video unit (2, 3) about a mode thereof; receiving position information of a recording medium to record and reproduce audio or video information and time information of said clocking means (10) with respect to said position information to said controller (1); and computing said position information and said time information so as to generate a control signal for said audio or video unit (2, 3). A controlling method according to claim 2 characterized by the steps sending a pause command to one of said audio or video units (2, 3); resetting position indicating means provided in one of said audio or video units; sending a pause releasing command for releasing pause operation by said pause command to one of said audio or video units (2, 3) at time T1 of said clocking means (10); receiving value x of said position indicating means and time Tx corresponding to said value x from one of said audio or video units (2, 3); and computing delay time D after said time T1 until said pause operation releases by using formular (Tx - T1 - x). A controlling method according to claim 2 characterized by the steps : sending a command for asking about the position of a recording medium to one of said audio or video units (2, 3); receiving value Pc of said position indicating means of said recording medium and time Tc of said clocking means (10) corresponding to said value Pc from one of said audio or video units; and computing present tape position Pn by using formula (Pc + (Tn - Tc)) where Tn is present time. A controlling system according to claim 1, wherein said controller (1) is a computer and said audio or video units (2, 3) are video tape recorders. A controlling method according to anyone of claims 2 to 4, wherein said controller (1) is a computer and said audio or video units (2, 3) are video tape recorders. A controlling method according to anyone of claims 2 to 4, wherein one of said audio or video units (2, 3) are video tape recorders in a recording mode.

Inventors: KAWAMURA HARUMI, NAGANO NAOKI, SHIMA HISATO, KAWAMURA, HARUMI, NAGANO, NAOKI, SHIMA, HISATO
Applicants: SONY CORP, SONY CORPORATION
Application year: 1992
Main classification: G11B15
IPC codes: H04Q9, G11B31, G11B15, G11B27