Closed tmdwhsh closed 1 year ago
How do you connect your U.FL cable to the oscilloscope? Is D7 installed right?
I didn't have a U.FL to BNC cable, so I connected a U.FL to SMA cable and an SMA to BNC cable to connect the U.FL terminal of J2 to the oscilloscope.
The photo shows the D7 and everything else installed.
Could the above problem occur if the D7 was not installed properly?
I could try replacing the D7 with a new part or reversing the orientation of the D7 and installing it.
"Could the above problem occur if the D7 was not installed properly?" Maybe. Can you give me a photo of your laser diode (PCB from other side)?
I was able to see the laser light up using a camera and IR detector card.
I will try to replace the D7, starting with what you said
I reversed the connection of the D7 and noticed that the amplitude of the waveform decreased, but it still doesn't look normal.
"I reversed the connection of the D7 and noticed that the amplitude of the waveform decreased, but it still doesn't look normal." You need to install diode as it is drawn at the schematic, this diode has a marking line near cathode.
Did you measured with voltmeter voltage at the R18, C17? Have you selected right divider (1:1) at the oscilloscope channel which is connected to the UFL? Is Q2 transistor soldered well? You can check with an oscilloscope probe voltage shape at all lines of Q2.
First, I thought that the flat part on one side was the Cathode, just like a normal LED, but after looking at the data sheet of SPL90_3, I realized that the flat part was the Anode, so I installed D7 accordingly. But even after that, the waveform was still the same.
First, I checked the voltage of R18 and C17. R18 was measuring a very low voltage, C17 was measuring a high voltage of 18-20V.
Next, I measured the voltage across the Drain, Gate, and Source of Q2. For the Drain, we found the same voltage as C17, For the Gate, it measured around 20V as shown below. For the Source, it was measured as shown below. The soldering condition of Q2 looks normal.
Your laser diode polarity is OK, I checked it. Cathode of D7 is marked by white dot at the PCB. "C17 was measuring a high voltage of 18-20V." This is not OK, C17 must be charged to a "Vlaser". Maybe you set too high laser voltage at the PC software or DC-DC (DA1) is producing too high voltage. DA6 maximum voltage is 18V, so it can be damaged by such high voltage. Q2 is also not designed for high voltages. So you need to decrease "Vlaser" to at least 16V.
Your measurements at the Q2 really differ from mine; I published today new images: https://github.com/iliasam/OpenTOFLidar/tree/develop/Images/Oscilloscope "laser_transistor_gate.png" and "laser_transistor_source.png"
Are you using x10 divider at your oscilloscope probes?
You can try to remove Q2 and measure shape of the signal at the DA6 pin 2 (connected to the gate of Q2)? It must have the shape, as drawn here: laser_transistor_gate.png - rising edge must be super fast.
Also, can you remove packet from the screen of your oscilloscope, I can't see grid time at it.
First I set the Vlaser to 16V, got a clear oscilloscope screen, and measured the Drain, Gate, and Source voltages again. Now I'm going to remove Q2 and measure it the same way and upload it again.
This is the waveform of pin 2 of DA6 after removing Q2.
"First I set the Vlaser to 16V" But did you measure Vlaser with voltmeter? MCU do not measuring Vlaser, so you need to check that electronics is working OK by yourself. I can see that you did something, so the shape of voltage at the gate changed (photo from 14:46), now it is looking OK. Other photos now are looking similar to mine. So you can install Q2 back. DA6 pin 6 is not a Gate line. Did you try to remove UFL cable and measure voltage at the J2 directly with oscilloscope probe? I recommend to use "ground spring" for that: https://electronics.stackexchange.com/questions/40420/what-is-the-name-of-this-springy-type-oscilloscope-probe-accessory
Sorry,, That was DA6 pin 2.
First, I verified with a multitester that the Vlaser is 16V.
Next, I measured with the default probe(X10) instead of the U.FL.
I still don't understand what is shown at the photo from 16:44. Looks like that yellow CH1 is still a signal from UFL, but UFL cable must be disconnected from PCB for tis measurement.
I assumed the small terminal next to J2 was the same as the UFL terminal, so I measured it as shown below. Of course, the GND line of the probe was connected to the GND of the PCB.
UFL cable must be disconnected because it create affect to a signal - cable has its own capacity. It is OK to measure signal at the pin of the UFL connector as you did. And I repeat again - use "ground spring" to get better results. "Ground spring" is short, so it has less inductance.
I took another measurement using a ground spring! (I ordered one from Aliexpress today, but it took a while to ship, so I made a similar one using copper wire) Does this represent a good enough waveform to proceed to the next step?
Yes, now waveform is looking OK, but it will be helpful for you to find out why UFL cable is producing bad signal. You will need to use another UFL cable (J1 connector) for photodiode lens alignment, and you can see the same problem there. You can try to replace R20 to 47 ohm or 100 ohm and check signal from the UFL cable.
I measured the VLaser at the J2 terminal, but could see that it did not match the ideal waveform you posted (LaserV_10~16V). I could see that the amplitude was very large, around 13V, and the overall shape didn't match either.
I measured from J2 using the U.FL terminal and the measurement instrument was a Tektronix TDS 2012C.