A static low-power sliding switch and its detection and control method

By connecting pull-down circuits at both ends of the slide disc of the sliding switch and turning off unnecessary pull-down circuits before sleep mode, the problem of static high power consumption of the sliding switch is solved, and a low-power sliding switch design is realized, protecting battery life and reducing costs.

CN114371397BActive Publication Date: 2025-03-04XIAMEN CHIPSUN SCIENCE & TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111594114.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-03-04
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

The existing sliding switches have a problem of static high power consumption during use, which leads to excessive battery consumption and shorten battery life.

Method used

A static low-power sliding switch is designed. By connecting pull-down circuits at both ends of the slide, the pull-down circuit at one end connected to the contact end is turned off before entering sleep mode, and the pull-down circuit at one end connected to the contact end is turned on, so as to avoid the problem of high static power consumption without affecting the wake-up function.

Benefits of technology

Effectively reduces static power consumption, protects the life of battery products, and does not require additional cost of external pull-down circuits through a streamlined structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114371397B_ABST
    Figure CN114371397B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of switch control technology, and in particular to a static low-power sliding switch and a detection and control method thereof, comprising a sliding piece, wherein the sliding piece comprises an ON end and an OFF end; a pull-down circuit, wherein the pull-down circuit comprises a first pull-down circuit and a second pull-down circuit, wherein the ON end is connected to the first pull-down circuit, and the OFF end is connected to the second pull-down circuit; compared with the prior art, the present invention connects pull-down circuits to the two ends of the sliding piece respectively, and controls the pull-down of the end of the sliding piece connected to the contact end to be closed before entering a sleep mode, and the pull-down of the end not in contact with the contact end to be opened, and after entering the sleep mode, the original method of directly opening the pull-down from the power supply to the internal pull-down to cause high static power consumption can be avoided without affecting the wake-up function, and the simplified structure does not require the additional cost of an external pull-down circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of switch control, and in particular to a static low-power sliding switch and a detection and control method thereof. Background Art

[0002] A slide switch is a switch used to operate horizontally to turn on and off, so it is defined as a slide switch. It is also one of the most common types of switches.

[0003] At present, the conventional detection method of battery-type sliding switches is based on the fact that when the battery is used to power the microcontroller, one end is connected to BAT and the other end is pulled down (the pull-down resistance value is different for different microcontrollers). Figure 1 As shown in the figure, when you swipe left to turn on the device, *1, *3, and *5 are continuously connected together. When you swipe right to turn off the device, *2, *4, and *5 are continuously connected together. If an abnormal load or low power shutdown is detected when *1, *3, and *5 are connected, the static power consumption will be too high due to the pull-down resistor, which will cause the battery to consume power too quickly, resulting in over-discharge and shortening the battery life. If the pull-down resistor is removed to solve the problem of high static power consumption, when the MCU enters low power mode, the MCU cannot be awakened to enter normal working mode when swiping left to turn on the device. Although there is a power on / off control circuit disclosed in the prior art, for example, a Chinese patent with publication number CN211786987U (publication date April 16, 2020), a switch unit is arranged between the power supply and the battery BAT, and the trigger pin of the switch unit is connected to the output end of the AND gate. The AND gate input includes two paths, one input end of the AND gate is connected to a grounded button, and a signal for detecting whether the button is pressed is led out to connect to the CPU input pin, and the other input end of the AND gate is connected to the CPU output pin via a transistor. After the power supply is powered on, the CPU controls the CPU output pin to pull up the level; after the CPU input pin level is pulled down, the CPU controls the CPU output pin to pull down the level. The circuit composed of the button, the AND gate, the transistor and the single-chip microcomputer realizes the control of the system power on / off.

[0004] However, in summary, the problem of static high power consumption in the use of sliding switches in the prior art needs to be solved. Summary of the invention

[0005] In order to solve the above-mentioned deficiencies in the prior art, the present invention provides a static low-power sliding switch and a detection and control method thereof, wherein the static low-power sliding switch comprises:

[0006] A slide, the slide comprising an ON end and an OFF end;

[0007] a pull-down circuit, the pull-down circuit comprising a first pull-down circuit and a second pull-down circuit, the ON end being connected to the first pull-down circuit, and the OFF end being connected to the second pull-down circuit; and

[0008] A first contact end and a second contact end, wherein the first contact end and the second contact end are both electrically connected to a power supply; when the slide slides to the point where the ON end is connected to the first contact end, the OFF end is disconnected from the second contact end; when the slide slides to the point where the OFF end is connected to the second contact end, the ON end is disconnected from the first contact end.

[0009] In one embodiment, it further includes a motor drive end, wherein the motor drive end is electrically connected to the first contact end, and when the ON end is connected to the first contact end, the motor drive end is connected to the power supply.

[0010] In one embodiment, the power supply includes a MOS driving power supply.

[0011] In one embodiment, the first pull-down circuit includes a first pull-down resistor, one end of the first pull-down resistor is connected to the ON end, and the other end is grounded.

[0012] In one embodiment, the second pull-down circuit includes a second pull-down resistor, one end of the second pull-down resistor is connected to the OFF end, and the other end is grounded.

[0013] The present invention also provides a detection and control method for a static low-power sliding switch as described in any one of the above items, characterized in that it comprises the following steps:

[0014] Before entering sleep mode, detect the position of the slider;

[0015] If the slider is in the first position where the ON end is connected to the first contact end, the first pull-down circuit is closed and the second pull-down circuit is opened;

[0016] If the slider is in the second position where the OFF end is connected to the second contact end, the second pull-down circuit is closed and the first pull-down circuit is opened;

[0017] Enter sleep mode.

[0018] In one embodiment, when the first pull-down circuit is turned on, the first IO port connected to the ON end is set to an input mode and a wake-up function of the first IO port is turned on;

[0019] When the second pull-down circuit is turned on, the second IO port connected to the OFF end is set to an input mode and a wake-up function of the second IO port is turned on.

[0020] In one embodiment, the working mode is entered when the sliding plate slides from the first position to the second position or when the sliding plate slides from the second position to the first position.

[0021] In one embodiment, when in the working mode, the first pull-down circuit and the second pull-down circuit are turned on;

[0022] The position of the sliding plate is detected. If the sliding plate is in the first position, the electrical appliance is controlled to work; if the sliding plate is in the second position, the electrical appliance is controlled to stop working.

[0023] In one embodiment, the electrical appliance comprises a motor.

[0024] Based on the above, compared with the prior art, the static low-power sliding switch and its detection and control method provided by the present invention, by connecting pull-down circuits at both ends of the sliding piece, respectively, controls the pull-down of the end of the sliding piece connected to the contact end to be closed before entering the sleep mode, and the pull-down of the end not in contact with the contact end to be opened. After entering the sleep mode, it can avoid the problem of high static power consumption caused by the original method of directly opening the pull-down from the power supply to the internal pull-down without affecting the wake-up function, and the streamlined structure does not require the additional cost of the external pull-down circuit.

[0025] Other features and beneficial effects of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other beneficial effects of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The positional relationships described in the drawings in the following description are based on the directions in which the components are drawn in the diagrams, unless otherwise specified.

[0027] Figure 1 It is a schematic diagram of the structure of a sliding switch in the prior art;

[0028] Figure 2 A schematic diagram of the structure of a static low-power sliding switch provided by the present invention;

[0029] Figure 3 A schematic diagram of the process and mode switching of the detection and control method of the static low-power sliding switch provided by the present invention when entering the sleep mode.

[0030] Reference numerals:

[0031] DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments; the technical features designed in different implementation modes of the present invention described below can be combined with each other as long as they do not conflict with each other; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0033] In the description of the present invention, it should be noted that all terms (including technical terms and scientific terms) used in the present invention have the same meanings as those generally understood by ordinary technicians in the field to which the present invention belongs, and should not be understood as limitations on the present invention; it should be further understood that the terms used in the present invention should be understood to have the same meanings as these terms in the context of this specification and in the relevant fields, and should not be understood in an idealized or overly formal sense, unless explicitly defined in this invention.

[0034] The present invention provides a static low-power sliding switch, comprising a sliding piece, the sliding piece comprising an ON end and an OFF end; a pull-down circuit, the pull-down circuit comprising a first pull-down circuit and a second pull-down circuit, the ON end is connected to the first pull-down circuit, and the OFF end is connected to the second pull-down circuit; and a first contact end and a second contact end, the first contact end and the second contact end are both electrically connected to a power supply; when the sliding piece slides to the point where the ON end is connected to the first contact end, the OFF end is disconnected from the second contact end; when the sliding piece slides to the point where the OFF end is connected to the second contact end, the ON end is disconnected from the first contact end.

[0035] In specific implementation, the static low-power sliding switch provided by the present invention is suitable for electrical products such as electric clippers and razors, and is particularly useful for battery-powered products. Figure 2As shown, the slider 10 has an ON end 11 and an OFF end 12. The slider 10 has two positions. One is when the slider 10 slides to the ON end 11 connected to the first contact end 31, and the OFF end 12 is disconnected from the second contact end 32, which is defined as the first position; the other is when the slider 10 slides to the OFF end 12 connected to the second contact end 32, and the ON end 11 is disconnected from the first contact end 31, which is defined as the second position. In order to realize the wake-up function of the sleep mode through the sliding switch, the ON end 11 is connected to the first pull-down circuit 21, and the OFF end 12 is connected to the second pull-down circuit 22. When the appliance needs to be awakened, the position of the slider 10 can be switched, and the first pull-down circuit 21 or the second pull-down circuit 22 can be connected to the circuit. The IO port connected to the first contact end 31 or the second contact end 32 corresponding to the connected pull-down circuit will receive a signal of level change, and then the awakening circuit enters the working mode.

[0036] Preferably, in some embodiments, Figure 2 As shown, it also includes a motor drive end 40, and the motor drive end 40 is electrically connected to the first contact end 31. When the ON end 11 is connected to the first contact end 31, the motor drive end is connected to the power supply. The power supply includes a MOS drive power supply. Therefore, the MOS drive power supply is only powered when the machine is turned on. When the MOS tube fails, the motor drive power supply can be directly turned off when the slide 10 is moved to the second position to prevent the product from working abnormally, thereby improving the product safety performance.

[0037] Specifically, the first pull-down circuit 21 includes a first pull-down resistor, one end of which is connected to the ON end and the other end is grounded. The second pull-down circuit 22 includes a second pull-down resistor, one end of which is connected to the OFF end and the other end is grounded.

[0038] In such Figure 1 The structure of the sliding switch in the prior art shown above has a pull-down circuit connected to the ON end in order to realize the power-on wake-up function. However, there is a problem that when the appliance stops working and enters the sleep mode due to abnormal load or low power shutdown, the pull-down circuit is still connected to the circuit, resulting in high static power consumption, which will shorten the battery life of battery products. In order to solve the above problem, the present invention provides the following method steps.

[0039] The present invention also provides a detection and control method for a static low-power sliding switch as described in any one of the above items, such as Figure 3 As shown, the following steps are included:

[0040] Before entering sleep mode, detect the position of the slider;

[0041] If the slider is in the first position where the ON end is connected to the first contact end, the first pull-down circuit is closed and the second pull-down circuit is opened;

[0042] If the slider is in the second position where the OFF end is connected to the second contact end, the second pull-down circuit is closed and the first pull-down circuit is opened;

[0043] Enter sleep mode.

[0044] In this way, before entering the sleep mode, whether due to an accident or a normal procedure, the end of the slider connected to the circuit and the connected pull-down circuit can be turned off to prevent static power consumption and protect battery products. At the same time, the other end of the slider not connected to the circuit and the connected pull-down circuit are turned on.

[0045] Preferably, in some embodiments, when the first pull-down circuit is turned on, the first IO port connected to the ON end is set to input mode and the wake-up function of the first IO port is turned on; when the second pull-down circuit is turned on, the second IO port connected to the OFF end is set to input mode and the wake-up function of the second IO port is turned on. When the IO port is set to input mode and the wake-up mode is turned on, it can accept external signal input and can control entering the working mode through the change of the received signal. For example, when in sleep mode, the slider slides from the first position to the second position, the second pull-down circuit connected to the OFF end is connected to the second IO port, and the single-chip microcomputer enters the working mode and completes the wake-up function after the second IO port receives the level change.

[0046] Preferably, in some embodiments, Figure 3 As shown, when it is needed, the wake-up function can be realized by simply switching the position of the slide plate. That is, when the slide plate slides from the first position to the second position or when the slide plate slides from the second position to the first position, the working mode is entered.

[0047] Preferably, in some embodiments, Figure 3 As shown, when in the working mode, the first pull-down circuit and the second pull-down circuit are turned on; the position of the slider is detected, and if the slider is in the first position, the electrical appliance is controlled to work; if the slider is in the second position, the electrical appliance is controlled to stop working. Until the sleep program is triggered, for example, when the load is abnormal or the power is low when the electrical appliance is working, or when the electrical appliance stops working for a long time, that is, the slider is always in the second position, the sleep program will be triggered, and then the process before entering the sleep mode will be executed. The electrical appliances are components such as motors of electrical appliances.

[0048] To sum up, compared with the prior art, the static low-power sliding switch and its detection and control method provided by the present invention, by connecting pull-down circuits at both ends of the sliding piece, respectively, controls the pull-down of the end of the sliding piece connected to the contact end to be closed before entering the sleep mode, and the pull-down of the end not in contact with the contact end to be opened. After entering the sleep mode, it can avoid the problem of high static power consumption caused by the original method of directly opening the pull-down from the power supply to the internal pull-down without affecting the wake-up function, and the streamlined structure does not require the additional cost of the external pull-down circuit.

[0049] In addition, those skilled in the art should understand that, although there are many problems in the prior art, each embodiment or technical solution of the present invention can be improved in only one or several aspects, without having to solve all the technical problems listed in the prior art or background technology at the same time. Those skilled in the art should understand that the content not mentioned in a claim should not be used as a limitation on the claim.

[0050] Although the terms such as slider, ON terminal, OFF terminal, first pull-down circuit, second pull-down circuit, first contact terminal, first contact terminal and motor drive terminal are used more frequently in this article, the possibility of using other terms is not excluded. These terms are used only to more conveniently describe and explain the essence of the present invention; interpreting them as any additional restrictions is contrary to the spirit of the present invention; the terms "first", "second", etc. (if any) in the description and claims of the embodiments of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0051] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A static low-power sliding switch, characterized in that: include: A slide, the slide comprising an ON end and an OFF end; A pull-down circuit, the pull-down circuit comprising a first pull-down circuit and a second pull-down circuit, the ON end is connected to the first pull-down circuit, and the OFF end is connected to the second pull-down circuit; as well as a first contact end and a second contact end, wherein the first contact end and the second contact end are both electrically connected to a power source; when the sliding piece slides until the ON end is connected to the first contact end, the OFF end is disconnected from the second contact end; when the sliding piece slides until the OFF end is connected to the second contact end, the ON end is disconnected from the first contact end; The first pull-down circuit includes a first pull-down resistor, one end of the first pull-down resistor is connected to the ON end, and the other end is grounded; The second pull-down circuit includes a second pull-down resistor, one end of the second pull-down resistor is connected to the OFF end, and the other end of the second pull-down resistor is grounded.

2. The static low power consumption sliding switch according to claim 1, characterized in that: It also includes a motor drive end, which is electrically connected to the first contact end. When the ON end is connected to the first contact end, the motor drive end is connected to the power supply.

3. The static low power consumption sliding switch according to claim 2, characterized in that: The power supply includes a MOS driving power supply.

4. A detection and control method for a static low-power sliding switch according to any one of claims 1 to 3, characterized in that: The following steps are involved: Before entering sleep mode, detect the position of the slider; If the slider is in the first position where the ON end is connected to the first contact end, the first pull-down circuit is closed and the second pull-down circuit is opened; If the slider is in the second position where the OFF end is connected to the second contact end, the second pull-down circuit is closed and the first pull-down circuit is opened; Enter sleep mode.

5. The detection control method according to claim 4, characterized in that: When the first pull-down circuit is turned on, the first IO port connected to the ON end is set to an input mode and a wake-up function of the first IO port is turned on; When the second pull-down circuit is turned on, the second IO port connected to the OFF end is set to an input mode and a wake-up function of the second IO port is turned on.

6. The detection control method according to claim 5, characterized in that: When the slide plate slides from the first position to the second position or when the slide plate slides from the second position to the first position, the working mode is entered.

7. The detection control method according to claim 6, characterized in that: When in the working mode, turning on the first pull-down circuit and the second pull-down circuit; The position of the sliding plate is detected. If the sliding plate is in the first position, the electrical appliance is controlled to work; if the sliding plate is in the second position, the electrical appliance is controlled to stop working.

8. The detection control method according to claim 7, characterized in that: The electrical appliance comprises a motor.

Citation Information

Patent Citations

  • Startup and shutdown control circuit

    CN211786987U

  • Control circuit for ultralow standby power consumption power supply

    CN103151935A

  • Low-power-consumption control circuit, control method and electronic equipment

    CN111638778A