Thursday, July 19, 2012

Simulink - RC Circuit with a DC Source


RC_charging

RC_charging


Mahesha MG

19-Jul-2012 21:28:51

Table of Contents
Model - RC_charging
System - RC_charging
Appendix
List of Tables
1. Constant Block Properties
2. Gain Block Properties
3. Integrator Block Properties
4. Sum Block Properties
5. Block Type Count
6. Model Variables

Model - RC_charging


Full Model Hierarchy
  1. RC_charging

Simulation Parameter Value
Solver ode45
RelTol 1e-5
Refine 1
MaxStep 0.01
MaxOrder 5
ZeroCross on

System - RC_charging


Description
RC circuit with a DC source (5V) is given here.
Voltage across capacitor is 0 at t=0.


Table 1. Constant Block Properties
Name Value Sampling Mode Out Min Out Max Out Data Type Str Lock Scale Sample Time Frame Period
Voltage 5 Sample based [] [] Inherit: Inherit from 'Constant value' off inf inf

Table 2. Gain Block Properties
Name Gain Multiplication Param Min Param Max Param Data Type Str Out Min Out Max Out Data Type Str Lock Scale Rnd Meth Saturate On Integer Overflow
Gain 1/R Element-wise(K.*u) [] [] Inherit: Inherit via internal rule [] [] Inherit: Inherit via internal rule off Floor off
Gain1 1/C Element-wise(K.*u) [] [] Inherit: Inherit via internal rule [] [] Inherit: Inherit via internal rule off Floor off

Table 3. Integrator Block Properties
Name External Reset Initial Condition Source Zero Cross Continuous State Attributes
Integrator none internal on ''

Table 4. Sum Block Properties
Name Icon Shape Inputs Collapse Mode Collapse Dim Input Same DT Accum Data Type Str Out Min Out Max Out Data Type Str Lock Scale Rnd Meth Saturate On Integer Overflow
Add rectangular -+ All dimensions 1 off Inherit: Inherit via internal rule [] [] Inherit: Inherit via internal rule off Floor off

Appendix


Table 5. Block Type Count
BlockType Count Block Names
Gain 2 Gain, Gain1
Sum 1 Add
Scope 1 Scope
Integrator 1 Integrator
Constant 1 Voltage

Table 6. Model Variables
Variable Name Parent Blocks Calling string Value
C Gain1
1/C
0.0500
R Gain
1/R
30


SCOPE OUTPUT


No comments:

Post a Comment