Iriave Electronics located in Italy has developed and patented power line innovative interfaces with ASK (access security key) and FSK (frequency shift keying) modulation able to connect to any microcontroller or TTL (transistor-transistor logic) level devices, in order to control and receive data from electrical devices (motors, lights, etc.) by using power line as a bus for information interchange.
The device developed by Iriave Electronics is a hardware interface that allows control data communication over the power line. Its purpose is that of translating the serial output provided by some digital service, like a microcontroller, into a coded pulse train that is suitable for being transmitted over the usual domestic power lines. Conversely, the interface is able to extract such messages from the power line and to convert them into serial streams that the connected digital device can read. The interface therefore acts like a modem, allowing the employment of the common electrical supply network of a building as a local area network.
When coupled with a programmable digital device, such as a microprocessor or a microcontroller, the patented device allows the realization of “intelligent” and “communicative” equipments that can interact with similar objects over a domestic network, without the need of installing a dedicating wiring. Typical applications are in the field of Home and Building Automation (management of surveillance and alarm systems, home appliances automation, AMR (Automatic Meter Reader), Application Bluetooth and Wireless, Power line mode, Home automation control, Security and surveillance, General-purpose isolated transceiver, Internet appliances).
The innovative feature of these devices is that they transmit data on the power line, using the concept of conveyed wave (zero crossing), and in the presence of noise on power line, such as in industrial environments, those can be used to transmit data on a cc Bus.
Eventually, the X10 protocol (extended functions) can be used for some applications.
Our technology allows introducing for the first time the chance to use sensors or on power line or on Bus.
In from 12 to 24 V
Zero â€“crossing detection
TDA5051 on board
In from 12 to 24 V
Zero â€“crossing detection
HOW TO USE TR-2 TR-3. 3
TR-2 functioning diagrams. 4
TR-3 functioning diagrams. 4
CONFIGURATION 1. 5
DIRECT CONNECTION TO PC.. 5
CONFIGURATION 2. 7
CONNECTION TO PIC16F877. 7
CONFIGURATION 3. 9
CONNECTION TO T89C51RD2 (COMPATIBLE 8051 FAMILY) 9
TW523 EMULATOR AND COMPATIBLE PRODUCTS. 10
PLI (Power Line Interface) 10
TR-2 and TR-3 are used for communicating between users. They are integrating components for transmitting and receiving data TTL interfaced.
– AMR (Automatic Meter Reader)
– Application Bluetooth and Wireless
– Power line modem
– Home automation control
– Security and surveillance
– General-purpose isolated transceiver
– Internet appliances
HOW TO USE TR-2 TR-3
TR-2 and TR-3 devices work in a similar way.
TR-2 can transmit from 50 to 1200 bits per second with a low BER.
TR-3 can transmit from 50 to 2400 bit per second with a low BER but it is more sensitive in receiving. It can cover a wider range.
On pin1, devices are supplied at 12-24 V, on pin3, they provide an out Vout = 5V with
IMAX=100 mA (do not connect pin3 to external power line sources).
Pin5 detects the zero crossing: at every step for the zero the out changes the logic level, it can be used for synchronizing to power line.
Pin4 provides the out of the received data, pin6, is the in for the transmitted data.
For TR-2, be sure to set TX pin at low level to avoid damaging the unit.
Transmission: bring TX EN high 0.5 ms before sending data. After sending data bring, TX EN low.
Receiving: signal at 120 KHz brings the RX pin high, while the absence of signal brings it low.
For TR-3, be sure to set TX pin at high level to avoid damaging the unit.
Transmission: bring TX EN high 0.5 ms before sending data according to inverted logic.
After sending data, bring TX EN low.
Receiving: signal at 120 KHz brings the /Rx pin low, while the absence of signal brings it high.
By keeping TX EN high the power line impedance decreases.
TR-2 functioning diagrams
TR-3 functioning diagrams
DIRECT CONNECTION TO PC
TRANSMISSION WITHOUT ZERO-CROSSING BETWEEN TWO PCs (RS232)ON POWER LINE
In order to transmit the transceivers to the PC by a MAX232 you must adapt the levels.
You can deduce the connections from the following electrical schematics.
Fig. 1 Levels adaptor for TR-2
Fig. 2 Levels adaptor for TR-3
If levels are adapted as in figs. 2 and 3, the reception stops working when RX/TX is low and
TX EN is high (this occurs in transmitting data when RTS is enable).
As a consequence, it is not possible to receive the transmitted data (absent echo).
LED SIGNALS: red for supply presence, yellow for data receiving, green for data transmission.
They are optional.
Fig.3 PC interface with MAX232.
Fig.4 Circuit power line supply at 24Volt.
To transmit with this circuit you need activating PIN RTS (7) at 0,5 ms before transmitting data,
to put the device in transmission (TX EN high).
We manufacture a PC interface in kit form. Contact us for further information.
A demo programme has been developed for this operation.
It is available on www.iriave.it or you can ask for it at firstname.lastname@example.org.
Note: This configuration only works with this type of flow hardware control.
CONNECTION TO PIC16F877
Microchip provides an AN236 application note that is complete of firmware and electrical schematics that develop a project for Home Automation.
The application note describes, in figs. C3, C4 and C5, a direct coupling on power line.
In AN236 application note, it is possible to substitute the transceiver and the zero-crossing detection with TR-2 o TR-3, because our devices are optoisolated and coupled by transformers on power line increasing the safety of the application.
Fig.5: Connection to PIC16F877
The TR-2 o TR-3 typical connection is represented here.
Please, pay attention to respect the devices levels as described above to avoid damaging the device.
In order to transmit, it is compulsory putting TX EN on high, by connecting it to pin 6 (Ra4) and modifying the firmware or connecting TX EN to Vcc, always activating the device during the transmission.
For actuation applications it is possible to use the following circuital solutions that we sell.
They are isolated from power line by optocouplers.
Fig.6: Box contact out at 16A with max electrical tension.
Fig.7: Box triac out at 16A (BTA16) for resistive loads
CONNECTION TO T89C51RD2 (COMPATIBLE 8051 FAMILY)
The T89C51RD2 device is ISP programmable, so, it suits for experimentation and development applications.
The following schematics refer to the demo firmware that you can ask for at email@example.com.
It represents the pin configuration and the typical connection for its functioning.
If the switch PROG is closed, the device starts programming mode.
Programming works in serial mode when the circuit in fig.3 is used,
by connecting, respectively,
TXD to pin3.1 and RXD to pin3.0.
The software for programming the device can be downloaded from www.Amtel.com in the section Products / 8051 Architecture / FLIP.
The device can be supplied as in fig.4.
The out of pin3 supplies the controller.
Fig.9: Connection to TR-2 and TR-3.
TW523 EMULATOR AND COMPATIBLE PRODUCTS
TW523 is a device that allows controlling X-10 units and its compatible products connected on power line.
It transmits and receives the commands foreseen by x-10 protocol.
TW523 or compatible can be manufactured connecting the schematic in figs. 8 and 9 (controller connected to TR-2 and TR-3) and loading the firmware.
The circuit is optocoupled in the respect of the safety norms.
The zero-crossing for the TW523 connection is emulated by the controller.
PLI (Power Line Interface)
Our PLI is an evolution of TW523, because it implements both the x-10 standard protocol and the extended protocol so that creating Home Automation software.
It can be connected to a PC by ActiveX and by PLI-Server it is possible to develop web, wap, touch-screen applications.
For more information visit www.iriave.it or contact us at firstname.lastname@example.org.
Connect the circuit in fig. to the microcontroller with TR-2 or TR-3 and load the firmware for an
X-10 compatible appliance with standard protocol.
Connect the circuit in fig. to the microcontroller with TR-2 or TR-3 and load the firmware for an X-10 compatible dimmer with standard protocol.
Our firm manufactures appliance and dimmer with standard and extended (our owner) protocol that are ready to install. In our compatible products, there are more functions implemented than in x-10 standard, such as: load detection presence/absence, hours of functioning, brightness percentage, and much more, in order to provide developers of applications on PC with the ideal platform for the management of a hotel, an apartment, a residence, a public lighting system etc.
For more information visit www.iriave.it.
Our schematics can be adapted to any microcontroller, in the respect of the technical features described in this application note and transceivers datasheet.
Requests of explanations are welcome at email@example.com
Our products have got more innovative functions than X-10, and allow realizing various applications: scenes, web servers, and wap controls, IR, wireless.
X-10 BUS – We have developed other products that use a dedicated bus (two-wire line),
use x-10 and its extended functions. Synchrony is based on the zero-crossing of the power line.
For information firstname.lastname@example.org.
Circuits are undergone to 110-230V ac tension, so they are potentially dangerous. It is possible to be killed by an electrical shock if the current safety norms are not respected.
The content of this document is provided by IRIAVE ELECTRONICS, for didactic purpose and without any implicit or explicit guaranty.
The author is not responsible for the use or interpretation or eventual damages of any nature that should derive for people or objects.
The use of any information or programme, the manufacturing and use of the circuit here presented, are user’s responsibility.
All the names and firms are property of their legitimate owners.
All the material can be freely consulted and used for personal purpose but not copied, nor spread with other media, except by mentioning its source.
The content can be modified. The commercial use is forbidden except on previous agreement.
Any eventual detection of mistakes, or ambiguity in the explanation or in the functioning of programmes and circuits is welcome.