CN212063542U - Push switch detection working circuit - Google Patents

Push switch detection working circuit Download PDF

Info

Publication number
CN212063542U
CN212063542U CN202020776319.4U CN202020776319U CN212063542U CN 212063542 U CN212063542 U CN 212063542U CN 202020776319 U CN202020776319 U CN 202020776319U CN 212063542 U CN212063542 U CN 212063542U
Authority
CN
China
Prior art keywords
battery
control chip
pin
push switch
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202020776319.4U
Other languages
Chinese (zh)
Inventor
黄植富
林铁英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Jinlaite Intelligent Technology Co ltd
Original Assignee
Guangdong Jinlaite Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Jinlaite Intelligent Technology Co ltd filed Critical Guangdong Jinlaite Intelligent Technology Co ltd
Priority to CN202020776319.4U priority Critical patent/CN212063542U/en
Application granted granted Critical
Publication of CN212063542U publication Critical patent/CN212063542U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model discloses a push away system switch detection work circuit, including the battery, the load that is connected with the battery with push away the system switch, still include control chip and the drive circuit of connection between control chip's PWM pin and load, the both ends pin that pushes away the system switch is connected with control chip's SW1 and SW2 pin respectively, the public pin that pushes away the system switch is connected with the negative pole of battery, control chip's power pin is connected with the positive pole of battery, drive circuit includes first resistance, second resistance and MOS pipe, the drain electrode of MOS pipe is connected with the negative pole of load, the source electrode ground connection of MOS pipe and the grid of MOS pipe are connected on control chip's PWM pin and second resistance are connected between the grid and the source electrode of MOS pipe through first resistance. The utility model discloses a structure sets up rationally, has guaranteed to push away system on-off control's validity, improves the life of battery, has also improved the flexibility of control greatly, and the suitability is strong and the practicality is good.

Description

Push switch detection working circuit
Technical Field
The utility model belongs to the technical field of push switch circuit, concretely relates to push switch detection work circuit.
Background
The control switch is the indispensable structure in the electrical product, when a product need use to push system switch control load multigear work, often can use to push system and establish ties on the load is by-pass, and it can satisfy the user demand of general condition, but it has the heavy current through pushing the system switch to it is higher to pushing system switch performance requirement, also can influence the efficiency of product moreover, so suitability and practicality receive the restriction.
Disclosure of Invention
The utility model aims at providing a structure sets up reasonable and suitability strong system switch detection work circuit that pushes away.
Realize the technical scheme of the utility model is a push away system switch detection work circuit, including the battery, with the load that the battery is connected with push away the system switch, still include control chip and the drive circuit who connects between control chip's PWM pin and load, the both ends pin that pushes away the system switch is connected with control chip's SW1 and SW2 pin respectively, the open pin that pushes away the system switch is connected with the negative pole of battery, control chip's power pin is connected with the positive pole of battery.
The drive circuit comprises a first resistor, a second resistor and an MOS (metal oxide semiconductor) tube, wherein the drain electrode of the MOS tube is connected with the negative electrode of a load, the source electrode of the MOS tube is grounded, the grid electrode of the MOS tube is connected to the PWM (pulse-width modulation) pin of the control chip through the first resistor, and the second resistor is connected between the grid electrode and the source electrode of the MOS tube.
The MOS tube is an N MOS tube.
And a power supply pin of the control chip is connected with the anode of the battery through a filter circuit formed by connecting a fourth resistor and a fourth capacitor in series.
The voltage value of the battery is 5V.
The utility model discloses has positive effect: the utility model discloses a structure sets up rationally, and it has not only guaranteed the validity that pushes away system on-off control, and it does not have the heavy current to pass through to push away the system switch in addition, at the in-process of product work, can not consume the consumption of product, thereby is favorable to protecting the life who improves the battery to the battery moreover, has also improved the flexibility of control simultaneously greatly, and the suitability is strong and the practicality is good.
Drawings
In order that the present invention may be more readily and clearly understood, the following detailed description of the present invention is provided in connection with the following specific embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a schematic structural diagram of the present invention.
Detailed Description
(example 1)
Fig. 1 shows a specific embodiment of the present invention, wherein fig. 1 is a schematic structural diagram of the present invention.
Referring to fig. 1, the push switch detection working circuit comprises a battery 1, a load 2 and a push switch 3 which are connected with the battery 1, and further comprises a control chip 4 and a driving circuit 5 which is connected between a PWM pin of the control chip and the load, wherein pins at two ends of the push switch are respectively connected with a SW1 pin and a SW2 pin of the control chip, a public pin of the push switch is connected with a negative electrode of the battery, and a power supply pin of the control chip is connected with a positive electrode of the battery.
The driving circuit comprises a first resistor R1, a second resistor R2 and a MOS transistor Q2, wherein the drain electrode of the MOS transistor is connected with the negative electrode of a load, the source electrode of the MOS transistor is grounded, the grid electrode of the MOS transistor is connected to the PWM pin of the control chip through the first resistor, and the second resistor is connected between the grid electrode and the source electrode of the MOS transistor. In this embodiment, the control chip is a conventional chip in the prior art.
The MOS tube is an N MOS tube.
The power supply pin of the control chip is connected with the anode of the battery through a filter circuit formed by connecting a fourth resistor R4 and a fourth capacitor C4 in series.
The voltage value of the battery is 5V.
The SW1 and SW2 pins of the control chip are respectively connected to the pins of the left and right gears of the push switch, and the common pin of the push switch is connected to GND. The control chip sets the SW1 and SW2 pins to the built-in resistor pull-up level and also to the input detection pin, appearing as a high level. When the push switch is pushed to any side and the product is needed to work, the push switch can conduct the inside of the push switch, so that the pin pushed to one side is pulled to the ground, and the pin is changed into a low level. The control chip judges that the pushing system is pushed to the position by detecting that the pin is at a low level, so that the load is controlled by PWM to realize corresponding load work.
In order to prevent the problems of poor push contact, signal interference and the like, which cause product misoperation, the control chip detects and judges the SW1 and the SW2 pins in each unit time and records the states of the pins. After the pin level changes to the low level for a period of time, it can be determined that the pushing has been pushed to the pin level, so as to perform the corresponding product load operation.
When the push button is in the intermediate state, the push button is not in contact with any side, and the push button is in a product closing state. In order to reduce the energy consumption of the product when the product is not in operation, the control chip is put into a sleep state after a certain time, but the pins SW1 and SW2 are still kept in an input state, and simultaneously the internal resistance is pulled high. When the push switch is pushed to any side, the level of the pins SW1 and SW2 will change, so as to wake up the control chip to work normally, and judge the direction of pushing the push switch, so as to perform the corresponding product work.
In order to protect the service life of the battery of the product, the control chip is provided with over-discharge protection, when the voltage of the battery of the product is reduced to a certain voltage, the load is closed, and meanwhile, the control chip enters a sleep state. In this case, to further reduce the power consumption of the product, the SW1 and SW2 pins are no longer set as internal pull-up resistors, but are set as low-level outputs. Therefore, after the over-discharge, the control chip is not waken to work any more by pushing the push switch. The battery can be charged only by an external power supply, and the control chip is awakened by triggering of the EXP pin.
According to the push switch detection working circuit, the push switch does not pass large current, and the power consumption of a product is not consumed in the working process of the product. Meanwhile, the work of the load is controlled by the control chip, so that the work of various modes can be carried out, and the flexibility is higher.
As shown in the figure, when the MCU is working normally, the MCU will detect the pin level of SW1 and SW2 periodically, and in order to prevent the battery voltage from being too low, the circuit still discharges the battery, when the battery voltage is lower than the set value, the MCU will turn off all the loads, no longer let them work, and at the same time the MCU will enter the lowest consumption sleep state, and at the same time the pin level detection of SW1 and SW2 will be cancelled. The push-on of the push-on switch is variable, and in order that the push-on switch will not affect the circuit loss in which direction after overdischarge, the MCU will set the pin levels of SW1 and SW2 to low, i.e., 0 output. In order to ensure that the circuit can normally recover when the battery is charged by an external power supply, the MCU only has the input function of the EXP pin. When an external power supply enters, the level of the EXP is changed, the MCU can be awakened, otherwise, the MCU is always in a sleep state.
The utility model discloses a structure sets up rationally, and it has not only guaranteed the validity that pushes away system on-off control, and it does not have the heavy current to pass through to push away the system switch in addition, at the in-process of product work, can not consume the consumption of product, thereby is favorable to protecting the life who improves the battery to the battery moreover, has also improved the flexibility of control simultaneously greatly, and the suitability is strong and the practicality is good.
The standard parts used in the present embodiment may be purchased directly from the market, and the non-standard structural components described in the specification and drawings may be obtained by processing without any doubt according to the common general knowledge in the art, and the connection manner of the respective parts is by the conventional means developed in the art, and the machines, parts and equipment are of the conventional type in the art, so that the detailed description thereof is omitted.
It is obvious that the above embodiments of the present invention are only examples for clearly illustrating the present invention, and are not limitations to the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And such obvious changes and modifications which fall within the spirit of the invention are deemed to be covered by the present invention.

Claims (5)

1. The utility model provides a push switch detection work circuit, includes the battery, with load and push switch that the battery is connected which characterized in that: the drive circuit is connected between the PWM pin of the control chip and the load, pins at two ends of the push switch are respectively connected with pins SW1 and SW2 of the control chip, a public pin of the push switch is connected with the cathode of the battery, and a power supply pin of the control chip is connected with the anode of the battery.
2. The push switch detection operating circuit of claim 1, wherein: the drive circuit comprises a first resistor, a second resistor and an MOS (metal oxide semiconductor) tube, wherein the drain electrode of the MOS tube is connected with the negative electrode of a load, the source electrode of the MOS tube is grounded, the grid electrode of the MOS tube is connected to the PWM (pulse-width modulation) pin of the control chip through the first resistor, and the second resistor is connected between the grid electrode and the source electrode of the MOS tube.
3. The push switch detection operating circuit of claim 2, wherein: the MOS tube is an N MOS tube.
4. The push switch detection operating circuit of claim 3, wherein: and a power supply pin of the control chip is connected with the anode of the battery through a filter circuit formed by connecting a fourth resistor and a fourth capacitor in series.
5. The push switch detection operating circuit of claim 4, wherein: the voltage value of the battery is 5V.
CN202020776319.4U 2020-05-12 2020-05-12 Push switch detection working circuit Active CN212063542U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020776319.4U CN212063542U (en) 2020-05-12 2020-05-12 Push switch detection working circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020776319.4U CN212063542U (en) 2020-05-12 2020-05-12 Push switch detection working circuit

Publications (1)

Publication Number Publication Date
CN212063542U true CN212063542U (en) 2020-12-01

Family

ID=73526057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020776319.4U Active CN212063542U (en) 2020-05-12 2020-05-12 Push switch detection working circuit

Country Status (1)

Country Link
CN (1) CN212063542U (en)

Similar Documents

Publication Publication Date Title
US8581552B2 (en) Battery state monitoring circuitry with low power consumption during a stand-by-state of a battery pack
CN101938148B (en) Battery charging circuit and battery power supply equipment
CN206559133U (en) Power supply switch circuit
WO2017020782A1 (en) Battery charging and discharging control circuit and battery charging and discharging system
CN210669590U (en) Lithium battery management application circuit
CN201726170U (en) Power supply with wakeup function
CN212304824U (en) Novel positive charging activation circuit of BMS accuse
WO2021258367A1 (en) Control circuit, battery management system, and electrochemical device
CN212063542U (en) Push switch detection working circuit
CN117293972A (en) Protection circuit for preventing battery equipment from overdischarging
CN109327061B (en) Battery power supply circuit
CN204046218U (en) A kind of energy-saving elevated piezoelectric battery circuit
CN114006433A (en) Battery device
CN113541263A (en) Portable equipment external power supply and battery power supply automatic switching circuit
CN112527133A (en) Touch control pen
CN107546815B (en) Universal charger
CN110829517A (en) Bidirectional charging and discharging power line and bidirectional charging and discharging circuit
CN219477618U (en) Pure hardware control circuit for switching on and switching off output end of battery pack
CN221263396U (en) Multi-key automatic power-on circuit
CN218301225U (en) Power panel card device for online monitoring system
CN220553838U (en) Battery pack power-saving circuit based on BMS
CN221202201U (en) Protection circuit for preventing battery equipment from overdischarging
CN220858083U (en) Low-voltage single-button switch circuit
CN112003364B (en) Standby power module and server power supply
CN214755646U (en) Data protection circuit after power supply is turned off

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant