Compare commits
2 Commits
962e609e5b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
1f69aa3114
|
|||
|
39ccb44a50
|
240
images/pwm_on_off.svg
Normal file
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 |
@@ -7,3 +7,11 @@
|
||||
Marks: 100%
|
||||
|
||||
[Feedback sheet](./res/prep-feedback.pdf)
|
||||
|
||||
## Post Lab Coursework
|
||||
|
||||
View [lab coursework report](./report.md).
|
||||
|
||||
Questions stated in [lab procedure sheet](./res/Lab 1 - Sensors and Encoder - Procedure Sheet and Coursework.pdf).
|
||||
|
||||
Marks and feedback pending.
|
||||
|
||||
15
report.md
15
report.md
@@ -26,6 +26,7 @@ uuid: 864e5249-a02c-4896-b274-a0a76789955c
|
||||
## Question 2
|
||||
|
||||
- 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,
|
||||
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
|
||||
@@ -37,13 +38,15 @@ uuid: 864e5249-a02c-4896-b274-a0a76789955c
|
||||
|
||||
## Question 3
|
||||
|
||||
- The difference between the ON+ and ON- 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
|
||||

|
||||
|
||||

|
||||
- 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)
|
||||
|
||||
{ height=2in }
|
||||
|
||||
\newpage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user