|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Class D Switching Power Amplifiers and Power D/A conversion |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
|
A Class-d amp can be described simplified in the time domain as an amplification or gain, a delay of 1 sample freq and the output filter.
How do you model the delay in LTspice?? Have tried to use a transmission line, but it doesent really work ... What is needed is perfect (same delay at all feq) delay of e.g. 200nS in the time domain. I want this to be able to model different feedback network in the frequency domain. Can anyone help???? Thanks in advance and best regards Baldin |
|
|
|
#2 |
|
diyAudio Member
|
I don't use LTspice, but in the old version of Pspice that I use analog delay lines need a characteristic impedance to be specified, and they need to be driven and loaded exactly from that impedance to avoid problems, for example 100 ohm. Voltage controlled voltage sources may be used for input and output buffering.
I didn't find a better way to do it, as the other type of delay line available in my PSpice is digital and gives a lot of trouble with A/D conversion.
__________________
I use to feel like the small child in The Emperor's New Clothes tale
|
|
|
|
#3 |
|
diyAudio Member
|
Hi Eva
Playing a bit more with the Transmission line in LTspice, and terminating it correctly in both ends, actually seems to work. I think it was partly not having the right termination and partly not getting what I expected, causing the problems ... I now use 100 ohm in both ends, and 100 ohm line, and added a buffer on the receiving end.Thanks and best regards Baldin
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Dec 2003
Location: Munich
|
It should be sufficient to terminate the output side with the same Z that you have specified for the TL. Effective drive impedance should not change the shape, but result in a voltage divider of drive impedance and load.
So far my LT Spice always handled the TL perfectly fine. |
|
|
|
#5 |
|
diyAudio Member
Join Date: Dec 2003
Location: Munich
|
Add on:
The drive impedance should not change the shape as long as the drive impedance is not complex. With complex drive impedances you will get a frequency depending divider, which will result in changed shapes. |
|
|
|
#6 |
|
diyAudio Member
|
Hi ChocoHolic
Well, that was also my fault ... I did not load it at the output with the same impedance as specified for the line ..... On the other hand, it overall didn't look as expected ...... so I thought it was only because the modeling was wrong .... some was, some was my thinking ![]() As the moment I'm strugleing with my design stopping to oscillate when not loaded (real life test, not simulated) ... funny thing is I have one oscillator board with a MXL1016 that work without problem, but the LT1711 board stops whan the load is removed ... and will not start without load either (and mosfets heat up ) .... ... one difference is of cource the output being 0/5V on the MXL, and +-5V on the LT ..... but going through the rest of the amp this shouldn't matter!!
|
|
|
|
#7 |
|
diyAudio Member
Join Date: Dec 2003
Location: Munich
|
Hi Baldin,
is the Pin5 of the 1711 properly connected to -5V? |
|
|
|
#8 | |
|
diyAudio Member
|
Quote:
![]() (but you can actually keep it floating also ... but it is connected to -5V in the design) |
|
|
|
|
#9 |
|
diyAudio Member
Join Date: Dec 2003
Location: Munich
|
...too bad. Pin5 would have been such a simple solution...
Anyway, good luck! P.S: You have a nice home page! ...and a seperate room for the home theatre!!! *envy* |
|
|
|
#10 |
|
diyAudio Member
Join Date: Apr 2006
Location: Minnesota
|
Use an LTspice BV source. V=delay(V(in),delay_time). It works great; better that using a delay line.
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LTSpice tutorial | Bonsai | Solid State | 2 | 4th February 2011 07:03 AM |
| Using LTSpice | gaetan8888 | Solid State | 6 | 19th July 2007 12:33 AM |
| RIAA in LTspice | Herrmann | Tubes / Valves | 2 | 17th September 2004 07:28 PM |
| LTSpice Issue... | mikeks | Solid State | 17 | 3rd September 2004 07:42 AM |
| Ltspice.... | mikeks | Solid State | 10 | 13th June 2004 08:10 PM |
| New To Site? | Need Help? |
| Page generated in 0.10292 seconds (79.62% PHP - 20.38% MySQL) with 11 queries |