Optical communication device and control program
Patent Information
- Application Number
- JP2022021705
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-02-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing optical communication systems in PON networks face issues with incorrect detection of data reception using end patterns, leading to improper operation of the internal clock, which can cause synchronization errors due to noise or unexpected disconnections.
The optical communication device employs a mode switching mechanism that transitions between clock recovery and internal clock operation modes based on signal power thresholds and FEC correction status, ensuring accurate timing for clock synchronization.
This approach prevents incorrect timing of internal clock operation, thereby reducing synchronization errors and maintaining accurate data reception even in noisy or disconnected conditions.
Abstract
Description
Technical Field
[0001] The present disclosure relates to an optical communication device.
Background Art
[0002] A PON (Passive Optical Network) system, which is an optical communication system, is known. The PON system includes an optical communication device (also referred to as a master station device) installed in a communications carrier's station and a plurality of optical communication devices (also referred to as slave station devices) on the subscriber side (also referred to as the slave station side). The master station device is called an OLT (Optical Line Termination). The slave station device is called an ONU (Optical Network Unit).
[0003] In the downlink communication in the PON system (i.e., communication from the OLT to the ONU), a broadcast distribution method is adopted. Also, in the uplink communication in the PON system (i.e., communication from the ONU to the OLT), a time division multiplexing method is adopted. The reason for adopting the time division multiplexing method is that if each ONU transmits an optical signal simultaneously, a collision of optical signals will occur. The OLT uses DBA (Dynamic Bandwidth Allocation) as the time division multiplexing method. Specifically, the OLT designates the data transmission time to the ONU. The ONU transmits the data collectively at the designated transmission time. Also, when the ONU transmits the data collectively, it uses burst transmission technology.
[0004] Each ONU transmits an optical signal at a different clock and different timing. Therefore, the OLT has a CDR (Clock Data Recovery) function. The OLT can receive the data correctly by performing clock synchronization based on the CDR.
[0005] During periods when no optical signal is received, the CDR operates using its internal clock. The reason the CDR operates using its internal clock is to suppress mis-synchronization due to noise. For example, one possible method is for the OLT to operate using its internal clock after all the data transmitted by the ONU has been received. Here, a technique has been proposed to detect whether or not all the data has been received (see Patent Document 1). For example, the transceiver in Patent Document 1 detects the end of burst data by comparing the regenerated data with a predetermined termination pattern of the burst end portion of the burst data. [Prior art documents] [Patent Documents]
[0006] [Patent Document 1] Japanese Patent Publication No. 2011-15398 [Overview of the Initiative] [Problems that the invention aims to solve]
[0007] In the above technology, the termination pattern is used to detect whether all data has been received. However, if the termination pattern is short, it may be incorrectly detected that all data has been received. It is problematic for the OLT to operate on its internal clock based on this incorrect detection.
[0008] The purpose of this disclosure is to operate with an internal clock at the appropriate timing. [Means for solving the problem]
[0009] An optical communication device according to one aspect of the present disclosure is provided. The optical communication device is a master station device. The optical communication device has an operating unit that operates in a clock regeneration mode, which is a mode in which clock regeneration is performed according to a mode switching signal, or in an internal clock operation mode, which is a mode in which it operates with an internal clock, a communication control unit that communicates with one or more slave station devices that transmit optical signals, and an operation control unit. When the communication control unit receives the optical signal, it transmits a release notification signal to the operation control unit indicating the release of a no-signal state, which is a state in which no optical signal has not been received, and after receiving the optical signal, if the power of the received signal is below a predetermined threshold, it transmits a no-signal state notification signal to the operation control unit indicating the no-signal state. When the operation control unit receives the release notification signal, it transmits the mode switching signal indicating the clock regeneration mode to the operating unit, and when it receives the no-signal state notification signal, it transmits the mode switching signal indicating the internal clock operation mode to the operating unit. [Effects of the Invention]
[0010] According to this disclosure, it can operate with an internal clock at the appropriate timing. [Brief explanation of the drawing]
[0011] [Figure 1] This is a diagram showing the PON system of Embodiment 1. [Figure 2] This diagram shows the hardware of the OLT in Embodiment 1. [Figure 3] This is a block diagram showing the functions of the OLT according to Embodiment 1. [Figure 4] This flowchart shows an example of the processing performed by the OLT in Embodiment 1. [Figure 5] This is a block diagram showing the functions of the OLT in Embodiment 2. [Figure 6] This flowchart shows an example of the processing performed by the OLT in Embodiment 2. [Figure 7] This is a block diagram showing the functions of the OLT in Embodiment 3. [Figure 8]It is a flowchart showing an example of the processing executed by the OLT of Embodiment 3.
Embodiment for Carrying Out the Invention
[0012] Hereinafter, embodiments will be described with reference to the drawings. The following embodiments are merely examples, and various modifications are possible within the scope of the present disclosure.
[0013] Embodiment 1. FIG. 1 is a diagram showing the PON system of Embodiment 1. The PON system includes an OLT 100 and ONUs 200_1, 200_2, ···, 200_n (n is a positive integer). The OLT 100 and the ONUs 200_1, 200_2, ···, 200_n communicate via a star coupler 10.
[0014] In addition, the OLT 100 is connected to an upper network. Each of the ONUs 200_1, 200_2, ···, 200_n is connected to a user network. Each of the ONUs 200_1, 200_2, ···, 200_n is generally installed in a user's home. Here, the general term for the ONUs 200_1, 200_2, ···, 200_n is referred to as ONU 200.
[0015] Next, the hardware of the OLT 100 will be described. FIG. 2 is a diagram showing the hardware of the OLT of Embodiment 1. The OLT 100 has a processor 101, a volatile memory device 102, and a non-volatile memory device 103.
[0016] The processor 101 controls the entire OLT 100. For example, the processor 101 is a CPU (Central Processing Unit), an FPGA (Field Programmable Gate Array), etc. The processor 101 may be a multi-processor. Also, the OLT 100 may have a processing circuit.
[0017] The volatile memory device 102 is the main memory device of the OLT 100. For example, the volatile memory device 102 is a RAM (Random Access Memory). The non-volatile memory device 103 is the auxiliary memory device of the OLT 100. For example, the non-volatile memory device 103 is a HDD (Hard Disk Drive) or a SSD (Solid State Drive).
[0018] Next, the functions of the OLT 100 will be described. FIG. 3 is a block diagram showing the functions of the OLT according to the first embodiment. The OLT 100 includes a communication control unit 110, a CDR unit 120, a PON control unit 130, a SNI (Service Node Interface) unit 140, and a CDR control unit 150. Note that the CDR unit 120 is also referred to as an operation unit. The CDR control unit 150 is also referred to as an operation control unit.
[0019] Part or all of the communication control unit 110, the CDR unit 120, the PON control unit 130, the SNI unit 140, and the CDR control unit 150 may be realized by a processing circuit. Also, part or all of the communication control unit 110, the PON control unit 130, the SNI unit 140, and the CDR control unit 150 may be realized as modules of a program executed by the processor 101.
[0020] The communication control unit 110 communicates with the ONU 200. When the communication control unit 110 receives an optical signal from the ONU 200, it converts the optical signal into an electrical signal. The communication control unit 110 transmits the electrical signal to the CDR unit 120. Also, when the communication control unit 110 receives an electrical signal from the PON control unit 130, it converts the electrical signal into an optical signal. The communication control unit 110 transmits the optical signal to the ONU 200. The communication control unit 110 has a LOS (Loss of Signal) detection function. The detailed functions of the communication control unit 110 will be described later.
[0021] The CDR unit 120 operates in either clock playback mode or internal clock operation mode. Clock playback mode is a mode in which clock playback is performed. Clock playback mode may also be expressed as follows: Clock playback mode is a mode in which clock playback is performed in accordance with electrical signals transmitted from the communication control unit 110, or a mode in which clock synchronization is performed based on the CDR. Internal clock operation mode is a mode in which the unit operates with the internal clock set inside the OLT 100. The CDR unit 120 switches modes according to the mode switching signal transmitted by the CDR control unit 150.
[0022] When the CDR unit 120 operates in clock playback mode, the CDR unit 120 performs clock synchronization with the electrical signal transmitted from the communication control unit 110 and performs preprocessing to adjust the data to a state that can be received by the PON control unit 130. After performing preprocessing, the CDR unit 120 transmits the adjusted data to the PON control unit 130. Furthermore, when the CDR unit 120 operates in internal clock mode, the CDR unit 120 transmits meaningless signals such as the IDLE signal to the PON control unit 130.
[0023] The PON control unit 130 transmits the data transmitted by the CDR unit 120 to the SNI unit 140. The PON control unit 130 may also perform FEC (Forward Error Correction) correction on the data transmitted by the CDR unit 120. When the PON control unit 130 receives data transmitted by the SNI unit 140, it transmits the data to the communication control unit 110.
[0024] Furthermore, the PON control unit 130 performs control based on the protocol specified in IEEE 802.3. Specifically, the PON control unit 130 establishes a PON link with the ONU 200 through the transmission and reception of MPCP frames (e.g., Discovery Gate frames, Normal Gate frames, Report frames, etc.), and schedules the start time for transmission of optical signals by the ONU 200.
[0025] The SNI unit 140 transmits the data sent by the PON control unit 130 to the higher-level network. When it receives data from the higher-level network, the SNI unit 140 transmits that data to the PON control unit 130. The functions of the CDR control unit 150 will be explained in detail later.
[0026] Next, we will explain the processes performed by OLT100 using a flowchart. Figure 4 is a flowchart showing an example of the processing performed by the OLT in Embodiment 1. The processing in Figure 4 starts from a no-signal state, where the OLT 100 is not receiving an optical signal. When the OLT 100 is in a no-signal state, the communication control unit 110 notifies the CDR control unit 150 of a no-signal state notification signal indicating that there is no signal. The no-signal state notification signal may also be called an LOS detection notification signal. When the CDR control unit 150 receives the no-signal state notification signal, it transmits a mode switching signal to the CDR 120 indicating the internal clock operation mode. When the CDR unit 120 receives the mode switching signal, it operates in the internal clock operation mode.
[0027] (Step S11) The communication control unit 110 receives an optical signal. (Step S12) The communication control unit 110 transmits a release notification signal to the CDR control unit 150 indicating the release of the no-signal state. (Step S13) The CDR control unit 150 transmits a mode switching signal to the CDR unit 120 indicating the clock playback mode. (Step S14) The CDR unit 120 operates in clock playback mode.
[0028] (Step S15) The communication control unit 110 determines whether or not there is no signal. Specifically, the communication control unit 110 determines that there is no signal if the power of the received signal is below a predetermined threshold. Alternatively, the communication control unit 110 may determine that there is no signal if the amplitude of the signal obtained by voltage conversion of the received signal is below a predetermined threshold. The received signal may be an optical signal, noise, etc.
[0029] The communication control unit 110 determines that there is no signal if the power of the received signal is greater than the threshold. If there is no signal, the process proceeds to step S16. If there is a signal, the process proceeds to step S15.
[0030] (Step S16) The communication control unit 110 transmits a no-signal state notification signal to the CDR control unit 150. (Step S17) The CDR control unit 150 transmits a mode switching signal to the CDR unit 120 indicating the internal clock operation mode. (Step S18) The CDR unit 120 operates in internal clock operation mode.
[0031] According to Embodiment 1, the OLT100 does not operate with an internal clock, using an termination pattern. Therefore, the OLT100 does not operate with an internal clock at the wrong timing. In other words, since the OLT100 operates with an internal clock based on the power of the received signal, it does not operate with an internal clock at the wrong timing. Thus, the OLT100 can operate with an internal clock at the appropriate timing.
[0032] Furthermore, if the ONU stops transmitting the optical signal midway, the OLT cannot detect the termination pattern. Therefore, the method of operating with an internal clock using the termination pattern cannot be used. However, according to Embodiment 1, even in such a case, the OLT 100 operates with an internal clock when the power of the received signal falls below a threshold. Therefore, the OLT 100 can suppress mis-synchronization due to noise.
[0033] Furthermore, there are cases where the optical fiber connected to the OLT is disconnected while the OLT is receiving an optical signal. In this case, the OLT cannot detect the termination pattern. Therefore, the method of operating with an internal clock using the termination pattern cannot be used. However, according to Embodiment 1, even in such a case, the OLT 100 operates with an internal clock when the power of the received signal falls below a threshold. Therefore, the OLT 100 can suppress mis-synchronization due to noise.
[0034] Embodiment 2. Next, Embodiment 2 will be described. Embodiment 2 will mainly describe the differences from Embodiment 1. In Embodiment 2, the explanation of matters common to Embodiment 1 will be omitted.
[0035] Embodiment 1 describes a case where the OLT operates with an internal clock based on the power of the received signal. Embodiment 2 describes a method for switching to the internal clock mode in a different way than in Embodiment 1.
[0036] Figure 5 is a block diagram showing the functions of the OLT in Embodiment 2. The components in Figure 5 that are the same as those shown in Figure 3 are denoted by the same reference numerals as those shown in Figure 3. The OLT100a includes a communication control unit 110a, a PON control unit 130a, and a CDR control unit 150a. The PON control unit 130a is also called the instruction control unit. The CDR control unit 150a is also called the operation control unit. The detailed functions of the communication control unit 110a, the PON control unit 130a, and the CDR control unit 150a will be explained later.
[0037] Next, we will explain the processes performed by OLT100a using a flowchart. Figure 6 is a flowchart showing an example of the processing performed by the OLT in Embodiment 2. The processing in Figure 6 starts with the OLT 100a in a no-signal state. (Step S21) The PON control unit 130a calculates the start time of optical signal reception based on the start time of transmission of the optical signal by the ONU 200. For example, the PON control unit 130a calculates the start time of reception using the transmission start time and the time it takes for the OLT 100a to receive the optical signal transmitted by the ONU 200. The PON control unit 130a transmits the start time of reception to the CDR control unit 150a. Note that the transmission start time is a time determined by the PON control unit 130a in order to prevent optical signal collisions. (Step S22) The CDR control unit 150a transmits a mode switching signal to the CDR unit 120 indicating the clock playback mode based on the reception start time. More specifically, the CDR control unit 150a transmits a mode switching signal to the CDR unit 120 so that the CDR unit 120 can operate in clock playback mode according to the reception start time. (Step S23) The communication control unit 110a receives an optical signal. (Step S24) The CDR unit 120 operates in clock playback mode.
[0038] (Step S25) The PON control unit 130a determines whether or not all of the data based on the optical signal has been received. Specifically, the PON control unit 130a compares the received data based on the optical signal with a predetermined termination pattern. If the PON control unit 130a detects the termination pattern in the data, it determines that all of the data based on the optical signal has been received.
[0039] Once all data based on optical signals has been received, the PON control unit 130a sends a mode switching instruction to the internal clock operation mode to the CDR control unit 150a. Then, the process proceeds to step S28. If not all data based on the optical signal has been received, the process proceeds to step S26.
[0040] (Step S26) The PON control unit 130a determines whether it has received data in which all bits of a predetermined data length have the same sign. For example, the PON control unit 130a determines that it has received data of the same sign if it receives data in which all 16 bits of a predetermined data length are either all 0 or all 1.
[0041] If the PON control unit 130a receives data with the same code, the PON control unit 130a determines that the OLT 100 is in a no-signal state. The PON control unit 130a sends a mode switching instruction to the internal clock operation mode to the CDR control unit 150a. Then, the process proceeds to step S28. If no data with the same code is received, the process proceeds to step S27.
[0042] (Step S27) The PON control unit 130a determines whether it has detected a state in which FEC correction (also known as error correction) cannot be performed at a threshold value or higher. For example, the PON control unit 130a determines whether it has detected 17 or more errors at a threshold value or higher. In other words, the PON control unit 130a determines whether it has detected a block in which 17 or more errors occur within a single FEC codeword (block) at a threshold value or higher. Specifically, for example, if the PON control unit 130a detects 17 or more errors consecutively, the PON control unit 130a determines that it has detected a state in which FEC correction cannot be performed at a threshold value or higher.
[0043] Here, FEC correction cannot be performed in the case of no signal, such as noise. This fact is then utilized. The PON control unit 130a can detect the no-signal state by detecting the state in which FEC correction cannot be performed.
[0044] If a condition where FEC correction cannot be performed is detected at a threshold level or higher, the PON control unit 130a determines that the OLT 100 is in a no-signal state. The PON control unit 130a sends a mode switching instruction to the internal clock operation mode to the CDR control unit 150a. Then, the process proceeds to step S28. If a condition where FEC correction cannot be performed is not detected at a threshold level or higher, the process proceeds to step S25.
[0045] (Step S28) The CDR control unit 150 transmits a mode switching signal to the CDR unit 120 that indicates the internal clock operation mode. (Step S29) The CDR unit 120 operates in internal clock operation mode. Furthermore, steps S22 and S23 may be performed in parallel.
[0046] According to Embodiment 2, the OLT100a does not operate with the internal clock using the termination pattern. Therefore, the OLT100a does not operate with the internal clock at the wrong timing. In other words, the OLT100a operates with the internal clock based on the processing in step S26 or step S27, so it does not operate with the internal clock at the wrong timing. Thus, the OLT100a can operate with the internal clock at the appropriate timing.
[0047] Furthermore, even if the ONU stops transmitting the optical signal midway through, the OLT100a will operate with its internal clock at the appropriate timing. Therefore, the OLT100a can suppress mis-synchronization caused by noise.
[0048] Furthermore, there are cases where the optical fiber connected to the OLT is disconnected while the OLT is receiving an optical signal. Even in this case, the OLT100a operates with its internal clock at the appropriate timing. Therefore, the OLT100a can suppress mis-synchronization caused by noise.
[0049] Embodiment 3. Next, Embodiment 3 will be described. Embodiment 3 will mainly describe the differences from Embodiments 1 and 2. In Embodiment 3, the explanation of matters common to Embodiments 1 and 2 will be omitted. Embodiment 3 describes a case where Embodiment 1 and a part of Embodiment 2 are combined.
[0050] Figure 7 is a block diagram showing the functions of the OLT in Embodiment 3. The components in Figure 7 that are the same as those shown in Figure 3 are denoted by the same reference numerals as those shown in Figure 3. The OLT100b includes a communication control unit 110b, a PON control unit 130b, and a CDR control unit 150b. The communication control unit 110b has an AGC (Auto Gain Control) function. The PON control unit 130b is also called the instruction control unit. The CDR control unit 150b is also called the operation control unit. The functions of the communication control unit 110b, the PON control unit 130b, and the CDR control unit 150b will be explained in detail later.
[0051] Next, we will explain the processes performed by OLT100b using a flowchart. Figure 8 is a flowchart showing an example of the process performed by the OLT in Embodiment 3. The process in Figure 8 starts with the OLT 100b in a no-signal state. (Step S31) The communication control unit 110b receives an optical signal. (Step S32) The communication control unit 110b transmits a release notification signal to the CDR control unit 150b indicating the release of the no-signal state. (Step S33) The CDR control unit 150b transmits a mode switching signal to the CDR unit 120 indicating the clock playback mode. (Step S34) The CDR unit 120 operates in clock playback mode.
[0052] (Step S35) The PON control unit 130b determines whether or not all data based on the optical signal has been received. When all data based on optical signals has been received, the PON control unit 130b sends a mode switching instruction to the CDR control unit 150b to switch to the internal clock operation mode. Then, the process proceeds to step S38. If not all data based on the optical signal has been received, the process proceeds to step S36.
[0053] (Step S36) The communication control unit 110b determines whether or not there is no signal. Specifically, the communication control unit 110b determines that there is no signal if the power of the received signal is below a predetermined threshold. The received signal may be an optical signal, noise, etc. The communication control unit 110b determines that there is no signal if the power of the received signal is greater than the threshold. If there is no signal, the communication control unit 110b sends a no-signal notification signal to the CDR control unit 150b. Then, the process proceeds to step S38. If there is no signal, the process proceeds to step S37.
[0054] (Step S37) The PON control unit 130b determines whether or not it has detected a state in which FEC correction cannot be performed that exceeds a preset threshold. If a condition where FEC correction cannot be performed is detected at a threshold level or higher, the PON control unit 130b determines that the OLT 100b is in a no-signal state. The PON control unit 130b sends a mode switching instruction to the internal clock operation mode to the CDR control unit 150b. Then, the process proceeds to step S38. If a condition where FEC correction cannot be performed is not detected at a threshold level or higher, the process proceeds to step S35.
[0055] Thus, the PON control unit 130b executes the process in step S37 if it has not detected that the OLT 100b is in a no-signal state.
[0056] (Step S38) The CDR control unit 150b transmits a mode switching signal to the CDR unit 120 indicating the internal clock operation mode. (Step S39) The CDR unit 120 operates in internal clock operation mode.
[0057] If noise is input to the communication control unit 110b, the noise is amplified by the AGC (Automatic Gain Control) of the communication control unit 110b. The amplified noise may be input to the PON control unit 130b in a short time. If noise is input to the PON control unit 130b in a short time, the PON control unit 130b may not be able to perform the processing in step S26 (i.e., determining whether or not data of the same code has been received). In such a case, the PON control unit 130b mistakenly treats the noise as data. Even if noise is mistakenly treated as data, the PON control unit 130b can perform step S37, allowing the OLT 100b to operate with its internal clock at the appropriate timing.
[0058] The features of each embodiment described above can be combined with each other as appropriate. [Explanation of symbols]
[0059] 10 Star coupler, 101 Processor, 102 Volatile memory device, 103 Non-volatile memory device, 110, 110a, 110b Communication control unit, 120 CDR unit, 130, 130a, 130b PON control unit, 140 SNI unit, 150, 150a, 150b CDR control unit, 200_1, 200_2, ..., 200_n ONU.
Claims
1. An optical communication device that is a master station device, an operation unit that operates in a clock recovery mode, which is a mode for performing clock recovery, or an internal clock operation mode, which is a mode for operating on an internal clock set in the parent station device, according to a mode switching signal; an operation control unit that transmits the mode switching signal indicating the clock recovery mode to the operation unit when a release notification signal is received, and transmits the mode switching signal indicating the internal clock operation mode to the operation unit when a no-signal state notification signal is received; a communication control unit that communicates with one or more slave station devices that transmit optical signals, and when the optical signals are received, transmits to the operation control unit the release notification signal indicating release of a no-signal state in which the optical signal is not being received, and when, after receiving the optical signal, the power of the received signal is equal to or lower than a predetermined threshold, transmits to the operation control unit the no-signal state notification signal indicating the no-signal state; having Optical communication equipment.
2. The present invention further includes an instruction control unit that transmits a mode switching instruction to the internal clock operation mode to the operation control unit when the parent station device has not detected the no-signal state and has detected a state in which error correction cannot be performed that is equal to or exceeds a preset threshold value before receiving all of the data based on the optical signal, When the operation control unit receives the mode switching instruction, the operation control unit transmits the mode switching signal indicating the internal clock operation mode to the operation unit.
2. The optical communication device according to claim 1.
3. An optical communication device that is a master station device, an operation unit that operates in a clock recovery mode, which is a mode for performing clock recovery, or an internal clock operation mode, which is a mode for operating on an internal clock set in the parent station device, according to a mode switching signal; a communication control unit that communicates with one or more slave station devices that transmit optical signals; an operation control unit that, when a reception start time of the optical signal is received before receiving the optical signal, transmits the mode switching signal indicating the clock recovery mode to the operation unit based on the reception start time, and, when a mode switching instruction is received, transmits the mode switching signal indicating the internal clock operation mode to the operation unit; an instruction control unit that transmits the reception start time to the operation control unit, and transmits the mode switching instruction to the internal clock operation mode to the operation control unit when data of a predetermined data length in which all bits have the same code is received before all data based on the optical signal is received; Optical communication equipment.
4. the instruction control unit transmits the mode switching instruction to the internal clock operation mode to the operation control unit when a state in which error correction cannot be performed is detected to be equal to or greater than a preset threshold value; 4. The optical communication device according to claim 3.
5. A control program for an optical communication device which is a parent station device, the control program comprising an operating unit which operates in a clock regeneration mode, which is a mode for performing clock regeneration, or an internal clock operation mode, which is a mode for operating with an internal clock set within the parent station device, in accordance with a mode switching signal, and a communication control unit which communicates with one or more child station devices which transmit optical signals, an instruction control step of generating a reception start time of the optical signal before receiving the optical signal, and generating a mode switching instruction to the internal clock operation mode when data of a predetermined data length in which all bits have the same code is received before all data based on the optical signal is received; an operation control step of transmitting the mode switching signal indicating the clock recovery mode to the operation unit based on the generated reception start time, and transmitting the mode switching signal indicating the internal clock operation mode to the operation unit when the mode switching instruction is generated; A control program for an optical communication device that causes a processor to execute the above.
6. Having a processor execute: and an instruction control unit step of generating an instruction to switch to the internal clock operation mode when the master station device has not detected a no-signal state and has detected a state in which error correction cannot be performed that is equal to or exceeds a preset threshold value before receiving all of the data based on the optical signal, The operation control step includes transmitting the mode switching signal indicating the internal clock operation mode to the operation unit when the mode switching instruction is generated. A control program for the optical communication device according to claim 5.
7. A control program for an optical communication device which is a parent station device, the control program comprising an operating unit which operates in a clock regeneration mode, which is a mode for performing clock regeneration, or an internal clock operation mode, which is a mode for operating with an internal clock set within the parent station device, in accordance with a mode switching signal, and a communication control unit which communicates with one or more child station devices which transmit optical signals, an instruction control step of generating a reception start time of the optical signal before receiving the optical signal, and generating a mode switching instruction to the internal clock operation mode when data of a predetermined data length in which all bits have the same code is received before all data based on the optical signal is received; an operation control step of transmitting the mode switching signal indicating the clock recovery mode to the operation unit based on the generated reception start time, and transmitting the mode switching signal indicating the internal clock operation mode to the operation unit when the mode switching instruction is generated; A control program for an optical communication device that causes a processor to execute the above.
8. The instruction control step generates the mode switching instruction to the internal clock operation mode when a state in which error correction cannot be performed is detected to be equal to or greater than a preset threshold. A control program for the optical communication device according to claim 7.
