CN102497197A - Isolated bidirectional digital input output circuit - Google Patents

Isolated bidirectional digital input output circuit Download PDF

Info

Publication number
CN102497197A
CN102497197A CN201110446122XA CN201110446122A CN102497197A CN 102497197 A CN102497197 A CN 102497197A CN 201110446122X A CN201110446122X A CN 201110446122XA CN 201110446122 A CN201110446122 A CN 201110446122A CN 102497197 A CN102497197 A CN 102497197A
Authority
CN
China
Prior art keywords
mouth
optocoupler
signal
circuit
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110446122XA
Other languages
Chinese (zh)
Inventor
唐文秀
王胜勇
卢家斌
康现伟
李传涛
李四川
李海东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wisdri Wuhan Automation Co Ltd
Original Assignee
Wisdri Wuhan Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wisdri Wuhan Automation Co Ltd filed Critical Wisdri Wuhan Automation Co Ltd
Priority to CN201110446122XA priority Critical patent/CN102497197A/en
Publication of CN102497197A publication Critical patent/CN102497197A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to an isolated bidirectional digital input output circuit. The circuit comprises an I/O port. When the I/O port is taken as an input port, a power supply is added to the I/O port; after an electric signal of the I/O port passes through a voltage division circuit and a first filter circuit, a first optical coupler device is conducted; and after the electric signal of the first optical coupler device passes through a first current limiting resistor and a second filter circuit, the signal is transmitted to a signal input port which can be connected with a programmable logic device. When the I/O port is taken as an output port, after a driving signal output by a programmable controller CPLD passes through a second current limiting resistor, a first triode is triggered; after the electric signal of a collector electrode of the first triode passes through a third current limiting resistor and a third filter circuit, a second optical coupler device is triggered; after the electric signal of the second optical coupler device is amplified by a second triode, the electric signal is transmitted to the I/O port. By using the circuit, a user can conveniently configure and save the number of the I/O. A complete isolation mode is used to improve reliability.

Description

Band is isolated the bi-directional digital imput output circuit
Technical field
The present invention relates to a kind of digital in-output circuit, relate in particular to a kind of band and isolate the bi-directional digital imput output circuit, this circuit can make the user can freely select input and output mode under the cooperation of software.
Background technology
In the commercial Application, along with the continuous development of power electronic technology, microelectric technique and modern control theory, frequency converter has been widely used in the frequency control of alternating current motor in modern times.Because frequency converter is driveability and better controlling characteristic efficiently, and it is widely used in industry-by-industries such as iron and steel, chemical industry, weaving, mechanical electric power, papermaking.In each application scenario, digital input/output port is absolutely necessary, and it is widely used in control external devices action and accepts switching signal, to reach frequency converter and external system is cooperated normally.
At present, in the frequency converter of each brand, digital input/output port definition has nothing in common with each other; Major part is all separated; Be that input port and delivery outlet are irrelevant, the digital input and output of required usefulness can not be satisfied concrete demand under a lot of situation, and this just causes the waste of input and output terminal.Though the product that has in addition have can be multiplexing digital input and output terminal, it is not externally isolated, therefore outside interference might influence internal circuit, thereby has influenced the normal operation of entire product.
Fig. 1 is existing digital input circuit; Fig. 2 is existing digital output circuit; Numeral input port DI and digital output DO separate separately, and external power source DC receives input port DI through K switch, make the input conducting of optocoupler U1 through divider resistance R1, R2; The level of the output of optocoupler U1 is pulled down to 0.7V by VCC and makes that importing detection signal CDI changes, and accomplishes once digital input function at this moment; Optocoupler U2 sends the conducting of drive signal DO_DRIVE control optocoupler U2 input as the isolating chip of digital quantity output by CPLD, and this moment, output port needed external power supply DC and load RL to accomplish the digital quantity output function.
There is following shortcoming in this numeral input circuit that output is separated with numeral: 1, occupy the I/O resource, can not reasonably distribute the I/O mouth according to user's real needs, cause the waste of I/O mouth.2, digital output circuit can not provide external power supply, needs external power supply could accomplish digital output function, has limited the use occasion of product with this.
Summary of the invention
Technical problem to be solved by this invention provides a kind of band and isolates the bi-directional digital imput output circuit; The input/output port of this circuit is same port; Avoided the waste of I/O mouth, and can under the cooperation of software, make the user can freely select input and output mode.
The present invention for the technical scheme that problem adopted of the above-mentioned proposition of solution is:
A kind of band is isolated the bi-directional digital imput output circuit, and it includes the I/O mouth;
When I/O mouth the time as input port; Additional power source is to the I/O mouth; The signal of telecommunication of I/O mouth is behind the bleeder circuit and first filter circuit; Make the first optocoupler conducting, the signal of telecommunication that first optocoupler comes out behind first current-limiting resistance and second filter circuit, pass the signal along to signal input that programmable logic device is connected on;
When I/O mouth the time as output port; The drive signal of Programmable Logic Controller CPLD output triggers first triode behind second current-limiting resistance; The signal of telecommunication that the collector electrode of first triode comes out is behind the 3rd current-limiting resistance and the 3rd filter circuit; Trigger second optocoupler, the signal of telecommunication that second optocoupler comes out arrives the I/O mouth with electrical signal transfer after second triode amplifies.
Press such scheme, the Standard resistance range of described first current-limiting resistance is 66 Ω-3300 Ω; The Standard resistance range of described the 3rd current-limiting resistance is 100 Ω-500 Ω.
Press such scheme, when the I/O mouth was as input port, the I/O mouth connect a dummy resistance.
Press such scheme, described first filter circuit and the second filtered electrical routing capacitance and resistance are composed in series.
Press such scheme, described the 3rd filtered electrical routing capacitance and resistance are formed in parallel.
Press such scheme, described first optocoupler and second optocoupler are made up of light-emitting diode and phototriode.
When I/O mouth the time as digital output port; See DO DRIVE off as output drive signal by Programmable Logic Controller CPLD; First triode conducting this moment, the collector electrode of first triode is pulled down to the 0.7V effect, after the second optocoupler conducting; The signal that second optocoupler comes out is loaded into the I/O mouth after second triode amplifies, realize digital output function.When I/O mouth the time as digital input port; External voltage is added on the I/O mouth; Behind bleeder circuit and filter circuit, make the input of first optocoupler produce pressure reduction, the first optocoupler conducting; The signal that first optocoupler comes out passes the signal along on the digital signal input port that is connected with Programmable Logic Controller CPLD behind first current-limiting resistance and the second filtering road.
Beneficial effect of the present invention is: 1, independently optocoupler is all adopted in digital input and output, realizes the isolation fully of user interface and internal circuit.2, when I/O mouth during as delivery outlet, second triode amplifies voltage signal, so just operating power can be provided externally, has also improved the load capacity of digital output certainly accordingly.3, the input/output port of this circuit is same port, has avoided the waste of I/O mouth, and can under the cooperation of software, make the user freely select input and output mode, and is very easy to use.
Description of drawings
Fig. 1 is existing digital input circuit schematic diagram.
Fig. 2 is existing digital output circuit schematic diagram.
Fig. 3 isolates bi-directional digital imput output circuit schematic diagram for band of the present invention.
Fig. 4 isolates bi-directional digital imput output circuit Saber artificial circuit for band of the present invention.
Embodiment
Further specify embodiments of the invention below in conjunction with accompanying drawing.
Referring to Fig. 3; A kind of band is isolated the bi-directional digital imput output circuit; It includes the I/O mouth, I/O mouth external load resistance R L, and the I/O mouth is connected with the emitter of the second triode Q2; The base stage of the second triode Q2 is connected with the emitter of the second triode Q2 through resistance R 5; The collector electrode of the second triode Q2 is connected with the collector electrode of the phototriode of the second optocoupler U1, and the collector electrode of the second triode Q2 is connected with voltage VCC, and the base stage of the second triode Q2 is connected with the emitter of the phototriode of the second optocoupler U1; The anode of the second optocoupler U1 is connected with voltage VDD; The parallel connection back of the anode connecting resistance R4 of the second optocoupler U1 and capacitor C 1 is connected with the negative electrode of the second optocoupler U1, and the negative electrode of the second optocoupler U2 is connected the back and is connected with the collector electrode of the first triode Q1 with the 3rd current-limiting resistance R3, and the base stage of the first triode Q1 is connected with the emitter of the first triode Q1 after resistance R 2; The grounded emitter of the first triode Q1, the utmost point of the first triode Q1 are connected with the DO_DRIVE drive signal of Programmable Logic Controller CPLD output after the second current-limiting resistance R1 connects;
I/O mouth external power supply DC, K switch; The I/O mouth is connected back ground connection with dummy resistance R6; The I/O mouth is connected the back and is connected with the anode of the first optocoupler U2 with resistance R 7; The anode of the first optocoupler U2 is connected the minus earth of the first optocoupler U2, the grounded emitter of the phototriode of the first optocoupler U2 with the back that is connected in parallel of resistance R 8 and capacitor C 2 with the negative electrode of the first optocoupler U2; The collector electrode of the phototriode of the first optocoupler U2 with meet voltage VDD after the first current-limiting resistance R9 is connected; The collector electrode of the phototriode of the first optocoupler U2 is connected the back and is connected with signal input port CDI with filter resistance R10, signal input port CDI is connected back ground connection with capacitor C 3, and digital input signals port CDI issues Programmable Logic Controller CPLD with signal.
The second optocoupler U1, the first optocoupler U2 bear the isolation of numeral output, digital input signals respectively.When port the time as digital output mode; It is high level that host computer or keyboard are provided with the I/O mouth, and this moment, CPLD output drive signal DO DRIVE was a high level, first triode Q1 conducting this moment; The collector electrode of the first triode Q1 is pulled down to the 0.7V effect; The light-emitting diode conducting of the second optocoupler U1, VCC voltage is loaded into the I/O mouth through phototriode and the second triode Q2 composition common collector amplifying circuit of the second optocoupler U1, realizes digital output function.When port the time as digital input pattern; External voltage is added on the IO port; The bleeder circuit of being made up of resistance R 7, R8 makes the light-emitting diode conducting of the optocoupler U2 that wins; The phototriode work of the first optocoupler U2 makes the voltage VDD of digital input signals CDI become 0.7V, oppositely realizes the variation of digital input signals again through Programmable Logic Controller CPLD.Numeral output drive signal DO DRIVE and digital input signals CDI carry out bus and latch in CPLD.
In the present embodiment, the Standard resistance range of first current-limiting resistance is 66 Ω-3300 Ω; The Standard resistance range of the 3rd current-limiting resistance is 100 Ω-500 Ω.
Resistance R 7 is composed in series first filter circuit with capacitor C 2; Capacitor C 3 is composed in series second filter circuit with resistance R 10; Resistance R 7 is composed in series bleeder circuit with resistance R 8; Resistance R 4 composes in parallel the 3rd filter circuit with capacitor C 1.
Public one of digital input/output port of the present invention, the pattern of port is selected by software, the user is had select the space more freely.
Circuit simulation experiment of the present invention is as shown in Figure 4; It includes the I/O mouth; I/O mouth external load resistance R L, the I/O mouth is connected with the emitter of triode q2, and the base stage of triode q2 is connected with the emitter of triode q2 through resistance r2; The collector electrode of triode q2 is connected with the collector electrode of the phototriode of optocoupler U1; The collector electrode of triode q2 is connected with voltage VCC, and the base stage of triode q2 is connected with the emitter of the phototriode of optocoupler U1, and the anode of optocoupler U1 is connected with voltage VCC; The parallel connection back of the anode connecting resistance r9 of optocoupler U1 and electric capacity c3 is connected with the negative electrode of optocoupler U1; The negative electrode of optocoupler U2 is connected the back and is connected with the collector electrode of triode q1 with the 3rd current-limiting resistance r8, the grounded emitter of triode q1, and the base stage of triode q1 links to each other with signal generator V_pulse after current-limiting resistance r3 connection and is driven by it control figure and exports.
Through Saber software circuit is carried out emulation, all parameters are all set by actual requirement in the circuit.Obtain table one simulation result according to different loads RL.
Table one Saber simulation result VCC=24V
W RL(mW) RL(Ω) ?UO(V) I RL(mA)
0 1M 23.335 0.023335
376 1440 23.29 16.1
423 1280 23.288 18.2
542 1000 23.28 23.28
1081 500 23.258 46.5
2247 240 23.225 96.7
4477 120 23.181 193.2
8903 60 23.113 385.2
17637 30 23.003 766.7
34686 15 22.81 1520.7
In the table: RL: load resistance; W RL: load power consumption; UO: output voltage; I RL: load current.Can find out by test result, guarantee the precision of output voltage ± 5%, can be with in theory and carry 1.5A.
The actual band of circuit of the present invention carries experiment
Carry out on the high-performance transducer EC550 product of this experiment based on Wisdri's research and development production; Method adds a slide rheostat (firm and hard existing by test fixture) at the I/O end makes load change to 90 Ω from 1M Ω, records the digital quantity output characteristic shown in table two through ammeter.
Table two, actual band carry experimental result VCC=22.47
W RL(mW) RL(Ω) UO(V) I RL(mA)
0 1M 21.71 0
322 1440 21.57 14.8
360 1280 21.5 16.6
458 1000 21.43 21.3
906 502 21.38 42.4
1796 244 21.11 85.1
3378 123 20.55 164.4
4183 90 19.55 214
In the table: RL: load resistance; W RL: load power consumption; UO: output voltage; I RK: load current.
Experiment is linked on the frock plate and is tested, and the VCC of this moment is the precision that 22.47V. considers output voltage ± 5%, can be loaded into 164mA.
Further verified the feasibility of circuit of the present invention through test and emulation.Digital in-output circuit under more original technology, visible circuit of the present invention can make things convenient for the user to dispose and save I/O quantity under the prerequisite that does not reduce product function; Adopt full isolation method to improve reliability; The load driving power extension product scope of application can externally be provided, also improve competitiveness of product simultaneously.
The above; Only being preferred embodiment of the present invention, is not that the present invention is done any pro forma restriction, and those skilled in the art utilize the technology contents of above-mentioned announcement to make a little simple modification; Equivalent variations or modification all drop in protection scope of the present invention.

Claims (6)

1. a band is isolated the bi-directional digital imput output circuit, and it is characterized in that: it includes the I/O mouth;
When I/O mouth the time as input port; Additional power source is to the I/O mouth; The signal of telecommunication of I/O mouth is behind the bleeder circuit and first filter circuit; Make the first optocoupler conducting, the signal of telecommunication that first optocoupler comes out behind first current-limiting resistance and second filter circuit, pass the signal along to signal input that programmable logic device is connected on;
When I/O mouth the time as output port; The drive signal of Programmable Logic Controller CPLD output triggers first triode behind second current-limiting resistance; The signal of telecommunication that the collector electrode of first triode comes out is behind the 3rd current-limiting resistance and the 3rd filter circuit; Trigger second optocoupler, the signal of telecommunication that second optocoupler comes out arrives the I/O mouth with electrical signal transfer after second triode amplifies.
2. band as claimed in claim 1 is isolated the bi-directional digital imput output circuit, and it is characterized in that: the Standard resistance range of described first current-limiting resistance is 66 Ω-3300 Ω; The Standard resistance range of described the 3rd current-limiting resistance is 100 Ω-500 Ω.
3. band as claimed in claim 1 is isolated the bi-directional digital imput output circuit, and it is characterized in that: when the I/O mouth was as input port, the I/O mouth connect a dummy resistance.
4. band as claimed in claim 1 is isolated the bi-directional digital imput output circuit, and it is characterized in that: described first filter circuit and the second filtered electrical routing capacitance and resistance are composed in series.
5. band as claimed in claim 1 is isolated the bi-directional digital imput output circuit, and it is characterized in that: described the 3rd filtered electrical routing capacitance and resistance are formed in parallel.
6. band as claimed in claim 1 is isolated the bi-directional digital imput output circuit, and it is characterized in that: described first optocoupler and second optocoupler are made up of light-emitting diode and phototriode.
CN201110446122XA 2011-12-28 2011-12-28 Isolated bidirectional digital input output circuit Pending CN102497197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110446122XA CN102497197A (en) 2011-12-28 2011-12-28 Isolated bidirectional digital input output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110446122XA CN102497197A (en) 2011-12-28 2011-12-28 Isolated bidirectional digital input output circuit

Publications (1)

Publication Number Publication Date
CN102497197A true CN102497197A (en) 2012-06-13

Family

ID=46188993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110446122XA Pending CN102497197A (en) 2011-12-28 2011-12-28 Isolated bidirectional digital input output circuit

Country Status (1)

Country Link
CN (1) CN102497197A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857209A (en) * 2012-09-29 2013-01-02 黑龙江大学 Microprocessor I/O (input/output) interface conversion circuit with bidirectional transmission function
CN104242901A (en) * 2013-11-19 2014-12-24 深圳市邦彦信息技术有限公司 Device for achieving input function and output function of single IO port at the same time and implementation method thereof
CN107065716A (en) * 2016-12-20 2017-08-18 中核控制系统工程有限公司 A kind of digital quantity acquiring circuit with dynamic diagnosis failures
CN107248861A (en) * 2017-06-06 2017-10-13 上海华力微电子有限公司 A kind of imput output circuit with LPF function
CN108322209A (en) * 2018-03-29 2018-07-24 大连大铁通益科技有限公司 A kind of digital signal interface circuit and industrial equipment
CN109302172A (en) * 2018-11-29 2019-02-01 广东电网有限责任公司 A kind of electromagnetic interference isolation circuit apparatus for unmanned plane
CN111176152A (en) * 2019-12-03 2020-05-19 上海辛格林纳新时达电机有限公司 Optical coupling switching input signal source circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5068545A (en) * 1989-04-20 1991-11-26 Elsag International B.V. Digital/frequency input for industrial control applications
CN2682506Y (en) * 2004-03-17 2005-03-02 海信集团有限公司 Tax-control cashing machine with novel power supply monitoring module
CN101399451A (en) * 2007-11-06 2009-04-01 中国科学院电工研究所 Energy cut protection device for solar automatically tracking system
CN201260164Y (en) * 2008-10-13 2009-06-17 成都大重信科技发展有限公司 Digital board transmitting based on Bluetooth interface
CN202025033U (en) * 2011-01-13 2011-11-02 西北工业大学 Bidirectional input/output interface circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5068545A (en) * 1989-04-20 1991-11-26 Elsag International B.V. Digital/frequency input for industrial control applications
CN2682506Y (en) * 2004-03-17 2005-03-02 海信集团有限公司 Tax-control cashing machine with novel power supply monitoring module
CN101399451A (en) * 2007-11-06 2009-04-01 中国科学院电工研究所 Energy cut protection device for solar automatically tracking system
CN201260164Y (en) * 2008-10-13 2009-06-17 成都大重信科技发展有限公司 Digital board transmitting based on Bluetooth interface
CN202025033U (en) * 2011-01-13 2011-11-02 西北工业大学 Bidirectional input/output interface circuit

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857209A (en) * 2012-09-29 2013-01-02 黑龙江大学 Microprocessor I/O (input/output) interface conversion circuit with bidirectional transmission function
CN102857209B (en) * 2012-09-29 2015-03-04 黑龙江大学 Microprocessor I/O (input/output) interface conversion circuit with bidirectional transmission function
CN104242901A (en) * 2013-11-19 2014-12-24 深圳市邦彦信息技术有限公司 Device for achieving input function and output function of single IO port at the same time and implementation method thereof
CN107065716A (en) * 2016-12-20 2017-08-18 中核控制系统工程有限公司 A kind of digital quantity acquiring circuit with dynamic diagnosis failures
CN107065716B (en) * 2016-12-20 2020-05-22 中核控制系统工程有限公司 Digital quantity acquisition circuit with dynamic fault diagnosis capability
CN107248861A (en) * 2017-06-06 2017-10-13 上海华力微电子有限公司 A kind of imput output circuit with LPF function
CN108322209A (en) * 2018-03-29 2018-07-24 大连大铁通益科技有限公司 A kind of digital signal interface circuit and industrial equipment
CN108322209B (en) * 2018-03-29 2023-09-08 大连大铁通益科技有限公司 Digital signal interface circuit and industrial equipment
CN109302172A (en) * 2018-11-29 2019-02-01 广东电网有限责任公司 A kind of electromagnetic interference isolation circuit apparatus for unmanned plane
CN109302172B (en) * 2018-11-29 2022-06-28 广东电网有限责任公司 Electromagnetic interference isolation circuit device for unmanned aerial vehicle
CN111176152A (en) * 2019-12-03 2020-05-19 上海辛格林纳新时达电机有限公司 Optical coupling switching input signal source circuit

Similar Documents

Publication Publication Date Title
CN102497197A (en) Isolated bidirectional digital input output circuit
CN103605017A (en) Detection method of vehicle switch quantity signal
CN106878872A (en) A kind of peripheral circuit for eliminating noise signal
CN103684407A (en) Otg device
CN206932172U (en) A kind of power supply and its self discharge control circuit
CN206211501U (en) A kind of locked protection circuit of new output overvoltage
CN205847223U (en) A kind of singly-bound Sofe Switch electromechanics road possessing hardware forced shutdown function
CN104703110A (en) Horn state diagnosis circuit
CN206331022U (en) A kind of charging pile busbar voltage Acquisition Circuit
CN206270863U (en) Cmos data remove device and computer
CN201213227Y (en) Multifunctional input terminal
CN105223429B (en) A kind of multi-module type configuration type detection device
CN201152972Y (en) High-performance intelligent M-module-based VXI bus test module
CN103941122B (en) A kind of Multifunction transformer test comprehensive test device
CN207367089U (en) A kind of control circuit of main board power supply device and electric appliance
CN104025535B (en) Device and Differential Input mode communication apparatus for generating the terminal resistance of Differential Input pattern communication
CN207218534U (en) A kind of power-switching circuit of compatible two kinds of adapters
CN204008900U (en) Energy efficiency testing device
CN104111851B (en) Embedded system switches starter
CN104375479A (en) Device with slave control units replaceable and master-slave matching method thereof
CN103107591B (en) A kind of electric supply installation of portable digital equipment and method
CN206686066U (en) Frequency converter digital signal input end and frequency converter
CN204362015U (en) A kind of switching circuit with delay power function
CN203981833U (en) A kind of signal Combined Processing circuit
CN109449915A (en) Circuit is protected in built-in miniaturization suitable for the power-up out of order of TR component

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120613