Project Moshulu : a journey into audio
Hi,
The keel is down.
I have begun work on a new all digital and programmable multichannel amp named Moshulu. I will be using the STA516BE in BTL configuration with external ST DSP.
Firstly, I have been looking at SMD supply bypass choices for a ~30V supply.
25v 330uF : Panasonic 25SVPF330M - seems the popular choice
A bump in voltage I found the following
35v 330uF : Nichicon PCR1V331MCL1GS
35v 330uF : Panasonic EEH-ZK1V331P (charts on p.11 look OK).
Does anyone have any suggestions for the 1uF and 100n bypass caps? So far I'm looking at the following PPS.
63v 1uF : Wima PPS SMDIC04100TB00KQ00
50v 100n : Panasonic ECHU ECH-U1H104JX9
Hi,
The keel is down.
I have begun work on a new all digital and programmable multichannel amp named Moshulu. I will be using the STA516BE in BTL configuration with external ST DSP.
Firstly, I have been looking at SMD supply bypass choices for a ~30V supply.
25v 330uF : Panasonic 25SVPF330M - seems the popular choice
A bump in voltage I found the following
35v 330uF : Nichicon PCR1V331MCL1GS
35v 330uF : Panasonic EEH-ZK1V331P (charts on p.11 look OK).
Does anyone have any suggestions for the 1uF and 100n bypass caps? So far I'm looking at the following PPS.
63v 1uF : Wima PPS SMDIC04100TB00KQ00
50v 100n : Panasonic ECHU ECH-U1H104JX9
Last edited:
Has anyone had experience using the X2Y parts for power rail bypassing and output filtering?
http://www.johansondielectrics.com/downloads/jdi-x2y-2014-10.pdf
A 0.1uF or greater 1206 package seems to do the job of the 5uHs inductor / filter stages.
http://www.johansondielectrics.com/downloads/jdi-x2y-2014-10.pdf
A 0.1uF or greater 1206 package seems to do the job of the 5uHs inductor / filter stages.



Hello,
I'm interested by your project.
I have basically no knowledge about how to build such an amp, but I'm using at the moment a FDA amp based on a STA326 chip, but it lacks some power for my speakers. I would need something like 4x 60 to 100W. I hope that your design could be adapted to other STAxxx chips.
Some people are tweaking hard Chinese amps like the FX-Audio D802, and it could be much more efficient to build a good amp from scratch.
I control my amps using a ST Nucleo board (stm32F7) to perform Asynch USB=> DSP=> SPDIF or I2S.
Best regards,
JM
I'm interested by your project.
I have basically no knowledge about how to build such an amp, but I'm using at the moment a FDA amp based on a STA326 chip, but it lacks some power for my speakers. I would need something like 4x 60 to 100W. I hope that your design could be adapted to other STAxxx chips.
Some people are tweaking hard Chinese amps like the FX-Audio D802, and it could be much more efficient to build a good amp from scratch.
I control my amps using a ST Nucleo board (stm32F7) to perform Asynch USB=> DSP=> SPDIF or I2S.
Best regards,
JM
Thanks JM.
Have you managed to get the spdif interface working correctly on that? I looked last year and there were no real examples. Do you use internal PLL audio or ext clock ref? How's it look on an analyzer? 🙂
Have you managed to get the spdif interface working correctly on that? I looked last year and there were no real examples. Do you use internal PLL audio or ext clock ref? How's it look on an analyzer? 🙂
Hi,
Yes, I have the SPDIF working. I rely on the SAI PLL. I would be hqppy to use an externql clock with a correct crystal, but I considered that I had not the skills yet (nor time) to do this.
It works fine. I had a very quick glance at the signal with a small logic analyser from the fablab, and it looked "alive", but the analyser does not have the ability to decode SPDIF. So not so much interest.
The thread is there: http://www.diyaudio.com/forums/digi...ow-jitter-achieved-stm32-microcontroller.html
And the code is there: https://github.com/jmf13/F7USBAudio
I listen to music with it, so it works OK.
JMF
Yes, I have the SPDIF working. I rely on the SAI PLL. I would be hqppy to use an externql clock with a correct crystal, but I considered that I had not the skills yet (nor time) to do this.
It works fine. I had a very quick glance at the signal with a small logic analyser from the fablab, and it looked "alive", but the analyser does not have the ability to decode SPDIF. So not so much interest.
The thread is there: http://www.diyaudio.com/forums/digi...ow-jitter-achieved-stm32-microcontroller.html
And the code is there: https://github.com/jmf13/F7USBAudio
I listen to music with it, so it works OK.
JMF
Neat. I was going to go with a fairly simple microcontroller.
2 x optical
1 x coax / aes (transformer)
into wm8805 or akm4118 and feed a STA311B directly.
Also expose two pairs of i2s on the STA311 for future upgrades/diy.
2 x optical
1 x coax / aes (transformer)
into wm8805 or akm4118 and feed a STA311B directly.
Also expose two pairs of i2s on the STA311 for future upgrades/diy.
Looks fine. I went a different way because:
- I'm not able to design dedicated PCB and what looks more difficult to me solder complex chips to those PCBs,
- I needed SPDIF out for my amps (but would be very happy to have I2S amps,
- I wanted not to rely on the "server clock" (orangePi in my case), but on a cleaner clock at the heart of the system.
I have not investigated seriously the SPDIF in on the Stm32, but from what I read it is not obvious to extract the clock reference from the incoming signal, and resampling is not one of the functions provided out of the box.
JMF
JMF
- I'm not able to design dedicated PCB and what looks more difficult to me solder complex chips to those PCBs,
- I needed SPDIF out for my amps (but would be very happy to have I2S amps,
- I wanted not to rely on the "server clock" (orangePi in my case), but on a cleaner clock at the heart of the system.
I have not investigated seriously the SPDIF in on the Stm32, but from what I read it is not obvious to extract the clock reference from the incoming signal, and resampling is not one of the functions provided out of the box.
JMF
JMF
Probably a bit over ambitious at this stage...
The ST site is quite terrible for information.
I'm trying to find out what this PSCorrect / Post-Scale is all about. It looks like you can sample the power rail with an ADC and correct power ripple.
The ST site is quite terrible for information.
I'm trying to find out what this PSCorrect / Post-Scale is all about. It looks like you can sample the power rail with an ADC and correct power ripple.
An externally hosted image should be here but it was not working when we last tested it.
Last edited:
Connex supplies are pretty darn good already. It would be interesting to see on a scope how music with significant transients affect the audio output.
Does anyone have any suggestions for the 1uF and 100n bypass caps? So far I'm looking at the following PPS.
63v 1uF : Wima PPS SMDIC04100TB00KQ00
50v 100n : Panasonic ECHU ECH-U1H104JX9
The 100n would be better as small case X7R caps, far better for local bypass in the smallest package you can handle. The Panasonic are rather large and have to much parasitic inductance, look at the inductance curves on the data sheet. A lossy X7R in a small (low inductance case) is what is required for low value and local to power pins decoupling, being lossy limits anti resonance peaks, being low inductance means they work at a higher frequency, this is what is required for high dI/dT switching and instantaneous current supply.
A question about the STA311B.
Does this chip provides a way, aside of crossover and EQ functions based on biquads, to have delays on some channels to time alignment of the different channels? It seems to me an important feature, but I don't clearly see it in STA311B datasheet.
JMF
Does this chip provides a way, aside of crossover and EQ functions based on biquads, to have delays on some channels to time alignment of the different channels? It seems to me an important feature, but I don't clearly see it in STA311B datasheet.
JMF
Has anyone had experience using the X2Y parts for power rail bypassing and output filtering?
http://www.johansondielectrics.com/downloads/jdi-x2y-2014-10.pdf
A 0.1uF or greater 1206 package seems to do the job of the 5uHs inductor / filter stages.
Well, you simply can't use parallel capacitor on a ClassD power stage output. This would create enormous current spikes (or shutdown).
Those comparisons were made with 50 ohm generator output, but ClassD output is much lower than this (0.05-0.2 ohm). And power loss was not mentioned at all. You definitely need an inductor first, after that you can insert X2Y.
A question about the STA311B.
Does this chip provides a way, aside of crossover and EQ functions based on biquads, to have delays on some channels to time alignment of the different channels? It seems to me an important feature, but I don't clearly see it in STA311B datasheet.
JMF
Hm. It does not look like there is any time/phase alignment exposed in APWorkbench. I'll check the registers too.
TAS5558 is an intersting option. When dealing with 8 channels here though sample rate per channel is 96Khz max. I can't spot delay registers in that datasheet either.
Last edited:
I chose the ST because of the reasonably easy to use software provided - APWorkbench that also includes SpeakerTune.
APWorkBench
http://www.st.com/content/ccc/resource/technical/document/data_brief/03/a7/7c/c7/da/e7/45/8f/DM00087368.pdf/files/DM00087368.pdf/jcr:content/translations/en.DM00087368.pdf
SpeakerTune
http://www.st.com/content/ccc/resou...df/jcr:content/translations/en.CD00298262.pdf
APWorkBench
http://www.st.com/content/ccc/resource/technical/document/data_brief/03/a7/7c/c7/da/e7/45/8f/DM00087368.pdf/files/DM00087368.pdf/jcr:content/translations/en.DM00087368.pdf
SpeakerTune
http://www.st.com/content/ccc/resou...df/jcr:content/translations/en.CD00298262.pdf
I spotted these new choke/inductors in 17mm x 17mm packages.
Datasheet
https://en.tdk.eu/inf/30/ds/b82599_a016.pdf
DCR typically under 10mO for 15uH
10% tolerance
12A saturation @ 20%. drop
Fairly flat to 7A
~ $5ea
An externally hosted image should be here but it was not working when we last tested it.
Datasheet
https://en.tdk.eu/inf/30/ds/b82599_a016.pdf
DCR typically under 10mO for 15uH
10% tolerance
12A saturation @ 20%. drop
Fairly flat to 7A
~ $5ea
Last edited:
The 100n would be better as small case X7R caps, far better for local bypass in the smallest package you can handle. The Panasonic are rather large and have to much parasitic inductance, look at the inductance curves on the data sheet. A lossy X7R in a small (low inductance case) is what is required for low value and local to power pins decoupling, being lossy limits anti resonance peaks, being low inductance means they work at a higher frequency, this is what is required for high dI/dT switching and instantaneous current supply.
Thanks for the input Marce! Much appreciated.
A question about the STA311B.
Does this chip provides a way, aside of crossover and EQ functions based on biquads, to have delays on some channels to time alignment of the different channels? It seems to me an important feature, but I don't clearly see it in STA311B datasheet.
JMF
Just had confirmation from ST. There are no audio buffers or functions for time delay. Shame. Like you said I would have thought this was an important feature of an audio dsp. Gutted.
Just had confirmation from ST. There are no audio buffers or functions for time delay. Shame. Like you said I would have thought this was an important feature of an audio dsp. Gutted.
Thanks for the confirmation. In a design where the microcontroller is on the signal path, it could implement the crossovers and the delays on the different channels (my next task is to port Charlie Laub mTAP function to the Stm32), but this is a different design... And those ST chips have so much for everything else that it makes little sense to have 1/2 dsp on MCU side and the other 1/2 in the STA...
JMF
I've not looked at the STM32 for a while. Would it have enough output for 8 channels PWM @ 2Mhz?
I've not looked at the STM32 for a while. Would it have enough output for 8 channels PWM @ 2Mhz?
Sorry, I don't know. The stm32 audio peripheral: SAI has no PWM output. Working on my project, I have not fall on an audio project controlling the amps through MCU PWM output.
I my idea, it was necessary to have a I2S output from the stm32 to the audio processor that was then controlling the amplification part.
I regret that STA does not provide more powerful chip than the STA350 in their sound terminal range....
JMF
- Status
- Not open for further replies.
- Home
- Amplifiers
- Class D
- Project Moshulu : a journey into class D