The present invention relates to a transmitter-receiver for communication, and more particularly, to a transmitter-receiver having a means for determining the status of a channel so as to be capable of selecting and changing the transmission rate and output power for transmission/reception according to the status of the channel, a transmission loss and gain measurement method, and a transmitting-receiving system.
In general, data is transmitted and received between two opposed transmitter-receivers via transmission media.
With regard to the data rate or transmission rate, data format and the like, various standards have been defined in order to facilitate the interconnection between transmitter-receivers. As an example of such standards may be cited the IEEE 802.3ae 10GBASE-LR standard defined by an international standards association, IEEE SA (Institute of Electrical and Electronics Engineers Standard Association). The standards specify, for example, the data rate (10.3125 Gbps on optical fiber), wavelength of light, data format, and transmission distance.
As a conventional technique for surely conducting optical communication, Japanese Patent Application laid open No. 2000-68938 has disclosed “Optical Transmitter-Receiver”. The optical transmitter-receiver at the transmitting end sends a signal to a channel and learns the status of optical fiber by monitoring the return signal. The information is fed back to the intensity of a laser beam.
The conventional optical transmitter-receiver, however, has some problems. First, the transmitter-receiver does not have a function for automatically setting the transmission rate according to the status of a channel or the like. Consequently, it is required to set the transmission rate manually according to the status of a channel including the loss of optical fiber measured with an additional measuring instrument. Besides, in the case where the transmission rate is fixed and cannot be changed, the transmitter-receiver itself has to be replaced with another model.
In the following, a description will be made of problems caused by the fixed transmission rate by taking an optical transmitter-receiver based on the aforementioned 10GBASE-LR standard as an example. Generally, in digital signal communications, data can be transmitted and received with lower power as the transmission rate decreases. For that reason, if there is a considerable loss in a transmission medium such as optical fiber, it is possible to transmit and receive data. In the case of a 10GBASE-LR standard-based optical transmitter-receiver, however, the transmission rate is fixed at 10.3125 Gbps. Therefore, when the transmission loss is increased to a certain value, the optical transmitter-receiver is disabled for communication. In other words, even when data can be communicated by reducing the transmission rate, the optical transmitter-receiver cannot adjust a transmission rate setting because of the fixed transmission rate.
Second, the conventional transmitter-receiver does not have a function for automatically setting output power according to the status of a channel or the like. As in the case of the transmission rate described above, it is required to set output power manually according to the status of a channel including the loss of optical fiber measured with an additional measuring instrument. In the case where output power is fixed and cannot be changed, the transmitter-receiver itself or the interface thereof has to be replaced with another model.
Third, the conventional transmitter-receiver does not have a means for determining the status of a transmission medium such as the loss of optical fiber. Therefore, as described above, it is required to determine the status of a channel including the loss of optical fiber with an additional measuring instrument prior to connecting transmitter-receivers. For this reason, the renewal of the transmitter-receiver requires a considerable time, and also it is difficult to modify system configuration.
It is therefore an object of the present invention to provide a transmitter-receiver having a means for automatically determining the status of transmission media such as optical fibers, and a means for automatically setting and resetting the transmission rate and/or output power according to the status of the transmission medium.
In accordance with the first aspect of the present invention, to achieve the object mentioned above, there is provided a transmission loss and gain measurement method applied to a system comprising transmission media and a plurality of transmitter-receivers connected via the transmission media, comprising the steps of transmitting information on the output power of a first transmitter-receiver from the first transmitter-receiver to a second transmitter-receiver; measuring reception strength or intensity by the second transmitter-receiver when the second transmitter-receiver receives the output power information; reading the output power information by the second transmitter-receiver; and comparing the reception strength with the output power information to calculate a transmission loss or gain by the second transmitter-receiver.
The transmission loss and gain measurement method may be an optical transmission loss and gain measurement method.
The step of measuring reception strength may include the step of measuring the average photocurrent or photoelectric current that flows through a light receiving element for receiving the output power information.
The output power information may be represented by a digital code.
The digital code may be a binary code having a constant mark ratio.
A string of bits indicating the head of the digital code may be added to the beginning of the digital code.
A string of bits indicating that the digital code represents the output power information may be added to the digital code.
A string of bits for detecting a code error may be added to the digital code.
The output power information may include different types of information on output power, and at the step of calculating a transmission loss or gain, the transmission loss or gain may be calculated by statistically processing transmission losses or gains calculated based on the different types of output power information, respectively.
In accordance with the second aspect of the present invention, there is provided a transmitter-receiver performing the steps involved in the transmission loss and gain measurement method described above.
In accordance with the third aspect of the present invention, there is provided a transmitter-receiver connected via transmission media with at least one transmitter-receiver for transmitting and receiving data, comprising: a first measuring unit for measuring the transmission loss or gain of the transmission media; a resetting unit for changing the transmission rate and/or the output power according to a measurement result obtained by the first measuring unit; an informing unit for sending another transmitter-receiver information on its own output power; a second measuring unit for measuring reception strength or intensity on receipt of output power information from another transmitter-receiver; a reading unit for reading the output power information; and a third measuring unit for measuring a transmission loss or gain based on the reception strength and the output power information.
The transmission media may be optical transmission media through which the light is transmitted.
The transmitter-receiver may further comprise an output power controlling unit for controlling output power for transmitting the output power information so that the output power is not to exceed the maximum permissible input power of another transmitter-receiver at the receiving end.
A code error rate theoretically or actually obtained from the transmission rate and the output power for transmitting the output power information may be set to be equal to or lower than a code error rate theoretically or actually obtained when a signal is transmitted or received at the lowest transmission rate and with the highest output power selectable for data communication.
The output power for transmitting the output power information may be expressed as follows:
P0≧P1×(B0/B1)
where B0 and P0 are the transmission rate and the output power for transmitting the output power information, respectively, and B1 and P1 are the lowest transmission rate and the highest output power selectable for data communication, respectively.
The transmission rate for transmitting the output power information may be set to be equal to or lower than the lowest transmission rate selectable for data communication.
The transmitter-receiver may send information on the transmission loss or gain of the transmission media to another transmitter-receiver at the receiving end after measuring the transmission loss or gain.
In accordance with the fourth aspect of the present invention, there is provided a transmitter-receiver, comprising: a transmitter for transmitting signals to a transmission medium; an output power controller for controlling the output power of the transmitter; a receiver for receiving signals via a transmission medium; an input power measuring section for measuring the strength of input signals; a communication data processor for changing the rate of data transmission; and an information processor for deriving the loss or gain of a path, and outputting a signal to change the output power of the transmitter and/or the rate of data transmission according to the derived loss or gain of the path.
The transmitter may include: a laser diode for radiating laser beams; an optical modulator for modulating the laser beams; and an optical modulator driver for driving the optical modulator.
The output power controller may include a direct current generator for controlling the value of electric current.
The transmitter and the output power controller may include: a direct modulation laser diode for outputting direct optical signals; a laser diode driver for driving the direct modulation laser diode; a bias point controller for controlling the bias point of the laser diode driver; and an amplitude modulation controller for controlling the amplitude modulation of the laser diode driver.
The receiver may include a light receiving element.
The input power measuring section may include a direct current meter for measuring the average photocurrent or photoelectric current that flows through the light receiving element.
The communication data processor may further include a unit for detecting the code error of communicated frame data, and the data transmission rate may be changed according to the presence or absence of the code error of the frame data and the size of the code error.
The communication data processor may further include: a clock generator for generating a clock signal to be a reference for the rate of signal processing; a divider for dividing the clock signal from the clock generator at a designated dividing rate; and a frame processor for detecting the code error of input frame data.
The communication data processor may further include a unit for changing the dividing rate according to the presence or absence of the code error of the frame data and the size of the code error detected by the frame processor.
The communication data processor may further include: a plurality of data input-output ports (I/O ports); a unit for multiplexing data in the data I/O ports to transmit the data; a unit for demultiplexing input data to output the data to the I/O ports; a unit for increasing or decreasing the number of multiplexing when data in the data I/O ports are multiplexed.
When data in the data I/O ports are multiplexed, the number of multiplexing may be increased or decreased according to the presence or absence of the code error of the frame data and the size of the code error.
In accordance with the fifth aspect of the present invention, there is provided a transmitting-receiving system comprising transmission media and a plurality of transmitter-receivers connected via the transmission media, wherein the transmitter-receiver comprises: a transmitter for transmitting signals and information on its own output power to one of the transmission media; an output power controller for controlling the output power of the transmitter; a receiver for receiving signals and information on output power via one of the transmission media; an input power measuring section for measuring the strength of input signals; a communication data processor for changing the rate of data transmission; and an information processor for deriving a path loss based on the output power information and the signal strength, and changing the output power of the transmitter and the rate of data transmission according to the derived path loss.
As set forth hereinabove, in accordance with the present invention, to achieve the object mentioned above, a transmitter-receiver comprises: a transmitter for transmitting signals to a transmission medium; an output power controller for controlling the output power of the transmitter; a receiver for receiving signals via a transmission medium; an input power measuring section for measuring the power of input signals; a communication data processor for changing the rate of data transmission; and an information processor for deriving the loss or gain of a path, and selecting the output power of the transmitter and/or the rate of data transmission according to the derived loss or gain of the path.
Further, a method of measuring the transmission loss and gain of transmission media for the transmitter-receiver of the present invention, which is applied to a transmitting-receiving system comprising transmission media and a plurality of transmitter-receivers connected via the transmission media, comprises the steps of: transmitting information on the output power of a first transmitter-receiver from the first transmitter-receiver to a second transmitter-receiver; measuring reception strength or intensity by the second transmitter-receiver when the second transmitter-receiver receives the output power information; reading the output power information by the second transmitter-receiver; and comparing the reception strength with the output power information to calculate a transmission loss or gain by the second transmitter-receiver.
The objects and features of the present invention will become more apparent from the consideration of the following detailed description taken in conjunction with the accompanying drawings in which:
Referring now to the drawings, a description of preferred embodiments of the present invention will be given in detail.
In the following, the first embodiment of the present invention will be described.
The optical transmitter 8 converts an electrical signal to an optical signal to output the optical signal. The optical output power controller 7 controls the optical output power of the optical transmitter 8. The optical receiver 10 converts an input optical signal to an electrical signal. The optical input power measuring section 11 measures the strength of input signals. The waveform regenerator 13 adjusts the waveform of an electrical signal output from the optical receiver 10 so that the signal can undergo digital signal processing. The communication data processor 15 processes communicated data. The information processor 5 processes various types of information, which will be more fully described hereinafter. The D/A converter 6 converts an optical output power specify signal 18 being a digital signal output from the information processor 5 to an analog signal to feed the optical output power controller 7 with the analog signal. The A/D converter 12 converts an optical input power signal 22 being an analog signal received from the optical input power measuring section 11 to a digital signal to feed the information processor 5 with the digital signal. The transmission selector 9 selects a signal from either the information processor 5 or the communication data processor 15 to send the signal to the optical transmitter 8. The reception selector 14 selects a signal from either the information processor 5 or the waveform regenerator 13 to send the signal to the communication data processor 15.
The communication data processor 15 can select and change the transmission rate according to a transmission rate control signal 24 from the information processor 5. In the first embodiment, the transmission rate can be selected from 622 Mbps, 2.5 Gbps and 10 Gbps.
The buffer 35 temporarily stores input data in a frame form (hereinafter referred to as frame data) in a buffer memory. The frame processor 36 detects the code error of input frame data. The CODEC 37 encodes frame data to a code suitable for optical transmission and reception, and also decodes a received data code to restore the code to its original form, frame data. The clock generator 38 generates a clock signal to be a reference for the signal processing rate. The divider 39 divides the clock signal from the clock generator 38 at a designated dividing rate to produce a divided clock signal for each component part. The transmission rate of data is determined based on the divided clock signal.
In the following, a description will be made of the operation of the optical transmitter-receiver according to the first embodiment of the present invention. The optical transmitter-receivers 1 and 2 in
Besides, after the optimum optical output intensity and transmission rate for data communication have been determined, the communication data processor 15 shown in
Next, individual steps S1 to S11 in
When power is applied to the optical transmitter-receiver, the information processor 5 detects the application of power (step S1). Subsequently, optical output power (average power) is set to the initial value 0 dBM: P0=0 dBM (step S2). More specifically, the information processor 5 sends the optical output power controller 7 a signal that specifies 0 dBM as the average optical output power via the D/A converter 6.
In the following, a description will be made of effects achieved by setting the initial value of optical output power P0 to 0 dBM (P0=0 dBM) at step S2. As can be seen in
The description has been given of the case where the initial value of optical output power P0 is 0 dBM and the maximum permissible input power of the photodiode is +1 dBm. However, the values are cited merely by way of example and without limitation. In general, the same effects as described above can be achieved when the initial value of optical output power does not exceeds the maximum permissible input power of the photodiode at the receiving end.
After setting optical output power to the initial value (step S2), the optical transmitter-receiver sends an optical output power code, which will be described later, to the other optical transmitter-receiver at an average optical output power of 0 dBM and a transmission rate of 156 Mbps (B0=156 Mbps) (step S3). To be specific, as shown in
Incidentally, the optical output power code is a code for informing the other optical transmitter-receiver of a value to which the average optical output power is currently set.
Although not shown in the drawings, the optical output power code includes, in addition to the 4-bit code corresponding to the average optical output power, a string of bits indicating the head of the code, a string of bits indicating that the code is the optical output power code, and a string of bits for detecting a code error. That is, the NRZ code is composed of the 4-bit code and all the strings of bits. Besides, considerations are taken so that the mark ratio is to be 0.5 with respect to the code as a whole.
In the following, a description will be made of effects achieved by transmitting the optical output power code at an average optical output power P0 of 0 dBM and a transmission rate B0 of 156 Mbps at step S3. It is generally known that, in the case of receiving a digital optical signal, the minimum optical input power required to reduce the code error rate to a certain threshold or less (the minimum receiver sensitivity) becomes lower as the transmission rate decreases. That is, the both are approximately in a proportionality relation. In other words, when reception power is constant, the code error rate becomes lower as the transmission rate decreases.
It is now proposed to consider whether or not data can be transmitted and received when the loss of the optical fiber is 33 dB or more. In order to transmit and receive data when the loss of the optical fiber is high, it is required to communicate the data with an optical output power as high as possible, and also at a transmission rate as low as possible as is previously described. In the first embodiment, the lowest transmission rate selectable for data communication is, as described hereinbefore, 622 Mbps. The minimum receiver sensitivity corresponding to the transmission rate, 622 Mbps, is −27 dBm as can be seen in
That is, the effects achieved at step S3 are that when the optical output power code cannot be read, it is possible to determine that data transmission and reception is also impossible immediately at the point. Accordingly, procedures, such as requesting the other optical transmitter-receiver to increase the optical output power for transmitting the code, become unnecessary. Thus, the entire operation can be simplified.
Further, a description will be presented of a condition for the aforementioned effects achieved at step S3. The effects achieved at step S3 are not what are obtained at the specific transmission rate and the output power cited above. In general, the same effects can be achieved if the following condition is satisfied:
E1≧E0 (1)
where E1 denotes the rate of code error that occurs when data is transmitted or received at the lowest selectable transmission rate and with the highest selectable output power, and E0 denotes the rate of code error that occurs when the optical output power code is transmitted or received.
The reason will be explained below. The fact that the optical output power code is not to be received with a code error rate equal to or less than the threshold is represented by the following expression:
E0>ES (2)
where ES denotes the threshold of the code error rate. If the above Expression (1) is formed, then the following expression should hold according to Expressions (1) and (2):
E1>ES (3)
This means that, data cannot be transmitted or received with a code error rate equal to or less than the threshold even at the lowest selectable transmission rate and the highest selectable output power. That is, if the condition of Expression (1) is satisfied, it can be said that “if the optical output power code cannot be received with a code error rate equal to or less than the threshold, data cannot be transmitted or received with a code error rate equal to or less than the threshold even at the lowest selectable transmission rate and the highest selectable output power”. Thus, it is proven that the same effects as achieved at step S3 can be obtained.
Still further, a description will be made of another condition for the aforementioned effects achieved at step S3. The same effects as achieved at step S3 can be obtained if the following relation is satisfied:
P0≧P1×(B0/B1) (4)
where B0 and P0 are the transmission rate and the output power for transmitting the optical output power code, respectively, and B1 and P1 are the lowest transmission rate and the highest output power selectable for data communication, respectively. Incidentally, the unit of P0 and P1 is not “dBm”, but “mW” or “W”.
The reason will be explained below. As is described above, the minimum receiver sensitivity and the transmission rate are approximately in a proportionality relation. Therefore, the following expression should hold:
S0=S1×(B0/B1) (5)
where S0 and S1 denote the minimum receiver sensitivity corresponding to the transmission rate B0 and B1, respectively. Now, if it is assumed that the optical power is reduced to 1/a due to transmission loss after transmission through the optical fiber, the condition that “the optical output power code cannot be received with a code error rate equal to or less than the threshold” can be expressed as follows:
P0/a<S0 (6)
Then, the following expression is obtained on referring to Expressions (5) and (6):
P0/a<S1×(B0/B1) (7)
Here, if the condition of Expression (4) is satisfied, the following expression should hold according to Expressions (4) and (7):
(P1/a)×(B0/B1)<S1×(B0/B1) (8)
then, the following expression holds as well:
P1/a<S1 (9)
The Expression (9) represents the fact that the reception power (=P1/a) is lower than the minimum receiver sensitivity S1 and that data is not to be received with a code error rate equal to or less than the threshold. That is, if Expression (4) is formed, it can be said that “if the optical output power code cannot be received with a code error rate equal to or less than the threshold, data cannot be transmitted or received with a code error rate equal to or less than the threshold even at the lowest selectable transmission rate and the highest selectable output power”. Thus, it is proven that the same effects as achieved at step S3 can be obtained.
In the following, a description will be made of effects achieved by transmitting the optical output power code at the transmission rate B0 (=156 Mbps) equal to or less than the lowest selectable transmission rate B1 (=622 Mbps) at step S3. Namely, a description will be made of effects when the following expression holds:
B0≦B1 (10)
First, disadvantages when Expression (10) does not hold will be explained. In the case where Expression (10) does not hold, that is, in the case where:
B0>B1 (11)
then, the following expression holds:
B0/B1>1 (12)
therefore, in order to select P0 and P1 that satisfy Expression (4), the following relation must be satisfied:
P0>P1 (13)
In this case, as is described previously for the effects obtained at step S2, the output power P0 for transmitting the optical output power code needs to be equal to or less than the maximum permissible input power Pa of the photodiode to prevent it from being damaged. Namely, the following expression must be formed:
Pa≧P0 (14)
Thus, based on Expressions (13) and (14), it is understood that the following expression must be formed:
Pa>P1 (15)
It is desirable that the highest optical output power P1 selectable for data communication be as high as possible so that communication is possible even for higher path loss. However, according to Expression (15), the highest optical output power P1 is limited to a value below the maximum permissible input power Pa of the photodiode. In other words, when Expression (10) does not hold, there arises the disadvantage that sufficiently high P1 cannot be selected.
On the other hand, in the case where Expression (10) holds, the following expression holds as well:
B0/B1≦1 (16)
therefore, it is possible to select P0 and P1 that satisfy Expression (4) as follows:
P0≦P1 (17)
Thus, based on Expression (4), it is understood that the smaller the value of B0/B1, the higher the value of P1 that can be selected.
The main points are briefly summarized as follows. By transmitting the optical output power code at the transmission rate B0 equal to or less than the lowest selectable transmission rate B1, that is, when Expression (10) holds, a sufficiently high value can be selected as the highest optical output power P1 selectable for data communication such that communication is possible even for higher path loss.
In the following, operation at steps S4 and S5 will be described.
Having received the optical output power code, which the other optical transmitter-receiver has sent at step S3, the optical transmitter-receiver determines whether or not the optical output power code can be read with a code error rate equal to or less than the threshold (step S4). First, using a string of bits indicating the head of the optical output power code (previously described for step S3), the optical transmitter-receiver obtains- synchronization to read the code. Then, using the string of bits for detecting a code error (also previously described for step S3) added to the optical output power code, the optical transmitter-receiver checks whether or not the optical output power code has been read continuously a predetermined number of times without a code error. Thus, operation at step S4 is carried out.
If the optical output power code cannot be read with a code error rate equal to or less than the threshold (step S4, NO), it means that data communication is impossible for the reason mentioned above. Accordingly, the optical transmitter-receiver raises an alarm to indicate the impossibility of communication (step S5).
On the other hand, if the optical output power code can be read with a code error rate equal to or less than the threshold (step S4, YES), operation proceeds to the next step S6.
Incidentally, although not shown in
In the following, a description will be made of operation at step S6 and effects achieved at step S6 referring to
As is described above, the transmitter-receiver sends the other transmitter-receiver the code C indicating that the optical output power is 0 dBm with an average optical output power of 0 dBm as shown in
Next, as can be seen in
0 dB−(−5 dBm)=5 dB
In the following, a description will be made of operation at step S7 and effects achieved at step S7. Each of the optical transmitter-receivers encodes information on the path loss derived at step S6, and transmits a code including the path loss information (hereinafter referred to as a path loss code) to the other transmitter-receiver (step S7). A string of bits indicating that the code represents path loss information is added to the path loss code. Thereby, the respective transmitter-receivers can discriminate the path loss code from the optical output power code transmitted or received at step S3.
Incidentally, at step S6, the optical transmitter-receiver 1 shown in
In the following, operation at steps S8 and S9 will be described. The optical transmitter-receiver determines whether or not the path loss is equal to or less than a specified threshold (step S8). As previously described for the effects achieved at step S3, when the path loss of the optical fiber is 30 dB or less, the optical transmitter-receiver can receive data with a code error rate equal to or less than the threshold. In this embodiment, however, the threshold of path loss is set to 25 dB to allow a margin of 5 dB. Accordingly, when the path loss is 25 dB or less (step S8, NO), operation proceeds to the next step S10. On the other hand, when the path loss exceeds 25 dB (step S8, YES), the optical transmitter-receiver raises an alarm to indicate the excess of the path loss (step S9).
In the following, a description will be made of operation at step S10 and effects achieved at step S10 referring to
At step S10, the information processor 5 determines the transmission rate and the optical output power for transmitting and receiving data based on the path loss information obtained at step S7. The information processor 5 is provided in advance with information on the optimum optical output power and transmission rate with respect to each path loss as database. Since the path loss is 5 dB in this embodiment, the information processor 5 selects −3 dBm as the optical output power and 10 Gbps as the transmission rate. If the path loss is higher than 5 dB, the information processor 5 increases the optical output power as can be seen in
Incidentally, in
After that, the optical transmitter-receiver sends the other transmitter-receiver a code as notice of readiness to transmit and receive data (hereinafter referred to as a communication readiness notice code). The communication readiness notice code may include information as to the optical output power and the transmission rate selected by each transmitter-receiver. Based on the information, when the transmission rates selected by the optical transmitter-receivers differ from one another, the optical transmitter-receivers may employ either of the rates to communicate at the same transmission rate. Additionally, the optical transmitter-receivers may-change the optical output power according to the change in the transmission rate. Incidentally, the communication readiness notice code includes a string of bits indicating that the code is the communication readiness notice code as with the optical output power code and the path loss code.
As is described above, first, the optimum optical output power is selected with respect to the path loss at step S10. Therefore, the optical transmitter-receiver does not transmit data with unnecessarily high optical output power, thus consuming lower amounts of electric power. Besides, since the life of a laser diode is extended as optical output power decrease, the life of the laser diode 27 can be prolonged. Moreover, even if it is not sufficient to increase the optical output power, the transmission rate can be reduced in response to higher path loss. In other words, communication is possible even in the case where communication is impossible if the transmission rate is fixed as in conventional techniques.
In the following, operation at step S11 will be described. Each of the optical transmitter-receiver acknowledges the communication readiness notice code from the other transmitter-receiver, and starts transmitting and receiving data at the selected optical output power and transmission rate (step S11). First, the information processor 5 sends the select instruction 17 to the transmission selector 9. Thereby, the transmission selector 9, which has sent each specific code 16 from the information processor 5 to the optical transmitter 8, begins to send data 25 from the communication data processor 15 to the optical transmitter 8. The information processor 5 sends a select instruction 21 also to the reception selector 14. Accordingly, the reception selector 14 reconnects the waveform regenerator 13, which has been connected with the information processor 5 to read each specific code from the other transmitter-receiver, to the communication data processor 15 so as to receive data 26 from the other transmitter-receiver. As shown in
In the following, a description will be made of operation to control the transmission rate. First, the information processor 5 outputs the transmission rate control signal 24, and the signal 24 is input to the divider 39 of the communication data processor 15 as shown in
Besides, as shown in
In this embodiment, electrical signals input to the communication data processor 15 are data propagated through a single electric path, that is, serial data as shown in
In the following, operation at steps S12 to S15 will be described. First, the optical transmitter-receiver checks whether or not the code error rate has risen for some reason since the beginning of data communication (step S12). A string of bits for detecting a code error are added to input frame data in advance. The frame processor 36 shown in
Next, operation at steps S16 to S20 will be described. The frame processor 36 checks whether or not the transmission rate reduction request frame has been received from the other optical transmitter-receiver (step S16). Having detected the reception of the transmission rate reduction request frame (step S16, YES), the frame processor 36 determines whether or not the transmission rate can be reduced to less than a current setting value (step S17). If the transmission rate has reached the lowest limit, and the transmission rate cannot be reduced any more (step S17, NO), the optical transmitter-receiver raises an alarm (step S18). Or, if the transmission rate can be reduced, the optical transmitter-receiver lowers the level of the transmission rate by one (step S19), and continues the transmission and reception of data (step S20).
In the following, a description will be made of effects achieved at steps S12 to S20. In the case where the code error rate has risen for some reason since the beginning of data communication, conventional transmitter-receivers cannot handle the situation and are disabled for communication because the transmission rate is fixed. In accordance with the present invention, however, when the code error rate has risen, the transmitter-receiver can request the other transmitter-receiver to lower the transmission rate, or lower the transmission rate at the request of the other transmitter-receiver. Thus, it is possible to maintain communication.
While, there are cited four levels of selectable optical output power in the first embodiment described above, there may be less or more levels of selectable optical output power. Besides, the optical output power may be made continuously variable instead of being adjusted step-by-step.
Additionally, while there are cited three levels of selectable transmission rate in the first embodiment, there may be less or more levels of selectable transmission rate. Besides, the transmission rate may be made continuously variable instead of being adjusted step by step.
Further, while the optical transmitter-receiver transmits one type of the optical output power code in the first embodiment, the optical transmitter-receiver may transmit plural types of optical output power codes corresponding to the plural levels of optical output power. In this case, the ultimate path loss may be determined by statistically processing path losses derived based on the plural types of optical output power codes, respectively.
Still further, in the first embodiment, the NRZ code is employed as the optical output power code. However, the NRZ code is cited merely by way of example and without limitation. An RZ (Return to Zero) code or other codes may also be employed.
Still further, in the first embodiment, the information processor 5 sends the select instructions 17 and 21 to the transmission selector 9 and the reception selector 14, respectively, so as to switch between data and the specific codes. However, data and the specific codes may be separated one from the other by a combination of a low-pass filter and a high-pass filter. Since data are transmitted at higher bit rates as compared to the specific codes, data and the specific codes can be separated by providing specific code input-output part of the information processor 5 with a low-pass filter and input-output part of the communication data processor 15 with a high-pass filter.
Still further, the above description of the first embodiment has been made of the case where the loss of optical fiber is calculated. However, when there is gain in a path, that is, when an optical amplifier is placed in a path or the like, the present invention is also applicable as in the above case given that the code of path loss is inverted.
In the following, the second embodiment of the present invention will be described.
Next, a description will be made of the operation of the optical transmitter-receiver according to the second embodiment of the present invention. According to the second embodiment, optical signals are output by increasing or decreasing the electric current that flows through the direct modulation laser diode 40 without using the optical modulator 28 used in the first embodiment.
As is described previously in connection with
In the following, the third embodiment of the present invention will be described.
Next, a description will be made of the operation of the optical transmitter-receiver according to the third embodiment of the present invention. In the third embodiment, the TDM processor 47 time-division multiplexes signals from the first to tenth I/O ports 45-1 to 45-10 to produce a serial signal, or in contrary, time-divides a serial signal to output divided signals to the first to tenth I/O ports 45-1 to 45-10. The number of the ports used on this occasion is variable, and determined based on multiplexing number specify signal 46 from the information processor 5. The transmission rate from the TDM processor 47 to the frame processor 48 and the subsequent component parts varies according to the number of multiplexing. The transmission rate is set higher as the number of multiplexing increases, and is set lower as the number of multiplexing decreases. In the first embodiment, the transmission rate is determined according to a transmission rate control signal 24 from the information processor 5. On the other hand, in the third embodiment, the number of multiplexing is determined first, and the transmission rate is determined according to the number of multiplexing. For example, in the case where the number of multiplexing is determined to be 8, eight ports of the first to tenth I/O ports 45-1 to-45-10 are selected in ascending order of remaining memory capacity of the buffers 50-1 to 50-10 corresponding to them, respectively. After that, the ports are interchanged, if required, according to a change in remaining memory capacity of the buffers 50-1 to 50-10. As is the case with the first embodiment, in the respective buffers 50-1 to 50-10 corresponding to the respective first to tenth I/O ports 45-1 to 45-10, when the remaining capacity of the buffer memory is reduced to a certain threshold or less, the buffer outputs a frame to request a temporary suspension of transmission. On the other hand, when the remaining capacity of the buffer memory exceeds the threshold, the buffer outputs a frame to request a restart of transmission.
According to the third embodiment, the communication data TDM separator 44 is provided with a plurality of the I/O ports 45-1 to 45-10 as can be seen in
Incidentally, while in the first to third embodiments, transmitter-receivers are connected via optical fibers as transmission media, the optical fibers are given merely by way of example and without limitation. The transmitter-receivers may be connected through other transmission media such as electrical cables.
In addition, while in the first to third embodiments, protocols used for data communication are not particularly specified, every protocol used for general data communication, such as Ethernet (R), Fiber Channel, SONET/SDH, protocols similar to them, or original protocols can be used arbitrarily.
Further, while in the first to third embodiments, two transmitter-receivers are connected via paths having no branch, paths may have one or more branches. Furthermore, one transmitter-receiver may be connected with a plurality of transmitter-receivers. In other words, the present invention is applicable to the so-called PON (Passive Optical Network) system and the like.
As set forth hereinabove, in accordance with the present invention, a transmitter-receiver has a function for automatically determining the status of transmission media such as optical fibers and a function for automatically setting and resetting the transmission rate and/or the output power according to the status of transmission media. With this transmitter-receiver, transmission coverage or the scope of application of the transmitter-receiver can be expanded as compared with conventional transmitter-receivers.
While the present invention has been described with reference to the particular illustrative embodiments, it is not to be restricted by the embodiments but only by the appended claims. It is to be appreciated that those skilled in the art can change or modify the embodiments without departing from the scope and spirit of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
367880/2003 | Oct 2003 | JP | national |