One Realization Method for Remote Control ofHydraulic Support of theElectro-hydraulic in CoalMine Face
TIAN MU-qin, SUN YI-Bing, CHEN
HUI-Ying Taiyuan University ofTechnology
Abstract—The remote control part of the system can setparameters such as operating mode and so on, while real-timerecording and displaying running state of hydraulic supports,preserving historical data. It gathers control, data recording,data query and intelligence analysis as a whole, communicatingwith underground with RS485 andCANBUS communicationinterface functions, through PROFIBUS, MODBUS,
CANBUSand other real-time protocols, in order to achieve continuous data acquisition and control, namely, to achieve unattended automatic operation, so that unmanned in the major coal production linksto attain truly safe production.
Keywords-HydraulicSupport;powerbuild;communication protocol; RS485;CANBUS I. INTRODUCTION
Since the inception of mechanized mining technology, all electro-hydraulic control system of hydraulic supports depend on imports. But the high cost and price, long supply cycle, technological security, untimely service, unopened agreement severely restrict the development of China's coal industry, and even become into bottleneck problems of the developing highintensive production to achieve unmanned exploration despite its excellent performance and technical support in enhancing the country's coal production and efficiency. And coal is the main body of China's primary energy, accounting for 70% of total energy. "National Plan for long-term scientific and technological development" explicitly pointed out that "we should vigorously develop coal clean, efficient, safe mining and utilization technologies, and strive to reach the international advanced level." Around this development strategy, "intensive and efficient coal mining equipment and technology, automation and intelligent technology of coal production, coal mine safety production technology" has become a priority theme of development in China, and coal integrated mechanization and automation technology are the key link to achieve safe and efficient coal mining, while the hydraulic supports electro-hydraulic automatic control system is an important part of the link.
Hydraulic supports electro-hydraulic control system is a distributed control system. There are these hydraulic support electro-hydraulic control system: DBT's PM4, MARCO company's PM31 and JOY's RS20-type and so on. The first fully mechanized caving hydraulic supports electro-hydraulic control system designed by the Coal Science Research Institute (Heaven and Earth Science and Technology Co., Ltd.) and the German Make has been running in Yanzhou Coal Mine. The system represents latest development level of the current electro-hydraulic control system, but the process of localization has not been yet completed.
To this end, research for hydraulic supports electrohydraulic automatic control system with independent intellectual property has not only of great practical significance, but also has far-reaching historical significance.
Hydraulic supports electro-hydraulic automatic control system is one network monitoring and control system with local control, LAN control and remote control , including ground control system, central control system, frame controller, network communication systems and power supply. The method resolves the ground control issues of hydraulic supports
electro-hydraulic control system, which is remotecontrolled part and the master part of unmanned watching mining.
This template, modified in MS Word 2003 and saved as “Word 97-2003 & 6.0/95 –
RTF‖ for the PC, provides authors with most of the formatting specifications needed for
preparing electronic versions of their papers. All standard paper components have been specified for three reasons: (1) ease of use when formatting individual papers, (2) automatic compliance to electronic requirements that facilitate the concurrent or later production of electronic products, and (3) conformity of style throughout a conference proceedings. Margins, column widths, line spacing, and type styles are builtin; examples of the type styles are provided throughout this document and are identified in italic type, within parentheses, following the example. Some components, such as multileveled equations, graphics, and tables are not prescribed, although the various table text styles are provided. The formatter will need to create these components, incorporating the applicable criteria that follow.
II. CONTENT DESCRIPTION
Implementation platform of this method is PowerBuilder. It can connect with any database, and has very strong applicability. Because of its powerful Data Window, adding a flexible SQL statements it provides a great deal of flexibility for data processing. In the PowerBuilder development environment, user interface design really achieve a "WYSIWYG", allowing programmers quickly to design their preferred interface in the interface design. Its rich graphical interface makes programming results even more icing on the cake. It’s unique characteristics of database management and friendly interface
features with other external things, can widely use resources of other aspects, such as the tripartite control, etc. This system has used external things such as serial communication, OLE, OLE Database Blob features, and achieved serial communication functions with protocols such as MODBUS, PROFIBUS, and CANBUS, and completed the tasks of database dynamic storage, display graphics. In particular, it’s data pipeline makes data
transmission from different databases on the Internet unique, data sharing between different database convenient, interfaces with other systems easily.
A. The remote transmission method for hydraulic support control parameters and
operating commands This method can remotely send a hydraulic support control
parameters, control commands and operational commands, data send from IPC to the
end controller. Then the end controller will collate the data and pass to each
controller's serial port in master-slave mode such as Figure 1.
There is the interface for sending long control parameters and operating commands. To send control parameters, first, type control parameters into the single editor and click "Parameter Send" with the mouse. To send operation commands, we must first specify the acting support frame, and then click the keyboard in the below right-half plane to select the function for support frame to complete, finally click "Operation Send". After receiving orders to send, the system must first change control parameters or operation commands red in character into the integer, because communications conduct crc checksum, and there is not XOR function in PowerBuilder. The changed integer are translated into binary code, and XOR function is achieved using binary characters to complete the crc checksum procedure. The implementation procedures are as follows: data1="1010000000000001"//a001H
for l=1 to i
for k=8 to 1 step -1
if crc111=sj11 then
crc1=left(crc1,8)+b1// Differences with the first L items of
// data or results
for k=1 to 8
crc11="0"+left(crc1,15)// Shift to the right one
crc111=right(crc1,1)// Shifted to the right out of a
if crc111="0" then
for bb=16 to 1 step -1
if crc111=sj11 then
Where, i is the number to send the data, the last two sj [i] (left (crc1, 8), right (crc1, 8)) shall be the 16 bit checksum. And then the serial port would be started to complete serial communication with protocols such as MODBUS, PROFIBUS, and CANBUS. First, initialize the serial port:
Second, the address, command, the register read address, the register read number, verification codes in hexadecimal form are all sent out. Because there is no hexadecimal number representation in PowerBuilder, this system changes data into binary through transformation between the decimal and character, and then writes them to the serial port in the form of large binary text variables (blob). Realize combination of b_mode = b_mode + blob (CHAR (nn [i])), using the variables of blob type. when data sent is zero, b_mode = b_mode + b_00. Thus ole_1.Object.Output = b_mode successfully sent data to the serial port. Third, after the end controller receives the commands, it sends the instruction down to the corresponding hydraulic supports to make them complete the required functions on the one hand, and the other hand, it returns response messages notifying the IPC that it has received the command. Fourth, when the data dd is red from the serial port, it will be transformed into a form appropriate for arithmetic calculations by (asc (dd)).
B. the implementation method for real-time condition
monitoring of hydraulic supports in working face In practice, the number of hydraulic support needed varies with the working face in mining coal, generally between 130 to 200, so it will be transmitted to end controller and the hydraulic support controllers as a controller parameter before work of mining. The real-time monitoring main interface for hydraulic supports in the working face is shown as Figure 2, in which, all the small long box frame mean hydraulic supports.
The program automatically determine theirs location and width, and assign ordinal number to them according to the screen width and the number of. The number of the small long box frame is n times of the number of hydraulic supports; n is the number of information kinds reflecting the states of hydraulic supports. As the number of hydraulic supports and information is very large, there are 600 long-boxs or more in the interface. So it is impossible to program the script one by one, and also the setting. And the macro substitution must be used. Since PowerBuilder can not achieve macro substitution, the system successfully realize the macro substitution by identifying in turn RichTextEdit controls combined with the window function. The script is as follows:
Int li_ScreenWidth, li_ScreenHeight
GetEnvironment(my_syrteem)// Get the total width and length
of the screen
li_ScreenWidth = PixelstoUnits(my_syrteem.ScreenWidth,
li_ScreenHeight = PixelstoUnits(my_syrteem.ScreenHeight,
this.Move((li_ScreenWidth - this.Width)/2,(li_ScreenHeight -
this.Height - 600)/2 )
li_count = upperbound(parent.control)//Access to window
//controls the number of in vivo
richtextedit sr,srr,srr1,srr2,srr3// Statement richtextedit text
//object, used to access the window controls in vivo
FOR li_i = 1 TO li_count
CHOOSE CASE parent.control[li_i].typeof() //parentBehalf of Form
case richtextedit!// If the control is richtextedit text
sr=parent.control[li_i]// Get the control reference
sr.width=ss - sss1
sr1=len(parent.control[li_i].classname()) sr1=sr1 - 4
if sr2<=200 then
if sr2>(zjs1 +1 )then
sr.x = s1+ss*(sr2 - 1)
if sr2>200 and sr2<=400 then
sr.tag=string(sr2 - 200)
if sr2>(zjs1+201) then
sr.x = s1+ss*(sr2 - 200 - 1)
if sr2>400 and sr2<=600 then
sr.tag=string(sr2 - 400)
if sr2>(zjs1+401) then
sr.x = s1+ss*(sr2 - 400 - 1)
In the interface there are PowerBuilder's RichTextEdit controls(small long box frame)
expressing hydraulic support, which has getfocus and mousemove events. When the mouse points to the small box, mouse event of pointed RichTextEdit control happens, showing hydraulic support number. If you want to understand the detailed running states of a hydraulic support, you can click this small long box frame, a window with tables, graphs and curves and other forms of information will pop up to display this bracket operation. There are three lines of small box in the interface, the first line of which show locality of the Shearer, the graphics expressing Shearer automatically moving to the position of the small box changing red; the second line show overrun state of Shearer, the small box becoming red; the third line show the STOP state of Shearer, the small box flashing red and yellow.
The system can real-time monitor and long-term record the analog such as inferior vena pressure, stroke length and end length, as well as digital such as 1 grade care help, 2 grade care help, emergency stop, spray, the location of Shearer
The system can display and reflect the running status of hydraulic supports with curves, histograms and pie charts, set control, data recording, data query and intelligence analysis as a whole, have a higher intelligence level. It is a kind of effective method for the long-range electro-hydraulic control for hydraulic support in the coal mine working face, At present it have been put into trial operation.
 Sun Han fang, Xu Aiqing ,―Principle and application of MCS-51/96
serials SCM (Revision), ‖ Beijing Aviation University Publisher
 Wang Rong, ect.,―Detailed explanations for Power Builder application
and developed technology,‖ Electron Industry Publisher
 Fan Linan ect.,―SQL Server 2000 Practical Tutorial,‖ Tsinghua
University Press, 2004,2
 SongLei, ect., ―One hundred practical Programming examples with
PowerBuilder10, ‖ Tsinghua University Press, 2005,9
 Liu Zhiming, ect., ―Database development key technologies and
application examples of PowerBuilder, ‖ Posts & Telecom Press, 2004,5
 SunXiang,―Serial Communication Technology Application in
PowerBuilder,” Datong Microwave Radio and Television Station？
Friend of Science Amateurs, 2009,6
 Xiang Yu, ―Research of Using MSComm Control to Communicate in
PowerBuilder, ‖ Engineering Technology, 2008,7.