Maker Pro
Maker Pro

Facing problem with two X-10 Transceivers

snoopy5376

Jan 10, 2012
3
Joined
Jan 10, 2012
Messages
3
I'm implementing X10 on 240V, 50Hz power line. PIC16F877A microp is used to generate 100kHz X10 signals. Proteus 7 is used to simulate my result.

This is my transceiver circuit:
Transceiver.jpg

The Tuned and Untuned Amplifiers are shown below:
Filter.jpg

This is the output i got when the transceiver send and receive on its own.
1Transceiver.jpg
Yellow - 240V power line, Blue - 100kHz X10 signal from XOUT, Red - Received Signal at XIN

I face problem when i try to send and receive using 2 different transceiver where TranscA is to send and TranscB is to receive. I connect both of them to the 240V power line as shown below:

TranscA
TranscA.jpg

TranscB
TranscB.jpg

But what i got is as shown:
2Transceiver.jpg
Yellow - 240V power line, Blue - 100kHz signal generated by TranscA, Green - Signal received by TranscB

Is this the correct way to connect both the transceiver in simulation? Where have i gone wrong:confused::confused:? Will it be the filter circuits, or the pwm programming, or which part? Thanks in advance for any help:):p
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
The first issue is that when a transmitter is sending to itself, the output of the transmitter is connected to the input of the receiver.

This means it gets a much larger signal.

Have you looked at the 240V line? Does any signal appear on it?

I would connect the transmitter and receiver independently to the 240V.
 

snoopy5376

Jan 10, 2012
3
Joined
Jan 10, 2012
Messages
3
This is a transceiver (transmitter and receiver on a same board). The connections were according to microchip AN236 http://ww1.microchip.com/downloads/en/appnotes/00236a.pdf. There is no problem for a transceiver to send and receive by its own.

Now i would like to try to send and receive using two different transceivers (A and B). In real world, these two transceiver should be connected independently to the powerline. However, i would like to try on simulation first. therefore, i connect them through TRANSCB as shown in the attachments above in simulation.

As for the 240V powerline, there are glitches on the 240V powerline whenever the X10 signals exist. so i assume that the X10 signal is successfully transmitted to the 240V powerline.
11012012612.jpg

Am i correct?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
I see nowhere that it suggests that a transmitter and a receiver can share the same coupling to the mains. Perhaps you can point it out?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
The 50 ohm resistor on the transmitter side will effectively be attenuating the input signal to next to nothing. Maybe you could try using a line driver with a tristate output and placing it in a high impedance state when you're not transmitting?
 

snoopy5376

Jan 10, 2012
3
Joined
Jan 10, 2012
Messages
3
From AN236 Figure 4 and Figure 5 show that the transmitter and receiver are using the same decoupling capacitor. Besides, i am following Figure C-4 and C-5 at the appendix part. The only difference is the filter part.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Why aren't you using their filter design?

It may offer a lot more gain than yours.

try disconnecting the transmitter part of your interface and see if it works. Then try increasing the gain.

Is the mains you're injecting this signal onto isolated with a transformer?
 
Top