Activity for Dietmar Warning

  • Dietmar Warning Dietmar Warning committed [4cbadf] on ngspice-manuals

    correct order description for sffm source

  • Dietmar Warning Dietmar Warning committed [b1b9c0] on ngspice

    diode: correct charge reporting for soft recovery option

  • Dietmar Warning Dietmar Warning committed [6a912f] on ngspice

    fix reverse recovery model for pch vdmos

  • Dietmar Warning Dietmar Warning committed [e590b4] on ngspice

    vdmos with soft recovery body diode

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-users

    You ask about mismatch simulation? It is more or less a question how the PDK lib is organized. E.g. IHP OpenPDK allows to set mm_ok=0 on instance level for switching off the gauss functions of the subckt model. Don't know how you can put this parameter into symbols properties fields.

  • Dietmar Warning Dietmar Warning committed [403836] on ngspice-manuals

    Exchange order of FC and FM parameter for SFFM source - bug #832

  • Dietmar Warning Dietmar Warning committed [39057a] on ngspice-manuals

    add diode reverse recovery description

  • Dietmar Warning Dietmar Warning committed [f7ef88] on ngspice

    Diode soft recovery model based on the idea of A. Buermen with iterated charge node for diffusion charge and model parameter Vp.

  • Dietmar Warning Dietmar Warning committed [08947e] on ngspice

    reduce state vector and some cleanings

  • Dietmar Warning Dietmar Warning committed [2fae71] on ngspice

    correct authorship

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-users

    ngspice version? OS? Can you please post the 2 transistor netlist here in. For me it looks the message is from KiCAD and not from ngspice.

  • Dietmar Warning Dietmar Warning posted a comment on discussion Help

    OK - this is a more complicated case. It is not easy for us what is broken and what is correct. Would be easier to break down to a more simpler test case. Please provide this test case. If I make listing runnable of both circuit files I get only the difference shown in the picture. It looks crazy that this difference makes this large result difference. I see that the both result files are very different simulated in the IHP environment. Using the models from VA-Models the difference is smaller and...

  • Dietmar Warning Dietmar Warning committed [a61fee] on ngspice

    diode fix current reporting for soft recovery model

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-users

    You hijack existing thread for different questions - this is not allowed. And your question has nothing to do with ngspice executable, build and run behavior. How you organize your environment with PATH'es, virtual machines and environments , notebooks or whatever depends from you alone.

  • Dietmar Warning Dietmar Warning committed [0937dd] on ngspice

    Diode soft recovery model based on the idea of A. Buermen with iterated charge node for diffusion charge and model parameter Vp

  • Dietmar Warning Dietmar Warning modified a comment on ticket #835

    I see on other computer that my reset and push --force has not brought the result even it was shown as successful. May be we can change it by cherry pick from pre-master to master. Normally the contributors work with own branches and make merge request's. That would be more safe and comfortable.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #835

    I see on other computer that my reset and push --force has not brought the result even it was shown as successful. May be we can change it by cherry pick from pre-master to master. Normally the contributors work with own branches and make PR. That would be more safe and comfortable.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #835

    Please generate an new patch next time from pre-master-46. I just resetted.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #835

    No, I tried git apply and git am but both failed for unknown reasons. Perhaps a crossing with my commits the patch was not synchronize. I will try to revert or editing the commit.

  • Dietmar Warning Dietmar Warning committed [a31ac5] on ngspice

    make fft scaling independent from rounding behaviour for odd data

  • Dietmar Warning Dietmar Warning committed [b522bc] on ngspice

    correct Nyquist bin scaling for Green branch

  • Dietmar Warning Dietmar Warning committed [5458f1] on ngspice

    Merge branch 'pre-master-46' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master-46

  • Dietmar Warning Dietmar Warning committed [ad44b4] on ngspice

    let nyquist bin not empty for odd vector

  • Dietmar Warning Dietmar Warning committed [a0dc0b] on ngspice

    Special Nyquist scaling only for even length

  • Dietmar Warning Dietmar Warning committed [6ae057] on ngspice

    revert commit 5e82b63

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    Wow - tran 50ms statement now brings 20Hz frequency steps! Under this requirement we can go further - if you like. Can you please provide a diff to branch gf_fft_scale. I will play it in and make my checks.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    I just provided a fix into pre-master-46 for fft command and fft vector operation of real input data for ngspice fftw3 enabled. Attached are the results of my compare of certain test cases with Xyce. (.cir Xyce input .sp ngspice input in zipfile). One remark: To be fair - Xyce was used with their low standard FFT point number 1024. So the noise floor is much higher in few examples as ngspice. It is clear that these small pictures can't show the match of results, but anybody can make a side-by-side...

  • Dietmar Warning Dietmar Warning committed [d2b1ec] on ngspice

    correct fft scaling at Nyquist freq. in fft cmd and vector operation

  • Dietmar Warning Dietmar Warning committed [5e82b6] on ngspice

    adapt FFT point number for real input vectors in fft cmd and vector operation wrt. bug #829

  • Dietmar Warning Dietmar Warning created ticket #832

    SFFM parameter order not correct

  • Dietmar Warning Dietmar Warning posted a comment on ticket #831

    I hope you have a title line!

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    Great theatre here! Maybe the attached files help us better to understand each other. It is a more practicable example with realistic devices where the design engineer took a simulation time w/o to much think about fft constraints. exam4.cir - Xyce input file exam4.sp - ngspice input file exam4_gf.dat - ngspice gf_fft_scale output file exam4_ngspice.dat - ngspice pre-master-46 output file exam4_xyce.fft0 - Xyce output file exam4.lis - comm. sim. output file FFT results are comparable at 1kHz and...

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    But you see also over one week that the signal is not at correct frequency. We have 40kHz and you show it at 39.96kHz.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    I sent you a message. I have one ngspice.exe build from pre-release-46 and one builded from gf_fft_scale. I using for simulation compare same fft2.sp which I attached above. output pre-release-46: No. of Data Rows : 10005 FFT: Time span: 0.0001 s, input length: 1001 FFT: Frequency resolution: 10000 Hz, output length: 501 FFT: Time span: 0.0001 s, input length: 1001 FFT: Frequency resolution: 10000 Hz, output length: 501 e.g. 40kHz signal is exact on 40kHz output from gf_fft_scale: No. of Data Rows...

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    No, no - one input file and two executables. Try it by your own. No fiddling around with tran statement. See the zoomed signal v(4) from intermod.sp. If you see circles - we can stop the discussion.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    The attached examples give correct frequency bins with the actual ngspice pre-master compared to commercial tool. But the modified branch gf_fft_scale shows not correct scaling. A tiny amplitude error exist perhaps by wrong dividing with point count.

  • Dietmar Warning Dietmar Warning modified a comment on ticket #829

    I tried the example above with the other simulator w/o additional 42 points * Compute FFT of two-frequency tone V1 out x DC 0 SIN(0 1 1000 0 0 90) V2 x 0 DC 0 SIN(0 1 2048 0 0 90) R1 out 0 1.0 .tran 0.000244140625 1.0 start=0m .option delmax=10u .fft v(out) np=4096 .END The listing is attached, magnitudes are the half only. Will try to understand by reading the manual. With the modified ngspice I get same results as you. EDIT: Setting a format option for fft to unnormalized then I got 1V and 2V ...

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    I tried the example above with the other simulator w/o additional 42 points * Compute FFT of two-frequency tone V1 out x DC 0 SIN(0 1 1000 0 0 90) V2 x 0 DC 0 SIN(0 1 2048 0 0 90) R1 out 0 1.0 .tran 0.000244140625 1.0 start=0m .option delmax=10u .fft v(out) np=4096 .END The listing is attached, magnitudes are the half only. Will try to understand by reading the manual. With the modified ngspice I get same results as you.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    After removing the 1.5 term (is since start of ngspice in linear.c) I got following: with nyquist_test: FFT: Time span: 0.016 s, input length: 800 FFT: Frequency resolution: 62.5 Hz, output length: 401 frequency[length(frequency)-1] = 2.500000e+04 frequency[400] = 2.500000e+04 mag(signal)[400] = 2.000000e+00 With fft2 updated and tend=1 No. of Data Rows : 4104 FFT: Time span: 1 s, input length: 4096 FFT: Frequency resolution: 1 Hz, output length: 2049 frequency[length(frequency)-1] = 2.048000e+03...

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    I created a new branch "gf_fft_scale" with the applied patches. First tests are done. BTW - our linearize cmd has a problem on both ends as to see in the modified test file.

  • Dietmar Warning Dietmar Warning committed [561030] on ngspice

    Fix nyquist bin normalization

  • Dietmar Warning Dietmar Warning committed [ce3f3c] on ngspice

    Fix FFT normalization

  • Dietmar Warning Dietmar Warning committed [053363] on ngspice

    Fix freq bins in fft

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    Sorry - I have not the time at the moment to dig deeper into this issue. My proposal: Open an development branch and implement the correct algorithm for fft/linearize. But be aware fft is used on different places, as fft / psd cmd and for vector operation. And in the end restore operation with ifft should give the original signal back. I would not say reference simulator but LTSPICE is a good choice for comparing.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    Listing files attachment.

  • Dietmar Warning Dietmar Warning modified a comment on ticket #829

    I am afraid that I can't help here. You may right, but from users perspective he want see a spectrum at 1kHz if the signal is 1kHz w/o any tran parameter acrobatic. I made a check with a very popular non-opensource simulator with this netlist: FFT test V1 out 0 DC 0 SIN(0 1 1000 0 0 90) R1 out 0 1.0 .tran 0.000244140625 0.124755859375 0m 0.000244140625 .END and got the attached rms signal. Then I made an test with a roughly 70k$/y simulator with following netlist: FFT test V1 out 0 DC 0 SIN(0 1 1000...

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    I am afraid that I can't help here. You may right, but from users perspective he want see a spectrum at 1kHz if the signal is 1kHz w/o any tran parameter acrobatic. I made a check with a very popular non-opensource simulator with this netlist: FFT test V1 out 0 DC 0 SIN(0 1 1000 0 0 90) R1 out 0 1.0 .tran 0.000244140625 0.124755859375 0m 0.000244140625 .END and got the attached rms signal.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    I think the problem is more complex to solve it with the proposed fix. I used fftw3 enabled. The first picture show the plot with actual git code and the provided test case (4ms). The second is the modified code in com_fft. The signal landed in wrong bin. Both results show an amplitude error because dividing by wrong sample count.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    Obviously the fft scale is buggy. We have to check this in different functions, not only in com_fft. BTW - one question to your proposal: span = time[length-1] - time[0]; if (length > 1) { span += time[1] - time[0]; } Why add the first interval instead using the last? span = time[length] - time[0];

  • Dietmar Warning Dietmar Warning posted a comment on ticket #829

    Thanks for testing this problem. But your proposal gives for the pathological case length=1 still a span of 0.

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-users

    Can't see the pictures. Former post was OK.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #826

    I think it has to be checked with gcc and msc++ too. And may be the originator of this library https://tesch1.gitlab.io/cppduals is a better address.

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-users

    Can you please provide an exported netlist from xschem. It would make the life easier.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #86

    The structure of your testbench is unusual and wrong: control section and swept voltage source inside subckt. Please break down your testcase to a much simpler spice netlist to demonstrate your problem. Schematics and PDF doc's will not help. Attached is a similar script for gm-Id plot. Perhaps it helps.

  • Dietmar Warning Dietmar Warning committed [2813a9] on ngspice

    Correct vgs assignment - bug found by K. OHara

  • Dietmar Warning Dietmar Warning posted a comment on ticket #121

    You meant vdmosconf.c. l.85 and this is done last year with commit 8c3d4d79. I will look regarding the bug in vgs equation. Thank you.

  • Dietmar Warning Dietmar Warning posted a comment on ticket #121

    In which line is the missing VDMOStype in vdmosload.c?

  • Dietmar Warning Dietmar Warning committed [660ca4] on ngspice

    remove redundant definition and unused variable

  • Dietmar Warning Dietmar Warning posted a comment on merge request #45

    Arpad, it is done as mentioned. Thanks

  • Dietmar Warning Dietmar Warning updated merge request #45

    Minor change that helps VADistiller

  • Dietmar Warning Dietmar Warning committed [56168b] on ngspice

    Minor change that helps VADistiller.

  • Dietmar Warning Dietmar Warning committed [e8016e] on ngspice

    convert to lower case for spice2 input and remove few warnings

  • Dietmar Warning Dietmar Warning committed [d239dd] on ngspice

    rm ngnutmeg from build list of old apps

  • Dietmar Warning Dietmar Warning posted a comment on merge request #45

    Hi Arpad, is it the only place to require new local variable? Or do we have this problem in other models too? I would prefer to rename cdeq to cdeqsw as local in this diode case.

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-devel

    OK - is a bit fuzzy, but it works. In the book (not in the paper) is a prefactor alfa before lteratio (ltetrtol) less one and time point spacing and integration method dependent. In the table on p. 188 stands lteratio between 3.5 (default) and 10 (conservative).

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-devel

    I made few trials under win11/VS22, but not any of this circuits works: examples\klu\Circuits\85\c7552\c7552.net examples/soi/ring51_40.sp example/vdmos/100W.sp examples/vbic/DFF_Y_ECL.sp Made few attempts with ltetrtol=default and 10. The simulation stops immediately with different errors. BTW: I have not the book available but in a public paper (attached) from Ken Kundert he said that the TRTOL from voltage based LTE formulae is equivalent to lteratio from spectre. And in there manual I see values...

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-devel

    Regarding my post and the mentioned bug: Even the published curves Ids=f(Vgs,Vds=50V) are measured with pulsed equipment and so w/o selfheating it is possible to make temperature sweeps also with thermal switched ON models. VDMOS temperature test M1 D G 0 tj tc IRFP240 thermal VG G 0 4V VD D 0 50V .model IRFP240 VDMOS nchan + Vto=4 Kp=5.9 Lambda=.001 Theta=0.015 ksubthres=.27 + Rd=61m Rs=18m Rg=3 Rds=1e7 + Cgdmax=2.45n Cgdmin=10p a=0.3 Cgs=1.2n + Is=60p N=1.1 Rb=14m XTI=3 + Cjo=1.5n Vj=0.8 m=0.5...

  • Dietmar Warning Dietmar Warning committed [4cac27] on ngspice

    more realistic default values for case to ambient thermal resistance and device transconductances

  • Dietmar Warning Dietmar Warning committed [00803f] on ngspice

    Adapt VDMOS Vth temperature coefficient to usual notation with - for nch and + for pch.

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-devel

    Actual pre-master-46 show correct temperature dependency - see attachments. But it is not in line with my notation in my post before. |Vth| and gain goes down with rising temperature for both channel types. Because this seems a typical temperature dependency I would prefer to change this in next release. BTW - there is another bug in the model: switching on thermal model removes temperature dependency for temp sweep. Thought that I repaired this already.

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-devel

    If I remember right I followed at most the discussion DiY forum VDMOS. I think the work from Ian Hegglun is the best for VDMOS modelling and parametrization I know. So I used his library (ltspice focussed) for most test cases. In his library for devices of different manufacturers I see this rules: nch VtoTC negativ pch VtoTC positiv resistor coefficients positive Exponent for mobility (gain) of both types: negative means decreasing current wit increasing temperature In my experience the temperature...

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-devel

    Can confirm: The segfault is a subsequent fault in fft because tran is not successful. Tried to decrease the thermal resistances but no luck.

  • Dietmar Warning Dietmar Warning posted a comment on discussion ngspice-users

    Only an idea: You have v(fosc) in your write command and I assume it is a vector over the entire time duration. Try to separate these from your scalar results.

  • Dietmar Warning Dietmar Warning committed [d610fa] on ngspice

    Diode sensitivity analysis: Exclude few parameters and add level 3 geometry parameter.

  • Dietmar Warning Dietmar Warning committed [ee6cd9] on ngspice

    Fix the overlap in state vector for sensitivity states of diode and bjt model.

  • Dietmar Warning Dietmar Warning committed [e1afc5] on ngspice

    KLU bindings for separate sw diode only if sw resistor is given

  • Dietmar Warning Dietmar Warning committed [4f9fb4] on ngspice

    Diode model level=2 (Fowler-Nordheim) is not supported.

  • Dietmar Warning Dietmar Warning modified ticket #822

    diode discontinuity

  • Dietmar Warning Dietmar Warning posted a comment on ticket #822

    Problem fixed by commit c1acc44 in pre-master-46.

  • Dietmar Warning Dietmar Warning committed [c1acc4] on ngspice

    This fixed #822 diode discontinuity problem

  • Dietmar Warning Dietmar Warning created ticket #822

    diode discontinuity

  • Dietmar Warning Dietmar Warning committed [284d43] on ngspice

    Add optional switch for separate bottom and sidewall diode model - configuration is dependent from model parameter RSW

  • Dietmar Warning Dietmar Warning committed [7ce633] on ngspice-manuals

    add new separate diode model option

  • Dietmar Warning Dietmar Warning committed [70ab25] on ngspice

    reorder calculation sequence

  • Dietmar Warning Dietmar Warning posted a comment on merge request #44

    Merge request is applied into pre-master-46

  • Dietmar Warning Dietmar Warning updated merge request #44

    Fixed double temperature scaling.

  • Dietmar Warning Dietmar Warning posted a comment on merge request #43

    Merge request is applied into pre-master-46

  • Dietmar Warning Dietmar Warning updated merge request #43

    More VDMOS fixes

  • Dietmar Warning Dietmar Warning modified ticket #816

    Inconsistent behavior in VDMOS thermal model

  • Dietmar Warning Dietmar Warning posted a comment on ticket #816

    Latest vdmos commit fixed the problem.

  • Dietmar Warning Dietmar Warning committed [7f75f0] on ngspice

    general vdmos update

  • Dietmar Warning Dietmar Warning committed [3a5c91] on ngspice

    more reasonable branch name

  • Dietmar Warning Dietmar Warning committed [35fde0] on ngspice

    respect device temperature alternative to ckt temperature

  • Dietmar Warning Dietmar Warning committed [2eaedc] on ngspice

    Apply A. Buermen's fix for correct thermal capacitance Cthj store in state vector

  • Dietmar Warning Dietmar Warning posted a comment on merge request #44

    This is already done in branch dw_vdmos and will be supplied in one commit to pre-master-46.

  • Dietmar Warning Dietmar Warning committed [63b45a] on ngspice

    apply A. Buermen's patch for correct m scaling

  • Dietmar Warning Dietmar Warning committed [55e4f5] on ngspice

    VDMOS: apply m scaling fix for acld as well

  • Dietmar Warning Dietmar Warning posted a comment on merge request #41

    Thanks Arpad for the corrections of vdmos m scaling. Seems I missing the mentioned email. Please be aware my branch dw_vdmos with few corrections in the thermal model like threshold voltage and source resistance temp feedback.

  • Dietmar Warning Dietmar Warning updated merge request #41

    VDMOS scaling fixed

  • Dietmar Warning Dietmar Warning committed [80094d] on ngspice

    Fallback to optran not needed and

1 >
MongoDB Logo MongoDB