# Copilot v4 DogFooding - Audio Amplifier
## Description
I'm building an audio amplifier. These are the project requirements:
- Type of Amplifier: Class D (for energy efficiency).
- Input Source: Line-level input from a standard audio source, e.g., mobile phone or PC.
- Output Power: 10W per channel (for a stereo setup).
- Number of Channels: 2 (stereo output).
- Distortion: Total Harmonic Distortion (THD) of less than 0.1% at full power.
- Frequency Response: 20Hz to 20kHz.
- Power Supply: Operate from a single 12V DC source.
- Protection: Over-current and thermal protection for the amplifier IC.
- Connectivity: Standard 3.5mm audio jack for input and screw terminals for speaker outputs.
- Volume Control: A physical potentiometer for volume control.
- Indicator: An LED indicator that shows power ON status.
- Size Constraints: PCB size should not exceed 100mm x 100mm.
Consider every requirement individually when answering any question
## Project Details
- **Owner:** nico
- **Created:** 8/21/2023
- **Last Updated:** 10/12/2023
- **Visibility:** Public
- **Stars:** 2
## Key Components
### U1 — [TPA3118D2DAPR](https://www.flux.ai/adrian95/tpa3118d2dapr~3ml.md)
- Manufacturer Name: Texas Instruments
- Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftpa3118d2
- Part Type: Integrated Circuit
- Manufacturer Part Number: TPA3118D2DAPR
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- ~FAULTZ~ [pin 3]
- ~SDZ~ [pin 2]
- AM0 [pin 15]
- AM1 [pin 14]
- AM2 [pin 13]
- AVCC [pin 17]
- BSNL [pin 20]
- BSNR [pin 26]
- BSPL [pin 24]
- BSPR [pin 30]
- GAIN/SLV [pin 8]
- GND [pin 9]
- GND [pin 25]
- GND [pin 22]
- GND [pin 28]
- GVDD [pin 7]
- LINN [pin 11]
- LINP [pin 10]
- MODSEL [pin 1]
- MUTE [pin 12]
- OUTNL [pin 21]
- OUTNR [pin 27]
- OUTPL [pin 23]
- OUTPR [pin 29]
- PLIMIT [pin 6]
- PVCC [pin 32]
- PVCC [pin 31]
- PVCC [pin 18]
- PVCC [pin 19]
- RINN [pin 5]
- RINP [pin 4]
- SYNC [pin 16]
- Thermal_PAD [pin 33]
### U2 — [TPS25940LRVCR](https://www.flux.ai/adrian95/tps25940lrvcr~ojd.md)
- Manufacturer Name: Texas Instruments
- Datasheet URL: https://www.ti.com/lit/ds/symlink/tps25940.pdf
- Manufacturer Part Number: TPS25940LRVCR
- Part Type: Integrated Circuit
- License: https://creativecommons.org/licenses/by/4.0/
**Pins:**
- ~FLT [pin 20]
- DEVSLP [pin 1]
- DVDT [pin 18]
- EN [pin 14]
- EP [pin 21]
- GND [pin 16]
- ILIM [pin 17]
- IMON [pin 19]
- IN_1 [pin 9]
- IN_2 [pin 10]
- IN_3 [pin 11]
- IN_4 [pin 12]
- IN_5 [pin 13]
- OUT_1 [pin 4]
- OUT_2 [pin 5]
- OUT_3 [pin 6]
- OUT_4 [pin 7]
- OUT_5 [pin 8]
- OVP [pin 15]
- PGOOD [pin 2]
- PGTH [pin 3]
### U3 — [TPS259251DRCT](https://www.flux.ai/adrian95/tps259251drct~wc0.md)
- Part Type: Integrated Circuit
- Manufacturer Name: Texas Instruments
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftps25925
- Manufacturer Part Number: TPS25925x
**Pins:**
- dV/dT [pin 1]
- EN/UVLO [pin 2]
- GND [pin 11]
- ILIM [pin 10]
- NC [pin 9]
- OUT [pin 8]
- OUT [pin 7]
- OUT [pin 6]
- VIN [pin 3]
- VIN [pin 5]
- VIN [pin 4]
### U4 — [PT2313](https://www.flux.ai/jecstronic/pt2313~eia.md)
- Datasheet URL: https://html.alldatasheet.com/html-pdf/1137182/TITAN/PT2313/173/1/PT2313.html
- Part Type: Integrated Circuit
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: PT2313
- Manufacturer Name: Shenzhen
**Pins:**
- AGND [pin 3]
- BIN_L [pin 18]
- BIN_R [pin 20]
- BOUT_L [pin 19]
- BOUT_R [pin 21]
- CLK [pin 28]
- DATA [pin 27]
- DGND [pin 26]
- LFOUT [pin 25]
- LIN [pin 16]
- LIN1 [pin 15]
- LIN2 [pin 14]
- LIN3 [pin 13]
- LOUD_L [pin 12]
- LOUD_R [pin 8]
- LOUT [pin 17]
- LROUT [pin 23]
- REF [pin 1]
- RFOUT [pin 24]
- RIN [pin 6]
- RIN1 [pin 11]
- RIN2 [pin 10]
- RIN3 [pin 9]
- ROUT [pin 7]
- RROUT [pin 22]
- TREB_L [pin 4]
- TREB_R [pin 5]
- VDD [pin 2]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/nico/copilot-v4-dogfooding-audio-amplifier~f3](https://www.flux.ai/nico/copilot-v4-dogfooding-audio-amplifier~f3).*
---
*Generated from [https://www.flux.ai/nico/copilot-v4-dogfooding-audio-amplifier~f3](https://www.flux.ai/nico/copilot-v4-dogfooding-audio-amplifier~f3)*