Skip to content

Commit 2aed6d6

Browse files
committed
Updated with addtional line about where to find learning objectives if using a version older than 2023b.
1 parent 2b46842 commit 2aed6d6

3 files changed

Lines changed: 122 additions & 0 deletions

File tree

MainMenu.mlx

89.2 KB
Binary file not shown.

README.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
2+
<a name="T_DEF03274"></a>
3+
# <span style="color:rgb(213,80,0)">DC Circuit Analysis</span>
4+
<a name="H_053613DF"></a>
5+
6+
[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/103375-dc-circuit-analysis) or [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj)
7+
8+
**Curriculum Module**
9+
10+
_Created with R2021b. Compatible with R2021b and later releases._
11+
12+
# Information
13+
14+
This curriculum module contains interactive [MATLAB® live scripts](https://www.mathworks.com/products/matlab/live-editor.html) and [Simscape™](https://www.mathworks.com/products/simscape.html) models that teaches the fundamental concepts of DC circuits.
15+
16+
<a name="H_F00D98E4"></a>
17+
## Background
18+
19+
You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. DC Circuit Analysis covers topics such as mesh analysis, nodal analysis, thevenin circuits, RL circuits, RLC circuits, and op amps. It also includes an application of a virtual oscilloscope to perform measurements of the variety of DC circuits.
20+
21+
22+
The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the <img src="Images/image_0.png" width="19" alt="image_0.png"> Stop button in the **RUN** section of the **Live Editor** tab in the MATLAB Toolstrip.
23+
24+
## Contact Us
25+
26+
Solutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:onlineteaching@mathworks.com) if you would like to request solutions, provide feedback, or if you have a question.
27+
28+
<a name="H_30BC7141"></a>
29+
## Prerequisites
30+
31+
This module assumes knowledge of basic ciruit theory and standard electrical circuit notation. There is minimal MATLAB and Simscape knowledge required for these scripts, but you could use [MATLAB Onramp](https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted) and [Circuit Simulation Onramp](https://matlabacademy.mathworks.com/details/circuit-simulation-onramp/circuits) as a resource to acquire familiarity with MATLAB syntax, live scripts, and models.
32+
33+
<a name="H_330E72C3"></a>
34+
## Getting Started
35+
### Accessing the Module
36+
### **On MATLAB Online:**
37+
38+
Use the [<img src="Images/image_1.png" width="136" alt="image_1.png">](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj) link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.
39+
40+
### **On Desktop:**
41+
42+
Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on [DCCircuitAnalysis.prj](matlab: openProject("DCCircuitAnalysis.prj")). It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.
43+
44+
45+
Ensure you have all the required products ([listed below](#H_E850B4FF)) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the **Home** tab and select <img src="Images/image_2.png" width="16" alt="image_2.png"> **Add-Ons** > **Get Add-Ons**.
46+
47+
<a name="H_E850B4FF"></a>
48+
## Products
49+
50+
*MATLAB* is used throughout. Tools from *Simulink®, Simscape, Simscape Electrical™, and DSP System Toolbox*™ are used frequently as well.
51+
52+
<a name="H_E8C62B23"></a>
53+
# Scripts
54+
55+
*If you are viewing this in a version of MATLAB prior to R2023b, you can view the learning outcomes for each script* [*here*](https://www.mathworks.com/matlabcentral/fileexchange/103375-dc-circuit-analysis)
56+
57+
<a name="H_BC8955C0"></a>
58+
## [**MeshAnalysis.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj&file=MeshAnalysis.mlx)
59+
| | **In this script, students will...** | **Academic disciplines** |
60+
| :-- | :-- | :-- |
61+
| <img src="Images/image_3.png" width="171" alt="image_3.png"> | • Use mesh analysis to compute currents through a linear circuit.• Solve the matrix form of circuit equations in MATLAB.• Model and analyze linear circuits in Simscape. | • Electrical Engineering |
62+
63+
<a name="H_17056DF7"></a>
64+
## [**NodalAnalysis.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj&file=NodalAnalysis.mlx)
65+
| | **In this script, students will...** | **Academic disciplines** |
66+
| :-- | :-- | :-- |
67+
| <img src="Images/image_4.png" width="171" alt="image_4.png"> | • Use nodal analysis to compute voltages.• Solve the matrix form of circuit equations in MATLAB.• Model and analyze linear circuits in Simscape. | • Electrical Engineering |
68+
69+
<a name="H_93FB3755"></a>
70+
## [**TheveninNorton.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj&file=TheveninNorton.mlx)
71+
| | **In this script, students will...** | **Academic disciplines** |
72+
| :-- | :-- | :-- |
73+
| <img src="Images/image_5.png" width="171" alt="image_5.png"> | • Explain Thevenin and Norton equivalent circuits.• Solve for Thevenin and Norton equivalents.• Compare circuits to their Thevenin and Norton equivalents. | • Electrical Engineering |
74+
75+
<a name="H_D4F9A4D1"></a>
76+
## [**RCCircuits.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj&file=RCCircuits.mlx)
77+
| | **In this script, students will...** | **Academic disciplines** |
78+
| :-- | :-- | :-- |
79+
| <img src="Images/image_6.png" width="171" alt="image_6.png"> | • Simulate charging and discharging RC circuits.• Plot solutions of RC circuit differential equations.• Measure the time constant of an RC circuit. | • Electrical Engineering |
80+
81+
<a name="H_1E0A6441"></a>
82+
## [**RLCCircuits.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj&file=RLCCircuits.mlx)
83+
| | **In this script, students will...** | **Academic disciplines** |
84+
| :-- | :-- | :-- |
85+
| <img src="Images/image_7.png" width="171" alt="image_7.png"> | • Compare the response of first and second order circuits.• Analyze a second order RLC circuit differential equation.• Solve for the natural frequency and damping in an RLC circuit.• Compare underdamped, overdamped, and critically damped circuits. | • Electrical Engineering |
86+
87+
<a name="H_E550DF08"></a>
88+
## [**OpAmps.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/DC-Circuit-Analysis&project=DCCircuitAnalysis.prj&file=OpAmps.mlx)
89+
| | **In this script, students will...** | **Academic disciplines** |
90+
| :-- | :-- | :-- |
91+
| <img src="Images/image_8.png" width="171" alt="image_8.png"> | • Describe the open-loop behavior of an op amp.• Compare ideal and non-ideal op amp behavior.• Analyze negative feedback op amp circuits.• Design circuits using combinations of basic op amp circuits. | • Electrical Engineering |
92+
93+
# How-To Videos
94+
95+
These short videos demonstrate some of the basic techniques used to simulate and measure circuits in the module.
96+
97+
- [Building a Circuit](https://github.com/MathWorks-Teaching-Resources/DC-Circuit-Analysis#building-a-circuit)
98+
- [Analyzing with a Multimeter](https://github.com/MathWorks-Teaching-Resources/DC-Circuit-Analysis#analyzing-with-a-multimeter)
99+
- [Demonstrating Oscilloscope Operation](https://github.com/MathWorks-Teaching-Resources/DC-Circuit-Analysis#demonstrating-oscilloscope-operation)
100+
101+
<a name="H_F61733D7"></a>
102+
# License
103+
104+
The license for this module is available in the [LICENSE.md](https://github.com/MathWorks-Teaching-Resources/DC-Circuit-Analysis/blob/release/LICENSE.md).
105+
106+
<a name="H_3DE08377"></a>
107+
# Related Courseware Modules
108+
109+
Feel free to explore our other [modular courseware content](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22&sort=downloads_desc_30d).
110+
111+
# Educator Resources
112+
- [Educator Page](https://www.mathworks.com/academia/educators.html)
113+
114+
<a name="H_0FA5DA18"></a>
115+
# Contribute
116+
117+
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/DC-Circuit-Analysis/blob/release/CONTRIBUTING.md) page on GitHub.
118+
119+
120+
*©* Copyright 2023 The MathWorks™, Inc
121+
122+

README.mlx

96.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)