CN-122018932-A - OTA (over the air) upgrading method and system for substation protection and automation device
Abstract
The invention discloses a substation protection and automation device OTA upgrading method and system, wherein the method comprises the steps that a master station transmits an OTA upgrading packet containing a file set required by upgrading and a check code thereof to a protection and automation device through a substation; the device responds to the command, analyzes and checks the OTA upgrade package, performs differentiated version upgrade according to a file set after the analysis and the check are successful, and feeds an upgrade result back to the master station through the substation after the upgrade is completed. According to the invention, software update can be remotely pushed through the Internet, manual intervention is not needed, and the upgrading of functions such as control logic, protection strategy and the like of the substation device is directly completed.
Inventors
- YUAN HAITAO
- LIU RUIHENG
- SUN BO
- JIANG XINCHENG
- YAN YAN
- ZHANG KAIXUAN
- BAI SHIQI
- ZHAO QIXIANG
Assignees
- 北京四方继保工程技术有限公司
- 北京四方继保自动化股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251229
Claims (10)
- 1. An OTA upgrading method for a transformer substation protection and automation device is characterized by comprising the following steps: the master station transmits an OTA upgrade packet containing a file set and a check code required by upgrade to the protection and automation device through the substation; after the device successfully receives the OTA upgrade packet, the master station transmits an analysis command to the device through the substation; and the device responds to the command, analyzes and checks the OTA upgrade package, performs differentiated version upgrade according to the file set after the analysis and the check are successful, and feeds an upgrade result back to the master station through the substation after the upgrade is finished.
- 2. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: And the substation uses an IEC61850 file transmission protocol to issue the OTA upgrade package to the device, if the device successfully receives the OTA upgrade package, the device uses the IEC61850 file transmission protocol to upload a file receiving success signal, and if the file transmission fails or overtime, the device uploads a file receiving failure signal.
- 3. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: The check code is used for performing multiple checks as follows: when the substation issues the OTA upgrade package, the check code is utilized to verify the integrity of the file in the transmission process; Before the device analyzes the OTA upgrade package, the consistency check is carried out on the received complete upgrade package by using the check code; and when the OTA upgrade package is analyzed, performing secondary verification on each independent file in the file set by using the corresponding independent verification code.
- 4. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: The device model is provided with an OTA analysis upgrading packet direct control point, the data type is SPC common direct control, and the model DO name is OtaInfProc and is used for receiving an analysis command.
- 5. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: The device model is provided with an OTA upgrade success remote signaling point and an OTA upgrade failure remote signaling point, and the remote signaling point is reset to 0 before the device starts to analyze an OTA upgrade packet; After receiving the analysis command, the device analyzes the OTA upgrade package, and uses the check code in the OTA upgrade package to check the file set; when analysis and verification fail, setting '1' by an 'OTA upgrading failure' remote signaling point, and uploading an OTA upgrading failure signal; When analysis and verification are successful, the device sequentially upgrades according to the file set in the OTA upgrade package, the current version of the file is compared when the device is upgraded, if the version is consistent, the file is skipped, and if the version is inconsistent, the file is upgraded; After the file set is completely upgraded, the automatic triggering device is restarted, and after the restarting, the 'OTA upgrade success' remote signaling point is set to be '1', and an OTA upgrade success signal is uploaded.
- 6. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: the device backs up an OTA upgrade package in the upgrade process, and is used for performing fault check analysis when the OTA upgrade process is abnormal, and comprises the following steps: Based on the current OTA upgrade package, sequentially analyzing each contained program, checking the current program version, if the program file in the OTA upgrade package is inconsistent with the program version operated by the current device, attempting to upgrade, and if the program version is consistent, directly recording that the upgrade is successful, and skipping the upgrade of the file; If the program file upgrading process is wrong, stopping upgrading, recording program file upgrading failure, and recording returned wrong report prompt, wherein the reported wrong report prompt is used for fault checking and analyzing along with the current OTA upgrading packet; when the upgrading process reports errors, the last historical OTA upgrading packet is used for program rollback, and the current program file is restored to the version used by the current device; If all program files in the OTA upgrade package are successfully upgraded, the current OTA upgrade package is recorded to be successfully upgraded, and the current OTA upgrade package replaces the last historical OTA upgrade package and is used for rollback in the subsequent OTA upgrade process.
- 7. The substation protection, automation device OTA upgrade method according to claim 5, wherein: The data type of the remote signaling point of successful OTA upgrading is SPS single-point alarm, the model DO is OtaProcSuc, and the data set DSFILESTATE is placed; the data type of the remote signaling point of "OTA upgrade failure" is "SPS single-point alarm", the model DO is OtaProcFal, and the model DO is placed in the data set DSFILESTATE.
- 8. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: The following pre-evaluation is performed prior to the differentiated version upgrade: Setting a version relation library in the device to record historical version numbers of all program files in the device and a verified equipment function list under different version combinations; after analysis and verification are successful, the device compares the file set version in the OTA upgrade package with the version relation library, pre-evaluates new version combinations formed after the upgrade, whether verified records matched with the combinations exist in the library, and lists key protection function items possibly affected if the verified records do not exist; the device feeds back the pre-evaluation result to the master station through the substation, and after the master station issues a confirmation upgrading instruction to the device, the device executes actual upgrading operation on the file set.
- 9. The substation protection, automation device OTA upgrade method according to claim 1, characterized in that: The OTA upgrade package also comprises an upgrade execution constraint file, wherein the upgrade execution constraint file comprises an upgrade sequence of each program file in the file set, device state conditions required to be met before each file is upgraded, corresponding rollback operation instructions and target version numbers when each file fails to upgrade or fails to self-check after upgrade, key nodes of the whole upgrade process, and device internal state identifiers expected to be updated after the nodes are completed; The device operates according to the upgrade execution constraint file in the upgrade execution process, and compares the execution result of each step with the expected state in the upgrade execution constraint file.
- 10. A substation protection, automation device OTA upgrade system operating the method of any one of claims 1-9, characterized in that said system comprises a master station, a substation and a protection, automation device; The master station is used for transmitting an OTA upgrade packet containing a file set required by upgrade and a check code thereof to the protection and automation device through the substation; The device is used for responding to the command, analyzing and checking the OTA upgrade package, carrying out differentiated version upgrade according to the file set after the analysis and the check are successful, and feeding the upgrade result back to the master station through the substation after the upgrade is finished.
Description
OTA (over the air) upgrading method and system for substation protection and automation device Technical Field The invention belongs to the technical field of relay protection of power systems, and relates to a substation protection and automation device OTA upgrading method and system. Background There are a number of functionally different protection and automation devices in an intelligent substation operating. At present, when related devices in a transformer substation need to be upgraded, professionals are required to carry equipment to the site, the equipment is connected through a physical interface (such as a cable or a special port) to perform offline upgrading, the upgrading process is complex, and the upgrading period can be up to several days. Because manufacturers of different devices in a transformer substation are different, the problems of incompatibility exist in aspects of hardware interfaces of device upgrading, communication protocols of upgrading operation and the like, the field upgrading work is caused, the related equipment of the transformer substation is required to exit from operation, maintenance personnel are required to be contacted to the field to operate in addition to the arrangement of the maintenance personnel, the upgrading work is caused to involve the investment of multiple manpower, more expenses such as manpower and traveling are correspondingly generated, and the maintenance cost rises along with the increase of the scale of the devices in the transformer substation. Moreover, the upgrading operation of staff can cause related risks due to reasons such as misoperation of staff, the upgrading period can be prolonged, the power transmission is delayed, and even the problems such as in-station protection misoperation accidents are caused, so that the operation stability of a power grid is affected. Disclosure of Invention In order to solve the defects in the prior art, the invention provides a substation protection and automation device OTA upgrading method and system. The invention adopts the following technical scheme. The first aspect of the present invention provides a substation protection and automation device OTA upgrading method, which includes: the master station transmits an OTA upgrade packet containing a file set and a check code required by upgrade to the protection and automation device through the substation; after the device successfully receives the OTA upgrade packet, the master station transmits an analysis command to the device through the substation; and the device responds to the command, analyzes and checks the OTA upgrade package, performs differentiated version upgrade according to the file set after the analysis and the check are successful, and feeds an upgrade result back to the master station through the substation after the upgrade is finished. Preferably, the substation uses an IEC61850 file transmission protocol to issue the OTA upgrade package to a device, if the device successfully receives the OTA upgrade package, the device uses the IEC61850 file transmission protocol to upload a file reception success signal, and if the file transmission fails or is overtime, the device uploads a file reception failure signal. Preferably, the check code is used for multiple checks as follows: when the substation issues the OTA upgrade package, the check code is utilized to verify the integrity of the file in the transmission process; Before the device analyzes the OTA upgrade package, the consistency check is carried out on the received complete upgrade package by using the check code; and when the OTA upgrade package is analyzed, performing secondary verification on each independent file in the file set by using the corresponding independent verification code. Preferably, the device model is provided with an "OTA analysis upgrade package" direct control point, the data type is "SPC common direct control", and the model DO name is OtaInfProc for receiving the analysis command. Preferably, the device model is provided with an "OTA upgrade success" remote signaling point and an "OTA upgrade failure" remote signaling point, and the remote signaling point is reset to 0 before the device starts to analyze an OTA upgrade packet; After receiving the analysis command, the device analyzes the OTA upgrade package, and uses the check code in the OTA upgrade package to check the file set; when analysis and verification fail, setting '1' by an 'OTA upgrading failure' remote signaling point, and uploading an OTA upgrading failure signal; When analysis and verification are successful, the device sequentially upgrades according to the file set in the OTA upgrade package, the current version of the file is compared when the device is upgraded, if the version is consistent, the file is skipped, and if the version is inconsistent, the file is upgraded; After the file set is completely upgraded, the automatic triggering device is restarted, and after the restarting, th