CN104850520B - A kind of USB multifunction converters and its conversion method - Google Patents

A kind of USB multifunction converters and its conversion method Download PDF

Info

Publication number
CN104850520B
CN104850520B CN201510263508.5A CN201510263508A CN104850520B CN 104850520 B CN104850520 B CN 104850520B CN 201510263508 A CN201510263508 A CN 201510263508A CN 104850520 B CN104850520 B CN 104850520B
Authority
CN
China
Prior art keywords
diode
infrared
circuit
negative electrode
signal
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.)
Expired - Fee Related
Application number
CN201510263508.5A
Other languages
Chinese (zh)
Other versions
CN104850520A (en
Inventor
赵良德
赵永红
刘志宏
陈良坤
李爱卿
梁晓伟
杨乐
蔺菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Anhui Electric Power Co Ltd
Henan Xuji Instrument Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Anhui Electric Power Co Ltd
Henan Xuji Instrument 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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Anhui Electric Power Co Ltd, Henan Xuji Instrument Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510263508.5A priority Critical patent/CN104850520B/en
Publication of CN104850520A publication Critical patent/CN104850520A/en
Application granted granted Critical
Publication of CN104850520B publication Critical patent/CN104850520B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3852Converter between protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Optical Communication System (AREA)

Abstract

The present invention relates to a kind of USB multifunction converters, turn serial port circuit including USB, itself and signal fault-tolerant processing circuit both-way communication, signal fault-tolerant processing circuit with Phototube Coupling and each other repeat circuit respectively, infrared receiving/transmission circuit both-way communication, Phototube Coupling and each other repeat circuit respectively with RS485 circuits, infrared receiving/transmission circuit both-way communication, the Phototube Coupling and each other repeat circuit turn infrared circuit by RS485 and the infrared RS485 circuits that turn are constituted, the infrared receiving/transmission circuit is by infrared transmitting tube D16 and for receiving the infrared receiving circuit that the infrared receiving tube of outside infrared signal is constituted, the RS485 circuits and outside RS485 terminal both-way communications.The invention also discloses a kind of conversion method of new USB multifunction converters.The present invention is integrated with a converter turns serial ports multiple communication modes based on USB, that is USB turns serial ports, USB and turns RS485 communications, USB and turn infrared communication, RS485 to turn infrared communication and infrared turn RS485 communications totally 5 kinds of communication modes, it is more extensive using scope, and cost is relatively low.

Description

A kind of USB multifunction converters and its conversion method
Technical field
The present invention relates to converter technology field, especially a kind of USB multifunction converters and its conversion method.
Background technology
At present, the converter of in the market only has a kind of function, such as USB turns serial ports, USB and turns RS485, USB turns remote red It is outer etc., and a kind of communication modes can only be used.Communication interface between multiple product, different products is frequently encountered at work Sometimes there was only RS485 communication interfaces, sometimes only Far-infrared communication interface, the two has concurrently sometimes, is so accomplished by different Toggled between converter, the converter of simple function and communication modes can be adversely affected to operating efficiency.
The content of the invention
The primary and foremost purpose of the present invention is to provide a kind of cost low, and being integrated with USB on a converter turns serial ports, USB Turn RS485, USB to turn infrared, RS485 and turn infrared, infrared many kinds of the RS485 that turns to change communication modes, at the same RS485 and it is infrared can Complete the USB multifunction converters of adaptive communications.
To achieve the above object, present invention employs following technical scheme:A kind of USB multifunction converters, including with it is outer USB interface connected USB in portion's turns serial port circuit, itself and signal fault-tolerant processing circuit both-way communication, signal fault-tolerant processing circuit point Repeat circuit, infrared receiving/transmission circuit both-way communication not with Phototube Coupling and each other, Phototube Coupling and each other repeat circuit respectively with RS485 circuits, infrared receiving/transmission circuit both-way communication, the Phototube Coupling and each other repeat circuit by RS485 turn infrared circuits and Infrared to turn RS485 circuits composition, the infrared receiving/transmission circuit is by infrared transmitting tube D16 and by for receiving outside infrared signal The infrared receiving circuit of infrared receiving tube composition, the RS485 circuits and outside RS485 terminal both-way communications.
Also include USB power source circuit, USB power source circuit point two-way is exported, and a road direction USB turns serial port circuit and powered, another Road is powered by high withstand voltage electrical isolation power circuit to RS485 circuits;The USB turns the output end of serial port circuit and signal refers to Show that the input of circuit is connected.
The signal fault-tolerant processing circuit include chip J1, chip J1 be 74HC08 chips or and gate circuit, its 1 pin difference Anode, electric capacity C31 with double diode V7, resistance R63 one end are connected, electric capacity C31 other end ground connection, double diode V7's Negative electrode receives RS485 and receives signal, and the resistance R63 other end is connected with double diode V7 negative electrode, the double diode V7 by Diode V71 and diode V72 are composed in series, diode V71 anode as double diode V7 anode, diode V71's Anode, the diode V72 negative electrode of negative electrode respectively with diode V72 are connected, and diode V72 negative electrode is used as duodiode V7's Negative electrode;Anode of 2 pin of the chip J1 respectively with electric capacity C32, resistance R64 one end, double diode V8 is connected, electric capacity C32 Other end ground connection, double diode V8 negative electrode, which receives USB and turns the USB of serial port circuit transmission, to be turned serial ports and sends signal, resistance R64 The other end be connected with double diode V8 negative electrode, the double diode V8 is composed in series by diode V81 and diode V82, Diode V81 anode is used as double diode V8 anode, diode V81 negative electrode anode respectively with diode V82, two poles Pipe V82 negative electrode is connected, diode V82 negative electrode as duodiode V8 negative electrode;Chip J1 5 pin receive infrared receiving tube The received IR signal of reception;Chip J1 6 pin are connected with resistance R39 one end, resistance the R39 other end and triode Q14 Base stage be connected, triode Q14 colelctor electrode is connected with resistance R65 one end, triode Q14 colelctor electrode export it is fault-tolerant after Received IR signal turns RS485 circuits, triode Q14 emitter stage base to infrared.
The RS485, which turns infrared circuit, includes optocoupler U5, and it inputs the RS485 reception letters that termination RS485 circuits are received Number, its output end is connected with double diode V9 negative electrode, the one end of double diode V9 anode respectively with resistance R73, resistance R45 It is connected, the resistance R73 other end is connected with triode Q8 base stage, triode Q8 colelctor electrode and triode Q9 emitter stage phase Even, double diode V10 anode is connected with double diode V9 anode, and double diode V10 negative electrode receives USB and turns serial ports transmission Signal, triode Q9 base stage is connected with resistance R74 one end, and the resistance R74 other end receives infrared carrier wave modulated signal, three Pole pipe Q9 colelctor electrode is connected with infrared transmitting tube D16 anode, and infrared transmitting tube D16 negative electrode is grounded by resistance R75, institute Double diode V9 is stated to be composed in series by diode V91 and diode V92, diode V92 anode as double diode V9 sun Pole, anode, the diode V91 negative electrode of diode V92 negative electrode respectively with diode V91 is connected, and diode V91 negative electrode is made For duodiode V9 negative electrode;The double diode V10 is composed in series by diode V101 and diode V102, diode V102 Anode be used as double diode V10 anode, anode, the diode V101 of diode V102 negative electrode respectively with diode V101 Negative electrode be connected, diode V101 negative electrode as duodiode V10 negative electrode.
The infrared RS485 circuits that turn include double diode V11, the output end phase of its negative electrode and signal fault-tolerant processing circuit Even, its anode is connected with optocoupler U6 input, and optocoupler U6 output end is connected with the input of RS485 circuits, double diode V12 anode is connected with double diode V11 anode, and double diode V12 negative electrode receives USB and turns serial ports transmission signal, described Double diode V11 is composed in series by diode V111 and diode V112, and diode V112 anode is used as double diode V11's Anode, anode, the diode V111 negative electrode of diode V112 negative electrode respectively with diode V111 is connected, diode V111's Negative electrode as duodiode V11 negative electrode;The double diode V12 is composed in series by diode V121 and diode V122, and two Pole pipe V122 anode is used as double diode V12 anode, diode V122 negative electrode anode respectively with diode V121, two Pole pipe V121 negative electrode is connected, diode V121 negative electrode as duodiode V12 negative electrode.
The signal indicating circuit is made up of transmission indicator lamp, codan lamp and power supply indicator, and three is using hair Optical diode.
Another object of the present invention is to provide a kind of conversion method of USB multifunction converters, this method includes:In hair When sending data, USB turns serial port circuit and sends data to signal fault-tolerant processing circuit, is divided into two groups by signal fault-tolerant processing circuit Data are sent, one group is sent to RS485 circuits by the infrared RS485 circuits that turn, realize that RS485 level is forwarded, another group of warp RS485 turns infrared circuit and sent to infrared receiving/transmission circuit, completes infrared carrier wave signal modulation through infrared receiving/transmission circuit, realizes infrared Signal is forwarded;
When receiving data, in RS485 communication process, if infrared receiving/transmission circuit receives infrared signal simultaneously, signal holds Wrong process circuit carries out fault-tolerant processing to the RS485 signals received and the infrared signal received, masks received IR signal;
In infrared receiver data, when receiving infrared data, signal is held by signal fault-tolerant processing circuit Mistake, completes IR signal reception;
When RS485 circuits receive external data, the data pass through while up-delivering signal fault-tolerant processing circuit RS485 turns infrared circuit and is forwarded to infrared receiving/transmission circuit, completes the transmission of infrared signal;
When infrared transmission circuit receives data, the data are while up-delivering signal fault-tolerant processing circuit, by red The outer RS485 circuits that turn are forwarded to RS485 circuits, complete the transmission of RS485 signals.
As shown from the above technical solution, the advantage of the invention is that:First, the present invention is integrated with base on a converter In USB turn serial ports multiple communication modes, i.e. USB turn serial ports, USB turn RS485 communication, USB turn infrared communication, RS485 turn it is infrared Communication and the infrared RS485 that turns communicate totally 5 kinds of communication modes, more extensive using scope, and cost is relatively low;Second, communication speed At 1200 to 2400bps, can each other change, forward between RS485 communications and infrared communication, and RS485 and it is infrared can Adaptive communications is completed, without switch switching, it becomes possible to automatic and external connection;3rd, power sourced electric isolation, the photoelectricity of communication Isolation is effectively protected converter, protects the computer for providing USB interface.
Brief description of the drawings
Fig. 1 is circuit block diagram of the invention;
Fig. 2,3,4,5,6 for the present invention in signal fault-tolerant processing circuit, RS485 turn infrared circuit, it is infrared turn RS485 electricity Road, infrared receiving circuit, the circuit theory diagrams of signal indicating circuit.
Embodiment
A kind of USB multifunction converters, including the USB being connected with external USB interface turn serial port circuit, and it is fault-tolerant with signal Process circuit both-way communication, repeat circuit, infrared receiving/transmission circuit are double with Phototube Coupling and each other respectively for signal fault-tolerant processing circuit To communication, Phototube Coupling and each other repeat circuit respectively with RS485 circuits, infrared receiving/transmission circuit both-way communication, the photoelectricity every From and repeat circuit turns infrared circuits and the infrared RS485 circuits that turn by RS485 and constituted each other, the infrared receiving/transmission circuit is by infrared Transmitting tube D16 and by for receiving the infrared receiving circuit that the infrared receiving tube of outside infrared signal is constituted, the RS485 circuits With outside RS485 terminals both-way communication.Also include USB power source circuit, USB power source circuit point two-way output, a road direction USB turns string Mouth circuit is powered, and another road is powered by high withstand voltage electrical isolation power circuit to RS485 circuits;The USB turns serial port circuit Output end be connected with the input of signal indicating circuit.As shown in Figure 1.
As shown in figure 1, the power supply of RS485 circuits is due to consideration that influence in actual use thermally is, it is necessary to make With insulating power supply, high withstand voltage electrical isolation power circuit has also reached effective protection computer while stabilized power source is provided Effect, computer here refers to the computer for providing USB interface.
As shown in Fig. 2 the signal fault-tolerant processing circuit includes chip J1, chip J1 is 74HC08 chips or electric with door Road, its 1 pin anode respectively with double diode V7, electric capacity C31, resistance R63 one end are connected, electric capacity C31 other end ground connection, Double diode V7 negative electrode receives RS485 and receives signal, and the resistance R63 other end is connected with double diode V7 negative electrode, described Double diode V7 is composed in series by diode V71 and diode V72, diode V71 anode as double diode V7 anode, Anode, the diode V72 negative electrode of diode V71 negative electrode respectively with diode V72 are connected, diode V72 negative electrode conduct Duodiode V7 negative electrode;2 pin of the chip J1 respectively with electric capacity C32, resistance R64 one end, double diode V8 anode It is connected, electric capacity C32 other end ground connection, double diode V8 negative electrode, which receives USB and turns the USB of serial port circuit transmission, turns serial ports transmission Signal, the resistance R64 other end is connected with double diode V8 negative electrode, and the double diode V8 is by diode V81 and diode V82 is composed in series, diode V81 anode as double diode V8 anode, diode V81 negative electrode respectively with diode V82 anode, diode V82 negative electrode are connected, diode V82 negative electrode as duodiode V8 negative electrode;Chip J1 5 pin Receive the received IR signal that infrared receiving tube is received;Chip J1 6 pin are connected with resistance R39 one end, and resistance R39's is another End is connected with triode Q14 base stage, and triode Q14 colelctor electrode is connected with resistance R65 one end, triode Q14 current collection Received IR signal after pole output is fault-tolerant turns RS485 circuits, triode Q14 emitter stage base to infrared.Turn in processing USB When serial ports sends the transmission of signal, signal fault-tolerant processing circuit does not work, i.e., without fault-tolerant;Receive RS485 signals and During infrared signal, the work of signal fault-tolerant processing circuit;When only receiving infrared signal, the work of signal fault-tolerant processing circuit.
As shown in Fig. 2 RS485 receives signal RS485_RXD reaches chip J1, USB by resistance R63, duodiode V7 Turn serial ports and send signal TXD by resistance R64, duodiode V8 arrival chip J1, it is same that infrared receiving tube receives signal HW_RXD1 When reach the pin of chip J1 the 5th, chip J1 complete to receive RS485 signal RS485_RXD, USB turn serial ports send signal TXD, Infrared receiving tube is received after signal HW_RXD1 three's signal fault-tolerant processing, by resistance R39, through triode Q14 outputs it is fault-tolerant after Received IR signal HW_RXD.It can be seen that, signal, RS485 are sent to serial ports by signal fault-tolerant processing circuit and receive signal and red The processing of the external collection of letters number, can be effectively ensured the signal cross-talk phenomenon between RS485, the transmitting-receiving of infrared circuit, while also avoiding Occurs internal loopback phenomenon during infrared communication.
As shown in figure 3, the RS485, which turns infrared circuit, includes optocoupler U5, it inputs what termination RS485 circuits were received RS485 receives signal, and its output end is connected with double diode V9 negative electrode, double diode V9 anode respectively with resistance R73, electricity The one end for hindering R45 is connected, and the resistance R73 other end is connected with triode Q8 base stage, triode Q8 colelctor electrode and triode Q9 emitter stage is connected, and double diode V10 anode is connected with double diode V9 anode, and double diode V10 negative electrode is received USB turns serial ports and sends signal, and triode Q9 base stage is connected with resistance R74 one end, and the resistance R74 other end receives infrared load Ripple modulated signal, triode Q9 colelctor electrode is connected with infrared transmitting tube D16 anode, and infrared transmitting tube D16 negative electrode passes through Resistance R75 is grounded, and the double diode V9 is composed in series by diode V91 and diode V92, diode V92 anode conduct Double diode V9 anode, anode, the diode V91 negative electrode of diode V92 negative electrode respectively with diode V91 is connected, and two Pole pipe V91 negative electrode as duodiode V9 negative electrode;The double diode V10 is connected by diode V101 and diode V102 Composition, diode V102 anode is as double diode V10 anode, and diode V102 negative electrode is respectively with diode V101's Anode, diode V101 negative electrode are connected, diode V101 negative electrode as duodiode V10 negative electrode.RS485 receives signal RS485_RXD, after signal fault-tolerant processing processing of circuit, by double diode V9, resistance R73, reaches triode Q8, warp After being superimposed with the triode Q9 38kHZ carrier signals reached, the carrier signal of modulation is passed through by infrared transmitting tube D16 infrared Launch, complete infrared emission.
As shown in figure 4, the infrared RS485 circuits that turn include double diode V11, its negative electrode and signal fault-tolerant processing circuit Output end be connected, its anode is connected with optocoupler U6 input, optocoupler U6 output end and the input phase of RS485 circuits Even, double diode V12 anode is connected with double diode V11 anode, and double diode V12 negative electrode receives USB and turns serial ports hair The number of delivering letters, the double diode V11 is composed in series by diode V111 and diode V112, and diode V112 anode is as double Diode V11 anode, anode, the diode V111 negative electrode of diode V112 negative electrode respectively with diode V111 is connected, Diode V111 negative electrode as duodiode V11 negative electrode;The double diode V12 is by diode V121 and diode V122 Be composed in series, diode V122 anode as double diode V12 anode, diode V122 negative electrode respectively with diode V121 anode, diode V121 negative electrode are connected, diode V121 negative electrode as duodiode V12 negative electrode.Sending During USB converter rs 232 serial interface signal, USB converter serial ports sends signal TXD through double diode V12, after U6 Phototube Couplings, turns 485_TXD is changed to, completing signal by RS485 circuit conversions sends;When receiving received IR signal HW_RXD, passing through Fault-tolerant rear received IR signal HW_RXD is output as after signal fault-tolerant processing circuit, by double diode V11, V12, and through optocoupler After U6 Phototube Couplings, be converted to 485_TXD and signal transmission is completed by RS485 circuits.
As shown in figure 5, infrared receiving tube receives infrared signal, by resistance R38, triode Q2 is reached, in resistance R47 Voltage signal as HW_RXD1 is obtained, the signal needs just be converted to infrared connect after signal fault-tolerant processing processing of circuit The collection of letters number.
As shown in fig. 6, the signal indicating circuit is made up of transmission indicator lamp, codan lamp and power supply indicator, three Person uses light emitting diode.Signal indicating circuit turns the carry out state instruction of receiving and sending messages of serial port circuit according to USB.
When sending data, USB turns serial port circuit and sends data to signal fault-tolerant processing circuit, and the data are without place Reason, is transparent forwarding, is divided into two groups of transmission data by signal fault-tolerant processing circuit, one group turns RS485 circuits by infrared Send to RS485 circuits, realize that RS485 level is forwarded, another group turns infrared circuit through RS485 and send to infrared receiving/transmission circuit, Infrared carrier wave signal modulation is completed through infrared receiving/transmission circuit, realizes that infrared signal is forwarded;
When receiving data, the present invention is defaulted as RS485 preferentially, in RS485 communication process, if infrared receiving/transmission circuit is same When receive infrared signal, signal fault-tolerant processing circuit carries out fault-tolerant processing to the RS485 signals received and the infrared signal received, Received IR signal is masked, it is not in signal cross-talk in RS485 communication process so to ensure that circuit;
In infrared receiver data, because infrared sending tube and infrared receiving tube are installed together, in order to avoid occurring certainly From phenomenon is received, when receiving infrared data, fault-tolerant, completion infrared signal is carried out to signal by signal fault-tolerant processing circuit Receive;
When RS485 circuits receive external data, the data pass through while up-delivering signal fault-tolerant processing circuit RS485 turns infrared circuit and is forwarded to infrared receiving/transmission circuit, completes the transmission of infrared signal;
When infrared transmission circuit receives data, the data are while up-delivering signal fault-tolerant processing circuit, by red The outer RS485 circuits that turn are forwarded to RS485 circuits, complete the transmission of RS485 signals.
The present invention is integrated with turns serial ports multiple communication modes based on USB --- and USB turns serial ports, USB and turns RS485 communications, USB Turn infrared communication, RS485 turn infrared communication and it is infrared turn RS485 communication;Communication speed is at 1200 to 2400bps, and RS485 leads to It can each other change, forward between news and infrared communication;Power sourced electric isolation, the Phototube Coupling of communication effectively protect conversion Device, protects computer.
USB-RS485 conversion:USB turns serial ports and sends signal by signal fault-tolerant processing circuit, is transmitted after Phototube Coupling To RS485 circuits, RS485 circuits are to passing through overvoltage crowbar to RS485 terminals after signal transacting;RS485 circuits pass through mistake Voltage protection circuit is received after RS485 terminal signalings, through Phototube Coupling be sent to signal fault-tolerant processing circuit it is fault-tolerant after to USB turn Serial port circuit.
Conversion infrared USB-:USB is sent after signal is driven by triode with 38.0kHZ superpositions, passes through infrared emission Pipe is transmitted into infrared terminal;After the infrared signal received in order to avoid transducer signal conflict, USB converter, infrared receiving tube, Need fault-tolerant by the progress of signal fault-tolerant processing circuit(After fault-tolerant to RS485 receptions, infrared receiver, the transmission of USB serial ports), reach During condition of acceptance, data are received and USB is sent to.
Conversion infrared RS485-:Communication speed is at 1200 to 2400bps, and this converter directly can believe RS485 Number being converted to infrared signal is transmitted into infrared terminal;Infrared-RS485 conversion:Communication speed is at 1200 to 2400bps, originally Infrared signal directly can be converted to RS485 signals and be transmitted into RS485 terminals by converter.
In summary, the present invention is integrated with a converter turns serial ports multiple communication modes, i.e. USB turns based on USB Serial ports, USB turn RS485 communications, USB and turn infrared communication, RS485 to turn infrared communication and infrared turn RS485 communications totally 5 kinds of communication sides Formula, it is more extensive using scope, and cost is relatively low;Communication speed is at 1200 to 2400bps, RS485 communications and infrared communication Between can each other change, forward, and RS485 and it is infrared can complete adaptive communications, without switch switching, it becomes possible to automatic And external connection;Power sourced electric isolation, the Phototube Coupling of communication are effectively protected converter, protect and provide USB interface Computer.

Claims (6)

1. a kind of USB multifunction converters, it is characterised in that:USB including being connected with external USB interface turns serial port circuit, its With signal fault-tolerant processing circuit both-way communication, signal fault-tolerant processing circuit with Phototube Coupling and each other repeat circuit, infrared respectively Transmission circuit both-way communication, Phototube Coupling and each other repeat circuit respectively with RS485 circuits, infrared receiving/transmission circuit both-way communication, The Phototube Coupling and each other repeat circuit turn infrared circuit by RS485 and the infrared RS485 circuits that turn are constituted, the infrared receiving/transmission Circuit is by infrared transmitting tube D16 and by for receiving the infrared receiving circuit that the infrared receiving tube of outside infrared signal is constituted, institute State RS485 circuits and outside RS485 terminal both-way communications;
The signal fault-tolerant processing circuit include chip J1, chip J1 be 74HC08 chips or and gate circuit, its 1 pin respectively with it is double Diode V7 anode, electric capacity C31, resistance R63 one end are connected, electric capacity C31 other end ground connection, double diode V7 negative electrode Receive RS485 and receive signal, the resistance R63 other end is connected with double diode V7 negative electrode, and the double diode V7 is by two poles Pipe V71 and diode V72 are composed in series, and diode V71 anode is used as double diode V7 anode, diode V71 negative electrode Anode, diode V72 negative electrode respectively with diode V72 is connected, diode V72 negative electrode as duodiode V7 the moon Pole;Anode of 2 pin of the chip J1 respectively with electric capacity C32, resistance R64 one end, double diode V8 is connected, electric capacity C32's The other end is grounded, and double diode V8 negative electrode, which receives USB and turns the USB of serial port circuit transmission, to be turned serial ports and send signal, resistance R64's The other end is connected with double diode V8 negative electrode, and the double diode V8 is composed in series by diode V81 and diode V82, and two Pole pipe V81 anode is used as double diode V8 anode, anode, the diode of diode V81 negative electrode respectively with diode V82 V82 negative electrode is connected, diode V82 negative electrode as duodiode V8 negative electrode;Chip J1 5 pin receive infrared receiving tube and connect The received IR signal of receipts;Chip J1 6 pin are connected with resistance R39 one end, and the resistance R39 other end is with triode Q14's Base stage is connected, and triode Q14 colelctor electrode is connected with resistance R65 one end, red after triode Q14 colelctor electrode output is fault-tolerant The external collection of letters number turns RS485 circuits, triode Q14 grounded emitter to infrared.
2. USB multifunction converters according to claim 1, it is characterised in that:Also include USB power source circuit, USB power source Circuit point two-way output, a road direction USB turns serial port circuit and powered, another road by high withstand voltage electrical isolation power circuit to RS485 circuits are powered;The USB turns the output end of serial port circuit and is connected with the input of signal indicating circuit.
3. USB multifunction converters according to claim 1, it is characterised in that:The RS485, which turns infrared circuit, includes light Coupling U5, it inputs the RS485 reception signals that termination RS485 circuits are received, and its output end is connected with double diode V9 negative electrode, The one end of double diode V9 anode respectively with resistance R73, resistance R45 is connected, the resistance R73 other end and triode Q8 base Extremely it is connected, triode Q8 colelctor electrode is connected with triode Q9 emitter stage, double diode V10 anode is with double diode V9's Anode is connected, and double diode V10 negative electrode receives USB and turns serial ports transmission signal, triode Q9 base stage and resistance R74 one end It is connected, the resistance R74 other end receives infrared carrier wave modulated signal, triode Q9 colelctor electrode and infrared transmitting tube D16 sun Extremely it is connected, infrared transmitting tube D16 negative electrode is grounded by resistance R75,
The double diode V9 is composed in series by diode V91 and diode V92, and diode V92 anode is used as double diode V9 anode, anode, the diode V91 negative electrode of diode V92 negative electrode respectively with diode V91 is connected, diode V91's Negative electrode as duodiode V9 negative electrode;The double diode V10 is composed in series by diode V101 and diode V102, two poles Pipe V102 anode is used as double diode V10 anode, diode V102 negative electrode anode respectively with diode V101, two poles Pipe V101 negative electrode is connected, diode V101 negative electrode as duodiode V10 negative electrode.
4. USB multifunction converters according to claim 1, it is characterised in that:The infrared RS485 circuits that turn are including double Diode V11, its negative electrode is connected with the output end of signal fault-tolerant processing circuit, and its anode is connected with optocoupler U6 input, light Coupling U6 output end is connected with the input of RS485 circuits, and double diode V12 anode is connected with double diode V11 anode, Double diode V12 negative electrode receives USB and turns serial ports transmission signal, and the double diode V11 is by diode V111 and diode V112 is composed in series, diode V112 anode as double diode V11 anode, diode V112 negative electrode respectively with two poles Pipe V111 anode, diode V111 negative electrode are connected, diode V111 negative electrode as duodiode V11 negative electrode;It is described Double diode V12 is composed in series by diode V121 and diode V122, and diode V122 anode is used as double diode V12's Anode, anode, the diode V121 negative electrode of diode V122 negative electrode respectively with diode V121 is connected, diode V121's Negative electrode as duodiode V12 negative electrode.
5. USB multifunction converters according to claim 2, it is characterised in that:The signal indicating circuit is referred to by sending Show lamp, codan lamp and power supply indicator composition, three uses light emitting diode.
6. the conversion method of USB multifunction converters according to claim 1, this method includes:
When sending data, USB turns serial port circuit and sends data to signal fault-tolerant processing circuit, passes through signal fault-tolerant processing circuit It is divided into two groups of transmission data, one group is sent to RS485 circuits by the infrared RS485 circuits that turn, realizes that RS485 level is forwarded, Another group turns infrared circuit through RS485 and sends to infrared receiving/transmission circuit, and infrared carrier wave signal modulation is completed through infrared receiving/transmission circuit, Realize that infrared signal is forwarded;
When receiving data, in RS485 communication process, if infrared receiving/transmission circuit receives infrared signal, the fault-tolerant place of signal simultaneously Reason circuit carries out fault-tolerant processing to the RS485 signals received and the infrared signal received, masks received IR signal;
It is fault-tolerant to signal progress by signal fault-tolerant processing circuit when receiving infrared data in infrared receiver data, it is complete Into IR signal reception;
When RS485 circuits receive external data, the data pass through RS485 while up-delivering signal fault-tolerant processing circuit Turn infrared circuit and be forwarded to infrared receiving/transmission circuit, complete the transmission of infrared signal;
When infrared transmission circuit receives data, the data pass through infrared turn while up-delivering signal fault-tolerant processing circuit RS485 circuits are forwarded to RS485 circuits, complete the transmission of RS485 signals.
CN201510263508.5A 2015-05-22 2015-05-22 A kind of USB multifunction converters and its conversion method Expired - Fee Related CN104850520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510263508.5A CN104850520B (en) 2015-05-22 2015-05-22 A kind of USB multifunction converters and its conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510263508.5A CN104850520B (en) 2015-05-22 2015-05-22 A kind of USB multifunction converters and its conversion method

Publications (2)

Publication Number Publication Date
CN104850520A CN104850520A (en) 2015-08-19
CN104850520B true CN104850520B (en) 2017-10-03

Family

ID=53850170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510263508.5A Expired - Fee Related CN104850520B (en) 2015-05-22 2015-05-22 A kind of USB multifunction converters and its conversion method

Country Status (1)

Country Link
CN (1) CN104850520B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106205088B (en) * 2016-07-18 2019-06-21 宁波三星医疗电气股份有限公司 A kind of networking communicating circuit
CN106056895B (en) * 2016-07-21 2021-11-16 国家电网公司 485-to-infrared circuit and data transmission method
CN106253984B (en) * 2016-07-28 2018-07-13 长沙威胜信息技术有限公司 Optical fiber-RS485 chromacoders

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2482711Y (en) * 2001-06-19 2002-03-20 华南师范大学 Condition controller for intelligent instrument collective and distributive system
CN203260030U (en) * 2013-03-27 2013-10-30 马鞍山文天工程技术研究有限公司 Interface converter converting USB into RS485 with storage function
CN203444468U (en) * 2013-09-27 2014-02-19 国家电网公司 Communication convertor
CN104239262A (en) * 2014-09-17 2014-12-24 山东广达锂电检测研究院有限公司 USB (Universal Serial Bus) to RS-485-422 multifunctional active isolation converter
CN104461986A (en) * 2015-01-10 2015-03-25 广东省农业机械试验鉴定站 Signal processing system for universal agricultural machine detection interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2482711Y (en) * 2001-06-19 2002-03-20 华南师范大学 Condition controller for intelligent instrument collective and distributive system
CN203260030U (en) * 2013-03-27 2013-10-30 马鞍山文天工程技术研究有限公司 Interface converter converting USB into RS485 with storage function
CN203444468U (en) * 2013-09-27 2014-02-19 国家电网公司 Communication convertor
CN104239262A (en) * 2014-09-17 2014-12-24 山东广达锂电检测研究院有限公司 USB (Universal Serial Bus) to RS-485-422 multifunctional active isolation converter
CN104461986A (en) * 2015-01-10 2015-03-25 广东省农业机械试验鉴定站 Signal processing system for universal agricultural machine detection interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"智能家庭网络及其安全机制的研究";万爱霞;《中国优秀硕士学位论文全文数据库 信息科技辑》;20080615;第I139-69页 *

Also Published As

Publication number Publication date
CN104850520A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104850520B (en) A kind of USB multifunction converters and its conversion method
CN204631467U (en) A kind of intelligent appliance control system
CN102394003A (en) Plastic optical fiber electric power meter reading system
CN205142203U (en) Automatic transceiver circuits of RS485
CN104596049A (en) Current loop communication circuit and air conditioner
CN205430254U (en) Transmission rate 32Kbps~80Mbps receives and dispatches integrative SFP optical module
CN205142206U (en) Switch circuit of communication direction
CN104868953A (en) Extensible multi-channel serial port optical transmitter and receiver based on FPGA
CN204731774U (en) A kind of novel USB multifunction converter
CN105629832B (en) It is a kind of to automatically switch isolation circuit and method without transmitting-receiving control terminal RS485 transmitting-receiving
CN104485901A (en) S-band autonomous switching bidirectional power amplifier
CN205430253U (en) Low rate DC~20Mbps receives and dispatches integrative SFP optical module
CN201577220U (en) Sending-receiving buffer unit for DMX512 lamps
CN207677744U (en) A kind of data transmission device based on NBIoT networks
CN109889235A (en) A kind of 5G terminal system
CN201655009U (en) Electrical appliance remote control system
CN205336276U (en) Based on many windings coupling inductance power line carrier communication system
CN206042025U (en) Keep apart RS485 transceiver circuits
CN210491048U (en) HDMI extender powered by POE
CN208937961U (en) Mining control device with power line communication
CN204145491U (en) A kind of network data Integrated Service Digital Network transmitter
CN104202438A (en) An interface adapter, a terminal, and a visible light communication system
CN102521188A (en) Self-adaptive transmit-receive circuit for recommended standard (RS) 485 communication and RS 232 communication
CN102665145B (en) Underground wireless talkback communication system based on photon switching
CN104052537A (en) Through type POI signal transfer device and through type POI equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171003

Termination date: 20200522

CF01 Termination of patent right due to non-payment of annual fee