Sansui AU-717: Restoration with new boards

Waiting on the arrival of the PCB... I guess I'll have to wait until next week.

In the mean time I'm vibe coding a web-based ui for my measurements (based on my usual measurement code). Wrote exactly one line of code for this to work (didn't bother to ask the AI to fix this issue). And for such a project I don't really care about the code quality too much at all as long as it works for me.

Current state:
  • Support for the QA403 via its REST API
  • Support for Siglent SDS2x04X Plus via Ethernet/SCPI (i like to use the scope for example for measuring frequency response because the QA403 is very limited in this regard ~96kHz)
Tests (haven't "implemented" all tests yet):
  • THD vs. frequency
  • THD vs. power
  • Noise & Hum
How does it work:
  • Create a new Device under test
1778257401156.png
  • Create a new test Session
1778256807434.png
  • Create a new Measurement and select the measurement type.
1778256879834.png
  • Specify the measurement parameters
1778256959014.png
  • Start a Run
1778257099652.png
  • Compare results (here you can see the variation between two measurement runs with the same parameters)
1778257193075.png

The measurement data are stored in numpy files, the rest uses a simple SQLite file.

It's really low effort, so I guess I (or the AI) will add more features :D
 
That's clever, an LXC and voila! What a great idea.
There's a guy in diyaudio doing a very nice software kit, at least it look fantastic to me.
Just in case you haven't seen it
 
Cool stuff, didn't know about it. If I'm not mistaken it's primarily meant for sound cards. As far as I know there is an ASIO driver for the QA as well, but haven't messed with it. Also, it might be somewhat difficult to control the attenuator. I hope QA will improve their software support which is somewhat limited, but other than that it's an absolutely awesome product.

Yes, will deploy it on my proxmox server in an LXC.

It now has a PDF report function too :D This is too easy.
 
As far as I know there is an ASIO driver for the QA as well, but haven't messed with it.
Exactly an avenue to explore.

I hope QA will improve their software support which is somewhat limited, but other than that it's an absolutely awesome product.
You probably already know this work, but just in case





Yes, will deploy it on my proxmox server in an LXC.

It now has a PDF report function too :D This is too easy.
:beerchug:
 
Exactly an avenue to explore.
Maybe ;) I think the attenuator thing might be too annoying.

You probably already know this work, but just in case
Yes, I've seen it before. Unfortunately it's for Windows, so it doesn't really solve my problem. It could be used as an inspiration for using the "bare metal" implementation though (I think)... But I don't really want to invest that much time to get the same results.

For the moment the official software runs on my Windows lab machine (need Windows for a different application as well) with a reverse proxy to expose the API to my LAN. I wish there was an official and supported python library for Linux.
 
Just a quick update: left channel driver board rev D arrived & is assembled. Very good clearance now (pre-driver heatsink, capacitor vs. chassis). Did some preliminary testing, seems good so far, pretty much what I expected. Now I have to do some more testing and design the updated right channel driver board.
 
Hi, I imagine you generated new graphics. If you can, please share them. Also, the boards (left and right channels) are identical except for the component layout, which is symmetrical, is that correct?
Good luck with the other channel!!! I'm looking forward to it.
 
I did, but deleted those by mistake :mad: I didn't bother to restore the files from a backup because I have to redo the measurements anyway as soon as the right channel is done.

The boards are similar. I had an LLM write a scipt to mirror the board and then I changed everything I had to (essentially >= 3 pin components and then make everything fit). Unfortunately the multi-turn trim pots are not symmetrical, but have to be accessible so I had to move those to the side a bit. The layout is 99% complete. But I have to thoroughly check everything and place the reference designators.

I might end up tweaking the component placement (especially the trim pots) on the left channel board to match the right channel a bit better, but I certainly won't build this version myself. That would mostly be to please the eyes ;)

Won't have much time to work on the project for one or two weeks, but I expect to at least finalize and order the right channel board. I'll keep you posted.

Right channel board:
1780383744346.png
 
The use of LLM (AI) to mirror the model is interesting. We'll discuss that later, but it's very interesting. Do you use KiCad for your designs?
Thanks

Having done the mirroring manually, I would very much like to look at the script that the LLM created. The mirroring effort was made more difficult by my lack of understanding of the operation of KiCad and digging through the script would be very educational I think.
 
The use of LLM (AI) to mirror the model is interesting. We'll discuss that later, but it's very interesting. Do you use KiCad for your designs?
Thanks

Yes, KiCAD 10. To make sure: I didn't use the LLM directly to mirror the board, I used an LLM to generate a python script that does this operation deterministically.

Having done the mirroring manually, I would very much like to look at the script that the LLM created. The mirroring effort was made more difficult by my lack of understanding of the operation of KiCad and digging through the script would be very educational I think.

Have done it manually before as well. Didn't like it too much... Here you go: Code Browser. 99.9% is AI generated. As is the README and the diagram attached. Image quality isn't really good enough here. If you're interested, I'd recommend to have a look at the diagram in the README.md.

It took a couple of prompts to get something I was happy with. It's neither the most complicated nor the easiest task. The most difficult part is that footprints may have different origins/points of reference. Just don't expect it to produce perfect results. In my instance it was a major help. Probably should have done it as a KiCAD plugin...
 

Attachments

  • 1780530925223.png
    1780530925223.png
    36.8 KB · Views: 10
Last edited:
Back
Top Bottom