Devices: power ICs, drivers and protection
Regulator, converter, charger and driver ICs with their real pins, controller ICs, and protection parts. The parameter tables use the same columns as Devices: passives. Every part has labelled fields with units in the inspector and in All parameters, and the live stimulus of a sensor (light, temperature, field, strain, distance, load) is its main field, first in the list, with a slider range that fits it. A field that shows auto takes a value derived from other parameters until you type one (for example the must-operate voltage of a relay is 0.75 of its coil voltage). Clear it to go back. A variant placed from the library starts with its own typical values, such as 1 kΩ for a Pt1000 or 1.2 V dropout for an AMS1117. A part placed from the library can start with its own values, and a part made with the Part Wizard takes them from its datasheet fields (Part templates reference).
36.1Power ICs
These are regulators and drivers with their real pins: enable, feedback, switch node, power good. Unlike the power block (Power block) they are wired like the real chip, with the external divider, inductor and capacitors.
LDO regulator ICs
| Type | Pins | Variants | Class |
|---|---|---|---|
ldo (U) | fixed3: IN, GND, OUT. adj3 (LM317): ADJ, OUT, IN. en5 (SOT-23-5): IN, GND, EN, NC, OUT. en_pg: IN, OUT, EN, PG, GND. neg3 (79xx): GND, IN, OUT. ams1117: GND, OUT, IN. adj5 (MIC29752): EN, IN, GND, OUT, ADJ. | fixed3, adj3, en5, en_pg, neg3, ams1117, adj5 | approximate, LM317 verified ±0.76 % |
A pass element that regulates the output to vset (or vref above ADJ for the adjustable types), limited by the dropout and the current limit, with a small sink, an overvoltage clamp and an internal 1 MΩ discharge. Enable pins turn it on above ven_on. The power-good output is open drain and releases above 92 % of the target.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Output voltage | vset | V | 3.3 (neg3 5) | any (magnitude used) | Default, inspector, part file | Fixed types. |
| Reference / ADJ voltage | vref | V | 1.25 (adj5 1.24) | > 0 | Default, inspector, part file | Adjustable types: Vout = vref x (1 + R2/R1). |
| Dropout | vdo | V | 0.3 (ams1117 and adj3 1.2) | ≥ 0 | Default, inspector, part file | At ilim. |
| Current limit | ilim | A | 0.6 (ams1117 1.0) | > 0 | Default, inspector, part file | |
| Quiescent current | iq | A | 50 µA | ≥ 0 | Default, inspector, part file | |
| ADJ pin current | iadj | A | 50 µA | ≥ 0 | File or All parameters | adj3. |
| Enable threshold | ven_on | V | 1.0 | ≥ 0 | Default, inspector, part file | |
| Output resistance | rout | Ω | 0.02 | > 0 | File or All parameters | |
| ADJ transconductance | gm | A/V | 104 | > 0 | File or All parameters | adj5. |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
- Place an LDO IC, variant adj3. Wire IN to 9 V, a 240 Ω resistor from OUT to ADJ and 720 Ω from ADJ to ground, and a 100 mA load.
- Probe OUT.
You should seeOUT settles at 1.25 x (1 + 720/240) = 5.0 V. Lower the input with its slider and the output follows the input 1.2 V below once it is in dropout.
Buck converter ICs
| Type | Pins | Variants | Class |
|---|---|---|---|
buckic (U) | async, module: VIN, SW, GND, FB, EN, BST. sync: plus PG. | async (external diode), sync, module | approximate |
Regulates V(FB) to vref, so the external divider sets the output, and sources the inductor current from SW. By default it’s an averaged model, fast and smooth. Set ripple above 0.5 for the switching peak-current-mode form, which shows the real switch node and ripple in a transient. EN has a pull-up to VIN, so an open EN enables. The reference soft-starts over ss_time.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Feedback voltage | vref | V | 0.8 | > 0 | Default, inspector, part file | |
| Switching frequency | fsw | Hz | 500 kHz | > 0 | Default, inspector, part file | Switching form. |
| Switch current limit | ilim | A | 3 | > 0 | Default, inspector, part file | |
| High-side / low-side Rds(on) | ron_hs, ron_ls | Ω | 0.1, 0.08 | > 0 | Default, inspector, part file | |
| Soft-start time | ss_time | s | 1 ms | ≥ 0 | Default, inspector, part file | |
| Maximum duty | dmax | 0.95 | 0.05 to 1 | File or All parameters | ||
| Enable threshold | ven_on | V | 1.2 | ≥ 0 | File or All parameters | |
| Quiescent current | iq | A | 0.5 mA | ≥ 0 | Default, inspector, part file | |
| Switching form | ripple | 0 | 0 to 1 | File or All parameters | Above 0.5: switching. | |
| Error-amp gain | kp | A/V | 2 | > 0 | File or All parameters | |
| Dead time | deadtime | s | 20 ns | ≥ 0 | File or All parameters | sync. |
| Reverse current limit | ilim_neg | A | 0 (diode emulation) | ≥ 0 | File or All parameters |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
Boost converter ICs
| Type | Pins | Variants | Class |
|---|---|---|---|
boostic (U) | async: SW, GND, FB, EN, VIN. sync: plus VOUT. | async (MT3608), sync | approximate |
Peak-current-mode boost: a low-side switch from SW to ground, a PI loop on FB, slope compensation. The async type needs an external diode. EN has a pull-down, so an open EN disables it. It runs above 2 V input.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Feedback voltage | vref | V | 0.6 | > 0 | Default, inspector, part file | |
| Switching frequency | fsw | Hz | 1.2 MHz | > 0 | Default, inspector, part file | |
| Switch current limit | ilim | A | 4 | > 0 | Default, inspector, part file | |
| Switch on resistance | ron | Ω | 0.08 | > 0 | Default, inspector, part file | |
| Maximum duty | dmax | 0.9 | 0.05 to 0.98 | Default, inspector, part file | ||
| Soft-start time | ss_time | s | 1 ms | ≥ 0 | File or All parameters | |
| Slope compensation | slope | A/s | 0.3 x ilim x fsw | ≥ 0 | File or All parameters |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
Load switches, eFuses and ideal diodes
| Type | Pins | Variants | Class |
|---|---|---|---|
loadsw (U) | loadsw: VIN, VOUT, ON, GND. efuse: VIN, VOUT, EN, ILIM, GND. ideal_diode: IN, OUT, CE, GND. hiside: IN, OUT, ON, GND. | loadsw, efuse, ideal_diode, hiside | approximate |
A switch with a controlled output rise and no reverse current. The eFuse limits current to k_ilim / R_ILIM and shuts off after t_flt in limit, until its enable is toggled. The ideal diode conducts only forward, with about 20 mV drop.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| On resistance | ron | Ω | 0.03 | > 0 | Default, inspector, part file | |
| Output rise time | t_rise | s | 1 ms | > 0 | Default, inspector, part file | |
| ILIM constant | k_ilim | A·Ω | 105 | > 0 | File or All parameters | eFuse limit = k_ilim / R_ILIM. |
| ON threshold | von | V | 1.0 | ≥ 0 | Default, inspector, part file | |
| Quick output discharge | qod | 0 / 1 | 1 | File or All parameters | 100 Ω on VOUT while off. | |
| Fault time | t_flt | s | 1 ms | > 0 | File or All parameters | eFuse. |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
Li-ion chargers and battery protection
| Type | Pins | Variants | Class |
|---|---|---|---|
charger (U) | tp4056: TEMP, PROG, GND, VCC, BAT, STDBY, CHRG, CE. mcp73831: STAT, VSS, VBAT, VDD, PROG. | tp4056, mcp73831 | approximate, TP4056 verified ±0.08 % |
Constant current set by the resistor on PROG (I = k_prog / R_PROG), a trickle below v_trickle, constant voltage at vfloat, termination below i_term. The status outputs are open drain: CHRG low while charging, STDBY low when done.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Regulation voltage | vfloat | V | 4.2 | > 0 | Default, inspector, part file | |
| PROG constant | k_prog | V | 1200 (mcp73831 1000) | > 0 | Default, inspector, part file | |
| Termination ratio | i_term | x I_chg | 0.1 | 0 to 1 | Default, inspector, part file | |
| Trickle threshold | v_trickle | V | 2.9 | > 0 | Default, inspector, part file | |
| Minimum input | vin_min | V | 4.0 | > 0 | File or All parameters |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
batprot (U) | OD, CS, OC, TD, VCC, GND | none (DW01A class) | approximate |
Drives the discharge-FET gate OD low on overdischarge or overcurrent and the charge-FET gate OC low on overcharge, each after its delay.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Overcharge detection | v_oc | V | 4.25 | > 0 | Default, inspector, part file | |
| Overdischarge detection | v_od | V | 2.4 | > 0 | Default, inspector, part file | |
| Overcurrent detection | v_ocp | V | 0.15 | > 0 | Default, inspector, part file | On CS. |
| Delays | t_oc, t_od, t_ocp | s | 80 ms, 40 ms, 10 ms | ≥ 0 | Default, inspector, part file | |
| Short-circuit threshold | v_sc | V | 1.35 | > 0 | File or All parameters | Trips with no delay. |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
Power modules and off-line switchers
| Type | Pins | Variants | Class |
|---|---|---|---|
psu_module (PS) | dcdc: VIN, GND, VOUT, EN. dcdc_iso: VIN+, VIN-, VOUT+, VOUT-. acdc: L, N, V+, V-. | dcdc, dcdc_iso, acdc | approximate |
A finished module: a Thevenin output of vout behind rout, input power = output power / eff, on above vin_min. The isolated and AC types keep input and output separate. The output isn’t current limited. It warns above 110 % of pout.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Output voltage | vout | V | 5 | any | Default, inspector, part file | |
| Output power | pout | W | 3 | > 0 | Default, inspector, part file | |
| Efficiency | eff | 0.75 | 0.05 to 1 | Default, inspector, part file | ||
| Input range | vin_min, vin_max | V | 4.5, 5.5 (acdc 85, 265 V RMS) | Default, inspector, part file | ||
| Output resistance | rout | Ω | 0.05 | > 0 | File or All parameters | |
| Ripple | ripple, fsw | V p-p, Hz | 0.05, 65 kHz | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
offline (U) | buck: D, S, FB, BP. flyback: D, S, FB, VDD. | buck, flyback | approximate |
An averaged on/off off-line switcher (LNK, TNY class): the switch current from D to S rises while FB is below vfb, limited to half of ilim and by Rds(on). The supply pin is regulated from the drain.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Current limit | ilim | A | 0.25 | > 0 | Default, inspector, part file | |
| Feedback threshold | vfb | V | 1.65 | > 0 | Default, inspector, part file | |
| MOSFET on resistance | rds_on | Ω | 24 | > 0 | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
Motor drivers
| Type | Pins | Variants | Class |
|---|---|---|---|
hbridge2 (U) | in_in: AIN1, AIN2, BIN1, BIN2, AOUT1, AOUT2, BOUT1, BOUT2, VM, GND, nSLEEP. pwm_dir: AIN1, AIN2, PWMA, BIN1, BIN2, PWMB, STBY, AO1, AO2, BO1, BO2, VM, VCC, GND. | in_in (DRV8833, L298), pwm_dir (TB6612) | approximate |
Four half bridges with body diodes and dead time. in_in truth table per channel: 00 coast, 10 forward, 01 reverse, 11 brake. pwm_dir: IN1 and PWM forward, IN2 and PWM reverse, PWM low brakes, STBY low turns everything off. Overcurrent protection: a switch current above ilim turns that bridge off (a W_RATING warning) and it retries after 1.6 ms, as the DRV8833 does.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Output on resistance | ron | Ω | 0.36 | > 0 | Default, inspector, part file | High plus low side. |
| Overcurrent trip | ilim | A | 2 | > 0 | File or All parameters | Per switch; the bridge retries after 1.6 ms. |
| Dead time | deadtime | s | 200 ns | ≥ 0 | File or All parameters |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
stepdrv (U) | EN, MS1, MS2, MS3, RST, SLP, STEP, DIR, VMOT, GND, 1A, 1B, 2A, 2B, VDD, VREF | a4988, drv8825 | approximate |
Each rising STEP edge moves one microstep in the direction of DIR. MS1 to MS3 set full to 1/16 (A4988) or 1/32 (DRV8825) stepping. The winding currents follow sine and cosine of the step angle, limited by VREF / (8 rsense) for the A4988 or VREF / (5 rsense) for the DRV8825. Set ripple above 0.5 for the chopper form.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Sense resistor | rsense | Ω | 0.1 | > 0 | Default, inspector, part file | |
| Current limit | ilim | A | 1 | > 0 | Default, inspector, part file | Used when VREF is not wired. |
| Output on resistance | ron | Ω | 0.32 | > 0 | Default, inspector, part file | Chopper form. |
| Off time | toff | s | 20 µs | > 0 | Default, inspector, part file | |
| Chopper form | ripple | 0 | 0 to 1 | File or All parameters |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
36.2Controller and driver ICs
These switch for real, edge by edge. Logic inputs and comparators are found to the exact instant. Outputs move with short edges behind their source and sink resistance. Output current comes from the part's own supply pins, so bootstrap capacitors discharge into the gate as on a board.
| Type | Pins | Variants | Class |
|---|---|---|---|
gatedrv (U) | low: IN, VDD, GND, OUT. high_boot: IN, VDD, GND, HO, HS, VB. half_bridge: HIN, LIN, VDD, GND, HO, HS, LO, VB. isolated: IN, VDD1, GND1, OUT, GND2, VDD2, the two sides joined only by r_iso and c_iso (an old 4-pin isolated driver keeps one ground). | low, high_boot, half_bridge, isolated | approximate, verified ±6.3 % |
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| VDD UVLO | vdd_uvlo, vdd_hys | V | 4.5, 0.3 | Default, inspector, part file | Outputs held low below. | |
| VB-HS UVLO | vb_uvlo | V | 4.2 | > 0 | Default, inspector, part file | |
| Peak source / sink current | src_a, snk_a | A | 2, 3 | > 0 | Default, inspector, part file | Output resistance = 10 V / current. |
| Propagation delay | tpd | s | 20 ns (placed 50 ns) | ≥ 0 | Default, inspector, part file | |
| Dead time | deadtime | s | 0 | ≥ 0 | Default, inspector, part file | Half bridge. |
| Input threshold, hysteresis | vth, vhys | V | 1.65, 0.8 | Default, inspector, part file | ||
| Interlock | interlock | 0 / 1 | 0 | Default, inspector, part file | Both outputs low if both inputs are high. | |
| Bootstrap diode | boot_diode | 0 / 1 | 1 | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
hbridge (U) | VM, GND, IN1, IN2, OUT1, OUT2 | in1_in2 (DRV8871), pwm_dir | approximate |
Four switches with body diodes. in1_in2: 00 coast, 10 forward, 01 reverse, 11 brake. A high-side current above ilim recirculates for 25 µs.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Switch on resistance | rds_on | Ω | 0.5 (placed 0.1) | > 0 | Default, inspector, part file | |
| Dead time | deadtime | s | 200 ns | ≥ 0 | Default, inspector, part file | |
| Current limit | ilim | A | 3.6 | > 0 | Default, inspector, part file | |
| Input threshold | vth | V | 1.5 | > 0 | Default, inspector, part file | |
| VM UVLO | vm_uvlo | V | 4.0 | > 0 | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
supervisor (U) | VIN, GND, OUT | reset, uvlo, window | approximate |
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Threshold | vth | V | 2.93 | > 0 | Default, inspector, part file | Falling. |
| Hysteresis | hys | V | 1 % of vth | ≥ 0 | Default, inspector, part file | |
| Reset delay | delay | s | 200 µs (reset) | ≥ 0 | Default, inspector, part file | |
| Window upper limit | vth_hi | V | 1.1 x vth | > 0 | Default, inspector, part file | |
| Output | rout, open_drain, active_high | 100 Ω, 0, 0 | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
pwmctl (U) | VIN, GND, FB, COMP, CS, GATE, SS, EN, RT, and for the synchronous form SW, BOOT, HO, LO | vmode, cmode (UC3843), hyst, cot, pfc_tm (L6562), llc, qr | approximate, verified ±0.04 to ±7.9 % |
A switching controller. An error amplifier on FB drives COMP, and the reference starts softly. UVLO and an enable are built in. vmode compares COMP with a ramp. cmode turns off when CS reaches the COMP level (with slope compensation and leading-edge blanking). hyst and cot are hysteretic and constant on-time. pfc_tm is transition-mode PFC and qr is quasi-resonant valley switching. llc is a 50 % half bridge whose frequency falls as COMP rises.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Reference | vref | V | 0.8 (pfc_tm 2.5) | > 0 | Default, inspector, part file | |
| Switching frequency | fsw | Hz | 200 kHz | > 0 | Default, inspector, part file | |
| Error amplifier | ea_gm, ea_gain | S, - | 1 mS, 104 | > 0 | Default, inspector, part file | |
| Duty limits | dmin, dmax | 0, 0.9 | 0 to 1, dmin < dmax | Default, inspector, part file | ||
| Slope compensation | slope | V/s | 0 | ≥ 0 | Default, inspector, part file | cmode. |
| CS gain, limit | cs_gain, cs_limit | -, V | 3, 1.0 | > 0 | Default, inspector, part file | |
| Soft start | ss_time | s | 1 ms | ≥ 0 | Default, inspector, part file | |
| UVLO | uvlo_on, uvlo_off | V | 4.5, uvlo_on - 0.5 | uvlo_off < uvlo_on | Default, inspector, part file | Set both when lowering uvlo_on below 4 V. |
| Dead time | deadtime | s | 50 ns | ≥ 0 | Default, inspector, part file | |
| Gate drive | gate_drive | A | 1.0 | > 0 | Default, inspector, part file | |
| On-time | ton | s | 1 µs (pfc_tm 10 µs) | > 0 | Default, inspector, part file | |
| Blanking | blanking | s | 100 ns | ≥ 0 | Default, inspector, part file | |
| Ramp amplitude | vramp | V | 2.0 | > 0 | Default, inspector, part file | vmode. |
| Hysteresis window | vhys | V | 10 mV | ≥ 0 | Default, inspector, part file | hyst. |
| Frequency range | fmin, fmax | Hz | 0.5 x fsw, 2 x fsw | fmin < fmax | Default, inspector, part file | llc, qr, pfc. |
| ZCD threshold | zcd_th | V | 50 mV | > 0 | Default, inspector, part file | |
| Gate clamp | vclamp | V | 15 | > 0 | Default, inspector, part file | |
| Minimum off time | toff_min | s | 200 ns | ≥ 0 | Default, inspector, part file | |
| Restart | t_restart | s | 50 µs | > 0 | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
ledctl (U) | VIN, GND, CS, GATE, DIM | buck_cc, boost_cc | approximate |
Fixed-frequency peak-current LED driver: GATE on each cycle, off when CS reaches vcs. DIM enables it.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| CS threshold | vcs | V | 0.2 | > 0 | Default, inspector, part file | |
| Switching frequency | fsw | Hz | 100 kHz (placed 200 kHz) | > 0 | Default, inspector, part file | |
| Blanking, gate drive, clamp, dmax, UVLO | blanking, gate_drive, vclamp, dmax, uvlo_on | 100 ns, 1 A, 15 V, 0.95, 4.5 V | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
uc384x (U) | COMP, FB, CS, RTCT, GND, OUT, VCC, VREF (the UC3842 / UC3843 DIP order) | none | approximate, checked against the vendor models in Simulate |
The live view's stand-in for a vendor UC384x current-mode controller (new in 0.8.0). It is not placed from the library: a vendor UC3843 part carries it as its live equivalent, and Simulate keeps running the vendor model. UVLO on VCC with a clamp, VREF behind its output resistance with a current limit and line regulation, a transconductance error amplifier into COMP, the RT/CT oscillator, the current comparator and the latch set by the oscillator pulse once the comparator releases it (reset wins). With COMP pulled below two diode drops the output stays low, the datasheet's shutdown. The four UC3843 examples set its numbers to the vendor model's.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| UVLO | uvlo_on, uvlo_off | V | 8.4, 7.6 | uvlo_off < uvlo_on | Default, inspector, part file | |
| Supply current | iq_off, iq_on | A | 0.5 mA, 11 mA | ≥ 0 | Default, inspector, part file | The start-up and operating currents of the TI datasheet. |
| Reference | vref | V | 5 | > 0 | Default, inspector, part file | Behind ref_rout, limited by ref_ilim. ref_lnr gives the line regulation around ref_vnom (12 V), 0 by default. |
| Oscillator thresholds | osc_hi, osc_lo | V | 2.8, 1.1 | osc_lo < osc_hi | Default, inspector, part file | RT/CT, discharged by idis (8.3 mA). |
| Current sense | cs_off, cs_gain, cs_max | V, -, V | 1.4, 3, 1 | > 0 | Default, inspector, part file | The trip level is min(max((V(COMP) - cs_off) / cs_gain, 0), cs_max). |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
| Type | Pins | Variants | Class |
|---|---|---|---|
chgctl (U) | VIN, BAT, GND, CS, GATE | cccv (Li-ion), float (lead-acid) | approximate |
A linear charger that drives an external PMOS or PNP: precharge, constant current set by the sense resistor between CS and BAT, constant voltage, termination.
| Parameter | Key | Unit | Default | Range | Value comes from | What it does |
|---|---|---|---|---|---|---|
| Charge current | ichg | A | 1 | > 0 | Default, inspector, part file | |
| Float voltage | vfloat | V | 4.2 (float 13.6) | > 0 | Default, inspector, part file | |
| Termination current | iterm | A | 0.1 x ichg | ≥ 0 | Default, inspector, part file | |
| Precharge current, threshold | precharge, vpre | A, V | 0.1 x ichg, 3.0 | Default, inspector, part file | ||
| Sense resistor | rsense | Ω | 0.1 | > 0 | Default, inspector, part file |
Key: the name in the circuit file, in a parameter step (R1.r) and for AI agents. Range: a value outside it is refused with E_PARAM. Value comes from: where you can set it. The All parameters tab and agents can set every parameter.
36.3Diodes, thyristors and protection
Diodes are fitted to their forward voltage at a test current, and breakdown is a smooth clamp with a dynamic resistance. Thyristors latch on a trigger and hold until their current falls below the holding current.
| Part | Type | Pins | What it does | Parameters (default) |
|---|---|---|---|---|
| Bidirectional TVS | diode, variant tvs_bi | anode, cathode | Clamps at ± bv in both directions. | bv (6.8 V), rdyn (0.5 Ω), cj0 (100 pF) |
| Bridge rectifier | bridge (D) | ac1, ac2, +, - | Four diodes with reverse breakdown. | vf (1 V) at if_test (1 A), bv (1000 V), cj0 (20 pF) |
| Dual diode | diode2 (D) | cc: a1, a2, k. ca: k1, k2, a. series: a, mid, k. dual: a1, k1, a2, k2 | Two diodes in one package. | kind (signal: 0.75 V at 10 mA, bv 75 V, or schottky: 0.4 V, bv 30 V), is, n, bv, cj0 (2 pF) |
| ESD protection array | esd (D) | 1ch: io, gnd. 2ch: io1, io2, gnd. 4ch, 2ch_vbus, 4ch_vbus, usblc6 (6 pins) | Steering diodes to gnd and VBUS and a TVS clamp. | vbr (6.5 V), vc (12 V) at ipp (5 A), cj (1 pF) per line |
| Current-regulating diode | crd (D) | anode, cathode | Holds a constant current above the knee voltage. | ip (10 mA), vk (2.5 V) |
| SCR | scr (Q) | anode, cathode, gate | Fires on gate current above igt, on breakover above vdrm or on dV/dt above dvdt_crit. Holds above ih. | igt (200 µA), ih (5 mA), vtm (1.4 V) at itm (5 A), vgt (0.8 V), vdrm (600 V), dvdt_crit (50 V/µs) |
| TRIAC | triac (Q) | mt1, mt2, gate | Fires on gate current of either sign above igt (quadrant 4 only if allowed) or above vdrm. | igt (10 mA), ih (15 mA), vtm (1.5 V) at itm (10 A), vgt (1 V), vdrm (600 V), quadrants (123) |
| DIAC, SIDAC, surge suppressor | diac (D) | a, b | Breaks over at vbo in either direction. | vbo (32 V, sidac 120, tss 58), dv fold-back (6 V), ih, ron |
| Varistor (MOV) | mov (RV) | a, b | I = 1 mA x (V / v1ma)alpha. Warns when the absorbed energy exceeds e_max. | v1ma (470 V), alpha (30), c (100 pF), r_bulk (1 Ω), e_max (10 J) |
| Gas discharge tube | gdt (GDT) | 2pin: a, b. 3pin: a, b, gnd | Sparks over at v_spark (higher for fast edges), glows, then arcs above i_glow, extinguishes below i_hold. | v_spark (90 V), v_arc (15 V), v_glow (0.7 x v_spark), i_glow (0.5 A), i_hold (0.1 A), k_imp (0.1) |
- Place a 12 V source with 1 Ω in series, an SCR across the output, a 9.1 V Zener from the output to the gate through 100 Ω, and 1 kΩ from gate to cathode.
- Raise the source slowly with its slider.
You should seeAbove about 9.8 V the Zener drives the gate, the SCR fires and shorts the output, and it stays on until the source drops below the point where the current falls under ih.