首页 > AI前沿 > BetterSPICE is a free, open-source SPICE circuit simulator

BetterSPICE is a free, open-source SPICE circuit simulator

Hacker News 2026-12-05 12:52 7 阅读 查看原文
05Part types 446 part types, drawn as they are in the app Every symbol here is the one BetterSPICE puts on the schematic, grouped the way the parts library groups them. Orange marks the pins. Where a part type has vendor models in the catalog, the tile gives the count. Passives36 part types Resistor Resistor array, 4 isolated Resistor array, 2 isolated Resistor array, 8 isolated Resistor network, 4 bussed Resistor network, 8 bussed PotentiometerLog (audio, A), Slide Trimmer potentiometer Rheostat Dual potentiometer CapacitorCeramic (MLCC), Film, Safety X, Safety Y Electrolytic capacitorTantalum, Polymer Supercapacitor Trimmer capacitor Feed-through capacitor InductorRF Power inductor Adjustable inductor Ferrite bead Common-mode choke Wire (length, gauge) Transformer Transformer, centre-tapped secondary Transformer, centre-tapped primary Transformer, two secondaries Flyback transformer, 3 winding Current transformer Transformer, windings and taps Flyback transformer Forward transformer, reset winding Push-pull transformer, centre-tapped Half-bridge transformer Full-bridge transformer Centre-tapped output Multi-output transformer Tapped inductor Sources29 part types DC voltage Sine voltage Pulse / PWM voltage Piecewise linear voltage Square wave voltage Function generator, square Function generator, sine Function generator, triangle Function generator, sawtooth Current generator, square Current generator, sine Current generator, triangle Current generator, sawtooth DC current Sine current VCVS (E) VCCS (G) CCVS (H) CCCS (F) BatteryLi-ion 3.7 V, LiFePO4 3.2 V, NiMH 1.2 V, Alkaline 1.5 V, Coin CR2032 3 V, Lead-acid 2 V/cell Solar cell Power flag Rail +5 V Rail +3.3 V Rail +12 V Rail -12 V Rail -5 V Ground Isolated ground Diodes and thyristors15 part types · 22,394 vendor models Rectifier diodeFast recovery8,333 vendor models (rectifier and signal) Signal diode Switching diode Dual diode, common cathode Dual diode, common anode Dual diode, series Dual diode, isolated Schottky diode3,439 vendor models Zener diode10,622 vendor models (with TVS and ESD) Varactor diode Bridge rectifier Current-regulating diode SCR (thyristor) TRIAC DIACSIDAC Transistors17 part types · 38,019 vendor models NPN transistor7,336 vendor models PNP transistor4,904 vendor models NPN Darlington Pre-biased NPN N-channel MOSFET19,919 vendor models P-channel MOSFET4,540 vendor models Power N-MOSFET with body diode Power P-MOSFET with body diode N-channel depletion MOSFET N-channel MOSFET, 4 pin GaN FET SiC MOSFET N-channel JFET1,320 vendor models (N and P) P-channel JFET IGBT ULN2003 Darlington array ULN2803 Darlington array Analog ICs17 part types · 7,097 vendor models Op-amp, ideal 3 pin Op-amp, 5 pin6,278 vendor models Op-amp, 8 pin with offset null Op-amp with shutdown Comparator487 vendor models Instrumentation amp, gain set by Rg Instrumentation amp, fixed gain Difference amp Current-sense amp, unidirectional Current-sense amp, bidirectional Current-sense amp, high side Analog multiplier OTA Voltage reference332 vendor models Shunt reference (TL431) Sample and hold Digital filter Power management47 part types · 1,992 vendor models LDO, fast block Buck, fast block Boost, fast block Buck-boost, fast block Charge pump, fast block Isolated DC/DC, fast block Reference, fast block LDO, fixed 3 pin1,992 vendor models (LDO and DC/DC) LDO, adjustable 3 pin LDO with enable LDO with enable and power-good Negative regulator (79xx) AMS1117 (SOT-223) LDO, adjustable 5 pin Buck converter, asyncAveraged (fast) model Buck converter, synchronous Boost converter (MT3608) Boost converter, synchronous PWM controller, voltage mode PWM controller, current mode Hysteretic controller Constant on-time controller Off-line buck Off-line flyback Quasi-resonant controller LLC controller PFC controller Gate driver, low side Gate driver, bootstrap Half-bridge driver Gate driver, isolated LED driverBuck, boost TP4056 charger MCP73831 charger Charge controllerCC/CV, float Battery protection IC Load switch eFuse Ideal diode High-side switch SupervisorReset, undervoltage, window UVLO block Soft-start Current limit DC/DC module Isolated DC/DC module AC/DC module Electromechanical36 part types Relay, SPDT Relay, SPST-NO Latching relay, single coil Relay, SPST-NC Relay, DPST-NO Relay, DPDT Relay, 4PDT Latching relay, single coil DPDT Latching relay, dual coil Latching relay, dual coil DPDT Reed relay Solid-state relay, DC Solid-state relay, AC PhotoMOS relay Switch Switch, SPDTToggle, slide Push button, NO Switch, SPST Switch, DPST Switch, DPDT Push button, NC Tactile switch, 4 pin DIP switch, 1 way DIP switch, 2 ways DIP switch, 3 ways DIP switch, 4 ways DIP switch, 5 ways DIP switch, 6 ways DIP switch, 8 ways DIP switch, 10 ways Rotary switch Micro / limit switch Reed switch Rotary encoder Rotary encoder with push switch Voltage-controlled switch Protection16 part types FuseFast, slow (time-lag) Resettable fuse (PPTC) Circuit breaker Thermal fuseThermostat TVS diodeUnidirectional, bidirectional ESD array, 1 channel ESD array, 2 channels ESD array, 4 channels ESD array, 2 channels + VBUS ESD array, 4 channels + VBUS USBLC6-2 ESD array Varistor (MOV) Gas discharge tube, 2 electrode Gas discharge tube, 3 electrode Thyristor surge suppressor Inrush current limiter (NTC) Optoelectronics22 part types · 1,383 vendor models LED1,383 vendor models Laser diode RGB LED, common cathode RGB LED, common anode WS2812B addressable LEDSK6812 RGBW LED bar graph, 10 LED bar graph, 8 LED bar graph, 4 Incandescent lamp Neon lamp Optocoupler, transistor out Optocoupler, transistor with base Optocoupler, Darlington out Optocoupler, triac out Optocoupler, zero-cross triac Optocoupler, logic out (6N137) PhotodiodePIN, IR, UV Phototransistor, 2 pin Phototransistor with base Photo-interrupter Reflective sensor IR receiver module Sensors23 part types NTC thermistor PTC thermistorCeramic, silicon (KTY) RTDPt100, Pt1000 Thermocouple, type K Temperature sensor IC Photoresistor (LDR) Ambient light sensor Hall switchUnipolar, bipolar latch, omnipolar Hall sensor, linear Hall current sensor Load cellPressure bridge Pressure sensor Strain gauge Accelerometer axis Humidity sensor Gas sensor MQ-2 Gas sensor MQ-135 Gas sensor MQ-7 PIR motion module Ultrasonic ranger Touch sensor IC Rotary encoder Generic analog sensor Logic and digital58 part types · 3,173 vendor models NAND gate3,173 vendor models (all logic) AND gate OR gate NOR gate XOR gate XNOR gate Inverter Buffer Schmitt-trigger inverter NOT gate AND gate, 2 input OR gate, 2 input NAND gate, 2 input NOR gate, 2 input XOR gate, 2 input Tri-state buffer 74x125 74x244 74x245 D flip-flop 74x74 74x573 74x574 JK flip-flop T flip-flop D latch SR latch 4-bit counter 74x161 4017 4040 4060 74x595 74x164 74x165 74x138 74x151 74x157 4511 74x123 1G00 1G04 1G08 1G14 1G32 1G86 1G125 Level translator, auto-direction TXS0108 level translator SN74LVC1T45 translator SN74LVC2T45 translator 74x00 74x02 74x04 74x08 74x14 74x32 74x86 Interface20 part types 8:1 analog mux (4051) 4:1 analog mux 16:1 analog mux (4067) Dual 4:1 analog mux (4052) Triple 2:1 analog mux (4053) Quad analog switch (4066) Analog switch, SPST Analog switch, SPDT Analog switch, dual SPDT RS-485 transceiver CAN transceiver, 5 V (TJA1050) CAN transceiver, 3.3 V MAX232 RS-232 transceiver MAX3232 RS-232 transceiver Digital isolator, 2 channel Digital isolator, 4 channel I2C isolator USB-UART bridge (CH340C) I2C device SPI device Timing14 part types · 53 vendor models Crystal, 2 pin Crystal, 4 pin Ceramic resonator, 3 pin Ceramic resonator, 2 pin Crystal oscillator (XO) TCXO VCXO MEMS oscillator 555 timer53 vendor models 556 dual timer Real-time clock (DS3231) VCO Phase detector Divider ÷N Mixed-signal10 part types ADC DAC Digital pot, up/down (X9C) Digital pot, SPI (MCP41xx) Digital pot, I2C PID State machine Lookup table Dead time PWM generator Microcontrollers and programmable8 part types Controller (code) Microcontroller, generic pinout ATmega328P ATtiny85 (DIP-8) STM32F103C8 Subcircuit / IC I2C EEPROM SPI flash Connectors and mechanical24 part types Header, 1 row Header, 2 rows USB-C Micro-USB USB-A DC barrel jack Audio jack, TRS Audio jack with switches SMA / U.FL connector RJ45 jack microSD socket Battery holder Banana / test jack Solder jumper, open Solder jumper, closed Solder jumper, 3 pad 0 Ω link Net tie, 2 pads Net tie, 3 pads Test point, pad Test point, loop Mounting hole, plated Mounting hole, non-plated FiducialGlobal, local RF7 part types Monopole antenna Dipole antenna Chip antennaPCB antenna SAW filter Balun1:1, 1:2, 1:4 RF amplifier RF attenuator Transmission lines12 part types Ideal transmission line PCB trace, microstrip PCB trace, stripline PCB coplanar waveguide Wire over ground Wire pair Coax cable Twisted pair Differential pair, microstripIdeal coupled pair Differential pair, stripline Twisted pair over ground Parallel wires over ground Audio9 part types Buzzer, passiveMagnetic, piezo Active buzzerMagnetic, piezo Speaker Electret microphone MEMS microphone, analog MEMS microphone, PDM Audio amp, bridge-tied Audio amp, single-ended LM386 audio amp Motors and actuators14 part types DC motorBrushed, fan, vibration, gear Stepper, bipolar (4 wire) Stepper, unipolar (6 wire) Stepper, unipolar (5 wire) RC servoAnalog, digital, continuous rotation BLDC motor, sensorless BLDC motor with Hall sensors SolenoidPull, push, valve, lock H-bridgePWM + DIR, IN1 / IN2 Dual H-bridge, IN / IN Dual H-bridge (TB6612) A4988 stepper driver DRV8825 stepper driver Peltier (TEC) Displays8 part types 7-segment displayCommon cathode, common anode 4-digit 7-segmentCommon cathode, common anode LED dot matrixRow anode, row cathode Character LCD (HD44780) OLED, I2C OLED, SPI TFT, SPI E-paper Measurement4 part types Voltage probe Current probe Differential probe Net label Counts are vendor models per catalog kind. A kind that feeds several groups is counted once, on its main part: diode models cover rectifier and signal diodes, zener models include TVS and ESD diodes, regulator models cover LDOs and DC/DC converters. Another 95,440 vendor subcircuits (capacitors, inductors, ferrite beads, transformers, thermistors, crystals and ICs the indexer could not place) are filed by part number in the library and are not counted on a tile.