创建自定义组件和库
了解如何创建自定义 Simscape™ Electrical™ 模块。
精选示例
Custom Inductor (B-H Curve)
A comparison in behavior of a linear and nonlinear inductor. Starting with fundamental parameter values, the parameters for linear and nonlinear representations are derived. These parameters are then used in a Simscape™ model and the simulation outputs compared.
Custom Transformer (B-H Curve)
Calculation and confirmation of a nonlinear transformer core magnetization characteristic. Starting with fundamental parameter values, the core characteristic is derived. This is then used in a Simscape™ model of an example test circuit which can be used to plot the core magnetization characteristic on an oscilloscope. Model outputs are then compared to the known values.
Digital Potentiometer Parameterized from Datasheet
How to model a digital potentiometer such as is used to control audio amplifiers from a digital circuit or microprocessor-controlled system. The model also shows how you can create your own custom blocks in order to extend the Simscape™ Electrical™ library.
Electrical Transformer with Hysteresis
Model a custom transformer that exhibits hysteresis by using the Non Linear Reluctance block in a magnetic circuit. The transformer is rated for a 50W load and steps down from 120V to 12V rms. The magnetizing resistance Rm is modeled in the magnetic domain using an Eddy Loss block.
Frequency-Dependent Transmission Line
A custom frequency-dependent transmission line model. The characteristic admittance and propagation function are first derived from the frequency-dependent resistance, reactance, and susceptance. The derived values are fitted using RF Toolbox. The Universal Line Model (ULM) [1] is then implemented in Simscape based on the fitted parameters. The results from the frequency-dependent transmission line model and the classic pi-section transmission line model are compared.
三相自定义 PMSM
此示例展示了永磁同步电机 (PMSM) 的自定义 Simscape™ 实现。要查看 PMSM 源代码,请双击电机模块,然后点击“源代码”超链接。该测试电路显示 PMSM 用作发电机,整流器模块将感应 AC 反电动势转换为 DC 电压,该电压随后施加到电阻负载。
Three-Phase Custom Simplified Synchronous Machine
How simplify the custom Simscape™ synchronous machine model.
Three-Phase Custom Synchronous Machine
A custom Simscape™ implementation of a Synchronous Machine (SM). To view the SM source code, double-click on the Synchronous Machine block and then click on the hyperlink 'Source code'.
Three-Phase Custom Zigzag Transformer
Two different ways to create a custom transformer component. The first uses built-in library blocks to lay out the magnetic circuit as a masked Simulink® subsystem. The second builds a custom Simscape™ component using the Simscape language.
带开放端绕组的四相 PMSM 的速度控制
此示例展示了如何控制电力牵引驱动装置中的转子角转速,该驱动装置使用带开放端绕组的四相永磁同步电机 (PMSM)。要查看 Open-End PMSM (Four-Phase) 模块的源代码,请双击该模块,然后点击“描述”选项卡中的“源代码”超链接。DC 电压源通过两个受控四相转换器为 PMSM 供电。PMSM 根据负载以电机模式和发电模式运行。理想转矩源提供负载。Scopes 子系统包含示波器,可用于查看仿真结果。Control 子系统包含基于 PI 的级联控制结构,该结构具有一个外层角速度控制环和四个内层电流控制环。在时长一秒的仿真过程中,角速度需求为 0 rpm、500 rpm、2000 rpm,然后是 3000 rpm。
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)










