Тёмный

Discrete audio amplifier project PT20 Measuring distortion with computer 

JohnAudioTech
Подписаться 60 тыс.
Просмотров 16 тыс.
50% 1

In this episode, I look at the feasibility of using the computer to measure the amplifier's THD.
Patreon www.patreon.com/user?u=12254451
Mail: PO box 362, Vandalia, OH 45377
Email: johnaudiotech@gmail.com
Thank You!

Наука

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@johnyang799
@johnyang799 4 года назад
Hi john. You can turn on the THD (no Noise) legend in Arta. Just in the settings. Also you can use REW as well. A little bit more clumsy software written in Java, but it can show you amplitude of all the distortion harmonics which is really convenient. Also just use 48khz. It's good enough. For 20khz distortion just use 96khz.
@MarcelOoms
@MarcelOoms 4 года назад
Hope the amp will turn out well! Btw, the Digilent Analog Discovery 2 is a nice device for audio measurements over usb as well. Blueglow electronics on youtube demoed this with other software, very nice and less expensive.
@markanderson8066
@markanderson8066 4 года назад
our ECSE students get them and thus have a "testbench" in their backpack!
@joepalovick1915
@joepalovick1915 4 года назад
Great video! Looking forward to Part II. I would also suggest looking at the Analog Discovery2. I couldn’t find a video or very much info on the QA401 so will be interested in a review if you get your hands on one.
@andymouse
@andymouse 3 года назад
This is fascinating stuff...cheers.
@peteb2
@peteb2 4 года назад
Thanks for the reminder that ARTA exists... I’ve been scratching around trying to find out how I can update my old Tek scope for FFT which appears greyed out on the screen menus
@Elecifun
@Elecifun 6 месяцев назад
Hi John, would you make a short video showing how to calibrate ARTA. I've set mine up but with looming question marks. Having you show and tell would help me immensely, and I expect many others wishing to try out their sound card for distortions measurements.
@MassimoTava
@MassimoTava 4 года назад
I hope keysight notices you one of these days
@Sevalecan
@Sevalecan 3 года назад
Awwwwww, the kitty! Wait, I was here for audio stuff!
@tangerinq
@tangerinq 4 года назад
In the digital audio realm, you have tons of tools that could work for you. Normally these are being used in audio production. First, you could record the measured signal as audio and then selectively remove the unwanted noise with an EQ. Second, you could use some very advanced denoise plugin (such as izotope) that lets you analyze the noise pattern and then intelligently remove that from your signal. Third, you could use a service of a local recording studio where they probably have a much better audio interface.
@KissAnalog
@KissAnalog 4 года назад
Interesting video John! I could see the harmonics from your sine wave at 1kHz. I wonder if the peaks at over the 40kHz (i couldn’t read their frequency) were something to do with the sampling circuit of the audio card. That’s a really interesting audio box you found.
@clee2423
@clee2423 4 года назад
and the noise around 80kHz probably the switching frequency of the PC power supply : )
@KissAnalog
@KissAnalog 4 года назад
Nice eye Seraph!!!
@PeterKese
@PeterKese 4 года назад
The way I do it is to use the both channels of the signal generator. Both channels have 1 Khz main signal, but only one of them has the 1% 4.5KHz guard signal. I let one one with the 1% guard signal through the AMP, while the other I subtract after the attenuation. Then all that remains after subtraction is the 1% guard signal plus harmonics and noise (so your noise levels can be compared to the 1% guard signal). In addition most of the weird noises should subtract as well. In my case part of the 2 Khz harmonic was generated by the signal generator so that went away after subtracting two signals from the same source. Plus now you're 40db down (the 1% is the largest signal) and you can measure that even on scope.
@jimmydburrell
@jimmydburrell 4 года назад
Very interesting. Are you doing this within the ARTA software or some other software tools or do you have some dedicated hardware for this?
@PeterKese
@PeterKese 4 года назад
@@jimmydburrell I have a Steinberg USB audio interface that has balanced inputs, so I just use the input circuitry to subtract both input channels (the one that goes through the Amp and the one that I use for reference). If you don't have balanced inputs, then just create a sound track with the one channel inverted - then a simple potentiometer is all you need: just match both levels until the master signal disappears. As for the oscilloscope software, any will do. I have been playing around with writing one myself - it works in web browser uses web audio interfaces for input and output. Albeit when I was playing with that, the web-audio standard was not completely supported in all browsers. I guess now (a year later) I should revisit that project. The good part was that I could write my own signal generators and mixers have them both in the same interface with the scope. Otherwise the whole point of that 'subtraction' approach is that after subtracting two signals, your 4.5 KHz 1% (or 0.1%) is the new reference signal, whereas the main 1 KHz signal is nullified. So you get much more dynamic depth - at 40 or 60 db down, even a cheap sound input will give you quite good accuracy.
@jimmydburrell
@jimmydburrell 4 года назад
@@PeterKese Thanks for the tips. Inverting everything but the 1% test signal should work for me as a subtraction method, leaving nothing but the distortion. Great idea.
@zodak9999b
@zodak9999b 4 года назад
Those spikes looked to be 1 kHz above and below 44.100 kHz. You could try a 2khz fundamental tone and see if the two spikes change to 42.1 kHz and 46.1 kHz.
@SianaGearz
@SianaGearz 4 года назад
Yes i was thinking. It looks like it's intermodulation between 1KHz and the sample rate of the MP3 player. Maybe its internal resampler. The Rockchip processors these players are built on only have a 48KHz audio output, 44.1 audio has to be resampled by firmware.
@JelckedeBoer
@JelckedeBoer 4 года назад
Interesting stuff. How did you setup/make the attinuator part of this setup?
@JohnAudioTech
@JohnAudioTech 4 года назад
A voltage divider using resistors.
@Gengh13
@Gengh13 4 года назад
Those tones are 1khz from 44.1khz, maybe some mixing between a 44.1khz clock (DAC clock?) and your output signal, I bet if you generate a 2k test signal those spikes will be at 42.1 and 46.1khz.
@dantheman1998
@dantheman1998 4 года назад
Are you going to release the amp as open source or you going to sell it on your own? Any other designs after your done with this one?
@JohnAudioTech
@JohnAudioTech 4 года назад
Schematic and layout is fee for all (when it is finished). I announced other projects in a video not too long ago.
@tc-bladeofgrass6719
@tc-bladeofgrass6719 4 года назад
Hey John, thanks for another fantastic video, I've been following this project from the start. I don't suppose you could help me out, I'm looking for a simple circuit for an attenuator with the protection circuit that you mention in this video.
@andymouse
@andymouse 3 года назад
Probaly a bit late but they show you how to make one in the ARTA manual.
@tc-bladeofgrass6719
@tc-bladeofgrass6719 3 года назад
@@andymouse hey thanks for your reply. Yes a bit late, i solved this issue by using a DAC with a dedicated volume control with the amp which I'd built
@x86FTW
@x86FTW 4 года назад
Those peaks in the 40+ Khz range might be due to having the sampling rate too high as it seems to be around the nyquist frequency of 96Khz sampling rate. Try setting 44.1 or 48Khz as the sampling rate.
@eatshitgoogle
@eatshitgoogle 4 года назад
Fascinating! Now, couldn't those peaks at 43k and 45k be related to your music players DSP, considering they only show up when the signal is playing? If so, maybe try using a cellphone to play the signal instead? Also, it's said that integrated audio cards are usually sensitive to the noise from other components on the motherboard. So maybe a cheap external USB audio device could help? Like maybe a Behringer UCA 202.
@sonnywilliams6566
@sonnywilliams6566 4 года назад
I use Keuwlsoft's Function Generator app on my phone.
@lightbit553
@lightbit553 4 года назад
You could try Room EQ Wizard.
@johnyang799
@johnyang799 4 года назад
Finally
@user-cb8hq8hf7r
@user-cb8hq8hf7r 4 года назад
There is a free program "RightMark Audio Analyzer" with a accurate results of measuring.
@AlienRelics
@AlienRelics 4 года назад
Not free, shareware.
@user-cb8hq8hf7r
@user-cb8hq8hf7r 4 года назад
@@AlienRelics RMAA 6.4.5 is available for free, the RMAA 6.4.5 PRO is also available with a number of features not present in the freeware version. This I read from a program site.
@clee2423
@clee2423 4 года назад
what kind of attenuator do you use, and what the value of the attenuator for your amplifier, i have a amplifier with lm3886 chip, with + - 35v supply, what value of attenuator should i use
@JohnAudioTech
@JohnAudioTech 4 года назад
I would use metal film resistors at the appropriate ratio needed. I will cover this in the next video.
@clee2423
@clee2423 4 года назад
@@JohnAudioTech great !!!, my amplifier project almost finish, just waiting for my transformer to arrived, and hopefully i can do the measurement soon, even though its not really the best way to do it, but its good enough for me, hopefully my PC soundcard have a pretty low noise profile, and i'm excited to see your next video about the measurement technique, btw nice video, and hopefully i can sent you some of amplifier pcb that designed by my fellow countryman, i'll try to include the parts too, if i cant, i just send the PCB and the BOM along, so you can try to build it and do a measurement too
@marttiinnanen4911
@marttiinnanen4911 4 года назад
FYI there is an excellent free tool called Room EQ Wizard that allows you to do audio measurements. It's far more useful than ARTA.
@martindz8457
@martindz8457 4 года назад
I usually use the RMAA program. audio.rightmark.org/products/rmaa.shtml
@aksela6912
@aksela6912 4 года назад
Have you tried RMAA - RightMark Audio Analyzer? I remember when i was active on Head-Fi that whas what most of the amateur amplifier designers were using. NwAvGuy did a write-up on it back in '11: nwavguy.blogspot.com/2011/02/rightmark-audio-analyzer-rmaa.html
@micomrkaic
@micomrkaic 4 года назад
Using your music player and your pre amp is not a good idea to generate the test signal. You should use ARTA's internal generator. It is much more accurate.
@JohnAudioTech
@JohnAudioTech 4 года назад
I tried a loop back direct from output to input but was seeing spikes at higher frequencies.
@micomrkaic
@micomrkaic 4 года назад
@@JohnAudioTech How high were those frequencies? What was the THD of the loop back signal?
@jimmydburrell
@jimmydburrell 4 года назад
I have the same issue(s) with my sound card, so I am doing the same thing and using an external source.
@SianaGearz
@SianaGearz 4 года назад
@@JohnAudioTech I'm thinking on the MP3 player at least use a 48KHz file. This way you can avoid intermodulation byproducts of resampler from 44.1 KHz to 48KHz.
@aljenkins9748
@aljenkins9748 4 года назад
....@11:41 , believe 60dB would be 1/10 of one per cent for the pilot signal . . ...... ......... shalom,a.j.
@aljenkins9748
@aljenkins9748 4 года назад
....my Apology - - i see ur corrected presentation @12:35 . . .......shalom,a.j.
@1pcfred
@1pcfred 4 года назад
That's the trouble with electronics. There's too much expensive gear involved.
@fredfabris7187
@fredfabris7187 4 года назад
Paul Frederick it is a fact that new gear is expensive, but for most audio diagnostic work 50-30 year old test equipment is good enough. Don’t be fooled that you need the high price stuff
@1pcfred
@1pcfred 4 года назад
@@fredfabris7187 that's all well and good when it comes to audio electronics I suppose. While I'm mildly interested in audio gear it is not my main focus. Combining digital and power electronics is.
@sonnywilliams6566
@sonnywilliams6566 4 года назад
That quantasylum looks good with the red face and white screen print. I'd like to make some headphone and small amps like that with brushed red anodized or red powder coat.
@mansionese
@mansionese 4 года назад
20:13 smells like dragon's breath :v :v
@sonnywilliams6566
@sonnywilliams6566 4 года назад
I've got $50 riding on .06%
@slap_my_hand
@slap_my_hand 4 года назад
That "audio analyzer" probably just has a USB DAC / ADC with some filtering on the power rails in it. If you want to get more than 120 db signal to noise, you'll need toput a bandpass filter on the output, separate the fundamental from the harmonics on the input and measure them separately.
Далее
FINALLY Measuring the Distortion of an SG505!
21:00
Просмотров 2,2 тыс.
치토스로 체감되는 요즘 물가
00:16
Просмотров 1,1 млн
КВН 2024 Высшая лига Четвертая 1/4
1:52:57
Understanding Harmonic Distortion Measurements
10:31
Просмотров 10 тыс.
Measure your Amplifiers Performance using a computer!
17:22
How to test amplifier distortion with REW
49:08
Просмотров 3,6 тыс.
Audio Spectrum Analyzer on the Cheap (032 )
17:01
Просмотров 17 тыс.
The Real Reason Why Music Is Getting Worse
12:42
Просмотров 1,8 млн
How to read amplifier distortion graphs
25:43
The Coolest Radio You've Probably Never Heard Of
11:54
Distortion Measurements
33:55
Просмотров 2 тыс.
Will the battery emit smoke if it rotates rapidly?
0:11