(Topic ID: 126370)

Let's Discuss: Williams Opto Theory

By altan

7 years ago


Topic Heartbeat

Topic Stats

  • 28 posts
  • 7 Pinsiders participating
  • Latest reply 7 years ago by yoshootme
  • Topic is favorited by 15 Pinsiders

You

Linked Games

No games have been linked to this topic.

    Topic Gallery

    View topic image gallery

    IMG_TZ wire row.jpg
    A-16807  5768-13536-00 Twilight Zone schema + correctie+clock.jpg
    QVE11233.0086-1.jpg

    #1 7 years ago

    This weekend I decided to look into optos on Williams machines. Optos for TZ's clock are infamous, but they are also used all over the place. For registering shots going up ramps, around orbits, for flippers, drop targets, and various other "toys." I know others must have lots of knowledge in this area. Maybe we can share some of it here?

    Most people reading this thread probably have read about the QVE11233.0086 opto. This is the magical "more sensitive" opto that is needed for TZ's clock. Note: I quoted "more sensitive" because that's a generalization of the part's unique behavior. I was wondering why the TZ clock needed this unique opto and whether all optos in Williams games required these characteristics (ex: flipper optos, etc.) and, if not, why?

    Let's move onto the switch matrix and summarize it's behavior ever so briefly. Ignoring all the row/column behavior, which is interesting in itself, the switch matrix operates on 12v. The WPC design determine whether a switch is "active" by sensing whether the voltage on a switch line is above or below 5v. So we start off with 12v using a pull up resistor and if that voltage gets below 5v then the CPU will read a different state for the switch.

    When the CPU "strobes" (check the activity level) of an opto, it connects the switch circuit to a ground path. This is what allows the switch circuit to read below 5v --- assuming the switch itself is closed.

    That's my understanding at least. I welcome comments / corrections.

    So what's unique about optos vs regular switches? It comes down to how much current the switch can pass. A physical switch allows a good amount of current to pass. Some optos, no so much. Remember, we are starting with 12v and need to get it down to less than 5v in order to change the state. Using the trusty V=IR (voltage = current * resistance), we can quickly see that the switch needs to support greater than 7 mA to get the voltage down below 5v. How did I calculate this? To go from 12v to 5v you need to drop 7v. There is a 1KOhm resistor inline with the 12v supply, so using I=V/R i got I=7v/1KOhm=7mA.

    And 7mA is just to get down to 5v. You really want to get down further, so this could easily need to be more. 12 mA if you wanted to go to the edge.

    Again, my understanding... happy to hear comments / corrections!

    So what's the problem? Optos available today have specs that state they only allow a significantly less current flow than needed! While it appears to vary, 0.5 mA isn't uncommon.

    What problem does this cause? Ignoring any a part may enter odd states of behavior when run out of spec and could potentially do many unwanted things, perhaps the two most obvious symptoms are:

    1) When the opto activates, it doesn't allow enough current to pass, and the 12v doesn't get below 5v. The opto has "triggered" but because of the WPC because, the CPU will not sense it as it needs the voltage to go down below 5v. If you are lucky and get a part that allows a significantly higher current, it might work all the time. However, you might get a part that simply meets spec and never works in this circuit. Or, you might get a part that works sometimes and causes the WPC to read the opto togging on and off.

    2) Pushing too much current through the opto can cause the opto to prematurely fail. If you are lucky to get na opto that appears to work, it may not work as long as expected.

    And for the 3rd time, that's my understanding... love to hear comments.

    I've come across info that implies that only the TZ clock optos need to behave like the "0086" optos but not others, such as drop targets and so forth. However, if my info above is right, I cannot see why all optos in a Williams design wouldn't require supporting these amount of current.

    Which leads me wondering...

    1) Do all optos in a Williams machine need to support this or is there something special about the TZ circuit?

    2) The new flipper boards that exist, do their optos support these high current ratings?

    3) What's a good source for optos that support Williams games (say other than Marco)?

    I'd really like to hear more details on this topic. Please chime in if you think the above is factually correct or if it needs modifications, as well as if you have answers to my pondering...

    ... Altan

    #2 7 years ago
    Quoted from altan:

    Which leads me wondering...
    1) Do all optos in a Williams machine need to support this or is there something special about the TZ circuit?
    2) The new flipper boards that exist, do their optos support these high current ratings?
    3) What's a good source for optos that support Williams games (say other than Marco)?
    I'd really like to hear more details on this topic. Please chime in if you think the above is factually correct or if it needs modifications, as well as if you have answers to my pondering...

    All I think about is "look at all the pretty colors"

    #3 7 years ago

    First, to clarify -
    The optos in the TZ clock are not 'more sensitive'. The different part # is simply because the minute optos needed longer legs. The exact optos can be replaced with others - you would just need a standoff to raise the height. Because of the distance needed, they (Williams) needed a non-standard lead length on them.

    The difference (as far as I can remember, I'd have to go downstairs and double-check. One of the downsides to having a game in pieces, tracing stuff out is difficult. :/) is that that clock optos are NOT connected to the 10-opto board, but connected straight to the switch rows.

    So, unlike other optos in the game, that are latched via LM339's on the Opto Board, the optos here are driven directly by the column driver (on the 8-Driver PCB). The column driver, however, is controlled by a TIP102 (since the board could be re-used to send that driver to a solenoid or flasher), so it can handle the current.

    For all optos, you can replace them with QVEs. All they are is a IR receiver connected to the LM339, and an IR emitter, connected to a resistored +12v. (Hence the heavy resistors on the 10-opto board.)

    Edit: I forgot to clarify - The reason the LM339's are in use is to filter out the columns used. On the 10-opto board, when "Col 1" is active, the LM339 will then only report for optos 2-6. When the 'Col 2' is active, the other group of gates are active, so only optos 1, 3-5, and 7 are reported.

    The reason that the 8-Driver board doesn't have an LM339 is simple - only one column is used, so no gate is needed.

    #4 7 years ago

    Part 2 - Why optos are ACTIVE when they're blocked..

    The IR reciever (Phototransistor) allows the row circuit to be closed (i.e. switch closed, current flowing from collector to emitter) when it detects IR light. When there is no IR light detected, the phototransistor is open, stopping current from flowing.

    Since the ball blocking the IR beam is activating the switch, this is why in switch test that -

    An ACTIVE switch is one that is not in its normal state. For regular switches, this is when the switch is closed, current flowing. For optos, this is when the switch is open (the IR beam is broken, switch is open).

    This is also why, when running switch tests, and looking for help on here, you need to pay attention to whether the switch is Active - has an "(A)" after the name/status) or simply 'On'. 'On' is a misnomer, since optos are supposed to be on, other switches aren't.

    #5 7 years ago

    Thanks Coyote.

    I've never been able to find the 0086 datasheet, but there is info out on RGP claiming it is different than just longer legs. RGP claims a bigger aperture and ability to handle more amps. True? I cannot say.

    I'm going to look at schematics and apply your comments and see if I have other thoughts.

    Now... There must be others out there that are interested in this topic or have additional insight? Chime in...

    #6 7 years ago
    Quoted from altan:

    Thanks Coyote.
    I've never been able to find the 0086 datasheet, but there is info out on RGP claiming it is different than just longer legs. RGP claims a bigger aperture and ability to handle more amps. True? I cannot say.
    I'm going to look at schematics and apply your comments and see if I have other thoughts.
    Now... There must be others out there that are interested in this topic or have additional insight? Chime in...

    I'm not 100% sure I have faith in that - however, since those QVE's are no longer available (not only the .0086's used in TZ, but that model in general) I couldn't verify.

    My knowledge came from RGP back in the mid-90's, when optos on the clocks first started dying because of the heat. Someone had contacted the maker about ordering them, and was told they were special order, and that the .0086 part-number addendum was referencing lead length and ordering them was limited to WMS. (They wouldn't even let him order any..)

    Now, if new information came to light recently, then my info could be outdated. However, I'm not sure about why the clock optos would need to be 'more' sensitive.. it's not like the clock hand is translucent..

    #7 7 years ago

    about to change the opto's on my NGG at switch #46 (?), if I remember correctly. so I bought a new upper play field as well, since it needed to be changed. and of course it is now turning into a teardown , shop job etc. I blame you, altan, for making me think i can do this stuff! If i am not mistaken you had the pics/posts up of a TZ that you redid beautifully. (was that you?). It was such a good documentation that I got the crazy idea to completely tear down mine! I must say I learned an awful lot from your site and posts about it. did you ever document a NGG teardown? lol
    now i am about to order the rubber kit from steve at pinball resource but I don't have my ID numbers. very nervous! lol

    #8 7 years ago

    "more sensitive" might perhaps be better stated as "tighter tolerances"; Quality Technologies appears to have binned parts for Williams based on slightly better specs than allowed by Williams. Perhaps QT had a hand in the opto design for the TZ clock and wanted to operate the parts a little further away from the edge? Unfortunately, I don't have the outline drawing that would help prove/dispel the ".0086 means longer leads" folklore, just the production document.

    (it is interesting to note, however, that QT opted for parts with a significantly higher minimum VR.)

    QVE11233.0086-1.jpg

    #9 7 years ago
    Quoted from jadziedzic:

    just the production document

    Wow! Thanks for sharing, jadziedzic. I haven't had time to ingest this info, but at quick glance it looks like the 0086 version most significant attribute is the IC(ON). Williams required it to pass 10 mA and QT made sure the parts could pass 11 mA. A "replacement" opto such as the OPB804 only seems to do a "typical" value of 5 mA but is guaranteed only to do 0.5 mA.

    The 0086 supporting a higher IC(ON) mA value does seem to tie in nicely with the info I suspected/believed in my first post regarding the importance of current to allow the voltage to get down below 5v in order for the WPC to notice a state change. Note: IC(ON) is the amount of current that the transistor part of the opto will pass.

    Jadziedzic, do you agree?

    #10 7 years ago
    Quoted from yoshootme:

    I blame you, altan, for making me think i can do this stuff! If i am not mistaken you had the pics/posts up of a TZ that you redid beautifully. (was that you?)

    Not sure if it was me, but I did post pics of fixing up and cleaning my TZ about 2 years ago. I posted here but also put more info on my site http://www.aaarpinball.com/TwilightZone/TwilightZone.htm. Is that was you saw?

    And for doing this stuff? Certainly you can! I get myself into "trouble" sometimes because I don't like reading "just do this". Rather, I want to understand why people say "just do this" so I can apply it appropriately in various situations --- or understand when it shouldn't be applied.

    Hence my starting this thread on optos to better understand them.

    #11 7 years ago

    Interesting abouty the doc, thanks for sharing!

    And yes, maybe tighter tolerances is a better description then. It would also explain why the hour optos were also .0086 part numbers (when the leg length didn't have to be any longer)..

    #12 7 years ago

    altan raised a good point about IC(on); the Fairchild and QT data sheets for the QVE11233 both specify 0.5 mA as the minimum value, but neither specify a typical value, so you're dealing with the luck of the draw with non-QVE11233.0086 parts.

    As for why the need for the ".0086" part in the clock, that's the only opto usage of which I'm aware that drives the switch matrix directly; in all other cases there's an LM339 voltage comparator ("buffer") that drives the switch matrix based on the opto transistor voltage drop. Modern designs of the clock board, such as Ingo's, use the buffer approach to drive the switch matrix and are thus immune to the flaky opto problems that plague the clock.

    #13 7 years ago

    The A-16807 board for TZ's clock seems to have LM339's both for sensing the voltage drop (below 5v) as well as driving the connection to ground to complete the circuit. The presence of this appears to be at odds with what you wrote above? Perhaps I didn't understand something.

    I ask because it brings up a core part of what I'm trying to understand... Why is TZ clock unique, what other boards have similar opto requrements, etc.

    #14 7 years ago
    Quoted from altan:

    The A-16807 board for TZ's clock seems to have LM339's both for sensing the voltage drop (below 5v) as well as driving the connection to ground to complete the circuit. The presence of this appears to be at odds with what you wrote above? Perhaps I didn't understand something.
    I ask because it brings up a core part of what I'm trying to understand... Why is TZ clock unique, what other boards have similar opto requrements, etc.

    See my post above. The TZ clock optos are NOT tied into the Opto Board, but are instead driven from the 8-Driver PCB in the backbox.

    This is because those optos are all on the same column (Col 9), and don't need a latch driver. (As opposed to the Opto boards, which have two columns running into it, and depending on which one is active (being scanned by the CPU) activates the associated row for low (non-active) optos.

    #15 7 years ago
    Quoted from Coyote:

    See my post above. The TZ clock optos are NOT tied into the Opto Board, but are instead driven from the 8-Driver PCB in the backbox.
    This is because those optos are all on the same column (Col 9), and don't need a latch driver. (As opposed to the Opto boards, which have two columns running into it, and depending on which one is active (being scanned by the CPU) activates the associated row for low (non-active) optos.

    Thanks for having this discussion! Here is what lead me to write the text you responded too..

    Page 3-18 of the TZ manual shows the Minute Opto PCB assembly. The optos on this board are connected to J5 on A-16807.

    A-16807 is shown on the previous page (3-17). This PCB ("Custom Opto SW10") shows LM339s both being used to compare whether the switch is "active" (below 5v) as well as driving the connection to ground.

    You are saying that when A-16807 connects back to the CPU board, there is no buffer/latch on the CPU board that would be there for other switches?

    #16 7 years ago
    Quoted from altan:

    Page 3-18 of the TZ manual shows the Minute Opto PCB assembly. The optos on this board are connected to J5 on A-16807.
    A-16807 is shown on the previous page (3-17). This PCB ("Custom Opto SW10") shows LM339s both being used to compare whether the switch is "active" (below 5v) as well as driving the connection to ground.
    You are saying that when A-16807 connects back to the CPU board, there is no buffer/latch on the CPU board that would be there for other switches?

    Ah, I see your confusion. The manual is misleading. J5 is the opto board OUTPUTS - J5 is the switch matrix row/column lines.

    The manual should have said that the clock board was connected to J208-1, -2, -3, -4, etc.

    So what happens is this -
    The MPU polls Col 1, Col 2, - etc, up to Col 8.
    When Col 6 & 7 are active, it activated the associated LM339s. While those columns are active, the MPU then scans through each ROW, and looks at the status of the row input.
    Then the MPU activates Col 9 through the 8-driver PCB, and does the same for the rows. No LM339s need to be latched, since ALL eight optos are on the same column.

    --Mike

    #17 7 years ago

    The whole thing regarding this has to do with CTR or Current Transfer Ratio.
    The important factors that differentiate the QVE11233 from the QVE11233.0086 are the IC(ON) -- Collector current when output transistor is turned on and VCE(Sat) -- Collector to Emitter saturation voltage also when the output transistor is turned on.
    QVE11233 has max VCE(SAT) of 0.4V when IC is at 0.5mA
    Williams spec'd a part that has a max VCE(SAT) of 0.8V when IC is at 10mA.
    That's 20x the current drive!

    Given the same emitter forward input current (or "IF"), the QVE11233's CTR is too low, the special ordered QVE11233.0086 was barely above borderline high enough.
    For the amount of energy put into the emitter, the detector can switch a maximum current load while retaining a minimal forward voltage drop. This ratio is called the Current Transfer Ratio or CTR. Some people call this 'sensitivity', some call it 'drive capability'. In a way, they're both right.

    At one time, I did an analysis from beginning to end on current levels and voltage drops. This was an effort to determine if the OPB804 would be an acceptable sub (it isn't). I believe the analysis is on RGP somewhere.
    As it turns out, there is a VERY significant current load on the opto output -- a current that exceeded the rated QVE11233 and OPB804 IC(ON) while maintaining that maximum 0.4V VBE or voltage drop. Due to the excessive current load, the VBE voltage drop was increasing so high that the comparator's input voltages were with the "no-man's land" zone - resulting in indeterminate values. Would sometimes work, sometimes not. Got progressively worse as time went on.

    Rather than ***FIX*** the problem the right way, Williams had opto's custom made that would maintain a lower VBE while switching the high current load. In addition to this, they drove the opto's emitter VF/IF at a quite high level in order to get as high as possible CTR. This drove the emitter inputs and opto outputs with a fairly high current which resulted in a shorter life span.

    If somebody were to redesign this board *properly*, they would NOT special order even more future failure optos and directly drive the comparators. Instead, they would put a transistor on the output of the opto and let the transistor do the high current switching (see many later Stern designs for the right way to do this).

    #18 7 years ago

    Mike, thanks. I think I see what you are saying now about the TZ clock. Here is what I've pieced together

    The clock board is sandwitched between other boards.

    For the column functionality, the clock board connects to the "8 DRIVER PCB" A-16100 board.

    1) The minute board has one column select (J2-8)
    2) J2-8 on the minute board connects to J5-1 on "8 DRIVER PCB" A-16100
    3) This same column select goes to the hour board

    Looking at the A-16100 Schematic... Note that the 12V placed into this column by the A-16100 has a 470 Ohm resistor. This is (slightly) interesting because 12V on the switch matrix has a 1K Ohm resistor. This means that more amps can flow through the clock circuit that traditional switch circuit. Not sure if this is meaningful though as this 12V (on the A-16100) isn't passing current through the optos.

    For the row functionality, the clock board connects to the "CUSTOM OPTO SW10" A-16807 board.

    1) Rows 1-8 on the minute opto connect to J5 pins 12-6 on the "CUSTOM OPTO SW10" board.

    Here is what I find interesting. While the column (column9) is sourced from the "8 DRIVER PCB" A-16100, the CUSTOM OPTO SW10 board as inputs called "COL 1" and "COL 2". These are wired directly to the official switch matrix on the CPU board, columns 7 and 8.

    Alright, I'm out of time for the night and the manual is inconsistent or confusing at this point. It shows the clock board is connected to J5 on the CUSTOM OPTO SW10 A-16807 board, but when you look at the info for the A-16807 board it shows conflicting info (J5 goes to the CPU board). I'll need to look at my TZ to see what's really connected, but not tonight.

    To be continued...

    #19 7 years ago

    GPE, wow! Thanks. You posted that while I was typing mine. Will process in the morning. Thanks!

    Do you agree this 0086 behavior is uniquely needed only for the TZ clock or do you think it's needed for other optos in Williams games?

    #20 7 years ago

    This may help a little.
    -note 2 comparators are renamed
    A-16807 5768-13536-00 Twilight Zone schema + correctie+clock.jpg

    #21 7 years ago
    Quoted from G-P-E:

    The whole thing regarding this has to do with CTR or Current Transfer Ratio. [..snip..]

    Big thanks for this. Interesting read - I got most of it (though admittedly, current goes over my head. Logic and voltage I got.. current has ALWAYS messed me up. )

    I still think that 'sensitivity' is the wrong word in this case, since the phototransistor detects IR light, by saying it's more sensitive, that means that LESS IR light would be needed to cause it to latch/unlatch. In this case, that's not true. (Is it? Did they measure light brightness needed to the photo?)

    Quoted from altan:

    For the row functionality, the clock board connects to the "CUSTOM OPTO SW10" A-16807 board.

    1) Rows 1-8 on the minute opto connect to J5 pins 12-6 on the "CUSTOM OPTO SW10" board.

    It's probably better to just say that Rows 1-8 on the minute board connect to the switch column row wires. The row wires hit all other switches (in their row) and the opto board.

    Reference zaza's modified image - that's perfect. (Well, except for a few junction dots missing. )

    #22 7 years ago
    Quoted from Coyote:

    (Well, except for a few junction dots missing. )

    hmm, found 3 missing dots. If there were >4, I would have corrected the picture.

    #23 7 years ago
    Quoted from zaza:

    This may help a little.

    Perfect. That's exactly what I was trying to piece together. Big thanks!

    Perhaps you can clarify this...

    TZ manual shows Minute Opto PCB having the optos connect to the A-16807 board. Specifically, J3 on clock goes to J5 on A-16807.

    Your picture seems to show the clock going directly to the CPU board? Can you clarify?

    #24 7 years ago

    Sure, if you look under the playfield, you will see that the wires coming from the clock are looped into the connector (J5 A-16807) and from there following the path (via other switches) to the CPU.

    #25 7 years ago

    ^^^ zaza, thanks... i'm looking at docs, not near my TZ now.

    #26 7 years ago

    The wires are going from connector to connector, from switch to switch.
    IMG_TZ wire row.jpg

    #27 7 years ago
    Quoted from Coyote:

    I still think that 'sensitivity' is the wrong word in this case, since the phototransistor detects IR light, by saying it's more sensitive, that means that LESS IR light would be needed to cause it to latch/unlatch. In this case, that's not true. (Is it? Did they measure light brightness needed to the photo?)
    )

    Drive capability is closer to being right but sensitivity also works (I prefer "Current Transfer Ratio" -- more current on input to force more current on output).
    Don't think of it as an 'on/off switch' but more of an amplifier which gets maxed out.
    Low input current results in low output drive capability, high input current results in high output drive capability.
    If there was a light load, it wouldn't take much forward current on the IR emitter to cause the base voltage (opto detector input) to rise and fully turn on or "saturate" the transistor on the output. Since it is a heavy load, the output transistor requires more umph on the transistor base in order to switch that higher load. This is done by increasing the IR emitter current.

    This works much the same was as a standard transistor. Light load and transistor requires light base current to turn on. Heavy load and the transistor requires higher current to turn on. Biggest factor in this is 'how much current' does the base require to control the high current load. For a transistor - this is called "gain" or hfe, for an opto this is called current transfer ratio or CTR.

    #28 7 years ago
    Quoted from altan:

    Not sure if it was me, but I did post pics of fixing up and cleaning my TZ about 2 years ago. I posted here but also put more info on my site http://www.aaarpinball.com/TwilightZone/TwilightZone.htm. Is that was you saw?
    And for doing this stuff? Certainly you can! I get myself into "trouble" sometimes because I don't like reading "just do this". Rather, I want to understand why people say "just do this" so I can apply it appropriately in various situations --- or understand when it shouldn't be applied.
    Hence my starting this thread on optos to better understand them.

    yep, that was you! Have gone on to become fairly adept at fixing and restoring(I use that word loosely around here! lol) machines and even do some soldering on circuit boards when necessary. interestingly I have an opto problem on my NGG that i am about to "fix", I hope. But seriously, your postings of the TZ really helped give me the confidence I needed to begin to try to do this stuff on my own. always thankful.

    Reply

    Wanna join the discussion? Please sign in to reply to this topic.

    Hey there! Welcome to Pinside!

    Donate to Pinside

    Great to see you're enjoying Pinside! Did you know Pinside is able to run without any 3rd-party banners or ads, thanks to the support from our visitors? Please consider a donation to Pinside and get anext to your username to show for it! Or better yet, subscribe to Pinside+!


    This page was printed from https://pinside.com/pinball/forum/topic/lets-discuss-williams-opto-theory and we tried optimising it for printing. Some page elements may have been deliberately hidden.

    Scan the QR code on the left to jump to the URL this document was printed from.