Questions about Simulating CCVS (and a compander)

Started by niektb, April 07, 2022, 03:49:32 PM

Previous topic - Next topic

niektb

Alright, I'm designing a set of buffers or pre-/post gain stages for a digital pedal I'm working on (which is going to be epic  :icon_mrgreen: )
1. Now I want to simulate this in one go so I can check how much make-up gain I need. The ADC is Current In so I picked a CCVS and with a transresistance of 9k (100uA is FS RMS which translates to 2Vrms with a 20k series resistor). Is my thinking correct? Output is always 0.9Vrms.
2. Also I want it to take eurorack level inputs which can get as high as 10Vpp (at least that's what I read somewhere) so I added these MOSFETs to switch in or out pad/gain resistors based on software... Is this a valid approach or will this cause issues?
3. Anything else I missed?  ::)  :icon_mrgreen:



P.S.: I'm aware the passive input will cause some loading but that's alright I think (I assume eurorack modules have low output impedance)... And saves me the trouble and costs of a charge pump to get more headroom on the op-amp :D

Edit: the ADC/DAC used is a ADAU1701 :)