The pieces
A block is a box holding a transfer function. What leaves it is what enters it times that function. The damper block b turns velocity into force: with b = 4 N·s/m, 0.5 m/s in gives 2 N out.
Each arrow carries one signal, one way: a quantity that changes with time, written by its Laplace transform. This arrow carries the push on the cart, F(s). An arrow only reports a value; it never changes it.
The circle is a summing junction. It adds the signals arriving at it, each with the sign drawn beside its arrow. Ours has one plus and two minus inputs, so what leaves it is F − bV − kX.
A dot on an arrow is a pickoff point, also called a takeoff point. The signal is copied into two branches, and each carries exactly the same signal. Reading a signal never uses it up.
Building the cart
Now build the cart from its equation, m·ẍ = F − b·ẋ − k·x. Solve for the highest derivative: ẍ = (F − b·ẋ − k·x)/m. The summing junction builds the bracket from the push F. We want position x out.
The net force flows into the 1/m block and acceleration comes out: A(s) = Fnet(s)/m. With m = 2 kg the block is just the number 0.5. A block that only scales its signal is called a gain.
Velocity is the running total of acceleration: v is the integral of a. Integrating from rest divides a Laplace transform by s, so the integrator block is 1/s, and V(s) = A(s)/s.
Integrate once more and velocity becomes position: X(s) = V(s)/s. The forward path now has three blocks in a row, 1/m, 1/s and 1/s. X(s), the cart's position, is the output.
The damper force depends on velocity. So pick V(s) off the forward path, pass it through the b block, and bring bV(s) back into the summing junction with a minus sign. That loop is the damper.
The spring force depends on position. Pick X(s) off at the output, multiply by k = 50 N/m, and subtract it at the junction. Every term of m·ẍ = F − b·ẋ − k·x now has its own arrow.
Running it
Apply a steady 10 N push and let the signals run round both loops. The position overshoots to 0.305 m at 0.64 s, then settles at F/k = 0.2 m. The curve comes from stepping the diagram itself, block by block.
From outside, the whole diagram acts like one block: X(s)/F(s) = 1/(ms² + bs + k) = 1/(2s² + 4s + 50). Its exact step response lies on top of the simulated one. Reducing diagrams by rule comes next.
What is happening
# step 1/12 · block
# about: Damper
a block: input → [ G(s) ] → output
Y(s) = G(s) · U(s)
damper block G(s) = b = 4 N·s/m
in V = 0.5 m/s
out bV = 4 × 0.5 = 2 N
Signals are written by their Laplace
transforms, like V(s), so every block
just multiplies.
The cart is the one from the lesson on writing the equation of motion: m = 2 kg, b = 4 N·s/m, k = 50 N/m, pushed by 10 N from t = 0. The numbers are illustrative; every curve and value in the figure is computed from this model. The Python on the last two steps is plain Python 3. The first steps the diagram block by block every 0.1 ms; the second evaluates the exact step response. They agree to within 0.05 mm.