Sensors, embedded & practical systems · tree view
Systems built from the LED/photodiode pair: turning electricity into light and back (links, fibre), and the sealed optocoupler that passes a signal across a gap no current can cross.
Optothyristors (a general term for either the LASCR or the opto-TRIAC) are commonly found inside sealed "optoisolator" modules.
Like bipolar transistors, SCRs and TRIACs are also manufactured as light-sensitive devices, the action of impinging light replacing the function of triggering voltage.
Electrical signals from digital circuits (high/low voltages) may be converted into discrete optical signals (light or no light) with LEDs or solid-state lasers. Likewise, light signals can be translated back into electrical form through the use of photodiodes or phototransistors for introduction into the inputs of gate circuits.
Glass fibers will "conduct" a beam of light much as a copper wire will conduct electrons, with the advantage of completely avoiding all the associated problems of inductance, capacitance, and external interference plaguing electrical signals.
Semiconductor photodiodes generate a current when they absorb photons (light). The amount of current generated depends on the following factors:
When light strikes the surface of a substance, it may dislodge electrons from their orbits around the surface atoms of the substance.
Voltage produced in this manner is referred to as a PHOTOELECTRIC VOLTAGE.
Diodes made from a combination of the elements gallium, arsenic, and phosphorus (called gallium-arsenide-phosphide) glow bright red, and are some of the most common LEDs manufactured. By altering the chemical constituency of the PN junction, different colors may be obtained. Early generations of LEDs were red, green, yellow, orange, and infra-red, later generations included blue and ultraviolet, with violet being the latest color added to the selection. Other colors may be obtained by combining two or more primary-color (red, green, and blue) LEDs together in the same package, sharing the same optical lens.
Optical fibers exceed the data-handling performance of copper wire in almost every regard. They are totally immune to electromagnetic interference and have very high bandwidths. However, they are not without certain weaknesses.
One weakness of optical fiber is a phenomenon known as microbending. This is where the fiber is bend around too small of a radius, causing light to escape the inner core, through the cladding
The 817 optocoupler datasheet specifies a minimum CTR (current transfer ratio) as 50%. So if your optocoupler driving current is e.g. 10mA then [the output can sink] 5 mA.
An LED and a photosensitive receiver share one sealed package with no electrical connection across the gap (book: sealed "optoisolator" modules; light replaces the triggering voltage). Predict the output like a relay with photons as the actuator. CTR arithmetic python-verified; CTR itself flagged as a datasheet concept.
To predict the outcome:
| input_led | receiver | output_node | isolation_state | margin_note |
|---|---|---|---|---|
| off (If = 0) | blocked — output transistor open | pulled by the load to its own rail | full isolation, nothing crosses but darkness | nothing to size |
| on, If = 10 mA, CTR = 50% (min) | conducts ≥ 5 mA (python-verified) | sinks the load — logic state crosses the gap | still isolated; signal transferred optically | satisfied — 10 mA in, 5 mA available |
| on, output tries to draw more than CTR × If | comes out of saturation — signal degrades | logic levels sag | rating unchanged, margin gone | size If so the load current sits inside the CTR envelope |
| AC-driven through a resistor (mains-probe style) | conducts on each half-cycle in which the LED is forward-biased | pulse train at line frequency, not DC | detector side never touches the line | community designs add a reverse-protection diode — LED PIV is only ~5 V |
The book's two-way conversion table: LEDs/lasers make light from current; photodiodes/phototransistors make current from light. Predict each device's job, its electrical behaviour, and which way the information flows.
To predict the outcome:
| device | conversion | electrical_behaviour | system_role |
|---|---|---|---|
| LED | electrical → optical | diode: conducts forward above ~1.6–3 V, blocks reverse | transmitter, indicator, optocoupler input |
| Photodiode | optical → electrical | photocurrent linear with light (PC mode), self-generates in PV mode | receiver, light meter, optocoupler output |
| Optocoupler (LED + photoreceiver, sealed) | electrical → optical → electrical | input LED on one side, receiver on the other, no shared conductor | galvanic isolation between circuits that must not share ground |
| Solid-state laser + fibre + photodiode | electrical → optical (through glass) → electrical | book: avoids inductance, capacitance and external interference entirely | long-distance, EMI-proof data link |
| LASCR / opto-TRIAC | optical trigger → power conduction | book: impinging light replaces the triggering voltage | isolated switching of loads |
Predict what the isolation barrier is for in each scenario. Anchors: the book's sealed-module quote, the fibre passage on escaping interference, and the BogusBus ground-fault story (two grounds at different rails short-circuit).
To predict the outcome:
| scenario | crossing_allowed | what_is_blocked | verdict |
|---|---|---|---|
| microcontroller watching a high-voltage circuit | light only | fault current, voltage difference | the defining optocoupler job |
| two boards powered by different supplies, grounds not tied | optical signal | the undefined ground difference (book's short-circuit scenario) | isolation removes the ground-potential question |
| noisy industrial plant wiring (book: RS-422 territory) | light (or a differential pair) | common-mode noise on the shared ground | fibre is the extreme case — total EMI immunity (book) |
| low-voltage LED indicator on the same board | ordinary wire | nothing needs blocking | isolation would be cost without benefit — plain wire is right |