I know the cd4049 is just two FET's but I don't know how I can model those transistors to be at least near what one would expect from the behavior of the IC.

Also, what parameters are absolutely needed when modelling a FET? Can I leave some out? I have seen different models with different complexity, that is confusing. I'm pretty new to modeling components in spice, in other words, this will be my first.


Ok, I found an excellent tutorial on how to do this using pspice.


They take PMOS and NMOS FETs' models and specify only the parameters that are different from those default. This is what I want to do, but how can I know the parameters of the FETs from the datasheet?.



  • \$\begingroup\$ It depends how sophisticated you need your simulation to be. The SPICE model of industry standard logic MOSFETs (BSIM) takes an entire book to grok... books.google.com/books?id=LacJCAAAQBAJ Alas for ICs their datasheet will usually not contain the FET parameters... Some vendors give out encrypted SPICE models for their ICs that do contain such parameters. I don't know if it's possible to crack those... \$\endgroup\$ – Fizz Nov 16 '15 at 23:20

The precise method depends on the particular spice engine.

Most have something called a subciruit or package definition that would let your create the component as a schematic.

Many also have the ability to define the behavior of an element programmatically. By entering a formula or script, relating the various values.

There are many different levels of FET transistor models. It is beyond the scope of this answer to describe them. A large number of them are described in this HSPICE manual, the manual of your own particular spice implementation will likely has similar descriptions of the models it supports.

To determine reasonable values for the parameters, you are going to need to look at the datasheet for the component, which you should be able to download from the manufacturer.

You may in-fact be able to download a existing spice model for the component from the manufacturer -- or from the website of a spice engine -- though your might have to convert it to the format preferred by your spice engine.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.