Method and apparatus for controlling and supervising electronic devices

Abstract: A method and apparatus for controlling and supervising electronic devices, such as devices that receive, transmit and process signals in radio relay systems. The method comprises the steps of controlling each peripheral unit of the device through a controller; identifying a plurality of data to be handled for carrying out the control and the supervision of the device; and generating/receiving, through said controllers, messages each containing one or more of said data to be handled, wherein it further comprises the step of connecting said controllers via a common bus and wherein the format of said controller- generated/received messages is pre-established and substantially independent of the size of data contained therein.

Description: The present invention relates to a method and apparatus for controlling and supervising electronic devices. The modern systems for the control and supervision of electronic devices have the task of managing a lot of data coming from a variable number of sources. The data that are handled are often greatly heterogeneous with one another, as to both electrical nature and information content, and further they are greatly dependent on the different configurations of the system. An example of electronic device that must be controlled and supervised could be instruments that receive, transmit and process signals in radio relay systems. In such instruments it is necessary to control the alarms that could be possibly generated, it is necessary to collect and analyze the various operating conditions and to perform configurations. The strict relation with the controlled apparatus causes the current control and supervision methods and systems to be very specific, hardly re-employable in other applications and moreover of low maintainability is case there are subsequent variations of the system, of the peripheral units or of the data to be managed. The current main solutions use one of two different control methodologies. The first methodology, termed distributed-controller methodology, consists in using a number of controllers, with each controller controlling a system portion through a dedicated software program. Therefore, each controller is able to control a definite number of peripheral units. All the controllers are interconnected with a single concentrator with whom they interchange data associated with the controlled peripheral units in the form of messages. The exchanged messages are structured in a different way according to the handled data typology and to the features of the communication protocol that is used. The messages that are handled by each controller will contain only the data essential to the controller to be able to manage the portion of the system assigned thereto and therefore they will have a format and an information content pre-established at the beginning. The second methodology consists in using a sole very powerful controller able to manage the whole system. All the system peripheral units are mapped to specific addresses and directly driven by means of read and write cycles through a single bus interconnecting them to the controller. Each peripheral unit has at its disposal a number of unique data inside the system. The controller will access any of the available data in the controlled system in a mutually exclusive manner. Both methodologies exhibit intrinsic drawbacks. The first control methodology leads to a high number of software programs all different from one another, each of which is dependent not only upon the controlled peripheral units, but also upon the format of the handled messages containing the data associated with the controlled peripheral units. It follows that, in order to control another system having the same data but a different connection between the system peripheral units and the handled data, a complete reorganization of the messages will be necessary, with a consequent poor re-employment of the software which was developed for the first system, notwithstanding it has both the same data and type of peripheral units. The second control methodology leads to a strict connection between the controller and the peripheral units to be controlled, all the associations between peripheral units and data being defined in the controller software. By excluding the controller from the system, all the system peripheral units become unserviceable since they are not traceable back to any system data. Moreover, the controller has a physical dependence with the peripheral units because it accesses them through an absolute address which is not necessarily associated with the same data in different systems. In such a way, a controller software which is strictly dependent on the controlled system architecture is obtained. A data communication system and method is known from US-A-5749406, comprising a master station and a plurality of salve stations. Data is transmitted between the master station and each slave station in both directions. In order to provide a more efficient transmission of control data, this document suggests the use of flag data in the messages to and from the slave stations for indicating that a change in the data has occurred and only if a flag is present in the transmission, changes in the data will be checked and updated accordingly. A master slave communication system is known from US-A-4988989, comprising a main station and a plurality of peripheral stations wherein data is transmitted between each of the plurality of peripheral stations and the main station. The main station comprises a first timer device, and each of the peripheral stations comprises a second timer device. A data signal is transmitted between each of the peripheral stations and the main station every communication unit period and the order of the communications therebetween is predetermined. An initializing data signal is transmitted from the main station to each of the peripheral stations and a data is then transmitted between the main station and each peripheral station every individual communication period of each of the peripheral stations. In EP-A-0772107 there is disclosed a distributed control system including an area controller and a plurality of field controllers. The field controller manages at least one controlled device in an industrial process operation. The field controller comprises a processor module segment through which it can control a selected number of devices, and it may also include one or more expansion module segments to enable it to control a larger number of controlled devices. The processor module controls each controlled device through the respective local interface module or expansion interface module connected thereto. As it is readily appreciated from the above, the three prior art documents disclose arrangements that fall generally within the second control methodology as discussed further above, namely the use of a central controller to manage a group of peripheral units. This makes the operability of the system dependent on the presence of a central controller at all instances of operation. Therefore, in essence, the drawback that is common to all the solutions adopted so far derives from the fact that once the hardware architecture and the necessary peripheral units of the system to be controlled have been defined, a special data format, optimized for that special system architecture and for each handled data topology, should be defined. In this way, an efficient control software is provided but such a software will be hardly re-employable in other hardware architecture systems or with different data typologies. It is the main object of the present invention to provide a more efficient method for controlling and supervising electronic devices which overcomes the deficiencies of the methods known so far, or it is easily re-usable to control other devices with different peripheral units or with the peripheral units arranged in a different manner. A further object of the present invention is to provide a method for controlling and supervising electronic devices which, once a starting time interval has elapsed, is independent of the controller, thus making easier the factory testing operations and the installation on field. It is also an object of the present invention to provide an apparatus for controlling and supervising electronic devices which overcomes the deficiencies of the systems known so far. It is a further object of the present invention to provide an apparatus for controlling and supervising electronic devices which, once a starting time interval has elapsed, is independent of the controller, thus facilitating the testing operations in the factory and the installation in the field. These and further objects are achieved by a method and apparatus as claimed in the independent claims 1 and 10, respectively. Further advantageous features of the invention are set forth in the respective dependent claims. All the claims are intended to be an integral part of the present description. The basic idea of the present invention consists in using a distributed control system based on the data interchange between control entities dedicated to the management of system portions or peripheral units. A further peculiarity is given by the fact that data are sorted in registers, all the registers having the same size (namely, the same number of bits) apart from the typology and size of the data. The invention will certainly become clear after reading the following detailed description, given by way of a mere non limiting example, to be read with reference to the attached drawings, wherein: Fig. 1 schematically shows the state of the art configuration with distributed controllers and concentrator; Fig. 2 schematically shows the state of the art configuration comprising a simple controller that directly controls the peripheral units; Fig. 3 diagrammatically shows the overall set of data that the various controllers of the present invention exchange with the concentrator; and Fig. 4 diagrammatically shows the configuration of the apparatus of the present invention. For better clarity, before describing the present invention, the known control and supervision apparatus and methodologies will be briefly described again with reference to Fig. 1 and Fig. 2. The first known methodology (Fig. 1) provides for a plurality of controllers (C1, C2, C3, ..., Cn), in the illustrated case there is a controller for every peripheral unit (PER#1, PER#2, PER#3, ..., PER#n) forming the system or electronic device (DEV) to be controlled. As it can be easily noticed, the messages M exchanged between the concentrator CONC and the controllers C are structured in a different way according to the typology of the handled data and the features of the communication protocol adopted. The messages handled by each controller will contain only data essential to the controller to be able to manage the system portion assigned thereto and therefore they will have a format and an information content that is pre-established at the beginning and that can not easily be changed. In the second known configuration, on the contrary, there is a unique controller (CONTR) that is interconnected, via a bus, to the various peripheral units PER#1, PER#2, ..., PER#n. As said above, the basic idea of the present invention consists first in using a distributed control system based on data interchange between controllers which are dedicated to the management of system portions, i.e. one or more peripheral units. A further peculiarity is given by the fact that data are sorted in registers (REG#1, REG#2, REG#3, ..., REG#n) all having the same size (namely, the same number of bits) apart from the typology and the size of the data. All the messages M that are exchanged between the concentrator and the various controllers have the same format. Every controller, however, will validate only the data which it is able to provide or which it needs to know. For better clarity, without restricting anyway the scope of the invention, the following description will particularly refer to the control/supervision of devices used in telecommunications radio relay systems (typically, devices for receiving, transmitting and processing telecommunication signals). The control and supervision of an electronic device, and in particular of a device for radio relay systems, implies the step of exchanging a plurality of data (1, 2, 3,...) typically of different nature and size. In accordance with the invention, such data are sorted in registers (REG#n) of a pre-established size. By way of example, each register REG#n could have a length of six bytes. The set of all data, sorted in registers, forms a data set P (Fig. 3). Each single data (1, 2, 3, ...) will thus be univocally identified by the register ID, REG#x (with 1≤x≥n), of the register that contains it and by a bit (or byte) interval that identifies the position of the data inside the register and consequently its size. Such a classification will be performed only once for each data to be handled, apart from the architecture of the system to be controlled and apart from the peripheral unit which will be associated therewith. The same data will occupy a unique position inside a unique register and, moreover, any register position will contain one data at most, whatever the controlled system may be. In Fig. 3 all data have been represented by means of boxes having a different size and inserted into registers or larger "containers" of fixed size. A finite set of elements (data) is thus obtained. Each typology of controlled device (DEV) is defined by a subset A of elements of P. In other words, typically every device to be controlled and supervised generates/requires a number of data less that P: For instance, in principle a radio relay system has the possibility to transmit through a number of radio channels but a transceiver is often provided in an under-equipped arrangement, namely in a configuration that allows the transmission over a lower number of channels and/or with reduced alarms. The controller CONC according to the invention is aware of the format of P and therefore is capable of handling data of any different set of peripheral units, all data being described as a subset of P. With reference to Fig. 3, the subset A1 comprises data (1 to 8) of the first register whereas A2 comprises the data (1 to 24) of the first four registers. In a fully equipped device configuration, A will coincide with P and it will comprise the data of all the registers. A "use relation", denoted by r , will now be defined, such a use relation assigning to each controller the data belonging to registers contained in the subset A defining the system to be controlled. Each data of subset A will therefore be r -related to at least one controller belonging to the system. In the case depicted in Fig. 3 and Fig. 4, the subset of data essential to the control/supervision of a device comprising n peripheral units (PER#1, ..., PER#n) is the subset A1 (register REG#1) which comprises the data 1, 2, 3, ..., 8. The data 1 is related to controller C1 and to controller Cn; data 2 is related to C1 only; data 3 and 4 are related to C2 only, data 5 is related to C2 and Cn; data 6 is related to C3 and Cn; finally, data 7 and 8 are related to C3 only. For each data which is related to the use relation r , every controller C must further specify the direction of the information flow from and/or towards it. In other words, data 1 could be produced by C1 and used by Cn; data 5 could be produced by Cn and used by C2, an so on. The concentrator, from the analysis of these pieces of information determines, for each data of the system, what is the source entity (source controller) and what are the destination entities (destination controller(s)). Then, a logic interconnection network is defined between the data of the various controllers that perform the whole information flow according to the aforesaid relations r . Once the interconnection network is established, each entity may know which further entities, if any, wish to use data produced thereby. In other words, each controller knows to which controller(s) a data item produced by it shall be sent and also, when the data item is produced by a different controller, from which controller the data item will be received. In this way, should for instance a further controller Cx, that necessitates data 1 produced by C1, be added, one should take care of only one part of the software of Cx and not of that of C1, Cn or concentrator, unlike what happened in the past. Moreover, the variation of the value of a data in the system leads to the updating of the same in all the entities using it. The concentrator, by defining a global use relation R over all the data of A, is able to access all data of the system. The supervision software is capable of handling all the data belonging to P which will not change for any system typology that is characterized as a subset A of P. As said above, each controller C of the apparatus APP exchanges messages M of the same register format with the concentrator CONC. In the case illustrated, all the data for the supervision of the system are contained in the subset A1, i.e. in the first register REG#1 of P. The messages M1, M2, ..., Mn exchanged will have a single register format. The further peculiarity is represented by the fact that every controller C will write or read only at special locations of such registers where there are data which it is in relation with. Thus, according to what said above, C1 will write only in the interval assigned to data 1 and read in the interval assigned to data 2, without taking care of the rest of the register (which in Fig. 4 is represented by oblique hatching). The apparatus APP according to the present invention, in addition to what said above, further comprises a communication bus (BUS) for interconnecting all the various controllers C one to each other. The adopted communication protocol shall transfer the registers among the controllers through messages M. Typically, each controller C comprises a microprocessor. Basically, the application software of the various controllers is the same, only the use relation r relating the various data of the subset A to them is different. The advantage lies in that a unique application software which implements a controller is to be designed. Such a software, upon reception of any data, will call a procedure external to such a software, expressly realized for the handling of the specific data received for the specific peripheral unit controlled. Moreover, for every data produced by that specific controller, a procedure external to such a software, expressly realized for the acquisition of the specific data to be sent, will be called. The interconnection network will guarantee the data updating on all the controllers that use it. Thus, every controller C will have at its disposal a modular software composed as follows: a control module SW1 which is equal for all the controllers and fully independent of the handled data; a module SW2 for processing each single data and which is employable in any controller handling such a data; and a platform module SW3, such a module being the same for hardware of the same type, capable of driving the peripheral units. The concentrator CONC comprises first means (for instance implemented via software) performing the functions of use relation acquisition and interconnection network set up, and second supervision means (possibly being realized via software as well) specific for that type of device. At the startup of the apparatus, each controller C transfers its use relation rto the concentrator or supervision entity CONC. The set of use relations r that are received by each controller allows the supervision entity to know A, namely the data of the controlled system. In a complete apparatus, a supervision entity CONC and at least one control entity C will be present, hence all the data of set A characterizing the controlled device will be present in at least two entities at the same time. After a first startup, the control system becomes independent of the supervision entity CONC, the logic connections between the entities that control the system being already established. Therefore, in a "static" condition, the concentrator or supervision entity is no longer necessary. This results in a big advantage since the steps of configuring and testing the apparatus could be carried out at the factory and the installation in field would not require to repeat such operations. Should a new controller be inserted in the control/supervision apparatus according to the invention (for instance because the device to be controlled, partially unequipped at the beginning, has become fully equipped), a new interconnection network will be defined, thus increasing the cardinality of the set A (for instance passing from A1 to A2), if the new controller utilizes data of P not belonging to A. The format of the controlled data, which is the same for any data typology and for any system typology, permits of realizing the software of the entities and of choosing a communication protocol among them, without having to know what system has to be controlled. Once all the controllable data (i.e. the P) are defined, a software module capable of managing all the data contained in the set P and hence totally re-employable for the control of any electronic device whose data to be controlled are contained in A, defined as subset of P, will be developed. The result is that, in order to control a further device having the same data but a different association between the peripheral units and the handled data, no reorganization of the messages is necessary and a complete re-employment of the software which was developed for the first device is possible. After a first startup, the apparatus is no longer dependent on the supervision entity, which can even be removed without jeopardizing the control functionalities. Furthermore, any physical modification of the system peripheral units does not require any change in the supervision software. Having defined the data in an univocal format, it is possible to realize application programs for the simulation, testing and generation of totally re-employable data structures for any device typology realized which is completely independent of the control architecture utilized. At this point one could argue that the present invention does not utilize an optimal format of the messages used for the interconnection between the controllers. In the worst case, a certain device would provide for the use of only one data for each register, and this would imply a waste of storage and a reduction in the efficiency of the communication protocol utilized. Such a disadvantage is however irrelevant when defining a suitable size of the registers and a homogeneous definition of data also considering that the modem technologies permit of having low cost memories and high-speed data transfer. The method and apparatus according to the invention provide for a large re-employment of the software developed for previous devices, thus reducing the development and testing times. There have thus been shown and described a novel method and a novel apparatus for controlling/supervising electronic devices, in particular transceivers for radio relay systems, which fulfill all the objects and advantages sought therefor. Many changes, modifications, variations and other uses and applications of the subject invention will, however, become apparent to those skilled in the art after considering the specification and the accompanying drawings which disclose preferred embodiments thereof. All such changes, modifications, variations and other uses and applications which do not depart from the scope of the invention are deemed to be covered by the invention which is limited only by the claims which follow.

Claims: Method for controlling and supervising an electronic device (DEV) comprising one or more peripheral units (PER#) through an apparatus (APP) comprising one or more controllers (C), said method comprising the steps of: controlling each peripheral unit (PER#) of the device (DEV) by means of a controller (C); identifying a plurality of data items (1, 2, 3, ...) which have to be handled in order to carry out the control and the supervision of the device; generating/receiving, through said controllers (C), messages (M) of pre-established format, each message containing one or more of said data items (1,2,3,...) to be handled; and connecting at least two of said controllers (C) to each other through a common bus (BUS) characterized by the step of: interchanging of data items (1,2,3,...) between said at least two controllers (C) though said common bus (BUS); and in that said messages (M) generated by/received from the controllers (C) have the same format, said format being independent of the size of data (1,2,3,...) contained therein. Method according to claim 1, characterized in that the step of identifying a plurality of data items (1,2,3,...) which have to be handled comprises the step of arranging all data in storage registers (REG #), each register having the same size, each data item being univocally identified by an identifier of the register containing it and by an identifier that identifies the position of the data item inside the register itself. Method according to claim 2, characterized by the additional step of identifying a subset (A1,A2,...An) of data arranged in registers (REG#1,REG#2,...REG#n), said data subset being composed of one or more data (1,2,3,...) and corresponding to data for the control/supervision of a partially equipped device (DEV). Method according to claim 1, characterized by the steps of: providing a concentrator or supervision entity (CONC), said concentrator being connected to the controllers (C) by said common bus (BUS); and providing said concentrator (CONC) with information concerning said data (1,2,3,...) and their arrangement in registers (REG#1,REG#2,...,REG#n). Method according to claim 4, characterized in that the step of providing the concentrator (CONC) with information concerning data comprises the step of defining use relations ( r ) between each data item and at least one controller, specifying the information flow direction, namely the supervision entity producing or using said data item. Method according to claim 5, characterized in that each controller (C) validates only a pre-established (1,2,3...) part of message, in accordance with the corresponding use relation ( r ). Method according to any of the preceding claims, characterized by the step of providing each of the controllers (C) with a computer software program, said software program comprising: a first control module (SW1), which is the same for all the controllers and independent of the handled data; a second processing module (SW2) for each single data item and which is usable in any controller that handles such a data item; and a platform module (SW3) which is the same for all the hardware of the same type, capable of driving the peripheral units. Method according to any of claims 1 to 7, characterized by the further step of disconnecting said concentrator (CONC) once a start up step is finished. Method according to any of the preceding claims, characterized in that said device (DEV) is a device for receiving, transmitting and processing signals in radio relay systems. Apparatus (APP) for controlling and supervising, through the handling of a plurality of data items (1, 2, 3, ...), an electronic device (DEV), the device comprising one or more peripheral units (PER#), the apparatus comprising: one or more controllers (C), at least two of said controllers being connected to each other through a common bus (BUS), each peripheral unit (PER#) being controlled through a controller (C); and means for generating/receiving, through said controllers, messages (M), each message having a pre-established format and containing one or more of said data items (1,2,3...) to be handled, characterized in that said common bus (BUS) for connecting at least two of said controllers (C) is adapted for interchange of data items therebetween, and in that said messages (M) generated/received by the controllers (C) have the same format, said format being independent of the size of data (1,2,3,...) contained therein. Apparatus according to claim 10, characterized by further comprising storage registers (REG#) for storing therein the data items (1,2,3...) to be handled, each register having the same size, each data item (1,2,3...) being univocally identified by an identifyer of the register containing it and by an interval identifying the position of the data item inside the register itself. Apparatus according to claim 10, characterized by comprising a concentrator or supervision entity (CONC) connected to the controllers via a common bus (BUS), said concentrator receiving information concerning said data (1,2,3...) and their arrangement in registers. Apparatus according to any of claims 10 to 12, characterized in that each controller (C) comprises a computer software program, said software program comprising: a first control module (SW1), with the first module being the same for all the controllers and unrelated to the handled data; a second processing module (SW2) for each single data item and which is usable in any controller handling such a data item; and a platform module (SW3), with said platform module being the same for hardware of the same type, capable of driving the peripheral units. Apparatus according to claim 10, characterized in that said device (DEV) to be controlled/supervised is a device for receiving/transmitting and processing signals in radio relay systems. Computer software program comprising program code means designed to carry out all steps of anyone of the claims 1 to 9 when said program is run on a computer. Computer-readable medium having a computer software program recorded thereon, said computer-readable medium comprising program code means designed to carry out all steps of anyone of the claims 1 to 9 when said program is run on a computer.

Inventors: BARZAGHI GIORGIO, MIRELLI GIACOMO, RODELLA VINCENZO, BARZAGHI, GIORGIO, MIRELLI, GIACOMO, RODELLA, VINCENZO
Applicants: CIT ALCATEL, ALCATEL
Application year: 2001
Main classification: H04L12
IPC codes: H04W24