CN116208249B - Optical module, control method thereof, terminal and storage medium - Google Patents

Optical module, control method thereof, terminal and storage medium Download PDF

Info

Publication number
CN116208249B
CN116208249B CN202310495277.5A CN202310495277A CN116208249B CN 116208249 B CN116208249 B CN 116208249B CN 202310495277 A CN202310495277 A CN 202310495277A CN 116208249 B CN116208249 B CN 116208249B
Authority
CN
China
Prior art keywords
unit
signal
optical
control
interface unit
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.)
Active
Application number
CN202310495277.5A
Other languages
Chinese (zh)
Other versions
CN116208249A (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.)
Shenzhen Fibertop Technology Co ltd
Original Assignee
Shenzhen Fibertop Technology 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 Shenzhen Fibertop Technology Co ltd filed Critical Shenzhen Fibertop Technology Co ltd
Priority to CN202310495277.5A priority Critical patent/CN116208249B/en
Publication of CN116208249A publication Critical patent/CN116208249A/en
Application granted granted Critical
Publication of CN116208249B publication Critical patent/CN116208249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/80Optical aspects relating to the use of optical transmission for specific applications, not provided for in groups H04B10/03 - H04B10/70, e.g. optical power feeding or optical transmission through water
    • H04B10/806Arrangements for feeding power
    • H04B10/808Electrical power feeding of an optical transmission system

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The invention relates to the technical field of optical communication, and discloses an optical module, a control method thereof, a terminal and a storage medium, wherein the optical module comprises: the optical fiber module comprises an electric interface unit, an optical fiber interface unit, a first switch unit, a second switch unit, an optical emission unit, an optical receiving unit and a control unit; the first switch unit is connected between the light emitting unit and the electric interface unit, the second switch unit is connected between the optical fiber interface unit and the light receiving unit, the light emitting unit is connected with the optical fiber interface unit, the light receiving unit is connected with the electric interface unit, and the control unit is respectively connected with the electric interface unit, the optical fiber interface unit, the first switch unit and the second switch unit; when the optical fiber interface unit is detected to not receive the optical signal, the control unit sends a second closing signal to the second switch unit, so that the power consumption of the optical module is reduced.

Description

Optical module, control method thereof, terminal and storage medium
Technical Field
The present invention relates to the field of optical communications technologies, and in particular, to an optical module, a control method of the optical module, a terminal device, and a computer storage medium.
Background
With the continuous progress of technology, optical communication technology is used as a foundation stone for information to tell a highway, and certainly plays a role, and an optical film block is a device for converting an optical signal into an electrical signal and converting the electrical signal into an optical signal.
In the prior art, the optical module only receives the optical signal but does not transmit the optical signal in a period of time, or only transmits the optical signal but does not receive the optical signal in a period of time, or does not transmit the optical signal nor receive the optical signal in a period of time, however, in any case, the conventional optical module is in a long-term working state, so that the power consumption of the optical module is very high, and the power consumption is high.
Disclosure of Invention
The invention mainly aims to provide an optical module, a control method of the optical module, terminal equipment and a computer storage medium, and aims to solve the technical problem that the optical module in the prior art is high in power consumption and further high in power consumption.
To achieve the above object, the present invention proposes an optical module including: the optical fiber module comprises an electric interface unit, an optical fiber interface unit, a first switch unit, a second switch unit, an optical emission unit, an optical receiving unit and a control unit;
The first switch unit is connected between the light emitting unit and the electric interface unit, the second switch unit is connected between the optical fiber interface unit and the light receiving unit, the light emitting unit is connected with the optical fiber interface unit, the light receiving unit is connected with the electric interface unit, and the control unit is respectively connected with the electric interface unit, the optical fiber interface unit, the first switch unit and the second switch unit;
the optical transmitting unit is used for converting the electric signal sent by the electric interface unit into an optical signal and sending the optical signal to the optical fiber interface unit;
the optical receiving unit is used for converting the optical signal sent by the optical fiber interface unit into an electric signal and sending the electric signal to the electric interface unit;
the control unit is used for sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state when the electric interface unit is detected to not receive an electric signal, and sending a second closing signal to the second switch unit to control the light receiving unit to enter the dormant state when the optical fiber interface unit is detected to not receive an optical signal.
The control unit is further used for sending a first opening signal to the first switch unit to control the light emitting unit to enter a starting state when detecting that the electrical interface unit receives an electrical signal, and sending a second opening signal to the second switch unit to control the light receiving unit to enter the starting state when detecting that the optical fiber interface unit receives an optical signal.
Optionally, the first switching unit includes: the first field effect transistor, the second switch unit includes: a second field effect transistor;
the first field effect tube is connected between the electric interface unit and the light emitting unit and is used for receiving a first closing signal and a first opening signal sent by the control unit;
the second field effect tube is connected between the optical fiber interface unit and the light receiving unit and is used for receiving a second closing signal and a second opening signal sent by the control unit.
Optionally, the gate of the first field effect transistor is connected with the control unit, the source of the first field effect transistor is connected with the light emitting unit, and the drain of the first field effect transistor is connected with the electrical interface unit;
The grid electrode of the second field effect tube is connected with the control unit, the source electrode of the second field effect tube is connected with the light receiving unit, and the drain electrode of the second field effect tube is connected with the optical fiber interface unit.
Optionally, the control unit includes: the device comprises a main controller, a first detection unit and a second detection unit;
the first detection unit is connected between the electric interface unit and the main controller, the second detection unit is connected between the optical fiber interface unit and the main controller, and the main controller is respectively connected with the first field effect tube and the second field effect tube;
the first detection unit is used for detecting an electric signal of the electric interface unit, sending a radio input signal to the main controller when the electric signal is not detected, sending a first closing signal to the first field effect tube to control the light emitting unit to enter a dormant state when the main controller receives the radio input signal, and sending an electric input signal to the main controller when the electric signal of the electric interface unit is detected, and sending a first opening signal to the first field effect tube to control the light emitting unit to enter a starting state when the main controller receives the electric input signal;
The second detection unit is configured to detect an optical signal of the optical fiber interface unit, send a no-light input signal to the main controller when the optical signal is not detected, send a second closing signal to the second field effect transistor to control the optical receiving unit to enter a sleep state when the main controller receives the no-light input signal, and send an optical input signal to the main controller when the optical signal of the optical fiber interface unit is detected, and send a second opening signal to the second field effect transistor to control the optical receiving unit to enter a start state when the main controller receives the optical input signal.
Optionally, the control unit further includes: a gate driver;
the input end of the grid driver is connected with the main controller, the output end of the grid driver is respectively connected with the first field effect tube and the second field effect tube, the grid driver is used for receiving a first driving signal sent by the main controller and controlling the first field effect tube according to the first driving signal, and the grid driver is also used for receiving a second driving signal sent by the main controller and controlling the second field effect tube according to the second driving signal.
To achieve the above object, the present invention provides a control method of an optical module, which is applied to a control unit of an optical module as described above, the control method of an optical module comprising the steps of:
when the electric interface unit is detected to not receive the electric signal, confirming whether the first time when the electric interface unit does not receive the electric signal is larger than or equal to a first preset time, and if the first time is larger than or equal to the first preset time, sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state; and/or that the number of the groups of groups,
when the optical fiber interface unit is detected to not receive the optical signal, whether the second time when the optical signal is not received is larger than or equal to a second preset time is confirmed, and if the second time is larger than or equal to the second preset time, a second closing signal is sent to the second switch unit to control the optical receiving unit to enter a dormant state.
Optionally, after the step of sending a first closing signal to the first switching unit to control the light emitting unit to enter the sleep state, the method further includes:
and when the electric interface unit is detected to receive the electric signal, a first starting signal is sent to the first switch unit to control the light emitting unit to enter a starting state.
Optionally, after the step of sending a second closing signal to the second switching unit to control the light receiving unit to enter the sleep state, the method further includes:
and when the optical fiber interface unit is detected to receive the optical signal, a second starting signal is sent to the optical receiving unit so as to control the optical receiving unit to enter a starting state.
In addition, to achieve the above object, the present invention also provides a terminal device including: the control method comprises the steps of a memory, a processor and a control program of an optical module, wherein the control program of the optical module is stored in the memory and can run on the processor, and the control program of the optical module is executed by the processor to realize the control method of the optical module.
In addition, in order to achieve the above object, the present invention also provides a computer storage medium having stored thereon a control program of an optical module, which when executed by a processor, implements the steps of the control method of an optical module as described above.
The invention provides a control method of an optical module, which comprises the following steps: the optical fiber module comprises an electric interface unit, an optical fiber interface unit, a first switch unit, a second switch unit, an optical emission unit, an optical receiving unit and a control unit; the first switch unit is connected between the light emitting unit and the electric interface unit, the second switch unit is connected between the optical fiber interface unit and the light receiving unit, the light emitting unit is connected with the optical fiber interface unit, the light receiving unit is connected with the electric interface unit, and the control unit is respectively connected with the electric interface unit, the optical fiber interface unit, the first switch unit and the second switch unit; the optical transmitting unit is used for converting the electric signal sent by the electric interface unit into an optical signal and sending the optical signal to the optical fiber interface unit; the optical receiving unit is used for converting the optical signal sent by the optical fiber interface unit into an electric signal and sending the electric signal to the electric interface unit; the control unit is used for sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state when the electric interface unit is detected to not receive an electric signal, and sending a second closing signal to the second switch unit to control the light receiving unit to enter the dormant state when the optical fiber interface unit is detected to not receive an optical signal; the control unit is further used for sending a first opening signal to the first switch unit to control the light emitting unit to enter a starting state when detecting that the electrical interface unit receives an electrical signal, and sending a second opening signal to the second switch unit to control the light receiving unit to enter the starting state when detecting that the optical fiber interface unit receives an optical signal.
The invention provides a control method of an optical module, which is applied to a control unit of the optical module, and comprises the following steps: when the electric interface unit is detected to not receive the electric signal, confirming whether the first time when the electric interface unit does not receive the electric signal is larger than or equal to a first preset time, and if the first time is larger than or equal to the first preset time, sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state; and/or when the optical fiber interface unit is detected to not receive the optical signal, confirming whether the second time when the optical signal is not received is greater than or equal to a second preset time, and if the second time is greater than or equal to the second preset time, sending a second closing signal to the second switch unit to control the optical receiving unit to enter a dormant state.
Compared with the traditional optical module, the control unit controls the first switch unit to control the optical transmitting unit to enter the dormant state and the starting state, and controls the second switch unit to control the optical receiving unit to enter the dormant state and the starting state, so that the power consumption of the optical transmitting unit is reduced when the optical module does not transmit optical signals, the optical receiving unit enters the dormant state when the optical module does not receive optical signals, the power consumption of the optical receiving unit is reduced, and the optical transmitting unit and the optical receiving unit enter the dormant state simultaneously when the optical module does not transmit optical signals and does not receive optical signals, and the power consumption of the optical transmitting unit and the optical receiving unit is reduced, thereby reducing the power consumption of the optical module and further reducing the power consumption.
Drawings
FIG. 1 is a schematic diagram of an embodiment of an optical module according to the present invention;
FIG. 2 is a schematic diagram of a first switching unit and a second switching unit of the optical module of the present invention;
FIG. 3 is a schematic diagram of the control unit of the optical module of the present invention;
FIG. 4 is a schematic diagram of a gate driver of an optical module according to the present invention;
fig. 5 is a schematic view of a light emitting unit structure of the optical module of the present invention;
fig. 6 is a schematic view of a light receiving unit structure of the optical module of the present invention;
fig. 7 is a schematic structural diagram of hardware operation of a terminal device according to an embodiment of the present invention.
Reference numerals illustrate:
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
In the present invention, unless specifically stated and limited otherwise, the terms "connected," "affixed," and the like are to be construed broadly, and for example, "affixed" may be a fixed connection, a removable connection, or an integral body; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, descriptions such as those referred to as "first," "second," and the like, are provided for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implying an order of magnitude of the indicated technical features in the present disclosure. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
The embodiment of the invention provides an optical module. Referring to fig. 1, fig. 1 is a schematic structural diagram of an optical module according to an embodiment of the invention.
In a first embodiment of the optical module of the present invention, the optical module comprises: an electrical interface unit 10, an optical fiber interface unit 20, a first switching unit 30, a second switching unit 40, a light emitting unit 50, a light receiving unit 60, and a control unit 70;
the first switch unit 30 is connected between the light emitting unit 50 and the electrical interface unit 10, the second switch unit 40 is connected between the optical fiber interface unit 20 and the light receiving unit 60, the light emitting unit 50 is connected with the optical fiber interface unit 20, the light receiving unit 60 is connected with the electrical interface unit 10, and the control unit 70 is connected with the electrical interface unit 10, the optical fiber interface unit 20, the first switch unit 30, and the second switch unit 40, respectively;
the optical transmitting unit 50 is configured to convert an electrical signal transmitted by the electrical interface unit 10 into an optical signal, and transmit the optical signal to the optical fiber interface unit 20;
the optical receiving unit 60 is configured to convert an optical signal transmitted from the optical fiber interface unit 20 into an electrical signal, and transmit the electrical signal to the electrical interface unit 10;
The control unit 70 is configured to send a first shutdown signal to the first switch unit 30 to control the light emitting unit 50 to enter a sleep state when detecting that the electrical interface unit 10 does not receive an electrical signal, and send a second shutdown signal to the second switch unit 40 to control the light receiving unit 60 to enter a sleep state when detecting that the optical fiber interface unit 20 does not receive an optical signal;
the control unit 70 is further configured to send a first on signal to the first switch unit 30 to control the light emitting unit 50 to enter an activated state when detecting an electrical signal of the electrical interface unit 10, and the control unit 70 is further configured to send a second on signal to the second switch unit 40 to control the light receiving unit 60 to enter an activated state when detecting an optical signal of the optical fiber interface unit 20.
It should be noted that, the optical module only receives the optical signal and does not transmit the optical signal in a period of time, at this time, the transmitting unit of the optical module is always in an operating state, and only transmits the optical signal and does not receive the optical signal in a period of time, at this time, the receiving unit of the optical module is also always in an operating state, that is, the receiving unit detects that the component is always in an operating state, and does not transmit the optical signal and does not receive the optical signal in a period of time, so for the commercial application field using a large number of optical modules, the power consumption in the non-operating state is very large, and the optical module in the operating state for a long time has very high temperature and is also very easy to be damaged.
In this embodiment, as shown in the schematic structural diagram of the optical module in fig. 1, the control unit 70 collects the electrical signal of the electrical interface unit 10 and the optical signal of the optical fiber interface unit 20, and when the control unit 70 detects that the electrical interface unit 10 does not receive the electrical signal, it sends a first shutdown signal to the first switch unit 30, at this time, the electrical interface unit 10 and the optical emission unit 50 enter a disconnected state, so as to control the optical emission unit 50 to enter a sleep state, and when the control unit 70 detects that the optical fiber interface unit 20 does not receive the optical signal, it sends a second shutdown signal to the second switch unit 40, at this time, the optical fiber interface unit 20 and the optical receiving unit 60 enter a disconnected state, so as to control the optical receiving unit 60 to enter a sleep state, and it should be noted that the MCU may be CMS79F113, for example, have 8 pins, and may be connected to 6 pins in addition to two power supply pins.
It should be noted that, in the present embodiment, the first switch unit 30 is disposed between the electrical interface unit 10 and the light emitting unit 50, and before the light emitting unit 50 converts the electrical signal into the optical signal, the operation state of the light emitting unit 50 is controlled, and meanwhile, the second switch unit 40 is disposed between the optical fiber interface unit 20 and the light emitting unit 50, and before the light emitting unit 50 converts the electrical signal into the optical signal, the operation state of the light emitting unit 50 is controlled, and it should be understood that the operation states of the light emitting unit 50 and the light receiving unit 60 are individually controlled, so that it is satisfied that the optical module is in the sleep state when only the optical signal is transmitted, or that the optical module is in the sleep state when only the optical signal is received, or that the optical module is not transmitting the optical signal, and the light receiving unit 60 and the light emitting unit 50 are in the sleep state, thereby greatly reducing the power consumption of the optical module and further reducing the power consumption of the optical module.
In the present embodiment, the control unit 70 transmits the first on signal to the first switching unit 30 upon detecting that the electrical interface unit 10 receives the electrical signal, controls the first switching unit 30 to turn on, the electrical signal of the electrical interface unit 10 is transmitted to the optical fiber interface unit 20 through the first switching unit 30 after the first off signal is transmitted to the optical transmitting unit, and finally transmits the optical signal to the optical fiber interface unit 20, the control unit 70 transmits the second on signal to the second switching unit 40 upon detecting that the optical fiber interface unit 20 receives the optical signal, controls the second switching unit 40 to turn on, the optical signal of the optical fiber interface unit 20 is transmitted to the optical receiving unit 60 through the second switching unit 40 after the optical signal is transmitted to the optical receiving unit 60 after the second switching unit 40 is transmitted to the optical receiving unit 60, and finally transmits the electrical signal to the optical fiber interface unit 20, it should be understood that the control unit 70 transmits the first on signal to the first switching unit 30 is transmitted after the first off signal is transmitted to the first switching unit 30, and the control unit 70 transmits the second on signal to the second switching unit 40 after the second off signal is transmitted to the second switching unit 40.
In addition, as shown in the schematic structure of the light emitting unit of the light module of the present invention in fig. 5, the light emitting unit includes a laser diode LD, a monitor photodiode MD and an amplifying driving circuit, the laser diode LD is used as a light source, and compared with a semiconductor light emitting diode, the light emitting unit has lower power consumption, higher output power and higher coupling amplification rate, and after the electric signal is input into the amplifying driving circuit, the electric signal is converted into an optical signal by the laser diode LD and then sent to the optical fiber interface unit, specifically, the anode of the laser diode LD is connected with the cathode of the monitor photodiode MD, the cathode of the laser diode LD is connected with the amplifying driving circuit and the dc bias, respectively, and the optical power monitor automatic power control monitoring unit is connected with the anode of the photodiode MD.
As shown in fig. 6, the optical receiving unit includes a photodiode VD, a preamplifier TIA, a first capacitor C1, a second capacitor C2, and a post-amplifier, where the photodiode VD in fig. 6 converts a received optical signal into an electrical signal, the preamplifier TIA converts a current signal into a voltage signal, and amplifies the voltage signal into a high voltage gain, the post-amplifier equalizes a signal output from the preamplifier to an amplitude level comfortable for outputting a subsequent digital current, specifically, a cathode of the photodiode VD is connected with a bias current, an anode of the photodiode VD is connected with an input terminal of the preamplifier TIA, a power supply terminal of the preamplifier TIA is connected with respective first terminals of the first capacitor C1 and the second capacitor C2, and respective second terminals of the first capacitor C1 and the second capacitor C2 are connected with the post-amplifier.
Optionally, in some possible embodiments, the first switching unit 30 includes: the first fet M1, the second switching unit 40 includes: a second field effect transistor M2;
the first fet M1 is connected between the electrical interface unit 10 and the light emitting unit 50, and the first fet M1 is configured to receive a first off signal and a first on signal sent by the control unit 70;
The second fet M2 is connected between the optical fiber interface unit 20 and the light receiving unit 60, and the second fet M2 is configured to receive a second off signal and a second on signal sent by the control unit 70.
As shown in schematic diagrams of the first switching unit and the second switching unit in fig. 2, the field effect transistor is used as a switching tube, the signal of the structure control unit 70 is turned on and off, the first switching unit 30 may be specifically a first field effect transistor M1, the first field effect transistor M1 is controlled by the control unit 70, so as to control the working state of the light emitting unit 50, the second field effect transistor M2 is controlled by the control unit 70, so as to control the working state of the light receiving unit 60, and the first field effect transistor M1 and the second field effect transistor M2 respectively use N-type MOS transistors.
In addition, it should be noted that the first switch unit and the second switch unit may be a tube opener, or other devices with a switch function, for receiving an on signal of the control unit 70 to open the switch device, and receiving an off signal of the control unit 70 to close the switch device.
Optionally, in some possible embodiments, the gate of the first fet M1 is connected to the control unit 70, the source of the first fet M1 is connected to the light emitting unit 50, and the drain of the first fet M1 is connected to the electrical interface unit 10;
The gate of the second fet M2 is connected to the control unit 70, the source of the second fet M2 is connected to the light receiving unit 60, and the drain of the second fet M2 is connected to the optical fiber interface unit 20.
It should be noted that, the first field effect transistor M1 and the second field effect transistor M2 may be used in combination with a diode, and the specific connection manner may be that an anode of the diode is connected to a source of the first field effect transistor M1, a cathode of the diode is connected to a drain of the first field effect transistor M1, and the second field effect transistor M2 is also the same.
Optionally, in some possible embodiments, the control unit 70 includes: a main controller 72, a first detection unit 71, and a second detection unit 73;
the first detection unit 71 is connected between the electrical interface unit 10 and the main controller 72, and the second detection unit 73 is connected between the optical fiber interface unit 20 and the main controller 72;
the first detecting unit 71 is configured to detect an electrical signal of the electrical interface unit 10, send a no-electrical input signal to the main controller 72 when the electrical signal is not detected, send a first turn-off signal to the first fet M1 to control the light emitting unit 50 to enter a sleep state when the no-electrical input signal is received by the main controller 72, and send an electrical input signal to the main controller 72 when the electrical signal of the electrical interface unit 10 is detected, and send a first turn-on signal to the first fet M1 to control the light emitting unit 50 to enter an on state when the electrical input signal is received by the main controller 72;
The second detecting unit 73 is configured to detect an optical signal of the optical fiber interface unit 20, send a no optical input signal to the main controller 72 when the optical signal is not detected, send a second off signal to the second fet M2 to control the light receiving unit 60 to enter a sleep state when the main controller 72 receives the no optical input signal, and send an optical input signal to the main controller 72 when the optical signal of the optical fiber interface unit 20 is detected, and send a second on signal to the second fet M2 to control the light receiving unit 60 to enter a start state when the optical input signal is received by the main controller 72.
Illustratively, as shown in the schematic structural diagram of the control unit in fig. 3, the first detecting unit 71 is configured to detect an electrical signal of the electrical interface unit 10, send a no-electrical input signal to the main controller 72 when the electrical signal is not detected, send a first shutdown signal to the gate of the first fet M1 after the no-electrical input signal is not received by the main controller 72, so that the light emitting unit 50 is disconnected from the electrical interface unit 10, enter the sleep state, the second detecting unit 73 is configured to detect an optical signal of the optical fiber interface unit 20, send a no-electrical input signal to the main controller 72 when the optical signal is not detected, and send a second shutdown signal to the gate of the second fet M2 after the no-electrical input signal is not received by the main controller 72, so that the light receiving unit 60 is disconnected from the optical fiber interface unit 20, and the light receiving unit enters the sleep state.
Optionally, in some possible embodiments, the control unit further comprises: a gate driver G1;
the input end of the gate driver G1 is connected to the main controller 72, the output end of the gate driver G1 is connected to the first fet M1 and the second fet M2, the gate driver G1 is configured to receive a first driving signal TA sent by the main controller 72 and control the first fet M1 according to the first driving signal TA, and the gate driver G1 is further configured to receive a second driving signal TB sent by the main controller 72 and control the second fet M2 according to the second driving signal TB.
Illustratively, as shown in the gate driver schematic of fig. 4, the main controller 72 controls the gate driver G1 through PWM driving, the gate driver G1 controls the first fet M1 through receiving the first off driving signal TA of the main controller 72, and the gate driver G1 controls the second fet M2 through receiving the second driving signal TB of the main controller 72.
Illustratively, when the main controller 72 sends the first off driving signal TA1 to the gate driver G1, the gate driver G1 turns off the first fet M1, when the main controller 72 sends the first on driving signal TA2 to the gate driver G1, the gate driver G1 turns on the first fet M1, when the main controller 72 sends the second off driving signal TB1 to the gate driver G1, the gate driver G1 turns off the second fet M2, and when the main controller 72 sends the second on driving signal TB2 to the gate driver G1, the gate driver G1 turns on the second fet M2.
The invention provides a control method of an optical module, which comprises the following steps: the optical fiber module comprises an electric interface unit, an optical fiber interface unit, a first switch unit, a second switch unit, an optical emission unit, an optical receiving unit and a control unit; the first switch unit is connected between the light emitting unit and the electric interface unit, the second switch unit is connected between the optical fiber interface unit and the light receiving unit, the light emitting unit is connected with the optical fiber interface unit, the light receiving unit is connected with the electric interface unit, and the control unit is respectively connected with the electric interface unit, the optical fiber interface unit, the first switch unit and the second switch unit; the optical transmitting unit is used for converting the electric signal sent by the electric interface unit into an optical signal and sending the optical signal to the optical fiber interface unit; the optical receiving unit is used for converting the optical signal sent by the optical fiber interface unit into an electric signal and sending the electric signal to the electric interface unit; the control unit is used for sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state when the electric interface unit is detected to not receive an electric signal, and sending a second closing signal to the second switch unit to control the light receiving unit to enter the dormant state when the optical fiber interface unit is detected to not receive an optical signal; the control unit is further used for sending a first opening signal to the first switch unit to control the light emitting unit to enter a starting state when detecting that the electrical interface unit receives an electrical signal, and sending a second opening signal to the second switch unit to control the light receiving unit to enter the starting state when detecting that the optical fiber interface unit receives an optical signal.
The control unit controls the first switch unit to control the light emitting unit to enter the dormant state, and controls the second switch unit to control the light receiving unit to enter the dormant state, so that the invention realizes that the light emitting unit enters the dormant state when the light module does not send the light signal, reduces the power consumption of the light emitting unit, reduces the power consumption of the light receiving unit when the light module does not receive the light signal, and reduces the power consumption of the light emitting unit and the light receiving unit simultaneously when the light module does not send the light signal or receive the light signal, and reduces the power consumption of the light emitting unit and the light receiving unit, thereby reducing the power consumption of the light module and further reducing the power consumption of the power consumption.
The invention also provides a control method of the optical module, which is applied to the control unit of the optical module, and comprises the following steps:
step S10: when the electric interface unit is detected to not receive the electric signal, confirming whether the first time when the electric interface unit does not receive the electric signal is larger than or equal to a first preset time, and if the first time is larger than or equal to the first preset time, sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state; and/or that the number of the groups of groups,
In this embodiment, when the control unit controls the optical module, when the electrical interface unit does not receive the electrical signal, it is determined whether the first time when the electrical interface unit does not receive the electrical signal is greater than or equal to a first preset time, and if the first time is greater than or equal to the first preset time, a first closing signal is sent to the first switch unit to control the optical emission unit to enter the sleep state.
It should be noted that, in this embodiment, the first preset time may be set in a user-defined manner, specifically may be set for 3min, 5min, or 10min, when the control unit detects that the electrical interface unit does not receive the electrical signal, it confirms whether the first time when the electrical interface unit does not receive the electrical signal is greater than 10min, and if the first time is greater than or equal to 10min, the control unit sends a first closing signal to the first switch unit to control the light emitting unit to enter the sleep state, so that when the light module does not send the light signal, the light emitting unit reduces power consumption, and further reduces power consumption.
Optionally, in some possible embodiments, after the step of "sending a first close signal to the first switch unit to control the light emitting unit to enter a sleep state" in step S10, the control method of the optical module of the present invention further includes the following steps:
Step S30: and when the electric interface unit is detected to receive the electric signal, a first starting signal is sent to the first switch unit to control the light emitting unit to enter a starting state.
In this embodiment, after sending the second off signal to the second switch unit to control the light receiving unit to enter the sleep state, the control unit sends the first on signal to the first switch unit to control the light emitting unit to enter the on state when detecting that the electrical interface unit receives the electrical signal.
In this embodiment, the control unit sends the first on signal to the first switch unit to control the light emitting unit to enter the on state immediately when detecting that the electrical interface unit receives the electrical signal after sending the second off signal to the second switch unit to control the light receiving unit to enter the sleep state, and sends the electrical signal to the optical fiber interface unit after the light emitting unit receives the electrical signal and converts the electrical signal into the optical signal.
It should be noted that, after the control module sends the first opening signal to the first switch unit and turns off the first switch unit, if the first switch unit is not turned off, it means that there is an electrical signal sent to the electrical interface module all the time within the first preset time, and then the optical emission unit converts the electrical signal into an optical signal and sends the optical signal to the optical fiber interface module.
Step S20: when the optical fiber interface unit is detected to not receive the optical signal, whether the second time when the optical signal is not received is larger than or equal to a second preset time is confirmed, and if the second time is larger than or equal to the second preset time, a second closing signal is sent to the second switch unit to control the optical receiving unit to enter a dormant state.
In this embodiment, when the control unit controls the optical module, when the optical fiber interface unit does not receive the optical signal, it is determined whether the second time when the optical signal is not received is greater than or equal to a second preset time, and if the second time is greater than or equal to the second preset time, a second closing signal is sent to the second switch unit to control the optical receiving unit to enter the sleep state.
It should be noted that, in this embodiment, the second preset time may be set in a user-defined manner, specifically may be set for 3min, 5min, or 10min, and the first preset time and the second preset time may be set to be the same or different according to different actual application scenarios.
Optionally, in some possible embodiments, after the step of "sending a second close signal to the second switch unit to control the light receiving unit to enter the sleep state" in step S20, the control method of the optical module of the present invention further includes the following steps:
Step S40: and when the optical fiber interface unit is detected to receive the optical signal, a second starting signal is sent to the optical receiving unit so as to control the optical receiving unit to enter a starting state.
In this embodiment, after the control unit sends the second closing signal to the second switch unit to control the light receiving unit to enter the sleep state, when the optical fiber interface unit is detected to receive the optical signal, the control unit sends the second starting signal to the light receiving unit to control the light receiving unit to enter the starting state.
In this embodiment, after the control unit sends the second closing signal to the second switch unit to control the optical receiving unit to enter the sleep state, when the optical fiber interface unit is detected to receive the optical signal, the control unit immediately sends the second starting signal to the optical receiving unit to control the optical receiving unit to enter the starting state, and after the optical receiving unit receives the optical signal and converts the optical signal into an electrical signal, the electrical signal is sent to the electrical interface unit.
It should be noted that, after the control module sends the second opening signal to the second switch unit and turns off the second switch unit, if the second switch unit is not turned off, it means that there is an optical signal sent to the optical fiber interface module all the time within the first preset time, and then the optical emission unit converts the electrical signal into an optical signal and sends the optical signal to the optical fiber interface module.
Compared with the traditional optical module, the control unit controls the first switch unit to control the optical transmitting unit to enter the dormant state and the starting state, and controls the second switch unit to control the optical receiving unit to enter the dormant state and the starting state, so that the power consumption of the optical transmitting unit is reduced when the optical module does not transmit optical signals, the optical receiving unit enters the dormant state when the optical module does not receive optical signals, the power consumption of the optical receiving unit is reduced, and the optical transmitting unit and the optical receiving unit enter the dormant state simultaneously when the optical module does not transmit optical signals and does not receive optical signals, and the power consumption of the optical transmitting unit and the optical receiving unit is reduced, thereby reducing the power consumption of the optical module and further reducing the power consumption.
In addition, the embodiment of the invention shown in fig. 7 relates to a schematic structural diagram of hardware operation of a terminal device, and further proposes a terminal device, which includes: the control method comprises the steps of a memory, a processor and a control program of an optical module, wherein the control program of the optical module is stored in the memory and can run on the processor, and the control program of the optical module is executed by the processor to realize the control method of the optical module.
The steps implemented when the control program of the optical module running on the processor is executed may refer to various embodiments of the control method of the optical module of the present invention, which are not described herein again.
In addition, the embodiment of the invention also provides a computer storage medium, which is applied to a computer, and the computer storage medium can be a nonvolatile computer readable computer storage medium, and a control program of an optical module is stored on the computer storage medium, and when the control program of the optical module is executed by a processor, the steps of the control method of the optical module are realized.
The steps implemented when the control program of the optical module running on the processor is executed may refer to various embodiments of the control method of the optical module of the present invention, which are not described herein again.
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 system 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 system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a computer storage medium (such as a Flash memory, a ROM/RAM, a magnetic disk, an optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.), a controller for controlling the storage medium to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. An optical module, characterized in that the optical module comprises: the optical fiber module comprises an electric interface unit, an optical fiber interface unit, a first switch unit, a second switch unit, an optical emission unit, an optical receiving unit and a control unit;
the first switch unit is connected between the light emitting unit and the electric interface unit, the second switch unit is connected between the optical fiber interface unit and the light receiving unit, the light emitting unit is connected with the optical fiber interface unit, the light receiving unit is connected with the electric interface unit, and the control unit is respectively connected with the electric interface unit, the optical fiber interface unit, the first switch unit and the second switch unit;
the optical transmitting unit is used for converting the electric signal sent by the electric interface unit into an optical signal and sending the optical signal to the optical fiber interface unit;
the optical receiving unit is used for converting the optical signal sent by the optical fiber interface unit into an electric signal and sending the electric signal to the electric interface unit;
the control unit is used for sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state when the electric interface unit is detected to not receive an electric signal, and sending a second closing signal to the second switch unit to control the light receiving unit to enter the dormant state when the optical fiber interface unit is detected to not receive an optical signal;
The control unit is further used for sending a first opening signal to the first switch unit to control the light emitting unit to enter a starting state when detecting that the electrical interface unit receives an electrical signal, and sending a second opening signal to the second switch unit to control the light receiving unit to enter the starting state when detecting that the optical fiber interface unit receives an optical signal;
the first switching unit includes: the first field effect transistor, the second switch unit includes: a second field effect transistor;
the first field effect tube is connected between the electric interface unit and the light emitting unit, and is used for receiving a first closing signal and a first opening signal sent by the control unit, and controlling the first field effect tube through the control unit so as to control the working state of the light emitting unit;
the second field effect tube is connected between the optical fiber interface unit and the light receiving unit, and is used for receiving a second closing signal and a second opening signal sent by the control unit, controlling the second field effect tube by the control unit to control the working state of the light receiving unit, and the first field effect tube and the second field effect tube respectively adopt N-type MOS tubes.
2. The optical module of claim 1, wherein a gate of the first field effect transistor is connected to the control unit, a source of the first field effect transistor is connected to the light emitting unit, and a drain of the first field effect transistor is connected to the electrical interface unit;
the grid electrode of the second field effect tube is connected with the control unit, the source electrode of the second field effect tube is connected with the light receiving unit, and the drain electrode of the second field effect tube is connected with the optical fiber interface unit.
3. The light module of claim 2, wherein the control unit comprises: the device comprises a main controller, a first detection unit and a second detection unit;
the first detection unit is connected between the electric interface unit and the main controller, the second detection unit is connected between the optical fiber interface unit and the main controller, and the main controller is respectively connected with the first field effect tube and the second field effect tube;
the first detection unit is used for detecting an electric signal of the electric interface unit, sending a radio input signal to the main controller when the electric signal is not detected, sending a first closing signal to the first field effect tube to control the light emitting unit to enter a dormant state when the main controller receives the radio input signal, and sending an electric input signal to the main controller when the electric signal of the electric interface unit is detected, and sending a first opening signal to the first field effect tube to control the light emitting unit to enter a starting state when the main controller receives the electric input signal;
The second detection unit is configured to detect an optical signal of the optical fiber interface unit, send a no-light input signal to the main controller when the optical signal is not detected, send a second closing signal to the second field effect transistor to control the optical receiving unit to enter a sleep state when the main controller receives the no-light input signal, and send an optical input signal to the main controller when the optical signal of the optical fiber interface unit is detected, and send a second opening signal to the second field effect transistor to control the optical receiving unit to enter a start state when the main controller receives the optical input signal.
4. A light module as recited in claim 3, wherein the control unit further comprises: a gate driver;
the input end of the grid driver is connected with the main controller, the output end of the grid driver is respectively connected with the first field effect tube and the second field effect tube, the grid driver is used for receiving a first driving signal sent by the main controller and controlling the first field effect tube according to the first driving signal, and the grid driver is also used for receiving a second driving signal sent by the main controller and controlling the second field effect tube according to the second driving signal.
5. A control method of an optical module, characterized in that the control method of an optical module is applied to the control unit of an optical module as claimed in any one of claims 1 to 4, the first switching unit comprising: the first field effect transistor, the second switch unit includes: the second field effect tube, the first field effect tube and the second field effect tube adopt N type MOS tube respectively, the control method of the optical module includes:
when the electric interface unit is detected to not receive the electric signal, confirming whether the first time when the electric interface unit does not receive the electric signal is larger than or equal to a first preset time, and if the first time is larger than or equal to the first preset time, sending a first closing signal to the first switch unit to control the light emitting unit to enter a dormant state; and/or that the number of the groups of groups,
when the optical fiber interface unit is detected to not receive the optical signal, whether the second time when the optical signal is not received is larger than or equal to a second preset time is confirmed, and if the second time is larger than or equal to the second preset time, a second closing signal is sent to the second switch unit to control the optical receiving unit to enter a dormant state.
6. The method of controlling an optical module according to claim 5, wherein after the step of transmitting a first closing signal to the first switching unit to control the light emitting unit to enter a sleep state, the method further comprises:
and when the electric interface unit is detected to receive the electric signal, a first starting signal is sent to the first switch unit to control the light emitting unit to enter a starting state.
7. The method of controlling an optical module according to claim 6, wherein after the step of transmitting a second closing signal to the second switching unit to control the light receiving unit to enter a sleep state, the method further comprises:
and when the optical fiber interface unit is detected to receive the optical signal, a second starting signal is sent to the optical receiving unit so as to control the optical receiving unit to enter a starting state.
8. A terminal device, characterized in that the terminal device comprises: memory, a processor and a control program of an optical module stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the control method of an optical module according to any one of claims 5 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program of an optical module, which when executed by a processor, implements the steps of the control method of an optical module according to any one of claims 5 to 7.
CN202310495277.5A 2023-05-05 2023-05-05 Optical module, control method thereof, terminal and storage medium Active CN116208249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310495277.5A CN116208249B (en) 2023-05-05 2023-05-05 Optical module, control method thereof, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310495277.5A CN116208249B (en) 2023-05-05 2023-05-05 Optical module, control method thereof, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN116208249A CN116208249A (en) 2023-06-02
CN116208249B true CN116208249B (en) 2023-07-28

Family

ID=86513366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310495277.5A Active CN116208249B (en) 2023-05-05 2023-05-05 Optical module, control method thereof, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN116208249B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336639B (en) * 2023-11-29 2024-02-27 苏州元脑智能科技有限公司 Signal transmission method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113640922A (en) * 2020-04-24 2021-11-12 青岛海信宽带多媒体技术有限公司 Optical module
CN216248321U (en) * 2021-11-05 2022-04-08 北京一径科技有限公司 Laser radar and power consumption control system thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05130050A (en) * 1991-05-10 1993-05-25 Nec Corp Optical transmitter-receiver
JP2006108963A (en) * 2004-10-04 2006-04-20 Opnext Japan Inc Optical module
US8509624B2 (en) * 2007-11-28 2013-08-13 Cisco Technology, Inc. Transceiver module sleep mode
KR20120128847A (en) * 2011-05-18 2012-11-28 한국전자통신연구원 Optical transceiver module for controlling power in lane
CN103227758B (en) * 2013-03-25 2016-01-20 深圳市三旺通信技术有限公司 A kind of fiber optic Ethernet switch and control method
CN104218996B (en) * 2013-05-29 2017-03-08 华为技术有限公司 Optical module
CN210327864U (en) * 2019-09-27 2020-04-14 南京奥通智能科技有限公司 Energy-saving optical fiber interface circuit for Ethernet switch
CN114866150B (en) * 2021-02-05 2024-07-16 华为技术有限公司 Optical transceiver component, control method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113640922A (en) * 2020-04-24 2021-11-12 青岛海信宽带多媒体技术有限公司 Optical module
CN216248321U (en) * 2021-11-05 2022-04-08 北京一径科技有限公司 Laser radar and power consumption control system thereof

Also Published As

Publication number Publication date
CN116208249A (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN116208249B (en) Optical module, control method thereof, terminal and storage medium
CN103457673B (en) Improve the method and apparatus of APD optical receiver saturated light power
KR102428097B1 (en) Nmos switch driving circuit and power supply device
US9190968B2 (en) Voltage driving apparatus for power amplifier, power amplifying system, power supply device and communication device
CN213585727U (en) Protection circuit of MOS pipe
US20130241295A1 (en) Power management circuit and electronic device
US6975162B2 (en) Constant current driving circuit
US7593710B2 (en) Method and a device for controlling amplification of a signal emitted by a mobile terminal and increasing the autonomy of the mobile terminal
CN106026940B (en) A kind of DC bias circuit of trans-impedance amplifier
US7482877B2 (en) Power protecting apparatus and method for power amplifier
WO2019100968A1 (en) Control method for power supply system, and device for same
CN209949056U (en) Control circuit and signal receiving and transmitting device of GaN amplifier tube
CN212463059U (en) MOS pipe parallel control circuit
CN213990633U (en) Optical coupling isolation PWM modulation circuit and current control device of solid laser LD pumping
CN114448365A (en) Protection circuit of radio frequency power amplifier
CN212905296U (en) Detection circuit and power supply equipment
US7190228B2 (en) Gain control device of transmitter in mobile communication terminal and method thereof
CN217486162U (en) Overcurrent protection circuit of antenna
CN214337548U (en) Safety grating output protection circuit
US10446882B2 (en) Wireless power transmitting and receiving circuit and device
CN113067320B (en) Surge protection circuit and voltage adjustment method for surge protection circuit
CN211127763U (en) NMOS switch drive circuit and power supply device
CN219678480U (en) Optical layer protection circuit and optical module
CN214756267U (en) Power amplifier circuit and electronic device
CN220653205U (en) Power-on current limiting circuit

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