SMODEM: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>NotWith
DOS Protected Mode Interface
m fix % bug in <math> use \% to avoid parse errors
 
Line 1: Line 1:
The '''first-order hold (FOH)''' 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 function|piecewise linear]] approximation to the original signal that was sampled. A mathematical model such as the FOH (or, more commonly, the [[zero-order hold]]) is necessary because, in the [[Nyquist–Shannon sampling theorem|sampling and reconstruction theorem]], a sequence of [[dirac delta function|dirac impulses]], ''x''<sub>s</sub>(''t''), representing the discrete samples, ''x''(''nT''), is [[low-pass filter]]ed to recover the original signal that was sampled, ''x''(''t''). However, outputting a sequence of dirac impulses is decidedly impractical.      Devices can be implemented, using a conventional DAC and some linear analog circuitry, to reconstruct the piecewise linear output for either the predictive or delayed FOH.
Hello. Allow me introduce the writer. Her name is Emilia Shroyer but it's not the most feminine home [http://www.smylestream.org/groups/solid-advice-in-relation-to-candida/ std testing at home] test kit name out there. South Dakota is her birth location but she requirements to transfer because of her family members. To [http://www.walmart.com/catalog/allReviews.do?product_id=15136183 collect cash] is one of the things I adore most. Since she was eighteen she's been [http://dateplate.com/dayzfe home std test kit] working as a receptionist but her over the counter std test marketing never comes.<br><br>my web blog ... std home test ([http://www.pinaydiaries.com/blog/104745 visit the following post])
 
Even though this is '''not''' what is physically done, an identical output can be generated by applying the hypothetical sequence of dirac impulses, ''x''<sub>s</sub>(''t''), to a [[LTI system|linear, time-invariant system]], otherwise known as a [[electronic filter|linear filter]] with such characteristics (which, for an LTI system, are fully described by the [[impulse response]]) so that each input impulse results in the correct piecewise linear function in the output.
 
==Basic first-order hold==
[[Image:Sampled.signal.svg|thumb|Ideally sampled signal ''x''<sub>s</sub>(''t'').]]
 
The first-order hold is the hypothetical [[filter (signal processing)|filter]] or [[LTI system]] that converts the ideally sampled signal
 
: <math>
\begin{align}
x_s(t) & {} = x(t) \ T \sum_{n=-\infty}^{\infty} \delta(t - nT) \\
& {} = T \sum_{n=-\infty}^{\infty} x(nT) \delta(t - nT)
\end{align}
</math>
 
[[Image:Firstorderhold.signal.svg|thumb|Piecewise linear signal ''x''<sub>FOH</sub>(''t'').]]
 
to the piecewise linear signal
 
:<math>x_{\mathrm{FOH}}(t)\,= \sum_{n=-\infty}^{\infty} x(nT) \mathrm{tri} \left(\frac{t - nT}{T} \right) \ </math>
 
[[Image:Firstorderhold.impulseresponse.svg|thumb|Impulse response (non-causal) of first-order hold ''h''<sub>FOH</sub>(''t'').]]
 
resulting in an effective [[impulse response]] of
 
: <math>h_{\mathrm{FOH}}(t)\,=  \frac{1}{T} \mathrm{tri} \left(\frac{t}{T} \right)
= \begin{cases}
\frac{1}{T} \left( 1 - \frac{|t|}{T} \right) & \mbox{if } |t| < T  \\
0          & \mbox{otherwise}
\end{cases} \ </math>
 
: where <math>\mathrm{tri}(x) \ </math> is the [[triangular function]].
 
The effective frequency response is the [[continuous Fourier transform]] of the impulse response.
 
:{|
|-
|<math>H_{\mathrm{FOH}}(f)\,</math>
|<math>= \mathcal{F} \{ h_{\mathrm{FOH}}(t) \} \ </math>
|-
|
|<math>= \left( \frac{e^{i \pi fT} - e^{-i \pi fT}}{i 2 \pi fT} \right)^2 \ </math>
|-
|
|<math>= \mathrm{sinc}^2(fT) \ </math>
|}
 
: where <math>\mathrm{sinc}(x) \ </math> is the [[sinc function]].
 
The [[Laplace transform]] [[transfer function]] of the FOH is found by substituting ''s'' = ''i'' 2 π ''f'':
 
:{|
|-
|<math>H_{\mathrm{FOH}}(s)\,</math>
|<math>= \mathcal{L} \{ h_{\mathrm{FOH}}(t) \} \ </math>
|-
|
|<math>= \left( \frac{e^{sT/2} - e^{-sT/2}}{sT} \right)^2 \ </math>
|}
 
This is an [[acausal system]] in that the linear interpolation function moves toward the value of the next sample before such sample is applied to the hypothetical FOH filter.  This acausality is also reflected in the impulse response of the FOH filter beginning to respond before impulse is applied.
 
==Delayed first-order hold==
[[Image:Delayedfirstorderhold.signal.svg|thumb|Delayed piecewise linear signal ''x''<sub>FOH</sub>(''t'').]]
 
The '''delayed first-order hold''', sometimes called '''causal first-order hold''', is identical to the FOH above except that its output is delayed by one [[sampling frequency|sample period]] resulting in a delayed piecewise linear output signal
 
:<math>x_{\mathrm{FOH}}(t)\,= \sum_{n=-\infty}^{\infty} x(nT) \mathrm{tri} \left(\frac{t - T - nT}{T} \right) \ </math>
 
[[Image:Delayedfirstorderhold.impulseresponse.svg|thumb|Impulse response of causal first-order hold ''h''<sub>FOH</sub>(''t'').]]
 
resulting in an effective [[impulse response]] of
 
: <math>h_{\mathrm{FOH}}(t)\,=  \frac{1}{T} \mathrm{tri} \left(\frac{t-T}{T} \right)
= \begin{cases}
\frac{1}{T} \left( 1 - \frac{|t-T|}{T} \right) & \mbox{if } |t-T| < T  \\
0          & \mbox{otherwise}
\end{cases} \ </math>
 
: where <math>\mathrm{tri}(x) \ </math> is the [[triangular function]].
 
The effective frequency response is the [[continuous Fourier transform]] of the impulse response.
 
:{|
|-
|<math>H_{\mathrm{FOH}}(f)\,</math>
|<math>= \mathcal{F} \{ h_{\mathrm{FOH}}(t) \} \ </math>
|-
|
|<math>= \left( \frac{1 - e^{-i 2\pi fT}}{i 2 \pi fT} \right)^2 \ </math>
|-
|
|<math>= e^{-i 2 \pi fT} \mathrm{sinc}^2(fT) \ </math>
|}
 
: where <math>\mathrm{sinc}(x) \ </math> is the [[sinc function]].
 
The [[Laplace transform]] [[transfer function]] of the delayed FOH is found by substituting ''s'' = ''i'' 2 π ''f'':
 
:{|
|-
|<math>H_{\mathrm{FOH}}(s)\,</math>
|<math>= \mathcal{L} \{ h_{\mathrm{FOH}}(t) \} \ </math>
|-
|
|<math>=  \left( \frac{1 - e^{-sT}}{sT} \right)^2 \ </math>
|}
 
The delayed output makes this a [[causal system]].  The impulse response of the delayed FOH does not respond before the input impulse.
 
This kind of delayed piecewise linear reconstruction is physically realizable by implementing a [[digital filter]] of gain ''H''(''z'') = 1 − ''z''<sup>−1</sup>, applying the output of that digital filter (which is simply ''x''[''n'']−''x''[''n''−1]) to an ideal conventional [[digital-to-analog converter]] (that has an inherent [[zero-order hold]] as its model) and [[integrator|integrating]] (in continuous-time, ''H''(''s'') = 1/(''sT'')) the DAC output.
 
==Predictive first-order hold==
[[Image:Predictivefirstorderhold.signal.svg|thumb|Predictive FOH output signal ''x''<sub>FOH</sub>(''t'').]]
 
Lastly, the '''predictive first-order hold''' is quite different. This is a ''causal'' hypothetical LTI system or filter that converts the ideally sampled signal
 
:{|
|-
|<math>x_s(t)\,</math>
|<math>= x(t) \ T \sum_{n=-\infty}^{\infty} \delta(t - nT) \ </math>
|-
|
|<math>= T \sum_{n=-\infty}^{\infty} x(nT) \delta(t - nT) \ </math>
|}
 
into a piecewise linear output such that the current sample and immediately previous sample are used to linearly [[extrapolate]] up to the next sampling instance.  The output of such a filter would be
 
:{|
|-
|<math>x_{\mathrm{FOH}}(t)\,</math>
|<math>= \sum_{n=-\infty}^{\infty} \left( x(nT) + \left( x(nT) - x((n-1)T) \right) \frac{t-nT}{T} \right) \mathrm{rect} \left(\frac{t - nT}{T} - \frac{1}{2} \right) \ </math>
|-
|
|<math>= \sum_{n=-\infty}^{\infty} x(nT) \left( \mathrm{rect} \left(\frac{t - nT}{T} - \frac{1}{2} \right) - \mathrm{rect} \left(\frac{t - nT}{T} - \frac{3}{2} \right) + \mathrm{tri} \left(\frac{t - nT}{T} - 1 \right) \right) \ </math>
|}
 
[[Image:Predictivefirstorderhold.impulseresponse.svg|thumb|Impulse response of predictive first-order hold ''h''<sub>FOH</sub>(''t'').]]
 
resulting in an effective [[impulse response]] of
 
:{|
|-
|<math>h_{\mathrm{FOH}}(t)\,</math>
|<math>= \frac{1}{T}  \left( \mathrm{rect} \left(\frac{t}{T} - \frac{1}{2} \right) - \mathrm{rect} \left(\frac{t}{T} - \frac{3}{2} \right) + \mathrm{tri} \left(\frac{t}{T} -1 \right) \right) \ </math>
|-
|
|<math>= \begin{cases}
\frac{1}{T} \left( 1 + \frac{t}{T} \right) & \mbox{if } 0 \le t < T  \\
\frac{1}{T} \left( 1 - \frac{t}{T} \right) & \mbox{if } T \le t < 2T  \\
0          & \mbox{otherwise}
\end{cases} \ </math>
|}
 
: where <math>\mathrm{rect}(x) \ </math> is the [[rectangular function]] and <math>\mathrm{tri}(x) \ </math> is the [[triangular function]].
 
The effective frequency response is the [[continuous Fourier transform]] of the impulse response.
 
:{|
|-
|<math>H_{\mathrm{FOH}}(f)\,</math>
|<math>= \mathcal{F} \{ h_{\mathrm{FOH}}(t) \} \ </math>
|-
|
|<math>= (1 + i 2\pi fT) \left( \frac{1 - e^{-i 2\pi fT}}{i 2\pi fT} \right)^2 \ </math>
|-
|
|<math>= (1 + i 2\pi fT) e^{-i 2\pi fT} \mathrm{sinc}^2(fT)) \ </math>
|}
 
: where <math>\mathrm{sinc}(x) \ </math> is the [[sinc function]].
 
The [[Laplace transform]] [[transfer function]] of the predictive FOH is found by substituting ''s'' = ''i'' 2 π ''f'':
 
:{|
|-
|<math>H_{\mathrm{FOH}}(s)\,</math>
|<math>= \mathcal{L} \{ h_{\mathrm{FOH}}(t) \} \ </math>
|-
|
|<math>=  (1 + sT) \left( \frac{1 - e^{-sT}}{sT} \right)^2 \ </math>
|}
 
This a [[causal system]]. The impulse response of the predictive FOH does not respond before the input impulse.
 
This kind of piecewise linear reconstruction is physically realizable by implementing a [[digital filter]] of gain ''H''(''z'') = 1 − ''z''<sup>−1</sup>, applying the output of that digital filter (which is simply ''x''[''n'']−''x''[''n''−1]) to an ideal conventional [[digital-to-analog converter]] (that has an inherent [[zero-order hold]] as its model) and applying that DAC output to an analog filter with transfer function ''H''(''s'') = (1+''sT'')/(''sT'').
 
==See also==
* [[Nyquist–Shannon sampling theorem]]
* [[Zero-order hold]]
*[[Bilinear interpolation]]
 
==External links==
* [http://www.dsplog.com/2007/03/25/zero-order-hold-and-first-order-hold-based-interpolation/  Zero order hold and first order hold based interpolation]
 
[[Category:Digital signal processing]]
[[Category:Electrical engineering]]
[[Category:Control theory]]
[[Category:Signal processing]]

Latest revision as of 08:49, 28 October 2014

Hello. Allow me introduce the writer. Her name is Emilia Shroyer but it's not the most feminine home std testing at home test kit name out there. South Dakota is her birth location but she requirements to transfer because of her family members. To collect cash is one of the things I adore most. Since she was eighteen she's been home std test kit working as a receptionist but her over the counter std test marketing never comes.

my web blog ... std home test (visit the following post)