Current Source
Physical Networks
运行在线示例
免费 · 无需注册 · 直接在浏览器中运行
Ideal or Norton-equivalent electrical current source supporting DC, sinusoidal AC, and real-time signal modulation via the optional Ctrl input port.
数学模型
Current flows internally from terminal n to terminal p (delivering out of p into the circuit):
输入与输出
| Direction | ID | Label | 类型 | Status |
|---|---|---|---|---|
| → In | p |
+ | number | Required |
| → In | n |
- | number | Required |
| → In | in |
Ctrl | number | Optional |
参数
| 参数 | Label | 类型 | 默认值 | 描述 |
|---|---|---|---|---|
current |
Current (I) | number | 1 |
Output current amplitude in Amperes |
source_type |
Type | select | DC |
DC constant current or AC sinusoidal current |
frequency |
Frequency (Hz) | number | 50 |
AC frequency in Hertz |
parallelResistance |
Parallel Resistance (Rp) | number | 0 |
Optional Norton parallel resistance in Ohms (0 = ideal infinite impedance) |
使用示例
Example 1: Norton Current Divider
Set current = 2 A and parallelResistance = 100 Ω across a 100 Ω load resistor to observe across the load.
Example 2: Controlled Current Charging
Wire a Step block into Ctrl to charge a Capacitor at a constant current ().
说明与最佳实践
- Never Open-Circuit an Ideal Current Source: An ideal current source (
parallelResistance = 0) without a closed return path toGroundmakes the MNA matrix singular. - Norton Equivalence: Setting
parallelResistance > 0models a real current driver and keeps the node well-conditioned.
相关模块
- VoltageSource/docs.md" class="bw-link">VoltageSource
- Resistor/docs.md" class="bw-link">Resistor
- Capacitor/docs.md" class="bw-link">Capacitor