Method and apparatus for assigning addresses to components in a control system

Abstract: The invention relates to a method and an apparatus for remotely controlling a device, more particularly to a system and method for controlling locomotives in a railway environment using radio frequency signals. This invention makes use of a remote operator programming unit (OPP) to set address information in the transmitter unit via a communication channel such as an infrared link. The use of the operator programming unit eliminates the need to open the casing of the transmitter during programming, thereby reducing the probability of damaging the electrical components of the transmitter. The invention also allows assigning of a unique address to a transmitter/receiver pair in a remote control system. The invention further provides an apparatus for remotely programming a transmitter unit.

Description: Field of the invention This invention relates to the field of communication and control systems. It is particularly applicable to a method and apparatus for assigning machine addresses to computer or electronically controlled devices, and may be used to assign machine addresses to a control system using radio communication to transmit commands between a master controller and a slave controller. Background of the invention Electronic controllers are commonly used in the industry to regulate the operation of a wide variety of systems. In a specific example, electronic controllers are used to control remotely vehicles such as locomotives in order to perform functions including braking, traction control and acceleration without the necessity of a human operator on board the locomotive. Radio frequency transmitter-receiver pairs are of particular interest for remotely controlling such vehicles. In a typical locomotive control system, the operator communicates with a slave controller onboard the locomotive using a remote control device, herein designated as transmitter. The transmitter includes an electronic circuit placed in a suitable casing that provides mechanical protection to the electronic components. In use the operator of the locomotive enters requests into the transmitter via an input means such as a keyboard, touch screen or any other suitable input means. Typical requests may include brake, accelerate and any function that a locomotive may be required to perform. The transmitter encodes the request into a form suitable for transmission over a pre-determined frequency link. Usually, a tag is appended to the request containing an identifier, herein designated as an address, unique to the remote control transmitter from which the request originates. The complete request is then modulated at the pre-determined radio frequency and transmitted as a RF signal. Frequencies other than RF have also been used for this purpose. Commonly, many transmitters may operate on the same radio frequency channel or on overlapping radio frequency channels often resulting in interference between the various signals. Signals transmitted in overlapping frequency channels cannot be resolved into their respective signals by the slave controller. The interference of the signals typically causes requests to be lost. Consequently, a request is often transmitted continuously at a given repetition rate and each transmitter is assigned a unique repetition rate. The unique repetition rate reduces the likelihood of messages interfering with one another. Many methods of assigning transmission rates are well known in the art to which this invention pertains. For an example of a method of assigning a repetition rate, the reader may refer to U.S. Patent 4,245,347 by Hutton et al. Optionally, once the transmitter sends the RF signal, a repeater unit may receive the RF signal. Typical repeater units are ground-based units whose function is to extend the radio frequency (RF) range of the transmitter of the remote control device by amplifying the signal and filtering noise components. Repeater units are well-known in the art to which this invention pertains and typically comprise an RF antenna, an RF receiver, a decoder/encoder, an RF retransmitter and any other equipment such as filters, duplexors and others required to receive a signal, process it and retransmit it. Commonly, the repeater unit retransmits the signal at a frequency different from the frequency used by the transmitter as well as sufficiently spaced in frequency from the frequency used by the transmitter such that the two signals can be resolved if they are received simultaneously by a receiver unit. The slave controller onboard the locomotive receives and demodulates the RF signal originating from the transmitter or from the repeater unit. The signal is then decoded and the validity of the request is verified. The slave controller stores an identifier indicative of the machine address of the transmitter assigned to the locomotive. The identifier is compared to the tag contained in the received demodulated request. Another operation in the verification of the signal involves verifying if the signal is intact by using a check sum or other suitable error detection or correction algorithm. If the signal is valid it is then processed further so the command contained in the request can be implemented. Locomotive control systems of the type described above require the involvement of a human administrator that assigns and keeps a record of the various machine addresses of the transmitters in use. Generally, to assign an address to a transmitter or to a slave controller, dip switches within the transmitter and the slave controller are physically set. The position of the dip switches defines the machine address assigned to the transmitter. Similarly, at the slave controller, dip switches are provided to define the address of the transmitter permitted to communicate with the receiver. Occasionally, such transmitters/receivers need to be replaced or temporarily removed from service to perform maintenance. For instance, in order to assign an address to a new transmitter module, the casing of the transmitter must be opened and the dipswitches must be correctly set by the human operator. The setting is such that the machine address of the previous transmitter is duplicated on the new unit so the latter can communicate with the slave controller in the field. The first problem with transmitter units of the type described above is the requirement to open the transmitter casing in order to access the dip switches. Such an operation, unless performed carefully can compromise the integrity of the casing. For example, if the casing is waterproof, opening it may damage the watertight seal, thus increasing the risk of premature component failure. The second problem with transmitter units of the type described above is the high reliance upon a technician to physically set the machine address by manipulating the dip switches. The reliance on an operator to assign addresses makes the system highly susceptible to human errors. For example, a technician may erroneously give two transmitter units the same machine address resulting in conflicting signals by setting the dipswitches in the inappropriate position. Finally, a human operator is required to assign and manage the addresses of the transmitters in order to insure that no two transmitters are given the same address. Consequently, the assignment and management of addresses by an operator is a time consuming task resulting in significant labour costs. U.S. Patent 5,495,520 issued on February 27, 1996 to Kojima describes a cordless telephone system wherein a master unit and a slave unit register with each other by exchanging messages including identification codes for the master unit and the slave unit and passwords. The passwords are first entered by a human operator for storage in each unit and the registration proceeds only if the master unit tries to register with a slave unit storing the master unit passwords and if the slave unit tries to register with a master unit storing the slave unit password. Since the passwords need to be entered manually in each of the slave and master units, there would be a need to manage a list of passwords if a plurality of slave units and master units using a registration protocol similar to the one described in U.S. Patent 5,495,520 was used in a control context. Consequently, the assignment and management of passwords by an operator would be a time consuming task resulting in significant labour costs. Thus, there exists a need in the industry to refine the process of assigning a machine address to a component of a control system such as to maintain the integrity of the components, to reduce the possibility of human error and to reduce the involvement of a human operator for the management of the addresses. Summary of the Invention For the purpose of this specification, the expressions "random" and "substantially random" are used to define a numerical pattern with very low correlation between its composing elements. In computer applications, random numbers are often generated using a mathematical formula that attempts to approach the "purely random' behaviour. However, in the context of this specification this expression should be given a broad interpretation to mean any non-numerically organised sequence of numbers or any other characters or symbols. The present invention provides a system and method for remotely controlling a locomotive according to claims 1 and a, respectively. Preferably, the transmitter and the slave controller are assigned identical addresses. When the transmitter issues a command, the address is embedded in the signal. The slave controller receives the signal and will process it only when the embedded address matches the locally stored address information. This feature constrains the slave controller to accept commands only from designated transmitters. The address has two parts. One part is an identifier of the transmitter, the other part is an identifier from the slave controller. When these two parts are assembled, the combination forms a unique address for the pair transmitter/slave controller. Preferably, a non-claimed operator programming unit is designed to communicate with one of the devices, say the slave controller to gather its identifier. Next, the operator programming unit communicates with the other device, say the transmitter to transmit to it the identifier of the slave controller. Preferably, at the same time the operator programming unit gathers the identifier of the transmitter. Finally, the operator programming unit then communicates with the slave controller to communicate to it the identifier of the transmitter. This procedure allows effecting an identifier exchange between the devices such that they all posses the same parts of the address. Accordingly, both the transmitter and the slave controller will have the same address information allowing interoperability to take place. In addition, by automatically assigning unique identifiers to transmitters and slave controllers, a one-to-one correspondence between selected transmitter-slave pairs can be achieved. Brief description of the drawings These and other features of the present invention will become apparent from the following detailed description considered in connection with the accompanying drawings. It is to be understood, however, that the drawings are provided for purposes of.illustration only and not as a definition of the boundaries of the invention for which reference should be made to the appending claims. Fig. 1 shows a simplified functional block diagram of a radio communication system including an embodiment of the invention; Fig. 2 shows a functional block diagram of a transmitter unit in accordance with an example of implementation of the invention; Fig. 3 shows a flow chart of a method in accordance with the invention for assigning a machine address to a transmitter unit; Fig. 4 is a structural block diagram of an apparatus in accordance with the invention for signal transmission in accordance with an example of implementation of the invention; Fig. 5 shows a block diagram a non-claimed of the operator programming unit for use with an example of implementation of the invention; Fig. 6 shows a block diagram of the slave controller unit in accordance with an example of implementation of the invention. Description of a preferred embodiment In a preferred embodiment of this invention, the method for assigning an address to a communication component is used in a radio control system such as can be used in a locomotive control system. As shown in figure 1, the radio control system 100 includes a set of functional units namely a portable transmitter 104 and a slave controller 106 mounted on board the locomotive. The transmitter has an interface allowing an operator 110 to enter commands. Typically, the interface includes a control panel with switches and levers allowing the operator 110 to remotely control the movement of the locomotive. Optionally, the radio control system may also include a repeater unit 102 to increase the effective operational range between the transmitter 104 and the slave controller 106. The transmitter 104 generates command signals over an RF link 122 (or 116 and 118 if the repeater unit 102 is involved). The slave controller 106 receives the commands and implements them. The implementation procedure consists of generating the proper control signals and interfacing those control signals with main controller module 112 provided in the locomotive to regulate the operation of the engine, braking system and other devices. The radio control system includes an operator-programming unit 108 (OPP) to program certain functions of transmitter 104 and the slave controller 106. The programming operation between the OPP 108 and the slave controller 106 is effected over a communication channel 126. The programming operation between the OPP 108 and the transmitter 104 is effected over a communication channel 120. The communication channel 120 is a wireless infrared link. Other communication channels are possible. For example the channel 120 between the operator programming unit 108 and the transmitter 104 may be based on RF communication. In a preferred embodiment, the controller module 112 and the OPP 108 communicate with the slave controller 106 via a standard asynchronous serial communication links 126 124 or any other suitable communication link. The repeater unit 102 is a ground-based unit whose function is to extend the radio frequency (RF) range of the transmitter 104. In a specific example, the signal range is extended by amplifying the signal and filtering noise components. Repeater units are well-known in the art to which this invention pertains and typically comprise an RF antenna, an RF receiver, a decoder/encoder, an RF retransmitter and any other equipment such as filters, duplexors and others required to receive a signal, process it and retransmit it. Preferably, the repeater unit retransmits the signal at a frequency different and sufficiently spaced in frequency from the one used by the transmitter 104 such that the two signals can be resolved when the receiver unit 106 receives them. In a specific example the radio frequencies used are between 806 MHz and 821 MHz (low band) or between 851 MHz and 866 MHz (High band) and frequencies are selected in pairs one from the low band and one from the high band. Any suitable frequency band may be used here without detracting from the spirit of the invention. The transmitter unit 104 operates at a frequency selected from the low band and the repeater unit 102 retransmits at a frequency selected from the high band. Examples of three frequency pairs are 1) 812.5375 MHz and 857.5375 MHz, 2) 812.7875 MHz and 857.7875 MHz, 3) 818.900 MHz and 863.900 MHz. The slave controller 106 receives and demodulates the RF signal originating from the transmitter 104 or from the repeater unit 102. The signal is then decoded and the validity of the request is verified. The signal is first demodulated and the components of the message are extracted. In a specific example the message contains a command section, a transmitter identifier section and a slave controller identifier. These components are extracted from the message in a known manner. The validity verification on the message then follows. This is a two-step operation. First, the slave controller 106 determines if the transmitter 104 transmitting the message is permitted to issue commands to the slave controller. Second the signal integrity is verified. The first verification step involves a comparison between the tag extracted from the message and the value stored in the memory of the slave controller. In typical locomotive control systems, a single transmitter can issue commands to a given locomotive. Generally, a memory element in the slave controller, such as a register stores an identifier indicative of the transmitter assigned to the locomotive. The identifier is compared to the tag extracted from the message. If both match, the slave controller concludes that the command is legitimate and proceeds with the remaining verification step. In the absence of match, the slave controller rejects the message and takes no action. During the second verification step, the signal integrity is assessed. The signal is processed by a check sum assessment algorithm or by any other suitable error detection/correction algorithm. If the slave controller 106 finds that the message is indeed intact then the command that it contains is carried into effect. The transmitter 104 of the radio control system is shown in more detail in figure 2. The transmitter 104 comprises a set of functional modules namely a user interface 201, a message builder unit 200, a message encoder 202 and a signal transmitting unit 218. The signal transmission unit 218 includes an input for receiving the signal to be transmitted. The signal is supplied to a modulator 204 that modulates the signal and transfers it to a signal transmitter 206 that effects the actual transmission. The modulator is coupled to a modulating frequency generator 212. The signal transmitter 206 is coupled to a time interval duration control module 222. The time interval duration control module 222 stores data for controlling the time interval between two successive transmissions of the signal. In a typical interaction, the user of the radio control system enters via the user interface 201 a command to be executed by the locomotive. The user interface may be a keyboard, touch screen, speech recognition system or any other suitable input means. In a preferred embodiment, the user interface 201 comprises a set of buttons or levers for each of the allowable actions namely brake, accelerate, reverse and so on. Once the command has been entered the message builder unit 200 processes it. The message builder unit 200 assembles the received command with an identifier for the transmitter as well as for the slave controller. These two identifiers are stored in computer readable storage media 210 and 208. Such computer readable storage media are in the form of a read-only memory (ROM), programmable read-only memory (PROM) modules, EPROM or any other suitable register devices. The command and the identifiers are digitally represented. Many message formats may be used here and the use of a particular message format does not detract from the scope of the invention as defined by the appended claims. The transmitter unit includes an infrared interface 220 coupled to the memory units storing the identifiers 208 210. The IR interface receives address information via an IR link. In a specific example, the identifier information is sent by an operator programming unit 108 in the system. In an alternative embodiment, an asynchronous transmission channel (e.g. RS232) can be used instead of the IR interface 220. Each transmitter is assigned a unique transmission address. In a specific example, the transmission address, herein designated as address, assigned to the transmitter depends on the identifier assigned to the slave controller. The transmitter uses this address in the tag sent along with each message. In a preferred embodiment, the address is a compound data element including the slave controller identifier 208 and the transmitter identifier 210. In a specific example, the identifiers are the serial numbers of the respective components. Since a serial number is generally unique over all components, the address will be unique. Following this, the address is placed on the tag which is added to the message. Optionally, once the message is created (the command including the tag), an encoding algorithm is applied by the message encoder 202 in order to reduce the occurrence of consecutive 0's or 1's in the message and therefore permit a self-synchronizing communication. Many encoding methods are known in the art of digital signal processing and the use of other encoding methods does not detract from the scope of the invention as defined by the appended claims. Once the message has been created, the message is passed to the signal transmission unit 218, in particular to the modulator 204 that modulates the digital signal containing the message at the carrier frequency. In a preferred embodiment, the operator of the radio control unit may select the carrier frequency for the message. The carrier frequency generator 212 outputs the selected carrier frequency. Following the modulation of the signal, a signal transmitter module 206 transmits the signal at predetermined time intervals. The time interval control module 222 controls the time interval between two successive signal transmission events. The operator programming unit 108 is a module used for performing address synchronization between the transmitter 104 and the slave controller 106. The operator programming unit 108 is used to load the information representative of addresses into the memory of the transmitter 104 and the memory of the slave controller 106 units such as to uniquely define the pair. As best shown in Figure 5, the operator programming unit comprises a memory unit 506 for storing identifier and programming information, a CPU 502, an IR interface 500, a serial interface 504 and a user interface 510. The CPU 502 interacts with the interfaces and the memory unit to perform functionalities related to programming the transmitter and slave controller devices, as will be discussed later. The IR interface 500 is used to communicate with the transmitter unit via an IR link. The serial interface is used to communicate with the slave controller via a serial communication link. Other interface configurations are possible without departing from the scope of the invention as defined by the appended claims. For example, both interfaces 500 504 may be IR interfaces or both may be serial interfaces. Furthermore, a single interface may be used to communicate with both the transmitter and the slave controller. Other variations are possible and will be readily apparent to the person skilled in the act. The user interface 510 is suitable for receiving instructions from an operator to program a given transmitter/slave controller pair. In a typical interaction, as shown in figure 3, at step 300, the operator programming unit 108 obtains the slave controller 106 identifier via a communication channel 126. This is effected by establishing a communication between the operator programming unit 108 and the slave controller 106 over the communication channel 126. During this transaction, the slave controller 106 transmits to the operator programming unit its identifier. The OPP then transmits 302 the slave controller identifier to the transmitter unit 104 via the transmitter's infrared interface 120. The transmitter receives the identifier information and stores it 304 in the appropriate computer readable medium 208. Following this the transmitter sends 306 its unique identifier to the OPP. In a specific example the unique identifier is the transmitter's serial number stored on a computer readable medium 210. The OPP receives the transmitter identifier and transmits it 308 to the slave controller unit. The slave controller unit stores the transmitter's unique identifier on a computer readable medium 310 and the programming is complete. The next time the slave controller receives a message it will check the tag to see if it contains the correct slave controller identifier and the correct transmitter unique identifier. In an alternative embodiment, the transmitter and slave controller identifiers may be randomly generated and sent to the respective components. The operations to generate the identifiers for the components of a communications system may be performed by a general-purpose digital computer using a CPU and memory means as shown in figure 4. Such computing platform typically includes a CPU 402 and a memory 400 connected to the CPU by a data communication bus. The memory 400 stores the data 408 and the instructions of the program 404 implementing the functional blocks depicted in the drawing and described in the specification. That program 404 operates on the data 408 in accordance with the algorithms to generate the unique identifiers. Preferably the algorithms operate such that to insure that the identifiers generated are unique. For example, the apparatus may store on a computer readable medium the identifiers assigned thus far in a list, and may scan this list before assigning a new identifier to a component. The addresses are then loaded into PROMs in the transmitter and the receiver. The steps depicted in figure 3 are implemented primarily by software. The program instructions for the software implemented functional blocks are stored in the memory portion 506. As to the structure of the slave controller 106, as shown in figure 6, the latter comprises a receiver section 602 that senses the signal transmitted by the transmitter 104. The slave controller also comprises an interface 600 for interacting with the operator programming unit. In a specific example the interface 600 is a serial interface. The serial interface 600 is coupled to computer readable storage media 604 606 for storing the identifier of the transmitter unit associated with the slave controller and for storage a slave controller identifier. In addition the slave controller includes a logical processing station 608 to process the received signal and to generate the necessary control signals that are input to the locomotive controller module so the desired command can be implemented. The logical processing station 608 also performs the validation of a message received at the receiver 602. Although the present invention has been described in considerable detail with reference to certain preferred embodiments thereof, variations and refinements are possible without departing from the scope of the invention as defined by the appended claims, as have been described throughout the document. Therefore, only the appended claims and their equivalents should limit the scope of the invention.

Claims: A system for remotely controlling a locomotive comprising in combination: a) a locomotive having a controller module; b) a slave controller (106) mounted on board the locomotive; c) said slave controller (106) comprising: i) an interface for receiving an identifier of a transmitter (104) via a first communication link (126); ii) a data storage in communication with said interface, said data storage being suitable for storing the identifier of the transmitter (104) and an identifier of said slave controller (106) iii) a signal receiver unit (602) for receiving a signal from the transmitter (104) over a second communication link (122) different from the first communication link (126), the second communication link (122) being an RF communication link, the signal conveying a message including a command portion and a tag portion, the command portion being indicative of at least one command for causing at least one action to be performed by said locomotive, the tag portion including data derived from the identifier of the transmitter (104) and data derived from the identifier of said slave controller (106); iv) a logical processing unit (608) in communication with said data storage and with said signal receiver unit (602), said logical processing unit (608) being operative to: (1) perform a validation procedure on the message including comparing data in the tag portion in the message with the identifier of the transmitter (104) and the identifier of said slave controller (106) in said data storage; (2) if the validation procedure validates the message, generate control signals and directing the control signals to the controller module for causing said locomotive to perform the at least one action. A system as defined in claim 1, wherein said data storage is operative to release the identifier of said slave controller (106) to said interface for transmission over the first communication link (126). A system for remotely controlling a locomotive as defined in claim 1, wherein the validation procedure includes an assessment of an integrity of the signal conveying a message. A system for remotely controlling a locomotive as defined in claim 3, wherein the assessment of the integrity of the signal conveying a message includes processing the signal conveying a message by an error detection algorithm. A system for remotely controlling a locomotive as defined in claim 3, wherein the assessment of the integrity of the signal conveying a message includes processing the signal conveying a message by an error correction algorithm. A system for remotely controlling a locomotive as defined in claim 1, wherein said interface is a serial interface. A system for remotely controlling a locomotive as defined in claim 1, wherein the at least one action to be performed by the locomotive is acceleration. A system for remotely controlling a locomotive as defined in claim 1, wherein the at least one action to be performed by the locomotive is braking. A method for remotely controlling a locomotive in which is provided a controller module, comprising: a) mounting on board the locomotive a slave controller (106); b) interfacing the slave controller (106) with the controller module; c) communicating to the slave controller (106) over a first communication link (126) an identifier of a transmitter (104) ; d) storing in a data storage in the slave controller (106) the identifier of the transmitter (104); e) storing in the data storage an identifier of the slave controller (106); f) transmitting from the transmitter (104) a wireless signal over a second communication link (122) different from the first communication link (126), the second communication link (122) being an RF communication link, the wireless signal conveying a message including: i. a command portion indicative of at least one command for causing an action to be performed by the locomotive; and ii. a tag portion; g) receiving the wireless signal at the slave controller (106); h) performing a validation procedure at the slave controller by comparing data in the tag portion of the message in the received wireless signal with the identifier of the transmitter (104) and the identifier of the slave controller (106) in the data storage; i) if the validation procedure validates the message in the received wireless signal, generating control signals and directing the control signals to the controller module for causing the locomotive to perform the at least one action.

Inventors: BROUSSEAU ANDRE, ETHIER LUC, HORST FOLKERT, SZKLAR OLEH, BROUSSEAU, ANDRE, ETHIER, LUC, HORST, FOLKERT, SZKLAR, OLEH
Applicants: CANAC INC, CANAC INC.
Application year: 2000
Main classification: B61L3
IPC codes: B61L17, B61L3