Automatic can address allocation method

Electrical computers and digital processing systems: multicomput – Bused computer networking

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C709S227000, C709S253000, C710S004000, C710S009000, C710S220000

Reexamination Certificate

active

06216172

ABSTRACT:

FIELD OF THE INVENTION
The invention relates to a method of automatically allocating addresses in a controller area network (CAN) including a plurality of bus subscribers, one of which serves as the controlling station for initiating address allocation, whereby each bus subscriber is assigned a unique serial number memorized in a non-volatile memory of the bus subscriber and whereby each bus subscriber has a writeable non-volatile memory.
BACKGROUND OF THE INVENTION
A controller area network (CAN) is a computer network serving measurement and control instrumentation intercommunication in technical fields, more particularly in motor vehicles and in measurement and control technology. The CAN bus is a two-wire bus. Whilst motor vehicles usually always contain the same measurement and control instrumentation, the addresses of which are dedicated, in measurement and control technology the number of bus subscribers allocated addresses in each case varies and is initially unknown.
Hitherto CAN bus subscriber addresses were set by means of hardware switches by the user, this harboring the risk of the same address being allocated multiply due to a wrong setting. In addition to this the setting needs to be made before other configurations can be implemented which causes additional trouble to the user. Furthermore, address allocation is an activity, the use of which is not immediately apparent to the user since it is lastly of no concern to him how the individual bus subscribers swap information.
Described in EP 0 221 303 B1 is a method of automatically allocating addresses in a computer network. However, this known method requires a bus having more than two wires as well as the existence of a host processor, it thus not being suitable for a CAN environment, i.e. in a network in which only one two-wire bus is available and all bus subscribers have substantially the same priority.
OBJECT OF THE INVENTION
The object of the invention is to define a method which permits automatic address allocation in a CAN environment.
SUMMARY OF THE INVENTION
In accordance with the invention this object is achieved by the following steps in the method:
each bus subscriber still to be allocated an address, generates a first random value for a provisional address on system power up;
on receiving a request to commence address allocation sent by the controlling station a telegram claiming the provisional address dictated by the first random value is written into the CAN send buffer of each bus subscriber and a wait initiated for authorization to access the bus in sending the telegram;
if a bus subscriber receives a telegram claiming an address which fails to agree with its own provisional address. This address is entered into a list of accredited bus subscribers held in a memory of the receiving bus subscriber;
if before sending its own telegram a bus subscriber receives a telegram claiming an address which agrees with its own provisional address, a new first random value is generated for a provisional address and a telegram claiming this provisional address is written into the CAN send buffer;
if the telegram claiming its own provisional address is sent before a telegram of some other bus subscriber claiming the same provisional address is received, its own provisional address is accepted as the final address in the list of accredited bus subscribers and deposited in the writeable non-volatile memory.
In the method in accordance with the invention generating and allocating the addresses is done by the individual bus subscribers themselves; the controlling station substantially merely dictating initiation of address allocation. The method is thus particularly suitable for a bus system having essentially equal priority subscribers, and a two-wire bus is sufficient for application of the method.
In one advantageous aspect of the method in accordance with the invention each bus subscriber generates together with the first random value a second random value for a delay time and the telegram claiming the provisional address dictated by the first random value is written into the CAN send buffer on time-out of the delay time dictated by the second random value. The staggered time in claiming random generated provisional addresses caused by the random generated delay time reduces the probability of two or more bus subscribers receiving the same address.
Further advantageous aspects of the method in accordance with the invention are characterized in the sub-claims.


REFERENCES:
patent: 4847834 (1989-07-01), Bryant
patent: 4887075 (1989-12-01), Hirasawa
patent: 5125076 (1992-06-01), Faber et al.
patent: 5150464 (1992-09-01), Sidhu et al.
patent: 5304992 (1994-04-01), Harashima
patent: 5371858 (1994-12-01), Miller et al.
patent: 5374926 (1994-12-01), Szczepanek
patent: 5388213 (1995-02-01), Oppenheimer et al.
patent: 5502818 (1996-03-01), Lamberg
patent: 5579016 (1996-11-01), Wolcott et al.
patent: 5668952 (1997-09-01), Slane
patent: 5675830 (1997-10-01), Satula
patent: 5708831 (1998-01-01), Schon
patent: 5729755 (1998-03-01), Turski
patent: 5835725 (1998-11-01), Chiang et al.
patent: 5845094 (1998-12-01), Beauchamp et al.
patent: 5854454 (1999-12-01), Upender et al.
patent: 5860157 (1999-01-01), Cobb
patent: 40 12 544 (1991-10-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Automatic can address allocation method does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Automatic can address allocation method, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Automatic can address allocation method will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2442583

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.