Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

This document covers the regular use and maintenance of the BenchBot Version 3.0 in the semi-field image acquisition application.

Overview

This is a high-level overview of what the BenchBot is and does from an operator's point of view.

  • What does it do?

  • Where does it do it?

  • Basic Traits / Specs

  • Axis of motion

  • Block diagram

  • General description of the function of the major components

Safety

This is a large powerful machine, every motor / axis is capable of applying enough force to seriously injure a human. Only trained personnel should be in the vicinity of the robot while it is powered.

TIPPING RISK. ALWAYS SET AMIGA SPEED TO 3-4 BARS using the Amiga dashboard. Do not operate or test E-Stops at higher speeds. The default setting is extremely fast and can likely cause the BenchBot to fall over and cause injury or death.

[NCSU ONLY] ONLY THE CARRIAGE MOUNTED (MIDDLE) E-STOP IS OPERATING FULLY

  1. The Right Side E-Stop (next to the Amiga dashboard) is not stopping the Amiga motors which can move any direction in the Y-plane.

  2. The Left Side E-Stop (near the WiFi dish) is not connected to anything.

  3. The E-Stop on the “Manual Control” tab on the BenchBot App does not function.

Please use the carriage-mounted E-Stop and test that the auto-controlled X, Y, and Z axis as well as the Amiga manual controls will not move.

This is a current error as of 7/10/2024.

BenchBot App E-STOP NOT WORKING: The E-Stop on the “Manual Control” tab on the BenchBot App does not function properly.

This is a current error as of 7/2/2024.

Battery Fire Hazard: Farm-NG notified us of a battery fire. As of 7/29/24, here are some of their steps to mitigate risk/further damage if a battery does catch on fire.

  1. Whenever possible, avoid charging the Amiga batteries indoors and near flammable materials.

  2. Take steps to avoid further damage in the unlikely event of a fire. 

  3. If you do not use and charge the Amiga and its batteries on a regular basis, we recommend charging each battery for 2 hours every 2 months to prevent over-discharge.

  4. Use only the chargers provided by Farm-NG ( 2A and 5A models).

  5. Please review the warnings included on the Battery.

This is a current error as of 7/29/2024.

PAUSE ERROR: Pausing can cause the Brain to lose tracking of the camera and all axes of the BenchBot to stop moving. Restarting the BenchBot app on the Brain may restart the axes motion, but it will not recover accurate tracking of the camera. Please avoid pausing the BenchBot if possible until resolved.

This is a current error as of 6/28/2024.

Hardware Setup

What needs to be done before the system can be powered on and used.

  • Battery Charging

    • Read the warnings and be aware of any hazards (as of August 2024, FarmNG released a fire hazard warning that is included in the warnings at the top of this page).

    • Make sure the battery is dry, then, using the correct adapter and plug, charge the battery.

    • You can tell if a battery is fully charged by the green light on the adapter. If it is charging, it will be red. If the plug is not plugged into a battery, the adapter light will also be green.

  • Battery Installation / Removal

    • To Install Batteries:

      1. Take 4 Amiga batteries and 4 battery keys to the BenchBot.

      2. Make sure the battery is set to “UNLOCK” or “LOCK” using the key (some batteries have different icons and setting names). This setting should make the rod on the battery be as short as possible, allowing you to slide the battery into the slot while the battery is also off.

        1. If the battery is in another position, to get past the 2nd marking on the battery (sometimes labeled “PUSH,” you’ll need to slightly push in the key in order to turn the key left or right.

      3. If the battery key is in, take it out.

      4. In the area above each wheel, there will be a slot to slide each battery into. Orient the battery so that the rod on the battery will fit into the hole in the slot.

      5. Slide the battery in. The grooves should fit the slot on both sides so that it is in place.

      6. Make sure the plug is not wet, and plug it into the battery.

      7. Insert the key into the battery and turn the battery into the “ON” position. On some batteries, this is a red icon that is the furthest setting away from “LOCK” or “UNLOCK”. This will both turn the battery on, while also locking the rod outward to secure the battery in the slot.

      8. Leave the battery key inside to run the BenchBot. This is similar to turning a car on. The key needs to stay in.

    • To Remove Batteries:

      1. Turn the battery key to “LOCK” or “UNLOCK” so the battery is off and the rod on the battery is shortened.

      2. Take out the key.

      3. Unplug the plug.

      4. Slide out the battery. On one specific NCSU BenchBot slot, this is difficult. You may have to shake the battery side to side while pulling outward to get it loose. Try not to shake the BenchBot too much as the bot is top heavy.

    • To leave batteries in briefly while powering down:

      1. Turn the battery key to “OFF”. On some batteries this is a white/grey icon that is next to the “ON” or red icon.

      2. This will turn off the battery, while keeping it locked in via the rod in the slot.

      3. Take the keys with you so nobody can steal the batteries.

    • Note: the Amiga batteries are lightly waterproof. Don’t leave them out for long if you are unsure of the weather.

  • Sony Camera (& Flash Device) Installation / Removal

    • WARNING: Don’t damage your eyes with the flash device. The flash from the flash device is very powerful so do not look directly into it when testing the flash device or running the bot. Make sure other people are not looking or in the way of the flash.

    • Camera settings are in another portion of this page.

    • SONY Camera Installation (the flash device is mounted with the SONY Camera): [Video Link: https://youtube.com/watch?v=Q6woepaJYKM&si=OwiEP2KcKKMvgq17]

      1. Make sure irrigation is turned off even if irrigation is not scheduled to run.

        1. Reason: the camera and flash device will not survive the sprinklers.

      2. To attach the camera mount to the mounting bracket, place the V-shape piece (of the camera mount) in position to fit with the mounting bracket (on the bot) and slide it down. It will lock in place very tightly.

      3. When placing the camera in, before placing shade on or anything on top, you must tilt the SONY screen upwards a bit (as shown below) or else the camera will not take pictures.

      4. Plug the USB-C end of the black USB cable (must be USB 3 and approximately 10 ft. long) into the camera. Then route the USB cable as shown below, being supported lightly.

        1. Make sure:

          1. the cable will not strain too hard or pull on anything too hard as you adjust the Z-axis. You can test this by adjusting the Z-axis slowly during the testing portion of the BenchBot operations detailed in this manual

          2. the cable will not get caught in any gears or moving parts

          3. the cable does not interfere with the images

      5. Screw off the protective cap on the USB port of the box & plug the USB-A end of the cable into the box.

      6. Screw off the protective cover on the green cable (provides flash power).

      7. Green cable will screw into another black connector (not the USB cable). It may be a bit hard to screw in, so keep at it until it bottoms out.

      8. Plug the black connector (which is connected to green flash power) into the flash device. Also make sure of the same things as the USB cable (not straining the cable or pulling on anything too much when the Z axis adjusts, not getting caught in gears or moving parts, and not interfering with images).

      9. Get camera ready for photos

        1. If needed, complete camera settings (Section: SONY CAMERA SETTINGS for SEMI FIELD).

        2. Otherwise, power on the camera and the flash.

        3. Check that flash screen displays “1/1”.

        4. Check that the settings on camera screen are correct:

          1. As of 7/31/24, the camera settings to quickly check are on screen are:

            1. Top left corner: “M”

            2. From bottom left to bottom right: “1/200 F11 ISO100”

      10. Put sunshade on to keep the camera cool and dry if it drizzles a bit.

    • When finished for the day:

      1. Take off sunshade (cardboard with metal tape).

      2. Unplug the black USB cable attached to the SONY Camera.

      3. Unroute the USB cable.

      4. When unplugging the USB port, you MUST screw the cap back on all the way to prevent bugs from getting in. If damaged, the port will need to be replaced and will take a week.

      5. Unplug the other cable from the flash device and unscrew the connector from the green flash power.

      6. Screw a protective connecting cover onto the green cable to protect it from bugs.

      7. Place a small finger between the mounting bracket and camera mount and press down on the red button. Then, while pressing down, pull up on the camera mount and it will detach. 

      8. Take the 2 cables inside as they are not waterproof. Take in the camera and sunshade.

      9. Make sure to complete other “end of day” tasks such as the ones detailed in BBV3 Step by Step Operation.

Maintenance

Maintenance schedule followed by description of tasks.

  • Daily

    • Inspect…

    • Test Every E-Stop Switch (AFTER setting Amiga Dashboard speed to 3-4 bars.)

  • Weekly

    • Inspect…

    • Grease X-Axis Pinion (coat it to where there are no gaps, but not to the point where it is dripping)

    • Grease X-Axis Rollers

    • Grease Z-Axis Rollers

    • Grease Z-Axis Leadscrew

  • Monthly

    • Inspect….

  • Seasonally (~ 3 months)

    • Inspect….

Amiga General Usage

This section will include instructions specific to the Farm-ng Amiga robot, which the BBv3.0 uses for Y axis travel. This section will not apply to version BBv3.1.

  1. You MUST set the speed to 3-4 bars (on the 1st tab of the left sidebar) BEFORE controlling the Amiga using the Pendant. This applies to any Amiga movement, manual with the Pendant or automatic movement. If not, you risk tipping over a large machine and causing injury or death to people in the vicinity.

Dashboard Overview

Pendant Usage

BB App User Interface Overview

Screenshots of each page in the app and a brief description of each function.

Using the BenchBot v3 for Image Repo

Give the specific steps needed to prepare and use the BB for image acquisition.

  • How to setup the

BBV3 Step by Step Operation:

** Read the entire procedure before operating for the first time. Do not follow step-by-step without reading beforehand. **

[Additional video that covers some, but not all of the operation procedures. Some steps may be out of order in the video as well: https://www.youtube.com/watch?v=CH80054G9l0]

  1. Be aware of your surroundings and of the terrain the BenchBot will traverse on.

  2. On the Dashboard, click start.

  3. On the 1st tab on the left sidebar: Set speed limit to 3 or 4 bars.

    1. MUST KEEP IT LOW or else the bot MAY FALL OVER. THE DEFAULT SETTING IS TOO HIGH.

  4. Do two preliminary E-Stop tests.

    1. Test that E-Stops are preventing Pendant-controlled movement from beginning:

      1. Press in an E-Stop.

        1. Do not press two E-Stops in at once. We are testing each one to make sure it works individually.

      2. Attempt to move the BenchBot forward or backwards using the Pendant (make sure it is a direction where you have room, in case anything goes wrong). The BenchBot should NOT move.

      3. If this test fails, that E-Stop is faulty and this issue should be resolved.

      4. If this test passes, clear that E-Stop and repeat the test for other E-Stops.

    2. Test that E-Stops are preventing Pendant-controlled movement that has already begun:

      1. Move the BenchBot in a direction where you have room.

      2. As you are moving it, have someone press in an E-Stop. The BenchBot should stop.

      3. Clear the E-Stop and repeat the test for other E-Stops.

  5. On the Amiga dashboard, click on the 3rd tab on the left sidebar. Turn on auto-control.

    1. The icon will turn from gray to orange/yellow. Now the Amiga is ready to be controlled by the BenchBot App on the BenchBot Brain.

    2. Auto-control may reset each time an E-Stop is used.

  6. On the Brain, click on BenchBot App on the Apps screen.

  7. Start on the 1st tab: Manual Control tab.

  8. We will check for 5 things to be working properly (X axis, Y axis, Z axis, image capture, and the Emergency Stops (E-Stops)).

    1. Before moving anything, make sure you have enough room to safely operate, so that even if you accidentally move the BenchBot in the wrong direction or if you press the movement buttons a few too many times, it will not go off course or hit something.

      1. Sometimes you will need to give yourself some more breathing room, especially for Y-axis movement.

      2. Tip: If a movement on a specific axis was set to too high of a distance, and let’s say the bot is moving too far in the Negative Y-axis to the point where it may hit something: another way to stop it (besides using an E-Stop) is to just click the opposite direction of that axis (for instance, 50cm in Positive Y if the bot is moving too far in the Negative Y direction). As of 7/18/24 for the NCSU BenchBot, this will stop the movement in the current direction, and go the newly specified distance in the other direction.

    2. Test the app-controlled X-axis movement a small amount: add 10cm, then click +X (positive X). Then click -X to check the negative direction.

      1. Note: Getting very close to the end sensor may cause problems, so you may want to move it a few centimeters away.

      2. Now test each E-Stop for the X-axis.

        1. Move the X-axis a decent distance like 50cm.

        2. Press in an E-Stop as it moves. It should stop.

          1. It should stop because of the E-Stop, not due to an error that has been found where sometimes Z-axis movement will stop short of the specified distance, or because you did not press the E-Stop in-time.

        3. Then clear the E-Stop and repeat the test on each E-Stop.

    3. Test the app-controlled Y-axis movement. Do a small amount like 20-30cm. Too small of a Y-axis movement will not work well. Check both directions.

      1. Now test each E-Stop for the Y-axis.

        1. Move the Y-axis a decent distance like 50cm.

        2. Press in an E-Stop as it moves. It should stop.

        3. Then clear the E-Stop and repeat the test on each E-Stop.

    4. Test the app-controlled Z-axis movement as well at a small amount like 5cm or 10cm. Check both directions.

      1. Now test each E-Stop for the Z-axis.

        1. Move the Z-axis a decent distance like 50cm

        2. Press in an E-Stop as it moves. It should stop.

        3. Then clear the E-Stop and repeat the test on each E-Stop.

    5. Finally done testing E-Stops. Now we know that Amiga Pendant-controlled movement (any direction in the Y-plane) and BenchBot App-controlled movement (X, Y, and Z axis) are stopped by each E-Stop individually.

    6. Check the camera by clicking “Take Image.” The flash should go off and the image should appear on screen in a few seconds.

      1. Check that the image exposure looks correct.

  9. If any E-Stops are not working, be sure to alert others who may be in the vicinity during operation. And those who may use/work on the BenchBot in the future.

  10. Make sure the X-axis, Y-axis and Z-axis are in correct locations as well before beginning.

    1. The Z-axis should be adjusted to where the camera lens is 1.8m above the dirt in the pots. Bring a measuring tape if needed.

  11. Skip over the 2nd tab.

  12. Go to the 3rd tab “Species Map”

    1. Adding more rows of species will add them on top of the previous rows. So plan accordingly by adding rows that are closest first and move further out.

      1. You can also add empty rows (use the “none” selection for species).

    2. Set pots per row, row spacing (Y-Axis), pot spacing (X-axis) and other settings.

    3. Click add species and the map will update.

    4. On the map, you can make some individual changes to pots.

      1. UNDO only works for entire rows, not individual pot actions.

    5. Verify everything by swiping and checking the screen.

    6. Click save to save map. “Species map saved!” will appear on screen.

  13. Go to 4th tab “Traversal”

    1. The map is shown in its final version on the right. It is uneditable on this screen.

    2. STARTING TRAVERSAL:

      1. Before starting, confirm there are no errors on the dashboard, that auto control is ready, and the speed is still 3-4 bars.

      2. Click Start on the traversal tab.

      3. Text logs will begin appearing. Images will show as they are taken on the bottom and on the map. If there are errors, it will show on the map.

      4. Watch and listen to make sure the bot is operating normally as it moves across the X-axis and traverses for the first time in the Y-axis.

    3. DURING TRAVERSAL:

      1. Make sure to check the bot every few minutes. Setting a timer may help. You may need to make sure the bot is not going off-course (to the left, right, or too far forward when the bot is almost complete with the run for the day) or that there are no errors.

      2. Check that the camera is taking photos (it will appear on screen) and flash is working.

    4. PAUSING:

      1. The bot will finish taking its last action before pausing.

      2. To confirm the bot is paused, after clicking pause, the log will show “Traversal paused” and the corner will show it is paused. 

      3. Clicking start after pause will start from where it left off.

    5. STOPPING:

      1. Stop will take some time like the pause button to finish the last action.

    6. LEFT AND RIGHT NUDGES:

      1. Left and right will provide small directional correction when the BenchBot is a bit off. 

      2. It will only take effect when the Y-axis is moving next. You can confirm that the left nudge was registered by looking at the logs. 

      3. No matter how many times you click, it will only nudge a single time. 

      4. If accidentally clicked left instead of right, just click right and it will move to the right (it acts according to the last selection). 

      5. However, if left or right is clicked, it cannot be deselected. The bot will nudge. In the future it will be updated.

    7. EXITING:

      1. Click exit to launcher. 

  14. To pause BenchBot for a short amount of time:

    1. Click “Pause” on Traversal screen.

    2. Press in an E-Stop. WARNING: For NCSU, only the carriage-mounted (middle) E-Stop fully works. Left-side E-Stop is not plugged in, right-side E-Stop does not function for the Y-Axis, and BenchBot App E-Stop does not function. This is a current error as of 6/25/2024.

    3. Have somebody trustworthy watch the bot.

  15. To restart in the middle of a run after stopping and exiting (not the same as pausing):

    1. Stop soon after a photo is taken on the right-most side of a row. Please try to not stop in the middle of a row. This is to limit duplicate images as the BenchBot will only restart after stopping/exiting on the right-hand side.

    2. Leave the Y-Axis as it is.

    3. When you come back, move the X-Axis to begin taking photos from the right-hand side. Match the starting X-Axis value from the beginning of the run so photos are all aligned correctly.

    4. Check other startup procedures (dashboard (speed and auto-control), species map, etc.).

    5. Start the BenchBot.

  16. To stop and exit the BenchBot for the day.

    1. Click “Stop” on Traversal screen.

    2. Click “Exit to launcher” on Traversal screen.

    3. Turn off Auto-Control on dashboard.

    4. Make sure the speed is low and move the BB to a good place.

    5. Press in a physical E-Stop. WARNING: For NCSU, only the carriage-mounted (middle) E-Stop fully works. Left-side E-Stop is not plugged in, right-side E-Stop does not function for the Y-Axis, and BenchBot App E-Stop does not function. This is a current error as of 6/25/2024.

    6. Turn batteries to LOCK and take them out.

    7. Return batteries, battery keys, cover USB ports on box, and remember to take the camera and other equipment as detailed other sections (such as hardware setup).

    8. Make sure irrigation is back on if it needs to run.

How to Stop the BenchBot in Case of Emergency:

  1. If it is safe to do so, press in an E-Stop that is functional (as of 7/2 for NCSU, this is only the carriage-mounted E-Stop (the one moving across the middle of the BenchBot)).

  2. If the BenchBot is moving quickly and it is safe to do so:

    1. Hold and pull the remote control in the opposite direction of the BenchBot.

    2. If this snaps the coil, this should trigger an emergency stop.

  3. If it is safe to do so, turn off all the batteries.

  4. Warn bystanders.

CAMERA CHECKS WHILE BOT IS RUNNING:

  • When capturing images the user should inspect a test image collected at the time of image acquisition, and make change to the aperture F10-F13 to make sure we get an appropriate exposure.

  • The image should also be inspected to make sure that autofocus and the flash is working as intended.

Debugging Issue: BenchBot App Not Loading

  • There may be an issue with the app service not stopping correctly when the user clicks “Exit” in the BenchBot App. The fixes for this include either:

    • Before powering down, stop BenchBot App service manually by contacting your software team. Then, the next time the BenchBot is powered on, the BenchBot App will launch when clicked on.

    • Or, if the BenchBot is already on, have the BenchBot App service manually reset by contacting your software team. Then, when you click on the BenchBot App, it should launch.

Debugging Camera Issues:

These are methods we have found so far to help debug the SONY a7Riv camera.

  1. If there is an error message showing on the Amiga Brain that “JPEG RAW is MISSING” or something similar, this means that the Brain is connecting to the mini-computer. So we can move onto the next step.

  2. Now, check that the mini-computer and the camera are connected. If the USB is plugged into the camera and the box, then there should be a “-PC-” showing up on the camera screen.

    1. If “-PC-” is not showing up on the camera screen:

      1. Try a different USB cable.

      2. Open the box and instead of plugging the USB cable to the port on the box, plug it directly into the USB port onto the mini-computer.

  3. If “-PC-” is showing up on the camera, and the Brain is connected to the computer, listen for two sounds: 1) the camera is focusing and will beep & 2) the camera will shutter to take a photo.

    1. If the camera is focusing, but there is no shutter, this is likely a focusing issue or a memory card issue.

      1. Try to adjust the focus by pressing but not fully clicking the “take photo” button on the camera to manually help the focus. This may make the camera start working again.

      2. If the memory card is full, even if you are saving only to PC, the camera may not take photos. Delete a few photos to allow for some memory card space.

SONY Camera Settings for Semi Field:

Note: These camera settings for the NCSU - Sony alpha7RIV (soon to be replaced with a new camera) are saved as CAMSET02 with update date of: JUN-25-2024. Double check to make sure the settings are all correct.
FOR FIRST TIME SETTING UP CAMERA:

  1. Perform a settings reset.

    1. Click MENU button.

    2. Go to Tab 5 (tabs are on top), Page 7.

    3. Click “Setting Reset” then “Camera Settings Reset”. NOT “Initialize” which will delete data.

  2. Switch the camera to Manual (M) mode using the largest wheel on top of the camera. There is a middle button to click in before the wheel will turn. It is labeled “M”.

    1. Set shutter speed by rotating the unmarked wheel on top of the camera that changes the on-screen number on the bottom left corner.

    2. Change this to 1/200 sec.

  3. To change Aperture, we will need to go to “A” mode. Switch the camera to “A” using the largest wheel on top of the camera (click the middle button to allow the wheel to rotate).

    1. Rotate the unmarked wheel on top of the camera to change Aperture to F11.

  4. Return to Manual “M” mode and the aperture setting should be the same as you set it in “A” mode.

  5. Now for the MENU settings.

    1. Click the MENU button.

      1. Change the listed settings to match below. Some settings may already be correct.

      2. Also, some settings may require you to click in, and then change multiple settings within that setting.

    2. Menu tab 1 page 1/15:

      1. File format: RAW & JPEG

      2. Raw file type: Uncompressed

      3. JPEG quality: extra fine

      4. jpeg image size: L: 60M

      5. Aspect ratio: 3:2

      6. APS-C: Off

    3. Menu tab 1 page 2/15:

      1. High ISO NR: Off

    4. Menu tab 1 page 3/15:

      1. Drive mode: Single Shooting

      2. Pixel shift multi shoot: Off

    5. Menu tab 1 page 4/15:

      1. Select Media: Choose according to the SD-card slot you are using.

    6. Menu tab 1 page 5/15:

      1. Focus mode: Single-shot AF

      2. Priority Set in AF-S: AF

      3. Focus Area: Wide

    7. Menu tab 1 page 6/15:

      1. AF Illuminator: Auto

      2. Aperture Drive in AF: Focus Priority

      3. AF w/ Shutter: On

    8. Menu tab 1 page 9/15:

      1. ISO Settings: ISO: 100

    9. Menu tab 1 page 11/15:

      1. Flash mode: Fill-flash

    10. Menu tab 1 page 12/15:

      1. White Balance: Auto

      2. DRO: On - Level 2

        • HOW TO: it will most likely default to DRO-AUTO when selecting either “OFF” or “ON”. Once you are on DRO-AUTO, click to the right or left and it will give you the different DRO-Level settings.

    11. Menu tab 2 page 5/11:

      1. Silent Shooting: Off

      2. Release w/o Lens: Disable

      3. Release w/o Card: Disable

    12. Menu tab 3 page 1/3:

      1. PC Remote Function: On

      2. PC Remote Cnct Method. USB

      3. Still Img Save Destination: PC Only PC + Camera

      4. Raw+J PC Save Img: Raw & JPEG

      5. PC Save Image Size: Original

    13. Menu tab 5 page 4/7:

      1. USB LUN Setting: Multi

      2. USB Power Supply: On

      3. Date/Time: Make sure to set current date and time

    14. Menu tab 5 page 6/7:

      1. File/folder Settings: Set filename according to protocol

        1. For instance, at NCSU, set the filename to something meaningful like “NCX” rather than “DSC” so the files can be distinguishable.

  6. Press but do not fully click on the “take photo” button on top (the button between the ON/OFF slider) to view if some settings are correct on screen.

    1. You will see ISO at 100. Shutter speed at 1/200 sec. Aperture at F11.

    2. Also, make sure that high speed synchronization is not on.

      1. To do so, put your hand or something in front of the camera and make it dark.

      2. Then press and hold but do not fully click the “take photo” button to see if it gives a “flash” icon ready, or if it says HSS (high speed synchronization).

      3. Given these settings, HSS should be automatically off and there is no way to manually turn that on or off based on limited research.

  7. Once it's setup, you can save the camera settings in the Tab 5, 7th page for easier setup, in case the camera needs to be setup again.

  8. NOT ON CAMERA: Set the separate flash (the big ring that is separate from the camera) to full power at 1/1.

  • No labels