CN111796179A - Signal detection circuit and method of microswitch - Google Patents

Signal detection circuit and method of microswitch Download PDF

Info

Publication number
CN111796179A
CN111796179A CN201910277140.6A CN201910277140A CN111796179A CN 111796179 A CN111796179 A CN 111796179A CN 201910277140 A CN201910277140 A CN 201910277140A CN 111796179 A CN111796179 A CN 111796179A
Authority
CN
China
Prior art keywords
terminal
detection circuit
micro
signal
signal detection
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.)
Granted
Application number
CN201910277140.6A
Other languages
Chinese (zh)
Other versions
CN111796179B (en
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.)
Dexin Corp
Dexin Electronic Ltd
Original Assignee
Dexin Corp
Dexin Electronic 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 Dexin Corp, Dexin Electronic Ltd filed Critical Dexin Corp
Priority to CN201910277140.6A priority Critical patent/CN111796179B/en
Publication of CN111796179A publication Critical patent/CN111796179A/en
Application granted granted Critical
Publication of CN111796179B publication Critical patent/CN111796179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Rotary Switch, Piano Key Switch, And Lever Switch (AREA)
  • Electronic Switches (AREA)
  • Keying Circuit Devices (AREA)

Abstract

The invention discloses a signal detection circuit and a method of a microswitch. The two ends of the first end are respectively connected with a normally closed terminal of the microswitch and the resistor; the two ends of the second end are respectively connected with a normally open terminal of the microswitch and the ground; the third end is connected with a common point terminal of the micro switch; the two ends of the microcontroller are respectively connected with the first end and the third end. When the elastic sheet of the micro switch is released, the common point terminal is connected with the normally closed terminal, and when the elastic sheet of the micro switch is pressed down, the common point switch is connected with the normally open terminal.

Description

Signal detection circuit and method of microswitch
Technical Field
The present invention relates to a signal detection circuit and method for a microswitch, and more particularly, to a signal detection circuit and method for a microswitch, which can determine the operation of the microswitch by two signals.
Background
The micro switch has a micro contact interval and a quick action mechanism, works in equipment or circuits which need to be frequently switched, and is widely applied to electronic equipment (such as a mouse and the like) or household appliances (such as a refrigerator and the like). The volume of the micro switch is small, but the micro switch has irreplaceable functions.
Fig. 1 is a schematic diagram of a conventional microswitch. As shown in fig. 1, the conventional micro switch 10 includes a housing 11, a spring 12, a Common terminal (COM) 13, a normally closed terminal (NC) 14, and a normally Open terminal (NO) 15. Fig. 2 is a schematic diagram of a conventional signal detection circuit of a micro switch, and as shown in fig. 2, the conventional signal detection circuit 20 includes three terminals 201 connected to a common terminal (COM), a normally open terminal (NO), and a normally closed terminal (NC) of the micro switch, respectively. When the common point terminal 13 is conducted with the normally open terminal 15, the signal detection circuit 20 determines that the elastic sheet 12 of the micro switch 10 is pressed down, and when the common point terminal 13 is switched to be conducted with the normally closed terminal 14, the signal detection circuit 20 determines that the elastic sheet 12 of the micro switch is released.
However, when the micro switch 10 is used for a period of time or the switching time of the micro switch 10 needs to be fast, the conventional circuit is designed to determine whether the spring plate is pressed or released, which is prone to cause erroneous determination.
Therefore, how to improve the occurrence of misjudgment through the improvement of circuit design to overcome the above-mentioned defects has become one of the important issues to be solved by the above-mentioned industry.
Disclosure of Invention
The present invention provides a signal detection circuit and method for a micro switch, which is directed to overcome the shortcomings in the prior art, and improves the situation that the conventional signal detection circuit and method are prone to misjudgment.
In order to solve the above technical problems, one of the technical solutions of the present invention is to provide a signal detection circuit of a micro switch, which includes a first terminal, a second terminal, a third terminal, and a microcontroller. The two ends of the first end are respectively connected with a normally closed terminal of the microswitch and the resistor; the two ends of the second end are respectively connected with a normally open terminal of the microswitch and the ground; the third end is connected with a common point terminal of the micro switch; the two ends of the microcontroller are respectively connected with the first end and the third end. When the elastic sheet of the micro switch is released, the common point terminal is connected with the normally closed terminal, and when the elastic sheet of the micro switch is pressed down, the common point switch is connected with the normally open terminal.
Furthermore, when the common terminal is connected to the normally closed terminal, the microcontroller measures high-potential signals at the first end and the third end respectively.
Furthermore, when the common terminal is connected with the normally open terminal, the microcontroller measures high potential signals at the first end and the third end respectively.
Furthermore, when the microcontroller measures a high potential signal and a low potential signal at the first end and the third end respectively, the microcontroller determines whether the elastic piece of the micro switch is not actuated or is in malfunction.
Furthermore, when the microcontroller measures a low potential signal and a high potential signal at the first end and the third end respectively, the microcontroller determines whether the elastic piece of the micro switch is not actuated or is in malfunction.
In order to solve the above technical problem, another technical solution of the present invention is to provide a method for detecting a signal of a micro switch, including: connecting a first end of the signal detection circuit with a normally closed terminal of the micro switch, connecting a second end of the signal detection circuit with a normally open terminal of the micro switch, and connecting a third end of the signal detection circuit with a common point terminal of the micro switch; when the common-point terminal of the microswitch is connected with the normally closed terminal, the microcontroller of the signal detection circuit respectively measures high-potential signals at the first end and the second end of the signal detection circuit; when the common-point terminal of the micro switch is connected with the normally open terminal, the microcontroller respectively measures low potential signals at the first end and the second end of the signal detection circuit; and when the microcontroller respectively measures a high potential signal and a low potential signal or a low potential signal and a high potential signal at the first end and the second end of the signal detection circuit, the microcontroller judges that the elastic sheet of the microswitch does not have any action.
Furthermore, when the microcontroller of the signal detection circuit respectively measures high-potential signals at the first end and the third end of the signal detection circuit, an elastic sheet of the microswitch is in a release state.
Furthermore, when the microcontroller of the signal detection circuit respectively measures low potential signals at the first end and the third end of the signal detection circuit, an elastic sheet of the micro switch is in a pressed-down state.
Furthermore, when the microcontroller respectively measures a high potential signal and a low potential signal or respectively measures a low potential signal and a high potential signal at the first end and the third end of the signal detection circuit, the microcontroller judges that the elastic sheet of the microswitch is in false operation.
Compared with the prior art that whether the elastic sheet of the microswitch is pressed down or released is judged by only one signal, the method and the device can judge and confirm the action of the elastic sheet of the microswitch more accurately and more quickly through two signals.
For a better understanding of the features and technical content of the present invention, reference should be made to the following detailed description of the invention and accompanying drawings, which are provided for purposes of illustration and description only and are not intended to limit the invention.
Drawings
Fig. 1 is a schematic diagram of a conventional microswitch.
Fig. 2 is a schematic diagram of a signal detection circuit of a conventional microswitch.
Fig. 3A is a schematic circuit diagram of the microswitch according to the embodiment of the invention when the elastic sheet is released.
Fig. 3B is a schematic circuit diagram of the microswitch according to the embodiment of the invention when the elastic sheet is pressed down.
Fig. 4 is a flow chart of the signal detection method of the microswitch of the invention.
Detailed Description
The following is a description of the embodiments of the present disclosure relating to "signal detection circuit and method for microswitch" by specific embodiments, and those skilled in the art can understand the advantages and effects of the present disclosure from the disclosure of the present disclosure. The invention is capable of other and different embodiments and its several details are capable of modification and various other changes, which can be made in various details within the specification and without departing from the spirit and scope of the invention. The drawings of the present invention are for illustrative purposes only and are not intended to be drawn to scale. The following embodiments will further explain the related art of the present invention in detail, but the disclosure is not intended to limit the scope of the present invention.
It will be understood that, although the terms "first," "second," "third," etc. may be used herein to describe various components or signals, these components or signals should not be limited by these terms. These terms are used primarily to distinguish one element from another element or from one signal to another signal. In addition, the term "or" as used herein should be taken to include any one or combination of more of the associated listed items as the case may be.
[ embodiment of Signal detection Circuit ]
Fig. 3A is a schematic circuit diagram of the microswitch according to the embodiment of the invention when the spring plate is released, and fig. 3B is a schematic circuit diagram of the microswitch according to the embodiment of the invention when the spring plate is pressed down.
Referring to fig. 3A and 3B, a signal detection circuit 30 of a micro switch according to a preferred embodiment of the present invention includes a first terminal 301, a second terminal 302, a third terminal 303, and a micro controller 304. The two ends of the first end 301 are respectively connected to a normally closed terminal (NC) of the micro switch and a resistor 305, and the resistance value of the resistor 305 is preferably 1M ohm. The second end 302 has two ends respectively connected to the normally open terminal (NO) of the micro switch and the ground, the third end 303 is connected to the common point terminal (COM) of the micro switch, and the microcontroller 304 has two ends respectively connected to the first end 301 and the third end 303.
As shown in fig. 3A, when the spring plate of the micro switch is released, the common point terminal (COM) and the normally closed terminal (NC) are connected, the micro controller 304 respectively measures a high-potential signal (signal is 11) at the first end 301 and the third end 303 of the signal detection circuit 30 of the micro switch, and when the spring plate of the micro switch is pressed down (press), the common point terminal (COM) and the normally open terminal (NO) are connected, the micro controller 304 respectively measures a low-potential signal or NO signal (signal is 00) at the first end 301 and the third end 303 of the signal detection circuit 30 of the micro switch, and when the micro controller 304 respectively measures a high-potential signal and a low-potential signal (signal is 10) at the first end 301 and the third end 303 of the signal detection circuit 30 of the micro switch, or when the micro controller 304 respectively measures a low-potential signal and a high-potential signal (signal is 01) at the first end 301 and the third end 303 of the signal detection circuit 30 of the micro switch, the microcontroller 304 determines that the elastic piece of the micro switch is not actuated or is in malfunction, that is, the elastic piece of the micro switch is not released or pressed down, or the signal detected by the microcontroller is an error signal. In other words, if the microcontroller 304 measures a high-potential signal and a low-potential signal or a low-potential signal and a high-potential signal at the first end 301 and the third end 303 of the signal detection circuit 30 of the micro switch, the microcontroller 304 determines that the micro switch is not released or the spring plate is pressed down or the micro switch malfunctions at the moment, and does not determine that the spring plate of the micro switch has any action.
Compared with the prior art that whether the elastic sheet of the microswitch is pressed down or released is judged by only one signal, the invention can judge and confirm the action of the elastic sheet of the microswitch more accurately and more quickly by two signals.
Therefore, the signal detection circuit 30 of the micro switch of the present invention can make the micro switch applied to an electronic product (e.g. a computer mouse) requiring a fast response, and can avoid the occurrence of a situation that the electronic product has an action misjudgment due to poor contact between the elastic sheet and the contact point caused by the loss of the electrical apparatus of the micro switch due to long use.
[ examples of Signal detection methods ]
Fig. 4 is a flow chart of the signal detection method of the microswitch of the invention. As shown in fig. 4, in step S401, the first end 301 of the signal detection circuit 30 is connected to the normally closed terminal (NC) of the micro switch, the second end 302 of the signal detection circuit 30 is connected to the normally open terminal (NO) of the micro switch, and the third end 303 of the signal detection circuit is connected to the common terminal (COM) of the micro switch. In step S402, when the elastic piece of the micro switch is released, the common point terminal (COM) is connected to the normally closed terminal (NC), and the micro controller 304 measures signals with high potentials at the first end 301 and the third end 303 of the signal detection circuit, respectively. When the elastic piece of the micro switch is released, the common point terminal (COM) of the micro switch is conducted with the normally closed terminal (NC), so that the first end 301 and the third end 303 of the signal detection circuit 30 measure a high-potential signal, and the signal detection circuit 30 knows that the elastic piece of the micro switch is released at the moment.
In step S403, when the elastic piece of the micro switch is pressed down, the common terminal (COM) of the micro switch is connected to the normally open terminal (NO), and the micro controller 304 measures low-level signals at the first end 301 and the third end 303 of the signal detection circuit 30, respectively. When the elastic piece of the micro switch is pressed down, the common point terminal (COM) of the micro switch is conducted with the normally open terminal (NO), so the first end 301 and the third end 303 of the signal detection circuit 30 measure a low-potential signal, and the signal detection circuit 30 knows that the elastic piece of the micro switch is in a release state at the moment. In step S404, when the microcontroller 304 measures the high-potential and low-potential signals or the low-potential and high-potential signals at the first end 301 and the third end 303 of the signal detection circuit 30, the microcontroller 304 determines that the elastic piece of the micro switch does not have any action or is in a malfunction state at this time.
[ advantageous effects of the embodiments ]
Compared with the prior art that whether the elastic sheet of the microswitch is pressed down or released is judged by only one signal, the method and the device can judge and confirm the action of the elastic sheet of the microswitch more accurately and more quickly through two signals.
The disclosure above is only a preferred and practical embodiment of the present invention, and is not intended to limit the scope of the claims, so that all technical equivalents that can be made by using the contents of the specification and the drawings are included in the claims.

Claims (9)

1. A signal detection circuit for a microswitch, comprising:
the two ends of the first end are respectively connected with a normally closed terminal and a resistor of the microswitch;
the two ends of the second end are respectively connected with a normally open terminal of the microswitch and the ground;
a third terminal connected to a common terminal of the micro switch; and
the two ends of the microcontroller are respectively connected with the first end and the third end;
when one elastic sheet of the micro switch is released, the common point terminal is connected with the normally closed terminal, and when the elastic sheet of the micro switch is pressed down, the common point switch is connected with the normally open terminal.
2. The micro-switch signal detection circuit of claim 1, wherein when the common terminal is connected to the normally closed terminal, the micro-controller measures a high-potential signal at the first end and the third end, respectively.
3. The micro-switch signal detection circuit of claim 1, wherein when the common terminal is connected to the normally open terminal, the micro-controller measures a high voltage signal at the first terminal and the third terminal, respectively.
4. The micro-switch signal detection circuit according to claim 1, wherein when the micro-controller measures a high potential signal and a low potential signal at the first end and the third end, respectively, the micro-controller determines whether the spring of the micro-switch is not actuated or is malfunctioning.
5. The micro-switch signal detection circuit according to claim 1, wherein when the micro-controller measures a low potential signal and a high potential signal at the first end and the third end, respectively, the micro-controller determines whether the elastic piece of the micro-switch is not actuated or is malfunctioning.
6. A method for detecting a signal of a microswitch, comprising:
connecting a first end of a signal detection circuit with a normally closed terminal of the micro switch, connecting a second end with a normally open terminal of the micro switch, and connecting a third end with a common point terminal of the micro switch;
when a common point terminal of the microswitch is connected with a normally closed terminal, a microcontroller of the signal detection circuit respectively measures high potential signals at the first end and the third end of the signal detection circuit;
when the common point terminal of the micro switch is connected with a normally open terminal, the microcontroller respectively measures low potential signals at the first end and the third end of the signal detection circuit; and
when the microcontroller respectively measures the high potential signal and the low potential signal or respectively measures the low potential signal and the high potential signal at the first end and the third end of the signal detection circuit, the microcontroller judges that the elastic sheet of the microswitch does not have any action.
7. The method as claimed in claim 6, wherein when the microcontroller of the signal detection circuit measures the high-voltage signal at the first end and the third end of the signal detection circuit, a spring plate of the micro switch is released.
8. The method as claimed in claim 6, wherein when the microcontroller of the signal detection circuit measures the low voltage signal at the first end and the third end of the signal detection circuit, a spring of the micro switch is in a depressed state.
9. The method as claimed in claim 6, wherein the microcontroller determines the elastic piece of the micro switch to be a malfunction when the microcontroller measures the high potential signal and the low potential signal or measures the low potential signal and the high potential signal respectively at the first end and the third end of the signal detection circuit.
CN201910277140.6A 2019-04-08 2019-04-08 Signal detection circuit and method of micro switch Active CN111796179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910277140.6A CN111796179B (en) 2019-04-08 2019-04-08 Signal detection circuit and method of micro switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910277140.6A CN111796179B (en) 2019-04-08 2019-04-08 Signal detection circuit and method of micro switch

Publications (2)

Publication Number Publication Date
CN111796179A true CN111796179A (en) 2020-10-20
CN111796179B CN111796179B (en) 2023-05-30

Family

ID=72805057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910277140.6A Active CN111796179B (en) 2019-04-08 2019-04-08 Signal detection circuit and method of micro switch

Country Status (1)

Country Link
CN (1) CN111796179B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5117189A (en) * 1990-02-21 1992-05-26 Eaton Corporation Automatic testing apparatus for electrical switches
JP2007273389A (en) * 2006-03-31 2007-10-18 Energy Support Corp Switch
CN105372584A (en) * 2015-10-28 2016-03-02 广东小天才科技有限公司 Microswitch testing method, device and system
CN105425144A (en) * 2015-11-11 2016-03-23 浙江中控自动化仪表有限公司 Relay fault detection circuit and fault detection method thereof
CN205176218U (en) * 2015-10-28 2016-04-20 广东小天才科技有限公司 Micro -gap switch testing arrangement
TW201616290A (en) * 2014-10-29 2016-05-01 原相科技股份有限公司 Amending circuit capable of switching mouse into different detecting modes
CN205910312U (en) * 2016-07-08 2017-01-25 厦门市新峰工贸有限公司 Break -make of micro -gap switch subassembly detects frock
CN106571261A (en) * 2016-11-14 2017-04-19 许继电气股份有限公司 Three-position operating mechanism work state monitoring method
TW201807545A (en) * 2016-08-15 2018-03-01 明基電通股份有限公司 Input device and method capable of avoiding error action of switch
CN207082463U (en) * 2017-08-24 2018-03-09 惠州市弘宝电器有限公司 A kind of microswitch
CN109444732A (en) * 2018-11-21 2019-03-08 格力电器(武汉)有限公司 A kind of micro-switch testing device and method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5117189A (en) * 1990-02-21 1992-05-26 Eaton Corporation Automatic testing apparatus for electrical switches
JP2007273389A (en) * 2006-03-31 2007-10-18 Energy Support Corp Switch
TW201616290A (en) * 2014-10-29 2016-05-01 原相科技股份有限公司 Amending circuit capable of switching mouse into different detecting modes
CN105372584A (en) * 2015-10-28 2016-03-02 广东小天才科技有限公司 Microswitch testing method, device and system
CN205176218U (en) * 2015-10-28 2016-04-20 广东小天才科技有限公司 Micro -gap switch testing arrangement
CN105425144A (en) * 2015-11-11 2016-03-23 浙江中控自动化仪表有限公司 Relay fault detection circuit and fault detection method thereof
CN205910312U (en) * 2016-07-08 2017-01-25 厦门市新峰工贸有限公司 Break -make of micro -gap switch subassembly detects frock
TW201807545A (en) * 2016-08-15 2018-03-01 明基電通股份有限公司 Input device and method capable of avoiding error action of switch
CN106571261A (en) * 2016-11-14 2017-04-19 许继电气股份有限公司 Three-position operating mechanism work state monitoring method
CN207082463U (en) * 2017-08-24 2018-03-09 惠州市弘宝电器有限公司 A kind of microswitch
CN109444732A (en) * 2018-11-21 2019-03-08 格力电器(武汉)有限公司 A kind of micro-switch testing device and method

Also Published As

Publication number Publication date
CN111796179B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
JP3328572B2 (en) Switch status detector
CN107771311B (en) Detecting input pressure on a stylus
RU2014117180A (en) DIGITAL DETECTION OF THE SAMPLE IN ANALYTE METER
CN103003180B (en) switch detection system
US9857420B2 (en) Method for determining a condition of pin connection of the integrated circuit and integrated circuit thereof
CN103491261B (en) SIM cuts card error detector element, mobile terminal and detection method
CN111796179A (en) Signal detection circuit and method of microswitch
TWI685165B (en) Signal detecting circuit for micro switch and method thereof
CN203261308U (en) Multiple contact switch
CN209728041U (en) Narrow confusion region acquisition device suitable for onboard system
CN108801321A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN103149447A (en) Detecting method of micro-capacitance of human body
CN207425685U (en) A kind of thin film switch of manual dexterity
CN110069171A (en) Capacitive touch sensor and method for operation of capacitor touch sensor
CN214041640U (en) Detection circuit and detection device
US9443667B2 (en) Touch-sensitive push-button and electronic device using the same
CN110426582B (en) Line detection system
JP2008059912A (en) Switching device with touch detection function
KR20060038378A (en) Self-calibrating dielectric property-based switch
CN213600794U (en) Rehabilitation equipment and state detection device thereof
US11264986B1 (en) Capacitive touch sensing with high safety integrity
CN202383602U (en) Touch-tone input device
US10983642B2 (en) Using driven shield and touch elements lock algorithm for achieving liquid tolerant capacitive touch solution
CN108100303B (en) Insurance detection circuit
CN211317368U (en) Sensor detection circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant