Text to Technical Visualization
AI Diagram Lab
Type a technical diagram description using Mermaid syntax and turn it into a clean visual. Use it for ECE block diagrams, circuit flows, control loops, signal chains, sequence diagrams, and state machines.
Diagram Text
Current mode: Circuit Flow
Visualization
Renders live as you type
What you can create
- Flowcharts for circuit and signal flow.
- Sequence diagrams for processor or communication timing.
- State diagrams for FSM, embedded, and control logic.
Useful syntax
- Use flowchart LR for left-to-right block diagrams.
- Use A[Block] --> B[Next Block] for connections.
- Use sequenceDiagram or stateDiagram-v2 for advanced visuals.
Best ECE use cases
- Control-system loops and feedback paths.
- ADC, DSP, microcontroller, and output chains.
- Network theorem steps and troubleshooting workflows.
Moved From Network Analysis
Basic Concepts circuit visualizations
The animated Basic Concepts circuit guides now live here in AI Diagrams. Subject pages use normal circuit diagrams for notation and exam reading.
1. Electric Charge, Current, And Voltage
Electric charge moves in a closed circuit, current describes that motion, and voltage provides the push.
Electric Charge, Current, and Voltage
Electric Charge (Q)
Electricity begins with charge, the basic property that allows particles to interact electrically. In conductors, electrons carry negative charge and are free to move when the circuit is closed.
- A negative charge means excess electrons.
- A positive charge means a lack of electrons.
When a complete path is available, these electrons start moving, and this movement creates electricity.
Electric Current (I)
Electric current describes how fast charge moves through a circuit. It is not a separate substance; it is the organized motion of electrons through the wire.
- Electrons physically move from the negative terminal to the positive terminal.
- For analysis, conventional current is taken from positive to negative.
Current is the motion of charge, not a material that gets used up.
Voltage (V)
Voltage causes charge to move. It represents the energy difference between two points, created by a source such as a battery.
- The positive terminal has higher potential.
- The negative terminal has lower potential.
This difference pushes electrons through the circuit, much like pressure pushes water through a pipe. When a component such as a resistor is added, part of this electrical energy is converted into heat.
Charge Relation
Electric charge represents the quantity of electricity transferred in a circuit.
Formula:
Q = I x t
Where:
- Q = Charge, measured in coulombs (C)
- I = Current, measured in amperes (A)
- t = Time, measured in seconds (s)
Meaning: If current flows for a certain time, a definite amount of charge is transferred through the circuit. More current or more time means more charge has moved.
Step 1: Circuit Formation
The circuit path is created first, connecting the battery and wire into a complete loop. The positive and negative terminals are clearly identified.
Step 2: Charge Appearance
Blue particles represent electrons, the tiny moving charges that carry electricity through the wire.
Step 3: Voltage Effect
The battery creates a voltage difference, which acts like a push that sets the charges in motion.
Step 4: Current Flow
Electrons start moving from the negative terminal toward the positive terminal, creating a steady flow called current.
Step 5: Conventional Current
A red arrow shows the assumed direction of current from positive to negative, used for circuit analysis.
Step 6: Energy Use
As charges pass through the resistor, electrical energy is converted into heat, shown by a soft pulsing effect.
2. Power and Energy
Power shows how fast electrical energy is used, while energy shows how much is used over time.
Power and Energy
Step 1
Electric Power (P)
Power tells how quickly electrical energy is converted or transferred in a circuit. It shows the rate at which a device uses energy.
P = V I
- P = Power, measured in watts (W)
- V = Voltage, measured in volts (V)
- I = Current, measured in amperes (A)
More voltage or more current means more power. A heater uses electrical power and converts it into heat.
Step 2
Electrical Energy (E)
Energy is the total amount of electrical work done over time. It increases when power is used for a longer duration.
E = P x t
- E = Energy, measured in joules (J)
- P = Power, measured in watts (W)
- t = Time, measured in seconds (s)
Power is the rate of energy use. Energy is the total amount used, which is why electricity bills measure energy in kilowatt-hours.
Step 3
Putting It Together
Voltage pushes charge and current moves charge. Power tells how fast energy is being used, and energy tells the total amount used over time.
Power = speed of energy use.
Energy = total usage over time.
Higher power or longer time means more energy consumed.
Step 1: Power Generation
The source provides voltage and current, creating electrical power in the circuit.
Step 2: Power Flow
Electrical power moves through the circuit along with current.
Step 3: Power Use
When current passes through a component like a resistor, power is absorbed.
Step 4: Energy Conversion
The absorbed power is converted into other forms such as heat or light.
Step 5: Energy Over Time
As time passes, energy continues to accumulate based on power usage.
Step 6: Total Energy
The total energy used depends on how long the circuit operates.
3. Passive and Active Elements
Active elements supply energy. Passive elements absorb, store, release, or dissipate that energy.
Passive and Active Elements
Active Type
Active Element Supplies
The battery is the active element. It provides the voltage and energy needed to make the circuit operate.
Active source supplies energy.
Passive Type
Passive Elements Respond
The resistor, capacitor, and inductor do not generate energy. They absorb, dissipate, store, or release the supplied energy.
Passive elements use or store energy.
Energy Behavior
Energy Is Distributed
Energy flows from the source through the complete circuit path and reaches each passive element in sequence.
Source to resistor, capacitor, and inductor.
Step 1: Source Activation
An active element can deliver energy to the network. In this circuit, the battery creates the electrical push that allows current and energy transfer to begin.
Active source: supplies energy
Step 2: Energy Flow
After the circuit path is complete, energy is transferred through the conductors. The moving particles trace the same closed path as the wire, so the flow is easy to follow.
Energy transfer follows the closed path
Step 3: Resistor Response
A resistor is passive because it cannot create energy. It absorbs electrical energy from the circuit and converts that energy into heat.
Resistor: energy is dissipated
Step 4: Capacitor Response
A capacitor is passive because it stores energy temporarily. Charge separation between its plates creates an electric field, then the stored energy can be released back to the circuit.
Capacitor: electric-field storage
Step 5: Inductor Response
An inductor is passive because it stores energy only when current flows through it. The coil creates a magnetic field that grows and collapses with current changes.
Inductor: magnetic-field storage
Step 6: Energy Distribution
The active source supplies energy, and the passive elements decide what happens to it: the resistor uses it, the capacitor stores it electrically, and the inductor stores it magnetically.
Source supplies; passive elements respond
Where the formulas come from
Resistor power
P = V I, V = I R
So, P = I^2 R
This is power dissipated as heat. P is power in watts, I is current in amperes, and R is resistance in ohms.
Capacitor stored energy
q = C V
E = 1/2 C V^2
While charging, voltage rises from 0 to V, so average voltage is V/2. Energy = charge x average voltage = CV x V/2.
Inductor stored energy
v = L di/dt
E = 1/2 L I^2
Energy builds as current rises from 0 to I. L is inductance in henrys, and I is current in amperes.
4. Linear and Non-Linear Elements
Some elements respond in a simple proportional way. Others change behavior depending on operating conditions.
Linear and Non-Linear Elements
Linear Type
Linear Elements
A linear element behaves in a direct and proportional way. If voltage doubles, current also doubles, as long as resistance is constant.
V = I R
The output follows the input in a straight and predictable manner.
Non-Linear Type
Non-Linear Elements
A non-linear element does not follow one fixed proportional relation. Small voltage may produce almost no current, but after turn-on the current can rise sharply.
The response depends on the operating condition.
Graph Comparison
Putting It Together
A straight V-I graph means proportional behavior. A curved V-I graph means the element behaves differently in different regions.
Linear: straight line
Non-linear: curved response
Linear element
Step 1: Apply Voltage
Voltage is applied across the linear element.
Step 2: Steady Response
Current increases steadily as voltage increases.
Step 3: Straight-Line Behavior
The V-I relation stays proportional at every operating point.
Non-linear element
Step 1: Apply Voltage
Voltage is applied across the non-linear element.
Step 2: Low Current Start
Current remains very low at first, even as voltage increases.
Step 3: Turn-On Region
After a certain voltage, current rises sharply and behavior changes.
Linear element
Step 1: Apply Voltage
Voltage is applied across the linear element.
Step 2: Steady Response
Current increases steadily as voltage increases.
Step 3: Straight-Line Behavior
The V-I relation stays proportional at every operating point.
Non-linear element
Step 1: Apply Voltage
Voltage is applied across the non-linear element.
Step 2: Low Current Start
Current remains very low at first, even as voltage increases.
Step 3: Turn-On Region
After a certain voltage, current rises sharply and behavior changes.
Formula and examples
Ohm's law
V = I R
V is voltage, I is current, and R is resistance. If R stays constant, voltage and current remain proportional.
Non-linear examples
Diode, transistor, and semiconductor junctions.
These devices do not keep one constant V-I ratio across all operating regions.
Final concept
Linear elements are predictable. Non-linear elements change their response depending on voltage, current, temperature, or bias.
5. Bilateral and Unilateral Elements
Bilateral elements behave the same both ways. Unilateral elements depend on direction.
Bilateral and Unilateral Elements
Bilateral Type
Bilateral Elements
A bilateral element works the same even when current direction is reversed. It does not care which way current flows through it.
Same response in both directions.
Unilateral Type
Unilateral Elements
A unilateral element behaves differently when direction is reversed. Current may flow easily one way and become restricted or blocked the other way.
Direction and polarity matter.
Direction Comparison
Putting It Together
Bilateral elements are symmetrical. Unilateral elements are asymmetrical and are useful for control, switching, and rectification.
Bilateral: no direction effect
Unilateral: direction-dependent
Bilateral element
Step 1: Apply Current
Current is applied to the bilateral element.
Step 2: Same Flow Both Ways
Current can flow normally from left to right and right to left.
Step 3: Symmetry
Reversing current direction does not change the behavior.
Unilateral element
Step 1: Apply Current
Current is applied to the unilateral element.
Step 2: Forward Flow
Current flows easily only in the allowed forward direction.
Step 3: Reverse Blocking
Reverse current is reduced or blocked because direction matters.
Bilateral element
Step 1: Apply Current
Current is applied to the bilateral element.
Step 2: Same Flow Both Ways
Current can flow normally from left to right and right to left.
Step 3: Symmetry
Reversing current direction does not change the behavior.
Unilateral element
Step 1: Apply Current
Current is applied to the unilateral element.
Step 2: Forward Flow
Current flows easily only in the allowed forward direction.
Step 3: Reverse Blocking
Reverse current is reduced or blocked because direction matters.
Examples and behavior
Bilateral examples
Resistor, inductor, and capacitor. Their resistance or impedance is the same for either current direction in ideal circuit analysis.
Unilateral examples
Diode and transistor. Their behavior depends on polarity, biasing, and allowed current direction.
Final concept
Bilateral elements treat current direction equally. Unilateral elements control or restrict current based on direction.
Moved From Network Analysis
Circuit Elements circuit visualizations
The animated Circuit Elements guides now live here in AI Diagrams. The Circuit Elements topic page uses normal circuit diagrams for exam reading.
Animated Circuit View: Resistor
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Animated Circuit View: Capacitor
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Animated Circuit View: Inductor
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Animated Circuit View: Independent Voltage Source
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Animated Circuit View: Independent Current Source
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Animated Circuit View: Dependent Source
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Animated Circuit View: Source Transformation
Follow the moving charge, the marked voltage polarity, and the energy effect shown for each element.
Moved From Subjects
Subject circuit visualizations
Animated circuit and device visualizations from Subjects now live here. Subject pages keep the study flow, exam notes, and normal circuit diagrams.