CN103365670A - Protector capable of configuring parameters remotely and upgrading method of protector - Google Patents
Protector capable of configuring parameters remotely and upgrading method of protector Download PDFInfo
- Publication number
- CN103365670A CN103365670A CN2012100837483A CN201210083748A CN103365670A CN 103365670 A CN103365670 A CN 103365670A CN 2012100837483 A CN2012100837483 A CN 2012100837483A CN 201210083748 A CN201210083748 A CN 201210083748A CN 103365670 A CN103365670 A CN 103365670A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- protector
- subroutine
- module
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a protector capable of configuring parameters remotely and an upgrading method of the protector. The protector comprises a program module, a communication module and a remote computer providing an upgrading subprogram, a preset program controlling running of the protector is set in the program module, the communication module is used for being connected with the upgrading subprogram to update the preset program in the program module, and when the preset program is upgraded, the communication module receives an upgrading subprogram of the remote computer and completes upgrading of the preset program by repeatedly confirming correctness of the subprogram. No manpower is needed to take back the protector for upgrading, so that a lot of manpower and time are saved, and high upgrading reliability is realized.
Description
Technical field
The present invention relates to a kind of protector and upgrade method thereof of long-range configurable parameter, relate in particular to a kind of protector and the upgrade method thereof that protector need not be fetched the long-range configurable parameter that just can upgrade at a distance.
Background technology
The three-phase electricity protector is the requisite parts of three-phase electricity handoff procedure, and it plays the normal operation of the whole circuit of protection, and at present, protector is generally controlled by the program of setting.For different environments for use, the control program of protector needs to upgrade in real time, to satisfy higher request for utilization.
In China, the protector of like product needs the staff to arrive on-the-spot recovery protector, and then upgrades; so just manpower and time have been wasted greatly; simultaneously, must change new protector at original circuit when taking back upgrading products, seem so very inconvenient.
So just being badly in need of a kind of brand-new protector can just can carry out the upgrading of protector internal program long-range, reduces or remits unnecessary manpower and time.Because the RS485 interface used with telecommunication of protector self, this just can design and a kind ofly utilize existing communication modes its internal processes to be upgraded and the new product that need not it is taken back.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of reliability is high, can long-rangely carry out long-range configurable parameter that the protector internal processes is upgraded protector and upgrade method thereof.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of protector of long-range configurable parameter; this protector comprises program module, communication module and the remote computer of upgrading subroutine is provided; be set with the pre-set programs of control protector operation in the described program module, communication module comes program default in the refresh routine module in order to connect the upgrading subroutine.
As a further improvement on the present invention, described program module is used single-chip microcomputer, is set with the pre-set programs of control protector operation in the single-chip microcomputer.
A kind of protector upgrade method of long-range configurable parameter specifically comprises the steps:
A, the initialization of program module serial ports detect the upgrading sign, indicate then execution in step b if detect upgrading, then move pre-set programs as not detecting running mark;
B, the subroutine of upgrading are downloaded the upgrading subroutine by communication module, and the upgrading subroutine that download obtains is upgraded to pre-set programs in the program module;
After c, upgrading are finished, the program that system is good with upgrading in the working procedure module.
As a further improvement on the present invention, step b specifically may further comprise the steps:
B1, the subroutine of upgrading, the test serial data checks whether data layout is correct, if correctly then operating procedure b2, if incorrectly proceed to test serial data;
B2, communication module are downloaded the upgrading subroutine, after download is finished, the upgrading subroutine data of downloading are returned to remote computer, wait for the affirmation instruction of remote computer, if confirm errorless then execution in step b3, if confirm wrong then execution in step b1;
The upgrading subroutine data that b3, communication module will be downloaded again return to remote computer, wait for the affirmation instruction of remote computer, if confirm errorless then the upgrading subroutine that download obtains upgraded to pre-set programs in the program module, if confirm wrong then execution in step b1.
As a further improvement on the present invention, the method that the upgrading subroutine that described in the step b download is obtained is upgraded to pre-set programs in the program module is the Flash erasing-writing method.
The present invention compared with prior art has following beneficial effect:
The protector of a kind of long-range configurable parameter provided by the invention and upgrade method thereof can be carried out by the communication module that utilizes protector to carry remote download upgrading subroutine and be reached upgrading to protector; need not manually it to be fetched upgrading; a large amount of manpowers and time have been saved, the reliability of upgrading simultaneously height.
Description of drawings
Fig. 1 is the protector upgrade method process flow diagram of long-range configurable parameter of the present invention;
Fig. 2 is subroutine download of the present invention and repeatedly confirms process flow diagram.
Embodiment
The present invention will be further elaborated below by embodiment:
The protector of a kind of long-range configurable parameter that present embodiment provides; this protector comprises program module, communication module and the remote computer of upgrading subroutine is provided; be set with the pre-set programs of control protector operation in the described program module; communication module comes program default in the refresh routine module in order to connect the upgrading subroutine; described program module is used single-chip microcomputer, is set with the pre-set programs of control protector operation in the single-chip microcomputer.
Present embodiment also provides a kind of protector upgrade method of long-range configurable parameter, specifically comprises the steps:
A, the initialization of program module serial ports detect the upgrading sign, indicate then execution in step b if detect upgrading, then move pre-set programs as not detecting running mark;
B, the subroutine of upgrading are downloaded the upgrading subroutine by communication module, and the upgrading subroutine that download obtains is upgraded to pre-set programs in the program module;
After c, upgrading are finished, the program that system is good with upgrading in the working procedure module.
Wherein, step b specifically may further comprise the steps:
B1, the subroutine of upgrading, the test serial data checks whether data layout is correct, if correctly then operating procedure b2, if incorrectly proceed to test serial data;
B2, communication module are downloaded the upgrading subroutine, after download is finished, the upgrading subroutine data of downloading are returned to remote computer, wait for the affirmation instruction of remote computer, if confirm errorless then execution in step b3, if confirm wrong then execution in step b1;
The upgrading subroutine data that b3, communication module will be downloaded again return to remote computer, wait for the affirmation instruction of remote computer, if confirm errorless then the upgrading subroutine that download obtains upgraded to pre-set programs in the program module, if confirm wrong then execution in step b1.
Wherein, the method that the upgrading subroutine that described in the step b download is obtained is upgraded to pre-set programs in the program module is the Flash erasing-writing method.
Single-chip microcomputer adopts 16 single-chip microcomputer M16C30281 in the above-mentioned embodiment, the flash memory of built-in 96K byte (Flash), namely can store data again as program's memory space, and the ability that subregion read-write flash memory is arranged, present embodiment is utilized this function, the method of proposition resident stored Procedure in single-chip microcomputer realizes remote upgrade and the remote functionality configuration of Single Chip Microcomputer (SCM) program.
In order to realize the correct download of Single Chip Microcomputer (SCM) program, need to there be computer program to cooperate, so that the code of ROMPaq to be provided.Program code is mainly explained and sent to the remote computer program, and finish the correct download of repeatedly confirming the program that guarantees of carrying out the code transmission with single-chip microcomputer.In order further to guarantee the reliability of program upgrade, need to add affirmation mechanism, namely after single-chip microcomputer is received data, return a pass certificate, then wait for the PC affirmation; After PC confirms that data are correct, send ACSII code S1 as ack signal; Otherwise send S2 as the DCK signal, reliability when so just greatly having improved upgrading.
Although be the example purpose, preferred implementation of the present invention is disclosed, but those of ordinary skill in the art will recognize that in situation about not breaking away from by the disclosed scope and spirit of the present invention of appending claims, various improvement, increase and replacement are possible.
Claims (5)
1. the protector of a long-range configurable parameter; it is characterized in that: this protector comprises program module, communication module and the remote computer of upgrading subroutine is provided; be set with the pre-set programs of control protector operation in the described program module, communication module comes program default in the refresh routine module in order to connect the upgrading subroutine.
2. the protector of long-range configurable parameter according to claim 1 is characterized in that: described program module is used single-chip microcomputer, is set with the pre-set programs of control protector operation in the single-chip microcomputer.
3. the protector upgrade method of a long-range configurable parameter is characterized in that specifically comprising the steps:
A, the initialization of program module serial ports detect the upgrading sign, indicate then execution in step b if detect upgrading, then move pre-set programs as not detecting running mark;
B, the subroutine of upgrading are downloaded the upgrading subroutine by communication module, and the upgrading subroutine that download obtains is upgraded to pre-set programs in the program module;
After c, upgrading are finished, the program that system is good with upgrading in the working procedure module.
4. the protector upgrade method of long-range configurable parameter according to claim 3 is characterized in that step b specifically may further comprise the steps:
B1, the subroutine of upgrading, the test serial data checks whether data layout is correct, if correctly then operating procedure b2, if incorrectly proceed to test serial data;
B2, communication module are downloaded the upgrading subroutine, after download is finished, the upgrading subroutine data of downloading are returned to remote computer, wait for the affirmation instruction of remote computer, if confirm errorless then execution in step b3, if confirm wrong then execution in step b1;
The upgrading subroutine data that b3, communication module will be downloaded again return to remote computer, wait for the affirmation instruction of remote computer, if confirm errorless then the upgrading subroutine that download obtains upgraded to pre-set programs in the program module, if confirm wrong then execution in step b1.
5. the protector upgrade method of long-range configurable parameter according to claim 3, it is characterized in that: the method that the upgrading subroutine that described in the step b download is obtained is upgraded to pre-set programs in the program module is the Flash erasing-writing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100837483A CN103365670A (en) | 2012-03-27 | 2012-03-27 | Protector capable of configuring parameters remotely and upgrading method of protector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100837483A CN103365670A (en) | 2012-03-27 | 2012-03-27 | Protector capable of configuring parameters remotely and upgrading method of protector |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103365670A true CN103365670A (en) | 2013-10-23 |
Family
ID=49367104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100837483A Pending CN103365670A (en) | 2012-03-27 | 2012-03-27 | Protector capable of configuring parameters remotely and upgrading method of protector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103365670A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6192392B1 (en) * | 1995-05-29 | 2001-02-20 | Siemens Aktiengesellschaft | Updating mechanism for user programs in a computer system |
CN1570863A (en) * | 2003-07-23 | 2005-01-26 | 华为技术有限公司 | System and method for remotely loading or upgrading program |
CN101557583A (en) * | 2009-03-19 | 2009-10-14 | 珠海银邮光电技术发展股份有限公司 | Remote-updating and version-switching method of repeater equipment embedded software |
CN101777003A (en) * | 2010-02-08 | 2010-07-14 | 宁波大学 | Method for remotely updating program of industrial fuel gas meter data reader |
CN102185931A (en) * | 2011-06-14 | 2011-09-14 | 三一重机有限公司 | Program downloading device |
-
2012
- 2012-03-27 CN CN2012100837483A patent/CN103365670A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6192392B1 (en) * | 1995-05-29 | 2001-02-20 | Siemens Aktiengesellschaft | Updating mechanism for user programs in a computer system |
CN1570863A (en) * | 2003-07-23 | 2005-01-26 | 华为技术有限公司 | System and method for remotely loading or upgrading program |
CN101557583A (en) * | 2009-03-19 | 2009-10-14 | 珠海银邮光电技术发展股份有限公司 | Remote-updating and version-switching method of repeater equipment embedded software |
CN101777003A (en) * | 2010-02-08 | 2010-07-14 | 宁波大学 | Method for remotely updating program of industrial fuel gas meter data reader |
CN102185931A (en) * | 2011-06-14 | 2011-09-14 | 三一重机有限公司 | Program downloading device |
Non-Patent Citations (1)
Title |
---|
栗欣,周东辉,孙晓苗,李立: "《单片机程序远程升级的设计》", 《微计算机信息》, vol. 22, no. 112, 30 November 2006 (2006-11-30), pages 75 - 76 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105354070B (en) | A method of passing through I2C updating apparatus firmware | |
CN101963910A (en) | General USB (Universal Serial Bus) based equipment firmware updating method | |
CN103530146A (en) | Low-power-consumption embedded device remote wireless updating method | |
CN105373407A (en) | DSP and FPGA online upgrading method for embedded system | |
CN104149717A (en) | Remote non-interference updating system and remote non-interference updating method for vehicle control | |
CN109189434A (en) | A kind of online upgrading method of electric energy meter | |
CN103677897A (en) | System chip and programming method of system chip | |
CN103019755B (en) | The wireless program method for down loading of multi-CPU in embedded system | |
CN101169729A (en) | Embedded type system and method for renewing application program | |
CN104657161A (en) | Method and device for updating firmware of mobile terminal | |
CN103227813A (en) | Automatic long-distance updating system and method for family Internet of Things system | |
CN111897560B (en) | Program upgrading system, method, device and storage medium based on NB-IoT module | |
CN108664264A (en) | A kind of device and method remotely updating FPGA by JTAG modes based on CPU | |
CN109582341A (en) | A kind of host system and its programing change method of On-board System of Cab Signal equipment | |
CN102722408B (en) | Method and apparatus for communication equipment software update | |
CN104572195A (en) | Remote online device program updating method | |
CN103365670A (en) | Protector capable of configuring parameters remotely and upgrading method of protector | |
CN102270147A (en) | Method and device for field upgrading of anaesthesia machine software | |
CN107332589A (en) | A kind of device for upgrading firmware based on bluetooth | |
CN110377303A (en) | Method and its equipment based on spare memory area mode upgrade procedure | |
CN203149552U (en) | Remote sensor node program upgrading system | |
CN111309353A (en) | Method and device for updating FPGA (field programmable Gate array) firmware of operation board based on server control board | |
CN107395389B (en) | Dimmer firmware upgrading method based on Bluetooth Mesh network | |
CN110262349A (en) | A kind of the remote online programmed method and system of C8051F series monolithic | |
CN212322246U (en) | Program upgrading system based on NB-IoT module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131023 |