minor corrects to report, add pwm_on_off.svg

This commit is contained in:
2023-11-15 12:24:19 +00:00
parent 39ccb44a50
commit 1f69aa3114
2 changed files with 249 additions and 6 deletions

240
images/pwm_on_off.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.2 MiB

View File

@@ -26,6 +26,7 @@ uuid: 864e5249-a02c-4896-b274-a0a76789955c
## Question 2 ## Question 2
- 100 % duty cycle PWM is different from all the others as it is not a wave, but just a DC voltage - 100 % duty cycle PWM is different from all the others as it is not a wave, but just a DC voltage
(the entire region is the ON region, hence it is not underlined in the figures)
- Voltage is not zero in the OFF region because the rotational inertia is still spinning the motor, - Voltage is not zero in the OFF region because the rotational inertia is still spinning the motor,
which creates a back EMF, and that is the voltage being read in the OFF region. which creates a back EMF, and that is the voltage being read in the OFF region.
Back EMF is proportional to the speed of the motor, which is why the voltage in the off region is Back EMF is proportional to the speed of the motor, which is why the voltage in the off region is
@@ -37,13 +38,15 @@ uuid: 864e5249-a02c-4896-b274-a0a76789955c
## Question 3 ## Question 3
- The difference between the ON+ and ON- is that the current will go in opposite directions, ![H-Bridge at different states](./images/h-bridge.png)
resulting in the motor spinning in opposite directions
- The default PWM frequency of pin 13 on the Arduino Mega 2560 is 976.5625 Hz [^1]
- The audible frequency we hear is a ~1000 Hz square wave, which can be seen by the fact the period of
the wave in figure below is roughly 1 millisecond
![PWM waveform at 977 Hz](./images/pwm_frequency.jpg) - The difference between the ON+ and ON- in the figure above is that the current will go in opposite
directions, resulting in the motor spinning in opposite directions
- The default PWM frequency of pin 13 on the Arduino Mega 2560 is 976.5625 Hz [^1]
- The audible frequency we hear is a ~1000 Hz square wave, which can be seen by the fact the period
of the wave in figure below is roughly 1 millisecond (see figure below)
![PWM waveform at 977 Hz](./images/pwm_frequency.jpg){ height=2in }
\newpage \newpage