Spontaneous ignition can lead to fires burning out of control, endangering human life, incurring financial losses and releasing harmful gases into the atmosphere. Fighting fires before or immediately after they occur is a pressing priority. Water sprinklers are inexpensive, environmentally friendly and effective. Infrared heat sensing is inexpensive and reliable. For a fast and reliable response, each sensor is equipped with an actuator that can point a water valve to the best location. A water pump delivers the flow needed to extinguish or prevent the fire at the position from which the heat emanates.
A single system consisting of controller, sprinkler, detector and the pertinent actuator cannot cover an entire coal yard. Therefore, our solution is to cover the coal storage in a grid of individual firefighting as shown in Fig. 2, which also provides overlap between units and therefore a redundancy that increases reliability. The following sections explain the system in detail.
Detection
For the fire detection, a number of sensor options have been developed for home and industrial use. One of the most prevalent solutions is smoke detection, which can use either the ionisation or photoelectric methods. Both rely on chambers where smoke concentrates, by detecting the changes in either the lighting or the ionisation of the particles in the chamber. As such, they are badly suited for open, ventilated spaces. Similarly, RGB images have difficulty capturing smoke that dissipates fast in open areas. Heat detection is problematic in warm countries, and the problem is exacerbated by the natural variations in temperature across the coal yard. Fires can also start as smoulders, creating little heat until the fire intensifies. Temperature sensors have to be installed at a distance from the surface, which introduces further delays in detection. In contrast, Infrared (IR) sensors can detect heat reliably from a distance. They are also inexpensive; as normal webcams can be used after removing the IR filter. While industrial infrared cameras typically achieve a ± 2 °C accuracy, the inexpensive modified camera trialled in the prototype has an accuracy of around ± 10 °C.
With the IR filter removed, a video of the coal sur face was recorded by a camera overseeing part of the area. The frame rate was set based on the time it takes to process each image and initiate appropriate action: Sufficient time has to be allowed between two frames to allow the processing of the image to detect a fire, determine the coordinates in case of a fire and communicate with the actuator that triggers a response.
Given a single frame, the controller interprets the brightness of the pixels and identifies potential areas of heat, based on a threshold provided. The image processing uses the OpenCV2 library.
Each image is processed by initially removing noise and areas not lit brightly. This means after this step, only self-ignitions are visible on the image. Then these self-ignition regions are converted to contours and their areas are calculated. In the next step, the contour with the largest area is determined, as this identifies the area where the self-ignition event is spreading the most at that moment. If there are several self-ignition events on the same frame, priority is given to this location. The coordinates of the centre point of this contour are calculated and used to determine the angle for the water jet, as well as the voltage needed to create the water spray.
The routine ends when the controller calls other modules to trigger the water jet as a response.
Water expulsion
To adjust the water dispensing valve, servo motors were selected which rotate the nozzle to the required coordinate. Servo motors do not require a motor driver and can be connected directly to a power supply, and they provide precise angle control. They also have a good stall torque, meaning the position of the motor arm is sufficiently stable against external torques applied on the motor arm. This will ensure, after rotating the motor arm to calculated position, that the arm does not move due to weight of the water hose, or due to the jerks induced from rapid flow rate variations of the water jet.
Prototype
Arranging a coal fire in a controlled environment is both difficult and dangerous. The timing of ignitions cannot be predicted with reasonable accuracy, while leaving the premises unattended after hours causes an unacceptable fire hazard. Coal hotspots have temperatures of 100–800 °C. At Norocholai, industrial thermal cameras would be used such as FLIR A310 or ThermoView TV40. Candles burn at 1200 °C.
A simple webcam was used for the IR imaging, with the IR filter removed. Given its lower sensitivity, the combination with a candle was deemed an appropriate setup to represent a more challenging environment captured by professional equipment.
The camera was mounted on a movable support as shown in Fig. 3, because the camera orientation may likely have to be adjusted once the system is installed in the coal yard. Motors were mounted on a square base initially as shown in Fig. 3a, but later used a circular shape as shown in Fig. 3b to ensure smooth movement of the water hose.
The MG996R servo motor was chosen due to its accurate position control. Mounting two motors on top of each other, it is possible to cover a 360° area using 180° rotation servo motors. The lower servo motor rotates 180°, while the upper servo motor is attached to an arm which carries it up to a further 180° as the lower servo rotates. For each position of lower servo between 0° and 180°, the upper motor is capable of covering series of points which lies on a straight line going through two quadrature making it possible to shoot water at any point that lies on any quadrature within the field of view of the camera.
For the water pump, the Anself Ultra-Quiet Mini DC 12 V model was chosen, an IP68 grade fully submersible pump with 30,000 h of working life with a flow rate of 300 L/h and a maximum head of 4.5 m, meaning it can lift the water up to this height.
A circuit board had to be created to connect all com-ponents, which were powered through regulators to ensure a safe environment. Also, a 5 V/12 V relay was used to switch the water pump following a signal from the Arduino. Figure 4 shows the completed electronics.
The Arduino microcontroller provides an API for the rotation of servo motors, however without the option of setting a rotation speed. Therefore, a separate function had to be written to turn the motor smoothly and slowly to the required position.
Detecting the depth of the hotspot is not critical in this solution, and instead water jet will be directed to the identified point on surface. Water can then sink through the layers to reach the hotspot. As stated by Lu (2017), we also observed that heat from the hotspot leaks to the surface, which enables us to capture the exact location using infrared imaging.