Rules | Recent posts | topic RSS | Search | Register  | Log in

A/D on telephone line

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Professional Hardware and Electronics Design
Author Message
DavidP



Joined: 15 Jun 2002
Posts: 37
Location: Israel


Post01 Mar 2004 23:53   A/D on telephone line

What would be the best way to isolate an A2D (like ADC0803) connected to a telephone line in order to measure DC voltage and AC voltage (while ringging) on it. With AC it is easier as a 600R can be connected between the line and the other side of the transformer may be grounded, but with DC....

Thanks

David
Back to top
arturt134



Joined: 01 Jan 1970
Posts: 140
Helped: 1
Location: Poland


Post09 Mar 2004 10:54   Re: A/D on telephone line

If you need only to make a fact: is ringing voltage or not, use opto isolation and a capacitor to block dc voltage.
If you need to know what exactly voltage is, use AD on line side (powered from the line), then opto isolation use between AD and uC.
Back to top
papyaki



Joined: 13 Apr 2002
Posts: 564
Helped: 19
Location: A small village somewhere in Gaul


Post09 Mar 2004 11:25   Re: A/D on telephone line

Hi,

Just an idea to mesure dc voltage without isolation. Why not use a sample and hold capacitor with relay. On the sample phase, the capacitor is connected to the line an remain dc voltage. On hold phase, the capacitor is switched to the AD inputs, which do the measurment.
Back to top
C-Man



Joined: 19 Jul 2001
Posts: 1303
Helped: 73


Post09 Mar 2004 11:47   Re: A/D on telephone line

DavidP what exactly do you want to do?

Normally i am only interested if the phone is ringing or not, this can be detected with a simple optocoupler, resistor and series capacitor (have done that many times).

And why do you need to know the line voltage?
Do you for example want to detect if somebody picked up a telephone?

If yes a good (but expensive) solution is a DAA for example from Mitel (I use MH88435-P for a speaking remote controller).

You can check out the specs at the mitel website ...

best regards
Back to top
papyaki



Joined: 13 Apr 2002
Posts: 564
Helped: 19
Location: A small village somewhere in Gaul


Post09 Mar 2004 13:15   Re: A/D on telephone line

Hi,

DC value and polarity gives you the state of the line and the state of a call, eg. "caller off-hook/on-hook", "called off-hook/on-hook".
Back to top
Pazam



Joined: 31 Mar 2002
Posts: 47


Post09 Mar 2004 13:36   Re: A/D on telephone line

Dear DavidP,

If you want to know is the hook is on or off,
you can use a simply optocoupler as a switch.

If you want to measure the actual voltage,
you can use a simple phototransistor based
optocoupler (NPN for example).
Look for a graph in the data sheet of
CURRENT TRANSFER RATIO vs. FORWARD CURRENT.
This graph will describe the ration between
the LED forward current and the transistor
gain.
Find a linear zone and use it.
As the LED forward current will change, the
current through the phototransistor will
change. Use a small resistor at the collector
(or emitter) to measure this current.

Be aware that calibration might be needed per
circuit.

It should work Smile

Warning:
Be careful when you deal with the DC componenet.

Ususally none of the lines has any relation to the
common AC network ground.

This means that when you deal with the telephone
lines, you have to well isolate grounds and power
supplies.

Regards,

Pazam
Back to top
DavidP



Joined: 15 Jun 2002
Posts: 37
Location: Israel


Post10 Mar 2004 0:28   Re: A/D on telephone line

I thank all memebers trying to help me. Some of the ideas are really usefull.

The measurements are needed for PABX switches. I'm improving my automatic multi port tester. For this reason I must measure actual voltage on the line. With hook on I have to check that the voltage is not less then 30Vdc and not more then 53Vdc. with hook off the voltage should be 12Vdc and not less then 8Vdc. In addition the ringing voltage
is to be measured to be around 70Vac. Measurements are processed by an A/D connected to a nice 89S8252. Next step is to check for dial tone presence. This is not so difficult as i can check the audio signal at the earphone, and not directly on the line. More complicated is to detect presence of unwanted noises on the line. Since it is an automatic device there is no posibility to listen to the signal. The signal is to be tested by the micro.

I'll be glad to hear forther inputs on those subjects.
Back to top
Pazam



Joined: 31 Mar 2002
Posts: 47


Post10 Mar 2004 9:48   Re: A/D on telephone line

Dear DavidP

Now I understand your needs better.

If you're building a test bench you should consider using a
differential probe. It would be most accurate and simple to use.
The only down side is the price of the probe.

If you're looking for a cheaper solution, I think my idea of using
an optocoupler to measure the DC voltage should suite your needs.


Recognizing signals and noise should be easy if you use FFT.
You can use the processor to sample the telephone line and then
send the data to a PC for further analysis.

Regards,

Pazam
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Professional Hardware and Electronics Design
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap