Page 87 - Toucpad robotics C11
P. 87

Boolean Logic:
                 u
                    ∑ Let Safety_Fence_Breached be True if an intruder breaks the safety light barrier.

                    ∑ Let Emergency_Button_Pressed be True if a human presses an emergency stop button.

                    Decision Rule: If (Safety_Fence_Breached  IS True) OR (Emergency_Button_Pressed  IS True) THEN Initiate_
                 u
                    Emergency_Stop.
                    ∑   Explanation: The robot will immediately initiate an emergency stop if either the safety fence is breached or the

                       emergency stop button is pressed, prioritising human safety.
                 Autonomous Navigation in Self-Driving Cars

                 u   Scenario: A self-driving car navigating a street in Kota. It uses various sensors to understand its environment.
                    Boolean Logic:
                 u
                    ∑ Let Traffic_Light_Red be True if the camera detects a red traffic light.

                    ∑ Let Pedestrian_Crossing be True if the LIDAR or camera detects a pedestrian in the crosswalk.

                    ∑ Let Road_Clear be True if no obstacles are detected ahead.

                 u   Decision Rule: If (Traffic_Light_Red IS True) OR (Pedestrian_Crossing IS True) THEN Apply_Brakes.
                    ∑ Explanation: The car will apply brakes if it detects a red light or if a pedestrian is crossing, ensuring safety.

                 u   Another Decision Rule: If (Traffic_Light_Red IS NOT True) AND (Road_Clear IS True) THEN Proceed.
                    ∑ Explanation: The car will proceed only if the traffic light is not red (i.e., green or yellow) and the road ahead is clear.

                 These  examples demonstrate how simple  Boolean  operators,  when combined,  form the  logical  backbone  of robot
                 intelligence. They allow robots to process multiple pieces of information from their sensors and execute appropriate,
                 complex behaviours to achieve their tasks accurately, efficiently, and safely in dynamic environments like our very own
                 Kota. Understanding these fundamental logical building blocks is crucial for anyone aspiring to program or design robots.

                                                     Robots Have Been Around Longer Than You Think

                                      Although “robots” feel futuristic, the concept dates back thousands of years. In ancient
                                   Greece, an engineer named Hero of Alexandria designed mechanical birds and puppets that
                      BRAINY         moved with steam power. Fast forward to the 15th century, Leonardo da Vinci sketched a
                       FACT         robotic knight that could sit, wave its arms, and even move its head! The word “robot” itself
                                   was first introduced in 1921 in a Czech play called R.U.R. (Rossum’s Universal Robots). Today’s
                                   AI-driven robots are built on centuries of curiosity, proving that humanity has always dreamt
                                                                  of intelligent machines.


                 Microcontroller/Single Board Computer Architecture: The Robot’s Brain Unveiled

                 Every intelligent robot, whether it’s a simple line-follower or a complex autonomous vehicle navigating the bustling streets
                 of Delhi, relies on a central processing unit to execute its programs, interpret sensor data, make decisions using logic (like
                 Boolean operators), and send commands to its actuators. This ‘brain’ is typically either a Microcontroller or a Single
                 Board Computer. Understanding their internal architecture, often visualised through block diagrams, helps us grasp how
                 these devices function as the core of a robot’s intelligence.

                 What is a Microcontroller?
                 A Microcontroller is essentially a small, compact computer chip designed to perform specific control tasks. It integrates
                 all the essential components of a computer (processor, memory, and input/output peripherals) onto a single integrated
                 circuit (a ‘chip’). Think of it as a highly specialised, miniature computer on a chip, specifically built for controlling
                 electronic devices.




                                                                                                                       85
                                                                                                          Computing System
   82   83   84   85   86   87   88   89   90   91   92