Author Topic: Couplers - optic, inductive, capacitive circuits  (Read 2193 times)

0 Members and 1 Guest are viewing this topic.

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Couplers - optic, inductive, capacitive circuits
« on: December 19, 2018, 07:02:24 pm »
I have an optoisolator circuit (in attachment).

What does those 4 resistors do? Or is that a potentiometer at Vcc?

Thank you.
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 7012
  • Country: ro
Re: Couplers - optic, inductive, capacitive circuits
« Reply #1 on: December 19, 2018, 07:14:58 pm »
The circled resistors are the loads for the two open collector transistors.  Probably a potentiometer and 2 resistor (judging by the arrow from Vcc to it, the two resistor on top seems to be the uninspired drawing of a potentiometer).
 
The following users thanked this post: nForce

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Couplers - optic, inductive, capacitive circuits
« Reply #2 on: December 19, 2018, 07:46:05 pm »
The assumption is that the gain of the two devices is equal down to a constant (gain error) term.  The output from the device is in terms of collector current, so the voltage gain is that current times the collector load resistor.  You could vary just one of them, but you won't know which one naturally has the higher gain so either one may be higher or lower.  Putting the trimpot between them (yes, it's a potentiometer, just drawn oddly) allows that to be set.

In practice, the LED emission, photodiode sensitivity, and transistor hFE, will all vary with manufacture, age and temperature, in inconsistent ways; I doubt that this circuit will do very well, maybe within 5 or 10% of input value.  If circuit characterization is acceptable, and possibly component matching as well, it might be possible to refine that limit to 1%, even 0.1%; but this is probably going to be more costly than a better method in the first place (the next best method being a dual-photodiode sensor like the IL300, and the next after that, probably an ADC+iso+DAC combo).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: nForce

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17427
  • Country: us
  • DavidH
Re: Couplers - optic, inductive, capacitive circuits
« Reply #3 on: December 20, 2018, 01:11:49 am »
Just in case what T3sl4co1l wrote is not clear, the entire circuit is a linearized optocoupler.  The potentiometer adjusts the matching by trimming the gain.
 
The following users thanked this post: RoGeorge, nForce

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #4 on: December 20, 2018, 07:21:00 pm »
Hmm, so those 2 transistors are actually something to prevent connecting Vcc and Gnd with a short circuit?
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Couplers - optic, inductive, capacitive circuits
« Reply #5 on: December 20, 2018, 08:21:42 pm »
What two transistors?  What short?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #6 on: December 20, 2018, 09:02:21 pm »
Oh, sorry I meant resistors.  :)
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #7 on: December 22, 2018, 05:31:50 pm »
I meant a resistor on the left side and a resistor on the right side. If a resistor weren't there we would connect Vcc through potentiometer to ground.

Do you see it on schematics?
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Couplers - optic, inductive, capacitive circuits
« Reply #8 on: December 22, 2018, 06:52:41 pm »
The transistors aren't shorts, so I don't see it...

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #9 on: December 23, 2018, 10:31:49 am »
Why do we have then one resistor on one side and the other on the other side? Someone has commented here, that it's a load resistor. But if it isn't short between Vcc through potentiometer to ground, then we don't need those two resistors?

Thanks, I really appreciate the help for beginners.
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 7012
  • Country: ro
Re: Couplers - optic, inductive, capacitive circuits
« Reply #10 on: December 23, 2018, 11:46:36 am »
In theory, yes, the potentiometer might be enough.  In practice, no.

You MUST put those two resistors because:
  • In the first place, safety reasons.  One must never design a circuits that can be destroyed by simply turning a potentiometer.  Somebody else, or even you by mistake, might turn that potentiometer to the minimum, or to the maximum, and damage something.  That reason alone should be enough to justify the extra two resistors. 
  • For this particular schematic, there is one more reason that made the two resistors necessary:  the adjustment range.
    Note there is a neat trick in that schematic, which includes a feedback loop:

    the entire circuit is a linearized optocoupler.  The potentiometer adjusts the matching by trimming the gain.

    For the schematic to work best, it would be necessary to have 2 optocouplers with the same gain.  In real life, there are always small fabrication differences between parts of the same model.  In our case, we use the potentiometer to slightly trim any possible differences in the gain of each optocoupler, so the potentiometer value will be probably 10 times less than the resistors.  If not, at the slightest rotation we will introduce too much differences.
« Last Edit: December 23, 2018, 11:52:32 am by RoGeorge »
 
The following users thanked this post: nForce

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Couplers - optic, inductive, capacitive circuits
« Reply #11 on: December 23, 2018, 11:46:59 am »
Still don't get it.

These?

That's just done to set a minimum value for each half of the potentiometer.  So each load resistor is adjustable from R1 (the blue circled resistor) to R1 + R2 (R2 = pot end-to-end value).

Again, there's no ground around here, I don't know what you're talking about shorting.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #12 on: December 23, 2018, 12:53:05 pm »
T3sl4co1l:

Here:
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Couplers - optic, inductive, capacitive circuits
« Reply #13 on: December 23, 2018, 08:54:33 pm »
Okay so the transistor?

I said earlier they aren't shorts.  Usually when a statement contradicts what someone thinks, they make note of it.  But you didn't make note of it until now, which was confusing.

So yeah, the transistor is only capable of drawing 10s of mA.  It is not a hard switch.  For resistances smaller than (+V) / (10 of mA), the collector voltage (in the fully-turned-on (saturated) condition) will be some volts.  Only when the resistance is larger than this limit, will the collector voltage be able to pull down near ground (to the Vce(sat) spec of the device).  In either case, there is never a short, because the transistor is not a hard switch and can only draw some current, or there is resistance, or both. :)

HTH,
Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: nForce

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #14 on: December 29, 2018, 01:05:05 pm »
For resistances smaller than (+V) / (10 of mA), the collector voltage (in the fully-turned-on (saturated) condition) will be some volts.  Only when the resistance is larger than this limit, will the collector voltage be able to pull down near ground (to the Vce(sat) spec of the device).
HTH,
Tim

Why has to be resistance larger to pull down voltage? So we make short if the resistance is larger.

 

Offline nForceTopic starter

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: ee
Re: Couplers - optic, inductive, capacitive circuits
« Reply #15 on: December 30, 2018, 05:49:34 pm »
I have another question:

Can someone explain how does this circuit work: https://www.analog.com/en/products/ad202.html#product-overview?

I haven't analyzed circuits much, so I need some help.  :)
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Couplers - optic, inductive, capacitive circuits
« Reply #16 on: December 31, 2018, 04:15:31 am »
Externally, or internally?

Externally, it's magic.  You wire up power, and it transmits power and an analog signal.

Internally, it looks like two transformers coupled with a synchronous de/modulator (also known as a chopper amp).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17427
  • Country: us
  • DavidH
Re: Couplers - optic, inductive, capacitive circuits
« Reply #17 on: December 31, 2018, 05:59:19 pm »
Check out figure 12 on page 8 of Linear Technology application note 9 for a discrete implementation and description.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf