CN110134052A - A kind of digital signal acquiring circuit being compatible with a variety of output forms - Google Patents
A kind of digital signal acquiring circuit being compatible with a variety of output forms Download PDFInfo
- Publication number
- CN110134052A CN110134052A CN201910530236.9A CN201910530236A CN110134052A CN 110134052 A CN110134052 A CN 110134052A CN 201910530236 A CN201910530236 A CN 201910530236A CN 110134052 A CN110134052 A CN 110134052A
- Authority
- CN
- China
- Prior art keywords
- digital signal
- circuit
- input terminal
- signal acquiring
- output
- 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
- 230000008878 coupling Effects 0.000 claims abstract description 9
- 238000010168 coupling process Methods 0.000 claims abstract description 9
- 238000005859 coupling reaction Methods 0.000 claims abstract description 9
- 230000005611 electricity Effects 0.000 claims description 9
- 238000000034 method Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/21—Pc I-O input output
- G05B2219/21119—Circuit for signal adaption, voltage level shift, filter noise
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses a kind of digital signal acquiring circuits for being compatible with a variety of output forms, comprising: reversely follows circuit, connect with the input terminal of digital signal acquiring circuit, for by the phasing back of digital input signals and improving signal driving capability;Signal couples output circuit, and there are two input terminals for tool, is separately connected the input terminal of digital signal acquiring circuit and reversely follows the output end of circuit, for exporting low level when digital input signals are low level;Signal behavior output circuit, there are two input terminal, the output ends of the input terminal and signal coupling output circuit that are separately connected digital signal acquiring circuit to export high level when the signal for inputting at least one input terminal is high level for tool.The digital signal acquiring circuit can be compatible with the digital signal of three kinds of output forms simultaneously, it is thus possible to while the devices such as sensor, valve, switch of compatible a variety of digital signal forms, it can simplify field connection, layout, improve system availability and reliability.
Description
Technical field
The present invention relates to field of circuit technology, and in particular to a kind of digital signal acquiring electricity for being compatible with a variety of output forms
Road.
Background technique
Currently, single-chip microcontroller, PLC(Programmable Logic Controller that industrial control field is commonly used, can compile
Journey logic controller) etc. all have digital signal interface, the devices such as sensor, valve, switch output digital signal can access
To the digital signal acquiring channel of single-chip microcontroller, PLC.
From signal output form angle, the devices such as sensor can be divided into three classes, 1. digital output signal is high level
And high-impedance state;2. digital output signal is low level and high-impedance state;3. digital output signal is high level and low level.Due to passing
The signal output form of the devices such as sensor is in design without compulsory unified standard, and single-chip microcontroller, the digital signal of PLC are defeated in addition
Incoming interface limited amount, therefore the digital signal interface of single-chip microcontroller etc. does not adapt to all signal input devices, if defeated
When entering signal can not be directly accessed, need just to can solve by intermediate conversion, or the circuit of redesign signal acquisition terminal.
Summary of the invention
The present invention is intended to provide a kind of digital signal acquiring circuit for being compatible with a variety of output forms.The circuit is a kind of comprehensive
Digital signal acquiring circuit, the digital signal of above-mentioned three kinds of output forms can be compatible with simultaneously, work can be greatly simplified in this way
The work such as wiring, the layout at industry scene improve the practicability and reliability of system.
The technical solution adopted is as follows:
A kind of digital signal acquiring circuit being compatible with a variety of output forms, comprising: circuit is reversely followed, with digital signal acquiring electricity
The input terminal on road connects, for by the phasing back of digital input signals and improving signal driving capability;Signal coupling output electricity
Road, there are two input terminals for tool, are separately connected the input terminal of digital signal acquiring circuit and reversely follow the output end of circuit, are used for
When the digital input signals of the input terminal of digital signal acquiring circuit are low level, low level is exported;Signal behavior output electricity
Road, there are two input terminals for tool, are separately connected the input terminal of digital signal acquiring circuit and the output end of signal coupling output circuit,
When signal for inputting at least one input terminal is high level, high level is exported;The signal behavior output circuit it is defeated
Output end of the outlet as digital signal acquiring circuit.
In a kind of optional implementation, the signal behavior output circuit is or door;The signal couples output circuit
For two-way optocoupler;It is described that reversely to follow circuit include phase inverter and operational amplifier.
In a kind of optional implementation, the input of described or door the input terminal connection digital signal acquiring circuit
End, another input terminal connect the output end of the two-way optocoupler;One input terminal of the two-way optocoupler connects digital signal
The input terminal of Acquisition Circuit, another input terminal connect the output end of the operational amplifier;The input terminal of the phase inverter connects
The input terminal of digital signal acquiring circuit is connect, output end connects the input terminal of the operational amplifier;Described or door output end
Output end as digital signal acquiring circuit.
Optionally, when digital input signals are high level, described or door output end exports high level.
Optionally, when digital input signals are low level, two input terminals of the two-way optocoupler are respectively low level
And high level, so that the two-way optocoupler exports low level to described or door, then described or door two input terminals are low electricity
Flat, then described or door the output end exports low level.
Optionally, when digital input signals are high-impedance state, described or door exports high-impedance state.
Optionally, the output end of the signal behavior output circuit is for connecting single-chip microcontroller or PLC.
As can be seen from the above technical solutions, the invention has the following advantages that
Digital signal acquiring circuit of the invention can be compatible with a variety of output forms such as high level, low level and high-impedance state simultaneously
Digital signal, it is thus possible to while compatible devices such as sensor, valve, switch of a variety of digital signal forms at present, without examining
The signal form for considering access device, enormously simplifies the work such as industry spot wiring, layout, can be improved the practicability of system with
Reliability.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the functional block diagram for the digital signal acquiring circuit that one embodiment of the present of invention provides;
Fig. 2 is the circuit diagram for the digital signal acquiring circuit that one embodiment of the present of invention provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Term " includes " in description and claims of this specification and above-mentioned attached drawing and " having " and they appoint
What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process, method, system, production of a series of steps or units
Product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or
Optionally further comprising the other step or units intrinsic for these process, methods, product or equipment.
Below by specific embodiment, it is described in detail respectively.
Referring to FIG. 1, one embodiment of the present of invention, provides a kind of digital signal acquiring electricity for being compatible with a variety of output forms
Road, it may include:
Circuit 10 reversely is followed, is connect with the input terminal of digital signal acquiring circuit, for the phase of digital input signals is anti-
Turn and improves signal driving capability;
Signal couples output circuit 11, and tool is separately connected the input terminal of digital signal acquiring circuit and reversed there are two input terminal
Follow the output end of circuit 10, for digital input signals be low level when, export low level;
Signal behavior output circuit 12, there are two input terminals for tool, are separately connected the input terminal and signal of digital signal acquiring circuit
The output end for coupling output circuit 11 exports high level when the signal for inputting at least one input terminal is high level;
Output end of the output end of the signal behavior output circuit 12 as digital signal acquiring circuit, for connecting single-chip microcontroller
Or PLC.
Wherein, signal coupling output circuit 11 may include two parallel-connection light-emitting diodes and a phototriode, be used for
When the signal of two input terminals input has pressure difference, make one of LEDs ON, and then phototriode is enabled to export
Low level.
In some embodiments, the signal behavior output circuit can be or door, and the signal coupling output circuit can be with
For two-way optocoupler, described reversely to follow circuit may include phase inverter and operational amplifier.Specific circuit structure such as Fig. 2 institute
Show.
As shown in Fig. 2, the digital signal acquiring circuit can include: or door U2, two-way optocoupler O1, by phase inverter U1And fortune
Calculate amplifier F1What is constituted reversely follows circuit 10.
Wherein, described or door U2An input terminal connection digital signal acquiring circuit input terminal A1, another input terminal
Connect the two-way optocoupler O1Output end;
The two-way optocoupler O1An input terminal connection digital signal acquiring circuit input terminal A1, the connection of another input terminal
The operational amplifier F1Output end;
The phase inverter U1Input terminal connection digital signal acquiring circuit input terminal A1, the output end connection operation amplifier
Device F1Input terminal;
Described or door U2Output terminals A of the output end as digital signal acquiring circuit2, for connecting single-chip microcontroller or PLC.
Two-way optocoupler is one kind of photo-coupler (opticalcoupler, english abbreviation OC), and photo-coupler is also known as light
Electric isolator or photoelectrical coupler, abbreviation optocoupler.Optocoupler is the device for carrying out transmission telecommunications number using light as medium, usually photophore
It is encapsulated in same shell with light-receiving device.When input terminal power up signal, photophore emits beam, and light-receiving device receives after light
It with regard to generating photoelectric current, is flowed out from output end, to realize " electricity-light-electricity " conversion.Optionally, the bi-directional light in the present invention
Coupling may include photophore and light-receiving device, and the photophore includes two light emitting diodes of reverse parallel connection, and the light-receiving device includes
Phototriode.
As described above, The present invention gives the digital signal acquiring circuits that one kind can be compatible with three kinds of output forms simultaneously.
Digital input signals are divided into 3 tunnels by the digital signal acquiring circuit, and the 1st tunnel is directly connected to one of input terminal of disjunction gate;
2nd tunnel is directly connected to one of input terminal of " two-way optocoupler ";3rd tunnel first passes around one " phase inverter ", then by by
" operational amplifier " constitute voltage follower circuit, be linked into another input terminal of " two-way optocoupler ", " two-way optocoupler " it is defeated
Outlet is directly connected to another input terminal of disjunction gate.
The working principle for dividing three kinds of situations to describe the digital signal acquiring circuit below:
1. digital input signals are high level
When signal is high level, since the 1st tunnel of digital input signals has been directly connected to an input terminal of disjunction gate,
No matter another input terminal of disjunction gate is any level, and output end must be high level, that is, single-chip microcontroller/PLC IO
What (Input/Output, input/output) interface arrived is exactly high level.
2. digital input signals are low level
When signal is low level, the 2nd tunnel of digital input signals has been directly connected to an input terminal of " two-way optocoupler ", number
The 3rd tunnel of input signal becomes high level by " phase inverter " effect, using the voltage follow electricity being made of " operational amplifier "
After road, level does not change, but driving capability improves, another input terminal of " two-way optocoupler " is entered, due to " two-way
Two input terminals of optocoupler " are there are pressure difference, so LEDs ON and phototriode is promoted to be connected, at this point, " two-way
Optocoupler " exports low level, and for disjunction gate, two input terminals are all low level, therefore disjunction gate output end is low level,
What namely single-chip microcontroller/PLC I/O interface received is low level.
3. digital input signals are high-impedance state
When signal is high-impedance state, the 1st tunnel of input signal does not have any influence for disjunction gate, is equivalently employed without access;Number
The 2nd road of input signal and the 3rd tunnel do not have any influence for " two-way optocoupler ", that is, do not have any influence to disjunction gate, that
The state of single-chip microcontroller/PLC I/O interface is also high-impedance state.
It is worth noting that general external digital signal cannot directly access single-chip microcontroller/PLC, signal will be by processing
To single-chip microcontroller.Cause are as follows: be easy to damage single-chip microcontroller/PLC firstly, being directly accessed external digital signal, and level may
It mismatches;Secondly, the output form of the devices such as sensor be it is various, when actual use, the acquisition for the prior art
For circuit, it is necessary to know that the type of this sensor, the form of output signal just can determine how access acquisition electricity in advance
Road, different sensors are needed with different Acquisition Circuits.And the present invention solves this problem with a unified circuit,
Without considering further that type sensor is, which kind of form is output signal be, no matter which kind of is ok, and believes through number of the invention
After the processing of number Acquisition Circuit, the signal for meeting single-chip microcontroller input requirements can be finally exported.
Digital signal acquiring circuit of the invention, key point are:
1, circuit structure, including phase inverter, the voltage follower circuit being made of operational amplifier, two-way optocoupler or door.
2, the input terminal of the digital signal acquiring circuit is sensor, and the digital signal that output end is single-chip microcontroller/PLC etc. is logical
Road can be used as a part of signal acquisition module.
Digital signal acquiring circuit of the invention can be compatible with a variety of outputs such as high level, low level and high-impedance state simultaneously
The digital signal of form, it is thus possible at the same the compatible devices such as sensor, valve, switch of a variety of digital signal forms at present, nothing
The signal form that need to consider access device, enormously simplifies the work such as industry spot wiring, layout, the practical of system can be improved
Property and reliability.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment
Part, may refer to the associated description of other embodiments.
Above-described embodiment is merely illustrative of the technical solution of the present invention, rather than its limitations;The ordinary skill people of this field
Member is it is understood that it can still modify to technical solution documented by the various embodiments described above, or to part of skill
Art feature is equivalently replaced;And these are modified or replaceed, each reality of the present invention that it does not separate the essence of the corresponding technical solution
Apply the spirit and scope of a technical solution.
Claims (7)
1. a kind of digital signal acquiring circuit for being compatible with a variety of output forms characterized by comprising
Circuit reversely is followed, is connect with the input terminal of digital signal acquiring circuit, for by the phasing back of digital input signals
And improve signal driving capability;
Signal couples output circuit, tool there are two input terminal, be separately connected digital signal acquiring circuit input terminal and reversely with
With the output end of circuit, for exporting low level when digital input signals are low level;
Signal behavior output circuit, there are two input terminals for tool, are separately connected the input terminal and signal coupling of digital signal acquiring circuit
The output end for closing output circuit exports high level when the signal for inputting at least one input terminal is high level;
Output end of the output end of the signal behavior output circuit as digital signal acquiring circuit.
2. digital signal acquiring circuit according to claim 1, which is characterized in that
The signal behavior output circuit is or door that the signal coupling output circuit is two-way optocoupler, described reversely to follow electricity
Road includes phase inverter and operational amplifier.
3. digital signal acquiring circuit according to claim 2, which is characterized in that
The input terminal of described or door the input terminal connection digital signal acquiring circuit, the connection of another input terminal are described two-way
The output end of optocoupler;
The two-way optocoupler an input terminal connection digital signal acquiring circuit input terminal, another input terminal connection described in
The output end of operational amplifier;
The input terminal of the input terminal connection digital signal acquiring circuit of the phase inverter, output end connect the operational amplifier
Input terminal;
Output end of described or door the output end as digital signal acquiring circuit.
4. digital signal acquiring circuit according to claim 3, which is characterized in that
When digital input signals are high level, described or door output end exports high level.
5. digital signal acquiring circuit according to claim 3, which is characterized in that
When digital input signals are low level, two input terminals of the two-way optocoupler are respectively low level and high level, are made
The two-way optocoupler exports low level to described or door, then described or door two input terminals are low level, then it is described or
The output end of door exports low level.
6. digital signal acquiring circuit according to claim 3, which is characterized in that
When digital input signals are high-impedance state, described or door exports high-impedance state.
7. -6 any digital signal acquiring circuit according to claim 1, which is characterized in that
The output end of the signal behavior output circuit is for connecting single-chip microcontroller or PLC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910530236.9A CN110134052B (en) | 2019-06-19 | 2019-06-19 | Digital signal acquisition circuit compatible with multiple output forms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910530236.9A CN110134052B (en) | 2019-06-19 | 2019-06-19 | Digital signal acquisition circuit compatible with multiple output forms |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110134052A true CN110134052A (en) | 2019-08-16 |
CN110134052B CN110134052B (en) | 2024-04-26 |
Family
ID=67578157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910530236.9A Active CN110134052B (en) | 2019-06-19 | 2019-06-19 | Digital signal acquisition circuit compatible with multiple output forms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134052B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003189196A (en) * | 2001-12-21 | 2003-07-04 | Funai Electric Co Ltd | Input signal selector |
CN1531203A (en) * | 2003-03-17 | 2004-09-22 | 联想(北京)有限公司 | Universal bi-directional digital signal electric separator |
CN203070022U (en) * | 2013-01-16 | 2013-07-17 | 广州市能迪自动化设备有限公司 | Digital signal input and output circuit module and circuit system thereof |
CN105790746A (en) * | 2016-04-13 | 2016-07-20 | 华中科技大学 | Digital signal fiber transmission triggering system |
CN107682003A (en) * | 2017-09-15 | 2018-02-09 | 上海微程电气设备有限公司 | A kind of number bus isolates telecommunication circuit |
US20180102896A1 (en) * | 2016-10-09 | 2018-04-12 | Huawei Technologies Co., Ltd. | Digital Signal Input Circuit |
CN207910758U (en) * | 2018-03-29 | 2018-09-25 | 大连大铁通益科技有限公司 | A kind of digital signal interface circuit and industrial equipment |
CN109884384A (en) * | 2019-04-03 | 2019-06-14 | 深圳市佳运通电子有限公司 | A kind of signal acquisition circuit of compatible electric current and voltage input |
CN209728490U (en) * | 2019-06-19 | 2019-12-03 | 深圳市佳运通电子有限公司 | One kind being used for single-chip microcontroller/PLC digital signal acquiring circuit |
-
2019
- 2019-06-19 CN CN201910530236.9A patent/CN110134052B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003189196A (en) * | 2001-12-21 | 2003-07-04 | Funai Electric Co Ltd | Input signal selector |
CN1531203A (en) * | 2003-03-17 | 2004-09-22 | 联想(北京)有限公司 | Universal bi-directional digital signal electric separator |
CN203070022U (en) * | 2013-01-16 | 2013-07-17 | 广州市能迪自动化设备有限公司 | Digital signal input and output circuit module and circuit system thereof |
CN105790746A (en) * | 2016-04-13 | 2016-07-20 | 华中科技大学 | Digital signal fiber transmission triggering system |
US20180102896A1 (en) * | 2016-10-09 | 2018-04-12 | Huawei Technologies Co., Ltd. | Digital Signal Input Circuit |
CN107682003A (en) * | 2017-09-15 | 2018-02-09 | 上海微程电气设备有限公司 | A kind of number bus isolates telecommunication circuit |
CN207910758U (en) * | 2018-03-29 | 2018-09-25 | 大连大铁通益科技有限公司 | A kind of digital signal interface circuit and industrial equipment |
CN109884384A (en) * | 2019-04-03 | 2019-06-14 | 深圳市佳运通电子有限公司 | A kind of signal acquisition circuit of compatible electric current and voltage input |
CN209728490U (en) * | 2019-06-19 | 2019-12-03 | 深圳市佳运通电子有限公司 | One kind being used for single-chip microcontroller/PLC digital signal acquiring circuit |
Also Published As
Publication number | Publication date |
---|---|
CN110134052B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110784263A (en) | Optical fiber transmission device with redundancy function based on FPGA | |
CN103279109B (en) | Locomotive digital quantity acquisition device based on MVB | |
CN102931971B (en) | Three-state control signal input/output (IO) circuit | |
CN103984268A (en) | Input and output device of signal logic controller and signal logic controller | |
CN209728490U (en) | One kind being used for single-chip microcontroller/PLC digital signal acquiring circuit | |
CN105721059B (en) | Profibus-DP photoelectric signal transformation systems | |
CN106647393A (en) | CAN bus automatic coding circuit and method | |
CN105162514B (en) | Optical fiber ring network communication system and method | |
CN105872060A (en) | Communication method and system, and data collection end device | |
CN110134052A (en) | A kind of digital signal acquiring circuit being compatible with a variety of output forms | |
CN107579967A (en) | A kind of protocol converter for supporting serial protocol | |
CN106253984B (en) | Optical fiber-RS485 chromacoders | |
CN206270694U (en) | A kind of CAN autocoding circuit | |
CN202196412U (en) | Data processing device compatible with various data types | |
CN1588474A (en) | Wood safety anti-explosion interface device | |
CN204304165U (en) | Usb adapter | |
CN107329417A (en) | A kind of microcontroller and its input and output pin mapping circuit | |
CN103346894B (en) | Chip chamber interface conversion circuit and the network equipment | |
CN203595923U (en) | RS485 star-type photoelectric hybrid transmission equipment | |
CN105425687A (en) | Control circuit capable of expanding multiple IO ports by using 74HC595 chip | |
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 | |
CN101662405A (en) | Communication circuit of CAN bus | |
CN204481819U (en) | Microminiaturized pulse signal optical fiber modulator-demodulator | |
CN202404431U (en) | Input interface device realizing interconnection between distributed control system and measurement equipment | |
CN204495966U (en) | A kind of straight-throughization proving installation of low-power consumption differential transfer chip |
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 |