¿ªÔÆÌåÓý

Date

Re: Edge triggered b-source logic and integrated averaging in LTspice

 

Hello analogspiceman

Earlier today I received a message from Mike. There is a now a new update
of LTspice available in which this minor bug has been squashed.
Yes, I happened to update late yesterday and I saw the changelog.
Thank you for the notice.

--

Vlad
______________________
ltspicegoodies.ltwiki.org -- holding, among others:
a universal analog/digital filter, block-level models
for power electronics (and not only), math blocks
with a more stream-lined approach, some digital
ADC, DAC, (synchronous-)counter, JKflop, etc.


Re: encapsulating a long set of spice directives

 

analogspiceman wrote:

? ? "Shift-Ctrl-Alt-H: Temporarily highlights all hidden text within the schematic."

I tried that (and a few other combinations).? Never got it to show the hidden text.

Andy



Re: encapsulating a long set of spice directives

 

"5 - How to automatically open and view the "SPICE Error Log" after each simulation run ?"

If you build your simulation to generate a non-fatal minor error, it will automatically open the Error Log after the simulation completes (at fatal error will cause it to stop before finishing).


Re: encapsulating a long set of spice directives

 

Shift-Ctrl-Alt-H: Temporarily highlights all hidden text within the schematic.


---In LTspice@..., <ai.egrps@...> wrote :

Steph,

Yours is a very long message.? I'll try to reply to it all.? I tend to say too much when I reply, so I'll try keeping it short.? Kick me if I don't

? ? "1 - The "Text Edit on the Schematic" tool allows to opt for the "(not visible)" modality through the "Justification" drop-down list. I tried this. There is a problem. Once you opt for the?"(not visible)" modality, the whole set of directives vanishes from the schematic. And there is no way to retrieve the set. Do I miss something ?"

Text that has been made "not visible" reverts to visible the next time you open the schematic.? That's the good news.? The bad news is that there is no way to make the not visible thing "sticky", and no way to make it visible again except by closing and opening the schematic.

? ? "2 - How how to encapsulate the above directives into a file ?"

Open your favorite text editor.? Copy and Paste works between Windows programs.? Paste it into the file and save it.? Name it whatever you want.

? ? "3 - How to invoke the directives file on the main schematic ?"

Add this line to the schematic:
? ? .inc filename.ext
with the actual filename.? (.inc is short for .include)

? ? "4 - How to ensure that the directives get read by the schematic, and by the sub-circuits ?"

If there is no error message, then it opened and used the file.? If you're paranoid about it, you could add another parameter and use it to set a voltage source; then probe that voltage source and see that it indeed was affected by the parameter.? But you shouldn't need to do that.

User-defined parameters are used by the schematic, but not necessarily by subcircuits.? The scope of user-defined parameters includes subcircuits unless overridden by another definition for the same parameter within the subcircuit.

? ? "5 - How to automatically open and view the "SPICE Error Log" after each simulation run ?"

You can't.? You have to use your fingers.

Well, you could include an intentional error in your simulation, which forces LTspice to open the Error Log file for you.? But there is no way to automatically view the file.? You have to tell your brain and your eyeballs to do that.

? ? "6 -? How to define a piecewise linear (PWL) element, in the Frequency-Impedance plane :"

I think you would use a Table().? But I'm not certain so don't take my word.? Read the Help about using the table() function.? Be aware that it would work only in the frequency domain with an .AC simulation, not a .TRAN simulation.

There have been messages here about doing this sort of thing, so if you check the Files or weed through messages you might find it.? Sorry I can't help off the top of my head.

I haven't yet read the last 3/4 of your message.

Regards,
Andy



Re: Jim Thompson

 

I have probably never met Jim Thompson (unless inadvertently at an industry conference), but I have corresponded with him briefly several times via email.? I believe he is either dying very soon or already dead.? He plans to have his preservative-free body frozen and shipped to Oregon for a natural burial in an organic box so that he can return to the earth from whence he came.

He suffered the premature loss of his outstanding, all-that-a-father-could-ever-want son perhaps a decade ago, something no parent should ever have to endure.? I grieve for him, but we all pass.? He brought knowledge and enlightenment to the world, staving off the inevitable close of chaos a little bit longer.? May he live on in our memory and in our simulations.


Re: encapsulating a long set of spice directives

 

Steph,

Yours is a very long message.? I'll try to reply to it all.? I tend to say too much when I reply, so I'll try keeping it short.? Kick me if I don't

? ? "1 - The "Text Edit on the Schematic" tool allows to opt for the "(not visible)" modality through the "Justification" drop-down list. I tried this. There is a problem. Once you opt for the?"(not visible)" modality, the whole set of directives vanishes from the schematic. And there is no way to retrieve the set. Do I miss something ?"

Text that has been made "not visible" reverts to visible the next time you open the schematic.? That's the good news.? The bad news is that there is no way to make the not visible thing "sticky", and no way to make it visible again except by closing and opening the schematic.

? ? "2 - How how to encapsulate the above directives into a file ?"

Open your favorite text editor.? Copy and Paste works between Windows programs.? Paste it into the file and save it.? Name it whatever you want.

? ? "3 - How to invoke the directives file on the main schematic ?"

Add this line to the schematic:
? ? .inc filename.ext
with the actual filename.? (.inc is short for .include)

? ? "4 - How to ensure that the directives get read by the schematic, and by the sub-circuits ?"

If there is no error message, then it opened and used the file.? If you're paranoid about it, you could add another parameter and use it to set a voltage source; then probe that voltage source and see that it indeed was affected by the parameter.? But you shouldn't need to do that.

User-defined parameters are used by the schematic, but not necessarily by subcircuits.? The scope of user-defined parameters includes subcircuits unless overridden by another definition for the same parameter within the subcircuit.

? ? "5 - How to automatically open and view the "SPICE Error Log" after each simulation run ?"

You can't.? You have to use your fingers.

Well, you could include an intentional error in your simulation, which forces LTspice to open the Error Log file for you.? But there is no way to automatically view the file.? You have to tell your brain and your eyeballs to do that.

? ? "6 -? How to define a piecewise linear (PWL) element, in the Frequency-Impedance plane :"

I think you would use a Table().? But I'm not certain so don't take my word.? Read the Help about using the table() function.? Be aware that it would work only in the frequency domain with an .AC simulation, not a .TRAN simulation.

There have been messages here about doing this sort of thing, so if you check the Files or weed through messages you might find it.? Sorry I can't help off the top of my head.

I haven't yet read the last 3/4 of your message.

Regards,
Andy



Re: 74hc_v.lib file

 

Hi Eric.
I organized my library in an alternative way, not as recommended in this group. I have all the characters inside me have a link to the library file. Almost all library files are in the folder \ \ Documents \ LTspiceXVII \ lib \ sub, and the symbols are in the \ Documents \ LTspiceXVII \ lib \ sym \ ZZZ folder. All this is on my page. My option allows you to immediately draw a diagram, do not bother about links to the library. By the way, I have different characters in folders for logic without power and with a power source. If you want to follow the traditions of this group, then I re-recommend using the following algorithm:
1. Create a new project folder.
2. Copy the non-standard symbols from the ZZZ / ... folder to this folder.
3. open characters one by one and read the last line. There is a library file name.
4. Copy this library to the project folder from the SUB folder.
And so for each character. This is due to the fact that the name of the library and the name of the symbol are different and in one library can be designed for several different characters.
5. Draw the scheme and model.
There are exceptions to paragraph 4.
For example, the bottom line is empty, and in the SpiceModel line you will see something like this: .. \ sym \ ZZZ \ MOS \ IRF \ LIB \ irlz44zsl.spi. This is the model file with indirect addressing.
If you want to send a project to a group, then zip the project folder in a ZIP format and upload it to the TEMP folder.
I have to do this if I want to share my project. This is the inconvenience of my way of organizing libraries. But in my case, I try to put together a "gang" of like-minded people and the exchange of data is very simplified. All that is needed is everyone has my library. Then do not do the above procedure. In the Russian segment of the Internet act in a similar way. By the way, I took some models from there, reorganized them and added many other models.
?
Bordodynov.


27.11.2018, 23:58, "Eric Henares eohenares@... [LTspice]" <ltspice@...>:

?

Hi Bordodynov,

Thank you for your help. I went to your ltwiki link. It's mind boggling the volume of work you have done. Thanks for sharing to us.
Some of the parts were in my wish list. I'm still trying to figure though how to download the ZZZ symbols file?

Thanks and best regards,
Eric

On Tue, Nov 27, 2018 at 12:12 AM §¡§Ý§Ö§Ü§ã§Ñ§ß§Õ§â §¢§à§â§Õ§à§Õ§í§ß§à§Ó BordodunovAlex@... [LTspice] <LTspice@...> wrote:
?

Hi Eric.
I opened your circuit and everything was modeled.
I just did: .tran 0 10m 0 uic
I have installed libraries in ../Documenty/LTspiceXVII/ ..
You can find it on my page:
?
Bordodynov


27.11.2018, 04:51, "eohenares@... [LTspice]" <ltspice@...>:
?

Hi Helmut,

Do you happen to have still the "74hc_v.lib file" used in the "74194 test.asc" schematic? It is not inside the zip file so I could not load it into the "sub" directory. The schematic would not run and is looking for it.. I tried working through your instruction how to convert a .asc file into ..lib but was too heavy for me. I reloaded the file dated Nov 19, 2016 for reference. I wrote an ealier email but seems did not go thru.

Thanks and best regards,

Eric

? ? ? ? ? ? ? ? ? ? ? ?



looking for the best model for a CD4046B PLL

 

I'm experimenting with LLC power supplies and want to build a simple
circuit using the CD4046B and phase comparator 2 to sync lock to the
resonant frequency of the tank.

It should be straight forward, but I want to make sure I have a good
CD4046B model. I'll also be using the CD4050B hex buffer and need a
model for that as well. Both models should be able to work at 10V.

I saw somewhere that Jim Thompson contributed towards HC4046 models and
wonder if he did something with the CD4046B to improve it.

-- ray


encapsulating a long set of spice directives

 

I am running LTspice version XVII. This is in the context of LTspice simulating the Servo Sound SL15, SL20, Korn & Macway KM30, KM40, KM50, and 3A Andante speakers.?


They are active speakers dating back from 1969 (Servo Sound SL15) to say 1980 (3A Andante).

They embed a 0.33 ohm shunt resistor enabling their built-in power amplifier to benefit from a supplementary feedback channel, taking into account the instantaneous current that's flowing into the speaker voice coil. Kind of refined negative output impedance drive.


Unfortunately, the following LTspice set of directives must be issued on the main schematic :


.param R1e 3.5? ? ? ? ?; ohm (coil copper resistance)

.param L1e 390?? ? ? ;? henry (main coil)

.param K1e 0.81? ? ? ?; Le1 Le2 coupling?

.param L2e 3.7n? ? ? ?; henry (eddy current coil)

.param R2e 68?? ? ? ?; ohm (eddy current resist.)

.param Bl 4.2? ? ? ? ? ? ; A*m or N/A (magnetic force)

.param Mms 5.5m? ? ;? kg (moving mass)

.param Rms 0.87? ? ?; ohm (resistive loss)

.param Cms 1.36m? ?; m/N (suspension compliance)

.param Sd 52 * 1e-4 ; m^2 (piston area)

.meas Fs avg 1/(2*pi*(sqrt(Cms*Mms))) ; Hz

.meas Vas avg rho*c*c*Sd*Sd*Cms*1e3 ; litres

.meas Qes avg (2*pi*Fs*Mms*R1e)/(Bl*Bl)

.meas Qms avg (1/Rms)*sqrt(Mms/Cms)

.meas Qts avg (Qms*Qes)/(Qms+Qes)

.meas Rend_pc avg 100*(4*pi*pi*Fs*Fs*Fs*Vas*1e-3)/(c*c*c*Qes)

.meas SPL_2.83v avg 112.1+10*log10(Rend_pc/100)+10*log10(8/R1e)

.param Po 101k ; Pa

.param rho 1.184 ; air density kg/m3

.param c 346 ; speed of sound in air m/s


This is eating a lot of real estate on the schematic.


Here are a few questions :


1 - The "Text Edit on the Schematic" tool allows to opt for the "(not visible)" modality through the "Justification" drop-down list. I tried this. There is a problem. Once you opt for the?"(not visible)" modality, the whole set of directives vanishes from the schematic. And there is no way to retrieve the set. Do I miss something ?


2 - How how to encapsulate the above directives into a file ??


3 - How to invoke the directives file on the main schematic ?


4 - How to ensure that the directives get read by the schematic, and by the sub-circuits ?


5 - How to automatically open and view the "SPICE Error Log" after each simulation run ?


6 -? How to define a piecewise linear (PWL) element, in the Frequency-Impedance plane :?


20 Hz, 3.5 ohm magnitude, 0.0 degree phase

50 Hz, 20.0 ohm magn, 0.0 degree phase

100 Hz, 9.0 ohm?magn, 0.0 degree phase

200 Hz, 5.0 ohm magn, 0.0 degree phase

500 Hz, 5.1 ohm magn, 0.0 degree phase

1 kHz, 5.2 ohm?magn, 0.0 degree phase

2 kHz, 6.0 ohm?magn, 0.0 degree phase

5 kHz, 9.0 ohm?magn, 0.0 degree phase

10 kHz, 13.0 ohm magn, 0.0 degree phase

20 kHz, 18.0 ohm?magn, 0.0 degree phase


This is for enabling LTspice to plot such real-world impedance in function of the frequency, as reference, for easing comparisons.?


Many thanks in advance


**


For your entertainment, I am adding a documentary section that you better read using the "read aloud" text-to-speech Chrome extension.


Why-oh-why fiddling in 2018, with active speakers dating back from the years 1970 and 1980??


Say there is a power amplifier, imposing a voltage on a electro-dynamic speaker.

How to analyze it ?

?

1 - There is a voltage that's generated by the current that's flowing into the voice coil copper resistance (Ohm's Law). It is easy to compute, and equals the instantaneous current times the copper resistance.


2 - There is a voltage generated by the current that's flowing into the voice coil inductance (Lenz's Law).?It is easy to compute, and equals the instantaneous current first derivative, times the coil inductance.


3- There is a motional voltage generated by the voice coil (Faraday's Law).


The motional voltage is the voltage that's generated by the speaker voice coil operating as a giant dynamic microphone.


The?motional voltage is proportional to the constant magnetic induction that's provided by the permanent magnet. We should say "magnetic flux". Indeed, the narrower the circular air gap is, the bigger the flux is. Unfortunately, the circular air gap must be quite large, for the voice coil to be able to slide back and forth inside it, without touching the walls.


Low power speakers of say 10 watts made in Western Europe, dating back from 40 years ago, featured a voice coil made of a small diameter copper wire, wound on a paper coil former. Consequently, the air gap could be very small. Consequently, the magnetic flux was suite large, despite using a relatively light permanent magnet.

The first China-made high power speakers of say 100 watts, featured heavy voice coil made of a big diameter copper wire, wound on a aluminium coil former. Consequently, the air gap had to be very large. Consequently, the magnetic flux was low, unless using a very heavy permanent magnet.

Nowadays speakers rely on miniaturized neodymium magnets, coupled to a high precision air gap allowing a decent magnetic flux, despite the spectacular magnet size and weight reduction. The thinner the air gap is, the thinner the copper wire is, and the easier the voice coil can transfer its heat into the bulk, acting as heatsink.

The motional voltage is also proportional to the voice coil copper wire length exposed to the magnetic flux.


The motional voltage is proportional to the voice coil instantaneous speed. This is most important, as the voice coil movement, hence speaker cone movement, is what's actually at the origin of the sound.


Knowing this, it suffices to deduct from the total speaker voltage, the above mentioned voice coil copper voltage (Ohm's Law), and the above mentioned voice coil inductance voltage (Lenz's law), for knowing the Faraday voltage (motional voltage), hence actual voice coil speed, hence actual speaker cone movement, hence the actual sound being delivered.


Starting from this, comes the supplementary feedback scheme idea, popularized by Servo Sound as soon as 1969.?


The electric signal that's physically representing the instantaneous voice coil speed, gets presented back to the power amplifier, on a auxiliary input, for allowing the power amplifier to compare it against the desired voice coil speed that's present on its main input.


The power amplifier is now able to correct any deviation. Such correction takes a couple of microseconds, which is less than what it takes for the sound wave to actually get airborne. The voice coil speed gets massaged by multiple corrections and re-corrections before the sound wave it emits, truly gets airborne.


One wonders why starting all audio equipment manufacturers have not jumped on such bandwagon.


There may be six reasons.


1. Marketing.
You can realize more sales, and better motivate your customers to renew their equipment, when marketing a power amplifier that's completely separate from the loudspeaker. Say a DC-coupled power amplifier. Or say a MOSFET power amplifier.

You can realize more sales, and better motivate your customers to renew their equipment, when marketing a speaker enclosure that's completely separate from the power amplifier. Say a two-way speaker. Say a acoustic suspension speaker. Say a 3-way bass-reflex speaker.??

And you can sell a range of speaker cables.


2. Credibility.

In the seventies and eighties, you could not appear as a creditable audio gear manufacturer in case you put a power amplifier inside a speaker cabinet. You make it difficult for audio techs to measure the distortion, slew rate and signal/noise ratio. You make it difficult for audio freaks to tell if your power amplifier allows to perceive the pianist's sockets color.

You look suspicious, like you need to hide something.


3. Electric safety and-or the WAF.

Active speakers require a AC power cable, plus the audio signal cable. In the early seventies, Servo Sound and Korn & Macway relied on multi-wire cabling, connectors and plugs (Painton/Jones, and Bulgin after a while), conveying the AC power and the audio signal. Unfortunately such arrangement failed some electric safety tests. The latest models from Korn & Macway had their AC cable separated from the audio cable. Comes another issue then. Imagine your wife discovering that you just installed speakers in the living room, requiring long AC cables, squatting two AC power outlets. Such is the WAF (Wife Acceptance Factor) issue.


4. Voice coil copper resistance, which is temperature-dependent.

For the voice coil speed feedback scheme to be so effective, so strong, that it wins over your finger trying to immobilizing it, the electronics circuitry that's elaborating the voice coil speed feedback needs to track the real-world voice coil copper DC resistance with great precision. Another way to see this is to consider how the voice coil speed feedback operates at the very low frequencies, where one can neglect the Lenz's Law voltage that's developing on the voice coil inductance. The aim of the game here, is to drive the speaker coil using a *negative* output resistance of say 3.0 ohm, in the context of a speaker featuring a physical voice coil resistance of 3.5 ohm. This way, the system behaves like the coil copper resistance is only 3.50 ohm minus 3.00 ohm = 0.50 ohm. Anybody can implement a power amplifier featuring a negative output resistance. It suffices to add a positive feedback, basing on the current that's flowing into the speaker. There you see the importance of the 0.33 ohm resistor used as shunt. Say you achieve a negative output impedance of 3.0 ohm. The virtual 0.50 ohm copper resistance that you achieve, is 7 times less than the physical copper resistance. Consequently, your finger will face a 7 times more counter-acting force, when it tries to immobilize the speaker voice coil. This looks excellent. The problem here, is that in case the circuitry makes a 5% error in assuming the voice copper DC resistance (temperature dependent), it will implement a 3.50 ohm minus 3.15 ohm = 0.35 ohm virtual copper resistance drive, instead of 0.50 ohm. Which is 30% off, causing almost a 3 dB error on the sound amplitude.

? ? ??

5. Voice coil inductance, exhibiting high iron core losses.

This is caused by eddy currents circulating inside the soft-iron coil core, explaining why the "catalog"? 230 ?H coil is is only 18 ohm minus 4 ohm = 14 ohm at 20 kHz, while it should be close to 29 ohm. You voice coil model coil requires a 3 dB per octave slope filter. Kind of "pink noise" filter, easy to implement using a few resistors and capacitors. Most people regard this as a obscure fix for some obscure issue, while in reality, this is is a fundamental asset for precisely modelling the non-standard voice coil impedance rise in function of the frequency.


6. The stability issue when trying to implement a "true and trivial" voice coil speed feedback.

Such feedback scheme is indeed relying on the audio current that's ingested by the speaker coil, sensed by the 0.33 ohm shunt. Unfortunately, past 5 kHz, the speaker coil becomes mostly inductive, as its impedance module is now 9.0 ohm instead of 3.5 ohm. This means that the ingested current, serving as feedback signal, is mostly lowpass. Fundamentally, this could be a show stopping argument. You are running for trouble, in case you design a closed-loop feedback system that's basing on a feedback signal that's a lowpass. The higher the frequency is, the less feedback signal you get, forcing the closed-loop system to deliver a high gain at a high frequency. The most recommended approach consists in analyzing the feedback signal in gain and phase, for tailoring the power amplifier gain and phase according to some "optimum control" theory enabling to optimally balance the speed and the precision, following your requirement. Such approach consists in tweaking the power amplifier open loop gain and phase, and tweaking the feedback signal filtering, for ending up with a compact circuitry. There should be no "pre-equalizer". All the equalizing should be implemented inside the closed-loop system. Unfortunately, the Servo-Sound and Korn & Macway circuitry feature a "pre-equalizer" that's boosting the 20 Hz frequency by 20 dB. Contrary to this, the 3A Andante circuitry is not relying on a "pre-equalizer".


7. No service manual, hence no official method for adjusting the "Motional Feedback balance".

The?Servo-Sound, Korn & Macway, and 3A Andante circuitry all feature a trim resistor, aiming at subtracting a certain percentage of the speaker voltage, from the voltage that's developing on the 0.33 ohm shunt resistor. There is no official information, saying how to adjust such trim resistor. Long time ago, I vaguely assumed that such trim resistor must be adjusted for the feedback voltage to become zero when applying some audio frequency at the system input, while at the same time, forcing the speaker cone to remain immobile. Surely this is not the proper way. There must be a better, more practical way.


8. The interdiction to elaborate a feedback signal, that's the motional voltage.

There is a 10 dB resonant peak 400 Hz in the sound pressure level, in case you adjust the trim resistor (see above) for the supplementary feedback signal to equate the motional voltage. This is the?most disturbing, and most disappointing feature. Remarkably, the 400 Hz frequency doesn't correlate with the main speaker box resonance that occurring at say 80 Hz. Something else is coming into play. This may relate to the issue described above, consisting in applying a lowpass signal as feedback.


9. The obligation to elaborate a feedback signal that's departing from the motional voltage. The feedback signal that's required for getting rid of the 10 dB resonant peak at 400 Hz, appears to contain a excessive amount of speaker voltage, compared to the amount of speaker current.? ?


10. A good way to assess the true motional feedback effect.

In case the bass frequencies are governed by a motional feedback, whatever the static pressure that you finger is imposing on the speaker cone, the system will counteract your finger, for trying to move the speaker cone, as if your finger was not there.

In case the bass frequencies are governed by a bass equalizer, the system will counteract your finger in a weak way, and as consequence, it will be easy for your finger, to reduce the cone movement.

Such behavior can be tested using LTspice. It suffices to put the AC voltage source, not at the system input, but in series with the force/speed section of the gyrator. Such AC voltage source implements your finger, and now you can impose a mechanical force of say 1 Newton, that's not only static, but also at any frequency you want.

Open the LTspice schematic that's representing the Servo Sound SL15 speaker.

Cut the "motional feedback" track entering the power amplifier. Run a?AC simulation, and you will see the sound pressure level that the 1 Newton is causing, from 20 Hz to 20 kHz, when the speaker cone is held in place by the power amplifier, just like most power amplifiers are, no special feedback, only relying on the conventional voltage feedback.

Restore the "motional feedback" track entering the power amplifier.?Run a?AC simulation, and you will see the sound pressure level that the 1 Newton is causing, from 20 Hz to 20 kHz, when the speaker cone is held in place by the power amplifier, assisted by the "motional feedback".

Say you see a difference in the lowest frequencies, between 50 Hz and 100 Hz.

There may be a sound level pressure decrease, by say 4 dB or so between 50 Hz and 100 Hz, compared to the "no motional feedback" plot. This is the true motional feedback. This means that between 50 Hz and 100 Hz, when enabling the "motional feedback", the speaker cone gets 1.6 times more controlled. The speaker movement gets 1.6 times less impacted by a suspension non-linearity, by a box size mismatch, or by a suspension compliance mismatch.

There may be a sound level pressure decrease, by say 12 dB or so between 50 Hz and 100 Hz, compared to the "no motional feedback" plot. This is the true motional feedback. This means that between 50 Hz and 100 Hz, when enabling the "motional feedback", the speaker cone gets 4.0 times more controlled. The speaker movement gets 4.0 times less impacted by a suspension non-linearity, by a box size mismatch, or by a suspension compliance mismatch.

When tuning a "motional feedback" system, one must pay attention to the true motional feedback, and consider as non-functional, or badly configured, a "motional feedback" system that's exhibiting a less than 10 dB true motional feedback when enabled (equivalent to the speaker cone getting a 3.2 times more controlled).? Unfortunately, most of the time, when you manage to tune a motional feedback system for reaching a true motional feedback of say 10 dB, after you revert to a conventional AC analysis with the AC source connected at the system input, you discover that the frequency response has worsened, exhibiting valleys and mountains. This is where the sport begins !?


11. A good way to assess the dumb equalizer effect.

Open the LTspice schematic that's representing the Servo Sound SL15 speaker.

Put the AC signal source as usual, at the system input. Make sure all other AC signal sources produce no signals.

Cut the "motional feedback" track entering the power amplifier. Run a conventional?AC simulation, and observe the frequency response from 20 Hz to 20 kHz.

Restore the "motional feedback" track entering the power amplifier.?Run a conventional?AC simulation, and observe the frequency response from 20 Hz to 20 kHz.?

You will see a huge difference in the lowest frequencies, say between 50 Hz and 100 Hz, up to 12 dB or so, ironing out the the deep bass frequency response, quite a impressive result.

Compare the 12 dB improvement seen here, against the true "motional feedback" contribution in dB. Say it was 8 dB.

Thus, from the 12 dB improvement seen in the deep bass frequency response, one could say that 4 dB may originate from a conventional albeit cryptic, dumb equalizer.


What I want to make clear here, as final conclusion, is that when one is cutting the "motional feedback" wire, and facing a 12 dB worsening of the deep bass frequency response as result, it is a false assumption to say that the "motional feedback" was 12 dB.


The only valid test for assessing the true motional feedback, consists in using the finger method, or possibly, the simulation method consisting in placing the audio source (as mechanical force) in series with the gyrator output, so one can measure how much the feedback system succeeds in overcoming such perturbation, compared to the same schematic, having its feedback wire cut.? ??

? ?

That's all for today.?

Have a nice day? ? ??

Regards

Steph



Re: 74hc_v.lib file

 

Actually, I also tried this several times, time's up, and get out.
Soon or later , everyone does, but what's important is what I have done , for here, I hope it won't be nothing.

I doubt anyone need eternity boring, common fair is not existing, because that's unfair...
So reborn to be better, at least won't be boring. I mean, maybe Yahoo need to be re-built. Or say, evolution. But I doubt it's improvement is from evolution or intentional engineered.

If evolution of the history were scheduled into time durations, I hope this won't be the last section.


---In LTspice@..., <ai.egrps@...> wrote :

Eric wrote, "When I click the link you gave below it seems there is error now downloading files from yahoo."

Yahoo was wonky today.? It seems to be better now.

By the way, in case you have not discovered this yet -- when you see a link (in an email or elsewhere) to a file in a Yahoo!Group, you can't right-click on the link to download it directly.? You have to first go to that link (left-click on it), then you can download.? Also be careful not to let it sit too long before starting to download, because the URLs "time out" and become stale after several minutes.? And there are times when Yahoo just doesn't work right at all.

Regards,
Andy



Re: Jim Thompson

 

On 28/11/2018 00:07, Andy ai.egrps@... [LTspice] wrote:

I have worried about Jim Thompson.? A month or so ago I even did a web
search, just to see if his life status had changed -- fortunately found
nothing.? Maybe he is in treatment or recovery and just not able to
maintain things on the web at the moment.? I hope he will be back.

I did exactly the same, with same result. Having said that, some people
like to leave quietly without fuss. I'm a bit like that, perhaps Jim was
too. There again, perhaps he has us all fooled.

Regards,
Tony


Re: 74hc_v.lib file

 

Hi Andy,
I'm able to download it now. The circuit works already. I also learn something else which is the word wonky:)
Thanks and best regards,
Eric


On Tue, Nov 27, 2018 at 5:03 PM Andy ai.egrps@... [LTspice] <LTspice@...> wrote:
?

Eric wrote, "When I click the link you gave below it seems there is error now downloading files from yahoo."

Yahoo was wonky today.? It seems to be better now.

By the way, in case you have not discovered this yet -- when you see a link (in an email or elsewhere) to a file in a Yahoo!Group, you can't right-click on the link to download it directly.? You have to first go to that link (left-click on it), then you can download.? Also be careful not to let it sit too long before starting to download, because the URLs "time out" and become stale after several minutes.? And there are times when Yahoo just doesn't work right at all.

Regards,
Andy



AES17-20k Filter

 

Anyone working with class D amplifiers or audio ADCs/DACs needs to be
mindful of excluding sampling artefacts from their audio measurements.
Audio Precision include an AES17-20k recommendation brick wall filter in
their esteemed test equipment. You can buy modules on eBay that say they
do the same.

In the pretend world of simulation, the same requirements apply
regarding noise and distortion measurements. I have uploaded a model of
an AES17-20k filter that meets all the requirements of the 20kHz brick
wall filter:

Insertion loss at 20kHz: < 0.1dB
Rejection at 22kHz: > 20dB
Rejection from 25kHz to 10MHz: >65dB

The upload contains model, symbol and test schematic.

Files > Examples > Apps > AES17-20k.zip

Regards,
Tony


Re: Jim Thompson

 

I have worried about Jim Thompson.? A month or so ago I even did a web search, just to see if his life status had changed -- fortunately found nothing.? Maybe he is in treatment or recovery and just not able to maintain things on the web at the moment.? I hope he will be back.

He has many accomplishments.? Like you, I used some of the ICs he designed.

Regards,
Andy



Re: Trying to create a lookup table without any success

 

evangelos.liakos, I strongly recommend NOT labeling the ground net "N".? It already has a label, which it gets from the "ground" symbol, and LTspice needs to use that label, not yours.? Don't try to attach another net name to the ground net or any other net that is already named.? ?Especially, don't try to use that other net name in an expression.? LTspice will discard your added label.? Fortunately, LTspice was able to modify your "V(Cb,N)" expression to "V(Cb,0)", so that expression did the right thing.


Please read how Tables are supposed to be used.? See this Help page:
? ? Help > LTspice > Circuit Elements > B. Arbitrary Behavioral Voltage or Current Sources
Scroll down that page until you reach "table".? The word "table" must be part of the expression.? You forgot that.? I think that was the biggest mistake.

Table() is a function.? The first parameter is where you would put "V(Cb)" (there's no need to write "V(Cb,0)" but you could).? Therefore, in your schematic you should right-click on your B1 source and change the Value line to this:
? ? V=table( V(Cb),
Change the Value2 line to this:
? ? (0,3000), (50,650), (100,490), (150,400), (200,350), (250,400), (300,300), (400,250), (500,220), (600,215), (700,210), (800,210), (900,210), (1000,210) )
Note that I've added a comma between each pair of values (I guess it's necessary), and one more close-parenthesis at the end so that the parentheses are balanced.

FYI, the schematic you uploaded was "Draft3.asc".? In the future, please choose a better filename than that, when you upload something -- the filename should mean something helpful.? Also, please upload to the "Temp" folder only.? To do that, navigate to the Temp folder first, and only then, click the Upload button.

There are many examples of Tables in our group's Files section.

As John already posted, other parts of your schematic don't make any sense; but I'm guessing you just threw this together to demonstrate Tables without trying to make it "do" anything.? Also there is a missing ground on the right half of the schematic.? B1/R3 should be grounded.

I'll upload a corrected schematic (Draft3_Lookup_Tables_fixed.asc).

Regards,
Andy


Re: Jim Thompson

 

All,

Try this link if you want to capture any of his website:



As Tony mentioned, I used a lot of the I.C.'s that he had developed over the decades.

Jay
www.analogdesign.com


Jim Thompson

 

¿ªÔÆÌåÓý

I happened to come across a link the other day to , which some people here might recognise as the website of Jim Thompson, a long-time contributor to this group and many others. Sadly, the website has been taken down.

Some people might remember a while ago Jim mentioning that he was ill, but fighting back, #105957. That was a while back - there have been no messages since June. I'm inclined to fear the worst.

I never met, nor can pretend to have been a friend of Jim, or even directly corresponded, but as one of almost the same vintage, I developed a respect for his work over the years. I cut my teeth back in the '70s and '80s developing RF and microwave frequency synthesisers and the like, often with the help of chips that Jim had designed during his time with Motorola, when they were ascendant: classics including the MC1648, MC1658, MC12040 and MC4044. These designs, of course, pre-date SPICE itself.

If anyone in this group has further information they are able to offer, that would be appreciated, especially if it's along the lines of Mark Twain's famous quote.

Regards,
Tony



Re: 74hc_v.lib file

 

Eric wrote, asking Bordodynov, "I'm still trying to figure though how to download the ZZZ symbols file?"

That's inside his "lib.zip" file.? The ZZZ symbol folders are inside it.? The file is 12MB, but most of that is not the symbols.

Regards,
Andy



Re: 74hc_v.lib file

 

Eric wrote, "When I click the link you gave below it seems there is error now downloading files from yahoo."

Yahoo was wonky today.? It seems to be better now.

By the way, in case you have not discovered this yet -- when you see a link (in an email or elsewhere) to a file in a Yahoo!Group, you can't right-click on the link to download it directly.? You have to first go to that link (left-click on it), then you can download.? Also be careful not to let it sit too long before starting to download, because the URLs "time out" and become stale after several minutes.? And there are times when Yahoo just doesn't work right at all.

Regards,
Andy



Re: 74hc_v.lib file

 

Hi Andy,

Thank you again for your support. I haven't gotten to the file yet but I have found another part I can use 74hc595 with both asy and subckt files. I tried to abort? my request but you guys are just?
very quick to respond.? When I click the link you gave below it seems there is error now downloading files from yahoo. But i'm ok already with the 74hc595..

Thanks also for your advise to check on the Group files. I think I missed to continue searching down for more files when I got too excited.

Best regards,
Eric


On Tue, Nov 27, 2018 at 2:00 AM Andy ai.egrps@... [LTspice] <LTspice@...> wrote:
?

Eric asked about the file "74hc_v.lib", needed in a downloaded simulation.

I don't know if you found the answer to your question already (the replies I received might not be in order).? However, the file you were looking for is in the group's Files, here:

? ? Files > Lib > Digital 74HCxxx > 74HC_v.lib

? ?

I remind people to try the "Table of Contents" file (all_files.htm) when something like this is needed.

By the way -- the schematic uses the 74HC194 but not the original/bipolar 74194, despite the name of the schematic.? I guess that schematic was an answer to someone's question and you'd have to go back to that question (99370) if you wanted to see why the names didn't agree.

Regards,
Andy