{"id":295,"date":"2017-09-24T02:36:07","date_gmt":"2017-09-24T06:36:07","guid":{"rendered":"http:\/\/64.25.106.130\/?page_id=295"},"modified":"2017-09-24T02:36:07","modified_gmt":"2017-09-24T06:36:07","slug":"integrating-sampler","status":"publish","type":"page","link":"https:\/\/www.irrelevant-tech.com\/index.php\/integrating-sampler\/","title":{"rendered":"Integrating Sampler"},"content":{"rendered":"<p>The standard impulse sampler used to convert a continuous signal to a discrete sequence has been well understood since 1924 thanks to Harry Nyquist.\u00a0 Its main weakness is that all the signal information between the sample instants is lost.\u00a0 As a result, the original signal cannot be faithfully reconstructed if it contains energy at frequencies above 1\/2 the sampling frequency because of aliasing.\u00a0 These aliased frequencies are at the full amplitude of the high frequency signal. \u00a0This is normally reduced or suppressed by a band limiting \u201canti-alias\u201d filter that reduces the signal to negligible levels above the Nyquist frequency (1\/2 the sampling frequency).\u00a0 The anti-alias filter introduces several problems.\u00a0 If a sharp cutoff version, such as an elliptic or Chebyschev, is selected to maximize the signal bandwidth the pulse response is very poor with large overshoots and undershoots and significant pulse width distortion.\u00a0 A\u00a0 Bessel (Gaussian) with more linear phase exhibits much less overshoot and distortion but has a considerably lower bandwidth.\u00a0 Another problem is that changes in sampling frequency have to be tracked by proportional changes in the filter cutoff frequency for consistent performance.\u00a0 This involves either tunable analog filters or digital filters with variable clock rates plus the associated clock anti-alias filters and clock feed-through filters.\u00a0 This adds noise, distortion, and DC offset to the signal chain.<\/p>\n<p>An alternative for applications where pulse fidelity, reduced low frequency aliasing, easy frequency tuning, and wide bandwidth are more important than precise amplitude accuracy is an integrating sampler.\u00a0 The idea is to measure the time integral of the signal over the sampling interval and use the value of the integral as the discrete sample value rather than the amplitude of the signal at the end of the sampling interval.\u00a0 The signal is sequentially routed to different integrators, each of which measures the time integral for one sampling interval.\u00a0 While the next integrator is active on the next interval, the previous integrator output is measured by an A-D converter and then reset to ready it for the following interval.\u00a0 The sampler gain is equal to 1 \/ R C F.\u00a0 The example uses four integrators that sample the signal and a reference in rotation to compensate for gain variations due to components and sampling frequency.\u00a0 For each cycle the signal value is the ratio of the signal channel to the reference channel readings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-291 size-full aligncenter\" src=\"http:\/\/64.25.106.130\/wp-content\/uploads\/2017\/09\/IntegSch.png\" alt=\"\" width=\"700\" height=\"652\" srcset=\"https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/IntegSch.png 700w, https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/IntegSch-300x279.png 300w\" sizes=\"auto, (max-width: 700px) 85vw, 700px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-302 size-large\" src=\"http:\/\/64.25.106.130\/wp-content\/uploads\/2017\/09\/IntegratorTable-1024x340.png\" alt=\"\" width=\"840\" height=\"279\" srcset=\"https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/IntegratorTable-1024x340.png 1024w, https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/IntegratorTable-300x100.png 300w, https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/IntegratorTable-768x255.png 768w, https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/IntegratorTable.png 1080w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>Frequency response for a sample clock of 256.\u00a0 Note that amplitudes above 128 are the amplitudes of the aliased spectrum calculated with an FFT of a sampled sine wave of the given frequency.\u00a0\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-287 size-full\" src=\"http:\/\/64.25.106.130\/wp-content\/uploads\/2017\/09\/Integt.png\" alt=\"\" width=\"564\" height=\"351\" srcset=\"https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/Integt.png 564w, https:\/\/www.irrelevant-tech.com\/wp-content\/uploads\/2017\/09\/Integt-300x187.png 300w\" sizes=\"auto, (max-width: 564px) 85vw, 564px\" \/><\/p>\n<p>The integrating sampler is completely linear without distortion &#8212; an input sine wave produces a single frequency spectrum.\u00a0 The sampler has an inherent frequency roll-off with a notch at multiples of the sampling frequency.\u00a0 Note that low frequency aliases, frequencies in the 230 to 255 range, aliasing to 1 to 26, are strongly reduced by 20 dB or more.\u00a0 At the same time the phase response is perfectly linear and there is negligible pulse distortion compared to a conventional filter.\u00a0 The pulse rise time is a single sample interval yielding a very wide bandwidth.<\/p>\n<p>There are applications such as pattern recognition and edge detection where elimination of low frequency aliases and fast accurate pulse response are more important than spectral purity.\u00a0 In these applications an anti-alias filter can be eliminated to improve bandwidth.\u00a0 An example in two dimensions is the <a href=\"http:\/\/www.foveon.com\/article.php?a=70\">Foveon\u00ae sensor <\/a>used in Sigma cameras.\u00a0 Image sensors integrate the light over the area of each pixel during the exposure time.\u00a0 A standard Bayer digital camera sensor has gaps between pixels in each of the red, green, and blue channels.\u00a0 This is functionally equivalent to standard sampling and gives rise to aliasing effects called <a href=\"http:\/\/www.foveon.com\/article.php?a=70\">moire patterns<\/a> in images.\u00a0 This requires an anti-aliasing filter for Bayer sensors which reduces sharpness and effective resolution for a given pixel pitch if strong enough to eliminate moire.\u00a0 Moire patterns, most noticeable at high amplitude and low spacial frequencies, are especially problematic when they produce color artifacts.\u00a0 The Foveon\u00ae sensor, by contrast, does not have a gap between pixels, does not need a filter to eliminate moire patterns, and has higher resolution for a given pixel pitch.<\/p>\n<p>Another inspiration was a project that requiring a variable sampling rate on multiple anti-aliased programmable gain channels.\u00a0 This was for a data acquisition system to detect failure events where pulse bandwidth and fidelity were of primary importance.\u00a0 The anti-alias tracking filters, programmable gain preamps, and associated control hardware required most of the board space.<\/p>\n<p>Integrating sampler gain is inversely proportional to the sampling frequency.\u00a0 As the frequency is varied a tracking reference maintains the relationship between the signal and reference measurements.\u00a0 This supports direct measurement of large, fast signals at low gain with high sampling rates and measurement of low level, slow signals at high gain and low noise with low sampling rates.\u00a0 Depending upon requirements, this could permit the elimination of programmable filters and programmable gain preamplifiers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The standard impulse sampler used to convert a continuous signal to a discrete sequence has been well understood since 1924 thanks to Harry Nyquist.\u00a0 Its main weakness is that all the signal information between the sample instants is lost.\u00a0 As a result, the original signal cannot be faithfully reconstructed if it contains energy at frequencies &hellip; <a href=\"https:\/\/www.irrelevant-tech.com\/index.php\/integrating-sampler\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Integrating Sampler&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-295","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/pages\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":14,"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/pages\/295\/revisions"}],"predecessor-version":[{"id":316,"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/pages\/295\/revisions\/316"}],"wp:attachment":[{"href":"https:\/\/www.irrelevant-tech.com\/index.php\/wp-json\/wp\/v2\/media?parent=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}