Programmable key switch power supply circuit

By designing a programmable button-controlled power supply circuit, the problem that traditional circuits cannot adapt to different operating scenarios and user needs is solved, realizing the flexibility and aesthetics of human-computer interaction and improving the user experience.

CN224111066UActive Publication Date: 2026-04-10KINGSIGNAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Traditional push-button switch circuits cannot flexibly adapt to different operating scenarios and user needs, lacking the intuitiveness and flexibility of human-computer interaction, and are particularly inconvenient when manual intervention is required.

Method used

Design a programmable push-button power supply circuit, including a programmable control module, a push-button power supply module, a D flip-flop module, and a power output control module. Through the coordinated work of the processor and the push-button, flexible power supply control can be achieved.

Benefits of technology

It enables collaborative work between humans and programs, improves the flexibility of data acquisition equipment and user experience, and meets the high standards of modern equipment in terms of appearance and function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224111066U_ABST
    Figure CN224111066U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of electronic products, and discloses a programmable key switch power supply circuit, which comprises a programmable module and a key switch power supply module, and is characterized in that the key switch power supply module comprises a key circuit module, a D trigger module and a power supply output control module, wherein the program control module is connected with the D trigger module, the key circuit module is connected with the D trigger module, and the D trigger module is connected with the power supply output control module. The program control module comprises a processor, a light emitting diode D1, a pull-up resistor R1, a triode Q1, a current-limiting resistor R2 and a current-limiting resistor R3. The embodiment of the utility model provides a programmable key switch power supply circuit, which not only can realize the cooperative work of manual work and programs, but also can meet the high-standard requirements of modern equipment on appearance and functions, and has important practical significance.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to electronic product technical field especially is related to a programmable key switch power supply circuit. BACKGROUND

[0002] In modern data acquisition and processing systems, efficient operation of devices and smoothness of human-computer interaction are crucial. Traditional data acquisition devices usually rely on fixed power control mechanisms, which cannot flexibly adapt to different operating scenarios and user needs. In some special application scenarios, such as real-time operation according to the running state of the device and external indication, the traditional key switch circuit is not up to the task.

[0003] The existing key switch circuit usually only provides a simple power on-off function, and cannot effectively link with the program running of the processor. This independent operation mode limits the flexibility of users in the data acquisition and processing process, especially in the case of manual intervention, which is particularly inconvenient. In addition, although the circuit design controlled entirely by the program can realize automatic operation, it lacks the intuitiveness and flexibility of human-computer interaction in some situations that require human participation.

[0004] Therefore, in order to meet the needs of modern devices for flexibility, aesthetics and low power consumption, it is particularly important to design a programmable key switch circuit. This circuit not only enables manual control through the key, but also effectively combines with the program running state of the processor to realize intelligent power supply control of the data acquisition device. Through this design, users can manually control the power-on state of the acquisition device when the processor needs to process data, thereby realizing efficient acquisition and transmission of data. In addition, through the optimization of the key design, the aesthetics and thinness of the device control panel can be realized, and the overall user experience can be improved.

[0005] In summary, in order to solve the limitations of traditional key switch circuits, a programmable key switch power supply circuit is developed, which can not only realize the collaborative work of manual and program, but also meet the high standards of appearance and function of modern devices, and has important practical significance. SUMMARY

[0006] The purpose of the utility model embodiment is to provide a programmable key switch power supply circuit to solve the problem that traditional data acquisition devices usually rely on fixed power control mechanisms, lack the intuitiveness and flexibility of human-computer interaction, and thus cannot flexibly adapt to different operating scenarios and user needs.

[0007] In order to solve the above technical problems, the utility model discloses a kind of key switch power supply circuit of program control, the power supply circuit includes program control module and key switch power supply module, the key switch power supply module includes key circuit module, D flip-flop module and power output control module, wherein the program control module is connected with the D flip-flop module, the key circuit module is connected with the D flip-flop module, the D flip-flop module is connected with the power output control module.

[0008] Optionally, the program control module includes a processor, a light emitting diode D1, a pull-up resistor R1, a transistor Q1, a current limiting resistor R2 and a current limiting resistor R3, wherein the first end of the pull-up resistor R1 is connected with a power supply VCC, the second end of the pull-up resistor R1 is connected with the anode end of the light emitting diode D1, the cathode end of the light emitting diode D1 is connected with the LED pin of the processor, the base of the transistor Q1 is connected with the first end of the current limiting resistor R3, the second end of the current limiting resistor R3 is connected with the Control pin of the processor, the collector of the transistor Q1 is connected with the first end of the current limiting resistor R2, the second end of the current limiting resistor R2 is connected with the power supply VCC, the emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is connected with the P-OUT pin.

[0009] Optionally, the key circuit module includes a resistor R4, a resistor R5, a resistor R6, a transistor Q2, a capacitor C1 and a key K1, wherein the first end of the resistor R6 is connected with the power supply VCC, the second end of the resistor R6 is connected with the first end of the capacitor C1, the second end of the capacitor C1 is grounded, the first end of the resistor R5 is connected with the second end of the resistor R6, the second end of the resistor R5 is connected with the base of the transistor Q2, the first end of the key K1 is connected with the base of the transistor Q2, the second end of the key K1 is grounded, the first end of the resistor R4 is connected with the power supply VCC, the second end of the resistor R4 is connected with the collector of the transistor Q2, the second end of the resistor R4 is connected with the PWCLK pin, and the emitter of the transistor Q2 is grounded.

[0010] Optionally, the D flip-flop module comprises a D flip-flop U1, a resistor R7, a capacitor C2 and a resistor C3, a first end of the resistor R7 is connected with a power supply VCC, a second end of the resistor R7 is connected with a first end of the capacitor C3, a second end of the capacitor C3 is grounded, the second end of the resistor R7 is connected with a / CLR pin of the D flip-flop U1, a VCC pin of the D flip-flop is connected with the power supply VCC, the VCC pin of the D flip-flop U1 is connected with a first end of the capacitor C2, a second end of the capacitor C2 is grounded, a CLK pin of the D flip-flop U1 is connected with the PWCLK pin, a D input pin of the D flip-flop U1 is connected with the P-OUT pin, and a Q output pin of the D flip-flop U1 is connected with the BAT-Ctl pin.

[0011] Optionally, the power output control module comprises a transistor Q3, a transistor Q4, a resistor R8, a resistor R9, a resistor R10, a resistor R11 and a capacitor C4, a first end of the resistor R9 is connected with the BAT-Ctl pin, a second end of the resistor R9 is connected with a base end of the transistor Q3, a first end of the resistor R8 is connected with a power supply VCC, a second end of the resistor R8 is connected with a collector of the transistor Q3, an emitter of the transistor Q3 is grounded, the second end of the resistor R8 is connected with a first end of the resistor R10, a second end of the resistor R10 is connected with a base of the transistor Q4, an emitter of the transistor Q4 is connected with the power supply VCC, a collector of the transistor Q4 is connected with the VCC-OUT pin, a first end of the resistor R11 is connected with the VCC-OUT pin, a second end of the resistor R11 is grounded, a first end of the capacitor C4 is connected with the VCC-OUT pin, and a second end of the capacitor C4 is grounded.

[0012] Optionally, the processor is an embedded MCU, a CPU or a GPU.

[0013] The utility model discloses an embodiment provides a kind of programmable key switch power supply circuit, the power supply circuit includes program control module and key switch power supply module, the key switch power supply module includes key circuit module, D flip-flop module and power output control module, wherein the program control module is connected with the D flip-flop module, the key circuit module is connected with the D flip-flop module, the D flip-flop module is connected with the power output control module.The program control module includes processor, emitting diode D1, pull-up resistor R1, triode Q1, current-limiting resistor R2 and current-limiting resistor R3, wherein the first end of pull-up resistor R1 is connected with power supply VCC, the second end of pull-up resistor R1 is connected with the anode end of emitting diode D1, the cathode end of emitting diode D1 is connected with the LED pin of processor, the base of triode Q1 is connected with the first end of current-limiting resistor R3, the second end of current-limiting resistor R3 is connected with the Control pin of processor, the collector of triode Q1 is connected with the first end of current-limiting resistor R2, the second end of current-limiting resistor R2 is connected with power supply VCC, the emitter of triode Q1 is grounded, and the collector of triode Q1 is connected with P-OUT pin.The key circuit module includes resistance R4, resistance R5, resistance R6, triode Q2, capacitor C1 and key K1, wherein the first end of resistance R6 is connected with power supply VCC, the second end of resistance R6 is connected with the first end of capacitor C1, the second end of capacitor C1 is grounded, the first end of resistance R5 is connected with the second end of resistance R6, the second end of resistance R5 is connected with the base of triode Q2, the first end of key K1 is connected with the base of triode Q2, the second end of key K1 is grounded, the first end of resistance R4 is connected with power supply VCC, the second end of resistance R4 is connected with the collector of triode Q2, the second end of resistance R4 is connected with PWCLK pin, and the emitter of triode Q2 is grounded.The D flip-flop module includes D flip-flop U1, resistance R7, capacitor C2 and resistance C3, the first end of resistance R7 is connected with power supply VCC, the second end of resistance R7 is connected with the first end of capacitor C3, the second end of capacitor C3 is grounded, the second end of resistance R7 is connected with the / CLR pin of D flip-flop U1, the VCC pin of D flip-flop is connected with power supply VCC, the VCC pin of D flip-flop U1 is connected with the first end of capacitor C2, the second end of capacitor C2 is grounded, the CLK pin of D flip-flop U1 is connected with PWCLK pin, the D input pin of D flip-flop U1 is connected with P-OUT pin, and the Q output pin of D flip-flop U1 is connected with BAT-Ctl pin.The power output control module comprises a transistor Q3, a transistor Q4, a resistor R8, a resistor R9, a resistor R10, a resistor R11 and a capacitor C4, the first end of the resistor R9 is connected with a BAT-Ctl pin, the second end of the resistor R9 is connected with the base end of the transistor Q3, the first end of the resistor R8 is connected with a power supply VCC, the second end of the resistor R8 is connected with the collector of the transistor Q3, the emitter of the transistor Q3 is grounded, the second end of the resistor R8 is connected with the first end of the resistor R10, the second end of the resistor R10 is connected with the base of the transistor Q4, the emitter of the transistor Q4 is connected with the power supply VCC, the collector of the transistor Q4 is connected with a VCC-OUT pin, the first end of the resistor R11 is connected with the VCC-OUT pin, the second end of the resistor R11 is grounded, the first end of the capacitor C4 is connected with the VCC-OUT pin, and the second end of the capacitor C4 is grounded. BRIEF DESCRIPTION OF DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained from these drawings without creative labor.

[0015] Figure 1 A whole architecture diagram of the programmable key switching power supply circuit provided by the present application is provided.

[0016] Figure 2 A control module circuit principle diagram provided by the present application is provided.

[0017] Figure 3 A key circuit module circuit principle diagram provided by the present application is provided.

[0018] Figure 4 A D flip-flop module circuit principle diagram provided by the present application is provided.

[0019] Figure 5 A power output control module circuit principle diagram provided by the present application is provided. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the utility model will be clearly and completely described below, obviously, the described embodiments are only part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by the person skilled in the art without creative labor belong to the protection scope of the utility model.

[0021] The utility model embodiment aims at providing a programmable key switch power supply circuit, to solve the problem that the traditional power supply control scheme design lacks the intuitiveness and flexibility of man-machine interaction, and thus cannot flexibly adapt to different operation scenes and user requirements. At the same time, it can also meet the high standard requirements of modern devices on appearance and function.

[0022] Please refer to Figure 1 , Figure 1 It is the overall architecture diagram of the programmable key switch power supply circuit provided by the utility model. In the embodiment, the programmable key switch power supply circuit mainly consists of a programmable module 101 and a key switch power supply module 102, wherein the key switch power supply module 102 mainly consists of a key circuit module 201, a D flip-flop module 202 and a power output control module 203.

[0023] Please refer to Figure 2 , Figure 2 It is the circuit principle diagram of the programmable module provided by the utility model. The programmable module mainly consists of a processor 1011, a triode Q1, a resistor R1, a resistor R2, a resistor R3 and a light-emitting diode D1. The processor 1011 controls the on-off of the light-emitting diode D1 through the high-low level of the LED pin. After the system is powered on, the LED pin is at low level and the Control pin is at high level by default. At this time, the light-emitting diode D1 is in the extinguishing state, and the triode Q1 is in the conducting state, and the P-OUT pin is at low level.

[0024] Please refer to Figure 3 , Figure 3 It is the circuit principle diagram of the key switch power supply module provided by the utility model. The key switch power supply module mainly consists of a resistor R3, a resistor R4, a resistor R5, a capacitor C1, a key K1 and a triode Q2. After the system is powered on, the triode Q2 is in the reverse conducting state by default, and the PWCLK pin is at low level. When the key K1 is pressed, the base voltage of the triode Q2 and the voltage between the emitter stage are less than the conducting voltage of the triode Q2, so the triode Q2 is in the cut-off state, and the PWCLK pin is pulled up to high level by the resistor R4 and the power supply VCC, thereby generating the rising edge of the PWCLK pin level from low to high.

[0025] Please refer to Figure 4 , Figure 4This is a circuit schematic of the D flip-flop module provided by this utility model. The D flip-flop module mainly consists of a D flip-flop U1, resistor R7, capacitor C2, and capacitor C3. Resistor R7 and capacitor C3 form a simple reset circuit. After the system is powered on, capacitor C3 is charging, so the / CLR pin of the D flip-flop is low. At this time, the output pin BAT-Ctl of the D flip-flop is low, which is the circuit reset time. Figure 3 Button K1 cannot change the state of the output pin BAT-Ctl. When capacitor C3 is fully charged, the circuit reset ends, and the / CLR pin of the D flip-flop goes high. At this time, clicking... Figure 3 After pressing button K1, a rising edge is input to the PWCLK pin of the D flip-flop, and the output pin BAT-Ctl of the D flip-flop is determined by the state of the P-OUT pin. The state of the P-OUT pin is mainly determined by... Figure 2 The conduction state of transistor Q1 shown is related to the following: Figure 2 The conduction of transistor Q1 shown is mainly due to Figure 2 The level of the Control pin of the processor 1011 shown is determined.

[0026] Please see Figure 5 , Figure 5 This is a circuit schematic diagram of the power output control module provided by this utility model. The power output control module mainly consists of transistors Q3 and Q4, resistors R8, R9, R10, and R11, and capacitor C4. Figure 5 When the BAT-Ctl pin is low, transistor Q3 is in the off state, therefore transistor Q4 is also in the off state, and the collector output of transistor Q4 is 0. Since the VCC-OUT pin is connected to the collector of transistor Q4, the output voltage is also 0. When... Figure 5 When the BAT-Ctl pin is high, transistor Q3 is in the conducting state, so transistor Q4 is also in the conducting state. The collector output of transistor Q4 is equal to VCC. Since the VCC-OUT pin is connected to the collector of transistor Q4, the output voltage is also equal to VCC. That is, the output voltage of the entire power output control module circuit is VCC. Resistor R11 and capacitor C4 form the filtering circuit for the voltage output of the power output control module circuit.

[0027] After the entire programmable push-button power supply circuit is powered on, Figure 2 The processor 1011 program shown in the image starts running at this time. Figure 2 The processor 1011 shown controls the LED pin to be high, turning off the light-emitting diode D1; controls the Control pin to be high, turning on the transistor Q1; and outputs a low level on the P-OUT pin. Figure 4The / CLR pin of the D flip-flop shown is in a reset state affected by a reset circuit composed of resistor R7 and capacitor C3, at this time the output pin BAT-Ctl of the D flip-flop outputs low by default, and the Figure 3 The key K1 shown is invalid at this time Figure 5 The triode Q3 and the triode Q4 shown are both in the off state, so the output voltage VCC-OUT of the programmable key switch power supply circuit is 0.

[0028] When the processor 1011 needs to input the data collected by the external data collection device, the external device needs to be powered, at this time Figure 2 The processor 1011 shown controls the LED pin to be low, lighting the light-emitting diode D1, and controls the Control pin of the processor 1011 to be low, so that the triode Q1 is cut off, and then the P-OUT pin outputs high. When the staff sees that the light-emitting diode D1 is lit, press the Figure 3 The key K1 shown, so that the rising edge of the PWCLK pin is generated and input to Figure 4 The CLK pin of the D flip-flop shown, so that the output BAT-Ctl of the D flip-flop follows the P-OUT pin to output high, so that Figure 5 The triode Q3 and the triode Q4 shown are both in the on state, so the output voltage VCC-OUT of the programmable key switch power supply circuit is equal to VCC, thereby meeting the power supply requirement of the external data collection device.

[0029] It should be noted that in this paper, the term "includes", "contains" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "includes a" does not exclude the presence of another identical element in the process, method, article or device including the element.

[0030] The above is only an embodiment of the present application, and does not limit the patent range of the present application, and any equivalent structure or equivalent process transformation using the contents of the present application specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection range of the present application.

Claims

1. A programmable key switch power supply circuit, characterized by, The power supply circuit comprises a program control module The program control module comprises a processor, a light emitting diode D1, a pull-up resistor R1, a transistor Q1, a current limiting resistor R2 and a current limiting resistor R3, wherein the first end of the pull-up resistor R1 is connected with a power supply VCC, the second end of the pull-up resistor R1 is connected with the positive electrode end of the light emitting diode D1, the negative electrode end of the light emitting diode D1 is connected with the LED pin of the processor, the base of the transistor Q1 is connected with the first end of the current limiting resistor R3, the second end of the current limiting resistor R3 is connected with the Control pin of the processor, the collector of the transistor Q1 is connected with the first end of the current limiting resistor R2, the second end of the current limiting resistor R2 is connected with the power supply VCC, the emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is connected with the P-OUT pin.

2. The programmable key switch power supply circuit of claim 1, wherein, The key circuit module comprises a resistor R4, a resistor R5, a resistor R6, a transistor Q2, a capacitor C1 and a key K1, wherein the first end of the resistor R6 is connected with the power supply VCC, the second end of the resistor R6 is connected with the first end of the capacitor C1, the second end of the capacitor C1 is grounded, the first end of the resistor R5 is connected with the second end of the resistor R6, the second end of the resistor R5 is connected with the base of the transistor Q2, the first end of the key K1 is connected with the base of the transistor Q2, the second end of the key K1 is grounded, the first end of the resistor R4 is connected with the power supply VCC, the second end of the resistor R4 is connected with the collector of the transistor Q2, the second end of the resistor R4 is connected with the PWCLK pin, and the emitter of the transistor Q2 is grounded.

3. The programmable key switch power supply circuit of claim 2, wherein, The D flip-flop module comprises a D flip-flop U1, a resistor R7, a capacitor C2 and a resistor C3, the first end of the resistor R7 is connected with the power supply VCC, the second end of the resistor R7 is connected with the first end of the capacitor C3, the second end of the capacitor C3 is grounded, the second end of the resistor R7 is connected with the / CLR pin of the D flip-flop U1, the VCC pin of the D flip-flop is connected with the power supply VCC, the VCC pin of the D flip-flop U1 is connected with the first end of the capacitor C2, the second end of the capacitor C2 is grounded, the CLK pin of the D flip-flop U1 is connected with the PWCLK pin, the D input pin of the D flip-flop U1 is connected with the P-OUT pin, and the Q output pin of the D flip-flop U1 is connected with the BAT-Ctl pin.

4. The programmable key switch power supply circuit of claim 3, wherein, ​ 5. The programmable key switch power supply circuit of claim 4, wherein, The power output control module comprises a transistor Q3, a transistor Q4, a resistor R8, a resistor R9, a resistor R10, a resistor R11 and a capacitor C4, a first end of the resistor R9 is connected with a BAT-Ctl pin, a second end of the resistor R9 is connected with a base end of the transistor Q3, a first end of the resistor R8 is connected with a power supply VCC, a second end of the resistor R8 is connected with a collector of the transistor Q3, an emitter of the transistor Q3 is grounded, the second end of the resistor R8 is connected with a first end of the resistor R10, a second end of the resistor R10 is connected with a base of the transistor Q4, an emitter of the transistor Q4 is connected with the power supply VCC, a collector of the transistor Q4 is connected with a VCC-OUT pin, a first end of the resistor R11 is connected with the VCC-OUT pin, a second end of the R11 is grounded, a first end of the capacitor C4 is connected with the VCC-OUT pin, and a second end of the capacitor C4 is grounded.

6. The programmable key switch power supply circuit of claim 5, wherein, The processor is an embedded MCU, a CPU or a GPU.