Working on an audio amplifier project for school and I'm trying to simulate the circuit in Pspice. When I actually go to run the simulation, I keep getting an "Extra Text On Line" error. Here's the output sim file:
**** CIRCUIT DESCRIPTION
** Creating circuit file "Audio Amplifier .cir" ** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS
*Libraries: * Profile Libraries :* Local Libraries :* From [PSPICE NETLIST] section of C:\Cadence\SPB_16.01\tools\PSpice\PSpice.ini file:.lib "nom.lib"
*Analysis directives: .AC DEC 10 10Hz 1000 kHz---------------------$ERROR -- Extra text on line.PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*)) .INC "..\SCHEMATIC1.net"
**** INCLUDING SCHEMATIC1.net ***** source ECE 306 PROJECTQ_Q5 VCC N09925 N10053 Q2N4401R_R3 0 N09729 1MEG TC=0,0 C_C7 N09801 N09793 0.01u TC=0,0 R_R7 N10065 N10053 4.7 TC=0,0 X_U3B N09793 N09785 VCC 0 N10005 LM358R_R10 N20764 N09785 3.3k TC=0,0 R_R5 0 N09909 6.8k TC=0,0 X_U3A N09713 N09729 VCC 0 N09721 LM358R_R6 N09925 VCC 1k TC=0,0 R_R2 N09729 N09721 3.3k TC=0,0 C_C5 0 N09713 0.01u TC=0,0 R_R8 N10065 N10057 4.7 TC=0,0 V_V3 VCC 0 5VC_C8 0 VCC 100u TC=0,0 Q_Q6 N10057 N10005 0 Q2N4403D_D1 N09921 N10005 D1N4148_1 R_R9 N09793 N09909 1MEG TC=0,0 V_V2 N09801 0 DC 0Vdc AC 1Vac C_C6 N09721 N20764 3.3u TC=0,0 D_D2 N09925 N09921 D1N4148_1 R_R4 N09909 VCC 10k TC=0,0 R_R11 N09785 N10005 1MEG TC=0,0 R_R1 N09713 N09909 1MEG TC=0,0
**** RESUMING "Audio Amplifier .cir" ****.END
Any suggestions on how to fix this? I practically searched all over the internet for a solution and found nothing....
In reply to oldmouldy:
Ah, I see...Spent so much time trying to figure this out and it turned out to be some small problem... but thank you! Everything works fine now :)
In reply to luckyleo:
I'm trying to simulate a power supply system, consisting of a sollar cell, an three dc-dc converters and I also get the same error when I start the simulation!! At first I thought the problem was with the name of each part in every schematic so I named every resistor for example with a different name, but that wasn't the problem!!
Any ideas on how I can fix this?? Here is what I get!!
Thanks a lot!!
**** 03/26/14 21:14:56 ********* PSpice 9.2 (Mar 2000) ******** ID# 1 ********
** Profile: "SCHEMATIC1-EPS" [ G:\EPS\eps-schematic1-eps.sim ]
**** CIRCUIT DESCRIPTION
** Creating circuit file "eps-schematic1-eps.sim.cir"
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS
* Local Libraries :
* From [PSPICE NETLIST] section of C:\Program Files\Orcad\PSpice\PSpice.ini file:
.TRAN 0 1050u 1000u
.PROBE V(*) I(*) W(*) D(*) NOISE(*)
**** INCLUDING eps-SCHEMATIC1.net ****
* source EPS
G_Solar Cell.G1 0 Solar Cell_N00845 0 Solar Cell_N00786 0.00039
ERROR -- Extra text on line
R_Solar Cell.R1 0 Solar Cell_N00845 50k
ERROR -- Invalid number
R_Solar Cell.R2 Solar Cell_N00845 Solar Cell_N00879 0.05
ERROR -- Name "R_Solar" is defined more than once
R_Solar Cell.R3 N00951 Solar Cell_N00786 1u
X_Solar Cell.D1 Solar Cell_N00845 Solar Cell_N001211 D1N4500
R_Solar Cell.R4 N00951 0 1u
X_Solar Cell.D2 Solar Cell_N001211 Solar Cell_N001431 D1N4500
ERROR -- Name "X_Solar" is defined more than once
R_Solar Cell.R5 N01236 Solar Cell_N00879 1u
X_Solar Cell.D3 Solar Cell_N001431 Solar Cell_N001651 D1N4500
R_Solar Cell.R6 0 N01236 1u
X_Solar Cell.D4 Solar Cell_N001651 Solar Cell_N001871 D1N4500
X_Solar Cell.D5 Solar Cell_N001871 Solar Cell_N002091 D1N4500
X_Solar Cell.D6 Solar Cell_N002091 0 D1N4500
R_R22 N004681 N00737 0.1
C_C2 N01236 N01236 10uF
D_Boost_D7 Boost_N00888 Boost_N00915 D1N5806/27C
C_Boost_C3 0 Boost_N00915 3.64uF
R_Boost_R8 N01236 Boost_N00872 1u
R_Boost_R7 0 N01236 1u
L_Boost_L1 Boost_N00872 Boost_N00888 101.45uH
R_Boost_R9 Boost_N01122 Boost_N01093 2.5
R_Boost_R10 N00737 Boost_N00915 1u
V_Boost_V2 Boost_N01122 0
+PULSE 0 5V 0 10ns 10ns 2.02us 5us
M_Boost_M1 Boost_N00888 Boost_N01093 0 0 IRFZ22
R_Boost_R11 0 N00737 1u
R_Buck_5V_R20 N00361 Buck_5V_N00675 1u
V_Buck_5V_V2 Buck_5V_N00886 Buck_5V_N00646
+PULSE 0 5V 0 10ns 10ns 5.15us 6.25us
R_Buck_5V_R21 0 N00361 1u
M_Buck_5V_M3 Buck_5V_N00628 Buck_5V_N00940 Buck_5V_N00646
+ Buck_5V_N00646 IRFZ22
D_Buck_5V_D9 0 Buck_5V_N00646 D1N5806/27C
C_Buck_5V_C5 0 Buck_5V_N00675 0.78125uF
L_Buck_5V_L3 Buck_5V_N00646 Buck_5V_N00675 121.875uH
R_Buck_5V_R19 Buck_5V_N00940 Buck_5V_N00886 2.5
R_Buck_5V_R17 N00737 Buck_5V_N00628 1u
R_Buck_5V_R18 0 N00737 1u
V_V1 N00951 N00951 1353V
V_Buck_3_3V_V2 Buck_3_3V_N00639 Buck_3_3V_N00422
+PULSE 0 5V 0 10ns 10ns 3.59us 6.25us
M_Buck_3_3V_M2 Buck_3_3V_N00404 Buck_3_3V_N00610 Buck_3_3V_N00422
+ Buck_3_3V_N00422 IRFZ22
R_Buck_3_3V_R12 N00737 Buck_3_3V_N00404 1u
D_Buck_3_3V_D8 0 Buck_3_3V_N00422 D1N5806/27C
C_Buck_3_3V_C4 0 Buck_3_3V_N00451 1.1875uF
R_Buck_3_3V_R13 0 N00737 1u
L_Buck_3_3V_L2 Buck_3_3V_N00422 Buck_3_3V_N00451 123.75uH
R_Buck_3_3V_R14 N00415 Buck_3_3V_N00451 1u
R_Buck_3_3V_R16 Buck_3_3V_N00639 Buck_3_3V_N00610 2.5
R_Buck_3_3V_R15 0 N00415 1u
R_R23 N00361 N00361 58.14
R_R24 N00415 N00415 41.25
C_C1 N00737 N004681 8000mAh
**** RESUMING eps-schematic1-eps.sim.cir ****
In reply to electron7:
It looks like you H-Block, or reference, is named "Solar Cell", with a space, try renaming this to "Solar_Cell", or something more simple like "SC"
First of all thanks a lot for your guick response!! :)
I changed the name and you were right, these kind of errors disappeared!! Yet I get another error this time, saying "Less than 2 connections at Node N___"
It's a common mistake as I can see from a little research I did, but I didn't find somewhere the possible reason!!
The two nodes that seem to have the problem are the input nodes of my H-Block. The input is a DC voltage source and I also put two 1u resistors before connecting to the H-Block... grounding is also correct (I suppose) and the ports are correctly named!!
Any ideas about this?? :)
Get the Project Manager window active, select the DSN file entry within it and then File>Archive Project, create a single archive file and attach it to the post. This will contain all the design info and permit a "proper" answer to the question.
It looks like you were a "bit keen" when renaming "Solar Cell" to "Solar_Cell" for the hierarchical block. The name of the schematic folder that defines the block is still called "Solar Cell", this name is actually OK in this case, but it has therefore become disconnected. Since you got this far, you could just rename the schematic folder from "Solar Cell" to "Solar_Cell" in the project window and things will then work. It looks like you are using a pretty old version so there is little point in attaching my results.
Well, I tried this, it didn't work, so I changed the related names with "SC" this time... Yet the problem remains, though now the nodes that appear to have a problem are not the inputs of the block, but two nodes inside the SC schematic, namely the input nodes of the voltage controlled current source!! I attached the new design if you want to see!! Do you think remaking the whole project from scratch would make any difference??
Sorry to bother you that much my friend, I owe you a drink!! :)
I am designing TEC driver circuit in pspice.i am using opa237,INA141and i am geeting error message.
[NET0093] NO Pspice template for Q2.
[NET0093] No Pspice template for Q1.
WHAT to do...plz help me out..
OK, this time the SC block is fine but, in the other blocks, you have duplicated the "Input" and "Output" names so those pins / ports are "simply shorted" together. If you use the "Input_1" / "Input_2" and "Output_1" /"Output_2" pin / port names, as you have for the SC block, everything will work as expected for the "other" blocks.
In reply to richa1612:
You have used parts from the "regular" libraries, these don't have the necessary properties for the simulation netlist, hence the messages. Use the parts from the "Eval.olb" if you are evaluating PSpice, or from "tools\Capture\library\pspice" OLBs if you have a licensed installation.