How to write to .subckt with the function I - V

Hi all

Now, I am trying to build a Spice model for a type of diode high voltage for 13 Multisim. Because I do not have the LED electronic settings, and I only have the function of the I - V, I tried to write a file .subckt for him.

Assuming that the anode is A1 and the cathode is A2, the current flowing through the diode can be expressed only by the function:

I=((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000)*U((V(A1)-V(A2))-53)

With her, I wrote a .subckt:

. SUBCKT LED A1 A2
B1 A2 A1 I=((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000)*U((V(A1)-V(A2))-53)
. ENDS LED

This model works well under the IV parser in Multisim 13, but when I connect 2 or 3 of them in series and make a simple circuit simulation, I always get the error report and not always not correct the error.

Any body can help me to check if my .subckt is correct or not? Thank you.

It seems that the convergence error is caused by a discontinuity the diode to connection 53V.  Run DC scan using the test circuit.

To prevent the discontinuity, use the express following with the fi works instead. You can give it a small current when V (A1, A2) is less to 0V.

B1 A1 A2 I=if(((V(A1)-V(A2))-51)>0,((0.581*(V(A1)-V(A2))*(V(A1)-V(A2))/3/3-18.4*(V(A1)-V(A2))/3+144.66)/1000),-230u)

The attached circuit have a resistance using convergence.

You can simplify your expression for readability:

-(V, (A1), (A2) V) = V (A1, A2)

-If you can do the expression in this form, it will simply be the calculation ax ^ 2 + bx + c

Tags: NI Software

Similar Questions

  • A toolbar with the function showing keys is located at the top of my screen-how to remove

    Original title: function keys
    A toolbar with the function showing keys is located at the top of my screen.  When I click on any of the icons that they do not work.  How can I remove the toolbar of the my computer screen function?

    Hello

    a toolbar with function keys at the top of the screen does not part of vista

    Contact the manufacturer of your computer

  • Does anyone know how to use the movement of scroller with the function of the fluid width?

    Hi all

    Does anyone know how to use the movement of scroller with the function of the fluid width?

    Thanks, Federico

    This feature is not yet implemented.

  • Kalonline-works until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking

    I play kalonline (RPG game), when to start the game it works up until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking. the program stops. I am the admin of it say kal computer run it in administrator mode and I did and I delete and reinstall the game. Solve the problem in win 7 by a right click and run as administrator, they wanted to work in win xp it all fits on how to solve this problem. These are the things, I was told to do to fix it.
    Hello

    It comes to KalOnline.

    Your error message can be corrected by following these steps:

    1. run KalOnline in Administrator Mode.

    2 uninstall KalOnline d_lete the entire Inixsoft folder, then reinstall the game.
    I did it and and it has not worked. then I was told that this was causing the problem

    Please check your computer system.

    This problem has occurred by a kind of problem of piracy.

    And if you have used a kind of memory-editing program, it could be happen too.

    So if your receipt similar to, then please remove it.
    I have none of these things on my computer. All I know is that people who have not updated windows xp can play the game and people who win 7 can play the game if they right click icon and run as administrator, that I still say side here but no way to prove it.

    Hello

    I suggest you to get in touch with the manufacturer of games and see if there are any other fix for this problem.

  • Hi I need to know how to write Arabic text with indesign cc 2015

    Hi I need to know how to write Arabic text with indesign cc 2015

    One thing has changed: since CS6 (Version cloud only) you can install the operating system in Arabic or Hebrew any other language without extra cost.

  • How many licenses are delivered with the suite? We must be able to connect at work and at home.

    How many licenses are delivered with the suite? We must be able to connect at work and at home.

    A single user license allows you to have two active facilities, in order to have a home and place of work or on a laptop or any other functional scenario where you have two computers with the software installed and activated is allowed.

  • How can I restart firefox with the same tabs and windows?

    How can I restart firefox with the same tabs and windows?

    It is not in the file menu or tools. I get nothing when searching for help. FF still knows how to do it, say to update extensions.

    I know that I can do by saving my session, coming out, reboot and restore the session but is there a single command to do this?

    Thank you. -David

    I have attached a screenshot showing how to select restore automatic session just above the setting of the Home Page where it says "When Firefox starts".

    With this set, you can restart Firefox manually out using the menu-

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    -and then restart Firefox.

    If you want a real reboot with a click of button, you can check something on the Add-ons site: https://addons.mozilla.org/firefox/

  • How can I sync lightning with the iphone calendar?

    How can I sync lightning with the iphone calendar? I saw online that I need to use a google calendar? I added google calendar as they described, but I have no idea where from here

    To synchronize with the iPhone (also known as iCalendar) schedule you must use a calendar based on a cloud. If you already have the lightning, install the addon Google provider and Setup Google Calendar. If you have already done so, go to settings on your iPhone. In the e-mail box, Contacts and calendars, add your Google account and turn on the calendar. This will synchronize your Google Calendar with the iPhone.

  • How to install firefox last with the custom network home page

    I'm trying to figure out how to do a network with the latest firefox installation, but suitable for the bringing into default homepage for the intranet portal of companies. I have several thousand computers that require installation and pushing by network is the only realistic method, but I can't find a solution on how to change the homepage for this. Help, please!

    See:

  • How to drag a desktop with the magic trackpad icon?

    How to drag a desktop with the magic trackpad icon? It is coupled with a Mac Mini El Capitan 10.11.4 running.

    Thank you.

    Place the cursor on the icon then press on and hold and drag your finger across the surface of the touchpad.

    If problem, then check your trackpad preferences.

    Note also you maybe isn't able to move them they will break again) if other that None is selected in the sort by if you hold with two fingers and choose

  • my audio syestem of beats went when I choose windows 8, how can I return it with the full version?

    my audio syestem of beats went when I choose windows 8, how can I return it with the full version? I have hp pavilion dv4 5110tx

    Hello

    Try the following.

    Download IDT Audio Installer on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp59501-60000/sp59882.exe

    One time finished, open windows control panel, open Device Manager and open sound, video and game controllers.  Right click on the IDT device and select uninstall - also, you should get a command prompt to delete the current driver, check the box allow this and then proceed to uninstall.

    Then, download and reinstall the Chipset driver on the following link.

    Chipset Driver - Windows 8.

    After reinstalling, restart the laptop and let Windows load completely.  Open your download folder, right-click on the IDT Installer and select "Run as Administrator" to launch the installation.  When this has completed, restart the computer again before checking if the Beats Audio is now listed in the windows control panel.

    Kind regards

    DP - K

  • How to take a photo with the Acer Iconia W 4 820

    Hello

    Anyone know how to take a photo with the Acer Iconia W4 820 Tablet and get it back on my pc?

    hans0919

    Easiest is to copy the files with a USB key, but the most elegant (IMHO) is across the network. Just join each machine to your homegroup, and you can copy back.

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • How a microwave oven interferes with the WIFI signal?

    MICRO-WIFI INTERFERENCE

    Please explain THAT HOW A MICROWAVE actually INTERFERES with the laptop WIFI signal...  How to turn off the oven microwave takes the PC adapter, for example?  When the microwave oven is off and don't use it, should also be disconnected? In the equipped cafes in WIFI, are microwave ovens, degrading the quality of the signal?

    I thank very you much for your comments.
    Joe

    This is caused by the fact that both microwave and most wifi routers operate at a frequency of 2.4 Ghz, there is a setting on some wifi routers that allow you to operate at 5 GHz, but this frequency moves not by walls well, insofar as they interfere, the microwave should not disseminate its frequency outside the oven microwave and most of the routers wifi broadcast in all the directions, radio waves can bounce off the walls and envelope the room and other areas as well, this isn't a line of site, so unless you have your computer very close to the microwave you should not receive any interference at all. or course, if you stick the router inside the microwave.

    Hope this helps,
    -Ray
  • How to open a file with the extension .odg using Vista?

    How to open a file with the extension .odg using Vista?

    Hi Defiant503,

    Thank you for visiting the forums of answers.microsoft.com.

    I did some research and a file ending with .odg is an OpenDocument Document OpenOffice/StarOffice (Ver 2) of graphics by Sun Microsystems, Inc.    This means that in order to open this file, you will need this program to open it.  You will not be able to open this file with Vista.

    I hope this information helps.

    Kavita M
    Microsoft Answers Support Engineer
    Visit the Microsoft Answers Feedback Forum site
    and let us know what you think.

Maybe you are looking for

  • Add bookmarks to another file

    Recently, my laptop / files became corrupted and I lost my favorites among other things. I have a backup of bookmarks in a folder backup and want to import them into Firefox. How to re - import their Firefox again?

  • IPhone apps for Eprint

    I was practicing Ussing the Eprint service on my IPHONE I just bought the HP Photosmart 6520 this week so Im learning a lot. Is an IPHONE app, I can use instead of my Eprint email address? What is a faster application or Email? I found 6 Apps on the

  • project link error - undefined symbol 'Random@16 '?

    Hello I get an error of link project - Undefined symbol 'Random@16' referenced in 'main.c '. There is no reference to where the error occurs, someone at - it a trick? Thank you!

  • Cam of flash blackBerry Smartphones does not

    There is a symbol of an exclamation mark within a circle at the bottom right on the screen when I turn on my cam In my opinion, this is why my flash does not work... I tried to restart, turn off Auto same flash but still! Mark is not goin please help

  • HP Envy 5660: Instant ink

    I just installed my printer by following all directions. In this process were instructions to install the cartridges that came in the box with your printer. You HAVE to do to get the printer started. AFTER that, I followed the instructions to set up