CN112803931A - Three-state switching value identification system - Google Patents

Three-state switching value identification system Download PDF

Info

Publication number
CN112803931A
CN112803931A CN202011595985.9A CN202011595985A CN112803931A CN 112803931 A CN112803931 A CN 112803931A CN 202011595985 A CN202011595985 A CN 202011595985A CN 112803931 A CN112803931 A CN 112803931A
Authority
CN
China
Prior art keywords
resistor
state
switching value
transistor
level
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
CN202011595985.9A
Other languages
Chinese (zh)
Other versions
CN112803931B (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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN202011595985.9A priority Critical patent/CN112803931B/en
Publication of CN112803931A publication Critical patent/CN112803931A/en
Application granted granted Critical
Publication of CN112803931B publication Critical patent/CN112803931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/06Modifications for ensuring a fully conducting state
    • H03K17/063Modifications for ensuring a fully conducting state in field-effect transistor switches

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention discloses a three-state switching value identification system, belongs to the technical field of automobile instruments, and aims to solve the problem that a sampling circuit of a combination instrument in the prior art is single in signal acquisition. The transistor comprises resistors R1-R7, a triode KT1, a field effect transistor KT2 and a diode RD 1; the connection end of the resistor R6 and the resistor R7 is used as a mi input end; the other end of the resistor R1 is used as an mo output end; the connection end of the resistor R5 and the resistor R6 is used as a switching value identification output end; and identifying the on-light quantity identification state of the switching quantity identification output end according to different logics of the mi input end and the mo output end. The invention is used for sampling the automobile instrument.

Description

Three-state switching value identification system
Technical Field
The invention relates to a three-state switching value identification system, and belongs to the technical field of automobile instruments.
Background
With the development of the whole automobile industry, the functions of the automobile body become more and more abundant, and signals entering the instrument are more diversified. The traditional instrument is relatively fixed and single in signal access, but the existing host factory is more prone to one opening and multiple in use, and can be directly switched to a new function and a new state without changing the original hard wire layout of a vehicle body.
Among the prior art, the combination meter sampling circuit is more fixed single, in case the system board is accomplished, can only be to the high-low level do single judgement, is difficult for changing more after the loading, to different motorcycle types, different collections, need match different circuits, in case the demand is more and complicated, just must redesign, get into the design and development process of new round, greatly increased design cost, so the urgent need a new collection mode, and the efficiency is promoted, improves the design flexibility.
Disclosure of Invention
The invention aims to solve the problem that a sampling circuit of a combination instrument in the prior art is single in signal acquisition, and provides a three-state switching value identification system.
The invention discloses a three-state switching value identification system which comprises resistors R1-R7, a triode KT1, a field-effect tube KT2 and a diode RD1, wherein the resistor R1-R7 is connected with the triode KT 3526;
one end of the resistor R7 is connected with one end of the resistor R6, and the other end of the resistor R7 is connected with GND;
the connection end of the resistor R6 and the resistor R7 is used as a mi input end;
the other end of the resistor R6 is connected with one end of the resistor R5, the other end of the resistor R5 is connected with the cathode of the diode RD1, the anode of the diode RD1 is connected with the drain of the effect transistor KT2, the source of the field effect transistor KT2 is connected with one end of the resistor R4, the source of the field effect transistor KT2 is simultaneously connected with VCC, the grid of the field effect transistor KT2 is simultaneously connected with the other end of the resistor R4 and one end of the resistor R3, the other end of the resistor R3 is connected with the collector of the transistor KT1, the emitter of the transistor KT1 and one end of the resistor R2 are simultaneously connected with GND, and the base of the transistor KT1 is;
the other end of the resistor R1 is used as an mo output end;
the connection end of the resistor R5 and the resistor R6 is used as a switching value identification output end;
and identifying the on-light quantity identification state of the switching quantity identification output end according to different logics of the mi input end and the mo output end.
Preferably, the open light amount recognition state includes: a floating state, a high state, and a low state.
Preferably, the identifying the on-light amount identification state of the switching amount identification output end according to different logics of the mi input end and the mo output end specifically includes:
in a period range, when the mo output level is 11 and the mi input level is 10, the on-light quantity recognition state is a suspension state;
in a period range, when the mo output level is 10 and the mi input level is 11, the on-light amount identification state is a high level state;
in one cycle, when the mo output level is 10 and the mi input level is 00, the on-light amount discrimination state is the low level state.
The invention has the advantages that: the tri-state switching value identification system provided by the invention can perfectly adapt to the switching value signals of the automobile body through the identification of the CPU to the logic without updating the instrument hardware on the basis of not changing the original layout and wiring of the automobile body. The adaptability, the configurability and the compatibility of the instrument are greatly improved.
Drawings
Fig. 1 is a schematic structural diagram of a three-state switching value identification system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The first embodiment is as follows: the following describes the present embodiment with reference to fig. 1, and the tri-state switching value identification system in the present embodiment includes resistors R1-R7, a transistor KT1, a field effect transistor KT2, and a diode RD 1;
one end of the resistor R7 is connected with one end of the resistor R6, and the other end of the resistor R7 is connected with GND;
the connection end of the resistor R6 and the resistor R7 is used as a mi input end;
the other end of the resistor R6 is connected with one end of the resistor R5, the other end of the resistor R5 is connected with the cathode of the diode RD1, the anode of the diode RD1 is connected with the drain of the effect transistor KT2, the source of the field effect transistor KT2 is connected with one end of the resistor R4, the source of the field effect transistor KT2 is simultaneously connected with VCC, the grid of the field effect transistor KT2 is simultaneously connected with the other end of the resistor R4 and one end of the resistor R3, the other end of the resistor R3 is connected with the collector of the transistor KT1, the emitter of the transistor KT1 and one end of the resistor R2 are simultaneously connected with GND, and the base of the transistor KT1 is;
the other end of the resistor R1 is used as an mo output end;
the connection end of the resistor R5 and the resistor R6 is used as a switching value identification output end;
and identifying the on-light quantity identification state of the switching quantity identification output end according to different logics of the mi input end and the mo output end.
Further, the on light amount recognition state includes: a floating state, a high state, and a low state.
Still further, identifying the on-state of the switching value identification output according to different logics of the mi input terminal and the mo output terminal specifically includes:
in a period range, when the mo output level is 11 and the mi input level is 10, the on-light quantity recognition state is a suspension state;
in a period range, when the mo output level is 10 and the mi input level is 11, the on-light amount identification state is a high level state;
in one cycle, when the mo output level is 10 and the mi input level is 00, the on-light amount discrimination state is the low level state.
The working principle of the invention is explained in connection with fig. 1:
when the switching value is in a suspension state, the circuit acquires the logic as follows:
firstly, mo is the level signal output of the single chip microcomputer, when the output is high level, the voltage of a point A reaches the conducting voltage of a transistor KT1, the emitter and the base of the transistor are conducted, a resistor R3 is in short circuit to the ground, so that the circuits of a resistor R3 and a resistor R4 have current circulation, and R3 and R4 have respective voltage drops, at the moment, the voltage of a point B is the voltage drop borne by R3, KT2 selects a P-MOS, after R4 bears the voltage drop, the G pole and the S pole of the MOS form negative voltage, when the voltage reaches the conducting threshold of the MOS, the emitter and the source of the MOS are conducted, VCC is loaded on a diode RD1, and form a loop together with resistors R5, R6 and R7, mi is the acquisition level of the single chip microcomputer, and after KT2 is conducted, R7 forms voltage drop, mi acquires the high level, and the input is logic '1' to the single chip microcomputer;
when the mo output is low level, the voltage at the point A is zero and does not reach the conduction voltage of a transistor KT1, the emitter and the base of the transistor cannot be conducted, and R3 is not connected to GND (ground), so that no current flows through the circuits of a resistor R3 and R4, the voltage value at the point B is equal to the voltage value of VCC at the moment, and no voltage drop is formed at the two ends of R4, so that no negative voltage is formed between the G pole and the S pole of the MOS transistor and cannot reach the conduction threshold of the MOS transistor, the emitter and the source of the MOS transistor cannot be conducted, VCC is not loaded on RD1, resistors R5, R6 and R7 do not flow current, the level acquired by mi is equal to GND, and the input to the singlechip is logic' 0;
when the switching value is in a high level state, the circuit acquires the logic as follows:
firstly, mo is the level signal output of the single chip microcomputer, when the output is high level, the voltage of a point A reaches the conducting voltage of a transistor KT1, the emitter and the base of the transistor are conducted, a resistor R3 is in short circuit to the ground, so that the circuits of a resistor R3 and a resistor R4 have current circulation, and R3 and R4 have respective voltage drops, at the moment, the voltage of a point B is the voltage drop borne by R3, KT2 selects a P-MOS, after R4 bears the voltage drop, the G pole and the S pole of the MOS form negative voltage, when the voltage reaches the conducting threshold of the MOS, the emitter and the source of the MOS are conducted, VCC is loaded on a diode RD1 to form a loop together with resistors R5, R6 and R7, mi is the acquisition level of the single chip microcomputer, and after KT2 is conducted, R7 forms voltage drop, mi is acquired to high level, and the input to the single chip microcomputer is logic '1';
when the mo output is low level, the voltage at the point a is zero, the conduction voltage of the transistor KT1 is not reached, the emitter and the base of the transistor cannot be conducted, and R3 is not connected to GND, so that no current flows through the circuits of the resistors R3 and R4, the voltage value at the point B is equal to the voltage value of VCC, and no voltage drop is formed at the two ends of R4, so that no negative voltage is formed between the G pole and the S pole of the MOS transistor, the conduction threshold of the MOS transistor cannot be reached, the emitter and the source of the MOS transistor cannot be conducted, VCC is not loaded on RD1, but because the switching value is high level at this time, a path is still formed with the resistors R5, R6, and R7 to form current, and a voltage drop mi formed on the resistor R7 is collected to high level and input to the single chip microcomputer to;
when the switching value is in a low level state, the circuit acquires the logic as follows:
firstly, mo is the level signal output of the single chip microcomputer, when the output is high level, the voltage of a point A reaches the conduction voltage of a transistor KT1, the emitter and the base of the transistor are conducted, a resistor R3 is short-circuited to the ground, so that the current flows in the circuits of the resistor R3 and the resistor R4, the R3 and the R4 have respective voltage drops, the voltage of a point B is the voltage drop borne by R3, the KT2 selects a P-MOS, after the voltage drop borne by the resistor R4, the G pole and the S pole of the MOS form negative voltage, when the voltage reaches the conduction threshold value of the MOS, the emitter and the source of the MOS are conducted, VCC is loaded to a diode RD1, but because the switching value is low level, the potential of the point C is zero, VCC and the diode RD1 form a loop with a resistor R5, the resistors R6 and R7 do not flow current, mi is collected to low level, and the input is logic '0' to the single chip microcomputer;
when the mo output is low level, the voltage at the point A is zero, the conduction voltage of the transistor KT1 is not reached, the emitter and the base of the transistor cannot be conducted, the R3 is not connected to GND, so that no current flows through the circuits of the resistor R3 and the R4, the voltage value at the point B is equal to the voltage value of VCC, and no voltage drop is formed at the two ends of the R4, so that the negative voltage is not formed between the G pole and the S pole of the MOS transistor, the conduction threshold of the MOS transistor cannot be reached, the emitter and the source of the MOS transistor cannot be conducted, VCC is not loaded on the RD1, the resistors R5, R6 and R7 do not flow current, the level acquired by mi is equal to GND, and the input to the singlechip is logic.
The above state of identifying the switching value according to the logic is shown in table 1:
TABLE 1
Figure BDA0002866576970000041
Figure BDA0002866576970000051
Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that features described in different dependent claims and herein may be combined in ways different from those described in the original claims. It is also to be understood that features described in connection with individual embodiments may be used in other described embodiments.

Claims (3)

1. A three-state switching value identification system is characterized by comprising resistors R1-R7, a triode KT1, a field-effect tube KT2 and a diode RD 1;
one end of the resistor R7 is connected with one end of the resistor R6, and the other end of the resistor R7 is connected with GND;
the connection end of the resistor R6 and the resistor R7 is used as a mi input end;
the other end of the resistor R6 is connected with one end of the resistor R5, the other end of the resistor R5 is connected with the cathode of the diode RD1, the anode of the diode RD1 is connected with the drain of the effect transistor KT2, the source of the field effect transistor KT2 is connected with one end of the resistor R4, the source of the field effect transistor KT2 is simultaneously connected with VCC, the grid of the field effect transistor KT2 is simultaneously connected with the other end of the resistor R4 and one end of the resistor R3, the other end of the resistor R3 is connected with the collector of the transistor KT1, the emitter of the transistor KT1 and one end of the resistor R2 are simultaneously connected with GND, and the base of the transistor KT1 is;
the other end of the resistor R1 is used as an mo output end;
the connection end of the resistor R5 and the resistor R6 is used as a switching value identification output end;
and identifying the on-light quantity identification state of the switching quantity identification output end according to different logics of the mi input end and the mo output end.
2. The three-state switching value recognition system according to claim 1, wherein the switching value recognition state comprises: a floating state, a high state, and a low state.
3. The tri-state switching value recognition system of claim 2, wherein recognizing the on-state switching value recognition state of the switching value recognition output terminal according to different logics of the mi input terminal and the mo output terminal specifically comprises:
in a period range, when the mo output level is 11 and the mi input level is 10, the on-light quantity recognition state is a suspension state;
in a period range, when the mo output level is 10 and the mi input level is 11, the on-light amount identification state is a high level state;
in one cycle, when the mo output level is 10 and the mi input level is 00, the on-light amount discrimination state is the low level state.
CN202011595985.9A 2020-12-28 2020-12-28 Tri-state switching value identification system Active CN112803931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011595985.9A CN112803931B (en) 2020-12-28 2020-12-28 Tri-state switching value identification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011595985.9A CN112803931B (en) 2020-12-28 2020-12-28 Tri-state switching value identification system

Publications (2)

Publication Number Publication Date
CN112803931A true CN112803931A (en) 2021-05-14
CN112803931B CN112803931B (en) 2023-01-24

Family

ID=75805627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011595985.9A Active CN112803931B (en) 2020-12-28 2020-12-28 Tri-state switching value identification system

Country Status (1)

Country Link
CN (1) CN112803931B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150734A1 (en) * 2007-12-11 2009-06-11 Rdc Semiconductor Co., Ltd. Tri-state i/o port
US20110309874A1 (en) * 2010-06-22 2011-12-22 Kazuyasu Takimoto Semiconductor switching system
CN203133188U (en) * 2012-11-09 2013-08-14 苏州海格新能源汽车电控系统科技有限公司 A circuit for detecting three states of an automobile switch signal value
CN104808561A (en) * 2015-04-25 2015-07-29 航天科技控股集团股份有限公司 Multi-state switch state collection device and method
CN104993815A (en) * 2015-07-22 2015-10-21 欧科佳(上海)汽车电子设备有限公司 General pin multiplex circuit
CN205352436U (en) * 2015-12-24 2016-06-29 北京汽车研究总院有限公司 Combined instrument tester
CN108469297A (en) * 2018-06-14 2018-08-31 湖北新冶钢特种钢管有限公司 Driving electronic scale intelligence calibrating installation
CN207851546U (en) * 2017-10-30 2018-09-11 北京航天万源科技有限公司 A kind of I/O switch amount expanded circuit
CN110753432A (en) * 2019-11-30 2020-02-04 济宁中科先进技术研究院有限公司 Multi-state new energy automobile atmosphere lamp system and control method thereof
CN110771042A (en) * 2017-04-28 2020-02-07 思睿逻辑国际半导体有限公司 Controlling switches in variable impedance elements

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150734A1 (en) * 2007-12-11 2009-06-11 Rdc Semiconductor Co., Ltd. Tri-state i/o port
US20110309874A1 (en) * 2010-06-22 2011-12-22 Kazuyasu Takimoto Semiconductor switching system
CN203133188U (en) * 2012-11-09 2013-08-14 苏州海格新能源汽车电控系统科技有限公司 A circuit for detecting three states of an automobile switch signal value
CN104808561A (en) * 2015-04-25 2015-07-29 航天科技控股集团股份有限公司 Multi-state switch state collection device and method
CN104993815A (en) * 2015-07-22 2015-10-21 欧科佳(上海)汽车电子设备有限公司 General pin multiplex circuit
CN205352436U (en) * 2015-12-24 2016-06-29 北京汽车研究总院有限公司 Combined instrument tester
CN110771042A (en) * 2017-04-28 2020-02-07 思睿逻辑国际半导体有限公司 Controlling switches in variable impedance elements
CN207851546U (en) * 2017-10-30 2018-09-11 北京航天万源科技有限公司 A kind of I/O switch amount expanded circuit
CN108469297A (en) * 2018-06-14 2018-08-31 湖北新冶钢特种钢管有限公司 Driving electronic scale intelligence calibrating installation
CN110753432A (en) * 2019-11-30 2020-02-04 济宁中科先进技术研究院有限公司 Multi-state new energy automobile atmosphere lamp system and control method thereof

Also Published As

Publication number Publication date
CN112803931B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN105491730B (en) A kind of LED lamp with USB interface string control system
CN103336700B (en) The serial ports programming circuitry of a kind of digital signal processor and system
CN102594300B (en) Light-operated signal generating circuit
CN112803931B (en) Tri-state switching value identification system
CN108430135A (en) A kind of sequential starting controlling circuit, lighting device and lighting system
CN104582182B (en) LED constant-current drive circuit with double-drive unit and lighting device
CN109406862A (en) A kind of switching quantity detection circuit of compatible height significant level
CN206922415U (en) A kind of under-voltage protecting circuit of onboard system, auto meter and vehicle
CN109580025A (en) A kind of wide scope platinum resistance temperature sample circuit
CN209290728U (en) Redundance ignition control for ejector seat program controller exports voting circuit
CN207301717U (en) One kind is suitable for low effective on-off model Acquisition Circuit
CN208046977U (en) A kind of sequential starting controlling circuit, lighting device and lighting system
CN108322208A (en) Signaling interface and its signal interface circuit for positive/negative voltage signal input
CN203190986U (en) Vehicle frequency signal acquisition circuit
CN111175591A (en) Signal detection circuit
CN205754934U (en) A kind of LED lamp with USB interface string control system
CN108512399A (en) A kind of enabled control circuit for Switching Power Supply
CN208092159U (en) A kind of exclusion quality detection device
CN108173544A (en) A kind of compatible input or the I/O port circuit of output control
CN212060956U (en) Pre-preprocessing circuit for signal acquisition
CN2930116Y (en) Control circuit for network condition indication lamp
CN207817458U (en) A kind of station acquisition circuit applied on automatic change-over
CN211293720U (en) High-speed IO and drive circuit of programmer
CN205506258U (en) Temperature acquisition circuit
CN220108181U (en) Microphone anti-false touch system

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