Switching circuit and keyboard

By designing a switch circuit including power switch module, key detection switch module, main control module and switch control module, the problem of inconvenient on-off operation and single function in existing electronic products is solved, and convenient Power-on and off control and state transitions improve the aesthetics of the product.

CN222464594UActive Publication Date: 2025-02-11ZHUHAI HENGYU NEW TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420942956.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2025-02-11
Estimated Expiration
2034-04-30

AI Technical Summary

Technical Problem

In existing electronic products, the on-off operation through the handle switch structure has problems such as inconvenient use and single function.

Method used

Design a switch circuit including a power switch module, a key detection switch module, a main control module and a switch control module. The key signal is received through the key detection switch module, the power switch module supplies power to the main control module, and the main control module outputs the switch control signal. The switch control module controls the output of the power switch module according to the signal, thereby realizing the on-off state of the switching circuit and supporting state transition.

Benefits of technology

It realizes a convenient switching circuit, which can not only realize power-off control, but also convert the state of electronic products, and the product structure is more beautiful, solving the shortcomings of the traditional handle switch structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222464594U_ABST
    Figure CN222464594U_ABST
Patent Text Reader

Abstract

The utility model discloses a switch circuit and a keyboard, and the switch circuit is provided with a power switch module, a key detection switch module, a main control module, and a switch control module. After a key signal is received through a key detection switch module, a power switch module supplies power to a main control module, and then the main control module outputs a switch control signal to a switch control module, so that the switch control module controls the output of the power switch module according to the switch control signal, and the on-off state of a switch circuit is realized; and the main control module can also perform state conversion according to the key signal received by the key detection switch module, so that the technical problems of inconvenience in use and single function caused by the fact that an electronic product performs on-off operation through a handle switch structure mode in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of electronic equipment, in particular to a switch circuit and a keyboard. Background Art

[0002] With the rapid development of electronic office and entertainment products, consumers have higher requirements for the ease of use, functional diversity and novel appearance of electronic products.

[0003] In the related art, electronic products (such as wireless keyboards) usually control the power on and off by moving a switch handle to different positions. However, the way of setting the switch handle not only requires the device structure to be provided with a corresponding position space, but also affects the overall appearance of the product and the switch handle has a single function, which cannot provide more functional requirements for consumers. Therefore, how to improve the power on and off control structure of the traditional switch handle of electronic products has become a technical problem that technicians in this field need to solve. Utility Model Content

[0004] The utility model provides a switch circuit and a keyboard to solve the technical problems of inconvenient use and single function in the on-off power control mode of the traditional switch handle in the related art.

[0005] A switch circuit in the utility model comprises:

[0006] Power switch module;

[0007] A key detection switch module, connected to the power switch module, for receiving key signals and outputting control signals;

[0008] A main control module, connected to the key detection switch module, for receiving the control signal and performing state conversion or outputting a switch control signal according to the control signal;

[0009] The switch control module is used to receive the switch control signal and control the switch state of the switch circuit according to the switch control signal.

[0010] A switch circuit according to an embodiment of the utility model has at least the following beneficial effects:

[0011] The utility model embodiment provides a switch circuit, which is provided with a power switch module, a key detection switch module, a main control module and a switch control module; after receiving a key signal through the key detection switch module, the power switch module supplies power to the main control module, and then the main control module outputs a switch control signal to the switch control module, so that the switch control module controls the output of the power switch module according to the switch control signal, thereby realizing the on and off state of the switch circuit; in addition, the main control module can also perform state conversion according to the key signal received by the key detection switch module, which solves the technical problems of inconvenient use and single function of the on and off operation of electronic products through the handle switch structure in the related art, and provides a switch circuit which is easy to use, can not only realize on and off control but also can realize the conversion of the state of electronic products, and has a more beautiful product structure.

[0012] According to the switch circuit of some other embodiments of the utility model, the power switch module includes a battery unit, a first resistor and a first MOS tube;

[0013] The output end of the battery unit is connected to the first end of the first resistor and the input end of the first MOS tube respectively;

[0014] The second end of the first resistor is respectively connected to the control end of the first MOS tube, the input end of the key detection switch module, and the input end of the switch control module;

[0015] The output end of the first MOS tube is the power supply voltage end of the circuit.

[0016] According to the switch circuit of some other embodiments of the utility model, the key detection switch module includes a first diode, a second diode, a second resistor and a key switch;

[0017] The first end of the second resistor is connected to the power supply voltage end of the circuit, and the second end of the second resistor is connected to the positive electrode of the first diode and the detection end of the main control module respectively;

[0018] The cathode of the first diode is connected to the first end of the key switch and the cathode of the second diode respectively;

[0019] The anode of the second diode is connected to the control end of the power switch module;

[0020] The second end of the key switch is connected to the power ground.

[0021] According to the switch circuit of some other embodiments of the present invention, the key detection switch is a touch switch.

[0022] According to the switch circuit of some other embodiments of the utility model, the switch control module includes a second MOS tube and a third resistor;

[0023] The first end of the third resistor is connected to the control end of the second MOS tube and the output end of the main control module respectively, and the second end of the third resistor and the output end of the second MOS tube are connected to the power ground respectively;

[0024] The input end of the second MOS tube is connected to the control end of the power switch module.

[0025] In a second aspect, an embodiment of the utility model further provides a keyboard, which includes a keyboard body and the above-mentioned switch circuit; wherein the switch circuit is arranged in the keyboard body, and the state of the keyboard is controlled by the switch circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic diagram of module connection of a specific embodiment of a switch circuit of the utility model;

[0027] Figure 2 The utility model is a circuit structure diagram of a specific embodiment of a switch circuit. DETAILED DESCRIPTION

[0028] The following will clearly and completely describe the concept of the utility model and the technical effects produced by the embodiments, so as to fully understand the purpose, characteristics and effects of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of them. Based on the embodiments of the utility model, other embodiments obtained by technicians in this field without creative work are all within the scope of protection of the utility model.

[0029] In the description of the embodiments of the present utility model, if "several" is involved, it means more than one, if "multiple" is involved, it means more than two, if "greater than", "less than" or "exceed" is involved, it should be understood as not including the number itself, if "above", "below" or "within" is involved, it should be understood as including the number itself. If "first" or "second" is involved, it should be understood as being used to distinguish technical features, and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0030] Reference Figure 1The embodiment of the utility model provides a switch circuit, which includes a main control module, a key detection switch module, a power switch module and a switch control module. Among them, the key detection switch module is connected to the main control module and the power switch module respectively, and the power switch module is connected to the main control module. The key detection switch module is used to receive the key signal and start the power switch module to work, provide the working voltage to the main control module and the key detection switch module, and send a control signal to the main control module. The switch control module is connected to the main control module and the power switch module respectively. After the main control module receives the control signal of the key detection switch module, it sends a switch control signal to the switch control module according to the preset control signal type. Then, the switch control module controls the working state of the power switch module according to the received switch control signal to achieve the control of the on-off state of the entire switch circuit. For example, when the switch control signal sent by the main control module to the switch control module is a start signal, the switch control module responds to the start signal to keep the power supply output of the power switch module, thereby starting the switch circuit; and when the switch control signal sent by the main control module to the switch control module is a power-off signal, the switch control module responds to the power-off control signal to stop the power supply output of the power switch module, thereby closing the switch circuit. In addition, in this embodiment, the main control module also determines whether the key signal received by the key detection switch module is a state conversion signal, and then controls the main control module to perform state conversion to change the current state of the electronic product provided with the switch circuit of the embodiment of the utility model; for example: when the switch circuit of the embodiment of the utility model is provided in a wireless keyboard, the main control module is integrated with a Bluetooth connection state and an RF connection state (radio frequency connection state), and then, the wireless keyboard can set the current state of the wireless keyboard to a Bluetooth connection state or an RF connection state through the key signal received by the key detection switch module. Furthermore, in the switch circuit of the embodiment of the utility model, after the key detection switch module receives the key signal, the power switch module supplies power to the main control module, and the main control module outputs a switch control signal to the switch control module, so that the switch control module controls the output of the power switch module according to the switch control signal, thereby realizing the on and off state of the switch circuit. In addition, the main control module can also perform state conversion according to the key signal received by the key detection switch module, which solves the technical problems of inconvenient use and single function of electronic products in the related art that perform on and off operations through a handle switch structure.

[0031] In some embodiments, the key detection switch module outputs different control signals to the main control module according to the number of key presses or the key press duration of the received key signal, so that the main control module can identify the current key signal for startup, shutdown or state conversion.

[0032] Reference Figure 2, the following uses a specific embodiment to illustrate the specific circuit composition structure of each component module in a switch circuit of the utility model. It should be noted that it is only a specific embodiment and is not limited to other specific implementation methods under the overall concept of this embodiment. In this embodiment, the main control module includes an MCU. In a specific embodiment, the MCU includes NUC123SD4BN0, CH556, etc. When the switch circuit of the embodiment of the utility model is used in a wireless keyboard, the MCU can optionally integrate a Bluetooth connection function and an RF connection function; the power switch module includes a battery unit VBAT, a first resistor R1 and a first MOS tube Q1; the key detection switch module includes a second resistor R2, a first diode D1, a second diode D2 and a key switch S1; the switch control module includes a third resistor R3 and a second MOS tube Q2. In this embodiment, the source (i.e., input end) of the first MOS tube Q1 is respectively connected to the output end of the battery unit VBAT and the first end of the first resistor R1, the gate (i.e., control end) of the first MOS tube Q1 is respectively connected to the second end of the first resistor R1, the drain (i.e., input end) of the second MOS tube Q2, and the positive electrode of the second diode D2, the drain (i.e., output end) of the first MOS tube is the power supply voltage end VCC of the circuit, the cathode of the second diode D2 is respectively connected to the cathode of the first diode D1 and the first end of the key switch S1, the second end of the key switch S1 is connected to the power ground, the first end of the second resistor R2 is connected to the power supply voltage end VCC of the circuit, the second end of the second resistor R2 is respectively connected to the positive electrode of the first diode D1 and the second detection end of the main control module (MCU), the output end of the MCU is respectively connected to the first end of the third resistor R3 and the gate (i.e., control end) of the second MOS tube, and the second end of the third resistor R3 and the source (i.e., output end) of the second MOS tube are respectively connected to the power ground. Specifically, in the present embodiment, the switch circuit startup process specifically includes: in the power-off state, when the key switch S1 receives the key signal, the second diode D2 is turned on, and the gate voltage of the first MOS tube Q1 is pulled down. At this time, the first MOS tube Q1 is turned on, and the voltage of its source as the circuit power supply voltage terminal VCC rises to the same as the battery unit VBAT voltage. At this time, the MCU power is turned on, and after the MCU starts working, a high-level switch control signal is output to pull up the gate voltage of the second MOS tube Q2. At this time, the second MOS tube Q2 is turned on, and the gate of the first MOS tube Q1 is pulled down by the second diode D2 and the second MOS tube Q2 at the same time. At this time, after the key switch S1 is released, the gate of the first MOS tube Q1 is also pulled down because the second MOS tube Q2 remains turned on, and the first MOS tube Q1 also remains in the turned-on state. At this time, the circuit startup process is completed.When the circuit is in working state and needs to be powered off, the key switch S1 is pressed at this time. At this time, the MCU detects that the voltage of the positive electrode of the first diode D1 is pulled down, and then the MCU outputs a low-level switch control signal to the gate of the second MOS tube Q2 to turn off the second MOS tube Q2. At this time, the gate voltage of the first MOS tube Q1 is pulled up, and the first MOS tube Q1 is turned off, so that the voltage with its drain (i.e., the power supply voltage terminal VCC) is reduced, and the MCU power supply is disconnected, and finally the circuit is powered off. In addition, when the MCU is integrated with Bluetooth connection function and RF connection function, when the switch circuit is in the power-on state, by definition, receiving a signal that the key switch S1 is pressed once, the current connection state of the MCU is changed, that is, the conversion between Bluetooth connection and RF connection is realized. Among them, when the power-off operation is performed, the on state of the key switch S1 can be set to 3 seconds before the power is turned off to prevent the possibility of misoperation.

[0033] In some embodiments, the key switch S1 can be optionally implemented by a touch switch. When the switch circuit proposed by the present utility model is applied to an electronic product, the touch switch makes the structure of the electronic product more beautiful.

[0034] In the second aspect, the embodiment of the utility model further provides a keyboard, which includes a keyboard body and the switch circuit described in the above embodiment. Among them, the switch circuit is arranged in the keyboard body, and the working state of the keyboard is controlled by the switch circuit. That is, the startup, shutdown and conversion of the wireless connection state of the keyboard are all controlled by the switch circuit, and the specific process principle of the switch circuit controlling the working state of the keyboard corresponds to the process principle of the switch circuit in the above embodiment, and will not be repeated here.

[0035] The embodiments of the utility model are described in detail above in conjunction with the accompanying drawings, but the utility model is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the relevant technical field without departing from the purpose of the utility model. In addition, the embodiments of the utility model and the features in the embodiments can be combined with each other without conflict.

Claims

1. A switching circuit, characterized in that: include: Power switch module; A key detection switch module, connected to the power switch module, for receiving key signals and outputting control signals; A main control module, connected to the key detection switch module, for receiving the control signal and performing state conversion or outputting a switch control signal according to the control signal; The switch control module is used to receive the switch control signal and control the switch state of the switch circuit according to the switch control signal.

2. The switch circuit according to claim 1, characterized in that: The power switch module includes a battery unit, a first resistor and a first MOS tube; The output end of the battery unit is connected to the first end of the first resistor and the input end of the first MOS tube respectively; The second end of the first resistor is respectively connected to the control end of the first MOS tube, the input end of the key detection switch module, and the input end of the switch control module; The output end of the first MOS tube is the power supply voltage end of the circuit.

3. The switch circuit according to claim 1 or 2, characterized in that: The key detection switch module includes a first diode, a second diode, a second resistor and a key switch; The first end of the second resistor is connected to the power supply voltage end of the circuit, and the second end of the second resistor is connected to the positive electrode of the first diode and the detection end of the main control module respectively; The cathode of the first diode is connected to the first end of the key switch and the cathode of the second diode respectively; The anode of the second diode is connected to the control end of the power switch module; The second end of the key switch is connected to the power ground.

4. The switch circuit according to claim 3, characterized in that: The key detection switch is a touch switch.

5. The switch circuit according to claim 4, characterized in that: The switch control module includes a second MOS tube and a third resistor; The first end of the third resistor is connected to the control end of the second MOS tube and the output end of the main control module respectively, and the second end of the third resistor and the output end of the second MOS tube are connected to the power ground respectively; The input end of the second MOS tube is connected to the control end of the power switch module.

6. A keyboard, characterized in that: It comprises a keyboard body and a switch circuit as claimed in any one of claims 1 to 5; Wherein, the switch circuit is arranged in the keyboard body, and the state of the keyboard is controlled by the switch circuit.