Simuveliq

Multi-domain simulation: electronics, control, sensors and actuators

Put resistors, capacitors, diodes, transistors, op-amps, logic gates, a PID, sensors (NTC, LM35, LDR, tachometer, pressure, ultrasonic) and actuators (DC motor, heater, servo, fan, tank with valve) in one schematic. Simulate over time with a scope, check whether the whole system and each sensor are stable, and get the transfer function, root locus and Bode margins.

What you can do

Frequently asked questions

Can I simulate PID control of a motor?

Yes: connect a reference, a PID, a DC motor and a tachometer; you get the speed, torque and stability analysis.

How do I know if a sensor destabilizes the system?

The subsystem table shows the own poles of every sensor and of the whole loop.

Guide: simulating electrical, control and sensor systems

A real system mixes domains: a sensor measures temperature, a comparator or a PID decides, a transistor or an H-bridge drives a motor, and the motor changes what the sensor measures. This tool simulates it all together over time. This guide explains the ideas behind it (differential equations, time constants, poles and feedback loops) with a verified example.

Every dynamic system is a set of differential equations

Elements that store energy, such as a capacitor (charge), an inductor (current), a spinning mass (speed) or a tank (level), have a state variable that changes according to a differential equation. The simulator writes those equations for the whole circuit and integrates them step by step. In an electric circuit, the equations come from Kirchhoff's laws and from each component: i = C·dv/dt in a capacitor, v = L·di/dt in an inductor.

Example: charging a capacitor (RC)

A 5 V source charges a 10 µF capacitor through a 10 kΩ resistor, starting from zero.

  1. Equation: by Kirchhoff, 5 = R·i + v and i = C·dv/dt, so RC·dv/dt + v = 5.
  2. Time constant: τ = RC = 10,000 · 10 × 10⁻⁶ = 0.1 s.
  3. Solution: v(t) = 5·(1 − e−t/τ). At t = τ the capacitor reaches 63.2 %: v ≈ 3.16 V, and the current is i = (5 − 3.16)/10,000 ≈ 184 µA. After about 5τ (0.5 s) it is practically charged.
  4. Transfer function: from the source to the capacitor, G(s) = 1/(RCs + 1) = 10/(s + 10). It has a pole at s = −10 = −1/τ and unity DC gain.

The simulator gives v = 3.161 V and i = 183.9 µA at t = 0.1 s, the pole at −10 (τ = 100 ms) and the same G(s). With a square-wave source, you see the capacitor charge and discharge every half period.

Poles, stability and feedback

Linearizing the system at an instant, the tool computes its poles. If they all have negative real parts, any disturbance dies out: the system is stable. The further left, the faster; a pair of complex poles means oscillation, as in an underdamped RLC circuit. In a control loop, a controller (PID, ON/OFF) compares the sensor's measurement with the reference and acts. Too much gain or a delay in the loop can make it unstable, and the tool has examples of both cases.

What is not linear

Diodes, transistors in cutoff or saturation, comparators with hysteresis and ON/OFF controllers are not linear. The simulator treats them as they really behave over time. That is why the linearized poles may say "stable" while the simulation oscillates, as in an ON/OFF thermostat; the tool warns you when that happens.

How to use the simulator

  1. Drag components onto the canvas: sources, resistors, capacitors, inductors, diodes, transistors, op amps, the 555, digital logic, control blocks (PID, G(s), delay, saturation), sensors (NTC, LM35, LDR, encoder…) and actuators (DC motor, fan, heater, tank). Values accept prefixes: 4.7k, 100u, 10m.
  2. Wire from the pins and choose the simulated time and the initial condition (from rest or from the DC operating point).
  3. Watch the signals on the oscilloscope, the stability of the whole system and of each subsystem, and the control analysis between the input and output you choose. With ▶ it runs in real time and you can move switches and sliders.

Common mistakes

Further reading

C. K. Alexander and M. N. O. Sadiku, Fundamentals of Electric Circuits (McGraw-Hill); K. Ogata, System Dynamics (Pearson). Simuveliq is not affiliated with these authors or publishers.

More tools

Versión en español

© 2026 Simuveliq. All rights reserved.