CN205910541U - Multisensor control circuit and electronic product - Google Patents
Multisensor control circuit and electronic product Download PDFInfo
- Publication number
- CN205910541U CN205910541U CN201620771489.7U CN201620771489U CN205910541U CN 205910541 U CN205910541 U CN 205910541U CN 201620771489 U CN201620771489 U CN 201620771489U CN 205910541 U CN205910541 U CN 205910541U
- Authority
- CN
- China
- Prior art keywords
- switch
- switching tube
- power supply
- sensor
- connects
- 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.)
- Withdrawn - After Issue
Links
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model discloses a multisensor control circuit and electronic product, control circuit include main control unit, sensor unit, interface unit, sensor unit includes a plurality of sensors, arranges into multirow and multiseriate, the interface unit includes signal transmission terminal, multiple power supplies forward transportation output, multiple power supplies negative output end, DC power supply is all connected through a corresponding switch circuit's switch route to every power forward transportation output, every power negative output end is the 2nd switch circuit's through the correspondence switch route ground connection all, every power forward transportation output respectively with the delegation that corresponds / the power positive input terminal of sensor be connected, every power negative output end is connected with the power negative input end of a's of corresponding / capable sensor respectively. The utility model discloses a multisensor control circuit and electronic product, because the only electricity operation on sensor of the same moment, supply pressure is less, avoids because sensor, whole control circuit, electronic product abnormal operation that powering insufficient leads to.
Description
Technical field
This utility model belongs to sensor circuit technical field, specifically, is to be related to a kind of multisensor control circuit
And the electronic product using described design on control circuit.
Background technology
Sensor is a kind of detection device, is widely used.
In a circuit system, generally require to apply multiple sensors.Need to be connected with main frame when there being a lot of sensors
When, generally by the way of communication, using host-guest architecture, main frame is coupled together with multiple sensors, shown in Figure 1.
The shortcoming of this connected mode is, when number of sensors is more, the requirement to power supply becomes very high, if power supply
Deficiency, can lead to the operation of sensor to go wrong, and then has influence on the normal operation of whole circuit.
Content of the invention
This utility model provides a kind of multisensor control circuit, solves the above-mentioned technology mentioned in prior art and asks
Topic.
For solving above-mentioned technical problem, this utility model employs the following technical solutions and is achieved:
A kind of multisensor control circuit, including main control unit, sensor unit, interface unit;Described sensor unit
Including multiple sensors, it is arranged in rows and columns;Described interface unit include signal transmission end, multiple power supply positive output end,
Multiple power supply negative output terminals;One end all opening by each self-corresponding first switch circuit of each described power supply positive output end
Close path and connect DC source;One end of each described power supply negative output terminal is all by each self-corresponding second switch circuit
Switch ways are grounded;The other end of each described power supply positive output end corresponds to a line/sensor, and respectively with this row/column
Sensor power supply positive input terminal connect;The other end of each described power supply negative output terminal corresponds to string/line sensor, and
It is connected with the power supply negative input end of the sensor of this column/row respectively;Described main control unit respectively with the first switch each described
The control end of circuit, the second switch circuit that each is described control end connect, control each described first switch circuit and
The break-make of each described switch ways of second switch circuit;Described main control unit is passed through signal transmission end and is passed with each respectively
The signal end of sensor carries out signal transmission.
Further, described control circuit also includes analog signal processing circuit, pulse signal process circuit, level signal
Process circuit, asynchronous communication signal processing circuit, described main control unit is respectively by described analog signal processing circuit, pulse
Signal processing circuit, level signal process circuit, asynchronous communication signal processing circuit are connected with described signal transmission end.
Further, described first switch circuit includes first switch pipe and second switch pipe, described first switch pipe
For high conduction voltage drop switching tube, described second switch pipe is low conduction voltage drop switching tube;The control end of described first switch pipe is even
Connect main control unit, one end ground connection of the switch ways of described first switch pipe, the other end connects the control end of second switch pipe, institute
The one end stating the switch ways of second switch pipe connects DC source, and the other end connects corresponding power supply positive output end.
Further, described second switch circuit includes the 3rd switching tube, and described 3rd switching tube is high conduction voltage drop
Switching tube;The control end of described 3rd switching tube connects main control unit, and one end of the switch ways of described 3rd switching tube is grounded,
The other end connects corresponding power supply negative output terminal.
Further, described control circuit also includes pull-up circuit, and described pull-up circuit includes the 4th switching tube and upper
Pull-up resistor, described 4th switching tube is low conduction voltage drop switching tube;The control end of described 4th switching tube connects main control unit, institute
The one end stating the switch ways of the 4th switching tube connects DC source, and the other end passes through described pull-up resistor and connects described signal biography
Defeated end.
Preferably, described control circuit also includes pull-down circuit, and described pull-down circuit includes the 5th switching tube and drop-down electricity
Resistance, described 5th switching tube is high conduction voltage drop switching tube;The control end of described 5th switching tube connects main control unit, and described the
One end ground connection of the switch ways of five switching tubes, the other end connects described signal transmission end by described pull down resistor.
Further, described control circuit also includes the 6th switching tube, and described 6th switching tube is low conduction voltage drop switch
Pipe;The control end of described 6th switching tube connects main control unit, and one end of the switch ways of described 6th switching tube connects direct current
Power supply, the other end connects described signal transmission end.
Further, described control circuit also includes the 7th switching tube, and described 7th switching tube is high conduction voltage drop switch
Pipe;The control end of described 7th switching tube connects main control unit, and one end of the switch ways of described 7th switching tube is grounded, another
End connects described signal transmission end.
Further, it is respectively connected with a high level conduct either analog switch between each sensor and interface unit,
The corresponding power supply positive output end of described sensor connects the power supply positive input terminal of analog switch, and the corresponding power supply of described sensor is born
Outfan connects the power supply negative input end of analog switch, and one end of the switch ways of described analog switch connects described signal transmission
End, the other end connects the signal end of described sensor;The control end of described analog switch passes through a low conduction voltage drop switching tube
Switch ways connect described power supply positive output end, and the control end of described switching tube connects power supply negative output terminal.
Based on the design of above-mentioned multisensor control circuit, this utility model also proposed a kind of electronic product, including institute
The multisensor control circuit stated, described multisensor control circuit includes main control unit, sensor unit, interface unit;Institute
State sensor unit and include multiple sensors, be arranged in rows and columns;Described interface unit includes signal transmission end, Duo Ge electricity
Source positive output end, multiple power supply negative output terminal;One end of each described power supply positive output end is all by each self-corresponding first
The switch ways of on-off circuit connect DC source;One end of each described power supply negative output terminal is all by each self-corresponding
The switch ways ground connection of two on-off circuits;The other end of each described power supply positive output end corresponds to a line/sensor, and point
It is not connected with the power supply positive input terminal of the sensor of this row/column;The other end correspondence string of each described power supply negative output terminal/
Line sensor, and be connected with the power supply negative input end of the sensor of this column/row respectively;Described main control unit respectively with described in each
The control end of first switch circuit, the control end of second switch circuit that each is described connect, control that each is described first
On-off circuit and the break-make of each described switch ways of second switch circuit;Described main control unit is divided by signal transmission end
Other and each sensor signal end carries out signal transmission.
Compared with prior art, advantage of the present utility model and good effect are: multisensor of the present utility model controls
Circuit, because on synchronization only one of which sensor, electricity runs, power supply pressure is less, it is to avoid the biography being led to due to electricity shortage
Sensor and whole control circuit operation exception, it is ensured that the normal operation of sensor and whole control circuit, improve power supply
Reliability and the reliability of sensor signal transmission;And, can control whole on the premise of need not improving power supply capacity
Lay greater number of sensor in circuit, reduce circuit cost.By designing described multisensor in electronic product
Control circuit, alleviates power supply pressure, it is to avoid the electronic product operation exception that led to due to electricity shortage is it is ensured that electronic product
Normal operation, improve the operational reliability of electronic product;And, can be in electricity on the premise of need not improving power supply capacity
Lay greater number of sensor in sub- product, reduce the cost of electronic product.
After the detailed description of this utility model embodiment is read in conjunction with the accompanying, other features of the present utility model and advantage
Will become clearer from.
Brief description
Fig. 1 is the connection diagram of the multisensor mentioned in prior art;
Fig. 2 is the structural representation of an embodiment of the multisensor control circuit that this utility model is proposed;
Fig. 3 is the circuit theory diagrams of an embodiment of the multisensor control circuit that this utility model is proposed;
Fig. 4 is the connection diagram of the analog switch of multisensor control circuit that this utility model is proposed.
Specific embodiment
Below in conjunction with the accompanying drawings specific embodiment of the present utility model is described in more detail.
The multisensor control circuit of the present embodiment mainly includes main control unit, interface unit, sensor unit etc., referring to
Shown in Fig. 2, sensor unit includes multiple sensors, and multiple sensors are arranged in rows and columns, and interface unit mainly includes
Signal transmission end, multiple power supply positive output end, multiple power supply negative output terminal, one end of each power supply positive output end is all by each
The switch ways of corresponding first switch circuit connect DC source, and one end of each power supply negative output terminal is all by each corresponding to
Second switch circuit switch ways ground connection, i.e. each power supply positive output end correspond to a first switch circuit, each electricity
Source negative output terminal correspond to a second switch circuit;The other end of each power supply positive output end corresponds to a line/sensor, and
It is connected with the power supply positive input terminal of the sensor of this row/column respectively;The corresponding column/row of the other end of each power supply negative output terminal passes
Sensor, and be connected with the power supply negative input end of the sensor of this column/row respectively;Main control unit respectively with each first switch circuit
Control end connect, control the break-make of the switch ways of each first switch circuit;Main control unit respectively with each second switch
The control end of circuit connects, and controls the break-make of the switch ways of each second switch circuit;Main control unit passes through signal transmission end
The signal end of each sensor carries out signal transmission respectively, and that is, the one end at signal transmission end connects main control unit, and the other end is respectively
Connect the signal end of each sensor.
Main control unit controls first switch circuit and second switch circuit turn-on, and this corresponding power supply of first switch circuit is just
Outfan connects DC source, this second switch circuit corresponding power supply negative output by the switch ways of this first switch circuit
The switch ways ground connection by this second switch circuit for the end;Therefore, this power supply positive output end is corresponding a line/sensor
Power supply positive input terminal provides positive voltage, and the power supply negative output terminal of the corresponding string/line sensor of this power supply negative output terminal is grounded, only
The power supply positive input terminal having a sensor connects DC source, power supply negative input end ground connection, and on this sensor, electricity runs, and passes through
Signal transmission end is communicated with main control unit.
Assume multiple sensors be arranged in m row n row (m and n is the positive integer more than or equal to 1, and the size of m and n is permissible
Equal it is also possible to unequal), shown in Figure 2.
Power supply positive output end be provided with m (be referred to as power supply positive output end v1+, power supply positive output end v2+ ..., power supply
Positive output end vm+), first switch circuit be provided with m (be referred to as first switch circuit 1, first switch circuit 2 ..., the
One on-off circuit m), m power supply positive output end is connected one to one with m first switch circuit, and the one of power supply positive output end vm+
End connects DC source by first switch circuit m.Main control unit controls the break-make of the switch ways of m first switch circuit.
Power supply negative output terminal be provided with n (be referred to as power supply negative output terminal v1-, power supply negative output terminal v2- ..., power supply
Negative output terminal vn-), second switch circuit be provided with n (be referred to as second switch circuit 1, second switch circuit 2 ..., the
Two on-off circuit n), n power supply negative output terminal is connected one to one with n second switch circuit, and the one of power supply negative output terminal vn-
End is grounded by second switch circuit n.Main control unit controls the break-make of the switch ways of n second switch circuit.
Main control unit controls first switch circuit m and second switch circuit n conducting, and one end of power supply positive output end vm+ leads to
The switch ways crossing first switch circuit m connect DC source, and second switch circuit n is passed through in one end of power supply negative output terminal vn-
Switch ways ground connection.
So that each power supply positive output end corresponds to a line sensor, each power supply negative output terminal corresponds to a sensor as a example enter
Row explanation.For example, power supply positive output end vm+ corresponds to m line sensor, the other end of power supply positive output end vm+ respectively with corresponding
M line sensor (sensor m1, sensor m2 ..., sensor mn) power supply positive input terminal connect;Power supply negative output terminal
Vn- corresponds to the n-th sensor, the other end of power supply negative output terminal vn- respectively with corresponding n-th sensor (sensor 1n, biography
Sensor 2n ..., sensor mn) power supply negative input end connect.When main control unit controls first switch circuit m and second switch electricity
During road n conducting, the power supply positive input terminal of sensor mn connects DC source, power supply negative input end ground connection, electricity fortune on sensor mn
OK, sensor mn carries out signal transmission by signal transmission end and main control unit.
The multisensor control circuit of the present embodiment, multiple sensors are arranged in multiple lines and multiple rows, by main control unit control
First switch circuit and the conducting of second switch contactor path, thus control corresponding power supply positive output end to connect unidirectional current
Source, corresponding power supply negative output terminal ground connection, and then control this power supply positive output end and all corresponding sensor of power supply negative output terminal
Upper electricity runs;Because on synchronization only one of which sensor, electricity runs, power supply pressure is less, it is to avoid because electricity shortage leads to
Sensor and whole control circuit operation exception it is ensured that the normal operation of sensor and whole control circuit, improve
Power supply reliability and the reliability of sensor signal transmission;And, can be whole on the premise of need not improving power supply capacity
Lay greater number of sensor in control circuit, reduce circuit cost.
In the present embodiment, first switch circuit mainly includes first switch pipe and second switch pipe, and first switch pipe is
High conduction voltage drop switching tube, second switch pipe is low conduction voltage drop switching tube;The control end of first switch pipe connects main control unit,
One end ground connection of the switch ways of first switch pipe, the other end connects the control end of second switch pipe, the switch of second switch pipe
One end of path connects DC source, and the other end connects corresponding power supply positive output end.Main control unit output high level is to first
The control end of switching tube, the switch ways conducting of first switch pipe, the control end of second switch pipe is dragged down, second switch pipe
Switch ways turn on, and the electric current that DC source provides is transmitted to this first switch circuit pair by the switch ways of second switch pipe
The power supply positive output end answered.
In the present embodiment, first switch pipe elects Npn triode or nmos pipe as, and pnp audion elected as by second switch pipe
Or pmos pipe.
Second switch circuit mainly includes the 3rd switching tube, and the 3rd switching tube is high conduction voltage drop switching tube;3rd switch
The control end of pipe connects main control unit, one end ground connection of the switch ways of the 3rd switching tube, and the other end connects corresponding power supply and bears
Outfan.Main control unit exports high level to the control end of the 3rd switching tube, and the switch ways of the 3rd switching tube turn on, corresponding
The switch ways ground connection by the 3rd switching tube for the power supply negative output terminal.
In the present embodiment, the 3rd switching tube elects Npn triode or nmos pipe as.
In order to meet the demand of signal transmission end needs pull-up process it is ensured that the normal transmission of sensor signal, control electricity
Road also includes pull-up circuit, and signal transmission end is connected with pull-up circuit.Pull-up circuit mainly includes the 4th switching tube and pull-up electricity
Resistance etc., the 4th switching tube is low conduction voltage drop switching tube;The control end of the 4th switching tube connects main control unit, the 4th switching tube
One end of switch ways connects DC source, and the other end connects signal transmission end by pull-up resistor.Main control unit exports low electricity
Put down to the control end of the 4th switching tube, the switch ways conducting of the 4th switching tube, DC source passes through the switch of the 4th switching tube
Path, pull-up resistor connect signal transmission end, realize the pull-up to signal transmission end and process.
In the present embodiment, the 4th switching tube elects pnp audion or pmos pipe as.
In order to meet the demand of the drop-down process of signal transmission end needs it is ensured that the normal transmission of sensor signal, control electricity
Road also includes pull-down circuit, and signal transmission end is connected with pull-down circuit.Pull-down circuit mainly includes the 5th switching tube and drop-down electricity
Resistance etc., the 5th switching tube is high conduction voltage drop switching tube;The control end of the 5th switching tube connects main control unit, the 5th switching tube
One end ground connection of switch ways, the other end connects signal transmission end by pull down resistor.Main control unit output high level is to the 5th
The control end of switching tube, the switch ways conducting of the 5th switching tube, signal transmission end is grounded by pull down resistor, realizes to signal
The drop-down process of transmission ends.
In the present embodiment, the 5th switching tube elects Npn triode or nmos pipe as.
It is directly connected to the needs of DC source in order to meet signal transmission end needs it is ensured that the normal biography of sensor signal
Defeated, control circuit is additionally provided with the 6th switching tube, the 6th switching tube is low conduction voltage drop switching tube;The control of the 6th switching tube
End processed connects main control unit, and one end of the switch ways of the 6th switching tube connects DC source, and the other end connects described signal and passes
Defeated end.Main control unit exports low level to the control end of the 6th switching tube, the switch ways conducting of the 6th switching tube, signal transmission
End connects DC source by the switch ways of the 6th switching tube.
In the present embodiment, the 6th switching tube elects pnp audion or pmos pipe as.
In order to meet the directly grounded needs of signal transmission end needs it is ensured that the normal transmission of sensor signal, controlling
It is additionally provided with the 7th switching tube, the 7th switching tube is high conduction voltage drop switching tube in circuit;The control end of the 7th switching tube connects
Main control unit, one end ground connection of the switch ways of the 7th switching tube, the other end connects signal transmission end.The high electricity of main control unit output
Put down to the control end of the 7th switching tube, the switch ways conducting of the 7th switching tube, opening of the 7th switching tube is passed through at signal transmission end
Close path ground.
In the present embodiment, the 7th switching tube elects Npn triode or nmos pipe as.
Because the signal that the multiple sensors in sensor unit send may have polytype, for example, some sensors
The signal sending is analogue signal, and the signal that some sensors send is pulse signal, etc..For the ease of multi-signal form
Sensor communicated with main control unit, be additionally provided with control circuit analog signal processing circuit (as adc change electricity
Road), pulse signal process circuit (as pulse counting circuit or pulse width measurement circuit), level signal process circuit, asynchronous communication
Signal processing circuit etc., main control unit passes through analog signal processing circuit, pulse signal process circuit, level signal process respectively
Circuit, asynchronous communication signal processing circuit are connected with signal transmission end.By designing above-mentioned multiple signals in control circuit
Process circuit, increased the type of the sensor that can adopt in circuit, improves the scope of application of control circuit so that controlling
Circuit can realize more functions.
Due to being laid with multiple sensors in control circuit, in order to avoid the generation of sensor signal crosstalk phenomenon,
It is respectively connected with an analog switch, module switch switchs for high level conduct either analog between each sensor and interface unit;When
When the control end of this analog switch is high level, the switch ways conducting of analog switch;When the control end of this analog switch is low
During level, the switch ways of analog switch turn off, and the signal end of sensor is separated with the signal transmission end of interface unit.
Specifically, sensor corresponding power supply positive output end connects the power supply positive input terminal of analog switch, sensor pair
The power supply negative output terminal answered connects the power supply negative input end of analog switch, and one end of the switch ways of analog switch connects signal and passes
Defeated end, the other end connects the signal end of sensor;The control end of analog switch is led to by the switch of a low conduction voltage drop switching tube
Road connects power supply positive output end, and the control end of this switching tube connects power supply negative output terminal.
When power supply positive output end connects DC source, power supply negative output terminal ground connection, that is, on corresponding sensor during electricity, should
Switching tube turns on, and power supply positive output end connects the control end of analog switch by the switch ways of this switching tube, analog switch
Switch ways turn on, and the signal end of sensor carries out signal transmission by the switch ways of analog switch and signal transmission end.Should
Switching tube can select pnp audion or pmos pipe.
When electricity do not gone up by sensor, this switching tube turns off, and the switch ways of analog switch turn off, the signal end of this sensor
Circuit and the signal transmission end of interface unit between disconnects.
That is, when electricity on sensor, between the signal transmission end of the signal end of this sensor and interface unit
Circuit is just connected;Circuit when electricity do not gone up by sensor, between the signal transmission end of the signal end of this sensor and interface unit
Disconnect;Thus ensureing that only upper electric sensor could carry out signal transmission with interface unit, it is to avoid do not go up the sensor shadow of electricity
The normal signal transmission of the sensor of electricity on sound, it is to avoid the generation of sensor signal crosstalk phenomenon.
Analog switch both can select to be built it is also possible to be selected ready-made chip by audion or mos pipe, such as
Sn74auc1g66, sn74auc2g66 etc..
Certainly, analog switch can also select low level conduct either analog to switch, and the control end of analog switch is led by a height
The switch ways of logical pressure drop switch pipe connect power supply negative output terminal, and the control end of this switching tube connects power supply positive output end.Work as electricity
When source positive output end connects DC source, power supply negative output terminal ground connection, this switching tube turns on, and the control end of analog switch is passed through should
The switch ways of switching tube connect power supply negative output terminal, the switch ways conducting of analog switch, and the signal end of sensor passes through mould
Intend the switch ways of switch and signal transmission end carries out signal transmission.
The type of sensor is different, and the quantity of its signal end is also different, the quantity at signal transmission end of interface unit and biography
The quantity of the signal end of sensor is adapted.In the present embodiment, each sensor includes two signal ends, corresponding, interface
Unit includes two signal transmission ends: signal transmission end d1 and signal transmission end d2;Two signal transmission ends and each sensor
Two signal ends connect one to one.
With reference to Fig. 2, Fig. 3, the physical circuit assembling structure of multisensor control circuit and its operation principle are carried out in detail
Thin elaboration.
In control circuit, main control unit, analog signal processing circuit, pulse signal process circuit, level signal are processed
Circuit, asynchronous communication signal processing circuit are integrated in single-chip microcomputer;Sensor unit includes 9 sensors, 9 sensor arrangements
3 row 3 are become to arrange: sensor 11, sensor 12, sensor 13, sensor 21, sensor 22, sensor 23, sensor 31, sensing
Device 32, sensor 33, each sensor includes two signal ends;Interface unit cn1 includes 3 power supply positive output ends: power supply is just
Outfan v1+, power supply positive output end v2+, power supply positive output end v3+, 3 power supply negative output terminals: power supply negative output terminal v1-, electricity
Source negative output terminal v2-, power supply negative output terminal v3-;2 signal transmission ends: signal transmission end d1 and signal transmission end d2, two letters
Number transmission ends are connected one to one with two signal ends of each sensor, and signal transmission end d1 passes through holding wire d1 and single-chip microcomputer
Connect, signal transmission end d2 is connected with single-chip microcomputer by holding wire d2;It is adapted, in control circuit, open including 3 first
Close circuit: first switch circuit 1, first switch circuit 2, first switch circuit 3, and 3 second switch circuit: second switch
Circuit 1, second switch circuit 2, second switch circuit 3.
First switch circuit 1 mainly includes first switch pipe and second switch pipe, and first switch pipe is Npn triode n3,
Second switch pipe is pnp audion p3, and the base stage of n3 connects the pin p10 of single-chip microcomputer by current-limiting resistance, and the emitter stage of n3 connects
Ground, is connected with biasing resistor between the base stage of n3 and emitter stage, the colelctor electrode of n3 connects the base stage of p3 by current-limiting resistance, p3's
Emitter stage connects DC source vdd, is connected with biasing resistor between the emitter stage of p3 and base stage, and the colelctor electrode of p3 is just connecting power supply
Outfan v1+.Single-chip microcomputer pin p10 exports high level signal to the base stage of n3, and the switch ways conducting of n3, by the base stage electricity of p3
Horizontal drawing is low, the switch ways conducting of p3, and DC source vdd connects power supply positive output end v1+ by the switch ways of p3.That is,
3 sensors of a line: sensor 11, sensor 12, the power supply positive input terminal of sensor 13 connect DC source vdd.
First switch circuit 2 mainly includes first switch pipe and second switch pipe, and first switch pipe is Npn triode n2,
Second switch pipe is pnp audion p2, and the base stage of n2 connects the pin p11 of single-chip microcomputer by current-limiting resistance, and the emitter stage of n2 connects
Ground, is connected with biasing resistor between the base stage of n2 and emitter stage, the colelctor electrode of n2 connects the base stage of p2 by current-limiting resistance, p2's
Emitter stage connects DC source vdd, is connected with biasing resistor between the emitter stage of p2 and base stage, and the colelctor electrode of p2 is just connecting power supply
Outfan v2+.Single-chip microcomputer pin p11 exports high level signal to the base stage of n2, and the switch ways conducting of n2, by the base stage electricity of p2
Horizontal drawing is low, the switch ways conducting of p2, and DC source vdd connects power supply positive output end v2+ by the switch ways of p2.That is,
3 sensors of two row: sensor 21, sensor 22, the power supply positive input terminal of sensor 23 connect DC source vdd.
First switch circuit 3 mainly includes first switch pipe and second switch pipe, and first switch pipe is Npn triode n1,
Second switch pipe is pnp audion p1, and the base stage of n1 connects the pin p12 of single-chip microcomputer by current-limiting resistance, and the emitter stage of n1 connects
Ground, is connected with biasing resistor between the base stage of n1 and emitter stage, the colelctor electrode of n1 connects the base stage of p1 by current-limiting resistance, p1's
Emitter stage connects DC source vdd, is connected with biasing resistor between the emitter stage of p1 and base stage, and the colelctor electrode of p1 is just connecting power supply
Outfan v3+.Single-chip microcomputer pin p12 exports high level signal to the base stage of n1, and the switch ways conducting of n1, by the base stage electricity of p1
Horizontal drawing is low, the switch ways conducting of p2, and DC source vdd connects power supply positive output end v3+ by the switch ways of p1.That is,
3 sensors of three row: sensor 31, sensor 32, the power supply positive input terminal of sensor 33 connect DC source vdd.
Second switch circuit 1 mainly includes the 3rd switching tube, and the 3rd switching tube is Npn triode n4, and the base stage of n4 is passed through
Current-limiting resistance connects the pin p13 of single-chip microcomputer, the grounded emitter of n4, is connected with biased electrical between the base stage of n4 and emitter stage
Resistance, the colelctor electrode of n4 connects power supply negative output terminal v1-.Single-chip microcomputer pin p13 exports high level signal to the base stage of n4, and n4 opens
Close path conducting, the switch ways ground connection by n4 for the power supply negative output terminal v1-.That is, 3 sensors of first row: sensor 11,
Sensor 21, the power supply negative input end ground connection of sensor 31.
Second switch circuit 2 mainly includes the 3rd switching tube, and the 3rd switching tube is Npn triode n5, and the base stage of n5 is passed through
Current-limiting resistance connects the pin p14 of single-chip microcomputer, the grounded emitter of n5, is connected with biased electrical between the base stage of n5 and emitter stage
Resistance, the colelctor electrode of n5 connects power supply negative output terminal v2-.Single-chip microcomputer pin p14 exports high level signal to the base stage of n5, and n5 opens
Close path conducting, the switch ways ground connection by n5 for the power supply negative output terminal v2-.That is, 3 sensors of secondary series: sensor 12,
Sensor 22, the power supply negative input end ground connection of sensor 32.
Second switch circuit 3 mainly includes the 3rd switching tube, and the 3rd switching tube is Npn triode n6, and the base stage of n6 is passed through
Current-limiting resistance connects the pin p15 of single-chip microcomputer, the grounded emitter of n6, is connected with biased electrical between the base stage of n6 and emitter stage
Resistance, the colelctor electrode of n6 connects power supply negative output terminal v3-.Single-chip microcomputer pin p15 exports high level signal to the base stage of n6, and n6 opens
Close path conducting, the switch ways ground connection by n6 for the source negative output terminal v3-.That is, tertial 3 sensors: sensor 13, biography
Sensor 23, the power supply negative input end ground connection of sensor 33.
When Single-chip Controlling first switch circuit 3 and second switch circuit 3 turn on, the power supply positive input terminal of sensor 33
Connect DC source, power supply negative input end ground connection, on sensor 33, electricity runs, and sensor 33 passes through signal transmission end and master control list
Unit carries out signal transmission.Due to only controlling electricity on sensor 33 to run, power supply pressure is less, it is to avoid led to due to electricity shortage
Sensor and whole control circuit operation exception, it is ensured that the normal operation of sensor and whole control circuit, improve confession
Electric reliability and the reliability of sensor signal transmission.
Each signal transmission end of interface unit is respectively connected with a pull-up circuit, to meet the pull-up need at signal transmission end
Seek the normal transmission it is ensured that sensor signal.
D1 corresponding pull-up circuit in signal transmission end mainly includes pnp audion p4 and pull-up resistor r1 etc., the base stage of p4
Connect the pin p23 of single-chip microcomputer by current-limiting resistance, the emitter stage of p4 connects DC source vcc, connects between emitter stage and base stage
It is connected to biasing resistor, colelctor electrode connects holding wire d1 by pull-up resistor r1, signal transmission end d1 is connected by holding wire d1.Single
Piece power traction foot p23 exports low level signal to the base stage of p4, the switch ways conducting of p4, the switch by p4 for the DC source vcc
Path, pull-up resistor r1, holding wire d1 transmit to signal transmission end d1, realize the pull-up to signal transmission end d1 and process.
D2 corresponding pull-up circuit in signal transmission end mainly includes pnp audion p5 and pull-up resistor r2 etc., the base stage of p5
Connect the pin p22 of single-chip microcomputer by current-limiting resistance, the emitter stage of p5 connects DC source vcc, connects between emitter stage and base stage
It is connected to biasing resistor, colelctor electrode connects holding wire d2 by pull-up resistor r2, signal transmission end d2 is connected by holding wire d2.Single
Piece power traction foot p22 exports low level signal to the base stage of p5, the switch ways conducting of p5, the switch by p5 for the DC source vcc
Path, pull-up resistor r2, holding wire d2 transmit to signal transmission end d2, realize the pull-up to signal transmission end d2 and process.
Each signal transmission end of interface unit is respectively connected with a pull-down circuit, to meet the drop-down need at signal transmission end
Seek the normal transmission it is ensured that sensor signal.
D2 corresponding pull-down circuit in signal transmission end mainly includes Npn triode n7 and pull down resistor r6 etc., the base stage of n7
Connect the pin p24 of single-chip microcomputer, grounded emitter by current-limiting resistance, between base stage and emitter stage, be connected with biasing resistor, collection
Electrode connects holding wire d2 by pull down resistor r6, connects signal transmission end d2 by holding wire d2.Single-chip microcomputer pin p24 sends
High level signal to n7 base stage, the switch ways conducting of n7, holding wire d2 is grounded by pull down resistor r6, realizes to signal biography
The drop-down process of defeated end d2.
D1 corresponding pull-down circuit in signal transmission end mainly includes Npn triode n8 and pull down resistor r7 etc., the base stage of n8
Connect the pin p25 of single-chip microcomputer, grounded emitter by current-limiting resistance, between base stage and emitter stage, be connected with biasing resistor, collection
Electrode connects holding wire d1 by pull down resistor r7, connects signal transmission end d1 by holding wire d1.Single-chip microcomputer pin p25 sends
High level signal to n8 base stage, the switch ways conducting of n8, holding wire d1 is grounded by pull down resistor r7, realizes to signal biography
The drop-down process of defeated end d1.
Each signal transmission end of interface unit connects DC source by the switch ways of corresponding 6th switching tube, with
Meet signal transmission end and be directly connected to the demand of DC source it is ensured that the normal transmission of sensor signal.
D1 corresponding 6th switching tube in signal transmission end is pnp audion p6, and the base stage of p6 connects list by current-limiting resistance
The emitter stage of piece power traction foot p21, p6 connects DC source vcc, is connected with biasing resistor between emitter stage and base stage, and colelctor electrode is even
Meet holding wire d1, signal transmission end d1 is connected by holding wire d1.Single-chip microcomputer pin p21 sends low level signal to the base of p6
Pole, the switch ways conducting of p6, DC source vcc connects signal transmission end d1 by the switch ways of p6, holding wire d1, realizes
Signal transmission end d1 connects DC source.
D2 corresponding 6th switching tube in signal transmission end is pnp audion p7, and the base stage of p7 connects list by current-limiting resistance
The emitter stage of piece power traction foot p20, p7 connects DC source vcc, is connected with biasing resistor between emitter stage and base stage, and colelctor electrode is even
Meet holding wire d2, signal transmission end d2 is connected by holding wire d2.Single-chip microcomputer pin p20 sends low level signal to the base of p7
Pole, the switch ways conducting of p7, DC source vcc connects signal transmission end d2 by the switch ways of p7, holding wire d2, realizes
Signal transmission end connects DC source.
The switch ways ground connection by corresponding 7th switching tube for each the signal transmission end of interface unit, to meet signal
The directly grounded demand of transmission ends is it is ensured that the normal transmission of sensor signal.
D2 corresponding 7th switching tube in signal transmission end is Npn triode n9, and the base stage of n9 connects list by current-limiting resistance
Piece power traction foot p26, the grounded emitter of n9, it is connected with biasing resistor between base stage and emitter stage, colelctor electrode connects holding wire d2,
Signal transmission end d2 is connected by holding wire d2.Single-chip microcomputer pin p26 sends high level signal to the base stage of n9, and the switch of n9 leads to
Road turns on, and holding wire d2 is grounded, and then realizes signal transmission end d2 ground connection.
D1 corresponding 7th switching tube in signal transmission end is Npn triode n10, and the base stage of n10 is connected by current-limiting resistance
Single-chip microcomputer pin p27, the grounded emitter of n10, it is connected with biasing resistor between base stage and emitter stage, colelctor electrode connects holding wire
D1, connects signal transmission end d1 by holding wire d1.Single-chip microcomputer pin p27 sends high level signal to the base stage of n10, n10's
Switch ways turn on, and holding wire d1 is grounded, and then realize signal transmission end d1 ground connection.
Holding wire d1 connects single-chip microcomputer pin adi1 by resistance r3, and holding wire d2 connects single-chip microcomputer pin by resistance r4
Adi2, pin adi1 and adi2 is connected with the analog signal processing circuit within single-chip microcomputer respectively.Analog signal processing circuit leads to
Cross the analogue signal of transmission on pin adi1 and adi2 receipt signal line, send after treatment to main control unit.
Holding wire d1 connects pin plsi1 by resistance r5, and holding wire d2 connects pin plsi2, pin by resistance r8
Plsi1 and plsi2 is connected with the pulse signal process circuit within single-chip microcomputer respectively.Pulse signal process circuit passes through pin
On plsi1 and plsi2 receipt signal line, the pulse signal of transmission, sends after treatment to main control unit.
Holding wire d1 by resistance r9 connect pin p30, holding wire d2 by resistance r9 connect pin p31, pin p30 and
P31 is connected with the level signal process circuit within single-chip microcomputer respectively.Level signal process circuit is connect by pin p30 and p31
Receive the level signal of transmission on holding wire, send after treatment to main control unit.
Holding wire d1 connects pin rxd by resistance r11, and holding wire d2 connects pin txd, pin rxd by resistance r12
It is connected with the asynchronous communication signal processing circuit within single-chip microcomputer respectively with txd.Processed by asynchronous communication signal processing circuit
Asynchronous signal.
Therefore, different according to the signal type of sensor transmissions, using different signal processing circuits to signal at
Reason, is communicated with the sensor of multi-signal form in order to main control unit, improves letter between main control unit and sensor
Number transmission reliability, increased the type of the sensor that can adopt, improve the scope of application of control circuit.
In the present embodiment, it is respectively connected with an analog switch between each sensor and interface unit, it is to avoid sensor
The generation of signal cross-talk phenomenon.Because each sensor of the present embodiment includes two signal ends, therefore analog switch can select
Select sn74auc2g66 or two sn74auc1g66.Chip sn74auc1g66 includes a power supply positive input terminal, an electricity
Source negative input end, control end, switch ways, chip sn74auc2g66 includes a power supply positive input terminal, an electricity
Source negative input end, two control ends, two switch ways;When control end is for high level, corresponding switch ways conducting.
Fig. 4 is the connection diagram of analog switch and interface unit cn1 and sensor 11, and analog switch selects chip
sn74auc2g66.
The power supply positive output end v1+ of interface unit cn1 connects power supply positive input terminal v+ and the sensing of analog switch ic1 respectively
The power supply that the power supply negative output terminal v1- of the power supply positive input terminal v+ of device 11, interface unit cn1 connects analog switch ic1 respectively is born
The power supply negative input end v- of input v- and sensor 11;One end connecting interface list of the first switch path of analog switch ic1
The signal transmission end d1 of first cn1, the other end connects the signal end d1 of sensor 11;The second switch path of analog switch ic1
The signal transmission end d2 of one end connecting interface unit cn1, the other end connects the signal end d2 of sensor 11;Analog switch ic1's
First control end and the second control end connect the colelctor electrode of pnp audion p8 respectively, the emitter stage connecting interface unit cn1's of p8
Power supply positive output end v1+, base stage passes through the power supply negative output terminal v1- of current-limiting resistance connecting interface unit cn1, in emitter stage and base
It is connected with biasing resistor between pole.When first control end of analog switch ic1 is high level, the first switch of analog switch ic1
Path turns on;When second control end of analog switch ic1 is high level, the second switch path conducting of analog switch ic1.
When the power supply positive output end v1+ of interface unit cn1 connects DC source, power supply negative output terminal v1- ground connection, that is, pass
On sensor 11 during electricity, the switch ways of p8 turn on, and first control end of analog switch ic1 and the second control end are and are pulled to height
Level, the first switch path conducting of analog switch ic1, the conducting of second switch path, the signal end d1 of sensor 11 passes through mould
Intend the first switch path of switch ic1 and the signal transmission end d1 of interface unit cn1 carries out signal transmission, the signal of sensor 11
End d2 carries out signal transmission by the signal transmission end d2 of the second switch path of analog switch ic1 and interface unit cn1.Work as biography
When sensor 11 does not go up electricity, the switch ways of p8 turn off, and two switch ways of analog switch ic1 turn off, the signal of sensor 11
Circuit between end and the signal transmission end of interface unit cn1 disconnects.
Therefore, when electricity on sensor 11, the line between the signal transmission end of the signal end of sensor 11 and interface unit
Road is just connected;Circuit when electricity do not gone up by sensor 11, between the signal transmission end of the signal end of sensor 11 and interface unit
Disconnect;Thus ensureing that only upper electric sensor 11 could carry out signal transmission with interface unit, it is to avoid do not go up other biographies of electricity
The normal signal transmission of the sensor 11 of the upper electricity of sensor impact, it is to avoid the generation of sensor signal crosstalk phenomenon.
Based on the design of above-mentioned multisensor control circuit, the present embodiment also proposed a kind of electronic product, including described
Multisensor control circuit.
By designing described multisensor control circuit in electronic product, alleviate power supply pressure, it is to avoid due to supplying
, it is ensured that the normal operation of electronic product, the operation that improve electronic product can for the electronic product operation exception that electric deficiency leads to
By property;And, greater number of sensor can be laid on the premise of need not improving power supply capacity in electronic product, reduce
The cost of electronic product.
Certainly, described above is not to restriction of the present utility model, and this utility model is also not limited to the example above,
Change, remodeling, interpolation or replacement that those skilled in the art are made in essential scope of the present utility model,
Also protection domain of the present utility model should be belonged to.
Claims (10)
1. a kind of multisensor control circuit it is characterised in that: include main control unit, sensor unit, interface unit;
Described sensor unit includes multiple sensors, is arranged in rows and columns;
Described interface unit includes signal transmission end, multiple power supply positive output end, multiple power supply negative output terminal;
One end of each described power supply positive output end is all connected straight by the switch ways of each self-corresponding first switch circuit
Stream power supply;
One end of each described power supply negative output terminal is all grounded by the switch ways of each self-corresponding second switch circuit;
The other end of each described power supply positive output end corresponds to a line/sensor, and respectively with the sensor of this row/column
Power supply positive input terminal connects;
The other end of each described power supply negative output terminal corresponds to string/line sensor, and respectively with the sensor of this column/row
Power supply negative input end connects;
Described main control unit respectively with the control end of the first switch circuit each described, second switch circuit that each is described
Control end connects, and controls the logical of each described first switch circuit and each described switch ways of second switch circuit
Disconnected;
Described main control unit carries out signal transmission with the signal end of each sensor respectively by signal transmission end.
2. multisensor control circuit according to claim 1 it is characterised in that: described control circuit also include simulation letter
Number process circuit, pulse signal process circuit, level signal process circuit, asynchronous communication signal processing circuit, described master control list
Unit is respectively by described analog signal processing circuit, pulse signal process circuit, level signal process circuit, asynchronous communication letter
Number process circuit is connected with described signal transmission end.
3. multisensor control circuit according to claim 1 it is characterised in that: described first switch circuit includes first
Switching tube and second switch pipe, described first switch Guan Weigao conduction voltage drop switching tube, described second switch pipe is low conducting pressure
Fall switching tube;
The control end of described first switch pipe connects main control unit, and one end of the switch ways of described first switch pipe is grounded, separately
One end connects the control end of second switch pipe, and one end of the switch ways of described second switch pipe connects DC source, the other end
Connect corresponding power supply positive output end.
4. multisensor control circuit according to claim 1 it is characterised in that: described second switch circuit includes the 3rd
Switching tube, described 3rd switching tube is high conduction voltage drop switching tube;
The control end of described 3rd switching tube connects main control unit, and one end of the switch ways of described 3rd switching tube is grounded, separately
One end connects corresponding power supply negative output terminal.
5. multisensor control circuit according to claim 1 it is characterised in that: described control circuit also include pull-up electricity
Road, described pull-up circuit includes the 4th switching tube and pull-up resistor, and described 4th switching tube is low conduction voltage drop switching tube;
The control end of described 4th switching tube connects main control unit, and one end of the switch ways of described 4th switching tube connects direct current
Power supply, the other end connects described signal transmission end by described pull-up resistor.
6. multisensor control circuit according to claim 1 it is characterised in that: described control circuit also includes drop-down electricity
Road, described pull-down circuit includes the 5th switching tube and pull down resistor, and described 5th switching tube is high conduction voltage drop switching tube;
The control end of described 5th switching tube connects main control unit, and one end of the switch ways of described 5th switching tube is grounded, separately
One end connects described signal transmission end by described pull down resistor.
7. multisensor control circuit according to claim 1 it is characterised in that: described control circuit also includes the 6th and opens
Guan Guan, described 6th switching tube is low conduction voltage drop switching tube;
The control end of described 6th switching tube connects main control unit, and one end of the switch ways of described 6th switching tube connects direct current
Power supply, the other end connects described signal transmission end.
8. multisensor control circuit according to claim 1 it is characterised in that: described control circuit also includes the 7th and opens
Guan Guan, described 7th switching tube is high conduction voltage drop switching tube;
The control end of described 7th switching tube connects main control unit, and one end of the switch ways of described 7th switching tube is grounded, separately
One end connects described signal transmission end.
9. multisensor control circuit according to claim 1 it is characterised in that: each sensor and interface unit it
Between be respectively connected with high level conduct either analog switch,
The corresponding power supply positive output end of described sensor connects the power supply positive input terminal of analog switch,
The corresponding power supply negative output terminal of described sensor connects the power supply negative input end of analog switch,
One end of the switch ways of described analog switch connects described signal transmission end, and the other end connects the signal of described sensor
End;
The control end of described analog switch connects described power supply positive output end by the switch ways of a low conduction voltage drop switching tube,
The control end of described switching tube connects power supply negative output terminal.
10. a kind of electronic product it is characterised in that: include multisensor as claimed in any one of claims 1-9 wherein and control electricity
Road.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620771489.7U CN205910541U (en) | 2016-07-21 | 2016-07-21 | Multisensor control circuit and electronic product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620771489.7U CN205910541U (en) | 2016-07-21 | 2016-07-21 | Multisensor control circuit and electronic product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205910541U true CN205910541U (en) | 2017-01-25 |
Family
ID=57804747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620771489.7U Withdrawn - After Issue CN205910541U (en) | 2016-07-21 | 2016-07-21 | Multisensor control circuit and electronic product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205910541U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020060A (en) * | 2016-07-21 | 2016-10-12 | 姜德志 | Multi-sensor control circuit and control method thereof |
-
2016
- 2016-07-21 CN CN201620771489.7U patent/CN205910541U/en not_active Withdrawn - After Issue
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020060A (en) * | 2016-07-21 | 2016-10-12 | 姜德志 | Multi-sensor control circuit and control method thereof |
CN106020060B (en) * | 2016-07-21 | 2019-03-12 | 姜德志 | A kind of multisensor control circuit and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103384184B (en) | Transmitter circuit and method for controlling operation thereof | |
CN102354171B (en) | Remote matrix switch control module having RS422 interface | |
CN103490757B (en) | A kind of signal output method and device based on I/O interfaces | |
CN103926853A (en) | Programmable resistance output device and method | |
CN103929169A (en) | Sensor output level isolation and conversion circuit, level isolation and conversion circuit and device | |
CN205910541U (en) | Multisensor control circuit and electronic product | |
CN203149559U (en) | Multi-slave-structure MBUS host machine device | |
CN106020060B (en) | A kind of multisensor control circuit and control method | |
CN202931272U (en) | Electronic device and signal one-out-of-two circuit thereof | |
CN101820314A (en) | Single-line bidirectional communication optical coupling isolation circuit | |
CN101452434A (en) | Multi-load topological structure | |
CN102857719A (en) | Power supply control system and power supply control method | |
CN102231930B (en) | Light-control digital interface circuit | |
CN208154732U (en) | Slave communication circuit, slave, electrical equipment and master-slave communication circuit | |
CN103546138A (en) | Touch key control circuit | |
CN201927018U (en) | Automatic wire holder for 2<8N>/2 paths of household appliances capable of realizing output data management through interconnecting lines of serial port | |
CN106533429A (en) | strong and weak electric isolation device and electric appliance | |
CN102857232A (en) | Key detection circuit and key detection method | |
CN202340215U (en) | Driving circuit for remotely controlling output of direct instruction | |
CN107659301A (en) | Level shifting circuit and interface communication systems | |
CN201569170U (en) | Communication system of gas water heater with function of stagger joint and remedy | |
CN206181000U (en) | Level switching circuit | |
CN202150929U (en) | Audio device and audio switching circuit thereof | |
CN207475278U (en) | A kind of two-supply circuit | |
CN110260906A (en) | A kind of code device signal detection circuit of compatible with multiple encoder type |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20170125 Effective date of abandoning: 20190312 |
|
AV01 | Patent right actively abandoned |