PCB 应变片
Strain gauge made out of PCB

原始链接: https://github.com/vapetrov/PCB_strain_gauge

本项目展示了一种灵活的、基于PCB的应变片,用于测量从微米到±3厘米的挠度。该传感器利用电路板本身作为传感元件,采用四元件或二元件惠斯通电桥配置。设计为手工组装,无需回流焊。可以直接集成微控制器(例如Seeed Studio XIAO RP2040),也可以外部使用。 主要特点包括通过板厚调节灵敏度,推荐厚度为0.6毫米。可选组件如外部ADC和偏置电压发生器提供了灵活性,但也可以绕过它们以简化配置。示例固件包括偏移校准和连续采样。附带的Python脚本可以可视化输出结果。为保证精度,务必使电路板热稳定。提供的脚本(draw_footprint.ipynb)有助于使用Inkscape和svg2shenzen自定义传感元件的形状。一块加固板通过防止元件侧弯曲来提高测量精度。

Hacker News 的讨论围绕着使用印刷电路板 (PCB) 作为应变计来制作一个 DIY 的毫克级精确秤。原帖作者正在探索昂贵称重传感器的替代方案。评论者们讨论了这种方法的可行性,并指出了由于温度、湿度和 FR4 材料蠕变而导致重复性方面的问题。人们提出了诸如基布尔秤、杠杆臂和电磁线圈等替代方案,并提供了相关项目的链接。一些用户指出市面上有价格低廉的毫克级秤,而另一些用户则强调了精度、准确度和计量溯源性之间的区别,以及高端测量设备相关的成本。还提到了温度补偿技术和校准策略。一个关键的结论是,虽然 PCB 可以用作应变计,但要实现高精度和稳定性,需要仔细考虑环境因素和材料特性。

原文

board

A strain gauge, with amplifier, where the sensing element is the circuit board itself. Sensitive enough to measure deflections in the range of micrometers while having a full scale deflection range of +/- 3cm.

strain_demo.mp4

The recommended board thickness is 0.6mm, although it could be made thicker or thinner for different applications. Thinner boards will result in a smaller output voltage swing.

  • strain_gauge_3.zip
    • 20 mm x 118 mm, 2 layer
    • 0.15mm (~6mil) min trace width
    • 4-element sensing bridge
  • strain_gauge_3_rotated.zip
    • Same as the previous one, except it uses 2-element sensing.
    • Lower thermal drift and bias from manufacturing (theoretically)
  • stran_gauge_stiffener.zip
    • 20 mm x 42 mm rectangle to keep the component side from flexing
    • Can be affixed to the board with 3M VHB 5906

This project was made with hand-assembly in mind, and does not require hot air or a reflow oven.

The board can be used standalone with an integrated microcontroller (Seeed Studio XIAO RP2040) or an external microcontroller through the header pins.
The external ADC (U5) can be omitted, and the analog voltage can be sampled directly on the "OUT" pin.
The bias voltage generator (U8, U4) can also be omitted by placing a jumper wire between pins 2&3 on U8. Doing this will result in a measureable voltage on the output when no force is applied.

The included sample firmware will wait until a serial console is opened, perform a 5 second offset calibration, then sample continuously at the lowest gain setting. The graph.py script can be used to display the output.
For high sensitivity measurements, it's important to let the board reach a stable operating temperature for at least 5 minutes before calibrating.

To customize the shape of the sensing element, draw_footprint.ipynb can be used to generate an outline of a given width, height and curvature. The resulting .svg can be imported into Inkscape and converted into a KiCad footprint using the svg2shenzen tool.

联系我们 contact @ memedata.com