On 12/01/2012 19:52, Sink0 wrote:
> As far as i could understand, OP just need a isochronous network. For sure
> he does not need a lot of reliability on the data delivered, but just a
> strict timing.
Wireless does not give you any reliability about data delivering /or/
timing. You must build your wireless system with the assumption that it
often won't work at all, and certainly that telegrams will get delayed,
lost, re-transmitted, corrupted, etc.
> The same as any video cast... I can't see a reason why he
> cannot go to wireless. Actually that is pretty much market dependent, and
> maybe his customers hate wires more than anything.
>
Marketing departments love wirelss - it's a current fad. Development
departments love wires, because they are far more predictable, and
generally easier to work with. Installation departments sometimes like
wireless, because it's fewer wires to attach - unless there is some
other setup or positioning needed, in which case they prefer wires. And
service and support staff love wires, because they always work -
wireless systems work in some places, and for some of the time.
So if you are an engineer or developer, push for wires every time. A
developer trying to persuade his boss that wireless would be better (in
a case like this where CAN would definitely work) is about as sane as
asking the boss to half the time budget just to make the project more
challenging.
> Any way i think the biggest problem is the auto placing recognition... to
> do that wirelessy in a reliable way is not that easy.
"Not that easy" being a euphemism for "almost impossible". You can't
measure distance accurately with radio waves unless you want to invent
your own GPS system - and I doubt that's in the budget. Some people
think you can use "signal strength" as an indication of distance - they
are wrong.
It is possible to use known limited-range wireless, like near-field
communication, to get an indication of position - but for automatic
positioning that would mean several readers on each card, at great expense.
So the way to do your "auto positioning" is to have a push-button on the
board, and manually synchronise pressing the button with a setup program.
> On the other hand if
> you follow a placement pattern on a wired network, that might be fairly
> easy. A bus network will not help you much on that point. You could try to
> go for a ring/line based network. I have nothing in mind right now. Just
> EtherCAT but would be very expensinve (10 EUR for a chip) for your
> application.
>
Or you simply add an extra wire or two in your connections. These are
synchronisation wires - they don't need high speed or anything fancy.
One card sets it's line high and broadcasts a "who is next to me"
message. Other cards read their line - the one that reads a high signal
is the neighbour. Easy.