Electronics-Related.com
Forums

LT Spice challenge

Started by John Larkin August 19, 2021
On Friday, August 20, 2021 at 1:16:09 PM UTC-4, Rich S wrote:
> On Thursday, August 19, 2021 at 11:08:23 PM UTC, John Larkin wrote: > > Suppose I have a circuit with 20 nodes, N1 ... N20. > > > > I want to plot the node voltages, left to right on the screen. > > > > Any ideas? > > > > Clumsy ways: > > > > Build an analog mux and clock it with a counter, plot with time as > > x-axis > > > > Push a pulse into a tapped transmission line to sequence a bunch of > > switches > > > > Export a file and do it in a separate program > Hello John, > So the issue is LTSpice won't plot that many (n=20) in one graph? > Sorry, I use MicroCap, not LTSPice. > Plotting 20 nodes is no sweat in MicroCap. > > Or, you want 20 separate plots, each in its own window? That, I can't do either. > > In any case, I would export* the data & graph it in Excel. > > *In MicroCap: > Run Transient Analysis (Alt-1). > F10 > Numeric Output > Check All, Data Points=Actual, "OK" > Re-run Transient Analysis (F2), see Numeric Output (F5)
He wants the equivalent of a bar graph, 20 values on a single signal. Using 20 frequency sources each could be multiplied by the related signal to be displayed and the outputs combined to produce 20 peaks in a spectral output. A bit messier than a signal with DC levels, but not horribly so. -- Rick C. + Get 1,000 miles of free Supercharging + Tesla referral code - https://ts.la/richard11209
On Thursday, August 19, 2021 at 7:08:23 PM UTC-4, John Larkin wrote:
> Suppose I have a circuit with 20 nodes, N1 ... N20. > > I want to plot the node voltages, left to right on the screen. > > Any ideas? > > Clumsy ways: > > Build an analog mux and clock it with a counter, plot with time as > x-axis > > Push a pulse into a tapped transmission line to sequence a bunch of > switches > > Export a file and do it in a separate program
Good luck figuring anything out from that Help file gibberish.
On 2021-08-20, jlarkin@highlandsniptechnology.com <jlarkin@highlandsniptechnology.com> wrote:
> On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: > >>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >><jlarkin@highland_atwork_technology.com> wrote: >> >>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>> >>>I want to plot the node voltages, left to right on the screen. >>> >>>Any ideas? >>> >>>Clumsy ways: >>> >>>Build an analog mux and clock it with a counter, plot with time as >>>x-axis >>> >>>Push a pulse into a tapped transmission line to sequence a bunch of >>>switches >>> >>>Export a file and do it in a separate program >> >>Sounds like a table, rather than a plot. > > I want a plot. > > LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 > points. I can drive them from a 1 Hz counter or a few pulse > generators.
you could just use a bunch of switches each with a different non-overlapping on time, they can be as ideal as you want. -- Jasen.
On Fri, 20 Aug 2021 16:00:39 -0700 (PDT), Fred Bloggs
<bloggs.fredbloggs.fred@gmail.com> wrote:

>On Thursday, August 19, 2021 at 7:08:23 PM UTC-4, John Larkin wrote: >> Suppose I have a circuit with 20 nodes, N1 ... N20. >> >> I want to plot the node voltages, left to right on the screen. >> >> Any ideas? >> >> Clumsy ways: >> >> Build an analog mux and clock it with a counter, plot with time as >> x-axis >> >> Push a pulse into a tapped transmission line to sequence a bunch of >> switches >> >> Export a file and do it in a separate program > >Good luck figuring anything out from that Help file gibberish.
The native Help is pretty bad, but there are tons of web sites that are good. -- Father Brown's figure remained quite dark and still; but in that instant he had lost his head. His head was always most valuable when he had lost it.
On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com
wrote:

>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: > >>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >><jlarkin@highland_atwork_technology.com> wrote: >> >>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>> >>>I want to plot the node voltages, left to right on the screen. >>> >>>Any ideas? >>> >>>Clumsy ways: >>> >>>Build an analog mux and clock it with a counter, plot with time as >>>x-axis >>> >>>Push a pulse into a tapped transmission line to sequence a bunch of >>>switches >>> >>>Export a file and do it in a separate program >> >>Sounds like a table, rather than a plot. > >I want a plot. > >LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >points. I can drive them from a 1 Hz counter or a few pulse >generators. >
This topic on the LTspice forum may be addressing your 'challenge': https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 RL
On Sat, 21 Aug 2021 09:40:16 -0400, legg <legg@nospam.magma.ca> wrote:

>On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com >wrote: > >>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: >> >>>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >>><jlarkin@highland_atwork_technology.com> wrote: >>> >>>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>>> >>>>I want to plot the node voltages, left to right on the screen. >>>> >>>>Any ideas? >>>> >>>>Clumsy ways: >>>> >>>>Build an analog mux and clock it with a counter, plot with time as >>>>x-axis >>>> >>>>Push a pulse into a tapped transmission line to sequence a bunch of >>>>switches >>>> >>>>Export a file and do it in a separate program >>> >>>Sounds like a table, rather than a plot. >> >>I want a plot. >> >>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>points. I can drive them from a 1 Hz counter or a few pulse >>generators. >> > >This topic on the LTspice forum may be addressing your 'challenge': > >https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 > > >RL
Interesting, but that's not what I want to do. -- Father Brown's figure remained quite dark and still; but in that instant he had lost his head. His head was always most valuable when he had lost it.
On Sat, 21 Aug 2021 08:31:24 -0700, jlarkin@highlandsniptechnology.com
wrote:

>On Sat, 21 Aug 2021 09:40:16 -0400, legg <legg@nospam.magma.ca> wrote: > >>On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com >>wrote: >> >>>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: >>> >>>>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >>>><jlarkin@highland_atwork_technology.com> wrote: >>>> >>>>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>>>> >>>>>I want to plot the node voltages, left to right on the screen. >>>>> >>>>>Any ideas? >>>>> >>>>>Clumsy ways: >>>>> >>>>>Build an analog mux and clock it with a counter, plot with time as >>>>>x-axis >>>>> >>>>>Push a pulse into a tapped transmission line to sequence a bunch of >>>>>switches >>>>> >>>>>Export a file and do it in a separate program >>>> >>>>Sounds like a table, rather than a plot. >>> >>>I want a plot. >>> >>>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>>points. I can drive them from a 1 Hz counter or a few pulse >>>generators. >>> >> >>This topic on the LTspice forum may be addressing your 'challenge': >> >>https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 >> >> >>RL > >Interesting, but that's not what I want to do.
Not sure I see it. Do you want a visual display similar to a bar spectrun analyser output? RL RL
On Sat, 21 Aug 2021 14:09:06 -0400, legg <legg@nospam.magma.ca> wrote:

>On Sat, 21 Aug 2021 08:31:24 -0700, jlarkin@highlandsniptechnology.com >wrote: > >>On Sat, 21 Aug 2021 09:40:16 -0400, legg <legg@nospam.magma.ca> wrote: >> >>>On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com >>>wrote: >>> >>>>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: >>>> >>>>>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >>>>><jlarkin@highland_atwork_technology.com> wrote: >>>>> >>>>>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>>>>> >>>>>>I want to plot the node voltages, left to right on the screen. >>>>>> >>>>>>Any ideas? >>>>>> >>>>>>Clumsy ways: >>>>>> >>>>>>Build an analog mux and clock it with a counter, plot with time as >>>>>>x-axis >>>>>> >>>>>>Push a pulse into a tapped transmission line to sequence a bunch of >>>>>>switches >>>>>> >>>>>>Export a file and do it in a separate program >>>>> >>>>>Sounds like a table, rather than a plot. >>>> >>>>I want a plot. >>>> >>>>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>>>points. I can drive them from a 1 Hz counter or a few pulse >>>>generators. >>>> >>> >>>This topic on the LTspice forum may be addressing your 'challenge': >>> >>>https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 >>> >>> >>>RL >> >>Interesting, but that's not what I want to do. > >Not sure I see it. > >Do you want a visual display similar to a bar spectrun analyser >output?
I've explained it. X-axis is node number. Y axis is voltage on each of those nodes. Since node numbers are discrete, it would probably look stairstepped, like a DAC output. -- Father Brown's figure remained quite dark and still; but in that instant he had lost his head. His head was always most valuable when he had lost it.
On Friday, August 20, 2021 at 9:57:08 PM UTC, gnuarm.del...@gmail.com wrote:
> On Friday, August 20, 2021 at 1:16:09 PM UTC-4, Rich S wrote: > > On Thursday, August 19, 2021 at 11:08:23 PM UTC, John Larkin wrote: > > > Suppose I have a circuit with 20 nodes, N1 ... N20. > > > > > > I want to plot the node voltages, left to right on the screen. > > > > > > Any ideas? > > > > > > Clumsy ways: > > > > > > Build an analog mux and clock it with a counter, plot with time as > > > x-axis > > > > > > Push a pulse into a tapped transmission line to sequence a bunch of > > > switches > > > > > > Export a file and do it in a separate program > > Hello John, > > So the issue is LTSpice won't plot that many (n=20) in one graph? > > Sorry, I use MicroCap, not LTSPice. > > Plotting 20 nodes is no sweat in MicroCap. > > > > Or, you want 20 separate plots, each in its own window? That, I can't do either. > > > > In any case, I would export* the data & graph it in Excel. > > > > *In MicroCap: > > Run Transient Analysis (Alt-1). > > F10 > Numeric Output > Check All, Data Points=Actual, "OK" > > Re-run Transient Analysis (F2), see Numeric Output (F5) > He wants the equivalent of a bar graph, 20 values on a single signal. > > Using 20 frequency sources each could be multiplied by the related signal to be displayed and the outputs combined to produce 20 peaks in a spectral output. A bit messier than a signal with DC levels, but not horribly so. > > -- > > Rick C. > > + Get 1,000 miles of free Supercharging > + Tesla referral code - https://ts.la/richard11209
Ah, maybe... Is this it? I took 20 sample-and-holds. Each 'sample' pin driven by its own timed pulse. The 20 pulses are a time series, generated by a stimulus generator (actually 3 16-bit generators, just using the first 20 of 48 outputs). I setup the stimulus pattern to toggle each 's' node ('sample') every 1us, followed by 1us logic-low , then 1us 'reset', 1us of logic-low, etc. The work was a bit tedious but not too bad. https://drive.google.com/file/d/1H7QancjrA3HlFv0unvj29Pi_hrJpro_0/view?usp=sharing https://drive.google.com/file/d/1ybstHRkP7QFSW5XvB-aKy9-ISkuox6lk/view?usp=sharing https://drive.google.com/file/d/1BNvojDJCQXBGBVezQLQpIZBLYnsmpbr-/view?usp=sharing https://drive.google.com/file/d/1pGHaOsOQ1QXrmbd_vcd33n0UtIkweHoS/view?usp=sharing
On Saturday, August 21, 2021 at 5:10:03 PM UTC-4, Rich S wrote:
> On Friday, August 20, 2021 at 9:57:08 PM UTC, gnuarm.del...@gmail.com wrote: > > On Friday, August 20, 2021 at 1:16:09 PM UTC-4, Rich S wrote: > > > On Thursday, August 19, 2021 at 11:08:23 PM UTC, John Larkin wrote: > > > > Suppose I have a circuit with 20 nodes, N1 ... N20. > > > > > > > > I want to plot the node voltages, left to right on the screen. > > > > > > > > Any ideas? > > > > > > > > Clumsy ways: > > > > > > > > Build an analog mux and clock it with a counter, plot with time as > > > > x-axis > > > > > > > > Push a pulse into a tapped transmission line to sequence a bunch of > > > > switches > > > > > > > > Export a file and do it in a separate program > > > Hello John, > > > So the issue is LTSpice won't plot that many (n=20) in one graph? > > > Sorry, I use MicroCap, not LTSPice. > > > Plotting 20 nodes is no sweat in MicroCap. > > > > > > Or, you want 20 separate plots, each in its own window? That, I can't do either. > > > > > > In any case, I would export* the data & graph it in Excel. > > > > > > *In MicroCap: > > > Run Transient Analysis (Alt-1). > > > F10 > Numeric Output > Check All, Data Points=Actual, "OK" > > > Re-run Transient Analysis (F2), see Numeric Output (F5) > > He wants the equivalent of a bar graph, 20 values on a single signal. > > > > Using 20 frequency sources each could be multiplied by the related signal to be displayed and the outputs combined to produce 20 peaks in a spectral output. A bit messier than a signal with DC levels, but not horribly so. > > > > -- > > > > Rick C. > > > > + Get 1,000 miles of free Supercharging > > + Tesla referral code - https://ts.la/richard11209 > Ah, maybe... Is this it? > I took 20 sample-and-holds. Each 'sample' pin driven by its own timed pulse. > The 20 pulses are a time series, generated by a stimulus generator (actually 3 16-bit generators, > just using the first 20 of 48 outputs). I setup the stimulus pattern to toggle each 's' node > ('sample') every 1us, followed by 1us logic-low , then 1us 'reset', 1us of logic-low, etc. > The work was a bit tedious but not too bad. > https://drive.google.com/file/d/1H7QancjrA3HlFv0unvj29Pi_hrJpro_0/view?usp=sharing > https://drive.google.com/file/d/1ybstHRkP7QFSW5XvB-aKy9-ISkuox6lk/view?usp=sharing > https://drive.google.com/file/d/1BNvojDJCQXBGBVezQLQpIZBLYnsmpbr-/view?usp=sharing > https://drive.google.com/file/d/1pGHaOsOQ1QXrmbd_vcd33n0UtIkweHoS/view?usp=sharing
I'll let you whitewash this fence if you give me your apple! "Work consists of whatever a body is obliged to do, and that Play consists of whatever a body is not obliged to do". -- Rick C. -- Get 1,000 miles of free Supercharging -- Tesla referral code - https://ts.la/richard11209