Online Tools
常用电子 / 电工 / 传感器 / Thermal Design / Mechanics / Thermodynamics / 电磁学Calculate工具
198电子 / 电工 / 嵌入式 / 传感器 / Thermal Design / Mechanics / Thermodynamics / 电磁学High频Calculate器,SVG 图示Calculate模型,填参数即时出结果:Resistance分压、DC-DC 反馈Resistance、TL431 反馈(Flyback / Forward)、PCB 阻抗 / 载流、CAN bits定时、CRC check、4-20mA、NTC / PT100、PLC 模拟量、散热器选型、Battery stringandCharge、Sallen-Key 滤波器、传输线延时、VSWR、motor选型、线路voltage drop、calorie诺效率……
Signal & Embedded
31 tools555 Timer Frequency
Frequency / pulse width / duty for astable (square-wave) and monostable (fixed pulse) configurations.
astable f = 1.44/[(R1+2R2)C] | monostable T = 1.1·R·Cused 2 timesADC Code ↔ Voltage
Convert between ADC raw code and voltage, with 1 LSB resolution — handy for sensor calibration and serial raw data.
V = code / 2ⁿ × Vref | 1 LSB = Vref / 2ⁿused 6 timesPWM Resolution / Counts
Achievable bits and duty step from timer clock and PWM frequency, or verify a target resolution.
counts = Fclk / Fpwm | bits = log₂(counts)UART Baud Rate Divider
Baud divider and actual error from the peripheral clock (16× / 8× oversampling); large error means unreliable comms.
div = Fclk / (OS × baud) | error ≤ ±2% recommendedRise Time ↔ Bandwidth Calculator
Derive the equivalent signal bandwidth from edge rise time, or the edge from the bandwidth — for scope selection, sample rate and impedance-control decisions.
BW = 0.35 / t_r (Gaussian response)Transmission Line Delay & Length Matching
From the effective dielectric constant, get propagation delay per millimetre, the λ/4 length, the critical trace length that needs termination and how much length a skew budget allows.
t_pd = 3.336·√εeff ps/mm | l_crit = t_r/2 ÷ t_pdADC ENOB / SNR / Oversampling
Derive ENOB from measured SNR and see how many bits oversampling buys back — for when a "12-bit" ADC behaves like 10 bits.
SNR_ideal = 6.02·N + 1.76 dB | ENOB = (SNR − 1.76)/6.02 | 4× oversampling ≈ +1 bitSallen-Key Low-Pass Filter Designer
Single op-amp second-order Sallen-Key low-pass: given cutoff and Q, get standard R/C values, the real fc/Q, peaking and a Bode plot.
f_c = 1/(2πR√(C1·C2)) | Q = ½·√(C1/C2) with R1 = R2 = Rused 78 timesSallen-Key High-Pass Filter Designer
Single op-amp second-order Sallen-Key high-pass: given cutoff and Q, derive standard C/R values, verify the real parameters and plot the response.
f_c = 1/(2πC√(R1·R2)) | Q = ½·√(R2/R1) with C1 = C2 = Cused 72 timesRC High-Pass Filter Calculator
First-order passive RC high-pass: get the cut-off from R/C or back out the components from a target f_c, with attenuation and phase at a probe frequency.
f_c = 1/(2πRC) | |H| = (f/f_c)/√(1+(f/f_c)²)Op-Amp Bandwidth & Slew Rate Check
Check whether an op-amp can sustain the target frequency and amplitude under both GBW and slew-rate limits, and get the usable upper frequency.
f_cl = GBW/A_cl | f_FP = SR/(π·V_pp)VSWR / Return Loss Converter
Convert between VSWR, return loss, reflection coefficient, mismatch loss and transmitted power — the usual first step with a VNA reading or antenna datasheet.
Γ = (VSWR−1)/(VSWR+1) | RL = −20·log₁₀|Γ| | mismatch loss = −10·log₁₀(1−|Γ|²)dBm ⇄ mW ⇄ Voltage Converter
Convert between power level, milliwatts, RMS and peak-to-peak voltage (50Ω/75Ω selectable) — transmit power, receiver sensitivity and attenuation chains alike.
P(dBm) = 10·log₁₀(P/1mW) | V_rms = √(P·Z₀)STM32 Timer PSC / ARR Calculator
From the timer clock and target frequency or period, get prescaler PSC and auto-reload ARR plus the values to write to the registers and the resulting error.
f_out = f_clk / [(PSC+1)(ARR+1)]PID Parameter Conversion (Kp/Ti/Td ⇄ Discrete)
Turn ideal-form Kp/Ti/Td into positional and incremental discrete coefficients so you never hand-derive them in code again.
Ki = Kp/Ti | Kd = Kp·Td | discrete Ki = Kp·Ts/TiFirst-Order Low-Pass Filter Coefficient (α)
From sample period and cut-off, get the first-order IIR coefficient α, the fixed-point Q coefficient and settling time — ready to paste into ADC smoothing code.
α = Ts/(RC + Ts), RC = 1/(2πf_c); y += α(x − y)used 6 timesSpeaker Crossover Calculator (1st/2nd Order)
From driver impedance and crossover frequency, get the woofer series inductor / shunt capacitor and tweeter series capacitor / shunt inductor, with one-click first/second order and standard Q values.
2nd order: C = Q/(2πf_c·R) | L = R/(2πf_c·Q) | 1st order: L = R/(2πf_c), C = 1/(2πf_c·R)used 2 timesModbus RTU Frame & CRC16
Pack/unpack Modbus RTU frames (master request / slave response), compute the CRC-16/MODBUS checksum, and decode frames — matched against the standard frame format.
Frame = Slave + Function + Data + CRC16 (low byte first) | CRC-16/MODBUS init 0xFFFFused 5 timesModbus TCP Frame & MBAP
Pack/unpack Modbus TCP frames (master request / slave response) with MBAP header decoding, protocol-ID and length self-checks — matched against the standard frame format.
Frame = MBAP (Transaction ID + Protocol ID + Length + Unit ID) + Function + DataFrequency–Wavelength Calculator
Frequency ↔ wavelength conversion: vacuum/medium wavelength, period, velocity factor, half/quarter-wave antenna sizes, and photon energy.
λ = c / f | in medium λ′ = c / (f·√εr) | T = 1 / fused 2 timesDecibel (dB) Calculator
Convert ratios, power and voltage to and from decibels: power ratio ↔ dB, voltage ratio ↔ dB, absolute power (dBm / dBW), voltage level (dBV / dBu / dBμV) and cascaded gain.
dB = 10·log10(P2/P1) = 20·log10(V2/V1) | dBm = 10·log10(P/1mW)used 10 timesHysteresis Comparator (Schmitt Trigger)
Comparator positive-feedback hysteresis network: for the inverting / non-inverting topologies, derive the upper and lower trip points and hysteresis width from R1/R2 and the output swing, bound the width / trip-point error with the resistor tolerance, or pick standard resistors and a reference voltage from target trip points.
ΔV = (Voh − Vol)·R1/(R1+R2) (inverting) | ΔV = (Voh − Vol)·R1/R2 (non-inverting)used 38 timesNon-inverting op-amp calculator
Non-inverting op-amp stage: derive the voltage gain from Rf/Rg, or pick standard resistors for a target gain, then use the resistor tolerance to bound the gain error, and check gain-bandwidth and slew-rate limits (closed-loop bandwidth, full-power bandwidth, rise time).
A = 1 + Rf/Rg | BW = GBW / A | SR = 2π·f·Vpk | FPBW = SR / (2π·Vpk) | A_range = 1 + Rf(1±t)/Rg(1∓t)Differential op-amp calculator
Four-resistor difference (subtractor) amplifier: compute the output, differential gain, common-mode gain and CMRR from R1–R4 and two inputs, bound the gain / output error and worst-case CMRR with the resistor tolerance, or match standard resistors to a target gain, and check input impedance, bandwidth and slew rate.
Vout = V2·R4/(R3+R4)·(1+R2/R1) − V1·R2/R1 | when matched, Vout = Ad·(V2−V1), Ad = R2/R1used 3 timesInverting op-amp calculator
Inverting op-amp stage: derive the voltage gain (A = −Rf/Rin) and input impedance from Rf/Rin, or pick standard resistors for a target gain, then use the resistor tolerance to bound the gain / output error and maximum mismatch error, and check noise-gain bandwidth and slew rate.
A = −Rf/Rin (|A| = Rf/Rin) | Zin = Rin | BW = GBW/(1+|A|) | SR = 2π·f·Vpk | FPBW = SR/(2π·Vpk)BPF op-amp band-pass filter designer (single-op-amp Sallen-Key)
Single-op-amp Sallen-Key band-pass filter (BPF) designer: given the high-pass / low-pass corner frequencies (fL, fH) or the center frequency and bandwidth (f0, BW), it automatically picks C1 and R4 and derives every R/C value, with standard-value rounding plus slew-rate and GBW checks and a Bode plot.
Auto C1 (so R1 ≈ 33 kΩ) | k = 2π·f0·C1 | H = (6.5 − 1/Q)/3 | C2 = C1/2 | R1 = 2/k, R2 = 2/(3k), R3 = 4/k, R5 = R4/(H−1) (auto R4 so R5 ≈ 10 kΩ) | Q = f0/BWused 14 timesOp-amp voltage-controlled resistor (VCR) designer
Single-op-amp voltage-controlled resistor (VCR) designer: a JFET (or a MOSFET in its ohmic region) acts as the variable resistor R_DS in the feedback path of an inverting amplifier, with an AN105 linearization network (equal R_L1/R_L2 across D-G and S-G) that decouples R_DS from the signal level and keeps the pass device in its ohmic region. Compute the equivalent resistance and voltage-controlled gain from the control voltage, or Vc from a target resistance, with linear-swing, sensitivity and bandwidth checks.
JFET: R_DS = V_P² / [2·I_DSS·(V_GS − V_P)] | MOSFET: R_DS = 1 / [k·(V_GS − V_TH)] | V_GS = Vc − V_S ≈ Vc (virtual-ground source) | A = −R_DS / Rg | |V_DS| < V_GS − V_th (R_L1 = R_L2 linearization)Impedance matching calculator (L / π / T)
Online design of L, π and T matching networks for RF and antennas: enter the source impedance Rs+jXs and load impedance RL+jXL to get the network Q, inductor and capacitor values, the approximate −3 dB bandwidth, and a circuit diagram of the chosen topology. Complex source / load reactances are compensated.
L: Q = √(Rhigh/Rlow − 1), Xseries = Q·Rlow, Bshunt = Q/Rhigh | π: Rv = Rhigh/(Q²+1), Xseries = Rv(Q1+Q2) | T: Rv = Rlow(Q²+1), Xseries = Q·R | elements: L = X/ω, C = 1/(ωX)used 53 timesBJT Voltage-Divider Bias
Resistor-divider bias for an NPN common-emitter stage: solve R1/R2/Rc/Re from Vcc, target Ic, hFE, and collector / emitter voltages, then check the operating point, gain, and I/O impedance.
Ve = Ie·Re | Vb = Ve + Vbe | R1/R2 set by 10×Ib divider current | Av ≈ Rc/ReCrystal Load Capacitor
Crystal load-cap design: solve C1 / C2 from the specified CL and PCB / pin stray capacitance, or back-calculate actual CL and frequency pulling.
CL = C1·C2/(C1+C2) + Cstray | symmetrical C1 = C2 = 2(CL − Cstray) | Δf/f ≈ −Cm·ΔCL/(2(C0+CL)²)I2C Pull-Up Resistor
I2C bus pull-up: compute Rp_max / Rp_min from bus capacitance, speed, and device sink current; recommend an E24 value and check rise time and low level.
Rp(max) = tr/(0.8473·Cb) | Rp(min) = (Vdd − Vol)/Iol | tr = 0.8473·Rp·Cbused 1 times