Trying to simulate a log decay in spice with ability to add noise and or offset to the original signal. Couldn't find a log amplifier in spice. One possibility is make one. Another option? Think the simulation decay trace is correct but the Y scale is log instead of linear. Simulation has +-5mv of noise with zero offset. Change V2 to change noise and offset. Thinking decay trace isn't going to be any better than what I'm doing now. Is the simulation decay trace correct or am I missing something? The zip file opens in my computer but not here. Running security scan never stops. Anyone know why?
Announcement
Collapse
No announcement yet.
Target response tester
Collapse
X
-
Originally posted by green View PostTrying to simulate a log decay in spice with ability to add noise and or offset to the original signal. Couldn't find a log amplifier in spice. One possibility is make one. Another option? Think the simulation decay trace is correct but the Y scale is log instead of linear. Simulation has +-5mv of noise with zero offset. Change V2 to change noise and offset. Thinking decay trace isn't going to be any better than what I'm doing now. Is the simulation decay trace correct or am I missing something? The zip file opens in my computer but not here. Running security scan never stops. Anyone know why?Attached Files
Comment
-
If you're wanting proper discrete log amp circuits for your simulation, here's a couple of Nat Semi app notes that cover the basics. Issues like temperature stability won't matter, as your simulation won't vary with temperature.
http://www.ti.com/lit/an/snoa575b/snoa575b.pdf
http://www.ti.com/general/docs/lit/g...b&fileType=pdf
Comment
-
Eric, you need a GOOD, A N A L O G U E storage scope for best results. That digital crud is hopeless for applications like this unless you remortgage and spend the lot!
Also, notice the "rotation" of the trace. the first part of the decay is faster with the silver coin and the lower part is "extended" the reverse is true with iron, the top part is NOT rotated. Putting in an ealy sample is how I got my PI to discriminate (I used a number of sample and holds feeding comparators. I had to use some FETs as pots as some comparators required references which increased with disc level and others decreased with disc level, also some were logarithmic and some linear. Sorry I can't say which ones on here but I'm looking at a patent on this at the moment.
I have one of these; http://www.controlelectronics.com.au...0a-images.html (cost me £5000 15 years ago) might be selling everything in my lab soon so watch the For Sale section here.
Comment
-
If you're wanting to import a Spice model of a proper log amp (rather than the photodiode-specific ones) a good choice would be the TI LOG104. The part is expensive, but the simulation is thankfully free.
http://www.ti.com/product/LOG104
Comment
-
Originally posted by Skippy View PostIf you're wanting proper discrete log amp circuits for your simulation, here's a couple of Nat Semi app notes that cover the basics. Issues like temperature stability won't matter, as your simulation won't vary with temperature.
http://www.ti.com/lit/an/snoa575b/snoa575b.pdf
http://www.ti.com/general/docs/lit/g...b&fileType=pdf
Comment
-
Originally posted by green View PostTried building the log amp in spice. Worked but to slow. Tried downloading LOG104 spice. Computer isn't working like it was a couple days ago. I'm not a computer person, when it works fine when it doesn't I'm lost. Thanks for the suggestions, I'll keep trying to get a spice model that works.
Comment
-
Originally posted by green View PostWasn't thinking. Increased the RC time constant and lowered the offset frequency reply #16, input to log amp I made in spice. Log amplifier out trace(linear Y)scale close or same as log out trace(log Y)scale simulation reply#16.Including log amplifier model. Is anyone else having a problem opening the zip file?
The file did come up a few minutes latter.
Attached Files
Comment
-
Originally posted by green View PostI replied running security scan never stops. Not sure that's true. Before, running security scan took a second or two. Now the zip file has come up a few minutes latter. Any suggestions why things have changed?Including log amplifier model. Is anyone else having a problem opening the zip file?
The file did come up a few minutes latter.
Comment
-
Originally posted by green View PostI replied running security scan never stops. Not sure that's true. Before, running security scan took a second or two. Now the zip file has come up a few minutes latter. Any suggestions why things have changed?Including log amplifier model. Is anyone else having a problem opening the zip file?
The file did come up a few minutes latter.
Comment
-
Originally posted by Sean_Goddard View PostEric, you need a GOOD, A N A L O G U E storage scope for best results. That digital crud is hopeless for applications like this unless you remortgage and spend the lot!
Also, notice the "rotation" of the trace. the first part of the decay is faster with the silver coin and the lower part is "extended" the reverse is true with iron, the top part is NOT rotated. Putting in an ealy sample is how I got my PI to discriminate (I used a number of sample and holds feeding comparators. I had to use some FETs as pots as some comparators required references which increased with disc level and others decreased with disc level, also some were logarithmic and some linear. Sorry I can't say which ones on here but I'm looking at a patent on this at the moment.
I have one of these; http://www.controlelectronics.com.au...0a-images.html (cost me £5000 15 years ago) might be selling everything in my lab soon so watch the For Sale section here.
Still lots of features to explore and all for £299 which I think is a bargain.
Some pictures will follow when I have explored further.
Eric.
Comment
-
Wanting to do three scans on 1 screen. Change V2 to show difference with input offset on same screen. Amplitude and frequency=0 all three runs. Display logout with DC offset=1mv, 0mv and -1mv for the three runs. Can someone show me how?Attached Files
Comment
-
Originally posted by green View PostWanting to do three scans on 1 screen. Change V2 to show difference with input offset on same screen. Amplitude and frequency=0 all three runs. Display logout with DC offset=1mv, 0mv and -1mv for the three runs. Can someone show me how?Attached Files
Comment
Comment