Single-key multi-path switching device
By using a single-button multi-channel switching device, which utilizes a sorting module and a pulse distributor to achieve multi-channel switching, the complexity and operational difficulty of traditional multi-button control schemes in space-constrained situations are solved, thereby improving the ease of operation and system stability of the equipment.
Patent Information
- Application Number
- CN202511417114.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-30
- Publication Date
- 2026-02-10
AI Technical Summary
Traditional multi-button control schemes are not applicable in space-constrained situations, resulting in complex equipment operation, conflicting structural designs, and users having to memorize the functions of multiple buttons.
A single-button multi-channel switching device is adopted, including a sorting module, a pulse distributor and an output module. Multi-channel switching is achieved through a single button. The pulse distributor and pull-up resistor are used to convert signals, and the status of the external socket is controlled by a relay.
It simplifies the operation process, improves the user-friendliness of human-computer interaction, enhances signal stability and anti-interference capabilities, has scalability and high compatibility, reduces manufacturing and application costs, and makes the system more stable and reliable.
Smart Images

Figure CN121508550A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of single-button multi-channel switching technology in circuits, and specifically relates to a single-button multi-channel switching device. Background Technology
[0002] In the design of electronic devices and control systems, buttons are core components of human-computer interaction, and their number and layout directly affect the ease of operation, space utilization, and cost control. When faced with limited installation space, traditional multi-button control schemes may be unsuitable due to their large size, complex layout, or redundant operational logic. In such cases, the need for a single button to complete line switching arises. Furthermore, multiple buttons can lead to structural design conflicts on small-structure devices; arranging multiple buttons may encroach on the space of displays, interfaces, etc. Additionally, multiple buttons correspond to multiple different functions, requiring users to memorize the functions of each button. Therefore, whether a single-button multi-channel switching device can be provided is a technical problem that this invention urgently needs to solve. Summary of the Invention
[0003] In view of this, the present invention provides a single-button multi-channel switching device.
[0004] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A single-button multi-channel switching device includes a sorting module, a pulse distributor, and m output modules connected to the pulse distributor, wherein: the pulse distributor includes n output terminals; the sorting module is used to receive clock pulses triggered by the button and successively drive the output terminals of the pulse distributor to generate a high level; The output module is connected one-to-one with the first m output terminals of the pulse distributor, and converts the low-level signal output by the pulse distributor into a high-level drive signal through a pull-up resistor to control the conductivity state of the external socket.
[0005] Furthermore, the sorting module includes: The power supply module is equipped with a VCC power supply terminal and a first power input terminal; The input button is connected to the VCC power supply terminal through a first resistor R1 to supply power to the input button. The output terminal of the input button is also connected to the CLK terminal of the pulse distributor. The first branch connects the VCC power supply terminal to the ground terminal through the first branch, and a second capacitor C2 is connected in series in the first branch. The second branch connects the VCC power supply terminal to the first power input terminal, and a second resistor R2 is connected in series on the second branch. The third branch connects the VCC power supply terminal to the ground terminal through the third branch, and the third branch is connected in series with the first capacitor C1 and the third resistor R3. The output terminal of the first capacitor C1 is connected to the RST terminal and the (m+1)th output terminal of the pulse distributor.
[0006] Furthermore, the first resistor R1 is a pulse input pull-up resistor, used to clamp the initial state of the input button to a high level.
[0007] Furthermore, the first capacitor C1 and the third resistor R3, which are connected in series, together form a reset circuit. When the (m+1)th output terminal of the pulse distributor outputs a high level, the reset circuit triggers the pulse distributor to reset through the charging and discharging of the first capacitor C1 and the pull-up effect of the third resistor R3, and releases a reset signal to the RST terminal of the pulse distributor, so that the pulse distributor starts outputting again from the first output terminal, forming a periodic output loop.
[0008] Furthermore, the second capacitor C2 serves as a filter capacitor to filter out high-frequency noise in the VCC power supply, while also eliminating mechanical jitter through the charging and discharging time.
[0009] Furthermore, the second resistor R2 is a current-limiting resistor used to match the impedance of the preceding and following circuits.
[0010] Furthermore, each of the output modules includes: The transistor has its base connected to one output terminal of the pulse distributor, and its base is connected in series with a fourth resistor R4. The collector of the transistor is connected to the second power input terminal through a fourth branch, and the emitter of the transistor is grounded. A relay is connected in series with a first diode on the fourth branch circuit. A second diode is also connected in reverse parallel to the relay. The contacts of the relay are connected to the external socket.
[0011] Compared with the prior art, the beneficial effects of the present invention are as follows: This application enables the cyclic switching of multiple output channels with a single button, simplifying the user's operation process and avoiding the complexity and difficulty of operation caused by the need for multiple switches or buttons to control different circuits in traditional circuits, thus improving the user-friendliness of human-computer interaction. The present invention also utilizes a sorting module to shape and count the mechanical pulses triggered by the button, and uses this as a clock signal to drive the pulse distributor, so that each button trigger corresponds to a specific output terminal generating a high level, thereby achieving precise sequential switching. This method improves the stability and anti-interference ability of the signal, and also enhances the reliability and predictability of the system operation. This invention also employs different models of pulse distributors, thereby adjusting the number of output terminals (n) of the pulse distributors and the number of actual connected output modules (m, m≤n), to flexibly adapt to different load control requirements. It has good scalability and versatility. This modular design is conducive to rapid deployment in different application scenarios and meets personalized control requirements. The output modules all use pull-up resistors to convert the low-level signal output by the pulse distributor into a high-level drive signal, thereby controlling the conduction state of the external socket. This can effectively solve the level matching problem, reduce the driving requirements of subsequent circuits, improve the compatibility and stability of the circuit, and reduce power consumption and heat generation to a certain extent, thus improving energy efficiency. The device described in this invention is implemented using general-purpose digital logic devices and basic electronic components, featuring a simple structure, high integration, and ease of mass production and maintenance, thus reducing manufacturing and application costs. Furthermore, this invention eliminates the need for complex software control logic, avoiding potential program crashes or upgrade / maintenance issues inherent in embedded systems, making the entire system more stable and reliable, and suitable for applications requiring ease of maintenance. Attached Figure Description
[0012] The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the invention with reference to the accompanying drawings, in which: Figure 1 This is a schematic diagram of the sorting module of the present invention; Figure 2 This is a schematic diagram of the output module of the present invention.
[0013] The diagram shows: 1: Pulse distributor, 2: Input button, 3: VCC power supply terminal, 4: First power input terminal, 5: First resistor R1, 6: Second resistor R2, 7: Third resistor R3, 8: First capacitor C1, 9: Fourth resistor R4, 10: Second capacitor C2, 11: Relay, 12: First diode, 13: Second diode, 14: Transistor, 15: External socket, 16: Second power input terminal. Detailed Implementation
[0014] To further illustrate the technical means and effects of the present invention in order to achieve the intended purpose, the following detailed description of the specific implementation methods, structures, features and effects of the present invention, in conjunction with the accompanying drawings and preferred embodiments, is provided below.
[0015] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate.
[0016] It should be noted that, in this application, unless otherwise stated, directional terms such as "upper," "lower," "top," and "bottom" are generally used in relation to the direction shown in the accompanying drawings, or in relation to the vertical, perpendicular, or gravitational direction of the component itself; similarly, for ease of understanding and description, "inner" and "outer" refer to the inner and outer contours of each component itself, but the above directional terms are not intended to limit the present invention.
[0017] Example 1 like Figure 1-2 As shown, the single-button multi-channel switching device provided in this embodiment includes a sorting module, a pulse distributor 1, and m output modules connected to the pulse distributor 1, used to complete multi-channel switching via a single button. This application mainly considers time-division multiplexing output or switching; therefore, a relay 11 is used in each output module to sort different relays 11 in multiple output modules, ensuring that only one relay 11 is engaged at any given time, and only one output is generated.
[0018] Wherein: the pulse distributor 1 includes n output terminals; the sorting module is used to receive clock pulses triggered by the button and successively drive the output terminals of the pulse distributor 1 to generate high levels; the output module is connected one-to-one with the first m output terminals of the pulse distributor 1, and converts the low-level signal output by the pulse distributor 1 into a high-level drive signal through pull-up resistors to control the conductivity state of the external socket 15. It should be noted that m < n.
[0019] In some embodiments, the single-button multi-channel switching device of the present invention can be applied to centralized switching control of multiple electrical circuits, multi-channel load switching of small equipment or production lines, multi-channel equipment control in space-constrained environments, and even environments where the number of physical buttons is limited.
[0020] like Figure 1 As shown, the sorting module provided in this embodiment of the invention includes a power supply module, an input button 2, a first branch, a second branch, and a third branch. Wherein: The power supply module is equipped with a VCC power terminal 3 and a first power input terminal 4. The VCC power terminal 3 is the main power supply for the entire circuit device. The first power input terminal 4 and the VCC power terminal 3 together form a dual power supply architecture of main power supply + logic power supply. Input button 2, the VCC power supply terminal 3 is connected to the input button 2 through the first resistor R1 5, and is used to supply power to the input button 2. The output terminal of the input button 2 is also connected to the CLK terminal of the pulse distributor 1; The first branch connects the VCC power supply terminal 3 to the ground terminal, and a second capacitor C210 is connected in series on the first branch. The second branch connects the VCC power supply terminal 3 to the first power input terminal 4, and a second resistor R26 is connected in series on the second branch. The third branch connects the VCC power supply terminal 3 to the ground terminal, and the third branch is connected in series with the first capacitor C1 8 and the third resistor R3 7. The output terminal of the first capacitor C18 is connected to the RST terminal and the (m+1)th output terminal of the pulse distributor 1, respectively.
[0021] The first resistor R15 is a pulse input pull-up resistor, used to clamp the initial state of the input button 2 to a high level. When the input button 2 is not pressed, the first resistor R15 fixes the signal terminal of the input button 2 to a high level; after the input button 2 is pressed, the signal terminal is grounded and becomes a low level, realizing stable detection of the button state and avoiding interference in the floating state.
[0022] The first capacitor C18 and the third resistor R37, which are connected in series, together form a reset circuit. When the (m+1)th output terminal of the pulse distributor 1 outputs a high level, the reset circuit triggers the pulse distributor 1 to reset through the charging and discharging of the first capacitor C18 and the pull-up effect of the third resistor R37, and releases a reset signal to the RST terminal of the pulse distributor 1, so that the pulse distributor 1 starts outputting again from the first output terminal, forming a periodic output loop.
[0023] The second capacitor C210 serves as a filter capacitor, used to filter out high-frequency noise in the VCC power supply, and at the same time eliminates mechanical jitter through charging and discharging time.
[0024] The second resistor R2 6 is a current-limiting resistor, used to match the impedance of the preceding and following circuits, prevent damage to circuit components due to voltage fluctuations or short circuits, and protect the power supply.
[0025] Each of the output modules includes: Transistor 14, the base of transistor 14 is connected to one output terminal of pulse distributor 1, the base is also connected in series with a fourth resistor R4 9, the collector of transistor 14 is connected to the second power input terminal 16 through a fourth branch, and the emitter of transistor 14 is grounded; Relay 11, which is connected in series with the first diode 12 on the fourth branch circuit, and a second diode 13 is also connected in reverse parallel on the relay 11. The contacts of the relay 11 are connected to the external socket 15.
[0026] When the external socket 15 corresponding to the output module is in the on state: when the output terminal of the pulse distributor 1 outputs a high level, the current flows into the base of the transistor 14 through the fourth resistor R4 9, the transistor 14 is saturated and turned on, the second power input terminal 16, the coil of the relay 11, the collector and emitter of the transistor 14 and the ground terminal form a circuit, the coil of the relay 11 is energized, the contacts are closed, and the external socket 15J1 outputs a control signal through the corresponding pin.
[0027] When the external socket 15 corresponding to the output module is in the off state: when the output terminal of the pulse distributor 1 is at a low level, there is no current at the base of the transistor 14, the collector is cut off, the coil of the relay 11 is de-energized, the contacts are reset, and the second diode 13 is turned on at this time, releasing the magnetic field energy stored in the coil.
[0028] Example 2 like Figure 1-2 As shown, this embodiment is an optimization based on Embodiment 1. In this embodiment, the first resistor R15 is a 10KΩ pull-up resistor, the second resistor R26 is a 100Ω resistor, the first capacitor C18 and the second capacitor C210 are both 0.01μF filter capacitors, the third resistor R37 is a 100KΩ resistor, and the fourth resistor R49 is a 1KΩ resistor; the first power input terminal 4 is a +5V voltage input terminal, and the second power input terminal 16 is a +24V voltage input terminal; the pulse distributor 1 can be a CD4017 model distributor, which has ten independent output terminals Q0-Q9, and can output high levels sequentially according to the clock pulse sequence.
[0029] In addition, this application has six output modules, which are respectively connected to the Q0-Q5 output terminals of pulse distributor 1. The Q6 output terminal of pulse distributor 1 is connected to the output terminal of the first capacitor C18. When the Q6 output terminal outputs a high level, it triggers the pulse distributor 1 to reset, releasing a reset signal to the RST terminal of the pulse distributor 1, so that the pulse distributor 1 resumes outputting a high level sequentially from the Q0 output terminal to serve the subsequent output modules.
[0030] like Figure 2 As shown, this embodiment has six output modules. This application only describes the output module connected to the Q0 output terminal. When the Q0 output terminal is low, transistor 14 is off, and relay 11 is not energized. When the Q0 output terminal is high, transistor 14 is on, relay 11 is energized, and the external socket 15 connected to it is conductive. Additionally, the first diode 12 is an indicator light, specifically indicating whether the circuit is connected. The external socket is a seven-pin socket.
[0031] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A single-button multi-channel switching device, characterized in that, It includes a sorting module, a pulse distributor, and m output modules connected to the pulse distributor, wherein: the pulse distributor includes n output terminals; the sorting module is used to receive clock pulses triggered by a button and successively drive the output terminals of the pulse distributor to generate a high level; The output module is connected one-to-one with the first m output terminals of the pulse distributor, and converts the low-level signal output by the pulse distributor into a high-level drive signal through a pull-up resistor to control the conductivity state of the external socket.
2. A single-button multi-channel switching device according to claim 1, characterized in that, The sorting module includes: The power supply module is equipped with a VCC power supply terminal and a first power input terminal; The input button is connected to the VCC power supply terminal through a first resistor R1 to supply power to the input button. The output terminal of the input button is also connected to the CLK terminal of the pulse distributor. The first branch connects the VCC power supply terminal to the ground terminal through the first branch, and a second capacitor C2 is connected in series in the first branch. The second branch connects the VCC power supply terminal to the first power input terminal, and a second resistor R2 is connected in series on the second branch. The third branch connects the VCC power supply terminal to the ground terminal through the third branch, and the third branch is connected in series with the first capacitor C1 and the third resistor R3. The output terminal of the first capacitor C1 is connected to the RST terminal and the (m+1)th output terminal of the pulse distributor.
3. A single-button multi-channel switching device according to claim 2, characterized in that, The first resistor R1 is a pulse input pull-up resistor, used to clamp the initial state of the input button to a high level.
4. A single-button multi-channel switching device according to claim 3, characterized in that, The first capacitor C1 and the third resistor R3, which are connected in series, together form a reset circuit. When the (m+1)th output terminal of the pulse distributor outputs a high level, the reset circuit triggers the pulse distributor to reset through the charging and discharging of the first capacitor C1 and the pull-up effect of the third resistor R3, and releases a reset signal to the RST terminal of the pulse distributor, so that the pulse distributor starts outputting again from the first output terminal, forming a periodic output loop.
5. A single-button multi-channel switching device according to claim 4, characterized in that, The second capacitor C2 serves as a filter capacitor, used to filter out high-frequency noise in the VCC power supply, and at the same time eliminates mechanical jitter through charging and discharging time.
6. A single-button multi-channel switching device according to claim 5, characterized in that, The second resistor R2 is a current-limiting resistor used to match the impedance of the preceding and following circuits.
7. A single-button multi-channel switching device according to claim 6, characterized in that, Each of the output modules includes: The transistor has its base connected to one output terminal of the pulse distributor, and its base is connected in series with a fourth resistor R4. The collector of the transistor is connected to the second power input terminal through a fourth branch, and the emitter of the transistor is grounded. A relay is connected in series with a first diode on the fourth branch circuit. A second diode is also connected in reverse parallel to the relay. The contacts of the relay are connected to the external socket.