The primary side consists of: power supply, input signal divider (1/10, 1/100, 1/1000), low input capacitance buffer and operational amplifier that drives IR emitters. Feedback of the amplifier includes additional IR emitter and photodiode (the same as on the secondary side) - it's needed for linearization of characteristics of the emitter and detector.
The secondary side consists of: power supply and amplifier that converts photodiode current to the output voltage.
If emitters and detectors have similar characteristics (preferably they are paired), then voltage on R21 and (R42+R46) should be identical (good linearity).
The main problems with the first revision was susceptibility to electromagnetic disturbances: switching noise from internal converters and external SMPSs, also picking up low frequency noise by input voltage divider. Also there were some issues with power supplies or other design issues.
Initially, the infrared emitter was LED, then I started testing VCSEL. VCSEL provided more power at lower current and it was much faster (about 40MHz achieved with VCSEL, with LED it was only about 10MHz). The used VCSEL could be easily overloaded so some active protection was needed in next revision.
![](https://cdn.hackaday.io/images/7933021735733127553.png)
Issue |
Status |
Can’t turn on. Under-voltage battery protection issue. Q1 doesn’t turn on after closing the switch. It can turn on if C1 is increased from 1u to 10u. R13 can be increased too. |
C1 and resistances are increased. Larger time constant is needed because it takes time to start the boost converter. |
Power not delivered at low battery voltage. Under-voltage battery protection issue. Q1 doesn’t fully turn on if input voltage is low (about 3.4V). Voltage is too low for TL431 so it’s unable to properly bias gate of Q1. |
TL431 (Vref=2.495V) replaced by TLV431AFTA (Vref=1.24V). The same reference will be used in other places of the circuit. New resistors values for TLV431AFTA were selected. |
Unstable step-up converter. As datasheet suggests, low inductance and high output capacitance is good for stability. L1 and L2 15uH, C2 and C51 3x10uF works OK. |
Tested with #A920CY-150M=P3 (15uH) and output capacitors 3x10u works well. A sililar SRR5028-150Ycan be used instead. The used inductors are magnetically shielded to minimize noise. |
Noisy power supply. Resistors were added at inputs of charge pumps (R15, R20, R40) but they are not enough. Replacing then with ferrite beads helps (1k@100MHz used but it’s maybe too much). |
Added ferrite beads at inputs of charge pumps 600R@100MHz. |
No signal - saturation. Incorrect bias for the used emitter+photodiode (VSMY5850 and SFH203). R26 and R44 had to be much lower because VSMY5850 can’t cause that much current through SFH203. |
VSMY5850 won’t be used, bias should be designed for IR emitter OPV332. Potentiometers were added to make it adjustable (OPV332+SFH203 may be not very repeatable). Tests shown that 0.7V at “+” input is good for range and linearity (so about 1.5mA through photodiode should flow at 0V input) – voltage divider was adjusted. |
Could be faster. Emitter VSMY5850 and photodiode SFH203 were good up to about 10MHz, C41 was required to avoid ringing. OPV332 (VCSEL) instead of VSMY5850 (LED) works better: - higher signal (0.4Vpp at output), - wider bandwidth (probably 30MHz), - lower current - less heating, so better thermal stability expected (10mA is max, now limited to 5mA). - THT package (not SMD-THT adapter required) Higher cost but it’s worth the money. R30 is changed from 33R to 220R. C41 not placed. |
VSMY5850 was changed to OPV332. Cathode must be connected to -5V (not GND) to ensure voltage sufficient for bias (considering op-amp output range and max voltage drop at OPV332). Op-amp output resistor is 220R. A current limiting circuit was added to protect OPV332 from too high current. |
Noise susceptibility. Shielding was not used and it’s clearly essential for acceptable dynamic range. To avoid 50Hz hum and triangle wave from my fluorescent lamp (tens of kHz) it was essential to add shield (copper box) on input signal divider (especially the lower range). Higher frequency noise gets to the signal path through the nets at photodiodes cathodes. |
Layout redesigned to add possibility of using shielding boxes. A 4-layer board used and sensitive nets placed inside, between ground planes. D3/D4 input protection diodes are connected to +/-2V which are now better filtered (both 2V regulators are now connected to +/-5V regulators outputs). Photodiodes pads are smaller (leads should be cut short to limit size of “antenna”). Shielding of diodes not planned for now. |
Input divider not meeting 200V requirement. Variable capacitors in upper part of the divider must be avoided or changed to higher voltage. |
Simplified. The parts should be precise, not tunable (value of low side capacitors may need to be adjusted one time on a prototype, then compensation should rely on repeatability). |
Too high bias voltage of photodiodes. The photodiodes work with high bias voltage but it’s not recommended (see datasheet). Change bias of diodes. |
The diodes are slower at 20V (it’s not clear when and why new absolute maximum limit 20V appeared in SFH203 datasheet). BPV10 at 40V seems not better. The charge pump needs less stages for 20V bias but they are left for now (only zener diode was changed) as maybe a different diode with higher bias and faster response can be still found. |
How to power the primary side? The plan was to use 5V from oscilloscope USB but this is impossible in the current design – signal ground would be at +5V potential. |
DON’T use USB in oscilloscope – it’s unclear if USB and signal ground could be safely shorted (after redesign), in general it’s unsafe to connect such DIY things to oscilloscope. Battery power is used not only for isolated but also for grounded side. It simplifies design and EMC. Primary side will be turned on with help of optocoupler (to avoid two separate on/off switches). |
Wrong zener for -5V_S. D31 value too high – 5.1V makes no sense if input is 5V. It was changed to lower voltage. |
New zeners calculated after other changes. |
Possible reflections in output coaxial line. Output will be connected to the oscilloscope through transmission line so reflections may be an issue. |
A 50R resistor added at the output of the op-amp. It’s also essential for stability. |
Shortcomings. Diode bias decoupling C44, C69 were 100n, not 1u – maybe enough. R42, R54 potentiometers were not mounted, but they will be needed (I couldn’t get precise gain and offset) unless paired parts and mechanical tuning will be used (they won’t). |
Photodiodes bias decoupling 100n + additional placeholders. Potentiometers – add place for coarse adjustments of IR emitters bias. |
Poorly designed. No calculations, simulations, documentation. |
Battery UVLO partially tested and simulated. Boost converter adjusted considering recommendations from datasheet. Calculated zener diodes for +/-5V regulators. Partially simulated OPV332 over-current limit. Not everything done. |
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.