Calibrating a load cell you cannot trust Güvenmediğiniz bir yük hücresini kalibre etmek

2026 / 10  /  9 min read9 dakika

The universal testing machine, assembled
1 The machine. A 300 kg load cell, an HX711 amplifier and a NEMA 17 through a 50:1 gearbox. Cihaz. 300 kg yük hücresi, HX711 yükselteç ve 50:1 redüktör üzerinden NEMA 17.

A commercial universal testing machine starts somewhere around the price of a car. For a capstone project that number is not a budget, it is a wall. So we built one: a 300 kg load cell, a 24-bit HX711 amplifier, an Arduino Mega 2560, a NEMA 17 stepper through a 50:1 planetary gearbox, and a Python interface on the other end of a serial cable.

Every one of those parts is sold for something else. The load cell is a scale component. The HX711 is a kitchen-scale chip. None of them was designed for a measurement anyone would defend in a paper. Getting numbers out of them that hold up was most of the project, and almost none of it was mechanical.

The first problem is not accuracy, it is stability

The instinct is to go straight to calibration: hang known masses, fit a line, done. That gives you a calibration which is valid for the ten minutes you took it in.

Before any of that is worth doing, you have to know how much the reading moves on its own. With the crosshead stationary and nothing loaded, log the raw value for an hour. What that hour shows you is the real instrument:

Until those three are separated from each other, a calibration curve is fitting a line through moving targets.

The stepper was the noise

The periodic noise turned out to be ours. The stepper driver sits centimetres from a bridge circuit producing millivolts, and it switches current at a few tens of kilohertz. The signal was riding the motor.

Three changes fixed it, in order of how much they helped:

Shield the amplifier, not the cable

We printed an enclosure for the HX711 and lined it, giving the amplifier its own shielded volume with a single ground reference. Moving the amplifier into a shield did more than any amount of cable routing, because the amplifier is where microvolts become numbers. Once that was done, motor noise in the signal dropped to the point where it stopped being the dominant term.

Separate the grounds, join them once

Motor current returning through the same ground path as the bridge reference puts the motor's switching straight into the measurement. Separate returns, meeting at exactly one point near the supply, removed what the shield had not.

Do not measure while you move, if you do not have to

This is the unglamorous one. In a quasi-static tensile test the crosshead speed is low and the interesting quantity changes slowly. Sampling in short windows between motion steps costs nothing in terms of the result, and removes the worst of the coupling by construction. Knowing what your experiment does not need is a real engineering tool.

Calibration that survives the week

With the instrument stable, calibration became ordinary — with three habits worth keeping:

Calibrate over the range you will use, not the range on the label. A 300 kg cell used between 0 and 40 kg should be characterised between 0 and 40 kg. Fitting across the full rated range and then working in the bottom eighth of it buys you the full-range error in your actual measurements.

Load up and down. The difference between the ascending and descending curves is hysteresis, and it is a property of your fixture as much as of the cell. A clamp that slips a little is indistinguishable from a material that yields a little, which is exactly the thing you are trying to measure.

Tare is a measurement, not a button. Averaging a few hundred samples with the machine at rest, immediately before each test, removes the warm-up drift without pretending it is not there.

Validation is the only thing that counts

Everything above is internal consistency. It says the machine agrees with itself. It does not say the machine is right.

The only answer is to test specimens whose behaviour is already known and compare. Where our curves matched published behaviour for the same material, the instrument was earning its keep; where they did not, the gap pointed at the fixture far more often than at the electronics. That comparison is what turned a pile of parts into something we could present, and later publish.

What I would tell someone starting

Budget your time the way the error budget actually falls. Ours was roughly: a fifth mechanical, a fifth firmware and interface, and well over half fighting noise, drift and fixturing. If you are building a measurement instrument out of inexpensive parts, that last category is the project. Everything else is assembly.

Ticari bir üniversal test cihazı bir araba fiyatından başlıyor. Bir bitirme projesi için bu rakam bütçe değil, duvardır. Biz de bir tane yaptık: 300 kg'lık yük hücresi, 24-bit HX711 yükselteç, Arduino Mega 2560, 50:1 planet redüktör üzerinden NEMA 17 step motor ve seri kablonun ucunda bir Python arayüzü.

Bu parçaların her biri başka bir iş için satılıyor. Yük hücresi bir tartı bileşeni. HX711 bir mutfak terazisi yongası. Hiçbiri, bir bildiride savunulacak bir ölçüm için tasarlanmamıştı. Onlardan ayakta duran sayılar çıkarmak projenin büyük kısmıydı ve neredeyse hiçbiri mekanik değildi.

İlk problem doğruluk değil, kararlılık

İçgüdü doğrudan kalibrasyona gitmek: bilinen kütleleri as, doğruyu uydur, bitti. Bu size yalnızca kalibrasyonu aldığınız on dakika için geçerli bir eğri verir.

Bunların hiçbiri anlamlı olmadan önce, okumanın kendi başına ne kadar gezdiğini bilmeniz gerekiyor. Hareketli başlık dururken ve hiçbir yük yokken ham değeri bir saat boyunca kaydedin. O bir saat size gerçek cihazı gösterir:

Bu üçü birbirinden ayrılmadan, kalibrasyon eğrisi hareketli hedeflerden doğru geçirmektir.

Gürültünün kaynağı step motordu

Periyodik gürültünün kaynağı kendimizdik. Step sürücü, milivolt üreten bir köprü devrinin birkaç santim yanında duruyor ve akımı onlarca kilohertzde anahtarlıyor. Sinyal motorun üstüne biniyordu.

Üç değişiklik bunu çözdü; en çok işe yarayandan başlayarak:

Kabloyu değil, yükselteci ekranla

HX711 için bir muhafaza bastık ve içini kapladık; böylece yükselteç tek bir toprak referansı olan kendi ekranlı hacmine kavuştu. Yükselteci ekranın içine almak, kablo güzergâhıyla uğraşmanın tamamından daha çok işe yaradı — çünkü mikrovoltların sayıya döndüğü yer yükselteçtir. Bu yapıldıktan sonra sinyaldeki motor gürültüsü baskın terim olmaktan çıktı.

Toprakları ayır, bir kez birleştir

Motor akımının köprü referansıyla aynı toprak yolundan dönmesi, motorun anahtarlamasını doğrudan ölçümün içine koyar. Ayrı dönüş yolları ve besleme yakınında tam olarak tek bir noktada buluşma, ekranın bırakmadığını temizledi.

Mecbur değilsen hareket ederken ölçme

Gösterişsiz olanı bu. Yarı-statik bir çekme testinde başlık hızı düşüktür ve ilgilendiğimiz büyüklük yavaş değişir. Hareket adımları arasındaki kısa pencerelerde örneklemek sonuç açısından hiçbir şeye mal olmaz ve kuplajın en kötü kısmını yapısal olarak ortadan kaldırır. Deneyinizin neye ihtiyacı olmadığını bilmek gerçek bir mühendislik aracıdır.

Haftayı çıkaran kalibrasyon

Cihaz kararlı hâle geldikten sonra kalibrasyon sıradanlaştı — korunmaya değer üç alışkanlıkla:

Etiketteki aralıkta değil, kullanacağınız aralıkta kalibre edin. 0–40 kg arasında kullanılan 300 kg'lık bir hücre 0–40 kg arasında karakterize edilmelidir. Tüm anma aralığına doğru uydurup sonra alt sekizde birinde çalışmak, tam aralık hatasını gerçek ölçümlerinize taşır.

Yükü artırarak ve azaltarak ölçün. Çıkan ve inen eğriler arasındaki fark histerezistir ve hücre kadar bağlantı aparatınızın da bir özelliğidir. Biraz kayan bir çene ile biraz akan bir malzeme ayırt edilemez; oysa ölçmeye çalıştığınız şey tam olarak budur.

Dara bir ölçümdür, bir düğme değil. Her testten hemen önce, cihaz dururken birkaç yüz örneğin ortalamasını almak, ısınma kaymasını yok saymadan ortadan kaldırır.

Tek sayan şey doğrulama

Yukarıdakilerin hepsi iç tutarlılıktır. Cihazın kendisiyle uyumlu olduğunu söyler. Doğru olduğunu söylemez.

Tek cevap, davranışı zaten bilinen numuneleri test edip karşılaştırmaktır. Eğrilerimizin aynı malzeme için yayımlanmış davranışla örtüştüğü yerde cihaz hakkını veriyordu; örtüşmediği yerde fark, elektronikten çok daha sık bağlantı aparatını işaret ediyordu. Bir yığın parçayı sunulabilir ve sonrasında yayımlanabilir bir şeye çeviren şey bu karşılaştırmaydı.

Başlayacak birine söyleyeceğim şey

Zamanınızı hata bütçesinin gerçekte dağıldığı gibi bütçeleyin. Bizimki kabaca şöyleydi: beşte biri mekanik, beşte biri gömülü yazılım ve arayüz, yarısından fazlası gürültü, kayma ve bağlantı aparatıyla mücadele. Ucuz parçalardan bir ölçüm cihazı kuruyorsanız, projenin kendisi o son kategoridir. Geri kalanı montajdır.

← All writing← Bütün yazılar