CN114007315B - Ethernet port indicator lamp control circuit and control method - Google Patents
Ethernet port indicator lamp control circuit and control method Download PDFInfo
- Publication number
- CN114007315B CN114007315B CN202111655013.9A CN202111655013A CN114007315B CN 114007315 B CN114007315 B CN 114007315B CN 202111655013 A CN202111655013 A CN 202111655013A CN 114007315 B CN114007315 B CN 114007315B
- Authority
- CN
- China
- Prior art keywords
- signal
- power supply
- indicator light
- phy
- control module
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/155—Coordinated control of two or more light sources
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/50—Circuit arrangements for operating light-emitting diodes [LED] responsive to malfunctions or undesirable behaviour of LEDs; responsive to LED life; Protective circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/20—Responsive to malfunctions or to light source life; for protection
- H05B47/25—Circuit arrangements for protecting against overcurrent
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Small-Scale Networks (AREA)
Abstract
The application discloses Ethernet port pilot lamp control circuit and control method relates to transmission circuit technical field, can realize that Ethernet PHY can reflect PSE's the situation of supplying power to the outside in good time in step from the pilot lamp of taking. Ethernet mouth pilot lamp control circuit includes: a first indicator light; the anode of the second indicator light is electrically connected with the cathode of the first indicator light, and the anode of the first indicator light is electrically connected with the cathode of the second indicator light; the first signal control module is electrically connected with the anode of the first indicator light; the second signal control module is electrically connected with the positive electrode of the second indicator light; the first signal control module and the second signal control module are used for controlling the first indicator light or the second indicator light to be turned on according to a first PHY signal or a second PHY signal based on different power supply signals.
Description
Technical Field
The application relates to the technical field of transmission circuits, in particular to an Ethernet port indicator lamp control circuit and a control method.
Background
Along with the high-speed development of the IT industry technology, hardware communication products based on an embedded system often include a plurality of Ethernet (Ethernet) ports, and the ports of many high-end products are provided with indicator lights, and can be used for indicating different functions of the system, such as indicating whether data communication exists in the ports, and indicating whether to access a PD (Power Device, Power receiving end Equipment) or not at the port having a PSE (Power Sourcing Equipment) function.
However, the existing Ethernet PHY (Ethernet physical layer) for data transmission and the PSE are controlled independently, and it is difficult to implement that the indicator light carried by the Ethernet PHY can synchronously reflect the external power supply condition of the PSE in time.
Disclosure of Invention
The embodiment of the application provides an Ethernet port indicator lamp control circuit and a control method, which can realize that an indicator lamp carried by an Ethernet PHY can synchronously reflect the external power supply condition of a PSE in time.
In a first aspect of the embodiments of the present application, an ethernet port indicator lamp control circuit is provided, including:
a first indicator light;
the anode of the second indicator light is electrically connected with the cathode of the first indicator light, and the anode of the first indicator light is electrically connected with the cathode of the second indicator light;
the first signal control module is electrically connected with the anode of the first indicator light;
the second signal control module is electrically connected with the positive electrode of the second indicator light;
the first signal control module and the second signal control module are configured to control lighting of the first indicator light or the second indicator light according to a first PHY signal or a second PHY signal based on different power supply signals, where the first PHY signal and the second PHY signal are generated according to a network communication state, and the power supply signal is generated according to a power supply state.
In some embodiments, the circuit further comprises:
a portal chip to provide the first PHY signal and the second PHY signal to the first signal control module and the second signal control module, respectively;
the system chip is used for respectively providing the power supply signals for the first signal control module and the second signal control module.
In some embodiments, the first signal control module and the second signal control module are configured to control the first indicator light to blink or the second indicator light to blink according to the first PHY signal and the second PHY signal based on the different power supply signals.
In some embodiments, the portal chip is configured to control the first PHY signal to a first fixed positive voltage and to control the second PHY signal to dynamically switch between 0V and the first fixed positive voltage;
the system chip is used for controlling the power supply signal to be in a high level or a low level.
In some embodiments, in a case that the power supply signal is at a low level, the first signal control module is configured to control the positive voltage of the first indicator light to be a second fixed positive voltage according to the power supply signal and the first PHY signal, and the second signal control module is configured to control the negative voltage of the first indicator light to be dynamically switched between 0V and the second fixed positive voltage according to the power supply signal and the second PHY signal so as to control the first indicator light to blink;
under the condition that the power supply signal is at a high level, the first signal control module is used for controlling the negative electrode voltage of the second indicator lamp to be dynamically switched between 0V and a second fixed positive voltage according to the power supply signal and the second PHY signal, and the second signal control module is used for controlling the positive electrode voltage of the second indicator lamp to be the second fixed positive voltage according to the power supply signal and the first PHY signal so as to control the second indicator lamp to flicker.
In some embodiments, the first signal control module includes a first gating unit, a second gating unit, and a first voltage conversion unit, the first gating unit and the second gating unit are electrically connected to the first voltage conversion unit, the first gating unit is configured to access the first PHY signal, the second gating unit is configured to access the second PHY signal, the first voltage conversion unit is electrically connected to an anode of the first indicator light, and the power supply signal is configured to control the first gating unit to be turned on or the second gating unit to be turned on;
the first signal control module comprises a third gating unit, a fourth gating unit and a second voltage conversion unit, wherein the third gating unit and the fourth gating unit are electrically connected to the second voltage conversion unit, the third gating unit is used for accessing the first PHY signal, the fourth gating unit is used for accessing the second PHY signal, the second voltage conversion unit is electrically connected to the anode of the second indicator light, and the power supply signal is used for controlling the conduction of the third gating unit or the conduction of the fourth gating unit;
one end of the first voltage conversion unit and one end of the second voltage conversion unit are both connected to the second fixed positive voltage, the other end of the first voltage conversion unit and the other end of the second voltage conversion unit are both grounded, and the second fixed positive voltage is larger than the first fixed positive voltage.
In some embodiments, the first gating unit and the second gating unit respectively include a first switching device, and the first switching device is configured to access the power supply signal and control the first gating unit to be turned on or the second gating unit to be turned on according to the power supply signal; and/or the presence of a gas in the gas,
the third gating unit and the fourth gating unit respectively comprise first switching devices, and the first switching devices are used for accessing the power supply signals and controlling the third gating unit or the fourth gating unit to be conducted according to the power supply signals.
In some embodiments, the first voltage conversion unit comprises a second switching device for controlling the anode of the first indicator light to be connected to the second fixed positive voltage or ground; and/or the presence of a gas in the gas,
the second voltage conversion unit comprises a second switching device, and the second switching device is used for controlling the anode of the second indicator light to be connected to the second fixed positive voltage or the ground.
In some embodiments, a polarity of the first switching device of the first gating unit for accessing the supply signal is opposite to a polarity of the first switching device of the second gating unit for accessing the supply signal.
In a second aspect of the embodiments of the present application, there is provided an ethernet port indicator lamp control method, which is applied to the ethernet port indicator lamp control circuit according to the first aspect, the method includes:
generating a first PHY signal and a second PHY signal according to a network communication state;
generating a power supply signal according to the power supply state;
controlling to illuminate a first indicator light or a second indicator light according to the first PHY signal or the second PHY signal based on the different power supply signal.
According to the control circuit and the control method for the Ethernet port indicator lamp, the anode and the cathode of the first indicator lamp and the anode of the second indicator lamp are connected in series to form a loop, and the joint of the first indicator lamp and the second indicator lamp is connected to the first signal control module and the second signal control module respectively. The first signal control module can control the first PHY signal to be input into the first signal control module or control the second PHY signal to be input into the first signal control module according to different power supply signals so as to act on the positive pole of the first indicator light or act on the negative pole of the second indicator light; the second signal control module can control the second PHY signal to be input into the second signal control module or control the first PHY signal to be input into the second signal control module according to different power supply signals so as to act on the negative pole of the first indicator light or act on the positive pole of the second indicator light. It is possible to control the first indication lamp to be lit or the second indication lamp to be lit according to the first PHY signal and the second PHY signal based on different power supply signals. The lighting state of the indicator lamp can be controlled by signals corresponding to the power supply state and the network communication state, linkage of the indicator lamp can be achieved, the number of the required indicator lamps can be reduced, occupied space of a circuit is saved, and the area of a control circuit is reduced.
Drawings
Fig. 1 is a schematic structural block diagram of an ethernet port indicator lamp control circuit according to an embodiment of the present application;
fig. 2 is a schematic structural block diagram of another ethernet port indicator lamp control circuit provided in the embodiment of the present application;
fig. 3 is a schematic circuit diagram of a still another ethernet port indicator lamp control circuit provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of an ethernet port indicator light control method according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions provided by the embodiments of the present specification, the technical solutions of the embodiments of the present specification are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present specification are detailed descriptions of the technical solutions of the embodiments of the present specification, and are not limitations on the technical solutions of the embodiments of the present specification, and the technical features in the embodiments and examples of the present specification may be combined with each other without conflict.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. The term "two or more" includes the case of two or more.
Along with the high-speed development of the IT industry technology, hardware communication products based on an embedded system often include a plurality of ethernet ports, and the ports of many high-end products are provided with indicator lights, and can be used for indicating different functions of the system, such as indicating whether data communication exists in the ports, indicating whether to access to a power receiving end device at the ports with PSE, and the like. However, the existing ethernet physical layer for transmitting data and the PSE are controlled independently, and it is difficult to implement that the indicator light carried by the ethernet physical layer can synchronously reflect the condition of external power supply of the PSE at proper time.
The embodiment of the application provides an Ethernet port indicator lamp control circuit and a control method, which can realize that an indicator lamp carried by an Ethernet PHY can synchronously reflect the external power supply condition of a PSE in time.
In a first aspect of the embodiments of the present application, an ethernet port indicator lamp control circuit is provided, and fig. 1 is a schematic structural block diagram of the ethernet port indicator lamp control circuit provided in the embodiments of the present application. As shown in fig. 1, an ethernet port indicator lamp control circuit provided in an embodiment of the present application includes: a first indicator light 100; the anode + of the second indicator light 200 is electrically connected with the cathode-of the first indicator light 100, and the anode + of the first indicator light 100 is electrically connected with the cathode-of the second indicator light 200; the first signal control module 300, the first signal control module 300 is electrically connected with the positive pole + of the first indicator lamp 100; the second signal control module 400, the second signal control module 400 is electrically connected with the anode + of the second indicator light 200; the first and second signal control modules 300 and 400 are configured to control the lighting of the first indicator light 100 or the second indicator light 200 according to the first PHY signal PHY1 or the second PHY signal PHY2 based on different power supply signals PSEi, the first PHY signal PHY1 and the second PHY signal PHY2 being generated according to a network communication state, the power supply signals PSEi being generated according to a power supply state. The first signal control module 300 is accessed with the power supply signal PSEi, the first PHY signal PHY1 and the second PHY signal PHY2, and the second signal control module 400 is accessed with the same power supply signal PSEi, the first PHY signal PHY1 and the second PHY signal PHY2 as the first signal control module 300.
For example, the ethernet port indicator light control circuit provided in the embodiment of the present application can provide network communication for an electronic device and also can supply power to the electronic device, and generally, an ethernet physical layer for providing data transmission in the network communication and a PSE for supplying power are controlled independently from each other, so that in the prior art, an indicator light for indicating a network communication state and an indicator light for indicating a power supply state are controlled separately, and thus, the indicator light control circuit is difficult to share, occupies a space, is difficult to achieve linkage of control, and requires a large number of indicator lights. According to the ethernet port indicator lamp control circuit used in the embodiment of the application, the first indicator lamp 100 and the second indicator lamp 200 are connected in series by setting the positive and negative electrodes of the first indicator lamp 100 and the second indicator lamp 200 as a loop, and the connection part of the first indicator lamp 100 and the second indicator lamp 200 is respectively connected to the first signal control module 300 and the second signal control module 400. The first signal control module 300 may control the first PHY signal PHY1 to be input to the first signal control module 300 or control the second PHY signal PHY2 to be input to the first signal control module 300 to act on the positive pole of the first indicator light 100 or to act on the negative pole of the second indicator light 200 according to different power supply signals PSEi; the second signal control module 400 may control the second PHY signal PHY2 to be input to the second signal control module 400 or the first PHY signal PHY1 to be input to the second signal control module 400 to act on the negative pole of the first indicator light 100 or to act on the positive pole of the second indicator light 200 according to different power supply signals PSEi. It is possible to control the first indication lamp 100 to be lit or the second indication lamp 200 to be lit according to the first PHY signal PHY1 and the second PHY signal PHY2 based on different power supply signals PSEi. It should be noted that the first indicator light 100 and the second indicator light 200 are lighted independently, and not both are lighted. For example, when the power receiving end device is connected to the PSE or the PSE supplies power to the power receiving end device, the power supply signal PSEi may be generated, and the power supply signal PSEi is at a low level, otherwise, it is at a high level. Illustratively, the respective first PHY signal PHY1 and second PHY signal PHY2 may be generated when there is network communication or network connectivity is provided to the electronic device, and otherwise the first PHY signal PHY1 and second PHY signal PHY2 are not generated. The first indicator light 100 being illuminated or the second indicator light being illuminated may represent a powered state to provide power and presence network communications, and the application is not particularly limited.
According to the control circuit of the ethernet interface indicator light provided by the embodiment of the application, the first indicator light 100 and the second indicator light 200 are connected in series by setting the positive and negative electrodes of the first indicator light 100 and the second indicator light 200 as a loop, and the connection part of the first indicator light 100 and the second indicator light 200 is respectively connected to the first signal control module 300 and the second signal control module 400. The first signal control module 300 may control the first PHY signal PHY1 to be input to the first signal control module 300 or control the second PHY signal PHY2 to be input to the first signal control module 300 to act on the positive pole of the first indicator light 100 or to act on the negative pole of the second indicator light 200 according to different power supply signals PSEi; the second signal control module 400 may control the second PHY signal PHY2 to be input to the second signal control module 400 or the first PHY signal PHY1 to be input to the second signal control module 400 to act on the negative pole of the first indicator light 100 or to act on the positive pole of the second indicator light 200 according to different power supply signals PSEi. It is possible to control the first indication lamp 100 to be lit or the second indication lamp 200 to be lit according to the first PHY signal PHY1 and the second PHY signal PHY2 based on different power supply signals PSEi. The lighting state of the indicator lamp can be controlled by signals corresponding to the power supply state and the network communication state, linkage of the indicator lamp can be achieved, the number of the required indicator lamps can be reduced, occupied space of a circuit is saved, and the area of a control circuit is reduced.
In some embodiments, fig. 2 is a schematic block diagram of another ethernet port indicator lamp control circuit provided in this application example. As shown in fig. 2, an ethernet port indicator lamp control circuit provided in the embodiment of the present application further includes: a portal chip 600, the portal chip 600 being configured to provide the first PHY signal PHY1 and the second PHY signal PHY2 to the first signal control module 300 and the second signal control module 400, respectively; the system chip 500, the system chip 500 is used to provide the power supply signals PSEi to the first signal control module 300 and the second signal control module 400, respectively. It should be noted that the system chip 500 may determine the power supply state according to the feedback condition of the PSE to generate the power supply signal PSEi, and provide the power supply signal PSEi to the first signal control module 300 and the second signal control module 400 through GPIO (input/output port). The network port chip 600 may be an ethernet physical layer, and the embodiment of the present application is not particularly limited.
The ethernet port indicator lamp control circuit provided by the embodiment of the application can obtain the power supply signal PSEi representing the power supply state by the system chip 500, and obtain the first PHY signal PHY1 and the second PHY signal PHY2 representing the network communication state by the network port chip 600, so as to realize the linkage control of the indicator lamp.
In some embodiments, the first signal control module 300 and the second signal control module 400 are configured to control the first indicator light 100 to blink or the second indicator light 200 to blink according to the first PHY signal PHY1 and the second PHY signal PHY2 based on different power supply signals PSEi. The control of the first indicator light 100 and the second indicator light 200 may be performed not only by lighting but also by blinking, so that the visibility of the indication can be improved.
In some embodiments, the portal chip 600 is used to control the first PHY signal PHY1 to a first fixed positive voltage, and to control the second PHY signal PHY2 to dynamically switch between 0V and the first fixed positive voltage; the system chip 500 is used to control the power supply signal PSEi to be at a high level or a low level.
For example, the first fixed positive voltage may be 1.8V, and the voltage that the net-port chip 600 can provide is usually around 1.8V, for controlling the lighting of the indicator light. The high level of the power supply signal PSEi may be 1, and the low level may be 0, which are represented by using a digital signal, which is not specifically limited in the embodiments of the present application. The dynamic switching of the second PHY signal PHY2 between 0V and the first fixed positive voltage may be used to control the indicator lights to switch between on and off to achieve a flashing display effect.
In some embodiments, in the case that the power supply signal PSEi is at a low level, the first signal control module 300 is configured to control the positive electrode voltage of the first indicator light 100 to be a second fixed positive voltage according to the power supply signal PSEi and the first PHY signal PHY1, and the second signal control module 400 is configured to control the negative electrode voltage of the first indicator light 100 to be dynamically switched between 0V and the second fixed positive voltage according to the power supply signal PSEi and the second PHY signal PHY2 to control the first indicator light to blink; in case that the power supply signal PSEi is at a high level, the first signal control module 300 is configured to control the negative electrode voltage of the second indicator light 200 to be dynamically switched between 0V and a second fixed positive voltage according to the power supply signal PSEi and the second PHY signal PHY2, and the second signal control module 400 is configured to control the positive electrode voltage of the second indicator light 200 to be the second fixed positive voltage according to the power supply signal PSEi and the first PHY signal PHY1, so as to control the second indicator light 200 to flicker.
For example, the first indicator light 100 and the second indicator light 200 may be LEDs, the value of the second fixed positive voltage may be greater than that of the first fixed positive voltage, and the second fixed positive voltage may be 3.3V, which is only illustrative and is not limited in this embodiment.
Aiming at the problem that the internal working voltage of the network port chip 600 in the prior art is relatively low, the provided first fixed positive voltage is usually 1.8V, the working voltage drop of most LEDs on the market is close to or even exceeds 1.8V, and some LEDs exceed 2.0V, and under the condition, the LEDs cannot be controlled to be lightened by simply using the LED interface carried by the network port chip 600. Therefore, a higher voltage is required to drive the indicator lights to be turned on, in the embodiment of the present application, when the power supply signal PSEi is at a low level, the first signal control module 300 is configured to control the positive voltage of the first indicator light 100 to be a second fixed positive voltage according to the power supply signal PSEi and the first PHY signal PHY1, and the second signal control module 400 is configured to control the negative voltage of the first indicator light 100 to be dynamically switched between 0V and the second fixed positive voltage according to the power supply signal PSEi and the second PHY signal PHY2, so as to control the first indicator light to flicker; in case that the power supply signal PSEi is at a high level, the first signal control module 300 is configured to control the negative electrode voltage of the second indicator light 200 to be dynamically switched between 0V and a second fixed positive voltage according to the power supply signal PSEi and the second PHY signal PHY2, and the second signal control module 400 is configured to control the positive electrode voltage of the second indicator light 200 to be the second fixed positive voltage according to the power supply signal PSEi and the first PHY signal PHY1, so as to control the second indicator light 200 to flicker. The voltage conversion can be realized, the first fixed positive voltage of the maximum voltage supplied from the network interface chip 600 is converted into the second fixed positive voltage capable of lighting the LED, and the LED serving as the first indicator lamp 100 or the second indicator lamp 200 can be lit.
The ethernet port indicator lamp control circuit that this application embodiment provided can realize voltage conversion, converts the first fixed positive voltage of maximum voltage that the net gape chip 600 provided into the fixed positive voltage of second that can light LED, can be lighted as the LED of first pilot lamp 100 or second pilot lamp 200.
In some embodiments, the first signal control module 300 includes a first gating unit, a second gating unit, and a first voltage conversion unit, where the first gating unit and the second gating unit are electrically connected to the first voltage conversion unit, the first gating unit is configured to access a first PHY signal, the second gating unit is configured to access a second PHY signal, the first voltage conversion unit is electrically connected to the anode of the first indicator light, and the power supply signal PSEi is configured to control the first gating unit to be turned on or the second gating unit to be turned on. The first signal control module 300 includes a third gating unit, a fourth gating unit and a second voltage conversion unit, the third gating unit and the fourth gating unit are electrically connected to the second voltage conversion unit, the third gating unit is used for accessing the first PHY signal, the fourth gating unit is used for accessing the second PHY signal, the second voltage conversion unit is electrically connected to the anode of the second indicator light, and the power supply signal PSEi is used for controlling the conduction of the third gating unit or the conduction of the fourth gating unit. One end of the first voltage conversion unit and one end of the second voltage conversion unit are both connected to a second fixed positive voltage, the other end of the first voltage conversion unit and the other end of the second voltage conversion unit are both grounded, and the second fixed positive voltage is larger than the first fixed positive voltage.
Different values of the power supply signal PSEi provided in the embodiment of the present application may control the first gating unit to be turned on or the second gating unit to be turned on, and control the fourth gating unit to be turned on or the third gating unit to be turned on, the first gating unit to be turned on or the second gating unit to be turned on may control the anode of the first indicator light 100 to access different voltages, and the fourth gating unit to be turned on or the third gating unit to be turned on may control the anode of the second indicator light to access different voltages. The control method and the control device can control different indicator lamps to be lightened or flash when the power supply signals PSEi are different.
In some embodiments, the first gating unit and the second gating unit respectively comprise a first switching device, and the first switching device is used for accessing the power supply signal and controlling the first gating unit to be conducted or the second gating unit to be conducted according to the power supply signal; and/or the presence of a gas in the gas,
the third gating unit and the fourth gating unit respectively comprise first switching devices, and the first switching devices are used for accessing the power supply signals and controlling the conduction of the third gating unit or the conduction of the fourth gating unit according to the power supply signals.
In some embodiments, the first voltage conversion unit comprises a second switching device for controlling the anode of the first indicator light to be connected to a second fixed positive voltage or ground; and/or the presence of a gas in the gas,
the second voltage conversion unit comprises a second switching device, and the second switching device is used for controlling the anode of the second indicator light to be connected with a second fixed positive voltage or grounded.
In some embodiments, the polarity of the first switching device of the first gating unit for switching in the supply signal is opposite to the polarity of said first switching device of the second gating unit for switching in the supply signal.
For example, the first switching device and the second switching device may both be transistors, and fig. 3 is a schematic circuit diagram of another ethernet port indicator lamp control circuit provided in the embodiments of the present application. As shown in fig. 3, the first gating unit may include a third transistor Q3, and the third resistor R3 and the fourth resistor R4 may function as a current limiting unit for protecting the base of the transistor from being broken down by a large current. The base of the third triode Q3 is connected to the power supply signal PSEi, and the emitter is connected to the first PHY signal PHY 1. The second gating unit may include a first transistor Q1 and a second transistor Q2, a base of the first transistor Q1 is connected to a collector of the second transistor Q2, an emitter of the first transistor Q1 is connected to the second PHY signal PHY2, an emitter of the second transistor Q2 is grounded, a base of the second transistor Q2 is connected to the power supply signal PSEi through a second resistor R2, and a base of the second transistor Q2 is connected to a fixed voltage, which may be 3.3V, through a first resistor R1 and a second resistor R2 connected in series. The polarities of the second transistor Q2 and the third transistor Q3 may be opposite, for example, the second transistor Q2 is an NPN transistor, the third transistor Q3 is a PNP transistor, the NPN transistor is turned on at a high level, turned off at a low level, and turned off at a high level, and turned on at a low level, so that the same power supply signal PSEi can control one of the second transistor Q2 and the third transistor Q3 to turn on the second gating unit or turn on the first gating unit. The first voltage conversion unit may include a fourth transistor Q4, a fifth transistor Q5, and a sixth transistor Q6, wherein the polarities of the fifth transistor Q5 and the sixth transistor Q6 are opposite, a sixth resistor R6 is used to current-limit the base of the first transistor Q1, and a fifth resistor R5 is used to current-limit the base of the fourth transistor Q4. When the second transistor Q2 is turned on, the emitter and the collector of the second transistor Q2 are turned on, the base of the first transistor Q1 is grounded, and the polarities of the first transistor Q1 and the second transistor Q2 are opposite, the first transistor Q1 is turned on, and the second PHY signal PHY2 is transmitted to the base of the fourth transistor Q4. The collector of the third transistor Q3 is connected to the base of the fourth transistor Q4 through a fourth resistor R4, and when the third transistor Q3 is turned on, the first PHY signal PHY1 is transmitted to the base of the fourth transistor Q4. The second fixed positive voltage may be 3.3V, and the seventh resistor R7, the eighth resistor R8, the ninth resistor R9, and the tenth resistor R10 may also function as current limiting protection. The first and second indicator lights may be LEDs, respectively LED1 and LED2,. When the fourth triode Q4 is turned on, the base of the fifth triode Q5 and the base of the sixth triode Q6 are grounded, the fifth triode Q5 is turned on, and the sixth triode Q6 is turned off, the positive electrode of the LED1 and the negative electrode of the LED2 are connected to 3.3V through the tenth resistor R10; when the fourth transistor Q4 is not turned on, the base of the fifth transistor Q5 and the base of the sixth transistor Q6 are connected to 3.3V, the fifth transistor Q5 is not turned on, and the sixth transistor Q6 is turned on, then the positive electrode of the LED1 and the negative electrode of the LED2 are grounded through the tenth resistor R10. Similarly, the eleventh resistor R11, the twelfth resistor R12, the thirteenth resistor R13, the fourteenth resistor R14, the fifteenth resistor R15, the sixteenth resistor R16, the seventeenth resistor R17, and the eighteenth resistor R18 may all function as current limiting protection. The third gating unit comprises an eleventh triode Q11 and a twelfth triode Q12, and the fourth gating unit comprises a thirteenth triode Q10; the second voltage conversion unit includes a ninth transistor Q9, an eighth transistor Q8, and a seventh transistor Q7.
Illustratively, the first PHY signal PHY1 is 1.8V, the second PHY signal PHY2 is a dynamically and alternately switched voltage between 0V and 1.8V, when the power supply signal PSEi is at a low level (0V), it represents that the power supply state is accessing to the power receiving end device, the third transistor Q3 and the thirteenth transistor Q10 are turned on, the second transistor Q2 and the twelfth transistor Q12 are turned off, the first PHY signal PHY1 is accessing to the base of the fourth transistor Q4, the fourth transistor Q4 is turned on, the fifth transistor Q5 is turned on, the sixth transistor Q6 is turned off, and the anode of the LED1 is accessing to 3.3V; meanwhile, the second PHY signal PHY2 is connected to the base of the ninth transistor Q9, the ninth transistor Q9 is turned off when the second PHY signal PHY2 is switched to 0V, and is turned on when the second PHY signal PHY2 is switched to 1.8V, the seventh transistor Q7 is turned off and on alternately, the eighth transistor Q8 is turned on and off alternately, the negative electrode of the LED1 is switched between ground and 3.3V alternately, two-stage differential pressure of the LED1 is switched between 3.3V and 0V, the LED1 is in a flickering state, the LED2 is in a normally off state, and the LED1 flickers when the power supply state is connected to the power receiving end device. When the power supply signal PSEi is at a high level, the power supply state represents that the power supply state is not accessed to the power receiving end equipment, the third triode Q3 and the thirteenth triode Q10 are closed, the second triode Q2 and the twelfth triode Q12 are opened, the first PHY signal PHY1 is accessed to the base of the eleventh triode Q11, the eleventh triode Q11 is opened, the ninth triode Q9 is opened, the seventh triode Q7 is opened, the eighth triode Q8 is closed, and the positive electrode of the LED2 is accessed to 3.3V; meanwhile, the second PHY signal PHY2 is connected to the base of the fourth transistor Q4, the fourth transistor Q4 is turned off when the second PHY signal PHY2 is switched to 0V, and is turned on when the second PHY signal PHY2 is switched to 1.8V, then the fifth transistor Q5 is turned off and on alternately, the sixth transistor Q6 is turned on and off alternately, the negative electrode of the LED2 is switched between ground and 3.3V alternately, then the two-stage voltage difference of the LED2 is switched between 3.3V and 0V, then the LED2 is in a flickering state, the LED1 is in a normally off state, and then the power supply state is connected to the power receiving end device, and the LED2 flickers. The LED1 and the LED2 may emit different colors, for example, the LED1 may be a green LED, and the LED2 may be a yellow LED, which is not limited in this embodiment.
A second aspect of the embodiment of the present application provides a control method for an ethernet port indicator light, which is applied to the control circuit for an ethernet port indicator light according to the first aspect, and fig. 4 is a schematic flowchart of the control method for an ethernet port indicator light provided in the embodiment of the present application. As shown in fig. 4, a method for controlling an ethernet port indicator light provided in an embodiment of the present application includes:
s100: the first PHY signal and the second PHY signal are generated according to a network communication state.
: and generating a power supply signal according to the power supply state.
: and controlling to light the first indicator light or the second indicator light according to the first PHY signal or the second PHY signal based on different power supply signals.
According to the control method of the Ethernet port indicator lamp, the first PHY signal and the second PHY signal are generated according to the network communication state through the loop in which the positive electrode and the negative electrode of the first indicator lamp are connected in series, and the power supply signal is generated according to the power supply state. The first signal control module can control the first PHY signal to be input into the first signal control module or control the second PHY signal to be input into the first signal control module according to different power supply signals so as to act on the positive pole of the first indicator light or act on the negative pole of the second indicator light; the second signal control module can control the second PHY signal to be input into the second signal control module or control the first PHY signal to be input into the second signal control module according to different power supply signals so as to act on the negative pole of the first indicator light or act on the positive pole of the second indicator light. It is possible to control the first indication lamp to be lit or the second indication lamp to be lit according to the first PHY signal and the second PHY signal based on different power supply signals. The lighting state of the indicator lamp can be controlled by signals corresponding to the power supply state and the network communication state, linkage of the indicator lamp can be achieved, the number of the required indicator lamps can be reduced, occupied space of a circuit is saved, and the area of a control circuit is reduced.
In a third aspect of embodiments of the present application, an electronic device is provided, where the electronic device includes the ethernet interface indicator light control circuit described in the first aspect, and the electronic device may be, for example, a router or other devices that can provide power supply and network communication, and the embodiments of the present application are not limited in particular.
While preferred embodiments of the present specification have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all changes and modifications that fall within the scope of the specification.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present specification without departing from the spirit and scope of the specification. Thus, if such modifications and variations of the present specification fall within the scope of the claims of the present specification and their equivalents, the specification is intended to include such modifications and variations.
Claims (9)
1. An ethernet port indicator lamp control circuit, comprising:
a first indicator light;
the anode of the second indicator light is electrically connected with the cathode of the first indicator light, and the anode of the first indicator light is electrically connected with the cathode of the second indicator light;
the first signal control module is electrically connected with the anode of the first indicator light;
the second signal control module is electrically connected with the positive electrode of the second indicator light;
the first signal control module and the second signal control module are used for controlling to light the first indicator light or the second indicator light according to a first PHY signal or a second PHY signal based on different power supply signals, the first PHY signal and the second PHY signal are generated according to a network communication state, and the power supply signals are generated according to a power supply state;
the first signal control module comprises a first gating unit, a second gating unit and a first voltage conversion unit, wherein the first gating unit and the second gating unit are electrically connected to the first voltage conversion unit, the first gating unit is used for accessing the first PHY signal, the second gating unit is used for accessing the second PHY signal, the first voltage conversion unit is electrically connected with the anode of the first indicator lamp, and the power supply signal is used for controlling the conduction of the first gating unit or the conduction of the second gating unit;
the first signal control module comprises a third gating unit, a fourth gating unit and a second voltage conversion unit, wherein the third gating unit and the fourth gating unit are electrically connected to the second voltage conversion unit, the third gating unit is used for accessing the first PHY signal, the fourth gating unit is used for accessing the second PHY signal, the second voltage conversion unit is electrically connected to the anode of the second indicator light, and the power supply signal is used for controlling the conduction of the third gating unit or the conduction of the fourth gating unit;
one end of the first voltage conversion unit and one end of the second voltage conversion unit are both connected with a second fixed positive voltage, and the other end of the first voltage conversion unit and the other end of the second voltage conversion unit are both grounded;
the first PHY signal is a first fixed positive voltage, the second PHY signal is dynamically switched between 0V and the first fixed positive voltage, and the second fixed positive voltage is greater than the first fixed positive voltage.
2. The ethernet port indicator light control circuit of claim 1, further comprising:
a portal chip to provide the first PHY signal and the second PHY signal to the first signal control module and the second signal control module, respectively;
the system chip is used for respectively providing the power supply signals for the first signal control module and the second signal control module.
3. The Ethernet port indicator lamp control circuit of claim 1, wherein the first signal control module and the second signal control module are configured to control the first indicator lamp to blink or the second indicator lamp to blink according to the first PHY signal and the second PHY signal based on different power supply signals.
4. The Ethernet port indicator lamp control circuit of claim 2, wherein the Ethernet port chip is configured to control the first PHY signal to be a first fixed positive voltage, and to control the second PHY signal to dynamically switch between 0V and the first fixed positive voltage;
the system chip is used for controlling the power supply signal to be in a high level or a low level.
5. The Ethernet port indicator lamp control circuit of claim 4, wherein, in case the power supply signal is at a low level, the first signal control module is configured to control the positive voltage of the first indicator lamp to be a second fixed positive voltage according to the power supply signal and the first PHY signal, and the second signal control module is configured to control the negative voltage of the first indicator lamp to be dynamically switched between 0V and the second fixed positive voltage according to the power supply signal and the second PHY signal so as to control the first indicator lamp to blink;
under the condition that the power supply signal is at a high level, the first signal control module is used for controlling the negative electrode voltage of the second indicator lamp to be dynamically switched between 0V and a second fixed positive voltage according to the power supply signal and the second PHY signal, and the second signal control module is used for controlling the positive electrode voltage of the second indicator lamp to be the second fixed positive voltage according to the power supply signal and the first PHY signal so as to control the second indicator lamp to flicker.
6. The Ethernet port indicator lamp control circuit of claim 5, wherein the first gating unit and the second gating unit respectively comprise a first switching device, and the first switching device is configured to access the power supply signal and control the first gating unit to be turned on or the second gating unit to be turned on according to the power supply signal; and/or the presence of a gas in the gas,
the third gating unit and the fourth gating unit respectively comprise first switching devices, and the first switching devices are used for accessing the power supply signals and controlling the third gating unit or the fourth gating unit to be conducted according to the power supply signals.
7. The Ethernet port indicator lamp control circuit of claim 6, wherein the first voltage conversion unit comprises a second switching device, and the second switching device is used for controlling the positive electrode of the first indicator lamp to be connected to the second fixed positive voltage or ground; and/or the presence of a gas in the gas,
the second voltage conversion unit comprises a second switching device, and the second switching device is used for controlling the anode of the second indicator light to be connected to the second fixed positive voltage or grounded.
8. An Ethernet port indicator light control circuit according to claim 6, wherein the polarity of the first switching device of the first gating unit for accessing the power supply signal is opposite to the polarity of the first switching device of the second gating unit for accessing the power supply signal.
9. An ethernet port indicator lamp control method applied to the ethernet port indicator lamp control circuit according to any one of claims 1 to 8, the method comprising:
generating a first PHY signal and a second PHY signal according to a network communication state;
generating a power supply signal according to the power supply state;
controlling to illuminate a first indicator light or a second indicator light according to the first PHY signal or the second PHY signal based on the different power supply signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111655013.9A CN114007315B (en) | 2021-12-31 | 2021-12-31 | Ethernet port indicator lamp control circuit and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111655013.9A CN114007315B (en) | 2021-12-31 | 2021-12-31 | Ethernet port indicator lamp control circuit and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114007315A CN114007315A (en) | 2022-02-01 |
CN114007315B true CN114007315B (en) | 2022-05-10 |
Family
ID=79932658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111655013.9A Active CN114007315B (en) | 2021-12-31 | 2021-12-31 | Ethernet port indicator lamp control circuit and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114007315B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202059641U (en) * | 2011-05-23 | 2011-11-30 | 青岛海信宽带多媒体技术有限公司 | Indicating lamp control circuit and set-top-box with same |
WO2016000981A1 (en) * | 2014-06-30 | 2016-01-07 | Koninklijke Philips N.V. | Device management |
CN206293726U (en) * | 2016-12-30 | 2017-06-30 | 浙江小尤鱼智能技术有限公司 | A kind of Intelligent touch socket or ON-OFF control circuit |
CN210298160U (en) * | 2019-06-28 | 2020-04-10 | Tcl通力电子(惠州)有限公司 | Drive circuit and electronic device |
CN210324185U (en) * | 2019-08-21 | 2020-04-14 | 苏州浪潮智能科技有限公司 | A multi-channel signal indicating circuit |
CN112135382A (en) * | 2020-09-25 | 2020-12-25 | 深圳市创维群欣安防科技股份有限公司 | Indicator lamp control circuit and electric equipment |
CN214315673U (en) * | 2021-03-02 | 2021-09-28 | 深圳市鼎阳科技股份有限公司 | Chargeable equipment and charge indicator lamp control circuit thereof |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109686604B (en) * | 2019-02-15 | 2024-04-26 | 北京小米移动软件有限公司 | A wireless control switch |
US11184963B2 (en) * | 2019-11-20 | 2021-11-23 | McWong Inc. | Emergency lighting system with differential dimming |
CN113099579B (en) * | 2019-12-23 | 2022-07-05 | 华润微集成电路(无锡)有限公司 | LED constant current driving system and method |
CN211656435U (en) * | 2019-12-30 | 2020-10-09 | 深圳市壹厘米科技有限公司 | Stepless adjustable color temperature lamp control circuit and device |
CN212752691U (en) * | 2020-08-31 | 2021-03-19 | 深圳市祥瑞万嘉科技有限公司 | Lamp networking controller |
-
2021
- 2021-12-31 CN CN202111655013.9A patent/CN114007315B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202059641U (en) * | 2011-05-23 | 2011-11-30 | 青岛海信宽带多媒体技术有限公司 | Indicating lamp control circuit and set-top-box with same |
WO2016000981A1 (en) * | 2014-06-30 | 2016-01-07 | Koninklijke Philips N.V. | Device management |
CN206293726U (en) * | 2016-12-30 | 2017-06-30 | 浙江小尤鱼智能技术有限公司 | A kind of Intelligent touch socket or ON-OFF control circuit |
CN210298160U (en) * | 2019-06-28 | 2020-04-10 | Tcl通力电子(惠州)有限公司 | Drive circuit and electronic device |
CN210324185U (en) * | 2019-08-21 | 2020-04-14 | 苏州浪潮智能科技有限公司 | A multi-channel signal indicating circuit |
CN112135382A (en) * | 2020-09-25 | 2020-12-25 | 深圳市创维群欣安防科技股份有限公司 | Indicator lamp control circuit and electric equipment |
CN214315673U (en) * | 2021-03-02 | 2021-09-28 | 深圳市鼎阳科技股份有限公司 | Chargeable equipment and charge indicator lamp control circuit thereof |
Also Published As
Publication number | Publication date |
---|---|
CN114007315A (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108322964A (en) | LED drive power circuit | |
CN115397079B (en) | Communication impedance matching circuit, lamp and lamp control system | |
CN114007315B (en) | Ethernet port indicator lamp control circuit and control method | |
CN105191504B (en) | Include the light-emitting device of two interfaces | |
CN110323941A (en) | Low-power consumption standby circuit | |
CN215415597U (en) | Power supply equipment | |
CN207969012U (en) | Led lamp drive control circuit | |
CN116981124A (en) | Dimming and color temperature adjusting circuit, PCB and lighting device | |
CN211702477U (en) | Wireless weak current dry contact adapter | |
CN206948665U (en) | A kind of bridge-type light modulation toning drive circuit | |
CN211297028U (en) | Interior lamp control circuit and interior lamp | |
CN214338164U (en) | LED brightness adjusting circuit and electronic equipment | |
CN209982779U (en) | A lighting control device and system based on wired communication | |
CN113362616B (en) | Intelligent traffic signal control method and control circuit | |
CN209497658U (en) | Emergent identification lamp and lamps and lanterns management system | |
CN109618462B (en) | A lighting control device and system based on wired communication | |
CN203554760U (en) | Bimodal light modulation circuit and illumination equipment | |
CN209593861U (en) | Emergent identification lamp and lamps and lanterns management system | |
CN218550246U (en) | Display control circuit and monitoring equipment | |
CN110996437A (en) | Automotive interior lamp control circuit and automotive interior lamp | |
CN207884934U (en) | Brightness regulating circuit based on bus marco and photographic device | |
CN221283410U (en) | OTG and USB communication switchable multiplexing fast-charging multifunctional circuit board | |
CN214481375U (en) | Emergency sign lamp for direct current carrier communication | |
CN106710533B (en) | A kind of direct current bears light adjusting circuit and liquid crystal display | |
CN205566727U (en) | Decoder |
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 |