4.1. Design of redundant system
We use two S7-1515R-2PN controllers as the primary CPU and backup CPU, and design a redundant control system by adding digital input/output module, analog input/output module, communication module and redundant power supply module to the Profinet network, as shown in Figure 3. S7-1515R-2PN controller integrates two Profinet interfaces, a dual port X1 interface (X1P1R and X1P2R) and a single port X2 interface (X2P1). The X1P1R interface is used to connect two CPU and I/O devices to build a Profinet network. The X1P2R interface is used to connect two redundant CPUs in the Profinet network. In a Profinet network, two identical CPUs synchronize data through redundant connections. If one CPU fails, the other CPU will continue to control the process. X2P1 is used to communicate with HMI. We designed three remote I/O devices. The first remote I/O device consists of a high-performance interface module (ET 200MP IM 155-5 PN HF), four digital input modules (DI 32X24VDC), three digital output modules (DQ 32X24VDC/0.5A), two analog input modules (AI 8XU/I/RTD/TC) and an analog output module ( AQ 8XU/I). The second remote I/O device consists of a high-performance interface module ET 200MP IM 155-5 PN HF, three analog input modules (AI 8XU/I/RTD/TC), three point-to-point communication modules (CM PtP RS422/485 HF), and three digital output modules (DQ 32X24VDC/0.5A).
4.2. Redundant identity Configuration
In the S7-1500R redundant system, each CPU has a redundant identity, and only when the redundant identities of the two CPUs are different, can redundant operations be implemented. Generally, the redundant identity values are set to 1 and 2. When debugging for the first time, the redundant identity of both CPU is 1 by default, and the identity number can be assigned through the display screen on the CPU. First, connect the two CPUs in the redundant system to each other, and both are in the Stop operation state. Next, start the CPU to which you want to assign redundant Identity. Finally, on the display screen of the CPU, select the menu command (Overview>Redundancy) and set the CPU's assigned redundancy identity to 2. After the redundant identity is assigned, the CPU needs to be restarted. The CPU with redundant identity 1 works in the primary, and the CPU with redundant identity 2 works in the backup.
4.3. Hardware configuration of redundant system
We program in the Siemens configuration and programming software to configure the redundant system, as shown in Figure 4. During configuration, pay attention to that when adding and deleting the primary CPU and the backup CPU, they should be operated in pairs, otherwise communication cannot be achieved. After adding, Portal software will automatically assign an IP address to each Profinet interface of the CPU, or manually assign an IP address to each Profinet interface. However, the IP address of the interface between the two CPUs for the Profinet ring network must be in the same subnet, otherwise communication cannot be carried out. In addition to setting the equipment IP address of each CPU, a system IP address shall also be assigned to the redundant system for data communication with the HMI. The system IP is equivalent to a virtual IP address, which communicates data with the primary CPU of the redundant system. When the primary CPU fails, it automatically communicates data with the backup CPU. After CPU configuration, add three remote profinet interface modules, and each interface module is assigned an IP address. Add various I/O modules required by the system to the remote rack. When connecting the physical network, the connection shall strictly follow the general network topology configuration of the programming software, otherwise the system redundancy cannot be realized.
4.4 Redundant power supply design
In order to improve the reliability of the redundant system, we have designed the redundancy of the DC24V power supply of PLC and sensor, and its working principle is shown in Figure 5. It consists of power network, lightning arrester, circuit breaker, fuse, filter, isolation transformer, switching power module PSU100S and selection module PSE202U. After the first power supply is filtered by the power filter and isolated by the transformer, it enters the switching power supply modules PSU100S-1 and PSU100S-3 to convert AC 220V to DC 24V. Then enter the power selection module PSE202U-1 to output DC 24V power for the PLC module and CPU. Similarly, after passing through the filter and isolation transformer, the second power supply enters the switching power supply modules PSU100S-2 and PSU100S-4 to convert AC 220V to DC 24V. Then enter the power selection module PSE202U-2 to output DC 24V power for the field sensor. During normal operation, the two switching power supplies are in hot backup state. The power selection module continuously monitors two groups of power supplies and provides feedback. When one group of power supply is cut off, the power selection module will automatically switch, and another power supply will take over DC 24V to continue to supply power for PLC and sensors. When any of the two power supplies fails, the output of DC 24V power supply will not be affected, thus improving the reliability of redundant system power supply.
4.5. Smart sensor design
Considering the harsh working environment of the coal mine site, we use smart sensors in sensor design and selection, and exchange data with PLC through RS485 bus. Compared with the traditional current sensor, the smart sensor has the advantage of digital signal transmission, which can reduce the inductive interference of the transducer to the sensor and greatly enhance the anti-interference ability of the sensor. The key sensor configuration of the gas drainage system is shown in Figure 6. In order to monitor the methane concentration, flow, pressure, temperature and carbon monoxide in the gas emission system, a pipeline laser methane sensor, a gas flowmeter and a pipeline carbon monoxide sensor are designed on the intake pipe of the gas emission system. A negative pressure sensor is installed on the pipe at the inlet side of the exhaust pump to monitor the working negative pressure of the exhaust pump. A positive pressure sensor is installed on the pipe on the gas outlet side of the gas discharge pump to monitor whether the gas outlet pipe is blocked. A liquid level sensor is designed and installed on the steam water separator of the exhaust pump to monitor the working liquid level of the exhaust pump. The Pt100 temperature measuring element is designed on the front and rear axles of the exhaust pump and motor to monitor the operating temperature of the pump and motor. The vibration sensor is designed in the horizontal and vertical directions of the pump and motor to monitor the vibration status of the pump and motor. A water flow sensor is designed on the inlet pipe of the exhaust pump to monitor the water supply of the exhaust pump. A low concentration methane sensor is designed in the pump room environment to monitor whether there is gas leakage in the gas discharge pump room. Specific sensor specifications and models are shown in Table 1.
Name
|
Specification
|
Measuring range and error
|
Electromagnetic water flow sensor
|
HDD100
|
Range: 0.00 ~ 100m3/h
Error: ± 1.0% (F · S) Output signal: RS485
|
Negative pressure sensor
|
GF100F(A)
|
Range: - 100 ~ 0.00Kpa
Error: ± 1.0% (F · S) Output signal: RS485
|
Positive pressure sensor
|
GF100Z(A)
|
Range: 0.00 ~ 100 kPa.
Error: ± 1.0% (F · S) Output signal: RS485
|
Liquid level sensor of steam water separator
|
GPD10
|
Range: 0.00 ~ 1.00 m
Error: ± 1% (F · S) Output signal: RS485
|
Low concentration methane sensor for mining
|
KG9701B
|
Range: 0.00 ~ 1.00% CH4 Error: ± 0.10% CH4
Range: 1.00 ~ 4.00% CH4 Error: ± 0.30% CH4
Output signal: RS485
|
Multi parameter sensor for mining (including temperature, pressure and flow detection)
|
GD3(B)
|
Temperature range: - 10.0~60.0 ℃, error: ± 2.50% F.S
Absolute pressure: 20.0~150.0 kPa, error: ± 1.0% F.S
Velocity range: 0.3~35m/s, accuracy class: 1.5
Output signal: RS485
|
Laser methane sensor for mine pipeline
|
GJG100J(B)
|
Range: (0.00 ~ 100)% CH4
Error: 0.00 ~ 1.00%, ≤± 0.05 CH4
1.00 ~ 100%, ≤± 5% CH4 of the true value
Output signal: RS485
|
Carbon monoxide sensor for mining pipeline
|
GTH1000G
|
Range 0~100 (1 × 10-6) Absolute error: ± 4 (1 × 10-6)
Range 100~500 (1 × 10-6) Relative error: ± 5% of the true value
Range>500 (1 × 10-6) Relative error: ± 6% of the true value
Output signal: RS485
|
Vibration analyzer
|
YZ15
|
Capacity: 16 channels
Signal system: RS485
|
Vibration sensor
|
GBC34
|
|
Temperature patrol detector
|
YHW200
|
Capacity: 16 channels
Signal system: RS485
|
Temperature transmitter
|
Pt100
|
|
Table 1. Smart Sensor Specifications