跳到内容
🛠️ToolsShed

Inductance Converter

在Henry、Millihenry、Microhenry、Nanohenry和Picohenry单位之间转换。

单位Henry (H) 中的值
Henry (H)1.00e+0
Millihenry (mH)1.00e-3
Microhenry (µH)1.00e-6
Nanohenry (nH)1.00e-9
Picohenry (pH)1.00e-12

关于此工具

电感是电气电路的基本属性,描述了线圈或导体能够储存多少磁能。电感转换器工具帮助工程师、电工和电子爱好者快速在亨利(H)、毫亨利(mH)、微亨利(µH)、纳亨利(nH)和皮亨利(pH)等不同电感单位之间进行转换。无论您是在设计电路、查阅元件规格说明书还是排查电气系统问题,准确的电感测量对于确保设备正常运行至关重要。

使用该工具时,只需在任何电感单位字段中输入一个值,转换器就会立即显示所有其他单位的等效值。您可以输入整数、小数或科学记数法—工具会自动处理所有格式。常见的应用场景包括从数据手册中转换电感元件值、计算交流电路中的阻抗、进行滤波器设计以及根据电路图验证元件规格。

该转换器对于设计射频(RF)元件的电路设计师、调试滤波器电感的电源工程师以及学习电磁学原理的学生特别有用。该工具消除了手动计算错误,并节省了在不同工程学科和地理区域常用的公制单位和专用单位之间切换所需的时间。

常见问题

代码实现

# Inductance unit converter
INDUCTANCE_TO_HENRY = {
    "H":  1,
    "mH": 1e-3,
    "uH": 1e-6,   # µH
    "nH": 1e-9,
    "pH": 1e-12,
}

def convert_inductance(value: float, from_unit: str, to_unit: str) -> float:
    """Convert between inductance units via henry (H)."""
    value_in_henry = value * INDUCTANCE_TO_HENRY[from_unit]
    return value_in_henry / INDUCTANCE_TO_HENRY[to_unit]

# XL = 2π × f × L  (inductive reactance in ohms)
import math
def inductive_reactance(inductance_h: float, frequency_hz: float) -> float:
    return 2 * math.pi * frequency_hz * inductance_h

# Example
print(convert_inductance(1000, "nH", "uH"))  # 1.0 µH
print(convert_inductance(1, "mH", "H"))       # 0.001 H

# Reactance of 100µH inductor at 1MHz
xl = inductive_reactance(100e-6, 1e6)
print(f"XL at 1 MHz: {xl:.2f} Ω")  # 628.32 Ω

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.