
Introduction:
Used for APM firmware and PX4 firmware flight control, mainly used in conjunction with P1 flight controller
Technical exchange group QQ: 478540924
P1 autopilot address:https://oshwhub.com/shuyedeye/p1-flight-control
This hardware design is released under the CC-BY-NC-SA 4.0 license, intended solely for DIY learning and exchange among enthusiasts. Any commercial use and sale without my permission is strictly prohibited. This design is provided as is, without any form of job security/after-sales warranty. I am not responsible for any consequences and joint liabilities arising from personal and property damage/injury to the creator or third parties due to product design, improper operation, or violation of local laws and regulations.
CC-BY-NC-SA 4.0, Creative Commons Attribution-NonCommercial-ShareAlike License.
CC: Abbreviation of Creative Commons license.
BY: Attribution, you must provide appropriate attribution, including a link to this license agreement, and indicate whether modifications have been made to the original work.
SA: Share Alike. If you remix, transform, or create derivative works based on this work, you must distribute your contributions under the same license as the original license.
NC: Non-Commercial Use. You are not allowed to use this work for commercial purposes without permission.
1.电压电流检测使用的是INA239,拥有16位高精度检测,宽共模范围:-0.3 V 至 +85 V 总线电压感应输入:0 V 至 85 V 10MHz SPI 通信接口
3.BEC部分采用LM5146,电压范围为 5.5V 至 100V,输出电压为5.2V左右,电流最高到8A
4.采用STM32L431RCT6作为主控
5.先通过INA239采集电压电流,通过SPI传输到STM32L431RCT6,STM32L431RCT6把数据处理后通过CAN与P1连接
6.当BEC电流大于3A是必须上金属外壳
1.现在固件中的采样电阻值设置的是0.0045,所有必须要焊接两个采样电阻,且是1MR.否则会导致电流采样不准确,电压没有影响。等后面我再把采样电阻换成0.0002R,这个是需要改固件中的代码。
2.集成的是XT90的接口,所有如果使用XT60的用户要准备转换接口。





Use the analysis chart provided by TI's official platform




test video
https://image.lceda.cn/oshwhub/project/attachments/5c6f86dc221a4aa9ade21385cff7a340.mp4
INA228_I2C
INA239_SPI_CAN
schematic diagram

PCB

ID | Name | Designator | Footprint | Quantity | Manufacturer Part | Manufacturer | Supplier | Supplier Part |
|---|---|---|---|---|---|---|---|---|
one | 100nF | C150 | C0402 | one | GRM155R71H104KE14D | muRata (Murata) | LCSC | C77020 |
two | INA228AIDGSR | U9 | VSSOP-10_L3.0-W3.0-P0.50-LS4.9-BL | one | INA228AIDGSR | TI (Texas Instruments) | LCSC | C2887910 |
three | 100nF | C12 | C0805_1 | one | CL21B104KCFNNNE | SAMSUNG | LCSC | C28233 |
four | 100Ω | R3,R4 | R0603 | two | 0603WAF1000T5E | UNI-ROYAL (Housheng) | LCSC | C22775 |
five | 1mΩ | U8 | R5930 | one | SEWF5930D1L00P9 | RESI (Open Step Wisdom) | LCSC | C19192941 |
six | 10kΩ | R60 | R0402 | one | 0402WGF2200TCE | UNI-ROYAL (Housheng) | LCSC | |
seven | XL-1608SURC-06 | LED5 | LED0603-RD_RED | one | XL-1608SURC-06 | XINGLIGHT (Cheng Xingguang) | LCSC | C965799 |
eight | TPS54560DDAR | U209 | SOIC-8_L5.0-W4.0-P1.27-LS6.0-BL-EP2.0 | one | TPS54560DDAR | TI (Texas Instruments) | LCSC | C31966 |
nine | B560C-13-F | D3 | SMC_L7.1-W6.2-LS8.1-RD | one | B560C-13-F | DIODES (American-Taiwanese) | LCSC | C85100 |
ten | 10uH | L1 | IND-SMD_L13.5-W12.6 | one | SLO1350S100MTT | Sunltech (paramagnetic) | LCSC | C242224 |
eleven | 61.9kΩ | R1 | R0603 | one | AC0603FR-0761K9L | YAGEO (Yageo Corporation) | LCSC | C227997 |
twelve | 11kΩ | R5 | R0603 | one | RC0603FR-0711KL | YAGEO (Yageo Electronics Corporation) | LCSC | C137801 |
thirteen | 15.4kΩ | R6 | R0603 | one | RC0603FR-0715K4L | YAGEO (Yageo) | LCSC | C185370 |
fourteen | 249kΩ | R2 | R0603 | one | RC0603FR-07249KL | YAGEO (Yageo) | LCSC | C137763 |
fifteen | 100nF | C1 | C0603_3 | one | AC0603KRX7R0BB104 | YAGEO (Gigabyte) | LCSC | C408909 |
sixteen | 43pF | C8 | C0603_3 | one | 0603N430J500CT | Walsin | LCSC | C388054 |
seventeen | 10uF | C2,C3,C4 | C2220 | three | FS55X106K101EHG | PSA (Xinchang Electric Ceramics) | LCSC | C153035 |
eighteen | 10uF | C11,C10,C7,C6 | C0805_1 | four | CL21A106KOQNNNE | SAMSUNG | LCSC | C1713 |
nineteen | 18nF | C9 | C0603_2 | one | CC0603KRX7R9BB183 | YAGEO (Guo Ju) | LCSC | C107079 |
twenty | 47uF | C5 | CAP-SMD_L7.3-W4.3-R-RD | one | T520D476M016ATE035 | KEMET | LCSC | C116746 |
twenty-one | SMAJ58A | D5 | SMA_L4.3-W2.6-LS5.2-RD | one | SMAJ58A | Littelfuse (Littelfuse Inc.) | LCSC | C151246 |
twenty-two | WAFER-GH1.25-6PWB | U66 | CONN-SMD_GH1.25-6PLTPZ | one | WAFER-GH1.25-6PWB | XUNPU | LCSC | C3029381 |