Weoffer SPICE macromodels for our amplifiers and some other linear products, but, at least in the precision space, have never done a SPICE macromodel for a data converter. The reason for this is that a true model for say, an A/D converter, would be pretty complex and probably would take forever to converge. And then the question is, how to actually do anything with the digital interface - do you actually try to emulate the whole serial interface, which on some devices is pretty complex?
So, thoughts from the community? What would you actually do with an A/D converter (or D/A converter) SPICE model? What would you look to be modeled? Would you expect full behavioral modeling, including linearity, noise, etc. How about the digital interface? Would it have to run in pure, generic SPICE, or would you accept some extensions that are out there that handle digital stuff better - and if so, which ones would you want us to use?
All I would be interested in would be the analog inputs. I can't imagine doing anything with digital interface or trying to look at linearity etc. of the conversion, I'd leave that to real world testing.
The one thing I would be interested in testing is the op-amp buffer interaction with the input for certain circuits. Maybe an extra input could be added to the spice model to trigger the selection of the analog input which would simulate the internal mux of the adc. Especially for SAR types, this would be useful to simulate the buffer amp stability when charging the internal cap and help to select RC buffer components.
Also.. for converters with built in amps, it would be nice if that was included in the model with a pin showing the output of the internal amp. I guess there would need to be some way to set the gain for those which are set through a digital configuration (maybe extra input pins on the model?) but it would be nice to see the signal feeding the actual ADC circuit.
I would absolutely love having a spice or ibis model to simulate the analog aspects of the input and output pins. It would take much out of the guesswork of so many things - termination, layout, EM simulation, signal integrity...the list goes on. Really would be fantastic. In fact I made a post on this not long ago, here: _converters/audio_converters/f/64/t/31731.aspx
I think it would be fine to provide only the analog section, such as the output of a current DAC. But it would be very useful to have as much of the linearity, noise, and other performance aspects. It would understandably be difficult to model any noise which bleeds through from the digital section if the digital section is not in the model, so that would be the really difficult part.
As for the digital part, don't people use Verilog for that? I must confess that I don't know what most engineers use for simulation of analog plus digital designs, but the ones I've talked to use both Verilog and SPICE, although I don't know how they divided up the task or how they combine the results.
Why not provide a partial model which covers the analog section, and expand on that later if possible? I tend to deal with the analog and digital sections of the design separately, so it would be fine for my workflow.
@Kurt G - I hope you have found our IBIS models - we have a growing number of them available for TI data converters. If you haven't found them, simply search for "IBIS models" in the keyword search and you should be able to find the repository of models that is growing.
So, how would you want to see this? In the analog domain, or digital? Thinking about this from a SPICE perspective, modeling the analog front end of the converter could get you the frequency stuff, and we could simulate the digital filters in an analog domain (I think). Same with the noise to some extent. The question is, would you want an "effective analog output" to use in your modeling, or would you want to get the digital bits out and then try to determine something from that? This is where it gets tricky, since the mixed-signal uses of SPICE are pretty variable across simulators and the simulation time would likely be slower.
Simulating the digital effects in analog would be great. So you have the front end analog ports, you plug in the A/D converter but instead of it spiting out a digital output, it could be analog for the output with the noise of the A/D converter and the frequency 'filtering'. Then if you so desired you could dump the data file into a programming language of your choice and simulate the digital side with not to much coding. (You could even build some kind of tool like this into TINA) You wouldn't really need to do mixed signal stuff, emulating an A/D converter would be take too long to simulate. From an analog design perspective, you only need to worry about how this is going to modify my signal. -Steve
Oh, one more thing it would be nice to have the limits of the op amp built in, so if you tried to drive 10V into a 5V converter it would hit the 'rail'. Also it would be nice to have the differential inputs simulated correctly for the appropriate op amps
The best way to use simulation model for A/D converter is for early design of the front-end (i.e opamps) that will be used for the said A/D. And especially when there are many needed opamps around the A/D especially again for instrumentations.
I have been looking for a 'SPICE Model' for converters (A/D's & D/A's). As I work with MATLAB & Simulink and I try to include a SPICE models to simulatein my circuts as it takes me more closer to real world simulation. If I try to simulate components shipped with simulink is good too but they dont represent real components as most of them are Ideal.
As far as my simulations are concerned I would say a SPICE model should containi all necessary parameters required for a basic A/D's & D/A's and unfortunately 'Noise' parameter is not possible to include in my simulations as my simulation will completely ignore this parameter automatically when I convert a 'SPICE model file' into a simulink block.
Well, you just taught me something - I had no idea that SPICE modes could be pulled into a Matlab environment (I don't use Matlab or Simulink). Very interesting. That opens up a whole different set of things to think about.
As for when we might provide SPICE models for data converters, I'd have to say we really don't know - as you can tell by this thread, I'm exploring what we might want to do. My initial thoughts on this have been mostly confirmed by the posters here - that what we should start with, at the very least, is a model of the analog input and the reference input, to help people design the external analog circuitry. We actually have done a little work in this area, but it's far from ready for release.
Adding on to this the idea of actually modeling more of the frequency or noise responses, all in an analog mode, is intriguing to me. Not sure just how difficult that would be, but it's something I'd like to explore.
To be clear, I'm only talking here about precision data converters. I know that folks that use the higher speed converters for communication applications often do simulate in Matlab and such, and perhaps the high-speed data converter group is doing or considering something else - I can't speak for them (but I am going to ask them to see what they're doing in this area).
Right now we're working on a new design, part of which uses R-2R MDACs (the DAC8801 / DAC8803 specifically) in a digitally-controlled state variable filter. It would be hugely helpful to have a SPICE model for the analog behavior, from VREF in to IOUT1 & IOUT2 outputs. The DAC word can be set as a parameter, or as separate bit inputs, or whatever. What we need to model is stuff like code-dependent output capacitance and code-dependent multiplying bandwidth (think of a model + test circuit that can reproduce Figure 8: Reference Bandwidth from the DAC8801 datasheet).
You are the first I have seen that has requested a SPICE model for our R-2R MDACs. It is funny that you bring this up as it is something I have been recently thinking about possibly assembling our TINA spice. I still need to talk it over with some of the DAC designers to make sure that it can be done but offhand I do not see any problems. So, to answer your question, right now we do not have anything we can provide but this is something I may consider looking into in the near future.
The T+A True-1-Bit converter used in the R 2500 R is unique because it overcomes a long-standing principle: Ordinary converters convert DSD signals into PCM signals to process them afterward. The exclusive use of this conversion contradicts our belief and laid the foundation for the development of the True-1-Bit converter. It processes DSD files natively without harmful conversions and reproduces them absolutely unadulterated in the true 1-bit stream: Allowing for both convenient playback and high-quality reproduction with the revolutionary T+A Path Separation Technology.
On the PCM side, the T+A Quadruple converter operates, whose doubly symmetrical circuit with eight 32-bit BurrBrown converters compensates for sonic nonlinearities exceptionally well: the already minimal noise decreases by an additional 6 dB. This effort results in astonishing linearity and dynamics with equally impressive distortion-free clarity.
Although we believe in pure music reproduction, it is important to us that customers can tailor T+A devices to their individual usage needs and listening tastes. That's why we developed 6 individual algorithms for our PCM quadruple converter that offer different oversampling characteristics. The polynomials used set different priorities for the conversion in the time domain or frequency response behaviour for each individual filter. The T+A True-1-Bit converter features two different converter modes for DSD playback.
Our Audiophile Streaming Architecture (ASA) of the third generation is the audiophile connection of the R 2500 R to the connected world. The focus of its development was on maximizing sonic potentials and source diversity. Therefore, its network boards process incoming WLAN, LAN, and USB master mode signals, allowing the R 2500 R to access not only streaming services like Deezer, Qobuz, and Tidal but also local network files up to 384/32 (HD) as well as incoming streams from mobile devices via Connect or AirPlay services in audiophile quality. In addition to convenient Connect services, the R 2500 R also offers the option to play uncompressed Flac files via aptX HD Bluetooth technology. For the first time in T+A's history, the ASA G3 is capable of playing DSD files natively from the network. For the highest quality playback, this stream is passed on to the T+A True-1Bit converter, which processes DSD files in their native bitstream without any loss of quality.
3a8082e126