Author Topic: Microcap timed switch not making sense  (Read 1311 times)

0 Members and 1 Guest are viewing this topic.

Offline techninja80Topic starter

  • Contributor
  • Posts: 28
  • Country: ca
Microcap timed switch not making sense
« on: August 10, 2024, 10:42:39 pm »
Why when the switch is off I am getting 1.6V????? I know I must be doing something wrong. I am a self learner, and am struggling with something really simple. I know this is an issue with using the product, because if I change the switch to a animated switch or a static one, I don't get this leakage.  I really need to understand this because I need the timed switch function Please someone explain why I am getting this odd behavour, and point me in the right direction.  Also I have faith in microcap, it has always been my fault so if your advise is to use something else, I wont do it. Thanks for any help. I labeled the test point tmns (This Makes No Sense).
|
 

Online Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1673
  • Country: ca
Re: Microcap timed switch not making sense
« Reply #1 on: August 10, 2024, 11:23:20 pm »
The software must simulate a tiny bit of switch leakage. The 1.6V comes from that leakage current going through the LED but not visibly lighting it. A real DMM would load it enough that you wouldn't see the 1.6V...
Perhaps there's a way of setting this leakage current to zero?
Or do something like this to get rid of the ghost voltage:
« Last Edit: August 10, 2024, 11:26:13 pm by Kim Christensen »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 27779
  • Country: nl
    • NCT Developments
Re: Microcap timed switch not making sense
« Reply #2 on: August 10, 2024, 11:28:22 pm »
Look for the on / off resistance values for the switch in the properties.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline techninja80Topic starter

  • Contributor
  • Posts: 28
  • Country: ca
Re: Microcap timed switch not making sense
« Reply #3 on: August 11, 2024, 03:02:21 am »
Thank you nctnico, and Kim Christensen. Both your suggestions affected the circuit in the way that I desired.  I employed both in order to get the desired results.  I will need to keep this in mind for future work. Both it dropped from 1.6V to 8.9mV Thanks a million I can move on. Finally to get rid of that horrible negative spike the almighty diode.
« Last Edit: August 11, 2024, 03:15:26 am by techninja80 »
 
The following users thanked this post: thm_w


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf