20.6.5.6. First Order Hold

The First Order Hold block implements first-order sample and hold for a sample period specified in the block parameter.

Dialog box

../_images/image1454.png

Figure 20.81 First Order Hold dialog box

Table 20.43 Parameters

Parameter(s)

Description

Sample time

Enter the time interval between samples.

20.6.5.6.1. Example

The First Order Hold block is a mathematical model of the practical reconstruction of sampled signals that could be done by a conventional digital-to-analog converter (DAC) and an analog circuit called an integrator. For the FOH, the signal is reconstructed as a piecewise linear approximation to the original signal that was sampled. We can test the DAC with the CoLink model shown in the below figure The Sine block is configured to a frequency of 10rad/sec and an amplitude of 1. The First Order Hold block Sample time is set to 0.1. Set solver type to Fixed-Step, discrete (no continuous states), and let End time be 1.

../_images/image1463.png

Figure 20.82 colink model

../_images/image1473.png

Figure 20.83 A result from scope