CN101742180B - Circuit for realizing two-way sound transmission on same port - Google Patents
Circuit for realizing two-way sound transmission on same port Download PDFInfo
- Publication number
- CN101742180B CN101742180B CN200810217565XA CN200810217565A CN101742180B CN 101742180 B CN101742180 B CN 101742180B CN 200810217565X A CN200810217565X A CN 200810217565XA CN 200810217565 A CN200810217565 A CN 200810217565A CN 101742180 B CN101742180 B CN 101742180B
- Authority
- CN
- China
- Prior art keywords
- circuit
- port
- input
- signal
- oxide
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 17
- 238000005070 sampling Methods 0.000 claims abstract description 14
- 239000004065 semiconductor Substances 0.000 claims description 15
- 239000003990 capacitor Substances 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Abstract
The invention provides a circuit for realizing two-way sound transmission on the same port. The circuit comprises a sampling circuit and a switching circuit, wherein the sampling circuit is used for acquiring an input signal of a two-way transmission port; and the switching circuit inputs the difference value of the signal which is acquired by the sampling circuit to a main control chip which can realize judgment and control functions, receives a control signal of the main control chip and realizes the switching between input and output channels according to the control signal; and the switching circuit is connected with the two-way transmission port. The circuit for realizing the two-way sound transmission on the same port realizes the two-way transmission of sound on the two-way transmission port, so the arrangement space of the port is saved, the misplug caused by too many ports is reduced and the use of a user is convenient.
Description
Technical field
The present invention relates to the Audiotechnica field, relate in particular to a kind of circuit of on same port, realizing the two-way sound transmission.
Background technology
All have one to be used for the PC sound input end mouth that is connected with PC on the television set, i.e. PC_Audio_in port also has one to be used for the earphone voice output port that is connected with earphone simultaneously.Said PC sound input end mouth and earphone voice output port are separate, and one-way transmission is occupied very large space in port layout.And, on the television set these two ports to expose jack quite similar, user easier misplugs.
Summary of the invention
For this reason, technical problem to be solved by this invention is: a kind of circuit that two-way sound transmits of on same port, realizing is provided, makes and realize the transmitted in both directions of sound through this port, save the port layout space, what the minimizing port too much brought misplugs.
For this reason; The invention provides a kind of circuit of on same port, realizing the two-way sound transmission; This circuit comprises: the signal difference that be used to gather the sample circuit of transmitted in both directions port input signal, sample circuit is collected inputs to can realize judging the main control chip of controlled function and receive said main control chip control signal and realize the commutation circuit that I/O channel switches according to this control signal that said commutation circuit is connected with the transmitted in both directions port.
Wherein, Said sample circuit comprises: a differential amplifier, two voltage followers and two N-channel MOS pipes; The input of this sample circuit connects the drain electrode of two metal-oxide-semiconductors simultaneously, and first pulse signal of this sample circuit connects a metal-oxide-semiconductor grid, has second pulse signal of time-delay to be connected another metal-oxide-semiconductor grid with first pulse signal; The source electrode of said two metal-oxide-semiconductors is connected respectively to the input of two voltage followers; Respectively through a charging capacitor ground connection, said voltage follower output is connected respectively to the in-phase end and the end of oppisite phase of differential amplifier to the source electrode of said two metal-oxide-semiconductors simultaneously, and this differential amplifier output is the output of said sample circuit.
The charging constant of said charging capacitor is much smaller than the sampling time.
Said commutation circuit is the PI5V330A chip, and its DC pin may be defined as the sound input, and corresponding D D pin definitions is voice output, and perhaps its DC pin may be defined as voice output, and corresponding D D pin definitions is the sound input.
The circuit of on same port, realizing the two-way sound transmission according to the invention; Gather input signal through sample circuit; And acquired signal is transferred to main control chip, main control chip judges that acquired signal has or not difference, and judged result is inputed to commutation circuit; Commutation circuit is according to select a sound output channel or select a sound input channel of the output of said judged result decision commutation circuit, and the output of this commutation circuit is the transmitted in both directions port.It is thus clear that, on said transmitted in both directions port, realized the transmitted in both directions of sound, saved the port layout space, reduce mispluging that port too much brings.
Description of drawings
Fig. 1 is the said structured flowchart of on same port, realizing the two-way sound transmission circuit of the embodiment of the invention;
The said realization flow figure that on same port, realizes the two-way sound transmission circuit of Fig. 2 embodiment of the invention;
Fig. 3 is one embodiment of sample circuit described in Fig. 1;
Fig. 4 is the one embodiment chip pin figure of commutation circuit described in Fig. 1.
Embodiment
Following content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.
As shown in Figure 1; On same port, realize the two-way sound transmission circuit, comprising: the signal difference that be used to gather the sample circuit 21 of transmitted in both directions port one 0 input signal, sample circuit is collected inputs to can be realized judging the main control chip 22 of controlled function and receive main control chip 22 control signals and realize the commutation circuit 23 that I/O channel switches according to this control signal;
Wherein, commutation circuit 23 is connected with transmitted in both directions port one 0.
As shown in Figure 2; Sample circuit 21 is at first sampled to input signal; And sending the sampled voltage difference to main control chip 22, main control chip sends commutation circuit 23 to through input/output port after difference is judged; By commutation circuit I/O channel is switched, realize the passage amphicheirality;
If sample circuit 21 has collected the signal input; Then sample circuit sends difference voltage to main control chip 22, and main control chip 22 is changed to height with control signal, after commutation circuit 23 is received the high level signal that main control chip 22 sends; I/O channel is switched; For example switch to the voice output passage, at this moment, transmitted in both directions port one 0 can be used as the earphone passage and uses;
If sample circuit 21 collects the no signal input; Then sample circuit sends difference voltage 0 to main control chip 22, and main control chip 22 is changed to control signal low, commutation circuit 23 receive main control chip 22 send be low level signal after; I/O channel is switched; For example switch to the sound input channel, at this moment, transmitted in both directions port one 0 can be used as the PC_Audio_in port channel and uses.
As shown in Figure 3, sample circuit 21 comprises: differential amplifier U3, voltage follower U1 and U2, N-channel MOS pipe Q1 and Q2, charging capacitor C1 and C2;
Wherein, the input Vin of sample circuit 21 connects the drain electrode of metal-oxide-semiconductor Q1 and Q2 simultaneously, and the first pulse signal S/H connects the grid of metal-oxide-semiconductor Q1; There is the second pulse signal S/H (DELAY) of time-delay to be connected the grid of metal-oxide-semiconductor Q2 with first pulse signal; The source electrode of metal-oxide-semiconductor Q1 is connected to the input 2 of voltage follower U1, and also through charging capacitor C1 ground connection, the source electrode of metal-oxide-semiconductor Q2 is connected to the input 2 of voltage follower U2 to this source electrode simultaneously; This source electrode is simultaneously also through charging capacitor C2 ground connection; Voltage follower U1 output 1 feeds back to input 3, and output 3 is connected to the in-phase end 3 of differential amplifier U3, and voltage follower U2 output 1 feeds back to input 3; Output 3 is connected to the end of oppisite phase 2 of differential amplifier U3, and differential amplifier output 6 is the output end vo ut of sample circuit 21 just.
In the present embodiment, in the sample circuit 21, voltage follower U1 and U2 are simple voltage followers, and N-channel MOS pipe Q1 and Q2 are as sampling switch, and the second pulse signal S/H (DELAY) is the pulse of time-delay with respect to the first pulse signal S/H;
Signal is through Vin input, at sampling pulse S/H between action period, and switch connection; Input signal Vin gives charging capacitor C1 and C2 charging through sampling switch Q1 and Q2; The charging constant is much smaller than the sampling time, so the voltage on the electric capacity can be caught up with the variation of input voltage vin in the sampling time.After the sampling pulse, sampling switch ends rapidly, if switch closes resistance break and the voltage follower input resistance is infinitely great, the electric leakage of electric capacity can be ignored, and then voltage on the electric capacity and output voltage will remain to the arrival of next sampling pulse.In like manner; When the second pulses S/H (DELAY) arrives; Input signal Vin can and keep through voltage follower U2 sampling at the voltage in the moment of time-delay, obtains output voltage U o2, and promptly Uo1 and Uo2 are two sampled values of input signal Vin in the DELAY time of being separated by.We as input, after then amplifying through differential amplifier U3 difference, obtain the difference output Vout of two voltages with Uo1 and Uo2, if no input signal Vin, the difference Vout that then exports is 0.Differential amplifier U3 adopts the AMP02 signal chip in the present embodiment.
As shown in Figure 4; Commutation circuit 23 adopts the PI5V330A chip in the present embodiment, and its DC pin may be defined as the sound input, and corresponding D D pin definitions is voice output; Perhaps its DC pin may be defined as voice output; Corresponding D D pin definitions is the sound input, adopts the DC pin to may be defined as the sound input in the present embodiment, and corresponding D D pin definitions is voice output;
When difference amplifier U3 was sent to main control chip 22 with the signal of output end vo ut, main control chip judged, if Vout does not have difference, then was changed to lowly, if Vout has difference, then was changed to height; Main control chip sends the value of being put on the IN pin of conversion chip.
In sum; The said circuit of on same port, realizing the two-way sound transmission of the embodiment of the invention is gathered input signal through sample circuit, and acquired signal is transferred to main control chip; Main control chip judges that acquired signal has or not difference; And judged result inputed to commutation circuit, and commutation circuit is according to select a sound output channel or select a sound input channel of the output of said judged result decision commutation circuit, and the output of this commutation circuit is the transmitted in both directions port.It is thus clear that, on said transmitted in both directions port, realized the transmitted in both directions of sound, saved the port layout space, reduce mispluging that port too much brings.
Claims (3)
1. on same port, realize the circuit that two-way sound transmits for one kind; It is characterized in that; Comprise: the sample circuit that is used to gather transmitted in both directions port input signal; Said sample circuit comprises: a differential amplifier, two voltage followers and two N-channel MOS pipes; The input of this sample circuit connects the drain electrode of two metal-oxide-semiconductors simultaneously, and first pulse signal of this sample circuit connects a metal-oxide-semiconductor grid, has second pulse signal of time-delay to be connected another metal-oxide-semiconductor grid with first pulse signal; The source electrode of said two metal-oxide-semiconductors is connected respectively to the input of two voltage followers; Through a charging capacitor ground connection, said voltage follower output is connected respectively to the in-phase end and the end of oppisite phase of differential amplifier to the source electrode of said two metal-oxide-semiconductors respectively simultaneously, and this differential amplifier output is the output of said sample circuit; The circuit of on same port, realizing the two-way sound transmission comprises that also the signal difference that sample circuit is collected inputs to the main control chip and the commutation circuit that receives said main control chip control signal and switch according to this control signal realization I/O channel that can realize judging controlled function, and said commutation circuit is connected with the transmitted in both directions port.
2. circuit according to claim 1 is characterized in that, the charging constant of said charging capacitor is much smaller than the sampling time.
3. circuit according to claim 1 is characterized in that, said commutation circuit is the PI5V330A chip; Its DC pin may be defined as the sound input; Corresponding D D pin definitions is voice output, and perhaps its DC pin may be defined as voice output, and corresponding D D pin definitions is the sound input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810217565XA CN101742180B (en) | 2008-11-10 | 2008-11-10 | Circuit for realizing two-way sound transmission on same port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810217565XA CN101742180B (en) | 2008-11-10 | 2008-11-10 | Circuit for realizing two-way sound transmission on same port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101742180A CN101742180A (en) | 2010-06-16 |
CN101742180B true CN101742180B (en) | 2012-06-27 |
Family
ID=42464976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810217565XA Active CN101742180B (en) | 2008-11-10 | 2008-11-10 | Circuit for realizing two-way sound transmission on same port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101742180B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164030B (en) * | 2011-02-15 | 2014-01-29 | 矽力杰半导体技术(杭州)有限公司 | Single-port communication circuit and communication method thereof |
CN103281070A (en) * | 2013-06-14 | 2013-09-04 | 成都锐奕信息技术有限公司 | Input and output controllable type IO port |
CN103532498A (en) * | 2013-10-23 | 2014-01-22 | 成都市宏山科技有限公司 | Low-detuning sensor detection circuit |
CN103513116A (en) * | 2013-10-23 | 2014-01-15 | 成都市宏山科技有限公司 | Differential capacitance-type sensor detection circuit |
CN113259542B (en) * | 2021-05-13 | 2022-09-02 | 深圳Tcl数字技术有限公司 | Audio and video signal input and output control device and method and electrical equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5697079A (en) * | 1996-02-09 | 1997-12-09 | Spivey; Ronny | Audio signal editing device for use with a television |
JP2008089791A (en) * | 2006-09-29 | 2008-04-17 | D & M Holdings Inc | Audio signal processor |
CN201066879Y (en) * | 2007-05-31 | 2008-05-28 | 海尔集团公司 | Audio output device for STB/video player |
CN101202535A (en) * | 2007-09-20 | 2008-06-18 | 成都天奥电子有限公司 | Control method of new type digital audio power amplifier |
-
2008
- 2008-11-10 CN CN200810217565XA patent/CN101742180B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5697079A (en) * | 1996-02-09 | 1997-12-09 | Spivey; Ronny | Audio signal editing device for use with a television |
JP2008089791A (en) * | 2006-09-29 | 2008-04-17 | D & M Holdings Inc | Audio signal processor |
CN201066879Y (en) * | 2007-05-31 | 2008-05-28 | 海尔集团公司 | Audio output device for STB/video player |
CN101202535A (en) * | 2007-09-20 | 2008-06-18 | 成都天奥电子有限公司 | Control method of new type digital audio power amplifier |
Also Published As
Publication number | Publication date |
---|---|
CN101742180A (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101742180B (en) | Circuit for realizing two-way sound transmission on same port | |
CN100459369C (en) | Controller for switching main power supply | |
CN103634008A (en) | Multi-channel signal collecting device and collecting method | |
CN101394163A (en) | Signal conditioning circuit and dual sampling-hold circuit applying the conditioning method | |
CN103792413A (en) | Multi-channel weak signal acquisition circuit | |
CN209330080U (en) | GaN HEMT protects circuit and equipment | |
CN100490312C (en) | Common mode feedback circuit for switching capacitor system | |
CN104104407B (en) | Multifunctional microwave transmit-receive front end | |
CN207926549U (en) | A kind of numerical control attenuation circuit based on switching circuit | |
CN103199826A (en) | Switching circuit and switching method of analog signal channel | |
CN202998033U (en) | Time-delay reset circuit and portable terminal employing same | |
CN201069524Y (en) | A multi-channel separated data collection device | |
CN109599846A (en) | A kind of overcurrent protection circuit and guard method of display module | |
CN201608725U (en) | VDSL 30 a terminal equipment compatible with ADSL | |
CN203759453U (en) | Multiple channel weak signal acquisition circuit | |
CN202268461U (en) | Multi-frequency combiner and intelligent signal gating circuit thereof | |
CN201039335Y (en) | Power supply circuit and TV set for multi-channel voltage switch output | |
CN204068964U (en) | The equipment of a kind of compatible for wired audio frequency and ANTENN AUDIO data channel | |
CN103187940B (en) | A kind of programmable amplifier and a kind of receiver | |
CN215072348U (en) | Multi-channel direct current acquisition multiplexing circuit based on analog switch | |
CN216772413U (en) | Human-computer interface system with data acquisition and Internet of things functions | |
CN201097175Y (en) | Analog voltage and current independent input device | |
CN206757323U (en) | A kind of control circuit and separate type call bracelet for separate type call bracelet | |
CN201084874Y (en) | A two-way wave filter | |
CN203661033U (en) | Isolated signal sampling threshold circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |