Files
ObsidianVault/PCB Design/Music Player/Process.md
T
2026-06-25 22:45:52 -07:00

42 lines
2.7 KiB
Markdown

#pcb/musicplayer #pcb
- - -
## TPS63020
### Choosing an Inductor
Neither of the options given in the datasheet are still available so a different inductor will need to be chosen
The equations needed to find the peak current in steady state operation are
Duty cycle boost: $$D=\frac{{V_{OUT} - V_{IN}}}{V_{OUT}}$$
and peak current: $$I_{PEAK} = \frac{I_{out}}{\eta * (1 - D)} + \frac{{V_{IN} * D}}{2 * f * L}$$
where
- $D$ = duty cycle in boost mode
- $f$ = converter switching frequency
- $L$ = inductor value
- $\eta$ = estimated converter efficiency
(This is taken from section 8.2.2.2 of the datasheet)
First, to calculate the duty cycle boost we can plug in the output voltage (3.3V) and the "minimum input voltage in boost mode" which for the BQ25985 is listed as 2.304V
$$D = \frac{{3.3 - 2.304}}{3.3} = 0.302$$
Now calculating for $I_{PEAK}$ using the values
- $D = 0.302$ (calculated previously)
- $f = 2.5$ (MHz, typical stated in datasheet)
- $L=1.5$ (uH, value for inductor used)
- $\eta = 0.9$ (efficiency assumption stated in datasheet)
$$I_{PEAK} = \frac{3.3}{0.9 * (1 - 0.302)} + \frac{{2.304 * 0.302}}{2 * 2.5 * 1.5} = 5.346$$
The datasheet states to pick an inductor with a saturation current 20% higher than the calculated value which would mean $$I_{sat} \geq 6.415$$
The [EXLA1V0402-1R5-R](https://www.digikey.com/en/products/detail/eaton-electronics-division/EXLA1V0402-1R5-R/16893520) has a saturation current of 6.7A which should be a good value for this application. The DC resistance is also low and comparable to the options listed in the datasheet.
### Output Capacitors
The datasheet states no major considerations except for capacity and being small and ceramic. Either ones I already have or any 22uF ceramic capacitor will be used.
### Input Capacitors
Other than being X5R or X7R no other major considerations are needed for the input capacitors.
### Output Voltage Selection
Since 3.3V are needed the values of 180K and 1M will be used for the feedback voltage divider as stated in the table of common output voltage values in the datasheet.
| $V_{OUT}$ | $R1$ | $R2$ |
| --------- | ----------- | ------------- |
| 3.3 V | 1 M$\Omega$ | 180 k$\Omega$ |
### Layout Considerations
Figure 31 in section 10.2 of the datasheet should be used as an example layout for the regulator
## PCM5102A
## LCD Selection
Initially I was planning to use the [NHD-2.4-240320DA-CTXN](https://www.digikey.com/en/products/detail/newhaven-display-intl/NHD-2-4-240320DA-CTXN/26743729) but I found that it requires 9.0V to drive the back light. Since I am driving this off of a single cell lipo I didn't want to add the additional complexity of another boost converter to get to 9.0V. I was able to find