跳到正文
认知
返回认知精选
认知精选科技大约 10 小时前1
单一来源当前只有一个可用来源,尚未完成多源交叉核验

BetterSPICE:免费开源电路模拟器

一边画图一边运行的电路仿真器,需要数字时再调用 ngspice。免费。

单色标度,1 mV 到 1 kV±60 V 驱动,6 级,充电超过 240 V

BetterSPICE (Better SPICE) 是一款免费、开源的 SPICE 电路仿真器,专为那些希望在搭建电路前先看到其工作效果的工程师设计。编辑时导线会根据其电压变色,电流在元件中流动,微控制器则根据其真实的引脚电压运行您的程序。按下 F5,同一原理图即可进行完整的瞬态、交流或直流分析。

在浏览器中打开应用 下载 BetterSPICE 1.0.0

免费且开源,同样可用于工作。Windows、macOS、Linux 以及您的浏览器。版本 1.0.0,源代码在 GitHub 上。

信号通过

5,767 / 5,767

455 个测试电路,4,647 个信号对比 ngspice

厂商模型

160,807

来自 70 多家制造商,在桌面应用中

示例

1,000

可打开并运行的电路

应用

整个窗口

整个应用在一个窗口中,在浏览器里

左侧是元件,中间是运行的电路,右侧是您点击的元件,下方是示波器。点击图片可查看大图。

1元件和 160,807 个模型2运行的电路3检查器:选中的元件4示波器5每个元件都被测量

· 1元件和 160,807 个模型

· 2运行的电路

· 3检查器:选中的元件

· 5每个元件都被测量

一个 230 V AC 转 12 V 和 24 V 的电源,全部采用分立元件,通过光耦由微控制器闭环控制。变压器已选定:初级、偏置绕组和抽头次级。

免费,无需安装。在浏览器中打开,或安装桌面应用以获取完整的厂商库。

打开应用

01实时视图

实时仿真:画图时即运行

一旦电路拥有电源和接地,它就开始运行。编辑时,每个元件的伏特、安培和瓦特都会更新。

运行时更改数值,波形随之变化。电容保持其电压,电感保持其电流,因此不会重新启动。按键 1 到 4 设置速度,50 Hz 整流器和 1 MHz 转换器都能以您可以跟随的节奏运行。

导线使用从 1 mV 到 1 kV 的单色标度,因此相同的电压总是相同的颜色。随着电流增加,电流点会变成虚线。

−1 kV−1 V0 V1 V48 V1 kV

指向色条可查看该颜色的电压。电路中指向的导线会在其上标记。

大板子

100 个元件或更多的电路在其原生引擎上运行实时视图。在 578 个元件的板子上,速度约为 WebAssembly 的 1.4 倍,且帧完全一致。

元件分布

视图 > 公差带 会在电路运行时,用元件处于公差极限时的范围来着色每个示波器轨迹的范围。

当跟不上时

当电路对于您设置的时间轴来说太重时,工具栏会显示其实际运行速度。平衡和快速模式会保持时间轴在降低精度的状态下运行,并横幅显示发生了什么变化。

03分析

按下 F5 即可进行瞬态、交流、直流和噪声分析

Simulate 在你面前的原理图上运行精确分析。将最大步长保持在 Auto,它会从电路的源、边沿和时间常数中选择一个,并告诉你原因。

容差运行会根据容差(默认电阻 1%,电容 10%,电感 20%)变化每个元件,并根据你输入的极限报告良率以及每个元件的分布份额。诸如上升时间、过冲、建立、纹波和相位裕度等命名测量值会设定极限,并在每次运行后报告 PASS 或 FAIL。

09Import and share

Import KiCad, EasyEDA, LTspice, Altium, Multisim and SPICE netlists

KiCad 6 to 10, EasyEDA Pro, LTspice .asc, Altium (.SchDoc, multi-sheet .PrjPcb), Multisim (.ms11 to .ms14) and SPICE netlists come in through File > Import, or by dropping the file on the window, as a drawn schematic with wires and an Import report that lists every part as matched, approximated or not imported.

An LTspice schematic brings its parts, wiring, symbols and the SPICE models it names. On LTspice's 61 example schematics the imported connections match LTspice's own netlists, on 13 open-hardware Altium projects 2,528 pins match the boards' own nets, and on 237 real Multisim files 95.9 % of the parts are matched.

File > Share link puts the circuit into a web address. Whoever opens it sees the circuit running in a browser viewer with the scope and sliders, and nothing is uploaded. Export interactive HTML writes the viewer, the engine and the circuit into one file of about 6 MB. Or open the whole app in your browser at app.bspicesim.com.

File > Generate report writes one HTML page with the schematic, the parts against their ratings, every analysis you ran and the diagnostics.

1,000

example circuits. Press E.

categories, from a voltage divider to PLLs, motor drives and gate-level logic.

circuits that are usually built wrong, with the right way and the common mistake side by side.

regulators built on real vendor chips.

Live view against Simulate992 of 1,000examples identical to the last digit at Simulate's step, up to the stop time. The other 8 are named. Operating points against ngspice1 in 1011or closer on 95 % of 1,098 values. 603 of them are identical to the last bit. AC against ngspice6.3 µdBor closer on 95 % of 717 signals, and within 8.22 mdB on all of them. Transient against ngspice2 × 10−11median difference, as a fraction of the signal's range. 4,647 of 4,647 ngspice signals pass.

02Accuracy

Accuracy: checked against ngspice, signal by signal

bspice verify runs each test circuit through the BetterSPICE engine and through ngspice and compares them point by point. When the two disagree, the job is to find out which one is right.

Result of the 1.0.0 run, 28 November 2026

CheckPassed

Test circuits455 of 455PASS

Analyses858 of 858PASS

Signals, against ngspice4,647 of 4,647PASS

Signals, against a closed form or a datasheet window1,120 of 1,120PASS

Examples compared point by point238 of 238PASS

Live view against Simulate, same step992 of 1,000 identical

Simulate against ngspice, measured on 1.0.0

AnalysisSignalsMedian95 % withinLargest

Operating point, relative1,09801.3 × 10−122.1 ppm

DC sweep, relative8521.4 × 10−160.92 ppm25 ppm

AC magnitude7170 dB6.3 µdB8.22 mdB

AC phase7170°0.0000084°0.044°

Transient, of the signal's range8392.0 × 10−11327 ppm867 ppm

Both simulators at the suite's reltol of 1e-6, 455 test circuits, measured on 29 November 2026 (1.0.0). The transient row covers the 839 signals that are not flat. 85 signals with fast edges are compared by their charge between source corners (median 0, largest 270 ppm), and 19 cases where ngspice is wrong are bounded in the report. The suite's pass limits: 1e-6 or 1 µV for operating points, 10 mdB and 0.1° for AC, 0.1 % of the range for transients.

Live quality against a run at a 4x finer step

Live qualityLive stepMedian95 % within

Exact, the defaultThe circuit's own step, at most Simulate's0.6 ppm0.22 %

BalancedUp to a 200th of the timebase40 ppm0.53 %

Simulate, for comparisonIts default maximum step2.4 ppm0.30 %

Smooth node voltages on 118 example circuits, as a fraction of each signal's range, measured on 29 November 2026 (1.0.0). Halving the step cuts the error about four times. Balanced keeps the timebase at reduced accuracy and says so in a banner.

The live view matches Simulate, and Simulate matches ngspice

BetterSPICE has two engines on one core: the live view, which runs while you draw, and Simulate, the full transient, AC, DC and operating-point analysis. Both solve the circuit with modified nodal analysis and Newton iteration, using ngspice's device equations. At the same time step they give the same numbers: 992 of the 1,000 example circuits are identical to the last digit at Simulate's step. The other 8 are named in the test: 7 use the Gear method, which the live view runs as trapezoidal, and one result is too big to compare.

Every release is checked against ngspice on 455 test circuits. Operating points

Evidence

来源与证据

单一来源 · 1 个信源

当前仅有一个可用来源,尚未完成多源交叉核验。

发布时间
内容处理
AI 翻译 / 摘要,需结合原文核对
内容有误或来源失效?告诉我们

每天早上收到这 5 条

免注册,填邮箱即可;每封邮件都能一键退订。

提交即表示同意按隐私说明保存你的邮箱,只用于发送简报。

或用 RSS 订阅

AI 翻译、摘要和解读仅用于辅助判断;涉及重要决策时,请回到上方来源核实。