# Boundary-Feedback Control of Vibrations on a String with and without Filtering

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Consider the motion of a string clamped on the left but free on the right. This Demonstration shows solutions of the one-dimensional wave equation with various conditions of boundary control, stabilization and damping. The hypothetical box on the right follows the motion of the free end of the string while remaining normal to the string.

[more]
Contributed by: Matthew Poynter, Logan Stewart, Ahmet Kaan Aydin and Ahmet Özkan Özer (August 2022)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

A semi-discretized one-dimensional boundary controlled string, clamped on the left end and free on the other end, is considered. Three approximation techniques are implemented for the partial differential equation (PDE) model defined in (1). For each technique, let the mesh parameter be where is the number of nodes in the uniform discretization in space variable , and * *is the length of the beam, which is taken to be 1 for simplicity. Now, the nodes are as the following:

.

Letting describe the vibrations on the string, three approximations for (1) are given as the following:

Filtered Finite Differences (FFD):

Filtered Finite Elements (FFE):

Order-Reduced (unfiltered) Finite Differences (ORUFD):

Here is the filtering term in the form of viscosity, i.e. . The initial conditions can be chosen as the following:

where is replaced by for . It is crucial to note that the discretized model corresponding to the ORUFD is identical to the one obtained by the Mixed Finite Elements (MFE) method [1].

The convergence of the solutions of the filtered model to the ones of the PDE model is shown as the mesh parameter [2, 6]. The same approach is successfully used in [5] for the Rayleigh beam equation where the differential equation is still a wave type.

In the case of ORUFD, Finite-Difference approximations are applied to an equivalent first-order system [3].

Two solvers, ParametricNDSolve and NDSolve, offer different computation times depending on the choice of controllers. The following table shows the computation times for six different conditions: Odd-numbered experiments 1, 3, 5 have low-frequency initial conditions and even-numbered experiments 2, 4, 6 have high-frequency initial conditions. Experiments 3, 4 are without filtering and experiments 5, 6 are done for a high number of nodes. The number 1 represents the failure of the method, while 0 is for the expected result. These results indicate that while ParametricNDSolve is more efficient for a low number of nodes, it might fail on a high number of nodes. The solutions found by both methods are identical.

Note that an earlier version of a similar Demonstration by only the FFD is considered in [4], yet without involving different sets of initial conditions, other approximation techniques or another solver of Mathematica. Here, the main contribution is the implementation of FFE and ORUFD.

This material is based upon work supported by the National Science Foundation under Cooperative Agreement No. 1849213. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

References

[1] H. T. Banks, K. Ito and C. Wang, in "Exponentially Stable Approximations of Weakly Damped Wave Equations," *Estimation and Control of Distributed Parameter Systems* (W. Desch, F. Appel and K. Kunisch, eds.), *Proceedings of an International Conference on Control and Estimation of Distributed Parameter Systems, Vorau, July 8–14, 1990*, Basel: Birkhäuser, 1991 pp. 1–33. doi:10.1007/978-3-0348-6418-3_ 1.

[2] J. A. Infante and, E. Zuazua, "Boundary Observability for the Space Semi-discretizations of the 1-D Wave Equation", *ESAIM M2AN*, 33(2), 1999 pp. 407–438. doi:10.1051/m2an:1999123.

[3] J. Liu and B.-Z. Guo, "A New Semidiscretized Order Reduction Finite Difference Scheme for Uniform Approximation of One-Dimensional Wave Equation," *SIAM Journal on Control and Optimization*, 58(4), 2020 pp. 2256–2287. doi:10.1137/19M1246535.

[4] D. Price, E. Moore and A. Ö. Özer. "Boundary Control of a 1D Wave Equation by the Filtered Finite-Difference Method" from the Wolfram Demonstrations Project—A Wolfram Web Resource. demonstrations.wolfram.com/BoundaryControlOfA1DWaveEquationByTheFilteredFiniteDifferenc.

[5] A. Ö. Özer, "Uniform Boundary Observability of Semi-discrete Finite Difference Approximations of a Rayleigh Beam Equation with Only One Boundary Observation," in *2019 IEEE 58th Conference on Decision and Control (CDC)*, Nice, France, 2019, Piscataway, NJ: IEEE, 2019 pp. 7708–7713. doi:10.1109/CDC40024.2019.9028954.

[6] L. T. Tebou and E. Zuazua, "Uniform Boundary Stabilization of the Finite Difference Space Discretization of the 1- Wave Equation," *Advances in Computational Mathematics*, 26, 2007 337. doi:10.1007/s10444-004-7629-9.

## Permanent Citation