EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

Sensor and Control with flyback

@SammyBoaH
22 hours ago
https://everycircuit.com/circuit/6217024338526208
@Muse - The schematic consists of two separate, independent subcircuits: a **low-voltage DC reference network** on the left and a **transistor-switched inductive driver with flyback protection** on the right. --- ### 1. Left Subcircuit: DC Divider & Low-Pass Filter * **DC Voltage Source (#V1):** Supplies $5\text{ V}$ with its negative terminal grounded. * **Voltage Divider (#R2, #R3):** * #R2 ($10\text{ k}\Omega$) connects between $+5\text{ V}$ and intermediate node 2. * #R3 ($1\ \Omega$) connects between node 2 and ground. * The voltage at node 2 is: $$V_2 = 5\text{ V} \times \frac{1\ \Omega}{10\text{ k}\Omega + 1\ \Omega} \approx 0.5\text{ mV}$$ * **Low-Pass Filter (#R4, #C1):** * Resistor #R4 ($100\ \Omega$) and capacitor #C1 ($100\text{ nF}$) filter node 2 into node 0. * Cutoff frequency: $$f_c = \frac{1}{2\pi R_4 C_1} \approx 15.9\text{ kHz}$$ * Because node 2 is purely DC, node 0 settles to the steady-state voltage of $\approx 0.5\text{ mV}$. --- ### 2. Right Subcircuit: Transistor-Driven Inductive Load (Relay/Solenoid Driver) * **Control Input (#SW, #R_b, #R_pd):** * Controlled by the digital toggle #SW ($0\text{ V}$ or $5\text{ V}$). * Resistor #R_b ($1\text{ k}\Omega$) limits base current into transistor #Q1. * Resistor #R_pd ($10\text{ k}\Omega$) acts as a pull-down resistor to keep the transistor off when the input is floating or low. * **Switching Transistor (#Q1):** * When #SW is at logic **0**, #Q1 is in cutoff (OFF). No current flows through the load. * When #SW is toggled to logic **1** ($5\text{ V}$): $$I_B \approx \frac{5\text{ V} - 0.7\text{ V}}{1\text{ k}\Omega} \approx 4.3\text{ mA}$$ This drives #Q1 into saturation, pulling the collector close to ground ($V_{CE(\text{sat})} \approx 0.1\text{–}0.2\text{ V}$). * **Inductive Load (#L1, #R_L):** * Models a coil (such as a relay or solenoid) with $L = 100\text{ mH}$ and winding resistance $R = 70\ \Omega$. * Powered from the $+5\text{ V}$ rail (#V2). * In steady state when ON: $$I_L \approx \frac{5\text{ V} - V_{CE(\text{sat})}}{70\ \Omega} \approx 68\text{ mA}$$ * **Flyback Diode (#D1):** * Connected in reverse bias across the coil (anode at collector, cathode at $+5\text{ V}$). * When #Q1 turns OFF, the magnetic field in #L1 collapses. Diode #D1 clamps the inductive kickback voltage spike to $V_{CC} + V_F \approx 5.7\text{ V}$, protecting #Q1 from overvoltage breakdown.
Comments
Post