Author Topic: Anyone used the HX711 24b strain gauge interface iC?  (Read 5478 times)

0 Members and 1 Guest are viewing this topic.

Offline max_torqueTopic starter

  • Super Contributor
  • ***
  • Posts: 1272
  • Country: gb
    • bitdynamics
Anyone used the HX711 24b strain gauge interface iC?
« on: June 16, 2018, 08:51:35 pm »
As per title really!  Has anyone used this IC and found any issues? How many real bits does it return in a typical application?  I'd like to use it with a 100N load cell and  i am wondering what resolution would be sensible to expect (note resolution, not accuracy!)

Datasheet here:

http://www.mouser.com/ds/2/813/hx711_english-1022875.pdf
 

Offline MasterT

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ca
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #1 on: June 16, 2018, 10:37:04 pm »
Here https://forum.arduino.cc/index.php?topic=365107.0 someone estimates 14-15 bits noise free. I'd say 15 for short term just right after re-calibration, and 12 -bits or so in continuous mode. Essentially IC is a crap, look for alternatives, mcp34xx/35xx, ads1232, nau7802 etc.
 

Offline max_torqueTopic starter

  • Super Contributor
  • ***
  • Posts: 1272
  • Country: gb
    • bitdynamics
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #2 on: June 17, 2018, 10:43:01 am »
ah ha, i had a suspicion that a true 24b from a no-name Chinese outfit might have been a bit of overselling! 

I'd like a genuine 16b result, and i can low pass filter because i don't need a high update rate, so rolling my own front end might be more sensible and then sticking the output into a decent 16b ADC?
 

Online wraper

  • Supporter
  • ****
  • Posts: 16794
  • Country: lv
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #3 on: June 17, 2018, 10:49:33 am »
Here https://forum.arduino.cc/index.php?topic=365107.0 someone estimates 14-15 bits noise free. I'd say 15 for short term just right after re-calibration, and 12 -bits or so in continuous mode. Essentially IC is a crap, look for alternatives, mcp34xx/35xx, ads1232, nau7802 etc.
Recent thread about crap modules cases me doubting those results. https://www.eevblog.com/forum/projects/how-can-a-chip-(hx711)-work-without-a-ground-pin-connected/msg1605814/#msg1605814
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8107
  • Country: fi
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #4 on: June 17, 2018, 11:04:10 am »
It's the Arduino forums. It's for artists, by artists (by their own definition).

The test is completely meaningless as there is no picture of the layout nor schematic.

The author seems to almost understand that the limiting factor is not the IC but the layout and other circuitry, by saying: "Maybe 16 [bits] if you're careful with grounding and shielding and use a very low noise power supply and sensor." But accepting the consequence of this understanding, that the test is completely meaningless, is left for the reader.

But hey, when working with 24-bit ADC's, you have to be careful with grounding and shielding and use low noise power supply and [low noise] sensor!  :palm: If not, the ADC magically cannot clean up after your mess; you are just measuring the noise you put in. Actually fairly benchmarking 24-bit ADCs would require quite some expensive gear and massive knowledge.

And, if the end user doesn't have such gear and knowledge, the results is limited to around 13-14, maybe 15 bits maximum regardless of the IC.

The arduino forums can sometimes be a good source of information, but there is a nonobvious, cultural gap in the nomenclature. For example, when they talk about an IC using its specific name, they are almost always talking about the combination of the IC, a poorly designed module (connected using coat hanger like air wires), and a poorly written software library for it. You can apply the information if you are going to use the same module and software library, but you need to know this.
« Last Edit: June 17, 2018, 11:13:20 am by Siwastaja »
 

Offline MasterT

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ca
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #5 on: June 17, 2018, 02:46:59 pm »
ah ha, i had a suspicion that a true 24b from a no-name Chinese outfit might have been a bit of overselling! 

I'd like a genuine 16b result, and i can low pass filter because i don't need a high update rate, so rolling my own front end might be more sensible and then sticking the output into a decent 16b ADC?
Low passing does not help much against non-linearity, thermal drifting or low frequency noise.
You don't need your own front-end, since there are plenty of ADC that are specifically  designed to work with load cells. 


But hey, when working with 24-bit ADC's, you have to be careful with grounding and shielding and use low noise power supply and [low noise] sensor!  :palm: If not, the ADC magically cannot clean up after your mess; you are just measuring the noise you put in. Actually fairly benchmarking 24-bit ADCs would require quite some expensive gear and massive knowledge.
You 'd be surprised, but sigma-delta ADC does exactly that, magically cleaning up interference and noise from power lines. Power rejection is a parameter strictly specified in the data sheet.   
 

Offline max_torqueTopic starter

  • Super Contributor
  • ***
  • Posts: 1272
  • Country: gb
    • bitdynamics
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #6 on: June 17, 2018, 07:26:34 pm »
In my application i am weighing a fluid tank, and that only ever gets lighter as the fluid is used, so i can probably come up with some sort of digital filter to achieve a decent SNR i suspect?

Also, if i use the same voltage ref to drive the strain gauge excitation, and as the ADC ref, then a lot of the major thermal drifts disappear (assuming of course the pcb and components are broadly isothermal) as it ultimately is a ratiometric system.

If my strain gauge is nominally 2mV/V and i use a 10V excite, that 20mV output span, so a front end gain of 100, and a suitable 2.096V reference might work?
 

Offline MasterT

  • Frequent Contributor
  • **
  • Posts: 783
  • Country: ca
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #7 on: June 17, 2018, 10:13:52 pm »
 Design analog front end x100 that has a few uVolts zero offset and a few ppm FS gain error in full industrial temperature range is not easy task.
There is no ratio-metrics, all your caps, resistors and OPA gonna to drift with temperature on a pro-cents scale, hardly provide 7-8 bits accuracy. I'm not saying it's not possible, but why bother if you can buy an ADC for $2 with all features included? With auto-calibration, auto-zero and internal temp sensor?
There are engineering who has done work for you, just buy right chip.  Ads1232 module that I've got from china for about $3 CAD makes me very happy.
 

Offline Alex Eisenhut

  • Super Contributor
  • ***
  • Posts: 3330
  • Country: ca
  • Place text here.
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #8 on: June 18, 2018, 02:02:59 am »
You can design the electronics perfectly, but you'll get error in a milligram precision scale from a draft of warm air. Or just a draft. You have to put a cover over the scale and hold your breath...

That's what I experienced using the Chinese scales I bought a few years ago to weigh quadcopter parts.

There wasn't any need for the 0.001g scale for this kind of work but I couldn't resist. I don't use it anymore because who knows what those digits mean?

I liked the 0.1g and 0.01g scales a lot more.
Hoarder of 8-bit Commodore relics and 1960s Tektronix 500-series stuff. Unconventional interior decorator.
 

Offline djnz

  • Regular Contributor
  • *
  • Posts: 179
  • Country: 00
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #9 on: June 18, 2018, 05:04:14 am »
Just out of curiosity, how are you dealing with the load cell creep?
 

Offline max_torqueTopic starter

  • Super Contributor
  • ***
  • Posts: 1272
  • Country: gb
    • bitdynamics
Re: Anyone used the HX711 24b strain gauge interface iC?
« Reply #10 on: June 18, 2018, 08:13:45 pm »
The device doesn't' need to be across the full industrial temp scale, and in fact, i'd probably put the whole lot in a temp controlled enclosure simply for the sake of simplicity (ie, keep everything at say 40degC, except the strain gauge itself)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf