CN108566191A - A kind of general pin multiplexing circuit - Google Patents
A kind of general pin multiplexing circuit Download PDFInfo
- Publication number
- CN108566191A CN108566191A CN201810288500.8A CN201810288500A CN108566191A CN 108566191 A CN108566191 A CN 108566191A CN 201810288500 A CN201810288500 A CN 201810288500A CN 108566191 A CN108566191 A CN 108566191A
- Authority
- CN
- China
- Prior art keywords
- pull
- circuit
- triode
- resistance
- input
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
- H03K19/017509—Interface arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Electronic Switches (AREA)
- Logic Circuits (AREA)
Abstract
The invention discloses a kind of general pin multiplexing circuits, including the multiplex circuit module being connected on each universal input pin, one universal input pin corresponds to an input terminal, each multiplex circuit includes pull-up circuit and pull-down circuit, the opening and closing of pull-up circuit and pull-down circuit are controlled by control signal one and control signal two, on the one hand input terminal corresponding with the multiplex circuit module connects pull-up circuit and pull-down circuit simultaneously, on the other hand corresponding universal input pin is connected.It is an advantage of the invention that saving cost, programmable configuration input mode, flexibility ratio is high, compatible different vehicle car body control module and instrument.
Description
Technical field
The invention belongs to automobile industry electrifies technique field more particularly to a kind of general pin multiplexing circuits.
Background technology
Currently, have various different sensors in the various kinds of equipment of automobile at home, export different signals to
To the electronic control unit of vehicle body, either instrument but electronic control unit or the external interface of instrument are limited, different vehicles
Vehicle body sensor configuration be also not quite similar, the signal of output is also different.Currently, the way of domestic most manufacturers be all by
Different pin configurations expends pin resource very much at single function pin.
Invention content
Goal of the invention:In view of the above problems, the present invention proposes a kind of general pin multiplexing circuit, it can be in single input port
It is upper that a variety of input selections are provided.
Technical solution:To achieve the purpose of the present invention, the technical solution adopted in the present invention is:A kind of general pin multiplexing
Circuit, including pull-up circuit and pull-down circuit control pull-up circuit and drop-down electricity by control signal one and control signal two
The opening and closing on road, the corresponding input terminal of the multiplex circuit connect pull-up circuit and pull-down circuit, and the input simultaneously
Corresponding universal input pin is held to be connected;Under logic input and resistor-type simulation input pattern, pull-up circuit and drop-down
Only there are one circuit is in the open state in circuit;When pull-up circuit is opened, the input terminal is pulled to setting high voltage,
The universal input pin is used as low input port, also can be used as the use of resistor-type analog quantity port;Pull-down circuit is beaten
When opening, the input terminal is pulled down to setting low-voltage, and the universal input pin is used as high input port;Pull-up circuit
When being closed simultaneously with pull-down circuit, the universal input pin is used as voltage-type analog quantity port.
Further, the pull-up circuit includes triode Q1, resistance R2 and diode D1, the collector warp of triode Q1
Resistance R2 is connected to pull-up power supply VCC, and the emitter of triode is connected to the anode of diode D1, and the cathode of diode D1 is via resistance
R5 is connected with corresponding input terminal.
Further, the pull-down circuit includes triode Q4, and the emitter of triode Q4 is connected to ground, the collection of triode Q4
Electrode is connected to the cathode of diode D1 and is connected with corresponding input terminal via resistance R5.
Further, the control circuit includes resistance R1, resistance R3, resistance R4, resistance R6 and triode Q3, triode
Q2, control signal are connected to the base stage of triode Q3 once resistance R4, and the collector of triode Q3 is connected to the current collection of triode Q2
Pole, control signal two are connected to triode Q2 through resistance R3, and the emitter of triode Q2 is connected to the base stage of triode Q4 while passing through
Resistance R6 is connected to ground, and the collector of triode Q2 is connected to the base stage of triode Q1 while being connected to upper pull-up voltage VCC through resistance R1.
Advantageous effect:The principle of the present invention is the type according to input signal, and low and high level, configuration are inputted by microcontroller
The input mode of general pin improves the utilization of input pin as much as possible to match input signal;Cost is saved, may be programmed
Input mode is configured, flexibility ratio is high, can be compatible with different car body control modules and instrument.
Description of the drawings
Fig. 1 is the circuit diagram of multiplex circuit.
Specific implementation mode
Technical scheme of the present invention is further described with reference to the accompanying drawings and examples.
The general pin multiplexing circuit of the present invention, including the multiplex circuit module that is linked on each universal input pin,
One universal input pin corresponds to an input terminal, and each multiplex circuit module includes pull-up circuit and pull-down circuit, by controlling
The opening and closing of one EN_1 of input terminal and control signal two Control_1 control pull-up circuit and pull-down circuit, it is multiple with this
Pull-up circuit and pull-down circuit are on the one hand connected simultaneously with the corresponding input terminal of circuit module, it is on the other hand corresponding general
Input pin CPU_IN_1 is connected.
In the case where being configured to logic input and resistor-type simulation input pattern, only there are one electricity in pull-up circuit and pull-down circuit
Road is in the open state;When pull-up circuit is opened, input terminal is pulled to setting high voltage, universal input pin CPU_
IN_1 is used as low input port, also can be used as the use of resistor-type analog quantity port;When pull-down circuit is opened, input terminal
It is pulled down to setting low-voltage, universal input pin CPU_IN_1 is used as high input port;When pull-up circuit and drop-down electricity
When road is closed simultaneously, universal input pin CPU_IN_1 is used as voltage-type analog quantity port.
As shown in Figure 1, each multiplex circuit module includes pull-up circuit, pull-down circuit and control circuit, inputted by control
Hold the opening and closing of an EN_1 and control signal two Control_1 control pull-up circuit and pull-down circuit;Pull-up circuit packet
Triode Q1, resistance R2 and diode D1 are included, the collector of triode Q1 is connected to pull-up power supply VCC through resistance R2, triode
Emitter is connected to the anode of diode D1, and the cathode of diode D1 is connected via resistance R5 with corresponding input terminal;Pull-down circuit
Including triode Q4, the emitter of triode Q4 is connected to ground, the collector of triode Q4 be connected to the cathode of diode D1 and via
Resistance R5 is connected with corresponding input terminal;Control circuit includes resistance R1, R3, R4, R6 and triode Q3, Q2, control signal
One EN_1 is connected to the base stage of triode Q3 through resistance R4, and the collector of Q3 is connected to the collector of triode Q2, control signal two
Control_1 is connected to triode Q2 through resistance R3, and the emitter of triode Q2 is connected to the base stage of triode Q4 simultaneously through resistance R6
It is connected to ground, the collector of triode Q2 is connected to the base stage of triode Q1 while being connected to upper pull-up voltage VCC through resistance R1.
Such as table 1, it is the software configuration table of the present invention, lists EN_1 and Control_1 in detail under varying level,
The input mode of configuration.
Table 1
Input mode | Control_1 high | Control_1 is low |
EN_1 high | Voltage-type simulation input | Voltage-type simulation input |
EN_1 is low | Height input | Low input or resistor-type simulation input |
As shown in table 1, control process of the invention is:When control signal one EN_1 inputs are high level, triode
Q3 is opened, and triode Q1 and triode Q4 are closed, and universal input foot CPU_IN_1 makes as voltage mode analog signal port at this time
With;When control signal one EN_1 inputs are low level, when two Control_1 of control signal is high level, triode Q3
It closes, triode Q2 and triode Q4 are opened, and triode Q1 is closed, and universal input foot CPU_IN_1 is as high input port at this time
It uses;When control signal one EN_1 inputs are low level, when two Control_1 of control signal is low level, triode
Q3 is closed, and triode Q2 and triode Q4 are closed, and triode Q1 is opened, and universal input foot CPU_IN_1 is as low input terminal at this time
Mouth uses or resistor-type analog input;The presence of switching diode D1 avoids that triode Q1 occurs in circuit and triode Q4 is same
When the case where opening.
Claims (4)
1. a kind of general pin multiplexing circuit, it is characterised in that:Including pull-up circuit and pull-down circuit, by one He of control signal
Control signal two controls the opening and closing of pull-up circuit and pull-down circuit, and the corresponding input terminal of the multiplex circuit connects simultaneously
Connect puller circuit and pull-down circuit, and the corresponding universal input pin of the input terminal is connected;
Under logic input and resistor-type simulation input pattern, only there are one circuits to be in opening in pull-up circuit and pull-down circuit
State;
When pull-up circuit is opened, the input terminal is pulled to setting high voltage, and the universal input pin is as low input
Port uses, and also can be used as the use of resistor-type analog quantity port;
When pull-down circuit is opened, the input terminal is pulled down to setting low-voltage, and the universal input pin is inputted as high
Port uses;
When pull-up circuit and pull-down circuit are closed simultaneously, the universal input pin is used as voltage-type analog quantity port.
2. general pin multiplexing circuit according to claim 1, it is characterised in that:The pull-up circuit includes triode
The collector of Q1, resistance R2 and diode D1, triode Q1 are connected to pull-up power supply VCC through resistance R2, and the emitter of triode connects
To the anode of diode D1, the cathode of diode D1 is connected via resistance R5 with corresponding input terminal.
3. general pin multiplexing circuit according to claim 2, it is characterised in that:The pull-down circuit includes triode
The emitter of Q4, triode Q4 are connected to ground, the collector of triode Q4 be connected to the cathode of diode D1 and via resistance R5 with it is right
The input terminal answered is connected.
4. general pin multiplexing circuit according to claim 3, it is characterised in that:The control circuit include resistance R1,
Resistance R3, resistance R4, resistance R6 and triode Q3, triode Q2, control signal are connected to the base of triode Q3 once resistance R4
Pole, the collector of triode Q3 are connected to the collector of triode Q2, and control signal two is connected to triode Q2, three poles through resistance R3
The base stage that the emitter of pipe Q2 is connected to triode Q4 is connected to ground through resistance R6 simultaneously, and the collector of triode Q2 is connected to triode Q1
Base stage through resistance R1 be connected to upper pull-up voltage VCC simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810288500.8A CN108566191B (en) | 2018-04-03 | 2018-04-03 | Universal pin multiplexing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810288500.8A CN108566191B (en) | 2018-04-03 | 2018-04-03 | Universal pin multiplexing circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108566191A true CN108566191A (en) | 2018-09-21 |
CN108566191B CN108566191B (en) | 2022-05-27 |
Family
ID=63533973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810288500.8A Active CN108566191B (en) | 2018-04-03 | 2018-04-03 | Universal pin multiplexing circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108566191B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110380720A (en) * | 2019-06-28 | 2019-10-25 | 郑州森鹏电子技术有限公司 | A kind of general pin multiplexing circuit |
US20220217266A1 (en) * | 2019-04-22 | 2022-07-07 | Gree Electric Appliances, Inc. Of Zhuhai | Multimedia data processing method and apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101379705A (en) * | 2006-02-08 | 2009-03-04 | 京瓷无线公司 | Level shifting multiplexing circuit for connecting a two conductor full duplex bus to a bidirectional single conductor bus |
JP2012222178A (en) * | 2011-04-11 | 2012-11-12 | Renesas Electronics Corp | Semiconductor device |
CN104993815A (en) * | 2015-07-22 | 2015-10-21 | 欧科佳(上海)汽车电子设备有限公司 | General pin multiplex circuit |
CN204836130U (en) * | 2015-07-22 | 2015-12-02 | 欧科佳(上海)汽车电子设备有限公司 | General pin multiplex circuit |
-
2018
- 2018-04-03 CN CN201810288500.8A patent/CN108566191B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101379705A (en) * | 2006-02-08 | 2009-03-04 | 京瓷无线公司 | Level shifting multiplexing circuit for connecting a two conductor full duplex bus to a bidirectional single conductor bus |
JP2012222178A (en) * | 2011-04-11 | 2012-11-12 | Renesas Electronics Corp | Semiconductor device |
CN104993815A (en) * | 2015-07-22 | 2015-10-21 | 欧科佳(上海)汽车电子设备有限公司 | General pin multiplex circuit |
CN204836130U (en) * | 2015-07-22 | 2015-12-02 | 欧科佳(上海)汽车电子设备有限公司 | General pin multiplex circuit |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220217266A1 (en) * | 2019-04-22 | 2022-07-07 | Gree Electric Appliances, Inc. Of Zhuhai | Multimedia data processing method and apparatus |
US11800217B2 (en) * | 2019-04-22 | 2023-10-24 | Gree Electric Appliances, Inc. Of Zhuhai | Multimedia data processing method and apparatus |
CN110380720A (en) * | 2019-06-28 | 2019-10-25 | 郑州森鹏电子技术有限公司 | A kind of general pin multiplexing circuit |
CN110380720B (en) * | 2019-06-28 | 2022-12-20 | 郑州森鹏电子技术股份有限公司 | Universal pin multiplexing circuit |
Also Published As
Publication number | Publication date |
---|---|
CN108566191B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103605017A (en) | Detection method of vehicle switch quantity signal | |
CN201860306U (en) | Time sequence control circuit | |
CN106814841A (en) | A kind of power control circuit for saving electric energy | |
CN108566191A (en) | A kind of general pin multiplexing circuit | |
CN205485442U (en) | Time delay of automobile -used automatically controlled unit is circuit down | |
CN104993815B (en) | A kind of general pin multiplexing circuit | |
CN107948555A (en) | Switch control circuit and television | |
CN203117783U (en) | Electronic load unit | |
CN108001130A (en) | The power-saving method of on-off circuit, tire pressure monitoring system and tire pressure monitoring system | |
CN208285204U (en) | A kind of enabled control circuit for Switching Power Supply | |
CN108512399A (en) | A kind of enabled control circuit for Switching Power Supply | |
CN204836130U (en) | General pin multiplex circuit | |
CN109167592A (en) | Low-cost and high-performance switch tube driving circuit | |
CN206181396U (en) | Fill electric pile with intelligence heating cable function | |
CN105515429B (en) | Intelligent power module and air conditioner | |
CN204615626U (en) | Intelligent power module circuit and air conditioner | |
CN209525430U (en) | For monitoring the circuit of vehicle battery voltage | |
CN206349807U (en) | A kind of new A C/DC automatic switching control circuits | |
CN207765937U (en) | A kind of system load is from cut-off circuit | |
CN2402694Y (en) | Drive for electronic needle selection mechanism | |
CN206021255U (en) | For the anticorrosion circuit of Type C interface, Type C interface and Type C data lines | |
CN205622225U (en) | LED lamp strip short -circuit protection circuit based on boost circuit | |
CN104821705A (en) | Intelligent power module circuit and air-conditioner | |
CN204719212U (en) | Battery electric quantity detects indicating circuit | |
CN208984776U (en) | A kind of switch state Acquisition 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |