Closed pikasm closed 6 months ago
Sorry, I don't have any idea about this. This pulse has wrong polarity and it is too long. Maybe TIA is broken? It is super sensitive to static electricity (ESD).
OK, I'll change to a new TIA and try to see if the result is correct.
I changed the DA3, and the signal became normal, but something interesting happened. I could see the histogram before the change, and after the change, the histogram disappeared, and my correction process was the same. This is my current J1 waveform.
This is my current histogram. My previous histogram signal can reach up to 25 cycles, but now it occasionally appears to be 1-2.
I have tested my comparator, and I feel that its output of square waves is a little better than before.
Of course, my laser spot has also changed a little bit. When its edge is clear, it becomes a line. I adjusted it to be a square, like this.
Maybe I should adjust it to square?
You don't see histogram because measurements scattering is too big - too many wrong measurements. I can see that Laser and APD voltages are low. You can try to adjust laser lens to make laser beam to make it more square.
ok. Thank you. I'll try.
I adjusted the lens, but there was still no result. I went to measure the whole part of the circuit and found that the TDC crystal oscillator did not vibrate correctly (almost no vibration). I tried to solve this problem. I replaced the crystal oscillator four times, but there was still no result. I don't know why. Now there are no waveforms even at J1 and J2 (there were before the replacement), but the laser diode has light. I have no way to solve this problem.I am very sad.
Adjusting lens do not help with bad signal, I give this recommendation only for future use in scatting mode. What is "State Mask" value in "LidarTestingUtility" now? It can't be laser light light without pulses at J2. So check R19, R20, wires to J2. You can do checks given here: https://github.com/iliasam/OpenTOFLidar/wiki/Electronics-assembling-notes
I looked at state mask, and its value is 0x0 or 0x2.
I have a waveform at j1, which is a waveform at 10v, but there is no waveform at j2.
Is it possible that my TIA is broken again?
This is the waveform of my laser and comparator.
J1 is TIA output, J2 is laser current. You say: "but there is no waveform at j2." How it is possible that you have TIA pulses without laser pulses?
"This is the waveform of my laser and comparator." And now you say that you have laser pulses!
I'm sorry, I'm in a bad state today. There is no waveform in j1. I'm very sorry.I am the one who confused j1 and j2.
So looks like that laser is working OK. Maybe TIA is really broken. They die easily, I killed >5 of them in my experiments. I don't think that there is a problem with TDC quartz. In fact I'm not sure quartz it is really used by TDC because TDC calibration is not implemented in my code.
I replaced tia, and there is no change. Maybe the avalanche diode is broken because of high temperature?
I have never had such problem. Did you try to measure real APD voltage (C33)? How you controlling that laser light comes to APD? Did you try to test system without optics installed?
Hello, during the period of disappearance, I re-welded a PCB board. I will recheck the problem with the previous board later. Now the test of this board is like this. I calibrated it. The current error is about 30-50cm. Is this normal?
Maybe I should change the value of TDCs BIN length?
I didn't install the motor and the back part, I only installed the lens test.
You histogram and calibration data are looking good. You can try to change TDC BIN length value: https://github.com/iliasam/OpenTOFLidar/wiki/TDC-BIN-length-calculation Also in non-scanning FW you need to set "Ref distance" value, as described here: https://github.com/iliasam/OpenTOFLidar/wiki/LidarTestingUtility
OK, I'll try it tomorrow. Thank you!
I changed the length of bin, and the distance value became much more accurate, but there was still a little error. I wonder if Ref distance plays a role in this. Perhaps it is also possible that my fitting value is too small. I took five points. I will continue to try later. Your work is great!
I have a question. Is the distance used for fitting the distance from the PCB board or the distance from the MTAPD lens?
In this project all distances are relative. So you can select zero distance as you want.
I re-calibrated the Walk Error, and now the error of the measured data is 2-3cm within 15cm, and the error of the measured data is 1cm between 15cm and 2.5m.. Next, I'm going to install the motor and mirror. Do you have any good suggestions? Can you take a picture of the motor connection for me? Thank you very much.
There is no certain schematic f motor connection. Just connect 3 wires from motor to P15; swap any 2 wires if motor is rotating in a wrong direction. Right direction is counter-clockwise when you look to the Lidar from the top.
Ok, I will continue when the materials I bought arrive. thank you!
My material is back. Do I need to download the scanning program from the single chip microcomputer next, which will change my previous fitting value? Do I need to recalibrate the optical instrument?
Is there anything to debug after I download it?
Yes, if you need scanning, you can take firmware from here: https://github.com/iliasam/OpenTOFLidar/tree/develop/Firmware/BUILD_FW_HEX/release_2 You will need to have "reference plate" installed. You can set motor PWM manually from PC utility. After that you need to check encoder output with oscilloscope: https://github.com/iliasam/OpenTOFLidar/wiki/Encoder
The following is my understanding: I don't need to recalibrate the lens and other previous operations. I need to download the rotation program, install the motor test encoder, and install the reference board. Is that right?
Yes.
Hello, I installed the motor and downloaded the scanning program today, but my motor doesn't rotate after downloading. After I set the PWM value of the motor, the motor will rotate a little bit. I want to know what the reason is. Can you help me?
Please create new issue for this.
Hello, can you tell me why my J1 pulse is like this?