Double-color lamp control circuit and control method thereof

By designing a two-color lamp control circuit, using power modules, switching modules and two-color indicator modules, the control of two-color LEDs is simplified, and the problem of difficulty in effectively controlling two-color LEDs in the prior art is solved, and color switching and cost reduction are achieved.

CN119136388APending Publication Date: 2024-12-13GUANGDONG TELEPOWER TELECOM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411323510.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the prior art, the two-color LED status indicator light is difficult to effectively control by a single output signal, making it difficult to meet basic needs, especially when different charging states are represented in charging devices.

Method used

A two-color lamp control circuit is designed, including a power supply module, a switching module and a two-color indicator module. Through the control module, the signal outputs to the switching module is realized to the independent control of the first color and the second color indicator light, and the switching tube and resistor are used. Combination, simplifies the number of control ports and switch tubes, reduces cost and difficulty in wiring PCB boards.

Benefits of technology

The color switching of two-color lamps is realized, which facilitates users to understand the working status of electronic devices, reduces costs and the size of PCB boards, and simplifies the circuit structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136388A_ABST
    Figure CN119136388A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of circuits, in particular to a double-color lamp control circuit and a control method thereof.The circuit comprises a double-color indicator lamp module, a switch module, a control module and a power module, the double-color indicator lamp module comprises a first-color indicator lamp and a second-color indicator lamp, and the first-color indicator lamp and the second-color indicator lamp are different in color; the first color indicating lamp and the second color indicating lamp are respectively connected with the switch module, and the switch module is used for switching on the first color indicating lamp or the second color indicating lamp according to a control signal; the power supply module is used for supplying power to the first color indicating lamp or the second color indicating lamp so as to lighten the first color indicating lamp or the second color indicating lamp; according to the invention, the number of control ports is small, the number of switch tubes is small, the cost can be effectively reduced, high level or low level is output through one control port, the color switching of the two-color lamp is realized, and a user can conveniently know the working state of electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuit technology, and in particular to a dual-color lamp control circuit and a control method thereof. Background Art

[0002] Most charging devices in the related art require status indicators, which emit different colors to indicate different charging states of the rechargeable battery. Common status indicators use LEDs (light-emitting diodes). For example, a common anode two-color LED generally has three pins, one pin is the anode, and the other two pins are cathodes. The anode is the common pole and is the power supply end of the LED. When the cathode is at a low level, the LED of the corresponding color will light up. Therefore, two output signals are required to control the two cathodes of the LED respectively. When there is only one output signal, it is difficult to meet basic needs. Summary of the invention

[0003] To solve the above problems, the present invention provides a dual-color lamp control circuit and a control method thereof to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.

[0004] In order to achieve the above object, the present invention provides the following technical solutions: A two-color lamp control circuit comprises a power module, a switch module and a two-color indicator lamp module, wherein the two-color indicator lamp module comprises a first color indicator lamp and a second color indicator lamp, wherein the first color indicator lamp and the second color indicator lamp are different colors; The first color indicator light and the second color indicator light are respectively connected to the switch module, and the switch module is also respectively connected to the power module and the control module; The control module is used to output a control signal to the switch module; The switch module is used to turn on the first color indicator light or the second color indicator light according to the control signal; The power supply module is used to supply power to the first color indicator light or the second color indicator light when the switch module turns on the first color indicator light or the second color indicator light, so as to light up the first color indicator light or the second color indicator light.

[0005] Preferably, the switch module comprises a first switch module and a second switch module, the first switch module is connected to the first color indicator light and the second switch module respectively, the second switch module is connected to the first color indicator light and the second color indicator light respectively, and the first switch module is also connected to the control module; The first switch module is used to control the lighting and extinguishing of the first color indicator light; The second switch module is used to control the lighting and extinguishing of the second color indicator light.

[0006] Preferably, the first color indicator light comprises a first color light emitting diode, and the second color indicator light comprises a second color light emitting diode; The anode of the first color light emitting diode is connected to the power module, and the cathode of the first color light emitting diode is connected to the first end of the switch module; The anode of the second color light emitting diode is connected to the power module, and the cathode of the second color light emitting diode is connected to the second end of the switch module.

[0007] Preferably, the first switch module includes a first switch tube; The control end of the first switch tube is connected to the input end of the control module and the input end of the power module, the input end of the first switch tube is connected to the cathode of the first color light emitting diode, and the output end of the first switch tube is grounded.

[0008] Preferably, the second switch module includes a second switch tube and a diode; The control end of the second switch tube is respectively connected to the anode of the diode and the The input end of the second switch tube is connected to the cathode of the second color light emitting diode, and the output end of the second switch tube is grounded; The cathode of the diode is connected to the input end of the first switch tube.

[0009] Preferably, the first switch module further includes a first resistor and a second resistor; The first end of the first resistor is connected to the first end of the second resistor, the second end of the first resistor is connected to the input end of the power module; and the second end of the second resistor is grounded.

[0010] Preferably, the second switch module further includes a third resistor and a fourth resistor; The first end of the third resistor is connected to the first end of the fourth resistor, and the second end of the third resistor is connected to the input end of the power module; A second end of the fourth resistor is grounded.

[0011] Preferably, the dual-color indicator light module further includes a fifth resistor; The first end of the fifth resistor is connected to the anode of the first color light emitting diode and the anode of the second color light emitting diode respectively; The second end of the fifth resistor is connected to the input end of the power module.

[0012] Preferably, the control module includes a control signal input terminal, and the power supply module includes a power supply input terminal; The control signal input end is respectively connected to the first end of the first resistor and the first end of the second resistor, and is used to receive a control signal and control the first color indicator light or the second color indicator light according to the control signal; The power input end is respectively connected to the second end of the fifth resistor, the second end of the third resistor and the second end of the first resistor, and the power input end is used to input a power signal to power the first color light emitting diode and the second color light emitting diode respectively.

[0013] A control method for a two-color lamp control circuit is applied to any of the two-color lamp control circuits described above, and the method comprises the following steps: S100, the control module outputs a control signal to the switch module; S200, the switch module turns on the first color indicator light or the second color indicator light according to the control signal; S300, when the switch module turns on the first color indicator light or the second color indicator light, the power supply module supplies power to the first color indicator light or the second color indicator light to light up the first color indicator light or the second color indicator light.

[0014] The beneficial effects of the present invention are as follows: the present invention provides a two-color lamp control circuit and a control method thereof, which outputs a control signal to a switch module through a control port to realize the switching of the two-color lamp color, and facilitates the user to understand the working status of the electronic device. The two-color lamp control circuit uses fewer control ports and fewer switch tubes, which can effectively reduce costs, reduce the difficulty of PCB board wiring, and reduce the size of the PCB board. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0016] Figure 1 is a circuit block diagram of a two-color lamp control circuit in an embodiment of the present invention; Figure 2 It is a circuit principle diagram of a two-color lamp control circuit in an embodiment of the present invention. DETAILED DESCRIPTION

[0017] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.

[0018] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0019] In the description of the present invention, if there are words such as "several", it means one or more, "more" means more than two, greater than, less than, exceed, etc. are understood as not including the number, and above, below, within, etc. are understood as including the number.

[0020] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0021] Reference Figure 1 , Figure 1 The circuit block diagram of the dual-color lamp control circuit of the present invention is shown in FIG. 1 . In the present embodiment, the dual-color lamp control circuit includes a dual-color indicator lamp module 10, a switch module 20, a control module 30, and a power module 40. The dual-color indicator lamp module 10 includes a first color indicator lamp 101 and a second color indicator lamp 102. The first color indicator lamp 101 and the second color indicator lamp 102 are different colors. The first color indicator lamp 101 and the second color indicator lamp 102 are connected to the switch module 20, respectively. The switch module 20 is also connected to the power module 40 and the control module 30, respectively. Compared with the existing dual-color lamp control circuit, the present invention has a simple circuit structure, uses fewer control ports, uses fewer switch tubes, and can effectively reduce costs. By outputting a high impedance state or a low level through a control port, the switch module 20 is controlled to turn on the first color indicator lamp 101 or the second color indicator lamp 102, so as to realize the switching of the dual-color lamp color, which is convenient for users to understand the working status of the electronic device. For example, when the charging device is charging the battery, the different colors of the dual-color lamp are used to indicate that the battery is charging or the battery is full.

[0022] The control module 30 is used to output a control signal to the switch module 20; the switch module 20 is used to turn on the first color indicator light 101 or the second color indicator light 102 according to the control signal; the power module 40 is used to supply power to the first color indicator light 101 or the second color indicator light 102 when the switch module 20 turns on the first color indicator light 101 or the second color indicator light 102, so as to light up the first color indicator light 101 or the second color indicator light 102. The control signal can be a high level or a low level, and the power module 40 is a DC power supply.

[0023] Reference Figure 2 , Figure 2 The circuit schematic diagram of the dual-color lamp control circuit of the present invention. The switch module 20 includes a first switch module 21 and a second switch module 22. The first switch module 21 is connected to the first color indicator light 101 and the second switch module 22 respectively. The second switch module 22 is connected to the first color indicator light 101 and the second color indicator light 102 respectively. The first switch module 21 is also connected to the control module 30. The first switch module 21 is used to control the lighting and extinguishing of the first color indicator light 101. The second switch module 22 is used to control the lighting and extinguishing of the second color indicator light 102.

[0024] The first color indicator light 101 includes a first color light emitting diode LED1, and the second color indicator light 102 includes a second color light emitting diode LED2; the anode of the first color light emitting diode LED1 is connected to the power module 40, and the cathode of the first color light emitting diode LED1 is connected to the first end of the switch module 20; the anode of the second color light emitting diode LED2 is connected to the power module 40, and the cathode of the second color light emitting diode LED2 is connected to the second end of the switch module 20.

[0025] When the control signal is in a high impedance state, the first switch tube 211 is turned on, the second switch tube 221 is turned off, the first color light emitting diode LED1 is lit, and the second color light emitting diode LED2 is turned off; when the control signal is at a low level, the first switch tube 211 is turned off, the second switch tube 221 is turned on, the first color light emitting diode LED1 is turned off, and the second color light emitting diode LED2 is lit.

[0026] The first switch module 21 includes a first switch tube 211; the control end of the first switch tube 211 is connected to the input end of the control module 30 and the input end of the power module 40, the input end of the first switch tube 211 is connected to the cathode of the first color light emitting diode LED1, and the output end of the first switch tube 211 is grounded.

[0027] The second switch module 22 includes a second switch tube 221 and a diode D1; the control end of the second switch tube 221 is respectively connected to the anode of the diode D1 and the input end of the power module 40, the input end of the second switch tube 221 is connected to the cathode of the second color light emitting diode D1, and the output end of the second switch tube 221 is grounded; the cathode of the diode D1 is connected to the input end of the first switch tube 211. The first switch tube 211 and the second switch tube 221 are enhanced NMOS tubes; the diode D1 is a unidirectional conducting diode, and the diode can only be turned on when the anode terminal voltage of the diode is higher than the cathode terminal voltage of the diode and the voltage drop between the two ends is greater than the conduction voltage of the diode. When the diode is turned on, it can play a clamping role, limit the anode terminal voltage of the diode, and protect the control end of the switch tube from being damaged by a large voltage. The diode has unidirectional conductivity, which can control the direction of the current and avoid unnecessary current backflow, thereby improving the working efficiency and stability of the switch tube. Among them: the silicon-based diode has a conduction voltage of about 0.6V to 0.7V, while the germanium-based diode has a conduction voltage of about 0.2V to 0.3V. Users can choose to use them.

[0028] The first switch module 21 further includes a first resistor R1 and a second resistor R2; the first end of the first resistor R1 is connected to the first end of the second resistor R2, the second end of the first resistor R1 is connected to the input end of the power module 40; the second end of the second resistor R2 is grounded.

[0029] Reasonable calculation and distribution of the resistance values ​​of the first resistor R1 and the second resistor R2 can improve the working efficiency and stability of the switch tube.

[0030] The second switch module 22 further includes a third resistor R3 and a fourth resistor R4; a first end of the third resistor R3 is connected to a first end of the fourth resistor R4, and a second end of the third resistor R3 is connected to an input end of the power module 40; a second end of the fourth resistor R4 is grounded.

[0031] Since the cathode of the diode D1 is connected to the input end of the first switch tube 211, when the first switch tube 211 is turned on, the input end of the first switch tube 211 is at a low level, the diode D1 is turned on, and the control end of the second switch tube 221 is clamped by the diode D1 to limit the voltage to a low level; when the first switch tube 211 is turned off, the input end of the first switch tube 211 is at a high level, the diode D2 is turned off, and the control end of the second switch tube 221 has the same voltage as the first end of the third resistor R3.

[0032] The dual-color indicator light module 10 also includes a fifth resistor R5; a first end of the fifth resistor R5 is respectively connected to the anode of the first color light emitting diode LED1 and the anode of the second color light emitting diode LED2; a second end of the fifth resistor R5 is connected to the input end VCC of the power module 40.

[0033] The control module 30 includes a control signal input terminal CTRL, and the power module 40 includes a power input terminal VCC; the control signal input terminal CTRL is respectively connected to the first end of the first resistor R1 and the first end of the second resistor R2, and is used to access the control signal, and control the first color indicator light 101 or the second color indicator light 102 according to the control signal; the power input terminal VCC is respectively connected to the second end of the fifth resistor R5, the second end of the third resistor R3 and the second end of the first resistor R1, and the power input terminal VCC is used to input a power signal, and respectively supply power to the first color light emitting diode LED1 and the second color light emitting diode LED2. The power signal is not less than DC 5V, and the control signal can be high impedance or low level.

[0034] In addition, an embodiment of the present invention provides a control method for a two-color lamp control circuit, which is applied to the two-color lamp control circuit described in any of the above embodiments, and the method includes the following steps: S100, the control module outputs a control signal to the switch module; S200, the switch module turns on the first color indicator light or the second color indicator light according to the control signal; S300, when the switch module turns on the first color indicator light or the second color indicator light, the power supply module supplies power to the first color indicator light or the second color indicator light to light up the first color indicator light or the second color indicator light.

[0035] The embodiments described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art can appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0036] Those skilled in the art will appreciate that the technical solutions shown in the figures do not limit the embodiments of the present invention and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0037] The device embodiments described above are merely illustrative, and the circuits described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed over multiple network circuits. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0038] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / circuits in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0039] The terms "first", "second", "third", "fourth", etc. (if any) in the description of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or circuits is not necessarily limited to those steps or circuits clearly listed, but may include other steps or circuits that are not clearly listed or inherent to these processes, methods, products or devices.

[0040] It should be understood that in the present invention, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0041] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above circuits is only a logical function division. There may be other division methods in actual implementation, such as multiple circuits or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or circuits, which can be electrical, mechanical or other forms.

[0042] The circuits described above as separate components may or may not be physically separated, and the components shown as circuits may or may not be physical circuits, that is, they may be located in one place or distributed over multiple network circuits. Some or all of the circuits may be selected according to actual needs to achieve the purpose of the present embodiment.

[0043] In addition, each functional circuit in each embodiment of the present invention may be integrated into one processing circuit, or each circuit may exist physically separately, or two or more circuits may be integrated into one circuit. The above integrated circuit may be implemented in the form of hardware or in the form of software functional circuit.

[0044] The preferred embodiments of the embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of rights of the embodiments of the present invention is not limited thereby. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present invention should be within the scope of rights of the embodiments of the present invention. Although the description disclosed in the present invention has been quite detailed and several of the embodiments are described in particular, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope disclosed by the present invention. In addition, the above describes the present invention with the foreseeable embodiments of the inventor, the purpose of which is to provide a useful description, and those non-substantial changes to the present invention that have not yet been foreseen may still represent equivalent changes to the present disclosure.

Claims

1. A two-color lamp control circuit, characterized in that: The dual-color light control circuit includes a power module, a switch module, a dual-color indicator light module and a control module, the dual-color indicator light module includes a first color indicator light and a second color indicator light, the first color indicator light and the second color indicator light are different colors; The first color indicator light and the second color indicator light are respectively connected to the switch module, and the switch module is also respectively connected to the power module and the control module; The control module is used to output a control signal to the switch module; The switch module is used to turn on the first color indicator light or the second color indicator light according to the control signal; The power supply module is used to supply power to the first color indicator light or the second color indicator light when the switch module turns on the first color indicator light or the second color indicator light, so as to light up the first color indicator light or the second color indicator light.

2. The dual-color lamp control circuit according to claim 1, characterized in that: The switch module includes a first switch module and a second switch module, the first switch module is connected to the first color indicator light and the second switch module respectively, the second switch module is connected to the first color indicator light and the second color indicator light respectively, and the first switch module is also connected to the control module; The first switch module is used to control the lighting and extinguishing of the first color indicator light; The second switch module is used to control the lighting and extinguishing of the second color indicator light.

3. The dual-color lamp control circuit according to claim 2, characterized in that: The first color indicator light includes a first color light emitting diode, and the second color indicator light includes a second color light emitting diode; The anode of the first color light emitting diode is connected to the power module, and the cathode of the first color light emitting diode is connected to the first end of the switch module; The anode of the second color light emitting diode is connected to the power module, and the cathode of the second color light emitting diode is connected to the second end of the switch module.

4. The dual-color lamp control circuit according to claim 2, characterized in that: The first switch module includes a first switch tube; The control end of the first switch tube is connected to the input end of the control module and the input end of the power module, the input end of the first switch tube is connected to the cathode of the first color light emitting diode, and the output end of the first switch tube is grounded.

5. The dual-color lamp control circuit according to claim 4, characterized in that: The second switch module includes a second switch tube and a diode; The control end of the second switch tube is respectively connected to the anode of the diode and the input end of the power module, the input end of the second switch tube is connected to the cathode of the second color light emitting diode, and the output end of the second switch tube is grounded; The cathode of the diode is connected to the input end of the first switch tube.

6. The dual-color lamp control circuit according to claim 5, characterized in that: The first switch module also includes a first resistor and a second resistor; The first end of the first resistor is connected to the first end of the second resistor, and the second end of the first resistor is connected to the input end of the power module; A second terminal of the second resistor is grounded.

7. The dual-color lamp control circuit according to claim 6, characterized in that: The second switch module further includes a third resistor and a fourth resistor; The first end of the third resistor is connected to the first end of the fourth resistor, and the second end of the third resistor is connected to the input end of the power module; A second end of the fourth resistor is grounded.

8. The dual-color lamp control circuit according to claim 7, characterized in that: The dual-color indicator light module also includes a fifth resistor; The first end of the fifth resistor is connected to the anode of the first color light emitting diode and the anode of the second color light emitting diode respectively; The second end of the fifth resistor is connected to the input end of the power module.

9. The dual-color lamp control circuit according to claim 8, characterized in that: The control module includes a control signal input terminal, and the power supply module includes a power supply input terminal; The control signal input end is respectively connected to the first end of the first resistor and the first end of the second resistor, and is used to receive a control signal and control the first color indicator light or the second color indicator light according to the control signal; The power input end is respectively connected to the second end of the fifth resistor, the second end of the third resistor and the second end of the first resistor, and the power input end is used to input a power signal to power the first color light emitting diode and the second color light emitting diode respectively.

10. A control method for a two-color lamp control circuit, characterized in that: The dual-color lamp control circuit according to any one of claims 1 to 9 is characterized in that the method comprises the following steps: S100, the control module outputs a control signal to the switch module; S200, the switch module turns on the first color indicator light or the second color indicator light according to the control signal; S300, when the switch module turns on the first color indicator light or the second color indicator light, the power supply module supplies power to the first color indicator light or the second color indicator light to light up the first color indicator light or the second color indicator light.