This invention relates to a frequency converter and particularly to ensuring the interaction of its controller and peripheral devices during the life span of the frequency converter.
In accordance with prior art, frequency converters are programmed in connection with their manufacture in such a way that a control program suitable for the purpose is fed to the controller of a frequency converter and each peripheral device. Since the same frequency converter model may be manufactured during a long period of time, the same frequency converter is, as a rule, produced as different versions at different times. For example, there may be differences in peripheral devices of frequency converters, which may be a result of new device generations of corresponding peripheral devices, to which some improvements have been made. Alternatively, a frequency converter type having been in production for long may be subjected to such a change that a completely new peripheral device is added to the frequency converters being manufactured later. There may also be differences in control programs of peripheral devices of frequency converters, for instance. In such a case, frequency converters of a particular type, manufactured later, may have control programs different from the programs of converters of this same type manufactured earlier.
Development of the frequency converter type mentioned above has the problem that, as a rule, converters of the same type may be different from each other, which results in practical problems with regard to their maintenance. There is a risk here that in connection with maintenance or updating operations such a peripheral device or spare part is changed or added to the frequency converter which is not compatible with other parts of the frequency converter, or the control program of which is not compatible with other parts of the converter.
An object of this invention is to solve the above problem and to provide a solution which alleviates compatibility problems and by means of which the possible disadvantages of incompatible peripheral devices and control programs can be eliminated. This object can be achieved with a controller of a frequency converter according to independent claim 1, a peripheral device according to independent claim 4, a method according to independent claim 5 and a program according to independent claim 8.
The invention utilizes a memory in which the control programs of peripheral devices connectable to the controller of a frequency converter as well as a compatibility table are stored. The set of control programs and the compatibility table can be stored in a load packet. The controller of the frequency converter is thus capable of checking on the basis of the hardware identifiers of the peripheral devices and of the version identifiers of the control programs whether the peripheral devices connected to it are compatible. If it turns out that one of the peripheral devices does not have a compatible control program available, the controller is capable of retrieving one from the memory and sending it to be used by the peripheral device. The problems caused by incompatible programs and peripheral devices can thus be minimized.
Preferred embodiments of the controller, method and program according to the invention become apparent from the attached dependent claims 2 to 3, 6 to 7 and 9.
The invention will be described in the following by way of example, referring to the attached figures, of which:
The controller 1 comprises an interface 5, via which the controller is connected to a bus 6 connecting the controller 1 and the peripheral devices 101 to 103 of the frequency converter. The number and type of the peripheral devices may vary case-specifically. In the following it is assumed, by way of example, that the peripheral device 101 is a user interface comprising, in addition to a processor 8 and a memory 9, a display and a keyboard. In the memory 9, a control program is stored with which the processor 8 executes functions related to the operation of the frequency converter, in other words in the case of a user interface it receives information fed by the user and transmits information intended for the user to the display.
Correspondingly, the peripheral devices 102 and 103 comprise processors 8 and memories 9, in which peripheral-device-specific control programs are stored, by means of which the processors of the peripheral devices in question execute functions related to the operation of the frequency converter. The memories 9 may be separate from the processors 8 or integrated into the processors. The peripheral devices 102 and 103 may, in practice, be formed of a field bus adapter and a speed measurement module.
In order for the frequency converter to operate in the correct manner, the control programs stored in its peripheral devices must be compatible with each other and also compatible with the control program of the controller 1. To ensure this the check element 3 is, in certain situations, arranged to check that control programs stored in the memories 9 of the peripheral devices 101 to 103 are, on the basis of a compatibility table, compatible. To implement this, the check element 3 starts a check process, in which it goes through all peripheral devices by sending a message to them via the interface 5 and the bus 6, commanding the peripheral devices to inform the controller 1 about the version identifier of the control program and, in addition, about the hardware identifier of the peripheral devices.
When it receives this information from one of the peripheral devices, the check element 3 compares it with the information indicated by the compatibility table. If the version identifier of the control program is not compatible on the basis of the compatibility table, the update element 2 is activated. The update element 2 checks the hardware identifier received from the peripheral device and finds out on the basis of the compatibility table whether the device version of the peripheral device is such that the control program stored in the memory 4 for the peripheral device in question functions in this peripheral device. If the check shows that it functions, the update element 2 sends the control program stored in the memory 4 to be used by the peripheral device. The peripheral device receiving the control program and the control command stores the control program in its memory to be used during the operation of the peripheral device. The control program already in the memory of the peripheral device may remain in the memory, from where it can be activated later on, or alternatively the peripheral device may remove the control program already in the memory.
In accordance with the invention, the controller 1 may be configured to check, at every attempt to start the frequency converter, the compatibility of the control programs of the peripheral devices. Such a check relating to a start attempt may be implemented for instance every time the controller 1 is switched on. Thus, the controller 1 for instance prevents the control of the frequency converter and engine rotation until confirmation has been received of the compatibility of the control programs for all peripheral devices. Only then will the controller allow the control of the frequency converter and the rotation of the engine. Alternatively, the controller 1 may be configured to carry out the above-mentioned check and possibly the required updating in response to the control command given by the user via the user interface 101. Such a control command may be given to the frequency converter for instance by initializing the frequency converter at the same time as the reset key included in the user interface is pressed.
With reference to
In connection with the manufacture of a frequency converter, those software versions 11 to 14 and 16 are selected which are to be included in the load packet 10 of the frequency converter. Hence, only such program versions are selected the compatibility of which has been ensured. At the same time, a compatibility table 15 is generated, on the basis of which the controller can ensure that no compatibility problems will arise. In accordance with the invention, the load packet can be compressed with a packing program suitable for the purpose in order to make the memory space required by the packet as small as possible.
Various techniques for generating compatibility tables suitable for use are known from prior art. However, such compatibility tables have not been stored in the memory of a frequency converter before.
In the exemplary case of
When, in connection with the check, the peripheral device 101 sends the controller of the frequency converter information about the version identifier of its control program SW101 being 2.1, the controller finds out, on the basis of the compatibility table 15, that it is exactly the same compatible version of the control program SW101 that is included in the load packet 10, whereby there is no compatibility problem or need of updating with this peripheral device 101.
When, in connection with the check, a peripheral device 102 sends the controller of the frequency converter information about the version identifier of its control program SW102 being 1.4, the controller finds out, on the basis of the compatibility table 15, that it is not the same version 1.5 of the control program SW102 that is included in the load packet 10. Thus, there is a need of updating for the peripheral device 102. The compatibility table 15 shows that the control program 12 (SW102) included in the load packet 10 is suitable for hardware having the hardware identifier HW102 of 1 to 3. The controller thus finds out that the control program included in the load packet 10 is applicable to the peripheral device 102, due to which the controller can send the program 12 (SW102) included in the load packet 10 to be used by the peripheral device 102.
When, in connection with the check, a peripheral device 103 sends the controller information about the version identifier of its control program SW103 being 4.1, the controller finds out, on the basis of the compatibility table 15, that it is not the same version 5.0 of the control program SW103 that is included in the load packet 10. Thus, there is a need of updating for the peripheral device 103. The compatibility table 15 shows that the control program 13 (SW103) included in the load packet 10 is applicable to hardware having the hardware identifier HW103 of 4 to 6. The controller thus finds out that the control program included in the load packet 10 is not applicable to the peripheral device 103, because the hardware identifier HW103 of the peripheral device is 3. Thus, the updating cannot be carried out automatically, because there would be the risk that the peripheral device might not function correctly after the updating of the control program. With regard to the peripheral device 103, the user of the frequency converter must therefore make a decision on possible updating.
In block A, a load packet, i.e. compatible control programs of the peripheral devices (and possibly of the controller) as well as a compatibility table, is stored in the memory of the frequency converter. In practice, this step is preferably carried out in connection with the manufacture of the frequency converter. However, it is also feasible to carry out the step at a later stage, in which case also the earlier, original load packet may be replaced with a newer updated load packet.
When one moves to block B, the controller of the frequency converter has begun to check the compatibility of the peripheral devices connected to the controller. If all peripheral devices have not yet been checked, one moves to the next peripheral device in turn for checking, to which device a command is sent in block C to obtain the version identifier of the control program stored in the memory of the peripheral device as well as the hardware identifier to be used by the controller. In block D, the version identifier and the hardware identifier are received.
If, in block E, it turns out that the version identifier of the control program is compatible, one returns to block B. If, by contrast, the version identifier is not compatible, it is checked in block F whether the hardware identifier is compatible, in other words whether the compatibility table stored in the memory of the controller shows that the control program included in the load packet for this peripheral device functions in the device version in question. If the hardware identifier is compatible, the control program is updated in block G by sending the control program stored in the memory of the controller for the peripheral device in question to the peripheral device.
If, by contrast, it turns out in block F that the hardware identifier is not compatible, an alarm is given in block H. In practice, this may take place in such a way, for example, that the display of the user interface of the frequency converter informs the user about the compatibility problem observed, after which the user is to decide whether the updating will be carried out. One option in such a case is also to update the load packet of the whole frequency converter and/or the control program of the controller or the peripheral device.
Above it is assumed by way of example, with reference to
The solution according to the invention can be used, for example:
It is to be understood that the above description and the attached figures are only intended to illustrate the above invention. Different variations and modifications of the invention will be obvious to a person skilled in the art without there being any deviation from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
20065165 | Mar 2006 | FI | national |