Step, impulse and ramp functions
لم يُترجم بعد؛ يُعرض باللغة الإنجليزية
عن هذا الدرس
Circuits switch, and switching needs its own maths. Follow one circuit, a programmable current source feeding an empty 1 µF capacitor, and watch three special functions appear. A 2 mA step u(t) charges the capacitor along a ramp r(t) at 2 V per millisecond. A 3 ms pulse, built from two steps, stores 6 µC and holds 6 V. Squeeze the same charge into less and less time and you reach the impulse δ(t), which makes the voltage jump. It builds on the Hardware lesson on resistors and capacitors and on "Switching and initial conditions".
A source that switches on
A current source is(t) feeds a 1 µF capacitor. The ammeter reads the current iC; the voltmeter reads the voltage vC. Before t = 0 the source gives nothing. At t = 0 it switches on to 2 mA, in no time at all.
circuit is(t) programmable current source C 1 µF, empty at the start: vC(0) = 0 A ammeter in series: reads iC V ideal voltmeter across C: draws no current before t = 0 iC = 0 mA after t = 0 iC = 2 mA The change takes zero time: a jump.
اقرأ الدرس خطوة بخطوة
A source that switches on
A current source is(t) feeds a 1 µF capacitor. The ammeter reads the current iC; the voltmeter reads the voltage vC. Before t = 0 the source gives nothing. At t = 0 it switches on to 2 mA, in no time at all.
circuit is(t) programmable current source C 1 µF, empty at the start: vC(0) = 0 A ammeter in series: reads iC V ideal voltmeter across C: draws no current before t = 0 iC = 0 mA after t = 0 iC = 2 mA The change takes zero time: a jump.The unit step u(t)
The unit step u(t) is 0 for t < 0 and 1 for t > 0. It models any switch closing at t = 0. Our source is 2u(t) mA: the step scaled by 2 mA. Watch the current plot jump.
unit step u(t) = 0 for t < 0 u(t) = 1 for t > 0 at t = 0 it jumps (its value there has no agreed value; some take ½) scale it: iC(t) = 2·u(t) mA t = −0.5 ms iC = 0 t = +0.5 ms iC = 2 mADelay it
Replace t with t − t0 and the jump moves to t = t0. Here the source waits 1 ms: iC = 2u(t − 1) mA. It is 0 until t = 1 ms, then 2 mA. The minus sign means a delay.
delayed step u(t − t0) = 0 for t < t0 u(t − t0) = 1 for t > t0 t0 = 1 ms: iC = 2·u(t − 1) mA u(t − t0) jumps late (t0 > 0) u(t + t0) jumps earlyA pulse is two steps
Add a step up at 0 and a step down at 3 ms: iC = 2u(t) − 2u(t − 3) mA. The two steps cancel after 3 ms, leaving a rectangular pulse 2 mA high and 3 ms wide.
pulse = step up − delayed step iC = 2u(t) − 2u(t − 3) mA t < 0 0 − 0 = 0 mA 0 < t < 3 2 − 0 = 2 mA t > 3 2 − 2 = 0 mA Any piecewise-flat waveform is a sum of scaled, delayed steps.The capacitor builds a ramp
Charge piles up on the capacitor: vC = q/C. A steady 2 mA adds 2 µC every millisecond, so vC climbs 2 V each ms. At 3 ms it reads 6 V. A line that starts rising at t = 0 is a ramp.
capacitor: vC(t) = vC(0) + (1/C)·∫ iC dt iC = 2 mA = 2 µC per ms 1/C = 1 V per µC slope = 2 V/ms = 2000 V/s t = 1 ms vC = 2 V t = 3 ms vC = 6 V t = 6 ms vC = 12 VRamp and step are a pair
The unit ramp r(t) = t·u(t) is the area under u(t) so far: zero, then growing with slope 1. So vC = 2r(t) V, t in ms. Go back with a slope: iC = C·dvC/dt = 1 µF × 2000 V/s = 2 mA.
unit ramp r(t) = 0 for t < 0 r(t) = t for t > 0 r(t) = ∫ u dt (integrate the step) u(t) = dr/dt (slope of the ramp) check on the capacitor iC = C·dvC/dt = 1 µF × 2000 V/s = 2 mA ✓A pulse charges, then holds
Feed the pulse instead. vC ramps for 3 ms, then stops at 6 V: 2r(t) − 2r(t − 3). The pulse's area, 2 mA × 3 ms = 6 µC, is the charge stored. The capacitor keeps it after the current stops.
vC = 2r(t) − 2r(t − 3) V t > 3 ms: 2t − 2(t − 3) = 6 V, flat charge = area of the pulse Q = 2 mA × 3 ms = 6 µC vC = Q/C = 6 V energy check (passive sign convention) source gives ∫vC·iC dt = 18 µJ C stores ½CvC² = 18 µJSame charge, less time
Now deliver the same 6 µC faster. 3 ms needs 2 mA, 1 ms needs 6 mA, 0.25 ms needs 24 mA. The pulse gets narrower and taller, but its area stays 6 µC, so vC still ends at 6 V.
height = Q / width (area fixed at 6 µC) width height vC at the end 3 ms 2 mA 6 V 1 ms 6 mA 6 V 0.25 ms 24 mA 6 V The current axis stretches to 24 mA in this step, so even the tallest pulse fits. The voltage ramp gets steeper and shorter: it is turning into a jump.The unit impulse δ(t)
Shrink the width to zero and keep area 1: that limit is the unit impulse δ(t). It is zero except at t = 0 and its area is 1. The current 6 µC·δ(t) dumps all the charge at once, so vC = 6u(t) V.
unit impulse δ(t) = 0 for t ≠ 0 ∫ δ(t) dt = 1 (area, not height) δ(t) = du/dt drawn as an arrow; the number beside it is its strength (area): iC = 6 µC · δ(t) vC = (6 µC / 1 µF)·u(t) = 6u(t) V A real source can only come close: a very short, very tall pulse.One family, linked by calculus
Integrate δ and you get u; integrate u and you get r. Differentiate and you walk back. A capacitor integrates its current, so an impulse in gives a step out, and a step in gives a ramp out.
δ(t) --∫--> u(t) --∫--> r(t) δ(t) <--d/dt-- u(t) <--d/dt-- r(t) capacitor (C = 1 µF, starts empty) iC = 6 µC·δ(t) -> vC = 6u(t) V iC = 2u(t) mA -> vC = 2r(t) V (t in ms) sifting: ∫ f(t)·δ(t − t0) dt = f(t0) e.g. ∫ (t² + 3)·δ(t − 2) dt = 7
أسئلة سريعة: 5
اختر إجابة واحدة لكل سؤال. يمكنك تغيير اختياراتك قبل التحقق منها.
01A current of 2u(t) mA flows into an empty 1 µF capacitor. What is vC at t = 4 ms?
2 mA adds 2 µC every millisecond, and 1 µC on 1 µF is 1 V. So vC = 2r(t) V with t in ms: 2 × 4 = 8 V.
02Which expression is a 2 mA pulse that starts at t = 0 and lasts 3 ms?
The first step switches 2 mA on at t = 0. The second, delayed by 3 ms and subtracted, cancels it after t = 3 ms. The ramp version describes the capacitor voltage, not the current.
03The same 6 µC charge must be delivered in 0.5 ms instead of 3 ms. How tall must the current pulse be?
The charge is the pulse's area: height × width. 6 µC ÷ 0.5 ms = 12 mA. The capacitor still ends at 6 V, because the area did not change.
04Evaluate the integral of (t² + 3)·δ(t − 2) over all t.
The sifting property picks out the value of the function where the impulse sits: 2² + 3 = 7.
05How are the unit impulse, step and ramp related?
Integrating δ(t) gives u(t), and integrating u(t) gives r(t). Going the other way, du/dt = δ(t) and dr/dt = u(t).
المسرد
- Singularity function
- A function that has a jump, a corner or a spike: the step, ramp and impulse. Circuit analysis uses them to describe switching.
- Unit step u(t)
- 0 for t < 0 and 1 for t > 0. It models a switch closing at t = 0. Its value at exactly t = 0 has no agreed definition.
- Delayed step u(t − t0)
- A unit step that jumps at t = t0 instead of at t = 0.
- Unit ramp r(t)
- 0 for t < 0 and equal to t for t > 0, so r(t) = t·u(t). It is the integral of the unit step.
- Unit impulse δ(t)
- Zero everywhere except t = 0, with a total area of 1. It is the derivative of the unit step and the limit of ever narrower pulses of area 1.
- Strength of an impulse
- The area of an impulse, written beside its arrow. A current of 6 µC·δ(t) carries 6 µC of charge in an instant.
- Sifting property
- The integral of f(t)·δ(t − t0) over all t is f(t0): the impulse picks out one value of f.
- Pulse
- A rectangle in time, written as a step up minus a delayed step: A·u(t) − A·u(t − T).
الملاحظات والمصادر
- The figure is an ideal circuit: a programmable current source, an ideal 1 µF capacitor that starts empty, an ammeter with no resistance and a voltmeter that draws no current. Every current, voltage, charge and energy shown is computed from these values by the lesson's model.
- Textbooks leave u(0) undefined, or set it to 0, 1 or ½. It never matters for a circuit's response, because a single instant carries no area.
- No real source makes a true impulse. A very short, very tall pulse of the same area acts the same on a circuit that is slow compared with the pulse. The same maths warns of a hazard: a voltage step put straight across a capacitor would need an impulse of current, so real switches see large inrush spikes.
- A step is how circuit analysis writes 'a switch moved at t = 0'. Switching on an air-conditioner circuit in a hot Gulf afternoon, or a lamp, is modelled the same way: the supply term is multiplied by u(t), or by u(t − t0) if it happens later.
- Alexander & Sadiku, Fundamentals of Electric Circuits (7th ed.), ch. 7 First-Order Circuits
- McGraw Hill lecture slides for Alexander & Sadiku ch. 7 (singularity functions), University of Rhode Island ELE 220
- Wikipedia, Heaviside step function
- Wikipedia, Dirac delta function
- Wikipedia, Ramp function
- Wikipedia, Capacitor (i = C dv/dt, W = ½Cv²)
- MIT OpenCourseWare 6.002 Circuits and Electronics, lecture 12: Capacitors and first-order systems
اختبار يتاح بعد الخطوة الأخيرة.