LED drive circuit used on OSFP light film block

By designing an LED driving circuit including a current driving module, a control chip and multiple LED circuits, the problem that a single LED in the prior art is difficult to effectively indicate the state of the optical module, and the precise state indication is achieved through color and flicker mode, and the brightness is dynamically adjusted in different environments to ensure clear indication.

CN120152113APending Publication Date: 2025-06-13SHENZHEN SHENGYATONG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510526522.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

In the prior art, when using a single LED for optical module status indication, it is difficult to effectively indicate the module status, and when the LED flashes fast in different environments, insufficient brightness affects the judgment.

Method used

An LED driving circuit including a current driving module, a control chip, a first LED circuit and a second LED circuit is designed. The control chip receives the module status signal and generates LED control instructions, uses a plurality of LED lamps to indicate the working state of each channel through the color and flashing mode, and adjusts the brightness of the LED through the photosensitive sensor.

Benefits of technology

It realizes the difference between normal, LOS and LOL states through color, and combines the flicker mode to accurately locate abnormal channels. The brightness is dynamically adjusted with the light intensity to ensure clear indications, support OSFP protocol, and is suitable for multi-channel optical module management scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120152113A_ABST
    Figure CN120152113A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and particularly relates to an LED driving circuit used on an OSFP optical film block, which comprises a current driving module, a control chip, a first LED circuit and a second LED circuit, and is characterized in that the current input ends of the control chip, the first LED circuit and the second LED circuit are connected with the current output end of the current driving module; the control input end of the first LED circuit and the control input end of the second LED circuit are connected with the control output end of the control chip. The current driving module is used for adjusting LED driving current according to ambient light intensity, the control chip receives a module state signal and generates an LED control instruction, and the first LED circuit and the second LED circuit are provided with a plurality of LED lamps which are used for indicating the working state of each channel through colors and flicker modes so as to be beneficial to distinguishing normality, LOS (LOS) and LOL (LOL) through the colors. An abnormal channel is accurately positioned in combination with a flicker mode; the brightness is dynamically adjusted along with the illumination intensity, clear indication is ensured, an OSFP protocol is supported, and the method is suitable for a multi-path optical module management scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technologies, and particularly relates to an LED driving circuit used on an OSFP optical module. Background Art

[0002] Currently, in the field of optical module status indication, the implementation scheme recommended by the OSFP protocol is generally adopted, that is, a dual-color LED is configured at the optical port end of the module for working status indication; the existing typical implementation scheme is to reflect the overall working status of the optical module through the light-emitting state of a single LED (such as color change, blinking mode), and its specific manifestation is: different channel working statuses are characterized by a preset combination of LED blinking frequencies, and a fixed current driving scheme is adopted for brightness adjustment; there are problems that a single LED cannot effectively indicate the status of the module and in different environments, when the LED blinking speed is relatively fast, insufficient brightness will affect the judgment. Summary of the Invention

[0003] (1) Technical Problems to be Solved

[0004] In order to solve the above problems of the prior art, the present invention provides an LED driving circuit used on an OSFP optical module that can intuitively display the status.

[0005] (2) Technical Solutions

[0006] In order to achieve the above object, the main technical solutions adopted by the present invention include:

[0007] An LED driving circuit used on an OSFP optical module, comprising a current driving module, a control chip, a first LED circuit, and a second LED circuit. The current input ends of the control chip, the first LED circuit, and the second LED circuit are all connected to the current output end of the current driving module, and the control input ends of the first LED circuit and the second LED circuit are both connected to the control output end of the control chip; the current driving module is used to adjust the LED driving current according to the ambient light intensity, the control chip receives the module status signal and generates an LED control instruction, and multiple LED lights are provided on the first LED circuit and the second LED circuit to indicate the working status of each channel through color and blinking mode.

[0008] In the above-mentioned LED driving circuit used in the OSFP optical film module, the current driving module includes an operational amplifier, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a first capacitor. One end of the first resistor is connected to the first pin of the operational amplifier, and the other end of the first resistor is connected to the first pin of the control chip. One end of the second resistor is connected to the first pin of the operational amplifier, and the other end of the second resistor is connected to the third pin of the operational amplifier. One end of the third resistor is connected to the third pin of the operational amplifier. One end of the fourth resistor is connected to the fourth pin of the operational amplifier, and the other end of the fourth resistor is connected to one end of the third resistor.

[0009] One end of the fifth resistor is connected to the fourth pin of the operational amplifier, and the other end of the fifth resistor is grounded. One end of the first capacitor is connected to the fifth pin of the operational amplifier, and the other end of the first capacitor is grounded. The first LED circuit includes a sixth resistor, a first LED, a second LED, a third LED, a first MOS transistor switch, a second MOS transistor switch, and a third MOS transistor switch, which are in one-to-one correspondence. One end of the sixth resistor is connected to the other end of the third resistor. The anodes of the first LED, the second LED, and the third LED are all connected to the other end of the sixth resistor. The cathode of the first LED is connected to the drain of the first MOS transistor switch. The cathode of the second LED is connected to the drain of the second MOS transistor switch. The cathode of the third LED is connected to the drain of the third MOS transistor switch. The gate of the first MOS transistor switch is connected to the fifth pin of the control chip. The gate of the second MOS transistor switch is connected to the sixth pin of the control chip. The gate of the third MOS transistor switch is connected to the seventh pin of the control chip. The sources of the first MOS transistor switch, the second MOS transistor switch, and the third MOS transistor switch are all grounded. The second LED circuit includes a seventh resistor, a fourth LED, a fifth LED, a sixth LED, a fourth MOS transistor switch, a fifth MOS transistor switch, and a sixth MOS transistor switch, which are in one-to-one correspondence. One end of the seventh resistor is connected to the other end of the third resistor. The anodes of the fourth LED, the fifth LED, and the sixth LED are all connected to the other end of the seventh resistor. The cathode of the fourth LED is connected to the drain of the fourth MOS transistor switch. The cathode of the fifth LED is connected to the drain of the fifth MOS transistor switch. The cathode of the sixth LED is connected to the drain of the sixth MOS transistor switch. The gate of the fourth MOS transistor switch is connected to the second pin of the control chip. The gate of the fifth MOS transistor switch is connected to the third pin of the control chip. The gate of the sixth MOS transistor switch is connected to the fourth pin of the control chip. The sources of the fourth MOS transistor switch, the fifth MOS transistor switch, and the sixth MOS transistor switch are all grounded.

[0010] In the above LED driving circuit used on the OSFP optical film module, it further includes a photosensor and an eighth resistor. The cathode of the photosensor is respectively connected to the fifth pin of the operational amplifier and the tenth pin of the control chip. The anode of the photosensor is connected to one end of the eighth resistor, and the other end of the eighth resistor is grounded.

[0011] In the above-mentioned LED driving circuit used in the OSFP optical film module, the operational amplifier uses the SGM8558-1 type operational amplifier, the first MOS transistor switch, the second MOS transistor switch, the third MOS transistor switch, the fourth MOS transistor switch, the fifth MOS transistor switch, and the sixth MOS transistor switch all use the SGMNE12220 type MOS switch, and the control chip uses the GD32E501REL7 type control chip.

[0012] (III) Beneficial Effects

[0013] The beneficial effects of the present invention are as follows: By setting up a current driving module, a control chip, a first LED circuit, and a second LED circuit, the current input ends of the control chip, the first LED circuit, and the second LED circuit are all connected to the current output end of the current driving module, and the control input ends of the first LED circuit and the second LED circuit are all connected to the control output end of the control chip; the current driving module is used to adjust the LED driving current according to the ambient light intensity, the control chip receives the module status signal and generates an LED control instruction, and multiple LED lights are provided on the first LED circuit and the second LED circuit to indicate the working status of each channel through color and blinking mode, which is beneficial to distinguish normal, LOS (signal loss), and LOL (signal out of lock) through color, and then accurately locate the abnormal channel in combination with the blinking mode; the brightness is dynamically adjusted according to the light intensity to ensure clear indication, support the OSFP protocol, and is applicable to the management scenario of multi-channel optical modules. Description of the Drawings

[0014] Figure 1 It is a schematic structural diagram of the LED driving circuit used in the OSFP optical film module of the present invention;

[0015] Figure 2 It is a curve diagram of the LED current-brightness relationship of the LED driving circuit used in the OSFP optical film module of the present invention.

[0016]

Description of the Reference Numerals

[0017] 1: Current driving module;

[0018] 2: Control chip;

[0019] 3: First LED circuit;

[0020] 4: Second LED circuit;

[0021] 5: Operational amplifier;

[0022] 6: First resistor;

[0023] 7: Second resistor;

[0024] 8: Third resistor;

[0025] 9: Fourth resistor;

[0026] 10: Fifth resistor;

[0027] 11: First capacitor;

[0028] 12: Sixth resistor;

[0029] 13: First LED lamp;

[0030] 14: Second LED lamp;

[0031] 15: Third LED lamp;

[0032] 16: First MOS transistor switch;

[0033] 17: Second MOS transistor switch;

[0034] 18: Third MOS transistor switch;

[0035] 19: Seventh resistor;

[0036] 20: Fourth LED lamp;

[0037] 21: Fifth LED lamp;

[0038] 22: Sixth LED lamp;

[0039] 23: Fourth MOS transistor switch;

[0040] 24: Fifth MOS transistor switch;

[0041] 25: Sixth MOS transistor switch;

[0042] 26: Photosensitive sensor;

[0043] 27: Eighth resistor. Detailed implementation manner

[0044] For better explaining the present invention for easy understanding, the present invention will be described in detail below with reference to the accompanying drawings through specific implementation manners.

[0045] The most critical concept of the present invention lies in: by setting a current driving module, a control chip, a first LED circuit, and a second LED circuit, the current input ends of the control chip, the first LED circuit, and the second LED circuit are all connected to the current output end of the current driving module, and the control input ends of the first LED circuit and the second LED circuit are all connected to the control output end of the control chip; the current driving module is used to adjust the LED driving current according to the ambient light intensity, the control chip receives the module status signal and generates an LED control instruction, and multiple LED lamps are provided on the first LED circuit and the second LED circuit to indicate the working status of each channel through colors and blinking modes.

[0046] Please refer to Figures 1 to 2 as shown, an LED driving circuit used on an OSFP optical module,

[0047] comprising a current driving module, a control chip, a first LED circuit and a second LED circuit. The current input ends of the control chip, the first LED circuit and the second LED circuit are all connected to the current output end of the current driving module, and the control input ends of the first LED circuit and the second LED circuit are all connected to the control output end of the control chip; the current driving module is used to adjust the LED driving current according to the ambient light intensity, the control chip receives the module status signal and generates an LED control instruction, and a plurality of LED lights are arranged on the first LED circuit and the second LED circuit to indicate the working status of each channel through color and blinking mode.

[0048] As can be seen from the above description, the beneficial effects of the present invention are as follows: by providing a current driving module, a control chip, a first LED circuit and a second LED circuit, the current input ends of the control chip, the first LED circuit and the second LED circuit are all connected to the current output end of the current driving module, and the control input ends of the first LED circuit and the second LED circuit are all connected to the control output end of the control chip; the current driving module is used to adjust the LED driving current according to the ambient light intensity, the control chip receives the module status signal and generates an LED control instruction, and a plurality of LED lights are arranged on the first LED circuit and the second LED circuit to indicate the working status of each channel through color and blinking mode, which is beneficial to distinguish normal, LOS (signal loss), LOL (signal out-of-lock) through color, and then accurately locate the abnormal channel in combination with the blinking mode; the brightness is dynamically adjusted according to the light intensity to ensure clear indication, support the OSFP protocol, and is applicable to the multi-channel optical module management scenario.

[0049] Please refer to Figures 1 to 2 as shown, Embodiment 1 of the present invention is:

[0050] An LED driving circuit used on an OSFP optical module, comprising a current driving module 1, a control chip 2, a first LED circuit 3 and a second LED circuit 4. The current input ends of the control chip 2, the first LED circuit 3 and the second LED circuit 4 are all connected to the current output end of the current driving module 1, and the control input ends of the first LED circuit 3 and the second LED circuit 4 are all connected to the control output end of the control chip 2; the current driving module 1 is used to adjust the LED driving current according to the ambient light intensity, the control chip 2 receives the module status signal and generates an LED control instruction, and a plurality of LED lights are arranged on the first LED circuit 3 and the second LED circuit 4 to indicate the working status of each channel through color and blinking mode.

[0051] The current driving module 1 includes an operational amplifier 5, a first resistor 6, a second resistor 7, a third resistor 8, a fourth resistor 9, a fifth resistor 10, and a first capacitor 11. One end of the first resistor 6 is connected to the first pin of the operational amplifier 5, and the other end of the first resistor 6 is connected to the first pin of the control chip 2. One end of the second resistor 7 is connected to the first pin of the operational amplifier 5, and the other end of the second resistor 7 is connected to the third pin of the operational amplifier 5. One end of the third resistor 8 is connected to the third pin of the operational amplifier 5. One end of the fourth resistor 9 is connected to the fourth pin of the operational amplifier 5, and the other end of the fourth resistor 9 is connected to one end of the third resistor 8.

[0052] One end of the fifth resistor 10 is connected to the fourth pin of the AND operational amplifier 5, and the other end of the fifth resistor 10 is grounded. One end of the first capacitor 11 is connected to the fifth pin of the AND operational amplifier 5, and the other end of the first capacitor 11 is grounded. The first LED circuit 3 includes a sixth resistor 12, a first LED 13, a second LED 14, a third LED 15, a first MOS transistor switch 16, a second MOS transistor switch 17, and a third MOS transistor switch 18, which are in one-to-one correspondence. One end of the sixth resistor 12 is connected to the other end of the third resistor 8. The anodes of the first LED 13, the second LED 14, and the third LED 15 are all connected to the other end of the sixth resistor 12. The cathode of the first LED 13 is connected to the drain of the first MOS transistor switch 16. The cathode of the second LED 14 is connected to the drain of the second MOS transistor switch 17. The cathode of the third LED 15 is connected to the drain of the third MOS transistor switch 18. The gate of the first MOS transistor switch 16 is connected to the fifth pin of the control chip 2. The gate of the second MOS transistor switch 17 is connected to the sixth pin of the control chip 2. The gate of the third MOS transistor switch 18 is connected to the seventh pin of the control chip 2. The sources of the first MOS transistor switch 16, the second MOS transistor switch 17, and the third MOS transistor switch 18 are all grounded. The second LED circuit 4 includes a seventh resistor 19, a fourth LED 20, a fifth LED 21, a sixth LED 22, a fourth MOS transistor switch 23, a fifth MOS transistor switch 24, and a sixth MOS transistor switch 25, which are in one-to-one correspondence. One end of the seventh resistor 19 is connected to the other end of the third resistor 8. The anodes of the fourth LED 20, the fifth LED 21, and the sixth LED 22 are all connected to the other end of the seventh resistor 19. The cathode of the fourth LED 20 is connected to the drain of the fourth MOS transistor switch 23. The cathode of the fifth LED 21 is connected to the drain of the fifth MOS transistor switch 24. The cathode of the sixth LED 22 is connected to the drain of the sixth MOS transistor switch 25. The gate of the fourth MOS transistor switch 23 is connected to the second pin of the control chip 2. The gate of the fifth MOS transistor switch 24 is connected to the third pin of the control chip 2. The gate of the sixth MOS transistor switch 25 is connected to the fourth pin of the control chip 2. The sources of the fourth MOS transistor switch 23, the fifth MOS transistor switch 24, and the sixth MOS transistor switch 25 are all grounded.

[0053] The current driving module 1 includes an operational amplifier 5, a first resistor 6, a second resistor 7, a third resistor 8, a fourth resistor 9, a fifth resistor 10, and a first capacitor 11. One end of the first resistor 6 is connected to the first pin of the operational amplifier 5, and the other end of the first resistor 6 is connected to the first pin of the control chip 2. One end of the second resistor 7 is connected to the first pin of the operational amplifier 5, and the other end of the second resistor 7 is connected to the third pin of the operational amplifier 5. One end of the third resistor 8 is connected to the third pin of the operational amplifier 5, and one end of the fourth resistor 9 is connected to the fourth pin of the operational amplifier 5. The other end of the fourth resistor 9 is connected to one end of the third resistor 8.

[0054] One end of the fifth resistor 10 is connected to the fourth pin of the AND operational amplifier 5, and the other end of the fifth resistor 10 is grounded. One end of the first capacitor 11 is connected to the fifth pin of the AND operational amplifier 5, and the other end of the first capacitor 11 is grounded. The first LED circuit 3 includes a sixth resistor 12, a first LED 13, a second LED 14, a third LED 15, a first MOS transistor switch 16, a second MOS transistor switch 17, and a third MOS transistor switch 18, which are in one-to-one correspondence. One end of the sixth resistor 12 is connected to the other end of the third resistor 8. The positive electrodes of the first LED 13, the second LED 14, and the third LED 15 are all connected to the other end of the sixth resistor 12. The negative electrode of the first LED 13 is connected to the drain of the first MOS transistor switch 16. The negative electrode of the second LED 14 is connected to the drain of the second MOS transistor switch 17. The negative electrode of the third LED 15 is connected to the drain of the third MOS transistor switch 18. The gate of the first MOS transistor switch 16 is connected to the fifth pin of the control chip 2. The gate of the second MOS transistor switch 17 is connected to the sixth pin of the control chip 2. The gate of the third MOS transistor switch 18 is connected to the seventh pin of the control chip 2. The sources of the first MOS transistor switch 16, the second MOS transistor switch 17, and the third MOS transistor switch 18 are all grounded. The second LED circuit 4 includes a seventh resistor 19, a fourth LED 20, a fifth LED 21, a sixth LED 22, a fourth MOS transistor switch 23, a fifth MOS transistor switch 24, and a sixth MOS transistor switch 25, which are in one-to-one correspondence. One end of the seventh resistor 19 is connected to the other end of the third resistor 8. The positive electrodes of the fourth LED 20, the fifth LED 21, and the sixth LED 22 are all connected to the other end of the seventh resistor 19. The negative electrode of the fourth LED 20 is connected to the drain of the fourth MOS transistor switch 23. The negative electrode of the fifth LED 21 is connected to the drain of the fifth MOS transistor switch 24. The negative electrode of the sixth LED 22 is connected to the drain of the sixth MOS transistor switch 25. The gate of the fourth MOS transistor switch 23 is connected to the second pin of the control chip 2. The gate of the fifth MOS transistor switch 24 is connected to the third pin of the control chip 2. The gate of the sixth MOS transistor switch 25 is connected to the fourth pin of the control chip 2. The sources of the fourth MOS transistor switch 23, the fifth MOS transistor switch 24, and the sixth MOS transistor switch 25 are all grounded, which is beneficial for more clearly analyzing the state after the module fails;

[0055] It further includes a photosensitive sensor 26 and an eighth resistor 27. The negative electrode of the photosensitive sensor 26 is respectively connected to the fifth pin of the operational amplifier 5 and the tenth pin of the control chip 2. The positive electrode of the photosensitive sensor 26 is connected to one end of the eighth resistor 27, and the other end of the eighth resistor 27 is grounded;

[0056] By further including a photosensitive sensor 26 and an eighth resistor 27, with the negative electrode of the photosensitive sensor 26 respectively connected to the fifth pin of the operational amplifier 5 and the tenth pin of the control chip 2, the positive electrode of the photosensitive sensor 26 connected to one end of the eighth resistor 27, and the other end of the eighth resistor 27 grounded, it is beneficial to better conform to the environment at the customer's site;

[0057] The operational amplifier 5 uses an SGM8558-1 type operational amplifier 5. The first MOS transistor switch 16, the second MOS transistor switch 17, the third MOS transistor switch 18, the fourth MOS transistor switch 23, the fifth MOS transistor switch 24, and the sixth MOS transistor switch 25 all use SGMNE12220 type MOS switches. The control chip 2 uses a GD32E501REL7 type control chip 2.

[0058] By the operational amplifier 5 using an SGM8558-1 type operational amplifier 5, the first MOS transistor switch 16, the second MOS transistor switch 17, the third MOS transistor switch 18, the fourth MOS transistor switch 23, the fifth MOS transistor switch 24, and the sixth MOS transistor switch 25 all using SGMNE12220 type MOS switches, and the control chip 2 using a GD32E501REL7 type control chip 2, it is beneficial to improve the performance of the device;

[0059] The working principle of the LED driving circuit used in the OSFP optical module of the present invention: The control chip 2 controls the colors and switches of the first LED lamp 13, the second LED lamp 14, the third LED lamp 15, the fourth LED lamp 20, the fifth LED lamp 21, and the sixth LED lamp 22 by monitoring the working state of the photosensitive sensor 26;

[0060] When all 8 control channels on the control chip 2 are working properly, the current driving module 1 is started. First, the first LED lamp 13 and the fourth LED lamp 20 each flash 8 times. When the transmitting 8 channels and the receiving 8 channels are both working properly, then the first LED lamp 13 and the fourth LED lamp 20 are constantly lit;

[0061] After a signal on one of the 8 control channels on the control chip 2 is lost, the corresponding red LED blinks intermittently. For example, if the signal of the fifth MOS switch in the second LED circuit 4 is lost and the other 7 channels are normal, the blinking sequence of the fourth LED 20 and the fifth LED 21 in the second LED circuit 4 is as follows: the fourth LED 20 blinks once, then the fifth LED 21 blinks once, and then the fourth LED 20 blinks six times; after an interval of 1S, the above steps are continued in a loop until the signal of the fifth MOS switch in the second LED circuit 4 is normal;

[0062] If a signal is unlocked, but the signal loss is not triggered, the corresponding yellow LED blinks intermittently; for example, if the signal of the fifth MOS switch in the second LED circuit 4 is unlocked and the other 7 channels are normal, the blinking sequence of the fourth LED 20 and the sixth LED 22 on the second LED circuit 4 is that the fourth LED 20 blinks once, then the sixth LED 22 blinks once, and then the fourth LED 20 blinks six times; after an interval of 1S, the above steps are continued in a loop until the signal of the fifth MOS switch in the second LED circuit 4 is normal;

[0063] Corresponding to the following table:

[0064]

[0065]

[0066] Note: LOS represents the signal loss state; LOL represents the signal unlock state; TX1-8 represents the 8 channels of the transmitter end, which refers to the states of the first pin - the seventh pin and the tenth pin of the control chip 2; RX1~8 represents the 8 channels of the receiver end, which refers to the states of the gates of the first MOS switch - the sixth MOS switch, the negative pole of the photosensor 26 and the first pin of the operational amplifier; the TX lamp refers to the first LED circuit 3; the RX lamp refers to the second LED circuit 4;

[0067] The operational amplifier 5 uses an SGM8558-1 type operational amplifier 5 and has the first pin - the fifth pin. The control chip 2 uses a GD32E501REL7 type control chip 2 and has the first pin - the tenth pin. The first LED 13 and the fourth LED 20 use green LED lights. The second LED 14 and the fifth LED 21 use red LED lights. The third LED 15 and the sixth LED 22 use yellow LED lights. The resistance value of the first resistor 6 is 10K ohms, the resistance value of the second resistor 7 is 2K ohms, the resistance value of the third resistor 8 is 5.1 ohms, the resistance value of the fourth resistor 9 is 2K ohms, the resistance value of the fifth resistor 10 is 10K ohms, the resistance value of the sixth resistor 12 is 100 ohms, the resistance value of the seventh resistor 19 is 100 ohms, the resistance value of the eighth resistor 27 is 10K ohms; the parameter of the first capacitor 11 is 0.1μP

[0068] The control chip 2 can adjust the brightness of the LED lamp according to the change of the ambient brightness and the light intensity detected by the photosensor 26D7, making the indication of the on-site LED more obvious;

[0069] The photosensor 26 calculates the maximum current flowing through the eighth resistor 27 based on empirical values (the light intensity is the weakest when the photosensitive surface is completely blocked, and the light intensity is the strongest when directly irradiated by the noon sun), and then selects an appropriate resistance value so that the voltage of the sampling resistor, the eighth resistor 27, does not exceed the reference voltage Vref of the ADC; in this way, the value of the first pin of the control chip 2 can be adjusted according to the voltage of the eighth resistor 27 to control the output current of the current drive module 1, and further control the brightness of the LED. The relationship curve between the LED current and the brightness is as shown in the appendix Figure 2 as follows;

[0070]

[0071] In summary, an LED drive circuit used on an OSFP optical module provided by the present invention includes a current drive module, a control chip, a first LED circuit, and a second LED circuit. The current input ends of the control chip, the first LED circuit, and the second LED circuit are all connected to the current output end of the current drive module, and the control input ends of the first LED circuit and the second LED circuit are all connected to the control output end of the control chip; the current drive module is used to adjust the LED drive current according to the ambient light intensity, the control chip receives the module status signal and generates an LED control instruction, and multiple LED lamps are provided on the first LED circuit and the second LED circuit to indicate the working status of each channel through the color and blinking mode, which is beneficial to distinguish normal, LOS (signal loss), and LOL (signal out-of-lock) through color, and then accurately locate the abnormal channel in combination with the blinking mode; the brightness is dynamically adjusted according to the light intensity to ensure clear indication, supports the OSFP protocol, and is applicable to the multi-channel optical module management scenario.

[0072] The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in the relevant technical fields, shall be equally included in the patent protection scope of the present invention.

Claims

1. An LED driving circuit used on an OSFP optical film block, characterized in that: It includes a current driving module, a control chip, a first LED circuit and a second LED circuit. The current input ends of the control chip, the first LED circuit and the second LED circuit are all connected to the current output end of the current driving module, and the control input ends of the first LED circuit and the second LED circuit are all connected to the control output end of the control chip; the current driving module is used to adjust the LED driving current according to the ambient light intensity, the control chip receives the module status signal and generates LED control instructions, and the first LED circuit and the second LED circuit are provided with multiple LED lights for indicating the working status of each channel through color and flashing mode.

2. The LED driving circuit for use on an OSFP optical film block according to claim 1, characterized in that: The current driving module includes an operational amplifier, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a first capacitor, one end of the first resistor is connected to the first pin of the operational amplifier, the other end of the first resistor is connected to the first pin of the control chip, one end of the second resistor is connected to the first pin of the operational amplifier, the other end of the second resistor is connected to the third pin of the operational amplifier, one end of the third resistor is connected to the third pin of the operational amplifier, one end of the fourth resistor is connected to the fourth pin of the operational amplifier, the other end of the fourth resistor is connected to one end of the third resistor, and one end of the fifth resistor is connected to the fourth pin of the operational amplifier. The other end of the fifth resistor is grounded, one end of the first capacitor is connected to the fifth pin of the operational amplifier, and the other end of the first capacitor is grounded; the first LED circuit includes a sixth resistor, a first LED lamp, a second LED lamp, a third LED lamp, a first MOS tube switch, a second MOS tube switch and a third MOS tube switch, and they correspond one to one, one end of the sixth resistor is connected to the other end of the third resistor, the positive electrode of the first LED lamp, the positive electrode of the second LED lamp and the positive electrode of the third LED lamp are all connected to the other end of the sixth resistor, the negative electrode of the first LED lamp is connected to the drain electrode of the first MOS tube switch, and the negative electrode of the second LED lamp is connected to the drain electrode of the second MOS tube switch. The cathode of the third LED lamp is connected to the drain of the third MOS tube switch; the gate of the first MOS tube switch is connected to the fifth pin of the control chip, the gate of the second MOS tube switch is connected to the sixth pin of the control chip, the gate of the third MOS tube switch is connected to the seventh pin of the control chip, and the sources of the first MOS tube switch, the second MOS tube switch and the third MOS tube switch are all grounded; the second LED circuit includes a seventh resistor, a fourth LED lamp, a fifth LED lamp, a sixth LED lamp, a fourth MOS tube switch, a fifth MOS tube switch and a sixth MOS tube switch, and they correspond to each other; one end of the seventh resistor is connected to the other end of the third resistor, The positive electrodes of the fourth LED lamp, the fifth LED lamp and the sixth LED lamp are all connected to the other end of the seventh resistor, the negative electrode of the fourth LED lamp is connected to the drain of the fourth MOS tube switch, the negative electrode of the fifth LED lamp is connected to the drain of the fifth MOS tube switch, and the negative electrode of the sixth LED lamp is connected to the drain of the sixth MOS tube switch; the gate of the fourth MOS tube switch is connected to the second pin of the control chip, the gate of the fifth MOS tube switch is connected to the third pin of the control chip, the gate of the sixth MOS tube switch is connected to the fourth pin of the control chip, and the sources of the fourth MOS tube switch, the fifth MOS tube switch and the sixth MOS tube switch are all grounded.

3. The LED driving circuit for use on an OSFP optical film block according to claim 2, characterized in that: It also includes a photosensor and an eighth resistor, wherein the negative electrode of the photosensor is respectively connected to the fifth pin of the operational amplifier and the tenth pin of the control chip, the positive electrode of the photosensor is connected to one end of the eighth resistor, and the other end of the eighth resistor is grounded.

4. According to the LED driving circuit for an OSFP optical film block as described in claim 2, the operational amplifier adopts an SGM8558-1 operational amplifier, the first MOS tube switch, the second MOS tube switch, the third MOS tube switch, the fourth MOS tube switch, the fifth MOS tube switch and the sixth MOS tube switch all adopt SGMNE12220 MOS switches, and the control chip adopts a GD32E501REL7 control chip.