The Class D audio amplifier - Basics (1/3)

  Рет қаралды 35,284

FesZ Electronics

FesZ Electronics

Күн бұрын

Пікірлер: 64
@m1geo
@m1geo 2 жыл бұрын
Fascinating! These are the amplifiers I've been waiting for! 👌
@Scoochie77
@Scoochie77 2 жыл бұрын
Are you an accountant?
@cocosloan3748
@cocosloan3748 2 жыл бұрын
Class-D amplifiers - unmatched efficiency and power delivery. However without quality output filter sometimes unbearable to listen to. Cant wait for the part 2 when he explains filtering !
@m1geo
@m1geo 2 жыл бұрын
@@Scoochie77 No. Electronic Engineer. But doing CPU design, high speed digital, FPGA, etc., and not audio amps! 😂
@bajaj3485
@bajaj3485 2 жыл бұрын
Excellent videos. Thanks for making these well tailored content delivered at a perfect pace. I watched all three videos in the series in one go. The content is delivered with such great clarity. I got so many concepts refreshed and also many new concepts learned.
@X7cF4
@X7cF4 2 жыл бұрын
Been stuck on a broken class D amp, thank god i found this series tho, amazing video!
@yaghiyahbrenner8902
@yaghiyahbrenner8902 2 жыл бұрын
Thanks for this really interesting video looking at this basics again, someone like me has been dwelling on this topic for a while but more on self-oscillating topology (you showing a clocked modulator). For me one of the hardest subject that forms part of this journey is the control system feedback topology, modern efficient class-d will use self-oscillating control loops: which will require the following: - a double pole integrator. - a comparator with low propagation delay. (why? each component added influences the positive feedback phase-shift which will increase/decrease switching frequency) - stability analysis across the whole audio spectrum under load. - dynamic system analysis under load (notably near DC). - poles/zeros needs to be place for correct reliability. (under different dynamic Z loads 2, 4, 8 ohms). - fully differential input stage so common mode noise isn't amplified by the power stage. (again poles at the input stage for too high and too low frequency this applies to the main feedback loop as well). - simple DC offset removal using x2 IN4148 diodes that clips the input when anything at DC is detected. - the math is hard, many loops with different stability targets! I would love to see this incredibly interesting video progress, few on KZbin covered above subject matter.
@jorpese1
@jorpese1 2 жыл бұрын
Hi, could you please put some links to those videos that explain those subjects? Thank you
@yaghiyahbrenner8902
@yaghiyahbrenner8902 2 жыл бұрын
@@jorpese1 Hi, the topics are sparse and found fragmented in papers on the internet I would recommend reading patents, university papers and lastly this guy: Bruno Putzeys he's work in the class d space is enormous study he's papers and UcD amplifier from there you will find and deduce other paths of knowledge, control theory is a separate subject you can find many many areas of study, the trick is how they overlap in class-d there is no one source answer.
@jorpese1
@jorpese1 2 жыл бұрын
@@yaghiyahbrenner8902 I'll check Bruno's work.Thank you very much!
@JohnDuthie
@JohnDuthie 2 жыл бұрын
Idk why videos with people doing dumb stuff are more popular than channels like this where you actually learn something
@jorpese1
@jorpese1 2 жыл бұрын
Normal distribution of population 🙂
@DiaconescuAlexandru2024
@DiaconescuAlexandru2024 7 ай бұрын
To be fair, class D amplifiers and analogue electronics in general are a pretty niche thing. Even well-read scholars aren't usually watching videos about very technical subjects.
@seankayll9017
@seankayll9017 3 ай бұрын
Superb video, thanks!
@saarike
@saarike 2 жыл бұрын
Simply excellent! Thank you.
@programorprogrammed
@programorprogrammed 2 жыл бұрын
Love your vids
@arefmohammadzadeh8560
@arefmohammadzadeh8560 11 ай бұрын
very informative... thanks.
@pr0xy663
@pr0xy663 9 ай бұрын
3:30 is this really so? The fourier transform of the square wave are harmonics of a wide frequency band. Low-pass filter cuts high frequency harmonics, leaving only low frequencies. That is, the output of the LPF is a sum of low frequency harmonics that do not make up a DC signal. Correct me if I'm wrong.
@FesZElectronics
@FesZElectronics 9 ай бұрын
It is true that the decomposition of a square wave is a series of sine waves, however, there is also a DC component in there - if the initial square wave is not centered around zero (like +1v to -1v) but rather goes from 0 to 1 V, the decomposition will be a set of sine waves centered around 0 plus a DC bit which gives the offset. The LPF has a corner frequency below the fundamental of the square wave, so only this DC offset passes trough.
@pr0xy663
@pr0xy663 8 ай бұрын
@@FesZElectronics I tried simulating in LTspice a square wave passing through LPH. Unfourtunately I can't see any DC offset, only "smoothed" square wave. Can you please point out what I am doing incorrectly? The netlist of the simulation is below. V1 P001 0 PULSE(0 2 0 0.01u 0.01u 5u 10u) R1 P002 P001 10 C1 P002 0 100n .tran 20u .backanno .end
@FesZElectronics
@FesZElectronics 8 ай бұрын
In this case the square wave fundamental is at 100KHz and the filter corner (-3dB point) is at 159KHz; there is no attenuation at the square wave fundamental; if the corner however is far lower (ex: R=10k; C=100nF fc=159Hz) then the filter output will be a DC at 1V, after a small stabilization time. That sort of filter will extract the "DC" from the square wave.
@pr0xy663
@pr0xy663 8 ай бұрын
​@@FesZElectronics oh, now I see it, thanks! In both input(before LPF) and output(after LPF) signals there is a fundamental(0 frequency) harmonic. If corner frequency is really close to the fundamental "DC" harmonic, than it becomes more prominent. However, I don't get how it works from the "mathimatical" equations perspective. Can you please give me a hint on it? As far as I know, LPF is an intergrating elements, or, in other words, the formula that describes LPF is the following: Uin = IR + 1/C * integral(I*dt). As I = C * dUc/dt, than this equation can be rewriteng in the following form: Uin = RC*dUc/dt + Uc. I tried solving this differential equation with bernoulli method so I can obtain an output signal that looks like sigmoid centered around 0 in xy-plane and which is "modulatet" by a high-frequency triangle(rising and falling slope, as a slope is a result of integration a constant, or Von, voltage), but it didn't work out.
@baiyuwang629
@baiyuwang629 2 жыл бұрын
先赞再看! love from China ❤
@baiyuwang629
@baiyuwang629 2 жыл бұрын
@aaaaa and then being able to do better reverse engineering. just kidding.
@jacquesdebruyn7884
@jacquesdebruyn7884 Жыл бұрын
Very interesting. To me this concept could open up a theory I've been struggling to do. If you use say PWM to amplify a guitar signal - Can you use a unit for example a ESP32 to change the incoming PWM signal and multiply the pulses by any number 2 to say 5 and with all your filtering on the output end, get a pitch shift up or down with still good quality??
@scmtnbobbobo7603
@scmtnbobbobo7603 Жыл бұрын
can you share the symbols used in the BD schematic? you've got some un-labeled op-amps and gate/sw drivers.
@scellyyt
@scellyyt 2 жыл бұрын
Reminds me of VFD motor controllers
@olhoTron
@olhoTron 10 ай бұрын
A loudspeaker is basically a linear motor atached to a cone
@pbaemedan
@pbaemedan 2 жыл бұрын
FesZ, is the DC offset on the input sine to demonstrate DC bias does not effect the driver?
@FesZElectronics
@FesZElectronics 2 жыл бұрын
The input stage opamps require that the signal be centered around half supply voltage. When I started working on the design, I tried to add this voltage offset into the input signal directly, but then went for the capacitor and input resistor divider; I think I forgot to remove the offset in the signal... Anyway, for the simulation at least, having the offset in the signal source helps get the amplifier into a stable state faster since it does not require time to charge the first capacitor.
@yusufkorkmaz8769
@yusufkorkmaz8769 Жыл бұрын
Hi, great video. I have seen your video regarding class C amplifier. In class C amplifier the one feature is that the output voltage is twice the max. supply voltage. This feature fits my use case, since i am looking for an ampifier with voltage boosting. Is there any chance to get use of this feature also with class D by using an LC tank ? I have the option to give directly from the µC two inverted controll signals - so a class D is useful. Or a combination class C and D ?
@FesZElectronics
@FesZElectronics Жыл бұрын
You can use an H bridge output power stage - two stages each driving one side of the load in phase opposition; in some applications its also called a BTL (bridge tied load); this can work on both D or AB/B, and it will expose the load to twice the supply voltage but you need to check if your application can accept that none of the pins of the load are connected to GND.
@yusufkorkmaz8769
@yusufkorkmaz8769 Жыл бұрын
@@FesZElectronics Thanks a lot ! You saved my sleepless nigths sitting on LTSpice. It works fine, at least with ideal components :) ;) By the way i faced a problem. But i am not sure if this is a really problem. On the single-ended sides of the differential load i measure my output signal, twice in amplitude, correctly filtered out. But on the single-ended signals i see that there is an DC offset. So the signal is swinging between -xV and +xV. The differential signal is important for the load. But is this behaviour normal for the single-ended signals ? How I can improve that ? My goal is to have an swing on the single-ended sigde always on the positive axis, because i want to track also the single-ended signlas with the ADC. It would great when you can give some hints or tricks. Thanks in advance :)
@iNDREI_Ro
@iNDREI_Ro Жыл бұрын
Salut, De ce ai pus follow-erii U3 și U5?
@audiokees4045
@audiokees4045 8 ай бұрын
I have done a 5 level with 4 half bridges, however, I do not now how to calculate the lowpass filer because the inductors are summing on the output side into the capacitor who belong to that low pass, I see it that the 4 bridges who are low im pedance do let the inductors as paralell, what means I need 4 times the calculation outcome of a normal low pass, I have best results with bessel, I get -110dB 1khz 20 volts out, and -90dB 20 khz 20 volts out, I have design a feedforward system with two PI correctors. I have 90dB openloop 1 Khz. and 40dB on 20 khz. Have all done in simulator, I am a bad calculator.
@biswajit681
@biswajit681 2 жыл бұрын
Please make videos on LTspice simulation of closed loop buck and boost converter
@aitorsierra
@aitorsierra 2 жыл бұрын
Hi @Fesz Electronics: In AD modulation (min 11:04 video) when i simulate current through the Load2 the signal is second order system (damping) and not an oscillating system like the video. Why ?. Is there any initial condition in the Edit Simulation Command ?
@FesZElectronics
@FesZElectronics 2 жыл бұрын
I was performing a 10ms transient simulation; other initial conditions where I think to start measurement after 5ms. If there is switching before the filter - then even if the filter has good attenuation and it is damped, some of the oscillation will still pass trough. For ex: if the filter has -60dB attenuation at 100KHz, then a 100KHz 1V signal being injected will still pass trough at a value of 1mV.
@bsuryasaradhi6816
@bsuryasaradhi6816 2 жыл бұрын
What about a signal of varying amplitude, wont there be data loss for quite signals
@kansasnutt
@kansasnutt 2 жыл бұрын
I have watched three or four different versions on KZbin explaining this everybody is good at telling about the pulse width modulation but I don’t see anybody explaining how the amplitude information is delivered… If these devices only have two states on and off how does it know 100 millie volt input from a one volt input I guess I will have to set one up and look at it myself with a scope What aspect of the digital signal is changing to reflect the change in input level?
@FesZElectronics
@FesZElectronics 2 жыл бұрын
You are right, there are only 2 states, "on" and "off", but these change at a very high frequency (say 400KHz); the analog information is always at a much lower frequency (say 20KHz); using a filter, you average the high frequency signal to obtain the low frequency one; at the output of the amplifier you never see the "on/off" states, only the long term average which is proportional to the duty cycle variation.
@JeffFlap
@JeffFlap 3 ай бұрын
@@FesZElectronics To me the operation of this amplifier seems very similar to a dac. Cant you just directly take the digital signal and process it in the amplifier instead? Now you put it in a dac, then make it analog and in the amp convert it back to a samplerate...
@pbaemedan
@pbaemedan 2 жыл бұрын
FesZ, I've got the model inputted, but when I run the simulation, I have not been able to get a solution. Do your run take a long time to finish. I have tried using the .ic option, but does not have. I've tried finding information on convergence to a solution.
@FesZElectronics
@FesZElectronics 2 жыл бұрын
Which exact model are you using? if you are referring to the op-amp maybe you can change it just to see if there is an issue with that particular model.
@pbaemedan
@pbaemedan 2 жыл бұрын
@@FesZElectronics I got the half bridge to work and the first full bridge to work, but when I add the 3 LT1721 op amps to get your model that has the second 10K divider doesn't reach a solution. It is the model at video time 13:10 or 12:30. Thanks
@FesZElectronics
@FesZElectronics 2 жыл бұрын
Ah, now I understand. Think I had the same issue as you are having, so the 3 extra opamps - U3, U4, U5 are not the LT1721 but rather the "UniversalOpamp" - this is some generic model in the Ltspice library, right at the end, and if you right click it, on the "Value2" line, I changed it to "Avol=100Meg GBW=100Meg Vos=0"; not sure this is need though.
@pbaemedan
@pbaemedan 2 жыл бұрын
@@FesZElectronics thanks, I'll give that a try. I thought that might be the case, but the numbering lead me down the wrong path. Thank you for our help.
@leonardoabelventura4557
@leonardoabelventura4557 2 жыл бұрын
Can a single voltage source be used in full bridge class d amplifier?
@FesZElectronics
@FesZElectronics 2 жыл бұрын
Yes, that is one of its advantages.
@hexhere3851
@hexhere3851 2 жыл бұрын
no Self-oscilating?
@DwiNoviantoUntidar
@DwiNoviantoUntidar 10 ай бұрын
Do u have real schematic for class D amp? I really want to know about mosfet u use? & should we use mosfet gate driver IC? Cz when i use mosfet for my final amp, the amplitude of square wave output is = to comparator output.
@ajingolk7716
@ajingolk7716 7 ай бұрын
Half bridge half of the voltage hhh, so if we want to amplify an ac generated by a dac we can use this technic first quantized then amplify then filter out. But part of driving the mosfet still unclear 🤔
@Peter_A1466
@Peter_A1466 2 жыл бұрын
Like your videos, but would sometimes love some more basic explanations. For instance when using LTSpice, since my Mac version only has a very basic interface I sometimes struggle to grasp how you set up a simulation and how to read the results.
@Graham_Wideman
@Graham_Wideman 2 жыл бұрын
I am almost certain that LT Spice on Mac has the same functionality as on Windows. At least the release version number is almost the same. So perhaps the "basic interface" you're seeing is because you haven't discovered some aspect of how to use the user interface, which is a bit non-standard. But there are LT Spice tutorials on KZbin, including previously on this channel.
@pbaemedan
@pbaemedan 2 жыл бұрын
FesZ, in the waveform for the full bride single power supply, your waveform is swing from +10 to -10 with only a +10 supply, how/
@FesZElectronics
@FesZElectronics 2 жыл бұрын
Its part of the reason for using a full bridge - when left side is pulling the load high, and the right side is pulling it low, the load sees +10V; when the bridge switches, and the left side side is pulling low, and the right side is high, the load sees -10V; "-" here is relative because its in reference to the "+" seen before; current is going the other way trough the load while its still exposed to the same absolute 10V. Putting the two halves together you get the full swing of +/-10V.
@gwardiyaimbentortv
@gwardiyaimbentortv 2 жыл бұрын
Sending support idol
@viswesh713
@viswesh713 2 жыл бұрын
Class-D is okay in terms of Power Efficiency, not good in terms of Audio Quality, Poor damping factor particularly at high's. Not a fan though. But FesZ your videos are really good man. fan of your work
@Tamilpasanga664
@Tamilpasanga664 2 жыл бұрын
Is there any option / idea to class D amp sounds better
@pbaemedan
@pbaemedan 2 жыл бұрын
FesZ, sorry, operator Head space, thanks
@sc0or
@sc0or 2 жыл бұрын
The picture does not represent a real situation. Let’s say we have a 20bit resolution. That means about 1 mln different levels from peak to peak. If we have a 800kHz oscillator, a width of one pulse must be as precise as 1 to 1 mln. That means the shortest impulse as 800GHz. Did you see such mosfets? So, in a reality that precision is achieved with a “chaotic” jumping around a desired level with wider and shorter impulses, controlled with a feedback. And of course, at 20kHz, when we have only 40 impulses per a wave cycle, that’s physically impossible to achieve 20bits resolution. That’s why D-class is terrible sounding at high freqs. True digital amplifiers can solve this problem. Because the impulse width can have only 32-256 different values. This is about 25-204 MHz. An absolutely real number to have a no-feedback channel without a jiggling signal.
@sc0or
@sc0or Жыл бұрын
@@nosferratu Yes, "width of the pulse is modulated continuously" but that modulation is still in a time domain because we still operate with 1 or -1 (of a different width). Check out a theory of a delta sigma. A D class amp with a feedback implements a D/S modulator with all that math behind. A PSU level only affect those 1/-1 making them 1.1/-0.9 for example. A rest of D/S remains the same. LC filter of a D amp itself has a cutoff frequency about 28-31kHz (some D amp schematics for an active speaker have only an EMI filter for 1-2MHz and use a loudspeaker coil inductor as an L, but that's not our case), and a loudness level cannot explain a bad high frequencies quality. That's about a low resolution of a modulator in a time domain.
@HimanshuSharma-dm8ol
@HimanshuSharma-dm8ol Жыл бұрын
Great video but only able to understand for 6 minutes
@englishacoustics
@englishacoustics 6 ай бұрын
Good video but Class D is like having your eardrums shredded by a cheese grater. Ok for mobile apps, not hifi.
The Class D audio amplifier - Filters (2/3)
19:54
FesZ Electronics
Рет қаралды 14 М.
The Class D RF  amplifier - Basics (1/3)
19:03
FesZ Electronics
Рет қаралды 29 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Audio amp classes as fast as possible!
9:27
The Headphone Show
Рет қаралды 308 М.
Class D audio amplifiers - How they work
10:18
JohnAudioTech
Рет қаралды 32 М.
How Class D Amplifiers Work part 1 with EPC GaN FETs
26:01
Kiss Analog
Рет қаралды 25 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,3 МЛН
Lecture 1: Introduction to Power Electronics
43:22
MIT OpenCourseWare
Рет қаралды 1 МЛН
The Class A amplifier - basics and simulation (1/2)
19:22
FesZ Electronics
Рет қаралды 44 М.
Class D Audio Amplifier Hardware Design - Phil's Lab #125
27:21
Phil’s Lab
Рет қаралды 29 М.
I bought 1000 meters of wire to settle a physics debate
22:49
AlphaPhoenix
Рет қаралды 3,3 МЛН
Push-Pull Pair - Class B, Class AB and Class A operation
33:43
All Electronics Channel
Рет қаралды 66 М.