CanEduDev Rover: Progress Report on System Integration and Architecture

CanEduDev Rover: Technical Progress Update on System Integration

We are excited to share a detailed update on the ongoing development of the CanEduDev Rover, a key project within our collaboration with Telenor, KTH, and the TECoSA project. The integration of essential components and the overall system architecture is nearing completion, bringing together advanced technologies aimed at real-world applications in autonomous systems research. This progress represents a significant step forward in our mission to create a flexible and scalable platform for autonomous driving research and development.

Core Components in Use

The CanEduDev Rover integrates several cutting-edge components designed to enhance safety, performance, and adaptability in autonomous systems:

  • Ultrasonic Sensors: Integrated for short-range obstacle detection and emergency braking, these sensors provide an additional layer of safety by enabling the Rover to react swiftly to nearby objects and sudden obstacles in its path.
  • Disc Brakes with Wheel Speed Sensors: These components enable precise speed estimation and braking control, contributing to the Rover’s stability and performance in dynamic environments. This braking system ensures smooth and safe operation, particularly in more complex terrains.
  • Battery Monitoring System: Real-time monitoring of battery health and power distribution ensures optimal performance and prevents potential system failures due to battery issues. This system provides critical data on the Rover’s power consumption and supports efficient energy management.

System Architecture and Component Integration

The CanEduDev Rover is built on a Distributed Embedded Control System (DECS) architecture, which leverages a CAN bus network to facilitate reliable and robust communication between subsystems. This architecture provides flexibility in design, supporting the integration of additional sensors, compute units, and control modules as research requirements evolve.

Key Milestones Achieved

Several critical components have now been fully integrated into the Rover, each bringing us closer to a fully operational autonomous platform:

  1. Nvidia Orin Compute Platform Integration: The Nvidia Orin compute platform is now fully integrated, providing real-time processing power for AI-driven tasks such as sensor fusion, path planning, and machine learning. This platform is crucial for managing the large amounts of data generated by the Rover’s sensors, enabling quick and accurate decision-making in real-time scenarios.
  2. 3D LiDAR for High-Resolution Mapping: The Rover’s 3D LiDAR system is operational, providing high-resolution, 360-degree environmental mapping. With a wide vertical field of view, the LiDAR enables precise navigation and obstacle detection, making it particularly effective in complex environments where objects of varying sizes and heights need to be identified and tracked.
  3. GNSS and IMU Integration for Precision Navigation: The integration of GNSS (Global Navigation Satellite System) and IMU (Inertial Measurement Unit) ensures high-accuracy positioning and navigation capabilities. This combination is essential for autonomous operations, especially in outdoor environments where dynamic positioning and orientation tracking are critical for safe and efficient movement.
  4. Smart Cameras for Enhanced Situational Awareness: Smart cameras have been incorporated into the system to provide mid-range object recognition. These cameras work in tandem with the Nvidia Orin platform, using AI algorithms to recognize objects in the Rover’s environment, further enhancing situational awareness and decision-making capabilities.
  5. 5G Connectivity for Real-Time Communication: Thanks to our partnership with Telenor, the Rover is equipped with 5G connectivity, enabling real-time data transfer and remote control with ultra-low latency. This is a vital feature for distributed autonomous systems, allowing for remote operation and real-time collaboration between different systems and locations. The 5G integration also supports future research into remote control and edge computing applications.

Next Steps: Full Validation and Calibration

As the system integration nears completion, our immediate focus shifts to the full validation of all integrated components. This validation process is critical for ensuring that each subsystem, from sensors to computing platforms, operates according to expected performance standards. Rigorous testing will verify the stability, accuracy, and safety of the Rover’s components in both controlled and real-world environments.

Once the validation process is complete, we will proceed to the calibration phase, where each system will be fine-tuned for optimal performance. The calibration will focus on aligning the Rover’s sensors and control mechanisms, ensuring that it can perform accurately in a variety of real-world applications. This phase is essential for maximizing the Rover’s potential as a research platform for autonomous systems development.

Conclusion

The CanEduDev Rover is on track to become a highly adaptable and versatile platform for the development of next-generation autonomous systems. With its advanced system architecture, high-performance components, and scalable design, the Rover offers researchers a unique tool for exploring complex challenges in autonomous navigation, sensor fusion, and real-time decision-making.

As we finalize the validation and calibration phases, we look forward to the opportunities this platform will unlock for researchers and industry partners alike. Whether it’s used in autonomous driving research, distributed control systems, or AI development, the CanEduDev Rover is poised to make significant contributions to the future of autonomous technology.

For further technical details or collaboration inquiries, please contact us or visit our website.

CanEduDev Partners with KTH and Telenor on Advanced Autonomous Driving Project

Project Overview: CanEduDev, in collaboration with the Royal Institute of Technology (KTH) and Telenor, has initiated the project “Autonomous Drive of a Minicar Using Edge Computing and 5G Communication.” This project is a part of the CART (Connected, Collaborating, and Automated Road Traffic) subproject under TECoSA (Center for Trustworthy Edge Computing Systems and Applications) and aims to develop a low-cost and safe verifier for future full-size autonomous vehicle testbeds using the CanEduDev Rover platform.

Key Participants:
CanEduDev: Supplying the CanEduDev Rover platform and contributing expertise in autonomous vehicle technology.
KTH: Providing and integrating perception sensors and software to enable autonomous driving functionalities in the CanEduDev Rover.
Telenor: Offering 5G communication services and edge servers to support real-time data processing and decision-making.
Project Objectives: The project is designed to demonstrate the capabilities of edge computing and 5G communication in enhancing autonomous vehicle performance. By offloading computationally intensive tasks to nearby edge servers, the project aims to address the limitations of onboard microcontrollers in collecting necessary data and computing optimal, safe driving decisions. Key research questions include:
Evaluating offloading strategies for computing tasks.
Ensuring end-to-end latency meets real-time requirements for safety-critical functions.
Evaluating the impact of edge computing architecture on vehicle safety and performance.

Significance: This initiative marks the beginning of developing a safe, secure, and effective R&D platform for the industry. By leveraging emerging technologies, the project’s CanEduDev Rover platform—equipped with advanced sensors and communication systems—will serve as a scalable, safe, and cost-effective solution for testing and validating new technologies.
Implications for CanEduDev: This project aligns with CanEduDev’s strategic objective of creating an effective R&D platform for innovation, higher education, and research. It represents a significant step towards developing new technological capabilities for its scale model cars and achieving the long-term goal of advancing cutting-edge technology solutions through partnerships and innovative research.

Interacting with the Rover using Simulink

Simulink is a crucial software tool in the automotive realm, offering engineers a visual platform to model vehicle systems via block diagrams. Engineers leverage this versatile software to simulate and refine control algorithms for engines, transmissions, and critical vehicle functions like suspension and braking. Its integration with Hardware-in-the-Loop (HIL) setups allows real hardware testing alongside simulated components, aiding in the validation of electronic control units (ECUs). In the context of electric vehicles and autonomy, Simulink proves particularly useful in modeling battery systems, motor controls, and self-driving algorithms.

 

This post delves into a practical example of using Simulink to communicate with the Rover via the Vehicle Network Toolbox. We’ll focus on sending and receiving CAN messages and implementing a control system for a steering servo within the Rover, which we can simulate in real-time. It’s assumed the reader has a basic understanding of Simulink, control theory, and CAN.

 

An important point to note is that the servo we’re using already incorporates a controller within its internal circuitry. In practice, we’re not directly manipulating the servo motor itself; instead, we’re controlling its internal controller. Therefore, for the sake of this example, we’ll consider the servo as a plant with an unknown transfer function.

 

Most digital servos feature three pins for Pulse Width Modulation (PWM) control. Here, we’ll use a specialized servo that provides position feedback on a fourth pin, connecting it to a servo board found in the Demo Rover. Our objective is to design a closed-loop control system where the input is a steering angle and the output is a pulse width to control the servo. The position feedback helps measure and compensate for errors. Here’s a simplified version of the control system:

 

And here’s the final diagram in Simulink:

The final Simulink diagram showcases three main steps from left to right:

  1. CAN message reception and decoding.
  2. Control algorithm with signal conversion.
  3. CAN message encoding and transmission.

 

The CAN blocks in steps 1 and 2 are provided by the Vehicle Network Toolbox, requiring a CAN interface to communicate with the Rover’s CAN bus. We employ a Kvaser USBcan 2, although any device compatible with Simulink should suffice. This interface, along with the toolbox, enables sending, receiving, encoding, and decoding CAN messages within Simulink. Consequently, we can extract values from a CAN message and utilize them as input in our Simulink model, then use the model’s output to transmit a CAN message to the servo board.

In this example, we use two messages:

  1. ID 0x30D, containing the actual servo position in degrees.

  2. ID 0x100, where we send the output pulse width to the servo board.

 
 

The Vehicle Network Toolbox provides Simulink blocks facilitating the filtering of these messages and their decoding/encoding. The CAN configuration block configures the Kvaser CAN interface with the correct bitrate of 125 kbit/s. For message reception, the CAN Receive block connects to a CAN Unpack block to decode signals for Simulink use. For transmission, the CAN Pack block encodes signals in a CAN message, and the CAN Transmit block sends the message on the bus. These blocks are configurable with CAN Database (DBC) files, allowing message selection from a drop-down list, where we utilize the Rover’s DBC file.

 

The servo control logic sits between the CAN reception and transmission logic. We generate a reference signal for controlling the servo via a sine wave generator, moving the servo from left to right by 45 degrees in each direction with a frequency of 1.5 rad/s. To visualize the sine wave, we send it to a scope block named “Signal viewer” along with the position feedback obtained from the CAN bus. This way we can gauge the control system’s response. We calculate the error in degrees by subtracting the position signal from the reference signal, converting it to a pulse width in microseconds before inputting it to the PID controller.

 

The PID controller’s output signal is limited to a pulse width between -1000 and 1000 microseconds. Since digital servos operate within a pulse width range of 1000 to 2000, with 1500 representing a neutral position, we add an offset of 1500 microseconds to the PID controller’s output before sending the signal to the CAN message encoder. The PID controller is configured in discrete-time mode, and we obtain its parameters by manual tuning: P=0.1, I=3.9, and D=0.005.

 

To run the simulation on real hardware, initial setup of simulation pacing parameters is crucial. Refer to the below images for these settings.

 

Upon connecting the servo board to the servo and the CAN interface to the servo board, the simulation can be executed. Here are the results:

As we can see, the actual position of the servo nicely follows the sine wave with a constant phase difference due to the simulation speed.

 

In summary, utilizing Simulink in conjunction with the Vehicle Network Toolbox allows for a hands-on exploration of Rover communication, focusing on CAN message handling and the implementation of a steering servo control system. This example illustrates the intricate steps, from decoding and encoding messages to interfacing with real hardware. The simulation effectively demonstrates the servo’s response to a sine wave input, showcasing its tracking capability. Overall, this practical demonstration underscores the Rover’s versatility and its utility for simulating and verifying models in a real-world context.

 

Using the Rover in education

Greetings to all educators, students, and technology enthusiasts! We are excited to present the potential of our Rover, featuring a programmable car as an engaging learning tool in various educational settings.

The Rover is designed to deliver a hands-on experience with the CAN protocol, a standard extensively used in the automotive and industrial sectors. But its applications go well beyond that. With its versatility and endless customization possibilities, it serves as a rich resource for educators across a range of fields. Let’s explore these creative applications.

  • STEM Education: The Rover serves as an excellent tool for teaching Science, Technology, Engineering, and Mathematics (STEM) concepts. It provides students with an in-depth understanding of the CAN protocol and its real-world applications. Whether it’s writing code to perform tasks, understanding how physical components interact, or designing a control system, it’s a comprehensive introduction to practical tech applications.
  • Collaborative Learning: The use of the Rover inherently promotes teamwork. Students can form teams to work on various aspects of the project – from coding to assembly to testing. This collaborative approach cultivates communication and cooperation skills, crucial competencies in today’s interconnected world.
  • Problem-Solving Skills: Working with the Rover involves encountering and overcoming challenges. Whether it’s troubleshooting code, figuring out why a component isn’t working, or strategizing the most efficient route for the Rover, students are encouraged to employ critical and creative thinking to solve problems.
  • Coding Clubs and Competitions: The Rover can serve as an engaging focal point for coding clubs or programming competitions. Imagine a contest where teams compete to program their Rovers to navigate a maze in the fastest time. This not only makes learning enjoyable but also introduces a healthy level of competition, pushing students to refine their coding skills further.
  • Cross-curricular Learning: The Rover isn’t restricted to computer science or engineering classes. It can be used in physics to demonstrate principles of motion or in mathematics to visualize concepts such as angles, speed, and distance. Even in arts, it can be incorporated into creative projects, such as designing a Rover-based performance or transforming the Rover into an artistic installation.
  • Real-World Relevance: One of the most exhilarating aspects of the Rover is its direct relevance to real-world scenarios. Students can firsthand experience how their learning applies to industries like automotive, aerospace, and industrial automation that widely use the CAN protocol.

By integrating the Rover into your educational activities, you’re not only teaching your students about technology – you’re fostering critical thinking, collaboration, creativity, and a deeper understanding of the world they inhabit. As the adage goes, the best way to predict the future is to invent it – and we are eager to see what our young inventors will create!

How to get started with the Rover

There are various projects that can be realized using the CanEduDev Rover, but the simplest way to get started is to set up the Rover like any regular radio-controlled model car. To start with, you should familiarize yourself with the Rover by understanding its different components. In the standard Rover package, the following components are included:

  • Aluminum chassis
  • Wheels
  • Brush-less electric motor
  • Brush-less electric steering servo
  • Electronic speed controller (ESC)
  • Battery holder

In addition to these components, you need a radio control kit and a 3-4 cell LiPo battery, with a charge/discharge rate of 25C or more. You also need a battery charger capable of charging LiPo batteries. These components are sold by hobby shops and can also be found on Amazon. For this example, we have used a JH-Power 3500 mAh 75C LiPo battery and the RadioLink RC6GS.

First of all, unbox your Rover and identify the different components included. The motor, ESC and the steering servo come pre-assembled on the chassis. You’ll have to install the wheels and the radio receiver yourself, and put a battery in the battery holder.

After assembling the Rover, the next step is to connect the components. First, connect the ESC to the motor, then connect the servo to channel 1 on the radio receiver, and connect the ESC to channel 2. The channels are labeled on the radio receiver. Finally, the battery should be connected to the ESC. To start the Rover, click the on/off button. The battery should be left disconnected when not in use. Of course, this is a general overview of the assembly process. For detailed instructions as well as images and videos of the assembly, see the Documentation.

Now, you should be able to take the Rover for a test drive to ensure everything works as intended. What’s next is up to your imagination. Create a battery monitoring system, a lane assist feature, or just drive for fun. Check out our electronics kit for a complete CAN system in the Rover, which you can use to integrate various components for your next project!

Introducing the Rover: Unleash Innovation, Unveil Excellence

Are you ready to revolutionize your corporate showcasing and educational experiences? Look no further than the Rover, the ultimate model car that’s not just a vehicle—it’s a canvas for your creativity and a vessel for your ideas!

Eye-Catching Appeal: Attracting attention is key, and the Rover is designed to stand out in any environment. Whether it’s a bustling trade show floor or an interactive classroom, the Rover’s striking presence draws people in, creating an instant focal point that sparks curiosity and conversations.

Cutting-Edge Design: The Rover isn’t just a model car; it’s a well-crafted piece of engineering. With its sleek and captivating design, this 1:5 scale, 10 kg marvel is a true attention magnet. Crafted with meticulous attention to detail, the Rover’s aesthetics will leave onlookers awestruck.

Flexibility Redefined: We understand that every corporation has its unique story to tell. The Rover’s flexibility is its superpower—customize and mount your own electronics or hardware seamlessly. This adaptability ensures that your brand’s narrative takes center stage, aligning perfectly with your message and objectives.

Corporate Showcase: Elevate your presence at trade shows and exhibitions with the Rover. Make a lasting impact by bringing your products to life in a tangible and captivating way. Let potential clients experience the innovation firsthand and forge memorable connections that go beyond words.

Empower Educators: In the realm of education, the Rover becomes an invaluable tool. Give your students a hands-on experience that bridges the gap between theory and practice. Allow them to explore concepts in electronics, programming, and robotics, fostering a deeper understanding that will last a lifetime.

Endless Possibilities with CAN Bus: The Rover isn’t just a static display piece—it’s a dynamic platform for innovation. With our electronics kit, you get built-in CAN bus integration that allows you to seamlessly incorporate electronics and hardware, turning the Rover into a living demonstration of your products’ capabilities. Showcase your technology like never before, creating an interactive experience that resonates with your audience.

Unleash Open Source: Elevate your Rover experience with our open-source applications for the CAN electronics kit, built on the versatile FreeRTOS framework. Dive into a world of creativity and customization, all under the MIT and BSD 3-Clause licenses.

The Rover isn’t just a model car—it’s a gateway to endless possibilities. Captivate, educate, and innovate with a single, dynamic solution. Seize the opportunity to showcase, teach, and inspire like never before. Choose the Rover and drive your success today!