
{"id":505,"date":"2018-10-16T16:37:00","date_gmt":"2018-10-16T16:37:00","guid":{"rendered":"http:\/\/blogs.plymouth.ac.uk\/embedded-systems\/?page_id=505"},"modified":"2018-10-16T16:37:00","modified_gmt":"2018-10-16T16:37:00","slug":"pulse-width-modulation-pwm-glossary-entry","status":"publish","type":"page","link":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/glossary-2\/pulse-width-modulation-pwm-glossary-entry\/","title":{"rendered":"Pulse Width Modulation (PWM) &#8211; (Glossary Entry)"},"content":{"rendered":"<p>Pulse Width Modulation is a technique of generating a digital pulse that delivers a controllable amount of power. For example, if we wish to control a DC motor, then the amount of power delivered to the motor will dictate the motor speed. Equally, if controlling an LED, the power delivered will determine the brightness.<br \/>\nConsider the digital waveform below:<\/p>\n<figure id=\"attachment_506\" aria-describedby=\"caption-attachment-506\" style=\"width: 700px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-506\" src=\"http:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/uploads\/sites\/94\/2018\/10\/PWM_Illustration.png\" alt=\"\" width=\"700\" height=\"393\" srcset=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/uploads\/sites\/94\/2018\/10\/PWM_Illustration.png 1064w, https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/uploads\/sites\/94\/2018\/10\/PWM_Illustration-300x168.png 300w, https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/uploads\/sites\/94\/2018\/10\/PWM_Illustration-768x431.png 768w, https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/uploads\/sites\/94\/2018\/10\/PWM_Illustration-1024x575.png 1024w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><figcaption id=\"caption-attachment-506\" class=\"wp-caption-text\">Illustrating the output from a Pulse Width Modulation (PWM) process<\/figcaption><\/figure>\n<p>The digital pulse of \u20181\u2019 is represented by the blue regions.<\/p>\n<p>The output is a ON for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-5a97bb90e67eeba65941d6bb069c92d9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"43\" style=\"vertical-align: -3px;\"\/> seconds and off for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-df91337e7c706bc25cc3592595d0be3f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#95;&#123;&#115;&#112;&#97;&#99;&#101;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"42\" style=\"vertical-align: -6px;\"\/> seconds and that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-9dde4b9f275babc535dd95437fb6b585_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#32;&#61;&#32;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#43;&#84;&#95;&#123;&#115;&#112;&#97;&#99;&#101;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"145\" style=\"vertical-align: -6px;\"\/>. If this signal is driving a device such as an LED or a DC motor, then clearly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-58f18d11e5ffdd11dd9095c427922c8b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> needs to be kept small to avoid noticeable pulsing effects (although for motors, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-58f18d11e5ffdd11dd9095c427922c8b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> must not be too small as you will discover).<\/p>\n<p>The ratio of time spend ON, that is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-0c101c20917887551ca3052367c5647d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#102;&#114;&#97;&#99;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#123;&#84;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"39\" style=\"vertical-align: -6px;\"\/> is known as the <strong>duty cycle.<\/strong> Often this is expressed as a percentage, so <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-c7b82bf1b18bc3b46be2ad59b42440e4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#100;&#117;&#116;&#121;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#49;&#48;&#48;&#32;&#92;&#37;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"155\" style=\"vertical-align: -6px;\"\/><\/p>\n<p>Intuition would suggest the average output voltage is somehow related to the proportion of time that the output is ON. Let\u2019s look at this more formally.<\/p>\n<p>In general, for a voltage signal <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-56c7d7048a5ee831a245616389f16ff9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#40;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"28\" style=\"vertical-align: -5px;\"\/> that varies with time <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-6b97bb0f65c75b6cc0fba1868749478d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#116;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/>, we can say that the mean voltage <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-009856cdd01595f8a8bab07e910c1aa1_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#118;&#40;&#116;&#41;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"30\" style=\"vertical-align: -5px;\"\/> is derived as<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 46px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-72a5f151bc542b7265039c9adaadce6c_l3.png\" height=\"46\" width=\"160\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#118;&#40;&#116;&#41;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#105;&#110;&#116;&#95;&#123;&#116;&#95;&#48;&#125;&#94;&#123;&#116;&#95;&#49;&#125;&#32;&#118;&#40;&#116;&#41;&#32;&#100;&#116;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>However, from the graph, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-56c7d7048a5ee831a245616389f16ff9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#40;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"28\" style=\"vertical-align: -5px;\"\/> is a constant over fixed durations, so we can split this up and exploit this. We say that<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 47px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-109571367a77eb8a8f30cabb03762a09_l3.png\" height=\"47\" width=\"339\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#118;&#40;&#116;&#41;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#105;&#110;&#116;&#95;&#123;&#116;&#95;&#48;&#125;&#94;&#123;&#116;&#95;&#48;&#32;&#43;&#32;&#116;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#32;&#86;&#32;&#100;&#116;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#105;&#110;&#116;&#95;&#123;&#116;&#95;&#48;&#43;&#116;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#94;&#123;&#116;&#95;&#49;&#125;&#32;&#48;&#32;&#100;&#116;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-2764bc8c76399d42fc36883b5c75e629_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;&#61;&#51;&#46;&#51;&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"75\" style=\"vertical-align: 0px;\"\/>. The integral of zero is always zero, so we can write<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 46px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-520fb38c99c496b1082d7e468fbc2ae4_l3.png\" height=\"46\" width=\"218\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#118;&#40;&#116;&#41;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#86;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#105;&#110;&#116;&#95;&#123;&#116;&#95;&#48;&#125;&#94;&#123;&#116;&#95;&#48;&#32;&#43;&#32;&#116;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#32;&#49;&#32;&#100;&#116;&#32;&#43;&#32;&#48;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>Integrating, we get<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 37px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-574fd27c3899942e1ca7adf50ae22220_l3.png\" height=\"37\" width=\"160\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#118;&#40;&#116;&#41;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#86;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#32;&#116;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#95;&#123;&#116;&#95;&#48;&#125;&#94;&#123;&#116;&#95;&#48;&#32;&#43;&#32;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 37px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-7d484136861797070e6fd938e2437e7b_l3.png\" height=\"37\" width=\"214\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#86;&#40;&#116;&#41;&#125;&#32;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#86;&#125;&#123;&#84;&#125;&#92;&#99;&#100;&#111;&#116;&#92;&#108;&#101;&#102;&#116;&#091;&#32;&#116;&#95;&#48;&#43;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#45;&#116;&#95;&#48;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 37px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-6704019d45585a2963e91da516386172_l3.png\" height=\"37\" width=\"133\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#86;&#40;&#116;&#41;&#125;&#32;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#86;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p>Intuition would also suggest the output power is somehow related to the proportion of time that the output is ON. Let\u2019s look at this more formally.<\/p>\n<p>Consider driving power into a load resistance of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-b48b9a82d6a64f0b96aa5e4ff2ab216c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;&#32;&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"26\" style=\"vertical-align: 0px;\"\/>, the instantaneous power is calculated as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-c8d79315fd9a5382aac9b0b40b7f8007_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#80;&#40;&#116;&#41;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#118;&#40;&#116;&#41;&#94;&#50;&#125;&#123;&#82;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"26\" width=\"90\" style=\"vertical-align: -6px;\"\/>. What is more useful is the mean power over a period of time. It is therefore the mean of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-e6b351857bba24b29eee41355b642b9f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#118;&#40;&#116;&#41;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"36\" style=\"vertical-align: -5px;\"\/> that is of interest. As <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-29f854c8c17e600efbed19867aea7565_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-dfd80738ac64385be5b381ea59d7fe55_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are constants, by the same reasoning<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-2013ea0f69d3a8bf888b3dbe386d4c1a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#118;&#101;&#114;&#108;&#105;&#110;&#101;&#123;&#80;&#40;&#116;&#41;&#125;&#32;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#123;&#84;&#125;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#86;&#94;&#50;&#125;&#123;&#82;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"25\" width=\"133\" style=\"vertical-align: -6px;\"\/><\/p>\n<p>In summary, we can rewrite both these equations as follows:<\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-fb3a6d0b52c83f958fcde6c0137d9193_l3.png\" height=\"42\" width=\"271\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#109;&#101;&#97;&#110;&#92;&#32;&#118;&#111;&#108;&#116;&#97;&#103;&#101;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#43;&#84;&#95;&#123;&#115;&#112;&#97;&#99;&#101;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#86;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 45px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-63a21844349ad7919db0cebb8268ed23_l3.png\" height=\"45\" width=\"272\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#109;&#101;&#97;&#110;&#92;&#32;&#112;&#111;&#119;&#101;&#114;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#125;&#123;&#84;&#95;&#123;&#109;&#97;&#114;&#107;&#125;&#43;&#84;&#95;&#123;&#115;&#112;&#97;&#99;&#101;&#125;&#125;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#86;&#94;&#50;&#125;&#123;&#82;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<h2>Practical Application<\/h2>\n<p>Consider a DC motor. Put simply, we are turning the motor on and off at a fixed frequency. If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-fbd1b45ad8c0155577968ad70c7eaf57_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#84;&#61;&#49;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"53\" style=\"vertical-align: 0px;\"\/>, then you would see the motor starting and stopping, causing a juddering. The fundamental frequency of the vibration is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-0c2e145c1cc43c649b56f95ab98022b5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#95;&#123;&#48;&#125;&#61;&#49;&#47;&#84;&#32;&#92;&#32;&#72;&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"102\" style=\"vertical-align: -5px;\"\/>.<\/p>\n<ul>\n<li>If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-efb8ceb9bc342547550e2fd93276686c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#95;&#123;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"16\" style=\"vertical-align: -4px;\"\/> is in the audible spectrum (<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-332444029280a24f3fae87b0d9e1bfd9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#60;&#50;&#48;&#107;&#72;&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"70\" style=\"vertical-align: -2px;\"\/>), it will make the motor noisier.<\/li>\n<li>However, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-content\/ql-cache\/quicklatex.com-efb8ceb9bc342547550e2fd93276686c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#95;&#123;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"16\" style=\"vertical-align: -4px;\"\/> is too high, the \u201cinductive\u201d effects of the motor will significantly reduce the power delivered to the motor (the details of this is something you will study later in the course).<\/li>\n<\/ul>\n<p>As is often the case in engineering, you have to balance trade-offs between different criteria.For now, we are going to do this \u2018empirically\u2019.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pulse Width Modulation is a technique of generating a digital pulse that delivers a controllable amount of power. For example, if we wish to control a DC motor, then the amount of power delivered to the motor will dictate the motor speed. Equally, if controlling an LED, the power delivered will determine the brightness. Consider&hellip; <a class=\"more-link\" href=\"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/glossary-2\/pulse-width-modulation-pwm-glossary-entry\/\">Continue reading <span class=\"screen-reader-text\">Pulse Width Modulation (PWM) &#8211; (Glossary Entry)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":153,"menu_order":55,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-505","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/pages\/505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":18,"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/pages\/505\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/pages\/505\/revisions\/524"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/pages\/153"}],"wp:attachment":[{"href":"https:\/\/blogs.plymouth.ac.uk\/embedded-systems\/wp-json\/wp\/v2\/media?parent=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}