Monitoring device for multiplex data communication equipment

Abstract: A monitoring device for multiplex transmitters preferably used for composed vehicles accurately monitors abnormal condition of slave devices regardless of erroneous multiplex data communication between a master device (101) and the slave devices (102,103). The monitoring device according to the present invention comprising: a master device; a plurality of slave devices multiply communicated with the master device; control means (8,9) connected to the plurality of slave devices each, the controlled means (7) controlled by command signals from the master device; master memory (4) provided to the master device for sequentially storing the command signals transmitted to the plurality of slave devices and state signals indicating condition of the controlled means of the slave device each; slave memories (11a) each provided to the plurality of slave devices each for sequentially storing command signals received by the slave devices and the state signals indicating condition of the slave device, timing signals generated in the master device, the timing signals transmitted to the slave memories each, the timing signals stored in the master memory and the slave memories each according to stored content of the master memory and the slave memories each; and a memory output means (12) for reading out and displaying the command signals and timing signals stored in the master device and the received command signals, the state signals, and timing signals stored in the slave memories.

Description: MONITORING DEVICE FOR MULTIPLEX DATA COMMUNICATION EQUIPMENT BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to a monitoring device for multiplex data communication equipment and in particular to a monitoring device for multiplex data communication equipment preferably used for composed vehicles or the like. 2. Description of the Prior Art In order to transmit information on command control and state indication of vehicles or the like, a method has been used to transmit multiplexed information with a multiplex transmitter in place of conventional method in which single transmission lines are utilized. In this method, a master device controlling communication is provided with a monitoring means for monitoring the condition of the communication equipment to monitor abnormal condition or to record operating condition at the abnormal state, which makes it possible to analyse the reason for the failure of the multiplex data communication equipment. In the conventional device as described above, since only the master device is provided with a memory for storing the operating condition of the multiplex data communication equipment there is a possibility that abnormal condition of slave devices are not stored in the memory of the master device, which makes it difficult to analyse the reason for the failure. SUMMARY OF THE INVENTION It is therefore the object of the present invention to provide a monitoring device for multiplex data communication equipment in which abnormal conditions of the slave devices such as the failure of the devices is accurately monitored regardless of erroneous multiplex data communication between the master device and the slave devices. A monitoring device for multiplex data communication equipment according to the present invention comprises: a master device; a plurality of slave devices, each in multiplexed communication with the master device; controlled means connected to each of the plurality of slave devices, the controlled means controlled by command signals from the master device; master memory provided to the master device for sequentially storing the command signals transmitted to the plurality of slave devices and state signals indicating the condition of the controlled means of each of the slave device; slave memories provided to each of the plurality of slave devices, each sequentially storing command signals received by the slave devices and the state signals indicating the condition of the slave device, timing signals generated in the master device, the timing signals transmitted to each of the slave memories, the timing signals stored in the master memory and each of the slave memories according to stored content of the master memory and each of the slave memories; and a memory output means for reading out and displaying the command signals and timing signals stored in the master device and the received command signals, the state signals, and timing signals stored in the slave memories. In the monitoring device for multiplex data communication equipment according to the present invention, a master device and a plurality of slave devices are connected to each other so that multiplex transmission with time duplicated system, frequency duplicated system or the like is applied. In accordance with command signals transmitted from the master device, controlled means connected to each of the slave devices is controlled. In a master memory for the master device there are sequentially stored command signals transmitted to the slave devices and state signals indicating conditions of the controlled means of each of the slave devices. Further, each of the slave devices is provided with a slave memory for sequentially storing command signals received from the master device and state signals indicating conditions of the controlled means of the slave device. Then, timing signals are transmitted from the master device to the slave devices so as to be stored in accordance with stored contents of the master device and the slave devices. A portable memory output apparatus is utilized by workers to read out the command signals and the timing signals stored in the master memory and output these signals for recording on chart or visual monitoring. Moreover, the memory output apparatus is detachably connected to each of the slave memories to read out the received command signals, the state signals, and the timing signals. Consequently, the command signals of the master device according to the timing signals, which are printed on the chart or the like, are compared with the received command signals and the state signals of the slave device to check whether or not an error occurred in the multiplex data communication and whether or not the conditions of the controlled means of the slave devices are abnormal due to failure based on the state signals. As a result, an error in the multiplex data communication resulting in failure of the controlled means is detected and the reason for the abnormality will be analysed with ease. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be more apparent from the ensuring description with reference to the accompanying drawing wherein: Figure 1 is a block diagram of overall system according to one embodiment of the present invention; Figure 2 shows a structure of the master memory 4; Figure 3 shows condition in which stored content in the master memory 4 outputted by the monitoring means 5 and the memory output apparatus 12; Figure 4 shows a structure of the slave device 11a1; Figure 5 shows condition in which stored content in the slave memory 11a1 is outputted by the memory output apparatus 12; Figure 6 is a flowchart for explaining operation of the master device 101a; and Figure 7 is a flowchart for explaining operation of the slave device 101b. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS Figure 1 shows a block diagram of an overall system according to one embodiment of the present invention. In composed vehicles having a plurality of vehicles, in a cab of a vehicle there is provided a master device 101a and a slave device 101b constituting multiplex data communication equipment and each of the other vehicles is provided with slave devices 102 and 103 each respectively. In the vehicle with the cab the master device 101a and the slave device 101b share a processing circuit 3 realized by microcomputer or the like, an interface 61, and a communication controller 8. The master device 101a includes a master memory 4, a monitoring means 5, a memory command switch 16 for recording. The slave device 101b has a slave memory 11a1 connected to the processing circuit. By way of an interface 61 controlled means 7a1, 7b1, and 7c1 are connected to each other. These controlled means 7a1, 7b1, and 7c1 may be driving means including for example cylinders for opening or closing right and left doors, heaters for passengers, lighting, vehicle driving motors, and brakes. The communication controller 8 connects the master device 101a to the slave device 101b and is connected to a communication controller 9 of a slave device 102 of a neighbouring vehicle. Further, the communication controller 8 is connected to communication controller 9a of a slave device 103 in the other vehicle. In the slave device 102, the communication controller 9 has connected to it a processing circuit 10 realized by a microcomputer or the like, and slave memory 11a2. The processing circuit 10 is further connected to each controlled means 7a2, 7b2, and 7c2 by way of an interface 62. Further, in a slave device 103, there is connected to a communication controller 9a a processing circuit 10a, to which are connected a slave memory 11a3 and an interface 63 and, further, each controlled means 7a3, 7b3, and 7c3, in the same manner as the device 102. The interface 61 for the master device 101a and the slave device 101b is provided with a connector 6a1, and interfaces 62 and 63 for slave devices 102 and 103 are provided with the connectors 6a1 and 6a3. To each of the connectors 6a1, 6a2, and 6a3 there is detachably connected a connector 14a of a portable memory output apparatus 12. The memory output apparatus 12 is connected to a processing circuit 13 realized by a microcomputer or the like by way of the interface 14 connected to the connector 14a. The processing circuit 13 is connected to an output means 15. The output means 15 may be a printer with a chart or a visual display means for visual observation. The processing circuit is provided with a memory 17. This memory 17 has a memory area to which the contents in the master memory and slave memories 11a1, 11a2, and 11a3 are transmitted and stored. The processing circuit 13 is also provided with a command input means 18 to command and control the operation of the memory output apparatus 12 according to the present invention. With the multiplex data communication equipment described above, multiplex data communication is performed between the communication controllers 8, 9, and 9a and the information is processed by the processing circuits 3, 10, and 10a to control the controlled means 7a1 to 7c1, 7a2 to 7c2, and 7a3 to 7c3 by way of the interfaces 61, 62 and 63. Further, in the multiplex data communication equipment the controlled means are monitored to detect failures to obtain signals for indicating the condition of the controlled means. Then, the signals are transmitted to the display means by way of the interface 61 for a driver to visually monitor the condition of the controlled means. Figure 2 shows a structure of the master memory 4 in the master device 101a. The master memory 4a is basically provided with a work area 4a and a memory area 4b. At the work area 4a, ever-changing information is filled out at prescribed intervals of time while stored information is erased. The memory area has sufficient capacity to store the stored content in the work area 4a as it is after the content is transmitted. The condition of the stored information in the master memory 4 is displayed by the monitoring means 5, and is outputted and displayed by the memory output apparatus 12 as described in Fig. 3. In the work area 4a and the memory area 4b are stored command signals transmitted from the processing means 3 of the master device 101a for controlling the controlled means and state signals for indicating the condition of the controlled means in the slave devices 101b, 102, and 103, respectively. That is, one of the signals stored and recorded in the memory 4 is a command signal outputted from the master device 101a and indicates the content of the operational command for various controlled means for opening and closing doors, turning on and off brakes and the like. Then, each command signal is stored as logical "0" and logical "1" according to "ON" and "OFF" of the controlled means respectively. When the signal is an analog signal, it is stored as a row of bits with a required number of bits. Time pulses are utilized when maintenance shop workers transversely check the stored contents of the master memory 4 and the slave memories 11a1 to 11a3, which are transmitted between the master device 101b and the slave devices 101b, 102, and 103 so that the information in the same instance is compared. Therefore, the time pulses are used for correcting the time of the information when there is a difference in time between the information. In the master memory 4, state signals are stored as state information which are transmitted from the slave memories 101b, 102, and 103 each. The state information shows the condition of the controlled means; for example, whether the doors are opened or closed, and whether or not the brakes are applied. The state signals are stored in the same manner as the command signals. In the master memory time is stored and, further, memory transmission factor codes for coding factors to show the condition in which information in the work area 4a is transmitted to the memory area 4b. Figure 4 shows the structure of the slave memory 11a1 of the slave device 101b. This structure is also applied to the other slave memories 11a2 and 11a3 of the slave devices 102 and 103. The slave memory 11a1 is provided with a work area 11a and a memory area 11a1b. The work area 11a and memory area 11a1b work in the same manner as those of the aforementioned master memory. In the master memory 11a1 are stored state signals for indicating the condition of each of the controlled means as to failure as well as command signals transmitted from the master device 101a. For example, in the slave memory 11a1, state signals are stored for indicating the condition of the controlled devices 7a1 to 7c1 of the slave device 101b. Figure 5 shows a chart on which the stored information in the slave memory 11a1 after reading is recorded by the memory output means 12. In the slave device 101b command signals are stored which the slave device 101b received from the master device 101a; also stored are state signals and time which the slave device transmit to the master device 101b as well as time pulses as time signals transmitted from the master device 101a. In addition, memory transmission factor code for coding factors to show the condition of the information in the work area 11a1 is transmitted to the memory area 11a1b and is read out by the memory output apparatus 12. To each of the slave devices 101b, 102, and 103 is transmitted a time pulse at irregular intervals in accordance with random numbers from the master device 101a to simultaneously store the time pulse as a time signal in the master memory 4, slave memories 11a1, 11a2, and 11a3. When the stored information in the memories 4 and 11a1 to 11a3 is outputted at certain intervals, the stored content according to the time signal is checked by the workers with outputs shown in Figs 3 and 5, which makes it possible to adjust the time which is individually stored in each of the memories 4 and 11a1 to 11a3 of the master device and the slave devices 101b, 102, and 103. That is, stored information in the memories 4 and 11a1 to 11a3 in the same instant may be checked. The memory transmission factor code is a code which shows factors indicating the condition in which information in the work area 4a of the master memory 4 is transmitted to the memory area 4b as an example. The relationship between the transmission factors and the codes is described below. That is, a code "01" shows the condition in which the memory command switch 16 at a cab console is depressed when a motorman feels some abnormality. A code "10" shows the condition in which the processing circuits 3, 10, and 10a each of the master device, or slave devices 101b, 102, and 103 detect an abnormal operation by itself. This code is outputted at the failure of hardware or runaway of the composed vehicles. Further, a code "11" is outputted when there is a discrepancy between the command signal outputted by the processing circuit 3 of the master device 101a and the state signals from the slave devices 101b, 102, and 103. For instance, this code "11" is outputted when, even though a command signal is outputted from the master device 101a to show the state in which a right door is opened, the state signals from the slave device 101b includes a signal showing the condition that the right door is not opened after the time required for the operation of a controlled means for opening the door such as 7a1. In addition, the code "11" is outputted when the condition in which the speed of the vehicle is not decreased at all is detected although a command signal for applying brakes is outputted from the master device 101a. To the other slave devices 102 and 103 besides the slave device 101b the same as described above applies. In the aforementioned conditions, the codes "01" or "11" transmit signals including themselves from the work area of the master device 101a to the memory area of the slave devices 101b, 102, and 103. Further, from the master device 101a or the slave devices 101b, 102, and 103 to other master device 101a or other slave devices 101b, 102, and 103 are transmitted signals including themselves from the work area to the memory area. Through these transmissions, signals including the factor codes are outputted to display the signals in the monitoring means 5 as shown in Fig. 3. As a result, the motorman will recognize the transmission from the work area to the memory area. The stored contents in each of the memories 4 and 11a1 to 11a3 may be read out by the memory output apparatus 12. As described above, the memory output apparatus 12 has the processing circuit 13, the interface 14, the memory 17, and the display means 15, which are all built-in to the memory output apparatus 12. The memory 17 is provided with sufficient capacity to transmit and store the stored contents in each of the memories 4 and 11a1 to 11a3. In order to read out the stored content in each of the memories 4 and 11a1 to 11a3 by the memory output apparatus, workers, like the motorman, connect the connector 14a of the memory output apparatus 12 selectively to the connectors 6a1, 6a2, and 6a3, permitting the contents in each of the memories 4 and 11a1 to 11a3 to be transmitted to the memory 17. As a result, the processing circuit 13 is capable of outputting all or a selected portion of the stored content in the memory 17 according to the command signal from the command input means 18a to display the information as illustrated in Figs. 3 and 5 by the display means. The display means may be a printer or a display apparatus for visual observation. Further, an external memory such as a floppy disk may be used for the same purpose. The output results from the display means 15, the stored contents in the master memory 4 and the slave memories 11a1 to 11a3 are compared in accordance with the time signals to clarify the condition of the components of the multiplex data communication, which is not clarified in the aforementioned prior art. As a result, whether or not a communication error occurs in the multiplex data communication and whether or not a failure occurs in the controlled means 7a1 to 7c1, 7a2 to7c3, and 7a3 to 7c3 is monitored. In addition, the reason for any error and failure is analysed with ease. Referring to Fig. 6, operation of the processing circuit 3 of the master device 101a will be explained. In step a1, in the work area 4a of the master memory 4 there is stored the condition of the master device 101a. In step a2, whether or not the command signals outputted from the master device 101a correspond to the state signals of the controlled means 7a1 to 7c1, 7a2 to 7c2, and 7a3 to 7c3 of the slave devices 101b, 102, and 103, that is, the proper relation between the command signals and the state signals, is checked. Then, if the proper relation is not recognized, the program proceeds step a3 . In step a3, it is judged whether or not the memory command switch 16 at the cab console is depressed for operation. Then, if the switch is not depressed, the program proceeds step a4. In step a4, it is determined whether starting signals, that is, signals indicating the memory transmission factor mode and the like, are generated at the slave devices 101b, 102, and 103 or not. If the signals are not generated, the program proceeds step a5 where it is determined whether the processing circuit 3 of the master device 101a is abnormal or not. If the circuit is not abnormal, step a8 is executed to determine whether or not the timing pulses as timing signals are to be outputted. Then, when the timing pulse should be outputted, step a9 is executed to output the timing signal to the slave devices 101b, 102, and 103 where the signal is stored in the work area 4a. In steps a3 to a5, when all the judgment are "YES", the program proceeds step a6 to transmit starting signals to the slave devices 101b, 102, and 103 and simultaneously transmit the stored content in the work area 4a of the master memory 4 to the memory area 4b. Referring to Fig. 7, operation of the slave device 101b will be explained. The operation of the slave device is the same as that of the other slave devices 102 and 103. In step b1, the condition of the work area 11a1a of the slave memory 11a1 and the controlled means 7a1 to 7c1 is stored as state signals. In step b2, it is determined whether or not the processing circuit 3 of the slave device 101b is abnormal. Then, if the abnormality is not detected, the program proceeds step b5 to determine whether or not starting signals are generated at the master device 101a or the other slave devices 102 and 103. When the result is "NO", step b6 is executed to determine whether or not timing signals are inputted from the master device 101a. Then, if the timing signals are received, the program proceeds step b7 to store the timing signals in the work area 11a1a. In step b2, when abnormality in the processing circuit 3 of the slave device 101b is detected, step b3 is executed to transmit starting signals or memory transmission factor mode signals to the master device 101a, or other slave devices 102 and 103. After step b3 and in step b5, when the starting signals are inputted from the master device 101a or other slave devices 102 and 103, step b4 is executed. In the step b4, the stored content in the work area 11a1a is transmitted to the memory area 11a1b. The present invention is applicable not only to vehicles but also other technical fields. According to the present invention described above, command signals transmitted from a master device to slave devices are stored in a master memory, and command signals received from the master device and state signals showing condition of controlled means of the slave devices are stored in slave memories. Then, stored content in the master memory according to timing signals from the master device, and received command signals and state signals according to timing signals of the slave device which receives the timing signals from the master device are outputted to display by a portable memory output apparatus. Then, the stored contents in the master memory and the slave memory, corresponding to the timing signals, are compared with each other to check for errors in multiplex data communication and abnormal conditions such as failure of the controlled means connected to the slave devices, making it possible to analyse the reason for the failure with ease.

Claims: A monitoring device for multiplex data communication equipment which comprises: a master device; a plurality of slave devices each in multiplexed communication with said master device; controlled means connected to each of said plurality of slave devices, said controlled means controlled by command signals from said master device; master memory provided to said master device for sequentially storing said command signals transmitted to said plurality of slave devices and state signals indicating the condition of said controlled means of each of said slave device; and characterized in that it further comprises; slave memories provided to each of said plurality of slave devices, each sequentially storing command signals received by said slave devices and said state signals indicating the condition of said slave device, timing signals generated in said master device, said timing signals transmitted to each of said slave memories, said timing signals stored in said master memory and each of said slave memories according to stored content of said master memory and each of said slave memories; and a memory output means for reading out and displaying said command signals and timing signals stored in the master device and said received command signals, said state signals, and timing signals stored in said slave memories. A monitoring device for multiplex transmitters as claimed in claim 1, wherein said master memory comprises: a work area sequentially filled with information at which changes constantly prescribed intervals of time while stored information in said work area is erased; and a memory area for storing said stored content in said work area as it is after said stored content is transmitted from said work area. A monitoring device for multiplex transmitters as claimed in claim 1, wherein said controlled means include doors, heaters, lighting, vehicle driving motors, and brakes. A monitoring device for multiplex transmitters as claimed in claim 1, wherein said memory output means includes a printer. A monitoring device for multiplex transmitters as claimed in claim 1, wherein said multiplex transmission between said master device and said slave devices includes a time division system.

Inventors: ARAKI YOICHIRO C O KAWASAKI JU, ARAKI, YOICHIRO, C/O KAWASAKI JUKOGYO K.K.
Applicants: KAWASAKI HEAVY IND LTD, KAWASAKI JUKOGYO KABUSHIKI KAISHA
Application year: 1991
Main classification: G08C25
IPC codes: G08C25, H04Q9, H04L29