防止反电动势尖峰
添加二极管,避免线圈损坏开发板
防止反电动势尖峰 是 CoddyKit 上的免费 Arduino & IoT Academy 课时。 这是第 4 节课,共 4 节。 你可以在下方免费阅读本课时的完整内容 — 然后在浏览器中使用内置代码编辑器和全天候 AI 导师进行实践。 这是 Arduino & IoT Academy 学习路径的一部分,你的进度在网页和 CoddyKit 应用中同步。 Arduino & IoT Academy 课程共包含 4 节课。
本课时的部分内容尚未翻译,以英文显示。
Coils Store Energy
Motors and relays contain a coil of wire. While current flows, that coil quietly stores energy in a magnetic field around it. 🧲
The Sudden Cutoff
When you switch the coil off, that stored energy has nowhere to go. The collapsing field forces a huge voltage spike in the opposite direction.
Meet the Flyback Spike
This reverse surge is the flyback spike. It can reach hundreds of volts for an instant, far beyond what your transistor or board can shrug off.
Why It Damages Parts
That spike slams into your switching transistor and can punch right through it. Over time it fries drivers and corrupts nearby Arduino pins.
The Fix Is a Diode
The classic cure is a flyback diode placed across the coil. It gives that surge a safe loop to circulate in instead of attacking your circuit.
Diodes Are One-Way
A diode lets current pass in only one direction. During normal operation it blocks; during the spike it suddenly conducts and drains the energy.
Mind the Orientation
Orientation matters. The diode's striped cathode goes to the positive supply so it stays blocked normally and only opens for the reverse spike.
Backwards Means Trouble
Wire the diode the wrong way and it shorts your supply the moment power is on. Always double-check the stripe before you power up. ⚠️
A Common Choice
The 1N4007 diode is a cheap, sturdy pick for relay and small-motor coils. It handles the brief surge without breaking a sweat.
Often Already Built In
Good news: most relay modules already include a flyback diode on board. You only add one yourself when driving a bare coil or raw motor.
A Tiny Part, Big Protection
One cheap diode across every inductive load saves your driver and your board. It is the habit that separates reliable builds from flaky ones.
Quick Check
Where do you place a flyback diode and why?
Recap
Switching a coil off makes a damaging flyback spike. A diode across the coil, cathode to positive, absorbs it. Many modules include one already. 🚀
常见问题解答
「防止反电动势尖峰」课时是免费的吗?
是的 — 「防止反电动势尖峰」的完整文本可在网页上免费阅读。要进行交互式练习(内置代码编辑器和全天候 AI 导师)并解锁 Arduino & IoT Academy 课程的其余内容,请升级到 CoddyKit PRO。 Arduino & IoT Academy 课程共包含 4 节课。
「防止反电动势尖峰」这节课中我会学到什么?
添加二极管,避免线圈损坏开发板 你通过在浏览器中直接运行的动手代码来练习 Arduino & IoT Academy,全天候 AI 导师会在你学习这节课的过程中回答你的问题。
学习 Arduino & IoT Academy 需要有经验吗?
无需任何先前经验。CoddyKit 上的 Arduino & IoT Academy 课程适合初学者到高级学习者,你可以从这里开始或从头开始,按照自己的节奏学习。 这是第 4 节课,共 4 节。
「防止反电动势尖峰」课时需要多长时间?
大多数 CoddyKit 课程大约需要 5–10 分钟。每节课都很精短且互动,所以你能稳步进步,并在网页和应用中从离开的地方继续。
我能在这节 Arduino & IoT Academy 课中编写并运行代码吗?
能。每节 Arduino & IoT Academy 课都包含内置代码编辑器,你可以在浏览器中直接编写并运行真实代码,并获得即时 AI 反馈 — 无需本地设置。
此课程中的所有课时
- 为什么需要驱动器
- 使用 H 桥控制速度与方向
- 使用继电器切换市电设备
- 防止反电动势尖峰