Curious Bookworm

Assignment 4 in IN5590 By Gard Sveen og Selen Goktay Printer: leslie. Topic C

Assignment text can be found here.

Topic and motivation

We would like to choose Topic C: Animatronics because we are interested in creating a robot that can express emotions. We find the combination of functionality and expression exciting. It not only alowes us to give the robot more personality, but also makes interactions more engaging. We also like that this topic places a strong emphasis on creative design, alongside developing fun and interactive functionality.

Goals

Our robot is an interactive reading lamp designed to encourage reading and discourage phone use. It uses a camera to detect and track books. It also adjusts its head and flower stem to direct light toward the reading area. The robot also has a playful personality, expressing emotions through movements and sounds based on whether the user is reading a book or using a phone.

Goal 1: Robot Design and 3D Printing

Design the robot's physical structure using solidworks and 3D printing. The design should include the robot's head, body, arms, and flowers, while providing sufficient space for motors, electronics and wiring. The structure should be stable, easy to assemble, and allow all moving parts to operate without collisions. By the Project 1 deadline, all necessary structural components should be 3D printed and assembled, with at least 90% of the designed parts fitting together without requiring major modifications.

Goal 2: Motor Movement and Control

Develop a motor control system that enables the robot to move its head, flower stem, and arms. The robot's head should rotate horizontally, while the flower stem and arms should rotate vertically. The head should be constrained to 90 degrees left and right (180 degrees in total). The arms should be constrained to 90 degrees forward and backward (180 degrees in total). The stem should only move 60 degrees forward. By the Project 1 deadline, all motors should be installed and functional, allowing each moving part to move freely throughout its intended range of motion without collisions.

Goal 3: Book and Phone Recognition

Implement a vision-based system that distinguishes between a book, a phone, and situations where neither object is detected. To simplify, we will have a controlled environment where we will only show one book or one phone at a time and never mix. The robot should correctly classify the object with at least 90% accuracy. It should also detect transitions between activities (reading a book, not reading a book, and using phone). This functionality should be completed and tested before project part 1 deadline.

Goal 4: Book Tracking and Automatic Light Positioning

Develop a camera-based tracking system that continuously determines the position of a book and adjusts the robot's movements. The robot should automatically rotate its head horizontally and tilt the flower stem vertically to keep the book centered in the camera's field of view. Since the camera and light source are mounted close together and point in the same direction, keeping the book centered should also direct the light toward it. As the book moves, the robot should adjust its orientation to keep the book illuminated. By the Project 2 deadline, the tracking system should keep the camera centered on the book while it is stationary. It should achieve at least 80% positioning accuracy, measured by the distance between the center of the camera's field of view and the center of the book.

Goal 5: Expressive Robot Personality

Develop a set of four distinct emotional behaviors that communicate the robot's personality through sounds, head movements, flower movements, and arm gestures. Each behavior should be triggered by a specific situation.

By the Project 2 deadline, all four emotional behaviors should be implemented and tested in at least five trials each. Each trial will be considered successful if the robot responds to the situation with the intended emotion. Each behavior should achieve a success rate of at least 90%.

Goal 6: Can the entire robot operate autonomously?

Integrate the book and phone detection, book tracking, lighting system, and emotional behaviors into a fully functioning robot. The robot should automatically transition between different activities and behaviors based on what the camera detects. By the Project 2 deadline, the robot should complete at least 4 out of 5 full interaction tests, where each test includes detecting a book, tracking and illuminating it, reacting when the book is removed, and responding when a phone is introduced. Improvements to robot behavior should be considered until 1 week remains before the project 3 deadline.

Inspiration

The robot's design and movements are inspired by an animatronics example[^1] and the robot appereance is inspiered by the Pikmin characters[^2].

[^1]: Animatronics example (YouTube) [^2]: Pikmin species

Sketch

The light source and camera will be integrated into the flowers on top of the robot's head. The flower's stem will be able to tilt vertically, while the head will rotate horizontally. Together, these movements will allow the robot to direct the light toward the desired position. The arms will also rotate vertically, enabling the robot to express emotions through gestures. These movements are illustrated in the figure.

The approximate location of the electrical components is shown in the figure. The dynamixel motors are used for precise position control. They are located on the neck, the arms and at the base of the flower stem. The PC will interface with the speaker, the camera, the light and the motors.

Bill of materials (BOM)

Item Description Quantity Links
1 Dynamixel AX-12/18 4
3 Speakers 1
4 USB camera 1
6 MEAN WELL LDD-350L LED Driver 1 https://www.digikey.no/en/products/detail/mean-well-usa-inc/LDD-350L/7704754
7 Cree XLamp CXA1304 1 https://no.farnell.com/en-NO/cree-led/cxa1304-0000-000c00a430f/led-hb-white-3000k-355lm/dp/2430040
8 Powersuply 1

Plan

Week Dates Main Tasks Milestones Responsibility
42 12.–18. okt. Sketch robot Assignment 4a Selen
43 19.–25. okt. CAD Design and modify Start of Goal 1 Both
44 26. okt.–1. nov. 3D-printing and CAD reiteration Goal 1 Both
45 2.–8. nov. Robot assembly, motor control, object detection Goal 2 & 3 Selen (SolidWorks), Gard (Object detection and motor control)
46 9.–15. nov. Object tracking, emotional control, full system performance Goal 4, 5 & starting 6 Selen (emotional control), Gard (object tracking), both: full system setup
47 16.–22. nov. Trial runs and improvement Goal 6 Both
48 23.–26. nov. Trial runs and improvement Goal 6 Both