Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Jay.kothari

Member

01-05-2012 01:37 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hello

I was busy with my semester exams and now that they are done I am resuming work working on my project. I now want to make a .vi simulating the working of a transistor. Its an npn transistor and only simulations is required for now. I want to implement the output characterictics ie. Vce v/s Ic (collector current). The equations are Ic= [Vcc (Supply voltage- Vce)/Rc(approx 1k) ]. We change Vce to get different Ic for a particular value of Ib(base current). The file attached is what I want to achieve. The second file is the biasing diagram

I am stuck on a problem ie I cant find a way to change Vce which depends on Vcc and then change Ic to get the output characteristics. Please help.

Download All

Virus scan in progress. Please wait to download attachments.

ChrissyC

Active Participant

01-05-2012 02:56 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi,

Firstly, I would suggest that you read some of the LabVIEW basic tutorials (there's plenty on this site) and try some of the examples. These helped me when i first started out.

The problem itself is pretty basic, you will need to use the numeric functions (or formula node etc. etc.) to calculate your value of Ic. You can then plot Ic against Vce using labviews graph functions.

We're not going to code this for you, but have a go at solving it. When you have, post your code so we can give you some pointers (no coding pun intended!).

CC

----------------------------------------------------------------------------------------------------------------------------

"If anyone needs me, I'll be in the Angry Dome!"

"If anyone needs me, I'll be in the Angry Dome!"

GerdW

Knight of NI

01-05-2012 02:56 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi Jay,

have you noticed LabVIEW is a programming language - and not a semiconductor simulation package?

You have to create a map with all parameters you need and then do some interpolation based on the inputs to calc the needed outputs...

Best regards,

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

01-05-2012 01:13 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I am through with the basics of LABView and I know the working of formula nodes and also structures. I have also done work on labview in my last semester. I will now put my own code and then ask for your help.

Thanks

01-05-2012 01:17 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

GerdW,

I have tried implementing that but did not get accurate results. However I will post my VI over here very soon.

Thanks

smercurio_fc

Knight of NI

01-05-2012 01:20 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

01-05-2012 01:23 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

GerdW

Knight of NI

01-05-2012 01:31 PM - edited 01-05-2012 01:31 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hi,

@saverio: No, I don't wanted to express Jay should use Spice (or similar programs). He may stick with LabVIEW...

@Jay:

You want to simulate a transistor. Ok, that's fine. But then you have to program a tool that works like Spice: you have to know the parameters of the hardware to simulate, put all the parameters in formulas or maps and the calc the needed outputs by using that formulas - or interpolate the outputs with the help of your maps.

We cannot generate those formulas for you nor can we generate the maps needed to "simulate" the transistor. That's your part of the work...

But we may suggest ways to solve that problem. One way I would suggest for some easy first results is to use maps and do interpolation. Look at the mathematics->interpolation functions palette, read the context help for the 1D/2D interpolation functions and study the examples for those functions!

Best regards,

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO

smercurio_fc

Knight of NI

01-05-2012 01:47 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

01-05-2012 01:56 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

" But then you have to program a tool that works like Spice"

Thats excatly what I wish to make. I have been studying the working and basics of a transistor in my undergrad course and so am good with all the hardware and the formulas and all. Now as you said I need to implement them and will be doing so.

Please take a look at my first post where i have mentioned one equation and also the problem which says

"I am stuck on a problem ie I cant find a way to change Vce which depends on Vcc and then change Ic to get the output characteristics."