Está en la página 1de 14

1

• Programa: ORCAD CAPTURE

• ARRANCAR EL PROGRAMA:
• Arrancar sesión de Windows con la clave indicada en el Laboratorio
• Arrancar Orcad Capture: Inicio – Programas – ORCAD 16.0 – CAPTURE
• Abrir un nuevo proyecto: File – New – Project – New Project :
Name
· Analog or Mixed A/D
Location (Browse: Unidad c:\USUARIOS, crear una carpeta)
Create based upon an existing project: · empty_all_libs_opj

• Abrir: Design resources, “nombreproyecto.dsn”, SCHEMATIC1, PAGE1 (Doble click)


(Abre la página de dibujo de esquema)

2
DIBUJAR EL ESQUEMA DE UN CIRCUITO:

• Colocar componentes:
(Editor de páginas de esquemas)
- Componentes: Place Part, Part: Nombre componente, Part Search, Begin Search, Seleccionar librería,
OK
(Ejemplo: VDC, R, L, Sbreak, Dbreak, Vpulse)
- Masa: Place Ground (0/CAPSYM)
- Cables: Place, Wire

3
DIBUJAR EL ESQUEMA DE UN CIRCUITO (2):

4
DIBUJAR EL ESQUEMA DE UN CIRCUITO (3):

• VPULSE: Fuente de tensión de pulsos V1 = VPULSE


V2 =
TD =
TR =
TF =
PW =
PER =

Ejemplo:
V1 = 0 PW

V2 = 10 V2
TD = 1m
TR = 2m
TF = 2m
PW = 3m
PER = 10m V1
TD TR TF
PER

5
HACER UNA SIMULACIÓN (PSpice):

Pspice, New Simulation Profile, Name, Create


Simulation Settings:
Analysis Type: Time domain (Transient)
Run to time
Maximum step size

Pspice, Run

6
HACER UNA SIMULACIÓN (PSpice) (2):

7
REPRESENTAR LOS RESULTADOS DE UNA SIMULACIÓN (PSpice A/D):
-VER FORMAS DE ONDA:
• Desde Capture: Pspice, Markers: Voltage Level, Colocar marker (V, I, P)
• Abrir Pspice A/D (Se ven las formas de onda)
(Otra forma: Trace, Add Trace, Trace Expression)
Añadir plot: Plot, Add Plot to Window
Ver cursores: Trace, Cursor, Display
Zoom: View, Zoom (Fit, In, Out, Area)
Modificar ejes: Plot, Axis Settings, X Axis, Y Axis (Auto Range / User Defined)

-VER OPERADORES O FUNCIONES CON FORMAS DE ONDA:


(+,*, …, AVG(), RMS(), …)
Trace, Add Trace, Trace Expression: Functions or Macros

8
REPRESENTAR LOS RESULTADOS DE UNA SIMULACIÓN (PSpice A/D) (2):
MARKERs:

9
REPRESENTAR LOS RESULTADOS DE UNA SIMULACIÓN (PSpice A/D) (3):
AÑADIR PLOTs:

10
REPRESENTAR LOS RESULTADOS DE UNA SIMULACIÓN (PSpice A/D) (4):
CURSORES:

Toggle cursor

Cursor 1 Valores

Cursor 2

11
REPRESENTAR LOS RESULTADOS DE UNA SIMULACIÓN (PSpice A/D):
- FUNCIÓN AVG(): Valor medio instantáneo
t T
1 1
AVG (v)(t )   v(t ) dt AVG (v)(T )   v(t ) dt  VAV
t0 T0

Ejemplo: 100V

100 V , 0  t  50 s
(v)(t )  
50 s  t  100 s
50V

0,
SEL>>
0V
V(R1:2)
100V

AVG (v)(t )
50V

0V
0s 20us 40us 60us 80us 100us 120us 140us 160us 180us 200us
AVG(V(R1:2))
Time

VAV  AVG (v)(100 s)  50 V


12
ERRORES DE CONVERGENCIA:
Probar:
- Modificar valores de simulación (Simulation Settings – Options):
ABSTOL = 1u
GMIN = 1u
ITL1 = 400
ITL4 = 100
(RELTOL = 0.01)

- Emplear valores no nulos para tr, tf en fuentes PULSE.


- Conectar resistencia de gran valor en paralelo con componentes que puedan estar provocando el
problema de convergencia.

13
CREAR UN PROYECTO NUEVO A PARTIR DE UN FICHERO .dsn

Fichero de partida: .dsn (por ejemplo: PRAC2.dsn). Queremos crear un proyecto nuevo a
partir de él (por ejemplo: PRAC3), manteniendo el antiguo.
- Crear un subdirectorio y darle un nombre (PRAC3)
- Copiar en el subdirectorio el fichero .dsn (PRAC2.dsn) y asignarle el nuevo nombre
(PRAC3.dsn)
- Orcad Capture: File – New – Project:
- Location - Browse: Drives, Directories (PRAC3)
- Name: Nombre del fichero .dsn (PRAC3.dsn) – OK
- Aparece un aviso: “J:\curs1314\Simulaciones\PRAC3\PRAC3.dsn already exists. Do
you want to insert it into this project?” – ACEPTAR
- Se crea un proyecto (PRAC3.opj) con el circuito del fichero .dsn
- Comprobar los modelos Pspice de elementos como Sbreak, Dbreak
- Crear un New Simulación Profile

14

También podría gustarte