Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 27th October 2009, 08:18 PM   #1
Default LTSpice Question

Hi,

What is error message "Multiple instances of "Any" and how do I stop the problem

Cheers
Andrew
Andrew Leigh is offline  
Old 27th October 2009, 08:29 PM   #2
Default

Start by making sure that each component has a reference designator with a letter and a number e.g. R1, R2, ... for resistors.

Second make sure each component has a value e.g 100, 2.7K, .. for resistors
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Old 27th October 2009, 08:33 PM   #3
Default

Quote:
Originally Posted by Andrew Leigh View Post
Hi,

What is error message "Multiple instances of "Any" and how do I stop the problem

Cheers
Andrew
Post your .asc file.
__________________
Ron

Roff is offline  
Old 27th October 2009, 08:40 PM   #4
Default

Ok that be done,

I have a circuit that worked, I am now trying to insert a SCR in the place of a Opto and Triac, thats when the message comes up.

All to the left of R13 works but I want to switch a 12V d.c. load of about 50W.

Andrew

This being a newb is real tough
Attached Files
File Type: asc AndrewSCR.asc (3.1 KB, 17 views)
Andrew Leigh is offline  
Old 27th October 2009, 08:55 PM   #5
Default

Quote:
Originally Posted by Andrew Leigh View Post
Ok that be done,

I have a circuit that worked, I am now trying to insert a SCR in the place of a Opto and Triac, thats when the message comes up.

All to the left of R13 works but I want to switch a 12V d.c. load of about 50W.

Andrew

This being a newb is real tough
Tried to load your file, but got a dialog box that said
"Couldn't find symbols
LM339A
SCR_Teccor

Correct me if I'm wrong or off base, but isn't using an SCR to switch a DC load problematical because you can't turn it off? Unlike an AC circuit the current does not make periodic zero crossings. If I were you I would consider a PNP high-side Switch like say a VN340 or similar
__________________
We never have time to do it right; but we always have time to do it over.

Last edited by Papabravo; 27th October 2009 at 09:03 PM.
Papabravo is offline  
Old 27th October 2009, 08:59 PM   #6
Default

Hi,

I get the same when transferring the file to another PC. I then go find the files and load them into the relevent directories. Is there any way to embed the files in the .asc file?

Cheers
Andrew
Andrew Leigh is offline  
Old 27th October 2009, 09:01 PM   #7
Default

Hi,

that could be my problem then, I tried with a Mosfet and got the same response. Is it best to use the opto which has a zero crossing circuit?

Cheers
Andrew
Andrew Leigh is offline  
Old 27th October 2009, 09:06 PM   #8
Default

Quote:
Originally Posted by Andrew Leigh View Post
Hi,

that could be my problem then, I tried with a Mosfet and got the same response. Is it best to use the opto which has a zero crossing circuit?

Cheers
Andrew
I don't think so. The only way to reduce a DC current to zero is to interrupt the flow of current. See the following page:

The Silicon-Controlled Rectifier (SCR) : THYRISTORS
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Old 27th October 2009, 10:49 PM   #9
Default

I found the source of your original problem.
In the file Teccscr.lib, you need to either remove all the text lines at the top of the file (leave the "**********" above the first subcircuit), or you can put an asterisk in front of each line. In either case, save the file before re-running the sim.
You should do this even if you get rid of the SCR in your circuit, in the event that you want to use this file again.
__________________
Ron


Last edited by Roff; 27th October 2009 at 10:49 PM.
Roff is offline  
Old 28th October 2009, 01:30 AM   #10
Default

Did I miss something? Where was the file Teccscr.lib? Did you actually find it on the web?
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Old 28th October 2009, 02:04 AM   #11
Default

Quote:
Originally Posted by Papabravo View Post
Did I miss something? Where was the file Teccscr.lib? Did you actually find it on the web?
No, you didn't miss anything. I already had it in my SUB folder. I had downloaded it from Teccor several years ago. it looks like the file has changed somewhat since Littelfuse acquired them. It appears that the first file listed here is basically the same thing, without the troublesome header.

BTW, "any" was a word that appeared several times in the header. Hence the error, "Multiple instances of 'Any'". I had a hell of a time finding it. I finally started gutting the circuit, re-simming until the error went away.
__________________
Ron


Last edited by Roff; 28th October 2009 at 02:25 AM.
Roff is offline  
Old 28th October 2009, 09:11 AM   #12
Default

Hi guys,

thanks for the effort it is appreciated. Problem fixed on my side too now.

I tried numerous options last night, I can get to switch a.c. but switching d.c. is proving to be entirely another matter.

Pappabravo, could not find a model for the VN340 so was unable to try it. Are there any standard devices in the standard libraries that will work?

Cheers
Andrew

PS: Will I still need the MOC3081?
Andrew Leigh is offline  
Old 28th October 2009, 09:42 AM   #13
Default

Quote:
Originally Posted by Andrew Leigh View Post
Hi guys,

thanks for the effort it is appreciated. Problem fixed on my side too now.

I tried numerous options last night, I can get to switch a.c. but switching d.c. is proving to be entirely another matter.

Pappabravo, could not find a model for the VN340 so was unable to try it. Are there any standard devices in the standard libraries that will work?

Cheers
Andrew

PS: Will I still need the MOC3081?
hi Andrew,
You can switch ON an SCR to control 'dc', BUT you cannot switch it OFF without removing the load connection to the SCR or shorting the SCR out.

Switching 'dc', no ZCD is required , so no MOC is required.

Use a power MOSFET not an SCR.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 28th October 2009, 03:04 PM   #14
Default

Hi,

OK progress. Used an N channel Mosfet and the circuit switches but out of phase I think. Heater appears on when it should be off?

Tried a P channels Mosfet and it never turns off.

Why would the current be a negative value?

Cheers
Andrew
Attached Files
File Type: asc AndrewSCR.asc (3.3 KB, 5 views)
Andrew Leigh is offline  
Old 28th October 2009, 03:24 PM   #15
Default

Quote:
Originally Posted by Andrew Leigh View Post
Hi,

OK progress. Used an N channel Mosfet and the circuit switches but out of phase I think. Heater appears on when it should be off?

Tried a P channels Mosfet and it never turns off.

Why would the current be a negative value?

Cheers
Andrew
hi,
Look at this P MOS option.
Attached Thumbnails
LTSpice Question-aaesp02.gif  
Attached Files
File Type: asc AndrewFET1.asc (3.1 KB, 4 views)
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 28th October 2009 at 03:25 PM.
ericgibbs is offline  
Reply

Tags
ltspice, question

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
LTSpice alamal General Electronics Chat 3 1st November 2009 12:36 PM
LTSpice t.man Electronic Theory 13 12th August 2009 07:37 AM
LTSpice codan General Electronics Chat 14 5th May 2009 10:47 PM
LTSpice/SwitcherCAD question speakerguy79 General Electronics Chat 14 10th August 2008 07:23 AM
LTSpice SwitchCadIII waveform display question eblc1388 General Electronics Chat 4 20th February 2005 04:33 PM



All times are GMT. The time now is 06:20 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker