Estudio del proceso de señales complejas en redes de circuitos electrónicos no lineales
Abstract
En este proyecto se describe el diseño, implementación y estudio de la propagación de información en una red compleja de circuitos electrónicos no lineales. Este estudio pone de manifiesto la existencia del fenómeno de la resonancia sub armónica o fantasma, mediante la transmisión de señales a diferentes frecuencias que al viajar por una red tipo Scale Free acaban convergiendo y gracias al procesado no lineal provoca la aparición de esta frecuencia que no se introduce de forma directa en la entrada, este fenómeno se denomina resonancia sub armónica o fantasma.
Full text
Titulació:EnginyeriaenAutomàticaiElectrònicaIndustrial …………………………………………………………………………………………….. Alumne:AlexDeSanFulgencioLagunas ……………………………………………………………………………………………… TítolPFC:Estudiodelprocesadodeseñalescomplejasen ……………………………………………………………………………………………… redesdecircuitoselectrónicosnolineales ……………………………………………………………………………………………… ……………………………………………………………………………………………… ……………………………………………………………………………………………… ……………………………………………………………………………………………… DirectordelPFC:JordiGarcíaOjalvo ……………………………………………………………………………….……………. ConvocatòriadelliuramentdelPFC:Setembre2009 …………………………………………………………………………………………….. Contingutd’aquestvolum: ‐ANEXOS‐
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 2 ÍNDICE ANEXOI.DISEÑODELAPCBDELOSNODOSDEFINITIVOS................................................3 ANEXOII.SIMULACIÓNDEMODELOSREALES.................................................................46 ANEXOIII.INFORMACIÓNTÉCNICASOBRELOSCOMPONENTES.....................................71 ANEXOIV.MANUALDEUTILIZACIÓNDELHARDWARE....................................................74
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 3 ANEXOI.DISEÑODELAPCBDELOSNODOSDEFINITIVOS LafinalidaddeesteanexoesdetallarelprocedimientodediseñodelasPCBsutilizando comoejemplolaPCBdelosnodosdefinitivos. INTRODUCCIÓN EsteanexodetallalametodologíaquesehaseguidoparalageneracióndelasPCBs,sin embargoalrepetirseelmismoprocesoparalastodaslasPCBséstesólosedetallaenel apartado1DISEÑODELAPCBDELOSNODOSDEFINITIVOS. AdemásesteanexodefinelascaracterísticasgeneralesdelasPCBsquesehandiseñado paraesteestudioqueson: • PCBdelosnodosdepruebas. • PCBdelosnodosdefinitivos. • PCBdelaplacasoportedepruebas. • PCBdelaplacasoportedelaredde50nodos. • PCBdelestimulador. • PCBdelsumadorderuido. DISEÑOENPSPICEDELCIRCUITODELOSNODOSDEFINITIVOS LarealizacióndelasPCBssehautilizadoelprogramadediseñotipoCADdenominado Layout,pertenecientealasuitedesoftwaretipoEDA,llamadoOrcad10.5.Éste programanecesitaparainiciareldiseñoelarchivoNetlist,estearchivocontiene informaciónsobrelasinterconexionesdelosdiferentescomponentesdelesquema,por ellosedebedisponerdelcircuitodelaPCBenCapture.ElprogramaCapturetambién formapartedelasuiteOrcad10.5,enelcasodelnodoelcircuitoaimplementaresel siguiente:
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 4 Esquema1:CircuitoElectrónicodeSimulaciónenCapturedelNodoDefinitivo. ElcircuitoesnecesarioparagenerarelarchivoNetlistdesdelabarrademenúdel CapturequeapareceenlaFigura1yseleccionarlaherramientaCreateNetlist: Figura1:DetalledelprogramaCaptureparalaGeneracióndelaNetlist. TrasseleccionarCreateNetlistapareceráunaventanadeconfiguración,enestecasose configuralapestañaLayout,yaqueestearchivoseránecesarioposteriormente.A continuaciónsemuestralapantalladeconfiguracióndondesepermitecambiarlaruta dealmacenadodelarchivodenominadaNetlistFile,asícomodefinirlasunidades métricasdelmismoenelapartadoOptions,talycomosemuestraenlasiguientefigura: 22k out_1_3 22k out_1_2 R175 22k R176 22k 22k out_1_6 22k out_1_1 U45 TL082 1 1 2 2 3 3 44 55 V46 5Vdc U46 TL082 1 1 2 2 3 3 44 55 V47 10Vdc U47 TL082 1 1 2 2 3 3 44 55 0 V48 10Vdc R144 270 R145 270 R146 220 L16 10mH 1 2 C36 10n C37 1n R147 270 R148 55 R149 22k U48 TL082 1 1 2 2 3 3 44 55 22k St D57 SMDZ4V705W out_2_4 out_2_2 out_2_6 out_2_3 out_2_1 out_2_5 22k out_1_5 22k out_1_4 Createnetlist
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 5 Figura2:PantalladeConfiguracióndelNetlist. TrasaceptarlapantallaanterioryasehageneradoelNetlist,porloqueseiniciael procesodediseñodesdeLayout.SeabreelprogramaLayoutdesdeOrCAD10.5/Layouty seseleccionalaopciónNewdelmenúdeFile,talycomosemuestraenlafigura siguiente: Figura3:PantalladeGeneracióndeunArchivoNuevo. Trasseleccionarlacreacióndeunarchivonuevo,debemosasociarleunaplantillade trabajo,asícomoelNetlistgeneradoanteriormente: Unidadesmétricas Rutadealmacenamiento
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 6 Figura4:ConfiguracióndelNuevoDiseñodelprogramaLayout. Laplantilladebesercompatibleconelesquemáticorealizadoanteriormente,eneste casosehaseleccionadolaplantillametric.tch,yaqueelarchivoNetlistsegeneróen formatométrico,paraobtenermásinformaciónsobrecadaplantillaseencuentraenel apartadohelp,acontinuaciónsemuestralapantalladeseleccióndelasplantillas: Figura5:DetalledelaSeleccióndelaPlantilla. ElsiguientepasoesañadirenInputMNLelNetlistgeneradoanteriormente,talycomo semuestraenlasiguientefigura: Nombredelarchivodela PCB AsociarelNetlist anterior Asociarelesquemático anterior
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 7 Figura6:SeleccióndelNetlist. AlañadirelarchivodelNetlist,segeneraautomáticamenteelnombredelarchivoque contendráeldiseñodeLayout,enéstecasodeejemploelnombreesP1,portantoel archivosedenominaP1.maxestesepuedemodificarenelapartadoOutputLayoutMAX file.AlfinalizardichatareasepuedeejecutarelApplyEchoqueapareceenlaparte inferiordelaFigura6,finalizandolageneracióndenuevoarchivoyiniciándoseasíla primerafasedeldiseño: AplicarECO
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 8 Figura7:PrimeraFasedelDiseñodelaPCBdelNodo. Laslíneasamarillasindicanlasdiferentesconexionesentreloscomponentesdel esquemático,elrecuadroenlíneadiscontinuaeslaherramientaDesignRuleCheck (DRC)lacualseactivapordefectoalabrirelLayout,estaherramientaseencargade generarlosreportescorrespondientesalasviolacionesdelasreglaseléctricas,estos reportessemodificanenelmenúdeAutoylaopciónDesignRuleCheck: Figura8:UbicacióndelasOpcionesdelDRC. DRC OpcionesdelDRC
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 9 Trasclicarapareceránlasopcionesdisponibles,talycomosemuestranacontinuación: Figura9:OpcionesdelDRC. AdemásestaherramientaimpidelacolocacióndeelementosfueradelaregióndelDRC, porellopuedesernecesarialadesactivacióndelDRCmediantelabarradeherramientas delLayoutparapodertrabajardeformamáscómoda. Figura10:BotóndeActivacióndelDRCOnline. TrasclicarelbotóndelDRC,desapareceráelrecuadroconlíneadiscontinua,quedando elbotónencolorgrisyelmensajeenelDesign‐ObstacleTool(DRCOFF). Figura11:DRCDesactivado. DRC DRC
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 16 Figura26:HerramientaObstacleTool. ParapodersermásprecisoslasteclasOeIpermitenalejaroacercareldiseño respectivamente,unavezrealizadoelcontorno,seseleccionaryclicandoelbotón derechosemodificanlaspropiedadessiguientes: Figura27:PropiedadesdelosObstáculos. Finalmenteseguardaelfootprintparaserasignadoalcomponente. GENERANDOLASPISTAS Unavezquetodosloscomponentescontienenlosfootprints,seprocedealarealización delaspistas,mediantelaherramientaAdd/EditRouteMode: Figura28:HerramientaAdd/EditRouteMode. ObstacleToo l NombredelObstáculo TipodeObstáculo CapadelObstáculo Add/EditRouteMode
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 17 LadistribucióndeloscomponentesSMDseharealizadoennuestrocasoenlamisma capa,ademásnosepodránrealizarcambiosdecapayaquelasegundacapaes únicamenteparacolocacióndelosagujerosmetalizados,estasterminacionesimplican queloscomponentesTHDpodránsoldarseporcualquieradelasdoscaras. Parapodermodificarlacapadelfootprintseleccioneelcomponentemediantela herramientaComponentyaccedaalaopciónOppositemedianteelmenúdelbotón derechodelratón. Figura29:HerramientaComponentTool. AcontinuaciónsemuestraelejemplodelaseleccióndelaopciónOppositesobreun integradotipoTL082: Figura30:DetalledelaSeleccióndeOpposite. AntesdeutilizarlaherramientaAdd/EditRouteModesedebeconfigurarelgrosorde laspistasmediantelaherramientaViewSpreadsheetanteriormentedescritayquese muestraenlaFigura22,posteriormenteseleccionarNetsallíajustartodaslaspistasal grosorespecificadoparaello,enestecasolaspistasdealimentaciónsehaseleccionado ComponentTool OpciónOpposite
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 18 elanchode1mm,mientrasqueelrestodepistasde0.6mm,estasespecificacionesde diseñosonlasimpuestasporelDepartamentodeElectrónicadelaUPCenlaEUETIT.Se hanconservadodichasespecificacionesparapodermantenerlaopcióndefabricación encasodequeelDepartamentodeElectrónicadelaUPCmejorelasherramientasde quedisponen. Sepuedemodificarlacapadelapistaantesderealizarla,paraelloseleccionelacapa porelmenúomarcandoelnúmero1paralacapatop,oelnúmero2paralacapa bottom,paraeliminarlapistasedebeclicarlatecla‘d’,sisedesearealizar modificacionessobreunapista,sedebeseleccionarlaherramientaEditSegmentMode: Figura31:HerramientaEditSegmentMode. Sedebeasegurarquelosángulosdelaspistasseande45º,yaquesiseintroducenpor ejemploángulosde90ºlapropiapistaejerceunefectoresistivosobreelcircuito,para minimizarlainfluenciadelaspistasenelcircuitosedebenrealizarlosángulosde45º, enelcasoderealizarángulosmayores,sedeberácolocarlosobstáculospertinentes paraproporcionarunángulofinalde45º,acontinuaciónsemuestraunejemplode cómogenerarunobstáculodeestetipo: Figura32:EjemplodeZonaProblemáticaconÁngulosde90º. ZonaProblemática EditSegmentMode
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 19 InicialmenteseleccionarlaherramientaObstacleToolcomosemuestraenlaFigura26y posteriormenteserealizalaformadeseada: Figura33:DetalledelObstáculorealizadoparasolucionarángulode90º. Unavezelobstáculoesterealizadoseclicacercadelobstáculoparaseleccionarlo,de estaformaseponeencolorblancoyseclicaalbotónderechoparapoderaccederalas propiedadesdelobstáculo. Figura34:DetalledelaSeleccióndelasPropiedadesdeunObstáculo. Formadeseada Propiedades
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 20 Laconfiguracióndelobstáculodeseadoesladeunsólidodecobre,porellose seleccionalaopciónCooperarea,ademássecolocaráenlacapabottom,yaquelapista alaquedebeunirseelobstáculoseencuentraenesacapa. Figura35:PropiedadesdelObstáculo. Alconfigurarelobstáculocorrectamenteestedebeaparecerenelcolordelacapa seleccionada,ademásenestecasoalseleccionareltipoCopperarea,lasuperficiedel mismodebesersólida. NombredelObstáculo TipodeObstáculo CapadelObstáculo
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 21 Figura36:ResultadoFinaldelaInsercióndeunObstáculotipoCopperarea. GENERANDOELPLANODEMASA Elplanodemasagarantizaunaequipotencialidadentodasusuperficie,ademásdebe haberunplanoporcadamasa,esdecir,sielcircuitoestáformadoporelementos analógicosydigitaleslasmasasdeambossondiferentesydebentenerplanos diferentes,sinembargoestosdebenunirseenelpuntodemasadelbloqueconversor analógicoadigital.Enlaplacadelnodosolamentehayunamasayaquetodoslos elementosquelaformansonanalógicos,portantosólosegeneraráunplanodemasa. Paraellosedebeconocerelnombredelapistademasa,parasaberlapistademasa,se puedeseleccionarlaherramientaPinquesemuestraenlaFigura19ysemarcaunpin queesteunidoalamismapistademasa,estaherramientadaráinformaciónsobreel nombredelapistaunidaalpin: Figura37:InformacióndelaConexiónentreunpinyunapistamediantelaHerramientaPin. NombredelaPista alaqueseconecta
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 22 SeharealizadouncuadradoqueocupalasuperficiedelaPCB,enestecasoamodode ejemplosecolocaunaimagendeunaPCBdeprueba: Figura38:ObstáculoCuadradoparagenerarunPlanodeMasa. Sedebegenerarotroobstáculo,enestecasoqueocupetodalasuperficieútildelaPCB yseleccionarlacaracterísticaCopperPore,ademásdeseleccionarlaClearence(,este parámetroindicaladistanciaentreplanodemasaycualquierpistaopadquese encuentreensusuperficie)impuestaporelprocesodefabricacióndelaPCB. Obstáculo
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 23 Figura39:ConfiguracióndelObstáculocomoPlanodeMasa. Launiónquerealizapordefectoentreelplanoylapistaseleccionadaenestecaso NET_198esatravésdeunacruzcomosemuestraenlasiguientefigura: Figura40:EjemplodeUniónencruzentrePinyPlano. Estemétododeunión,siloquesedeseaesunaunióncompletasedebeaccederenla seccióndeOptionslapartedeThermalReliefSettings: NombredelObstáculo TipodeObstáculo CapadelObstáculo Clearance Pistaasociadaal planodemasa
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 24 Figura41:DetalledelaUbicacióndelThermalReliefOptions. AlseleccionardichosajustessedebemodificarelSpokeWidthqueeselparámetrodela anchuradelaspistasqueunenlospinesalplanodemasaenestecaso: Figura42:ConfiguracióndelThermalReliefSettings. FinalmentesedebecolocarunobstáculoquelimitetodalaPCB,yaqueesobligatorio parapoderutilizarlasopcionesdeautoruteado,ademásparalafabricaciónautomática delasPCBesobligatorioquecontengandichoobstáculo.Paraconfigurarlosedebe colocarunobstáculoquecontengatodosloselementosdelaPCBensuinterior,amodo deejemplosecolocaunaPCBdeprueba:
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 25 Figura43:DetalledelObstáculodelLímitedelaPCB. PosteriormentedebeconfigurarsecomoBoardOutline,esrecomendablequeelancho delaslíneasdelcontornodellímiteseanfinasyaquenormalmentelosprocesos automáticosdefabricaciónutilizanelpuntomediodelanchodelamisma,alafectara todaslascapassedebecolocarenlacapaGlobalLayer: Figura44:ConfiguracióndelObstáculotipoLímitedelaPCB.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 32 DISEÑODELAPCBDELNODODEPRUEBAS Elprocedimientoquesehaseguidoenestediseñoeselmismoqueenelanterior,sin embargoestediseñoserealizóantesaldescritoanteriormente.Deldiseñodepruebas sefabricaronúnicamentesehanfabricado3prototiposdeprueba,yaquelafinalidadde losmismoseralaconfirmacióndelcorrectofuncionamientodeldiseño,paramás informaciónverelapartadode7.3CAPITULO3:VALIDACIÓNDELDISEÑODELOS NODOSDEPRUEBAS. Éstediseñosediferencianconeldiseñodefinitivoen: Tabla1:CaracterísticasquediferencianlosNodosdePruebasdelosNodosDefinitivos. NODODEPRUEBASNODODEFINITIVO Conectordealimentaciónde6pinesy1 fila. Conectordealimentaciónde6pinesy2 filas Larealimentacióndelsumadorinversor condiodozenerydiodorectificador. Larealimentacióndelsumadorinversor constadiodozeneryresistenciade22kΩ. LapuntadetestT1estáubicadaantesde laetapadelseguidordetensión. LapuntadetestT1estáubicadadespués delaetapadelseguidordetensión. Laconfiguracióndelauniónentreelplano demasaylamasamediantecruzdeunión. Laconfiguracióndelauniónentreelplano demasaporsuperficietotal. Eldiseñoserealizoconunacapa.Eldiseñoserealizocondoscapas. Acontinuaciónsemuestraeldiseñofinaldelosnodosdepruebarealizado: Figura55:DiseñodelaPCBdelosNodosdePrueba. Diferencias
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 33 DISEÑODELAPCBSOPORTEDEPRUEBA EstaPCBestádiseñadaparaalimentarlareddeprueba,lacualconstade3nodos,para ellosehadiseñadounzócalodealimentaciónparacadanodo,loscualesestán interconectadosalbusdealimentación,comosemuestraacontinuación: Figura56:DiseñodelaPCBSoportedePruebas. EstaPCBsehafabricadoenelDepartamentodeElectrónicadelaEUETIT,conlas siguientesespecificacionesdediseño: • Elanchomínimodepistadeseñalde0.6mm. • Elanchomínimodepistadealimentación1mm. • Laseparaciónmínimaentrepistasoclearance0.6mm. • Eldiámetrodelospadsdeberáserde2.5mm. • Eldiámetrodelasperforacionesparalaspatasde3mm. • LasmedidasmáximasdelaPCBsonde200x300mm. SehaoptimizadoeldiseñodeformaquesepuedacolocarenunPCBmonocapay abaratarasísucosteypermitelainsercióndeetiquetasconinformaciónporlacara libre. Bornerade Alimentación ConectordelosNodos
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 34 COMPONENTESDELAPCBSOPORTEDEPRUEBA CONECTORESDEALIMENTACIÓNDELOSNODOS Lafuncióndelosconectoresesladealimentaracadanodo,porellodebendisponerde tantosconectorescomoelnodo,lasseñalesnecesariasparalaalimentacióndelnodo son: Tabla2:SeñalesdeAlimentacióndelosNodos. SEÑALESDELOSCONECTORES Tensión–VccdelSumadorInv.yelSeguidor ‐VS GND GND Tensión–VccdelDiododeChua(NIC)‐VNIC Tensión+VccdelDiododeChua(NIC)+VNIC Tensión+VccdelSumadorInv.yelSeguidor+VS GNDGND LosconectoresdealimentacióndelaPCBsoportedepruebasehandesfasados120º, estadecisiónseharealizadocomopracticapreviaaldiseñodelaPCBsoportedelared completaenlaquesecolocaranlosconectoresdealimentacióndesfasadosformando unacircunferencia. BORNERADEALIMENTACIÓNDELAPCB LaborneradealimentacióndelaPCBesde5pines,aunquelosconectoressonde6 pinesporfila,estehechosedebeaquelaseñalGNDestárepetidaendospines,a continuaciónsedetallanlascausasdeesarepetición: • InicialmentesecolocaronlosdospinesparafacilitareldiseñoinicialdelaPCB, aunqueelplanodemasauneambospuntos.Éstetieneunazonamuycrítica,si sufreuncortesepararíaelplanodemasaendosplanos,comosemuestraa continuación:
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 35 Figura57:PuntoCríticodelPlanodeMasa. Alunirambospuntosenlaplacasoporteseaseguraqueaunqueseproduzcaunarotura ambosplanosseránequipotenciales. • Lautilizacióndeconectoresde6pinesestámásextendidayportantolos preciossonmásasequibles,demodoquenosuponeunaumentodelprecioy ademásaportaventajastantoeléctricascomomecánicasalcircuito. PuntoCrítico
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 36 DISEÑODELAPCBSOPORTEDELAREDDE50NODOS EldiseñodeestaPCBdebeincluirelzócaloparalainsercióndelos50nodos,trasla utilizacióndelaPCBsoportedepruebassedeterminóquelasujeciónentreelnodoyla PCBsoportenodabalarobustezdeseada,porelloseseleccionólaopcióndedoblarlas filasdelconectordealimentacióndelaPCB,asícomolasdelnodo.Estatipodeunión provocaeldobledefuerzaevitandoasítorsiones,yaquelosnodosvancolocadosde formavertical.Ademásdebeincluirlaborneradealimentación,acontinuaciónse muestralaPCB: Figura58:TrazadodelaPCBSoportede50Nodos. EstaPCBsehafabricadoenelDepartamentodeElectrónicadelaEUETIT,portantoestá sujetaalasrestriccionesindicadasenelapartadoanterior,quedandolasiguienteplaca: Bornera Conectores
ESTUDIO D COMPO N CONECT O Lafunción señalesqu delasexp e incorporar mismo,e s sucesivam e porlamay nodosde recomend ó conectore s D ELPROCESAD A Im a N ENTESD E O RESDEALI deloscon esetransm e rimentacio n unafilaext s decir,el p e nte,elben orsujeción, formavert ó desdeeld s : ODESEÑALES A NEXOII.SI M a gen1:Fotog r E LAPCBS O MENTACI Ó ectoreses l itenporlos n esrealizad a radeconex i p in1del a eficioques graciasala ical,yaqu e epartament COMPLEJASE N M ULACIÓN D 37 r afíadelapl a O PORTED E Ó NDELOS N l amismaq u conectores a ssobrelar i ones,aunq u a fila1est á eobtienea l cualseevit a e lospines olasiguien t N REDESDECIR C D EMODELO S a casoported e E LARED D N ODOS u eenelap a sonlasdes c eddeprue b u eeléctrica m á conectad o l doblarlas a elefectoq u estabanin t t emodificac C UITOSELECT R S REALES e 50Nodos. D E50NO D a rtadoante r c ritasenla T b adetermin a m enteelpin o alpin7d filasesde c u eproduce t erconectad o iónenlose R ÓNICOSNOLI N D OS r ior,asíco m T abla2,ela n a lanecesi d decadafil a elafila2 c arácterme c lainserción o sentreell nlospines d N EALES m olas n álisis d adde a esel yasí c ánico delos osse d elos
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 38 ANTESDESPUÉS Figura59:ComparacióndelosFootprintsdelConectordeAlimentacióndelosNodos. Realizandoestamodificaciónseobtienemássuperficiedepin,evitandoposiblesroturas delospadsdurantelaperforación,ademásseaseguradesdeelmismofootprintuna uniónentrelospinesquedebencontenerlamismaseñal. ANÁLISISDELADISTRIBUCIÓNDELOSCONECTORESDEALIMENTACIÓN Laslimitacionesdeladistribucióndelaredeslapropiasuperficiedeésta,yaqueel tamañomáximodelasplacasquesepuedenisolarenelDepartamentodeElectrónica delaUPCenlaEUETITsonde200x300mm,ademáslosnodosdebencumpliruna separaciónlateralde1cm. Seharealizadoelanálisisdediferentesdistribucionesdealimentacióndelaredtales como: 1. Lineal:ladisposiciónlinealdelosconectoresdelaredpermitíaenuna superficierectangularelaprovechamientomáximodelamisma,yaqueconsiste enlacolocacióndelosconectoresalolargodefilasdetantosnodoscomosea posible,acontinuaciónsemuestraunejemplodelmismo: Figura60:EjemplodeDistribuciónLineal. … 1cm 5.03mm . . . 15.24mm NODO PCB
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 39 Teniéndoseencuentaquelasuperficieesde200x300mmyqueelanchodelos nodosesde5.03: 300 10 5.03 19 ú 200 5 15.24 9 Medianteestemétodosepuedenalbergarlos50nodos,sinembargodificultael análisisvisualdelaredrealizada. 2. Regular:elmétodoregularconsisteenformarundecágonoregulardemodo queseintroduzcanencadaladodelmismo5nodos,éstemétodoconserva partedelafacilidaddeanálisisdelared,seanalizaeltamañodelmismo: Figura61:EsquemadeunDecágonoRegular. DelafiguraanteriorseextraelasiguienterelaciónentreAyB: 1√5 2 1.618 TeniendoencuentaqueelvalordeAesde100mm: 200 1√561.80 . Sicadanodomide5.03mmdeancho,eldecágonoexternocumplelasmedidas inclusolasholguras,sinembargoalcolocarelinteriorpasandoA’aser84.76 mm: 84.76 1√526.19 . Ladistanciaqueapareceencadavérticeinteriornocumpleconlasseparaciones yaquesolamenteeltamañodelosnodossinholgurasesde25.15mm,por tantoestadistribuciónnocabedentrodelaPCByporellosedesestima.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 40 3. Circular:estemétodotienelaventajadepodersecomparardirectamenteconla representacióndelaredcirculardematlab,facilitandolastareasde comprobación. LadistribucióndelosconectoresdentrodelaPCBdebecumplirlossiguientes requisitos: • Laseparaciónentrelosnodosdebepermitirlainsercióndelosmismo,ya quecadanodomide1cmdegrosor,laseparaciónmínimaqueseexigeesde 1cm. Elcálculodelaseparaciónseharealizadomediantelassiguientes ecuaciones,cuyosparámetrosson: N:númerodeconectoresquehayenlared(50)máslaborneradeconexiones. P:elperímetrodelacircunferenciaexterior. P’:elperímetrodelacircunferenciainterior. R:radioexternodelconectordealimentacióndelosnodos. R’:radiointernodelconectordealimentacióndelosnodos. D:diámetroexternodelconectordealimentacióndelosnodos. D’:diámetrointernodelconectordealimentacióndelosnodos. S:arcocorrespondienteacadasubdivisióndelacircunferenciasuperior. S’:arcocorrespondienteacadasubdivisióndelacircunferenciainterior. Ilustración1:RepresentacióndelaPCBsoportede50NodosconlasVariablesdelas Ecuaciones. S Conectores 15.03mm S’ R R’ α
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 41 Conociendoqueelnúmerodeconectoresesde51yqueeldiámetromáximode lacircunferenciaexterioresde200mm,sedeseadeterminarlosvaloresdelos arcosinferiorysuperiordeseparaciónentrelosconectores: 2 2 100 628.32 . AplicandolasiguienteformulaobtenemoselvalordeseadodelaS: . 12.32 . ElvalordelradiointeriorR’esde: 100 15.03 84.97. ElvalordelperímetrointeriorP’esde: 2 84.97 533.88 . ElvalordelarcointeriorS’esde: . 10.46. Elarcointernocumpleladistanciamínimaestablecidade1cm,sinembargose deberealizareldiseñoconextremaprecisión,yaqueelespaciolibreesmuy reducido. • Elángulodedesfaseentrelosconectoresdealimentacióndebepermitir ademáslainsercióndelaborneradealimentacióndelapalcasoporte. Puestoquesehandecolocado51elementos,lassubdivisionesenαserealizan según: 360° 360° 51 7° Finalmenteseharealizadoladistribucióncircular,yaquefacilitarálosposteriores análisisdelared,asícomolasfuturasmodificacionesenlatopologíadelamisma.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 48 Figura68:SeleccióndelArchivozgl41z20.txt. TrasabrirelmodeloesteapareceenlaModelList,demodoquesepuedenverlosdatos delmismo: Figura69:CaracterísticasdelModelodeSimulacióndelDiodoZenerzgl41z20. UnavezelarchivohasidointerpretadoporelModelEditor,seguardaesainterpretación comoelarchivolib,atravésdeFile/Saveas…,comomuestralafigurasiguiente: Figura70:UbicacióndelaOpciónSaveas…deFile. Alguardarelarchivoseseleccionalaextensiónlibyautomáticamentesegenerarael archivo,talycomomuestralafigurasiguiente: Mode l Lis t Característicasdelmodelo
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 49 Figura71:DetalledelaGeneracióndeArchivolib. Finalmenteunavezseharealizadoelarchivolibesnecesariogenerarelarchivoolbtaly comoindicalasiguientesección. GENERACIÓNDELARCHIVOOLB ElarchivoolbgeneralalibreríadelcomponenteparapoderseleccionarsedesdePSpice, porelloesnecesarioutilizarlainformacióndelquecontieneelarchivolib,unavezseha obtenidoestearchivosedebeseleccionarlaopciónFile/ExporttoCapturePartLibrary… talycomosemuestraenlasiguientefigura: Figura72:DetalledelaSeleccióndelExporttoCapturePartLibrary…deFile. Trasseleccionarlaopciónnosindicalasrutasdelosarchivos,porunapartelaubicación delarchivolibalquehacereferenciaelarchivoolbyporotrapartelaubicacióndonde seguardaráelarchivoolb.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 50 Figura73:RutasdelosArchivoslibyolb. Alseleccionaroksecompilalalibreríayapareceunreporteconlainformaciónreferente alastareasyproblemasencontrados,sinoaparecenerroreselprocesoconelprograma ModelEditorhafinalizado.Acontinuaciónsemuestralainformaciónsuministradatras lacompilacióndelaslibrerías. Figura74:DetalledelaInformacióndelaCompilacióndelaLibreríaslibyolb. AcontinuaciónyasepuedeabrirelsoftwaredesimulaciónCaptureyañadirelmodelo delfabricante. PROGRAMACAPTURE SELECCIÓNDELNUEVOCOMPONENTEDESIMULACIÓN Traslageneracióndelosarchivosanterioressehacreadoelnuevocomponente,parala suutilizaciónsedebeseleccionardesdelaherramientaPartdelmenúdePlace,a continuaciónsemuestralaubicacióndelmismo: Figura75:DetalledelaUbicacióndelaHerramientaPartdelmenúdePlace. Sinembargonuestrocomponentenoapareceráhastaquenoañadamoslalibrería,por esoenlaventanadePlacePartsedebeseleccionarlaopciónAddLibrary…talycomose muestraenlasiguientefigura: ErroresyAvisos
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 51 Figura76:SeleccióndelAddLibrary… Seseleccionaelarchivoolbgeneradoenelapartadoanteriortalycomomuestrala siguientefigura: Figura77:SeleccióndelaLibreríaZGL41Z20.OLB TrasseleccionarlalibreríaapareceelcomponenteenlaventanaPlacePartparapoder introducirloenelmodelo: Figura78:ModelodeSimulacióndelDiodoZenerzgl41z20.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 52 Alfinalizarelcircuitodeseadoyantesderealizarlasimulaciónsedebeconfigurarlas libreríasdecapture,talycomoseindicaenelsiguienteapartado. CONFIGURACIÓNDELASLIBRERIASDECAPTURE ParapoderrealizarlasimulaciónesnecesarioconfigurarelSimulationProfile,para accederalaconfiguracióndelasimulaciónsedebeseleccionarlaopciónEditSimulation ProfiledelmenúdePSpice,talycomoseindicaenlasiguientefigura: Figura79:SeleccióndelEditSimulationProfiledelmenúPSpice. DentrodelSimulationProfilesedebeseleccionarlapestañaConfigurationFilesyallíse debeseleccionarlacategoríadeLibrary,talcomosemuestraacontinuación: Figura80:SeleccióndelosarchivosdeLibrarydelapestañaConfigurationFiles. SeseleccionalalibreríalibcorrespondienteatravésdelbotónBrowser…,ennuestro casoeslalibreríazgl41z20.libyposteriormenteseseleccionalaopcióndeadiciónde AddtoProfile. LlegadosaestepuntoyasepuederealizarlasimulacióndelcircuitodeCapture,la utilizacióndelosmodelosrealespuedeprovocarproblemasdeconvergenciadurantelas simulaciones,porelloacontinuaciónseexponelaguíaquesehautilizadopara resolverlos. ConfigurationFile Librar y Browse AddtoProfile
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 53 GUIADERESOLUCIÓNDECONVERGENCIASENLASIMULACIÓN KeySources Thefollowingtechniquesonsolvingconvergenceproblemsare takenfromvarioussourcesincluding: [1] Meares,L.G.,HymowitzC.E.“SIMULATING W ITH SPICE”,Intusoft,1988 [2] Muller,K.H.”ASPICE C OOKBOOK”,Intusoft,199 0 [3] Meares,L.G.,HymowitzC.E.“SPICEAPPLICATIONS HANDBOOK”,Intusoft,199 0 [4 ] IntusoftNewsletters , variousdatesfrom1986to p resent [5] TheDesigner'sGuidetoSPICandSpectre,Kenneth S.Kundert,KluwerAcademicPublishers,1995 [6] TheSPICEBook,AndreiVladimirescu,JohnWiley& SonsInc,,1994 [7] InsideSPICE,RonKielkowski,McGraw‐Hill,Inc. 1994 WhatisConvergence?(orinmycase,Non‐Convergence) Theanswertoanonlinearproblem,suchasthoseintheSPICE DCandTransientanalyses,isfoundviaaniterativesolution. Forexample,ISSPICEmakesaninitialguessatthecircuit’snode voltagesandthen,usingthecircuitconductances,calculates themeshcurrents.Thecurrentsarethenusedtorecalculate thenodevoltages,andthecyclebeginsagain.Thiscontinues SolvingSPICEConvergenceProblems
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 54 untilallofthenodevoltagessettletovalueswhicharewithin specifictolerancelimits.Theselimitscanbealteredusing various.OptionsparameterssuchasReltol,Vntol,andAbstol. Ifthenodevoltagesdonotsettledownwithinacertainnumber ofiterations,theDCanalysiswillissueanerrormessagesuch as“NoconvergenceinDCanalysis”,“SingularMatrix”,or “Gmin/SourceSteppingFailed”.SPICEwillthenterminatethe runbecauseboththeACandtransientanalysesrequirean initialstableoperatingpointinordertoproceed.Duringthe transientanalysis,thisiterativeprocessisrepeatedforeach individualtimestep.Ifthenodevoltagesdonotsettledown,the timestepisreducedandSPICEtriesagaintodeterminethe nodevoltages.Ifthetimestepisreducedbeyondaspecifi c f ractionofthetotalanalysistime,thetransientanalysiswil l issuetheerrormessage,“Timesteptoosmall,”andthe analysiswillbehalted. Problemscomeinallshapes,sizes,anddisguises,butconvergenceproblemsareusuallyrelatedtooneofthefollowing: ∙ CircuitTopology ∙ DeviceModeling ∙ SimulatorSetup TheD C analysismayfailtoconvergebecauseofincorrect initialvoltageestimates,modeldiscontinuities,unstable/bistable operation,orunrealisticcircuitimpedances.Transientanalysis f ailuresareusuallyduetomodeldiscontinuitiesorunrealisti c circuit,source,orparasiticmodeling.Ingeneral,youwillhave p roblemsiftheimpedances,orimpedancechanges,donot remainreasonable.Convergenceproblemswillresultifthe impedancesinyourcircuitaretoohighortoolow. Thevarioussolutionstoconvergenceproblemsfallunderone oftwotypes.Somearesimplyban d ‐aidswhichmerelyattempt tofixthesymptombyadjustingthesimulatoroptions.Other solutionsactuallyaffectthetruecauseoftheconvergence p roblems.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 55 Thefollowingtechniquescanbeusedtosolve90to95%ofal l convergenceproblems.Whenaconvergenceproblemis encountered,youshouldstartatsolution0andproceedwith thesubsequentsuggestionsuntilconvergenceisachieved. Thesequenceofthesuggestionsisstructuredsothattheycan beincrementallyaddedtothesimulation.Thesequenceisalso definedsothattheinitialsuggestionswillbeofthemostbenefit. Notethatsuggestionswhichinvolvesimulationoptionsmay simplymasktheunderlyingcircuitinstabilities.Invariably,you willfindthatoncethecircuitisproperlymodeled,manyofthe “options”fixeswillnolongerberequired! GeneralDiscussion Manypowerelectronicsconvergenceproblemscanbesolve d withtwooptionparameters,Gminan d Rshunt.TheGminoption isavailableinallSPICE2and3programs.Gministheminimum conductanceacrossallsemiconductorjunctions.Thecondu c ‐ tanceisusedtokeepthematrixwellconditioned.Itsdefault valueis1E‐12mhos.SettingGmintoavaluebetween1nan d 10nwilloftensolveconvergenceproblems.SettingGmintoa valuewhichisgreaterthan10nmaycauseconvergence p roblems. TheRshuntoptioncausesISSPICEtoinsertaresistorfromevery nodeinthecircuittoground.Rshuntisavailable onlyin p rogramssuchasISSPICEthathaveincorporatedtheXSPICE enhancements[36].SettingRshunttoavaluebetween100ME G and1Gwilltypicallyhelp.SettingRshunttoavalueof100K maycauseconvergenceproblems. SPICEdoesnotalwaysconvergewhenrelaxedtolerancesare used.Oneofthemostcommonproblemsistheincorrectuse ofthe.Optionsparameters.Forexample,settingthetolerance option,Reltol,toavaluewhichisgreaterthan.01willoften causeconvergenceproblems. ThedefaultnumericalintegrationmethodistheTrapezoida l method.Somecircuitswillconvergebetterduringthetransien t
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 56 analysiswhentheGearintegrationmethodisused.Youcan invokeGearintegrationbyaddingthestatement,.OPTION S METHOD=GEAR.TheGearmethodworkswellformostpower electronicssimulations. SettingthevalueofAbstolto1uwillhelpinthecaseofcircuits thathavecurrentswhicharelargerthanseveralamps.Again, donotoverdothisoption.SettingAbstoltoavaluewhichis greaterthan1uwillcausemoreconvergenceproblemsthanit willsolve. A fteryou’veperformedanumberofsimulations,youwil l discovertheoptionswhichworkbestforyourcircuits.Youcan savethe.Optionslineinatextfileandusethe“.INCfilename” commandtoreadthetextfile.Thiswillallowyoutosavesevera l .Optionslinesintextfilesandexploretheuseofdifferentsets ofoptions. Ifallelsefails,youcanalmostalwaysgetacircuittosimulate inatransientsimulationifyoubeginwithazerovoltage/zero currentstate.Thismakessenseifyouconsiderthefactthatthe simulationalwaysstartswiththeassumptionthatallvoltages andcurrentsarezero.Thesimulatorcanalmostalwaystrac k thenodesfromazerocondition.Runningthesimulationwil l oftenhelpuncoverthecauseoftheconvergencefailure. Theaboverecommendationisonlytrueifyourcircuitisconstructedproperlyandthenetlistissyntacticallycorrect.Mostof thetime,minormistakesarethecauseofconvergenceproblems.Errormessageswillhelpyoutrackdowntheproblems, however,agoodtechniqueistoscaneachlineofthenetlistan d lookforanomalies.Itmaybetedious,butit’saprovenwayto weedoutmistakes. NotallconvergencefailuresarearesultoftheSPICE software!Convergencefailuresmayidentifymanycircuit p roblems.Checkyourcircuitscarefully,anddon’tbetoo quicktoblamethesoftware.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 57 Ifyou’vetriedeverythingyoucanthinkof,andyoustillcan’tget yourcircuittoconverge,youmaycontactIntusoft’sTechnica l Supportstaffat[email protected]Wecanalsobereachedon theInternetathttp://www.intusoft.com. ISSPICE‐NewConvergenceAlgorithms Inadditiontoautomaticallyinvokingthetraditionalsource steppingalgorithm, I SSPICEcontainsasuperioralgorithmcalle d “GminStepping”.Thisalgorithmusesaconstantminima l j unctionconductancewhichkeepsthesparsematrixwel l conditioned,andaseparatevariableconductancetogroundat eachnode,whichservesasaDCconvergenceaid.The variableconductancescausethesolutiontoconvergemore quickly.Theyarethenreduced,andthesolutionisre‐com‐ p uted.Thesolutioniseventuallyfoundwithasufficientlysmal l conductance.Thentheconductanceisremovedentirelyin ordertoobtainafinalsolution.Thistechniquehasprovento workverywell,andISSPICEselectsitautomaticallywhenconvergenceproblemsoccur.Thesuggestion(madeinanumbe r oftextbooks)ofincreasingthe.OptionsGminvalueinorderto solveDCandoperatingpointconvergenceproblemsisperf ormedautomaticallybythisnewalgorithm.Gminmaystillbe increased(relaxed)fortheentiresimulationbysettingthe .OptionsGminvalue,butthisshouldonlybedoneasalast resort. Non‐ConvergenceErrorMessages/Indications Thefollowingisalistofthekeyerrormessageswhichindicate thatconvergencehasnotoccurred.Inmostcases,SPICE3wil l alsoindicatetheelementornodethatisthesourceofthe f ailure.ThisisafeaturewhichisnotfoundinmostotherSPICE 2simulators. ∙DCAnalysis(whichincludesthe.OPanalysisandthesmal l signalbiassolutionwhichisperformedpriortotheA C analysisorInitialtransientsolutionwhichiscalcu l atedprio r
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 64 ThisisespeciallyimportantforRFandpowerdevicessuch asRFBJTsandpowerMOSFETs.Manyvendorscheat andtryto“forcefit”theSPICE.MODELstatementinorder torepresentadevice’sbehavior.Thisisasuresignthatthe vendorhasskimpedonqualityin favorofquantity.Prim i ‐ tive.MODELstatementsCANNOTbeusedtomodelmost devicesabove200MEGHzbecauseoftheeffectofpac k ‐ ageparasitics.And.MODELstatementsCANNOTbe usedtomodelmostpowerdevicesbecauseofeirextreme nonlinearbehavior.Inparticular,ifyourvendorusesa .MODELstatementtomodelapowerMOSFET,throw awaythemodel.It’salmostcertainlyuselessfortransient analysis. 5.Reducetherise/falltimesofthePULSEsources. Example:VCC10PULSE0100 0 becomesVCC10PULSE0101U1U A gain,wearetryingtosmoothstrongnonlinearities.Thepulse timesshouldberealistic,notideal.Ifnoriseorfalltimevalues aregiven,orif0isspecified,theriseandfalltimeswillbeset totheTSTEPvalueinthe.TRANstatement. 6.Usethe.OPTIONSRAMPTIME=xxxstatementtorampup allofthesources. Example:.OPTIONSRAMPTIME=10N S Ramptimecausesalltheindependentsourcestoberampedup f romzerototheirinitialvaluesatthebeginningofthetransient analysis.Thetimeisspecifiedbytheuser.Thismaybequite helpfulifyou’rehavingtroublegettingthetransientanalysisto start.Remembertogiveenoughtimeforthesourcestoramp up.Ifaramptimeistooshort,itmaycaused i sturbancesthat requirealongtimetosettle,ormayevencausefurther convergenceproblems. 7.AddUIC(UseInitialConditions)tothe.TRANline. Example:.TRAN.1N100NUI C Ifyouarehavingtroublegettingthetransientanalysistostart becausetheDCoperatingpointcan’tbecalculated,insertthe UICkeywordinthe.TRANstatement.UICwillcauseSPICEto completelybypasstheDCanalysis.Youshouldaddany
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 65 applicable.ICandIC=initialconditionsstatementstoassistin theinitialstagesofthetransientanalysis.Becarefulwhenyou setinitialconditions,forapoorsettingmaycauseconvergence difficulties.(SeetheAltinitandRamptimeoptionsformorehelp withUICcases). 8.ChangetheintegrationmethodtoGear(SeealsoSpecia l Casesbelow). Example:.OPTIONSMETHOD=GEAR ThisoptioncausesSPICE3touseGearintegrationtosolvethe transientequations,asopposedtothedefaultmethodof trapezoidalintegration.TheuseoftheGearintegrationmetho d shouldbecoupledwithareductionintheReltolvalue.Thiswil l p roduceanswerswhichapproachamorestablenumerica l solution.Trapezoidalintegrationtendstoproducealessstable solutionwhichcanproducespuriousoscillations.Gearintegrationoftenproducessuperiorresultsforpowercircuitrysimulations,duetothefactthathighfrequencyringingandlong simulationperiodsareoftenencountered. Gearintegrationisveryvaluable,especiallyforPowerSupply designers.ItisincludedinallISSPICEversions.Manypopular versionsofSPICE,includingPspice™,Hspice™andElectronicsWorkbench™doNOTletyousetthisvaluableandimportantoption. ModelingTips Devicemodelingisoneofthehardeststepsencounteredinthe circuitsimulationprocess.Itrequiresnotonlyanunderstanding ofthedevice’sphysicalandelectricalproperties,butalsoa detailedknowledgeoftheparticularcircuitapplication.Nevertheless,theproblemsofdevicemodelingarenotinsurmountable.Agoodfirst‐cutmode l canbeobtainedfromdatasheet informationandquickcalculations,sothedesignercanhavean accuratedevicemodelforawiderangeofapplications.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 66 Datasheetinformationisgenerallyveryconservative,yetit p rovidesagoodfirst‐cutofadevicemodel.Inordertoobtain thebestresultsforcircuitmodeling,followtherule:“Usethe simplestmodelpossible”.Ingeneral,theSPICEcomponent modelshavedefaultvaluesthatproducereasonablefirstorder results.Herearesomehelpfultips: ∙ Don’tmakeyourmodelsanymorecomplicatedthanthey needtobe.Overcomplicatingamodelwillonlycauseitto runmoreslowly,andwillincreasethelikelihoodofanerror. ∙ Remember:modelingisacompromise. ∙ Don’tbeafraidtotestyourmodels,especiallytheonesyou didnotcreate. ∙ Createsubcircuitswhichcanberunanddebuggedindep endently.Simulationisjustlikebeingatthebench.Ifthe simulationoftheentirecircuitfails,youshouldbreakitapart andusesimpletestcircuitstoverifytheoperationofeach componentorsection. ∙ Documentthemodelsasyoucreatethem.Ifyoudon’tuse amodeloften,youmightforgethowtouseit. ∙ Becarefulwhenyoumodelswhichhavebeenproducedby hardwarevendors.Manyhavesyntacticalerrors,an d certainlyDONOTfullyreflectthecharacteristicsoftherea l p art.Checkthedocumentationforalistofcharacteristics whicharesupportedbythemodel. ∙ Semiconductormodelsshouldalwaysincludejunction capacitanceandthetransittime(ACchargestorage) p arameters. ∙ Ifthe.Modeldefinitionforalargegeometrydevicedoesn’t reflectthebehaviorofthedevice,useasubcircuitrepresentation. ∙ Becarefulwhenusingbehavioralmodelsforpowerdevices.ManySPICEvendorstrytopassoffpowersemiconductormodelsusingbehavioralmodelingtechniques.Most SPICEvendorsdonothavetheexpertisetocreatesophisticatedsubcircuitrepresentations.Behavioralmodelshave theirplace,butinthecaseofpowerdevices,theywil l usuallyNOTexhibitmanyimportantsecondordereffects.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 67 ∙ A ndlastly,thereisnosubstituteforknowingwha t you’redoing!! Intusoftmakesavailableaninexpensivemodelingprogram. Theprogram,calledSPICEMOD,isaneasy‐to‐useutilitythat makessemiconductormodels(Diode,ZenerDiode,BJT,Power BJT,DarlingtonBJT,MOSFET,PowerMOSFET,JFET,Triac, IGBT,SCR)fromdatasheetparameters.Themodelswor k withANYSPICEsimulator.Ithastwodistinctadvantages: 1)ItallowsyoutomakeaSPICEmodelbasedonyourdesign specifications.Forexample,youcanmakeamodelfor1A100 V diode.Youcanthensimulateyourcircuitandrefinetheboun d ‐ ariesforthetypeofpartrequired.Youcanassigntheactualpart numberatalatertime.ThiseliminatestheneedforyourSPICE vendortosupplymodelsforeverypossiblepartnumber. 2)Modelsarecreatedfromdatasheetvalues.Ifyoudonot havealloftheparameters,SpiceModwillestimatethedatayou donothave,basedonthedatayoudohave.Therefore,itnever leaveskeySPICEparameters(capacitance,transittime,etc.) attheirdefaultvalues.Theuseofthesedefaultvaluesisthe simplestwaytomakeagoodmodeluseless. SPICEMODishighlyrecommended. Repeti t iveAndSwitchingSimulations Switchingsimulationsrefertosimulationswhichhaveasignif i ‐ cantnumberofrepetitivecycles,suchasthosefoundinSMP S simulations.Simulationssuchasthesecanexperiencealarge numberofrejectedtimepoints.Rejectedtimepointsaredueto thefactthatSPICEhasadynamicallyvaryingtimestepwhich iscontrolledbyconstanttolerancevalues(Reltol,Abstol, Vntol).Aneventthatoccursduringeachcycle,suchasthe switchingofapowersemiconductor,cantriggerareductionin thetimestepvalue.ThisiscausedbythefactthatSPICE attemptstomaintainaspecificaccuracy,andadjuststhe timestepinordertoaccomplishthistask.Thetimestepis
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 68 increasedaftertheevent,untilthenextcycle,when itisagain reduced.Thistimestephysteresiscancauseanexcessive numberofunnecessarycalculations.Tocorrectthisproblem, wecanregresstoaSPICEversion1methodologyandforcethe simulatortohaveafixedtimestepvalue. Toforcethetimesteptobeafixedvalue,settheTrtolvalueto 100,i.e..OPTIONSTRTOL=100.Thedefaultvalueis7.The TrtolparametercontrolshowfaraheadintimeSPICEtriesto j ump.Thevalueof100causesSPICEtotrytojumpfarahead. ThensettheTmaxvalueinthe.TRANstatementtoavalue whichisbetween1/10and1/100oftheswitchingcycleperio d (.TRANtSteptStoptStartTMAX).Thishastheoppositeeffect; itforcesthetimesteptobelimited.Together,theyeffectively lockthesimulatortimesteptoavaluewhichisbetween1/10an d 1/100oftheswitchingcycleperiod,andeliminatevirtuallyallof therejectedtimepoints.Thesesettingscanresultinovera 100%increaseinspeed! Note:Inordertoverifythenumberofacceptedandreje c te d timepoints,youmayissuethe.OPTIONSACCTparameteran d viewthedataattheendoftheoutputfile. OtherConvergenceHelpers ForthoseuserswhoareusingaversionofSPICEwhichis basedonBerkeleySPICE3,suchas I SSPICE,severalother optionsarealsoavailable: 1.Gminsteps(DCConvergence) Example:.OPTIONSGMINSTEPS=20 0 TheGminstepsoptionadjuststhenumberofGminincrements thatwillbeusedduringtheDCanalysis.Gminsteppingis invokedautomaticallywhenthereisaconvergenceproblem. GminsteppingisanewalgorithminSPICE3thatgreatly improvesDCconvergence.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 69 2.ALTINITfunction(TransientConvergencewithUIC) Example:.OPTIONALTINIT=1 0 SettingAltinitto1causesanalternate(morelenient)algorithm tobeuse d whentheUICkeywordisissuedinthe.TRAN statement.Normally,thisalternatealgorithmisautomatically invokedwhenthedefaultmethodfails.Anumberotherthan1 referstotheinitialtimestepjumpwhichwillbeusedtodeterminethefirsttimepoint.Thedefaultvalueis1E‐20seconds.It canbevariedfrom1E‐10to1E‐30seconds.Thevalueof1E‐ 10(i.e.Altinit=10)willreducetheaccuracyofthefirsttimepoint, butwillmakeiteasierforISSPICEtostartthetransientsimulation. TheAltinitoptionisuniquetoISSPICE. SpecialCases Mosfets‐ Checktheconnectivity.Connectingtwogatestogether,buttonothingelse,willgiveaPIVTOL/Singularmatri x error.CheckthemodelLevelparameter.SPICE2programsdo notbehaveproperlywhenMosfetsofdifferentlevelsareuse d inthesamesimulation. SPICE3ConvergenceHelpers ForthoseuserswhoarerunningaversionofSPICEbasedon BerkeleySPICE3,severalotheroptionsarealsoavailable. 1.Gminsteps(DCConvergence) ‐SameasITL 6 Example:.OPTIONSGMINSTEPS=20 0 TheGminstepsoptionadjuststhenumberofincrementsthat GminwillbesteppedduringtheDCanalysis.Gminsteppingis invokedautomaticallywhenthereisaconvergenceproblem. Gminsteppingisanewalgorithmin I SSPICE4thatgreatly improvesDCconvergence. 2. A LTINITfunction(TransientConvergence) Example:.OPTIONSALTINIT=1 SettingALTINITtoonecausesthedefaultalgorithmusedwhen theUIC(useinitialcondition)keywordisissuedinthe.TRANto
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOII.SIMULACIÓNDEMODELOSREALES 70 bebypassedinfavorofasecondmorelenientalgorithm. Normally,thesecondalgorithmisautomaticallyinvokedwhen thedefaultmethodfails.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSELECTRÓNICOSNOLINEALES ANEXOIII.INFORMAICÓNTÉCNICADELOSCOMPONENTES ANEXOIII.INFORMACIÓNTÉCNICASOBRELOS COMPONENTES INTRODUCCIÓN Acontinuaciónsepresentanloscomponentesdelasdiferentesplacasrealizadas. COMPONENTESDELOSNODOS Losnodosdelaredestánformadosporlossiguientescomponentes: Tabla3:ListadodeComponentesdelosNodos. COMPONENTENÚMERO Resistenciade22kΩ 1 Resistenciade270Ω 2 Condensadorde10nF3 Condensadorde1nF4 Bobinade10mH5 PuntasdeTest6 Pindeestímulo7 Resistenciade220Ω 8 OperacionalTL0829 DiodoZener10 Conectordealimentación11 Pinesdeentradaysalida12 11 12 12 2 5 2 8 1 9 9 9 1 66 3 4 1 7 10
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSNOLINEALES ANEXOIII.INFORMAICÓNTÉCNICADELOSCOMPONENTES 72 COMPONENTESDELCIRCUITODECHUA RESISTENCIADE22KΩDEMULTICOMPMODELOMCHP05W4F2202T5E RESISTENCIADE270ΩDEVISHAYBCCOMPONENTSMODELO2312142 CONDENSADORDE10nFDEPANASONICMODELOECHU1C103GX5 CONDENSADORDE1nFDEPANASONICMODELOECHU1H102GX5 BOBINADE10mH PUNTASDETEST PINDEESTÍMULODEMULTICOMPMODELO2211S‐03G DIODODECHUA RESISTENCIADE220Ω CIRCUITOOPERACIONALTL082 ZÓCALODELTL082DEMULTICOMPMODELO2227MC‐08‐03‐18F1 COMPONENTESDELAETAPADEADAPTACIÓN DIODOZENERDEMULTICOMPMODELOBZT55C4V7 RESISTENCIA22KΩDEMULTICOMPMODELOMCHP05W4F2202T5E CIRCUITOOPERACIONALTL082 ZÓCALODELTL082DEMULTICOMPMODELO2227MC‐08‐03‐18F1 CONECTORES CONECTORALIMENTACIÓNSAMTECMODELOTLW‐106‐05‐G‐D‐RA CONECTORENTRADAS/SALIDASMULTICOMPMODELO2211R‐06G COMPONENTESDELASPLACASSOPORTE CONECTORDEALIMENTACIÓNSAMTECMODELOTLW‐106‐05‐G‐D BORNERAPLACASOPORTEPHOENIXCONTACTMODELO1729157
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSNOLINEALES ANEXOIII.INFORMAICÓNTÉCNICADELOSCOMPONENTES 73 CABLEADO TERMINACIONESDELCABLE COMPONENTESDELASIMULACIÓN DIODOS DIODOZENERDEONSEMICONDUCTORMODELO1SMA5918BT3G DIODOZENERDEONSEMICONDUCTORMODELOMMSZ5231BT1 DIODOZENERDEROHMMODELORLZ4.7B DIODOTUNINGDEONSEMICONDUCTORMODELOMMBV105GLT1G MANUALES OSCILOSCOPIO BORNERABNC2110 GENERADORDEONDASAGILENT33120A GENERADORDEONDASAGILENT33250A 10HINTSFPRGETTINGMOREFROMYOURFUNCTIONGENERATOR MANUALBÁSICODEORCADLAYOUT INTRODUCCIÓNALPSPICE–ORCAD MANUALCOMPLETODEORCAD9.1 MANUALDEORCADPARAGENERARFOOTPRINTS ORCADFLOWTUTORIAL ORCADQUICKREFERENCE TUTORIALDEORCADONLINE
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSNOLINEALES. ANEXOIV.MANUALDEUTILIZACIÓNDELHARDWARE 80 Ilustración10:CircuitoEstimuladordelaPlacadeTopos. EJEMPLODECONEXIÓNDELESTIMULADOR Acontinuaciónseexponeunejemplodeconexión: Ilustración11:Ejemplodeconexióndelgeneradordefuncionesconelestimulador.
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSNOLINEALES. ANEXOIV.MANUALDEUTILIZACIÓNDELHARDWARE 81 CONEXIONADODELASFUENTESDEALIMENTACIÓN ParaconseguirlatensiónsimétricaseajustanlasfuentesdetensiónPowerSupplyFAC‐ 662Bdellaboratorioenmodotrackposteriormenteseajustanlosdisplaysparaobservar latensiónylacorrientedelafuente1,posteriormenteserealizalasiguienteconexión: Figura81:Ajustedelafuentedealimentaciónparael±Vsy±Vnic. Latensiónde‐5VseconsiguemediantelatercerafuentequecontieneelmodeloFAC‐ 662B,lacualesde5V,peroalconectarel+5V(rojo)aGNDobtenemos‐5Venel terminalde0V(negro)delafuentede5V. Paralaalimentacióndelsumadorderuidosehaconfiguradoúnicamentelatensión simétricade±10V. Ajustede Tensión Track S1S1 +Vs,+Vnic,GND,‐Vnic,‐Vs
ESTUDIODELPROCESADODESEÑALESCOMPLEJASENREDESDECIRCUITOSNOLINEALES. ANEXOIV.MANUALDEUTILIZACIÓNDELHARDWARE 82 CONCLUSIONES Acontinuaciónseexponendiferentesconclusionesalasquesehanllegadotrasla experimentación: Lassondas10073CdelOsciloscopiodeAgilentmodeloDSO6104Anosepuedenutilizar paralasmedicionesmedianteLavbIEWconlaborneraBNC2110,yaquelassondas incorporanunaetapadefiltradoqueafectaalabornera. Esnecesariorealizarlacomprobacióndelassondasantesdesuutilización,yaquevarios delosproblemasquehansurgidodurantelosexperimentoshansidocausade elementosdemedidadefectuosos,serecomiendalamedicióndelaseñaldepruebadel osciloscopio. Paralamedicióndelaconductividaddeloscablesserecomiendamedirenla terminacióndesalidayaquedeestemodosecompruebalaseñaltransmitidaasícomo lacontinuidaddelcable. Elconsumodecorrientedelafuentedealimentaciónconectadaalaborneradelaplaca soporteesdeaproximadamente20.4Amientrasqueelconsumodecorrientedela fuentedealimentacióndelsumadoresdeaproximadamente0.04A,encasode aumentarporencimadelosvaloresindicadosreviseelconexionado. 2Sehaexpuestoelconsumoaproximadodelaplacasoporteconlos50nodosconectados,al reducirelnúmerodenodostambiénsereducesuconsumo.