<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>digital signal processing | Psyops Prime</title>
	<atom:link href="https://psyopsprime.com/tag/digital-signal-processing/feed/" rel="self" type="application/rss+xml" />
	<link>https://psyopsprime.com</link>
	<description>An Idea Log</description>
	<lastBuildDate>Thu, 29 Jan 2026 13:18:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<site xmlns="com-wordpress:feed-additions:1">99640787</site>	<item>
		<title>Demystifying the &#8220;Imaginary&#8221;: How &#8220;j&#8221; and the Complex Plane Make DSP Click</title>
		<link>https://psyopsprime.com/digital-signal-processing/demystifying-the-imaginary-how-j-and-the-complex-plane-make-dsp-click/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=demystifying-the-imaginary-how-j-and-the-complex-plane-make-dsp-click</link>
					<comments>https://psyopsprime.com/digital-signal-processing/demystifying-the-imaginary-how-j-and-the-complex-plane-make-dsp-click/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 29 Jan 2026 13:06:16 +0000</pubDate>
				<category><![CDATA[Digital Signal Processing]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[digital signal processing]]></category>
		<guid isPermaLink="false">https://psyopsprime.com/?p=2687</guid>

					<description><![CDATA[<p>If you&#8217;ve ever dipped your toes into Digital Signal Processing (DSP), you&#8217;ve probably encountered the mythical beast known as the &#8220;complex plane&#8221; and its equally</p>
The post <a href="https://psyopsprime.com/digital-signal-processing/demystifying-the-imaginary-how-j-and-the-complex-plane-make-dsp-click/">Demystifying the “Imaginary”: How “j” and the Complex Plane Make DSP Click</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<div id="model-response-message-contentr_6b67367cc8f9c967" class="markdown markdown-main-panel enable-updated-hr-color" dir="ltr" aria-live="polite" aria-busy="false">
<figure id="attachment_2688" aria-describedby="caption-attachment-2688" style="width: 420px" class="wp-caption alignleft"><a href="https://psyopsprime.com/photo-by-viktor-ruppert/" rel="attachment wp-att-2688"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="2688" data-permalink="https://psyopsprime.com/photo-by-viktor-ruppert/" data-orig-file="https://i0.wp.com/psyopsprime.com/wp-content/uploads/2026/01/xlv_mekc2bm.jpg?fit=800%2C1200&amp;ssl=1" data-orig-size="800,1200" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Photo by Viktor Ruppert" data-image-description="" data-image-caption="&lt;p&gt;Photo by &lt;a href=&quot;https://unsplash.com/@vktr_rpprt?utm_source=instant-images&amp;amp;utm_medium=referral&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Viktor Ruppert&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Unsplash&lt;/a&gt;&lt;/p&gt;
" data-large-file="https://i0.wp.com/psyopsprime.com/wp-content/uploads/2026/01/xlv_mekc2bm.jpg?fit=683%2C1024&amp;ssl=1" class="size-gambit-thumbnail-large wp-image-2688" src="https://i0.wp.com/psyopsprime.com/wp-content/uploads/2026/01/xlv_mekc2bm.jpg?resize=420%2C280&#038;ssl=1" alt="black and white spiral staircase" width="420" height="280" srcset="https://i0.wp.com/psyopsprime.com/wp-content/uploads/2026/01/xlv_mekc2bm.jpg?resize=420%2C280&amp;ssl=1 420w, https://i0.wp.com/psyopsprime.com/wp-content/uploads/2026/01/xlv_mekc2bm.jpg?resize=300%2C200&amp;ssl=1 300w" sizes="(max-width: 420px) 100vw, 420px" /></a><figcaption id="caption-attachment-2688" class="wp-caption-text">Photo by <a href="https://unsplash.com/@vktr_rpprt?utm_source=instant-images&amp;utm_medium=referral" target="_blank" rel="noopener noreferrer">Viktor Ruppert</a> on <a href="https://unsplash.com" target="_blank" rel="noopener noreferrer">Unsplash</a></figcaption></figure>
<p style="text-align: justify;" data-path-to-node="0">If you&#8217;ve ever dipped your toes into Digital Signal Processing (DSP), you&#8217;ve probably encountered the mythical beast known as the &#8220;complex plane&#8221; and its equally enigmatic resident, the imaginary number <span class="math-inline" data-math="j" data-index-in-node="203">$j$</span> (or <span class="math-inline" data-math="i" data-index-in-node="209">$i$</span> in math circles). For many, these concepts are where DSP goes from &#8220;a bit tricky&#8221; to &#8220;utterly bewildering.&#8221;</p>
<p style="text-align: justify;" data-path-to-node="2">But what if I told you that, for engineers, <em><span class="math-inline" data-math="j" data-index-in-node="44">j</span></em> isn&#8217;t really &#8220;imaginary&#8221; at all? What if it&#8217;s actually one of the most practical, intuitive tools we have?</p>
<p style="text-align: justify;" data-path-to-node="3">Richard Lyons, in his seminal &#8220;Understanding Digital Signal Processing,&#8221; has a gift for making these intimidating topics not just understandable, but <i data-path-to-node="3" data-index-in-node="150">obvious</i>. Let&#8217;s unpack his wisdom and reveal the real-world power of <em><span class="math-inline" data-math="j" data-index-in-node="218">j</span></em> and the complex plane.</p>
<hr data-path-to-node="4" />
<h3 style="text-align: justify;" data-path-to-node="5">Step 1: Beyond the Number Line – The Complex Plane</h3>
<p style="text-align: justify;" data-path-to-node="6">Forget the simple, one-dimensional number line we learned in grad school. That line is great for showing &#8220;how much,&#8221; but in DSP, we often need to know &#8220;how much&#8221; <i data-path-to-node="6" data-index-in-node="163">and</i> &#8220;where it&#8217;s at&#8221; in a cycle. Think of a spinning wheel: you need to know its speed <i data-path-to-node="6" data-index-in-node="249">and</i> its current position.</p>
<p style="text-align: justify;" data-path-to-node="7">Enter the <b data-path-to-node="7" data-index-in-node="10">Complex Plane</b>.</p>
<p style="text-align: justify;" data-path-to-node="8">Instead of a line, imagine a <b data-path-to-node="8" data-index-in-node="29">two-dimensional grid</b>:</p>
<ul style="text-align: justify;" data-path-to-node="9">
<li>
<p data-path-to-node="9,0,0"><b data-path-to-node="9,0,0" data-index-in-node="0">The Horizontal Axis (Real Axis):</b> This is your familiar number line. We use it to represent the &#8220;in-phase&#8221; part of a signal.</p>
</li>
<li>
<p data-path-to-node="9,1,0"><b data-path-to-node="9,1,0" data-index-in-node="0">The Vertical Axis (Imaginary Axis):</b> This is the new kid on the block. It represents the &#8220;quadrature&#8221; (or 90-degree shifted) part of a signal.</p>
</li>
</ul>
<p style="text-align: justify;" data-path-to-node="10">Now, instead of just a single number, any point on this plane is a <b data-path-to-node="10" data-index-in-node="67">complex number</b>, made up of a real part and an imaginary part. We write it as</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">a + jb</div></div>
<p>, where</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">a</div></div>
<p>is the real part and</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">jb</div></div>
<p>is the imaginary part.</p>
<h3 style="text-align: justify;" data-path-to-node="11">Step 2: <em><span class="math-inline" data-math="j" data-index-in-node="8">j</span></em> – Not Imaginary, But a Rotational Operator!</h3>
<p style="text-align: justify;" data-path-to-node="12">Here&#8217;s where Lyons flips the script. Stop thinking of <em><span class="math-inline" data-math="j" data-index-in-node="54">j</span></em> as &#8220;the square root of -1&#8221; in a purely abstract sense. In DSP, <em><span class="math-inline" data-math="j" data-index-in-node="119">j</span></em> has a concrete, visual job: it&#8217;s a <b data-path-to-node="12" data-index-in-node="156">90-degree counter-clockwise rotation operator </b><sup class="modern-footnotes-footnote ">1</sup><b data-path-to-node="12" data-index-in-node="156">.</b></p>
<p style="text-align: justify;" data-path-to-node="13">Let&#8217;s see it in action:</p>
<ol style="text-align: justify;" start="1" data-path-to-node="14">
<li>
<p data-path-to-node="14,0,0">Start with a real number, say</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">1</div></div>
<p>, on the positive Real Axis.</p>
</li>
<li>
<p data-path-to-node="14,1,0">Multiply</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">1</div></div>
<p>by <em><span class="math-inline" data-math="j" data-index-in-node="14">j</span></em>:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">1 * j = j</div></div>
<p>. You&#8217;ve rotated</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">1</div></div>
<p>by 90 degrees counter-clockwise, and now you&#8217;re at</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">j</div></div>
<p>on the positive Imaginary Axis.</p>
</li>
<li>
<p data-path-to-node="14,2,0">Multiply</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">j</div></div>
<p>by <em><span class="math-inline" data-math="j" data-index-in-node="14">j</span></em> again:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">j * j = j^2</div></div>
<p>. You&#8217;ve rotated another 90 degrees. You&#8217;re now at</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">-1</div></div>
<p>on the negative Real Axis.</p>
</li>
<li>
<p data-path-to-node="14,3,0">Multiply</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">-1</div></div>
<p>by <em><span class="math-inline" data-math="j" data-index-in-node="15">j</span></em>:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">-1 * j = -j</div></div>
<p>. Another 90-degree rotation. You&#8217;re now at</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">-j</div></div>
<p>on the negative Imaginary Axis.</p>
</li>
<li>
<p data-path-to-node="14,4,0">Multiply</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">-j</div></div>
<p>by <span class="math-inline" data-math="j" data-index-in-node="15">$j$</span>:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">-j * j = -j^2 = -(-1) = 1</div></div>
<p>. One more 90-degree rotation brings you back to</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">1</div></div>
<p>on the positive Real Axis.</p>
</li>
</ol>
<p style="text-align: justify;" data-path-to-node="15">See? <em><span class="math-inline" data-math="j" data-index-in-node="5">j</span></em> isn&#8217;t making things disappear into some alternate reality. It&#8217;s simply <b data-path-to-node="15" data-index-in-node="78">turning things</b> on a two-dimensional surface. This is the core insight that unlocks so much of DSP. This is the power of <em>j. </em>And<em> j </em>has brought us a long way.</p>
<h3 style="text-align: justify;" data-path-to-node="16">Step 3: Spinning Signals – The Power of Phasors</h3>
<p style="text-align: justify;" data-path-to-node="17">Now, let&#8217;s bring it back to signals. Many real-world signals, like sound waves or radio waves, are sinusoidal—they oscillate up and down. Instead of describing them with messy sines and cosines, DSP engineers represent them as <b data-path-to-node="17" data-index-in-node="227">phasors</b>: points that spin around the origin of the complex plane. Basically such waves do not oscillate up and down. They propagate from source to the sink in a helical manner.</p>
<p style="text-align: justify;" data-path-to-node="18">The magic comes with <b data-path-to-node="18" data-index-in-node="21">Euler&#8217;s Equation</b>:</p>
<div style="text-align: justify;" data-path-to-node="19">
<div class="math-block" data-math="e^{j\theta} = \cos(\theta) + j\sin(\theta)">$$e^{j\theta} = \cos(\theta) + j\sin(\theta)$$</div>
</div>
<p style="text-align: justify;" data-path-to-node="20">This deceptively simple equation is the bedrock of modern DSP. It tells us that a complex exponential (the left side, which describes something spinning) is made up of a cosine wave (its projection onto the Real axis) and a sine wave (its projection onto the Imaginary axis).</p>
<p style="text-align: justify;" data-path-to-node="21"><b data-path-to-node="21" data-index-in-node="0">Why is this a big deal?</b></p>
<ul style="text-align: justify;" data-path-to-node="22">
<li>
<p data-path-to-node="22,0,0"><b data-path-to-node="22,0,0" data-index-in-node="0">Simplification:</b> Multiplying complex exponentials (which involves just adding their angles) is far easier than wrestling with trigonometric identities. Want to shift a signal&#8217;s phase? Just add an angle to its complex representation.</p>
</li>
<li>
<p data-path-to-node="22,1,0"><b data-path-to-node="22,1,0" data-index-in-node="0">Complete Picture:</b> A single complex number can encapsulate both the <b data-path-to-node="22,1,0" data-index-in-node="67">amplitude</b> (how big the signal is, represented by the length of the phasor) and the <b data-path-to-node="22,1,0" data-index-in-node="150">phase</b> (where it is in its cycle, represented by its angle on the complex plane).</p>
</li>
</ul>
<h3 style="text-align: justify;" data-path-to-node="23">Step 4: The &#8220;Mystery&#8221; of Negative Frequency Solved</h3>
<p style="text-align: justify;" data-path-to-node="24">With the complex plane and spinning phasors in hand, &#8220;negative frequency&#8221; also becomes intuitive.</p>
<p style="text-align: justify;" data-path-to-node="25">Imagine our phasor spinning.</p>
<ul style="text-align: justify;" data-path-to-node="26">
<li>
<p data-path-to-node="26,0,0"><b data-path-to-node="26,0,0" data-index-in-node="0">Positive Frequency:</b> The phasor spins <b data-path-to-node="26,0,0" data-index-in-node="37">counter-clockwise</b>.</p>
</li>
<li>
<p data-path-to-node="26,1,0"><b data-path-to-node="26,1,0" data-index-in-node="0">Negative Frequency:</b> The phasor spins <b data-path-to-node="26,1,0" data-index-in-node="37">clockwise</b>.</p>
</li>
</ul>
<p style="text-align: justify;" data-path-to-node="27">A real-world sine wave, the kind you measure with an oscilloscope, is actually the sum of <i data-path-to-node="27" data-index-in-node="90">two</i> complex phasors: one spinning counter-clockwise (positive frequency) and one spinning clockwise (negative frequency). Their imaginary components cancel out, leaving only the real oscillation we observe.</p>
<div style="text-align: justify;" data-path-to-node="28">
<div class="math-block" data-math="\cos(\omega t) = \frac{e^{j\omega t} + e^{-j\omega t}}{2}">$$\cos(\omega t) = \frac{e^{j\omega t} + e^{-j\omega t}}{2}$$</div>
</div>
<p style="text-align: justify;" data-path-to-node="29">On a spectrum analyzer, when you see a spike at 100 Hz, you&#8217;ll also see a mirrored spike at -100 Hz for a real signal. They are two sides of the same coin, both necessary to describe that single real cosine wave.</p>
<p style="text-align: justify;" data-path-to-node="30"><b data-path-to-node="30" data-index-in-node="0">The Practical Benefit:</b> By converting real signals into purely complex (or &#8220;analytic&#8221;) signals through techniques like Hilbert transforms, we can eliminate one of these mirrored frequencies. This effectively <b data-path-to-node="30" data-index-in-node="207">doubles our usable bandwidth</b> and simplifies many advanced DSP operations, especially in communications systems (like radio and cellular data).</p>
<h3 style="text-align: justify;" data-path-to-node="31">The Takeaway</h3>
<p style="text-align: justify;" data-path-to-node="32">Richard Lyons strips away the fear surrounding &#8220;imaginary&#8221; numbers by showing their practical utility. The complex plane isn&#8217;t an abstract mathematical playground; it&#8217;s a <b data-path-to-node="32" data-index-in-node="171">two-dimensional whiteboard</b> where we can draw and manipulate signals more effectively.</p>
<p style="text-align: justify;" data-path-to-node="33">Understanding <em><span class="math-inline" data-math="j" data-index-in-node="14">j</span></em> as a rotation, and grasping how phasors spin on this plane, unlocks the intuition behind powerful concepts like Euler&#8217;s Equation and negative frequency. These aren&#8217;t just theoretical constructs—they are the foundational tools that allow us to build everything from your smartphone to high-fidelity audio systems.</p>
<p style="text-align: justify;" data-path-to-node="34">So, next time you see <em><span class="math-inline" data-math="j" data-index-in-node="22">j</span></em>, don&#8217;t be intimidated. Just remember: it&#8217;s simply turning things around, making the complex world of signals a whole lot clearer!</p>
</div>The post <a href="https://psyopsprime.com/digital-signal-processing/demystifying-the-imaginary-how-j-and-the-complex-plane-make-dsp-click/">Demystifying the “Imaginary”: How “j” and the Complex Plane Make DSP Click</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.<div>1&nbsp;&nbsp;&nbsp;&nbsp;However, I would like to emphasize that rotation happens due to the virtue of it being the square root of -1.</div>]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/digital-signal-processing/demystifying-the-imaginary-how-j-and-the-complex-plane-make-dsp-click/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">2687</post-id>	</item>
		<item>
		<title>Tool Wear Detection Using Machine Learning</title>
		<link>https://psyopsprime.com/digital-signal-processing/tool-wear-detection-using-machine-learning/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tool-wear-detection-using-machine-learning</link>
					<comments>https://psyopsprime.com/digital-signal-processing/tool-wear-detection-using-machine-learning/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 12 Apr 2023 14:57:25 +0000</pubDate>
				<category><![CDATA[Digital Signal Processing]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[convolutional neural networks]]></category>
		<category><![CDATA[deep learning]]></category>
		<category><![CDATA[digital signal processing]]></category>
		<category><![CDATA[machine learning]]></category>
		<guid isPermaLink="false">http://psyopsprime.com/?p=2212</guid>

					<description><![CDATA[<p>Recently, our prodigious PhD student, Jawad Mahmood, wrote an article about machining tool wear prediction using machine learning. Specifically, he applied convolutional neural networks on</p>
The post <a href="https://psyopsprime.com/digital-signal-processing/tool-wear-detection-using-machine-learning/">Tool Wear Detection Using Machine Learning</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Recently, our prodigious PhD student, Jawad Mahmood, wrote an article about machining tool wear prediction using machine learning. Specifically, he applied convolutional neural networks on spectrograms and scalograms of worn tool data. His approach is nice and his work was exhaustive. He published in the prestigious international journal of advanced manufacturing technology, Springer Nature. Here is a link to his paper. Please peruse.</p>
<p>&nbsp;</p>
<blockquote class="embedly-card" data-card-key="a8a0731b061246639032e063d551fbc2" data-card-image="https://media.springernature.com/w200/springer-static/cover/journal/170.jpg" data-card-type="article">
<h4><a href="https://link.springer.com/article/10.1007/s00170-023-11040-w">Detection of tool wear during machining by designing a novel 12-way 2-shot learning model by applying L2-regularization and image augmentation &#8211; The International Journal of Advanced Manufacturing Technology</a></h4>
<p>Tool wear monitoring is regarded as an incredibly important aspect of improving the surface integrity of machined components in the manufacturing sector. This research study performed operations using twelve different types of drilling and milling tools. The worn tools ranging from grade-1 to grade-5 were categorized based on tool wear severity by measuring the flank wear land width of each tool.</p></blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/42408834@N06/4546644492" target="_blank" rel="noopener noreferrer">toolstop</a> <a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank" rel="nofollow noopener noreferrer"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" /></a></small></p>The post <a href="https://psyopsprime.com/digital-signal-processing/tool-wear-detection-using-machine-learning/">Tool Wear Detection Using Machine Learning</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/digital-signal-processing/tool-wear-detection-using-machine-learning/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">2212</post-id>	</item>
		<item>
		<title>DSP of Billie Jean</title>
		<link>https://psyopsprime.com/digital-signal-processing/dsp-of-billie-jean/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dsp-of-billie-jean</link>
					<comments>https://psyopsprime.com/digital-signal-processing/dsp-of-billie-jean/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 23 Jun 2020 12:01:19 +0000</pubDate>
				<category><![CDATA[Digital Signal Processing]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[digital signal processing]]></category>
		<category><![CDATA[fourier analysis]]></category>
		<guid isPermaLink="false">http://psyopsprime.com/?p=2089</guid>

					<description><![CDATA[<p>Recently I came across a problem in which I had to struggle to convince my audience as to why spectral analysis of audible sounds is</p>
The post <a href="https://psyopsprime.com/digital-signal-processing/dsp-of-billie-jean/">DSP of Billie Jean</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Recently I came across a problem in which I had to struggle to convince my audience as to why spectral analysis of audible sounds is so important. As I thought further about it, I found it incumbent upon myself to tell people what I thought were important ideas in audio processing. Specifically I want to lay a foundation of spectral thinking in a thinker&#8217;s mind. I personally think that whenever there are audible signals at hand, spectral analysis is quite important. Rather I have come to claim that if someone out there has to deal with an audio signal, and they are oblivious of spectral analysis, they are simply playing with the signal like a blind man trying to appreciate the hues and colors of life under auspicious sunshine.</p>
<p style="text-align: justify;">When it comes to spectral analysis, I would also like to assert that Fourier analysis is going to be enough and sufficient in most of the cases. However, one may subscribe to other methods, such as wavelet analysis, as well. But what do all of these terms mean? Let&#8217;s not worry about them right now. We shall talk about simple stuff in the beginning.</p>
<p style="text-align: justify;">In order to make life easier for my audience, I made a screencast of a famous song from Michael Jackson; Billie Jean. It is a well known pop song. And it has all sorts of drum beats, string twists of guitars, and other musical instruments. I am not really well versed with many western musical instruments. But I believe that this pop song is really going to serve my purpose. So, please click on the thumbnail below to open the song in a new tab of your browser window.</p>
<p><iframe src="https://www.youtube.com/embed/Qwe8b4Ms_pw" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p style="text-align: justify;">First of all I would like to draw your attention to the video. There is a spectral analyzer shown in the video. The analyzer has four boxes with graphs shown in them. As the video plays, you can notice the graphs beating in accordance with the videos. Let me explain these graphs a little bit first.</p>
<p style="text-align: justify;">The graph in the upper left (UL) corner is known as a plot of the Fast Fourier Transform (FFT). Again don&#8217;t be confused with the fancy term. In really simple words it plots the different frequencies present in the audio (the song in our case) at any given point in time. It also gives us an idea as what the magnitudes of those frequencies is. What is noticeable about this is that there is white box in the top of the graph that has number in it, and it always keeps on changing its place. Moreover, please notice the way it changes its place. This box has the value of the frequency that has the highest value at any given point in time. As the frequency that has the highest magnitude can change from time to time, depending on what instrument or note is being played at any given point in time, this box keeps on shifting it position along the x-axis.</p>
<p style="text-align: justify;">The way this box changes its position from time to time, remind me of the live dance of late Michael Jackson himself. It appears as if the box is dancing like Michael Jackson. Or at least, it definitely appears as if a dance is going on. Why is that? In my opinion the reason is that Michael wrote the song, composed its music, and choreographed his dance routines by putting all his heart and soul into it. So when he had to perform a live dance, he was moving his body and limbs just in perfect harmony with the changing notes. With every move of his body, he was capturing every change in the notes of the song.</p>
<p style="text-align: justify;">But the white box is no dancer. It is an inanimate object. So why does it move in harmony with the beat of the song. Well, it does not. It is just an exhibition of the most prominent frequency in the song at any given point in time. And as that frequency changes, the box also changes its position. So it appears to be like a shadow of Michael.</p>
<p style="text-align: justify;">What is the point of saying all of this. Let&#8217;s review rest of the boxes first. The box in the lower left (LL) corner is a similar plot but on an octave scale. Most music lovers really know what an octave scale is so I am not going to go in the details. To be brief, it is a logarithmic frequency scale. In essence it is also showing what the UL box is showing but on a different scale.</p>
<p style="text-align: justify;">The box in the upper right (UR) corner is the spectrogram. Literally, this is also an exhibition of the spectral (frequcny) contents of the signal; the song in our case.</p>
<p style="text-align: justify;">The last box is the one which is in lower right (LR) corner. This box has a single thread-like delineation in it. It fluctuates along with the music. This is what the music is doing as a function of time. You can think of it as the voltage fluctuation that happens as a function of the beat of the music. What is it anyways? The truth is that this box shows the overall loudness level of the song at any given moment in time. We shall come back to it later as it will help us in understanding various concepts in signal processing.</p>
<p style="text-align: justify;">The last thing is the bar to the left of the analyzer. Now this bar literally shows ups and downs in perfect harmony with the ups and downs of the songs. This is also the loudness level of the song at any given moment in time.</p>
<p style="text-align: justify;">The overall loudness, as the name suggests, is the sum total of the loudness of all the instruments being played in the music at any given point in time. There are different musical instruments involved in the creation of music. There is the sound of the drum. There is the audio of the guitar. And there is the voice of the vocalist. In all, there is a handful of instruments involved. Moreover, each one of them is possibly producing a sound of a different frequency from each other at every point in time. The sum total of the loudness of these sounds of different frequencies at any point in time is what we call as the overall loudness of the audio.Well, it need not be the sum total at all. It can be mean, or an aggregate of any kind. These aggregate loudness levels are shown in LR and the bar to the left of the analyzer.</p>
<p style="text-align: justify;">So the overall loudness has all the information of the audio. We can see that its fluctuation is also in sync with the rhythm of the song. However, a huge problem with the overall loudness level is that it hides a lot of information about the audio. In case of music, we really do not know as to which notes are being played at any point in time. As a result, we remain in complete oblivion about the composition of the music.</p>
<p style="text-align: justify;">Stereo systems actually use the overall loudness in the form of a time-varying voltages to render audible music through their speakers. Voltages are passed to the speakers. And they create audible sounds.</p>
<p style="text-align: justify;">But what if we wanted to know the overall composition of the music? What instruments were played at a particular point in time, what were the notes, and how loud were they? Can we answer these questions? Fortunately the answer to these questions is yes. And we owe it to the genius of an eighteenth century French mathematician who went by the name of Jean-Baptiste Joseph Fourier who invented the famous Fourier transform. Fourier was a major in Napoleon&#8217;s army. However, his invention of this transform is bigger than all the military campaigns of the conqueror combined. Actually it would not be an exaggeration to say that Fourier transform has a greater impact than all the wars in history combined. We owe it to Fourier for most of the digital communication we observe around ourselves today.</p>
<p style="text-align: justify;">According to Fourier, all the different frequencies that have been added together are separable. And Fourier transform is the tool to separate them. We see this exactly happening in LL, UL and UR boxes in the analyser. The Fourier transform takes as input what is shown in the LR bow. And creates spectra out of that; what is shown in LL, UL and UR. This is a remarkable contribution of Fourier analysis. As a result of applying it what we get is all the frequencies that make up the music and their respective magnitudes. And we get it for small segments of time. To this end, the Fourier analyzer takes a small segment of music at time (roughly around 25 milliseconds) and reveals the spectral information.</p>
<p style="text-align: justify;">So what is the big deal of performing Fourier analysis. The big deal is that in applying the transform we went from knowing nothing about a seemingly interesting signal, to knowling everything about its spectral makeup. This is a tremendous achievement. Having this information in hand we can understand the mind of the musician as well as train a machine to understand that. Not having this information is tantamount to dealing with random electrical glitches. These glitches are shown in LR.</p>
<p style="text-align: justify;"><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/8473570@N02/1242116879" target="_blank" rel="noopener noreferrer">frans16611</a> <a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank" rel="nofollow noopener noreferrer"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" /></a></small></p>The post <a href="https://psyopsprime.com/digital-signal-processing/dsp-of-billie-jean/">DSP of Billie Jean</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/digital-signal-processing/dsp-of-billie-jean/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">2089</post-id>	</item>
	</channel>
</rss>
