This document summarizes the results of a lab experiment conducted by Eli Walker. The experiment involved constructing and simulating circuits in PSpice. For the first circuit, the student determined the steady-state current across the resistor and its RMS value by running a time domain simulation. The student also found and plotted the Fourier transform of the current and output the FFT details to a file. For the second circuit, the student was asked to simulate one period of a periodic pulse voltage source and use the probe feature to measure various circuit values, as outlined in a provided table.
This document discusses executing a Simulink model externally from MATLAB via the MATLAB external interface. It provides examples of executing a Simulink model from the MATLAB command line, from a C program, from FORTRAN, and from the Modular Modeling System (MMS). The examples demonstrate preserving Simulink state information when executing a model over an extended simulation by passing the final states of one interval as the initial states of the next. This allows interfacing a Simulink control model with detailed systems models in codes like TRACE or MMS.
La guía describe el método de flotadores para estimar el caudal de un río. El método involucra medir el tiempo que tardan objetos flotantes en viajar una distancia conocida, lo que permite calcular la velocidad superficial del agua. Luego, usando medidas del ancho y la profundidad del río, así como un coeficiente para estimar la velocidad media, se calcula el caudal en metros cúbicos por segundo. El método es útil cuando no se dispone de equipo más preciso o existe peligro para el observador hidrológico.
Hajer Jaouani is an experienced internal audit consultant offering over 15 years of experience in internal audit, risk management, and compliance. She has expertise in a variety of industries including real estate, healthcare, and telecommunications. Jaouani has held senior roles at PricewaterhouseCoopers and Bell Canada where she led internal audit engagements, assessed risks, and tested internal controls. She is proficient in audit standards and frameworks including COSO and Sarbanes-Oxley.
Los principales medios de transporte terrestre son el autobús, coche, bicicleta y ciclomotor. Los medios de transporte aéreo incluyen avión, helicóptero, globos aerostáticos y cohete, mientras que los acuáticos son lancha, yate, submarino, velero, canoa y bote de remos.
This document outlines a college Android app project with the objectives of providing students with easy access to latest news updates, information about the college, and downloading semester papers. The app will use the Android platform and tools like the Android SDK, SQLite, and Photoshop. It will have features like a slide menu and provide information to users like courses, academics, bus routes and timetables. Future enhancements may include listening to news headlines and adding chat functionality.
Juan Lozada has over 16 years of experience in business management, sales, and operations roles in various industries. He has a proven track record of exceeding annual budgets, improving productivity and customer satisfaction. Lozada is bilingual in English and Spanish and has strong leadership, communication, and problem-solving skills. He seeks a new opportunity to utilize his experience delivering revenue growth and profit gains.
Three training patterns are discussed: ad-hoc training, workshops, and embedded coaching.
Ad-hoc training involves self-study, facilitated discussion, homework application, and follow up. Workshops are more formal and run 1/2 to 5 days, using pre-work, discussion, hands-on exercises, and action planning.
Embedded coaching involves a coach joining a team incrementally introducing practices through informal workshops based on the team's real work, not simulations. The coach helps the team apply tools and practices to their project before transitioning out as the team becomes self-sufficient.
The document provides examples and opinions favoring informal, ad-hoc training approaches and embedded coaching as most effective. Formal
Shamia Burroughs-Kennedy is seeking a position utilizing her account management experience in the insurance industry. She has over 6 years of experience as an Account Manager at Aflac Group Insurance, where she oversees large accounts, ensures requirements are met, and analyzes problems to resolve issues. She also has experience as a Manager at Krispy Kreme Doughnuts, where she led a team, handled customer service, and ensured product quality standards. She is proficient in Microsoft Office and has a Bachelor's degree in Sport/Entertainment/Event Management.
This document discusses executing a Simulink model externally from MATLAB via the MATLAB external interface. It provides examples of executing a Simulink model from the MATLAB command line, from a C program, from FORTRAN, and from the Modular Modeling System (MMS). The examples demonstrate preserving Simulink state information when executing a model over an extended simulation by passing the final states of one interval as the initial states of the next. This allows interfacing a Simulink control model with detailed systems models in codes like TRACE or MMS.
La guía describe el método de flotadores para estimar el caudal de un río. El método involucra medir el tiempo que tardan objetos flotantes en viajar una distancia conocida, lo que permite calcular la velocidad superficial del agua. Luego, usando medidas del ancho y la profundidad del río, así como un coeficiente para estimar la velocidad media, se calcula el caudal en metros cúbicos por segundo. El método es útil cuando no se dispone de equipo más preciso o existe peligro para el observador hidrológico.
Hajer Jaouani is an experienced internal audit consultant offering over 15 years of experience in internal audit, risk management, and compliance. She has expertise in a variety of industries including real estate, healthcare, and telecommunications. Jaouani has held senior roles at PricewaterhouseCoopers and Bell Canada where she led internal audit engagements, assessed risks, and tested internal controls. She is proficient in audit standards and frameworks including COSO and Sarbanes-Oxley.
Los principales medios de transporte terrestre son el autobús, coche, bicicleta y ciclomotor. Los medios de transporte aéreo incluyen avión, helicóptero, globos aerostáticos y cohete, mientras que los acuáticos son lancha, yate, submarino, velero, canoa y bote de remos.
This document outlines a college Android app project with the objectives of providing students with easy access to latest news updates, information about the college, and downloading semester papers. The app will use the Android platform and tools like the Android SDK, SQLite, and Photoshop. It will have features like a slide menu and provide information to users like courses, academics, bus routes and timetables. Future enhancements may include listening to news headlines and adding chat functionality.
Juan Lozada has over 16 years of experience in business management, sales, and operations roles in various industries. He has a proven track record of exceeding annual budgets, improving productivity and customer satisfaction. Lozada is bilingual in English and Spanish and has strong leadership, communication, and problem-solving skills. He seeks a new opportunity to utilize his experience delivering revenue growth and profit gains.
Three training patterns are discussed: ad-hoc training, workshops, and embedded coaching.
Ad-hoc training involves self-study, facilitated discussion, homework application, and follow up. Workshops are more formal and run 1/2 to 5 days, using pre-work, discussion, hands-on exercises, and action planning.
Embedded coaching involves a coach joining a team incrementally introducing practices through informal workshops based on the team's real work, not simulations. The coach helps the team apply tools and practices to their project before transitioning out as the team becomes self-sufficient.
The document provides examples and opinions favoring informal, ad-hoc training approaches and embedded coaching as most effective. Formal
Shamia Burroughs-Kennedy is seeking a position utilizing her account management experience in the insurance industry. She has over 6 years of experience as an Account Manager at Aflac Group Insurance, where she oversees large accounts, ensures requirements are met, and analyzes problems to resolve issues. She also has experience as a Manager at Krispy Kreme Doughnuts, where she led a team, handled customer service, and ensured product quality standards. She is proficient in Microsoft Office and has a Bachelor's degree in Sport/Entertainment/Event Management.
This document summarizes simulations of a buck converter circuit model in PSpice and PSim software. For the PSpice simulation, the circuit is constructed using ideal components and simulated over 1 ms. Plots of inductor current and output voltage in transient and steady state are produced. Output ripple voltage is calculated and found to match the theoretical value. The PSim simulation introduces constructing the same circuit in PSim software, with results to be compared to PSpice.
This document describes a temperature controlled fan project. It contains a block diagram showing the main components: an 8051 microcontroller, temperature sensor, ADC, motor driver, fan motor, and 7-segment displays. It also provides details on the working, which involves measuring temperature, displaying it on the 7-segment displays, and varying the fan speed based on the temperature using PWM. Simulation results and hardware implementation snapshots are included. The project aims to automatically control fan speed based on sensed temperature.
The document describes simulations of various power electronic circuits using Simulink. It includes simulations of a single-phase full bridge inverter using IGBTs, an AC voltage controller with an R-load using thyristors, and speed control of an asynchronous motor by varying the pulse of a pulse generator. The key steps are modeling the circuits in Simulink, selecting the required blocks from the library, setting simulation parameters, and viewing the output on scopes to analyze the performance of the circuits.
This document provides details on implementing automatic light switching in LabVIEW. It describes using a light detecting resistor (LDR) that decreases resistance with increasing light intensity. The task is to create a project that turns lights off during daytime and on at night. The front panel includes LEDs representing streetlights and a loop control button. The block diagram uses LEDs, local variables to control the LEDs, a delay timer, flat sequence to perform tasks sequentially, and a while loop controlled by the loop control button to keep performing the tasks. This allows automatically switching the LED streetlights on and off based on the LDR light reading over time.
This document describes a lab experiment where students modeled a motor/flywheel system using LabVIEW. They collected data for sinusoidal and square voltage waveforms and compared the experimental model to a theoretical model based on motor specifications. Key aspects of the comparison included transfer functions, step responses, and Bode plots. Students determined parameter values, created VIs to collect experimental data, and analyzed results to compare experimental and theoretical models.
Simulink is a GUI block diagram environment for modeling and simulating dynamic systems. It contains a library of continuous, discrete, and other elements that can be dragged onto a model window and connected to build simulations. Models can be run with different parameters and component values to analyze system behavior. Sumulink uses numerical integration methods to solve the system equations during simulation runs.
Simulink is a GUI block diagram environment for modeling and simulating dynamic systems. It contains a library of continuous, discrete, and other elements that can be dragged onto a model window and connected to build simulations. Models can be run with different parameters and component values using the sim command. Simulation output data is accessible in the MATLAB workspace and can be plotted to analyze system behavior.
This document provides an overview of the Advanced Design System (ADS) simulator for RF and microwave circuit design. It describes the types of circuit analysis available in ADS including DC, transient, AC, and S-parameter analysis. It also outlines the basic steps for creating a new ADS project, including setting up a workspace, creating schematics, adding components, and performing simulations and reviewing results. An example simulation of a microstrip circuit with lumped elements is presented to demonstrate the simulation workflow in ADS.
This document describes an experimental design project to create a digital control system for measuring and controlling pressure gradient using LabVIEW software. The control system uses input voltage to an electric fan to control pressure gradient. It provides details on the control concept, including using a case structure to account for different station configurations, comparing measured response to desired setpoint to calculate error and proposed voltage adjustment, and applying the adjusted voltage to stabilize the system. Procedures for starting up and operating the hardware and software are also outlined.
Design and Implementation of an RPM Sensor and Power System for the Study and...Michael Lopez
This document details the design and implementation of a system to measure the rotational speed (RPM) of small propellers used in drones. An optical sensor measures the RPM by detecting markings on a colored ring attached to the spinning motor. Different colored rings were tested and a half black/half white ring produced the clearest readings. The sensor output is amplified and read by an Arduino, which sends the data to a computer. MATLAB code analyzes the data to calculate the average RPM by determining the period between peaks in the sensor readings. The system allows quick testing and certification of propellers at various speeds before use.
This document provides instructions and objectives for simulating a single phase full converter circuit using Orcad software. It includes notes on how to set up an Orcad project, place components, define parameters, set the simulation profile, and plot outputs. Sample circuits are provided for a single phase full converter with resistive and inductive loads and firing angles of 30, 60, and 90 degrees. Students are asked to complete practices and exercises simulating the circuit and comparing output waveforms to given figures.
This document provides an overview of using Pspice software to simulate and analyze electrical circuits. It discusses how to navigate the Pspice interface, place components, run simulations, and interpret the results. Key features covered include analyzing DC bias points and voltages, calculating short circuit current and open circuit voltage for Thevenin equivalents, simulating AC sweeps to examine frequency response, and using Pspice to examine sinusoidal steady state behavior and design current mirrors. The document also reviews how to edit component properties and SPICE models.
IRJET- Design and Implementation of Three Phase Grid SimulatorIRJET Journal
This document describes the design and implementation of a three-phase grid simulator using an FPGA controller. The grid simulator is an inverter system that can generate typical grid conditions like voltage sags, swells, and frequency variations to test the performance of grid-connected systems under different disturbances. The design uses a three-phase PWM inverter controlled by an FPGA to generate the appropriate voltage signals. SPWM signals are produced using a carrier signal and reference sine waves generated within the FPGA. A GUI is implemented using Visual Studio to allow users to vary parameters and simulate different grid scenarios. Experimental results demonstrate the ability of the implemented system to simulate conditions like voltage unbalance.
The java code works, I just need it to display the results as in t.pdfakaluza07
The internal rate of return (IRR) refers to the compound annual rate of return that a project
generates based on its up-front cost and subsequent cash flows. Consider the case of Blue Llama
Mining Company:
Blue Llama Mining Company is evaluating a proposed capital budgeting project (project Sigma)
that will require an initial investment of $850,000.
Blue Llama Mining Company has been basing capital budgeting decisions on a projects NPV;
however, its new CFO wants to start using the IRR method for capital budgeting decisions. The
CFO says that the IRR is a better method because returns in percentage form are easier to
understand and compare to required returns. Blue Llama Mining Companys WACC is 8%, and
project Sigma has the same risk as the firms average project.
The project is expected to generate the following net cash flows:
Which of the following is the correct calculation of project Sigmas IRR?
24.78%
33.04%
27.53%
31.66%
If this is an independent project, the IRR method states that the firm should .
If the projects cost of capital were to increase, how would that affect the IRR?
The IRR would increase.
The IRR would decrease.
The IRR would not change.YearCash FlowYear 1$300,000Year 2$425,000Year 3$400,000Year
4$425,000.
Substation grounding grid design using Alternative Transients Program-ATP and...Jose Dariel Arcila
This example shows the method for designing a grounding grid following the standard IEEE 80 safety criteria. It shows the procedure for designing the grounding grid of a substation with voltage levels of 115 kV and 34.5 kV.
Dynometer project data acquisition filteringRa'uf Tailony
This document describes a dynamometer project involving data acquisition and filtering of force data measured by a load cell. The load cell measures the force applied by an alternator connected to an engine. Software filters are used to filter noise from the load cell data. A Butterworth low-pass filter with a 25Hz cutoff frequency and order of 5 is used. The filtered and unfiltered force data are presented on graph indicators to compare the results and evaluate engine torque.
This document discusses a wireless link model simulation code. It examines the code and answers questions about what various parts of the code represent, such as IATM representing the inter-arrival time distribution and SVTM representing the service time distribution. The document also discusses running the simulation with different parameters, examining the results, and determining how increasing the number of arrivals affects convergence of the simulation results to the analytic results.
Applying Parametric Functional Approximations for Teaching Electromechanical ...IOSRJEEE
In this paper functional approximations for the parameters of a DC machine are proposed. These nonlinear algebraic approximations are based on the experimental data that are obtained by carrying out several steady state and transient tests, besides, this method links mathematics and practical analysis of electromechanical systems, allowing students to improve their academic performance and comprehension by comparing estimated values with measured data. An excellent dynamic model results of combining the well known state space description and these parametric functional approximations. This augmented model provides reliable results even during demanding large-excursion transient conditions
This document summarizes a research project on process identification using relay feedback tests. The project aims to identify low-order models like FOPDT and SOPDT from relay feedback data to enable performance assessment and controller tuning. A new identification method is proposed that uses neural networks to estimate the apparent deadtime from steady-state cycles. This deadtime and other parameters allow classification of the process model and parameter estimation for assessment and auto-tuning.
This document summarizes simulations of a buck converter circuit model in PSpice and PSim software. For the PSpice simulation, the circuit is constructed using ideal components and simulated over 1 ms. Plots of inductor current and output voltage in transient and steady state are produced. Output ripple voltage is calculated and found to match the theoretical value. The PSim simulation introduces constructing the same circuit in PSim software, with results to be compared to PSpice.
This document describes a temperature controlled fan project. It contains a block diagram showing the main components: an 8051 microcontroller, temperature sensor, ADC, motor driver, fan motor, and 7-segment displays. It also provides details on the working, which involves measuring temperature, displaying it on the 7-segment displays, and varying the fan speed based on the temperature using PWM. Simulation results and hardware implementation snapshots are included. The project aims to automatically control fan speed based on sensed temperature.
The document describes simulations of various power electronic circuits using Simulink. It includes simulations of a single-phase full bridge inverter using IGBTs, an AC voltage controller with an R-load using thyristors, and speed control of an asynchronous motor by varying the pulse of a pulse generator. The key steps are modeling the circuits in Simulink, selecting the required blocks from the library, setting simulation parameters, and viewing the output on scopes to analyze the performance of the circuits.
This document provides details on implementing automatic light switching in LabVIEW. It describes using a light detecting resistor (LDR) that decreases resistance with increasing light intensity. The task is to create a project that turns lights off during daytime and on at night. The front panel includes LEDs representing streetlights and a loop control button. The block diagram uses LEDs, local variables to control the LEDs, a delay timer, flat sequence to perform tasks sequentially, and a while loop controlled by the loop control button to keep performing the tasks. This allows automatically switching the LED streetlights on and off based on the LDR light reading over time.
This document describes a lab experiment where students modeled a motor/flywheel system using LabVIEW. They collected data for sinusoidal and square voltage waveforms and compared the experimental model to a theoretical model based on motor specifications. Key aspects of the comparison included transfer functions, step responses, and Bode plots. Students determined parameter values, created VIs to collect experimental data, and analyzed results to compare experimental and theoretical models.
Simulink is a GUI block diagram environment for modeling and simulating dynamic systems. It contains a library of continuous, discrete, and other elements that can be dragged onto a model window and connected to build simulations. Models can be run with different parameters and component values to analyze system behavior. Sumulink uses numerical integration methods to solve the system equations during simulation runs.
Simulink is a GUI block diagram environment for modeling and simulating dynamic systems. It contains a library of continuous, discrete, and other elements that can be dragged onto a model window and connected to build simulations. Models can be run with different parameters and component values using the sim command. Simulation output data is accessible in the MATLAB workspace and can be plotted to analyze system behavior.
This document provides an overview of the Advanced Design System (ADS) simulator for RF and microwave circuit design. It describes the types of circuit analysis available in ADS including DC, transient, AC, and S-parameter analysis. It also outlines the basic steps for creating a new ADS project, including setting up a workspace, creating schematics, adding components, and performing simulations and reviewing results. An example simulation of a microstrip circuit with lumped elements is presented to demonstrate the simulation workflow in ADS.
This document describes an experimental design project to create a digital control system for measuring and controlling pressure gradient using LabVIEW software. The control system uses input voltage to an electric fan to control pressure gradient. It provides details on the control concept, including using a case structure to account for different station configurations, comparing measured response to desired setpoint to calculate error and proposed voltage adjustment, and applying the adjusted voltage to stabilize the system. Procedures for starting up and operating the hardware and software are also outlined.
Design and Implementation of an RPM Sensor and Power System for the Study and...Michael Lopez
This document details the design and implementation of a system to measure the rotational speed (RPM) of small propellers used in drones. An optical sensor measures the RPM by detecting markings on a colored ring attached to the spinning motor. Different colored rings were tested and a half black/half white ring produced the clearest readings. The sensor output is amplified and read by an Arduino, which sends the data to a computer. MATLAB code analyzes the data to calculate the average RPM by determining the period between peaks in the sensor readings. The system allows quick testing and certification of propellers at various speeds before use.
This document provides instructions and objectives for simulating a single phase full converter circuit using Orcad software. It includes notes on how to set up an Orcad project, place components, define parameters, set the simulation profile, and plot outputs. Sample circuits are provided for a single phase full converter with resistive and inductive loads and firing angles of 30, 60, and 90 degrees. Students are asked to complete practices and exercises simulating the circuit and comparing output waveforms to given figures.
This document provides an overview of using Pspice software to simulate and analyze electrical circuits. It discusses how to navigate the Pspice interface, place components, run simulations, and interpret the results. Key features covered include analyzing DC bias points and voltages, calculating short circuit current and open circuit voltage for Thevenin equivalents, simulating AC sweeps to examine frequency response, and using Pspice to examine sinusoidal steady state behavior and design current mirrors. The document also reviews how to edit component properties and SPICE models.
IRJET- Design and Implementation of Three Phase Grid SimulatorIRJET Journal
This document describes the design and implementation of a three-phase grid simulator using an FPGA controller. The grid simulator is an inverter system that can generate typical grid conditions like voltage sags, swells, and frequency variations to test the performance of grid-connected systems under different disturbances. The design uses a three-phase PWM inverter controlled by an FPGA to generate the appropriate voltage signals. SPWM signals are produced using a carrier signal and reference sine waves generated within the FPGA. A GUI is implemented using Visual Studio to allow users to vary parameters and simulate different grid scenarios. Experimental results demonstrate the ability of the implemented system to simulate conditions like voltage unbalance.
The java code works, I just need it to display the results as in t.pdfakaluza07
The internal rate of return (IRR) refers to the compound annual rate of return that a project
generates based on its up-front cost and subsequent cash flows. Consider the case of Blue Llama
Mining Company:
Blue Llama Mining Company is evaluating a proposed capital budgeting project (project Sigma)
that will require an initial investment of $850,000.
Blue Llama Mining Company has been basing capital budgeting decisions on a projects NPV;
however, its new CFO wants to start using the IRR method for capital budgeting decisions. The
CFO says that the IRR is a better method because returns in percentage form are easier to
understand and compare to required returns. Blue Llama Mining Companys WACC is 8%, and
project Sigma has the same risk as the firms average project.
The project is expected to generate the following net cash flows:
Which of the following is the correct calculation of project Sigmas IRR?
24.78%
33.04%
27.53%
31.66%
If this is an independent project, the IRR method states that the firm should .
If the projects cost of capital were to increase, how would that affect the IRR?
The IRR would increase.
The IRR would decrease.
The IRR would not change.YearCash FlowYear 1$300,000Year 2$425,000Year 3$400,000Year
4$425,000.
Substation grounding grid design using Alternative Transients Program-ATP and...Jose Dariel Arcila
This example shows the method for designing a grounding grid following the standard IEEE 80 safety criteria. It shows the procedure for designing the grounding grid of a substation with voltage levels of 115 kV and 34.5 kV.
Dynometer project data acquisition filteringRa'uf Tailony
This document describes a dynamometer project involving data acquisition and filtering of force data measured by a load cell. The load cell measures the force applied by an alternator connected to an engine. Software filters are used to filter noise from the load cell data. A Butterworth low-pass filter with a 25Hz cutoff frequency and order of 5 is used. The filtered and unfiltered force data are presented on graph indicators to compare the results and evaluate engine torque.
This document discusses a wireless link model simulation code. It examines the code and answers questions about what various parts of the code represent, such as IATM representing the inter-arrival time distribution and SVTM representing the service time distribution. The document also discusses running the simulation with different parameters, examining the results, and determining how increasing the number of arrivals affects convergence of the simulation results to the analytic results.
Applying Parametric Functional Approximations for Teaching Electromechanical ...IOSRJEEE
In this paper functional approximations for the parameters of a DC machine are proposed. These nonlinear algebraic approximations are based on the experimental data that are obtained by carrying out several steady state and transient tests, besides, this method links mathematics and practical analysis of electromechanical systems, allowing students to improve their academic performance and comprehension by comparing estimated values with measured data. An excellent dynamic model results of combining the well known state space description and these parametric functional approximations. This augmented model provides reliable results even during demanding large-excursion transient conditions
This document summarizes a research project on process identification using relay feedback tests. The project aims to identify low-order models like FOPDT and SOPDT from relay feedback data to enable performance assessment and controller tuning. A new identification method is proposed that uses neural networks to estimate the apparent deadtime from steady-state cycles. This deadtime and other parameters allow classification of the process model and parameter estimation for assessment and auto-tuning.
3. 3
EX. 2-12
Introduction
For thisprojectwe were givenacircuitdiagramto construct inPSpice consistingof a2 Ohmresistorin
serieswitha10 milliHenry inductor.The seriesRLispoweredbya periodicpulse voltagewave.This
pulse wave hasa periodof 20 millisecondsandisdefinedbythe followingequation:
𝑣𝑠( 𝑡) = {
20 𝑉 0 < 𝑡 < 8 𝑚𝑠
0 8 𝑚𝑠 < 𝑡 < 20 𝑚𝑠
} (eq. 1)
whichsimplystatesthatfrom0 to 8 millisecondsthe voltagesource providesaconstant20 volts,while
from8 to 20 milliseconds,the voltage source isoff. A diagramof the RL circuitwasprovidedandis
reproducedhere,asillustratedinFigure 1.
Figure 1: Provided diagram circuit complete with required PSpice parameters.
The texton the leftof the voltage source inFigure 1 are the requiredparametersforPSpice to
accuratelymodel ourperiodicpulse wave. Amongtheseare V1,or the minimumvoltage level of the
pulse wave,V2,orthe maximumvoltage level of the pulse wave,PW,orthe pulse width,andPER,or
the periodof the wave.These variablesare setto0, 20 volts,8 milliseconds,and 20 milliseconds
respectively.
In orderto construct thiscircuitwiththe givenparametersinPSpice,we beginbyfirstcreatinganew
project.Thisisdone by openingthe OrCADCapture CISprogramand selectthe “File”optionfollowedby
“New”and then “Project”.Afternamingthe projectand selectingthe type,ablankPSpice page will
open.To constructour circuit,we selectthe “Place”optionfromthe toolbarfollowedbythe “PSpice
Element”subsection.Fromhere we canplace our pulse wave voltage source,resistor,andinductor.
Afterplacingeachelement, the parametersof thatelementwillappearnexttoitas showninFigure 1.
In orderto setthe value fora givenparameter,yousimplydoubleclickthe text.Afterenteringthese
values,we adda groundand connecteach elementwithwirestocompletethe circuit.OurPSpice
reconstructionof the givencircuitiscontainedinFigure 2below.
4. 4
Figure 2: PSpice reconstruction of the given RL circuit.
Afterconstructingthe circuit,we were askedtoperformseveral tasksusingthe PSpice software.First,
we were askedtorun a time domainsimulationonthe circuitinorderto determineboththe steady-
state current acrossthe resistor(I(R1)) andthe RMS value of I(R1). We were thenaskedto findandplot
the FourierTransform(FFT) of I(R1) and to outputa file containingthe detailsof the FFT. All of these
taskswere completedandare detailedinfullinthe followingsections.
Methods
In orderto run the simulationonourcircuit,we clickon the “New SimulationProfile”buttonasshown
inFigure 3.
Figure 3: New Simulation Profile button is highlighted. Used to set the parameters and type of simulation.
5. 5
Selectingthisoptionwill openadialogbox thatallowsthe userto adjustthe parametersandtype of
simulation.Thisdialogbox aswell asthe parametersusedforoursimulationare showninFigure 4.
Figure 4: Simulation Settings dialog box. Stop time is set to 100 milliseconds, start time is set to 60 milliseconds, and maximum
step size is set to 10 microseconds.
By lookingatFigure 4 one can see thatthere are several optionsavailable tothe userinregardsto the
simulation.Firstof all, we canchoose the analysistype.Forourpurposes,we wanttoevaluate the
circuitin the Time Domain. Next,we canchoose boththe time to start collectingdatafromthe
simulationandthe time toendthe simulation.Forthiscircuitwe choose notto start collectingdatauntil
60 milliseconds afterthe simulationhasbegun,which allowsthe systemtoentersteady-statebeforewe
begintocollectdata. Additionally, the stoptime of the simulationischosentobe 100 milliseconds. This
allowsusto collecttwoperiods’worthof datain orderto ensure thatwe have an appropriate sample
size forour calculations. Once these parametersare set,we canchoose to eitherselect“Ok”and
prepare to runthe simulation,orwe can select“OutputFile Options”inordertocreate an outputfile
containingthe detailedFFTof the currentthroughthe resistor. Since we are alsoaskedtofindthe FFT,
we choose the latter.Selectingthe “OutputFileOptions”buttonopensanew dialogbox showninFigure
5.
6. 6
Figure 5: Output File Options dialog box. The fundamental frequency of our voltage source is 50 Hz and the output is set to be
the current through the resistor.
In thisdialogbox we are giventhe optiontoperforma Fourier analysis onanyvariable we wish. Forthis
projectwe are examiningthe currentthroughthe resistorsowe type I(R1) intothisfield. Inorderto
successfullyperformthe Fourieranalysis,we needtoinputthe fundamental,orcentral,frequencyinto
the system.The fundamental frequencyof anysignal isfoundusingthe followingequation:
𝑓𝑢𝑛𝑑𝑎𝑚𝑒𝑛𝑡𝑎𝑙 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦 =
1
𝑇
𝐻𝑧 (eq. 2)
where T isthe periodof the system.Here the periodis20 millisecondssothe fundamentalfrequency
wouldbe equal to1/20 milliseconds,or50 Hertz. Once all of these parametersare enteredthe system,
we pressok and prepare torun our simulation. Clicking“Ok”inthe dialogbox showninFigure 4 will
take us back to the page containingourcircuitschematic.Inorder to run the simulationwe simplyclick
the “Run” buttonhighlightedinFigure6.
7. 7
Figure 6: The "Run" button highlighted. Pressing this button will run the simulation.
Selectingthe “RunPSpice”buttonillustrated inFigure 6will runthe simulationaccordingtothe chosen
parametersaswell ascreate the desiredoutputfiles.Once the simulationhasbeensuccessfully
completed,the probe featureof PSpice will automaticallyopen,asseeninFigure 7.
Figure 7: The blank probe screen will automatically open after the simulation has terminated successfully. Any desired
parameter can be chosen and observed from this screen.
From the probe screenwe can selectanyparameterinorderto observe itsbehaviorwithrespectto
time. To dothiswe start by firstselectingthe “AddTrace”optionformthe probe window,shownin
8. 8
Figure 8. Thiswill openanewwindowwhere we canchoose froma wide range of parametersaswell as
operationsthatcan be performedonthe parametersandthenplotted,asshowninFigure 9.
Figure 8: Highlighted "Add Trace" button allows the user to select and plot the values of several parameters with respect to
time.
Figure 9: Window to choose which parameters to display with the probe. For our purposes we wish to examine both the current
through the resister, I(R1), as well as the RMS value of I(R1).
9. 9
Completingall of these stepsallowsustoobtainthe desiredplotsandoutputfilestoproperlyexamine
the current throughthe resistoranditsFouriertransform.These plotsaswell asa thoroughdiscussion
are includedinthe followingsections.
Results
Afterpreformingthe precedingsteps,we obtainedthe plotof the currentthroughthe resistorandthe
RMS value of the currentthroughthe resistorwithrespecttotime.These plotsare illustratedinFigure
10. It isimportantto note that because oursystemisinsteady-state,the inductorinouroriginal circuit
acts like anopencircuitand all the current isdrawn throughthe resistor.
Figure 10: Plots of the current through the resistor, I(R1), and the RMS value of I(R1), RMS(I(R1)).
It isimportantto note that we can ensure oursystemisinsteady-state byobservingthe startingand
endingcurrentlevelsforeachperiod.Foroursystemto trulybe in steady-state,these valuesshouldbe
equal.A quickexaminationof Figure 10 showsthatthisis the case forboth of our waveforms. The RMS
value of I(R1) can be readfrom the endof each periodof the redcurve.As can be shownfromFigure 10,
thisvalue isthe same for bothof the periodsshowninthe plot.Therefore we cansafelysaythat
RMS(I(R1)) isequal to4.6389 amperes.These resultsare furtherdiscussedinthe nextsection.
For thisexample we were alsoaskedtoobtainthe FFTof I(R1) in botha graphical formas well asinan
outputfile.The outputfile iscreatedautomaticallyonce we runthe simulationbasedonthe optionswe
chose as showninFigures4 and 5. In orderto plotthe FFT we simplydelete the RMScurve fromthe
probe and selectthe “Fourier”buttonshowninFigure 11.
10. 10
Figure 11: Highlighting the "Fourier" button which is used to obtain the FFT of the parameter currently displayed by the probe.
Selectingthisoptioninstantlydisplaysthe FFTof I(R1) as a functionof frequency.Aftersome minor
adjustmentstothe scale of the axes,we obtainthe plotcontainedinFigure 12.
Figure 12: FFT of the current through the resistor.
Form Figure 12 it can easilybe seenthatthere isan initial offsetof 4.001 amperes inthe FFT. Thisis the
DC componentof the FFT. It can alsobe seenthat the magnitude of the FFTsteadilydecreasesasthe
frequencyincreases.Bothof these resultswill be furtherexploredinthe nextsection.
For completeness,we will alsoproduce inthissectionthe detailedFFTtable containedinthe generated
outputfile. Thistable isshowninTable 1 below.
11. 11
Table 1: Fourier Components of Transient Response I(R1)
The resultsdetailedinTable 1will be discussedinthe followingsection.
Discussion/Conclusion
We will beginthisdiscussionbycomparingthe resultscontainedinTable 1to those showninFigure 12.
A quickexaminationof the twoimmediatelyrevealsseveral similarities.First,aswasnotedinthe
precedingsection,the plotof the FFThas a y-interceptof 4.001 amperes,whichrepresentsthe DC
componentof the signal.Table 1 agreeswiththisresultas a note above the table propershowsthe DC
componenttobe 4.000 amperes.The difference betweenthesetwovaluesissmall enoughtobe
essentially ignored. Next,we cansee thatTable 1 givesthe Fouriercomponentof the firsttwo
harmonicsto be 3.2515 amperes at 50 Hertz,and 567.5 milliamperesat100 Hertz.Againwe can see
that these valuescloselycorrespondtothose showninFigure 12; 3.2523 amperesat50 Hertzand
657.635 milliamperesat100 Hertz. Once again,the differencesinthesevaluesare small enoughtobe
considered insignificant. The correlationof the resultsobtainedfromTable 1and Figure 12 allow usto
convince ourselvesthatwe didnotcommitan error whencollectingthe data.Thus,we shouldbe
assuredthat 4.6389 amperesisthe true RMS currentthroughthe resistor.
Thiscan furtherbe provedbyusingthe informationcontainedinTable 1to directlydetermine the RMS
value of the current.The formulaforfindingthe RMSvalue isshownineq.3:
𝐼 𝑅𝑀𝑆 = √ 𝐼 𝐷𝐶
2
+ (
𝐼1
√2
)
2
+ (
𝐼2
√2
)
2
+ ⋯+ (
𝐼 𝑛
√2
)
2
(eq. 3)
where nis the numberof harmonics. Plugginginthe valuesof the FouriercomponentfromTable 1into
eq.3 and evaluatinggivesus anRMW currentof roughly4.63 amperes,whichagreeswiththe value
foundgraphicallyinFigure 10.
The last bitof informationcontainedinTable 1isthe Total HarmonicDistortion,orTHD, of the Fourier
transform.The THD allowsustocharacterize the nonsinusoidal propertyof aperiodicsignal asaratio of
12. 12
the RMS value of all the non-fundamental frequencytermstothe RMS value of the fundamental
frequencyterm.Inequationform thiscanbe expressedas:
𝑇𝐻𝐷 = √
∑ 𝐼 𝑛,𝑅𝑀𝑆
2
𝑛≠1
𝐼1,𝑅𝑀𝑆
2 (eq. 4)
where againn isthe numberof harmonics.For our systemthe THD isshownto be 20.92%.
Afterconstructingthe circuitshowninFigure 1 and runningthe requestedsimulation,we have gained
valuable insightintothe innerworkingsof RLcircuit poweredbyaperiodicpulse voltagesource. In
addition,we have familiarizedourselveswiththe PSpice ideologyandworkspace.Thisfirstexample has
preparedusto construct andanalyze largerandmore complex circuitslaterinthe semester.
EX. 2-13
Introduction
For the secondexample of thisfirstlabwe are askedto constructand simulate afairlymore complex
circuitthan that inthe firstexample.Thisisdue tothe additionof several new circuitcomponentsnot
includedinexample 2-12.These componentsinclude aswitch,adiode,anda Dc voltage source. We
were givenafigure detailingthe constructionof thisnew circuit,asshowninFigure 13 below.
Figure 13: Provided diagram of the circuit to be built and simulated in PSpice for EX 2-13.
It isimportantto note that there are a couple of typosin the diagramshowninFigure 13; V1 shouldbe
setto 0 insteadof -10 and VCCshouldbe 90 voltsinsteadof 30 volts.These changeswere made inthe
constructionof our circuit inPSpice,asis showninFigure 14.
13. 13
Figure 14: Fully constructed circuit in PSpice. All typos from the given diagram were corrected when constructing the circuit.
The stepstakento construct the circuitshowninFigure 14 are exactlyidentical tothose detailedinthe
Introductionsectionof EX2-12. The onlydifference isthe additional componentsthatwere notincluded
inthat example.Fortunately,all of these canbe foundunderthe “Place”tab,and more specificallythe
“PSpice Element”subsection. Once the circuitisconstructed,we are askedtoPSpice to simulate one
periodof the periodicpulse voltagesource,whichisdefinedtobe 100 milliseconds.We then use the
probe feature of PSpice inordertomeasure a myriadof differentvaluesinthe circuitsuchas the
currentthrough the inductor,the average powerabsorbedbythe DCvoltage source,the energystored
inthe inductor,the RMS currentthroughthe resistor,andsoon. All of these measurementsare detailed
and discussedinthe followingsections.
Methods
Before we beginusingthe probe tofindthe variousmeasurementswe are interestedin,we firstneedto
simulate the circuit.Thisagaindone usingthe exactsame stepsdetailedinthe Methodssectionof EX2-
12. The onlydifferencebeingthatforthisexamplewe wishtobegincollectingdataat0 seconds;there
isno needtowait forthe systemtoenterthe steady-state before we begincollectingdataas we wishto
examine the behaviorof the circuitoverthe entire 100 millisecondperiod. There isalsononeedforus
to change the outputfile optionsaswe are not interestedinfindingthe FourierTransformof anyof our
measurements.Once the parametersof the simulationhave beenset,we simplyclickonthe green“Run
Simulation”buttonjustlikebefore.Once the simulationhasbeensuccessfullyrun,the probe window
will automaticallyopen.Fromhere we canuse the “AddTrace” optioninorder to plotanyvariable we
are interestedin.
14. 14
Results
For thisexample,inordertoensure thatwe performall of the precedingstepscorrectly,we were also
givena table displayingall the valueswe are interestedinfinding,the probe commandthatwouldallow
us to plotthese values,andthe actual numerical value thatwe shouldfindusingthe probe.Thistable is
showninTable 2 below.
Table 2: Desired Quantities and Actual Values
Simplylookingatthe table above doesnot reveal muchuseful information.Therefore,inordertoget a
clearerpicture of exactlyhowthe circuitbehaves,we needtouse the probe functiontoplotthese
quantities. Beginningatthe topof the table andworkingour waydown,we enteredeachcommand
listedinthe middle columninthe probe functioninordertoproduce the desiredplots. The plotof the
currentthrough the inductor,aswell asits maximumvalue,isshowninFigure15. In thissectionwe will
onlyproduce ourgraphs and discussthemgenerally.A full discussionof ourresultsiscontainedinthe
concludingsection.
Figure 15: The plot of the current through the inductor. The maximum of this current is also shown.
The firstthingto note from Figure 15 is that the maximumvalue we foundforthe inductorcurrentis
identical tothe value listedinTable 2.We shouldtake thisto meanthatour resultsare indeedcorrect.
15. 15
We nextturnedtothe energystoredinthe inductor.Usingthe formulaprovidedinTable 2we produced
the graph showninFigure 16.
Figure 16: The energy stored in the inductor with respect to time as well as the maximum value are shown in the figure.
Again,a simple glance atFigure 16 assuresus thatour resultsare correct as the maximumvalue found
on our plotequalsthe value showninTable 2.We shouldalsonote thatthe maximumforthisplot
occurs at 10 milliseconds,whichisthe same time thatthe current throughthe inductorreachesits
maximum.Once again,thiscorrelationconvincesusthatourresultsare indeedcorrect.
It isnow importanttonote that for all of the remainingquantities,we will onlyworryaboutthe value at
the endof the 100 millisecondperiod. We will now lookatthe average powerabsorbedbyeach
elementbeginningwiththe switch.The graphof thisquantityisshowninFigure 17.
Figure 17: The average power absorbed by the switch. The value is only just greater than 0 Watts.
It isdifficulttosee fromFigure 17, butthe powerabsorbedbythe switchis justgreaterthan0 Watts,
whichisalsoshownin Table 2. The reasonfor thiswill be discussedinthe followingsection.
Figure 18 showsthe average powerabsorbedbythe DCpowersource,VCC.
Figure 18: Plot of the average power absorbed by the DC voltage source. The negative value indicates that the voltage source is
supplying power.
Here the negative value indicatesthatthe voltage source issupplyingpower,whichisbynature what
voltage sourcesdo. Italso shouldbe notedthateventhoughitisnot showninFigure 18, the power
absorbedbythe source peaksat -203 Watts at 10 milliseconds,the same time asthe currentthrough
the inductorand the energystoredbythe inductorreach theirmaximum.Again,thiswillbe discussedin
the nextsection.Also,we see thatonce againthe value we foundisidentical tothe value providedin
Table 2.
Figure 19 illustratesthe average powerabsorbedbythe diode.
16. 16
Figure 19: Average power absorbed by the diode.
There isnot verymuch to discussinregardsto thisquantityotherthanto pointoutthat the value isvery
small.Thisisdesirable aswe wishtoavoidlossesinordertosupplymostof the powerin the circuitto
the inductorand resistor.
We nextexaminethe average inductorpowerasshowninFigure 20.
Figure 20: Average inductor power. The value is roughly 0 at the end of the period, which is what we would expect.
From Figure 20 we can see thatthe peak value is203 Watts at 10 millisecondswhichisexactlyequal,
but opposite,tothe average powerabsorbedbythe DCvoltage source.We can alsosee that the endof
one periodthe value isroughly0.Both of these resultsare logical andwill be discussedfurtherinthe
nextsection.
We nowwishto lookat the average voltage acrossthe inductor,whichisshowninFigure 21.
17. 17
Figure 21: Average voltage across the inductor. At the end of the period the voltage is again roughly 0.
From Figure 21 we can againsee that the value of the quantityat the endof the 100 millisecondperiod
isjust about0. Once again,thisisexpectedandmakessense since the average inductorpowerisalso0
at the endof the period.
Finally,we wishtolookatthe average resistorpower.ThisplotisshowninFigure 22.
Figure 22: Plot of the average resistor power. At the end of the period we see that the value of the resistor power is 19.9 Watts.
There are twoimportant takeawaysfromFigure 22. First,we see thatthe average powerof the resistor
isjust about0 Watts forthe first10 milliseconds.Thisisdue tothe inductorchargingand thusabsorbing
a majorityof the powerin the circuit.Finally,we cansee thatat the endof the periodthe average
powerabsorbedbythe resistoris19.9 Watts. The rest of the powerat thistime issplitbetweenlosses
inthe diode andthe switch.
Nowwe will lookatthe energyabsorbedbythe resistor,inductor,anddiode one ata time.We begin
withthe energyabsorbedbythe resistor,showninFigure 23.
18. 18
Figure 23: Energy absorbed by the resistor. At the end of the period the value is 1.99 joules.
First,itis importanttonote that Figure 23 ismislabeled.The label shouldread“EnergyAbsorbedbythe
Resistor”asresistorsdonot store energy.Thisissimplyatypo. We can see that at the endof the period
the energyabsorbedbythe resistoris1.99 joules.
Figure 24 showsthe energyabsorbedbythe diode.
Figure 24: Energy absorbed by the diode. At the end of the period the value is 0.046 joules.
We can see thatthe diode absorbsverylittle energythroughoutthe 100 millisecond period.Atthe end
of the period,the value is0.046 joules,whichisonce againdesirable forthe same reasonsstatedasfor
the average diode power.We canalso see thatbefore 10 millisecondsthe energyabsorbedbythe diode
is0 joules.Thisisagaindue to the nature of the inductor.
Figure 25 showsthe energyabsorbedbythe inductor.
Figure 25: Energy absorbed by the inductor. At the end of the period we can see that the value is 0 joules.
19. 19
We can easilysee thatat the endof the periodthe value of the energyabsorbedbythe inductor is0
jouleswhichagreeswiththe previouslyshownplotsforthe average inductorpowerandvoltage.We
can alsosee that the peakof the energyabsorbedbythe inductoroccursat 10 milliseconds,whichalso
agreeswithall the previousinductorplots.
Finally,we wishtoplotthe RMS value of the currentthroughthe resistor,whichisshowninFigure 26.
Figure 256: RMS current through the resistor. At the end of the period the value is 0.998 Amperes.
Once again,we see that the RMS currentthroughthe resistoris0 Amperesbefore 10millisecondswhile
the inductorischarging.We alsosee that the value at the endof the periodis0.998 Amperes.
For completeness,the resultsof the simulationonourcircuitare shownin Figure 27.
Figure 26: The circuit after running the simulation.
All of these resultsare discussedingreaterdetailinthe followingsection.
20. 20
Discussion/Conclusion
We will beginourdiscussionbyfocusingonthe inductorplots. The firstthingwe note whenexamining
Figures15, 16, 20, 21, and25 isthat the maximumof all of these plotsare locatedat 10 milliseconds.As
previouslystated,thisisdue tothe inductorchargingduringthe first10 milliseconds. Due tothe nature
of the inductor, the diode, andthe switch, all of the currentduringthistime followsthroughthe
inductor,as evidencedbyFigure 26whichshowsthat the RMS currentthroughthe resistorduringthe
first10 millisecondsis0. The inductorplotsalsoshow that after10 millisecondsall of the quantities
steadilydecreaseuntil theyfinallyreach0.Thisis the dischargingperiodof the inductor. Once an
inductorhas beenfullycharged,itenterssteady-state.Inthisstatthe inductoracts as an opencircuit,
whichmeansthat there isa voltage acrossit,but no currentthroughit. Again,thiscanbe showninthe
resistorplotsasall of the quantitiesare 0 before 10 millisecondsandsteadily increase afterwardsuntil
the endof the period.
We will nowturnourattentiontoFigures17 through22 whichdetail the average powerabsorbedby
each element.BeginningwithFigure 18whichshowsthe average powerabsorbedbythe DCvoltage
source we see that at the endof the periodthe source issupplying20.3 Watts.Comparingthisto the
average powerabsorbedbythe resistor,we see thatthere isroughly0.4 Watts of powerthat is
unaccountedfor. Aspreviously stated,there isnocurrentthroughthe inductorwhichthereformeans
that the inductorisnot absorbinganyenergy.ThisisalsoillustratedinFigure 21whichshowsthatthe
powerabsorbedbythe inductorat the endof the periodis0 Watts. Therefore,the onlypossible
remainingelementsthatcanaccount for the missingpowerare the diode andthe switch.Examining
Figures17 and 19 showsthat the total powerabsorbedbythese twoelementsis0.474 Watts,whichis
justabout equal tothe unaccountedpower. Comparingthisvalue tothe value of the powerabsorbedby
the resistorwe see thatthese lossesare justaboutsmall enoughtobe inconsequential.Thisisespecially
true for the switchwhichabsorbsa meager0.01 Watts. Thisis due to our attemptstoidealize the switch
by settingthe on resistance toa mere 0.001 ohms.Usually,thisvalue isthe range of 1 ohm to 1
Megaohm.
Performingbothof these examplesinthisfirstlabhasallowedustofamiliarizeourselveswiththe
particularsassociatedwithPSpice aswell asthe PSpice workenvironment.We have alsoexaminedthe
innerworkingsof botha relativelysimple RLcircuitaswell asa slightlymore complex RLcircuit
consistingof a switch,adiode,anda DC voltage source.We are now preparedtoconstruct and simulate
much more complicatedcircuits.