The Godfather talking
You may crack software. How about me?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 04:12:37 16:12


Login with username, password and session length


Pages: [1]
Print
Author Topic: Whta's wrong with this- proteus simulation....  (Read 3416 times)
0 Members and 2 Guests are viewing this topic.
MAXPAYNE
Hero Member
*****
Offline Offline

Posts: 691

Thank You
-Given: 492
-Receive: 359


It's a little funny......


« on: November 03, 2007, 07:16:44 07:16 »

Hi, What's the problem with this ckt ? When Q1 and Q5 is high, the LED  shouldn't glow except for all time it should glow. But it remains glowing all the time...

How resistor is choosen to be anlog or digital in proteus?
Logged

Whats the Craziest Project u have done lately...?
ppa88
Active Member
***
 Muted
Offline Offline

Posts: 200

Thank You
-Given: 49
-Receive: 131


« Reply #1 on: November 03, 2007, 08:13:48 08:13 »

Both R1 and R2 should be selected as ANALOG for proper biasing of the transistor. Also change R2 to somewhere around 330 ohms to drive enough current through the LED.
Logged
MAXPAYNE
Hero Member
*****
Offline Offline

Posts: 691

Thank You
-Given: 492
-Receive: 359


It's a little funny......


« Reply #2 on: November 03, 2007, 08:44:16 08:44 »

I did it as u said ppa88. But still the same problem exists.....
Logged

Whats the Craziest Project u have done lately...?
o2
Moderator
Hero Member
*****
Offline Offline

Posts: 505

Thank You
-Given: 40
-Receive: 405


Top Topic Starter


« Reply #3 on: November 03, 2007, 08:55:31 08:55 »

Hi,MAXPAYNE
I try edit your file tst.dsn

Regards

O2
Logged
MAXPAYNE
Hero Member
*****
Offline Offline

Posts: 691

Thank You
-Given: 492
-Receive: 359


It's a little funny......


« Reply #4 on: November 03, 2007, 09:08:53 09:08 »

wow ! it works now......

What change u have done o2 Huh

one more qstn: how can I understand a resistor should be analog or digital ?
Logged

Whats the Craziest Project u have done lately...?
o2
Moderator
Hero Member
*****
Offline Offline

Posts: 505

Thank You
-Given: 40
-Receive: 405


Top Topic Starter


« Reply #5 on: November 03, 2007, 09:22:37 09:22 »

My change R2 to analog and D3 Current to low same ppa88 said
Logged
ppa88
Active Member
***
 Muted
Offline Offline

Posts: 200

Thank You
-Given: 49
-Receive: 131


« Reply #6 on: November 03, 2007, 01:11:27 13:11 »

Maxpayne,

I am not an expert in simulation but my guess  regarding selection of digital and analog property of resistor (or for that matter any device) is as follows:

1. Whenever you intend to do mixed mode simulation i.e. one which combines non linear nodal analysis of SPICE3F5 (engine used by proteus) with event driven digital simulation (DSIM), then you select the required component to have analog property.

2. Whenever you do purely digital simulation (one which uses only DSIM), eg. I2C bus simulation, you select the property as digital.

Hope it helps.

Logged
MAXPAYNE
Hero Member
*****
Offline Offline

Posts: 691

Thank You
-Given: 492
-Receive: 359


It's a little funny......


« Reply #7 on: November 03, 2007, 02:22:25 14:22 »

I changed the LED from analog to digital and made all resistor analog and it works..!!!
Logged

Whats the Craziest Project u have done lately...?
ppa88
Active Member
***
 Muted
Offline Offline

Posts: 200

Thank You
-Given: 49
-Receive: 131


« Reply #8 on: November 03, 2007, 07:45:44 19:45 »

Maxpayne,

What you have observed is not wrong. The active LED used in your design has analog a well as digital mode of operation. In analog mode, it will be modelled as a real LED and its intensity etc. will depend on the current flowing (depending on where it is biased in its V-I characteristics). A red LED typically has around 2 volts when it is conducting with normal intensity. You can see that if R2 is made 100k the LED will not glow since the current is not enough. But in digital mode, it is designed to respond to a high or low only irrespective of current (!!), and will glow even if R2=100k ( which is not possible in practice).

So the bottom line is use analog mode for these devices as much as possible (puts more pressure on the spice engine ), but use digital mode if all that you are interested in is a HIGH or a LOW.

Experiment more with these features and you will discover much more.
All the best.
Logged
omidsht
Active Member
***
 Muted
Offline Offline

Posts: 192

Thank You
-Given: 60
-Receive: 16



« Reply #9 on: November 04, 2007, 02:23:04 14:23 »

you are great man PP , i didnt know these things . maybe you should share your other experiments in proteus

omid Grin Wink
Logged
ppa88
Active Member
***
 Muted
Offline Offline

Posts: 200

Thank You
-Given: 49
-Receive: 131


« Reply #10 on: November 04, 2007, 04:06:26 16:06 »

Certainly omidsht, will do so as and when such queries arise, these type of questions are the ones which will help us to learn more about the package.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC