Patent ID: 11223385

Abstract:
An optical apparatus includes an attenuator, a photoelectric convertor, an amplifier, and a processor. the attenuator attenuates signal light. The photoelectric convertor converts the signal light attenuated by the attenuator into an electric signal. The amplifier adjusts a gain of the electric signal. The processor detects a monitor value of a target channel from an output signal of the amplifier, calculates a power value of the target channel from the detected monitor value, calculates a difference value between the power value and a target power value, calculates a attenuation amount by adding a current attenuation amount, which is currently set to the attenuator, to the difference value, controls the gain of the amplifier so that the difference value of the target channel is minimized when the set attenuation amount is less than zero, and sets the attenuation amount to the attenuator when the attenuation amount is zero or more.