Category : Core Engineering & Simulation

Core Engineering & Simulation

Data annotation for autonomous vehicles: how data labeling helps car makers

Self-driving cars rely on machine learning (ML) algorithms that require large volumes of accurately labeled data to function safely and reliably. Most ML models used in the automotive industry today are supervised, which means they must be trained on annotated datasets that define and categorize real-world driving scenarios. 

Data annotation enables autonomous vehicles to understand their surroundings, identify lanes, detect objects, and make split-second decisions. In the sections ahead, explore data annotation for autonomous vehicles and how labeled data supports the training of reliable AI models.  

Just like a child who must first grasp basic concepts like circles, squares, and triangles to recognize shapes before diving into complex patterns, machines follow a similar learning curve. Machines require a way to decode and understand the data they receive. This is where data annotation comes in. 

What is data annotation? 

Data annotation is the practice of adding descriptive labels, tags, or classes to raw data so that a machine-learning model can understand what it is seeing, hearing, or reading.  

In the context of autonomous driving, consider an image-recognition scenario where a folder of unlabeled street photos is nearly useless to an algorithm. Once each image is tagged with “pedestrian,” “traffic light,” or “truck,” the dataset gains meaning. The model can now associate patterns with real-world objects and predict them in new scenes.  

What does data annotator do? 

A data annotator plays a key role in preparing datasets for machine learning by labeling elements within raw data. This involves drawing bounding boxes around objects, highlighting regions of interest, tagging attributes, or classifying entities across various data types, such as images or LiDAR scans. 

For example, annotators manually review thousands of frames from dashcams or street cameras to train a model to detect traffic lights, labeling each instance of a traffic light with precision. 

Key object categories annotated for self-driving systems include: 

  • Vehicles (cars, trucks, motorcycles) 
  • Cyclists 
  • Pedestrians 
  • Traffic signs and signals 
  • Lane markings 
  • Road hazards like potholes, barriers, or construction zones 

Types of annotations for autonomous vehicles 

Accurate data annotation for autonomous vehicles depends on two primary sensor streams, camera images and LiDAR point clouds. Each stream demands specialized techniques to extract the detail an autonomous driving stack needs. 

Image Annotation

Image annotation is the most common form of data annotation used in computer vision. It involves labeling objects or areas of interest within 2D images captured by vehicle-mounted cameras. Key image annotation methods include: 

  • Bounding Boxes: a widely used annotation method, bounding boxes are rectangular frames drawn around objects to define their position and dimensions clearly. This technique is extensively applied in object detection, training models to recognize pedestrians, vehicles, traffic signs, and other critical objects.

Data Annotation using Bounding Boxes

  • Semantic Segmentation: it provides pixel-level annotation by assigning each pixel in an image a specific class label, such as road, sky, vehicle, or pedestrian. This detailed annotation enables autonomous systems to understand scene composition and make nuanced decisions, especially in high-density traffic or complex urban environments. 

Data Annotation using Semantic Segmentation

  • Instance Segmentation: unlike semantic segmentation, which classifies object types, instance segmentation identifies and outlines individual objects, even when multiple items belong to the same class. For example, it distinguishes between two cars or pedestrians walking side-by-side. This is crucial for systems that can track and react to separate moving objects independently.

Instance Segmentation data labeling

  • Polygon Annotation: it allows annotators to define object boundaries using flexible, multi-point shapes—ideal for irregularly shaped or overlapping objects like trees, traffic islands, or curving lane markings. It delivers greater accuracy than bounding boxes in scenarios where object contours are critical. 

LiDAR Annotation 

LiDAR (Light Detection and Ranging) technology emits laser pulses to measure the distance and shape of objects, generating detailed 3D representations known as point clouds. Annotating LiDAR data enables self-driving cars to accurately perceive depth, location, and shape in three-dimensional space. 

Key characteristics of LiDAR annotation include: 

  • LiDAR Point Clouds: LiDAR scanners collect vast datasets containing billions of individual data points, each with precise coordinates and reflective attributes. Annotators label these point clouds to distinguish vehicles, pedestrians, cyclists, road signs, and other critical features, facilitating robust spatial understanding and precise navigation. 
  • 3D Bounding Boxes (Cuboids): Similar to their 2D counterparts, 3D bounding boxes encapsulate objects within a three-dimensional space, providing essential information about their size, orientation, and location. These annotations are crucial for reliable object detection and accurate real-time obstacle avoidance. 

Best data labeling tools 

Selecting the right annotation platform accelerates your data annotation for autonomous vehicles workflow and ensures consistency across large teams, whether in-house or through data annotation outsourcing. 

  • CVAT: an open-source tool by Intel, offering bounding box, polygon, and semantic segmentation support for images and videos. 
  • Labelbox: a cloud-based platform with collaborative features, customizable workflows, and built-in QA modules for scalable annotation. 
  • VoTT (Visual Object Tagging Tool): a free, Microsoft-developed desktop app optimized for bounding box and rectangle labeling, with Azure integration. 
  • Xtream1: a comprehensive, enterprise-grade solution supporting multi-sensor (image, LiDAR) annotation and automated quality checks.
  • CloudCompare: an open-source tool specialized for 3D point-cloud annotation, ideal for precise LiDAR labeling tasks in autonomous driving. 

Your annotation team should also be proficient with any client-specific tools or proprietary platforms to maintain alignment with existing workflows and data formats. 

Data labelling best practices 

  • Establish detailed annotation guidelines with standardized label definitions and update them regularly to cover new driving scenarios. 
  • Define a clear workflow → annotation, quality review, rework, final review, and delivery – with assigned roles and deadlines. 
  • Maintain a continuous feedback loop with clients to align on labeling expectations and minimize rework. 
  • Provide ongoing, project-specific training for annotators to ensure consistent understanding of tasks and tools. 
  • Perform regular manual QA checks using predefined checklists to identify and rectify annotation errors early in the process. 
  • Implement version control for annotated datasets to track changes, support audits, and simplify error tracing. 
  • Start with a pilot annotation phase on a representative dataset to refine guidelines and workflows before scaling up. 

Our proven end-to-end data annotation workflow 

Our data annotation services enable automotive clients to build high-quality datasets by following a well-defined, end-to-end workflow. 

 Data annotation for autonomous cars

  1. Tool selection: we begin by choosing the optimal annotation platform for the project’s needs. The team evaluates whether to use industry-leading tools like Labelbox or CVAT, or a client’s in-house toolset. By aligning the tool choice with project requirements (e.g. support for 3D point clouds or specific export formats), we ensure smooth integration into the client’s development pipeline.
  2. Dedicated data annotation team: then we choose a dedicated team of experienced annotators and project leads who understand the nuances of automotive data. The team studies the client’s labeling guidelines in detail. Robosoft also provides thorough training sessions and even conducts a pilot project on a small data subset to confirm that guidelines are correctly interpreted.
  3. Semi-automated acceleration: where appropriate, pre-trained models generate initial labels for rapid review, and human annotators then correct and enhance these predictions to meet accuracy targets.
  4. Efficient annotation execution: throughout the annotation execution, we emphasize accuracy and consistency. Annotators follow the agreed-upon guidelines strictly, and complex edge cases are flagged for discussion so that the entire team handles them uniformly.
  5. Multi-level Quality Assurance: the process includes multi-level reviews of the annotated data. Senior annotators perform second-pass reviews on samples to catch any errors or inconsistencies. Any discrepancies are corrected, and feedback is looped back to the annotation team to prevent repeat issues.
  6. Delivery and ongoing support: final datasets are exported in the client’s preferred formats (COCO JSON, XML, PNG masks, etc.) and delivered in iterative batches to match development sprints. Post-delivery support includes update patches, re-annotation for new scenarios, and performance reviews. 

Fueling the future of SDVs with data annotation services 

The move to fully autonomous vehicles starts with understanding what is data annotation and ensuring every object, lane, and signal is labeled correctly. Without this foundation, AI models cannot achieve the precision required on today’s roads. 

At Robosoft Technologies, we’ve partnered with leading OEMs to accelerate their transition to the Software Defined Vehicle (SDV) market. Our expert teams deliver accurate and secure data annotation services, leveraging advanced labeling techniques, best-in-class tools, and thorough quality checks. This ensures your autonomous driving projects receive the high-quality annotated data necessary to build reliable AI models and drive future innovation.

data annotation services at Robosoft Technologies

Read More
Core Engineering & Simulation

Optimizing automotive powertrain systems with Model-Based Design

Optimizing automotive powertrain systems with model-based design

The automotive industry is pivoting to a transformative phase resulting from a shift to electrification, tighter emission regulations, and the growing complexity of vehicle software. By 2030, the share of electric cars is set to surpass 40% in overall car sales. So, automotive OEMs and Tier 1 suppliers experience increased pressure to deliver optimized, robust EV (electric vehicle) powertrain systems faster and at less cost. Consequently, optimizing automotive powertrain systems has become a critical process that organizations must keep in check to enhance vehicle performance and ensure compliance with stringent environmental regulations.

Model-Based Design (MBD) is an engineering methodology in which mathematical models are used to design, simulate, verify, and validate the behaviour of powertrain systems before hardware implementation. It enables the use of digital twins on top of integrated simulations to facilitate iterative design and testing in a virtual environment.

This article explores how Model-Based Design changes automotive powertrain development, delivering measurable ROI to engineering organizations while supporting long-term digital transformation initiatives like Model-Based Systems Engineering (MBSE) and digital twins.

The strategic imperative of Model-Based Design for automotive powertrain systems development 

The powertrain—comprising the internal combustion engines (ICE), transmission, and drivetrain—is the heart of any vehicle. Optimizing its performance is a balancing act involving emissions compliance, fuel efficiency, cost control, and consumer satisfaction. Traditional development methods rely heavily on physical prototypes and sequential testing and are increasingly inadequate. They are slow, expensive, and prone to late-stage discovery of faults.

Model-Based Design is an engineering methodology in which mathematical models are used to design, simulate, verify, and validate the behaviour of powertrain systems before hardware implementation. It enables the use of digital twins and integrated simulations and facilitates iterative design and testing in a virtual environment.

Simulation layers in the development of automotive powertrain systems

At the core, it involves: 

  • System modelling and architecture definition: Simulating various interactions of whole powertrain components.
  • Plant modelling: Engine thermodynamics, motor behaviour, battery systems.
  • Control algorithm design: Torque control, gear shift logic, energy management.
  • Simulation & testing: Test and refine models by employing Model-in-the-Loop (MIL), Hardware-in-the-Loop (HIL), and Software-in-the-Loop (SIL) frameworks.
  • Verification and validation: System behaviour validation of powertrain design under various conditions for safety compliance like ISO 26262.
  • Automatic code generation: Automatic generation of production-ready code from system models for Electronic Control Units (ECUs) production using tools like MATLAB/Simulink and dSPACE.

Components of Model-Based Design for automotive powertrain systems

  • System Modelling
    Model-based workflows start with system modelling at the level of system dynamics of the whole powertrain. These models are used in shared environments like MATLAB/Simulink, allowing engineers to simulate the interactions of various components like the engine, transmission, and hybrid systems with one another. This system-based approach will help identify bottlenecks and optimize performance under different operating conditions.
  • Control Algorithm Development
    Robust control systems are the key to achieving high performance in the powertrains. MBD allows teams to design, test, and refine the control algorithms in simulation. For example, calibrating the engine control units for enriching combustion efficiency or the battery management system for electric vehicles could be carried out without physical prototypes.
  • Automatic Code Generation
    The MBD process generates production-quality code to translate design models using tools like Embedded Coder, which helps automate the development process. A significant advantage of this is supporting AUTOSAR-compliant architectures for ECU integration, minimizing errors, and accelerating functional deployment to ECUs.
  • Simulation & Validation
    Powertrains operate on different physical phenomena, which extend to thermal, mechanical, and electrical dynamics. MBD platforms integrate these domains to assess trade-offs and ensure that designs meet efficiency standards, durability, and regulations. The model behaviour is tested in several frameworks, such as MIL, SIL (software-in-the-loop), and HIL, to achieve model validation through the stages of development.

Case in point: Realizing efficiency in hybrid powertrains

Consider a manufacturer that designs and builds a hybrid electric powertrain. A traditional method would likely involve constructing several prototypes to evaluate different power distribution strategies, thermal management, and emissions compliance.

With MBD:

  • Engineers can model the whole hybrid system virtually and simulate different driving conditions.
  • They can digitally design and validate control strategies for energy management.
  • Optimizing thermal performance with multi-physics simulations guarantees that the battery will last longer and consume less energy.
  • HIL testing helps them validate the integration of highly integrated software and hardware.

This approach reduces the need for physical testing and enables the rapid exploration of “what-if” scenarios, such as varying battery sizes or electric motor configurations.

Contact us for digital transformation solutions

Implementation challenges and strategic considerations

The advantages of MBD are apparent, but its implementation involves overcoming both organizational and technical hurdles.

  • Skill Gaps: Effective adoption of MBD heralds the upskilling of team members in workflow and simulation tools.
  • Toolchain Integration: Organizations must ensure seamless integration between MBD platforms and existing tools.
  • Cultural shifts: Transforming from prototype-driven to simulation-based development demands cultural buy-in from all stakeholders.

Top executives play a significant role in overcoming this barrier. Investment in training, provision of cross-disciplinary collaboration, utilization of offshore engineering, and flexible, scalable MBD tools will ensure a smooth transition.

A competitive imperative

Model-Based Design stands out as an engineering methodology and a competitive differentiator in the ever-increasing competition for intelligent, green, and software-oriented vehicles. It allows automotive companies to bridge the gap between concept and production to innovate powertrain systems with high safety or compliance.

Simulation and automation embedded at the centre of powertrain development offer transformational value to engineering leaders through reduced costs, faster delivery, and futureproofing of their mobility systems for the next decade. As a trusted partner in Embedded Engineering solutions, we enable Automotive OEMs, innovators, and Tier 1 suppliers to harness the power of simulation for high-performance powertrain design innovation.

Read More
Core Engineering & Simulation

Connected cars: using Model-Based Design for Vehicle-to-Everything (V2X) communication

Cars have long conveyed basic information to drivers, like a warning light for low fuel or a door-ajar alert. But Vehicle-to-Everything (V2X) communication takes this a step further by enabling real-time “conversations” among cars, pedestrians, bicycles, road signs, and traffic signals.

The result?

  • More energy-efficient driving
  • Enhanced safety
  • Better user experiences

However, building these complex systems demands an innovative approach, one that Model-Based Design (MBD) with MATLAB and Simulink delivers exceptionally well.

Vehicle-to-Everything (V2X) communication

V2X communication is critical for achieving:

  • Safety: vehicles can instantly share alerts on road hazards, emergency braking, or adverse weather conditions, thereby reducing collisions.
  • Traffic efficiency: integrating vehicles with infrastructure (V2I) helps manage traffic signals, easing congestion in busy urban areas.
  • Environmental benefits: smarter route planning and efficient driving patterns cut fuel consumption and emissions.
  • User experience: through Vehicle-to-Network (V2N) integration, drivers benefit from advanced infotainment, navigation, and cloud-based services.

To ensure these benefits, V2X systems must reliably manage data exchange in shifting road environments, adhere to stringent industry standards, and integrate seamlessly with the vehicle’s Electronic Control Units (ECUs).

Why Model-Based Design for V2X?

Model-Based Design employs models as the central artifacts throughout the development cycle. From concept and simulation to deployment and verification.

MATLAB and Simulink offer a robust toolkit for V2X development because they enable:

  • Rapid prototyping: engineers can quickly design V2X algorithms and test them in virtual environments.
  • System-level simulation: simulink helps integrate vehicle dynamics with V2X models, facilitating holistic evaluations of communication and control strategies.
  • Code generation: automated production of C/C++ code ensures that validated models can be seamlessly deployed to embedded hardware.
  • Standards compliance: built-in support for IEEE 802.11p (DSRC) and cellular V2X (C-V2X) helps meet regulatory and interoperability requirements.

Vehicle-to-Everything (V2X) communication

Development workflow for V2X using MBD

Requirements analysis

  • Define system requirements based on V2X standards and real-world use cases (e.g., collision avoidance, traffic light prioritization).
  • Track and manage requirements using tools like MATLAB Requirements Toolbox.

System modeling

  • Create high-level models of V2X communication protocols, such as DSRC or C-V2X, in Simulink.
  • Model application layers (e.g., cooperative awareness messages) and physical layers (e.g., radio wave propagation).

Simulation and testing

  • Validate system behavior under realistic conditions (e.g., urban intersections, highway platooning).
  • Employ MATLAB’s communication toolboxes to replicate wireless channel impairments, ensuring robust performance in variable environments.

Code generation and integration

  • Automatically generate optimized C/C++ code using Simulink Coder or Embedded Coder.
  • Integrate the generated code with ECUs for thorough in-vehicle testing.

Hardware-in-the-Loop (HIL) testing

  • Evaluate the system on actual hardware in real-time, verifying performance across various operating conditions.

Deployment and validation

  • Deploy the final V2X system onto the vehicle’s hardware platform and conduct on-road testing to confirm reliability and compliance.

Connect with us for core engineering services

Realizing the benefits

By embracing MBD with MATLAB and Simulink, automotive engineers can:

  • Reduce development time: early detection of design flaws through simulation significantly cuts down on late-stage rework.
  • Enhance reliability: rigorous testing at each stage fortifies overall system resilience.
  • Streamline collaboration: unified models create a shared, accessible framework for diverse teams spanning software, hardware, and systems engineering.
  • Facilitate scalability: modular structures make it easier to adapt V2X solutions for different vehicle classes and communication technologies.

Conclusion

As connected vehicles continue to redefine modern transportation, Vehicle-to-Everything (V2X) communication stands at the forefront of safer, more efficient mobility. Leveraging Model-Based Design with MATLAB and Simulink enables engineers to navigate the inherent complexities of V2X development with greater precision, ensuring these advanced systems meet the evolving demands of tomorrow’s automotive landscape.

Developing effective V2X solutions for connected vehicles requires not only a solid command of Model-Based Design but also in-depth expertise in automotive engineering. At Robosoft, we combine our extensive automotive experience with Model-Based Design (MBD) capabilities to streamline the entire V2X development lifecycle. Explore our Core Engineering solutions to bring your connected mobility vision to life.

Read More
Core Engineering & Simulation

Simplifying the MBD process and avoiding common pitfalls

Simplifying the MBD process and avoiding common pitfalls

Model-Based Design for embedded systems has revolutionized engineering design and software development across industries, such as automotive, aerospace, and consumer electronics. It is a transformative approach that enables teams to design, simulate, and test embedded systems with minimized errors and accelerated development.

However, enterprises can suffer from common pitfalls in Model-Based Design (MBD) implementation, such as overloading models with details, integration issues, communication gaps, inadequate documentation, and system validation issues. This article offers a practical look at simplifying the MBD process and code generation in embedded systems development processes. Additionally, we have highlighted common pitfalls that can derail progress and how to avoid them based on my experiences.

Understanding Model-Based Design process 

The Model-Based Design process uses models as primary artefacts throughout the embedded systems development lifecycle—system design, simulation, and testing. These models serve as:

  • Visual representations of system behaviour: Helping teams understand and communicate complex designs.   
  • Requirements validation tools: Ensuring the designs meet specifications early in the embedded systems development lifecycle. 
  • Early-stage testing method: Allowing for early-stage simulations of complex systems, allowing teams to identify issues before physical implementation.

Simplifying the MBD Process

Simplifying MBD process for embedded systems development

It is essential to streamline the MBD process to maximize its benefits. Here are key strategies:

  • Define clear objectives  

Before diving into the modeling process, start with a clear understanding of the project’s goals. Determine what the model needs to achieve—whether for simulation, control algorithm design, or validation. Defining clear objectives upfront helps create precise models aligned with project requirements. For instance, a project focused on developing a Battery Management System (BMS) might prioritize energy efficiency and fault tolerance as primary objectives.

  • Utilize modular design 

Break down complex systems into smaller, manageable modules to simplify the development and testing process. This modular approach allows easier debugging and integration. The modular design promotes reusability as validated modules can be repurposed across projects, saving time and effort. For example, separating powertrain and user-interface modules in automotive design can streamline both the embedded systems development and testing processes.

  • Standardize models 

Establish standard modeling practices and templates within your organization. This will help ensure consistency and facilitate your team in streamlined collaboration and sharing of insights.

  • Focus on key requirements 

Avoid overloading models with excessive details. Prioritize the system’s critical requirements and develop the detailed sub-models separately. This is essential to aligning the project with user needs while maintaining model simplicity.

  • Incorporate real-time simulation 

Leverage tools that enable real-time simulation and testing under dynamic conditions. For instance, in BMS development, real-time simulation allows teams to test battery algorithms under various conditions, ensuring performance before deployment. This helps organizations reduce reliance on costly physical prototypes.

  • Iterative development 

Embrace an iterative approach to refining models continuously. Regularly review and update models based on testing feedback. This approach is crucial for adapting to changing requirements and ensuring the model remains relevant for embedded systems development.

  • Encourage cross-disciplinary collaboration  

Involve stakeholders from diverse disciplines—such as engineers, designers, and testers—early in the modeling phase. Diverse perspectives can help identify potential issues, avoid misinterpretations, and improve model accuracy.

connect with Robosoft for better modeling solutions

Common pitfalls to avoid in the MBD process 

While the Model-Based Design process offers significant advantages, it is not immune to challenges. Here are common pitfalls and strategies to avoid them:

  • Overloading models with details 

It is tempting to capture every detail, but overly complex models can obscure critical insights, become computationally expensive, and be challenging to manage. Teams should focus on the essential features that impact performance and safety while aligning with the project’s goals.

  • Neglecting integration testing 

Integration between various components is crucial in real-time systems, such as Battery Management Systems (BMS). Inadequate integration testing can lead to system incompatibilities and unexpected failures. Therefore, you must ensure that models are tested in isolation and as part of the overall system. This helps catch integration issues early.

  • Neglecting verification and validation 

The verification process ensures that models are built correctly, while validation confirms that they meet the project’s intended requirements. Skipping Verification and Validation (V&V) steps can result in flawed designs. Teams should ensure that models are regularly verified and validated against requirements.

  • Inadequate documentation 

Comprehensive documentation of all models is vital for future reference and team onboarding. Throughout the project, always maintain precise records of design decisions, assumptions, and changes.

  • Skipping model validation  

Validate models regularly against real-world data and requirements. This step is particularly important in safety-critical systems like BMS, where errors can have serious consequences.

  • Lack of team training 

MBD tools and methodologies can be complex. Invest in training sessions to ensure that all team members are comfortable using these tools and understand the underlying principles of the MBD process.

Wrapping up

When implemented thoughtfully, Model-Based Design for embedded systems can significantly enhance the efficiency and effectiveness of engineering projects. By simplifying the MBD approach and being mindful of common pitfalls, organizations can harness the full potential of the MBD process—navigate complexity, reduce time to market, reduce cost, and improve quality.

At Robosoft, we specialize in core engineering simulation services that empower you to optimize the simulation-driven design for faster prototyping, accelerating your journey to optimal design possibilities. We have partnered with leading global companies in the Automotive and technology space, providing Core Engineering and Simulation services by leveraging industry-leading software tools tailored to align with current market standards.

Read More