Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #497719

Re: Searching for an Op-Amp

Newsgroups sci.electronics.design
Date 2018-03-04 00:28 -0800
References <5678148d-b67d-44cb-86d5-7a3b61201da7@googlegroups.com> <3689277a-85a6-43f9-a354-187045a83cae@googlegroups.com> <j9kl9dhklpi3v13sbn750kddbbkvv554e0@4ax.com>
Message-ID <9b56aea1-98fa-4237-878b-314c19eedcd1@googlegroups.com> (permalink)
Subject Re: Searching for an Op-Amp
From Leslie Rhorer <rhorerles@gmail.com>

Show all headers | View raw


On Saturday, March 3, 2018 at 10:46:42 AM UTC-6, k...@notreal.com wrote:

> Looks like a hairball's hairball, to me.

   I am not sure what is meant by  "hairball", but it sounds to me like it suggests unnecessary or unnecessarily convoluted components.  Please point out even one unnecessary or incorrectly placed component.

> Too much wrong to even get started.

   Please name one significant cognitive error, one non-functional element, or one logic flaw.

> What's it supposed to do?

   First of all, This is a fairly trivial, simple circuit.  No offense to anyone, but no one who cannot see what this does from the schematic would likely be able to help with its design.

   When looking at any object, analyze it by breaking it down into its functional elements.  For this particular design, there are only 5 fundamental elements, and they happen to be mostly functionally independent, so it's fairly easy to analyze.

1.  The bottom left side of the drawing is separated from the other elements by two diodes, so that is a good place to start.  If Vin is greater than the reverse breakdown voltage (5.6V) of the Zener diode plus the forward breakdown voltage of the D1 LED plus the forward breakdown voltage of the Q1 Base-Emitter junction, then the Zener, D1, and Q1 will all be carrying a small current.  The result will be the LED will illuminate, and the collector of Q1 will fall towards zero volts.  This in turn will de-assert GPIO 17, informing the attached device mains power is present, and will shut down Q2, causing the LED D4 to be dark.  If Vin falls below roughly 8V - 9V, then D1 will go dark, Q1 will turn off, GPIO 17 will no longer be held low, and provided +5V is present, Q2 will conduct and D4 will light.  GPIO 17, D1, and D4 are therefore indicators of whether mains power is present, or not.  That is the extent of the functional group.

2.  To the right of this group is a simple momentary switch tied between GPIO 26 and ground.  If the switch is pushed, GPIO 26 is de-asserted.  From the schematic, there is no way to tell what this does, but it is a fully self-contained functional group.  As it happens, this is a switch to initiate a controlled soft shutdown of the attached Raspberry Pi.

3.  Moving back to the top left of the circuit, we see a functional group consisting of 5 resistors (1 variable, 4 fixed), a battery, a fuse, 2 diodes, an operational amplifier, a transistor, and a Solid State Relay.  The fuse, of course, protects against short circuiting the battery.  Resistor R25 provides a bias current to diode D9, maintaining a steady voltage on the anode that is between about 0.5V and 0.7V above the fuse junction, which will be essentially the same as that of the positive terminal of the battery.  This junction is also tied to the inverting input of U1.  In normal, stable operation, the bias voltage of the inverting and non-inverting input of an operational amplifier will be very close to equal.  Thus, if the circuit is working properly, the voltage of the collector of Q6, which is also the input of the load of the SSR, will also be equal to between 0.5V and 0.7V above the battery's terminal voltage.  If the potential at this point begins to fall, then the Op-Amp's output will also fall, pulling more current from the base of Q6, causing the Q6 collector current to rise, which raises the voltage at the non-inverting input until the bias voltage once again equals the bias voltage of the inverting input.  SSR X1 is controlled entirely by the presence of Vin.  If Vin falls low, then X1 shuts off, isolating the output and the non-inverting input of U1 from the battery, preventing damage to U1.  With no boas from Vin on D9, the diode isolates the inverting input of U1 from the battery.  Thus, the op-amp is isolated and suffers no damage when Vin fails.

   When Vin is present, however, X2 conducts with a resistance of 5 Ohms or less, providing, within a few millivolts, the same potential at the top of R10 as appears at the anode of D9, or once again a steady value between 0.5 and 0.7V above the battery terminal voltage.  This provides a steady current through R10 and R24, charging the battery at a rate determined by the value set for R10.  The voltage across R24 in millivolts is equal to the charging current in milliamps.  Diode D3 prevents the main power from charging the battery at a rate greater than that provided by Q6, and terminates this functional group.

4.  The next functional group consists of an SSR, 3 resistors, a transistor, and an LED.  Whenever GPIO 19 is asserted, current flows to the base of Q3, which in turn causes current to flow through the collector of Q3, as well as through LED D5 and the LED emitter internal to X2, causing D5 to illuminate and X2 to connect the battery (through D3) to the input of the next functional group.  If Vin  has failed, then the battery will still maintain power to the next element.  If GPIO is de-asserted, then R8 will insure there is no bias voltage on Q3, and Q3 is shut off, extinguishing D5, and isolating the battery from the input to the next group.  If GPIO 19 and Vin are both low, then X1, X2, and D9 all prevent the battery from discharging.  It is unknown from the schematic when or how GPIO 19 is asserted, but whenever it is, power will be supplied to the rest of the circuit whether the main supply is active, or not.  Presumably GPIO 19 will only be asserted after main power is present, and will be de-asserted at some point after it fails to shut down the circuit entirely.

The last functional group (other than the DC-DC converter and the load) consists of 2 transistors, a resistor, and a momentary switch.  Whenever power is supplied by either the battery or the main supply to the emitter of Q5, as long as the switch contact is open, then current flows through the base to R13, causing the transistor to saturate, pulling the collector to within a tenth of a volt or two of the supply voltage.  This in turn causes Q4 to saturate, providing power to the DC converter less than 1V below the cathode of D2 or D3, whichever is higher.  If SW2 is pressed, the base of Q5 is shorted to the emitter, shutting it down, and causing power to the DC - DC converter to be interrupted, forcing a hard reset.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-25 18:30 -0800
  Re: Searching for an Op-Amp Winfield Hill <hill@rowland.harvard.edu> - 2018-02-25 19:04 -0800
    Re: Searching for an Op-Amp bitrex <bitrex@de.lete.earthlink.net> - 2018-02-25 22:52 -0500
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-25 20:59 -0800
    Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-25 22:49 -0800
      Re: Searching for an Op-Amp John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-26 08:06 -0800
        Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 09:36 -0800
          Re: Searching for an Op-Amp John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-26 09:41 -0800
          Re: Searching for an Op-Amp Jasen Betts <jasen@xnet.co.nz> - 2018-02-27 06:58 +0000
  Re: Searching for an Op-Amp Phil Allison <pallison49@gmail.com> - 2018-02-25 20:19 -0800
    Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-25 22:41 -0800
      Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-02-26 08:40 +0000
      Re: Searching for an Op-Amp Phil Allison <pallison49@gmail.com> - 2018-02-26 01:48 -0800
      Re: Searching for an Op-Amp tabbypurr@gmail.com - 2018-02-26 05:48 -0800
      Re: Searching for an Op-Amp bitrex <bitrex@de.lete.earthlink.net> - 2018-02-26 09:37 -0500
        Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 07:28 -0800
          Re: Searching for an Op-Amp bitrex <bitrex@de.lete.earthlink.net> - 2018-02-26 10:43 -0500
            Re: Searching for an Op-Amp bitrex <bitrex@de.lete.earthlink.net> - 2018-02-26 10:54 -0500
              Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 08:11 -0800
                Re: Searching for an Op-Amp George Herold <gherold@teachspin.com> - 2018-02-26 08:42 -0800
                Re: Searching for an Op-Amp Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-02-26 12:48 -0500
                Re: Searching for an Op-Amp George Herold <gherold@teachspin.com> - 2018-02-26 10:52 -0800
          Re: Searching for an Op-Amp Jasen Betts <jasen@xnet.co.nz> - 2018-02-27 06:46 +0000
      Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-26 14:53 +0000
        Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 08:01 -0800
          Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-26 17:21 +0000
            Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 10:20 -0800
            Re: Searching for an Op-Amp tabbypurr@gmail.com - 2018-02-26 11:12 -0800
          Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-02-26 17:39 +0000
            Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 10:33 -0800
              Re: Searching for an Op-Amp sms <scharf.steven@geemail.com> - 2018-03-06 12:58 -0800
  Re: Searching for an Op-Amp Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-02-26 10:36 -0800
    Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 12:05 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 12:00 -0800
    Re: Searching for an Op-Amp George Herold <gherold@teachspin.com> - 2018-02-26 12:44 -0800
      Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-26 14:53 -0700
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 14:03 -0800
        Re: Searching for an Op-Amp tabbypurr@gmail.com - 2018-02-26 14:15 -0800
          Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 14:52 -0800
            Re: Searching for an Op-Amp tabbypurr@gmail.com - 2018-02-27 06:10 -0800
          Re: Searching for an Op-Amp George Herold <gherold@teachspin.com> - 2018-02-26 16:05 -0800
            Re: Searching for an Op-Amp George Herold <gherold@teachspin.com> - 2018-02-26 16:30 -0800
    Re: Searching for an Op-Amp John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-26 12:53 -0800
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 14:15 -0800
        Re: Searching for an Op-Amp tabbypurr@gmail.com - 2018-02-26 14:26 -0800
          Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 15:04 -0800
            Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-27 13:40 +0000
              Re: Searching for an Op-Amp bill.sloman@ieee.org - 2018-02-27 06:39 -0800
                Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-27 09:18 -0800
              Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-27 09:15 -0800
                Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-28 10:25 +0000
                Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-01 22:58 -0800
              Re: Searching for an Op-Amp Jasen Betts <jasen@xnet.co.nz> - 2018-02-28 09:06 +0000
      Re: Searching for an Op-Amp Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-02-26 19:55 -0500
        Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-26 17:59 -0700
          Re: Searching for an Op-Amp John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-26 17:42 -0800
          Re: Searching for an Op-Amp George Herold <gherold@teachspin.com> - 2018-02-26 18:12 -0800
            Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-26 21:12 -0700
  Re: Searching for an Op-Amp Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-02-26 17:11 -0800
    Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-26 18:28 -0700
      Re: Searching for an Op-Amp Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-02-26 18:07 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-26 18:21 -0800
    Re: Searching for an Op-Amp Phil Allison <pallison49@gmail.com> - 2018-02-26 23:46 -0800
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-02-27 08:54 -0800
      Re: Searching for an Op-Amp krw@notreal.com - 2018-02-27 18:54 -0500
        Re: Searching for an Op-Amp Phil Allison <pallison49@gmail.com> - 2018-02-27 16:41 -0800
          Re: Searching for an Op-Amp krw@notreal.com - 2018-02-27 19:44 -0500
  Re: Searching for an Op-Amp bloggs.fredbloggs.fred@gmail.com - 2018-02-28 10:27 -0800
    Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-02 08:43 -0800
      Re: Searching for an Op-Amp Jasen Betts <jasen@xnet.co.nz> - 2018-03-02 19:46 +0000
        Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-02 14:40 -0800
      Re: Searching for an Op-Amp bloggs.fredbloggs.fred@gmail.com - 2018-03-05 18:53 -0800
        Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-06 10:04 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-02 14:52 -0800
    Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-03-03 09:57 +0000
      Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-03-03 08:55 -0700
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-03 20:59 -0800
        Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-03-04 08:34 +0000
          Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-04 17:14 -0800
    Re: Searching for an Op-Amp krw@notreal.com - 2018-03-03 11:46 -0500
      Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-03-03 10:40 -0700
        Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-03-03 18:45 +0000
          Re: Searching for an Op-Amp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-03-03 15:19 -0700
        Re: Searching for an Op-Amp krw@notreal.com - 2018-03-03 20:19 -0500
        Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-03-06 12:16 +0000
          Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-06 12:19 -0800
            Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-03-07 08:36 +0000
              Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-07 10:51 -0800
                Re: Searching for an Op-Amp Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2018-03-07 20:24 +0100
                Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-07 11:34 -0800
                Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-08 10:53 -0800
            Re: Searching for an Op-Amp Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-03-07 14:23 +0000
              Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-07 11:25 -0800
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-04 00:28 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-02 16:05 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-05 14:12 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-05 16:49 -0800
    Re: Searching for an Op-Amp Winfield Hill <hill@rowland.harvard.edu> - 2018-03-05 19:19 -0800
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-06 10:10 -0800
    Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-03-06 20:04 +0000
      Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-06 12:30 -0800
        Re: Searching for an Op-Amp tabbypurr@gmail.com - 2018-03-06 15:57 -0800
  Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-08 23:57 -0800
    Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-03-09 09:12 +0000
      Re: Searching for an Op-Amp piglet <erichpwagner@hotmail.com> - 2018-03-09 10:23 +0000
        Re: Searching for an Op-Amp Leslie Rhorer <rhorerles@gmail.com> - 2018-03-09 16:33 -0800

csiph-web