Short circuit generator

konczakp
Wed Aug 09, 2017 1:13 pm
As on the picture below I have a 12V device (Base) which is using 2 wires for powering and communicating with receivers (R1, R2, Rx) Line is always high and now only Base is able to start communication by pulling Low power line for very short amount of time (about 12 – 16 us). In this way the Base is able to send High and Low to the receivers. Receivers somehow are able to respond. I wanted to change for example Receiver R3 to my maple mini and start the communication in the same way as the Base is doing. To be able to communicate with other receivers. I think i need to do short circuit for a very short time (12us) to generate Low state on the power line. Does anyone know how to do this? Maple mini is a 3.3v and the line is 12V. I couldn’t find any switch working as fast as I need …

Selection_002.jpg
Selection_002.jpg (9.11 KiB) Viewed 506 times

RogerClark
Wed Aug 09, 2017 9:30 pm
Why not use a FET

Pito
Thu Aug 10, 2017 8:44 am
I do not understand what you want to do.
Shall the MapleM be the initiator (the Base) shorting the 12V??
Or, the MapleM shall be the R3 – receiving the signal via pulse on 12V??

When shorting the 12V you need 2 switches most probably:
1. to switch the +12V rail off the power source (ie. a high-side pmosfet), and after some small delay
2. to short the +12V against GND (ie. nmosfet) to generate the precise 12us pulse, and after some small delay then
3. to switch +12V back on.


konczakp
Thu Aug 10, 2017 11:03 am
I want to replace R3 but I want to be able to act as a BASE. I’m already able to receive signals via a 12V rail. In other words the BASE and me can init the communication with other Receivers. The problem is I cannot switch off the base and power the rail from other source. BASE must stay online and power the rail (it has a short circuit protection :)) The easiest way would be to use a SSR switch to short circuit but I couldn’t find as fast as I need. I only used MOSFET for dimming or dc motor driver but I don’t know if it is possible to use it in a way I want. I think MOSFET need to have some resistance to switch it on and when applying R then there is no short circuit. Or maybe I’m wrong ? If You have any idea could You also draw a simple circuit for the connection ?

EDIT: Maybe It would be easier if I would say that this is an intercom simillar to this one:

IioHAS_3000_Magistrala.JPG
IioHAS_3000_Magistrala.JPG (20.56 KiB) Viewed 463 times

ahull
Thu Aug 10, 2017 12:54 pm
How short is short?

In other word, do you need to crowbar the 12V with a few milliohms of short, or would a short of a few ohms, or tens of ohms be more appropriate?

The reason I ask, is that a dead short will provide a huge spike of energy, as the current will be high, but a few ohms, or tens of ohms will limit the current and therefore the switch required can be less robust. Does the system in question specify what a “short” is?

BTW most pulse dialling doesn’t rely on shorting, but rather on loop disconnect of a current loop. https://en.wikipedia.org/wiki/Pulse_dialing
It is possible in these systems to dial by “flashing the hook” at the correct rate to simulate the rotary dialler, this requires a little practice, but once learned, you can achieve pretty consistent results simply by clicking the hook switch at the correct rate.

EIT: You might also like to take a look at this.. -> https://www.sparkfun.com/tutorials/51

… and this …

Image

.. and this …

https://www.google.co.uk/search?q=pulse … 581#imgrc=_


konczakp
Thu Aug 10, 2017 1:11 pm
[ahull – Thu Aug 10, 2017 12:54 pm] –
BTW most pulse dialling doesn’t rely on shorting, but rather on loop disconnect of a current loop. https://en.wikipedia.org/wiki/Pulse_dialing
It is possible in these systems to dial by “flashing the hook” at the correct rate to simulate the rotary dialler, this requires a little practice, but once learned, you can achieve pretty consistent results simply by clicking the hook switch at the correct rate.

Maybe this is how it works. But I’m unable to click the hook with 16us 21 times :) :) What circuit do I need for that ?
To be honest I took saleae logic analyzer and connected to those 2 wires by a voltage divider and I recorded all pulses. I don’t know how it works but I’d like to do the same in reverse. To be able to dial from receiver.


ahull
Thu Aug 10, 2017 1:32 pm
[konczakp – Thu Aug 10, 2017 1:11 pm] –

[ahull – Thu Aug 10, 2017 12:54 pm] –
BTW most pulse dialling doesn’t rely on shorting, but rather on loop disconnect of a current loop. https://en.wikipedia.org/wiki/Pulse_dialing
It is possible in these systems to dial by “flashing the hook” at the correct rate to simulate the rotary dialler, this requires a little practice, but once learned, you can achieve pretty consistent results simply by clicking the hook switch at the correct rate.

Maybe this is how it works. But I’m unable to click the hook with 16us 21 times :) :) What circuit do I need for that ?
To be honest I took saleae logic analyzer and connected to those 2 wires by a voltage divider and I recorded all pulses. I don’t know how it works but I’d like to do the same in reverse. To be able to dial from receiver.

Do you have some example images of the signalling from your logic analyser?

Are you sure the line voltage of the system runs at 12V DC? Often phone (PBX) systems run at a notional +50V DC (more commonly +48V DC), and rely on current sensing rather than voltage sensing as this is far more reliable over long cable lengths. https://pbxbook.com/other/trunks.html

Image

There is of course nothing to suggest that your system works this way, other than the fact that this is a very common standard.

Do you have the manufacturer, model number and spec and/or schematics of the intercom?


ahull
Thu Aug 10, 2017 1:54 pm
If your system works in a manner similar to the above schematic, then you could hook in to it with a suitable load, and relay, and pulse the relay at the required rate. You may either power your system parasitically from the line (more difficult to implement, easier to install), or run it from a separate isolated supply. Pulsing a relay is pretty easy.

Pito
Thu Aug 10, 2017 6:11 pm
There is not such relay to pulse at 16us duration/rate..
What is the current drawn by the R1..Rx phone?
Does the Base switch to zero Volt? It could be the Base switches from 12V to 6V (for example) – still enough voltage to power the phones and the phone can easily read the pulses..

konczakp
Thu Aug 10, 2017 7:14 pm
I have attached the captured data via saleae (remove txt extension). Base is proel 1803 and the receiver is proel pc255. I don’t have any schematics. When nothing is on the line there is 12-14V.

ahull
Thu Aug 10, 2017 7:55 pm
More technical details => http://www.instalacjeteletechniczne.pl/ … cd1803.pdf
(Translation => https://translate.google.co.uk/translat … rev=search )

konczakp
Fri Aug 11, 2017 8:00 am
Yes I’ve seen this doc but it is about how to setup and connect the base rather then how the base is sending data and interfacing with the receivers.
I also don’t have any device fast enough to measure voltage in time of 16us when it is going to low. I’ve attached to my earlier post file with captured pulses from logic analyzer but this capture was made with voltage divider so I don’t know if it is going really low to 0v. But I could imagine that the uc is connected via capacitor to the 12V and when the line goes low then the uc is powered for a very short time from capacitor. But maybe this is a bad approach. I don’t have knowledge about it. I also know that when the base is sending receiver number (address) at the beginning then this communication is digital and after that everything goes in analog way. It is like:
power line is at 12-14V
1. long low for reset
2. receiver number
3. wait time
4. start to ring (few rings with delays between each ring) and wait for off-hook to start the conversation.
5. off-hook – power line is going to about 5V and analog communication is started
6. on-hook when end of talk – power line goes to 12V
I haven’t measure the current drawn by the receiver because the current is meaningful only when You want to pick-up the phone and start the conversation. I know that there are no SSR switches going so fast (I wrote it in my first post). How can I distinguish how it really works and what to do to to be a second base in the same circuit?

ahull
Fri Aug 11, 2017 9:06 am
I think a bit of reverse engineering may be in order.
Maybe its time to take the cover off one of the slaves, and take some pictures, so we can identify the chipset and circuitry involved in communications.
Can you borrow an oscilloscope? By my back of the envelope calculation, a 16uS period suggests a relatively low bandwidth signal of the order of 62,500 Hz (62.5kHz), so you should be able to see that on the “pig-o-scope” or any of the low cost scopes from ebay/ali express.

konczakp
Fri Aug 11, 2017 10:16 am
Ok so I’ve made a few calls and I will borrow today 200HHz scope. Write me then please what to measure an when ?

ahull
Fri Aug 11, 2017 1:51 pm
[konczakp – Fri Aug 11, 2017 10:16 am] –
Ok so I’ve made a few calls and I will borrow today 200HHz scope. Write me then please what to measure an when ?

You will need to take a few pictures of the waveforms, so we can see what is what.


dwight
Sat Aug 12, 2017 4:26 am
Maybe you might look at it a different way. I would suspect that the
units on the line all have local regulators.
Why not just put a low level signal on the line and either tap it off with
a capacitor or even transformer.
You could use a simple tone or even a phase modulation that rides on
top of the DC level.
Most regulators can handle 100Hz with good isolation.
Most power supplies that put out amps, do not take kindly to shorts.
Dwight

konczakp
Sat Aug 12, 2017 4:59 pm
Ok, so I’ve made some measurements and pictures. This is how the receiver look like from inside.

Side one:

IMG_20170812_182241.jpg
IMG_20170812_182241.jpg (79.09 KiB) Viewed 315 times

konczakp
Sat Aug 12, 2017 5:01 pm
IMG_20170812_172537.jpg
IMG_20170812_172537.jpg (90.21 KiB) Viewed 315 times

konczakp
Sat Aug 12, 2017 5:05 pm
IMG_20170812_172750.jpg
IMG_20170812_172750.jpg (95.09 KiB) Viewed 315 times

konczakp
Sat Aug 12, 2017 5:11 pm
IMG_20170812_173405.jpg
IMG_20170812_173405.jpg (88.53 KiB) Viewed 315 times

Pito
Sat Aug 12, 2017 5:25 pm
If you short the probe’s tip with gnd do you see 0V? If yes, then the measurements seem to be ok (talking here where you set the 0V on the screen).
There is none micro-controller in the phone. So the phone numbers are somehow hardwired on the pcb for the specific phone R1–Rx. Yes, there are the pin headers on the top you may set with an actual phone number.
The chips there are: 40103 – 8bit binary counter with presets inputs, which counts the pulses and compares with the number preset with the jumpers, and 4093 – 4x nand gates doing some timing (few RCs at its pins).

Pito
Sat Aug 12, 2017 5:56 pm
Your recorded dialing pulses – it seems to me your measurement is 400mV pulse 308us long on top of 10V.
So it pulses 10V->10.4V->10V on your picture..

konczakp
Sat Aug 12, 2017 8:02 pm
[Pito – Sat Aug 12, 2017 5:56 pm] –
Your recorded dialing pulses – it seems to me your measurement is 400mV pulse 308us long on top of 10V.
So it pulses 10V->10.4V->10V on your picture..

Then it would be very strange because logic analyzer would not show pulse for a 400mv change, I think. And Why the ringing signal would be made in a different manner than Receiver number signal ( 0v as Low signal )? This chip 40103 would recognize 400mV change ? But still, how can I pull the rail to low even if this would be only for ring signal ?


dannyf
Tue Aug 29, 2017 2:05 pm
.

To be able to communicate with other receivers. I think i need to do short circuit for a very short time (12us) to generate Low state on the power line.

That’s a very odd way to communicate to anything. Before you proceed any further, I would strongly suggest that you confirm that’s indeed the case.

With that said, using a mosfet, properly rated for this application, would be the simpkiest solution.

You may also check into relays, etc. As an alternative.


ahull
Tue Aug 29, 2017 3:56 pm
As I previously posted, breaking the line rather than shorting it, is the standard method of signalling on the majority of analogue telephone system I have ever worked on (and I’ve worked on quite a few). Shorting things out, with a dead short, even on a current loop system does sound a little odd, not to say a little dangerous, if high currents might be a possibility in the event of equipment failure.

Leave a Reply

Your email address will not be published. Required fields are marked *