基于Python的线性动态电路可视化分析软件设计与实现  被引量:4

Design and Implementation of Visual Analysis Software for Linear Dynamic Circuit Based on Python

在线阅读下载全文

作  者:康颢 沈瑶[1] 王博文 赵彦珍[1] KANG Hao;SHEN Yao;WANG Bowen;ZHAO Yanzhen(School of Electrical Engineering,Xi’an Jiaotong University,Xi’an 710049,China)

机构地区:[1]西安交通大学电气工程学院,西安710049

出  处:《实验室研究与探索》2022年第2期116-120,共5页Research and Exploration In Laboratory

摘  要:针对线性动态电路手工求解困难的问题,使用Python语言设计并开发线性动态电路可视化分析软件。该软件可自动求解动态电路在稳态下的各结点电压与支路电流;采用状态方程与龙格库塔法自动求解任意阶线性动态电路的时域数值解。借助Pygame库开发可视化界面,用户可通过鼠标与命令行操作进行电路原理图的交互式绘制、数据自动分析以及结果显示。该软件的开发,为线性动态电路的仿真提供了一种便捷、高效且实用的途径,同时锻炼学生综合运用计算机手段和电路理论解决问题的能力,为培养新工科人才提供借鉴。Aiming at the difficult problem of solving the linear dynamic circuit manually,a visual analysis software of linear dynamic circuit is designed and developed by Python.This software can automatically calculate the node voltages and branch currents of the dynamic circuit in the steady state,and obtain the numerical transient response of any order linear dynamic circuit with the state equation and Runge-Kutta method.A visual user interface is developed using Pygame,with which users can draw circuit diagrams,automatically analyze circuits,and obtain visualize results through the mouse or command lines.The design and implementation of this software provides a convenient,efficient and practical method for the simulation of linear dynamic circuits,exercises students’ability to apply computer and circuit theory to solve problems,and provides reference for training new engineering talents.

关 键 词:动态电路 状态方程 龙格库塔法 可视化界面 

分 类 号:TM131.2[电气工程—电工理论与新技术] TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象