LitePlacer With Up Looking Measuremet
Posted: Fri Nov 13, 2020 12:10 am
Hello.
I am writing through a translator, so please forgive me. I will try to describe everything as clearly as possible.
I am not a programmer, I only know a little about programming. I don't have a GitHub account.
I am really looking forward to LitePlacer V2.0, and while Juku is working on it, I suggest Liteplacer V1.0 with the alignment of the components to the camera looking up.
To have fewer questions, FOLLOW THE INSTRUCTIONS STRICTLY.
Changes:
1. Added new video processor filters, and fixed the mixed colors error (RBG instead of RGB) in old ones.
2. Fixed some bugs that caused exceptions and program crashes.
3. Added the ability to connect an automatic feeder.
4. Added Z offset setting to reduce travel.
5. Added the ability to align components with the camera facing up.
Next, I will discuss each of the points.
I am writing all this from home, and I do not have access to my machine, so if you have questions or need to shoot a video, I can do it later, but for now ...
Instructions for preparing for use.
Make sure to make a copy of the Liteplacer software, we will work on it.
Next, replace LitePlacer.exe in the folder with the COPY of the program.
Change 1: (Video filters) Change 2: Just a bug fix.
Change 3: AutoFeeder.
The idea is very simple, auto feeder works in two modes. The first mode is the hole counter, the second mode is vibration and its duration. "Part Pitch" need set as Zero.
Packet ASCII format: VIB - Vibration, FED - Holes counter, L - line number (1 - 65535), H - Holes or Vibration seconds (1 - 255), P - PWM (80-255), ; - close packet.
Example feed: FED L3 H2 P200; - feeding line №3, on 2 holes, pwm - 200
Example vibration: VIB L5 H5 P210; - vibration line №5, time 5 seconds, pwm 210.
Example e-stop: !; - e-stop ))
Change 4: Z offset.
This parameter is measured in millimeters, it works like this.
mechanical homing, Z -> Y -> X, then, the Z-axis is lowered by this value, and the coordinate is reset to 0.000.
Reconfiguration of parameter Z0 to PCB is required !!!
If you do not need this, set this parameter to 0. Change 5: UpCam Measuremet.
I will tell you how to use it below. And so, the procedure.
1. Start the program and select your ComPort, ComPort for autofeed select "none". Do not start Home Machine.
2. Then on the Basic Setup page, set the Z offset after homing to zero.
3. Go to the Tapes Positions page and delete them all. All Tapes need to be recreated !!! This is Important, otherwise you will receive errors in the program.
4. restart the program, and start Homing. Now you can adjust the alignment of the components to the camera.
Aligning Components to the Camera: This Function work only in "Place" and "Place Fast" metods.
There are 2 alignment algorithms, Fast and Precision, selected in "Tape Edit".
Fast Algorithm - Uses one (one frame) measurement. Without mechanical verification of the result, the A deviation and the XY offset are calculated mathematically and are only taken into account when the component is in place. Good for aligning diodes, resistors, large transistors, etc. Saves time. This mode is still being tested, but it seems to work.
Precision Algorithm - Uses multiple measurements (configurable parameter) with mechanical verification of the result, first to align the angle deviation, then XY offset, all checks are performed above the camera until the alignment is successful. Then the component is installed. This algorithm is well suited for IC (soic, tqfp, etc...), since it requires high positioning accuracy. This is a Slow algorithm.
Now create a new Tape, select the measurement algorithm and the height above the camera (If no height is specified, (Z0 to PCB) will be used. For thin components this is sufficient. Excellent ! Smoke break.
Now you need to set up the camera, bring the component to the camera, and set up the video processor of the components. It will target the pins of the component. Attention, the higher the camera resolution, the better the accuracy, I use 800x600. The mm / Pixel parameters should also be fine-tuned, it depends on the result of the alignment. Especially useful for Fast alignment.
You should get a result like this (Good Result). You can filter objects by size (Component Alt Blob Filter). I have a lighting lamp hanging on the ceiling in the frame =))) Onas creates a large white spot, but the Filter helps. Here's an example. now filter by size Parameter Frame Stable Time, This is the time in milliseconds it takes to stabilize the camera image before measuring. For example, 7.5FPS = 133ms, a good value is 150 - 170ms. This delay occurs before each measurement and adjustment. If not required, set the value to 0.
Parameter Correct Tries. This is the maximum number of attempts to align the component in the precision algorithm. That is, the alignment is considered successful if:
1. The number of attempts has not been exceeded.
2. Error A = 0 and XY offset less than one pixel.
A good value is 5 - 8.
If more attempts are required, try to improve the video processor. Improve camera illumination. I use a black paper circle over the nozzle, this creates a nice contrast between the pins and the body of the component.
Here are some more photos with examples: Well, that's it. If you have any questions, I will try to answer them, it was very difficult for me to write this post, since I do not know English well. Please ask me your questions as simply as possible so that I can understand them =)) Forgive me for being so stupid =)
Удачи.
Link https://cloud.mail.ru/public/Qa5y/CY1xBaUTH
Wolfeldt.
I am writing through a translator, so please forgive me. I will try to describe everything as clearly as possible.
I am not a programmer, I only know a little about programming. I don't have a GitHub account.
I am really looking forward to LitePlacer V2.0, and while Juku is working on it, I suggest Liteplacer V1.0 with the alignment of the components to the camera looking up.
To have fewer questions, FOLLOW THE INSTRUCTIONS STRICTLY.
Changes:
1. Added new video processor filters, and fixed the mixed colors error (RBG instead of RGB) in old ones.
2. Fixed some bugs that caused exceptions and program crashes.
3. Added the ability to connect an automatic feeder.
4. Added Z offset setting to reduce travel.
5. Added the ability to align components with the camera facing up.
Next, I will discuss each of the points.
I am writing all this from home, and I do not have access to my machine, so if you have questions or need to shoot a video, I can do it later, but for now ...
Instructions for preparing for use.
Make sure to make a copy of the Liteplacer software, we will work on it.
Next, replace LitePlacer.exe in the folder with the COPY of the program.
Change 1: (Video filters) Change 2: Just a bug fix.
Change 3: AutoFeeder.
The idea is very simple, auto feeder works in two modes. The first mode is the hole counter, the second mode is vibration and its duration. "Part Pitch" need set as Zero.
Packet ASCII format: VIB - Vibration, FED - Holes counter, L - line number (1 - 65535), H - Holes or Vibration seconds (1 - 255), P - PWM (80-255), ; - close packet.
Example feed: FED L3 H2 P200; - feeding line №3, on 2 holes, pwm - 200
Example vibration: VIB L5 H5 P210; - vibration line №5, time 5 seconds, pwm 210.
Example e-stop: !; - e-stop ))
Change 4: Z offset.
This parameter is measured in millimeters, it works like this.
mechanical homing, Z -> Y -> X, then, the Z-axis is lowered by this value, and the coordinate is reset to 0.000.
Reconfiguration of parameter Z0 to PCB is required !!!
If you do not need this, set this parameter to 0. Change 5: UpCam Measuremet.
I will tell you how to use it below. And so, the procedure.
1. Start the program and select your ComPort, ComPort for autofeed select "none". Do not start Home Machine.
2. Then on the Basic Setup page, set the Z offset after homing to zero.
3. Go to the Tapes Positions page and delete them all. All Tapes need to be recreated !!! This is Important, otherwise you will receive errors in the program.
4. restart the program, and start Homing. Now you can adjust the alignment of the components to the camera.
Aligning Components to the Camera: This Function work only in "Place" and "Place Fast" metods.
There are 2 alignment algorithms, Fast and Precision, selected in "Tape Edit".
Fast Algorithm - Uses one (one frame) measurement. Without mechanical verification of the result, the A deviation and the XY offset are calculated mathematically and are only taken into account when the component is in place. Good for aligning diodes, resistors, large transistors, etc. Saves time. This mode is still being tested, but it seems to work.
Precision Algorithm - Uses multiple measurements (configurable parameter) with mechanical verification of the result, first to align the angle deviation, then XY offset, all checks are performed above the camera until the alignment is successful. Then the component is installed. This algorithm is well suited for IC (soic, tqfp, etc...), since it requires high positioning accuracy. This is a Slow algorithm.
Now create a new Tape, select the measurement algorithm and the height above the camera (If no height is specified, (Z0 to PCB) will be used. For thin components this is sufficient. Excellent ! Smoke break.
Now you need to set up the camera, bring the component to the camera, and set up the video processor of the components. It will target the pins of the component. Attention, the higher the camera resolution, the better the accuracy, I use 800x600. The mm / Pixel parameters should also be fine-tuned, it depends on the result of the alignment. Especially useful for Fast alignment.
You should get a result like this (Good Result). You can filter objects by size (Component Alt Blob Filter). I have a lighting lamp hanging on the ceiling in the frame =))) Onas creates a large white spot, but the Filter helps. Here's an example. now filter by size Parameter Frame Stable Time, This is the time in milliseconds it takes to stabilize the camera image before measuring. For example, 7.5FPS = 133ms, a good value is 150 - 170ms. This delay occurs before each measurement and adjustment. If not required, set the value to 0.
Parameter Correct Tries. This is the maximum number of attempts to align the component in the precision algorithm. That is, the alignment is considered successful if:
1. The number of attempts has not been exceeded.
2. Error A = 0 and XY offset less than one pixel.
A good value is 5 - 8.
If more attempts are required, try to improve the video processor. Improve camera illumination. I use a black paper circle over the nozzle, this creates a nice contrast between the pins and the body of the component.
Here are some more photos with examples: Well, that's it. If you have any questions, I will try to answer them, it was very difficult for me to write this post, since I do not know English well. Please ask me your questions as simply as possible so that I can understand them =)) Forgive me for being so stupid =)
Удачи.
Link https://cloud.mail.ru/public/Qa5y/CY1xBaUTH
Wolfeldt.