Impact of the Selected Disturbing Factors on Accuracy of the Distance Measurement with the Use of Ultrasonic Transducers in a Hard Coal Mine

: The article presents tests on the possibility of using ultrasonic transducers for accurate distance measurement in hard coal mines. In order to check the impact of selected disturbing factors on the measurement results, test stands were built, and then a full cycle of measurements with the use of different transducers (AR30 and AR41), which were selected and pre-tested in previous research projects, was realized. The impact of such disturbing factors as airborne dust (coal, stone, lime and mixed dust), changes in temperature and humidity on the propagation of ultrasonic waves, amplitude and measurement accuracy was investigated. The tests were preceded by theoretical analysis. It was found that the transducers selected for the tests had a sufﬁcient accuracy and range, so they can be used in the devices planned to be designed, allowing for the determining of the location of a roadheader in hard coal mine roadways, taking into account technical and legal restrictions. It was also speciﬁed which disturbing factors should be compensated and what methods and parameters of this compensation should be used.


Introduction
The requirements of reducing the manufacturing costs, increasing the efficiency, as well as improving people's working conditions and limiting their presence in risk zones make it necessary to look for new solutions, often based on automation, not only in industrial production enterprises [1,2], but also in the mining industry [3]. Increasing the degree of automation in hard coal mines where various types of threats to the safety of employees are present is one of the issues requiring intensive studies, but special technical and legal requirements mean that solutions from other industries, and even from the mining industry, cannot be easily implemented [4,5]. Issues related to the system being developed that allows for precise determination of the position and orientation of the mining roadheader during drilling of roadways in a hard coal mine are this article's subject. The expected accuracy should allow to control the operation of the roadheader in terms of maintaining the proper direction and advance, at a distance of the measuring system from a roadheader not exceeding 30 m. The system should be easy and quick to install, allowing to work without having to be moved during a work shift, while meeting the technical and legal requirements for operating in hard coal mines. Such a system can be classified as an example of the real-time locating system (RTLS), a class of systems that allow the determination of the position of objects in a specific environment or building, usually based on the transmission of radio waves, ultrasound or lasers [6,7]. The principle of a typical RTLS operation is most often based on one or more of the common algorithms, such as RSS (received signal strength), TOA (time of arrival), TDOA (time difference of arrival), POA (phase of arrival), NFER (near-field electromagnetic ranging), AOA (angle of arrival), DOA (direction of arrival) or dead reckoning [8,9]. Due to the expected ease of installation and operating conditions of the system, it was decided to focus on the methods for determining location by precisely measuring distances rather than angles or other parameters.
The preliminary stage of the work on the system for determining the location in the conditions of a hard coal mine, including the development of a method for the precise determination of distances in these conditions, was presented in our previous article [10]. It includes: • Review and analysis of working conditions, technical requirements and limitations, as well as legal ones, relating to devices intended for operation in hard coal mines; • Analysis of available solutions that are currently used in mining and can potentially be adapted to the requirements of the planned application; • Review of the methods for determining the location and distance as well as measurement algorithms; • Assessment of suitability of the available methods and devices for the expected application through SWOT (strengths, weaknesses, opportunities, threats) analysis; • Theoretical analysis of the properties of ultrasonic waves initially selected as a technology that can meet the requirements of the expected application; • Selection of the type and parameters of ultrasonic transducers to be used in the developed system; • Design of a testing facility for distance measurements with the use of ultrasonic transducers; • Preliminary tests of ultrasonic transducers; • A full cycle of distance measurement tests with the use of selected ultrasonic transducers, including operation at the expected distances without disturbances and with simulated forced airflow in the ultrasound propagation environment.
The tests showed the legitimacy of using ultrasonic technology to determine the location in a hard coal mine [10]. The theoretical analysis of the ultrasonic wave propagation properties and the measurement results indicated the direction of further work: determination of the impact of various disturbing factors, the presence of which is typical for operation in coal mines, on the results obtained. Thanks to this, it is possible to prepare design assumptions for the developed equipment and measurement methods and to suggest appropriate algorithms that allow for the introduction of corrections to eliminate disturbances resulting from the work environment, when required.

Analysis of Limitations, Theoretical Basis, Devices and Results of Previous Research
Technical solutions allowing for the precise determination of distances and, subsequently, the location of objects in the conditions of a hard coal mine are limited both by technical factors depending on this specific environment, as well as by legal factors.
The main technical obstacles that may affect the ability to measure distance in hard coal mines are [11][12][13][14][15]: • Mechanical barriers between the points, whose distance is measured, block, weaken or reflect the signals used for measuring the distance-machine components and equipment, ventilation ducts, pipelines, etc.; • Reflections of the signals used for measurement in the roadway: measurement of the distance in long and narrow tunnels comes with the risk of reflections of these signals from the walls, floor and roof of the tunnel, which are additionally not smooth-roadway components, cables, pipes, etc.; • Movement of air during forced ventilation-it may have a significant impact on the accuracy of measurements in some technologies, depending on the direction and speed of airflow; the expected average airflow rate around the roadheader should not exceed 1 m/s; • Dust generated by working roadheader, spread by the forced ventilation; the maximum dust concentration should not exceed 100 mg/m 3 , the highest concentration of dust is in the area of cutter head operation [16]; • Local changes of temperature can also change the signal propagation; it is suggested to assess the impact of temperature changes on the distance measuring accuracy in order to calibrate and compensate this impact; expected temperature in a hard coal mine varies from 10 to 40 • C; • High or variable relative air humidity, caused by water spraying required in the technological process [17], which may affect the accuracy of distance measurements or cause degradation of measuring devices; • Vibrations and noise, which may affect the components of the measuring system, which require the use of technologies resistant to these phenomena or appropriate insulation or shock absorption of the fixation of the measuring device; Most of the legal restrictions stem from coal mining safety requirements [12,13,18]: • The ban on certain technologies (e.g., high energy lasers); • The ban on direct use of some materials/technologies, which can be used only if appropriately encased, which, however, can, e.g., limit the range of signal transmission; • All devices must meet dust-and water tightness requirements and be approved for operation in the conditions of explosion hazard.
The analysis presented in [10] showed that among the different technologies used for automatic non-contact distance measurement, the determination of the distance by measuring the propagation of ultrasonic signals should meet the technical and legal requirements of the planned application. Technologies based on radio frequency signals can be difficult to apply at short distances (assuming planned application in coal mines), and laser technologies do not always meet legal requirements and are also more sensitive to vibration and dust.
By the definition, the ultrasonic wave is the vibration of the elastic medium particles, propagating in the form of a longitudinal wave [19], that can be affected by the environment composition heterogeneity (e.g., the difference in density or temperature, foreign particles inclusions (e.g., dust, water drops) and transmission medium movements.

Selected Properties of Ultrasonic Waves Propagation
Propagation velocity and attenuation of the medium are the most important parameters of the gaseous medium in which the ultrasonic waves propagate. The speed of the ultrasonic wave in gases is given by Equation (1) [19]: where: ρ 0 -gas density in normal conditions, p 0 -gas pressure in normal conditions, T-gas temperature [K], T 293 = 293 [K], κ(T)-dimensionless adiabatic exponent equal to c p /c v , c p -specific heat at constant pressure, c v -specific heat at constant volume. The coefficient κ(T) depends on the temperature, but to a small extent also on the pressure of the gaseous medium. Within the range of typical air pressure (810-1216 hPa), it has a constant value (1.4 in the air at 20 • C). Thus, it can be assumed that the speed of propagation of ultrasonic waves in air does not depend on the air pressure, as long as it is within the typical atmospheric pressure range.
The speed of ultrasonic wave in the air depends on the air temperature: the higher the air temperature is, the faster its particles move [19,20]. The temperature coefficient of the sound velocity v US (T) is similar to the linear velocity coefficient (in the temperature range from −5 to 100 • C), thus it can be expressed as a derivative of velocity in relation to  (1) can be transformed into (2) [19,21]: where: v US0 -speed of sound at T 0 = 0 • C, b-temperature coefficient of the speed of sound equal to ∆v US /∆T in relation to T 0 , b -relative temperature coefficient of the speed of Thus, the authors of [19,20] proposed Equation (3). where: For further work, the concept of measurements was adopted, in which, simultaneously with the sending of an ultrasonic pulse, a radio frequency (RF) signal will be sent, used for synchronization-determining the moment of the beginning of the measurement of the signal transmission time. In fact, the time difference between receiving radio and an ultrasonic pulse will be measured. The justification for this assumption is given in the next paragraphs.
It was assumed that the acoustic wave will be sent as a short pulse, and the moment of receiving the wavefront (the wave that has traveled the shortest path without obstacles-line of sight method [22][23][24]) will be detected. Thanks to this, the impact of reflections of ultrasonic waves on obstacles (like walls of a tunnel) will be excluded [20].
The distance between the transmitter and receiver of ultrasonic waves relative to RF wave is given by Equation (4) [25]: where: ∆t-time difference between receiving both signals in the receiver, v US -ultrasonic wave propagation speed, v RF -RF wave propagation speed. The speed of an RF wave is about one million times greater than that of a sound wave, a sound wave moves 20 m in about 58.8 ms (assuming v US = 340 m/s), while an RF wave travels the same distance in about 7 ns. Neglecting the RF propagation time, Equation (4) can be simplified to the form given in Equation (5) [26]:

Initial Results of Ultrasonic Wave Propagation Measurements
Subsequently, in [10], the available sensors and ultrasonic transducers were reviewed. In the result the following specific devices were selected as the transmitter and receiver of ultrasonic waves: ultrasonic transducers AR30 and AR41, manufactured by AIRMAR for distance measurements in an air medium [27].
Parameters of the selected ultrasonic transducers: The test stand included the following modules: • 30 kHz/41 kHz signal generator with signal parameters adjustment system; • Ultrasonic transmitting transducer and ultrasonic receiving transducer (identical devices can be used in both roles);

•
Receiving system with adjustable signal gain; • Time-of-arrival (TOA) measurement system converting the ultrasonic wave propagation time between the transmitter and the receiver into a distance between these elements. During the test, two pairs of transducers (AR30 and AR41) were used as transmitters and receivers of ultrasonic waves. Both types of transducers (two pairs of AR30 and AR14) were used in tests and connected to the T1 module [27]. The transmitting section of the T1 module allows adjusting the frequency and voltage amplitude (in the range 200-500 V-V p-p -peak-to-peak voltage) applied to the transducer. The receiver enables amplification (0, 20, 40, 60 dB) of the signal from the ultrasonic transducer. The amplified signal was recorded by a TDS2024B oscilloscope.
Initially, converters and testing instruments were tested [10]. The receiver and transmitter were placed in the corridor (as in the planned work environment of the designed system), and their distance varied from 5 to 40 m. Measurements were taken at standard atmospheric pressure, the temperature of about 20 • C and in the absence of additional disturbing factors (air movement, physical obstacles along the signal path). As expected, it was found that the amplitude of the received signals decreases with the distance between the transmitter and the receiver, the effective range of transducers operating at higher frequencies is smaller, however, both types of devices allow to work at a range sufficient for the planned application: AR41: 30 m, AR30: 35 m.
The propagation time of the ultrasonic wave as a function of the distance between the transmitting and receiving transducers were also checked. The measured propagation time at a constant measuring distance was also constant. The propagation time for both types of ultrasonic transducers was the same. The relationship between distance and propagation time is linear, thus it can be concluded that in constant atmospheric conditions the measurement distance is directly proportional to the propagation time of ultrasonic waves.
Then, the impact of selected disturbances on the propagation time of the ultrasonic signal was tested. It was decided to determine the impact of air movement in the measurement path, generated by fans, and the direction of air movement could be consistent or opposite to the direction of ultrasound propagation. The tests were carried out multiple times at distances from 5 to 20 m, every 5 m.
It was confirmed that disturbances of the ultrasound propagation medium (air movements) have a much greater impact on the amplitude of the received signal than on the time of wave propagation. The results indicated that the maximum relative change in the voltage amplitude was 163%, while the maximum change in the propagation time measurement caused by air movement was 0.3%. Thus, if the airflow speed in a coal mine roadway reaches the maximum value of 1 m/s, propagation time measurement uncertainty up to 0.3% can be expected [10].

Testing the Impact of Dust Concentration on the Propagation Time of Ultrasonic Waves
The most important factor accompanying the rock mining process is dust. It is a harmful factor in a hard coal mine for many reasons [28,29]. It reduces visibility, can be explosive, and additionally, the respirable fraction [30] is harmful to human health. The aim of the test was to determine the impact of dust concentration on the propagation parameters of ultrasonic waves, mainly the propagation time, as a parameter used to measure the distance in the developed method of underground positioning. The new test stand was built, the block diagram of which is shown in Figure 1.
The measuring system consists of a closed tunnel (a) with a cross-sectional dimension of 0.75 × 1 m and a length of 4 m, in which ultrasonic waves propagated and dust of controlled concentration was generated. On one side of the tunnel (a) there was an air injection installation (b) consisting of a blow-out nozzle (e) to which compressed air was connected via a compressed air supply hose (g). The airflow was controlled by a manual valve (f).
Air-dust mixture was generated by attaching a dust dispenser to the blowing nozzle (e), which consisted of a dust container (h) with a mechanical agitator and valve, a screw feeder (m) and a controller (i) allowing for regulation of the valve opening, and, hence, the control of the percentage amount of dust dispensed. The nozzle of the screw feeder (m) Energies 2022, 15, 133 6 of 20 was located at the end of the blow nozzle (e) through which the air was injected into the tunnel (a).
Energies 2022, 15, x FOR PEER REVIEW 6 of 21 Figure 1. Diagram of the test stand designed for research on the impact of dust concentration on the propagation of ultrasonic waves; a-measuring tunnel, b-direction of airflow, c-anemometer, d-dust meter, e-blow-out nozzle, f-valve, g-compressed air supply, h-dust container with agitator and valve, i-controller, j-transmitter module, k-receiver module, l-ultrasonic transducer, m-screw feeder, n-portable computer, o-air extraction pipe, p-fan, r-air outlet to the outside.
The measuring system consists of a closed tunnel (a) with a cross-sectional dimension of 0.75 × 1 m and a length of 4 m, in which ultrasonic waves propagated and dust of controlled concentration was generated. On one side of the tunnel (a) there was an air injection installation (b) consisting of a blow-out nozzle (e) to which compressed air was connected via a compressed air supply hose (g). The airflow was controlled by a manual valve (f).
Air-dust mixture was generated by attaching a dust dispenser to the blowing nozzle (e), which consisted of a dust container (h) with a mechanical agitator and valve, a screw feeder (m) and a controller (i) allowing for regulation of the valve opening, and, hence, the control of the percentage amount of dust dispensed. The nozzle of the screw feeder (m) was located at the end of the blow nozzle (e) through which the air was injected into the tunnel (a).
On the other side of the tunnel (a), an air extraction pipe (o) was installed, through which the air/dust mixture flowing through the tunnel (a), by a fan (p), was transported outside the measuring station (r). At both ends of the tunnel (a), ultrasonic transducers (l) were installed, connected to the transmitter or receiver of ultrasonic waves (j and k, interchangeably), which made it possible to change the direction of ultrasonic waves propagation during the tests. The distance between the transmitter and receiver was 4 m.
In the middle of the tunnel (a) cross-section, halfway along its length, an air velocity meter-anemometer (c) was installed. At the end of the tunnel (a), on the outlet side, a dust concentration measuring device (d) was set. Measurement data from the receiver module (k) were sent via a serial bus to the computer (n), where they were recorded and analyzed. The external and internal view of the station are presented in Figure 2. On the other side of the tunnel (a), an air extraction pipe (o) was installed, through which the air/dust mixture flowing through the tunnel (a), by a fan (p), was transported outside the measuring station (r). At both ends of the tunnel (a), ultrasonic transducers (l) were installed, connected to the transmitter or receiver of ultrasonic waves (j and k, interchangeably), which made it possible to change the direction of ultrasonic waves propagation during the tests. The distance between the transmitter and receiver was 4 m.
In the middle of the tunnel (a) cross-section, halfway along its length, an air velocity meter-anemometer (c) was installed. At the end of the tunnel (a), on the outlet side, a dust concentration measuring device (d) was set. Measurement data from the receiver module (k) were sent via a serial bus to the computer (n), where they were recorded and analyzed. The external and internal view of the station are presented in Figure 2. The measurements were realized by using pairs of both types of transducers: and AR41, with the propagation of ultrasonic waves in two directions: along and opp to the direction of the airflow. For this purpose, the places of transmitter and rec modules (j, k) were changed.
The amount of dust was determined from dust concentration measured by the 10 gravimetric dust meters [31]. The concentration of total dust was measured duri tests, while in selected samples a second dust meter was used, measuring only the centration of the respirable fraction.
During the test, three types of measurements were taken: (I) without the disturb The measurements were realized by using pairs of both types of transducers: AR30 and AR41, with the propagation of ultrasonic waves in two directions: along and opposite to the direction of the airflow. For this purpose, the places of transmitter and receiver modules (j, k) were changed.
The amount of dust was determined from dust concentration measured by the CIP-10 gravimetric dust meters [31]. The concentration of total dust was measured during all tests, During the test, three types of measurements were taken: (I) without the disturbances from external factors (air movement and dust), hereinafter referred to as "background" measurements, (II) with the flow of dust-free air, marked on the charts as 0%, and (III) with airborne dust, indicated by the percentage setting of the dust feeder controller. In the analyses, measurements from two dust feeder capacities −50% and 100%-were considered.
Four types of dust were used during the tests: • Stone dust, from the drilling of a roadway in a copper mine; Limestone dust, typically used as an extinguishing agent (explosion barrier) in hard coal mines; • A mixture of stone and coal dust.
As the dust feeder controller only had a percentage regulation of the valve opening, before each series of measurements, the amount of dust mass dosed for 1 minute was determined empirically. On this basis, using the following Equation (6), the expected dust concentration in the measuring tunnel was calculated: where: m m -mass of dust fed per minute, l-length of the measuring tunnel, v p -airflow speed, V-the volume of the measuring tunnel. Airflow during the tests was 1 m/s. View of dust level during the tests, at different concentrations and types of dust, is shown in Figure 3.  Measurements were made in a series of 30 samples taken with a time interval of 1 s ("Measurement series" mode). The results are presented in the form of graphs, arranged in terms of the type of transducer used and the direction of ultrasonic waves propagation.

Measurements with the Use of the AR30 Transducer
During testing the dust effect on the propagation times of 30 kHz frequency ultra-  Measurements were made in a series of 30 samples taken with a time interval of 1 s ("Measurement series" mode). The results are presented in the form of graphs, arranged in terms of the type of transducer used and the direction of ultrasonic waves propagation.

Measurements with the Use of the AR30 Transducer
During testing the dust effect on the propagation times of 30 kHz frequency ultrasonic waves, dust concentrations inside the test tunnel presented in Table 1 were used. The dust concentration calculated from the amount of dust fed is higher than the dust concentration measured at the end of the tunnel. This is due to the fact that some of the dust has been deposited at the bottom of the tunnel. In further analysis, the values measured by dust meters were taken into account. Figure 4 shows the graphs of the propagation time of ultrasonic waves at different dust levels and different types of dust. The direction of propagation of ultrasonic waves was consistent with the direction of airflow. The air temperature was 21 • C. Figure 5 shows the propagation times of ultrasonic waves generated from the AR30 transducer with the propagation direction opposite to the airflow direction.

Measurements with the Use of the AR41 Transducer
During testing the dust effect on the propagation times of 41 kHz frequency ultrasonic waves, dust concentrations inside the test tunnel presented in Table 2 were used. Figure 6 shows the diagrams of the propagation time of ultrasonic waves at different dust levels. The direction of propagation of ultrasonic waves was consistent with the direction of airflow. The air temperature was 21 • C. Figure 7 shows the diagrams of propagation times of ultrasonic waves generated from the AR41 transducer with the direction of propagation opposite to the direction of airflow.

Analysis of the Results
Analysis of the results began with a comparison of both tested types of transducers. Figure 8 shows the graphs of the measured propagation times of two types of ultrasonic transducers at maximum dustiness (100% setting) and different directions of ultrasonic waves propagation. Figure 9 compares the propagation times of ultrasonic waves in the presence of all types of dust and the airflow without dust.          During testing the dust effect on the propagation times of 41 kHz frequency ultrasonic waves, dust concentrations inside the test tunnel presented in Table 2 were used.  Figure 6 shows the diagrams of the propagation time of ultrasonic waves at different dust levels. The direction of propagation of ultrasonic waves was consistent with the direction of airflow. The air temperature was 21 °C.

Analysis of the Results
Analysis of the results began with a comparison of both tested types of transducers. Figure 8 shows the graphs of the measured propagation times of two types of ultrasonic transducers at maximum dustiness (100% setting) and different directions of ultrasonic waves propagation.

Analysis of the Results
Analysis of the results began with a comparison of both tested types of transducers. Figure 8 shows the graphs of the measured propagation times of two types of ultrasonic transducers at maximum dustiness (100% setting) and different directions of ultrasonic waves propagation.     Table 3 presents the errors in measuring the propagation time of ultrasonic waves in relation to the background measurement (without airflow and without dust) recorded in all measurement series for the AR30 transducer, and in Table 4 the corresponding data for the AR41.   Table 3 presents the errors in measuring the propagation time of ultrasonic waves in relation to the background measurement (without airflow and without dust) recorded in all measurement series for the AR30 transducer, and in Table 4 the corresponding data for the AR41.  Based on the graphs in Figures 4-7, it can be observed that the recorded values of the propagation time of ultrasonic waves have similar values for a given type of dust and the same direction of the propagation vector. This applies to the case with airborne dust of concentration described in Tables 1 and 2 (the feeder controller set at 50% and 100%), as well as with non-dusted air, the average flow velocity of which was 1 m/s. Moreover, in the case of different types of dust (Figure 9), the wave propagation time was at a similar level. However, a significant difference is caused by the direction of the ultrasonic wave propagation vector in relation to the airflow vector ( Figure 8). This is due to changes in airflow velocity. This relationship was described in Section 2.1. According to the calculations, the flow velocity at the level of 1 m/s causes an absolute error of propagation time measurement of about 0.036 ms over the length of 4 m (in the calculation of this error, the speed of sound propagation was assumed to be 334 m/s). The calculated value corresponds to the recorded differences, shown on the charts (Figure 8). The direction of the ultrasonic wave propagation vector consistent with the airflow vector reduces the measured time values, while the opposite-increases these values (Figure 8). Reference values called "background" were measured without any forced airflow.
A more detailed analysis was made possible by comparing the mean values of the propagation time, relative errors and standard deviation as a measure of the uncertainty, calculated on the basis of the series of measurements, in Table 4. Based on Table 4 and the graphs in Figures 4-7, it can be concluded that the measurements with the forced airflow are characterized by a much larger spread of values (measurement uncertainty) compared to the "background" measurements without the forced air movement. The maximum relative error of the measurements was about 1% and did not depend on the type of dust and its concentration. Moreover, the standard deviation did not depend on these parameters. It can therefore be concluded that the measurement uncertainty does not depend on the type of dust and its concentration, but it depends on the airflow velocity and its homogeneity, which was theoretically foreseen and investigated in our previous publication [10].
By analyzing the mean values and the averaged relative error from the measurement series, it is possible to show a slight increase in their values in the case of a dusty propagation medium, however, the differences are small, representing only fractions of a percent. The largest of the observed differences were in the case of limestone dust, which, however, is rare in hard coal during the normal mining operation. The dust levels used in the tests were at maximum, compared to the conditions that can be encountered in real conditions [12,32,33]. On this basis, it can be concluded that the concentration of dust in the atmosphere of the coal mine roadway will not have a significant impact on the measurements of the propagation time of ultrasonic waves.

Testing the Impact of Temperature Changes on the Propagation Time of Ultrasonic Waves
As the analysis carried out in Section 2.1 showed, the temperature is a factor that can have a noticeable effect on the speed of propagation of ultrasonic waves. For this reason, studies were carried out to determine the dependence of the propagation speed of ultrasonic waves on the temperature of the medium in which the wave is propagated (air). Figure 10 shows a diagram of the next developed test stand. Test tunnel (d) with a closed space was built for the tests to allow to simulate changing atmospheric conditions, in this part of the tests: variable temperature. Dimensions of the tunnel: rectangular base 4 m × 2.2 m, the height of the tunnel 1.9 m. Inside the tunnel, there was a fixed platform (h), on which the transmitter module (e) and one of the ultrasonic transducers (c) were placed. the type of dust and its concentration, but it depends on the airflow velocity and its homogeneity, which was theoretically foreseen and investigated in our previous publication [10]. By analyzing the mean values and the averaged relative error from the measurement series, it is possible to show a slight increase in their values in the case of a dusty propagation medium, however, the differences are small, representing only fractions of a percent. The largest of the observed differences were in the case of limestone dust, which, however, is rare in hard coal during the normal mining operation. The dust levels used in the tests were at maximum, compared to the conditions that can be encountered in real conditions [12,32,33]. On this basis, it can be concluded that the concentration of dust in the atmosphere of the coal mine roadway will not have a significant impact on the measurements of the propagation time of ultrasonic waves.

Testing the Impact of Temperature Changes on the Propagation Time of Ultrasonic Waves
As the analysis carried out in Section 2.1 showed, the temperature is a factor that can have a noticeable effect on the speed of propagation of ultrasonic waves. For this reason, studies were carried out to determine the dependence of the propagation speed of ultrasonic waves on the temperature of the medium in which the wave is propagated (air). Figure 10 shows a diagram of the next developed test stand. Test tunnel (d) with a closed space was built for the tests to allow to simulate changing atmospheric conditions, in this part of the tests: variable temperature. Dimensions of the tunnel: rectangular base 4 m × 2.2 m, the height of the tunnel 1.9 m. Inside the tunnel, there was a fixed platform (h), on which the transmitter module (e) and one of the ultrasonic transducers (c) were placed. Figure 10. Diagram of test stand for testing the effect of temperature on ultrasound propagation velocity; a-measuring thresholds (1, 2, 3 m), b-receiver module, c-ultrasonic transducer, d-test tunnel space, e-transmitter module, f-thermometer, g-repositionable platform, h-fixed platform, i-computer recording measurements, j-gas heater, k-electric heater.
The receiving transducer (c) together with the receiver module (b) was placed on a second, repositionable platform (g), which could be moved, so that the distances between the transducers were set to 1, 2 or 3 m (threshold a). On the platform (g) there was also a calibrated and certified temperature measuring device (f)-Kestrel 4500NV [34]. The measurement results were sent from the receiving module (b) to a portable computer (i) and recorded. Inside the tunnel (d) there was also a gas heater (j) and an electric heater with a fan (k) mixing the air in the tunnel. By adjusting the heating intensity, the temperature inside the tunnel was controlled. The photo of the test stand is shown in Figure 11. The receiving transducer (c) together with the receiver module (b) was placed on a second, repositionable platform (g), which could be moved, so that the distances between the transducers were set to 1, 2 or 3 m (threshold a). On the platform (g) there was also a calibrated and certified temperature measuring device (f)-Kestrel 4500NV [34]. The measurement results were sent from the receiving module (b) to a portable computer (i) and recorded. Inside the tunnel (d) there was also a gas heater (j) and an electric heater with a fan (k) mixing the air in the tunnel. By adjusting the heating intensity, the temperature inside the tunnel was controlled. The photo of the test stand is shown in Figure 11.  Figure 12 shows the measured values of the ultrasonic wave propagation time as a function of temperature. The range of temperature changes was similar to the values that may occur in the real conditions of hard coal mine roadways. Measurements were made at three different distances between the transmitter and receiver: 1, 2 and 3 m. AR30 ultrasonic transducers were used in the experiment. Relative air humidity during the measurements was 50%. Figure 11. Photo of the tunnel enabling the simulation of various environmental conditions (temperature, and in the further part of the research-humidity). Figure 12 shows the measured values of the ultrasonic wave propagation time as a function of temperature. The range of temperature changes was similar to the values that may occur in the real conditions of hard coal mine roadways. Measurements were made at three different distances between the transmitter and receiver: 1, 2 and 3 m. AR30 ultrasonic transducers were used in the experiment. Relative air humidity during the measurements was 50%.
The obtained propagation time was converted into the propagation velocity of the ultrasonic wave, according to the following Equation (7): where: v US -ultrasonic wave propagation speed, d-the distance between transmitter and receiver, t p -wave propagation time.
The graph of wave propagation velocity as a function of air temperature is shown in Figure 13. The velocities were averaged on the basis of three cases presented in Figure 12.
By approximating the results (Figure 13) to the form of a linear function, the equation of the ultrasonic wave propagation velocity as a function of temperature (8) was determined, which can be used to compensate for the influence of temperature changes on the values of the propagation time of ultrasonic waves, which will be developed as part of further work on the devices to accurately determine the location by measuring distances in the conditions of a hard coal mine.  Figure 12 shows the measured values of the ultrasonic wave propagation time as a function of temperature. The range of temperature changes was similar to the values that may occur in the real conditions of hard coal mine roadways. Measurements were made at three different distances between the transmitter and receiver: 1, 2 and 3 m. AR30 ultrasonic transducers were used in the experiment. Relative air humidity during the measurements was 50%. The obtained propagation time was converted into the propagation velocity of the ultrasonic wave, according to the following Equation (7): where: vUS-ultrasonic wave propagation speed, d-the distance between transmitter and receiver, tp-wave propagation time.
The graph of wave propagation velocity as a function of air temperature is shown in Figure 13. The velocities were averaged on the basis of three cases presented in Figure 12. By approximating the results (Figure 13) to the form of a linear function, the equation of the ultrasonic wave propagation velocity as a function of temperature (8) was determined, which can be used to compensate for the influence of temperature changes on the values of the propagation time of ultrasonic waves, which will be developed as part of further work on the devices to accurately determine the location by measuring distances in the conditions of a hard coal mine.

Testing the Impact of Humidity Changes on the Propagation Time of Ultrasonic Waves
Currently, most roadheaders are equipped with water or air-water spraying systems

Testing the Impact of Humidity Changes on the Propagation Time of Ultrasonic Waves
Currently, most roadheaders are equipped with water or air-water spraying systems [35,36]. This is to generate water aerosol curtains that reduce dust concentration. Water aerosol can change humidity in the face of the developed roadway [37,38]. For this purpose, the impact of air humidity on the speed of ultrasonic wave propagation was tested. The test stand presented earlier in Figures 10 and 11 was used for the tests, where general purpose ultrasonic air humidifiers were added to increase and control air humidity. Figure 14 shows the diagrams of the propagation time of ultrasonic waves at distances of 1, 2 and 3 m. The temperature during the tests was 24 • C.
The slope of the trend line obtained as a result of the approximation of the curve from Figure 15 indicates to what extent the wave propagation speed depends on the relative air humidity. The change in humidity in the range of 0-100% causes the change of the wave propagation speed by 0.37%. The influence of relative humidity on the propagation speed of the ultrasonic wave is therefore much smaller than the influence of temperature. This indicates the possibility of omitting it at the stage of designing devices for accurate distance measurement, and then localization, in the conditions of a hard coal mine.  The slope of the trend line obtained as a result of the approximation of the curve from Figure 15 indicates to what extent the wave propagation speed depends on the relative air humidity. The change in humidity in the range of 0-100% causes the change of the wave propagation speed by 0.37%. The influence of relative humidity on the propagation speed of the ultrasonic wave is therefore much smaller than the influence of temperature. This indicates the possibility of omitting it at the stage of designing devices for accurate distance measurement, and then localization, in the conditions of a hard coal mine.  The slope of the trend line obtained as a result of the approximation of the curve from Figure 15 indicates to what extent the wave propagation speed depends on the relative air humidity. The change in humidity in the range of 0-100% causes the change of the wave propagation speed by 0.37%. The influence of relative humidity on the propagation speed of the ultrasonic wave is therefore much smaller than the influence of temperature. This indicates the possibility of omitting it at the stage of designing devices for accurate distance measurement, and then localization, in the conditions of a hard coal mine.

Conclusions
The tests of ultrasonic transducers in this and previous research projects allow concluding that it is possible and justified to use the ultrasonic technology for precise measurements of distances up to 30 m in a hard coal mine. This is an acceptable solution due to safety regulations in the conditions of mining in hard coal mines, in a situation, where other solutions are not recommended to be used, offer too low accuracy or are not convenient to use, e.g., due to the need for a problematic setup before starting the measurements, not resistant to significant dust concentration, humidity or temperature changes.
In the previous part of testing, the AR30 and AR41 ultrasonic transducers were pre-selected, the remaining components of the measurement system were selected and preliminary measurements of the propagation of ultrasonic waves without disturbances were carried out, taking into account the change in speed and direction of air movement in relation to the direction of ultrasound propagation. The results of these studies indicated the validity of the further project, allowing to determine the impact of other types and intensity of disturbances.
The tests on the impact of dust, air movement, humidity and temperature changes on the propagation speed of ultrasonic waves were possible due to the development of special equipment that allows simulating these phenomena in a controlled and repeatable manner. Two test stands were developed. The first of them allows the measurement of ultrasound propagation parameters in varying dust and air movement conditions, taking into account different directions of ultrasonic waves propagation in relation to the direction of air movement, as well as different concentrations and types of dust. The second enables measurements of ultrasound propagation at various temperatures and relative humidity.
The results of measurements of ultrasound propagation parameters in dust and air movement conditions using the first test stand indicate sufficient accuracy of measurements in typical conditions in hard coal mines, however, appropriate correction algorithms should be applied. The recorded values of the propagation time of ultrasonic waves were similar for all types of dust and the same sense of the propagation vector. This applies to the case of dusted air with a dust feeder capacity of 50% and 100%, as well as non-dusted air, with an average flow velocity of 1 m/s. The type of dust used did not have a significant impact on the wave propagation time values, they were at a similar level.
However, a significant difference is caused by the change of the direction of the ultrasonic wave propagation vector in relation to the airflow vector, which is caused by the summation or mutual compensation of the velocity of these phenomena. The direction of the ultrasonic wave propagation vector consistent with the direction of the airflow vector reduces the measured time, while the opposite direction increases these values. Reference values described as "background" were recorded without introducing the dust and forced air movement. On the basis of a more detailed analysis, it can be concluded that the measurements with air movement are characterized by a much larger dispersion of values (measurement uncertainty) compared to the "background" measurements without forced air movement.
The maximum relative error of the measurements was about 1%, regardless of the type of dust and its concentration, also the standard deviation did not depend on these parameters, which allows concluding that the measurement uncertainty does not depend on the type of dust and its concentration but depends on the airflow velocity and its homogeneity, as indicated by the theoretical analysis. Taking into account the average values and the averaged relative error, it is possible to show a slight increase in their values in the case of a dusty propagation medium, but the differences are small enough to be neglected. On this basis, it can be concluded that the concentration of dust in the atmosphere of hard coal mine roadways will not have a significant impact on the measurements of the propagation time of ultrasonic waves.
The results of measurements of ultrasound propagation at various temperatures (in the range of the expected changes in the conditions of a hard coal mine) indicate that the temperature has a noticeable effect on them, however, it is possible to correct this influence, and the value of the correction coefficient was determined as a result of the statistical analysis of the test results.
The results of measurements of ultrasound propagation time at a different relative humidity of the propagation environment, expected in a hard coal mine, indicate that the change in humidity has a minimal effect on the propagation times of ultrasonic waves. It is possible to correct this impact (the value of the correction factor was determined as a result of the statistical analysis of the research results), but it does not seem necessary.
It can therefore be concluded that the ultrasonic technology and AR30 and AR41 transducers selected for testing can be used for further research works aimed at the development of devices that allow for continuous or frequent determination of the position of the roadheader while drilling a roadway in a hard coal mine.