ฟิลเตอร์และเรโซแนนซ์ (Filters & Resonance)
Filters & Resonance
fc = 1/(2πRC) • ผ่านต่ำ ผ่านสูง • −3 dB • วงจรเรโซแนนซ์ RLCLow-pass • High-pass • −3 dB • RLC resonance
- ตัวเก็บประจุกับตัวเหนี่ยวนำต้านกระแสไม่เท่ากันทุกความถี่ นี่คือสิ่งเดียวที่ทำให้แยกสัญญาณด้วยความถี่ได้
- ดูว่าอะไรขนานอยู่กับขาออก แล้วอ่านวงจรออกทันที เป็นตัวเก็บประจุคือผ่านความถี่ต่ำ เป็นตัวเหนี่ยวนำคือผ่านความถี่สูง
- ความถี่ตัดไม่ใช่กำแพง ที่จุดตัดสัญญาณยังผ่านได้ 70.7% ฟิลเตอร์ลดทอน ไม่ได้ตัดขาด
- A capacitor and an inductor oppose current differently at every frequency. That one fact is what lets a circuit sort signals by frequency at all.
- Look at what sits in parallel with the output and you have read the circuit — a capacitor means low-pass, an inductor means high-pass.
- Cutoff is not a wall. At the cutoff frequency 70.7% still gets through. Filters attenuate; they do not cut.
ในสายไฟเส้นเดียวมักมีทั้ง สัญญาณที่เราต้องการ และ สิ่งที่เราไม่ต้องการ ปนกันอยู่ และสองอย่างนี้แทบทุกครั้ง อยู่คนละความถี่กัน ฟิลเตอร์คือวงจรที่แยกมันออกจากกันด้วยความถี่ ไม่ใช่ด้วยขนาดของสัญญาณ
One wire usually carries both the signal you want and things you do not — and almost always the two sit at different frequencies. A filter separates them by frequency, not by size.
- คาปาซิเตอร์กรองในแหล่งจ่ายไฟ — ปล่อยไฟ DC (0 Hz) ผ่าน แล้วรีดริปเปิล 100 Hz ทิ้ง คือฟิลเตอร์ผ่านความถี่ต่ำเต็มตัว
- EMI filter หน้าเครื่องซักผ้าและบอร์ดสวิตชิ่ง — กันสัญญาณรบกวนความถี่สูงจากบอร์ดไม่ให้ย้อนออกไปกวนไฟบ้าน
- คาปาซิเตอร์ 0.1 µF คร่อมขาไฟของไอซี — ลัดสัญญาณรบกวนความถี่สูงลงกราวด์ตรงจุดที่มันเกิด
- วงจรเลือกสถานีวิทยุ — วงจรเรโซแนนซ์ที่ยอมให้ผ่านเฉพาะความถี่แคบ ๆ ความถี่เดียว
- ครอสโอเวอร์ในตู้ลำโพง — ส่งเสียงทุ้มไปวูฟเฟอร์และเสียงแหลมไปทวีตเตอร์ ด้วยฟิลเตอร์คนละแบบ
- The smoothing capacitor in a power supply passes DC (0 Hz) and strips the 100 Hz ripple — a low-pass filter through and through.
- The EMI filter at the mains inlet of a washing machine or switching board keeps high-frequency noise from escaping back into the house wiring.
- The 0.1 µF capacitor across an IC's supply pins shunts high-frequency noise to ground right where it is created.
- A radio's tuning circuit is a resonant filter that admits one narrow band and rejects the rest.
- A loudspeaker crossover sends bass to the woofer and treble to the tweeter using two different filters.
- รีแอกแตนซ์ — ความต้านทานกระแสของตัวเก็บประจุหรือตัวเหนี่ยวนำ ที่ค่าเปลี่ยนไปตามความถี่ หน่วยเป็นโอห์มเหมือนกัน
- แถบผ่าน — ช่วงความถี่ที่ฟิลเตอร์ยอมให้ผ่านเกือบเต็ม ส่วนนอกช่วงนั้นเรียกแถบกั้น
- เดซิเบล (dB) — มาตราส่วนที่บีบอัตราส่วนใหญ่ ๆ ให้เป็นเลขน้อย ๆ · เหลือครึ่งกำลังคือ −3 dB เหลือหนึ่งในสิบของแรงดันคือ −20 dB
- decade — ระยะทางบนแกนความถี่ที่เท่ากับ คูณสิบ · จาก 100 Hz ไป 1 kHz คือหนึ่ง decade
- มุมเฟส — คลื่นขาออกช้าหรือเร็วกว่าคลื่นขาเข้ากี่องศา · ฟิลเตอร์ทำให้เกิดค่านี้เสมอ ไม่ได้ลดแค่ขนาด
- ค่า Q — ความแหลมของยอดในวงจรเรโซแนนซ์ · Q สูงคือเลือกความถี่ได้เฉียบแต่แถบแคบ
- Reactance — the opposition to current from a capacitor or inductor, in ohms like resistance, but changing with frequency.
- Pass band — the range of frequencies a filter lets through nearly untouched; outside it is the stop band.
- Decibel (dB) — a scale that squeezes big ratios into small numbers. Half the power is −3 dB; a tenth of the voltage is −20 dB.
- Decade — a distance along the frequency axis equal to a factor of ten. From 100 Hz to 1 kHz is one decade.
- Phase angle — how many degrees the output wave lags or leads the input. A filter always produces one; it does not only change size.
- Q — how sharp the peak of a resonant circuit is. High Q selects a frequency keenly but over a narrow band.
ตัวต้านทานต้านกระแสเท่ากันทุกความถี่ แต่ ตัวเก็บประจุ กับ ตัวเหนี่ยวนำ ไม่ใช่ — ความต้านทานของมันเปลี่ยนตามความถี่ เรียกว่า รีแอกแตนซ์ และนี่คือสิ่งเดียวที่ทำให้ฟิลเตอร์เป็นไปได้
A resistor opposes current equally at every frequency. A capacitor and an inductor do not — their opposition changes with frequency, and it is called reactance. That single fact is what makes filters possible.
ความถี่ยิ่งสูง XC ยิ่งต่ำ — ตัวเก็บประจุกั้นไฟ DC แต่ปล่อยความถี่สูงผ่าน ที่ 0 Hz ค่าเป็นอนันต์ (วงจรเปิด)
Higher frequency, lower XC — a capacitor blocks DC and passes high frequencies. At 0 Hz it is infinite: an open circuit.
ความถี่ยิ่งสูง XL ยิ่งสูง — ตัวเหนี่ยวนำปล่อย DC ผ่านสบาย แต่ขวางความถี่สูง ตรงข้ามกับตัวเก็บประจุพอดี
Higher frequency, higher XL — an inductor passes DC easily and obstructs high frequencies, the exact opposite of a capacitor.
ลองใช้กฎ 3 วินาทีจากหัวข้อที่แล้วกับทั้งสี่ใบก่อน — ดูรูปแล้วทายเองว่าอะไรขนานอยู่กับขาออก แล้วค่อยอ่านบรรทัดใต้รูปเพื่อเฉลย ฝึกแบบนี้ไม่กี่ครั้งก็อ่านฟิลเตอร์ได้โดยไม่ต้องจำภาพอีกเลย
Try the three-second rule from the previous section on all four first: look at each drawing, decide for yourself what is parallel with the output, and only then read the caption. A few rounds of that and you will never need to memorise these pictures.
RC ผ่านความถี่ต่ำRC low-pass
C ขนานกับขาออก → ความถี่สูงถูกลัดลงกราวด์ · fc = 1/(2πRC)
C across the output shunts highs to ground · fc = 1/(2πRC)
- กรองสัญญาณรบกวนออกจากสายเซ็นเซอร์ก่อนเข้าขาอ่านค่าของไมโครคอนโทรลเลอร์
- กันปุ่มกดเด้ง โดยให้แรงดันค่อย ๆ ขึ้นแทนที่จะกระตุกเป็นพัลส์หลายลูก
- เกลี่ยพัลส์ PWM ให้กลายเป็นแรงดันไฟตรงเฉลี่ยเรียบ ๆ
- Cleaning noise off a sensor line before it reaches a microcontroller input.
- Debouncing a pushbutton, so the voltage rises smoothly instead of chattering.
- Smoothing a PWM output into a steady average DC voltage.
RC ผ่านความถี่สูงRC high-pass
สลับที่ R กับ C แล้วผลกลับข้าง · fc สูตรเดิม
Swap R and C and the response flips · same fc formula
- คัปปลิงระหว่างภาคขยาย ส่งสัญญาณข้ามไปโดยไม่พาไฟไบอัสของภาคก่อนไปด้วย
- ปุ่ม AC ของออสซิลโลสโคป คือฟิลเตอร์ตัวนี้ กดแล้วไฟตรงหายไป เหลือแต่ริปเปิลให้ดู
- ตัดเสียงฮัม 50 Hz และเสียงลมออกจากไมโครโฟน
- Coupling between amplifier stages, passing the signal without dragging the previous stage's bias along.
- The AC button on an oscilloscope is exactly this filter: press it and the DC level vanishes, leaving the ripple to look at.
- Removing 50 Hz hum and wind rumble from a microphone.
RL ผ่านความถี่ต่ำRL low-pass
L ขวางความถี่สูงไว้ที่ทางเข้า · fc = R/(2πL)
L blocks highs on the way in · fc = R/(2πL)
- โช้กใน EMI filter หน้าเครื่อง กันสัญญาณรบกวนจากบอร์ดไม่ให้ย้อนออกไปกวนไฟบ้าน
- ตัวเหนี่ยวนำในภาคจ่ายไฟสวิตชิ่ง ที่เกลี่ยกระแสสับความถี่สูงให้เป็นไฟตรงเรียบ
- ตัว R-Factor บนบอร์ดเครื่องซักผ้าฝาบน ก็คือตัวเหนี่ยวนำที่ทำหน้าที่นี้
- The choke in a mains EMI filter, stopping board noise from escaping into the house wiring.
- The inductor in a switching supply, smoothing chopped high-frequency current into steady DC.
- The R-Factor part on a top-loader board is an inductor doing this job.
RL ผ่านความถี่สูงRL high-pass
L ขนานกับขาออก ลัดความถี่ต่ำลงกราวด์ · fc = R/(2πL)
L across the output shunts lows · fc = R/(2πL)
- ครอสโอเวอร์ในตู้ลำโพง ฝั่งที่ต้องกันเสียงทุ้มไม่ให้เข้าทวีตเตอร์
- วงจรความถี่วิทยุ ที่ค่า L ต่ำ ๆ ก็พอแล้วเพราะความถี่สูงมาก
- งานทั่วไปจึงเลือกใช้ RC ผ่านความถี่สูงแทนเกือบทุกครั้ง
- Loudspeaker crossovers, on the side that must keep bass out of the tweeter.
- Radio-frequency circuits, where the frequencies are so high that a tiny inductor suffices.
- For everyday work an RC high-pass is chosen almost every time instead.
RC ใช้กับสายสัญญาณ เพราะคาปาซิเตอร์เล็ก ถูก และไม่แผ่สนามแม่เหล็กไปกวนใคร กระแสในสายสัญญาณน้อยอยู่แล้ว ตัวต้านทานจึงไม่ร้อน
RL ใช้กับสายไฟกำลัง เพราะถ้าเอาตัวต้านทานไปคั่นทางเดินกระแสหลายแอมป์ มันจะร้อนและกินแรงดันทิ้งเปล่า ๆ ส่วนตัวเหนี่ยวนำขวางเฉพาะความถี่สูง แต่ปล่อยไฟที่ต้องการผ่านโดยแทบไม่เสียกำลังเลย
จำสั้น ๆ ว่า เจอฟิลเตอร์บนสายสัญญาณให้มองหา C · เจอบนสายไฟหลักให้มองหาโช้ก 🤔 So which one, RC or RL? They do the same job; the difference is practical.
RC belongs on signal lines. Capacitors are small, cheap and radiate no magnetic field, and signal currents are tiny, so the resistor never gets warm.
RL belongs on power lines. Putting a resistor in the path of several amps means heat and wasted voltage, whereas an inductor obstructs only the high frequencies and passes the useful current at almost no loss.
Short version: a filter on a signal line means look for a capacitor; one on a mains line means look for a choke.
ทั้งสองสูตรมาจากเงื่อนไขเดียวกัน คือ จุดที่รีแอกแตนซ์เท่ากับความต้านทานพอดี ไม่ต้องท่องแยกกัน
Both formulas come from one condition — the point where reactance equals resistance. No need to memorise them separately.
① เปลี่ยนหน่วยให้เป็นโอห์มกับฟารัดก่อน: R = 1,000 Ω · C = 0.1 µF = 1 × 10⁻⁷ F
② คูณกันก่อน: 2π × 1,000 × 1 × 10⁻⁷ ≈ 6.28 × 10⁻⁴
③ กลับเศษส่วน: fc = 1 ÷ 0.000628 ≈ 1,591 Hz
แปลว่าสัญญาณ 160 Hz ผ่านได้เกือบเต็ม ส่วน 16 kHz เหลือราวหนึ่งในสิบ 🧮 Worked example, one step at a time: R = 1 kΩ and C = 0.1 µF
① Convert to ohms and farads first: R = 1,000 Ω, C = 0.1 µF = 1 × 10⁻⁷ F
② Multiply the bottom out: 2π × 1,000 × 1 × 10⁻⁷ ≈ 6.28 × 10⁻⁴
③ Take the reciprocal: fc = 1 ÷ 0.000628 ≈ 1,591 Hz
So a 160 Hz signal passes almost untouched, while 16 kHz is cut to roughly a tenth.
ความถี่ตัดไม่ใช่กำแพง — ที่ fc สัญญาณยังผ่านได้ตั้ง 70.7% ของเดิม ที่เรียกว่า "ตัด" เพราะเป็นจุดที่ กำลังไฟฟ้าเหลือครึ่งเดียว พอดี (0.707² = 0.5) และเมื่อคิดเป็นเดซิเบลจะได้ −3 dB พอดี จึงใช้เป็นหมุดหมายสากล
Cutoff is not a wall. At fc the signal is still 70.7% of what went in. It counts as "cut" because that is where the power is halved (0.707² = 0.5), which works out to exactly −3 dB — hence the universal marker.
เดซิเบล (dB) คือมาตราส่วนที่บีบอัตราส่วนใหญ่ ๆ ให้เป็นเลขน้อย ๆ อ่านง่ายขึ้น · จำสามหมุดนี้พอ: ผ่านเต็ม = 0 dB · เหลือ 70.7% = −3 dB · เหลือหนึ่งในสิบ = −20 dB · ตัวเลขติดลบแปลว่าลดลง
decade คือระยะบนแกนความถี่ที่เท่ากับ คูณสิบ · จาก 100 Hz ไป 1 kHz คือหนึ่ง decade และจาก 1 kHz ไป 10 kHz ก็อีกหนึ่ง decade เท่ากัน แม้ตัวเลขจะห่างกันมากกว่า 📏 Two words to know before the table below
A decibel (dB) is a scale that squeezes big ratios into small, readable numbers. Three landmarks are enough: full signal = 0 dB, 70.7% left = −3 dB, a tenth left = −20 dB. A negative number means a reduction.
A decade is a distance along the frequency axis equal to a factor of ten. From 100 Hz to 1 kHz is one decade, and 1 kHz to 10 kHz is another one of exactly the same size, even though the numbers are further apart.
| ความถี่เทียบ fcFrequency vs fc | แรงดันที่ผ่านVoltage through | เดซิเบลDecibels | ความหมายMeaning |
|---|---|---|---|
| 0.1 × fc | ≈ 99.5% | ≈ 0 dB | อยู่ในย่านผ่านเต็ม ๆSolidly in the pass band |
| fc | 70.7% | −3 dB | กำลังเหลือครึ่งเดียว — นิยามของความถี่ตัดHalf the power — the definition of cutoff |
| 10 × fc | ≈ 10% | −20 dB | ห่างไป 1 decade เหลือหนึ่งในสิบOne decade out, a tenth remains |
| 100 × fc | ≈ 1% | −40 dB | 2 decade เหลือหนึ่งในร้อย — ยังไม่เป็นศูนย์Two decades, a hundredth — still not zero |
เลือกชนิดฟิลเตอร์ ปรับค่าอุปกรณ์ แล้วเลื่อน ความถี่สัญญาณ ไปดูว่าที่ความถี่นั้นเหลือผ่านมาเท่าไร · แกนนอนเป็นลอการิทึม ความชันคงที่จึงกลายเป็นเส้นตรง
Pick a filter, set the parts, then slide the signal frequency to see how much survives. The horizontal axis is logarithmic, which turns a constant roll-off into a straight line.
XC ลดลงเมื่อความถี่สูงขึ้น ส่วน XL เพิ่มขึ้น จึงต้องมีความถี่หนึ่งที่ สองค่านี้เท่ากันพอดี และเนื่องจากมันมีเฟสตรงข้ามกัน 180° มันจึง หักล้างกันหมดจนเหลือแต่ R ความถี่นั้นเรียกว่าความถี่เรโซแนนซ์
XC falls with frequency while XL rises, so there must be one frequency where the two are equal. Because they act 180° apart, they cancel completely and leave only R. That frequency is the resonant frequency.
ไม่มี R อยู่ในสูตร — ค่า R ไม่ได้ย้ายตำแหน่งยอด แต่เป็นตัวกำหนดว่ายอดจะแหลมหรือป้าน
R is not in the formula. It does not move the peak — it decides how sharp or blunt the peak is.
⏭️ กล่องนี้ข้ามได้ในรอบแรก — รู้แค่ว่า "R น้อย ยอดแหลม" ก็พอสำหรับตอนนี้ กลับมาดูสูตรตอนต้องออกแบบเองก็ทัน ⏭️ Skip this box on a first read — "less R, sharper peak" is enough for now. Come back to the formulas when you have one to design.
Q สูง = ยอดแหลม แถบผ่านแคบ เลือกความถี่ได้เฉียบ · Q ต่ำ = แถบกว้าง
High Q means a sharp peak and a narrow band; low Q means a wide one.
| แบบType | ที่ f0 เกิดอะไรAt f0 | ใช้ทำอะไรUsed for |
|---|---|---|
| อนุกรมSeries | อิมพีแดนซ์ ต่ำสุด เหลือแค่ R กระแสสูงสุดMinimum impedance, just R, so maximum current | ปล่อยความถี่เดียวผ่าน หรือลัดความถี่ที่ไม่ต้องการทิ้งLet one frequency through, or short an unwanted one away |
| ขนาน (แทงก์)Parallel (tank) | อิมพีแดนซ์ สูงสุด กระแสวนอยู่ในวงจร LC เองMaximum impedance, with current circulating inside the LC loop | วงจรเลือกสถานีวิทยุ · วงจรออสซิลเลเตอร์ · คาปาเรโซแนนซ์ในเตาแม่เหล็กไฟฟ้าRadio tuning · oscillators · the resonant capacitor in an induction stove |
ใช้เครื่องกำเนิดสัญญาณตั้งคลื่นไซน์แอมพลิจูดพอประมาณ แล้วคีบสโคปช่อง 1 ที่ขาเข้า ช่อง 2 ที่ขาออก
Set a sine of moderate amplitude on the signal generator, then put scope channel 1 on the input and channel 2 on the output.
ตั้งความถี่ต่ำ ๆ ก่อน (สำหรับฟิลเตอร์ผ่านความถี่ต่ำ) ให้ขาออกเกือบเท่าขาเข้า จำค่า Vpp ไว้ แล้วค่อย ๆ เพิ่มความถี่ขึ้น
Begin low (for a low-pass) where the output nearly equals the input, note that Vpp, then raise the frequency gradually.
ความถี่ตรงนั้นคือ fc ของวงจรจริง เทียบกับที่คำนวณได้ — ต่างกันไม่กี่เปอร์เซ็นต์ถือว่าปกติ เพราะค่าคลาดเคลื่อนของอุปกรณ์เอง
That frequency is the real fc. Compare it with the calculation — a few percent apart is normal, given component tolerances.
ที่ fc พอดี คลื่นขาออกจะเลื่อนเฟสจากขาเข้า 45° เสมอในฟิลเตอร์อันดับหนึ่ง — เป็นการยืนยันที่แม่นกว่าการอ่านความสูงของคลื่นด้วยตา
At fc a first-order filter always shifts the output by 45° — a sharper confirmation than eyeballing amplitude.
| เข้าใจผิดว่าThe mistake | ความจริงWhat actually happens |
|---|---|
| เลย fc ไปแล้วสัญญาณจะหายไปเลยPast fc the signal disappears | ที่ fc ยังผ่านตั้ง 70.7% และแม้ห่างไป 2 decade ก็ยังเหลือ 1% — ฟิลเตอร์ลดทอน ไม่ได้ตัดขาดAt fc it is still 70.7%, and two decades out 1% remains. Filters attenuate; they do not cut. |
| ต่อโหลดเข้าไปแล้ว fc ยังเท่าเดิมAdding a load leaves fc unchanged | ความต้านทานของโหลดขนานเข้ากับวงจร ทำให้ค่า R ที่มีผลจริงลดลงและ fc ขยับ — คำนวณโดยรวมโหลดด้วยเสมอThe load sits in parallel, lowering the effective R and moving fc. Always include the load in the calculation. |
| ตัวเก็บประจุตัวใหญ่กรองความถี่สูงได้ดีกว่า ⏭️ ระดับถัดไป ข้ามได้ในรอบแรกA bigger capacitor filters high frequencies better ⏭️ Next level — skip on a first read |
ตัวเก็บประจุมีความเหนี่ยวนำแฝงในขาและตัวมันเอง เลยความถี่เรโซแนนซ์ในตัวไปแล้วมันจะกลายเป็นตัวเหนี่ยวนำ — จึงต้องใส่ตัวเล็กขนานกับตัวใหญ่ ไม่ใช่เปลี่ยนเป็นตัวใหญ่ตัวเดียวEvery capacitor has parasitic inductance in its leads and body, and above its self-resonance it behaves as an inductor. That is why small ones are added in parallel with large ones, rather than fitting one big one. |
| Q สูงยิ่งดีเสมอHigher Q is always better | Q สูงแปลว่าแถบผ่านแคบ ถ้าความถี่เลื่อนไปนิดเดียวสัญญาณจะหายไปเลย และวงจรจะแกว่งเป็นสัญญาณค้าง (ringing) ง่ายขึ้นด้วยHigh Q means a narrow band — a small frequency drift loses the signal entirely, and the circuit rings more easily. |
- ฟิลเตอร์แยกสัญญาณด้วยความถี่ ไม่ใช่ด้วยขนาด ทำได้เพราะรีแอกแตนซ์ของตัวเก็บประจุกับตัวเหนี่ยวนำเปลี่ยนไปตามความถี่ และเปลี่ยนไปคนละทาง
- ดูว่าอะไรขนานกับขาออก เป็นตัวเก็บประจุคือผ่านความถี่ต่ำ เป็นตัวเหนี่ยวนำคือผ่านความถี่สูง · fc คือจุดที่รีแอกแตนซ์เท่ากับความต้านทานพอดี
- ที่ fc ยังผ่าน 70.7% และห่างไป 2 decade ก็ยังเหลือ 1% ฟิลเตอร์ลดทอนเป็นลาดเสมอ ไม่มีกำแพง
- A filter sorts signals by frequency, not by size, and it can do so because the reactance of a capacitor and an inductor changes with frequency, in opposite directions.
- Look at what is parallel with the output — a capacitor means low-pass, an inductor high-pass. The cutoff is where reactance equals resistance.
- At fc 70.7% still passes, and two decades out 1% remains. A filter is always a slope, never a wall.