Abstract

In this article, an efficient numerical approach for the solution of second-order delay differential equations to deal with the experimentation of the Internet of Industrial Things (IIoT) is presented. With the help of the Haar wavelet technique, the considered problem is transformed into a system of algebraic equations which is then solved for the required results by using Gauss elimination algorithm. Some numerical examples for convergence of the proposed technique are taken from the literature. Maximum absolute and root mean square errors are calculated for various collocation points. The results show that the Haar wavelet method is an effective method for solving delay differential equations of second order. The convergence rate is also measured for various collocation points, which is almost equal to 2.

1. Introduction

Delay differential equations (DDEs) are type of DEs in which the solution of the unknown function is given in the previous time interval. A system whose performance does not depend directly on time is a time-invariant delay system. This systems can be defined by constant coefficients of the th order ordinary DEs [1]. DDEs are used for modelling of various phenomenon such as modelling of systems with memory, electric circuits, and mechanical systems. The application of these systems in population dynamics [2] can be used in communication networks, mass transportation, remote controls, and biological systems. Many of the processes, both natural and artificial, in medicine, chemistry, engineering, economics, etc. involve time delays. The Internet of Things (IoT) contributes in facilitating the needs of daily life such as IoT for healthcare using effects of Mobile computing [3] and nonlinear delay integro-differential equations for wireless sensor network and IoT [4].

There are numerous approaches available in the literature for the solution DDEs of second order. Seong and Majid [1] developed the Adams Moulton technique to solve the second-order DDEs. Ibrahim [5], used 2h-step Spline method to solve the DDEs. Sedaghat [2], utilized the Chebyshev polynomials method to find the solution of DDEs. Ehigie et al. [6] implement a 3-point block technique to solve DDEs of second order. Chebyshev wavelet technique was developed by Ghasemi and Kajan [7] to solve the DDEs. Ahmad et al. [8] solved the DDEs by a block hybrid method. Multistep methods was used by Okunuga and Ehigie [9] to solve the DDEs. Brown [10] used a method of implicit multistep to solve the DDEs. Ismail et al. [11] found the solution of DDEs by 3-point block methods. Ehigie et al. [12] used a method of 2-step continuous linear multistep to solve the second-order DDEs. Some other well-known methods are the following: Runge-Kutta [13], Shift Walsh matrix method [14], Hermite interpolation method [15], method of retarded initial value problems [16], one-step collocation method [17], coupled block technique [18], one-step block techniques [11], implicit block technique [19], Direct integration implicit variable method [19], predictor-corrector method [20], Taylor method [21], fuzzy mapping and control method [22], variational iteration method [23, 24], and Galerkin method [25]. A structure for the IIoT cloud-fog hybrid network for industry data processing was proposed by Liu et al. [26]. Sahal et al. [27] studied the strong point and flaws of open source technologies for big data. Khan et al. [28] offered the idea of IIoT in a novel manner for supporting readers to comprehend the IIoT. Gulati and Kaur [29] analysed the main opportunities assimilated from the idea of IoT into industry with suggesting reference architecture. The use of Haar wavelet have wide-ranging applications in scientific computing. The Haar Collocation Technique (HCT) is used for fractional Riccati type differential equations [30], Birthmark based identification [31], delay Fredholm-Volterra integral equations [32], delay integrodifferential equations [4], systems of fractional differential equations [33], and fractional integrodifferential equations [34] in recent literature. This article studies the solutions of second-order DDEs, that is, we develop numerical technique using Haar wavelet with constant delay.

In this paper, we discuss the solution of the second-order DDEs using a HCT to deal with the experimentation of IIoT, consider linear DDEs as where is a control function, is the delay condition, and is a state function.

The paper is organized as some basic results and notions are given in Section 2. Section 3 provides the HCT solution for linear DDEs of second order. In Section 4, the HCT validation is given. The results are discussed in Section 5, and the conclusion is given in the last part of the paper.

2. Haar Wavelet

Scaling function on is [35]

Mother wavelet on is

The other terms can be written as where where , and . The number can be calculated as . If we take interval , then values of , , and are: , , . Any member in , is , we truncate this series is Let

Also, is We obtain

Generally,

Thus, [9],

The interval for HCT is discretized as The points defined in the above Eq. (10) are called collocation points (CPs).

3. Numerical Method

Here, we describe the proposed method for second-order DDEs to deal with the experimentation of IIoT. Let , then

Integrating Eq. (11) from to ,

from Eq. (1), , so we get

Now, integrating Eq. (13) from to , the following relation yields:

from Eq. (1), , so we have

By putting Eq. (11), Eq. (13), and Eq. (15) in Eq. (1), we get

Discretizing this Eq. (16) at CPs, we have

The above system in matrix notations as given by where

Hence, is calculated as . This is a linear system of order , which is solved by the Gauss elimination technique. By putting these s in Eq. (15), we get the required solution of second-order DDEs defined in (1).

4. Numerical Examples

Let be approximate and is exact solution for CPs and GPs, then maximum absolute error is . The root mean square errors at CPs is . In CPs, convergence rate is

Example 1. Consider DDE of second order [8] with delay condition and initial condition The analytical solution is .

Example 2. Consider the following second-order DDE [1] with delay condition and initial condition The exact solution is .

Example 3. Consider the following second-order DDE [1] with delay condition and initial condition The exact solution is .

Example 4. Consider DDE of second order as [36] with delay condition and initial condition The exact solution is .

Example 5. Consider the following second-order DDE [8] with delay condition and initial condition The exact solution is .

5. Discussion

The second-order derivative in DDE is expressed as Haar function and the value of the first derivative is obtained by the process of integration. By applying the HCT, we obtain a system of linear equations by substituting CPs. The method of Gauss elimination is used for this system. Finally, by utilizing these coefficients, the solution at CPs is obtained. and errors for different number of CPs are given in Tables. and CPU time (seconds) are also reported in tables for each example. For Example 1, and errors for different number of CPs are shown in Table 1. Table 2 shows the errors for different number of CPs for Example 2, Table 3 represents errors for different number of CPs for Example 3, Table 4 shows the errors for different number of CPs for Example 4, and Table 5 shows the errors for different number of CPs for Example 5. All errors are decreased by taking more CPs. is determined which is nearly equal to , supporting the results shown in [37] by Majak et al. The comparison of both numerical and analytical solution at CPs is also shown in figures. Figure 1 represents the comparison of approximate and exact solution for Example 1, Figure 2 represents the comparison of approximate and exact solution for Example 2, Figure 3 represents the comparison of approximate and exact solution for Example 3, Figure 4 represents the comparison of approximate and exact solution for Example 4, and Figure 5 represents the comparison of exact and approximate solution for Example 5.

6. Conclusion

HCT scheme is devoted for the solution of second-order DDEs to deal with the experimentation of IIoT. The Haar technique is applied to linear DDEs for dealing with the experimentation of the Internet of Industrial Things. The Matlab software is utilized to experiment the Haar wavelet technique with the examples, and the numerical solution is compared with the exact solution. We compare the obtained solution with the exact solution and also we compute the and errors to show the accuracy of the Haar wavelet technique. We give some test problems for the illustration of our results. The experimental rate of convergence for different number of CPs is also calculated which is approximately equal to . The results show that HCT is efficient for solving second-order DDEs. Our future work addresses to overcome the limitation of this study. Moreover, we will apply this technique to high order DDEs and system of DDEs.

Data Availability

No data is available.

Conflicts of Interest

There is no conflicting interest.