Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
IDENTIFYING A PLURALITY OF DEVICES
Document Type and Number:
WIPO Patent Application WO/2009/010745
Kind Code:
A1
Abstract:
A method of identifying a plurality of devices connected along a common communications link is disclosed. Each device bears a unique identification. number belonging to a defined range of such numbers. A control station (P) scans the devices by sending a succession of interrogation signals, the interrogation signals comprising a representation of the identification numbers of the devices. A first scan is carried out with interrogation signals identifying a first lrange of identification numbers, and each device sends to the control station, a response signal that comprises its complete identification number and a checksum, upon a match of the identification numbers. If two or more of the devices generate a response signal, the response signals will be deemed to be invalid by the control station, and the first scan is paused. Upon pausing of the first scan, the control station initiates a second scan comprising interrogation signals identifying a more limited range of identification numbers. Successive scans are carried out until, only a single response is returned whereby the control station associates a unique identification number with each of the devices.

Inventors:
BENNET STEVEN IAN (GB)
Application Number:
PCT/GB2008/002424
Publication Date:
January 22, 2009
Filing Date:
July 16, 2008
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
THORN SECURITY (GB)
BENNET STEVEN IAN (GB)
International Classes:
H04L12/403; H04L29/12
Foreign References:
DE10240832A12004-03-18
EP0485878A21992-05-20
EP0221303A21987-05-13
EP0493905A11992-07-08
Other References:
None
Attorney, Agent or Firm:
PRATT, David, Martin et al. (Goldings House2 Hays Lane, London SE1 2HW, GB)
Download PDF:
Claims:

Claims

1. A method of identifying a plurality of devices connected along a common communications link, wherein each device bears a unique identification number belonging to a defined range of such numbers, wherein a control station scans the devices by sending a succession of interrogation signals along the communication link, the interrogation signals comprising a representation of the identification numbers of the devices, wherein a first scan is carried out with interrogation signals identifying a first level of the range of identification numbers, wherein each device is programmed to generate, and to send to the control station, a response signal that includes a checksum, upon receipt of a scan signal applicable thereto, wherein, in the event that two or more of the devices generate a response signal as a result of the first scan, the response signals will be deemed to be invalid by the control station, and the first scan is paused, wherein upon pausing of the first scan, the control station initiates a second scan comprising interrogation signals identifying the first level of the range of identification numbers together with a higher level thereof, wherein successive scans are carried out by the control station, adding the next higher level of the range of identification numbers, wherein upon completion of a scan that does not give rise to invalid responses, the previously-paused scan is resumed, wherein successive scans are carried out until, after all levels of the entire range of identification numbers have been scanned, only a single response is returned from any one complete scan, whereby the control station associates a unique identification number with each of the devices, and wherein, subsequent to identification of each of the devices by its unique identification number, the control station accords a simplified unique address number to each device for use in subsequent communication therewith.

2. A method according to claim 1, wherein the first scan is carried out in respect of the least significant level of the range of identification numbers.

3. A method according to claim 1 or claim 2, wherein a second or successive scan is carried out in respect of the next higher level of the range of identification numbers.

4. A method according to any one of claims 1 to 3, wherein the identification numbers are hexadecimal numbers.

5. A method according to any one of claims 1 to 4, wherein the identification numbers are binary numbers.

6. A method according to any one of claims 1 to 3, wherein the identification numbers are of alphanumeric form.

7. A method according to any one of claims 1 to 6, wherein, subsequent to identification of each of the devices by its unique identification number, the control panel communicates with at least one of the devices to configure it in a particular manner.

8. A method according to claim 7, wherein the devices comprise sensors and the configuration is carried out in respect of the sensing function of each sensor device.

9. A method according to claim 8, wherein the configuration is in respect of the sensitivity of the parameter to be sensed by the device.

10. A method according to claim 8 or claim 9, wherein the sensors comprise fire sensors, smoke detectors, and/or temperature sensors.

11. A sensing system comprising a control station and a plurality of sensors connected together along a communications link, wherein each sensor bears a unique identification number belonging to a defined range of such numbers, wherein the control station is arranged to carry out a succession of scans of the sensors throughout the entire range of the identification numbers, thereby to identify

the identification number of each sensor, a first scan being in respect of a first level of the range of identification numbers and successive scans adding respective higher levels thereof, wherein, upon a match between the scanning number and its identification number in any one scan, each sensor is arranged to send to the control station a response signal comprising its full identification number and a checksum, wherein, upon receipt of two or more response signals arising from any one scan, the control station is arranged to pause that scan and to proceed to the next highest level scan until only one response is received from a higher scan, whereupon the preceding scan is resumed, wherein, subsequent to the association of unique identification numbers with the respective sensors, the control station is arranged to accord a unique simplified address number to each sensor for subsequent communication therewith, and ' wherein the control station then sends a signal to the sensors individually to effect their configuration with respect to the particular parameter being sensed.

12. A system as claimed in claim 11, wherein the control station is such that the first scan is carried out in respect of the least significant level of the range of identification numbers.

13. A system as claimed in claim 11 or claim 12, wherein a second or successive scan is carried out in respect of the next higher level of the range of identification numbers.

14. A system according to any one of claims 11 to 13, wherein the control station is arranged to configure the sensitivity of at least one of the sensors.

15. A system according to any one of claims 13 to 14, wherein the control system is arranged to configure at least one of the sensors to respond to a predetermined value, or range of values, of the parameter to be sensed.

16. A system according to any one of claims 11 to 15, wherein the control system is arranged to configure at least one of the sensors to respond whenever that sensor

senses that the value of the parameter to be sensed has fallen to or has exceeded a predetermined value.

Description:

Identifying a Plurality of Devices

This invention relates to a method of identifying a plurality of devices bearing identification numbers.

The invention finds particular, though not exclusive, application in identifying individual ones of a plurality of electrical devices, such as sensors.

A room, building, factory or other industrial plant may be provided with a plurality of electrical devices such as sensors, which devices may be controlled from a central location. For example, a large number of fire detectors may be distributed throughout an oil refinery. Such devices may be similar to each other, may be programmed to an identical default state so that detectors of the same type will leave the factory with a common default configuration (apart from their serial numbers), and yet (some at least) may need to be configured differently from each other. During manufacture, the devices are usually programmed with a unique serial number, there may be a very large quantity of such devices, differing only from one another by their serial numbers, all of which are of the same format. Any one operator could be expected to have a selection of such devices, perhaps of random serial numbers, or the devices may be connected at random into a detection system or an initially-ordered system may be disturbed in time by replacements. At any one time, therefore, the operator may have a quantity of devices whose actual serial numbers he may not know. When such a collection of devices is linked together by a common communications link from a central control station, it thus becomes very difficult to determine which serial numbers are available and with, for example electronically interrogating, which devices they are associated.

It is known to identify serial numbers and to associate them with respective electrical devices by dealing with the devices individually, for example by electronically interrogating the devices separate from the central control station, or by attaching one device at a time.

There is currently no practical method for an operator automatically to identify, maintain and enable hardware to communicate with multiple devices, all programmed to

an identical default state, and all driven together from a common communications bus line. It is desirable that each unit be separately individually programmed with a user friendly unique 'address' code before connection to the common bus to enable data transfer to only the desired units. An address code is also preferable as less data bits will be required to communicate with the devices. This simplifies management of a system with many such devices.

A common method is to use the serial number as the identifying value. Mass produced devices must each have a long serial number to allow identification of each one over the life cycle of the product range, which can typically run into the tens to hundreds of millions. A significant overhead is needed to future proof the product. Hence, the serial number can run to many digits. On a typical system with different types of devices, some replaced, some as part of an extension, the serial numbers will become fragmented. These factors together result with an impractical way for an operator to identify and maintain a network of many of these devices.

It is also known to arrange for each device in turn to "break" the communications link and to "reattach" the connection to the next device when its serial number has been identified. However, this method requires the devices to be provided with hardware specifically for this purpose, becoming redundant once the identification and subsequent configuration has been effected. This results not only in an undesirable additional expense for the device, but also complication of the design and installation of the communications link.

It is also known to "scan" all the devices for each possible serial number from the known totality, or range, of serial numbers. A "scan" is understood to be the operation whereby a set of queries (master messages) is sent out by a control panel, each commanding that only the device with the matching serial number must reply (slave message). However, due to mass production, there may be a very large number of possible serial numbers that need to be scanned until a match is found, so the scanning could require an unacceptable amount of time to complete. Even though it is possible to arrange for there to be a delay in the sending of a matched identification signal back to the control panel to avoid a plurality of such messages colliding and disrupting the scanning, the

quantity of possible serial numbers, together with the required tolerance of the tinier within each device, still makes this approach too time consuming, and thus impractical.

It is an aim of the present invention to provide a more practical method of identifying the serial numbers of a plurality of devices, and in particular to enable communication with, basic identification of, and rapid configuration of, multiple devices, all previously programmed to an identical default state (except for the serial number), and all driven together from a common communications bus line, without significant user intervention or reliance.

This invention reduces a factory-programmed, unchangeable serial number, this being the only feature unique to each unit, to a more practical form.

In accordance with one aspect of the present invention, there is provided a method of identifying a plurality of (electrical) devices connected along a common (electrical) communications link, wherein each device bears a unique identification number belonging to a defined range of such numbers, wherein a control station scans the devices by sending a succession of interrogation signals along the communication link, the interrogation signals comprising a representation of the identification numbers of the devices, wherein a first scan is carried out with interrogation signals identifying only the least significant level of the range of identification numbers, wherein each device is programmed to generate, and to send to the control station, a response signal that includes a checksum, upon receipt of a scan signal applicable thereto, wherein, in the event that two or more of the devices generate a response signal as a result of the first scan, the response signals will be deemed to be invalid by the control station, and the first scan is paused, wherein upon pausing of the first scan, the control station initiates a second scan comprising interrogation signals identifying the least significant level of the range of identification numbers together with the next higher level thereof, wherein successive scans are carried out by the control station, adding the next higher level of the range of identification numbers, wherein upon completion of a scan that does not give rise to invalid responses, the previously-paused scan is resumed, wherein successive scans are carried out until, after all levels of the entire range of identification numbers have been scanned, only a single response is returned from any one complete scan, whereby the control station associates a unique identification

number with each of the devices, and wherein, subsequent to identification of each of the devices by its unique identification number, the control station accords a simplified unique address number to each device for use in subsequent communication therewith.

Thus, the scanning carried out in accordance with the present invention results in the serial numbers of the devices being identified in a significantly reduced time compared with that required for known identification techniques, since scanning of all possible numbers is not required. By way of example, it is pointed out that if a serial number were 32 bits deep (in binary form), there would be approximately 4 billion possible serial numbers in that range.

The interrogation signals (master messages) sent from the control station contain a serial number (or at least part thereof) and command that only the device with the matching serial number (or at least a defined matching part) must generate a response signal (a slave message). The slave message from a device may begin immediately upon receipt of the master message, or otherwise within a predetermined minimum time, in order to ensure that if two or more devices do generate a response signal as a result of any one scan, they are treated as invalid responses by the control station. Invalid responses may be considered as "collisions". Upon detection of a collision, scanning is then continued at the next higher scanning level, and so on, until all collisions have been resolved and the control station has made a one-to-one association between devices and serial numbers. It will be appreciated that to attain this required outcome, the control station does not need to know the quantity of devices that are connected in the communications link.

Thus, the increased efficiency achieved, that is to say the reduced time required, by the scanning technique of the present invention, is based on the occurrence of collisions between response signals from the devices being scanned.

In addition to containing the complete serial number, the slave message reply advantageously includes a checksum or parity configuration, to ensure that the control station receives unintelligible data or an erroneous checksum when more than one device replies. Use of the checksum ensures that the control station can differentiate between, on

the one hand, a non-response or a glitch/EMC event and, on the other hand, a valid uncorrupted response from a single device or a collision. A valid uncorrupted response from a single device results in scanning being continued at the next highest level without reversion to the previous scan level, whereas after a collision has been resolved, scanning reverts to the lower level at which it was paused.

In one embodiment of the present invention, a maximum of 250 devices are connected to a 2-wire communications loop, each device bearing a serial number 32 bits deep (in binary form). The first scan is earried out in respect of the lowest portion (least significant bits) of the serial number, since that is the most diverse, or random, in any given selection of devices. Thus, optimally only the lowest 10 bits are scanned initally, with bits 11-32 being ignored. This optimal scanning process ensures the minimal overall time to identify all the devices. Thus, using 10 bits for the first level scan will statistically yield the minimum overall scan time (assuming a preferred arrangement having between 20 and 250 devices to be identified). If 8 bits are used instead of 10 bits, the risk of collisions increases as does the requirement for many second level scans. If 12 bits are used instead of 10 bits, this will result in a very much longer first scan. In either case, therefore, the statistically average overall scan time will be longer than when using 10 bits. Statistically, approximately 64 collisions, representing around a 25% chance of a collision per master message, for a random set of bit values, may be expected. Should a data collision occur during a scan, the master message is modified by the addition of more bits of the serial number, whilst retaining the bits used in the message when the collision occurred. Thus, in this embodiment, the modified message will retain the last 10 bits of the serial number as a constant value, and bits 11 to 16 will be varied during the new, higher level scan. Thus, 64 master messages using a 16 bit address will form the new level scan. When that scan is complete, and in the event of no other collisions, the original 10 bit scan is resumed. On the other hand, should a data collision occur during the 16 bit scan, then that scan is paused and another' scan is performed at a yet higher level using, in this embodiment, 24 bits of the serial number range, with the last 16 bits remaining the same. Thus, at this third scanning level, 256 master messages using a 24 bit serial number will form the scan. Statistically, the chance of a collision during this scan is vanishingly small, but should a collision occur then a further scan using all 32 bits of the serial number, with the last 24 bits remaining the same will form the new scan of 256 master messages

using the full 32 bit serial number. In this way, with a maximum 250 devices involved, up to four levels of scan may be required.

It is possible when carrying out the method of the present invention that a large number of units may simultaneously attempt to reply to a master message. To avoid an overload and shutdown of the communications link, an algorithm is provided at the control station that, in this event, assumes that a data collision has occurred, whereby the communications link is maintained and the scanning directed to the next higher level as set out above.

The identification, or serial, numbers of the devices may be in the form of hexadecimal numbers, binary numbers or alpha numeric characters.

Subsequent to the identification of each of the devices by its unique identification number, the control station is arranged to accord a simplified unique address number to each device for use in subsequent communication therewith. It will be appreciated that such address number may have fewer characters than the manufacturer's assigned identification number, and may be in accordance with a required address system of the operator of the control station.

The driver of the data around the communication link, at the control station, will also be arranged to note that a scan error has occurred if the total number of devices identified exceeds the known actual number of devices that are connected thereto.

Having identified the plurality devices in accordance with the method of the present invention, the control panel is then in a position to communicate therewith in order to configure the devices in any required manner. In one embodiment of the invention, the devices comprise sensors, such as fire sensors, smoke sensors and temperature sensors, and the configuration may be in respect of the particular sensing function to be carried out by each sensor device. For each detector, once identified and addressed, its type can be identified remotely by the control station, thereby enabling configuration as appropriate. For example, the sensitivity of a device may be set by the control station, and this may differ from one device to another. The configuration may also involve ensuring that the

sensor sends an alarm signal to the control station whenever the value of a parameter that is sensed has fallen to, or has exceeded a predetermined value. In the case where a sensing device comprises more than one sensor, possibly of different types, the configuration can arrange for each of them to respond accordingly, in a different manner from the other sensors of the same device.

In accordance with another aspect of the present invention, there is provided a sensing system comprising a control station and a plurality of sensors connected together along a communications link, wherein each sensor bears a unique identification number belonging to a defined range of such numbers, wherein the control station is arranged to carry out a succession of scans of the sensors throughout the entire range of the identification numbers, thereby to identify the identification number of each sensor, the first scan being in respect of the least significant level of the identification numbers and successive scans adding respective higher levels thereof, wherein upon a match between the scanning number and its identification number in any one scan, each sensor is arranged to send to the control station a response signal comprising its full identification number and a checksum, wherein upon receipt of two or more response signals arising from any one scan, the control station is arranged to pause that scan and to proceed to the next highest level scan until only one response is received from a higher scan, whereupon the preceding scan is resumed, wherein subsequent to the association of unique identification numbers with the respective sensors, the control station is arranged to accord a simplified address number to each sensor for subsequent communication therewith, wherein the control station then sends a signal to the sensors individually to effect their configuration with respect to the particular parameter being sensed.

It will be appreciated, that the sensing system of the present invention may be operated in accordance with the method thereof.

The present invention thus requires little or no extra hardware to be provided in the devices or in control and indicating equipment.

The devices to be identified can be placed in any order on the communications link, and the method is operable also when devices are located on spurs of the main link. The serial numbers of the devices may thus be in any order along the communications link.

It is also envisaged that extra data could be added to the slave messages to ensure the integrity of non-colliding messages, whilst maximising the corruption of collided messages. This may be by way of parity checking or checksum verification.

Furthermore, in accordance with the present invention, extra information can be added to the messages that could aid quick identification or configuration of a particular type of device without having to resend another message from the control station, thus enabling swift commissioning of the set of devices. For example, different devices could be configured for different sensing functions.

The number of scan combinations for each scanning step can be optimised to minimise the total scan time for a given number of devices. Thus, the more devices to be configured will lead to a larger initial scan range to achieve optimal identification time. Fewer devices will require a smaller initial scan.

It will also be appreciated that the present invention is suitable not only for identifying a totally fresh set of devices in a system, but can be used to identify additional or replacement devices in an already-operational system. In such an arrangement, those devices that have already been identified by the control station and have been given the unique address code (if applicable) may be arranged to send a response signal upon being scanned that includes the address code for that device, so that that response signal could be ignored by the control station during the scanning procedure.

It is preferred that all interrogation signals (master messages) have a form of parity or checksum confirmation to ensure the integrity of the data sent. However, this could lead to the undesirable effect of glitches on the communication loop inhibiting the response from a device when a scan is in progress, therefore resulting in that device not being identified. A glitch in the loop could result in a misinterpretation of one or more of the transmitted bits. Use of error checking methods will result in the checksum not matching

that of the transmitted bits, so the message contents are discarded. In the case of a glitch in the master message, the devices which it is trying to communicate with will, instead, discard the message. As a result it does not respond or is not identified. To overcome this problem, when a scan has been completed, unidentified devices may be found by arranging for the control station to send out a global interrogation signal commanding that all unidentified devices respond. Should a large number of devices respond to such a global interrogation signal, it is envisaged that the scanning of the method of the present invention would have to be restarted from its base level, with an interrogation signal from the control station commanding that previously-identified devices should not sent response signals.

It is envisaged that the present invention may be encapsulated in a microprocessor for carrying out the scanning operations, and to be used particularly, though not exclusively, with fire sensors or other related, devices, in combination with control and indicating equipment in the form of an analogue addressable fire panel.

A method and system for identifying a plurality of devices, each in accordance with the present invention, will now be described, by way of example, with reference to the accompanying drawings in which:

Figure 1 is a block diagram of the sensing system; and

Figure 2 is a flow chart of the identifying method.

Referring to Figure 1, a control panel P is shown supplying a two wire communications loop, with 250 sensors, numbered 001, 002... 249, 250, connected in parallel between the wires. As shown, each of the sensing devices 001 to 250 is provided with a unique serial number.

The identification of those serial numbers of the devices 001 to 250 by the control panel P is carried out by scanning in accordance with Figure 2, which will now be described.

To start, an address counter value "A" and the serial number value are set to OOOO DEC [Start address A = O, Seriali-io = O]. The serial number is broadcast to all devices [Send Seriali.io]. Any devices with their 32 bit serial number ending with 0000 will reply with their full serial number and checksum value. Assuming no devices have their serial number ending with 0000, there will be no reply [Any reply ? = NO]. The broadcast serial number 0000 is not the last in the sequence to be tested [Serialuo = 1023 = NO] hence the next serial number [Serialuo = Seriali.io + 1] 0001 will be broadcast to all devices [Send Seriali-io]. Any devices with their 32 bit serial number ending with 0001 will reply with their full serial number and checksum value. Assuming just 1 device has a serial number ending with 0001, there will be a reply [Any reply ? = YES] but no data corruption as indicated by the checksum data [Data collision ? = NO]. That device is next allocated the unique 'address' [A = A + l][For device of Seriali.io Write new address A] by the control panel. The broadcast serial number 0001 is not the last to be tested [Serialuo = 1023 = NO] hence the next serial number [Serialuo = Seriali.io + 1] 0002 will be broadcast to all devices [Send Seriali-io]. Any devices with their 32 bit serial number ending with 0002 will reply with their full serial number and checksum security value. Assuming two or more devices reply, the checksum received by the control panel will not correspond to the received message, and hence will be deemed to be invalid [Data collision ? = YES]. This being the case, this scan will be paused and the last 10 bits of the previously broadcast serial number will be fixed and a new scan will be initiated using bits 11-16 [Fix serial bits 1-10, Serialn-iβ = 0] as described here. Once that scan is complete the previous scan will be resumed continuing on with bits 1- 10 and ignoring bits 11-16 [Unfix serial bits 1-10] using the next value [Seriali-io = 1023 = NO][ Seriali.io = Serialuo + 1] 0003. This will repeat until all combinations of the last 10 bits have been scanned [Seriali-io = 1023 = YES] such that all devices will have been identified. Once all the devices have been individually identified (with a valid reply), the control panel P assigns (program to RAM or ROM) a simplified unique address number to each device, and communicates that number to each device individually. A scan error has occurred if the total number of identified devices does not match the actual number of device on a loop. The devices are, therefore, each configured with a simplified unique address number.

By way of example, the range of the serial numbers of the sensor devices 001 to 250 is taken to be:

00 00 00 00 to FF FF FF FF LSB (hex)

For reasons of simplicity of showing the preferred embodiment, the third byte of all the serial numbers is shown in binary form, e.g.:

00 00 (00000000) 00 to FF FF (1111 1111) FF LSB

Assume that the system comprises only A to I devices, for simplicity in describing the scanning and its results, and that the devices have serial numbers, which are individually unknown to the control system, as follows:

Device A: 40 OB (0100 0000) 02 Device B: OF 90 (0000 0000) 03 Device C: 17 33 (0100 0000) 06 Device D: 01 00 (0000 1000) 03 Device E: 22 60 (0000 1000) 03 Device F: 22 60 (0100 1000) 22 Device G: 01 45 (0110 1001) 66 Device H: 05 45 (0110 1001) 67

Device I: 02 45 (0110 1001) 66

The master messages sent out by the control panel P are as follows, where "x" denotes an insignificant character that may have any value, and which is disregarded:

It will be appreciated, that with more than nine devices, the scanning will be more complex, but the principle is the same. Namely, a first level scan is carried out with the least significant digits of the serial numbers of the known range, and is stopped should a data collision occur. Scanning then resumes at a higher level, proceeding to the next higher level should a data collision occur again, until eventually no collision is detected in

each level, the serial number of the corresponding device noted, and all of the devices have been identified in this way.

It will thus be appreciated that instead of using a method of identifying the devices whilst trying to avoid data collisions, which would be very time consuming, and involving scanning of all possible combination of serial numbers, the present invention specifically relies on the identification of erroneous data as a means of determining the next course of action, namely modifying the number of bits used during a scan to increase the scan resolution as appropriate.

The method of the invention will rapidly assign simple, user-controlled identification addresses to all devices on a communication loop (or within a communications range) without significant user intervention or reliance. This is done by use of a determinate method of scanning all possible combinations, or preferably by execution of an intelligent scan with a truncated number of queries, using identification of erroneous data packets as a means to determine the next course of action, usually resulting with adaptation of the number of bits used during the scan to increase the scan resolution as appropriate.

As all devices on a communication loop (or within a communications range) must be uniquely identifiable, the method of the invention provides all such devices with a simplified unique address number that an end-user can work with. It is easier and more reliable for operators to work with short, narrow range, consecutive number ranges than a lengthy, wide ranging and fragmented serial number.

It will be apparent that modifications could be made to the method described above. Thus the unique simplified address number of each device can be pre-programmed at the factory to be at a reserved value, one which cannot be used as a valid operating address. Each device can be programmed to disallow configuration once the address has been set to a valid value. Alternatively, the reply message could also return the unique simplified address number. Thus, if desired, the control panel could take on the responsibility of determining whether or not a given device has already been configured. The unique simplified address number on some devices on a loop can be reset back to a default state to

allow a rescan and reassignment of the simplified unique address number of just those devices. This can be extended to all devices on the loop if necessary.




 
Previous Patent: AUDIO EQUIPMENT

Next Patent: DATA FORMAT SELECTION