Damped oscillation: Difference between revisions
→2. Derivation of a computer circuit: change remarks to red color |
Max Peschke (talk | contribs) No edit summary |
||
| Line 161: | Line 161: | ||
|| [[File:THATv1.0 parts01.jpg|thumb|500px|THAT overview]] | || [[File:THATv1.0 parts01.jpg|thumb|500px|THAT overview]] | ||
|} | |} | ||
From this point you can start wiring the actual simulation circuit. | From this point you can start wiring the actual simulation circuit. Colors from circuit scheme and actual images are matched to make them easier to identify, but have no further meaning. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 168: | Line 168: | ||
| '''Step 1:''' | | '''Step 1:''' | ||
Start with the first integrator | Start with the first integrator. | ||
|| | |||
Set the initial condition of the integrator to 1 by connecting the IC-panel with the panel directly below (rectangular +1). | |||
Also, connect a blue wire to the first integrators input and a red wire to it´s output, but leave them open. | |||
The blue wire shall be the last wire to be closed at the end. | |||
|| [[File:DO Int03.png|thumb|500px|First integrator]] [[File:DO That01.jpg|thumb|500px|First integrator]] | |||
|- | |- | ||
| | | '''Step 2:''' | ||
Connect the output of the first integrator (red wire) to the input of the second integrator. | |||
Connect a yellow cable to the output of the first integrator. | |||
|| [[File:DO Int04.png|thumb|500px|First integrator]] [[File:DO That02.jpg|thumb|500px|First integrator]] | |||
|- | |- | ||
| Example || Example | | Example || Example | ||
Revision as of 13:12, 8 December 2021

The modeling of a damped oscillation is a good starting point for analog programming beginners. This article shall give a quite detailed step by step explanation how to implement a simulation on The Analog Thing using the full repatriation method to derive a computer circuit (originally developed by Lord Kelvin around 1875) and to get results on an oscilloscope.
There are four major steps to execute a simulation on an analog computer, all of which are equally crucial:
- Describe the to be simulated system with differential equations
- Derive a computer circuit from these equations
- Wire the computer circuit on the analog computer and adjust parameters
- Choose viable visualization method (usually oscilloscopes) and connect the computer circuit
This article will focus on point 2. to 4. and requires a basic understanding of differential equations.
1. Mathematical description of a damped oscillation

The first and often hardest step of modeling a to be simulated system on an analog computer is to give an exact mathematical description of the system in the form of differential equations. For this example the description is rather short:
Find all acting forces, three in this case:
- Spring force Fs = k*x;
k = spring coefficient, x = deflection
- Inertia force Fm = m*a;
m = mass, a = acceleration
- Damper force Fd = d*v;
d = damper coefficient, v = velocity
Set the sum of all forces to zero (definition of an isolated system):
Fm + Fd + Fs = 0 m*a + d*v + k*x = 0
Replace the velocity v with ẋ and the acceleration a with ẍ
v = ẋ
(the velocity equals the first derivative of x)
a = ẍ
(the acceleration equals the second derivative of x)
m*a + d*v + k*x
= m*ẍ + d*ẋ + k*x = 0
Now we have an exact description the damped oscillation in the form of a differential equation.
Lastly, solve this equation for the highest derivative the finish the full repatriation:
-> ẍ = -(d*ẋ + k*x) / m
2. Derivation of a computer circuit
At first, we need to understand three basic computing elements which can probably be found on every electrical analog computer:
With these basic computing elements we are able to generate ẍ = -(d*ẋ + k*x) / m.
The basic idea is to start with an integrator assuming ẍ as it´s input. From there on you add computing elements do generate the input in the form of -(d*ẋ + k*x) / m.
3. Wiring the circuit on a THAT and adjusting parameters
In order to wire the circuit worked out above you need to be familiar with the computing elements used.
From this point you can start wiring the actual simulation circuit. Colors from circuit scheme and actual images are matched to make them easier to identify, but have no further meaning.
















