如何实施Kirchoff规则 [英] How to Implement Kirchoff Rules

查看:80
本文介绍了如何实施Kirchoff规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.用于电路表示的数据结构




  • 用于Kirchoff规则计算目的

  • 如何区分不同类型的电气元件

  • 如何识别他们之间的电线互连



2.执行Kirchoff规则




  • 如何获取当前和电压循环

  • 如何存储和评估Kirchoff方程



[原始问题文本]
具体来说,程序如何识别是串联和并联的,它将如何区分电池,电阻,电容,电感等。

解决方案

Java的面向对象语言您开始考虑如何将系统建模为对象。



您已经有几个对象候选人:




  • 电池

  • 电阻器

  • 电容器

  • 电感



这些将具有输入和输出节点。一个输出是输入到下一个。



晶体管怎么样?您将有多个输入。然后怎样呢?那些是非线性的。您如何模拟这些?



您将为每个人建立正确的行为并将其连接在一起。



这里有一些瞬时强制功能。输入电流或电压波形。输出是每个节点的电流和电压与时间的关系。



这是电气工程师相当于有限元分析。



<这些都是ODE的暂时性,对吧?你打算如何解决?数值整合


1.What data structure to use for electric circuit representation

  • for Kirchoff Rules computation purposes
  • how to differentiate between different types of electric components
  • how to 'recognize' wire inter-connections between them

2.how to implement Kirchoff Rules

  • how to obtain current and voltage loops
  • how to store and evaluate Kirchoff equations

[original question text] Specifically, how would the program recognize something is in series and parallel and how will it differentiate between a battery, resistor, capacitor, inductors, etc..

解决方案

Java's an object-oriented language. Start thinking about how you'd model your system as objects.

You have a few object candidates already:

  • Battery
  • Resistor
  • Capacitor
  • Inductor

These would have input and output nodes. The output from one is the input to the next.

What about transistors? You'll have more than one input. What then? Those are non-linear. How do you model those?

You'll build in the proper behavior for each one and wire them together.

You'll have some kind of transient forcing function here. Input current or voltage waveforms. Output is current and voltage at each node versus time.

This is the electrical engineer's equivalent of finite element analysis.

These are really transient ODE, right? How do you plan to solve them? Numerical integration?

这篇关于如何实施Kirchoff规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆