Revision List
Summary of major changes and bug fixes
================
5Spice version 1.40, March 10, 2008
NEW FEATURES
Network licensing option, concurrent user model
5Spice file locations changed in Vista and XP starting with v1.30. Add main menu TOOLS entry that lists the file and Library locations for your computer.
"Power"
(interconnect) schematic symbol
allow full range
of characters for the symbol's name that appears in the schematic
Single Frequency FM waveform in Transient analysis
Add comparator with input hysteresis to digital logic gates
Ability to plot relative phase difference between signals at two TestPoints
Transferring the
program's registration
Add a simpler
method for users to transfer the registration when re-installing
Windows or moving to a new computer. See "transfer the
registration" under main menu HELP.
Warn user when they select a modern MOSFET model for IC design that it may not be implemented or may need correct LEVEL and VERSION set.
BUG FIXES
Transmission line
In AC analysis the
phase would be wrong if the line length was not equal to one and no
resistance per length was specified.
numbers using
comma separator (number written as 1,23)
fixed bugs when
these numbers were used with internal Transformer and OpAmp models.
diagonal lines in
graph with 4 plots
fixed bug that
occured with 4 TestPoints that have long names
fix bug that caused errors if running two copies of the program and simulating in both copies. Still can't have both simulations run simultaneously.
detect Zetex power MOSFETs properly that were not showing in selection lists.
fix bug that hid error reporting of problems in individual Library .Models
fix text spacing when schematic text is written in vertical orientation
fix bug that prevented program closing if 5Spice.ini file was missing
fix bug that caused "not a number" error message in .MODEL if IS={parameter}. There was no problem in the usual case where IS = a number.
ignore .HTM and .HTML files in Library (Spice cannot parse these files)
================
5Spice version 1.30, May 30, 2007
first Vista compatible release
NEW FEATURES in VISTA & XP
v1.30 installs using different directories than previous versions of the program. If an older version is installed, this install relocates existing 5Spice files and the Library to their new locations.
Vista: We strongly recommend you move any files you created that Vista has hidden in
drive:\Users\{UserName}\AppData\Local\VirtualStore\Program Files\5Spice Analysis\
and put them in your Documents folder
drive:\Users\{UserName}\Documents\5Spice Analysis
5Spice has a more modern look in XP and Vista than before.
You can run this version as an ordinary user in Vista and XP.
All users on the computer share a common Library and configuration file.NEW FEATURES
Help
more content, much larger table of contents and index, works in VistaTransformer with saturating core added. can also use as saturating inductor.
demo schematics and models from C. Basso's new book (published January 2008)
Switch-Mode Power Supplies: SPICE Simulations and Practical Designs.
progress indicator during simulation, wait message while loading graph data.
wait times to load model lists
wait times are improved for large (>2000) discrete model Libraries, hour glass cursor shows while waiting.Help Convergence checkboxes renamed for clarity.
The Add Shunts convergence helper is no longer automatic.
The user now selects it manually. Also fixed a WinSpice bug that caused the "time step too small" error at the start of Transient analysis for some circuits when shunts were added.power MOSFETs
detect MOSFET subcircuits that model single device using both P and N MOSFETs and add to Library index.allow lower case "k" for Kilo as well as "K" when entering numbers: 33k or 33K
schematic block copy operation
now re-numbers copied components if auto-numbering is enabled.allow .MODELS to use subcircuit parameters to set model parameters
change number of horizontal divisions in DC graphs from 13 to 10 maximum.
Maxim and Linear Tech sections of Library updated.
BUG FIXES
autoscale of graph's horizontal axis re-written for more intuitve use plus bug fixes.
in countries where numbers are written 1,23
graph's combined plot: negative values would give "not recognized" error.
subcircuit parameter value: entering number with a comma caused error.numbers written as 3k7
are not read correctly by Spice but user did not receive error message. added error message.PWL waveform not working in FFT analysis.
a schematic saved with a block selected would lock up when reloaded.
entering invalid registration code caused error message: ** Notp
VSwitch, ISwitch
not using PSpice default parameter values if model call didn't specify a value. ISwitch in subcircuit - not using Ion and Ioff parameter values.using multiple sources in an Analysis
when switching to another Analysis and then back, only one source remained selected."M" in subcircuit parameter values
users were instructed to use M for 1E6 when entering subcircuit parameter values while editing a schematic symbol but program used 1E-3. now uses 1E6.drawing a wire from end of a component pin
back under the pin caused error message about multiple pins. drawing wire like this now works.power MOSFETs
fix bug where IS=0 (HSpice syntax) caused simulation engine to crash.
fix error message using 3 node MOSFET subcircuit with 3 terminal small signal MOSFET schematic symbol.WinSpice bugs
fix error where both WinSpice and 5Spice would stop processing multiple continuation lines in rare cases.
fix WinSpice crash when unusual values are entered for diode parameters.
fix incorrect evaluation of certain less common forms of POLY statement.
================
5Spice version 1.22, September 27, 2005
(maintenance release)
warn user when Spice adds shunt resistors to achieve DC bias convergence.
clarify pin order for adding pin names to Opamp subcircuit symbol.
fix bug after adding pin names to OpAmp subcircuit symbol - sometimes symbol would not connect to circuit properly.
================
5Spice version 1.21, September 4, 2005
(maintenance release for v1.20)
overseas users: fix v1.20 bugs for users in countries where numbers are written as 1,23 (not 1.23)
logic gates, v1.20
Risetime and one-shot Pulsewidth setting were not applied during FFT. fixed.
convergence help checkbox
================
5Spice version 1.20, September 1, 2005
NEW FEATURES
FFT analysis, demo schematic using FFT
four input NonLinear Source
One-shot and D Flip-Flop
built-in logic gates
- now available in unregistered version. schematic can't be saved.
- global setting of logic high level, logic threshold and risetime
- when using large Transient time step values, logic internal time constants
- track time step value for faster simulation and reliable clocking.auto-numbering of components as they are added to schematic. can be turned off.
schematic symbols linked to subcircuits/models
- option to hide the library file namesquarewave SignalSource
- option to start squarewave from zero voltsgraphs
- user can change the scale of the horizontal axis after graph is createdgraph of phase
- option to have phase range from 0-360 degrees (default is from -180 to +180 degrees)Library rebuild error report contains more detail on errors in subcircuits
Running under Win2000 and XP: remove length limitation on schematic Notes page and SignalSource's PWL datapoint list.
allow setting GMIN to smaller value = 1E-14
BUGS / IMPROVEMENTS
graph of noise - now works with sweeping a component value or temperature
new install program
schematic Notes
and SignalSource's PWL list
- under
Win2000 and XP, if user entered more than 64K of text, then saved the
schematic file, file would fail during loading when re-opened.
wrong phase
reported in ac analysis
- when
imaginary part equaled exactly 0 and real part=negative value,
program reported phase=0 instead of -180 degrees.
wire terminated with only a junction was not reported as un-connected - simulation would run with this wiring error.
deleting a schematic part that has error circles at its pins and then performing 10 or more deletes could cause repeating error message. fixed.
MOSFET symbol linked to subcircuit - simulation would fail if user did not specify at least one geometry parameter.
some very old Burr-Brown (now Analog Devices) subcircuit files are still in DOS format. 5Spice included DOS file termination character when it submitted subcircuit to WinSpice. WinSpice would halt while reading circuit description.
Distortion analysis
- changed
from first to third order interpolation of data onto time grid for
more consistant results at distortion levels less then 1%.
- if
transient data was all zero's, math would fail with error msg and
program would misbehave.
- if user
entered 0 for stabilization time, would get error msg.
Project Wizard
selecting Added
Resistances checkboxes caused GMIN and PIVTOL to be mistakenly set to
their overriden values, not their calculated values. Did not affect
simulation but was confusing to the user.
double clicking a graph in a separate window would bring up the rescale axis dialog for the main graph.
.PARAM line
program would
label as error a line where second parameter uses the first in its definition:
.PARAM
Rwidth=10K Cwidth=PulseWidth/Rwidth
syntax errors in
manufacturers' subcircuits
- large LTC
model file sometimes uses .END instead of .ENDS
accept error
- rare: if
subcircuit is missing .ENDS entirely, does not appear in program's
Library index or error report. Fix and accept if file has only one
subcircuit, otherwise report error.
-
International Rectifier and some others violate PSpice syntax by not
including the equals sign in "VALUE={ }" syntax.
accept syntax error
- LTC model
file - some .Model lines for PSpice's VSwitch use brackets [ ]
instead of parentheses ( ). accept syntax error
================
5Spice version 1.11. February 4, 2005 (maintenance release)
added demo schematics for power dissipation
BUGS / IMPROVEMENTS
swept/stepped
component value
when data appeared
in a table the swept value was not displayed correctly after the
first step. fixed.
calculated Plot
and the Pac (power) operator
fix Pac not
calculating power correctly in analyses other than AC. change
operator name from Pac to Pwr
component
parameter TestPoint
we had blocked
selecting the power parameter in v1.10 due to last minute bug.
further investigation shows Spice reports power OK except in AC
analysis. Spice source code notes that other parameters may also be
reported incorrectly in AC analysis.
1. allow use of
power parameter
2. prevent use of
the parameter TestPoint in AC analysis
Also fixed access
violation error when user edits TestPoint and then presses OK to
close but has not selected a parameter.
TestPoints selected to appear in DC analysis data tables were not being checked for valid TestPoint names.
================
5Spice version 1.10 December 28, 2004
NEW FEATURES
AC Sensitivity analysis (for registered users)
new TestPoint shows device power, junction capacitance and small signal parameters (for registered users)
allow graph Plot to be calculated from data of two TestPoints
add Potentiometer component - wiper position can be swept in analysis.
analysis Temperature displayed on status line below schematic
allow generic subcircuit symbol's parameter fields to be positioned relative to symbol body
Duplicate and missing reference numbers - highlight in the schematic so easy to find
option to save visible portion of schematic to .EMF image file
swept component/temperature values in Graph:
Distortion graph - add background to identify "circuit stabilization time" portion of waveform
Graph plot linestyle and color - add button to save user choices as the program default settings
C size printing - add alignment marks for joining the two sheets of paper.
Component tolerance - display with % sign in schematic.
external subcircuits - allow math functions in expressions
BUGS / IMPROVEMENTS
Fix drawing problems in user interface on newer displays with very high resolution on small screen. Occured when Window's display is set for "Large Fonts".
Printing bug - occasionally schematic printed as double image. In Japan no schematic printing. Fixed.
endless Errors on Schematic Load - a SignalSource rotated 90 in the schematic would cause endless errors when file was reloaded. Fixed.
better error handling when trying to load a schematic from a newer version of 5Spice.
SignalSource with PWL waveform
fixed bug limiting length of PWL list to 255 characters
fixed bug where after user defines a PWL waveform, schematic symbol still says "Piecewise undefined".
DC analysis, table of results - allow user to select which TestPoints are displayed in table
MOSFET symbol linked to subcircuit - fix to pass geometry parameters to subcircuit
graph AC magnitude in dB, fix for log(0)
log(0) is
undefined (-infinity), graph was showing 0.
Fix: display -999
for log(0) and also if signal < 0
parsing multiple expressions in a line - only first expression was handled correctly.
mosfet call
example: W={PW} L={PL}
"L" was
flagged as "name not recognized". fixed.
graph label overlap with log frequency scale fixed.
graph XY readout with log frequency scale - the Y value interpolation between datapoints was wrong. fixed.
================
5Spice version 1.02 June 02, 2004
NEW FEATURES
export data from graph/table to file for import into other programs. requires program registration
added tool to scan for .models missing parameters that can cause the Transient "timestep too small" error/failure in certain cases
BUGS / IMPROVEMENTS
expanded Help for "timestep too small" error
revise IdealDiode.lib library file for more realistic voltage drops
allow user to turn off MOSFET model and file names in schematic
swept/stepped component or temperature value - increase max number of steps to 10
reverse initial placement orientation of diodes (except zener)
================
5Spice version 1.01 May 07, 2004
NEW FEATURES
shortcut CRTL+P for Print
shortcut CTRL+S for SaveAll files
ability to show graphs in a separate windows. allows visual comparison. graphs can be from same or different schematics.
IGBT, SCR and TRIAC schematic symbols
center tapped and three winding transformer symbols
support for .PARAM statements in subcircuits (note: trying to set Spice global parameters like GMIN with .PARAM statement inside a subcircuit is flagged as an error.)
switch mode power supply models by C. Basso now supported in both PSpice and Intusoft versions. note: program registration required to pass parameter values from schematic to subcircuits
made it easier for registered user to transfer program registration to another computer that can be recognized as belonging to them.
BUGS / IMPROVEMENTS
Arithmetic Overflow crash for WinSpice
Simulating a circuit that used subcircuit containing a PSpice controlled switch model with particular model parameters could occasionally crash WinSpice with "arithmetic overflow" error. Could depend on changes in the schematic. Problem fixed in 5Spice.
Rebuilding the Library
One subcircuit file reported with a unusual typographical error that caused 5Spice to crash with Stack Overflow error. Fixed for all typos.
B source line using named constant (e,pi,boltz,echarge) was marked as having error. Fixed.
Error reporting file: wrong line number reported for call to missing subcircuit or model. Fixed.
When checking for errors, program now distinguishes between calls to a subcircuit and a model in the same file that have the same name.
Calls to transistor models were marked as having error if the Area or Temperature parameter was used and there were spaces between it and the equals sign. Fixed.
AREA=1.0 worked AREA = 1.0 was reported as error
PSpice syntax translation
"VALUE= { }" syntax that used parameters passed to the subcircuit was not translated correctly to Spice3 syntax. Subcircuit would have error reported when simulation was run. Fixed.
example: Rin is a parameter
E 1 2 VALUE = {1 + Rin}
NonLinear Source (Fxy) formula syntax checking
The constant "echarge" was only accepted in the formula if mis-spelled "echarg".
================
5Spice version 1.00 December 17, 2003
NOTE: Trial period for commercial use is now 30 days.
NEW FEATURES
DC Sensitivity analysis (results displayed only for registered users)
differential Testpoint added
save image of graph as .BMP or .EMF file
Backwards Euler integration method for Transient and Distortion analysis
convergence option which fixes "timestep too small" error in some circuits
basic syntax checking of the NonLinear Source's formula
rebuilding the Library generates a report file (*.rpt) of problems. the expanded error descriptions are useful if more details are needed about a problem in a subcircuit.
handle common Intersil subcircuit syntax
TIME and TEMP (temperature) available in subcircuits and NonLinear Source formula
Unregistered Programs no longer access
Noise and Distortion analysis
digital logic parts
BUGS / IMPROVEMENTS
Help - numerous improvements
Subcircuit Syntax
TEMP global variable available for B source, E and G sources with VALUE=
TIME global works in same places except in DC, Noise and Senstivity analysis. user notified with message in those analyses.
can now use IF-THEN syntax in expressions for component values
bug fixed with F source and POLY syntax that caused simulation failure.
bug fixed where function names common to Spice3 and PSpice syntax were causing subcircuit to be marked as containing error when used in PSpice VALUE syntax.
PWR,PWRS(-3, 6) when base had unary minus sign, was not being translated correctly into Spice3. fixed.
Intersil subcircuits
now handles POLY syntax where dimension is not enclosed in ( )
now handles numbers with leading + as in +1E-07
Graph divide by zero error, AC analysis, plot of Phase
if the real part of a simulation data point is zero, got a divide by zero error (even though the same code worked last spring). fixed
Schematic cut and paste bug fixed
if popup menu used to cut or copy and then shortcut keys used to cut or copy, program would refuse to cut or copy or selection might jump to wrong part.
Simulation Engine Error reporting
fixed situation where the last in a series of errors were reported. Generally the later errors are caused by the earlier. Now report the first error.
TestPoint with no connection
fixed bug where disconnecting a Testpoint used in a graph plot caused an unrelated error. now correct error message.
Group Delay
bug fixed where value jumped as phase moved through 180 degrees
SubCircuit list display
bug when user un-checked the "show only matching subcircuits" box and selected a subcircuit not visible before. the program would not remember this the next time schematic was loaded. caused a "subcircuit not found" error. fixed.
Transmission Line (LTRA model) in subcircuit
program was marking subcircuit as having error. fixed.
AC Analysis Graph setup
Radians checkbox now available only if "Phase" is selected for the plot
Library Index building now ignores files with extension .BAK
================
5Spice version 0.99.9 Jun 25, 2003 (first formal release of 5Spice)
NEW FEATURES
simple, generic logic functions (gates) added.
support for passing parameters from a schematic symbol to its subcircuit added for registered users.
autocompletion while drawing wires is faster. See Options to use old way.
new transformer model added
transmission line added
group delay plot available in AC graphs
BUGS / IMPROVEMENTS
*INTERNATIONAL Users
Fixed serious bug in version 0.99 for countries where Windows uses the comma " , " as the decimal separator in numbers: 1,23 (Germany, etc.). Bug causes diodes, transistors, FETs to behave as if there is a 1K resistor between each pair of terminals.
Registered WinSpice Users
fixed bug that caused program lockup with temporary key issued to registered WinSpice users who then registered 5Spice 0.99.
Conflicts in Model/Subcircuit Names
Fixed bug where two models or subcircuits could be confused if they have the same name and same file name and the files are located in different directories or the files have different extensions.
NetLink can't connect wire to
fixed bug where you could not attatch a wire to a NetLink after reloading the schematic.
RiseTimes for Pulse, Exp, Squarewave waveforms (Transient analysis)
1. Spice allows users to leave risetime entries blank. Then the risetime Spice uses equals the TimeStep. If you also leave the Timestep entry blank, it then varies with the transient runtime - and so does the risetime! Endless confusion since no one remembers this while debugging a circuit.
Fix: For squarewave with no risetime specified, 5Spice now uses a risetime equal to 1/100 of the period. For pulse and exponential wavefroms, the user must enter the risetimes.
2. if squarewave risetime is set to exactly 50% of period, the waveform distorts. Fix: limit maximum risetime to 0.499 of period.
AC Phase - no signal causes error msg
Fixed bug where a plot set for AC phase would give an error message if there was no signal (signal = 0).
B Source line in subcircuits
fixed bug where B source line was not always checked for syntax problems, did not always have units in formula removed if present.
PSpice Syntax: function PWRS, operator **
1. fixed bug where PWRS(base, exp) could return wrong sign if base < 0.
2. fixed bug where x**y was translated as x^y instead of correct abs(x)^y.
fixed bug where a unary minus in front of x**y returned negative number.
RECOMMEND not using ** as it does not behave as in a scientific calculator!
New Transformer model
model was merger of two commonly known models. Fix: users selects which of the two models to use and enters appropriate parameters.
Singular Matrix error
5Spice would sometimes report a singular matrix error when the simulation had recovered from this error and run sucessfully. Fixed.
Canceling the Analysis Setup/Edit dialog with the ESC key
when dialog was reopened, on rare occasions would show that something had been modified when nothing had actually been changed. Fixed.
AC Graphs - dB display
user could select dB display of real or imaginary parts of AC waveform. If the real or imag part went negative, the graph displayed the negative value rather than indicating an error (dB of a negative value is an error). Fix: dB display restricted to AC magnitude only.
================
5Spice version 0.99.0 (beta) March 25, 2003
* This is the first release that can accept the Registration code that is generated when you register the program!
* Users in non-English speaking countries:
Program now works properly in countries where Windows uses the comma as the decimal separator in numbers: 1,23 (Germany, etc.)
Program will not work where Windows shows a negative number as 12- or (12)
You may not use non-English characters in the program except in Notes or in the TEXT component and Title block in the schematic.
* significantly improved PSpice subcircuit syntax compatibility and bug fixes. finally at desired performance level. see Spice Compatibility in Help for details.
Subcircuits using the PSpice VSWITCH / ISWITCH model: the simulation engine was trying to model these as Spice3 switches. The PSpice model is very different. Effects: wrong results to simulation failure. Fix: implement the PSpice model.
Errors while dragging component in schematic
Drags that start and stop multiple times while turning the wiring into spaghetti no longer produce error messages.
Editing Subcircuit symbols in the schematic
A large library file causes a delay on slow computers. The cursor now changes to the hourglass to indicate the file is being loaded.
Graph Autoscale lockup
When autoscaling of axes is selected, graph would sometimes lock up if the datapoints were all the same value and this value was > 1e3. Fixed.
Noise Analysis Graph units
Input and output integrated noise are now both displayed in separate area of the graph. Integrated noise values were correct but previously the units were indicated as [volts per square root Hz]. The units have been corrected to Volts or Amps, as appropriate.
DC Analysis with Graph
Using engineering units for Signal Source's DC Start, Stop, Step values gives error. No error if output is a Table/List. Fixed.
Spice Models/Subcircuits - long names, long file names bug
Library file names or model/subcircuit names in the file exceeding about 13-14 characters were truncated. Problem: the model/file could not be found. The file name may now be any length. The model/subcircuit name may now be up to 32 characters in length.
Spice Models in Library files - unrecognized parameters
PSpice models can have parameters not defined in Spice3. These are skipped over and simulation proceeds. User is now warned at bottom of schematic when this happens.
Spice subcircuit in Library files - not copied correctly to WinSpice
if multiple subcircuits were nested inside another subcircuit and they did not have a empty line between the .ends line of the first and the .subckt line of the next, then they were not copied correctly to simulation engine. very rare situation. not found in Manufacturer's subcircuits. Fixed.
Linear Tech library file updated to 10/02/2002 version.
================
5Spice version 0.98.0 (beta) December 6, 2002
* much improved PSpice subcircuit compatibility (apologies for so many bugs)
* MOSFET - add entry of geometry parameters to schematic symbol.
add four terminal MOSFET symbol (substrate connection)
* Resistor,Capacitor - add entry of temperature coefficients to schematic symbol
* DC Analysis - can now graph results
* DC Bias and DC Analysis - much improved tabular display of data
* Simulation error messages - common ones now shown inside 5Spice
* OpAmp schematic symbol - node order numbers now hidden.
prevents confusing them with package pin numbers.
* NonLinear Source schematic symbol (user specifies formula)
number of bugs in parsing formula fixed
*Major Bug Fixes
Printing Graph
settings from wrong graph could be used in a few cases.
<> symbols printed oversize.
when printing as Black and White, Title and cursor remained colored.
Dragging component
case with two lines connecting two pins of a component could lock up program.
if user pressed "V" or "E" key while dragging, mouse cursor could not be moved outside program window.
Spice POLY syntax (Analog Devices, LinearTech subcircuits)
one style used with F and H sources would give wrong answer, no error.
RES,CAP, R,C model types not recognized (subcircuits)
Polarized Capacitor symbol
acts as if value = 0 in the simulation
Diode symbol with user selected parameters
if Isat is not changed from initial value "CUSTOM", simulation engine crashes
ReBuilding Library (new installations)
If library index file IndexSub.ndx doesn't exist AND user rebuilds library AND then exit program without editing a part, get series of error messages.
Subcircuit symbol with "?" at end of reference designator
if there is subcircuit related error during simulation, presence of "?" can prevent simulation engine from recovering from the error.
Transistors, FETs, Diodes and subcircuits
program was not allowing certain subcircuits to be assigned to these symbols
Switching between pages in the program (very confusing)
Clicking more than once on a page's Tab to select it could prevent the Schematic, Notes or Report page from becoming active and usable.
Adding component to schematic when schematic is zoomed
math overflow error
In Library list of model names, those starting with M or F did not show.
DC Bias Analysis
in some cases, not labeling testpoint in output data
All Analyses- sweep of Temperature
5Spice reports simulation failure but simulation engine runs properly
================
0.96.2
Graphing
fixed several problems when scale factor numbers approached 1e-9.
improved autoscaling
NonLinear (user specified formula) controlled Source
fixed bugs in schematic display of formula
fixed several serious bugs in handling formula for Spice engine
add Signum (Sgn) function and correct and expand Help coverage
bug: "m" not being accepted for "milli" suffix (1E-3) will be fixed in next release of WinSpice.
Communicating with WinSpice v1.04
Symptom: WinSpice starts but no simulation/communication.
Fix: modified program to detect correct window on machines where WinSpice has more than single window.
================
0.96.0
fix bug that prevented running under WIN2000 or XP unless user was logged in at the Administrator level
================
0.95.5
Astable, Bistable demo schematics
add missing transistor to library for these schematics
Nonlinear (user defined) controlled Source
simulation engine locked up if {} used in formula. prevent user from entering.
warn user not to use units (V,A, etc.) in formula.
using Logical Operators in formula
add info to Help
WinSpice 1.04 has bug, fails if formula contains engineering units "m" or "M"
================
0.95.4 initial beta release