Lab 5- Filtered PWM, Open & Closed Loop Control of Motor
Name: NetID:
Lab 5.1: 07/18/2023 Lab 5.2: 07/25/2023
Due Date: 8/1/2023
Statement of Purpose:
The lab is subdivided into two parts. Each part purports to implement a method that controls a
DC-motor. The first part of the lab uses pulse width modulation (PWM) to control the motor. A
PWM generates an analog signal out of a digital one by tuning the duty cycle of the digital
signal. However, the PWM signal coming from our Arduino Nano Every has two components: a
DC offset and a sinusoidal signal. Therefore, a loss pass filter is implemented to attenuate the
sinusoidal part of the PWM signal. Finally, a MOSFET transistor is used to amplify the filtered
PWM signal going through the motor.
The second part of the lab dismisses the low pass filter circuit and opts for a closed loop control
of the motor. In this closed loop control, the motor is intended to reach a reference RPM value.
The actual RPM is calculated considering the number of magnets passed every loop time of the
motor. The difference between the reference RPM value and the actual RPM of the motor is then
calculated. This difference is multiplied by a constant and added to the PWM signal thus
adjusting the RPM of the motor close to the reference RPM.
Plan
Figure 1: Schematic of the circuit to control the motor using fitltered PWM signal.
, Figure 2: Fritzing Breadboard of the circuit to control the motor using fitltered PWM signal.
Figure 3: Schematic of the circuit to control the motor in a closed loop.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller VEVA2K. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £19.44. You're not tied to anything after your purchase.