Network
Language · FA
Dark mode

ENGINEERING

Electronics & PLC

Electronics fundamentals, common ICs, PLC programming (IEC 61131-3), mechatronics.

Fundamental Laws

LawFormulaDescription
Ohm's LawV = I·RVoltage = Current × Resistance
PowerP = V·I = I²R = V²/RElectrical power (watts)
Kirchhoff's Current Law (KCL)ΣI_in = ΣI_outSum of currents at node = 0
Kirchhoff's Voltage Law (KVL)ΣV = 0 around loopSum of voltages in closed loop = 0
Capacitor chargeQ = C·VCharge stored
Capacitor energyE = ½CV²Energy stored
Inductor voltageV = L·(dI/dt)Voltage across inductor
RC time constantτ = R·C63.2% charge/discharge time
RL time constantτ = L/R63.2% current rise time
Resonant frequencyf = 1/(2π√LC)LC circuit resonance

Common Passive Components

ComponentSymbolUnitKey Parameter
ResistorRΩ (ohm)Resistance, power rating (W), tolerance (%)
CapacitorCF (farad)Capacitance, voltage rating, type (ceramic/electrolytic/film)
InductorLH (henry)Inductance, current rating, DCR
TransformerT— (ratio)Turns ratio n=Vp/Vs, isolation, VA rating
DiodeDForward voltage Vf, Imax, reverse voltage Vr
Zener diodeD_ZBreakdown voltage (regulation), power rating
FuseFACurrent rating, breaking capacity, response time

Common ICs

ICTypeDescription
NE555TimerMonostable/astable oscillator, PWM, delays — ubiquitous
LM741Op-ampClassic general-purpose operational amplifier
LM358Op-ampDual op-amp, single-supply, low power
LM7805Regulator5V fixed linear regulator (1A)
LM317RegulatorAdjustable linear regulator 1.25V–37V
ATmega328PMCUArduino Uno core, 8-bit AVR, 32KB flash
STM32F103MCU32-bit ARM Cortex-M3, 72MHz, popular dev board
ESP32MCU+WiFi+BTDual-core Xtensa, WiFi, Bluetooth, IoT standard
Raspberry Pi RP2040MCUDual Cortex-M0+, 264KB SRAM, PIO
L298NH-bridgeDual H-bridge motor driver, 2A per channel
ULN2003Driver7-channel Darlington driver for relays/steppers
MAX232Level shifterRS-232 ↔ TTL level conversion
PCF8574I/O expander8-bit I²C GPIO expander

PLC Programming (IEC 61131-3)

LanguageTypeDescriptionBest For
Ladder Diagram (LD)GraphicalRelay logic graphical notation — contacts + coilsSimple relay replacement, sequencing
Function Block Diagram (FBD)GraphicalBlocks connected by data flow linesAnalog control, PID, complex logic
Structured Text (ST)TextualPascal-like high-level languageComplex algorithms, math, strings
Instruction List (IL)TextualAssembly-like mnemonics (deprecated in IEC 61131-3 ed.3)Legacy systems
Sequential Function Chart (SFC)GraphicalState machine with steps + transitionsSequential processes, batch control

PLC Hardware

ComponentDescription
CPU moduleExecutes ladder/ST program, scan cycle typically 1–100ms
Digital Input (DI)Reads discrete signals (24VDC, 230VAC) — switches, sensors
Digital Output (DO)Drives discrete loads — relays, solenoids, indicator lights
Analog Input (AI)Reads 4–20mA or 0–10V signals — temperature, pressure, level
Analog Output (AO)Outputs 4–20mA / 0–10V — drives VFDs, control valves
CommunicationProfibus, Profinet, EtherNet/IP, Modbus RTU/TCP, CANopen
HMI / SCADAOperator interface; SCADA monitors multiple PLCs remotely
VFD (Variable Frequency Drive)Controls AC motor speed via frequency/voltage adjustment

Mechatronics Integration

SystemComponentsKey Protocols
CNC MachinePLC/Motion controller + servo drives + encoders + G-codeEtherCAT, SERCOS
Industrial RobotController + servo joints + vision + force sensorEtherCAT, DeviceNet
Conveyor LinePLC + VFDs + sensors + HMIProfinet, Modbus
HVAC ControlBMS + temperature/humidity sensors + actuators + PLCBACnet, Modbus, KNX
Smart Factory (Industry 4.0)Edge computing + IoT sensors + cloud SCADA + AI analyticsOPC-UA, MQTT, REST