Linearizing multi-star network for home automation

Electrical Engineering Asked on January 2, 2022

I’m designing a communication network for private home automation. My design goals are:

  1. Local wrt network changes. That is, changing one part of the network should not require modification of the network as a whole.
  2. Easy to use. Adding or removing devices should be simple.
  3. Allow complex topologies, ideally multi-star.
  4. Being able to use existing infrastructure (CAT 5 cables).
  5. Inexpensive.

Originally I considered 1-Wire, but further investigation lead me to the conclusion that it doesn’t cope well with EMI noise and that the available hardware is becoming obsolete.

Learning about CAN, I then considered ISO 11898-3 physical layer, which does allow multi-star topology. However, it seems that it’s not being widely used nor supported, and I only found a very few ICs that support it. And most importantly, it’s lacking the locality property: The terminator resistance should be split equally between all terminal nodes, which means either updating the whole network after adding a new node, or accepting improper termination.

Eventually I came to the idea to make the CAN bus internally linear, and achieve arbitrary topology by connecting each node to it by two pairs of wires. One pair connects to the "left" part of the bus (pins 3 and 4 below) and the other pair to the "right" part (pins 5 and 6). Both ends of the bus will be terminated in the master node. Essentially this is traversing the network tree:

Parts of the bus could be connected as follows (Vcc is power distributed from the master node to all the others):


I see these advantages:

  • The bus will be linear, adhering to the standard and making its behavior predictable.
  • Can use standard ISO 11898-2 components.
  • Satisfies my design criteria above.

And potential disadvantages:

  • Uses 2 pairs of wires instead of 1, making the bus twice as long, However, the actual length of cabling will be the same, since I’d use CAT 5 cables anyway.
  • Somewhat less resilient – a broken connection cuts off the rest of the bus, not just a sub-tree.
  • All sockets need to be plugged in, otherwise the bus gets broken. So if a node is removed, either its closest split needs to be removed as well, or it needs to be replaced by a stub that connects 3⬌5 and 4⬌6.

Is this a viable, or commonly used approach? Are there any potential pitfalls?

One Answer

I started to explore this idea as an open-source project, to experiment with it and validate it in practice:

Answered by Petr on January 2, 2022

Add your own answers!

Related Questions

Driving Nokia TFT LCD with STM32

3  Asked on November 28, 2020 by ankit


Help with a constant voltage led driver

0  Asked on November 27, 2020 by pierre


Single-Phase Generator

1  Asked on November 26, 2020 by justine-guhit


PCB manufactored is coated

1  Asked on November 26, 2020 by brunoaraujo


Input matrix with reed switches

1  Asked on November 26, 2020 by igel


LTspice UVLO excercise

2  Asked on November 22, 2020 by paumdrdo


5v analog switch for 3.3v logic ok?

1  Asked on November 16, 2020 by bobisnotmyname


Switch controlled by open/closed circuit

1  Asked on November 16, 2020 by sstaty


wien bridge input impedance

0  Asked on November 15, 2020 by wadafukou


What connector type is this?

0  Asked on November 14, 2020 by ceramicmrno0b


Fairy lights dimming over time

2  Asked on November 13, 2020 by greenimpala


Short circuit in Peavey Valve King VK212

1  Asked on November 12, 2020 by piotr-tyburski


Would my Audio LED display circuit work?

1  Asked on November 10, 2020 by domek-romek


Correct usage of curly braces in Spice

1  Asked on November 8, 2020 by qf0


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP