docs update
@@ -68,17 +68,56 @@ This is Ohms law. So to keep a constant voltage you need to make sure your curre
|
||||
#### Back to the speaker
|
||||
I watched [this](https://www.youtube.com/watch?v=U0FIG2J6Zls) video and now understand the fundementals of a amplifier. The only thing necessary is something that can make an small signal big. For that I can use a MOSFET. I also need to make sure the MOSFET doesn't over current the speaker so that's why it needs a resistor before the gate pin. And I need some sort of buffer for the speaker once it needs a lot of power.
|
||||
|
||||

|
||||

|
||||
|
||||
When I was looking for MOSFET's through the Fab library I found 2 type of MOSFET's P channel and N channel. I quickly searched what it does.
|
||||
|
||||

|
||||

|
||||
|
||||
So for my use case I will need a N channel MOSFET that can work output a linear voltage based on what is supplied on the gate.
|
||||
|
||||

|
||||

|
||||
|
||||
I first had this setup. But then I asked AI for feedback and it told me I used the wrong transistor because it could only be on or off and not anything in between.
|
||||
|
||||

|
||||

|
||||
|
||||
After a while I realized it's way easier to use an IC for this use case. So that's what im going to do.
|
||||
|
||||
I am going to use the `OPAMP_AD8615` as my amplifier. According to its data sheet it has a input voltage from 0 to 5 volts and an output from 7.5 mV to 5 volts. After some time researching on how to use it I decided to use the `LM4871M` because I couldn't find any good examples using the `AD8615`.
|
||||
|
||||

|
||||
This was my last result using the `AD8615`.
|
||||
|
||||
I think this is correctly connected but I still need to add a bypass.
|
||||
|
||||

|
||||
A bypass is to filter the noise from the power supply. To filter noise a capacitor is used.
|
||||
|
||||

|
||||
|
||||
In the documentation of the IC I found how to connect the bypass. I needed to connect the pin to the ground with a capacitor between it.
|
||||
|
||||

|
||||
|
||||
It is also recommended to add a input capacitor in the event the chips requires a lot of power and it can't be deliverd from the source.
|
||||
|
||||

|
||||
|
||||
So I added a 10 μF capacitor at the VDD. So my circuit now looks like this.
|
||||
|
||||

|
||||
|
||||

|
||||
I still need to make sure there isn't too much power going to the pcb. According to these graphs if you change the input power you can make sure it doesn't output too much. So according to the graph I need 2 volt Supply voltage. Because my speaker has a 8 Ohm impedance and the rated watt is 0,25 mW.
|
||||

|
||||
|
||||
```math
|
||||
R = V * I
|
||||
```
|
||||
|
||||
After a while of struggling with all the connections I asked Henk and he said I was thinking too complicated. I don't need a amplifier at all
|
||||
|
||||
|
||||
## Sources
|
||||
* [Datasheet LM4871M](https://www.ti.com/lit/ds/symlink/lm4871.pdf?HQS=dis-dk-null-digikeymode-dsf-pf-null-wwe&ts=1741005529535&ref_url=https%253A%252F%252Fwww.ti.com%252Fgeneral%252Fdocs%252Fsuppproductinfo.tsp%253FdistId%253D10%2526gotoUrl%253Dhttps%253A%252F%252Fwww.ti.com%252Flit%252Fgpn%252Flm4871)
|
BIN
docs/Assignments/week_6_electronic_design/image-21.jpg
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-22.jpg
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-23.jpg
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-24.jpg
Normal file
After Width: | Height: | Size: 165 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-25.jpg
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-26.jpg
Normal file
After Width: | Height: | Size: 195 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-27.jpg
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
docs/Assignments/week_6_electronic_design/image-28.jpg
Normal file
After Width: | Height: | Size: 233 KiB |