CN110351547A - A kind of debug circuit of contactless serial ports - Google Patents
A kind of debug circuit of contactless serial ports Download PDFInfo
- Publication number
- CN110351547A CN110351547A CN201910517464.2A CN201910517464A CN110351547A CN 110351547 A CN110351547 A CN 110351547A CN 201910517464 A CN201910517464 A CN 201910517464A CN 110351547 A CN110351547 A CN 110351547A
- Authority
- CN
- China
- Prior art keywords
- module
- switch
- signal
- output end
- digital 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Electronic Switches (AREA)
- Power Sources (AREA)
Abstract
The present invention relates to technical field of integrated circuits more particularly to a kind of debug circuit of contactless serial ports, including: changeable gating unit and test cell;Test platform, test platform have digital signal fiber optic cable interface, and gating unit transmits digital signal using digital signal fiber optic cable interface, and to the enabled gating of rs 232 serial interface signal, to switch between the transmission channel of digital signal and the transmission channel of rs 232 serial interface signal;Test lead has rs 232 serial interface signal fiber optic cable interface, and rs 232 serial interface signal fiber optic cable interface and the conversion of digital signal fiber optic cable interface are multiplexed, and test cell is transmitted and tested to rs 232 serial interface signal using rs 232 serial interface signal fiber optic cable interface.The utility model has the advantages that realizing the contactless debud mode of rs 232 serial interface signal on original digital signal channel, not only low in cost but also complexity is not high, it also can effectively prevent the potential problems of the existing electrostatic damage equipment of the debud mode of contact, and the workload of special software is not needed, there is economic benefit and practicability.
Description
Technical field
The present invention relates to technical field of integrated circuits more particularly to a kind of debug circuits of contactless serial ports.
Background technique
With the fast development of integrated circuit, smart television, set-top box has serial ports involved in the electronic products such as intelligent sound box
With the design of USB (Universal Serial Bus, universal serial bus).To the debugging of television set in production and after sale in
It is to be frequently necessary to the case where facing, but only have common terminal that can touch in complete machine, client's maloperation in order to prevent is reserved
Complete machine is debugged in the case where not tearing rear shell open outside the debugging seat of mainboard will not be generally opened in, and for convenience,
It generally requires compatible on common terminal.
Currently, conventional way is vacantly drawing in VGA (Video GraphicsArray, Video Graphics Array) terminal
The function of compatible serial ports on foot, but the reduction with VGA terminal in practical applications, many television sets slowly start to cancel VGA
Terminal, the serial port function being equally attached on VGA terminal are also required to that terminal is separately looked for go to be compatible with, for example, by usb compatible or
By HDMI (High Definition Multimedia Interface, high-definition multimedia interface) interface compatibility or lead to
Earphone jack is crossed to be compatible with.But these modes are all contacts, and there are when debugging, frequently plug causes equipment to be damaged by electrostatic
Risk, when requiring non-contacting occasion to debug, this mode certainly will also be unsatisfactory for requiring.
In the prior art, it after VGA cancels, the common solution of industry: 1), using USB3.0 stand, only uses
Remaining USB3.0_TX+ is used to compatible serial port function with USB3.0_TX- by the function of USB2.0;2) channel HDMI is used
In I2C_SDA and I2C_SCL two feet, make switch by increasing triode and be compatible with serial port function;3) earphone jack
Audio_L_out/audio_R_out, in inside, increase electronic switch carries out and the microphone segment of 4 sections of earphone jacks is used to carry out
Switching selection.Above several schemes have a general character, are required to the electric signal of host by being connected to external debugging work
On tool, the risk with potential ESD (Electro-Static discharge, Electro-static Driven Comb) damage electronic equipment, especially
In the environment of high electrostatic, or to electrostatic sensitive (such as engineering debug when, when mine down-hole application etc.) etc. need it is contactless
Under debugging enironment and it is not suitable for.
Summary of the invention
For the above-mentioned problems in the prior art, a kind of debug circuit of contactless serial ports is now provided.
Specific technical solution is as follows:
A kind of debug circuit of contactless serial ports, including:
Changeable gating unit and test cell;
One test platform, connects the gating unit, and the test platform has a digital signal fiber optic cable interface, the choosing
Logical unit transmits digital signal using the digital signal fiber optic cable interface, and to the enabled gating of rs 232 serial interface signal, in number
Switch between the transmission channel of word signal and the transmission channel of the rs 232 serial interface signal;
One test lead, is separately connected the test platform and the test cell, and the test lead has a rs 232 serial interface signal
Fiber optic cable interface, the rs 232 serial interface signal fiber optic cable interface and digital signal fiber optic cable interface conversion are multiplexed, and the test cell uses
The rs 232 serial interface signal fiber optic cable interface is transmitted and is tested to the rs 232 serial interface signal.
Preferably, the gating unit includes:
One non-contact switch module, the non-contact switch module are logical to the transmission for switching on the digital signal
Between road and the transmission channel of the rs 232 serial interface signal, to transmit the digital signal or the rs 232 serial interface signal;
One switch control module, the input terminal of the switch control module connect the output of the non-contact switch module
End, the switch control module is to gate the digital signal or the rs 232 serial interface signal;
The input terminal of one first infrared transmission module, first infrared transmission module connects the switch control module
First output end, first infrared transmission module send the switch control module choosing using the digital signal fiber optic cable interface
The logical digital signal or the rs 232 serial interface signal;
One first infrared receiving module, first infrared receiving module receive institute using the digital signal fiber optic cable interface
State the digital signal or the rs 232 serial interface signal that the first infrared transmission module emits.
Preferably, the gating unit further includes an isolation module, and the input terminal connection of the isolation module is described non-to be connect
The output end of touch switches, rs 232 serial interface signal described in the isolation module for isolating send and receive.
Preferably, the test cell includes:
One second infrared receiving module, second infrared receiving module receive institute using the rs 232 serial interface signal fiber optic cable interface
State the rs 232 serial interface signal of the first infrared transmission module transmitting;
One signal amplification module, the input terminal of the signal amplification module connect the output of second infrared receiving module
End, the signal amplification module is to amplify the received rs 232 serial interface signal of second infrared receiving module;
The input terminal of one second infrared sending module, the second infrared sending module connects the signal amplification module
Output end, the second infrared sending module send the signal amplification module amplification using the rs 232 serial interface signal fiber optic cable interface
The rs 232 serial interface signal is to first infrared receiving module.
Preferably, the non-contact switch module includes a digital signal input/output interface and described around being set to
The circumferential magnet control section of digital signal input/output interface;Further include:
One first power end, to provide one first supply voltage;
First pin of one Non-contact type touching activated switch, the Non-contact type touching activated switch connects institute by a first resistor
State the first power end, output end of the second pin of the Non-contact type touching activated switch as the non-contact switch module;
One second resistance is connected between the second pin and ground terminal of the Non-contact type touching activated switch.
Preferably, the switch control module includes:
One second source end, to provide a second source voltage;
One switch multiplexing chip, the power end of the switch multiplexing chip connect the second source end, and the switch is multiple
Connect the output end of the non-contact switch module with the USB path clustering end of chip, the first of the switch multiplexing chip
General connecting pin is connected to the right audio channel end of the switch multiplexing chip, the switch multiplexing chip by a 3rd resistor
The second multiplexing connecting pin the right audio channel end of the switch multiplexing chip is connected to by one the 4th resistance, the switch is answered
Ground terminal is connected with the audio path control terminal of chip;
One the 5th resistance is connected between the USB path clustering end and ground terminal of the switch multiplexing chip;
One first capacitor is connected between the second source end and ground terminal.
Preferably, first infrared transmission module includes:
One third power end, to provide a third power supply voltage;
The digital signal fiber optic cable interface includes a reception input terminal and a transmitting output end, the reception input terminal connection
Second multiplexing connecting pin of the switch multiplexing chip, the power end for receiving input terminal connect the third power end;
One second capacitor is connected between the third power end and ground terminal;
One third capacitor is connected between reception input terminal and the ground terminal;
One the 6th resistance is connected between reception input terminal and the ground terminal by one the 7th resistance;
One first bi-directional voltage stabilizing pipe is connected between the second multiplexing connecting pin of the switch multiplexing chip and ground terminal.
Preferably, first infrared receiving module includes:
One third power end, to provide a third power supply voltage;
The digital signal fiber optic cable interface includes a reception input terminal and a transmitting output end, and the transmitting output end passes through
One the 8th resistance connect the switch multiplexing chip first multiplexing connecting pin, it is described transmitting output end power end connection described in
Third power end;
One the 4th capacitor is connected between the third power end and ground terminal;
One the 5th capacitor is connected between transmitting output end and the ground terminal;
One the 9th resistance is connected between the first multiplexing connecting pin of the switch multiplexing chip and ground terminal;
One second bi-directional voltage stabilizing pipe is connected between the first multiplexing connecting pin of the switch multiplexing chip and ground terminal.
Preferably, second infrared receiving module includes:
One third power end, to provide a third power supply voltage;
The rs 232 serial interface signal fiber optic cable interface includes a reception input terminal and a transmitting output end, and the transmitting output end passes through
1 the tenth resistance connects the first output end of the isolation module, and the power end of the transmitting output end connects the third power supply
End;
One the 6th capacitor is connected between the third power end and ground terminal;
One the 7th capacitor is connected between transmitting output end and the ground terminal;
One eleventh resistor is connected between the first output end of the isolation module and ground terminal;
One third bi-directional voltage stabilizing pipe, is connected between the first output end of the isolation module and ground terminal.
Preferably, second infrared transmission module includes:
The rs 232 serial interface signal fiber optic cable interface includes a reception input terminal and a transmitting output end, the reception input terminal connection
The output end of the signal amplification module, the power end for receiving input terminal connect the third power end;
One the 8th capacitor is connected between the third power end and ground terminal;
One the 9th capacitor is connected between reception input terminal and the ground terminal;
One twelfth resistor is connected between reception input terminal and the ground terminal by a thirteenth resistor;
One the 4th bi-directional voltage stabilizing pipe is connected between the output end and ground terminal of the signal amplification module.
Technical solution of the present invention beneficial effect is: providing a kind of debug circuit of contactless serial ports, is not needing
On the basis of increasing between additional Yunqi, the contactless debugging side of rs 232 serial interface signal is realized on original digital signal channel
Formula, this debud mode is not only low in cost but also complexity is not high, moreover it is possible to effectively prevent depositing for the debud mode of contact
Electrostatic damage equipment potential problems, and do not need the workload of special software, there is economic benefit and practicability, be
Manufacturer provides better choice, and use scope is wide, convenient for promoting.
Detailed description of the invention
With reference to appended attached drawing, more fully to describe the embodiment of the present invention.However, appended attached drawing be merely to illustrate and
It illustrates, and is not meant to limit the scope of the invention.
Fig. 1 is the circuit connection diagram of the debug circuit of the contactless serial ports of the embodiment of the present invention;
Fig. 2 is that the structure of the non-contact switch module of the debug circuit of the contactless serial ports of the embodiment of the present invention is shown
It is intended to;
Fig. 3 is that the circuit of the non-contact switch module of the debug circuit of the contactless serial ports of the embodiment of the present invention connects
Map interlinking;
Fig. 4 is the circuit connection of the switch control module of the debug circuit of the contactless serial ports of the embodiment of the present invention
Figure;
Fig. 5 is that the circuit of the first infrared transmission module of the debug circuit of the contactless serial ports of the embodiment of the present invention connects
Map interlinking;
Fig. 6 is that the circuit of the first infrared receiving module of the debug circuit of the contactless serial ports of the embodiment of the present invention connects
Map interlinking;
Fig. 7 is the circuit connection diagram of the isolation module of the debug circuit of the contactless serial ports of the embodiment of the present invention;
Fig. 8 is that the circuit of the second infrared receiving module of the debug circuit of the contactless serial ports of the embodiment of the present invention connects
Map interlinking;
Fig. 9 is the circuit connection of the signal amplification module of the debug circuit of the contactless serial ports of the embodiment of the present invention
Figure;
Figure 10 is the circuit of the second infrared sending module of the debug circuit of the contactless serial ports of the embodiment of the present invention
Connection figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
The present invention includes a kind of debug circuit of contactless serial ports, including:
Changeable gating unit 10 and test cell 11;
One test platform connects gating unit 10, and test platform has digital signal fiber optic cable interface a U1 or U2, and gating is single
Member 10 transmits digital signal SPDIF using digital signal fiber optic cable interface U1 or U2, and to the enabled choosing of rs 232 serial interface signal UART
It is logical, to switch between the transmission channel of digital signal SPDIF and the transmission channel of rs 232 serial interface signal UART;
One test lead, is separately connected test platform and test cell 11, and test lead has a rs 232 serial interface signal fiber optic cable interface U3
Or U4, rs 232 serial interface signal fiber optic cable interface U3 or U4 and digital signal fiber optic cable interface U1 or U2 conversion multiplexing, test cell 11 use string
Message fiber optic cable interface U3 or U4 is transmitted and is tested to rs 232 serial interface signal UART.
By the technical solution of the debug circuit of above-mentioned contactless serial ports, as shown in Figure 1, by existing in electronic product
Transmission medium of some digital signal channels as contactless serial ports channel carries out the enabled of signal in conjunction with non-contact switch
Gating, the debugging demand of environment needed for being completed on the basis of increasing few cost.Further, it is not needing to increase additional fortune
On the basis of period, the test platform and test lead of rs 232 serial interface signal UART are realized on the channel original digital signal SPDIF
Contactless debud mode, this debud mode is not only low in cost but also complexity is not high, moreover it is possible to effectively prevent contacting
The potential problems of the existing electrostatic damage equipment of the debud mode of formula, and the workload of special software is not needed, there is warp
Benefit of helping and practicability, provide better choice for manufacturer, and use scope is wide, convenient for promoting.
In a kind of preferably embodiment, gating unit 10 includes:
One non-contact switch module 100, biography of the non-contact switch module 100 to switch on digital signal SPDIF
Between defeated channel and the transmission channel of rs 232 serial interface signal UART, to transmit digital signal SPDIF or rs 232 serial interface signal UART.
Specifically, as shown in Fig. 2, non-contact switch module 100 includes a digital signal SPDIF input/output interface
1000 and around the circumferential magnet control section 1001 for being set to digital signal SPDIF input/output interface 1000;Wherein, number
Word signal SPDIF input/output interface 1000 may include magnetic control receiving control device, can choose tongue tube, magnet control unit
Divide 1001 soft magnet can be used and be looped around S/PDIF cable interface position, and position optimization can be prevented into false triggering.
Further, the function of non-contact switch module 10 is, when digital signal SPDIF cable is inserted into outside, to survey
Examination platform can sense when digital signal SPDIF input/output interface 1000, is placed in digital signal SPDIF input and output and connects
The circumferential magnet control section 1001 of mouth 1000 senses magnetic force, and then triggers its internal signal, internal at this time non-
State is switched to the channel rs 232 serial interface signal UART by contact touch switch K1.
Further, as shown in figure 3, non-contact switch module 100 further include:
One first power end S1, to provide one first supply voltage VCC1;
The first pin PIN1 of one Non-contact type touching activated switch K1, Non-contact type touching activated switch K1 pass through a first resistor R1
Connect the first power end S1, output of the second pin PIN2 of Non-contact type touching activated switch K1 as non-contact switch module 100
Hold DO_ON;
One second resistance R2, is connected between the second pin PIN2 of Non-contact type touching activated switch K1 and ground terminal GND.
In above-mentioned technical proposal, it is surrounded on the circumferential magnet control unit of digital signal SPDIF input/output interface 1000
Divide 1001 to sense magnetic force, and then trigger its internal signal, internal Non-contact type touching activated switch K1 will be from number at this time
The transmission channel of signal SPDIF switches to the channel rs 232 serial interface signal UART.Wherein, it is arranged in around Non-contact type touching activated switch K1
Device parameters are as follows: the first supply voltage VCC1 is+3.3V, and the resistance value of first resistor R1 is 1K ohm, the resistance value of second resistance R2
It is 1K ohm.
In a kind of preferably embodiment, gating unit 10 includes:
The input terminal of one switch control module 101, switch control module 101 connects the defeated of non-contact switch module 100
Outlet DO_ON, switch control module 101 is to gated digital signal SPDIF or rs 232 serial interface signal UART.
Specifically, as shown in figure 4, switch control module 101 includes:
One second source end S2, to provide a second source voltage VCC2;
The power end VAUDIO connection second source end S2 of one switch multiplexing chip U5, switch multiplexing chip U5, switch are multiple
With the output end DO_ON of the USB path clustering end VBUS connection non-contact switch module 100 of chip U5, switch multiplexing chip
The general connecting pin D+/R of the first of U5 is connected to the right audio channel end R of switch multiplexing chip U5 by a 3rd resistor R3, opens
The the second multiplexing connecting pin D-/L for closing multiplexing chip U5 is connected to the L channel of switch multiplexing chip U5 by one the 4th resistance R4
The audio path control terminal VSEL connection ground terminal GND of audio end L, switch multiplexing chip U5;
One the 5th resistance R5 is connected between USB path clustering the end VBUS and ground terminal GND of switch multiplexing chip U5;
One first capacitor C1, is connected between second source end S2 and ground terminal GND.
Further, the second of switch multiplexing chip U5 is multiplexed first of connecting pin D-/L as switch control module 101
The first multiplexing connecting pin D+/R of output end JACK_OUT_TOX, switch multiplexing chip U5 as switch control module 101 the
The input terminal of two output end JACK_OUT_RX, the right audio channel end R of switch multiplexing chip U5 as digital signal SPDIF
Output end OTPUT of the left channel audio end L of INPUT, switch multiplexing chip U5 as digital signal SPDIF, switch multiplexing core
The first differential signal end D+ of piece U5 for realizing rs 232 serial interface signal UART receiving end UART_RX_SW, switch multiplexing chip U5's
Second differential signal end D- for realizing rs 232 serial interface signal UART transmitting terminal UART_TX_SW.
Further, in above-mentioned technical proposal, the model TS5USBA224, TS5USBA224 of switch multiplexing chip U5 is
A double-pole double throw (DPDT) multiplexer includes 2.0 high speed of low distortion Audio conversion and USB in same encapsulation
(480Mbps) switch, this configuration allow system designer to store audio and usb data, audio switch using common connector
It is designed to allow for audio signal in ground lower swing, this makes this general connector be configured as possibility.
Further, switch multiplexing chip U5 is powered on using power end VAUDIO, as audio path control terminal ASEL=high
When, the logic level regardless of USB path clustering end VBUS can all select audio path, if audio path control terminal
ASEL=Low and USB path clustering end VBUS=High, then select the path USB, otherwise, if audio path control terminal ASEL
=Low and USB path clustering end VBUS=Low, then select audio path, and switch multiplexing chip U5 is also equipped on audio path
Shunt resistance, such as shunt resistance are 3rd resistor R3 and the 4th resistance R4, with what may be heard when reduction selection audio switch
Click and bang.
In above-mentioned technical proposal, second source voltage VCC2 is+5V, and the resistance value of 3rd resistor R3 is 0 ohm, the 4th resistance
The resistance value of R4 is 0 ohm, and the resistance value of the 5th resistance R5 is 10K ohm, and the capacitance of first capacitor C1 is 1uF.
In a kind of preferably embodiment, gating unit 10 includes:
One first infrared transmission module 102, the of the input terminal connection switch control module of the first infrared transmission module 102
One output JACK_OUT_TOX, the first infrared transmission module 102 send switch control module using digital signal fiber optic cable interface U1
The digital signal SPDIF or rs 232 serial interface signal UART of 101 gatings.
Specifically, as shown in figure 5, the first infrared transmission module 102 includes:
One third power end S3, to provide a third power supply voltage VCC3;
Digital signal fiber optic cable interface U1 includes a reception input terminal IN and a transmitting output end, receives input terminal IN connection and opens
The the second multiplexing connecting pin D-/L for closing multiplexing chip U5, receives the power end VCC connection third power end S3 of input terminal IN;
One second capacitor C2, is connected between third power end S3 and ground terminal GND;
One third capacitor C3 is connected to and receives between input terminal IN and ground terminal GND;
One the 6th resistance R6 is connected to by one the 7th resistance R7 and is received between input terminal IN and ground terminal GND;
One first bi-directional voltage stabilizing pipe D1 is connected to the second multiplexing connecting pin D-/L and ground terminal of switch multiplexing chip U5
Between GND.
In above-mentioned technical proposal, photoelectric conversion is carried out in digital signal fiber optic cable interface U1 comprising receives input terminal IN
With transmitting output end, receive input terminal IN input signal be by switch control module 102 export digital signal SPDIF into
Enter to receive input terminal IN, then by transmitting output end transmitting, transmitting output end transmitting is electric signal.Also, above-mentioned skill
In art scheme, third power supply voltage VCC3 is+5V, and the resistance value of the 6th resistance R6 is 4.7K ohm, and the resistance value of the 7th resistance R7 is
270 ohm, the capacitance of the second capacitor C2 is 0.1uF, and the capacitance of third capacitor C3 is 33pF, the model of the first bi-directional voltage stabilizing pipe D1
For TVL_5VB1-DFN1006-2L/NC.
In a kind of preferably embodiment, gating unit 10 includes:
One first infrared receiving module 103, the first infrared receiving module 103 receive the using digital signal fiber optic cable interface U1
The digital signal SPDIF or rs 232 serial interface signal UART of one infrared transmission module 102 transmitting.
Specifically, as shown in fig. 6, the first infrared receiving module 103 includes:
One third power end S3, to provide a third power supply voltage VCC3;
Digital signal fiber optic cable interface U2 includes a reception input terminal and a transmitting output end OUT, and transmitting output end OUT passes through
The first multiplexing connecting pin D+/R of one the 8th resistance R8 connection switch multiplexing chip U5, the power end VCC of transmitting output end OUT connect
Meet third power end S3;
One the 4th capacitor C4, is connected between third power end S3 and ground terminal GND;
One the 5th capacitor C5 is connected between transmitting output end OUT and ground terminal GND;
One the 9th resistance R9 is connected between the first multiplexing connecting pin D+/R and ground terminal GND of switch multiplexing chip U5;
One second bi-directional voltage stabilizing pipe D2 is connected to the first multiplexing connecting pin D+/R and ground terminal of switch multiplexing chip U5
Between GND.
In above-mentioned technical proposal, carry out photoelectric conversion in digital signal fiber optic cable interface U2 comprising receive input terminal with
Emit output end OUT, receives the digital signal that input terminal receives the transmitting of the first infrared receiving module 102 using infrared technique
Then SPDIF launches digital signal SPDIF by emitting output end OUT.Also, in above-mentioned technical proposal, third power supply electricity
Pressure VCC3 is+5V, and the resistance value of the 8th resistance R8 is 4.7K ohm, and the resistance value of the 9th resistance R9 is 270 ohm, the 4th capacitor C4's
Capacitance is 0.1uF, and the capacitance of the 5th capacitor C5 is 33pF, the model TVL_5VB1-DFN1006- of the second bi-directional voltage stabilizing pipe D2
2L/NC。
In a kind of preferably embodiment, gating unit 10 further includes an isolation module 104, the input of isolation module 104
End connection non-contact switch module 100 output end, isolation module 104 to isolated serial port signal UART transmission with connect
It receives.
Specifically, as shown in fig. 7, isolation module 104 includes:
The grid of one first triode Q1, the first triode Q1 passes through 1 the 14th resistance R14 connection non-contact switch mould
The source electrode of the output end DO_ON, the first triode Q1 of block 100 connect ground terminal, and the drain electrode of the first triode Q1 passes through 1 the tenth
Five resistance R15 connection third power end S3;
One first gating chip U6, the gated end S of the first gating chip U6 passes through 1 the 16th resistance R16 connection the one or three
The drain electrode of pole pipe Q1, the power end VCC connection third power end S3 of the first gating chip U6, the first electricity of the first gating chip U6
Flat channel Y1 passes through one by 1 the 17th resistance R17 connection ground terminal GND, the second electrical level channel Y0 of the first gating chip U6
18th resistance R18 is to export the second output terminal UART-TX-HOST of isolation module 104, the signal end of the first gating chip U6
The transmitting terminal UART_TX_SW of Z connection rs 232 serial interface signal UART;
One second gating chip U7, the gated end S of the second gating chip U7 passes through the one or three pole of the 16th resistance R16 connection
The drain electrode of pipe Q1, the power end VCC connection third power end S3 of the second gating chip U7, the first level of the second gating chip U7
Channel Y0 passes through one the by 1 the 19th resistance R19 connection ground terminal GND, the second electrical level channel Y1 of the second gating chip U7
To export the first output end UART-RX-HOST of isolation module 104, the signal end of the second gating chip U7 connects 20 resistance R20
Meet the receiving end UART_RX_SW of rs 232 serial interface signal UART;
The a tenth capacitor C10, is connected between third power end S3 and ground terminal GND;
The a 11st capacitor C11, is connected between third power end S3 and ground terminal GND.
In above-mentioned technical proposal, the model of the first gating chip U6 and the second gating chip U7
SN741VC1G3157DCKR, the first triode Q1 are NPN type triode, and the resistance value of the 14th resistance R14 is 47K ohm, the tenth
The resistance value of five resistance R15 is 1K ohm, and the resistance value of the 16th resistance R16 is 4.7K ohm, and the resistance value of the 17th resistance R17 is
10K ohm, the resistance value of the 18th resistance R18 is 0 ohm, and the resistance value of the 19th resistance R19 is 10K ohm, the 20th resistance R20
Resistance value be 0K ohm, the capacitance of the tenth capacitor C10 is 0.1uF, and the capacitance of the 11st capacitor C11 is 0.1uF.
In a kind of preferably embodiment, test cell 11 includes:
One second infrared receiving module 110, the second infrared receiving module 110 receive the using rs 232 serial interface signal fiber optic cable interface U3
The rs 232 serial interface signal UART of one infrared transmission module 102 transmitting.
Specifically, as shown in figure 8, the second infrared receiving module 110 includes:
One third power end S3, to provide a third power supply voltage VCC3;
Rs 232 serial interface signal fiber optic cable interface U3 includes a reception input terminal and a transmitting output end OUT, and transmitting output end OUT passes through
First output end UART-RX-HOST of 1 the tenth resistance R10 connection isolation module 104 emits the power end VCC of output end OUT
Connect third power end S3;
One the 6th capacitor C6, is connected between third power end S3 and ground terminal GND;
One the 7th capacitor C7 is connected between transmitting output end OUT and ground terminal GND;
One eleventh resistor R11 is connected to the first output end UART-RX-HOST and ground terminal GND of isolation module 104
Between;
One third bi-directional voltage stabilizing pipe D3 is connected to the first output end UART-RX-HOST and ground terminal of isolation module 104
Between GND.
In above-mentioned technical proposal, carry out photoelectric conversion in rs 232 serial interface signal fiber optic cable interface U3 comprising receive input terminal with
Emit output end OUT, receives the rs 232 serial interface signal that input terminal receives the transmitting of the first infrared transmission module 102 using infrared technique
Then UART launches rs 232 serial interface signal UART by emitting output end OUT.Also, in above-mentioned technical proposal, third power supply voltage
VCC3 is+5V, and the resistance value of the tenth resistance R10 is 4.7K ohm, and the resistance value of eleventh resistor R11 is 270 ohm, the 6th capacitor C6
Capacitance be 0.1uF, the capacitance of the 7th capacitor C7 is 33pF, the model TVL_5VB1- of third bi-directional voltage stabilizing pipe D3
DFN1006-2L/NC。
In a kind of preferably embodiment, test cell 11 includes:
The input terminal of one signal amplification module 111, signal amplification module 111 connects the defeated of the second infrared receiving module 110
Outlet UART_RX_HOST, signal amplification module 111 is to amplify the received rs 232 serial interface signal of the second infrared receiving module 110
UART。
Specifically, as shown in figure 9, signal amplification module 11 includes:
The grid of one second triode Q2, the second triode Q2 connects by the way that one the 21st resistance R11 connection second is infrared
The source electrode for receiving the output end UART_RX_HOST, the second triode Q2 of module 110 connects ground terminal GND, the second triode Q2's
Drain electrode passes through one the 22nd resistance R22 the first power end of connection S1;
The grid of one third transistor Q3, third transistor Q3 connect the drain electrode of the second triode Q2, third transistor Q3
Source electrode connect ground terminal GND, the drain electrode of third transistor Q3 by one the 23rd resistance R23 connection the first power end S1,
Output end UART_TX of the drain electrode of third transistor Q3 as signal amplification module 111.
In above-mentioned technical proposal, the second triode Q2 and third transistor Q3 are NPN type triode, the 21st resistance
The resistance value of R21 is 47K ohm, and the resistance value of the 22nd resistance R22 is 47K ohm, and the resistance value of the 23rd resistance R23 is 47K
Ohm.
In a kind of preferably embodiment, test cell 11 includes:
One second infrared sending module 112, the input terminal connection signal amplification module 111 of the second infrared sending module 112
Output end UART_TX, the second infrared sending module 112 sends signal amplification module 111 using rs 232 serial interface signal fiber optic cable interface U4
The infrared receiving module 103 of rs 232 serial interface signal UART to first of amplification.
Specifically, as shown in Figure 10, the second infrared transmission module 1 includes:
Rs 232 serial interface signal fiber optic cable interface U4 includes a reception input terminal IN and a transmitting output end, receives input terminal IN connection letter
The output end UART-TX-HOST of number amplification module 111 receives the power end VCC connection third power end S3 of input terminal IN;
One the 8th capacitor C8, is connected between third power end S3 and ground terminal GND;
One the 9th capacitor C9 is connected to and receives between input terminal IN and ground terminal GND;
One twelfth resistor R12 is connected to by a thirteenth resistor R13 and is received between input terminal IN and ground terminal GND;
One the 4th bi-directional voltage stabilizing pipe D4 is connected to the output end UART-TX-HOST and ground terminal of signal amplification module 111
Between GND.
In above-mentioned technical proposal, photoelectric conversion is carried out in rs 232 serial interface signal fiber optic cable interface U4 comprising receives input terminal IN
With transmitting output end, the signal for receiving input terminal IN input is the rs 232 serial interface signal UART amplified by signal amplification module 111, with
It is exported by output end UART-TX-HOST to input terminal IN is received, then by transmitting output end transmitting, wherein transmitting output
End transmitting is electric signal.Also, in above-mentioned technical proposal, third power supply voltage VCC3 is+5V, the resistance of twelfth resistor R12
Value is 4.7K ohm, and the resistance value of thirteenth resistor R13 is 270 ohm, and the capacitance of the 8th capacitor C8 is 0.1uF, the 9th capacitor C9
Capacitance be 33pF, the model TVL_5VB1-DFN1006-2L/NC of the 4th bi-directional voltage stabilizing pipe D4.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model
It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content
Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.
Claims (10)
1. a kind of debug circuit of contactless serial ports characterized by comprising
Changeable gating unit and test cell;
One test platform connects the gating unit, and the test platform has a digital signal fiber optic cable interface, and the gating is single
Member transmits digital signal using the digital signal fiber optic cable interface, and to the enabled gating of rs 232 serial interface signal, to believe in number
Number transmission channel and the rs 232 serial interface signal transmission channel between switch;
One test lead, is separately connected the test platform and the test cell, and the test lead has a rs 232 serial interface signal optical cable
Interface, the rs 232 serial interface signal fiber optic cable interface and digital signal fiber optic cable interface conversion are multiplexed, described in the test cell use
Rs 232 serial interface signal fiber optic cable interface is transmitted and is tested to the rs 232 serial interface signal.
2. the debug circuit of contactless serial ports according to claim 1, which is characterized in that the gating unit includes:
One non-contact switch module, the non-contact switch module to switch on the transmission channel of the digital signal with
Between the transmission channel of the rs 232 serial interface signal, to transmit the digital signal or the rs 232 serial interface signal;
One switch control module, the input terminal of the switch control module connect the output end of the non-contact switch module,
The switch control module is to gate the digital signal or the rs 232 serial interface signal;
The input terminal of one first infrared transmission module, first infrared transmission module connects the first of the switch control module
Output end, first infrared transmission module send the switch control module gating using the digital signal fiber optic cable interface
The digital signal or the rs 232 serial interface signal;
One first infrared receiving module, first infrared receiving module receive described the using the digital signal fiber optic cable interface
The digital signal of one infrared transmission module transmitting or the rs 232 serial interface signal.
3. the debug circuit of contactless serial ports according to claim 2, which is characterized in that the gating unit further includes
One isolation module, the input terminal of the isolation module connect the output end of the non-contact switch, the isolation module to
Sending and receiving for the rs 232 serial interface signal is isolated.
4. the debug circuit of contactless serial ports according to claim 2, which is characterized in that the test cell includes:
One second infrared receiving module, second infrared receiving module receive described the using the rs 232 serial interface signal fiber optic cable interface
The rs 232 serial interface signal of one infrared transmission module transmitting;
One signal amplification module, the input terminal of the signal amplification module connect the output end of second infrared receiving module,
The signal amplification module is to amplify the received rs 232 serial interface signal of second infrared receiving module;
The input terminal of one second infrared sending module, the second infrared sending module connects the output of the signal amplification module
End, the second infrared sending module is using the rs 232 serial interface signal fiber optic cable interface to send the signal amplification module amplification
The rs 232 serial interface signal is to first infrared receiving module.
5. the debug circuit of contactless serial ports according to claim 2, which is characterized in that the non-contact switch mould
Block includes a digital signal input/output interface and the magnet around the circumferential direction for being set to the digital signal input/output interface
Control section;Further include:
One first power end, to provide one first supply voltage;
One Non-contact type touching activated switch, the first pin of the Non-contact type touching activated switch connect described the by a first resistor
One power end, output end of the second pin of the Non-contact type touching activated switch as the non-contact switch module;
One second resistance is connected between the second pin and ground terminal of the Non-contact type touching activated switch.
6. the debug circuit of contactless serial ports according to claim 2, which is characterized in that the switch control module packet
It includes:
One second source end, to provide a second source voltage;
The power end of one switch multiplexing chip, the switch multiplexing chip connects the second source end, the switch multiplexing core
The USB path clustering end of piece connects the output end of the non-contact switch module, and the first of the switch multiplexing chip is general
Connecting pin is connected to the right audio channel end of the switch multiplexing chip by a 3rd resistor, and the of the switch multiplexing chip
Two multiplexing connecting pins are connected to the right audio channel end of the switch multiplexing chip, the switch multiplexing core by one the 4th resistance
The audio path control terminal of piece connects ground terminal;
One the 5th resistance is connected between the USB path clustering end and ground terminal of the switch multiplexing chip;
One first capacitor is connected between the second source end and ground terminal.
7. the debug circuit of contactless serial ports according to claim 6, which is characterized in that the first infrared emission mould
Block includes:
One third power end, to provide a third power supply voltage;
The digital signal fiber optic cable interface includes one receiving input terminal and a transmitting output end, described in the reception input terminal connects
Second multiplexing connecting pin of switch multiplexing chip, the power end for receiving input terminal connect the third power end;
One second capacitor is connected between the third power end and ground terminal;
One third capacitor is connected between reception input terminal and the ground terminal;
One the 6th resistance is connected between reception input terminal and the ground terminal by one the 7th resistance;
One first bi-directional voltage stabilizing pipe is connected between the second multiplexing connecting pin of the switch multiplexing chip and ground terminal.
8. the debug circuit of contactless serial ports according to claim 6, which is characterized in that first infrared receiving
Block includes:
One third power end, to provide a third power supply voltage;
The digital signal fiber optic cable interface includes one receiving input terminal and a transmitting output end, and the transmitting output end passes through one the
Eight resistance connect the first multiplexing connecting pin of the switch multiplexing chip, and the power end of the transmitting output end connects the third
Power end;
One the 4th capacitor is connected between the third power end and ground terminal;
One the 5th capacitor is connected between transmitting output end and the ground terminal;
One the 9th resistance is connected between the first multiplexing connecting pin of the switch multiplexing chip and ground terminal;
One second bi-directional voltage stabilizing pipe is connected between the first multiplexing connecting pin of the switch multiplexing chip and ground terminal.
9. the debug circuit of contactless serial ports according to claim 3, which is characterized in that second infrared receiving
Block includes:
One third power end, to provide a third power supply voltage;
The rs 232 serial interface signal fiber optic cable interface includes one receiving input terminal and a transmitting output end, and the transmitting output end passes through one the
Ten resistance connect the first output end of the isolation module, and the power end of the transmitting output end connects the third power end;
One the 6th capacitor is connected between the third power end and ground terminal;
One the 7th capacitor is connected between transmitting output end and the ground terminal;
One eleventh resistor is connected between the first output end of the isolation module and ground terminal;
One third bi-directional voltage stabilizing pipe, is connected between the first output end of the isolation module and ground terminal.
10. the debug circuit of contactless serial ports according to claim 4, which is characterized in that second infrared emission
Module includes:
Second emission element includes a reception input terminal and a transmitting output end, and the reception input terminal connects the signal
The output end of amplification module, the power end for receiving input terminal connect the third power end;
One the 8th capacitor is connected between the third power end and ground terminal;
One the 9th capacitor is connected between reception input terminal and the ground terminal;
One twelfth resistor is connected between reception input terminal and the ground terminal by a thirteenth resistor;
One the 4th bi-directional voltage stabilizing pipe is connected between the output end and ground terminal of the signal amplification module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910517464.2A CN110351547B (en) | 2019-06-14 | 2019-06-14 | Debugging circuit of non-contact serial port |
PCT/CN2020/094034 WO2020248874A1 (en) | 2019-06-14 | 2020-06-02 | Contactless serial port debugging circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910517464.2A CN110351547B (en) | 2019-06-14 | 2019-06-14 | Debugging circuit of non-contact serial port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110351547A true CN110351547A (en) | 2019-10-18 |
CN110351547B CN110351547B (en) | 2021-08-10 |
Family
ID=68182070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910517464.2A Active CN110351547B (en) | 2019-06-14 | 2019-06-14 | Debugging circuit of non-contact serial port |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110351547B (en) |
WO (1) | WO2020248874A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708726A (en) * | 2020-06-18 | 2020-09-25 | 深圳市信锐网科技术有限公司 | Port sharing method, device, equipment, system and readable storage medium |
WO2020248874A1 (en) * | 2019-06-14 | 2020-12-17 | 晶晨半导体(上海)股份有限公司 | Contactless serial port debugging circuit |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020019983A1 (en) * | 2000-06-05 | 2002-02-14 | Emsley Brett W. | Testing instrument |
KR20040006354A (en) * | 2002-07-12 | 2004-01-24 | 엘지전자 주식회사 | Communication method with one serial port in many communication modes |
CN101902769A (en) * | 2010-07-06 | 2010-12-01 | 中兴通讯股份有限公司 | Single board wireless debugging method and device |
CN202151630U (en) * | 2011-07-14 | 2012-02-29 | 大连民族学院 | Vehicle tail gas recovery system and highway toll station |
CN104363404A (en) * | 2014-10-28 | 2015-02-18 | 广州创维平面显示科技有限公司 | Terminal multiplex circuit and multimedia terminal equipment |
CN207766467U (en) * | 2017-10-27 | 2018-08-24 | 成都九洲电子信息***股份有限公司 | A kind of earphone and serial port automatic switching circuit |
CN208538116U (en) * | 2018-07-18 | 2019-02-22 | 惠州比亚迪电子有限公司 | Test macro and interface test device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351547B (en) * | 2019-06-14 | 2021-08-10 | 晶晨半导体(上海)股份有限公司 | Debugging circuit of non-contact serial port |
-
2019
- 2019-06-14 CN CN201910517464.2A patent/CN110351547B/en active Active
-
2020
- 2020-06-02 WO PCT/CN2020/094034 patent/WO2020248874A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020019983A1 (en) * | 2000-06-05 | 2002-02-14 | Emsley Brett W. | Testing instrument |
KR20040006354A (en) * | 2002-07-12 | 2004-01-24 | 엘지전자 주식회사 | Communication method with one serial port in many communication modes |
CN101902769A (en) * | 2010-07-06 | 2010-12-01 | 中兴通讯股份有限公司 | Single board wireless debugging method and device |
CN202151630U (en) * | 2011-07-14 | 2012-02-29 | 大连民族学院 | Vehicle tail gas recovery system and highway toll station |
CN104363404A (en) * | 2014-10-28 | 2015-02-18 | 广州创维平面显示科技有限公司 | Terminal multiplex circuit and multimedia terminal equipment |
CN207766467U (en) * | 2017-10-27 | 2018-08-24 | 成都九洲电子信息***股份有限公司 | A kind of earphone and serial port automatic switching circuit |
CN208538116U (en) * | 2018-07-18 | 2019-02-22 | 惠州比亚迪电子有限公司 | Test macro and interface test device |
Non-Patent Citations (1)
Title |
---|
WWW.TI.COM: "USB 2.0 High-Speed (480 Mbps) and Audio Switches with Negative Signal Capability and", 《TEXA INSTRUMENT》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020248874A1 (en) * | 2019-06-14 | 2020-12-17 | 晶晨半导体(上海)股份有限公司 | Contactless serial port debugging circuit |
CN111708726A (en) * | 2020-06-18 | 2020-09-25 | 深圳市信锐网科技术有限公司 | Port sharing method, device, equipment, system and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020248874A1 (en) | 2020-12-17 |
CN110351547B (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103222279B (en) | Earphone interface is multiplexed with Multipurpose connector and the hand-hold electronic equipments of high resolution video and audio interface | |
CN102750252B (en) | USB/UART interface multiplexing circuit and use the electronic equipment of this circuit | |
CN202797544U (en) | Active cable, cable assembly and electronic device | |
CN205540713U (en) | Portable device | |
US7445516B2 (en) | Audio signal switcher | |
CN101931674A (en) | Method and device for sharing Micro-USB interface | |
CN110351547A (en) | A kind of debug circuit of contactless serial ports | |
TWI727345B (en) | A method and device for adjusting signal transmission direction and a bidirectional signal redriver integrated circuit chip | |
CN104617461A (en) | Compatible data interface | |
CN204576500U (en) | A kind of usb communication circuit of compatible I2C communication and system | |
CN105868140A (en) | A mobile apparatus | |
CN209086916U (en) | A kind of serial communication circuit and wearable device | |
CN202872142U (en) | Multifunctional USB (Universal Serial Bus) data line | |
CN204391454U (en) | A kind of Campatible data-interface | |
CN207115402U (en) | Usb interface circuit | |
CN213151196U (en) | Signal adapter | |
CN103473208B (en) | Transmission system | |
CN201440468U (en) | HDMI connector | |
CN103312842B (en) | For the terminal of annex detection and control, annex and system | |
CN111886585B (en) | Terminal device, debugging card and debugging method | |
CN205595780U (en) | Electrostatic protection device of USB interface | |
CN204631855U (en) | A kind of data-interface and comprise data line and the equipment of this interface | |
CN206224462U (en) | USB OTG function switching circuits based on PX2 chips | |
CN201919042U (en) | Analog switch control circuit and mobile phone | |
CN217279563U (en) | Interface multiplexing circuit and electronic equipment |
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 |