8
\$\begingroup\$

I am designing a velocity measuring device and want to use 2 strings of 30 photo-transistors in series.

The strings are 15mm apart and are illuminated by separate collimated light sources. The output of each string is a negative going pulse when any one or more of the photo-transistors in the string are blocked. This output goes to a comparator and then to a processor.

I am having problems with the slow and varied rate of transition when different PDs are blocked. This is affecting the velocity measurement. The rise time can vary from a few hundred micro-seconds to over a millisecond. I am considering putting a trans-impedance amplifier on the output of each string, so that I can create an output to the comparator and processor as soon as the first PD is blocked, and for the reaction time for the two strings to be equal. Or nearly equal.

I have chosen a TI device, OPA2380 for the 2 channels. I would like to ask for any comments on the design, hopefully to prevent me falling into a hole.

\$\endgroup\$
1
  • 6
    \$\begingroup\$ Please can you add your schematic with the part numbers of the light sources, phototransistors and comparator. Also a rough sketch with measurements of the design and objects being tested for speed. Plus any scope shots would be useful. I see you are new so you can't post images yet, so link to any images (e.g. photobucket or similar) and we'll add them in for you. \$\endgroup\$
    – Oli Glaser
    Mar 5, 2013 at 4:35

2 Answers 2

4
\$\begingroup\$

I agree with Oli, but lacking other info, here's a few suggestions.

"String of phototransistors" suggests they are wired in series. If they are all normally illuminated and hence "on", then when one is interrupted the chain goes to high resistance state. You presumably have a resistor or current source in series with this, and this is all wired across a voltage supply to create a voltage divider which your comparator is monitoring?

If that's the case, then here are some possible issues:

  • the blocking of the phototrans doesn't occur as immediately as you perhaps believe
  • the transition from low res to high res vs position of the obstruction isn't the same from one phototrans to another
  • the phototrans fields of view may differ.
  • Different phototrans may be seeing differing amounts of ambient light, which means the amount of current still flowing when ostensibly "off" may differ.

A further problem is that the transition you are looking at is one in which the series resistor (or current source) is charging the capacitance of the wiring, the phototransistors and the comparator input. That's normally a fairly small capacitance (so would charge quickly). But to get the phototrans chain to saturate (maximally conduct, produce minimal drop) when unobstructed, you may have chosen a relatively high series resistance. That high resistance which will slow that transition, and also make it sensitive to different degrees of offness of the blocked phototrans.

The larger problem is trying to deal with a bunch of phototrans in series. You may well be better off dealing with each phototrans separately. You could connect individual phototrans+resistor divider direct to a digital gate (cheap, and can include hysteresis to avoid noisy transitions) like an 74HC14, or 4093 (tie input pairs together). You can AND or OR these together to get aggregate results. You may be able to place these "signal conditioning" components close to the phototransistors to avoid running so many wires to your main electronics.

This strategy allows you to deal just with the characteristics of individual phototransistors, and to isolate anomalies, without having to deal with the effect of the rest of the chain on the individual detectors.

Hopefully this answer is not too far off base, considering we don't really know your setup. :-)

\$\endgroup\$
4
  • \$\begingroup\$ Can't attach anything to my question so I have sent some details notes and history to Oli. happy to send to you as well, but dont know where to send it. \$\endgroup\$
    – Oystek
    Mar 6, 2013 at 22:08
  • \$\begingroup\$ Oli's comment says he will add your notes to the question. \$\endgroup\$
    – gwideman
    Mar 6, 2013 at 22:42
  • \$\begingroup\$ >>You may be able to place these "signal conditioning" components close to the LEDs<< I guess you mean PDs instead of LEDs. \$\endgroup\$
    – Curd
    Sep 2, 2013 at 8:27
  • \$\begingroup\$ @Curd, right, fixed \$\endgroup\$
    – gwideman
    Sep 2, 2013 at 10:28
2
\$\begingroup\$

Photodiodes/phototransistors are current sources and you can't place those in series, just like you can't place voltage sources in parallel. Each photodiode will try to push its current through the wire and different currents will fight each other. The result is that the net current is undefined, and possibly wildly varying.

Normally you would place the photodiodes in parallel and connect them to a common resistor. The voltage across that resistor is then dependent on the sum of the individual currents.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Treating phototransistors as simple current sources when they are in series is not a suitable model, particularly if one or more are saturated. You can certainly wire them in series (say in series with a resistor) and they will behave such that the PQ string will conduct if all are illuminated, otherwise not. However, the voltage resulting across the PQs or across the resistor may not be convenient to interface to logic, and the apparatus will have vague intermediate behavior at intermediate light levels, so not a great design. \$\endgroup\$
    – gwideman
    Sep 2, 2013 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.