Image transmission apparatus

Abstract: The present invention is intended to an image transmission apparatus to be used for TV conference system and TV telephone system and it is an object of the present invention to provide an image transmission apparatus which realizes self-diagnosis automatically or remote operation and also attains automatic system recovery. The reference video signal generated by a pattern generator (25) is supplied to each return loop (101, 102, 103, 104, 105). The return data and original reference video signal (107) are compared with each other in a pattern diagnostic circuit (26). Result of diagnosis is displayed on a diagnosis result display panel (27). Moreover, the self-diagnosis start instruction is given from an external circuit and diagnosis result is transmitted over the line.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image transmission apparatus used for television conference systems, television telephone systems, and the like. Description of the Prior Art Fig. 1 shows in block diagram the image transmission apparatus based on the DCT scheme which is derived from the block diagram of the image processing apparatus based on the VQ scheme disclosed in publication "Mitsubishi Electric Corp. Technical Bulletin", Vol. 60, No. 10, p. 40, published in 1986. In the figure, indicated by 1 is an image pickup camera, 2 is an A/D converter which converts the analog video signal in NTSC format produced by the camera 1 into a digital video signal, 3 is a CIF converter which converts the digital video signal from the A/D converter 2 into a signal of CIF format, 4 is a sending frame memory which stores the CIF-formated video signal provided by the CIF converter 3, 5a is a subtracter which evaluates the difference between the video signal read out of the sending frame memory 4 and the decoded video signal of the previous frame (a video signal from a movement compensating filter 12 which will be explained shortly), 5 is a DCT encoder which implements DCT-encoding for the differential signal from the subtracter 5a, 6 is a variable-length encoder which encodes the video signal from the DCT encoder 5, 7 is a sending buffer which temporarily holds the video signal from the variable-length encoder 6, 8 is a multiplexer which multiplexes the video signal from the sending buffer 7 with other data, and 9 is a line interface which transmits the multiplexed data from the multiplexer 8 over a line. Indicated by 10 is a local decoder which decodes the video signal that has been DCT-encoded by the DCT encoder 5, 11a is an adder which merges the video signal from the local decoder 10 with the decoded video signal of the previous frame (a video signal from the movement compensating filter 12), 11 is an intra-loop frame memory which temporarily stores the merged video signal, and 12 is a movement compensating filter which implements compensating the movement and filtering for picture quality improvement based on the video signal from the intra-loop frame memory 11 and the video signal from the sending frame memory 4. Indicated by 13 is a line interface for receiving data over the line, 14 is a separator which separates multiplexed data provided by the line interface 13, 15 is a variable-length decoder which decodes the video signal from the separator 14, 16 is a receiving buffer which temporarily holds the video signal from the variable-length decoder 15, 17 is a DCT decoder which decodes the video signal from the receiving buffer 16, 18 is a movement decoder which decodes the movement, 19a is an adder which the merges video signal from the DCT decoder 17 with the video signal from the movement decoder 18, and 19 is an intra-loop frame memory which temporarily stores the result of summation for the implementation of movement decoding. Indicated by 20 is a receiving frame memory which temporarily stores the same contents as of the intra-loop frame memory 19 for the implementation of CIF inverse conversion, 21 is a CIF inverse converter which inverts the video signal from the receiving frame memory 20, 22 is a D/A converter which converts the digital video signal from the CIF inverse converter 21 into an analog video signal, 23 is a monitor panel for displaying the video signal provided by the D/A converter 22, and 24 is a system controller which controls the overall apparatus. Indicated by 112 is an A/D turn loop which is selected manually through the command of the system controller 24, 102 is a FIL turn loop which is selected manually through the command of the system controller 24, 103 is a LDC turn loop which is selected manually through the command of the system controller 24, 104 is a BM turn loop which is selected manually through the command of the system controller 24, and 105 is a OA turn loop path which is selected manually through the command of the system controller 24. Next, the operation of the foregoing image transmission apparatus will be explained, first for the signal path in the normal operation and next for the loop paths. During the normal operation, the video signal produced by the camera 1 is fed to the A/D converter 2, by which the analog video signal is converted into the digital video signal. The digital video signal of NTSC format is converted into the signal of CIF format, which is the world standard video format, by the CIF converter 3 and then the resulting data is stored temporarily in the sending frame memory 4. The subtracter 5a evaluates the difference between the video signal read out of the sending frame memory 4 and the video signal of the previous frame which has been rendered by coding and decoding, and the differential signal is DCT-coded by the DCT encoder 5. The DCT-coded video signal is coded by the variable-length encoder 6, and at the same time it is sent to the local decoder 10 for DCT decoding. The DCT-decoded video signal is merged by the adder 11a with the coded-and-decoded video signal of the previous frame which is provided by the movement compensating filter 12, and the resulting data is stored temporarily in the intra-loop frame memory 11. The video signal stored in the intra-loop frame memory 11 is compared with the video signal stored in the sending frame memory 4 by the movement compensating filter 12, by which the signal is rendered the movement compensation and then filtering for the enhancement of picture quality, and the video signal derived from that of the previous frame, with coding and decoding being done, is produced. The video signal coded by the variable-length encoder 6 is fed through the sending buffer 7 and multiplexed with other data (not shown in Fig. 1) by the multiplexer 8. The multiplexed data is transmitted over the line through the line interface 9. Multiplexed data coming over the line is received by the line interface 13, and separated into a video signal and other data by the separator 14. The separated video signal is decoded by the variable-length decoder 15, fed through the receiving buffer 16, and decoded by the DCT decoder 17. The DCT-decoded video signal is merged with the video signal of the previous frame by the adder 19a, and it is stored temporarily in the receiving frame memory 20 and also stored temporarily in the intra-loop frame memory 19. The video signal read out of the intra-loop frame memory 19 is rendered the movement decoding (compensation) by the movement decoder 18, and a video signal of the previous frame is produced. The video signal held in the receiving frame memory 20 has its CIF format converted into NTSC format by the CIF inverse converter 21, and it is further converted into an analog video signal by the D/A converter 22 and delivered to the monitor panel 23. These operations are controlled by the system controller 24. The loop paths are used to test the operations of the sections of the image transmission apparatus. The loop pathes include the A/D turn loop 112, FIL turn loop 102, LDC turn loop 103, BM turn loop 104 and OA turn loop 105, and any of the loop paths is activated manually through the system controller 24. With the A/D turn loop 112 being active, the analog video signal provided by the camera 1 is once converted into a digital video signal by the A/D converter 2, and then immediately converted back to a digital video signal by the D/A converter 22 and delivered to the monitor panel 23. With the FIL turn loop 102 being active, the video signal at the output of the sending frame memory 4 is shunted to the receiving frame memory 20. With the LDC turn loop 103 being active, the video signal at the output of the DCT encoder 5 is fed through the local encoder 10, intra-loop frame memory 11 and movement compensating filter 12, and shunted to the receiving frame memory 20. With the BM turn loop 104 being active, the video signal at the output of the sending buffer memory 7 is shunted to the variable-length decoder 15. With the OA turn loop 105 being active, the video signal at the output of the line interface 9 is shunted to the line interface 13. These five test loops are used in the event of failure of the image transmission apparatus for finding a possible faulty section based on the judgement procedure shown in Fig. 2. Referring to Fig. 2, if the A/D turn loop test through the OA turn loop test have all terminated normally, then the image transmission apparatus under test is normal. If the A/D turn loop test through the LDC turn loop test have terminated normally and the remaining loop tests have revealed abnormalities, then a section after the variable-length encoder 16 will be defective. If the A/D turn loop test and FIL turn loop test have terminated normally and the remaining turn loop tests have revealed abnormalities, then a section after the DCT encoder 10 will be defective. If only the A/D turn loop test has terminated normally and the remaining turn loop tests have revealed abnormalities, then a section after the CIF converter 3 will be defective. If all loop tests have revealed abnormalities, then a section after the A/D converter 2 will be defective. These loop tests are conducted by activating the test loops sequentially from the A/D turn loop 112 up to the OA turn loop 105, while the staff of test watches the monitor panel 23 for the judgement of each test. The conventional image transmission apparatus is arranged as described above, and it necessitates a staff of test for the diagnostic operation of the apparatus. The diagnostic scheme is limited in that the test staff selects each turn loop manually and observes the response on the monitor panel 23, and the apparatus lacks in the ability of automatic self-diagnosis. SUMMARY OF THE INVENTION A prime object of the present invention is to provide an image transmission apparatus capable of implementing various kinds of self-diagnosis automatically and successively. Another object of the present invention is to provide an image transmission apparatus which is relatively inexpensive, relatively simple in structure, more superior in accuracy and performance than conventional counterparts, and capable of accomplishing the reliable diagnosis. A further object of the present invention is toe provide an image transmission apparatus capable of diagnosing the transmission of moving images. A still further object of the present invention is to provide an image transmission apparatus which realizes automatic recovery for a detected flat if it occurs. A still further object of the present invention is to provide an image transmission apparatus which immediately notifies a test result to a remote station. A still further object of the present invention is to provide an image transmission apparatus which executes the test conforming to an external instruction issued through the transmission line. These objects are achieved by an apparatus as set out in the claims. These and other objects and nobel features of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings. The drawings are solely intended for the illustrative purpose, and the scope of the present invention is not confined by the drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of the conventional image transmission apparatus; Fig. 2 is a diagram used to explain the judgement procedure of the cutoff loop tests; Fig. 3 is a block diagram of the image transmission apparatus according to the first embodiment of the present invention; Fig. 4 is a block diagram of a pattern generator in the apparatus of Fig. 3; Fig. 5 is a block diagram of a pattern diagnostic processor and a diagnosis result monitor panel of the apparatus of Fig. 3; Fig. 6 is a block diagram of another pattern generator; Fig. 7 is a block diagram of an image transmission apparatus according to the second embodiment of the present invention; Fig. 8 is a block diagram of a pattern diagnostic processor and a diagnosis result monitor panel of the image transmission apparatus according to the third embodiment of the present invention; Fig. 9 is a block diagram of the image transmission apparatus according to the fourth embodiment of the present invention; and Fig. 10 is a block diagram of the image transmission apparatus according to the fifth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail with reference to the drawings. Fig. 3 shows the first embodiment of the present invention. In Fig. 3, functional blocks 1 through 24 are identical to those of the conventional apparatus, and explanation thereof will not be repeated. Indicated by 25 is a pattern generator which generates a reference video signal 107, 26 is a diagnostic processor which judges the normality of each loop based on the comparison of the reference video signal which has been generated by the pattern generator 25 and fed through the loop path with the original reference video signal, and 27 is a monitor panel which displays the result of diagnosis provided by the diagnostic processor 26. Indicated by A is a transmission circuit system including the functional blocks 1 through 12, and B is a reception circuit system including the functional blocks 13 through 23. Fig. 4 is a block diagram showing the internal arrangement of the pattern generator 25. In the figure, indicated by 28 a vertical address counter which generates vertical addresses for a data ROM 30, 29 is a horizontal address counter which generates horizontal addresses for the data ROM 30. The data ROM 30 delivers a variety of reference video signals as pattern signals by being addressed by the vertical address counter 28 and horizontal address counter 29. Indicated by 107 is a reference video signal read out of the data ROM 30 to be supplied to the CIF converter 3, D/A converter 22 and diagnostic processor 26. Fig. 5 is a block diagram showing the internal arrangement of the diagnostic processor 26 and the monitor panel 27. In the figure, indicated by 32 is a vertical address counter which generates vertical addresses for a data RAM 35 and correction ROM 34, 33 is a horizontal address counter which generates horizontal addresses for the data RAM 35 and correction ROM 34. The correction ROM 34 serves as an allowable error generation means which stores values of error signal that would emerge when the reference video signal has been coded and decoded normally, and the data RAM 35 temporarily holds the reference video signal which has been fed through a loop path. Indicated by 36 is an adder which merges the contents of the correction ROM 34 and data RAM 35, 37 is a comparator which compares the video signal from the adder 36 with the reference video signal 107 provided by the pattern generator 25 in Fig. 3 and outputs diagnostic result data 110, 38 is a 3-state buffer which controls the passage of the loop data 109 from the A/D converter 2 or CIF inverse converter 21 in Fig. 3, 39-43 are latches which hold the diagnostic result data 110 from the comparator 37, and 44-48 are light-emitting diodes (LEDs) which indicate values of data held in the latches 39-43. Next, the operations of the loop paths will be explained. The operation through the usual signal path in the normal state of the apparatus is identical to the conventional-apparatus shown in Fig. 1, and explanation thereof will not be repeated. The loop paths are used to test the operations of the sections of the image transmission apparatus. The loop pathes include an A/D turn loop 101, FIL turn loop 102, LDC turn loop 103, BM turn loop 104, and OA turn loop 105, as shown in Fig. 3. When the system controller 24 commences the automatic self-diagnosis, the pattern generator 25 produces the reference video signal 107 for one frame. The reference video signal 107 is fed through the A/D turn loop 101 and shunted to the diagnostic processor 26, which compares the signal with the original reference video signal 107 thereby to judge whether the correct reference video signal 109 has returned, and the test result is displayed at the LEDs 44-48 on the monitor panel 27. Subsequently, the diagnostic processor 26 tests the FIL turn loop 102, LDC turn loop 103, BM turn loop 104 and OA turn loop 105 sequentially in the same manner as the A/D turn loop 101, and the results are displayed on the monitor panel 27. The A/D turn loop 101 of this embodiment has a path directivity opposite to the A/D turn loop 112 of the conventional apparatus shown in Fig. 1, in that the reference video signal 107 produced by the pattern generator 25 is a digital signal, and it is converted into an analog video signal by the D/A converter 22 and then immediately converted back to a digital reference video signal by being fed through the A/D converter 2 and finally it is shunted to the diagnostic processor 26. Next, the pattern generator 25, diagnostic processor 26 and monitor panel 27 will be explained with reference to Figs. 4 and 5. In Fig. 4, the pattern generator 25 delivers the reference video signal 107 in the form of a pattern image for one frame by reading it out of the data ROM 30 which is addressed by the vertical address counter 28 and horizontal address counter 29. The diagnostic processor 26 and monitor panel 27 are arranged as shown in Fig. 5, for example. In Fig. 5, the return reference video signal (data) 109 is fed through the 3-state buffer 38 and stored temporarily in the data RAM 35 which is addressed by the vertical address counter 32 and horizontal address counter 33. The data is thereafter read out of the RAM 35 by being addressed by the vertical address counter 32 and horizontal address counter 33, and, at the same time, one of correction values, each of the values is corresponding to each loop test and stored in the correction ROM 34, is also read out. The each correction value stored in advance in the correction ROM 34 is an expected value of error of the reference video signal (return data 109) which has normally looped through each loop path with respect to the original reference video signal, according to this embodiment. The data read out of the correction ROM 34 and the data read out of the data RAM 35 are merged by the adder 36, and the result of adding is compared with the reference video signal 107 by the comparator 37, and the result of comparison, that is the diagnostic result data 110, is fed through one of the latches 39-43 and displayed on one of the LEDs 44-48. The comparator 37 compares the data from the adder 36 with the reference video signal (data) 107 on a pixel-by-pixel basis, and if the difference of both data is less than the prescribed error value, the loop path is judged to be normal. The judgement procedure of the loop tests for the image transmission apparatus based on this invention is identical to the conventional apparatus shown in Fig. 2. It is possible to compose the apparatus without the ROM 34. In such case, output signal of the buffer 38 inputs to the comparator 37 directly. Above processings are executed for each loop test. Namely, during execution of the A/D return loop test, the return data 109 having passed the A/D return loop is inputted to the pattern diagnostic processor 26. The return data 109 is compensated by a compensation value corresponding to the A/D return loop test in the adder 36 and is then compared with the video signal, namely reference video signal 107 in the comparator 37. The result of comparison proves normal condition, the comparator 37 does not provide any output to the latches 39-43. If a fault condition is detected, the comparator 37 gives a signal which activate an output of latch 39 thereto. Namely, a diagnosis result data 110 activates an output the latch corresponding to the test executed when the diagnosis result is defective. Thereafter, the FIL return loop test, LDC return loop test, BM return loop test and OA return loop test are sequentially conducted and the pattern diagnostic processor 26 executes the processing which is the same as that conducted for the A/D return loop test. However, a compensated value outputted from the compensation value ROM 34 corresponds to the test being conducted. Moreover, the comparator 37 outputs a signal, as the diagnosis result data 110, which activates an output of latch corresponding to the test being executed if the diagnosis result is not normal. Although in the foregoing embodiment the pattern generator 25 of Fig. 3 employs the data ROM 30 shown in Fig. 4 to deliver the reference video signal 107, it may base the operation on a CPU 31 to produce the reference video signal 107, as shown in Fig. 6. In this case, the CPU 31 may be included in the system controller 24. Here, two kinds of methods are considered as a method of loop test. In the first method, a signal is not applied to the subtractor 5a in the transmitting side and a signal is not applied to the adder 19a in the receiving side. In this case, a signal generated as a result of predetermined encoding for the original frame is applied to each loop respectively in the LDC return loop test, BM return loop test and OA return loop test. In the second method, a plurality of the same frame are sequentially transmitted by the pattern generator 25. In this case, the processing which is the same as that by the first method is conducted for the first frame and difference from the preceding frame is generated by the subtractor 5a in the transmitting side for each frame after the second frame (contents are same as that of the first frame). Therefore, the signal obtained by encoding the difference is applied to each loop in the BM return loop test and OA return loop test. However, difference is always nearly equal to zero. In each of the BM return loop test and OA return loop test, an output signal of the DCT decoder 17 is added to output signal of the movement decoder 18, namely to a video signal of preceding frame. The added value is supplied to a receiving frame memory 20. In this case, as explained above, a plurality of the same frame are sequentially transmitted in each test. Accordingly, in each test, the return data 109 corresponding to a plurality of the same frame are inputted sequentially to a 3-state buffer 38 of the pattern diagnostic processor 26. Therefore, the comparator 37 compares each compensated return data with the reference video signal 107. Namely, comparison is executed as many times as the number which is equal to the number of sheets transmitted in each loop test. The comparator 37 outputs a diagnosis result data 110 which activates an output of the corresponding latch among the latches 39-43, when a return data not suitable for the reference video signal 107 is detected. For instance, when the A/D return loop test is executed, if the return data not suitable for the reference video signal 107 is found, a signal which activates the latch 39 is given to the latch 39. As a result, LED 44 lights. Therefore, if the data not applied to the reference video signal is found even once, as a result of the plural times of comparison in each loop test, the LED corresponding to the test being conducted among LEDs 44-48 lights. Fig. 7 is a block diagram indicating the second embodiment of the present invention. In this figure, A 1 is a working circuit system of the transmitting side which is formed by the A/D converter 2 to line I/F 9 like A of Fig. 3, while A 2 is a backup circuit system of the transmitting side formed similar to A 1 . B 1 is a working circuit system in the receiving side which is formed by the line I/F 13toD/A converter 22 just like B of Fig. 3. B 2 is a backup circuit system of the receiving side which is formed similar to B 1 . In this case, the pattern generator 25 and pattern diagnostic processor 26 may be provided in the circuit systems A 1 , A 2 in the transmitting side or in the circuit systems B 1 , B 2 in the receiving side. Illustration of the structure will be omitted here. Denoted by 50 is a change-over means which receives the diagnosis result data 110 from the pattern diagnostic processor 26 and switches, when a fault is detected in the result of return loop test, the working circuit system A 1 in the transmitting side and the working circuit system B 1 in the receiving side to the backup circuit system A 2 in the transmitting side and the backup circuit system B 2 in the receiving side. Operations will then be explained hereunder. When the return loop test conducted in the same manner as that in the embodiment 1 has proved normal operation, the change-over means 50 connects the working circuit system A 1 of the sending side to the camera 1 and line, while the working circuit system B 1 in the receiving side to the line and monitor 23, responsive to the diagnosis result data 110 coming from the pattern diagnostic processor 26 not illustrated. Meanwhile, when a fault is detected by the return loop test, the change-over means 50 switches the connection, namely connects the backup circuit system A 2 in the sending side to the camera 1 and line, while the backup circuit system B 2 in the receiving side to the line and monitor 23, responsive to the diagnosis result data 110 coming from the pattern diagnostic processor 26 in order to recover the system so that the system as a whole can continue the normal operation even if a fault is generated. Moreover, in above embodiment 2, the duplicated circuit systems A 1 , A 2 in the sending side and the circuit systems B 1 , B 2 in the receiving side are switched by the change-over means 50, but it is also allowed that the circuit system A in the sending side and the circuit system B in the receiving side are respectively divided into the circuit groups of desired size and these are then duplicated allowing the selection through switching operation by the change-over means 50. An image transmission apparatus of Fig. 7 has a full duplicated structure comprising the working and backup circuit groups within the same cabinet. Here, it is also possible to introduce the structure that the backup circuit group mounted in the other cabinet supports a plurality of working image transmission apparatus through change-over from the circuit group of the image transmission apparatus which has generated a fault. Although, in each of the foregoing embodiments, the reference video signal provided by the pattern generator 25 is of one frame and the reference data stored in the correction ROM 34 in the diagnostic processor 26 is also of one frame, allowing the loop tests for only quiescent images, the apparatus may be designed to deal with reference video signals of two or more frames and the corresponding number of correction data so that the loop tests can be conducted for moving images. The following describes the third embodiment of this invention which is applicable to the loop tests of moving images. In this case, the pattern generator 25 shown in the block diagram of Fig. 4 has its data ROM 30 designed to store reference video signals (data) of two or more kinds of frames, with one of the frames being read out selectively as a reference video signal 107 by being addressed by the vertical address counter under control of the system controller 24. The system controller 24 issues a frame switching signal to all sections of the image transmission apparatus at the transition of frame. In Fig. 8, indicated by 111 is a ROM area selection signal issued by the system controller 24, and the remaining portions are identical to those of Fig. 5. The signal 111 operates on the correction ROM 34 to read out correction data in correspondence to the reference video signal 107 of each of two or more frames provided by the pattern generator 25. The remaining operations are similar to the previous embodiment. The return loop test for moving image will be explained in more detail. A pattern generator 25 first outputs a first frame. The data of this first frame is set to an intra-loop frame memory 11 through D/A converter 22, A/D converter 2, CIF converter 3, sending frame memory 4, DCT encoder 5 and local decoder 10. Moreover, it is also set to an intra-loop frame memory 19 in the receiving side. Next, a system controller 24 outputs a frame switching signal. The pattern generator 25 outputs a second frame. The A/D return loop test and FIL return loop test are conducted for the second frame. As explained above, the return data 109 and correction value corresponding to test are added in the adder 36 during respective tests. The added value is compared with the reference video signal 107 of the second frame in the comparator 37. Since contents of the second frame are different from that of the first frame, each correction value outputted from the correction ROM 34 is different from each correction value corresponding to the first frame. Each correction value to be outputted is switched depending on instruction from the system controller 24. Thereafter, the LDC return loop test, BM return loop test and OA return loop test are sequentially conducted. In each test, difference generated by the subtractor 5a is processed. Namely, an output signal of the DCT decoder 17 is a difference in the BM return loop test and OA return loop test and it is added to an output signal of the movement decoder 18, namely the video signal of preceding frame in the adder 19a. Here, the difference is a significant (not zero) value, unlike the difference in the return loop test for stationary image. The return data corrected by the LDC return loop test, BM return loop test and OA return loop test is compared with the reference video signal 107 of the second frame in the comparator 37. Here, the pattern generator 25 is capable of sequentially outputting different frames of three or more frames in each test. In this case, the comparator 37 compares each corrected return data corresponding to the two or more frames with the reference video signal of each frame. The corrected value outputted from the correction ROM 34 corresponds to the frame processed in current. In each comparison processing to be conducted sequentially, the comparator 37 outputs the signal which activates the output of the latch corresponding to the test being conducted among the latches 39-43, if the return data not suitable for the reference video signal 107. Therefore, when the return data not suitable for the reference video signal is found even once as a result of comparison operations of plural times in each loop test, the LED corresponding to the test being conducted among LEDs 44-48 lights. In each embodiment explained above, the reference video signal 107 is compared one by one with the correction value of the return data 109 having passed the return loop path. However, it is also possible that the comparison is made using predetermined arithmetic operation of evaluation function such as a means value for each data block or pixel block of predetermined size. Moreover, in the embodiments explained above, the diagnosis result data 110 outputted from the pattern diagnostic processor 26 is displayed on the diagnosis result display panel 27, but it is also possible that the diagnosis result is immediately notified to external monitor apparatus by outputting the diagnosis result data 110 to an external circuit through the line. Fig. 9 is a block diagram indicating the embodiment of Fig. 4 of the present invention and the corresponding elements are denoted by the numerals similar to those in Fig. 3. Like the pattern diagnostic processor in the embodiment 1, the pattern diagnostic processor 26 in this embodiment adds the return data 109 stored in the data RAM 35 and the correction value read by the correction ROM 34 in the adder 36, then compares such added value with the original reference video signal 107 in the comparator and then outputs the result as the diagnosis result data 110. This diagnosis result data 110 is sent to a multiplexer 8 by the pattern diagnostic processor 26 and is then sent to the line from the line I/F 9 through multiplexing with the other data. Thereby, result of diagnosis can immediately be notified to an operator of the remote station and monitor apparatus and control apparatus provided therein. In above embodiment, the diagnosis result data 110 is sent to the line after multiplexing with the other data in the multiplexer 9, but it is also possible that the data is not multiplexed with the other data and is sent independent of the other data. In addition, the system controller 24 starts automatically the pattern generator 25 and pattern diagnostic processor 26 for automatic diagnosis, but it is also allowed that the self-diagnosis is instructed from external circuits. Fig. 10 is a block diagram indicating the fifth embodiment of the present invention. The elements like those in Fig. 3 are denoted by the like numerals. The self-diagnosis instruction data 112 coming over the line from external circuits is received by the line I/F 13 and is separated from the other data in the separator 14 and is then sent to the system controller 24. Upon reception of the self-diagnosis instruction data 112, the system controller 24 starts the pattern generator 25 and pattern diagnostic processor 26 and executes the return loop test by sequentially designating each return loop of the image transmission apparatus. According to the first aspect of this invention, in which the image transmission apparatus is provided with the reference video signal generator and diagnostic processor, various kinds of self-diagnosis can be carried out automatically and successively, and the result of diagnosis can easily be understood even by unskilled persons. According to the second aspect of this invention, in which diagnosis is based on the comparison of the return reference video signal with the original reference video signal, with an expected difference in a prescribed range being allowed, the image transmission apparatus can be tested reliably. According to the third aspect of this invention, in which reference video signals of two or more frames are used for the loop tests, the image transmission apparatus can be tested for the transmission of moving images. The image transmission apparatus which is capable of switching the duplicated working and backup circuit systems in the sending and receiving sides responsive to the diagnosis result data generated by the-fault diagnostic circuit automatically recovers the system using the backup circuit systems in the sending and receiving sides, even if a fault is generated in the working circuit systems of the sending and receiving sides. The image transmission apparatus which can output the diagnosis result data generated by the fault diagnosis circuit to the line can immediately notify the result to an operator in the remote station or to the monitor apparatus or other apparatus provided therein. The image transmission apparatus having a function to receive the instruction to start the reference video signal generator and diagnostic processor coming over the line from external circuits is capable of starting self-diagnosis by the remote manipulation even if a testing person is not attendant.

Claims: An image transmission apparatus comprising: a sending circuit system (A) for encoding a video signal and for sending the encoded signal over a line; a receiving circuit system (B) for decoding an encoded video signal received on the line to recover an original video signal; a plurality of test loops (101 - 105) connected between a predetermined point of said sending circuit system (A) and a predetermined one point of said receiving circuit system (B) ; characterized in that said apparatus further comprises: a reference video signal generator (25) adapted to supply two or more reference video signals (107) representing moving images to each test loop (101-105) for performing loop tests; a fault diagnostic circuit (26) comprising allowable-error generation means (34) for storing error values for each of said two or more reference video signals (107) and for each of the test loops (101-105), the error values representing an allowed deviation between the supplied reference video signal (107) and a returned reference video signal (109) resulting from each loop test; said fault diagnostic circuit (26) comprising comparing means (37) for detecting a fault by comparing the returned reference video signal (109) and the supplied reference video signal (107) for each of said two or more reference video signals and for each of said test loops (101-105), wherein a fault is determined when said error values are exceeded. An image transmission apparatus according to Claim 1, wherein said sending circuit system comprises an A/D converter (2) for A/D conversion of the video signal; a sending frame memory (4) for storing the digitalized video signal; a subtractor (5a) for obtaining the difference between the video signal of preceding frame and an output signal of sending frame memory (4) ; a DCT encoder (5) for discrete cosine conversion of said difference; a variable length encoder (6) for variable length encoding of an output of said DCT encoder (5); a sending buffer (7) for storing variable length codes outputted from said variable length encoder (6) and a line interface (9) for outputting variable length code of said sending buffer (7); said receiving circuit system comprises a line interface (13) for receiving signal from the line; a variable length decoder (15) for decoding the received signal; a receiving buffer (16) for storing an output of said variable length decoder (15); a DCT decoder (17) for discrete cosine conversion of the signal within said receiving buffer (16); an adder (19a) for adding an output signal of said DCT decoder (17) and the video signal of a preceding frame; a receiving frame memory (20) for storing an output of said adder (19a) and a D/A converter (22) for D/A conversion of the digitalized video signal; and said test loops comprise an A/D return loop (101) for connecting the output side of said A/D converter (2) and the input side of said D/A converter (22); a FIL return loop (102) for connecting the output side of said sending frame memory (4) and the input side of said receiving frame memory (20) ; and LDC return loop (103) for connecting the output side of said DCT encoder (5) and the output side of said DCT decoder (14); a BM return loop (104) for connecting the output side of said sending buffer (7) and the input side of said variable length decoder (15); and an OA return loop (105) for connecting the output side of said line interface (9) of the sending side and the input side of said line interface (13) in the receiving side. An image transmission apparatus of Claim 1 or 2, further comprising a backup sending circuit system (A2) in the same structure as that of said sending circuit system (A1) ; a backup receiving circuit system (B2) in the same structure as that of the receiving circuit system (B1); and a change-over means (50) for switching the active system, when said fault diagnostic circuit (26) has detected a fault, from the sending circuit system (A1) and the receiving circuit system (B1) to the backup sending circuit system (A2) and backup receiving circuit system (B2). An image transmission apparatus according to Claim 1, 2 or 3, wherein the reference video signal generator (25) comprises a ROM (30) for storing the video signal of a preceding frame as said reference video signal (107) and the diagnostic processor (26) comprises a comparator (37) for comparing the returned reference signal (109) of loop test with the original reference video signal (107) and a display panel (27) for displaying comparison result. An image transmission apparatus according to Claim 4, wherein the reference video signal generator (25) sequentially outputs said preceding frame from ROM (30) to the respective test loops (101 - 105) and causes a defective test result to be displayed on the display panel (27) when it has found that the return signal (109) is not within said allowed error compared to the original reference video signal (107). An image transmission apparatus according to Claim 5, wherein a fault diagnostic processor (26) comprises an adder (36) adapted to add the return signal (109) and said error value outputted from said allowable-error generation means (34) and to supply the result to the comparator (37). An image transmission apparatus according to any one of Claims 1 to 6, wherein the reference video signal generator (25) comprises a ROM (30) for storing the video signals of two or more preceding frames as the reference video signals (107) and the diagnostic processor (26) comprises a comparator (37) for comparing the return signals (109) of each test loop with the reference video signals (107) and a display panel (27) for displaying comparison result. An image transmission apparatus according to Claim 7, wherein the reference video signal generator (25) sequentially outputs said preceding frames from ROM (30) in each test loop and causes a defective test result to be displayed on the display panel (27) when it has found the return signals (109) are not within the allowed error values in each test loop. An image transmission apparatus according to Claim 7, wherein said allowable-error generation means (34) stores sets of the error values, one each for said preceding frames and outputs the error value corresponding to the loop test being conducted and the reference video signal (107) being processed. An image transmission apparatus according to any one of Claims 2 to 9, wherein the reference video signal generator (25) outputs the reference video signal (107) when the A/D return loop test, FIL return loop test, LDC return loop test, BM return loop test and OA return loop test are executed respectively. An image transmission apparatus according to any one of Claims 1 to 10, wherein the fault diagnostic processor (26) outputs diagnosis result data (110) to an external circuit over the line. An image transmission apparatus according to any one of Claims 1 to 11, wherein said reference video signal generator (25) and fault diagnostic processor (26) are started by self-diagnosis instruction data transmitted from an external circuit over the line.

Inventors: ASHIDA YASUSHI, ASHIDA, YASUSHI, ASHIDA, YASUSHI C/O MITSUBISHI DENKI K. K.
Applicants: MITSUBISHI ELECTRIC CORP, MITSUBISHI DENKI KABUSHIKI KAISHA
Application year: 1992
Main classification: H04N7
IPC codes: H04N17, H04N5, H04N7