Informaticore / SuperPower

Here you should find the best power supplies for your low-power projects
Other
9 stars 1 forks source link

Review Layout #69

Open Informaticore opened 3 years ago

Informaticore commented 3 years ago

Schematic Level

Board Setup

Copper Layers

Footprints

Clearance

Routing

Silkscreen

MantaRayDeeJay commented 3 years ago

I think that we should improve the GND pins position on J9/J10

Apollo_v1 00_Bottom - Change GND pins

The goal is to do +3.3V and GND pins close together and to add a " virtual shield" between I2C signals and USB signals

MantaRayDeeJay commented 3 years ago

The copper layer 2 should be defined as a "Power Plane"

Board_Setup - Power Plane - With Arrow

MantaRayDeeJay commented 3 years ago

The Layer 2 is defined as a power plane and should be a TRUE power plane without any tracks. The GND plane must clean to avoid any "loop" effect.

Layer 2 (GND Power Plane) - Remove Tracks

On the ESP board, move the track on layer 3 or layer 4. On the Charger board, move the track on layer 4.

MantaRayDeeJay commented 3 years ago

3v3_I2C plane shape could be optimized. Only draw the area you need. It will increase insulation distance between other power plane shapes.

Layer 3 (Copper shapes) 3 3V_i2c (Re-Shape)

MantaRayDeeJay commented 3 years ago

SilkScreen Layer : Max input Voltage can't be +20V (TPS63070 only accept 16V max). PS : I have specified +15V max on the schematic.

Apollo_v1 00_Bottom - Vinput Range TPS63070 - 16V_max - ZOOM

Informaticore commented 3 years ago

Add Silkscreen RefDes for Connectors

@MantaRayDeeJay they all got naming and description do you really need the ref?

Add more "Net Label" to improve the routing process (especially near the DC-DC converters/charger)

I don't understand what you mean with "Net Label", what are you referring to?

Add one 2pts connector/pads for each ouput voltage (+3.3V, +3.3V_MCU and +5V). We need to have the possibility to power sensors, external boards, display, etc. (even if the ESP board is connected)

I will try to add some

MantaRayDeeJay commented 3 years ago

@Informaticore

Add more "Net Label" to improve the routing process (especially near the DC-DC converters/charger)

I don't understand what you mean with "Net Label", what are you referring to?

ANSWER An example below (with one of the 2 DC-DC converters). PS : It should be great to do it for the 2 DC-DC converters and for the LTC4162L charger chip Then, I could continue the review easily on these 3 critical layouts.

TPS_63070_Add_More_Net_Names_ - Updated TPS63070_inductor - highlight - Updated

Informaticore commented 3 years ago

okay - got it

MantaRayDeeJay commented 3 years ago

@Informaticore

Add Silkscreen RefDes for Connectors

@MantaRayDeeJay they all got naming and description do you really need the ref?

ANSWER I think mainly about 2pts connectors because there are 4 on the board. To avoid any confusion, I should recommend to add it. (sometimes, text on silkscreen and text on schematic are not always synchronized). The Ref. Des. stay the only unique ID for each component.

PS : Always think about newbies. (it should be easy for everyone !!!)

MantaRayDeeJay commented 3 years ago

@Informaticore

ESP32 module : The recommanded layout use 12 vias on the Power GND Pad, I can see only one on the board. I think, vias should be added at the footprint level.

ESP32 - GND Power PAD - with Arrow

ESP-WROOM32 - Recommended Layout

ESP-WROOM32 - Recommended Layout - ZOOM

Informaticore commented 3 years ago

@MantaRayDeeJay do you know how to add vias in a footprint?

I didn't try it yet. I think that you could have a look on the footprint used by the LTC4162L to see how it is build (there are vias)

MantaRayDeeJay commented 3 years ago

ESP32 Module : Antenna Clearance

I can see that the recommanded clearances are not fully respected. It should be 15mm min distance (not only 5mm)

ESP_Module and MTG holes

Recommanded_placement

Antenna_Clearance - HighLight

⁣ ⁣ Possible solution : Use a Mouting Hole without any copper shape and avoid the usage of metal screw (Nylon should be good).

M2_Nylon_screw

M2 2_Mtg_Hole

Informaticore commented 3 years ago

We can go back to M2 holes but then we have to go everywhere, also on the charger board.

MantaRayDeeJay commented 3 years ago

@Informaticore

We can go back to M2 holes but then we have to go everywhere, also on the charger board.

ANSWER You don't have enough space on the board to use M2.5 Mtg holes (currently 2.5mm hole diameter without enough clearance space from the edge of the board) Therefore, we haven't any other choice than using M2 holes (2.2mm hole diameter)

PS : We can keep Mtg holes with copper shape for those on the opposite side of the ESP Module Antenna on the charger board.

Informaticore commented 3 years ago

I made all of them M2 (no pad) for consistency

MantaRayDeeJay commented 3 years ago

@Informaticore

@MantaRayDeeJay do you know how to add vias in a footprint?

I didn't try it yet. I think that you could have a look on the footprint used by the LTC4162L to see how it is build (there are vias)

UPDATE

Adding Vias in a footprint is the same way as adding padstacks. (all vias pin numbers must be the same as the EPAD padstack)

I have updated the ESP32 module footprint : Epad 3x3 matrix + vias (as recommended on the datasheet) ESP32-WROOM-32_EPAD_3x3_ThermalVias.zip

ESP32-WROOM-32_epad_3x3_vias

ESP32-WROOM-32_epad_3x3_vias - ZOOM

MantaRayDeeJay commented 3 years ago

@Informaticore

Schematic - Max USB Current settings

Currently, the max current setting for the USB port is 3A. But the reverse protection diode can sink only 2A max. Moreover, Max current used by the board is limited to 500mA (LTC4162 settings) to be compliant with USB2 devices.

I think we should limit the USB current to 1.5A for safety.

Max_USB_current_settings - With Arrows

MantaRayDeeJay commented 3 years ago

@Informaticore

CP2102N : QFN28 footprint

I think you should use the "ThermalVias" Version (I think, only 1 via is not enough) PS : Via hole diameters are defined with 0.2mm. You should redefine them to 0.3mm. (idem as Sethkaz Review)

Capture d’écran (699)

QFN28_Thermal_Vias_ZOOM

MantaRayDeeJay commented 3 years ago

@Informaticore

Power Vdd net is not well routed. (track width = 0.25mm) You should use wider copper tracks and copper shape

Vdd - Width track 0 25mm - with arrow

MantaRayDeeJay commented 3 years ago

@Informaticore

Same thing for the "net-(Q3-Pad1)" between MOSFET (Q3) and Rsense (R13)

Rsense - Width track 0 25mm - with arrow

MantaRayDeeJay commented 3 years ago

@Informaticore

LTC4162-L Layout

Apply the recommended rules from the Datasheet (p. 35)

LTC4162-L - Recommanded Layout

DC2038A Demo Board Layout

DC2038A - Top View DC2038A - Layer 1 (Top) DC2038A - Layer 2 (GND Plane) DC2038A - Layer 3 (Signal-Plane) DC2038A - Layer 4 (Bottom)

MantaRayDeeJay commented 3 years ago

@Informaticore

Vdd Plane shape issue

On layer 4, the "Vdd" plane shape is inner the "GND" plane shape. As you can see, the "GND" plane is generated first and then the "Vdd" plane is not well generated.

The trick is to increase the "Zone Priority Level" feature on the Filled Zone properties dialog box.

Vdd Filled zone With Priority 0 Filled_zone_priority - with arrow With Priority 1 (solved)

Informaticore commented 3 years ago

@Informaticore

LTC4162-L Layout

Apply the recommended rules from the Datasheet (p. 35)

this will be a bigger refactor and change. I will try to do that.

Informaticore commented 3 years ago

@Informaticore

Vdd Plane shape issue

On layer 4, the "Vdd" plane shape is inner the "GND" plane shape. As you can see, the "GND" plane is generated first and then the "Vdd" plane is not well generated.

The trick is to increase the "Zone Priority Level" feature on the Filled Zone properties dialog box.

I know, I forgot about it but strangely the DRC was not warning about it!! That is very bad, it shows 0 issues. Do you see DRC complaining?

MantaRayDeeJay commented 3 years ago

@Informaticore

Vdd Plane shape issue

On layer 4, the "Vdd" plane shape is inner the "GND" plane shape.
As you can see, the "GND" plane is generated first and then the "Vdd" plane is not well generated.

The trick is to increase the "Zone Priority Level" feature on the Filled Zone properties dialog box.

I know, I forgot about it but strangely the DRC was not warning about it!! That is very bad, it shows 0 issues. Do you see DRC complaining?

ANSWER

YES, I can see it !!!

DRC - With Priority 0 DRC - With Priority 0 (Filled) ⁣ By setting "Zone Priority Level" = 1, DRC is clean as you can see below !!! ⁣ DRC - With Priority 1 DRC - With Priority 1 (Filled)

MantaRayDeeJay commented 3 years ago

@Informaticore

LTC4162-L Layout

Apply the recommended rules from the Datasheet (p. 35)

this will be a bigger refactor and change. I will try to do that.

NEXT

This is better but it can be improved.

Rsense2   VbatCap - with arrow LTC4162-L - Recommanded Layout - (Rsense2   Vbat+Cap) DC2038A - Layer 1 (Top) - ZOOM - (with Text) Move JP2 - with arrow Charger Module Power tracks v2bis - Red Lines - Copie

Informaticore commented 3 years ago

@MantaRayDeeJay I applied more changes but I am not 100% about you drawings, please describe a bit more what else should be changed. But I think I got most of it, please check. All the thick traces are thick now, should be good.

MantaRayDeeJay commented 3 years ago

@Informaticore

@MantaRayDeeJay I applied more changes but I am not 100% about you drawings, please describe a bit more what else should be changed. But I think I got most of it, please check. All the thick traces are thick now, should be good.

ANSWER I would like VBat Capacitor (C6) and Rsense (R20) as the recommanded layout used on the DEMO Board. By moving J2, you should have enough place to do it. Moreover, you should keep the RTC chip and Battery protection circuitry enough away from the inductor. (You can also add a shield GND plane around the Inductorr with some Vias on the layer Top)

MantaRayDeeJay commented 3 years ago

@Informaticore

TPS63070 - Footprint Issue

1) Pin 12-13 copper area is wrong for the soldermask and solderpast layer. UPDATED (2021-01-30) : Pin 12-13 seems OK (I don't know what was it happend)

TPS63070 - Land Pattern Example - Red Arrow TPS63070 - pin12 13 - SolderMask Pad Wrong TPS63070 - pin12 13 - SolderPast Pad Wrong

2) The footprint is SMT !!! (not THT)

TPS63070_Select_SMT_instead_THT - Arrow

3) You must delete any global solderpast and soldermask layers on all copper pads. (The footprint countains custom solderpast and soldermask copper shapes) -> Check all copper pads UPDATED (2021-01-30) : All pads which countain solderpast layer don't have any custom solderpast copper shape, therefore, we should also create custom solderpast copper shapes (to keep the footprint consistency)

TPS63070_pin_14 - remove F Past - Arrow

MantaRayDeeJay commented 3 years ago

@Informaticore

TPS63070 : Apply the recommanded Layout 1) Place C1 and C4 as Figure 51 (C19 & C24 for U9 and C21 & C25 for U10) 2) Route L1 and L2 nets as Figure 51 (use vias under pads) 3) Add a gnd shield around the inductor on the top layer as Figure 51

TPS63070 TPS63070 (U9) TPS63070 (U10)

MantaRayDeeJay commented 3 years ago

@Informaticore

Maybe I found critical signals too near the LTC4162-L inductor without GND shield on top layer. I recommand to keep away critical signal near inductors. In this case, it concerns 2 MOSFET gate pin (Q1 and Q5).

Critical signal near LTC inductor - with Arrow

MantaRayDeeJay commented 3 years ago

@Informaticore

LTC4162-L : Separate Inductor GND Shield from other GND Tracks.

GND Shield around inductor common with other tracks - Copie

MantaRayDeeJay commented 3 years ago

@Informaticore

TPS63070 : Separate Inductor GND Shield from other GND Tracks.

GND Shield around inductor common with other tracks (L2) - with arrow

GND Shield around inductor common with other tracks (L3) - with arrow

MantaRayDeeJay commented 3 years ago

@Informaticore

TPS63070 : Optimize Inductor Power shapes against EMI noise : Remove some extra shape area to improve clearance from others nets.

Inductor Power Shapes - Improve areas

MantaRayDeeJay commented 3 years ago

@Informaticore

TPS63070 : Remove "Artifact Tracks" near capacitors

Remove Capacitor GND Artifact Tracks - with cross

MantaRayDeeJay commented 3 years ago

@Informaticore

USB Data Lines : Use a differential pair by following the recommanded rules on the link below.

High Speed USB Design Guidelines http://ww1.microchip.com/downloads/en/AppNotes/doc7633.pdf

USB con - D+D- - with arrows

USB - D- USB - D+

Layout Guidelines (1-2) - ZOOM Layout Guidelines (2-2) - ZOOM

Layout Example - Reverse Mini AB Receptacle - Fig 3 4 (with vias)