Free Block Diagram Maker for Control and Functional Diagrams
Draw control system block diagrams with transfer-function blocks, signed summing junctions, take-off points and feedback paths, and get the closed-loop transfer function worked out for you. Functional block diagrams of circuits and systems too. Made for control courses, lab reports and papers.
One signal path per line. [G: 10/(s+2)] is a block with its transfer function, [G1] a symbol, +(e) or -(e) a summing junction with the sign of the arrow entering it, and a name used again is the same block, junction or take-off point.
1 loop · 2 inputs (R, D) · 1 output (Y) · 2 summing junctions · 1 take-off point. Transfer functions worked out below.
The block diagram maker lays the diagram out and works out its transfer functions in this browser tab. Nothing is uploaded, no account is needed, and the downloaded figure is yours.
| From → to | Transfer function | |
|---|---|---|
| Y(s) / R(s) | 20(s + 5)(s + 10) / (s3 + 12s2 + 220s + 1000) | |
| Y(s) / D(s) | −10s(s + 10) / (s3 + 12s2 + 220s + 1000) | |
| Loop gain L(s) = CGH | 200(s + 5) / (s(s + 2)(s + 10)) |
Block diagram styles
Four finishes from the AI block diagram generator, each on its own system: a cascade servo in textbook style, a phase locked loop as an IEEE figure, car cruise control with a picture of each part, and a PID loop on a dark slide.
Block diagram examples
Eight block diagram examples drawn by the AI generator beside the block diagram maker: a flyback power supply, the body temperature loop, a CubeSat FFBD and a wearable ECG monitor, then its four finishes on a cascade servo, a PLL, cruise control and a PID loop. Every card is a real render, and choosing one puts its prompt in the generator.
A datasheet-style power stage from the block diagram maker.
For biology class; the block diagram maker draws any homeostasis loop.
Mission phases in order; the block diagram maker draws FFBDs too.
The proposed-system figure a thesis opens with, from the block diagram maker.
The homework and lab-report finish of the block diagram maker.
The block diagram maker sized for one IEEE column.
Pictures of the parts for posters and proposals.
A block diagram maker slide for the lecture hall.
What is a block diagram?
A block diagram is a drawing of a system as blocks joined by arrows: each block stands for a part or a function, and each arrow for the signal, power or data that passes from one block to the next. In a control system block diagram every block holds a transfer function, summing junctions add and subtract signals, and the whole figure reduces to one transfer function from input to output. A functional block diagram names what each part does and leaves the mathematics out.
What the block diagram maker does
- The block diagram maker reads one signal path per line, such as R(s) -> +(e) -> [G: 10/(s+2)] -> Y(s), and lays the loop out by textbook convention: forward path on one line, feedback paths below, feedforward paths above, a disturbance from the top.
- In the block diagram maker a block holds a transfer function in s, drawn as a stacked fraction, a symbol such as G1, or a name in words. Every summing junction shows the sign of each input, and a signal used twice becomes a take-off point.
- For a control system block diagram the block diagram maker works out the closed-loop transfer function of every input and output pair, the loop gain of every loop and Mason's terms, and for numeric blocks the closed-loop poles with a stable or unstable verdict.
- The block diagram maker's Functional mode draws functional block diagrams and functional flow block diagrams: labelled connections, two-way buses, dashed subsystem boundaries, numbered functions and AND or OR junctions.
- The block diagram maker refuses a layout it cannot draw without tangled wires and says why, and it refuses a block with two incoming arrows until a summing junction joins them.
- The block diagram maker downloads PNG, SVG and PDF, with no account and nothing uploaded. Each transfer function copies as text or LaTeX and opens in the Bode plotter.
Block diagram symbols
A control system block diagram uses a handful of symbols, and the block diagram maker draws each one from a short piece of text. The last two rows belong to functional block diagrams and FFBDs.
| Symbol | Name | What it means and how to type it |
|---|---|---|
| Block | One input, one output, and the transfer function between them, a symbol such as G1, or a name. Type [G: 10/(s+2)], [G1] or [Controller]. | |
| Signal line | Carries a signal one way, with a single arrowhead at the end it enters. Each -> in the block diagram maker is one arrow. | |
| Summing junction | A circle that adds its inputs, each with its sign beside the arrowhead. It needs at least two inputs and has one output. In the block diagram maker type +(e) or -(e), the sign of the arrow entering junction e. | |
| Take-off point (pickoff point) | A dot where one signal goes to two places unchanged. Write the same signal name twice in the block diagram maker, as Y(s) at the end of one line and the start of another, and the take-off point appears. | |
| Input and output | The reference R(s), a disturbance D(s) and the output Y(s) are names written at the open ends of arrows, not boxes. | |
| Feedback path | Runs from the output side back to an earlier summing junction, drawn below the forward path from right to left. Negative feedback enters with a minus sign. | |
| Feedforward or parallel path | Skips forward around blocks into a later summing junction and is drawn above the forward path, as in a feedforward controller or the three branches of a PID. | |
| Disturbance input | A second input, such as a load torque or heat loss, that comes down into a summing junction from above. The block diagram maker gives its own transfer function to the output. | |
| Subsystem boundary | A dashed outline around blocks that form one subsystem, chip or isolated side. In the block diagram maker's Functional mode type group Front end: RF amplifier, Mixer. | |
| AND or OR junction | In a functional flow block diagram, a circle where the flow splits or joins. AND means every branch must run (concurrency), OR that one of the alternatives is taken (selection). Type (AND) or (OR) in the block diagram maker. |
Block diagram reduction rules, drawn by the block diagram maker
Block diagram reduction, also called block diagram simplification or block diagram algebra, replaces a group of blocks with one block of the same transfer function, one rule at a time, until a single block is left between input and output. The rules are those of Nise, chapter 5.2. The block diagram maker drew each pair below and checked it with its own transfer-function computation: before and after give the same output for every input.
Blocks in series (cascade)
Blocks in cascade multiply: G1 followed by G2 is one block G1G2. The rule holds only while no signal is taken off between them.
Blocks in parallel
Blocks fed from the same take-off point and added at one summing junction combine into their sum, G1 + G2, or G1 − G2 when one of them enters with a minus.
Eliminating a feedback loop
A loop with G in the forward path and H in the feedback path becomes G/(1 + GH) for negative feedback and G/(1 − GH) for positive feedback. With H = 1, unity feedback, it is G/(1 + G). The block diagram maker gives this result for any single loop you type.
Moving a summing junction ahead of a block
Moving the junction from after G to before it would multiply the side input by G, so a 1/G block goes in front of it. Moved the other way, from before G to after it, the side input needs a copy of G instead.
Moving a take-off point behind a block
Taken off after G, the branch would carry G times the signal, so a 1/G block in the branch restores it. Moved the other way, from after G to before it, the branch needs a copy of G instead.
Transfer function from a block diagram
A block diagram of a linear system has one transfer function for each input and output pair. A single loop gives it by formula; a diagram of several loops gives it by reduction or, in one step, by Mason's gain formula. The block diagram maker works it out from the diagram you type and lists every term it used.
- Closed-loop transfer function. T(s) = G(s)/(1 + G(s)H(s)) for negative feedback and G(s)/(1 − G(s)H(s)) for positive feedback, with G(s) the forward path and H(s) the feedback path. The closed-loop poles are the roots of 1 + G(s)H(s) = 0.
- Open-loop transfer function and loop gain. G(s)H(s), the product of the blocks around the loop with the loop opened at its summing junction. The block diagram maker lists it as L(s); the gain and phase margins are read from its Bode plot.
- Unity feedback system. With H(s) = 1, T(s) = G(s)/(1 + G(s)). G(s) = 16/(s(s + 4)) gives 16/(s² + 4s + 16): ωn = 4 rad/s and ζ = 0.5.
- Mason's gain formula. T = Σ PkΔk / Δ. Pk is the gain of the k-th forward path. Δ = 1 − (sum of the loop gains) + (sum of the products of two loops that do not touch) − (the same for three) + …, where a loop closed through a minus sign has a negative gain. Δk is Δ without the loops that touch the k-th path (Nise 5.5). The block diagram maker lists each of these terms, as the table for this example shows.
| Term | Value |
|---|---|
| P1 | G1G2G3G4 |
| Δ1 | 1 |
| P2 | G5G4 |
| Δ2 | 1 + G2H1 |
| L1 | −G2H1 |
| L2 | −G4H2 |
| L1L2 | (−G2H1)(−G4H2) |
| Δ | 1 + G2H1 + G4H2 + G2H1G4H2 |
| C(s) / R(s) | (G1G2G3G4 + G5G4 + G5G4G2H1) / (1 + G2H1 + G4H2 + G2H1G4H2) |
For numeric blocks the block diagram maker sends the loop gain to the Bode plotter with the gain and phase margins marked. Try it on the DC motor speed loop, L(s) = 200(s + 5)/(s(s + 2)(s + 10)).
Block diagrams engineers and students draw
Each card opens a ready-made diagram in the block diagram maker above, with its transfer function where the blocks carry one.
Control system block diagram
A control system block diagram, or block diagram of a control system, puts the controller, the plant and the sensor around a feedback loop, with the reference on the left and the controlled output on the right. This one holds a DC motor's speed: a PI controller 2(s + 5)/s drives the motor 10/(s + 2), a load torque D(s) enters as a disturbance, and a sensor 1/(0.1s + 1) feeds the speed back. The block diagram maker gives Y/R = 20(s + 5)(s + 10)/(s³ + 12s² + 220s + 1000) and Y/D = −10s(s + 10)/(s³ + 12s² + 220s + 1000). Y/D is zero at s = 0, so the integrator in the controller rejects a constant load with no steady-state speed error.
PID controller block diagram
The parallel form splits the error E(s) three ways, Kp, Ki/s and Kd·s, and sums them into the plant. With Kp = 10, Ki = 5 and Kd = 2 around 1/(s(s + 3)), the block diagram maker gives the closed loop as (2s² + 10s + 5)/(s³ + 5s² + 10s + 5).
Functional block diagram
Names what each stage does and leaves out its equations, as a datasheet does for the inside of a chip. The superheterodyne AM receiver mixes the RF signal with a local oscillator down to a 455 kHz IF, and the AGC loop sets the IF gain from the detector.
Functional flow block diagram
NASA's FFBD shows what a system must do and in what order, not how: numbered functions flowing left to right, joined at AND circles where functions run in parallel and OR circles where one alternative is taken. Numbers carry down the levels, so 4.0 expands to 4.1, 4.2 and so on. In the block diagram maker, write [1.0 Launch] for a numbered function and (AND) or (OR) for a junction.
System block diagram
A block diagram of a system shows its main subsystems and names the interface on each line, which the block diagram maker writes beside the arrow. In the data logger a sensor reaches the microcontroller through a 12-bit ADC, and the microcontroller writes to an SD card over SPI and talks to a BLE module over UART, all powered from a battery.
Phase locked loop block diagram
The linear phase model of a PLL: phase detector gain Kpd, loop filter F(s), the VCO as an integrator Kvco/s and the divider 1/N in the feedback path. Here the block diagram maker gives θout/θin = 1000(s + 10)/(s² + 10s + 100), with ωn = 10 rad/s, ζ = 0.5 and a gain of N = 100 at DC.
Process control block diagram
Controller, control valve, process and transmitter in one loop, the way a temperature loop is analysed before it goes on a P&ID. The controller is PI (Kc = 2, Ti = 10 s), the other three elements are first-order lags, and a heat load Q(s) enters as a disturbance.
Feedback loop diagram
A negative feedback loop diagram from physiology: the hypothalamus compares body temperature with the 37 °C set point and drives sweating or shivering to cancel the difference, while heat lost to the surroundings is the disturbance. The block diagram maker draws blocks named in words and computes nothing for them.
Electrical block diagram
A 65 W flyback adapter stage by stage: EMI filter, bridge rectifier and bulk capacitor, the transformer switched by a MOSFET under a PWM controller, and regulation fed back from the 19 V output through a TL431 reference and an optocoupler.
Block flow diagram
A block flow diagram (BFD) is the first drawing of a chemical plant, one block per process step. Ammonia: primary and secondary reforming of natural gas with steam and air, shift conversion, CO2 removal and methanation, then the synthesis loop, where a recycle compressor returns the unreacted gas.
Reliability block diagram
Blocks in series must all work; blocks in parallel back each other up. With independent failures a series chain has R = R1·R2·…·Rn and a parallel group R = 1 − (1 − R1)(1 − R2)…(1 − Rn), so two pumps at 0.9 each give 0.99. The block diagram maker draws the RBD; it does not compute reliability.
Block diagram of a computer
The outline from introductory computing: input unit, a CPU made of the control unit and the ALU, the memory unit and the output unit, with the control unit directing every transfer between them. The block diagram maker draws the CPU as a dashed group around its two parts.
Block diagram vs flowchart, signal flow graph and schematic
Four drawings that look alike and answer different questions. A block diagram and a signal flow graph carry the same equations, which is why Mason's gain formula works on both; the block diagram maker draws the first.
| Block diagram (block diagram maker) | Flowchart | Signal flow graph | Circuit schematic | |
|---|---|---|---|---|
| A box or node is | A part or function, with its transfer function | A step or a decision | A node is a signal; the gain sits on the branch | A component with its value |
| A line means | A signal flowing one way | The order of the steps | A branch that multiplies the signal at its start | A wire |
| Signals combine at | A summing junction with a sign on each input | Nothing, steps do not add | Every node, which sums its incoming branches | A node, by Kirchhoff's current law |
| Feedback is | A path below, back into a summing junction | A loop back to an earlier step | A closed chain of branches | A component wired from output to input |
| What you work out | The transfer function, by reduction or Mason's rule | Nothing, it documents a procedure | The transfer function, by Mason's rule | Voltages and currents, by circuit analysis |
How to make a block diagram
- 1
Type the forward path into the block diagram maker
Write the main path from input to output on one line, R(s) -> +(e) -> [C: 2(s+5)/s] -> [G: 10/(s+2)] -> Y(s), giving each block a transfer function, a symbol or a name.
- 2
Close the feedback loops
Start a line at the signal you measure and end it in a summing junction with a minus: Y(s) -> [H: 1/(0.1s+1)] -> -(e). Using Y(s) again places the take-off point in the block diagram maker.
- 3
Add disturbances and side paths
D(s) -> -(d) brings a disturbance into junction d from above, and the block diagram maker draws a path from R(s) into a later junction above the loop as feedforward.
- 4
Check the transfer function, then download
Read the closed-loop transfer function, the loop gain and the poles under the figure in the block diagram maker, copy them as text or LaTeX, and download the figure as PNG, SVG or PDF.
Block diagram maker FAQ
What is a functional block diagram?
A functional block diagram shows a system as the functions or parts it is built from, joined by the signals, power or data passing between them, without each block's equations. Datasheets use one for the inside of a chip, and engineers for the subsystems of a product. Its relative in systems engineering is the functional flow block diagram (FFBD), which puts numbered functions in time order and joins branches at AND and OR junctions. The block diagram maker draws both in Functional mode.
Is a functional block diagram the same as a PLC function block diagram (FBD)?
No. In PLC work, function block diagram (FBD) is one of the programming languages of IEC 61131-3: function blocks such as timers, counters and logic gates are wired together to make a control program. A functional block diagram is a drawing of a system, not a program. The block diagram maker draws functional block diagrams and control loops; an FBD program is written in the PLC vendor's programming software.
How do you find the transfer function from a block diagram?
Reduce it rule by rule until one block is left, or apply Mason's gain formula in one step; the block diagram maker does the second for you. Type the diagram with a transfer function in each block and the answer appears under the figure as a ratio of polynomials in s, with common factors cancelled. With symbols such as G1 and H1 it comes in Mason's form, in the block names. A diagram with two inputs, such as a reference and a disturbance, gets one transfer function for each.
What is the closed-loop transfer function of a negative feedback loop?
T(s) = G(s)/(1 + G(s)H(s)), where G(s) is the forward path from the error to the output and H(s) the feedback path. For positive feedback the plus in the denominator becomes a minus. The closed-loop poles are the roots of 1 + G(s)H(s) = 0; for numeric blocks the block diagram maker lists them and says whether all are in the left half-plane.
What is the open-loop transfer function, and how is it different from the loop gain?
For a single feedback loop they are the same product, G(s)H(s): the gain around the loop with the loop opened at the summing junction. Two uses differ. Mason's gain formula keeps the sign of the junction, so a negative feedback loop has the loop gain −G(s)H(s) in Mason's terms. And some texts call the forward path G(s) alone the open-loop transfer function, which equals G(s)H(s) only with unity feedback. The block diagram maker lists L(s) = G(s)H(s) and opens it in the Bode plotter with the gain and phase margins.
What is a summing junction, and what is a take-off point?
A summing junction is a circle that adds or subtracts its input signals, with the sign of each written beside its arrowhead; a take-off point, or pickoff point, is a dot where one signal branches to two places unchanged. A summing junction needs two or more inputs and has one output. In the block diagram maker, +(e) or -(e) enters junction e with that sign, and a signal name written twice, such as Y(s), becomes a take-off point.
What is a unity feedback system?
A unity feedback system feeds the output straight back to the summing junction, so H(s) = 1 and T(s) = G(s)/(1 + G(s)). The steady-state error constants are defined for this form, so a loop with a sensor H(s) is often redrawn as an equivalent unity feedback loop first. The unity feedback example in the block diagram maker, K = 16 with G(s) = 1/(s(s + 4)), gives T(s) = 16/(s² + 4s + 16).
What is Mason's gain formula, and when do you need it instead of reduction rules?
Mason's gain formula, T = Σ PkΔk / Δ, gives the transfer function from the forward paths, the loop gains and the determinant Δ in one step, without redrawing the diagram. You need it when loops are interleaved, so that no loop sits wholly inside another and the reduction rules only work after take-off points are moved. The block diagram maker lists every term under the figure: forward paths, loops, the products of loops that do not touch, Δ and each Δk.
Is a block diagram the same as a flowchart or a schematic?
No. A block diagram shows signals flowing between the parts of a system, a flowchart shows the order of the steps in a procedure, and a circuit schematic shows every component and wire. A circuit block diagram sits between the last two, with one block per stage (filter, amplifier, ADC) above the schematic that builds it. Draw the stages in the block diagram maker, then the schematic of each stage.
Can I use the block diagram in LaTeX, Word or PowerPoint?
Yes. The block diagram maker downloads SVG and PDF, which stay sharp at any size, and PNG for slides. Insert the SVG into Word or PowerPoint, or include the PDF in a LaTeX document as a figure. Copy LaTeX under the diagram gives each transfer function as a LaTeX fraction for the equation that goes with it.
Is the block diagram maker free?
Yes. The block diagram maker is free with no account: type the diagram, read the transfer functions and download PNG, SVG or PDF. It runs in your browser and nothing is uploaded; a free download has a small site badge in one corner. The AI block diagram generator, which redraws a loop as an illustrated, IEEE or slide figure, works on credits after sign-in, with 100 free credits on a new account.
Sources
- Norman S. Nise, Control Systems Engineering, 8th edition, chapter 5 Reduction of Multiple Subsystems (5.2 Block Diagrams, 5.3 Analysis and Design of Feedback Systems, 5.5 Mason's Rule) — Wiley
- Expanded Guidance for NASA Systems Engineering, Volume 2 (NASA/SP-2016-6105-SUPPL), Appendix F.1 Functional Flow Block Diagrams — NASA
Keep exploring
Our other diagram tools, and the guides behind them.
Tools
Draw your loop in the block diagram maker
Type the signal paths, read the closed-loop transfer function and download the figure. The block diagram maker is free and needs no account.
Open the block diagram maker