1 Introduction

Vehicles that use natural gas, which are called NGVs (natural gas vehicles), have the advantages of low fuel costs, low environmental pollution impacts, and good combustion stability compared with conventional vehicles [1]. NGVs are used worldwide and promoted as a mode of green transportation. By the end of 2018, the total number of NGVs in the world exceeded 26 million, making these vehicles one of the most promising clean energy vehicles [2,3,4]. There are three major methods for the high-density storage of natural gas: liquefied natural gas (LNG), compressed natural gas (CNG), and adsorbed natural gas (ANG). The most commonly used method is CNG [5], and the core component of an NGV is the CNG cylinder.

The volume and weight of the cylinders are strictly limited in CNG vehicles. To increase the energy storage, it is necessary to maximize the filling pressure while minimizing the weight of the CNG cylinder, which obviously poses a considerable challenge for the safety of the cylinders [6]. The materials and structure of CNG cylinders for vehicles have continually evolved, as the requirements for reduced weight, increased energy storage, and safety have increased [7,8,9,10,11,21]. The pulsed infrared thermal imaging method involves first increasing the cylinder temperature by external pulses and then detecting the surface temperature distribution of the winding layer using an infrared thermal imager [22]. Gas filling is another way to increase the cylinder temperature. Schmidlin and Dutton studied the fast filling process by filling a tubular vessel with a compressible gas and obtained the temperature field [23, 24]. Means studied the heat transfer process after gas injection and identified different heat transfer modes at various injection positions for various tank geometries [25]. Diggins investigated the effects of CNG cylinder material properties on fast filling operation [26]. These previous studies have shown that the filling process of gas cylinders is accompanied by an increase in temperature. This increase is caused by a combination of four factors during the filling process: (1) the injection of high-speed gas into the cylinder, with the kinetic energy converted into internal energy, (2) the work done by the compression of the gas in the cylinder, (3) the Joule–Thomson effect, and (4) heat exchanges between the inside and outside of the cylinder through the wall.

When a cylinder is filled with gas, the temperature increases in the cylinder, and the internal heat is conducted to the external environment through the steel layer and the winding layer. If defects exist in the winding layer of the cylinder, the heat conduction capacity at the defect is significantly lower than that in the surrounding area. The defect is equivalent to a source of thermal resistance, which hinders the conduction of heat and leads to an uneven temperature distribution on the surface of the winding layer. Researchers have obtained the surface temperature distribution of the cylinder during filling experiments by arranging thermocouples. Shen [27] analyzed the hydrogen charging and discharging process and measured the temperature changes by arranging temperature sensors throughout the inner and outer wall surfaces of a gas cylinder. Dicken [28] studied the filling process with a quantitative gas supply. Temperature sensors were installed on the inner wall of the cylinder to capture the heat exchange data. However, this method easily causes damage to the gas cylinder and has issues such as the difficulty of disassembly and inaccurate positioning.

In this study, infrared thermal imaging technology was employed to obtain the temperature distribution on the surface of a CNG cylinder. Defects in the cylinder winding layer hinder the conduction of heat, resulting in an uneven temperature distribution on the surface of the winding layer. The temperature difference can be seen as hot spots when using an infrared thermal imager to detect defects in the cylinder. Infrared thermal imaging is a technology that detects radiation information. Compared with temperature sensors, infrared thermal imaging has the advantages of a fast response time, a wide measurement range, being nondestructive, and not requiring contact, which meets the requirements for nondestructive testing in high-precision industries [29]. Infrared thermal imaging technology is widely used to inspect for internal defects and impact damage in aerospace composite components [30,31,32,33,34,35,36,37]. This technology has entered the engineering application stage and has been applied in an increasing number of fields [38,39,40,41,42].

In this paper, a three-dimensional model of a CNG composite-wound cylinder was established by using finite element simulation software. The change in the temperature of the cylinder wall during the filling process was monitored using infrared thermal imaging technology. The influence of winding layer defects on the temperature of the cylinder wall during the filling process was explored. The results of this study provide a basis and reference for the detection of defects in cylinder winding layers and a method for detecting winding layer defects based on thermal effects during gas filling.

2 Detection principle

There is a thermal effect during the gas filling process: as the temperature inside the gas cylinder continuously increases, a temperature difference is formed between the inside and the outside of the cylinder, and thus, heat is transferred to the external environment through the winding layer and the steel layer. Heat is transferred mainly through three mechanisms: heat conduction, heat convection, and heat radiation. Thermal convection occurs between the gas and the steel liner, heat conduction occurs between the steel liner and the winding layer, and heat convection and heat radiation occur between the winding layer and the external environment. This study only considered the heat conduction process; the heat radiation and heat convection processes were ignored to simplify the model. The overall structure of the gas cylinder is symmetrical. For a qualified gas cylinder, there are no protrusions or depressions on the inner or outer surfaces. Therefore, the temperature distribution on the outer wall of the cylinder is uniform during the filling process, and the direction of heat flow is perpendicular to the surface of the wall, as shown in Fig. 1. When there is a defect in the winding layer of the cylinder, the heat flow tends to propagate forward around the defect because the thermal conductivity of the air is lower than that of the winding layer (Table 1 [43]). The isotherms are perpendicular to the heat flow lines. Figure 2 shows that the isotherm has a significant depression; that is, the temperature distribution of the cylinder surface is uneven, indicating that the defect is equivalent to a source of thermal resistance that hinders heat transfer. The temperature differences can be captured by an infrared thermal imager as hot spots, which can be used to identify and measure the defects in the cylinder winding layers.

Fig. 1
figure 1

Distribution of heat flow lines without defects

Table 1 Thermal conductivity
Fig. 2
figure 2

Distribution of heat flow lines in the presence of defects

3 CFD model construction and validation

3.1 CFD model construction

The software Fluent is an application based on the finite element method. Fluent is widely used to simulate the physical processes of fluid flow and heat exchange and is applicable to complex processes such as high-speed flow fields and heat transfer [44]. This study used ANSYS-Fluent fluid dynamics simulation software to simulate the increase in the temperature of CNG composite-wound cylinders during the filling process.

In this paper, a CNG2-325-55-20B-type cylinder was selected as the object of the simulation. The main parameters of the cylinder are shown in Table 2. The cylinder consists of two layers: an inner steel liner and an outer composite winding layer. The thermophysical parameters of the steel layer and the composite winding layer are shown in Table 3. The structure of the cylinder consists of four parts: the inner vessel, the steel layer, the winding layer, and the inlet. Meshing was carried out for each part. Mesh refinement was conducted at the inlet and each wall surface, and the total number of mesh units exceeded 2.53 million. The meshing results satisfied the mesh quality assessment rules. The model had a high mesh quality and clear structure and was thus representative of an actual gas cylinder.

Table 2 Main parameters of the cylinder
Table 3 Thermophysical parameters of cylinder

Three defects, A, B, and C, were added to the three-dimensional model of the gas cylinder. Defect B was located at the centerline of the cylinder, and defects A and C were symmetrically arranged at distances of 150 mm from the centerline of the cylinder. According to GB 24,162–2009 “Periodic inspection and evaluation of hoop wrapped fiber reinforced composite gas cylinders with metal liners of compressed natural gas for automotive vehicles,” the damage in the winding layers can be classified into three types (Table 4). A defect with a depth of less than 0.25 mm is defined as primary damage, which refers to minor damage that occurs during normal use. Cylinders with primary damage can continue to be used. A defect at a depth greater than 0.25 mm but less than 1.25 mm is defined as secondary damage, which refers to damage that is more serious than primary damage but can be repaired. A defect at a depth greater than 1.25 mm is defined as tertiary damage, which refers to serious damage that occurs during use. Cylinders with tertiary damage can no longer be used. Based on this classification of winding layer damage, the depths of defects A, B, and C were set to 0.25, 0.75, and 1.25 mm, respectively. The CNG composite-wound cylinder model with a defective winding layer constructed in this study is shown in Fig. 3.

Table 4 Types of winding layer damage and definitions
Fig. 3
figure 3

CNG composite-wound cylinder model with a defective winding layer

3.2 CFD model validation

The main equipment of the gas filling experiment included an FLIRE50 infrared thermal imager, a CNG2-325–55-20B-type gas cylinder, and a gas supply controller. The pressure source used in this study was a pressure device consisting of a high-pressure tank and an air compressor. In the experiment, the surface temperature of the composite winding layer of the cylinder was detected by the model FLIRE50 infrared thermal imager. The parameters and working conditions used in the filling experiment were consistent with those used in the simulation.

The temperature curves at defects A, B, and C obtained in the filling experiment were compared with the numerical simulation results at the corresponding positions (Fig. 4). The simulated temperature curves were basically consistent with the experimental curves in all three cases. The temperature continuously increased with the filling time and reached the maximum at the end of the filling process. Differences were also observed between the experimental curves and the simulated curves. The reason for the difference is that during the actual filling process, the environmental temperature gradually increased, so the heat exchange between the wall surface and the external environment was reduced. However, the environmental parameters used in the simulation were fixed. A comparative analysis indicated that the parameters of the established cylinder model are appropriate. Thus, the gas filling process can be simulated well, reflecting the actual conditions, and the simulation results can provide reliable data support for subsequent research.

Fig. 4
figure 4

Comparison of experimental temperature and simulated temperature at A, B, and C

4 Defect detection method for cylinder winding layer

4.1 Detection method

To study the influence of the winding layer defect depth on the temperature and to explore the method for quantitatively evaluating the defect depth, we set the winding layer defect depth as a variable. The depths at defect A in the cylinder winding layer were set to A1 = 1.25 mm, A2 = 0.75 mm, and A3 = 0.25 mm. Three simulations were carried out to obtain the temperature curves of A at different defect depths (Fig. 5). At the beginning and end of the filling process, the temperature curves almost overlapped, and the temperature differences between the three curves were almost zero. However, in the middle stage of the filling process, the temperature curves at different defect depths significantly differed. Therefore, a method for the quantitative detection of cylinder defects was established by quantifying the differences between cylinders with different winding layer defect depths during the middle stage of the filling process.

Fig. 5
figure 5

Temperature curves at different defect depths

After the further processing of the simulation data, the gradient changes of the temperature curves under different defect depth conditions were obtained. The differences between the temperature curves obtained at different defect depths were amplified by normalization. Then, a parameter R closely related to the defect location and defect depth was proposed. The value of R reflects the deviation of the temperature at the defect from the temperature in the normal region.

$$R = \frac{{T_{d} - T_{s} }}{{T_{d} }}$$
(1)

where Td is the temperature at a nondefective point on the wall during filling and Ts is the temperature at the defect on the wall during filling.

The simulation process was repeated on defects B and C using the same three defect depths as those for point A. The R values as a function of time at A, B, and C with different defect depths are shown in Fig. 6. In general, the R value gradually increased during the initial stage of filling. After reaching the maximum, the R value then gradually decreased until the end of filling. This effect occurs because a defect can be considered to be a source of thermal resistance in the heat transfer process, which can effectively hinder heat transfer. At the beginning of the filling process, the temperature inside the cylinder is low, and the difference between the temperatures of the inside and outside is limited. At this time, the hindrance in the heat transfer is not significant. As the temperature difference increases, the thermal resistance phenomenon becomes more pronounced, and the R value gradually increases. After a certain period of time, the difference between the temperatures of the outside and inside of the cylinder gradually decreases, so the R value gradually decreases.

Fig. 6
figure 6

R values for each defect at different depths

Figure 6 shows that when the defect location is known, the defect depth and the maximum R value are correlated. The deeper the defect is, the larger the maximum R value is. The relationships between the defect depths at A, B, and C and the corresponding maximum R value were established and are shown in Fig. 7. According to the criteria described in Sect. 2.1, the white region indicates that the defect is unacceptable and that the cylinder needs to be discarded. The blue and orange regions indicate that the defect is acceptable but needs to be repaired. The gray area indicates that the defect is acceptable, i.e., the cylinder meets the working condition requirements and can be used without repair.

Fig. 7
figure 7

Maximum R value of each defect

When the defect location is known, a function can be fitted between the maximum R value and the defect depth by using the correlation between these values and the boundary conditions. In engineering practice, a location with an abnormal temperature and the maximum R value can be obtained by infrared thermal imaging technology. The depth of the defect in the winding layer can therefore be determined using the fitted relationship function.

4.2 Application example of the detection method

In this section, a composite-wound gas cylinder with defects in the winding layer was customized. A groove was cut at point B to form a rectangular defect with a size of 10 mm × 10 mm × 1 mm in the winding layer, and another groove was cut at point C to form a rectangular defect with a size of 10 mm × 10 mm × 2 mm. The gas filling experiment was performed on this cylinder. The R values at defect B and defect C as a function of time were captured using infrared thermal imaging technology (Fig. 8). The maximum R value was 0.138 at defect B and 0.0863 at defect C. The two data points are marked in Fig. 9.

Fig. 8
figure 8

R values at B and C as a function of time

Fig. 9
figure 9

Maximum R values at defects B and C

The maximum R values of defect B at depths of 0.25 mm, 0.75 mm, and 1.25 mm can be determined from Fig. 6. According to Eq. (1) (\({\mathrm{T}}_{s}\) is the environmental temperature of 25 °C), the maximum R value of defect B was 0 at a 0 mm depth and 0.2 when the depth approached 5 mm. The above data points and boundary points are listed in Table 5. Similarly, the data points and boundary points at defect C are listed in Table 6.

Table 5 Data points and boundary points at defect B
Table 6 Data points and boundary points at defect C

The data in Tables 5 and 6 were fitted well by a power function to obtain the maximum R value-defect depth curves at defect B and defect C (Fig. 10). When the maximum R value of defect B was 0.138, the depth of defect B determined by the fitted curve was 2.11 mm, while the actual depth was 2 mm. Similarly, when the maximum R value of defect C was 0.0863, the depth of defect C determined by the fitted curve was 0.86 mm, while the actual depth was 1 mm. The method established in this paper can evaluate and classify defects at the level of the basic detection requirements. Thus, this method be used to quantitatively detect defects in a cylinder winding layer.

Fig. 10
figure 10

Defect depth-maximum R fitted curve

5 Conclusions

Defect detection technology for CNG composite-wound cylinders is essential to ensure the safety of NGVs. In this study, a gas cylinder model was constructed using simulation software, and the influence of winding layer defects on the temperature behavior during the gas filling process was studied. The results show the following:

  1. (1)

    A defect in the winding layer of the cylinder acts as a source of thermal resistance that hinders heat transfer. The more serious the defect is, the greater the hindering effect is. The test data obtained by numerical simulation using this principle can quantify the severity of the defect to a certain extent.

  2. (2)

    An evaluation model based on the R parameter was proposed for changes in the temperature curves caused by defects. A quantitative correlation between the maximum R and the defect depth was established. Thus, this method provides a practical approach for the rapid detection and evaluation of defects in cylinder winding layers.