CN214101856U - Circuit with multi-functional LED indicates pin - Google Patents

Circuit with multi-functional LED indicates pin Download PDF

Info

Publication number
CN214101856U
CN214101856U CN202022058221.8U CN202022058221U CN214101856U CN 214101856 U CN214101856 U CN 214101856U CN 202022058221 U CN202022058221 U CN 202022058221U CN 214101856 U CN214101856 U CN 214101856U
Authority
CN
China
Prior art keywords
reference node
supply voltage
voltage
circuit
mos switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202022058221.8U
Other languages
Chinese (zh)
Inventor
邱星福
朱晓明
冯伟平
朱同祥
符志岗
欧新华
袁琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xindao Electronic Technology Co ltd
Original Assignee
Shanghai Xindao Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xindao Electronic Technology Co ltd filed Critical Shanghai Xindao Electronic Technology Co ltd
Priority to CN202022058221.8U priority Critical patent/CN214101856U/en
Application granted granted Critical
Publication of CN214101856U publication Critical patent/CN214101856U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model relates to the technical field of circuits, especially, relate to a circuit with multi-functional LED instructs pin, wherein, include: a light emitting diode connected between a first power voltage and a first reference node; the key switch is connected between the first power voltage and the first reference node; a first MOS switch connected between a first reference node and a second power supply voltage; a first current source branch connected between a first reference node and a second supply voltage; a second current source branch connected between a second supply voltage and a second reference node; a second MOS switch connected between a second reference node and the first power supply voltage; and the input end of the logic module is connected to the second reference node, and the output end of the logic module is used as a multifunctional LED indicating pin. Has the advantages that: the multifunctional LED indicating pin is used for realizing the function, so that the requirement of realizing the mode selection inside a chip by a key switch is met, the indicating function of the LED is not hindered, and the cost is saved.

Description

Circuit with multi-functional LED indicates pin
Technical Field
The utility model relates to the technical field of circuits, especially, relate to a circuit with multi-functional LED instructs pin.
Background
In the application of the lithium battery charging management chip, the key switch function and the indication function of the light emitting diode LED in the working state are generally required.
In the prior art, a key switch and a light emitting diode LED are usually connected to different pins to implement their respective functions, as shown in fig. 1, where pin a is connected to the light emitting diode LED to implement charge and discharge status indication, and pin B is connected to the key switch to implement mode selection. Therefore, according to the prior art, on one hand, the packaging cost of the chip is increased, and on the other hand, for the packaging scheme with limited pin count, no redundant pins are generally used. Therefore, the problem of the above technical solutions is a difficult problem to be solved in the art.
Disclosure of Invention
In response to the above-mentioned problems in the prior art, a circuit with a multi-functional LED indicator pin is now provided.
The specific technical scheme is as follows:
the utility model provides a circuit with multi-functional LED instructs pin, wherein, include:
a light emitting diode connected between a first power voltage and a first reference node;
a key switch connected between the first power supply voltage and the first reference node;
the first MOS switch is connected between the first reference node and a second power voltage and controls the light-emitting diode under the action of a first control signal;
a first current source branch connected between the first reference node and the second supply voltage;
a second current source branch connected between the second supply voltage and a second reference node;
a second MOS switch, a control terminal of said second MOS switch being connected to said first reference node, said second MOS switch being controllably connected between said second reference node and said first supply voltage;
and the input end of the logic module is connected to the second reference node, and the output end of the logic module is used as the multifunctional LED indicating pin.
Preferably, the first power voltage is a ground voltage, and the second power voltage is greater than the first power voltage.
Preferably, the second power voltage is a ground voltage, and the first power voltage is greater than the second power voltage.
Preferably, the first MOS switch is a PMOS transistor, a gate of the PMOS transistor is connected to a first control signal terminal, a drain of the PMOS transistor is connected to the first reference node, and a source of the first MOS transistor is connected to the second power supply voltage;
the second MOS switch is an NMOS tube, the grid electrode of the NMOS tube is connected to the first reference node, the drain electrode of the NMOS tube is connected to the second reference node, and the source electrode of the NMOS tube is connected to the first power voltage.
Preferably, the first MOS switch is an NMOS transistor, a gate of the NMOS transistor is connected to the first control signal terminal, a drain of the NMOS transistor is connected to the first reference node, and a source of the first MOS transistor is connected to the second power supply voltage;
the second MOS switch is a PMOS tube, the grid electrode of the PMOS tube is connected to the first reference node, the drain electrode of the PMOS tube is connected to the second reference node, and the source electrode of the NMOS tube is connected to the first power supply voltage.
Preferably, the method further comprises the following steps:
and the auxiliary control module is connected between the key switch and the light-emitting diode.
Preferably, the first current source branch comprises a first current source connected between the first reference node and the second supply voltage.
Preferably, the second current source branch comprises a second current source connected between the second reference node and the second supply voltage.
Preferably, the filter module further comprises a filter module, an input end of the filter module is connected to the multifunctional LED indication pin, and an output end of the filter module is connected to an output end of the filter module, so as to filter the narrow pulse width signal output by the multifunctional LED indication pin.
The technical scheme has the following advantages or beneficial effects: the LED display device has the advantages that the indication function of the LED and the mode selection function of the key switch are realized by using the multifunctional LED indication pin together, so that the LED and the key switch realize two-in-one control of the mode selection in the chip, the requirement of the key switch for realizing the mode selection in the chip is met, the indication function of the LED is not hindered, and the cost is saved.
Drawings
Fig. 1 is a schematic diagram of a circuit structure of the background art of the present invention;
fig. 2 is a schematic diagram of a circuit structure according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another circuit structure according to an embodiment of the present invention;
fig. 4 is a waveform diagram of a first control signal according to an embodiment of the present invention;
fig. 5 is a waveform diagram of a square wave signal of a control terminal of a second MOS switch according to an embodiment of the present invention;
fig. 6 is a waveform diagram of the control end output signal after the voltage of the pin is pulled down to be close to the ground when the auxiliary control module is a short-circuit wire according to the embodiment of the present invention;
fig. 7 is a waveform diagram of the led after the voltage of the pin is pulled down to be close to the ground when the auxiliary control module is a large resistor according to the embodiment of the present invention;
fig. 8 is a circuit diagram of a filter module according to an embodiment of the present invention;
fig. 9 is a schematic diagram of waveforms of the filtering module filtering the narrow pulse width signals according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.
It should be noted that, in the present invention, the embodiments and features of the embodiments may be combined with each other without conflict.
The present invention will be further described with reference to the accompanying drawings and specific embodiments, but the present invention is not limited thereto.
The utility model provides a circuit with multi-functional LED instructs pin, it is shown in combination figure 2, 3, wherein, include:
a Light Emitting Diode (LED) connected between a first power voltage (1) and a first reference node (2);
a key switch S connected between a first supply voltage 1 and a first reference node 2;
the first MOS switch 3 is connected between the first reference node 2 and a second power voltage 4, and the first MOS switch 3 controls the light-emitting diode LED under the action of a first control signal;
a first current source branch 5 connected between the first reference node 2 and the second supply voltage 4;
a second current source branch 6 connected between the second supply voltage 4 and a second reference node 40;
a second MOS switch 7, a control terminal of the second MOS switch 7 being connected to the first reference node 2, the second MOS switch 7 being controllably connected between the second reference node 40 and the first supply voltage 1;
and the input end of the logic module 8 is connected to the second reference node 40, and the output end of the logic module 8 is used as a multifunctional LED indicating pin 9.
In this embodiment, the turn-on threshold voltage of the light emitting diode LED is usually greater than 1.5V, so that a weak pull-up form can be formed by the first current branch 5 and the second current branch 6, so that the voltage at the first reference node 2 can be maintained above 1.5V, and the voltage exceeding 1.5V at the first reference node 1 is enough to control the output function of the second MOS switch 7.
Further, the first MOS switch 3 is used for controlling on/off of the light emitting diode LED, when the key switch S is turned off, the first MOS switch 7 can only control the key switch S, and since the voltage at the first reference node 2 is greater than the turn-on threshold voltage of the second MOS switch 7, and the turn-on threshold voltage of the second MOS switch 7 is 0.7V, the second MOS switch 7 can output a stable control signal, and then the stable control signal output by the second MOS switch 7 is converted into a stable logic signal by the logic module 8, so that the multifunctional LED indication pin 9 can receive the stable logic signal and transmit the stable logic signal to the inside of the chip.
In this embodiment, the indication function of the light emitting diode and the function of realizing mode selection by the key switch are realized by using one multifunctional LED indication pin, so that the light emitting diode and the key switch realize two-in-one control of the mode selection inside the chip, the requirement of realizing the mode selection inside the chip by the key switch is met, the indication function of the light emitting diode is not hindered, and the cost is saved.
In a preferred embodiment, as shown in FIG. 2, the first power voltage 1 is a ground voltage, and the second power voltage 4 is greater than the first power voltage 1.
In a preferred embodiment, as shown in FIG. 3, the second power voltage 4 is a ground voltage, and the first power voltage 1 is greater than the second power voltage 4.
In a preferred embodiment, as shown in fig. 2, the first MOS switch 3 is a PMOS transistor, a gate of the PMOS transistor is connected to a first control signal terminal 30, a drain of the PMOS transistor is connected to the first reference node 2, and a source of the first MOS switch 3 is connected to the second power voltage 4;
the second MOS switch 7 is an NMOS transistor, a gate of the NMOS transistor is connected to the first reference node 2, a drain of the NMOS transistor is connected to the second reference node 40, and a source of the NMOS transistor is connected to the first power voltage 1.
Specifically, in this embodiment, the turn-off of the light emitting diode LED in the above technical scheme is controlled by the PMOS transistor, and a stable control signal is output to the multifunctional LED indication pin 9 in the above technical scheme through the NMOS transistor, and then transmitted to the inside of the chip, so that the turn-off of the key switch S can be controlled.
In a preferred embodiment, as shown in fig. 3, the first MOS switch 3 is an NMOS transistor, a gate of the NMOS transistor is connected to the first control signal terminal 30, a drain of the NMOS transistor is connected to the first reference node 2, and a source of the first MOS transistor 3 is connected to the second power voltage 4;
the second MOS switch 7 is a PMOS transistor, a gate of the PMOS transistor is connected to the first reference node 2, a drain of the PMOS transistor is connected to the second reference node 40, and a source of the NMOS transistor is connected to the first power voltage 4.
Specifically, in this embodiment, the circuit structure of fig. 3 is adopted, and the circuit structure is a mirror image structure of the circuit structure of fig. 2 adopted in the above technical solution, that is, the light emitting diode LED in the above technical solution is controlled to be turned off by the NMOS tube, and a stable control signal is output to the multi-function LED indication pin 9 by the PMOS tube, and then transmitted to the inside of the chip, so that the turn-off of the key switch S can be controlled.
In a preferred embodiment, the method further comprises:
and the auxiliary control module 10 is connected between the key switch S and the light emitting diode LED, and the auxiliary control module 10 is connected between the key switch S and the light emitting diode LED.
Specifically, the auxiliary control module 10 may use a switch, a triode or a MOS transistor to implement turning on or off, and may also use a series resistor or a diode to perform auxiliary control.
In this embodiment, as shown in fig. 2, the first control signal output by the first control signal terminal 30 in the above technical solution is a flashing control square wave, and when the auxiliary control module 10 is a short-circuit wire, the key switch S is turned off, as shown in a waveform of fig. 4, where an abscissa is time T (unit: second \ S) and an ordinate is voltage V (unit: volt \ V). At this time, the square wave signal of the gate of the NMOS transistor in the above technical solution is a square wave signal with a phase opposite to that of the first control signal, as shown in the waveform of fig. 5, and the low level is about 1.5V, so as to sufficiently pull down the voltage of the second reference node 40 in fig. 2 to 0, when the key switch S is closed, the voltage of the first reference node 2 is pulled down, that is, the voltage of the gate of the second MOS switch 7 is pulled down, so that the voltage of the second reference node 40 has a logic high, where the abscissa is time T (unit: S \ S) and the ordinate is voltage V (unit: V \ V).
Further, the voltage at the first reference node 2 is pulled down to a potential close to the ground GND by the auxiliary control module 10, as shown in the waveform of fig. 6, where the abscissa is time T (unit: second \ S) and the ordinate is voltage V (unit: V \ V), and the multifunctional LED indication pin 9 outputs a high level signal, thereby completing the function control of the chip interior.
In this embodiment, corresponding to the circuit structure diagram of fig. 2, when the auxiliary control module 10 is a large resistor, the voltage at the first reference node 2 may be pulled down to a potential close to the ground GND, so as to turn off the NMOS transistor and complete the mode selection of the key switch S, and the on/off of the large resistor does not affect the conduction of the light emitting diode LED at a high frequency, as shown in the waveform of fig. 7, where the abscissa is time T (unit: second \ S) and the ordinate is voltage V (unit: V \ V), so as to implement the indication function of the light emitting diode LED.
In a preferred embodiment, the first current source branch 5 comprises a first current source I1 connected between the first reference node 1 and the second supply voltage 4.
Specifically, the first current source I1 is a weak pull-up current source for pulling up the voltage at the first reference node 2, so as to drive the gate of the second MOS switch 7 in the above technical solution.
In a preferred embodiment, the second current source branch 6 comprises a second current source I2 connected between the second reference node 40 and the second supply voltage 4.
Specifically, the second current source I2 in this embodiment is also a weak pull-up current source for pulling up the voltage at the second reference node 40 to realize the driving of the drain of the second MOS switch 7 in the above technical solution.
In a preferred embodiment, as shown in fig. 2, the anode of the LED is connected to the drain of the PMOS transistor, and the cathode of the LED is connected to the first power voltage 1.
In a preferred embodiment, as shown in fig. 3, the anode of the light emitting diode LED is connected to a first supply voltage 1 and the cathode of the light emitting diode LED is connected to a first reference node 1.
In a preferred embodiment, as shown in fig. 8, the LED pulse width signal processing device further includes a filter module 11, an input terminal of the filter module 11 is connected to the multi-function LED indication pin 9, and an output terminal of the filter module 11 is connected to an output terminal 12 for filtering the narrow pulse width signal output from the multi-function LED indication pin 9.
Specifically, when the control signal output by the multi-function LED indication pin 9 passes through the filtering module 11, the low level output by the multi-function LED indication pin 9 will enable the output terminal 12 to output the first mode state, and when the high level output by the multi-function LED indication pin 9 keeps the effective delay time, the output terminal 12 will enable the second mode state, as shown in fig. 9, thereby preventing the problem that the state is falsely triggered. Similarly, the circuit structure of fig. 3 can also be processed with a low-level delay of the multi-function LED indication pin 9.
In a preferred embodiment, the filtering module 11 comprises a temporal filter.
The above description is only an example of the preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and those skilled in the art should be able to realize the equivalent alternatives and obvious variations of the present invention.

Claims (9)

1. A circuit having a multi-function LED indicator pin, comprising:
a light emitting diode connected between a first power voltage and a first reference node;
a key switch connected between the first power supply voltage and the first reference node;
the first MOS switch is connected between the first reference node and a second power voltage and controls the light-emitting diode under the action of a first control signal;
a first current source branch connected between the first reference node and the second supply voltage;
a second current source branch connected between the second supply voltage and a second reference node;
a second MOS switch, a control terminal of said second MOS switch being connected to said first reference node, said second MOS switch being controllably connected between said second reference node and said first supply voltage;
and the input end of the logic module is connected to the second reference node, and the output end of the logic module is used as the multifunctional LED indicating pin.
2. The circuit of claim 1, wherein the first supply voltage is a ground voltage and the second supply voltage is greater than the first supply voltage.
3. The circuit of claim 1, wherein the second supply voltage is a ground voltage, and the first supply voltage is greater than the second supply voltage.
4. The circuit of claim 1, wherein the first MOS switch is a PMOS transistor, a gate of the PMOS transistor is connected to a first control signal terminal, a drain of the PMOS transistor is connected to the first reference node, and a source of the first MOS transistor is connected to the second supply voltage;
the second MOS switch is an NMOS tube, the grid electrode of the NMOS tube is connected to the first reference node, the drain electrode of the NMOS tube is connected to the second reference node, and the source electrode of the NMOS tube is connected to the first power voltage.
5. The circuit of claim 1, wherein the first MOS switch is an NMOS transistor, a gate of the NMOS transistor is connected to the first control signal terminal, a drain of the NMOS transistor is connected to the first reference node, and a source of the first MOS transistor is connected to the second power supply voltage;
the second MOS switch is a PMOS tube, the grid electrode of the PMOS tube is connected to the first reference node, the drain electrode of the PMOS tube is connected to the second reference node, and the source electrode of the NMOS tube is connected to the first power supply voltage.
6. The circuit of claim 1, further comprising:
and the auxiliary control module is connected between the key switch and the light-emitting diode.
7. The circuit of claim 1 wherein said first current source branch comprises a first current source connected between said first reference node and said second supply voltage.
8. The circuit of claim 1 wherein said second current source branch comprises a second current source connected between said second reference node and said second supply voltage.
9. The circuit of claim 4, further comprising a filter module, an input of the filter module being connected to the multi-function LED indicator pin, an output of the filter module being connected to an output for filtering the narrow pulse width signal output by the multi-function LED indicator pin.
CN202022058221.8U 2020-09-18 2020-09-18 Circuit with multi-functional LED indicates pin Active CN214101856U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022058221.8U CN214101856U (en) 2020-09-18 2020-09-18 Circuit with multi-functional LED indicates pin

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022058221.8U CN214101856U (en) 2020-09-18 2020-09-18 Circuit with multi-functional LED indicates pin

Publications (1)

Publication Number Publication Date
CN214101856U true CN214101856U (en) 2021-08-31

Family

ID=77441609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022058221.8U Active CN214101856U (en) 2020-09-18 2020-09-18 Circuit with multi-functional LED indicates pin

Country Status (1)

Country Link
CN (1) CN214101856U (en)

Similar Documents

Publication Publication Date Title
CN107591859B (en) Wireless charging receiving controller protection method and device
CN103280968A (en) Timing control circuit of pulse power supply
CN101677240A (en) Isolated gate bipolar transistor driving circuit
US9584109B2 (en) Voltage regulator and resonant gate driver thereof
WO2023016574A1 (en) Switching circuit, battery management system, battery pack, electrical device and control method
CN111725857A (en) Switch drive circuit and battery control circuit
CN113258765B (en) Wake-up circuit and electronic device comprising same
CN214101856U (en) Circuit with multi-functional LED indicates pin
CN204013448U (en) A kind of IGBT Drive Protecting Circuit
CN109742938B (en) Anti-interference delay start control circuit and system
CN1909354B (en) Starting circuit for power converter
CN101739378B (en) Driving circuit of EIB (European installation bus) bus transmitting device
CN112133238B (en) Drive circuit and electronic device
CN115051433A (en) Battery protection circuit and electronic equipment
CN214014208U (en) Reset circuit, reset device, and control device
CN209994263U (en) Power-on sequence control circuit
CN210927592U (en) Startup and shutdown circuit
CN109149913A (en) Metal-oxide-semiconductor driving circuit
CN103841711B (en) A kind of LED emergence lighting lamp and drive circuit thereof
CN216490434U (en) Preceding stage driving circuit for switching high-power high-frequency switch
CN106877851B (en) Sensor delay control circuit
CN218449584U (en) Solar PWM charging circuit
CN216959295U (en) Quick shutdown discharge circuit and power supply system
CN115642788B (en) Power supply driving circuit and system thereof
CN217957056U (en) Power type key trigger circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant