CN102635379A - Online program updating method for hydraulic support controllers - Google Patents

Online program updating method for hydraulic support controllers Download PDF

Info

Publication number
CN102635379A
CN102635379A CN2012100860812A CN201210086081A CN102635379A CN 102635379 A CN102635379 A CN 102635379A CN 2012100860812 A CN2012100860812 A CN 2012100860812A CN 201210086081 A CN201210086081 A CN 201210086081A CN 102635379 A CN102635379 A CN 102635379A
Authority
CN
China
Prior art keywords
controller
essay
hydraulic pressure
pressure structure
main control
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.)
Granted
Application number
CN2012100860812A
Other languages
Chinese (zh)
Other versions
CN102635379B (en
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 CN201210086081.2A priority Critical patent/CN102635379B/en
Publication of CN102635379A publication Critical patent/CN102635379A/en
Application granted granted Critical
Publication of CN102635379B publication Critical patent/CN102635379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an online program updating method for hydraulic support controllers, in particular to an online program updating method for hydraulic support controllers of an underground fully mechanized mining face of a coal mine. All the hydraulic support controllers on the mining face are sequentially connected by means of RS-485 inter-support communication, and internal hardware of each hydraulic support controller consists of a master control portion and an interface control portion. An end controller selects the number of the hydraulic support controller required to be in program updating operation, a program or an instruction is transmitted to the hydraulic support controller, the program is written into an external RAM (random access memory) after a CPU (central processing unit) of the hydraulic support controller examines the program and the instruction, and then the hydraulic support controller is updated according to the instruction.

Description

A kind of program on-line upgrading method of hydraulic pressure structure of an essay controller
Technical field
The present invention relates to a kind of electrohydraulic controller program on-line upgrading method, especially a kind of program on-line upgrading method that is used for the hydraulic pressure structure of an essay controller of fully-mechanized mining working under the coal mine.
Background technology
Fully-mechanized mining working hydraulic pressure structure of an essay control technology is to realize the key technology of coal mining automation, is the important channel of improving coal mining efficient, guaranteeing downhole safety production.Wherein, realize that the upgrading in time, easily and efficiently of each director demon of hydraulic support is to improve production efficiency under the coal mine, realize one of key function of real unmanned work plane.
At present, along with the develop rapidly of coal industry, the research and development of hydraulic pressure structure of an essay control system have also obtained significant progress, and the hydraulic pressure structure of an essay electrohydraulic control system of a part of domestic production comes into operation.But; Because a variety of causes; The program upgrade of all structure of an essay controllers on the coal-face does not find an implementation method easily and efficiently all the time, and most of work planes still adopt the method that structure of an essay controller is downloaded one by one to accomplish the upgrading of the program of structure of an essay controller.Like this, will cause huge workload, and delay production, influence the production efficiency of coal.Therefore, the program automatically updating method of studying a kind of structure of an essay controller is the problem that most of coal-faces press for solution.
Summary of the invention
The program on-line upgrading functional method that provides hydraulic pressure structure of an essay controller on a kind of fully-mechanized mining working that the present invention will solve.
The hardware platform of the inventive method operation is that a fully-mechanized mining working comprises a you head controller and interstation frame controller up to a hundred, and each interstation frame controller directly drives a battery-operated main valve, and then controls a hydraulic support.The output port of its middle frame controller links to each other with the input port of main valve, and it is continuous successively that simultaneously all structure of an essay controllers on the work plane all pass through between the RS-485 frame communication.For an interstation frame controller, its internal hardware comprises main control part and interface control section, adopts SPI master-slave communication mode between structure of an essay controller main control part and the interface control section, and the interface section is main, main control part be from.
The technical scheme that the present invention adopted is: a kind of hydraulic pressure structure of an essay director demon online upgrading method: all hydraulic structure of an essay controller on the work plane all passes through between the RS-485 frame communication and links to each other successively; Hydraulic pressure structure of an essay controller its internal hardware comprises main control part and interface control section; Adopt SPI master-slave communication mode between hydraulic pressure structure of an essay controller main control part and the interface control section; The interface section is main, main control part be from, arbitrary hydraulic pressure structure of an essay controller numbering is set to 001; And it is transferred to the main control part of this controller through the SPI communication and preserves; Through RS-485 communication between frame this numbering is transferred in next interstation frame controller successively then, and adds one successively, simultaneously the numbered transmission of each frame is also preserved to main control part as this numbering.Carry out online upgrading then as follows:
One, the controller selected hydraulic pressure structure of an essay controller numbering that need carry out the program upgrade operation in termination is sent the state-detection instruction to it; Judge whether this hydraulic pressure structure of an essay controller is in busy condition; When being in idle condition, this controller then begins to send to selected hydraulic pressure structure of an essay controller master cpu when determining with the program code segmentation of hydraulic pressure structure of an essay controller and with the MODBUS agreement; And add the CRC check sign indicating number of this section program code at every section program code end
Two, affiliated hydraulic pressure structure of an essay controller master cpu is after receiving one section program code; Earlier this section code is carried out CRC check and guarantees its correctness, judge whether to belong to the main control part program then, if belong to the main control part program then; This section code is deposited in the external RAM of structure of an essay controller main control part; If belong to the interface section program, then master cpu transmits this section program code and corresponding C RC check code to interface CPU, and the program code that interface CPU receives carries out CRC check and guarantees its correctness; And code is written in the external RAM of interface section; Then master cpu continues to send to termination controller transmission command request, after the termination controller receives and requires to continue the transmission instruction, continues to send to selected hydraulic pressure structure of an essay controller with the program code segmentation of hydraulic pressure structure of an essay controller and with the MODBUS agreement; Same method is carried out verification, is judged, writes in the external RAM, and circulation is carried out to program and all write in the external RAM;
Three, the termination controller is to this hydraulic pressure structure of an essay controller router upgrade; This hydraulic pressure structure of an essay controller master cpu is interface section or main control part under judging; If main control part, master cpu jumps to automatically in the master control upgrading bootstrap routine segment and moves, if the interface section; Interface CPU jumps to automatically in the interface upgrade bootstrap routine segment and moves; Wipe in procedure stores FLASH space to portion C PU under the hydraulic pressure structure of an essay controller upgrade, reads the program code in the external RAM and write the memory space that begins with 0000H in the FSASH space, and whole program codes is write the FLASH space;
Four, the termination controller is carried out above-mentioned steps successively to different hydraulic pressure structure of an essay controller main control part CPU, has realized entire working surface all hydraulic structure of an essay director demon online upgrading.
The invention has the beneficial effects as follows: avoided the huge workload when the frame of interstation more than 100 controller downloads separately on the coal-face, and saved corresponding program download time.
Description of drawings
Fig. 1 is the structural representation block diagram of hydraulic pressure structure of an essay controller network of the present invention;
Fig. 2 is the internal construction block diagram of hydraulic pressure structure of an essay controller of the present invention;
Fig. 3 is the program flow diagram of hydraulic pressure structure of an essay director demon online upgrading among the present invention.
The specific embodiment
The program on-line upgrading method of an a kind of hydraulic pressure structure of an essay of the present invention controller is described in further detail with the specific embodiment below in conjunction with accompanying drawing.
As shown in Figure 1 on the hardware platform of the present invention basis: all hydraulic structure of an essay controller on the work plane all passes through between the RS-485 frame communication and links to each other successively; Hydraulic pressure structure of an essay controller its internal hardware as shown in Figure 2 comprises main control part and interface control section; Adopt SPI master-slave communication mode between hydraulic pressure structure of an essay controller main control part and the interface control section; The interface section is main, main control part be from.
The concrete program flow diagram of realizing of hydraulic pressure structure of an essay director demon online upgrading function described in the present invention is as shown in Figure 3; The termination controller adopts termination online upgrading method to the program upgrade among the structure of an essay controller main control part CPU; Promptly at first the controller selected structure of an essay controller that need carry out the program upgrade operation in termination is numbered; And it is sent state-detection instruct, judge whether this structure of an essay controller is in busy condition.When being in idle condition, this controller then begins to send to selected structure of an essay controller when determining with the program code segmentation of structure of an essay controller and with the MODBUS agreement; And add the CRC check sign indicating number of this section program code at every section program code end, select in the present invention to send with the capacity of every section 1K.
This structure of an essay controller master cpu earlier carries out CRC check to this section code and guarantees its correctness after receiving one section program code, and this section code is deposited in the external RAM of structure of an essay controller main control part of 32K.Sending command request to the termination controller then continues to send.
The about 15K of size of all main programs of this structure of an essay of process test controller is so ram space is enough.Transfer rate is selected 9600bps for use among the present invention, thereby guarantees the reliable and stable of transmission data.
The termination controller to this structure of an essay controller router upgrade, jumps in the upgrading bootstrap routine segment structure of an essay director demon automatically and moves after having sent program code.In this block, earlier the procedure stores FLASH space of controller CPU is wiped, circulation is read the program code in the external RAM and is write the memory space that begins with 0000H in the FSASH space then.After whole program codes was write the FLASH space, program jumped back to the 0000H unit program that brings into operation automatically.
The termination controller is carried out above-mentioned steps successively to different structure of an essay controller main control part CPU, has then realized the program on-line upgrading to all structure of an essay controller main control parts of entire working surface.
The programme upgrade method of hydraulic pressure structure of an essay control unit interface part is similar in this, only is delivered to interface section CPU to interface section required program and the order of upgrading through main control part CPU, has the CPU of interface section to carry out program upgrade after the same method.
The transfer rate of communication is 9600bps between frame in the present invention, and experiment proves under this transfer rate, communication robust reliably working between the RS-485 frame.Owing to both considered to send precision, consider transmitting time again in addition, select every section big or small router code among the present invention with 1K.
Be set to 001 through its support numbering of the corresponding button of operation on previously selected first controller in the present invention, and it is transferred to the main control part and the preservation of this controller through the SPI communication.Through RS-485 communication between frame this numbering is transferred in next interstation frame controller successively then, and adds one successively, simultaneously the numbered transmission of each frame is also preserved to main control part as this numbering.Can realize the automatic ranking function of all structure of an essay controller numberings of whole coal-face like this.

Claims (2)

1. hydraulic pressure structure of an essay director demon online upgrading method: all hydraulic structure of an essay controller on the work plane passes through all that communication links to each other successively between the RS-485 frame; Hydraulic pressure structure of an essay controller its internal hardware comprises main control part and interface control section, adopts SPI master-slave communication mode between hydraulic pressure structure of an essay controller main control part and the interface control section, and the interface section is main; Main control part be from; It is characterized in that,, carry out online upgrading then as follows hydraulic pressure structure of an essay controller numbering:
One, the controller selected hydraulic pressure structure of an essay controller numbering that need carry out the program upgrade operation in termination is sent the state-detection instruction to it; Judge whether this hydraulic pressure structure of an essay controller is in busy condition; Then begin when this controller is in idle condition to send to selected hydraulic pressure structure of an essay controller master cpu when determining, and add the CRC check sign indicating number of this section program code at every section program code end with the program code segmentation of hydraulic pressure structure of an essay controller and with the MODBUS agreement;
Two, affiliated hydraulic pressure structure of an essay controller master cpu is after receiving one section program code; Earlier this section code is carried out CRC check and guarantees its correctness, judge whether to belong to the main control part program then, if belong to the main control part program then; This section code is deposited in the external RAM of structure of an essay controller main control part; If belong to the interface section program, then master cpu transmits this section program code and corresponding C RC check code to interface CPU, and the program code that interface CPU receives carries out CRC check and guarantees its correctness; And code is written in the external RAM of interface section; Then master cpu continues to send to termination controller transmission command request, after the termination controller receives and requires to continue the transmission instruction, continues to send to selected hydraulic pressure structure of an essay controller with the program code segmentation of hydraulic pressure structure of an essay controller and with the MODBUS agreement; Same method is carried out verification, is judged, writes in the external RAM, and circulation is carried out to program and all write in the external RAM;
Three, the termination controller is to this hydraulic pressure structure of an essay controller router upgrade; This hydraulic pressure structure of an essay controller master cpu is interface section or main control part under judging; If main control part, master cpu jumps to automatically in the master control upgrading bootstrap routine segment and moves, if the interface section; Interface CPU jumps to automatically in the interface upgrade bootstrap routine segment and moves; Wipe in procedure stores FLASH space to portion C PU under the hydraulic pressure structure of an essay controller upgrade, reads the program code in the external RAM and write the memory space that begins with 0000H in the FSASH space, and whole program codes is write the FLASH space;
Four, the termination controller is carried out above-mentioned steps successively to different hydraulic pressure structure of an essay controller main control part CPU, has realized entire working surface all hydraulic structure of an essay director demon online upgrading.
2. a kind of hydraulic pressure structure of an essay director demon online upgrading method according to claim 1; It is characterized in that: arbitrary hydraulic pressure structure of an essay controller numbering is set to 001; And it is transferred to the main control part of this controller through the SPI communication and preserves; Through RS-485 communication between frame this numbering is transferred in next interstation frame controller successively then, and adds one successively, simultaneously the numbered transmission of each frame is also preserved to main control part as this numbering.
CN201210086081.2A 2012-03-28 2012-03-28 Online program updating method for hydraulic support controllers Active CN102635379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210086081.2A CN102635379B (en) 2012-03-28 2012-03-28 Online program updating method for hydraulic support controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210086081.2A CN102635379B (en) 2012-03-28 2012-03-28 Online program updating method for hydraulic support controllers

Publications (2)

Publication Number Publication Date
CN102635379A true CN102635379A (en) 2012-08-15
CN102635379B CN102635379B (en) 2015-02-11

Family

ID=46619940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210086081.2A Active CN102635379B (en) 2012-03-28 2012-03-28 Online program updating method for hydraulic support controllers

Country Status (1)

Country Link
CN (1) CN102635379B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503791A (en) * 2014-12-18 2015-04-08 天津市天安怡和信息技术有限公司 Intelligent remote upgrading and maintaining method for remote self-contained equipment
CN105464691A (en) * 2014-09-09 2016-04-06 天津华宁电子有限公司 Electrohydraulic control system of hydraulic support and program and parameter updating and backup method of electrohydraulic control system
CN109188949A (en) * 2018-06-28 2019-01-11 郑州众智科技股份有限公司 The method that host computer passes through MODBUS protocol remote upgraded electricity generation generator set controller
CN110262367A (en) * 2019-08-05 2019-09-20 刘盛荣 Intelligent home equipment control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62119653A (en) * 1985-11-20 1987-05-30 Hitachi Ltd Program alteration system for terminal equipment
JP2001117765A (en) * 1999-10-21 2001-04-27 Ricoh Co Ltd Data recording/reproducing device
DE10141043A1 (en) * 2001-08-22 2003-03-13 Kruno Pranjic Method for controlling automatic electro-hydraulic extraction shovels used in underground coal extraction in a flexible manner that allows coal production to continue when defects or failures occur
US20040236925A1 (en) * 2003-05-21 2004-11-25 Fumihiro Wajima Digital signal processor and digital signal processing method
US7416369B2 (en) * 2002-12-16 2008-08-26 Tiefenbach Control Systems Gmbh Timbering and walling control for controlling the movements of timbering and walling units in the coal face of a mine
CN101963791A (en) * 2010-09-01 2011-02-02 广州日滨科技发展有限公司 Method for performing software upgrading on controllers of hydraulic bracket electrohydraulic control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62119653A (en) * 1985-11-20 1987-05-30 Hitachi Ltd Program alteration system for terminal equipment
JP2001117765A (en) * 1999-10-21 2001-04-27 Ricoh Co Ltd Data recording/reproducing device
DE10141043A1 (en) * 2001-08-22 2003-03-13 Kruno Pranjic Method for controlling automatic electro-hydraulic extraction shovels used in underground coal extraction in a flexible manner that allows coal production to continue when defects or failures occur
US7416369B2 (en) * 2002-12-16 2008-08-26 Tiefenbach Control Systems Gmbh Timbering and walling control for controlling the movements of timbering and walling units in the coal face of a mine
US20040236925A1 (en) * 2003-05-21 2004-11-25 Fumihiro Wajima Digital signal processor and digital signal processing method
CN101963791A (en) * 2010-09-01 2011-02-02 广州日滨科技发展有限公司 Method for performing software upgrading on controllers of hydraulic bracket electrohydraulic control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105464691A (en) * 2014-09-09 2016-04-06 天津华宁电子有限公司 Electrohydraulic control system of hydraulic support and program and parameter updating and backup method of electrohydraulic control system
CN105464691B (en) * 2014-09-09 2017-11-07 天津华宁电子有限公司 Hydraulic support electrohydraulic control system and its program and parameter update backup method
CN104503791A (en) * 2014-12-18 2015-04-08 天津市天安怡和信息技术有限公司 Intelligent remote upgrading and maintaining method for remote self-contained equipment
CN109188949A (en) * 2018-06-28 2019-01-11 郑州众智科技股份有限公司 The method that host computer passes through MODBUS protocol remote upgraded electricity generation generator set controller
CN109188949B (en) * 2018-06-28 2021-10-22 郑州众智科技股份有限公司 Method for remotely upgrading generator set controller by upper computer through MODBUS protocol
CN110262367A (en) * 2019-08-05 2019-09-20 刘盛荣 Intelligent home equipment control method and device

Also Published As

Publication number Publication date
CN102635379B (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN110221567B (en) Intelligent management and control system based on 5G internet of things technology
CN102635379A (en) Online program updating method for hydraulic support controllers
CN101262486B (en) Modbus bus analysis system based on built-in platform
CN106313038B (en) A kind of real-time control debugging system and adjustment method
CN106325876B (en) Method, the system of a kind of programming of inline graphicsization and control embedded device
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
CN103902305A (en) Software long-distance loading and solidifying method based on TI DSP
CN104468235A (en) Allocable full-network remote node firmware upgrading system and device based on IAP
CN104503796A (en) IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method
CN106168993B (en) Real-time simulation analysis system for power grid
CN106444610A (en) A PLC remote code updating system and method
CN102541787A (en) Serial switching using system and method
CN102970104A (en) Method for acquiring data and server
CN105487999A (en) Cascaded large-scale USB expansion device and working method and system
CN104461660A (en) Multi-mode dynamic loading method of heterogeneous system
CN102736929A (en) Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system
CN103746873A (en) System and method for testing communication module
CN106761877A (en) A kind of monitoring system of comprehensive mining hydraulic bracket
JP2021174545A5 (en)
CN105224453A (en) The automatic test approach of system compatibility and device
CN102828763A (en) Hydraulic support automatic control system with memory function on fully mechanized coal face
CN102486764B (en) Synchronous coordination processing method and device for single-serial-port multi-group data inrush
CN211087371U (en) Sorting machine control system based on wireless WI-FI technology
CN115052312A (en) Wireless communication method, device, equipment and storage medium of heat pump equipment
Li et al. The application and research of the liquid level control technology used in mineral flotation process which based on the modbus communication protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant