Optional workshopsOptional workshops · 14 min

Plan a circuit threshold time

Derive a threshold-crossing formula from an ideal response and check it by substitution.

Maths refresher: A threshold solves an equation

A crossing time is an input t for which the response reaches a specified level. It must lie in the permitted time domain.

V(1−e−t/(RC))=V2⟹t=RClog⁡2V(1-e^{-t/(RC)})=\frac V2\quad\Longrightarrow\quad t=RC\log2
Worked example

Because V>0V>0, it cancels from this half-voltage equation. Doubling R with C fixed doubles the ideal crossing time.

Maths prerequisite map ↗

An ideal RC circuit provides a simple model where symbolic derivation, solving and numerical plotting reinforce one another. Starting with zero capacitor voltage, its charging response approaches a constant input V on time scale RCRC.

See the mathematics
00.1250.250.3750.5-0.21.252.74.155.6t (s)v (V)
00.1250.250.3750.5-0.21.252.74.155.6t (s)v (V)
v(t)=5(1−e−10t),t1/2=log⁡210v(t)=5(1-e^{-10t}),\quad t_{1/2}=\frac{\log2}{10}
v(t)=5(1−e−10t)t1/2=log⁡210\begin{gathered}v(t)=5(1-e^{-10t})\\t_{1/2}=\frac{\log2}{10}\end{gathered}
  • 5−5e−10t5 - 5 e^{- 10 t}
  • 2.52.5
Starter reference. Authored circuit illustration with RC = 0.1 s and V = 5 V. Horizontal: time (s); vertical: voltage (V). The amber line is the half-voltage threshold.

Solve for the time to reach half the final voltage, using positive parameters and a nonnegative physical time. Substitute the derived time into the original response to verify the threshold. The symbolic result shows which parameter combinations influence the timing and which cancel.

The selected resistance, capacitance and voltage are invented demonstration inputs. Component tolerances would create uncertainty in the crossing time even when the algebra is exact. Use the report to distinguish the ideal result, the numerical illustration and any evidence needed for a practical timing specification.

Will doubling V alone change the time to reach one half of that same V in the ideal model?

Write a prediction (optional)

Integrated ideal circuit with invented components

Select Run Python with the code unchanged.

Tools
About Python

Python and the course packages can load while you read. Each run starts with fresh user variables; imported modules stay loaded. Stop replaces the worker. Runtime details ↗

Ctrl+Enter or ⌘+Enter runs Python.

Compare with the worked example

Executed from the published Python during the site build. Your own run appears above. Build environment ↗

Charging response
V(1−e−tCR)V \left(1 - e^{- \frac{t}{C R}}\right)
Threshold voltage
V2\frac{V}{2}
Threshold time
CRlog⁡(2)C R \log{\left(2 \right)}
Conditions for a positive finite crossing
True\text{True}
Threshold residual
00
Illustrative crossing, seconds
0.0693147180.069314718
Sensitivity to R
Clog⁡(2)C \log{\left(2 \right)}
Worked text output
Charging response: V*(1 - exp(-t/(C*R)))
Threshold voltage: V/2
Threshold time: C*R*log(2)
Conditions for a positive finite crossing: True
Threshold residual: 0
Illustrative crossing, seconds: 0.069314718
Sensitivity to R: C*log(2)
Plot generated by the executed Python example. Read its labelled axes and the lesson explanation together.
Open full-size figure ↗

Read the starter result

For the starter threshold V/2, V cancels from Threshold time. The calculation requires the threshold to be above zero and below the final voltage. The exact residual checks the crossing equation in that range.

Edit and compare

Replace threshold = V/2 with threshold = sp.Integer(2) for a fixed two-volt threshold. Select Run Python. Compare Threshold time and Conditions for a positive finite crossing with the first run. What must the final voltage exceed? Check Threshold residual and the updated horizontal line.

Return to the editor

Scope. The ideal response and invented components omit tolerances, parasitics, load effects and hardware validation.

Try a fresh case

For an absolute threshold above the final voltage V, what does the ideal monotone response imply?

Choose an answer
Need a hint?
Hint 1

Inspect the response’s initial value and long-time limit.

Hint 2

Compare the threshold with that reachable interval.

Write your investigation report

Record the question, mathematical assumptions and proposed checks before interpreting the result. After execution, add the derivation, numerical comparison and limits. The export includes the last successful run.

Your notesNotes save in this browser when storage is available.