Universal switch circuit and multi-wire switch

Through the design of multi-wire switching circuit, the use of three signal lines and the logic signal control of the chip controller, the safety hazards and scalability problems of the switching circuit are solved, and the safe and reliable operation and flexible control of the equipment are achieved.

CN223092323UActive Publication Date: 2025-07-11SANJUXING TECHNOLOGY (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422342674.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-07-11
Estimated Expiration
2034-09-24

AI Technical Summary

Technical Problem

The existing switching circuits have safety hazards, which are prone to electric shock, short circuit and poor expansion, making it difficult to adapt to the needs of multi-device linkage control.

Method used

采用多线开关电路设计,包括至少三根信号线和芯片控制器,通过逻辑信号控制设备启停,并配备电容和电源供电单元以确保安全和灵活性。

Benefits of technology

It improves the safety and reliability of the equipment, reduces the risk of misoperation, adapts to a variety of application scenarios, and reduces cost and wiring difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223092323U_ABST
    Figure CN223092323U_ABST
Patent Text Reader

Abstract

The utility model relates to a universal switch circuit and a multi-wire switch in the field of switches, which comprise a multi-wire switch unit, a chip controller and a power supply unit, the multi-wire switch unit comprises three signal wires, and the three signal wires are combined to output logic signals to the chip controller. The chip controller is used for receiving a logic signal of the multi-wire switch unit and controlling start and stop of equipment according to the logic signal, the power supply unit is used for providing stable voltage and current so as to ensure normal operation of the multi-wire switch unit and the chip controller, and a fault detection mechanism is used for accurately identifying the logic signal and detecting the fault of the equipment. The system effectively reduces the risk of misoperation, remarkably reduces equipment faults caused by switch damage or line aging through a self-detection mechanism, guarantees the safe operation of the system, can easily meet the requirement of multi-equipment linkage control through the flexible configuration of the number and combination of signal lines, remarkably improves the expansibility of the system, and improves the reliability of the system. The method is widely applicable to various application scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of switches, in particular to a general-purpose switch circuit and a multi-wire switch. Background Art

[0002] Most of the switch circuits widely used in the current market are directly connected to the power supply. This design has relatively large potential safety hazards. During the operation process, users may come into contact with high-voltage power supplies and face the risk of electric shock. In addition, once the switch is damaged, it is extremely easy to cause a short circuit of the power supply, further aggravating the safety risks of the equipment and possibly triggering serious accidents.

[0003] There are various switches on the current market, mainly including the following two categories: The first type of switch starts and stops the equipment by turning the power supply on and off. Since this type of switch is directly in contact with the power supply, there is a risk of electric shock and leakage when abnormal conditions occur; The second type of switch controls the start and stop of the equipment by changing the high and low levels of the input controller signal through turning on and off. This type of switch solves the problem that the human body may directly come into contact with high voltage in the first type of switch. The second type of switch is connected by a low-level wire and a high-level wire. When the switch is turned on, the high-level wire is pulled to the low level, and the start and stop of the equipment are controlled through a simple logic principle.

[0004] In the long-term use of traditional single-wire or two-wire switches, the aging of the circuit or the interference of the external environment easily leads to a short circuit, thereby causing misoperation. This misoperation may cause the accidental start or stop of the equipment, which not only affects the operation safety but also may cause economic losses, reducing the reliability of the equipment and the user experience. In addition, the design of traditional switches is relatively single and difficult to meet the requirements of modern complex control systems. When multi-device linkage control or adaptation to different application scenarios is required, the expandability and flexibility of traditional switches are relatively poor, restricting their effectiveness in diverse applications. Summary of the Utility Model

[0005] In order to overcome the deficiencies of the prior art solutions, the utility model provides a switch circuit and a multi-wire switch, which can effectively solve the technical problems of insufficient safety and reliability and inability to adapt to different application scenarios.

[0006] The technical solution adopted by the utility model to solve its technical problems is: a switch circuit, including:

[0007] A multi-wire switch unit, the multi-wire switch unit includes at least three signal lines, and the three signal lines combine to output a logic signal to the chip controller;

[0008] A chip controller, the chip controller is used to receive the logic signal of the multi-wire switch unit and control the start and stop of the equipment according to the logic signal;

[0009] The power supply unit is used to provide stable voltage and current to ensure the normal operation of the multi-line switch unit and the chip controller. The power supply unit includes wire E and wire F. The port VDD of the chip controller is connected to the positive power supply VCC through wire E, and the port GND of the chip controller is grounded through wire F. A capacitor C4 is connected between wire E and wire F, and capacitor C4 is in parallel with the chip controller.

[0010] Further, the three signal lines are respectively signal line P01, signal line P02, and signal line P03. One end of signal line P01, signal line P02, and signal line P03 is connected to a contact switch. The end of signal line P01 far from the contact switch is connected to the IO interface of the chip controller, and the ends of signal line P02 and signal line P03 far from the contact switch are respectively connected to any two IO interfaces on the chip controller.

[0011] Further, the end of signal line P01 far from the contact switch is connected to the port P01 of the chip controller through resistor R1.

[0012] According to another embodiment of the present invention, the three signal lines are respectively signal line P01, signal line P02, and signal line P03. One end of signal line P01, signal line P02, and signal line P03 is connected to a contact switch. The end of signal line P02 far from the contact switch is grounded through capacitor C1, and the end of signal line P03 far from the contact switch is grounded through capacitor C2.

[0013] The multi-line switch includes the above switch circuit and at least one signal line P04. The connection mode of signal line P04 is the same as that of signal line P02 and signal line P03.

[0014] Further, the end of signal line P04 far from the contact switch is grounded through capacitor C3.

[0015] Compared with the prior art, the beneficial effects of the present invention are:

[0016] 1. The present invention effectively reduces the risk of misoperation through precise identification of logic signals and a fault detection mechanism. In a high-voltage environment, the multi-line switch circuit of the present invention can prevent users from contacting high-voltage power sources, greatly reducing the risk of electric shock. In addition, through a self-detection mechanism, equipment failures caused by switch damage or wire aging are significantly reduced, ensuring the safe operation of the system.

[0017] 2. The multi-wire switch circuit design of the present utility model can easily adapt to a variety of application scenarios. By flexibly configuring the number and combination of signal lines, it can easily meet the requirements of multi-device linkage control, significantly improving the scalability of the system. This makes the switch design applicable not only to single-device control but also to multi-device linkage control, and it is widely applicable to a variety of application scenarios.

[0018] 3. In the multi-wire switch unit of the present utility model, there is no grounded wire, nor is it necessary to connect a 5V pull-up resistor. All signal lines are directly connected to the general-purpose IO interface of the chip controller. The circuit is simple, with few components, reducing both cost and wiring difficulty. At the same time, the number of lines can be flexibly increased or decreased according to actual needs to adapt to different control requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is the schematic diagram of the general-purpose switch circuit in Embodiment 1 of the present utility model;

[0020] Figure 2 is the circuit structure diagram of Embodiment 1 of the present utility model;

[0021] Figure 3 is the connection diagram of the chip controller in Embodiment 1 of the present utility model;

[0022] Figure 4 is the flowchart of the switch circuit control method in Embodiment 1 of the present utility model;

[0023] Figure 5 is the circuit structure diagram of Embodiment 2 of the present utility model; DETAILED DESCRIPTION OF THE EMBODIMENTS

[0024] Next, the technical solutions in the embodiments of the present utility model will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all of the embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present utility model.

[0025] Embodiment 1:

[0026] As Figure 1 shown, the general-purpose switch circuit of this embodiment includes: a multi-wire switch unit, a chip controller, and a power supply unit. The multi-wire switch unit includes three signal lines, and the three signal lines combine to output a logic signal to the chip controller. The chip controller is used to receive the logic signal of the multi-wire switch unit and control the start and stop of the device according to the logic signal. The power supply unit is used to provide stable voltage and current to ensure the normal operation of the multi-wire switch unit and the chip controller.

[0027] AsFigure 2 and Figure 3 As shown in Figure 3 , in the switch circuit of this embodiment, the three signal lines are signal line P01, signal line P02, and signal line P03 respectively. One end of signal line P01, signal line P02, and signal line P03 is connected with a contact switch. The end of signal line P01 far from the contact switch is connected to the IO interface of the chip controller. The ends of signal line P02 and signal line P03 far from the contact switch are respectively connected to any two IO interfaces of the chip controller. The end of signal line P01 far from the contact switch is connected to any one IO interface of the chip controller through resistor R1. The end of signal line P02 far from the contact switch is grounded through capacitor C1. The end of signal line P03 far from the contact switch is grounded through capacitor C2. The power supply unit includes wire E and wire F. The port VDD of the chip controller is connected to the positive power supply VCC through wire E. The port GND of the chip controller is grounded through wire F.

[0028] As Figure 4 shown, the working principle of the above general-purpose switch circuit is as follows:

[0029] Connect the three IO interfaces of the chip controller to the three signal lines, so as to read the state of the multi-line switch unit and generate a variety of logic signals for controlling the start and stop of the device. Four logic signals can be generated, which are respectively:

[0030] The first logic signal: Signal line P01 outputs a low level, and signal lines P02 and P03 are in the input pull-up state. Signal line P01 and signal line P02 are electrically connected through the contact switch. Signal line P01 is at a low level, signal line P02 is at a low level, and signal line P03 is at a high level, then the logic signal is 001;

[0031] The second logic signal: Signal line P01 outputs a low level, and signal lines P02 and P03 are in the input pull-up state. Signal line P01 and signal line P03 are electrically connected through the contact switch. Signal line P01 is at a low level, signal line P02 is at a high level, and signal line P03 is at a low level, then the logic signal is 010;

[0032] The third logic signal: Signal line P01 outputs a high level, and signal lines P02 and P03 are in the input pull-down state. Signal line P01 and signal line P02 are electrically connected through the contact switch. Signal line P01 is at a high level, signal line P02 is at a high level, and signal line P03 is at a low level, then the logic signal is 110;

[0033] The fourth logic signal: The signal line P01 outputs a high level, and the signal lines P02 and P03 are in an input pull-down state. The signal line P01 is electrically connected to the signal line P03 through a contact switch. When the signal line P01 is at a high level, the signal line P02 is at a low level, and the signal line P03 is at a high level, the logic signal is 101;

[0034] Configure the first and third logic signals as stop signals, and configure the second and fourth logic signals as start signals. In actual applications, alternately scan the logic states of the buttons. Other signals are invalid signals. By configuring these logic signals as stop signals or start signals, it is possible to achieve safe start and stop control of devices such as.

[0035] The specific control method is as follows:

[0036] S1, Initialize the inside of the chip controller;

[0037] S2, Self-check whether the signals of the multi-line switch unit are normal;

[0038] S3, When the self-check passes, everything is normal, standby and wait for the multi-line switch unit to act. When the self-check fails, the multi-line switch unit is abnormal, and the machine stops for protection;

[0039] S4, The multi-line switch unit sends a close or open signal to the chip controller, and still continuously detects whether the multi-line switch unit has a fault in real time;

[0040] S5, When everything is normal, standby and wait for the next multi-line switch unit to act. When the multi-line switch unit is abnormal, the machine stops for protection.

[0041] Further, the three signal lines are respectively the signal line P01, the signal line P02, and the signal line P03. One ends of the signal line P01, the signal line P02, and the signal line P03 are connected with a contact switch. One end of the signal line P02 far from the contact switch is grounded through a capacitor C1, and one end of the signal line P03 far from the contact switch is grounded through a capacitor C2. The above multi-line switch unit can also generate various different logic signals for controlling devices.

[0042] When the signal lines P01, P02, and P03 are short-circuited, the multi-line switch unit cannot generate the above four logic signals, thus avoiding mis-starting or mis-shutting down of the device. This design improves the safety of the system and ensures the uniqueness of the start and stop control.

[0043] When the system starts, the chip controller will first initialize the pin states of the signal lines P01, P02, and P03, and self-check whether the logic signals of the multi-line switch unit are normal. Only after passing the detection will the system decide whether to execute the start and stop actions of the device according to the obtained signal states, thus ensuring the safe operation of the device.

[0044] Embodiment 2:

[0045] As Figure 5 shown, the difference between this embodiment and Embodiment 1 is that it further includes a signal line P04. The connection method of the signal line P04 is the same as that of the signal lines P02 and P03. One end of the signal line P04 far from the contact switch is grounded through a capacitor C3. The signal line P04 can add two logic signals, and the two logic signals can be respectively configured to be used as stop signals and start signals.

[0046] The circuit switch provided by the present utility model can also be made into a five-wire switch unit or even more. Those skilled in the art can adjust the configuration of the signal lines according to actual needs to generate more logic signal combinations to meet complex control requirements.

[0047] For those skilled in the art, it is obvious that the present utility model is not limited to the details of the above exemplary embodiments, and without departing from the spirit or basic characteristics of the present utility model, the present utility model can be implemented in other specific forms. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present utility model is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present utility model. Any reference signs in the claims should not be regarded as limiting the claimed rights.

Claims

1. General-purpose switch circuit, characterized in that Comprising: A multi-line switch unit, the multi-line switch unit includes at least three signal lines, and the three signal lines combine to output a logic signal to the chip controller; A chip controller, the chip controller is used to receive the logic signal of the multi-line switch unit and control the start and stop of the device according to the logic signal, and several IO interfaces are provided on the chip controller; A power supply unit, the power supply unit is used to provide stable voltage and current to ensure the normal operation of the multi-line switch unit and the chip controller. The power supply unit includes wire E and wire F. The port VDD of the chip controller is connected to the positive power supply VCC through wire E, and the port GND of the chip controller is grounded through wire F. A capacitor C4 is connected between wire E and wire F, and capacitor C4 is connected in parallel with the chip controller.

2. The general-purpose switch circuit according to claim 1, wherein: The three signal lines are respectively signal line P01, signal line P02 and signal line P03. One end of signal line P01, signal line P02 and signal line P03 is connected with a contact switch. The end of signal line P01 far from the contact switch is connected to any one of the IO interfaces of the chip controller, and the ends of signal line P02 and signal line P03 far from the contact switch are respectively connected to any two IO interfaces on the chip controller.

3. The general-purpose switch circuit according to claim 2, wherein: The end of signal line P01 far from the contact switch is connected to port P01 of the chip controller through resistor R1.

4. The general-purpose switch circuit according to claim 1, wherein: The three signal lines are respectively signal line P01, signal line P02 and signal line P03. One end of signal line P01, signal line P02 and signal line P03 is connected with a contact switch. The end of signal line P02 far from the contact switch is grounded through capacitor C1, and the end of signal line P03 far from the contact switch is grounded through capacitor C2.

5. Multi-line switch, comprising the general switch circuit according to any one of claims 2-4, characterized in that: It further includes at least one signal line P04, and the connection method of signal line P04 is the same as that of signal line P02 and signal line P03.

6. The multi-wire switch according to claim 5, wherein: The end of signal line P04 far from the contact switch is grounded through capacitor C3.