Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 25th September 2007, 12:52 AM   (permalink)
Unhappy audio interface for telephone

hi all,

this is my first post here and i hope that i found the right place, i want to design a simple cheap interface between the computer's soundcard and the normal telephone through the rj-11 connection, i have googled alot for about a week, and i found alot of doc(s) talking about this issue like home-made chat cords and the modem's hybrid circuits for audio separation (coz of the ordinary duplex 2w system) or phone-recording circuits, but my conclusion that the pure separation for voice should be achieved using 600:600 audio transformer with secondary coil c.t and also it's hard to get a balanced circuit with it, so in my design i may not require this separation (if the clear-separation will be hard & also the transformers must be used !!) and i hope to make the interface for both spkr & mic without using any isolation transformers neither normal nor c.t by using any equivalent methods (i dunno, plz help ??) even if the quality will be less, and about the loop current i red that using normal 9v battery will be bad and providing it (about 20-30 mA) with current-source circuit will be better (is that true ??), the last thing is about dc-blocking capacitors and filters to be inserted before the sound card's jacks for safety and removal of noise (what values of capacitors & resistances should i use ??), thanks.

ibrahim shahin,
computer and electrical engineering - ASU
pooh2006 is offline   Reply With Quote
Old 25th September 2007, 01:02 AM   (permalink)
Default

All telephone external audio circuits use a transformer because it has perfect balance and isolation.

The transformer or electronic circuit must be a "hybrid" type if you want to transmit with a microphone at the same time you receive with an amplified speaker. The Hybrid's impedance match must be adjusted to match the impedance of the telephone line and the gains must be kept very low to avoid acoustical feedback howling.
Usually a speakerphone uses gain switching or added DSP echo cancellation. Then the volume can be louder.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 25th September 2007, 03:27 AM   (permalink)
Default

Well you state that you want to interface to a sound card but you don't state if you want to be able to both input and output to and from the sound card to the phone line. If you need two way functions then you will need a hybrid circuit to isolate talk from listen. Also while a capacitor will block the DC component you still have to be able to isolate your interface circuit from the sound card when you are in a 'off-hook' condition or a 90V 20hz AC ringing voltage will be sent to your sound card at some time and most likely damage it. Designing and building such an interface is not as simple as you might think. It would probably be better to modify some existing telephone type circuit that already interfaces with a separate earphone and microphone, then all you would have to deal with is matching the level requirements of the sound card in and out levels. I bet E-bay would cough up cheap devices that you could adapt to.

Lefty
__________________
Measurement changes behavior
Leftyretro is offline   Reply With Quote
Old 25th September 2007, 03:56 AM   (permalink)
Default

I posted a circuit for this some time ago. I made it for my daughter who wanted to record phone conferences.

I used the case and PCB of an old answering machine. I removed a few parts from around the input transformer and added the necessary components so as to use the transformer.

See http://www.electro-tech-online.com/e...=phone+monitor
__________________
Len
ljcox is offline   Reply With Quote
Old 25th September 2007, 05:59 AM   (permalink)
Default some comments

thanks all

Quote:
Originally Posted by audioguru
All telephone external audio circuits use a transformer because it has perfect balance and isolation.
but there is no any equivalent ??

Quote:
Originally Posted by audioguru
The transformer or electronic circuit must be a "hybrid" type if you want to transmit with a microphone at the same time you receive with an amplified speaker.
no, i think that if i send both of the voices (in\out) to the mic with a 0% separation so it'll not be a hybrid circuit, and i attached the circuit that does that for me when tested but with medium quality, but i don't know how did the author get this schematic which even not the resistive hybrid bridge



Quote:
Originally Posted by audioguru
Usually a speakerphone uses gain switching or added DSP echo cancellation. Then the volume can be louder.
what does dsp cancellation refer to ??

Quote:
Originally Posted by Leftyretro
you don't state if you want to be able to both input and output to and from the sound card to the phone line. If you need two way functions then you will need a hybrid circuit to isolate talk from listen.
i mean that i can playback the sound through the speaker and i may have the sound received from the mic where it is mixed with the sound added from the telephone, so i can separate it on the computer using a suitable software (i will record both of the spkr & mic then do a subtraction), coz i need't a complex circuit for this separation using the hardware (so i can eliminate the usage of transformers also).

Quote:
Originally Posted by Leftyretro
Also while a capacitor will block the DC component you still have to be able to isolate your interface circuit from the sound card when you are in a 'off-hook' condition or a 90V 20hz AC ringing voltage will be sent to your sound card at some time and most likely damage it.
i will connect the phone to the computer only !!, aka a pure voip connection.

Quote:
Originally Posted by Leftyretro
Designing and building such an interface is not as simple as you might think. It would probably be better to modify some existing telephone type circuit that already interfaces with a separate earphone and microphone.

Lefty
can u recommend any simple one to me ??
pooh2006 is offline   Reply With Quote
Old 25th September 2007, 07:14 AM   (permalink)
Default

Quote:
Originally Posted by pooh2006
i mean that i can playback the sound through the speaker and i may have the sound received from the mic where it is mixed with the sound added from the telephone, so i can separate it on the computer using a suitable software (i will record both of the spkr & mic then do a subtraction), coz i need't a complex circuit for this separation using the hardware (so i can eliminate the usage of transformers also).
NO!!!

The transformer is essential for 2 reasons:-

1. For electrical safety. This is a legal requirement in Australia and probably most other countries as it prevents the possibility of a linesman being electrocuted due to a computer fault applying the mains voltage to the line. The transformer must have adequate insulation between primary and secondary. That is why I used one from the telephone answering machine.

2. There would be noise induced - particularly mains hum. The phone line is balanced in order to minimise induced common mode noise.

The computer input is unbalanced, ie. one side is connected to the computer ground.
__________________
Len
ljcox is offline   Reply With Quote
Old 25th September 2007, 09:30 AM   (permalink)
Default

Quote:
Originally Posted by ljcox
NO!!!

The transformer is essential for 2 reasons:-

1. For electrical safety. This is a legal requirement in Australia and probably most other countries as it prevents the possibility of a linesman being electrocuted due to a computer fault applying the mains voltage to the line. The transformer must have adequate insulation between primary and secondary. That is why I used one from the telephone answering machine.

2. There would be noise induced - particularly mains hum. The phone line is balanced in order to minimise induced common mode noise.

The computer input is unbalanced, ie. one side is connected to the computer ground.

so what is the simplest circuit that i can use (with only one normal 600:600 transformer) to make an interface to the computer's spkr & mic jacks ???


A Question For All,
if i found the c.t transformer that i hardly searched for it, is the basic circuit that combine only a single resistance (100->400 ohm) with the transformer from its c.t sec. coil to the ground will be enough for a well isolated hybrid circuit after adding dc-blocking capacitors, or i should use a modified version ???
pooh2006 is offline   Reply With Quote
Old 25th September 2007, 10:25 AM   (permalink)
Default

Hai Pooh2006,
Can you try the attached schematic and see
It did not indicate the power supply connections perhaps. device is like LM358 (dual amp). this element is generally used in Modems.
__________________
Regards,
Sarma.

Last edited by mvs sarma; 7th July 2008 at 12:12 PM.
mvs sarma is offline   Reply With Quote
Old 25th September 2007, 11:12 AM   (permalink)
Default

Quote:
Originally Posted by mvs sarma
Hai Pooh2006,
Can you try the attached schematic and see
It did not indicate the power supply connections perhaps. device is like LM358 (dual amp). this element is generally used in Modems.
i found this circuit before on http://www.tkk.fi/Misc/Electronics/c...interface.html through google, and i think it have somethin' wrong coz after analyzing the op-amp subtraction circuit i found that it subtracts the hole mixed signal from the transmitter signal (or may be i'm wrong !), and also i'll require a dual op-amp ic beside the transformer in circuit which is not good for my desired circuit, anyway thanks.
pooh2006 is offline   Reply With Quote
Old 25th September 2007, 11:41 AM   (permalink)
Default

You could do some research on "phone patch" - equipment used to connect radio equipment to telephone lines. While probably obsolete the information might help with your situation.
__________________
stevez
stevez is offline   Reply With Quote
Old 25th September 2007, 11:42 AM   (permalink)
Default

A hybrid is required to subtract the received signal from the transmitted signal:
1) So that the distant end doesn't hear his own voice loud and delayed.
2) In case the distant end has the same circuit which would cause acoustical feedback howling.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 25th September 2007, 05:36 PM   (permalink)
Default

Quote:
Originally Posted by audioguru
A hybrid is required to subtract the received signal from the transmitted signal
but in my circuit i'll not require this subtraction niether using c.t transformer nor op-amp with normal transformer, i'll do the subtraction on the computer using a software (after recording both of spkr & mic signals as i mentioned before) so my requirment is to design a simple interface that send the sound without amplification from the pc to the phone line through spkr jack and receive the mixed signal (containing the phone user's speech) on the pc from mic jack, without any subtraction on the hardware level, and the circuit that i had posted above do that already for me but i'm asking about better & more standard circuits for that, i hope that audioguru can now understand my issue & can provide me with his experience in designing the circuit scheme, and about using an audio transformer for safety i could use a normal one but not for creating a hybrid (only a 2-way audio interface).
pooh2006 is offline   Reply With Quote
Old 25th September 2007, 05:51 PM   (permalink)
Default

A properly adjusted hybrid or DSP acoustical echo canceller allows full duplex loud speech on a 2-wire telephone line. Or gain switching must be used (one side is muted when the other side is louder).
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 25th September 2007, 08:02 PM   (permalink)
Default

Quote:
Originally Posted by audioguru
A properly adjusted hybrid or DSP acoustical echo canceller allows full duplex loud speech on a 2-wire telephone line. Or gain switching must be used (one side is muted when the other side is louder).
i think that you didn't understand me in the last reply !!, i'm asking about handling the duplex (mixed signal) through the mic without any separation !!, any help in this direction ??
pooh2006 is offline   Reply With Quote
Old 25th September 2007, 08:30 PM   (permalink)
Default

I don't know what you want.
A microphone on a table in a room and an amplified lodspeaker will have acoustical feedback howling when connected to a phone line without a properly adjusted hybrid circuit. Even speakerphones have a hybrid but need to also have a DSP echo canceller or use gain switching to avoid howling.

The microphone in a room picks up the sound and echoes of the distant voice. You don't want to send those sounds to the other end.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Simple I2C interface chip? oeginc General Electronics Chat 20 29th March 2008 12:52 AM
Coupling with an audio output fvnktion Electronic Projects Design/Ideas/Reviews 3 5th February 2007 09:37 PM
Low Power Audio Amplifier indecided Electronic Projects Design/Ideas/Reviews 33 8th May 2005 03:18 PM
Audio Amplifier Designing Project silverferro Electronic Projects Design/Ideas/Reviews 3 26th August 2004 10:04 AM
Front pannel audio connector for computer grrr_arrghh General Electronics Chat 0 7th March 2004 04:01 PM



All times are GMT. The time now is 05:50 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.