Optical communication system

Abstract: Disclosed is an optical communication system in which a digital data bus constituted by optical fiber is used as a transmission line. Each terminal equipment (A, B, ..., D) measures an optical output level to enable the terminal equipment to receive a packet transmitted from the terminal equipment per se and informs other terminal equipments of the measured optical output level. Each terminal equipment establishes its optical output level to be the largest one of the levels informed thereto. Further, each terminal equipment measures the delay time of an acknowledge bit transmitted from the other terminal equipments to thereby shift the sampling point by the mean value of the measured delay time, so that bus connection of terminal equipments through optical fiber can be facilitated, channel access control based on CSMA/CD can be performed, and wiring between the terminal equipments can be saved by performing multiple transmission of audio signals and video signals as well as digital data.

Description: BACKGROUND OF THE INVENTION The present invention relates to an optical communication system for realizing a digital data bus for performing information communication between audio and video appliances. Fig. 1 shows an example of a system construction of a digital data bus realized by electric communication using metallic wire as a transmission medium. In Fig. 1, portions surrounded by broken lines designate terminal equipments which are connected to each other through metallic wire. In each terminal equipment, the reference numeral 3 designates a communication interface section for performing data communication according to a predetermined communication protocol. A driver circuit 1 and a receiver circuit 2 are connected to the communication interface section 3. The reference numerals 15 and 16 designate an input terminal and an output terminal respectively. The output terminal of each terminal equipment is connected to the input terminal of the succeeding terminal equipment through metallic wire successively to thereby constitute a bus-shaped transmission line. Because output signals from the respective terminal equipments can be simultaneously received by all of the terminal equipments through the bus-shaped transmission line, it is possible to perform channel access control based on surviving type CSMA/CD (Carrier Sense Multiple Access with Collision Detection). The reference numeral 17 designates terminal resistors which are provided on opposite ends of the bus for the purpose of impedance matching. In the case of a digital data bus, wiring between terminal equipments becomes complex, because a data communication transmission medium must be newly provided in addition to a conventional medium for transmitting audio and video signals. Therefore, each terminal equipment may be constituted by a coupler for coupling a transmission signal with an up-load signal and a branch device for branching a reception signal from a down-load signal by use of optical fiber as a transmission medium to thereby facilitate multiple transmission of audio and video signals as well as digital data and saving of wiring between terminal equipments. However, a large insertion loss occurs in the branch device as well as in the coupler, so that the levels of signals between terminal equipments vary widely in the case of bus connection. Further, increase of signal delay time is caused by an opto-electric converter section and an electro-optic converter section, so that there has been a limitation in transmission rate, in number of terminal equipments and in line length for realizing channel access control based on the surviving type CSMA/CD. WO84/04638 describes an optic star configuration network which uses a processor at central station to monitor and control network activity including calibrating the node transmitter power levels and node receiver sensitivities. An object of the invention is to provide an optical communication system for realizing a digital data bus in which the aforementioned problems are solved. According to the present invention there is provided an optical communication system comprising terminal equipments, each of said terminal equipments including: a communication interface section having a driver circuit arranged to transmit an electric signal and a receiver circuit arranged to receive an electric signal; an electric/optical converter section arranged to modulate an output signal of said driver circuit and to convert the modulated output signal of said driver circuit into an optical signal; an optical amplifier arranged to amplify said optical signal output from said electric/optical converter section with an amplification factor, which is controlled by a signal sent from said communication interface section, to send the amplified optical signal into an optical bus; an optical/electric converter section arranged to convert an optical signal received from said optical bus into an electric signal and to demodulate the electric signal to output the demodulated electric signal into said receiver circuit; and amplification factor checking means arranged to transmit, when said system is activated, a packet addressed to said terminal equipment per se through said communication interface section while increasing the amplification factor of said optical amplifier successively from a minimum value so as to recognize a lowest limit of the amplification factor with which said terminal equipment can receive said packet addressed to said terminal equipment per se; each terminal equipment being characterised by: amplification factor transmitting means arranged to transmit a packet addressed to each of the other terminal equipments through said communication interface section to inform said terminal equipments of said lowest limit of the amplification factor recognized by said amplification factor checking means; and amplification factor adjusting means arranged to adjust the amplification factor of said optical amplifier to be equal to the largest one of said lowest limits of the amplification factors of all the terminal equipments to thereby enable communication between said terminal equipments. Further, each terminal equipment measures the delay time of an acknowledge bit transmitted from the other terminal equipments so that each terminal equipment shifts a sampling point by the mean value of the measured delay time. According to an embodiment of the present invention, bus connection of terminal equipments through optical fiber can be made easy, and at the same time, channel access control based on the surviving type CSMA/CD can be made. Furthermore, multiple transmission of audio and video signals as well as digital data and saving of wiring between terminal equipments can be attained. The invention will be described now by way of example only, with particular reference to the accompanying drawings. In the drawings: Fig. 1 is a configuration diagram of a conventional digital data bus; Fig. 2 is a configuration diagram showing a first embodiment of the present invention; Fig. 3 is a configuration diagram showing a second embodiment of the present invention; Fig. 4 is a diagram for explaining the packet format in a digital data bus; Fig. 5 is a diagram for explaining the bit format of an acknowledge bit in a digital data bus; Fig. 6 is a diagram for explaining the case where an acknowledge bit is transmitted and received between terminal equipments; Fig. 7 is a diagram for explaining the bit format of a mode bit and a master address bit in a digital data bus; Fig. 8 is a diagram for explaining the packet format and the byte format in a home-bus system. DESCRIPTION OF THE PREFERRED EMBODIMENTS (Embodiment 1) Fig. 2 is a diagram showing a first embodiment of the optical communication system according to the present invention. In Fig. 2, portions surrounded by broken lines designate terminal equipments. The terminal equipments A, B, ..., D are connected to each other through optical fiber. The terminal equipments A, B, ..., D correspondingly respectively include: driver circuits 1a, 1b, ..., 1d; receiver circuits 2a, 2b, ..., 2d; communication interface sections 3a, 3b, ..., 3d; electro-optic converter sections 4a, 4b, ..., 4d; first branch couplers 5a, 5b, ..., 5d; second branch couplers 6a, 6b, ..., 6d; opto-electric converter sections 7a, 7b, ..., 7d; up-load optical signal input terminals 8a, 8b, ..., 8d; up-load optical signal output terminals 9a, 9b, ..., 9d; down-load optical signal input terminals 10a, 10b, ..., 10d; down-load optical signal output terminals 11a, 11b, ..., 11d; and optical amplifiers 12a, 12b, ..., 12d in which the amplification factors can be set based on signals sent from the respective communication interface sections 3a, 3b, ..., 3d. In the following, the construction of the system is described more in detail. In each terminal equipment A (B, ..., D) the communication interface section 3a (3b, ..., 3d) operates together with the driver circuit 1a (1b, ..., 1d) and the receiver circuit 2a (2b, ..., 2d) to perform transmission/reception of an electric signal in accordance with a predetermined communication protocol. A transmission signal is converted into an optical signal by the electro-optic converter section 4a (4b, ..., 4d) and a received optical signal is converted into an electric signal by the opto-electric converter section 7a (7a, ..., 7d), the electric signal being led to the receiver circuit 2a (2b, ..., 2d). In each terminal equipment A (B, ..., D), the transmission signal is coupled with an up-load optical signal inputted from the up-load optical signal input terminal 8a (8b, ..., 8d) and then sent out from the up-load optical signal output terminal 9a (9b, ..., 9d). In Fig. 2, the up-load optical signal output terminal 9d of the terminal equipment D is connected to the up-load optical signal input terminal 8c of the terminal equipment C through optical fiber. The same applies to all the terminal equipments so that optical signals transmitted from all of the terminal equipments are sent out from the up-load optical signal output terminal 9a of the terminal equipment A located in the head position. The up-load optical signal output terminal 9a of the terminal equipment A is connected to the down-load optical signal input terminal 10a of the terminal equipment A through optical fiber, so that the signals transmitted from all of the terminal equipments are inputted to the down-load optical signal input terminal 10a as a down-load optical signal. In each terminal equipment A (B, ..., D), a signal inputted through the down-load optical signal input terminal 10a (10b, ..., 10d) is branched into two by the second branch coupler 6a (6b, ..., 6d) so that one of the branched signals is sent out from the down-load optical signal output terminal 11a (11b, ..., 11d) and the other is led to the receiver circuit 2a (2b, ..., 2d) after converted into an electric signal by the opto-electric converter section 7a (7b, ..., 7d). In Fig. 2, the down-load optical signal output terminal 11a of the terminal equipment A is connected to the down-load optical signal input terminal 10b of the terminal equipment B through optical fiber. The same applies to all of the terminal equipments so that optical signals transmitted from all of the terminal equipments are led to the receiver circuit 2a (2b, ..., 2d) of each terminal equipment A (B, ..., D). In the following, the operation of the system is described. At the time of the starting of the system, each terminal equipment A (B, ..., D) transmits a packet addressed to itself. At this time, the gain of the optical amplifier 12a (12b, ..., 12d) is started from its minimum. When the transmitted packet cannot be received, the packet addressed to its own is transmitted again after the amplification factor of the optical amplifier 12a (12b, ..., 12d) is increased by one rank. The aforementioned operation is repeated till reception is enabled. The signal sent out from the optical amplifier 12a (12b, ..., 12d) in each terminal equipment A (B, ..., D) is attenuated because of losses such as a branching loss, a coupling loss, an insertion loss, and a transmission loss of optical fiber, and then reaches to a reception point. For example, the signal sent out of the optical amplifier 12a of the terminal equipment A is passed through the branch couplers 5a and 6a. On the other hand, the signal sent out of the optical amplifier 12d of the terminal equipment D is passed through the branch couplers 5d, 5c, 5b, 5a, 6a, 6b, 6c and 6d. Accordingly, in Fig. 2, the amplification factor of the terminal equipment A may be set to be the smallest value and, on the other hand, the amplification factor of the terminal equipment D must be set to be the largest value. In short, data communications between all of the terminal equipments can be made with no problem if the amplification factors of the all terminal equipments have the same value as the amplification factor of the terminal equipment D. Then, each terminal equipment informs the other terminal equipments of its own amplification factor by means of a broadcast packet, and each terminal equipment sets the amplification factor of its own optical amplifier to be the largest value of the amplification factors received through the broadcast packet. By the aforementioned configuration, data communication can be made with optimum light intensity corresponding to the scale of the system. Thus, a system excellent in extension, durability and power saving can be realized. (Embodiment 2) Fig. 3 shows a second embodiment of the optical communication system according to the present invention. In Fig. 3, the same constituent members as those in the first embodiment shown in Fig. 2 are referenced correspondingly. The reference numerals 13a, 13b, ..., 13d designate counting means for counting the time difference between the time when a signal is transmitted from the communication interface section 3a (3b, ..., 3d) to the driver circuit 1a (1b, ..., 1d) in the case of packet transmission and the time when an acknowledge bit reaches the communication interface section 3a (3b, ..., 3d) through the receiver circuit 2a (2b, ..., 2d), and for reporting he result of the counting to the communication interface section 3a, (3b, ..., 3d). The reference numerals 14a, 14b, ..., 14d designate indication means. In the following, the operation of the system is described. Fig. 4 shows the data format in a digital data bus. In Fig. 4, the symbol P in the format represents a parity bit, A an acknowledge bit and EOD an end-of-data bit. The digital data bus is synchronized based on a start bit and then channel access control by CSMA/CD is performed based on mode and master address bits following the start bit. Consequently, one terminal equipment remaining undefeated acquires priority and transmits parity bits, slave address bits, control bits, data bits and an end-of-data bit as a master. An acknowledge bit is the bit for reporting the fact that a terminal equipment designated by the slave address bits has acknowledged information coming to the terminal equipment. The designated terminal equipment transmits with the passage of a predetermined time after the terminal equipment receives a bit synchronizing signal transmitted from the master in the early stage of the period of the respective acknowledge bit. Fig. 5 shows the bit format of the acknowledge bit. Assuming now that the period of time T M from the point of time when the master transmits a bit synchronizing signal to the point of time when the master transmits a high-level signal again is equal to the period of time T S from the point of time when the slave receives the synchronizing signal to the point of time when the slave transmits an acknowledge bit, then the operation of the system is as shown in Fig. 6 in the case where the terminal equipment A as a master in Fig. 3 transmits a bit synchronizing signal and the terminal equipment D as a slave returns an acknowledge signal. In Fig. 6, the diagram (a) shows a bit synchronizing signal for the acknowledge bit transmitted by the terminal equipment A as a master, and the diagram (b) shows the state where the bit synchronizing signal of the diagram (a) reaches the output of the receiver circuit 2d of the terminal equipment D as a slave. The signal of the diagram (b) is delayed, compared with the signal of the diagram (a), for the sum T DA-D of the delay time in the driver circuit 1a and the electro-optic converter section 4a of the terminal equipment A, the delay time in the light transmission line leading from the output point of the electro-optic converter section 4a to the input of the opto-electric converter section 7d of the terminal equipment D and the delay time in the opto-electric converter section 7d and the receiver circuit 2d. In Fig. 6, the diagram (c) shows an acknowledge signal transmitted by the terminal equipment D with the passage of a predetermined time T S (= T M ) after the terminal equipment D receives the bit synchronizing signal. The acknowledge signal reaches the master in the form of an acknowledge signal shown in the diagram (d) after the signal is delayed for the sum T DD-A of the delay time in the driver circuit 1d and the electro-optic converter section 4d of the terminal equipment D, the delay time in the light transmission line leading from the output point of the electro-optic converter section 4d to the input of the opto-electric converter section 7a of the terminal equipment A and the delay time in the opto-electric converter section 7a and the receiver circuit 2a. In short, the one-cycle transmission delay time between the terminal equipments can be found by counting the time difference T D between the point of time when the master transmits a high-level signal with the passage of time T M after transmitting a bit synchronizing signal and the point of time when the master receives an acknowledge signal from the slave. In the following, channel access control by the surviving type CSMA/CD is described. The terminal equipment to which a transmission request is given transmits a packet after confirming that a vacant channel exists. In the case where a plurality of terminal equipments try to transmit signals at a time, each terminal equipment transmits mode bits and mater address bits synchronously with the terminal equipment which has transmitted the start bit at the first time. Each terminal equipment receives bits and compares the received bits with the bits which the terminal equipment has transmitted. When the result of comparison is discord, the terminal equipment stops signal transmission. The system is configured so that, in the case where a high-level bit and a low-level bit collide with each other, the result is made to be low-level, that is priority is given to the low-level bit. Accordingly, a terminal equipment which has transmitted the mode and master address bits containing the greatest number of low-level bits acquires channel access priority to serve as a master. The bit format of the mode and master address bits is shown in Fig. 7. In Fig. 7, the diagram (a) shows the bit format for a terminal equipment to which a transmission request is given and the diagram (b) shows the bit format for a terminal equipment to which no transmission request is given. A terminal equipment to which a transmission request is given transmits a bit data of high- or low-level signal for a time period t₃ with a passage of time t₂ after receiving the bit synchronizing signal which is transmitted with a passage of time t₁ after the start bit of the terminal equipment which has transmitted the start bit at the first time is terminated. Each terminal equipment A (B, ..., D) performs sampling of the output signal of the receiver circuit 2a (2b, ..., 2d) with a passage of time t S from the bit synchronizing signal. Under the consideration that the one-cycle transmission delay time T D is between terminal equipments, the bit data of the terminal equipment which has transmitted the bit synchronizing signal is not settled before the time t₂ + T D is passed after the bit synchronizing signal is transmitted. Accordingly, the time t S to the sampling point must satisfies the relation t S > t₂ + T D . In the case of T D = 0, the bit data becomes unsettled again after the time t₂ + t₃. Accordingly, the sampling point must be established to satisfy the relation t₂ + T D < t S < t₂ + t₃ in which the range of the one-cycle delay time T D must satisfies the relation 0 ≦ T D < t₃ to make it possible to sample settled data even in the case of t S ≒ t₂ + t₃. Generally in the case where transmission rate is high, t₃ is small and high speed properties are required for the driver circuit 1a (1b, ..., 1d), the receiver circuit 2a (2b, ..., 2d), the electro-optic converter circuit 4a (4b, ..., 4d) and the opto-electric converter circuit 7a (7b, ..., 7d). In the configuration of the present optical communication system, each terminal equipment A (B, ..., D) contains one driver circuit 1a (1b, ..., 1d), one receiver circuit 2a (2b, ..., 2d), one electro-optic converter circuit 4a (4b, ..., 4d) and one opto-electric converter circuit 7a (7b, ..., 7d) as shown in Fig. 3, so that the delay time is considered to be the same even in the case where a communication is made between arbitrary terminal equipments. When the delay time is represented by T DT , the one-cycle transmission delay time T D can be represented by the sum of the delay time T DT and the delay time T Do in the optical transmission line. In short, the distribution of the one-cycle transmission delay time T D is represented by the relation T DT < T D ≦ T DT + T Do , and the center of the distribution is T DT + T Do /2. Accordingly, settled data can be sampled regardless of the value of T DT , if T Do is within the range of T Do ≦ t₃, and if the distribution of the one-cycle transmission delay time T D is counted by the counting means in accordance with the present system to shift the sampling point t S by the result Δt S (= T TD + T Do /2-t 3/2 ) obtained by subtracting the half (= t 3/2 ) of the bit length t₃ with settled data from the calculated center of the distribution (= T DT + T Do /2). In short, according to the present system, settled data can be sampled regardless of the delay time caused by the driver circuit 1a (1b, ..., 1d), the receiver circuit 2a (2b, ..., 2d), the electro-optic converter circuit 4a (4b, ..., 4d) and the opto-electric converter circuit 7a (7b, ..., 7d) constituting the terminal equipment A (B, ..., D) if the delay time caused by the light transmission line is less than the bit length with settled data. Further, the system can be modified as follows, and reliability on the system can be improved by the modification. In the case where the delay time T Do caused by the light transmission line is counted to be more than the bit length t₃ with settled data, the system is designed to report the fact to terminal equipments having delay time T Do more than the bit length t₃ so that signal transmission stops and abnormality is reported to the user by any indication means. Although the aforementioned embodiments have shown the case where the invention is applied to a digital data bus, the following description shows the case where the invention is applied to a system, such as a home bus system, in which an acknowledge byte is returned after one packet is received. The packet format of the home bus system is shown in Fig. 8. In Fig. 8, the symbol PR in the format represents a priority code, SA a source address, DA a destination address, CC a control code, BC a telegram-length code, DATA data, FCC a check code, DMY a dummy, and ACK/NAK an acknowledge code. The home bus system employs start-stop synchronization in which synchronization is made based on the start bit and the stop bit contained in each byte as a constituent member of a packet. A terminal equipment designated by the destination address DA returns an acknowledge code with the passage of dummy time (time corresponding to 11 bits) after the terminal equipment receives the packet till the check code FCC. Accordingly, the one-cycle transmission delay time T D can be found by subtracting the time corresponding to 11 bits from the value obtained by counting the time difference between the point of time when transmission of the stop bit of the check code is terminated in the terminal equipment to transmit a packet and the point of time when reception of the start bit of the acknowledge code from the other terminal equipment is started. In the case of the home bus system, channel access control is made based on the respective bits of the priority code and the source address. In the case of start-stop synchronization as in the home bus system regardless of bit synchronization, it is general that sampling is made in the center of the bit with settled data. In the case where pulse duty ratio is 50%, sampling is made in the point of 1/4 bit length of the respective bit. In the case where pulse duty ratio is 100%, sampling is made in the point of 1/2 bit length of the respective bit. Accordingly, the limit of the one-cycle transmission delay time T D is 1/4 bit time in the case where pulse duty ratio is 50%. The limit of the one-cycle transmission delay time T D is 1/2 bit time in the case where pulse duty ratio is 100%. Accordingly, the scale of the system is limited more greatly as transmission rate increases. According to the method, sampling timing can be shifted by the mean delay time in the distribution of the transmission delay time through founding the transmission delay time of each terminal equipment, so that the permissible range of the one-cycle transmission delay time can be enlarged greatly.

Claims: An optical communication system comprising terminal equipments (A, B, D, ...), each of said terminal equipments including: a communication interface section (3a, 3b, 3c, ...) having a driver circuit (1a, 1b, 1c, ...) arranged to transmit an electric signal and a receiver circuit (2a, 2b, 2c, ...) arranged to receive an electric signal; an electric/optical converter section (4a, 4b, 4c, ...) arranged to modulate an output signal of said driver circuit and to convert the modulated output signal of said driver circuit into an optical signal; an optical amplifier (12a, 12b, 12c, ...) arranged to amplify said optical signal output from said electric/optical converter section with an amplification factor, which is controlled by a signal sent from said communication interface section, to send the amplified optical signal into an optical bus; an optical/electric converter section (7a, 7b, 7c, ...) arranged to convert an optical signal received from said optical bus into an electric signal and to demodulate the electric signal to output the demodulated electric signal into said receiver circuit; and amplification factor checking means arranged to transmit, when said system is activated, a packet addressed to said terminal equipment per se through said communication interface section while increasing the amplification factor of said optical amplifier successively from a minimum value so as to recognize a lowest limit of the amplification factor with which said terminal equipment can receive said packet addressed to said terminal equipment per se; characterised in that each terminal equipment includes: amplification factor transmitting means arranged to transmit a packet addressed to each of the other terminal equipments through said communication interface section to inform said terminal equipments of said lowest limit of the amplification factor recognized by said amplification factor checking means; and amplification factor adjusting means arranged to adjust the amplification factor of said optical amplifier to be equal to the largest one of said lowest limits of the amplification factors of all the terminal equipments to thereby enable communication between said terminal equipments. An optical communication system according to claim 1, wherein each of said terminal equipments further includes: means arranged to transmit, when said system is activated, a basic packet constituted by at least one byte and addressed to each of the other terminal equipments through said communication interface section successively; a counting means (13a, 13b, 13c, ...) arranged to count, upon transmission of said basic packet, a time difference between a point in time when a signal is transmitted from said communication interface section to said driver circuit and a point in time when an acknowledge bit or byte or return bit with respect to said basic packet reaches said communication interface section through said receiver circuit and to inform said communication interface section of a counting result of said time difference so as to cause said communication interface section to hold said counting result; and means (14a, 14b, 14c, ...) arranged to transmit, in a case where said counting result is out of a permissible range of said time difference for performing channel access control based on CSMA/CD with no trouble, information about said case to the terminal equipment related with said case through said communication interface section. An optical communication system according to claim 1, wherein each of said terminal equipments further includes: means arranged to transmit, when said system is activated, a packet addressed to each of the other terminal equipments through said communication interface section successively; a counting means (13a, 13b, 13c ...) arranged to count, upon transmission of said packet, a time difference between a point in time when a signal is transmitted from said communication interface section to said driver circuit and a point in time when an acknowledge bit or byte or return bit with respect to said packet reaches said communication interface section through said receiver circuit and to inform said communication interface section of a counting result of said time difference; means arranged to calculate a center value of distribution of delay time from said counting result; and means arranged to shift sampling timing for sampling a reception signal sent from said receiver circuit or by said center value of the distribution of the delay time.

Inventors: IKEZAKI MASAO, KUROBE AKIO, MOCHIDA YOSIHISA, NAKATSU HIROMASA, SUGINO NOBUO, IKEZAKI, MASAO, KUROBE, AKIO, MOCHIDA, YOSIHISA, NAKATSU, HIROMASA, SUGINO, NOBUO
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1990
Main classification: H04B10
IPC codes: H04B10