An rpi based DIY Vibration meter - Page 11 - AVS Forum | Home Theater Discussions And Reviews
Forum Jump: 
 103Likes
Reply
 
Thread Tools
post #301 of 321 Old 09-04-2019, 01:28 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
a 0.3.0 release should be up in the next 30mins or so which contains the aforementioned changes (to let you load/save measurements, and hence share them, easily)
3ll3d00d is online now  
Sponsored Links
Advertisement
 
post #302 of 321 Old 09-06-2019, 03:44 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
0.3.1 is out with assorted fixes (mostly to the spectrogram view)
3ll3d00d is online now  
post #303 of 321 Old 09-07-2019, 03:39 AM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
0.3.2 has changes to the RTA view which mean you can independently choose whether to show the live view (i.e. the very latest data), the average (of all the data for the last x seconds) and the peak (like the average but the maximum values), the age of the data to keep is also configurable as well as the amount of smoothing to apply

Attached Thumbnails
Click image for larger version

Name:	hold.png
Views:	34
Size:	21.9 KB
ID:	2612178  
Nalleh likes this.
3ll3d00d is online now  
Sponsored Links
Advertisement
 
post #304 of 321 Old 09-07-2019, 08:21 AM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
Example from my system playing white noise


You might be able to see how the hold time affects averaging so that it gives a decent view on a steady state signal
Nalleh likes this.
3ll3d00d is online now  
post #305 of 321 Old 09-07-2019, 08:54 AM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
Is that the "test tone" we settled on? It would be nice to establish a standard or two.

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #306 of 321 Old 09-07-2019, 09:02 AM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
Quote:
Originally Posted by LastButNotLeast View Post
Is that the "test tone" we settled on? It would be nice to establish a standard or two.
Yes, that (white noise band limited from 0 to Nyquist) is what I have recommended for years so it is a standard as far as I am concerned
3ll3d00d is online now  
post #307 of 321 Old 09-07-2019, 12:37 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
to explain what the graphs show....

sensor is collecting data at 500Hz, i.e. every 2ms

The app analyses, by default, this data to yield a frequency resolution of approx 1Hz. In order to achieve this, we need 512 (a power of 2 value is used for various reasons) samples, i.e. approximately 1s of data. This means every line drawn on the RTA is the result of 1s worth of measurements.

However the recorder is streaming this data to recorder in real time, it is configurable but by default it will send about 8 samples at a time (the way the data is transmitted means this is about enough to fill a single packet hence making efficient use of the network). The analyser therefore receives about fresh data every ~16ms. This equates a refresh rate of about 60Hz so if we wanted to maintain this refresh rate on screen, we'd need to complete the analysis & push the data to the screen in under 16ms. I don't think this is likely to be achievable in general so the analyser has a config option for a target refresh rate. By default, this is set to 20Hz (which gives us 50ms to process the data and update the screen). The analyser therefore snaps data every 50ms, runs it through the analysis and pushes it to the screen.

i.e. every time the curve updates in the RTA, it represents about 50ms of data

In the video above I show the average & peak views and the hold time is set to 2s. This means we take the last 2s worth of snapshots (which were taken every 50ms) and average them (at each frequency) and calculate the peak (at each frequency) for the peak.

i.e. we have 40 (2s / 50ms = 40) separate magnitude response curves which are averaged or max'ed to produce the graph shown above.

If you show the live view then you're always just seeing that latest snapshot (i.e. the last 50ms of data).

This applies to all analysis types (avg, peak and psd). Note that avg is equivalent to the A in a PvA (in BEQD) and peak is the same as the P in a PvA (in BEQD) so if you're comparing to the source track then remember to compare to the right target curve depending on whether you're looking at avg or peak (PSD is slightly different so isn't directly comparable).

To recap

sensor
-> pushes data to the analyser every 16ms
-> every 50ms analyser calculates avg/peak view for data that has arrived since the last snap (i.e. the last 50ms of data if everything is keeping up)
-> graph updates

make sense?
Nalleh likes this.
3ll3d00d is online now  
post #308 of 321 Old 09-07-2019, 12:43 PM
AVS Forum Special Member
 
Nalleh's Avatar
 
Join Date: Aug 2014
Location: Norway
Posts: 3,742
Mentioned: 314 Post(s)
Tagged: 0 Thread(s)
Quoted: 2577 Post(s)
Liked: 3470
^^^ Yup, that makes sense It is truly a remarkable job you have done here, man! Inspiring to say the least
3ll3d00d likes this.

Dual Atmos Receivers - Atmos 13.1.8/DTS X 9.1.8/Auro 3D 13.1 - Denon AVCX8500H+AVRX7200WA - Klipsch+KEF - 6xSI18" - 12xJBL 12" w/6xSLAPS M12 downfiring VNF - 3x2 stacked Crowson MA - 4xBK-LFE - 6xNU6K(fan&trig mod) - Minidsp 10x10HD - Oppo UDP203 - XBox OneX - Apple TV4K - JVC RS600 Dreamscreen V2 120"- Philips 65OLED873.
Nalleh’s HT
Nalleh is offline  
post #309 of 321 Old 09-07-2019, 01:02 PM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
I have no idea what you're talking about.
But I don't have to.
I don't know how my car works, either, but I know how to use it and to whom to take it when it doesn't.
I expect I'll do the same thing here.
Once I get mine working.
But if Nalleh's impressed, that's more than good enough for me.
Michael
Nalleh likes this.

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #310 of 321 Old 09-08-2019, 05:30 AM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
No joy.
I tried resoldering both mpus and still get the readings bouncing between 80dB and 100dB.
So I'll wait for the one to arrive from China (pre-soldered) and see if that works.
Otherwise, the zero is damaged from attaching the header; unlikely, but possible.
In which case I'm done.
In the meantime, if anyone wants to try my 6050 just for grins, let me know.
Michael

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #311 of 321 Old 09-08-2019, 09:50 AM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
Quote:
Originally Posted by LastButNotLeast View Post
No joy.
I tried resoldering both mpus and still get the readings bouncing between 80dB and 100dB.
So I'll wait for the one to arrive from China (pre-soldered) and see if that works.
Otherwise, the zero is damaged from attaching the header; unlikely, but possible.
In which case I'm done.
In the meantime, if anyone wants to try my 6050 just for grins, let me know.
Michael
highly unlikely to a problem with the rpi, sensor is more likely. ISTR reading about some people getting mpu6050's that produced some dodgy data, e.g. https://forum.arduino.cc/index.php?topic=394691.0 (wrong size capacitor on the breakout board in that case). It's hard to say what is going on with yours though without seeing the actual data. I suggest the following

place the sensor flat on a table in a quiet (vibrationally speaking) room
capture 10-15s of data in qvibe
save it as a measurement and share it

once we see this then we see whether to look at the logs from the recorder itself, one thing I'm not surfacing yet is whether the recorder itself is overflowing (typically indicates an overloaded pi or bad wiring IME)
3ll3d00d is online now  
post #312 of 321 Old 09-08-2019, 12:57 PM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
After a long while running, I have sometimes noticed an overload error (ie, it stops saying FIFO). Hasn't happened often, though.
Not going to bother doing anything else until new mpu arrives.
Michael

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #313 of 321 Old 09-09-2019, 02:41 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
0.3.5 up soon with

- target curves (from FRDs)
- export to FRD
- reference curves (i.e. the equivalent of A / B in REW)

This lets you do something like

- extract a demo clip into BEQD
- export the response as an FRD
- import it into qvibe as a target
- measure the same clip
- set the target as a reference
- easily see the delta between your system and the source material

or

- measure your system
- save that data
- tweak some stuff
- measure again
- easily see the difference between the two measurements

I'll add https://github.com/3ll3d00d/qvibe-analyser/issues/29 at some point (which would improve the latter by automatically doing A / B against the matching reference axis)
Nalleh likes this.
3ll3d00d is online now  
post #314 of 321 Old 09-10-2019, 02:39 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
Quote:
Originally Posted by 3ll3d00d View Post
I'll add https://github.com/3ll3d00d/qvibe-analyser/issues/29 at some point (which would improve the latter by automatically doing A / B against the matching reference axis)
0.3.6 has this feature
Nalleh likes this.
3ll3d00d is online now  
post #315 of 321 Old 09-10-2019, 03:11 PM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
If you're having trouble finding the updates, it's here:
https://github.com/3ll3d00d/qvibe-an...ases/tag/0.3.6

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #316 of 321 Old 09-10-2019, 03:16 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
0.3.7 will flash up an error dialog if the sensor overflows, this will be annoying but if it happens regularly but I think this is the best approach (i.e. make it really distracting and annoying) as this is a strong signal that something is very wrong with your sensor and/or rpi and you should try to fix it.
3ll3d00d is online now  
post #317 of 321 Old 09-10-2019, 03:20 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
Quote:
Originally Posted by LastButNotLeast View Post
If you're having trouble finding the updates, it's here:
https://github.com/3ll3d00d/qvibe-an...ases/tag/0.3.6
fwiw the app itself gives you this link



the github link there is to the binary for your platform

put another way, once you are using the app then it should take care of you
Attached Thumbnails
Click image for larger version

Name:	new.png
Views:	26
Size:	84.0 KB
ID:	2613786  
Nalleh likes this.
3ll3d00d is online now  
post #318 of 321 Old 09-10-2019, 03:23 PM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
If anyone's just starting, finding that link was not easy.
Just trying to make it easy!

Michael
3ll3d00d and Nalleh like this.

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #319 of 321 Old 09-10-2019, 03:32 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
I think it is feature complete now

There are some cosmetic improvements that could be made but otherwise I will just leave it till there is any feedback from people using it for real
3ll3d00d is online now  
post #320 of 321 Old 09-10-2019, 07:54 PM
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,024
Mentioned: 72 Post(s)
Tagged: 1 Thread(s)
Quoted: 2523 Post(s)
Liked: 2156
Any minute now, right folks?

Did you really need to quote that entire post in your reply?
Welcome to AVS - Get out while you still can!
Don't guess, measure: https://www.avsforum.com/forum/91-au...l#post22789786
LastButNotLeast is offline  
post #321 of 321 Old 09-20-2019, 02:07 PM - Thread Starter
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,159
Mentioned: 267 Post(s)
Tagged: 0 Thread(s)
Quoted: 2486 Post(s)
Liked: 2710
Quote:
Originally Posted by 3ll3d00d View Post
refer to https://qvibe.readthedocs.io/en/latest/ for documentation about how to install and configure the app & the required hardware
added some docs around setup/config, user guide to follow
3ll3d00d is online now  
Sponsored Links
Advertisement
 
Reply DIY Speakers and Subs

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off