kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.03k stars 472 forks source link

Ground plane under the chip #43

Closed empyre closed 8 years ago

empyre commented 8 years ago

Hello kriswiner,

I find all your MPU-9250 board were designed without ground plane under the chip. In datasheet of MPU-9150, the Assembly Precautions section point out

The exposed center die pad(e-pad or thermal pad) is not required for heat sinking, and should not be soldered to the PCB.

But it also point out

For best performance, design a ground plane under the e-pad to reduce PCB signal noise from the board on which the gyro device is mounted. If the gyro device is stacked under an adjacent PCB board, design a ground plane directly above the gyro device to shield active signals from the adjacent PCB board.

Does it mean a ground plane under the e-pad is necessary but should not be soldered to the e-pad?

I recently contacted Invensense, they said the same design rules are still applicable to MPU-9250. Your mini MPU9250 Teensy 3.1 add-on shields are directly mounted under Teensy board. If without a ground plane between Teensy and MPU9250, would the performance of gyro in MPU9250 affected by Teensy board?

Thanks

kriswiner commented 8 years ago

Any copper underneath the QFN package is undesirable for best magnetometer performance. In general for all MEMS sensors, avoid copper directly beneath the package (on the top layer). This means no pad underneath the chip. If you don't care about the mag performance, you may put a GND layer on the bottom-most layer but I would not recommend it. The performance of the mag and gyro is best with no copper on any layer directly beneath the QFN package outline.

You do want to make sure your pcb design has good ground planes around the chip and that the power ports are properly bypasses with good quality 100 nF 16 V capacitors. Route I2C or SPI traces away (i.e., bottom of board if possible) from the analog power pins (on top layer), keep vias away from the QFN package as well as buttons, switches, mounting holes, etc.

Best results are obtained with a four layer board design with a dedicated ground and power plane in the middle two layers, with signal layers on top and bottom with as much GND copper pour on top and bottom as you can muster.

See:

https://github.com/kriswiner/EM7180_SENtral_sensor_hub/wiki/B.-SENtral-Refer ence-Design

for an example of good design practice using the MPU9250.

Kris Pesky Products

-----Original Message----- From: empyre [mailto:notifications@github.com] Sent: February 26, 2016 4:32 PM To: kriswiner/MPU-9250 Subject: [MPU-9250] Ground plane under the chip (#43)

Hello kriswiner,

I find all your MPU-9250 board were designed without ground plane under the chip. In datasheet of MPU-9150, the Assembly Precautions section point out

The exposed center die pad(e-pad or thermal pad) is not required for

heat sinking, and should not be soldered to the PCB.

But it also point out

For best performance, design a ground plane under the e-pad to

reduce PCB signal noise from the board on which the gyro device is mounted. If the gyro device is stacked under an adjacent PCB board, design a ground plane directly above the gyro device to shield active signals from the adjacent PCB board.

Does it mean a ground plane under the e-pad is necessary but should not be soldered to the e-pad?

I recently contacted Invensense, they said the same design rules are still applicable to MPU-9250. Your mini MPU9250 Teensy 3.1 add-on shields are directly mounted under Teensy board. If without a ground plane between Teensy and MPU9250, would the performance of gyro in MPU9250 affected by Teensy board?

Thanks

Reply to this email directly or view it on GitHub https://github.com/kriswiner/MPU-9250/issues/43 . https://github.com/notifications/beacon/AGY1qnl3u2JLNXxeR2DtTscVwyKnpCCbks5 poOXvgaJpZM4HkTZi.gif

empyre commented 8 years ago

Thanks for the suggestions.

khalil50 commented 7 years ago

image Hi kriswiner !!

i have routed an mpu9250 circuit on pcb board!! But i can't get connectoin with the mpu 9250. this my circuit's schematic and my board . can you help ) sans titre

kriswiner commented 7 years ago

Are you saying you designed and assembled this circuit and it doesn't work?

There are a lot of things wrong here.

What CAD program are you using?

On Wed, Sep 27, 2017 at 9:12 AM, khalil50 notifications@github.com wrote:

[image: image] https://user-images.githubusercontent.com/29459028/30924557-617ce29e-a3af-11e7-8a22-86dd7296b22b.png Hi kriswiner !!

i have routed an mpu9250 circuit on pcb board!! But i can't get connectoin with the mpu 9250. this my circuit's schematic and my board . can you help ) [image: sans titre] https://user-images.githubusercontent.com/29459028/30924293-a0940aee-a3ae-11e7-9b4f-a891afb9a470.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/43#issuecomment-332574135, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qm0Rm7a4Ytbwu6NTcfP7uaXYhzNjks5smnPmgaJpZM4HkTZi .

khalil50 commented 7 years ago

yeah i assembled this circuit but it doesn't work. i use Kicad as a CAD. Can you explain what's wrong please !.

khalil50 commented 7 years ago

Hi kriswiner, I changed my schematic and the pcb, could you please tell me if there is an error ? image 1 image 2

khalil50 commented 7 years ago

I have change again the pcb with the recommandation of the MPU9250 datasheet, Could you comment this please,

Thank you for your help image 3

kriswiner commented 7 years ago

Better:

Pin 20 needs to be connected to GND IIRC.

Pin 22 does not require a pullup, connect directly to 3V3.

Pin 11 does not require a pull down, connect directly to GND.

No copper underneath the package on any layer, do not include a ground pad, no traces of any kind below the package on any layer.

Move cap closer to pin 15, connect pin to 3V3 on other side of cap. In other words, the pin should see the cap not 3V3 trace like pin 8.

Use 10 mil trace for pin 10.

On Mon, Oct 2, 2017 at 3:00 AM, khalil50 notifications@github.com wrote:

I have change again the pcb with the recommandation of the MPU9250 datasheet, Could you comment this please,

Thank you for your help [image: image 3] https://user-images.githubusercontent.com/29459028/31072693-36f52a82-a769-11e7-8469-b1b1ecc01c21.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/43#issuecomment-333491464, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qn1zEWSQ3HD5BDg4JCVP58cm6tOLks5soLQjgaJpZM4HkTZi .

khalil50 commented 7 years ago

Thank you so much kris for your response, Do you mean pin 13 intead of pin 15 ? Because in the datasheet the pin 15 is NC.

kriswiner commented 7 years ago

Yes, pin 13, the one with the cap.

On Tue, Oct 3, 2017 at 1:28 AM, khalil50 notifications@github.com wrote:

Thank you so much kris for your response, Do you mean pin 13 intead of pin 15 ? Because in the datasheet the pin 15 is NC.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/43#issuecomment-333774822, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qq4TNyh-Iy4p4ilSQNXLGaGhGmZ1ks5sofAUgaJpZM4HkTZi .