Introduction to Simulink with Engineering Applicatioins, Second Edition

This chapter is devoted to engineering applications with examples using appropriate Simulink blocks to illustrate the application of the blocks in the libraries which we described in Chapters 2 through 19. Most of these applications may be considered components or subsystems of large systems such as the demos provided by Simulink.
We will present several applications to differential equations in Subsections 20.1.1 through 20.1.10 below, where in Subsections 20.1.1 through 20.1.6 we have derived the solutions as a brief review, and for convenience to the reader. In previous chapters we used Integrator blocks to display the waveforms of the solutions. In these subsections we have created models based on the solutions, to illustrate the applications of several Simulink blocks, and in some instances to verify the results with MATLAB statements.
It is also useful to remember that some analogies between mechanical and electrical components are as shown in Table 20.1 below.
| Mechanical | Electrical |
|---|---|
| Mass m | Inductance L |
| Displacement X | Charge Q |
| Damping factor ? | Resistance R |
| Spring constant k | Reciprocal of Capacitance, i.e., 1 /C |
| Force F | Electromotive force E (or V) |
Figure 20.1 below shows a bouncing ball. The ball is dropped from a meters above a flat surface, and each time the ball hits the ground after falling a distance h it rebounds a distance rh, where r is a positive number less than one. We will derive an expression for...