The present invention relates to a frequency converter and particularly to the backup of frequency converter data.
In connection with the implementation of a frequency converter, there is almost invariably need for individualization of the operation of the frequency converter for the application in question. In practice, this takes place by storing data in a memory of the frequency converter. This may involve one or more computer programs or parts of a computer program to be stored in the memory of the frequency converter for use by the controller during the use of the frequency converter. Alternatively, this may involve parameters for getting the desired settings and operation of the frequency converter. Several dozens or hundreds of such parameters may be fed into the frequency converter in connection with the implementation thereof.
The problem associated with prior art frequency converters is that it is hard to backup the data in the memories thereof. In practice, the implementation of efficient backup requires manual actions of the user of the frequency converter, these actions enabling the transfer of the backup copy from the frequency converter into an external memory means. Furthermore, it is difficult to restore the backup copy for use by the frequency converter when need be.
The object of the present invention is to solve the above-described problem and provide a new type of solution for implementing the backup of a frequency converter. This object is achieved with a frequency converter according to independent claim 1 and by a method according to independent claim 10.
The invention utilizes the cooperation of different frequency converters for achieving efficient and user-friendly backup. Frequency converters that are in data transmission connection with each other are able to transmit the data to be backuped to each other for storage and restoration as the need arises. Thus, the backuping and the restoration of the backup become easier and more efficient.
Preferred embodiments of the frequency converter of the invention are disclosed in the enclosed dependent claims.
In the following, the invention will be described by way of example with reference to the accompanying figures, in which
The frequency converters 1 to 5 are interconnected over an interface. In the example of
The frequency converters in
It was described above with reference to
Deviating from
In this example, the frequency converter 1 communicates with the other frequency converters over an interface 10, via which the frequency converter 1 is connected to a bus 11. The data transmission technique between the frequency converters may be UART (Universal Asynchronous Receiver Transmitter), I2C (Inter-Integrated Circuit), Ethernet, Field Bus, Blue-tooth, WLAN (Wireless Local Area Network) or any other practical manner for transmitting digital data between devices.
For example, in connection with the implementation of a frequency converter, the frequency converter(s) to which the frequency converter to be implemented transmits its backup copies and from which it receives backup copies to be maintained in the memory are determined. This may take place in a plurality of alternative manners, such as:
1) The user of the frequency converter inputs information about at least one other frequency converter to which a backup copy is to be transmitted in the frequency converter. The information may be composed of a connector, for example, via which the backup copy is to be transmitted and to which the frequency converter receiving the backup copy is connected, or the identifier (name, serial number or address) of the other frequency converter, to which the backup copy to be transmitted is to be addressed when the frequency converter transmits it via the bus.
2) In connection with the start-up, the frequency converter is arranged to transmit, via the bus, a predetermined message notifying that it has been connected to the bus and, in response to this message, to receive information from other frequency converters connected to the bus about their identifiers. Accordingly, the frequency converter receives information about the identifiers of all the other frequency converters to which it has a connection via the bus. Based on a given algorithm, the frequency converter may then select the other frequency converter(s) to which it transmits its backup copy. Alternatively, one of the frequency converters connected to the bus may serve as a master frequency converter that transmits information to the frequency converter about the identifiers of the frequency converters to which the backup copy is to be transmitted.
When the frequency converter is aware of the other frequency converter(s) to which it is to transmit its backup copy, the backup application of the frequency converter checks, in block A, if it is the proper time for data backuping. Backuping may become current for instance when the user of the frequency converter inputs a given control command in the frequency converter after a given time has lapsed from the previous backuping, when a given amount of non-updated data has been stored in the memory M1 of the frequency converter, or when the frequency converter shifts to a predetermined state of operation. Such a state of operation may be for instance storage of user-input parameters in the memory or storage of a program update in the memory of the frequency converter.
If data backuping is of immediate interest, the backup application retrieves, in block B, data from the memory of the frequency converter and transmits the data retrieved over an interface to at least one other frequency converter, in which the backup copy is maintained. Herein, depending on the situation, the data to be retrieved from the memory may be composed of the entire data contents of the memory M1 or only of given data stored in the memory, in which case the data in question may be those stored in the memory after the backup was latest implemented. For maintaining this information, the backup application 9 preferably maintains a list indicating which data was backuped and when.
In block C, the backup application receives a backup copy from another frequency converter over the interface via which said frequency converters have a data transmission connection with each other. In block D, the backup application 9 stores the backup copy received in the memory M2 or M3.
In block E, it is checked if the backup application 9 has received a request for returning the backup copy to be maintained in the memory M2 or M3 thereof to the other frequency converter. The backup application 9 may receive such a request from the user of the frequency converter over a user interface or, alternatively, from the other frequency converter over the interface via which said frequency converters have a data transmission connection with each other. For example in this case, the user may have given a command to said other frequency converter manually over the user interface to request for restoration of the backup copy. In other words, in connection with the installation of a new frequency converter, the user defines the identifier of the failed frequency converter to be the identifier of the new frequency converter, and triggers the new frequency converter to transmit a request to the bus for restoration of the backup copy. The other frequency converters connected to the bus receive this request, and the frequency converter maintaining said backup copy detects, based on the identifier included in the request, that it has the backup copy requested in its memory M2 or M3.
If it is detected in block E that a request for restoration of the backup copy has been received, then, in block F, the backup application 9 transmits a copy of the backup copy stored in the memory M2 or M3 over the interface to the frequency converter for which said backup copy has been maintained.
The embodiment of
An interruption in use means that no connection can be established to the second frequency converter. This may involve an interruption in the use of the second frequency converter or in the data transmission connection between these frequency converters. The backup application 9 may be configured to automatically transmit, in block F, a copy of the backup copy maintained in the memory M2 or M3 thereof to the second frequency converter once the interruption in use detected for said frequency converter has ended. Accordingly, said second frequency converter may automatically, for instance after an interruption in use, receive a backup copy to its use, which can thus be automatically restored to the use of said second frequency converter.
The advantage achieved by the embodiment of
In the case of
Naming all frequency converters (allocation of addresses or identifiers) may also be automated as follows, for example. In this case, as preparatory actions, all frequency converters have been installed, the bus connecting them has been constructed, and individual frequency converters have been parametrized. A user initiates the naming from whichever frequency converter serving as a coordinator. The coordinator transmits an initiating message to the bus. The structure of the message is selected such that each device on the bus reads and interprets it (broadcast). Each device transmits, to the coordinator, a request for reserving the following free bus address to it. The devices transmit this message after a random delay from the initiating message. The device listens to the bus during the delay and delays its own message if the bus becomes reserved. Once the coordinator has received a reservation request for an individual name (bus address), it transmits, to this device, information about the reservation. The other devices initiate the calculation of a new random delay only after receiving this message from the bus. When no traffic has occurred on the bus for a sufficiently long time, the coordinator interprets that addresses have been allocated to all devices. For itself, the coordinator reserves the first or last address of the bus, for example.
After the naming, for initiating backup copying, the coordinator requests that the first device of the bus transmit its backup copy to the bus. Some simple algorithm is used for calculating those who store the backup copy. If the backup copy is requested in two different devices, an agreement may be made to store the backup copy in two following devices on the bus, for example. Those who store the backup copy transmit information to the transmitter of the date about the success of the storage. Having ended the transmission, an individual device gives the transmission turn to the device having the following address. Once the coordinator sees that all backup copies have been successfully made, it transmits information thereof to all devices and indicates the success in its user interface. The progress of the process may also be indicated. In addition to the coordinator, these issues may also be indicated at the user interface of each individual device.
In the above-described solution, it may be checked, after each start-up, that all devices are in the bus. For example, after a power failure, the coordinator transmits an inquiry to all devices of the bus, and finally transmits a broadcast message to all devices indicating that the devices may shift to a normal state of use. If the original coordinator does not initiate the check within a determined period of time, the device having the following address assumes the role of the coordinator. If one or more devices are missing from the bus, the coordinator gives an error indication and an error report thereof to the user. The error may be indicated also on the displays of the other devices on the bus. When the absence of one device is detected, the coordinator searches the bus for a replacing device. This may take place either automatically or at the user's command. When a new device has been found on the bus, the data stored in the other devices of the bus is restored thereto.
In the case of
When the backup application of the frequency converter has detected, in block G, an interruption in use in a frequency converter whose backup copy is stored in the memory M2 or M3 of the frequency converter (in a manner similar to that of
Once the backup application of the frequency converter has detected, in block G, an interruption in the use of a frequency converter whose backup copy is stored in the memory M2 or M3 of the frequency converter (in a manner similar to that of
In block F, the backup application thus retrieves a backup copy from the memory M2 or M3 that has been maintained for the frequency converter for which an interruption in use was detected, and transmits it to a frequency converter having the predetermined identifier. Consequently, the new frequency converter is automatically configured to operate in a manner similar to that of the failed frequency converter it replaced. The new frequency converter is also preferably configured to automatically change its identifier to correspond to the identifier of the failed frequency converter included in the backup copy received when restoring the backup copy to the use thereof. The predetermined identifier is then freed for use the next time a frequency converter has to be replaced with a new one.
Owing to such a connection, frequency converter 13, for example, immediately detects the removal of frequency converter 12, since the detachment of the cross-connected cable 15 is followed by a change detectable by the connector 16. Correspondingly, frequency converter 13 detects the restoration in place of the removed frequency converter 12 or a frequency converter replacing it because of the attachment of the cross-connection cable. In such a situation, frequency converter 13 may be configured to transmits a backup copy maintained for frequency converter 12 for the use of frequency converter 12, either via a cable (not shown in the figure) between them or, alternatively, via a bus (not shown in the figure), to which both frequency converters are connected. The data transmission cable may be physically arranged in the same cable with the cross-connected cable 15, whereby it is composed of different conductors that are also connected to the frequency converter via the connector 16.
It is to be understood that the above specification and the related figures are only intended to illustrate the present invention. Different variations and modifications of the invention will be apparent to a person skilled in the art, without deviating from the scope of protection of the invention.
Number | Date | Country | Kind |
---|---|---|---|
20075838 | Nov 2007 | FI | national |