Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #23691 > unrolled thread

Two wires bus for data and power

Started bypozz <pozzugno@gmail.com>
First post2016-04-18 12:12 +0200
Last post2016-04-20 11:41 +0200
Articles 17 — 6 participants

Back to article view | Back to comp.arch.embedded


Contents

  Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-18 12:12 +0200
    Re: Two wires bus for data and power raimond.dragomir@gmail.com - 2016-04-18 05:49 -0700
      Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-19 10:40 +0200
    Re: Two wires bus for data and power Grant Edwards <invalid@invalid.invalid> - 2016-04-18 14:28 +0000
      Re: Two wires bus for data and power Pete <pjetson@yahoo.com> - 2016-04-19 09:51 +1000
        Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-19 10:45 +0200
      Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-19 10:44 +0200
        Re: Two wires bus for data and power Grant Edwards <invalid@invalid.invalid> - 2016-04-19 14:09 +0000
          Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-20 09:35 +0200
    Re: Two wires bus for data and power "antedeluvian" <63015@EmbeddedRelated> - 2016-04-18 10:50 -0500
    Re: Two wires bus for data and power Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:55 -0500
      Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-19 10:46 +0200
        Re: Two wires bus for data and power raimond.dragomir@gmail.com - 2016-04-19 02:05 -0700
          Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-20 09:48 +0200
            Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-21 09:16 +0200
    Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-20 09:43 +0200
    Re: Two wires bus for data and power pozz <pozzugno@gmail.com> - 2016-04-20 11:41 +0200

#23691 — Two wires bus for data and power

Frompozz <pozzugno@gmail.com>
Date2016-04-18 12:12 +0200
SubjectTwo wires bus for data and power
Message-ID<nf2bok$3e6$1@dont-email.me>
There are many commercial solutions for home-automation systems that are 
based on a two wires bus both for bidirectional data and for powering 
the modules.  The number of connected modules could be high, 100 or more.

What is the technology of those kind of buses? Are they simple 
half-duplex RS485? In this case, how the power can be distributed on the 
same wires of data? Is the protocol master/slave? In this case, the time 
to poll all the modules could be some seconds and the reaction of user 
commands is very bad.

Or are there other solutions?

[toc] | [next] | [standalone]


#23692

Fromraimond.dragomir@gmail.com
Date2016-04-18 05:49 -0700
Message-ID<2ec766b7-cef9-418a-aac8-657a49010d49@googlegroups.com>
In reply to#23691
luni, 18 aprilie 2016, 13:12:49 UTC+3, pozz a scris:
> There are many commercial solutions for home-automation systems that are 
> based on a two wires bus both for bidirectional data and for powering 
> the modules.  The number of connected modules could be high, 100 or more.
> 
> What is the technology of those kind of buses? Are they simple 
> half-duplex RS485? In this case, how the power can be distributed on the 
> same wires of data? Is the protocol master/slave? In this case, the time 
> to poll all the modules could be some seconds and the reaction of user 
> commands is very bad.
> 
> Or are there other solutions?

24VDC is the minimum I'm aware of. There are also solutions for 220VAC.
You need quite expensive specialized driver chips. These are like 
RF chips: they modulate some frequencies on the carier wire like the
RF parts do over the air. For details search the web, but this is the
basic technology.

[toc] | [prev] | [next] | [standalone]


#23697

Frompozz <pozzugno@gmail.com>
Date2016-04-19 10:40 +0200
Message-ID<nf4qn0$8p4$1@dont-email.me>
In reply to#23692
Il 18/04/2016 14:49, raimond.dragomir@gmail.com ha scritto:
> luni, 18 aprilie 2016, 13:12:49 UTC+3, pozz a scris:
>> There are many commercial solutions for home-automation systems that are
>> based on a two wires bus both for bidirectional data and for powering
>> the modules.  The number of connected modules could be high, 100 or more.
>>
>> What is the technology of those kind of buses? Are they simple
>> half-duplex RS485? In this case, how the power can be distributed on the
>> same wires of data? Is the protocol master/slave? In this case, the time
>> to poll all the modules could be some seconds and the reaction of user
>> commands is very bad.
>>
>> Or are there other solutions?
>
> 24VDC is the minimum I'm aware of. There are also solutions for 220VAC.
> You need quite expensive specialized driver chips.

Quite expensive? They are products for consumers. It isn't a low-end 
market, but it isn't industrial too.

It's very simple to have 50-100 modules on the bus even for small-medium 
private buildings (homes).


> These are like
> RF chips: they modulate some frequencies on the carier wire like the
> RF parts do over the air. For details search the web, but this is the
> basic technology.

I couldn't find any ready-to-use chips, except KNX standards that are 
very closed and it seems impossible to understand the technical details 
of the bus.

[toc] | [prev] | [next] | [standalone]


#23693

FromGrant Edwards <invalid@invalid.invalid>
Date2016-04-18 14:28 +0000
Message-ID<nf2qtv$shr$1@reader1.panix.com>
In reply to#23691
On 2016-04-18, pozz <pozzugno@gmail.com> wrote:

> There are many commercial solutions for home-automation systems that are 
> based on a two wires bus both for bidirectional data and for powering 
> the modules.

There are a few.  HART, Foundation Fieldbus H1, Profibus MBP, etc.

> What is the technology of those kind of buses? Are they simple
> half-duplex RS485?

No.  Typically you AC-couple manchester-encoded (or FSK) data onto the
wire-pair. You also have to add a filter to your power-supply to make
it high-impedance at the comm frequencies.

-- 
Grant Edwards               grant.b.edwards        Yow! Now that I have my
                                  at               "APPLE", I comprehend COST
                              gmail.com            ACCOUNTING!!

[toc] | [prev] | [next] | [standalone]


#23696

FromPete <pjetson@yahoo.com>
Date2016-04-19 09:51 +1000
Message-ID<57157319.6050605@yahoo.com>
In reply to#23693
Grant Edwards wrote:
> On 2016-04-18, pozz <pozzugno@gmail.com> wrote:
>
>> There are many commercial solutions for home-automation systems that are
>> based on a two wires bus both for bidirectional data and for powering
>> the modules.
>
> There are a few.  HART, Foundation Fieldbus H1, Profibus MBP, etc.
>
>> What is the technology of those kind of buses? Are they simple
>> half-duplex RS485?
>
> No.  Typically you AC-couple manchester-encoded (or FSK) data onto the
> wire-pair. You also have to add a filter to your power-supply to make
> it high-impedance at the comm frequencies.

A proprietary system that I once worked with used a DC voltage for logic 
high and a somewhat lower DC voltage for logic low.

Peter


[toc] | [prev] | [next] | [standalone]


#23699

Frompozz <pozzugno@gmail.com>
Date2016-04-19 10:45 +0200
Message-ID<nf4r15$8p4$3@dont-email.me>
In reply to#23696
Il 19/04/2016 01:51, Pete ha scritto:
> Grant Edwards wrote:
>> On 2016-04-18, pozz <pozzugno@gmail.com> wrote:
>>
>>> There are many commercial solutions for home-automation systems that are
>>> based on a two wires bus both for bidirectional data and for powering
>>> the modules.
>>
>> There are a few.  HART, Foundation Fieldbus H1, Profibus MBP, etc.
>>
>>> What is the technology of those kind of buses? Are they simple
>>> half-duplex RS485?
>>
>> No.  Typically you AC-couple manchester-encoded (or FSK) data onto the
>> wire-pair. You also have to add a filter to your power-supply to make
>> it high-impedance at the comm frequencies.
>
> A proprietary system that I once worked with used a DC voltage for logic
> high and a somewhat lower DC voltage for logic low.

In this case, each module on the bus should be capable to inject a DC 
voltage on the bus (and changes its value when transmitting). I don't 
think it is a simple solution.

Do you remember the bitrate?

[toc] | [prev] | [next] | [standalone]


#23698

Frompozz <pozzugno@gmail.com>
Date2016-04-19 10:44 +0200
Message-ID<nf4qun$8p4$2@dont-email.me>
In reply to#23693
Il 18/04/2016 16:28, Grant Edwards ha scritto:
> On 2016-04-18, pozz <pozzugno@gmail.com> wrote:
>
>> There are many commercial solutions for home-automation systems that are
>> based on a two wires bus both for bidirectional data and for powering
>> the modules.
>
> There are a few.  HART, Foundation Fieldbus H1, Profibus MBP, etc.

They seem all industrial solutions where the cost is higher than 
consumer market.

HART seems a master/slave protocol, it can't be used for building 
automation applications, where you need a fast response to a push button 
press.


>> What is the technology of those kind of buses? Are they simple
>> half-duplex RS485?
>
> No.  Typically you AC-couple manchester-encoded (or FSK) data onto the
> wire-pair. You also have to add a filter to your power-supply to make
> it high-impedance at the comm frequencies.

Are there any ready-to-use cheap solutions? I don't think building 
automation products are based on complex and big electronic boards.

[toc] | [prev] | [next] | [standalone]


#23703

FromGrant Edwards <invalid@invalid.invalid>
Date2016-04-19 14:09 +0000
Message-ID<nf5e70$4gd$2@reader1.panix.com>
In reply to#23698
On 2016-04-19, pozz <pozzugno@gmail.com> wrote:
> Il 18/04/2016 16:28, Grant Edwards ha scritto:
>> On 2016-04-18, pozz <pozzugno@gmail.com> wrote:
>>
>>> There are many commercial solutions for home-automation systems that are
>>> based on a two wires bus both for bidirectional data and for powering
>>> the modules.
>>
>> There are a few.  HART, Foundation Fieldbus H1, Profibus MBP, etc.
>
> They seem all industrial solutions where the cost is higher than 
> consumer market.

Nobody said anything about the consumer market.

> HART seems a master/slave protocol,

Mostly, but not entirely

> it can't be used for building automation applications, where you
> need a fast response to a push button press.

And now we're talking about building automation?

>>> What is the technology of those kind of buses? Are they simple
>>> half-duplex RS485?
>>
>> No.  Typically you AC-couple manchester-encoded (or FSK) data onto the
>> wire-pair. You also have to add a filter to your power-supply to make
>> it high-impedance at the comm frequencies.
>
> Are there any ready-to-use cheap solutions? I don't think building 
> automation products are based on complex and big electronic boards.

Perhaps it would have helped if we knew you looking for cheap,
consumer-market, building automation technology.  Are you?

Are you looking for mains powerline communication?

-- 
Grant Edwards               grant.b.edwards        Yow! ... I want FORTY-TWO
                                  at               TRYNEL FLOATATION SYSTEMS
                              gmail.com            installed within SIX AND A
                                                   HALF HOURS!!!

[toc] | [prev] | [next] | [standalone]


#23704

Frompozz <pozzugno@gmail.com>
Date2016-04-20 09:35 +0200
Message-ID<nf7ba2$jge$1@dont-email.me>
In reply to#23703
Il 19/04/2016 16:09, Grant Edwards ha scritto:
> On 2016-04-19, pozz <pozzugno@gmail.com> wrote:
>> Il 18/04/2016 16:28, Grant Edwards ha scritto:
>>> On 2016-04-18, pozz <pozzugno@gmail.com> wrote:
>>>
>>>> There are many commercial solutions for home-automation systems that are
>>>> based on a two wires bus both for bidirectional data and for powering
>>>> the modules.
>>>
>>> There are a few.  HART, Foundation Fieldbus H1, Profibus MBP, etc.
>>
>> They seem all industrial solutions where the cost is higher than
>> consumer market.
>
> Nobody said anything about the consumer market.

Home automation is consumer market.


>> HART seems a master/slave protocol,
>
> Mostly, but not entirely
>
>> it can't be used for building automation applications, where you
>> need a fast response to a push button press.
>
> And now we're talking about building automation?

Yes, my original post was about "home automation".


>>>> What is the technology of those kind of buses? Are they simple
>>>> half-duplex RS485?
>>>
>>> No.  Typically you AC-couple manchester-encoded (or FSK) data onto the
>>> wire-pair. You also have to add a filter to your power-supply to make
>>> it high-impedance at the comm frequencies.
>>
>> Are there any ready-to-use cheap solutions? I don't think building
>> automation products are based on complex and big electronic boards.
>
> Perhaps it would have helped if we knew you looking for cheap,
> consumer-market, building automation technology.  Are you?

I'm curious about commercial (already on the market) technologies that 
allow to create a bus with only two-wires for power and data.

I'm interested mainly in consumer medium/low price products.


> Are you looking for mains powerline communication?

Is powerline used only with AC mains (230/110Vac)?  Home automation 
systems usually have small devices that are DC powered.

[toc] | [prev] | [next] | [standalone]


#23694

From"antedeluvian" <63015@EmbeddedRelated>
Date2016-04-18 10:50 -0500
Message-ID<LNKdnSxUVe7dn4jKnZ2dnUU7-SPNnZ2d@giganews.com>
In reply to#23691
>Or are there other solutions?

I did a two part blog on some of the options

http://www.embedded.com/electronics-blogs/without-a-paddle/4439353/Combining-power-and-data-wires--Part-1

http://www.embedded.com/electronics-blogs/without-a-paddle/4439429/Combining-power-and-data-wires--Part-2

I hope this helps a bit
-Aubrey


---------------------------------------
Posted through http://www.EmbeddedRelated.com

[toc] | [prev] | [next] | [standalone]


#23695

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-18 11:55 -0500
Message-ID<8L-dnZeyAofojIjKnZ2dnUU7-dudnZ2d@giganews.com>
In reply to#23691
On Mon, 18 Apr 2016 12:12:45 +0200, pozz wrote:

> There are many commercial solutions for home-automation systems that are
> based on a two wires bus both for bidirectional data and for powering
> the modules.  The number of connected modules could be high, 100 or
> more.
> 
> What is the technology of those kind of buses? Are they simple
> half-duplex RS485? In this case, how the power can be distributed on the
> same wires of data? Is the protocol master/slave? In this case, the time
> to poll all the modules could be some seconds and the reaction of user
> commands is very bad.
> 
> Or are there other solutions?

The general idea is that you use diplexers everywhere, to separately 
couple DC and comms onto the same set of wires.

But -- there's a reason that wireless is popular.

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#23700

Frompozz <pozzugno@gmail.com>
Date2016-04-19 10:46 +0200
Message-ID<nf4r3n$8p4$4@dont-email.me>
In reply to#23695
Il 18/04/2016 18:55, Tim Wescott ha scritto:
> On Mon, 18 Apr 2016 12:12:45 +0200, pozz wrote:
>
>> There are many commercial solutions for home-automation systems that are
>> based on a two wires bus both for bidirectional data and for powering
>> the modules.  The number of connected modules could be high, 100 or
>> more.
>>
>> What is the technology of those kind of buses? Are they simple
>> half-duplex RS485? In this case, how the power can be distributed on the
>> same wires of data? Is the protocol master/slave? In this case, the time
>> to poll all the modules could be some seconds and the reaction of user
>> commands is very bad.
>>
>> Or are there other solutions?
>
> The general idea is that you use diplexers everywhere, to separately
> couple DC and comms onto the same set of wires.

Any ready-to-use chips or reference designs to suggest?


> But -- there's a reason that wireless is popular.

[toc] | [prev] | [next] | [standalone]


#23701

Fromraimond.dragomir@gmail.com
Date2016-04-19 02:05 -0700
Message-ID<0b88b179-4588-4a05-9911-bb9f85c86fd4@googlegroups.com>
In reply to#23700
marți, 19 aprilie 2016, 11:47:00 UTC+3, pozz a scris:
> Il 18/04/2016 18:55, Tim Wescott ha scritto:
> > On Mon, 18 Apr 2016 12:12:45 +0200, pozz wrote:
> >
> >> There are many commercial solutions for home-automation systems that are
> >> based on a two wires bus both for bidirectional data and for powering
> >> the modules.  The number of connected modules could be high, 100 or
> >> more.
> >>
> >> What is the technology of those kind of buses? Are they simple
> >> half-duplex RS485? In this case, how the power can be distributed on the
> >> same wires of data? Is the protocol master/slave? In this case, the time
> >> to poll all the modules could be some seconds and the reaction of user
> >> commands is very bad.
> >>
> >> Or are there other solutions?
> >
> > The general idea is that you use diplexers everywhere, to separately
> > couple DC and comms onto the same set of wires.
> 
> Any ready-to-use chips or reference designs to suggest?
> 
> 
> > But -- there's a reason that wireless is popular.

ST7540
ST7538
ST7570
ST7580
ST7590
Mouser have them all

[toc] | [prev] | [next] | [standalone]


#23706

Frompozz <pozzugno@gmail.com>
Date2016-04-20 09:48 +0200
Message-ID<nf7c1m$lo0$1@dont-email.me>
In reply to#23701
Il 19/04/2016 11:05, raimond.dragomir@gmail.com ha scritto:
 > [...]
> ST7540
> ST7538
> ST7570
> ST7580
> ST7590

Those chips are for powerline (mains AC). Could they be used with DC low 
voltage (12-24V) too?

[toc] | [prev] | [next] | [standalone]


#23723

Frompozz <pozzugno@gmail.com>
Date2016-04-21 09:16 +0200
Message-ID<nf9uhg$ah5$1@dont-email.me>
In reply to#23706
Il 20/04/2016 09:48, pozz ha scritto:
> Il 19/04/2016 11:05, raimond.dragomir@gmail.com ha scritto:
>  > [...]
>> ST7540
>> ST7538
>> ST7570
>> ST7580
>> ST7590
>
> Those chips are for powerline (mains AC). Could they be used with DC low
> voltage (12-24V) too?

There is an application note from ST that shows how to use their PLC 
modem in DC powered bus applications.

http://www2.st.com/content/ccc/resource/technical/document/design_note/e5/92/04/77/ad/f4/4e/ed/DM00061910.pdf/files/DM00061910.pdf/jcr:content/translations/en.DM00061910.pdf


Other manufacturers make PLC modems that should work in DC bus. For 
example ON Semiconductor (NCN49599), NXP (TDA5051A, up to 1200bps), 
Cypress (CY8CPLC10), TI (www.ti.com/tool/24vdcplcevm).

There is an israelian company that sells a proprietary solutions: 
http://yamar.com


Did someone use one of those solution? Any suggestions for a low-cost 
consumer applications?
What I need is to have a DC powered (10-30Vdc) half-duplex multi-master 
proprietary bus with a low bit-rate (at least 9600bps). The number of 
nodes will be 50-100 at maximum.

[toc] | [prev] | [next] | [standalone]


#23705

Frompozz <pozzugno@gmail.com>
Date2016-04-20 09:43 +0200
Message-ID<nf7bp2$ktl$1@dont-email.me>
In reply to#23691
Il 18/04/2016 12:12, pozz ha scritto:
> There are many commercial solutions for home-automation systems that are
> based on a two wires bus both for bidirectional data and for powering
> the modules.  The number of connected modules could be high, 100 or more.
>
> What is the technology of those kind of buses? Are they simple
> half-duplex RS485? In this case, how the power can be distributed on the
> same wires of data? Is the protocol master/slave? In this case, the time
> to poll all the modules could be some seconds and the reaction of user
> commands is very bad.
>
> Or are there other solutions?

One technology already used in home automation systems is KNX on twisted 
pair, what is called KNX TP1-256.

You have a two-wires bus where DC voltage (about 30Vdc) and data 
(9600bps) are mixed together.

On a KNX bus line you must have a specific KNX bus power supply that 
injects DC voltage for powering modules on the bus.

When one node wants to transmit zero, it puts a load on the bus for 
35us. The load should sink as much current as possible to have a 
decrease of 6-9V on the DC voltage on the bus.

The power supply integrates a choke that should make the magic.

There are some ready-to-use chips that integrates many useful features: 
bus coupling, DC/DC, bit decoding and so on. For example, ON 
semiconductors makes: NCN5110, NCN5121 and NCN5130.

[toc] | [prev] | [next] | [standalone]


#23707

Frompozz <pozzugno@gmail.com>
Date2016-04-20 11:41 +0200
Message-ID<nf7ilk$auq$1@dont-email.me>
In reply to#23691
Il 18/04/2016 12:12, pozz ha scritto:
> There are many commercial solutions for home-automation systems that are
> based on a two wires bus both for bidirectional data and for powering
> the modules.  The number of connected modules could be high, 100 or more.
>
> What is the technology of those kind of buses? Are they simple
> half-duplex RS485? In this case, how the power can be distributed on the
> same wires of data? Is the protocol master/slave? In this case, the time
> to poll all the modules could be some seconds and the reaction of user
> commands is very bad.
>
> Or are there other solutions?

Another simple solution, IMHO for very specific situations:

http://electronicdesign.com/communications/simple-circuit-communicates-over-low-voltage-power-lines

[toc] | [prev] | [standalone]


Back to top | Article view | comp.arch.embedded


csiph-web