The invention relates to a modularly constructed field device of process automation technology, wherein the field device has a basic card containing an executable, basic program, wherein the basic card is expandable by way of at least one expansion card containing at least one, executable, expansion program, wherein, for executing the basic program, the basic card comprises at least one computing unit and at least a first memory unit designed for the memory requirement of the executable, basic program.
In industrial measurements technology, especially in automation, and process control, technology, field devices are applied, which, in the course of a process, ascertain process-variables by means of sensors or control control-variables by means of actuators. Such field devices ascertain and/or control, for example, pressure, flow, fill level, temperature or some other physical and/or chemical process variable as a process variable in a process. Available from the assignee are such field devices, for example, under the marks, Cerabar, Deltabar, Deltapilot, Promass, Levelflex, Micropilot, Prosonic, Soliphant, Liquiphant and Easytemp. These serve primarily to determine and/or to monitor at least one of the above referenced process variables of a medium in a containment.
A feature common to all above mentioned measuring, or field, devices is that, from the process variables ascertained by the sensors, a measured value is ascertained and evaluated by means of a device electronics connected thereafter. This device electronics is, most often, so matched to the corresponding measuring requirements and the process variable to be measured, that, for each sensor principle, for each process variable to be measured and for each measuring performance, an independent device electronics must be developed. Another solution is e.g. to equip field devices of different measurement accuracy standards with a unified device electronics and with a maximal measuring performance and to activate or to deactivate the individual functionalities e.g. per software. This has, however, the disadvantage, that, by equipping the field device for maximal performance also maximum possible memory capacity must be provided for program and data, and the device electronics must already have all expansion electronics. This is very expensive.
Another possibility is to increase the functionality of a basic, standardized, device electronics by adding expansion electronics. Disadvantageous in the increasing of the functionality of the total field device by such expansion electronics is that the programs of the field device must be overwritten with a new version of an operating program matched to the expansion electronics, i.e. firmware must be overwritten and, also here, maximum memory size must be provided beforehand for the program and the data.
These solutions have the disadvantage that, as soon as the functional scope of a field device is desired to be expanded, the customer or operator has been obliged, to this point in time, either to obtain a completely new field device, or, after the possible plugging in of a new device module, to have new firmware written into the field device. The customer or operator would prefer, in the case of an expansion of the functionality of the field device, in general, not to have to buy a completely new field device, and the manufacturer cannot, for each field device, offer the opportunity to write over the firmware, since this implies, besides pure hardware costs, such as e.g. connectors, galvanically isolated lines, also a not to be disregarded logistical effort in managing the different programs and different device electronics.
An object of the invention is to provide a field device, whose performance and functionality can be simply matched to requirements and which can be implemented cost effectively.
This object is achieved according to the invention by features that the expansion card includes at least a second memory unit designed for the memory requirement of the expansion program, that an automatic detecting of the connected expansion card is provided by the basic card, and that, for expanding the basic program by expansion programs, the computing unit partially and/or intermittently accesses the second memory unit.
In the case of a preferred embodiment of the field device of the invention, an expansion electronics is provided on the expansion card.
An advantageous form of embodiment of the field device of the invention provides that the first memory unit contains a first data memory and a first program memory.
Another advantageous embodiment of the field device of the invention provides that the second memory unit contains a second data memory and/or a second program memory.
In an additional advantageous embodiment of the field device of the invention, an address decoder is provided for accessing individual addressable memory ranges of data memory and program memory.
In the case of an additional preferred form of embodiment of the field device of the invention, it is assumed, that data memory and program memory lie in fixedly predefined memory ranges of the computing unit.
In an additional preferred form of embodiment of the field device of the invention, a marker is provided at defined positions of program memory of the first memory unit, and/or of program memory of the second memory unit.
A supplementing form of embodiment of the field device of the invention permits that, for automatic detecting of connection of an expansion card on the basic card, a recurring electronic polling of the individual expansion card is provided.
Other preferred forms of embodiment of the field device of the invention take into consideration that, for automatic detecting of the connection of an expansion card on the basic card, a mechanical, electrical locking mechanism is provided.
Other details, features and advantages the subject matter of the invention will become evident from the subsequent description in view of the appended drawing, in which preferred examples of embodiments of the invention are presented. In the examples of embodiments of the invention shown in the figures of the drawing, for better overview and for simplification, elements corresponding in construction and/or function are provided with equal reference characters.
The figures of the drawing show as follows:
Field device 1 is, for example, a measuring device of process automation technology and contains a sensor, which registers a physical process variable. A sensor is a technical element, which quantitatively ascertains certain physical or chemical process variables, such as e.g. fill level, flow, pressure, pH-value, temperature, moisture, conductivity, in the form of an electrical, measured variable M. These process variables are registered by means of physical or chemical effects of the sensors and transduced into proportional, further processable, electrical, measured variables. The field device electronics on the basic card 2 includes, for example, also a signal conditioning unit, which correspondingly linearizes, amplifies, scales and/or calibrates the ascertained measurement signal. Furthermore, another option is that the field device 1 includes an actuator, or control element, which influences via a control variable a physical or chemical process variable in a process. A field device 1 of process automation technology communicates via a two-wire, connecting cable, or fieldbus, with additional field devices or with a superordinated control station, using e.g. a 4-20 mA, electrical current loop, Profibus PA, FF or HART standard. Furthermore, the field device can be supplied via the fieldbus with the needed energy.
For performing these measuring, control, and communication functionalities, the field device includes a field device electronics having, most often, a computing unit 4, or microcontroller. This field device electronics of the field device 1 is, for example, provided on a circuit board 14 at least as basic card 2.
Basic card 2 of the field device 1 comprises at least one computing unit 4, an address decoder 10 and a first memory unit 6, which are connected with one another via data lines. Memory unit 6 is composed of a first data memory 8a for storing data and a first program memory 9a for the permanent storing of a basic program. The basic program contained in the first program memory 9a is read-out and executed via the address decoder 10 by the computing unit 4. The data and intermediate results arising in the execution of the basic program are stored in the first data memory 8a. The basic program includes only the basic functionalities of the field device 1, so that the field device 1 can perform basic functions, such as e.g. controlling the field device 1 and providing the basic measuring function. In order to be able to expand functionalities of the field device 1, it is necessary to add other functions through expansion programs in the first program memory 8a and/or through an expansion electronics 5 on the expansion card 3.
If, for expanding the functionality of the total field device 1, an expansion card 3 with an expansion electronics 5 is connected to the basic card 2 and/or the basic program is correspondingly supplemented by other program parts, then the basic program stored in the first program memory 8a of the basic card 2 must be replaced. This can, on the one hand, be effected by replacing the basic card 2, which contains the old basic program, with a new basic card 2, which contains a basic program expanded by the program parts, or, on the other hand, by writing over the first program memory 8a with a basic program expanded by these program parts.
For an expansion of the functional scope of a field device 1 in this way, the operator of the field device 1 must either replace the complete field device 1, or the basic card 2 of the field device 1, or, following the expanding of the basic card 2 by an expansion card 3, introduce a completely new basic program, or a new firmware, as the case may be, into the first program memory 8a.
The term “firmware” means, in general, a program, or software, which contains basic functions for control of the field device 1 and which is embedded in the first program memory 8a of the field device 1. This first program memory 8a is, for example, embodied as a flash memory, an EPROM or an EEPROM, which today can also be integrated directly in the computing unit 4, or microcontroller.
However, these approaches for expanding the functionality of the field device 1 are disadvantageous in that, on the one hand, customers do not like to buy a completely new device for each adjusting of field device capabilities and/or the manufacturer cannot offer, for each type of field device 1 and each retrofitting kit of a field device 1, the opportunity for writing over the basic program, or the firmware. This service of the offerer for overwriting, or flashing, the basic program, or the firmware, of such field devices 1, is, most often, not possible in all embodiments of the field device 1, since this would mean, besides pure device costs, such as, for example, additional connectors and galvanically separated lines, also a not to be disregarded logistical management effort for different basic programs, or firmware.
The example of an embodiment of the invention shown in
The second data memory 8b and the second program memory 9b of the second memory unit 7 are accessed via the address decoder 10 by the computing unit 4. If an external expansion card 3 is detected and activated, for example, by a switching of the mode of operation, then the computing unit 4 executes the additional functionality of the expansion program stored in the second program memory 9b of the expansion card 3. Through the expansion of the basic program by an expansion program, it can be necessary that, in the execution of the basic program and the expansion program by the computing unit 4, the second data memory 8b located on the expansion card 3 is used by the computing unit 4 as working memory.
The expansion card 3 is connected with the basic card 2 via a standardized interface 12. Via this interface 12, at least one expansion card 3 can be electrically connected to a basic card 2. For example, the interface 12 is embodied as a rack-system, in which the basic card 2 and the expansion card 3 are pushed into the rack-system via guiding rails and connected via a plugged connection with the parallel bus system.
The binding of program parts of the expansion program into the basic program is presented in the function flow diagram in
The external functions Fe of the expansion program in the second program memory 9b of the external expansion card 3 are integrated into the function flow of the basic program in the first program memory corresponding to a program flow list present in the computing unit 4. This integration occurs, for example, in that the individual functions Fe of the expansion program or the individual functions F1, F2 of the basic program are invoked and executed via the address decoder 10 by the computing unit 4 in accordance with this program flow list.
Field device 1 is, for example, a fill-level measuring device, which ascertains a fill level in a process, on the basis of which pump control of a pump is performed. The field device 1 with the basic card 2 includes, for example, the basic program with the first function F1 for the fill level measurement and the second function F2 for the communication of a measured value via the fieldbus. For pump control, in contrast, still an external function Fe is required, which includes a controller, which calculates from the measured value of the fill level a corresponding control value for the pump. This external function Fe lies, according to the invention, in the second program memory 9b on the expansion card, so that this additional functionality for the pump control can be integrated into the basic functionality of the field device by connecting an expansion card 3 with a basic card 2.
In order that the basic program can detect the additional expansion program in the second program memory 9b, this second program memory 9b can, for example, such as presented in
Since the individual functions of the basic program and the expansion programs are distributed on the different memory units 6 and 7, so called global program flow lists must be applied, which control the logical program execution. Further attention must be given to other information, such as, for example, parameter addresses, menu structures and texts of an on-site display, since these are now likewise distributed in the second memory units 7 on the expansion cards 3 and on the first memory unit 6 of the basic card 2. The handling of this distributed information occurs, for example, as follows: At the initializing of a field device 1 having a basic card 2 and at least one expansion card 3, by means of an initializing routine, an one-piece, global list is started in the working memory composed of at least the first data memory 8a and/or at least one second data memory 8b and the distributed information is brought together there.
Since the software of the device is no longer completely at one location, it is also possible to change expansion cards while the device is running: For this, it is necessary to detect the change request. The field device 1 must detect, that changes in the programs and/or the field device electronics should be carried out, whereby the field device 1 transfers into a basic functionality of the basic program, in which no accessing of the external, second data memory 8b or second program memory 9b occurs. In this way, it is prevented that, in the case of installation or removal of expansion cards, data and program errors occur due to wrong, inconsistent or incomplete data sets. If the change, i.e. the expansion of the programs and/or the field device electronics, is finished, the then supplementally present functionality on the expansion card 3 can be placed in operation. For detecting the change request, besides a parameter oriented input, especially also an automatic mechanical, electronic, locking mechanism of the expansion cards 3 can be used. The individual circuit boards 14 are equipped, for connection of signal lines, with connecting pieces 16, such as e.g. elongated, spring-action sockets. On the end of the last circuit board 14, a closure piece 15 is mounted, which short circuits two lines and so displays correct assembly. If an expansion card 3 or the closure piece 16, for example, is to be removed for the mounting of an additional expansion card 3, then the short circuit connection is interrupted and, through this change request, the field device 1 transfers to its basic functionality. In the basic functionality, the field device 1 performs only the basic program of the first program memory 8a on the basic card 2.
Another opportunity for displaying a change request is, for example, expansion cards 3, which are pushed into a rack-system. This rack-systems possess generally individual slide-in modules, in which each expansion card 3 and/or basic card 2 is locked by means of a locking mechanism. This locking mechanism can simultaneously serve as an electrical switch, which signals a change request.
Number | Date | Country | Kind |
---|---|---|---|
10 2007 038 061.7 | Aug 2007 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2008/058972 | 7/10/2008 | WO | 00 | 5/3/2010 |