Device for starting or shutting down equipment
By designing a circuit with a double micro switch and controller, the problem of misjudgment by the detection device is solved, enabling stable, timely, and accurate detection of the trigger status and triggering an alarm in abnormal situations to ensure that the equipment responds correctly to user operations.
Patent Information
- Application Number
- CN202423204355.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2034-12-25
AI Technical Summary
In the existing technology, the detection device is prone to misjudgment when the gun trigger is in the state, especially when the switch is damaged or the connection line is disconnected, it cannot detect the state of the gun trigger in a timely and accurate manner, causing the equipment to fail to respond correctly to the user's operation.
The circuit design employs a double micro switch and a controller. By combining a DC power supply, resistors, and capacitors, a selection branch is formed to detect the state changes of the double micro switch. This ensures that the controller can promptly identify the good or bad condition of the switch and its connection status, and alert the user through an alarm unit.
It achieves stable, timely, and accurate detection of the status of the double micro switch, ensuring that the equipment can respond correctly to user operations and alarm in abnormal situations to avoid misjudgment.
Smart Images

Figure CN223625583U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of monitoring technology, and in particular to a device for starting or stopping equipment. Background Technology
[0002] Currently, in order to know the status of the gun trigger, a detection device is installed on the gun trigger. The detection device is used to sense the status of the gun trigger and inform the controller, so that the controller can know the status of the gun trigger in a timely manner.
[0003] like Figure 2 The diagram shown is the circuit schematic of the original technical solution. Normally open microswitch SW2 has contact 1 grounded to VSS. Contact 2 of switch SW2 is connected to the positive terminal of the power supply via a first resistor R1. The power supply voltage is 5V. Contact 2 of switch SW2 is electrically connected to the control terminal IO3 of the controller. The junction of the first resistor R1, contact 2 of switch SW2, and the control terminal IO3 of the controller is the contact point. Switch SW2 is a normally open contact. When the trigger is not activated, switch SW2 is in the open state. The 5V power supply, through the first resistor R1, pulls the level of the controller's control terminal high, and the controller knows that switch SW2 is open and that the trigger is not activated. When the trigger is pressed, the trigger activates switch SW2, causing it to close. Switch SW2 becomes conductive, and ground VSS pulls the level of the controller's control terminal low, and the controller knows that switch SW2 is conductive and that the trigger is pressed.
[0004] The existing technical solutions have the following technical problems:
[0005] Under normal circumstances: When the normally open micro switch SW2 is manually pressed, the voltage level on IO3 will drop from 5V to 0V through the connecting wires and the internal pull-up resistor R1 and capacitor C1. The controller operates under the guidance of IO3.
[0006] In abnormal situations: If switch SW2 is damaged or the connecting wire is disconnected, and a microswitch is pressed manually, IO3 cannot detect the change in potential, so it will not perform the corresponding operation. However, since the pressing action is real, but the product does not alarm or remind, the user is not clear about the current status of the product.
[0007] When the line between contact 1 of switch SW2 and ground VSS is worn, damaged, or disconnected, or when the line between contact 2 of switch SW2 and the first resistor R1, or between contact 2 of switch SW2 and the control terminal of the controller is worn, damaged, or disconnected, ground VSS cannot connect to the control terminal IO3 of the controller. When the trigger is pressed, ground VSS cannot pull the level of the control terminal IO3 of the controller low. The controller cannot know that the trigger has been pressed, causing the trigger gun to fail to correctly obtain the customer's wishes and failing to clearly indicate that there is a problem with the trigger switch SW2.
[0008] To ensure that the detection device used to detect switch status can detect stably, timely and accurately, misjudgment by the detection device has become an urgent technical problem to be solved. Utility Model Content
[0009] This invention provides a device for starting or stopping equipment, solving the technical problem of misjudgment by detection devices.
[0010] To solve the above-mentioned technical problems, the technical solution adopted by this utility model is as follows:
[0011] An apparatus for starting or stopping a device includes a DC power supply, first to fifth resistors R1 to R5, a double micro switch SW1, and a controller. The positive terminal of the DC power supply is electrically connected to contact 1 of the double micro switch SW1 via the fourth resistor R4. Contact 2 of the double micro switch SW1 is grounded to VSS via the fifth resistor R5. Contact 2 of the double micro switch SW1 is electrically connected to the first control terminal of the controller via the first resistor R1. Contact 3 of the double micro switch SW1 is grounded to VSS via the third resistor R3. Contact 3 of the double micro switch SW1 is electrically connected to the second control terminal of the controller via the second resistor R2. Contacts 1 and 2 of the double micro switch SW1 form normally closed contacts, and contacts 1 and 3 of the double micro switch SW1 form normally open contacts. The fourth resistor R4, the normally closed contacts, and the first resistor R1 form a first selection branch, and the fourth resistor R4, the normally open contacts, and the second resistor R2 form a second selection branch.
[0012] A further technical solution is as follows: the double micro switch SW1 is a switch used to sense the trigger state. When the trigger state is the first state, the normally closed contact is turned on, the normally open contact is turned off, the first selection branch is turned on, and the second selection branch is turned off. When the trigger state is the second state, the normally closed contact is turned off, the normally open contact is turned on, the first selection branch is turned off, and the second selection branch is turned on almost simultaneously.
[0013] A further technical solution includes a first capacitor C1 and a second capacitor C2, wherein the first capacitor C1 is electrically connected between the first control terminal of the controller and ground VSS, and the second capacitor C2 is electrically connected between the second control terminal of the controller and ground VSS.
[0014] A further technical solution is that the DC power supply is a 5V DC power supply.
[0015] A further technical solution is that the controller is a microcontroller.
[0016] A further technical solution includes an alarm unit, and the controller is electrically connected to the alarm unit.
[0017] The beneficial effects of adopting the above technical solution are as follows:
[0018] An apparatus for starting or stopping a device includes a DC power supply, first to fifth resistors R1 to R5, a double micro switch SW1, and a controller. The positive terminal of the DC power supply is electrically connected to contact 1 of the double micro switch SW1 via the fourth resistor R4. Contact 2 of the double micro switch SW1 is grounded to VSS via the fifth resistor R5. Contact 2 of the double micro switch SW1 is electrically connected to the first control terminal of the controller via the first resistor R1. Contact 3 of the double micro switch SW1 is grounded to VSS via the third resistor R3. Contact 3 of the double micro switch SW1 is electrically connected to the second control terminal of the controller via the second resistor R2. Contacts 1 and 2 of the double micro switch SW1 form normally closed contacts, and contacts 1 and 3 of the double micro switch SW1 form normally open contacts. The fourth resistor R4, the normally closed contacts, and the first resistor R1 form a first selection branch, and the fourth resistor R4, the normally open contacts, and the second resistor R2 form a second selection branch. It can stably, timely and accurately detect the state of the double micro switch SW1 through a DC power supply, first to fifth resistors R1 to R5, double micro switch SW1 and controller.
[0019] The condition of the SW1 switch and the status of its connected leads can be determined by checking the potential status of the first and second control terminals.
[0020] See the detailed implementation section for further description. Attached Figure Description
[0021] Figure 1 This is a circuit schematic diagram of Embodiment 1 of this utility model;
[0022] Figure 2 It is the circuit schematic diagram of the original technical solution. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this application or its application or use. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0024] Many specific details are set forth in the following description in order to provide a full understanding of this application. However, this application may also be implemented in other ways different from those described herein. Those skilled in the art can make similar extensions without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.
[0025] Example 1:
[0026] like Figure 1 As shown, this utility model discloses a device for starting or stopping equipment, including a 5V DC power supply, first to fifth resistors R1 to R5, a first capacitor C1, a second capacitor C2, a double micro switch SW1, and a controller, wherein the controller is a microcontroller.
[0027] The positive terminal of the DC power supply is electrically connected to contact 1 of the double micro switch SW1 via the fourth resistor R4. Contact 2 of the double micro switch SW1 is grounded to VSS via the fifth resistor R5. Contact 2 of the double micro switch SW1 is electrically connected to the first control terminal IO1 of the controller via the first resistor R1. The first capacitor C1 is electrically connected between the first control terminal IO1 and ground VSS. The line between contact 2 of the double micro switch SW1 and the fifth resistor R5 is the first line 1.
[0028] The contact 3 of the double micro switch SW1 is grounded to VSS via the third resistor R3. The contact 3 of the double micro switch SW1 is electrically connected to the second control terminal IO2 of the controller via the second resistor R2. The second capacitor C2 is electrically connected between the second control terminal IO2 and ground VSS. The line between the contact 3 of the double micro switch SW1 and the third resistor R3 is the second line 2. The line between the contact 1 of the double micro switch SW1 and the fourth resistor R4 is the third line 3.
[0029] The contacts 1 and 2 of the double micro switch SW1 form normally closed contacts, and the contacts 1 and 3 of the double micro switch SW1 form normally open contacts. The fourth resistor R4, the normally closed contacts, and the first resistor R1 form the first selection branch, and the fourth resistor R4, the normally open contacts, and the second resistor R2 form the second selection branch.
[0030] Under normal circumstances: When the double micro switch SW1 is activated, the normally closed switch opens and the normally open switch closes. Based on this change in circuit state, it can be determined whether the switch has been pressed.
[0031] In static state: 5V is supplied to contact 1 of the double microswitch SW1 through the third line 3. The voltage is then applied to the fifth resistor R5 (pull-down resistor) through the normally closed contact via the first line 1, and then filtered by a simple RC filter before being supplied to IO1. Thus, in static state, the controller's first control terminal IO1 is at a high level. Since 5V is not supplied to the controller's second control terminal IO2 through the second line 2, the controller's second control terminal IO2 is defined as low by the pull-down resistor R3.
[0032] Dynamic: When the switch is activated, ideally, the first line 1 is pulled down from 5V to 0V, the voltage at the first control terminal IO1 of the controller jumps from high to low, the microswitch changes a very small stroke, and the voltage at the second control terminal IO2 of the controller immediately jumps from low to high.
[0033] Result: If any of the first line 1, the second line 2, or the third line 3 is disconnected, or if switch SW1 malfunctions or the internal control circuit malfunctions, the product can detect the problem and issue an alarm.
[0034] Existing technologies cannot detect the functionality of switches used to sense trigger states. The device in this application employs voltage detection technology; the circuit detects the trigger switch state by applying a certain voltage. When the switch is closed, current flows through the circuit, causing a voltage change at the measurement point.
[0035] The device described in this application is particularly suitable for applications involving power tools.
[0036] Example 2:
[0037] This utility model discloses a device for starting or stopping equipment, comprising a 5V DC power supply, first to fifth resistors R1 to R5, a double micro switch SW1, a controller, and an alarm unit. The alarm unit is an indicator light. The control terminal of the controller is electrically connected to the control terminal of the indicator light. The similarities will not be repeated.
[0038] Example 3:
[0039] This utility model discloses a device for starting or stopping equipment, comprising a 5V DC power supply, first to fifth resistors R1 to R5, a double micro switch SW1, a controller, and an alarm unit. The alarm unit is a buzzer. The control terminal of the controller is electrically connected to the control terminal of the buzzer. The similarities will not be repeated.
[0040] In addition to the above embodiments, a 3.3V DC power supply can also be used.
Claims
1. A device for starting or stopping a device, characterized in that: The system includes a DC power supply, first to fifth resistors R1 to R5, a double micro switch SW1, and a controller. The positive terminal of the DC power supply is electrically connected to contact 1 of the double micro switch SW1 via the fourth resistor R4. Contact 2 of the double micro switch SW1 is grounded to VSS via the fifth resistor R5. Contact 2 of the double micro switch SW1 is electrically connected to the first control terminal of the controller via the first resistor R1. Contact 3 of the double micro switch SW1 is grounded to VSS via the third resistor R3. Contact 3 of the double micro switch SW1 is electrically connected to the second control terminal of the controller via the second resistor R2. Contacts 1 and 2 of the double micro switch SW1 form normally closed contacts, and contacts 1 and 3 of the double micro switch SW1 form normally open contacts. The fourth resistor R4, the normally closed contacts, and the first resistor R1 form a first selection branch, and the fourth resistor R4, the normally open contacts, and the second resistor R2 form a second selection branch.
2. The device for starting or stopping a device according to claim 1, characterized in that: The double micro switch SW1 is a switch used to sense the trigger state. When the trigger state is the first state, the normally closed contact is on, the normally open contact is off, the first selection branch is on, and the second selection branch is off. When the trigger state is the second state, the normally closed contact is off, the normally open contact is on, the first selection branch is off, and the second selection branch is on.
3. The device for starting or stopping a device according to claim 1, characterized in that: It also includes a first capacitor C1 and a second capacitor C2. The first capacitor C1 is electrically connected between the first control terminal of the controller and ground VSS, and the second capacitor C2 is electrically connected between the second control terminal of the controller and ground VSS.
4. The device for starting or stopping a device according to claim 1, characterized in that: The DC power supply is a 5V DC power supply.
5. The device for starting or stopping a device according to claim 1, characterized in that: The controller is a microcontroller.
6. The apparatus for starting or stopping a device according to claim 1, characterized in that: It also includes an alarm unit, and the controller is electrically connected to the alarm unit.