CN111431027A - Power-off control method, circuit, device and storage medium - Google Patents

Power-off control method, circuit, device and storage medium Download PDF

Info

Publication number
CN111431027A
CN111431027A CN202010239385.2A CN202010239385A CN111431027A CN 111431027 A CN111431027 A CN 111431027A CN 202010239385 A CN202010239385 A CN 202010239385A CN 111431027 A CN111431027 A CN 111431027A
Authority
CN
China
Prior art keywords
pump laser
power supply
optical attenuator
variation
preset threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010239385.2A
Other languages
Chinese (zh)
Other versions
CN111431027B (en
Inventor
李齐涛
张建涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accelink Technologies Co Ltd
Wuhan Optical Valley Information Optoelectronic Innovation Center Co Ltd
Original Assignee
Accelink Technologies Co Ltd
Wuhan Optical Valley Information Optoelectronic Innovation Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accelink Technologies Co Ltd, Wuhan Optical Valley Information Optoelectronic Innovation Center Co Ltd filed Critical Accelink Technologies Co Ltd
Priority to CN202010239385.2A priority Critical patent/CN111431027B/en
Publication of CN111431027A publication Critical patent/CN111431027A/en
Application granted granted Critical
Publication of CN111431027B publication Critical patent/CN111431027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01SDEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
    • H01S3/00Lasers, i.e. devices using stimulated emission of electromagnetic radiation in the infrared, visible or ultraviolet wave range
    • H01S3/10Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating
    • H01S3/10007Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating in optical amplifiers
    • H01S3/10015Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating in optical amplifiers by monitoring or controlling, e.g. attenuating, the input signal
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01SDEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
    • H01S3/00Lasers, i.e. devices using stimulated emission of electromagnetic radiation in the infrared, visible or ultraviolet wave range
    • H01S3/10Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating
    • H01S3/102Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating by controlling the active medium, e.g. by controlling the processes or apparatus for excitation
    • H01S3/1022Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating by controlling the active medium, e.g. by controlling the processes or apparatus for excitation by controlling the optical pumping

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Plasma & Fusion (AREA)
  • Optics & Photonics (AREA)
  • Lasers (AREA)

Abstract

The embodiment of the invention provides a power-off control method, a circuit, a device and a storage medium, wherein the method is applied to a power supply detection device, and the first end of the power supply detection device is respectively connected with a pump laser and an adjustable optical attenuator; the pump laser and the adjustable optical attenuator form an erbium-doped fiber amplifier, and the second end of the power supply detection device is connected with a power supply for supplying power to the erbium-doped fiber amplifier; the method comprises the following steps: monitoring the voltage output by the power supply; determining the variation of the voltage, and judging whether the variation meets a preset condition; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.

Description

Power-off control method, circuit, device and storage medium
Technical Field
The present invention relates to the field of optical communication technologies, and in particular, to a power-off control method, circuit, device, and storage medium.
Background
Erbium Doped Fiber Amplifiers (EDFAs) are generally composed of a pump laser and a Variable Optical Attenuator (VOA), among others. The working voltage of the pump laser is about 2V, and the working voltage of the VOA is about 4V, so that the VOA cannot work due to power failure firstly when the power failure occurs. Because VOA is decay light power in the light path, can lead to exporting light suddenly grow because of the drop of driving voltage in the power-off process, export light and produce great impact, damage optical device or connector easily. However, no effective solution is available for this problem.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention provide a power-off control method, circuit, device and storage medium.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a power-off control method, which is applied to a power supply detection device, wherein the first end of the power supply detection device is respectively connected with a pump laser and an adjustable optical attenuator; the pump laser and the adjustable optical attenuator form an erbium-doped fiber amplifier, and the second end of the power supply detection device is connected with a power supply for supplying power to the erbium-doped fiber amplifier; the method comprises the following steps:
monitoring the voltage output by the power supply;
determining the variation of the voltage, and judging whether the variation meets a preset condition;
under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
In the foregoing scheme, the determining whether the variation satisfies a preset condition includes:
judging whether the variation is larger than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold.
In the foregoing solution, the controlling to gradually reduce the current input to the pump laser according to a preset rule when the variation satisfies a preset condition includes:
and under the condition that the variable quantity meets a preset condition, controlling to reduce the current input to the pump laser according to the rule that the reduction rate of the current is greater than the change rate of the variable quantity.
In the foregoing aspect, after the case that the variation satisfies a preset condition, the method further includes:
and controlling the current value input to the pump laser to be zero so as to close the pump laser.
The embodiment of the invention provides a power-off control circuit, which comprises: the erbium-doped fiber amplifier consists of a power supply, a power supply detection device and a pump laser and a variable optical attenuator; the first end of the power supply detection device is respectively connected with the pump laser and the variable optical attenuator; the second end of the power supply detection device is connected with the power supply;
the power supply is used for supplying power to the erbium-doped fiber amplifier;
the power supply detection device is used for monitoring the voltage output by the power supply; judging whether the variable quantity meets a preset condition or not; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
In the above aspect, the power detection apparatus includes: a first converter and a controller; the first end of the controller is respectively connected with the pump laser and the adjustable optical attenuator, the second end of the controller is connected with the first end of the first converter, and the second end of the first converter is connected with the power supply; wherein,
the first converter is used for converting a voltage signal provided by the power supply to monitor the voltage output by the power supply;
the controller is used for obtaining the voltage output by the power supply; determining the variation of the voltage, and judging whether the variation is larger than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold; under the condition that the variation is larger than the second preset threshold and smaller than the first preset threshold, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is turned off, and under the condition that the variation is the first preset threshold, turning off the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
In the above scheme, the circuit further includes: a second converter for driving the pump laser and a third converter for driving the variable optical attenuator; the first end of the second converter is connected with the pump laser; the second end of the second converter is connected with the first end of the controller; the first end of the third converter is connected with the variable optical attenuator; the second end of the third converter is connected with the first end of the controller;
the controller is configured to send a first control signal to the second converter when the variation satisfies a preset condition, where the first control signal is used to control the second converter to gradually reduce the current input to the pump laser until the current input to the pump laser is zero, so as to turn off the pump laser; the variable optical attenuator is further configured to send a second control signal to the third converter when the variation reaches the first preset threshold, where the second control signal is used to control the third converter to reduce a current input to the variable optical attenuator to zero, so as to turn off the variable optical attenuator;
the second converter is configured to receive a first control signal sent by the controller, and gradually reduce a current input to the pump laser based on the first control signal until the current input to the pump laser is zero;
and the third converter is used for receiving a second control signal sent by the controller and controlling the current input to the variable optical attenuator to be zero based on the second control signal.
In the foregoing solution, the controller is further configured to control to reduce the current input to the pump laser according to a rule that a reduction rate of the current is greater than a change rate of the change amount when the change amount satisfies a preset condition.
In the foregoing scheme, the controller is further configured to control a current value input to the pump laser to be zero after the variation satisfies a preset condition, so as to turn off the pump laser.
The invention also provides a power detection device, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor realizes any step of the method when executing the program.
The invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, performs any of the steps of the method described above.
The embodiment of the invention provides a power-off control method, a circuit, a device and a storage medium, wherein the method is applied to a power supply detection device, and the first end of the power supply detection device is respectively connected with a pump laser and an adjustable optical attenuator; the pump laser and the adjustable optical attenuator form an erbium-doped fiber amplifier, and the second end of the power supply detection device is connected with a power supply for supplying power to the erbium-doped fiber amplifier; the method comprises the following steps: monitoring the voltage output by the power supply; determining the variation of the voltage, and judging whether the variation meets a preset condition; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator. By adopting the technical scheme of the embodiment of the invention, under the condition that the variation meets the preset condition, the current input to the pump laser is controlled to be gradually reduced according to the preset rule until the pump laser is closed, and under the condition that the variation reaches the first preset threshold value, the variable optical attenuator is closed; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; the pump laser is closed before the adjustable optical attenuator is closed, so that the VOA cannot be powered down and cannot work at first due to the falling of the driving voltage in the power-off process, the stable and monotonous reduction of output light is controlled, and light impact cannot be generated.
Drawings
Fig. 1 is a schematic flow chart of an implementation of a power-off control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a power-off control circuit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another power-off control circuit according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another power-off control circuit according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another power-off control circuit according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware entity structure of the power detection apparatus according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The embodiment provides a power-off control method, which is applied to a power supply detection device, and the functions implemented by the method can be implemented by calling a program code by a processor in the power supply detection device, where of course, the program code can be stored in a computer storage medium, and thus, the power supply detection device at least includes a processor and a storage medium.
The embodiment provides a power-off control method, which is applied to a power supply detection device, wherein a first end of the power supply detection device is respectively connected with a pump laser and an adjustable optical attenuator; the pump laser and the adjustable optical attenuator form an erbium-doped fiber amplifier, and the second end of the power supply detection device is connected with a power supply for supplying power to the erbium-doped fiber amplifier; fig. 1 is a schematic flow chart of an implementation of a power-off control method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step S101: the voltage output by the power supply is monitored.
In this embodiment, the power detection apparatus may monitor the voltage output by the power source in real time, as an example, the voltage output by the source may be 5v when the voltage output by the source is the working voltage, and in practical applications, the voltage output by the power source may be unstable, and a drop may occur.
Step S102: and determining the variation of the voltage, and judging whether the variation meets a preset condition.
In this embodiment, the voltage of power output can fall, and because the working voltage of pump laser instrument is about 2V, and the working voltage of VOA is about 4V, consequently the VOA can fall down earlier and can not work after 4V to the voltage of power output, and the VOA is decay light power in the light path, can lead to exporting light and can suddenly grow because of dropping of driving voltage in the power off-process, exports light and produces great impact. The optical device or the connector is easily damaged. For this reason, the pump laser is turned off before the voltage at the power supply output drops to 4V.
And determining the voltage variation amount to be a difference value of the voltage every preset time to obtain the voltage variation amount, wherein the voltage variation amount can reflect whether the voltage falls and the voltage falling degree. As an example, the determining the amount of change in the voltage may include: fitting a curve of the power supply based on the voltage output by the power supply, and determining the variation of the voltage according to the curve; the curve of the power supply is a curve corresponding to the voltage output by the power supply and the time.
The judging whether the variation meets a preset condition may be judging whether the variation is greater than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold; the second preset threshold is the difference value between the working voltage value output by the power supply and the set power-off threshold; the set power-off threshold value can be determined according to actual conditions; determining that the variation meets a preset condition under the condition that the variation is larger than a second preset threshold and smaller than the first preset threshold; and if the variation quantity is negative, determining that the variation quantity does not meet the preset condition.
As an example, the operating voltage value of the power supply output may be 5v, the set power-off threshold may be 4.4v, the operating voltage value of the variable optical attenuator may be 4v, the second preset threshold may be 0.6v, and the first preset threshold may be 1 v. That is, whether the variation is greater than a second preset threshold and smaller than the first preset threshold may be determined as whether the variation is greater than 0.6v and smaller than 1 v. If the variation is larger than 0.6v and smaller than 1v, determining that the variation meets a preset condition; and if the variation quantity is negative, determining that the variation quantity does not meet the preset condition. In other words, it can also be determined whether the voltage output by the power supply is greater than the set power-off threshold value 4.4v and less than the operating voltage value 4v of the variable optical attenuator. If the voltage output by the power supply is greater than a set power-off threshold value of 4.4v and less than a working voltage value of 4v of the variable optical attenuator, determining that the voltage output by the power supply meets a preset condition; and if the voltage output by the power supply is negative, determining that the voltage output by the power supply does not meet the preset condition.
Step S103: under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
In this embodiment, the first preset threshold may be a difference between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; that is, the first preset threshold is a change value of the working voltage value output by the power supply dropping to the working voltage value of the variable optical attenuator, and can also be understood as a dropping value and a dropping value. As an example, the operating voltage value of the power supply output may be 5v, the operating voltage value of the variable optical attenuator may be 4v, and the first preset threshold may be 1 v.
As an example, in the case that the variation satisfies a preset condition, the variation may be greater than a second preset threshold and smaller than the first preset threshold; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; the second preset threshold is the difference value between the working voltage value output by the power supply and the set power-off threshold; the set power-off threshold value can be determined according to actual conditions.
Under the condition that the variable quantity meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed; as an example, the preset rule may be a rule that the current reduction rate is greater than a change rate of the change amount, the change rate of the change amount may be a change width of the voltage per unit time, the change amount may be denoted as Δ Vp assuming that the voltage of the power supply output is denoted as Vp, and the change rate of the change amount may be denoted as Δ Vp/Δ t. Here, the pump laser is turned off before the output voltage of the power supply drops to the VOA voltage by controlling to reduce the current input to the pump laser in a rule that the rate of reduction of the current is larger than the rate of change of the amount of change. Wherein, by controlling to decrease the current input to the pump laser in accordance with a rule that the rate of decrease of the current is larger than the rate of change of the amount of change, there may be a correspondence between the current and the voltage so as to control the rate of decrease of the current to be larger than the rate of change of the amount of change of the voltage; as an example, the correspondence may be understood as a linear relationship.
And when the variation reaches a first preset threshold, turning off the variable optical attenuator may be understood as turning off the variable optical attenuator after the voltage value output by the power supply drops to the operating voltage value of the variable optical attenuator.
The power-off control method provided by the embodiment of the invention is applied to a power supply detection device, wherein the first end of the power supply detection device is respectively connected with a pump laser and an adjustable optical attenuator; the pump laser and the adjustable optical attenuator form an erbium-doped fiber amplifier, and the second end of the power supply detection device is connected with a power supply for supplying power to the erbium-doped fiber amplifier; the method comprises the following steps: monitoring the voltage output by the power supply; determining the variation of the voltage, and judging whether the variation meets a preset condition; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator. By adopting the technical scheme of the embodiment of the invention, whether the variable quantity meets the preset condition is judged; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; the pump laser is closed before the adjustable optical attenuator is closed, so that the VOA cannot be powered down and cannot work at first due to the falling of the driving voltage in the power-off process, the stable and monotonous reduction of output light is controlled, and light impact cannot be generated.
In an optional embodiment of the present invention, the determining whether the variation satisfies a preset condition includes:
judging whether the variation is larger than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold.
In this embodiment, the second preset threshold is a difference between a working voltage value output by the power supply and a set power-off threshold; the set power-off threshold may be determined according to actual conditions, and is not limited herein. And the first preset threshold is the difference value between the working voltage value output by the power supply and the working voltage value of the variable optical attenuator. If the variation is larger than a second preset threshold and smaller than the first preset threshold, determining that the variation meets a preset condition; and if the variation quantity is negative, determining that the variation quantity does not meet the preset condition.
As an example, when the operating voltage value of the power supply output is 5v, the set power-off threshold may be 4.4v, the operating voltage value of the variable optical attenuator may be 4v, the second preset threshold may be 0.6v, and the first preset threshold may be 1 v. That is, whether the variation is greater than a second preset threshold and smaller than the first preset threshold may be determined as whether the variation is greater than 0.6v and smaller than 1 v. If the variation is greater than 0.6v and less than 1v, a condition is satisfied; if the positive is negative, the condition is not satisfied. In other words, it can also be determined whether the voltage output by the power supply is greater than the set power-off threshold value 4.4v and less than the operating voltage value 4v of the variable optical attenuator. If the voltage output by the power supply is greater than a set power-off threshold value of 4.4v and less than a working voltage value of 4v of the variable optical attenuator, the condition is met; if the positive is negative, the condition is not satisfied.
In an optional embodiment of the present invention, the controlling to gradually decrease the current input to the pump laser according to a preset rule when the variation satisfies a preset condition includes: and under the condition that the variable quantity meets a preset condition, controlling to reduce the current input to the pump laser according to the rule that the reduction rate of the current is greater than the change rate of the variable quantity.
In this embodiment, when the variation satisfies a preset condition, a curve of the power supply may be fitted based on the voltage output by the power supply, and the variation rate of the voltage variation may be determined according to the curve; namely the variation amplitude of the voltage in unit time; the curve of the power supply is a curve corresponding to the voltage output by the power supply and the time. As an example, the voltage of the power supply output may be denoted as Vp, the change amount may be denoted as Δ Vp, and the change rate of the change amount may be denoted as Δ Vp/Δ t. Here, the pump laser is turned off before the output voltage of the power supply drops to the VOA voltage by controlling to reduce the current input to the pump laser in a rule that the rate of reduction of the current is larger than the rate of change of the amount of change. Wherein, by controlling to decrease the current input to the pump laser in accordance with a rule that the rate of decrease of the current is larger than the rate of change of the amount of change, there may be a correspondence between the current and the voltage so as to control the rate of decrease of the current to be larger than the rate of change of the amount of change of the voltage; as an example, the correspondence may be understood as a linear relationship.
In an optional embodiment of the present invention, after the case that the variation satisfies a preset condition, the method further includes: and controlling the current value input to the pump laser to be zero so as to close the pump laser.
In this embodiment, the current value input to the pump laser is directly controlled to be zero to rapidly turn off the pump laser when the variation satisfies the preset condition, so as to turn off the pump laser before the voltage output by the power supply drops to the VOA voltage.
In this embodiment, a power-off control circuit is provided, and fig. 2 is a schematic diagram of a power-off control circuit according to an embodiment of the present invention, as shown in fig. 2, the circuit includes: a power supply 201, a power supply detection device 202 and an erbium-doped fiber amplifier 203 consisting of a pump laser 2031 and an adjustable optical attenuator 2032; a first end of the power detection apparatus 201 is connected to the pump laser 2031 and the adjustable optical attenuator 2032 respectively; a second end of the power supply detection device 202 is connected with the power supply 201; wherein:
the power supply 201 is used for supplying power to the erbium-doped fiber amplifier 203;
the power supply detection device 202 is configured to monitor a voltage output by the power supply; judging whether the variable quantity meets a preset condition or not; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
In this embodiment, the power supply 201 may be any power supply. As an example, the operating voltage of the power supply 201 may be 5V.
Fig. 3 is a schematic diagram of another power-off control circuit according to another embodiment of the present invention, as shown in fig. 3, in another embodiment, the power detection apparatus 202 includes: a first converter 2021 and a controller 2022; a first end of the controller 2022 is connected to the pump laser 2031 and the adjustable optical attenuator 2032, respectively, a second end of the controller 2022 is connected to a first end of the first converter 2021, and a second end of the first converter 2021 is connected to the power supply 201; wherein,
the first converter 2021 is configured to convert a voltage signal provided by the power supply to monitor a voltage output by the power supply;
the controller 2022 is configured to obtain a voltage output by the power supply 201; determining the variation of the voltage, and judging whether the variation is larger than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold; the first preset threshold is a difference value between the working voltage value output by the power supply 201 and the working voltage value of the adjustable optical attenuator 2032; when the variation is greater than the second preset threshold and smaller than the first preset threshold, gradually reducing the current input to the pump laser 2031 according to a preset rule until the pump laser 2031 is turned off, and when the variation reaches the first preset threshold, turning off the adjustable optical attenuator 2032; wherein the pump laser 2031 is turned off before the variable optical attenuator 2032 is turned off.
In this embodiment, the first converter 2021 may be any device capable of converting a voltage signal provided by the power supply, and as an example, the first converter 2021 may be an analog-to-digital converter (ADC) for converting an analog electrical signal provided by the power supply into a digital electrical signal to monitor a voltage output by the power supply,
the controller 2022 may be any control device, and as an example, the controller 2022 may be a Field-Programmable gate array (FPGA), and the FPGA may be in a monitoring state of a power output voltage through the ADC to monitor the voltage Vp output by the power, and determine whether the variation is greater than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold; the second preset threshold is the difference value between the working voltage value output by the power supply and the set power-off threshold; the set power-off threshold value can be determined according to actual conditions; determining that the variation meets a preset condition under the condition that the variation is larger than a second preset threshold and smaller than the first preset threshold; and if the variation quantity is negative, determining that the variation quantity does not meet the preset condition. Under the condition that the variable quantity meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed; as an example, the preset rule may be a rule that the current reduction rate is greater than a change rate of the change amount, the change rate of the change amount may be a change width of the voltage per unit time, the change amount may be denoted as Δ Vp assuming that the voltage of the power supply output is denoted as Vp, and the change rate of the change amount may be denoted as Δ Vp/Δ t. Here, the pump laser is turned off before the output voltage of the power supply drops to the VOA voltage by controlling to reduce the current input to the pump laser in a rule that the rate of reduction of the current is larger than the rate of change of the amount of change. Wherein, by controlling to decrease the current input to the pump laser in accordance with a rule that the rate of decrease of the current is larger than the rate of change of the amount of change, there may be a correspondence between the current and the voltage so as to control the rate of decrease of the current to be larger than the rate of change of the amount of change of the voltage; as an example, the correspondence may be understood as a linear relationship.
Fig. 4 is a schematic diagram of another power-off control circuit according to another embodiment of the present invention, as shown in fig. 4, in another embodiment, the circuit further includes: a second converter 204 for driving the pump laser and a third converter 205 for driving the variable optical attenuator; the first end of the second converter 204 is connected to the pump laser; a second terminal of the second converter 204 is connected to a first terminal of the controller; a first end of the third converter 205 is connected to the variable optical attenuator; a second terminal of the third converter 205 is connected to a first terminal of the controller;
the controller 2022 is configured to send a first control signal to the second converter 204 when the variation satisfies a preset condition, where the first control signal is used to control the second converter 204 to gradually decrease the current input to the pump laser 2031 until the current input to the pump laser 2031 is zero, so as to turn off the pump laser; and is further configured to send a second control signal to the third converter 205, if the variation reaches the first preset threshold, the second control signal being configured to control the third converter 205 to reduce the current input to the variable optical attenuator to zero, so as to turn off the variable optical attenuator 2032;
the second converter 204 is configured to receive the first control signal sent by the controller, and gradually decrease the current input to the pump laser 2031 based on the first control signal until the current input to the pump laser 2031 is zero;
the third converter 205 is configured to receive a second control signal sent by the controller, and control a current input to the variable optical attenuator to be zero based on the second control signal.
In this embodiment, the second converter 204 may be any device capable of converting the first control signal sent by the controller, where the first control signal may be an electrical signal. As an example, the second converter 204 may be a digital-to-analog conversion Device (DAC) for gradually reducing the current input to the pump laser 2031 based on the first control signal until the current input to the pump laser 2031 is zero.
The third converter 205 may be any device capable of converting a second control signal sent by the controller, wherein the second control signal may be an electrical signal. As an example, the third converter 205 may be a digital-to-analog conversion Device (DAC) for controlling the current input to the variable optical attenuator to be zero based on the second control signal.
In other embodiments, the controller 2022 is further configured to control to decrease the current input to the pump laser according to a rule that a rate of decrease of the current is greater than a rate of change of the variation if the variation satisfies a preset condition.
In other embodiments, the controller 2022 is further configured to control the current value input to the pump laser to be zero after the variation satisfies a preset condition, so as to turn off the pump laser.
For convenience of understanding, the first converter 2021 is taken as an ADC, the controller 2022 is taken as an FPGA, the second converter 204 and the third converter 205 are both DACs, and fig. 5 is a schematic diagram of a further power-off control circuit according to an embodiment of the present invention, as shown in fig. 5, the DACs are respectively located in the driving circuits of the pump laser and the variable optical attenuator, and the FPGA can collect the supply voltage Vp by monitoring the supply voltage by the ADC, and calculate Δ Vp/Δ t (the variation amplitude of the voltage in unit time) by fitting a power curve by a least square method based on the voltage. Taking a 5V power supply as an example, firstly setting a power-off threshold value of 4.4V, locking the current state when detecting that the power supply voltage Vp is lower than 4.4V, entering a pump-off program when the power supply voltage continuously drops, controlling the DAC of the pump laser driving circuit to reduce according to a certain proportion by the FPGA, wherein the reduced proportion must be larger than delta Vp/delta t, and turning off the pump laser when the power supply drops to the VOA voltage, and then controlling the DAC of the VOA driving circuit to turn off the VOA.
The power-off control circuit provided by the embodiment of the invention can automatically identify the power failure of the EDFA, and control the action of each optical device in the EDFA during the power failure so as to close the pump laser before closing the adjustable optical attenuator, thereby controlling the stable and monotonous reduction of output light and not generating light impact. In addition, the power-off control circuit is used for power supplies with different working voltages, and programs with different versions do not need to be adapted according to different power supplies. And the output state when the power is off is controllable. The stability and the reliability of the system work are ensured.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
It should be noted that, in the embodiment of the present invention, if the power-off control method is implemented in the form of a software functional module and is sold or used as a standalone product, the power-off control method may also be stored in a computer-readable storage medium. Based on such understanding, the technical embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for enabling a design device of a tunnel steel frame (which may be a personal computer, a server, or a network device) to execute all or part of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present invention provides a power supply detection apparatus, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor executes the computer program to implement any step in the power-off control method provided in the foregoing embodiment.
Correspondingly, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements any step in a power-off control method provided by the above-mentioned embodiment.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention.
It should be noted that fig. 6 is a schematic diagram of a hardware entity structure of a power detection apparatus in an embodiment of the present invention, and as shown in fig. 6, the hardware entity of the power detection apparatus 300 includes: a processor 301 and a memory 303, optionally, the power detection apparatus 300 may further include a communication interface 302.
The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), a Flash Memory (Flash Memory), a magnetic surface Memory, a magnetic Disc, or a Compact Disc Read-Only Memory (CD-ROM), a Random Access Memory (SDRAM), a Dynamic Random Access Memory (RAM) and a Dynamic Random Access Memory (SDRAM), a Dynamic Random Access Memory (SDRAM) and a Dynamic Random Access Memory (SDRAM) are used as examples, but are not limited by any of the invention.
The method disclosed in the above embodiments of the present invention may be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 301. The Processor 301 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 301 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 303, and the processor 301 reads the information in the memory 303 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the design Device of the tunnel steel frame may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable logic devices (P L D, Programmable L) Complex Programmable logic devices (CP L D, Complex Programmable L) analog devices, Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components, for performing the aforementioned methods.
In the embodiments provided in the present invention, it should be understood that the disclosed method and apparatus can be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another observation, or some features may be omitted, or not performed. In addition, the communication connections between the components shown or discussed may be through interfaces, indirect couplings or communication connections of devices or units, and may be electrical, mechanical or other.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a power detection apparatus (which may be a personal computer, a server, or a network device) to perform all or part of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The design method, device and computer storage medium for the determined tunnel supporting system described in the embodiment of the present invention are only examples of the embodiment of the present invention, but are not limited thereto, and the design method, device and computer storage medium for the determined tunnel supporting system are within the scope of the present invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all such changes or substitutions are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A power-off control method is characterized in that the method is applied to a power supply detection device, and a first end of the power supply detection device is respectively connected with a pump laser and an adjustable optical attenuator; the pump laser and the adjustable optical attenuator form an erbium-doped fiber amplifier, and the second end of the power supply detection device is connected with a power supply for supplying power to the erbium-doped fiber amplifier; the method comprises the following steps:
monitoring the voltage output by the power supply;
determining the variation of the voltage, and judging whether the variation meets a preset condition;
under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
2. The method according to claim 1, wherein the determining whether the variation satisfies a preset condition comprises:
judging whether the variation is larger than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold.
3. The method according to claim 1, wherein the controlling to gradually reduce the current input to the pump laser according to a preset rule in the case that the variation satisfies a preset condition comprises:
and under the condition that the variable quantity meets a preset condition, controlling to reduce the current input to the pump laser according to the rule that the reduction rate of the current is greater than the change rate of the variable quantity.
4. The method according to claim 1, wherein after the case that the variation satisfies a preset condition, the method further comprises:
and controlling the current value input to the pump laser to be zero so as to close the pump laser.
5. A power-off control circuit, the circuit comprising: the erbium-doped fiber amplifier consists of a power supply, a power supply detection device and a pump laser and a variable optical attenuator; the first end of the power supply detection device is respectively connected with the pump laser and the variable optical attenuator; the second end of the power supply detection device is connected with the power supply;
the power supply is used for supplying power to the erbium-doped fiber amplifier;
the power supply detection device is used for monitoring the voltage output by the power supply; judging whether the variable quantity meets a preset condition or not; under the condition that the variation meets a preset condition, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variation reaches a first preset threshold, closing the variable optical attenuator; the first preset threshold is a difference value between a working voltage value output by the power supply and a working voltage value of the variable optical attenuator; turning off the pump laser before turning off the adjustable optical attenuator.
6. The circuit of claim 5, wherein the power detection means comprises: a first converter and a controller; the first end of the controller is respectively connected with the pump laser and the adjustable optical attenuator, the second end of the controller is connected with the first end of the first converter, and the second end of the first converter is connected with the power supply; wherein,
the first converter is used for converting a voltage signal provided by the power supply to monitor the voltage output by the power supply;
the controller is used for obtaining the voltage output by the power supply; determining the variation of the voltage, and judging whether the variation is larger than a second preset threshold and smaller than the first preset threshold; wherein the second preset threshold is smaller than the first preset threshold; and under the condition that the variable quantity is greater than the second preset threshold and smaller than the first preset threshold, controlling to gradually reduce the current input to the pump laser according to a preset rule until the pump laser is closed, and under the condition that the variable quantity reaches the first preset threshold, closing the variable optical attenuator.
7. The circuit of claim 5, further comprising: a second converter for driving the pump laser and a third converter for driving the variable optical attenuator; the first end of the second converter is connected with the pump laser; the second end of the second converter is connected with the first end of the controller; the first end of the third converter is connected with the variable optical attenuator; the second end of the third converter is connected with the first end of the controller;
the controller is configured to send a first control signal to the second converter when the variation satisfies a preset condition, where the first control signal is used to control the second converter to gradually reduce the current input to the pump laser until the current input to the pump laser is zero, so as to turn off the pump laser; the variable optical attenuator is further configured to send a second control signal to the third converter when the variation reaches the first preset threshold, where the second control signal is used to control the third converter to reduce a current input to the variable optical attenuator to zero, so as to turn off the variable optical attenuator;
the second converter is configured to receive a first control signal sent by the controller, and gradually reduce a current input to the pump laser based on the first control signal until the current input to the pump laser is zero;
and the third converter is used for receiving a second control signal sent by the controller and controlling the current input to the variable optical attenuator to be zero based on the second control signal.
8. The circuit of claim 6, wherein the controller is further configured to control to reduce the current input to the pump laser according to a rule that a reduction rate of the current is greater than a change rate of the change amount if the change amount satisfies a preset condition.
9. The circuit of claim 6, wherein the controller is further configured to control a current value input to the pump laser to be zero after the variation satisfies a preset condition, so as to turn off the pump laser.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202010239385.2A 2020-03-30 2020-03-30 Power-off control method, circuit, device and storage medium Active CN111431027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010239385.2A CN111431027B (en) 2020-03-30 2020-03-30 Power-off control method, circuit, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010239385.2A CN111431027B (en) 2020-03-30 2020-03-30 Power-off control method, circuit, device and storage medium

Publications (2)

Publication Number Publication Date
CN111431027A true CN111431027A (en) 2020-07-17
CN111431027B CN111431027B (en) 2021-07-16

Family

ID=71549223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010239385.2A Active CN111431027B (en) 2020-03-30 2020-03-30 Power-off control method, circuit, device and storage medium

Country Status (1)

Country Link
CN (1) CN111431027B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746060A (en) * 2021-11-03 2021-12-03 武汉普赛斯电子技术有限公司 Protection device for hot plug of laser device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030095325A1 (en) * 2001-11-22 2003-05-22 Lee Jyung Chan Erbium-doped optical fiber amplifier using input optical signal filtering
CN107968682A (en) * 2016-10-19 2018-04-27 天津中德应用技术大学 Erbium-doped fiber amplifier control system
CN108242967A (en) * 2016-12-26 2018-07-03 海思光电子有限公司 A kind of power regulating method and device
CN109039451A (en) * 2018-09-18 2018-12-18 武汉恒泰通技术有限公司 A kind of optical module monitoring system
CN110463005A (en) * 2017-04-05 2019-11-15 松下知识产权经营株式会社 Laser driven power supply
CN111124028A (en) * 2019-11-15 2020-05-08 苏州浪潮智能科技有限公司 Multi-path combined power supply method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030095325A1 (en) * 2001-11-22 2003-05-22 Lee Jyung Chan Erbium-doped optical fiber amplifier using input optical signal filtering
CN107968682A (en) * 2016-10-19 2018-04-27 天津中德应用技术大学 Erbium-doped fiber amplifier control system
CN108242967A (en) * 2016-12-26 2018-07-03 海思光电子有限公司 A kind of power regulating method and device
CN110463005A (en) * 2017-04-05 2019-11-15 松下知识产权经营株式会社 Laser driven power supply
CN109039451A (en) * 2018-09-18 2018-12-18 武汉恒泰通技术有限公司 A kind of optical module monitoring system
CN111124028A (en) * 2019-11-15 2020-05-08 苏州浪潮智能科技有限公司 Multi-path combined power supply method and device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746060A (en) * 2021-11-03 2021-12-03 武汉普赛斯电子技术有限公司 Protection device for hot plug of laser device

Also Published As

Publication number Publication date
CN111431027B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN111431027B (en) Power-off control method, circuit, device and storage medium
CN102749981B (en) Method and system for controlling hard disk electrification in hard disk array
CN115459309B (en) Energy storage system efficiency evaluation method and device participating in multi-link regulation and control of power grid
CN111836347A (en) Electric quantity display method, device and equipment and readable storage medium
CN113777398A (en) Electric energy meter electric quantity recording method, electric energy meter and readable storage medium
CN112162621B (en) Method, system, equipment and medium for forced current sharing of server power supply
CN115514031A (en) Charging control method and device, computer equipment and storage medium
KR101229494B1 (en) Method for controlling battery power and Apparatus thereof
WO2018159495A1 (en) Sensor circuit, processing method of sensor circuit, sensor device provided with sensor circuit
CN111600355B (en) Charging control method, device and equipment
CN112041782B (en) Power supply controller
CN113884800A (en) Method and device for detecting aging degree of field suppression resistor of generator
CN109995087B (en) Frequency modulation control method and device for power station and frequency modulation system
US20220385091A1 (en) Charge method for battery, storage medium, and terminal
CN109388217B (en) Method, device and system for determining duration of unpowered hard disk
CN112072728B (en) Electric quantity determining method and device, electronic equipment and storage medium
CN117498415B (en) Charging control method of industrial and commercial energy storage system
CN112803524B (en) Battery charging control method, device and terminal
TW201945751A (en) A method and an apparatus for optimizing battery power supply, a storage medium, and an electronic device
CN110970947B (en) Charging method, terminal and computer storage medium
CN112164968B (en) Laser current selection method, system, device and readable storage medium
KR102722945B1 (en) Systems and methods for generating power with fuel cell arrays, control units, and dynamic electrical loads
CN110673977B (en) Data recovery optimization method, device, equipment and medium
CN111381626A (en) Power supply circuit regulation and control management system
JP2022131775A (en) Detection device, detection method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant