# InvenSense MPU-6050

**InvenSense MPU-6050** 是一款六轴惯性测量单元（IMU），将三轴 MEMS 陀螺仪与三轴 MEMS 加速度计集成于单颗芯片，运动数据通过 I2C 总线读取。InvenSense 以“运动追踪”（MotionTracking）为卖点推广该器件，使其在此后十年间成为 Arduino、树莓派和 micro:bit 爱好者与教育项目的默认运动传感器，通常搭载于 GY-521 扩展板上。收购 InvenSense 的 TDK 已将该型号停产：产品状态列为“已停产”（Obsolete），并指定 ICM-42670-P 为推荐替代型号，但明确声明不保证可互换性。<sup>[1](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup><sup> • </sup><sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup>

| 关键事实 | 详情 |
|---|---|
| 传感器内容 | 三轴陀螺仪加三轴加速度计，六轴 MEMS 运动追踪器件，I2C 数字输出<sup>[1](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup> |
| 封装 | 24 引脚 QFN，4.00 mm × 4.00 mm × 0.90 mm，表面贴装<sup>[1](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup><sup> • </sup><sup>[3](https://www.digikey.com/en/products/detail/tdk-invensense/MPU-6050/4038009)</sup> |
| 满量程范围 | 陀螺仪 ±250/500/1000/2000 度每秒；加速度计 ±2/4/8/16 g<sup>[4](https://product.tdk.com/ja/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup> |
| 供电 | VDD 2.375 至 3.46 V；VDDIO 2.375 至 3.46 V；VLOGIC 1.8 V ±5% 或 1.71 V 至 VDD（仅 MPU-6050）<sup>[5](https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/imu/data_sheet/mpu-6000-datasheet1.pdf)</sup> |
| 精度指标 | 陀螺仪速率噪声 0.005 dps/√Hz；灵敏度误差 ±2%<sup>[4](https://product.tdk.com/ja/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup> |
| 开始出货 | 集成六轴 MPU-6050 的商业出货始于 InvenSense 2012 财年第三季度<sup>[6](https://www.sec.gov/Archives/edgar/data/1294924/000119312512025114/d287614dex991.htm)</sup> |
| 生命周期 | 已停产；停产通知 PCN-000614 于 2023 年 7 月 23 日发布，最后采购日 2024 年 1 月 31 日，最后发货日 2024 年 12 月 31 日<sup>[7](https://embeddednerd.com/mpu6050-discontinued-alternatives/)</sup> |
| 推荐替代 | ICM-42670-P（TDK 声明不保证可互换性）<sup>[1](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup> |

## 芯片测量什么

MPU-6050 输出陀螺仪测得的角速度和加速度计测得的加速度，各含三个轴。陀螺仪提供 ±250、±500、±1000、±2000 度每秒四档可编程满量程，加速度计提供 ±2、±4、±8、±16 g 四档；标称陀螺仪速率噪声为 0.005 dps/√Hz，灵敏度误差为 ±2%。<sup>[4](https://product.tdk.com/ja/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup> 片上温度传感器与模数转换器用于测量裸片温度。<sup>[8](https://www.bestmodulescorp.com/tc/amfile/file/download/file/1663/product/1123/)</sup>

器件通过 I2C 通信，从机地址为 0x68 或 0x69，可在硬件上选择。<sup>[9](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)</sup> 在 [Arduino Uno](https://www.edgepedia.org/zh/arduino-uno) 上，SDA 接 A4 引脚，SCL 接 A5 引脚。<sup>[9](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)</sup> VDD 与 VDDIO 的供电范围均为 2.375 至 3.46 V，MPU-6050 版本另有独立的 VLOGIC 逻辑参考电压，为 1.8 V ±5% 或 1.71 V 至 VDD；同系列的 MPU-6000 在接口配置上有所不同。<sup>[5](https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/imu/data_sheet/mpu-6000-datasheet1.pdf)</sup> 仅加速度计的低功耗模式下，1.25 Hz 采样率耗电 10 µA，5 Hz 时 20 µA，20 Hz 时 60 µA，更高采样率下为 110 µA；该器件还提供休眠模式，适合电池供电项目。<sup>[5](https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/imu/data_sheet/mpu-6000-datasheet1.pdf)</sup><sup> • </sup><sup>[9](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)</sup>

**校准行为。** 加速度计与陀螺仪的零偏寄存器保存出厂校准值，而零偏是一个恒定的加性偏移，器件复位不会将其清零；固件必须在启动校准流程中测量并减去该偏移。<sup>[10](https://docs.sim86.com/components/mpu6050/)</sup> 在加速度计零偏寄存器中，零偏输入按 16 g 满量程下每 g 对应 2048 个最低有效位计算，低字节的第 0 位保留用于温度补偿。<sup>[11](https://github.com/kriswiner/MPU6050/blob/master/MPU6050Library/MPU6050.cpp)</sup>

## 它做不到什么

MPU-6050 没有磁力计，因此无法感知绝对航向，基于陀螺仪的航向估计会随时间漂移。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup> 将原始陀螺仪和加速度计读数转化为稳定的姿态是用户自己的任务：需要互补滤波或卡尔曼滤波以及漂移处理，即便如此，没有单独的磁力计仍然无法获得绝对航向。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup> 学术研究已对该传感器的噪声进行了表征，并证明通过滤波与传感器融合可以改善性能。<sup>[12](https://arxiv.org/abs/1608.07053)</sup>

## 历史

InvenSense 当时总部位于[加利福尼亚州桑尼维尔](https://www.edgepedia.org/zh/sunnyvale-california)，以 INVN 为代码在纽约证券交易所上市。公司在 2012 财年第三季度业绩报告（2012 年 1 月 26 日）中宣布，其集成六轴 MPU-6050 产品已开始商业出货。同一季度，公司报告净营收 4120 万美元，同比增长 52%，并于 1 月初推出了其称为全球首款集成九轴运动追踪器件的产品。<sup>[6](https://www.sec.gov/Archives/edgar/data/1294924/000119312512025114/d287614dex991.htm)</sup> 此后该芯片通过低成本扩展板迅速普及，其中最著名的是 GY-521，它让六轴 IMU 的价格降到几英镑，使之成为创客社区的标准运动传感器。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup><sup> • </sup><sup>[13](https://www.instructables.com/MPU6050-Arduino-6-Axis-Accelerometer-Gyro-GY-521-B/)</sup>

## 停产

[TDK InvenSense](https://www.edgepedia.org/zh/tdk-invensense) 于 2023 年 7 月 23 日发布停产通知 PCN-000614，将 2024 年 1 月 31 日定为最后采购日，2024 年 12 月 31 日定为最后发货日。<sup>[7](https://embeddednerd.com/mpu6050-discontinued-alternatives/)</sup> 包括 DigiKey 在内的分销商将该型号列为“已停产”，并注明该器件已不再生产。<sup>[3](https://www.digikey.com/en/products/detail/tdk-invensense/MPU-6050/4038009)</sup> TDK 的产品页面将 ICM-42670-P 列为推荐替代型号，并明确声明不保证可互换性。<sup>[1](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup>

停产影响的是芯片，而非模块：GY-521 风格的扩展板仍在广泛生产和备货，停产丝毫不会削弱现有扩展板的功能。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup><sup> • </sup><sup>[7](https://embeddednerd.com/mpu6050-discontinued-alternatives/)</sup> 由于该芯片嵌入在大量爱好者设备和仿制设备中，买家之间的讨论提到市场上存在假冒 MPU-6050 器件，这意味着，无论是最后采购的货品还是经纪商库存，都应仅通过授权供应商购买。<sup>[14](https://theobsolescencebrief.com/mpu6050-replacement/)</sup> 对于生产周期长达数年的产品设计，基于已停产的芯片进行开发会带来供应链风险，而当前在产的替代方案则可避免这一问题。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup>

## 典型应用

该传感器集低成本、I2C 简单性和教程丰富性于一身，使其成为教育机器人的标配。在两轮自平衡机器人这一倒立摆控制问题中，MPU-6050 提供倾角测量值，供 PID 或模糊控制器据此动作；一项已发表的研究在 OSOYOO 自平衡套件上实现了基于模型和基于数据的控制器，该套件将 Arduino 微控制器、MPU-6050 传感器和直流电机配对，控制律在 LabVIEW-LINX 中构建。<sup>[15](https://arxiv.org/abs/2405.03561)</sup> 爱好者指南描述了相同的架构：Arduino Uno 或 Nano、MPU-6050、带齿轮的直流电机和双 H 桥驱动器。<sup>[16](https://techyorker.com/arduino-two-wheel-self-balancing-robot-build-wiring-code-and-pid-tuning/)</sup> 一篇教程建议，对于传感器垂直安装在底盘上的自平衡机器人，PID 参数可从 Kp = 20、Ki = 0、Kd = 0.5 开始调试。<sup>[9](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)</sup>

其他常见制作包括手势控制机器人——传感器佩戴在手套上，通过蓝牙或 433 MHz 射频链路传输手部姿态，从而以前倾、后仰或转动手腕来指令运动<sup>[9](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)</sup><sup> • </sup><sup>[17](https://github.com/Rishab-Agrawal/arduino-gesture-robot)</sup>——以及在 OLED 屏幕上显示俯仰角和横滚角的数字水平仪。<sup>[9](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)</sup> 研究人员还将该器件用于基于 Blynk 物联网平台的低成本防盗检测系统。<sup>[18](https://arxiv.org/abs/2012.10293)</sup>

## 替代方案

替代很少能一一对应，因为 MPU-6050 项目并不都使用它的相同部分。许多项目只读取加速度计，对此专用的 ADXL345（±2 至 ±16 g，内置单击、双击和自由落体检测）或低功耗的 LIS3DH 即可在当前在产的硅片上胜任。需要真正姿态输出的项目更适合选用 BNO055，它集成了加速度计、陀螺仪和磁力计，并在片上计算出融合姿态，以[欧拉角](https://www.edgepedia.org/zh/euler-angles)或四元数输出，省去了 MPU-6050 迫使用户编写的那层滤波。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup> TDK 自家的后续产品是 ICM 系列六轴传感器，其中 ICM-42670-P 被指定为通用替代型号，而对噪声要求更低的场合则建议选用 ICM-42688-P。<sup>[1](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)</sup><sup> • </sup><sup>[7](https://embeddednerd.com/mpu6050-discontinued-alternatives/)</sup>

从 MPU-6050 迁移的主要成本在软件而非接线。替代传感器同样以 3.3 V 逻辑进行 I2C 通信，但寄存器和库完全不同，现有的 MPU-6050 代码无法直接移植；库和读取代码必须重写。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup> 对于课堂教学和一次性原型，MPU6050 模块仍是合理的选择，有十年的教程和示例代码作为支撑。<sup>[2](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)</sup>

## References

1. [MPU-6050 product page, TDK Product Center](https://product.tdk.com/en/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)
2. [MPU6050 alternatives: what to use now the chip is EOL, Rapid Electronics](https://www.rapidonline.com/news/mpu6050-alternatives-equivalents)
3. [MPU-6050 TDK InvenSense, DigiKey](https://www.digikey.com/en/products/detail/tdk-invensense/MPU-6050/4038009)
4. [MPU-6050 detailed information, TDK Product Center (Japanese)](https://product.tdk.com/ja/search/sensor/mortion-inertial/imu/info?part_no=MPU-6050)
5. [MPU-6000/MPU-6050 Product Specification, InvenSense (TDK)](https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/imu/data_sheet/mpu-6000-datasheet1.pdf)
6. [Text of Press Release Issued by Invensense Inc., SEC EDGAR](https://www.sec.gov/Archives/edgar/data/1294924/000119312512025114/d287614dex991.htm)
7. [MPU6050 Alternative 2026: 3 Replacements Compared, EmbeddedNerd](https://embeddednerd.com/mpu6050-discontinued-alternatives/)
8. [MPU-6050 datasheet V3.4, Best Modules](https://www.bestmodulescorp.com/tc/amfile/file/download/file/1663/product/1123/)
9. [MPU6050 Tutorial: Complete Guide to Arduino Motion Sensing for Robotics, ThinkRobotics](https://thinkrobotics.com/blogs/tutorials/mpu6050-tutorial-complete-guide-to-arduino-motion-sensing-for-robotics)
10. [MPU-6050 IMU, Simulator86 Documentation](https://docs.sim86.com/components/mpu6050/)
11. [kriswiner/MPU6050 library source, GitHub](https://github.com/kriswiner/MPU6050/blob/master/MPU6050Library/MPU6050.cpp)
12. [Noise modeling and analysis of an IMU-based attitude sensor, arXiv:1608.07053](https://arxiv.org/abs/1608.07053)
13. [MPU6050: Arduino 6 Axis Accelerometer + Gyro, GY-521, Instructables](https://www.instructables.com/MPU6050-Arduino-6-Axis-Accelerometer-Gyro-GY-521-B/)
14. [MPU-6050 replacement: obsolete 6-axis IMU cross-reference, The Obsolescence Brief](https://theobsolescencebrief.com/mpu6050-replacement/)
15. [Model- and Data-Based Control of Self-Balancing Robots, arXiv:2405.03561](https://arxiv.org/abs/2405.03561)
16. [Arduino Two-Wheel Self-Balancing Robot: Build, Wiring, Code and PID Tuning, TechYorker](https://techyorker.com/arduino-two-wheel-self-balancing-robot-build-wiring-code-and-pid-tuning/)
17. [arduino-gesture-robot, GitHub (Rishab-Agrawal)](https://github.com/Rishab-Agrawal/arduino-gesture-robot)
18. [Low-Cost Compact Theft-Detection System using MPU-6050 and Blynk IoT Platform, arXiv:2012.10293](https://arxiv.org/abs/2012.10293)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Robot components and hardware › Motion and inertial sensors

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/invensense-mpu-6050

English original: https://www.edgepedia.org/invensense-mpu-6050
