CN102736929A - Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system - Google Patents

Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system Download PDF

Info

Publication number
CN102736929A
CN102736929A CN2012100860808A CN201210086080A CN102736929A CN 102736929 A CN102736929 A CN 102736929A CN 2012100860808 A CN2012100860808 A CN 2012100860808A CN 201210086080 A CN201210086080 A CN 201210086080A CN 102736929 A CN102736929 A CN 102736929A
Authority
CN
China
Prior art keywords
upgrade
code
upgrading
controller
terminal controller
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
Application number
CN2012100860808A
Other languages
Chinese (zh)
Inventor
田慕琴
宋渊
辛春红
宋建成
许春雨
张文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taiyuan University of Technology
Original Assignee
Taiyuan University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Taiyuan University of Technology filed Critical Taiyuan University of Technology
Priority to CN2012100860808A priority Critical patent/CN102736929A/en
Publication of CN102736929A publication Critical patent/CN102736929A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a remote on-line upgrade method for terminal controller software of a hydraulic support electrohydraulic control system, belonging to the field of electrohydraulic control of underground hydraulic supports of coal mines. The method comprises the following steps that: an upper computer at a ground monitor center sends upgrade codes to a terminal controller through an underground Ethernet anti-explosion switchboard; the terminal controller stores the upgrade codes into RAM (Random Access Memory) outside the terminal controller; the upper computer sends a command for judging the level of the versions of the upgrade codes and waits for a version number comparison result returned by the terminal controller; if the upper computer requests for upgrade, the upper computer sends an upgrade command to the terminal controller; the update of an upgrade guidance program is performed after the terminal controller receives the upgrade command; and after the upgrade is completed, a PC (Personal Computer) pointer directly jumps to 0000H to complete restart. During upgrading, no personnel are needed for underground operation, and support is provided for realizing an unmanned working face.

Description

Hydraulic support electrohydraulic control system termination controller software remote online upgrade method
Technical field
The present invention relates to mine hydraulic support electro-hydraulic control field, especially a kind of coal-face hydraulic support electrohydraulic control system termination controller software remote online upgrade method that is used for.
Background technology
Hydraulic support electrohydraulic control system termination controller is to be used in the coal-face electrohydraulic control system; In practical application, mainly to press support structure of an essay controller and accomplish monitoring fully-mechanized mining working surface hydraulic support for fluid,matching, the major function of termination controller is to send action command to give structure of an essay controller; And then realize the action of hydraulic support is controlled; Simultaneously, structure of an essay controller operational factor is patrolled and examined, through the use of termination controller; Can realize program control fully to hydraulic support, and then realize the unmanned control of coal-face.On the other hand, ground monitoring center host computer can collect structure of an essay controller operational factor through the termination controller, and realizes the exercises control to hydraulic support, and therefore, in the fully-mechanized mining working electrohydraulic control system, the termination controller plays a part crucial.
At present, this software upgrading needs the technician to carry out in the down-hole, and will carry out dismounting operation one by one to controller, and is very inconvenient, and length consuming time, efficient are low.
Summary of the invention
The object of the present invention is to provide a kind of hydraulic support electrohydraulic control system termination controller software remote online upgrade method; Can be efficiently, reliably hydraulic support electrohydraulic control system termination controller software is carried out the remote online upgrading, whole process does not have artificial the intervention in the down-hole.
The technical scheme that the present invention adopted is: according to following steps hydraulic support electrohydraulic control system termination controller software is carried out the remote online upgrading.
One, ground monitoring center host computer is connected with the explosion-proof switch of down-hole Ethernet through mining communication cable; Ethernet explosion-proof switch in said down-hole is connected with a plurality of terminations controller through mining Ethernet, and said ground monitoring center host computer sends upgrade code through the explosion-proof switch of said down-hole Ethernet and gives said a plurality of terminations controller;
Two, after said a plurality of terminations controller receives upgrade code; Judge correctness, the integrality of the new upgrade code that is received; If incorrect or imperfect,, otherwise continue to judge whether upgrade code belongs to the termination controller then to said ground monitoring center host computer link order mistake; Belong to the termination controller if determine the upgrade code that receives; Continue then the version number of the code that received is judged that it is number higher or low than the version number of fresh code to draw current version, and the external memory storage of code storage to self; The result who returns current version number and upgrade code version number contrast waits for sending and confirms the upgrading order to said ground monitoring center host computer;
Three, said ground monitoring center host computer receives the instruction that the termination controller returns; If non-correctness, the integrality instruction errors of new upgrade code, the perhaps non-termination controller software that belongs to then returns step 2, if the result that termination controller current version number and upgrade code version number contrast; Judge whether to select to confirm upgrading; If select to confirm to upgrade, then send and confirm the upgrading order, send if upgrading is not confirmed in selection and do not confirm the upgrading order;
Four, after said a plurality of terminations controller receives the order of confirming to upgrade, carry out the upgrading boot, the beginning boot is upgraded; At first disposable wiping carried out in the FLASH space with the original program code; So that write the new procedures code, then, upgrade code is written to the program storage FLASH of CPU by self external memory storage; Jump to the system entry address by the guiding of upgrading boot after accomplishing; Accomplish from restarting, do not upgrade then sends cancellation upgrading order, end after accomplishing if receive.
The invention has the beneficial effects as follows: upgrade code is sent to the termination controller by the ground monitoring center, and accomplish the upgrading of program by the termination controller, final leading end head controller system restarts.The method that this opposite end head controller software is upgraded only need be sent upgrade code by the ground monitoring center, by the boot of termination controller self program storage FLASH is upgraded then.Operating personnel only need need not to intervene in the down-hole, and efficient simple to operate be high in the ground monitoring center operations in the whole process.
Description of drawings
Fig. 1 is the system construction drawing of the method for the invention;
Fig. 2 is the code storage change in location figure of the method for the invention;
Fig. 3 is that the ground monitoring center host computer of the method for the invention sends the upgrade code process flow diagram;
Fig. 4 is that the termination controller of the method for the invention receives the upgrade code process flow diagram;
Fig. 5 is that the termination controller of the method for the invention judges whether the program upgrade process flow diagram;
Fig. 6 is the termination controller upgrading boot process flow diagram of the method for the invention.
Embodiment
Below in conjunction with drawing method for upgrading software of the present invention is further specified.
As shown in Figure 1, system is made up of host computer (abbreviation host computer), the explosion-proof switch of down-hole Ethernet and the termination controller at ground monitoring center.Ethernet explosion-proof switch in down-hole mainly is responsible for host computer is connected with the termination controller, and the order that host computer is sent can be sent to the termination controller.Host computer inserts the explosion-proof switch of down-hole Ethernet through mining communication cable, and the termination controller inserts the explosion-proof switch of down-hole Ethernet through mining Ethernet.Host computer utilizes PowerBuilder platform and SQL Server database, sends hydraulic support upgrade code to termination controller by the MODBUS agreement through the downhole anti-explosion switch by serial ports, and the information returned of receiving end head controller.Use mining communication cable can improve the antijamming capability of communication, to guarantee that upgrade code is sent to the termination controller reliably.
As shown in Figure 2, after upgrade code is sent to the termination controller from host computer, be stored in the external memory storage of termination controller earlier.Less than 20K, external memory storage uses the storer of storage space 32K, can satisfy memory requirement through the test upgrade code.Next step will be written to the FLASH space of termination controller CPU with upgrade code from external memory storage under the guiding of upgrading boot.
As shown in Figure 3, host computer at first sends the upgrading order, whether carries out upgrading with inquiry termination controller and prepares, if do not resend, controller is ready to until the termination again.After the termination controller returned the order that is ready to upgrade, host computer began to pass to the termination controller to the upgrade code segmentation, finishes until transmission.After the code transmission finishes, send to termination controller version querying order, wait for version number's comparing result that the termination controller sends., selection sends cancellation upgrading order if not upgrading, end after accomplishing.After selecting to confirm upgrading, host computer sends confirms the upgrading order, and waits for termination controller link order, and when the link order mistake, host computer sends once more confirms the upgrading order, up to sending successfully.Communications protocol in this process adopts the MODBUS agreement, and transfer rate is selected 9600bps for use, can guarantee to transmit the correct, reliable of data.
As shown in Figure 4, the termination controller receives after can judgement that host computer sends receive the order of upgrade code, and self duty is checked, if controller is in busy condition, will replies to the upper computer end head controller and be in busy condition.If be in idle condition, will reply host computer and can receive upgrade code, and wait for the upgrade code that host computer is sent.Receive upgrade code, simultaneously, upgrade code is deposited in the external RAM of self, finish up to reception.
As shown in Figure 5, after the termination controller receives the order of host computer version querying, with returning current version number comparing result with upgrade code version number.If host computer still requires upgrading, and send the order that requires upgrading, the termination controller will jump to the upgrading boot and begin to carry out program upgrade.Otherwise, jump out determining program, termination routine.
As shown in Figure 6, the termination controller earlier to outside device initialize, is upgraded to be ready to the opposite end head controller after jumping into the upgrading boot.Earlier erase operation is carried out in program storage FLASH space, wait new code to be written.Subsequently, the code in the reading external memory, after permission was carried out write operation to FLASH, circulation was downloaded the FLASH space with the upgrade code that reads out.After download finished, program jumped back to 0000H, and completion is restarted.
Hydraulic support electro-hydraulic control control system of the present invention termination controller software remote online upgrade method; Adopt remote online upgrading, the automatic mode of restarting of accomplishing that working surface hydraulic support electrohydraulic control system termination controller is upgraded; The staff can accomplish the overall process of upgrading at the ground monitoring center; Need not the technician and intervene in the down-hole, escalation process is convenient, has realized the real remote online upgrading of termination controller.
Based on the invention described above method, updating speed is fast, learns through actual test result, and head controller remote online upgrading in opposite end only needs 40 seconds, has improved upgrading efficient and security greatly.
Above-described embodiment of the present invention only is the explanation of specific embodiments of the invention, does not constitute the qualification to protection domain of the present invention.

Claims (2)

1. hydraulic support electrohydraulic control system termination controller software remote online upgrade method is characterized in that carrying out according to following steps:
One, ground monitoring center host computer is connected with the explosion-proof switch of down-hole Ethernet; Ethernet explosion-proof switch in said down-hole is connected with a plurality of terminations controller through mining Ethernet, and said ground monitoring center host computer sends upgrade code through the explosion-proof switch of said down-hole Ethernet and gives said a plurality of terminations controller;
Two, after said a plurality of terminations controller receives upgrade code; Judge correctness, the integrality of the new upgrade code that is received; If incorrect or imperfect,, otherwise continue to judge whether upgrade code belongs to the termination controller then to said ground monitoring center host computer link order mistake; Belong to the termination controller if determine the upgrade code that receives; Continue then the version number of the code that received is judged that it is number higher or low than the version number of fresh code to draw current version, and the external memory storage of code storage to self; The result who returns current version number and upgrade code version number contrast waits for sending and confirms the upgrading order to said ground monitoring center host computer;
Three, said ground monitoring center host computer receives the instruction that the termination controller returns; If non-correctness, the integrality instruction errors of new upgrade code, the perhaps non-termination controller software that belongs to then returns step 2, if the result that termination controller current version number and upgrade code version number contrast; Judge whether to select to confirm upgrading; If select to confirm to upgrade, then send and confirm the upgrading order, send if upgrading is not confirmed in selection and do not confirm the upgrading order;
Four, after said a plurality of terminations controller receives the order of confirming to upgrade, carry out the upgrading boot, the beginning boot is upgraded; At first disposable wiping carried out in the FLASH space with the original program code; So that write the new procedures code, then, upgrade code is written to the program storage FLASH of CPU by self external memory storage; Jump to the system entry address by the guiding of upgrading boot after accomplishing; Accomplish from restarting, do not upgrade then sends cancellation upgrading order, end after accomplishing if receive.
2. according to the said hydraulic support electrohydraulic control system of claim 1 termination controller software remote online upgrade method, it is characterized in that: said ground monitoring center host computer is connected with the said down-hole explosion-proof switch of Ethernet through mining communication cable.
CN2012100860808A 2012-08-03 2012-08-03 Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system Pending CN102736929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100860808A CN102736929A (en) 2012-08-03 2012-08-03 Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100860808A CN102736929A (en) 2012-08-03 2012-08-03 Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system

Publications (1)

Publication Number Publication Date
CN102736929A true CN102736929A (en) 2012-10-17

Family

ID=46992484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100860808A Pending CN102736929A (en) 2012-08-03 2012-08-03 Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system

Country Status (1)

Country Link
CN (1) CN102736929A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850427A (en) * 2015-04-22 2015-08-19 深圳市元征科技股份有限公司 Method and device for upgrading code
CN106648804A (en) * 2016-12-30 2017-05-10 苏州英威腾电力电子有限公司 Online upgrading method and controller
CN109162745A (en) * 2018-11-05 2019-01-08 郑州煤机液压电控有限公司 The means of communication of hydraulic support electrohydraulic control system
CN111741087A (en) * 2020-06-09 2020-10-02 科华恒盛股份有限公司 Remote upgrading method, terminal equipment and readable storage medium
CN112559008A (en) * 2020-12-15 2021-03-26 航宇救生装备有限公司 Method for on-line upgrading multi-board software
CN116501359A (en) * 2023-06-29 2023-07-28 深圳和润达科技有限公司 Method, device, system and medium for carrying out self-adaptive remote upgrading on equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许春雨等: "液压支架电液控制系统软件在线升级方案设计", 《工矿自动化》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850427A (en) * 2015-04-22 2015-08-19 深圳市元征科技股份有限公司 Method and device for upgrading code
CN106648804A (en) * 2016-12-30 2017-05-10 苏州英威腾电力电子有限公司 Online upgrading method and controller
CN109162745A (en) * 2018-11-05 2019-01-08 郑州煤机液压电控有限公司 The means of communication of hydraulic support electrohydraulic control system
CN111741087A (en) * 2020-06-09 2020-10-02 科华恒盛股份有限公司 Remote upgrading method, terminal equipment and readable storage medium
CN112559008A (en) * 2020-12-15 2021-03-26 航宇救生装备有限公司 Method for on-line upgrading multi-board software
CN116501359A (en) * 2023-06-29 2023-07-28 深圳和润达科技有限公司 Method, device, system and medium for carrying out self-adaptive remote upgrading on equipment
CN116501359B (en) * 2023-06-29 2023-09-15 深圳和润达科技有限公司 Method, device, system and medium for carrying out self-adaptive remote upgrading on equipment

Similar Documents

Publication Publication Date Title
CN102736929A (en) Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system
CN102403034B (en) DSP controls single-board device and remote upgrade method thereof and server
CN101963910A (en) General USB (Universal Serial Bus) based equipment firmware updating method
CN110727454A (en) Updating method and device of intelligent equipment, electronic equipment and storage medium
CN103902305A (en) Software long-distance loading and solidifying method based on TI DSP
CN108319462A (en) Firmware upgrade method, device and system
KR101327680B1 (en) Apparatus, system and method for upgrading firmware of energy device
CN103559066A (en) CANOPEN-protocol-based embedded software upgrading method
CN102147733A (en) Method for loading procedure to satellite borne remote terminal computer by using 1553B serial data bus
CN103916283A (en) Server pressure test system and method
CN109189434A (en) A kind of online upgrading method of electric energy meter
CN108897558A (en) The FPGA remote online upgrade method of safety based on Ethernet protocol
CN104468260A (en) Recognition method, device and system for mobile terminal device
CN108469961A (en) One kind is based on micromation embedded platform remote update system and method
CN106789210A (en) A kind of many DSP intelligent nodes on-line software updating methods based on CAN
CN102495746A (en) Onboard embedded computer data loading method
CN104699500B (en) The method that bootstrap upgrades automatically is realized in smart machine
CN109002305A (en) A kind of update method and its system of device program
CN104184607A (en) Communication method for LKJ data remote loading
CN109582341A (en) A kind of host system and its programing change method of On-board System of Cab Signal equipment
CN106569864A (en) Remote online updating method and system for battery management unit
CN109144551A (en) Equipment firmware update and system under a kind of multi-layer networking mode
CN107515757A (en) Software program upgrade method and system, terminal
CN109992280A (en) A kind of method, terminal installation and the storage device of embedded software upgrading
CN102736922A (en) Method for updating application programs of embedded system and terminal of embedded system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20121017

RJ01 Rejection of invention patent application after publication