Author Topic: Voltage controlled switch - op-amp question  (Read 1418 times)

0 Members and 1 Guest are viewing this topic.

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Voltage controlled switch - op-amp question
« on: July 24, 2021, 09:40:17 pm »


I thought this was going to be fairly simple - the initial preamble to the Question ...

 (No.8, section 2, Paper II, Syllabus A - Joint Matriculation Board Summer 1991 - Physics Examination Paper - on the face of it an op-amp voltage controlled switch and a dc transient using a  split rail +/- 4.5V [not visible in that picture] power supply)

....states the "capacitor is uncharged , switch S is closed and the LED is off (unlit)".

Hmmm -

my LED though is lit.

My next move(s) -

remove the two serial psu earths and float them
try another op-amp (than Motorola MC1741    SCP1    K8734) as I have an input at a rail voltage?

Am I missing something more obvious, I suspect so?
Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #1 on: July 25, 2021, 02:35:55 am »
Tell us what are all of the opamp's pin voltages with respect to 0V ground.
The idea is to figure out the problem's cause by using an understanding of how opamps operate.
« Last Edit: July 25, 2021, 02:38:09 am by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Voltage controlled switch - op-amp question
« Reply #2 on: July 25, 2021, 10:19:13 am »
My voltages are:

1) = -4.48
2) = -.04
3) = -4.50
4) = -4.50
5) = -4.47
6) = 3.24
7) = 4.50
8) = 0.00

floating the supplies didn't affect the circuit. (unsurprisingly)
Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #3 on: July 25, 2021, 10:35:28 am »
Except for the output pin 6, all voltages are as expected. With the Non-inverting input being more negative than the Inverting input, the output should be some large negative voltage.
The opamp is either faulty or maybe doesn't like having an input pin at negative rail voltage.
Is there a blink from the LED when the switch is turned off?
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Voltage controlled switch - op-amp question
« Reply #4 on: July 25, 2021, 10:51:45 am »
The 741 opamp is not a rail-rail input, and you are treating the non-inverting input like it is rail-rail. This is why it's not working.

If you look at the equivalent circuit schematic for the 741, you'll see some current-mirrors and other gubbins below the differential input pair (this may help you understand why the 741 doesn't work at input voltages close to Vss).

LM358 would work.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 
The following users thanked this post: armandine2

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Voltage controlled switch - op-amp question
« Reply #5 on: July 25, 2021, 10:55:40 am »
no blinking from the LED - The switch is a jumper wire - at start up it is in circuit and as soon as the power supplies are switched on it is lit.

The meat of the exam question is around what happens when the switch is opened:

                    a) Explain why the LED comes on 6.9s after the switch is opened and then remains lit.

In my breadboarded   circuit   when the capacitor short is removed the led goes out, after a second or so,  and comes back on 5 seconds ish later.

Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #6 on: July 25, 2021, 11:06:07 am »
no blinking from the LED - The switch is a jumper wire - at start up it is in circuit and as soon as the power supplies are switched on it is lit.

The meat of the exam question is around what happens when the switch is opened:

                    a) Explain why the LED comes on 6.9s after the switch is opened and then remains lit.

In my breadboarded   circuit   when the capacitor short is removed the led goes out, after a second or so,  and comes back on 5 seconds ish later.
That's what I meant by " blink"
That proves that the opamp doesn't work properly while the Non-inverting input is at full negative rail voltage. It is outside of its input common mode range. Data sheets often dont directly point out this type of problem.
Put a resistor across the switch, like 33K and test again.
« Last Edit: July 25, 2021, 11:15:08 am by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #7 on: July 25, 2021, 11:11:34 am »
I should have said to put the 33K in series with the switch or jumper.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #8 on: July 25, 2021, 11:21:54 am »
With the LM358, the input common mode range includes the negative rail but does not include the positive rail but so long as one input is within the specified common mode range, the output state will be true to the input logic.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #9 on: July 25, 2021, 01:27:06 pm »
The 741 opamp is not a rail-rail input, and you are treating the non-inverting input like it is rail-rail. This is why it's not working.

If you look at the equivalent circuit schematic for the 741, you'll see some current-mirrors and other gubbins below the differential input pair (this may help you understand why the 741 doesn't work at input voltages close to Vss).

LM358 would work.
Looking at the schematic for the LM741, I can't see a reason for the behavior. https://neurophysics.ucsd.edu/courses/physics_120/lm741.pdf 
"No Latch-Up When the Common Mode Range is Exceeded " it says.
Maybe the part is not genuine.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #10 on: July 25, 2021, 11:47:41 pm »
I bread-boarded the same experiment using a TI branded UA741. It worked properly, as expected.
I found that so long as one input remained within common mode range, no closer than 2v from the negative rail, the output state would always correspond correctly to the input difference.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 
The following users thanked this post: armandine2

Offline perieanuo

  • Frequent Contributor
  • **
  • Posts: 838
  • Country: fr
Re: Voltage controlled switch - op-amp question
« Reply #11 on: July 26, 2021, 06:50:48 am »
(Attachment Link)

I thought this was going to be fairly simple - the initial preamble to the Question ...

 (No.8, section 2, Paper II, Syllabus A - Joint Matriculation Board Summer 1991 - Physics Examination Paper - on the face of it an op-amp voltage controlled switch and a dc transient using a  split rail +/- 4.5V [not visible in that picture] power supply)

....states the "capacitor is uncharged , switch S is closed and the LED is off (unlit)".

Hmmm -

my LED though is lit.

My next move(s) -

remove the two serial psu earths and float them
try another op-amp (than Motorola MC1741    SCP1    K8734) as I have an input at a rail voltage?

Am I missing something more obvious, I suspect so?
s closed, IN- "bigger" than IN+, opamp output is low, led is off
 

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Voltage controlled switch - op-amp question
« Reply #12 on: July 26, 2021, 11:18:32 am »
See attached picture for the op-amp I used.

Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Voltage controlled switch - op-amp question
« Reply #13 on: July 26, 2021, 11:26:18 am »




For clarification I have not modified the circuit to work outside the shown exam figure. Hence finding a op-amp that works in the circuit shown I would consider to be practically solved.

« Last Edit: July 26, 2021, 11:28:23 am by armandine2 »
Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #14 on: July 26, 2021, 11:32:08 am »
See attached picture for the op-amp I used.
The photo needs to be much more detailed. Does the printing look tilted? Also look closely at the surface texture. There should be no sign of it being abraded, fine directional scratches.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #15 on: July 26, 2021, 11:37:52 am »
Where did the part come from? I should have also asked.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Voltage controlled switch - op-amp question
« Reply #16 on: July 26, 2021, 11:44:47 am »
I can see a tilt on the thumbnail picture! otherwise looks ok

the chip would've been acquired in the early 1990s (latest) - I haven't been getting ICs since then (when I was a student).

Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2813
  • Country: au
Re: Voltage controlled switch - op-amp question
« Reply #17 on: July 26, 2021, 11:56:46 am »
 The part number on old ICs were mainly screen printed and easy to alter compared to  laser inscribed markings.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: Voltage controlled switch - op-amp question
« Reply #18 on: July 27, 2021, 02:23:23 pm »
Got loads of old chips here - and plenty of them have dodgy screen-printing. So it could be fake, but I don't think that is cause of your problem.

Change from a 741 to an LM358 - as discussed earlier, 741 does funny things if you take the inputs to close to Vss.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline armandine2Topic starter

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Voltage controlled switch - op-amp question
« Reply #19 on: July 28, 2021, 08:25:16 pm »
Found a LM358N in one of my parts containers - and a schematic in an old Maplin catalogue.

Yes works fine now.

just the math now to do - my clumsy stopwatch technique had it timed at 7.7s - 7.9s.  Might try and calculate the range for 5% resistors and a 20% capacitor.

Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf