{"id":28935,"date":"2022-03-14T09:24:41","date_gmt":"2022-03-14T16:24:41","guid":{"rendered":"https:\/\/digilent.com\/blog\/?p=28935"},"modified":"2024-12-28T11:45:22","modified_gmt":"2024-12-28T19:45:22","slug":"what-is-digital-signal-processing","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/what-is-digital-signal-processing\/","title":{"rendered":"What Is Digital Signal Processing (DSP)? | Definition &#038; Steps"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Signal processing has come a long way from the days when early computers used processors consisting of bit-slice chips. Now, in the 21st century, the widespread use of integrated circuits and standalone digital signal processing (DSP) chips have radically revolutionized electronics and, in turn, the fabric of societies around the world.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once the size of entire rooms, powerful computers that read, process, and store data from all over the world can now easily fit in our pockets. While the implementation of DSP has certainly changed the world to date, it will only continue to further technological advancement. But what exactly is digital signal processing and how is it used? This piece will review what DSP is, its different types, and key considerations when choosing a DSP for an application.<\/span><\/p>\n<h2>Definition of Digital Signal Processing<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28936\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2022\/03\/DSP-1.jpg\" alt=\"\" width=\"521\" height=\"347\" data-wp-pid=\"28936\" \/><\/p>\n<p><span style=\"font-weight: 400;\">DSP is carried out by specialized DSP chips that convert real-world signals \u2013 such as audio, video, temperature, pressure, or position signals \u2013 and digitize them to be mathematically manipulated. These chips can be thought of as like calculators that rapidly produce complex results. Mathematical operations like addition, subtraction, multiplication, and division are applied to analog signals to produce an output.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">DSP is constantly taking place \u2013 after all, it has formed the foundation for the digital world today. An example of DSP in practice is whenever a video is recorded with a smartphone. Analog-to-digital converters (ADC) first convert analog signals, such as audio or video, into a digital format consisting of 1\u2019s and 0\u2019s. A DSP chip then processes those now-digital signals and feeds that information back to the user for practical use in the real world through the means of a digital-to-analog converter (DAC). Additionally, the digital signals manipulated by the DSP chip are stored in memory and can be played back on demand. Those signals are simply taken from memory and passed through the DAC again for the end-user. What results for the end-user is a replayable video complete with the captured sounds and images.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is only one example, however. The potential applications of DSP are expansive \u2013 from video and audio recording to facial recognition, to sonar and radar tracking.<\/span><\/p>\n<h2>7 Steps to Digital Signal Processing<\/h2>\n<p><span style=\"font-weight: 400;\">7 key steps occur in digital signal processing to produce the desired result:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">An analog input signal is received.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A pre-filter removes unwanted high frequencies, or <\/span><a href=\"https:\/\/www.allaboutcircuits.com\/technical-articles\/electrical-noise-what-causes-noise-in-electrical-circuits\/\"><span style=\"font-weight: 400;\">noise<\/span><\/a><span style=\"font-weight: 400;\">, from the analog input signal.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">An ADC converts the filtered analog signals into digital signals.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A DSP chip analyzes, processes, and commits the digital signals to memory.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DAC devices convert the digital signals back to analog signals.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A post-filter removes noise from the generated analog signal.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">An analog output signal is provided.<\/span><\/li>\n<\/ol>\n<h2>Fixed-Point or Floating Point DSP?<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-27742\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-600x376.png\" alt=\"\" width=\"600\" height=\"376\" data-wp-pid=\"27742\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-600x376.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-1024x642.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-768x482.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-1536x963.png 1536w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-800x502.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1-1200x752.png 1200w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2020\/01\/Eclypse-obl-populated-2000-1.png 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Digital signal processing is split into two categories \u2013<\/span> <a href=\"https:\/\/www.ti.com\/lit\/wp\/spry061\/spry061.pdf\"><span style=\"font-weight: 400;\">fixed-point and floating-point DSP<\/span><\/a><span style=\"font-weight: 400;\">. The type of DSP used dictates how signals and data are stored and manipulated.\u00a0<\/span><\/p>\n<p><b>Fixed-point DSP chips<\/b><span style=\"font-weight: 400;\"> are designed such that integers are represented and manipulated using a minimum of 16 bits. This yields up to 2<\/span><span style=\"font-weight: 400;\">16<\/span><span style=\"font-weight: 400;\"> possible bit patterns, or 65,536. Duly referred to as fixed-point because those numbers are represented by a fixed amount of digits either before or after the decimal point. The accuracy and precision fixed-point DSP chips can support are typically less than that of floating-point.<\/span><\/p>\n<p><b>Floating-point DSP chips<\/b><span style=\"font-weight: 400;\"> are designed to manipulate and represent rational numbers through a minimum of 32 bits \u2013 effectively yielding up to 2<\/span><span style=\"font-weight: 400;\">32<\/span><span style=\"font-weight: 400;\"> possible bit patterns, or 4,294,967,296. The floating-point variety allows the decimal point of a number to \u201cfloat\u201d relative to other significant figures within the number. While the fixed-point variety can be used to represent the numbers 123.45 or 1234.56, the floating-point variety can represent numbers such as 1.234567 or 0.001234567, etc.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As a result, floating-point digital signal processing chips can support a higher dynamic range of values when compared to fixed-point and can represent both exceptionally small and large numbers. Therefore, whenever computationally intensive applications are required, floating-point DSP chips are ideally suitable.<\/span><\/p>\n<h2>What to Consider When Choosing DSP<\/h2>\n<h5><b>Cost<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">For any designer, it\u2019s important to minimize the cost of a design as much as possible while retaining the required functionality and safety. It\u2019s no different when designing a system that will use DSPs. Fixed-point DSP chips are typically priced less than their floating-point counterparts due to their ease of manufacturing. As systems process larger pools of data and\/or require greater accuracy and precision, the use of floating-point digital signal processing chips is warranted, making the end result more expensive.\u00a0<\/span><\/p>\n<h5><b>Development Ease<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">The speed at which a designer can develop a product determines whether or not that product enters the market before the competition. As such, the type of DSP used in a product requires much thought. Floating-point DSPs are generally easier to program and develop algorithms for due to their ability to obtain more-precise values when compared to the fixed-point variety. Fixed-point DSP chips require more handiwork to compensate for and <\/span><a href=\"https:\/\/digilent.com\/blog\/reducing-noise-in-measurements\/\"><span style=\"font-weight: 400;\">remove noise<\/span><\/a><span style=\"font-weight: 400;\">. Whereas, floating-point DSPs are much easier to manipulate but come at a higher cost.<\/span><\/p>\n<h5><b>Performance<\/b><\/h5>\n<p><span style=\"font-weight: 400;\">The performance of a digital signal processing chip is an important factor in the overall success of a product. Designers desire DSP formats that efficiently process algorithms \u2013 and while both formats can obtain desired results, designers should evaluate how well the formats reach those results. For example, having a floating-point format solve fixed-point tasks can lead to greater power draw \u2013 impacting both power and cooling requirements. Ideally, designers should balance cost with performance while edging out their competitors to obtain a marketable product.<\/span><\/p>\n<h2>Innovate and Create with Digilent<\/h2>\n<p><span style=\"font-weight: 400;\">The widespread implementation and use of DSP in electronics have played a fundamental role in the transition to the digital world known today. With DSP, the data that can be processed is nearly limitless, which has led to an exponential increase in computing power to deal with these large pools of data and consequently a better understanding of the world and universe at large.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Digilent has enabled engineers, researchers, scientists, and students with innovative FPGA and SoC-based hardware-software systems. From competitive pricing and comprehensive documentation to the portability of our products, we have the right solution for you. For more ideas and tutorials on getting your DSP application up and running, visit our <\/span><a href=\"https:\/\/reference.digilent.com\"><span style=\"font-weight: 400;\">Reference Center<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-28935 jlk' data-task='like' data-post_id='28935' data-nonce='bc421c5462' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-28935 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-28935 jlk' data-task='unlike' data-post_id='28935' data-nonce='bc421c5462' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-28935 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-28935 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Signal processing has come a long way from the days when early computers used processors consisting of bit-slice chips. Now, in the 21st century, the widespread use of integrated circuits &hellip; <\/p>\n","protected":false},"author":50,"featured_media":28936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[38,35,1563],"tags":[],"ppma_author":[4502],"class_list":["post-28935","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-fpga","category-guide"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2022\/03\/DSP-1.jpg","authors":[{"term_id":4502,"user_id":50,"is_guest":0,"slug":"davidh","display_name":"David Horn","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/917c337136844f075c76fcf4a0c3b94aa8c225366009ebf63c08fcb9ce6d0e52?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/28935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=28935"}],"version-history":[{"count":1,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/28935\/revisions"}],"predecessor-version":[{"id":31163,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/28935\/revisions\/31163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/28936"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=28935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=28935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=28935"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=28935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}