Why does my sensor show "gaps" every 16 units of resolution?

In summary: Yes, I can generate a long slow change in physical torque to produce a slow linear numerical ramp. Ideally two to ten identical values before the next. Those numbers can help to identify the reason for the missing codes.Thank you, this is very helpful.
  • #1
mazzo532
7
0
TL;DR Summary
Why does my sensor shows "gaps" every 16 units of resolution? SEE IMAGE
Hello Gentlemen,

I'm not an EE engineer, yet trying to help my colleagues. I would like to get a general feeling of what could be going on.
Probably trivial for some of you.

Background
We have a motor/torque sensor device that is measuring torque values. We get out digital signals for Torque and Position.
Below you can find a simple plot of a bunch of torque curves (several repetitions of the same experiment).
Plots are simply Torque vs sampling point count.

Question/issue
As you can notice from the the torque curves, there seems to be torque values that are "not used" by our sensor. Empty bands, no matter what.
I could define them as "gaps in the measurement resolution".

The only remarkable detail is that I seem to see 1 "resolution gap" every 16 resolution points exactly.

In other words, if resolution was 0.1Nm our measurement system would acts like this:
1. Can measure 0.0Nm
2. Can measure 0.1Nm
3. Can measure 0.2Nm
...
15. Can measure 1.4Nm
16. GAP --> Cannot measure 1.5Nm
...
and so on
I have the feeling this phenomenon is super trivial
What could that be?
What are good keywords to search info about such a phenomenon in the web?
I'm sorry for the basic formulation. Any hint appreciated.
Thank you in advance!
Gaps_in_Resolution.jpg
 
Engineering news on Phys.org
  • #2
Look at the actual data before it is scaled for the plot. Are there gaps in the data?
It could be a beat between the quantisation of your data and the vertical axis of the scale.
 
  • #3
I know nothing about EE sensors, and there are way more knowledgeable people here - so take this for what it's worth - but this pattern looks familiar to me from other contexts.

If the sensor's resolution is not the same as the graph's resolution - for example the sensor outputs 15 subdivisions per unit, and the diagram's resolution is 16 increments per unit, the renderer may be rounding the numbers, causing it to skip one.

Here's a really crude analogy with a TV volume display:
A TV's software might have 10 increments on its volume control. i.e. 10 different actual settings.
But the screen display for volume is actually 12 pixels in height.
So a volume increment is equal to 6/5ths of a pixel.
Every 5 increments, the displayed volume bar will jump by 2 instead of 1.
1644429167246.png

(I muffed it up a little but you get the idea.)The upshot is that, ostensibly, it is only an artifact of graph rendering, not an error in measurement.

Solution: play with the rendering - esp. the vertical scale - until the artifact goes away.


[Yeah, @Baluncore expressed it much more eloquently.]
 
Last edited:
  • Like
Likes Klystron, russ_watters, Tom.G and 1 other person
  • #4
DaveC426913 said:
[...]

The upshot is that, ostensibly, it is only an artifact of graph rendering, not an error in measurement.

Solution: play with the rendering - esp. the vertical scale - until the artifact goes away.


[Yeah, @Baluncore expressed it much more eloquently.]

Hi Dave,

thank you for your fast feedback.
I gave a look in the meanwile: the data showed you is already my raw output from our bench (as raw as I have access to).

I just placed it in a simple Excel scatterplot and magnified to see those bands clearly.Could it be that there's a similar upscaling/rendering issue in the measurement system itself?
Is it common, to have a measurement device hooked up to a "controller" that has a different resolution --> leading to this "aliasing" kind of issue?Thanks again!
 
  • #5
mazzo532 said:
Could it be that there's a similar upscaling/rendering issue in the measurement system itself?
Yes. That is almost certainly the case.
mazzo532 said:
Is it common, to have a measurement device hooked up to a "controller" that has a different resolution --> leading to this "aliasing" kind of issue?
No, because the problem would be identified and fixed. That is what you must do now. It could be a fault in an AD converter. What type of AD converter is used? Is there another system somewhere you could borrow to do an exchange test to isolate faulty equipment?

Can you attach a copy of the initial data file, before you loaded it into excel. I would like to see the data you got from the sensor so I could do a statistical frequency analysis. That might give a clue to the quantisation forbidden zones at 3.15, 3.35 and 3.55 .

Please provide a better description of your setup. A block diagram of the test bed with instrument make and model showing data flow.

Also, can you generate a long slow change in physical torque to produce a slow linear numerical ramp. Ideally two to ten identical values before the next. Those numbers can help to identify the reason for the missing codes.
 
  • Like
Likes russ_watters
  • #6
Baluncore said:
It could be a fault in an AD converter. What type of AD converter is used?
I think that could be the problem. If the ADC is not linear, in as far as it has gaps or overlaps in its transfer characteristic then there will be input analogue levels that either don't appear at all or which are duplicated.
Baluncore said:
Also, can you generate a long slow change in physical torque to produce a slow linear numerical ramp. Ideally two to ten identical values before the next
There are many different possible designs for ADCs but this application seems to be pretty undemanding. The in/out curve should always be monotonic (maybe not a straight line) and with no gaps.

I'm not a big fan of 'valve changing' - a technique (old valve sets) of problem solving which used to consist of changing the valve that goes most often, then go for the next most likely etc.. Can you change the ADC conveniently?
 
  • #7
sophiecentaur said:
I'm not a big fan of 'valve changing' - a technique (old valve sets) of problem solving which used to consist of changing the valve that goes most often, then go for the next most likely etc.. Can you change the ADC conveniently?
I am not suggesting a swap of an A-D chip, but a complete instrument swap to see if the fault moves with one particular instrument. I tend to design parallel systems using duplicated modules, since that enables swapping modules as a way of substitute testing.
 
  • Like
Likes Klystron and sophiecentaur

1. Why do I see gaps in my sensor readings every 16 units of resolution?

There could be several reasons for this. One possibility is that your sensor is not capable of measuring values at a resolution finer than 16 units. Another possibility is that there is interference or noise in the sensor's signal, causing gaps in the readings. It is also possible that the sensor is not properly calibrated, leading to inaccurate readings.

2. How can I fix the gaps in my sensor readings?

The first step would be to check if your sensor is capable of measuring values at a resolution finer than 16 units. If it is, then you may need to troubleshoot for any potential sources of interference or noise in the sensor's signal. Additionally, recalibrating the sensor may help to reduce or eliminate the gaps in the readings.

3. Is it normal to see gaps in sensor readings?

It depends on the type and quality of the sensor. Some sensors may have a limited resolution and therefore, gaps in the readings are expected. However, if your sensor is designed to provide continuous readings, then gaps may indicate an issue with the sensor.

4. Can the gaps in my sensor readings affect the accuracy of my data?

Yes, gaps in the readings can significantly affect the accuracy of your data. If the gaps are due to interference or noise, it can distort the overall data and lead to incorrect conclusions. It is important to address and fix any gaps in the sensor readings to ensure the accuracy of the data.

5. Are there any troubleshooting steps I can take to identify the cause of the gaps in my sensor readings?

Yes, there are a few steps you can take to troubleshoot the issue. First, check if your sensor is capable of measuring values at a resolution finer than 16 units. If it is, then try to eliminate any potential sources of interference or noise in the sensor's signal. You can also try recalibrating the sensor. If the issue persists, it may be a sign of a faulty sensor that needs to be replaced.

Similar threads

Replies
5
Views
2K
  • Advanced Physics Homework Help
Replies
6
Views
1K
Replies
10
Views
6K
  • Special and General Relativity
Replies
1
Views
2K
  • Other Physics Topics
Replies
0
Views
735
  • Astronomy and Astrophysics
Replies
7
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
Back
Top