CN109346341A - It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident - Google Patents

It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident Download PDF

Info

Publication number
CN109346341A
CN109346341A CN201811298572.7A CN201811298572A CN109346341A CN 109346341 A CN109346341 A CN 109346341A CN 201811298572 A CN201811298572 A CN 201811298572A CN 109346341 A CN109346341 A CN 109346341A
Authority
CN
China
Prior art keywords
resistance
switch
comparator
key
circuit
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.)
Pending
Application number
CN201811298572.7A
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.)
NANJING NEW POWER ELECTRIC Co Ltd
Original Assignee
NANJING NEW POWER ELECTRIC 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 NANJING NEW POWER ELECTRIC Co Ltd filed Critical NANJING NEW POWER ELECTRIC Co Ltd
Priority to CN201811298572.7A priority Critical patent/CN109346341A/en
Publication of CN109346341A publication Critical patent/CN109346341A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H1/00Contacts
    • H01H1/0015Means for testing or for inspecting contacts, e.g. wear indicator

Landscapes

  • Keying Circuit Devices (AREA)

Abstract

The present invention relates to switch monitors technical fields, more particularly to one kind avoids switch contact from aoxidizing, getting rusty and adhering to greasy dirt leads to the circuit judged by accident, including key switch internal resistance conversion circuit, reference voltage generating circuit and comparator, the switch internal resistance value of key switch is converted into an input terminal of voltage value input comparator by key switch internal resistance conversion circuit, another input terminal of reference voltage generating circuit connection comparator, the open and close of key switch is judged by comparator, the switch internal resistance value of key switch thinks to close the switch when being less than the threshold values of switch resistance, the switch internal resistance value of key switch thinks that switch disconnects when being greater than the threshold values of switch resistance.Switching signal is carried out processing and is converted into resistance value by the present invention, prevents from switching insensitive caused erroneous judgement due to aoxidizing, get rusty and adhering to for a long time after greasy dirt.

Description

It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident
Technical field
The present invention relates to switch monitors technical fields more particularly to one kind to avoid switch contact from aoxidizing, get rusty and attaching oil Dirt leads to the circuit of erroneous judgement.
Background technique
Switching circuit refers to the circuit with " on " and "off" two states, switching circuit is common be by switch and on Pull-up resistor composition, is illustrated in figure 5 switching circuit, and when the switch is closed, output end key-mcu is low level, when switch disconnects When output end key-mcu be high level Vcc.
Resistance is 0 ohm between contact when perfect switch is closed.But after switch is due to aoxidizing for a long time, getting rusty, adhere to greasy dirt There are switch internal resistances between switch contact, are illustrated in figure 6 switch equivalent circuit, and when the switch is closed, switch internal resistance may be from several Ohm increases to even one kilohm of several hundred ohms, if switch internal resistance RSwitchIt is identical as the resistance value of resistance R0, at this point, key-mcu Voltage beIt can not then judge whether switch is closed.
Switch contact oxidation adheres to greasy dirt, gets rusty mouldy, and usually internal copper core encounters moister, oil smoke environment And cause.Switch aoxidize, get rusty, adhere to greasy dirt after will cause poor contact, so that internal resistance becomes larger between contact, cause to switch ineffective It is quick, to will appear some malfunctions, when the switch is closed, since switch contact resistance becomes larger, lead to subsequent reading and processing Circuit can not correctly judge switching signal, so aoxidizing, adhering to greasy dirt, the mouldy switch that gets rusty cannot continue to use.
Summary of the invention
It avoids switch contact from aoxidizing, get rusty and adhere to the circuit that greasy dirt causes to judge by accident the present invention provides a kind of, will switch Signal carries out processing and is converted into resistance value, prevent due to aoxidize, get rusty and adhere to for a long time after greasy dirt switch it is insensitive caused Erroneous judgement.
In order to achieve the object of the present invention, used technical solution is: one kind avoid switch contact oxidation, get rusty with it is attached Greasy dirt lead to the circuit of erroneous judgement, including key switch internal resistance conversion circuit, reference voltage generating circuit and comparator U1, key The switch internal resistance value of key switch S1 is converted into an input terminal of voltage value input comparator U1 by switch internal resistance conversion circuit, Reference voltage generating circuit connects another input terminal of comparator U1, by comparator U1 judge the closure of key switch S1 with It disconnects, the switch internal resistance value R of key switch S1SwitchLess than switch resistance threshold values when think to close the switch, key switch S1's opens Resistance value R inside the PassSwitchGreater than switch resistance threshold values when think switch disconnect.
As prioritization scheme of the invention, key switch internal resistance conversion circuit includes first resistor R1, and reference voltage generates Circuit includes second resistance R2 and 3rd resistor R3;One end of first resistor R1 connects power supply, the other end of first resistor R1 and One end of key switch S1 is connected with an input terminal of comparator U1, the other end ground connection of key switch S1;Second resistance One end of R2 connects power supply, and the other end of second resistance R2 and one end of 3rd resistor R3 are both connected to another of comparator U1 On input terminal, the other end of 3rd resistor R3 is grounded, at this point, the threshold values of switch resistance are as follows:
Wherein: R1For the resistance value of first resistor R1, R2For the resistance value of second resistance R2, R3For the resistance value of 3rd resistor R3.
As prioritization scheme of the invention, to avoid ripple from causing switch judgement malfunction, reference voltage generating circuit is also Including the 4th resistance R4, one end of the 4th resistance R4 is connected on another input terminal of comparator U1, and the 4th resistance R4's is another The output end of one termination comparator U1, when comparator U1 exports low level, the threshold values of switch resistance are as follows:
Wherein: R4For the resistance value of 3rd resistor R4.
As prioritization scheme of the invention, key switch internal resistance conversion circuit further includes the first filter capacitor C1, the first filter One end of wave capacitor C1 is connected on an input terminal of comparator U1, the other end ground connection of the first filter capacitor C1.
As prioritization scheme of the invention, key switch internal resistance conversion circuit includes the 5th resistance R5 and the 6th resistance R6, The reference voltage generating circuit includes the 8th resistance R8 and the 9th resistance R9;One end of 5th resistance R5 connects key switch One end of S1, the other end ground connection of key switch S1, the other end of the 5th resistance R5 and one end of the 6th resistance R6 are both connected to On another input terminal of comparator U1, the other end of the 6th resistance R6 connects power supply;A termination power of 8th resistance R8, the The other end of eight resistance R8 and one end of the 9th resistance R9 are connected on an input terminal of comparator U1, and the 9th resistance R9's is another One end ground connection, at this point, the threshold values of switch resistance are as follows:
Wherein: R5For the resistance value of the 5th resistance R5, R6For the resistance value of the 6th resistance R6, R8For the resistance value of the 8th resistance R8, R9 For the resistance value of the 9th resistance R9.
As prioritization scheme of the invention, to avoid ripple from causing switch judgement malfunction, key switch internal resistance conversion electricity Including further including the 7th resistance R7, one end of the 7th resistance R7 is connected on another input terminal of comparator U1 on road, the 7th electricity Hinder the output end of another termination comparator U1 of R7.
As prioritization scheme of the invention, key switch internal resistance conversion circuit include further include third filter capacitor C3, the One end of a termination key switch S1 of three filter capacitor C3, the other end ground connection of third filter capacitor C3.
The present invention has the effect of positive: switching signal processing is converted into resistance value and calculated by the present invention, and key is opened The switch internal resistance value of pass thinks to close the switch when being less than the threshold values of switch resistance, and the switch internal resistance value of key switch is greater than switch electricity Think that switch disconnects when the threshold values of resistance, prevents from switching and switch insensitive appearance after greasy dirt due to aoxidizing, getting rusty for a long time, adhering to Erroneous judgement, circuit structure is simple, at low cost.
Detailed description of the invention
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
Fig. 1 is the circuit diagram of the embodiment of the present invention 1;
Fig. 2 is that the embodiment of the present invention 1 increases the circuit diagram after the 4th resistance;
Fig. 3 is the circuit diagram of the embodiment of the present invention 2;
Fig. 4 is that the embodiment of the present invention 2 increases the circuit diagram after the 7th resistance;
Fig. 5 is common switching circuit figure;
Fig. 6 is to aoxidize, get rusty and adhere to the switch equivalent circuit figure after greasy dirt.
Wherein: 1, key switch internal resistance conversion circuit, 2, reference voltage generating circuit.
Specific embodiment
As shown in Figs 1-4, the invention discloses it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident Circuit, including key switch internal resistance conversion circuit 1, reference voltage generating circuit 2 and comparator U1, key switch internal resistance conversion electricity The switch internal resistance value of key switch S1 is converted into an input terminal of voltage value input comparator U1 by road 1, and reference voltage generates Circuit 2 connects another input terminal of comparator U1, judges that the open and close of key switch S1, key are opened by comparator U1 Close the switch internal resistance value R of S1SwitchLess than switch resistance threshold values when think to close the switch, the switch internal resistance value R of key switch S1Switch Greater than switch resistance threshold values when think switch disconnect.
Embodiment 1
As shown in Figure 1, key switch internal resistance conversion circuit 1 includes first resistor R1, the reference voltage generating circuit Including second resistance R2 and 3rd resistor R3;One end of first resistor R1 connects power supply, the other end and key of first resistor R1 One end of switch S1 is connected with an input terminal of comparator U1, the other end ground connection of key switch S1;Second resistance R2's One end connects power supply, and the other end of second resistance R2 and one end of 3rd resistor R3 are both connected to another input of comparator U1 On end, the other end of 3rd resistor R3 is grounded, at this point, the threshold values of switch resistance are as follows:
Wherein: R1For the resistance value of first resistor R1, R2For the resistance value of second resistance R2, R3For the resistance value of 3rd resistor R3.The Two resistance R2 and 3rd resistor R3 divide to obtain another input terminal of reference voltage Vref access comparator U1, key switch S1 With an input terminal of the partial pressure access comparator U1 of first resistor R1.
As key switch S1 disconnection or the switch internal resistance value R of key switch S1SwitchGreater than the threshold values R of switch resistanceValveWhen, The negative terminal voltage of comparator U1 is Vcc, and the anode voltage of comparator U1 is lower than the negative terminal voltage of comparator U1, so, comparator The 1 foot output of U1 is low level;As key switch S1 closure or the switch internal resistance value R of key switch S1SwitchLess than switch resistance Threshold values RValveWhen, the anode voltage of comparator U1 is greater than the negative terminal voltage of comparator U1, and 1 foot of comparator U1 exports high level, The signal of KEY_MCU passes to the judgement that signal processing circuit below carries out level value.
As shown in Fig. 2, reference voltage generating circuit further includes the 4th resistance R4, one end of the 4th resistance R4, which is connected to, compares On another input terminal of device U1, the output end of another termination comparator U1 of the 4th resistance R4, when comparator U1 exports low electricity Usually, the threshold values of switch resistance are as follows:
Wherein: R4For the resistance value of 3rd resistor R4.
When comparator U1 exports high level, the threshold values of switch resistance are as follows:
Key switch internal resistance conversion circuit further includes the first filter capacitor C1, and one end of the first filter capacitor C1 is connected to ratio On an input terminal compared with device U1, the other end of the first filter capacitor C1 is grounded.
The switch internal resistance value of key switch S1 is converted into voltage value by the key switch internal resistance conversion circuit of the present embodiment 1, The switch internal resistance value R of key switch S1SwitchLess than switch resistance threshold values when think to close the switch, in the switch of key switch S1 Resistance value RSwitchGreater than switch resistance threshold values when think switch disconnect, can be followed by touching to avoid due to aoxidizing, getting rusty, adhering to greasy dirt Resistance, which becomes larger, leads to the erroneous judgement of switch.
Embodiment 2
As shown in figure 3, key switch internal resistance conversion circuit includes the 5th resistance R5 and the 6th resistance R6, the benchmark electricity Pressing generation circuit includes the 8th resistance R8 and the 9th resistance R9;One end of one end connection key switch S1 of 5th resistance R5, is pressed The other end of key switch S1 is grounded, and the other end of the 5th resistance R5 and one end of the 6th resistance R6 are both connected to the another of comparator U1 On one input terminal, the other end of the 6th resistance R6 connects power supply;A termination power of 8th resistance R8, the 8th resistance R8's is another One end and one end of the 9th resistance R9 are connected on an input terminal of comparator U1, the other end ground connection of the 9th resistance R9, this When, the threshold values of switch resistance are as follows:
Wherein: R5For the resistance value of the 5th resistance R5, R6For the resistance value of the 6th resistance R6, R8For the resistance value of the 8th resistance R8, R9 For the resistance value of the 9th resistance R9.
As shown in figure 4, it further includes the 7th resistance R7 that key switch internal resistance conversion circuit, which includes, one end of the 7th resistance R7 connects It connects on another input terminal of comparator U1, the output end of another termination comparator U1 of the 7th resistance R7.In key switch For resistance conversion circuit including further including third filter capacitor C3, the one of third filter capacitor C3 terminates one end of key switch S1, the The other end of three filter capacitor C3 is grounded.
As key switch S1 disconnection or the switch internal resistance value R of key switch S1SwitchGreater than the threshold values R of switch resistanceValveWhen, The anode voltage of comparator U1 is Vcc, and the negative terminal voltage of comparator U1 is lower than the anode voltage of comparator U1, so, comparator The 1 foot output of U1 is high level;As key switch S1 closure or the switch internal resistance value R of key switch S1SwitchLess than switch resistance Threshold values RValveWhen, the anode voltage of comparator U1 is less than the negative terminal voltage of comparator U1, and 1 foot of comparator U1 exports low level, The signal of KEY_MCU passes to the judgement that signal processing circuit below carries out level value.
Wherein, comparator U1 selected by embodiment 1 and embodiment 2 is push-pull fashion output, and output end does not need to pull up Resistance.Capacitor in 2 circuit diagram of embodiment 1 and embodiment is filter capacitor.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects It describes in detail bright, it should be understood that the above is only a specific embodiment of the present invention, is not intended to restrict the invention, it is all Within the spirit and principles in the present invention, any modification, equivalent substitution, improvement and etc. done should be included in guarantor of the invention Within the scope of shield.

Claims (7)

1. a kind of avoid switch contact from aoxidizing, get rusty and adhere to the circuit that greasy dirt causes to judge by accident, it is characterised in that: opened including key Hinder conversion circuit (1), reference voltage generating circuit (2) and comparator U1 inside the Pass, key switch internal resistance conversion circuit (1) is by key The switch internal resistance value of switch S1 is converted into an input terminal of voltage value input comparator U1, and reference voltage generating circuit (2) is even Another input terminal for meeting comparator U1 judges the open and close of key switch S1 by comparator U1, key switch S1's Switch internal resistance value RSwitchLess than switch resistance threshold values when think to close the switch, the switch internal resistance value R of key switch S1SwitchGreater than opening Think that switch disconnects when the threshold values of powered-down resistance.
2. it is according to claim 1 it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident circuit, Be characterized in that: the key switch internal resistance conversion circuit (1) includes first resistor R1, the reference voltage generating circuit packet Include second resistance R2 and 3rd resistor R3;One end of first resistor R1 connects power supply, and the other end and key of first resistor R1 is opened The one end for closing S1 is connected with an input terminal of comparator U1, the other end ground connection of key switch S1;The one of second resistance R2 End connection power supply, the other end of second resistance R2 and one end of 3rd resistor R3 are both connected to another input terminal of comparator U1 On, the other end of 3rd resistor R3 is grounded, at this point, the threshold values of switch resistance are as follows:
Wherein: R1For the resistance value of first resistor R1, R2For the resistance value of second resistance R2, R3For the resistance value of 3rd resistor R3.
3. it is according to claim 2 it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident circuit, Be characterized in that: the reference voltage generating circuit further includes the 4th resistance R4, and one end of the 4th resistance R4 is connected to comparator On another input terminal of U1, the output end of another termination comparator U1 of the 4th resistance R4, when comparator U1 exports low level When, the threshold values of switch resistance are as follows:
Wherein: R4For the resistance value of 3rd resistor R4.
4. it is according to claim 2 or 3 it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident electricity Road, it is characterised in that: the key switch internal resistance conversion circuit further includes the first filter capacitor C1, the first filter capacitor C1's One end is connected on an input terminal of comparator U1, the other end ground connection of the first filter capacitor C1.
5. it is according to claim 1 it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident circuit, Be characterized in that: the key switch internal resistance conversion circuit includes the 5th resistance R5 and the 6th resistance R6, the reference voltage Generation circuit includes the 8th resistance R8 and the 9th resistance R9;One end of one end connection key switch S1 of 5th resistance R5, key The other end of switch S1 is grounded, and the other end of the 5th resistance R5 and one end of the 6th resistance R6 are both connected to the another of comparator U1 On a input terminal, the other end of the 6th resistance R6 connects power supply;A termination power of 8th resistance R8, the 8th resistance R8's is another End and one end of the 9th resistance R9 are connected on an input terminal of comparator U1, the other end ground connection of the 9th resistance R9, at this point, The threshold values of switch resistance are as follows:
Wherein: R5For the resistance value of the 5th resistance R5, R6For the resistance value of the 6th resistance R6, R8For the resistance value of the 8th resistance R8, R9It is The resistance value of nine resistance R9.
6. it is according to claim 5 it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident circuit, Be characterized in that: the key switch internal resistance conversion circuit is including further including the 7th resistance R7, one end connection of the 7th resistance R7 On another input terminal of comparator U1, the output end of another termination comparator U1 of the 7th resistance R7.
7. it is according to claim 5 or 6 it is a kind of avoid switch contact oxidation, get rusty and adhere to greasy dirt cause judge by accident electricity Road, it is characterised in that: the key switch internal resistance conversion circuit is including further including third filter capacitor C3, third filter capacitor One end of a termination key switch S1 of C3, the other end ground connection of third filter capacitor C3.
CN201811298572.7A 2018-11-02 2018-11-02 It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident Pending CN109346341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811298572.7A CN109346341A (en) 2018-11-02 2018-11-02 It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811298572.7A CN109346341A (en) 2018-11-02 2018-11-02 It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident

Publications (1)

Publication Number Publication Date
CN109346341A true CN109346341A (en) 2019-02-15

Family

ID=65313420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811298572.7A Pending CN109346341A (en) 2018-11-02 2018-11-02 It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident

Country Status (1)

Country Link
CN (1) CN109346341A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654107A (en) * 2020-06-11 2020-09-11 国家电网有限公司华东分部 An Analysis System of Equipment Knife Gate Status Based on Image Recognition
CN120446732A (en) * 2025-04-19 2025-08-08 成都高稀斯科技有限公司 Electrical switch unit, electrical switch unit life detection system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10506750A (en) * 1994-12-14 1998-06-30 ユナイテッド テクノロジーズ コーポレイション True hysteresis window comparator
CN204836131U (en) * 2015-08-11 2015-12-02 北京经纬恒润科技有限公司 Effective switch input signal acquisition circuit of high level
CN204836123U (en) * 2015-06-29 2015-12-02 惠州市凯越电子有限公司 Key switch detection circuitry

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10506750A (en) * 1994-12-14 1998-06-30 ユナイテッド テクノロジーズ コーポレイション True hysteresis window comparator
CN204836123U (en) * 2015-06-29 2015-12-02 惠州市凯越电子有限公司 Key switch detection circuitry
CN204836131U (en) * 2015-08-11 2015-12-02 北京经纬恒润科技有限公司 Effective switch input signal acquisition circuit of high level

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654107A (en) * 2020-06-11 2020-09-11 国家电网有限公司华东分部 An Analysis System of Equipment Knife Gate Status Based on Image Recognition
CN120446732A (en) * 2025-04-19 2025-08-08 成都高稀斯科技有限公司 Electrical switch unit, electrical switch unit life detection system and method

Similar Documents

Publication Publication Date Title
CN208174241U (en) A kind of leakage protection circuit
CN207965562U (en) CAN bus terminal resistance configuration circuit
CN209086312U (en) A kind of CP detection circuit applied to alternating current charging stake
CN109787305A (en) Charging unit and charging system
CN106130537B (en) A kind of 1OO2D functional safety digital quantity output circuit
CN109346341A (en) It is a kind of that switch contact is avoided to aoxidize, get rusty and adhere to the circuit that greasy dirt causes to judge by accident
CN104236594B (en) Safety edge state detection circuit
CN101639669A (en) Power switching circuit
CN104467811A (en) Anti-interference on-off input circuit
CN209690463U (en) Power battery high voltage relay control circuit
CN208158100U (en) A kind of output overvoltage protection circuit and the power supply comprising the circuit
CN101557099B (en) Module power supply short-circuit protective circuit
CN208571589U (en) Switching Power Supply is lightly loaded short-circuit protection circuit
CN103401510B (en) A kind of power amplifier of band warm connection function
CN206948205U (en) A kind of network synthesis multiplexing equipment
CN207021661U (en) DC voltage supply circuit
CN212781164U (en) Circuit and system capable of simultaneously detecting grounding condition and reverse connection of zero line and live line
CN221926545U (en) Switch state detection circuit, battery management system and battery system
CN209216059U (en) Trigger control circuit pen starting or closed
CN207530796U (en) A kind of automatic reset circuit for controller
CN201781287U (en) Signal collector of self-adapting switch
CN222365065U (en) Charging pile neutral line live line relay detection circuit and charging pile
CN206517431U (en) A kind of RS485 line selectors circuit
CN206136310U (en) A equipment for discerning house model
CN204128571U (en) A kind of safe touch side state detection circuit

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215