Renesas R-Car V3H, V3M Guidebook

Introduction to the features and applications of Renesas R-Car V3H and V3M automotive SoCs.

Introduction

This guidebook introduces the features of Renesas Electronics' R-Car V3H and V3M. It serves as reference material for customers investigating before adoption or considering applications. Renesas Electronics aims to expand possibilities for new product creation by consolidating information relevant to R-Car for customers. We will continue to enhance the content based on customer feedback.

Note: Content may be updated or changed without notice.

Table of Contents

Notes on the Guidebook

1. Features and Applications of R-Car V3H, V3M

R-Car V3H, V3M are equipped with hardware features for Computer Vision, and this section introduces examples of using these functions in applications.

Figure 1 is a block diagram abstracting the functions of R-Car V3H, V3M. Key features include ISP, IMR, IMP, and CNN, and their functions and applications are introduced.

1. ISP (Image Signal Processing)

This function processes RAW data output from CMOS sensors, allowing custom image processing in combination with the sensor. If using an ISP-equipped camera module, the image from the camera module can be used as is. R-Car's ISP is used when custom image processing is required for applications like smart cameras, 3D surround view, and driver monitoring.

2. IMR (Image Rendering Unit) Distortion Correction Unit

This unit is used for correcting lens distortion and perspective transformation. This function allows for faster processing compared to CPU processing, reducing CPU load for distortion correction and perspective transformation.

3. IMP (Image Recognition Engine)

This is an accelerator for high-speed image recognition processing, improving efficiency through hardware and software. This accelerator can process various necessary tasks for image recognition at high speed.

4. CNN

This is a module that enables high-speed execution of Convolutional Neural Networks. Using the R-Car CNN Toolchain, it can be used in combination with various deep learning open-source libraries.

Figure 1: Abstracted Function Block Diagram

The diagram shows the R-Car V3H/V3M system with key functional blocks. Input is received via MIPI-CSI2. The system includes ISP, IMR, IMP, and CNN modules. These modules are connected to VIN (Video Input), VSPD (Video Signal Processor), DU (Display Unit), and LVDS (Low Voltage Differential Signal) outputs.

2. Other Functions of R-Car V3H, V3M

1. VIN (Video Input Module)

The video input module provides color space conversion functionality. If connecting a camera with ISP, input is from VIN.

2. VSPD (Video Signal Processor)

This module handles image overlay, rotation, and scaling. It is used for image processing in applications like surround view.

3. DU (Display Unit)

This unit receives image data from VSPD and outputs it via LDVS. It adjusts display size, position, format, and plane overlay.

4. LVDS (Low Voltage Differential Signal)

This unit receives RGB signals (display control and data) from DU, converts them to LVDS, and outputs various timing signals to drive LCD panels.

5. MIPI-CSI2 (Mobile Industry Processor Interface/Camera Serial Interface2)

This is a receiver module for Camera Serial Interface2, supporting MIPI CSI-2 V1.1 and D-PHY V1.1.

3. Camera Connection to MIPI-CSI2

Camera input is necessary for front cameras, surround monitoring, driver monitoring, etc. R-Car V3H, V3M can connect cameras via MIPI-CSI2 (Figure 2 connection example). Figure 2 shows direct connection, but to extend connection distance, a serializer/deserializer is used (Figure 3). A serializer converts parallel signals to serial for high-speed serial communication with a deserializer, which outputs parallel signals. This is used to extend camera/image signal connection distances.

Figure 2: Connecting a camera to MIPI-CSI2

The diagram shows a simplified R-Car V3H/V3M system connected to a camera via MIPI-CSI2. The camera block includes ISP and a serializer. The R-Car block includes ISP, IMR, IMP, CNN, VIN, VSPD, DU, and LVDS.

Figure 3: Camera connection using serializer/deserializer

This diagram illustrates a camera connection to R-Car V3H/V3M using a serializer and deserializer. The camera, equipped with ISP and a serializer, connects via MIPI-CSI2 to the R-Car, which has ISP, IMR, IMP, CNN, VIN, VSPD, DU, and LVDS. The data flow is shown as YUV data.

MIPI-CSI2 has 4 input lanes, with specifications differing between R-Car V3H and V3M:

Figure 4 shows the connection of four cameras.

Figure 4: Connecting four cameras using serializer/deserializer

This diagram depicts the connection of four cameras to the R-Car V3H/V3M system using serializers and deserializers. Each camera's RGB data is processed through its ISP and serializer before being sent via MIPI-CSI2 to the R-Car, which includes ISP, IMR, IMP, CNN, VIN, VSPD, DU, and LVDS modules.

4. Camera and ISP

Cameras can be equipped with or without an ISP. Figure 5 shows a camera with ISP, and Figure 6 shows a camera without ISP. Image sensors output RAW data, which needs ISP processing for image viewing or recognition due to format differences. Cameras with ISP offer pre-prepared processing, but customization is difficult and increases cost. Using R-Car's ISP can reduce camera costs. For image recognition, especially with monochrome cameras or custom processing, R-Car V3H, V3M's ISP is suitable.

Figure 5: Camera with ISP

The diagram shows a camera with an image sensor that outputs RAW data. This RAW data is then processed by an ISP (Image Signal Processor) which outputs YUV/RGB data. A serializer is connected to the ISP output.

Figure 6: Camera without ISP

The diagram shows a camera with an image sensor that outputs RAW data. This RAW data is directly sent to a serializer, bypassing an ISP.

Connection methods for cameras without ISP via MIPI-CSI2 are the same as for cameras with ISP. Figure 7 shows a single camera connection, and Figure 8 shows a four-camera connection.

Figure 7: Connecting a camera without ISP to MIPI-CSI2

This diagram shows a single camera without an ISP connecting to the R-Car V3H/V3M system. The camera's RAW data is sent through a serializer via MIPI-CSI2 to the R-Car, which includes ISP, IMR, IMP, CNN, VIN, VSPD, DU, and LVDS.

Figure 8: Connecting four cameras without ISP to MIPI-CSI2

This diagram illustrates the connection of four cameras, each without an ISP, to the R-Car V3H/V3M system. Each camera's RAW data is serialized and sent via MIPI-CSI2 to the R-Car, which processes it through its internal ISP, IMR, IMP, CNN, VIN, VSPD, DU, and LVDS modules.

5. How to Use R-Car's ISP

R-Car's ISP allows for image customization based on application needs, but requires dedicated software. Figure 9 shows the connection method for cameras without ISP and the ISP software configuration. The red-framed area in Figure 9 represents ISP software, which customers can develop themselves or customize based on ISP software provided by R-Car Consortium partners. This customization development is necessary.

Figure 9: Camera without ISP and ISP Software

The diagram shows a camera connected via MIPI-CSI2 and I2C to the R-Car system. The camera includes a sensor and serializer. The R-Car system features camera application software, custom application software (including sensor abstraction, auto white balance, auto exposure control, noise canceller, calibration, tuning), sensor driver, ISP firmware, ISP low-level firmware, I2C driver, OS, and an ARM Cortex-A53 processor. The ISP software is highlighted within a red box.

Note for customers considering R-Car's ISP:

Support is provided from ISP consulting to implementation. Proposals are made according to customer use cases and applications. Please consult us.

6. What is IMR (Image Rendering Unit) Distortion Correction Unit?

IMR is dedicated hardware for correcting image distortion. Development requires software.

Fish-eye lens distortion correction (3D surround view)

Fish-eye lenses capture a wide view but distort images, making subject identification difficult. IMR corrects this distortion. It can also be used to create overhead views by synthesizing images from multiple cameras.

Camera lens distortion correction

Camera lenses can cause images to appear non-flat or distorted. IMR's distortion correction function flattens and corrects these distortions. This dedicated hardware accelerator reduces CPU load.

Figure 10: Camera Lens Distortion Correction

The diagram illustrates the process of correcting lens distortion. An initial image with distortion (e.g., from a fish-eye lens) is shown, followed by the corrected image, which appears flat and undistorted.

Figure 11: Reduction of CPU Load by IMR

This diagram compares the CPU load for image processing. In the first scenario, processing is done solely by the CPU. In the second scenario, the load is split between the CPU and IMR, showing a significant reduction in CPU load when IMR is utilized for distortion correction.

Note for customers using IMR:

Consulting and development support for IMR usage and software development are provided. Please utilize this service.

7. What is IMP (Image Recognition Engine)?

R-Car V3H, V3M have an accelerator optimized for image recognition. Using this accelerator requires dedicated libraries written in accelerator-specific instructions, provided by Renesas Electronics. This accelerator's API differs from OpenCV's highly abstracted API, requiring changes to the API portion of OpenCV programs. Figure 12 shows the difference between OpenCV API and IMP library API.

Figure 12: IMP Image Recognition Engine and OpenCV

The diagram illustrates the relationship between image recognition applications and the underlying software/hardware. An "Image Recognition Application" can use either an "IMP Library API" or an "OpenCV API". The IMP path involves "Accelerator Command", "IMP Library", "Driver", and "Runtime Framework" (IMP-X5+), leading to the IMP Image Recognition Engine. The OpenCV path leads to "OpenCV API" and requires "Change" to interface with the IMP accelerator. The diagram highlights that the IMP library API is distinct from the OpenCV API.

Note for customers considering IMP library:

Training on IMP library specifications and usage, and support for API changes from OpenCV are available. Customers considering evaluation and product development with the IMP library are invited to consult.

8. CNN and Toolchain

Deep learning is used for tasks like object detection and recognition from camera input. Deep learning models are trained by configuring layers (e.g., convolutional operations) in a network structure to achieve high recognition rates.

The CNN Toolchain converts pre-trained deep learning network models into a format executable on R-Car V3H, V3M. It selects the optimal accelerator (IMP, CNN, etc.) based on the model's layers and converts it to an executable format for the device.

Details can be downloaded from the following Renesas Electronics site: Renesas R-Car CNN Toolchain

Figure 13: Toolchain and Deployment to R-Car

The diagram shows the workflow from deep learning model development to execution on R-Car. It starts with a "Deep Learning Framework" and a "Trained Network Model". This model is processed by the "Renesas CNN Toolchain", which outputs a "Command LIST" containing instructions for accelerators like "IMP-Core" and "CV engine". This is then used by the "Image Recognition Application" running on the "R-Car V3H", utilizing the "IMP Library" and "Runtime Framework". The final execution involves the "IMP Image Recognition Engine" and "CNN".

Note for customers considering CNN:

Consulting is provided for image recognition, deep learning, and tool usage in conjunction with IMP. Training and introduction support are available.

9. Conclusion

Production: Hitachi Industry & Control Solutions, Ltd.

As an R-Car SIer (System Integrator), Hitachi Industry & Control Solutions, Ltd. provides services such as sub-license sales of R-Car software products and platform construction with various OSes.

Production/Editing/Reporting: Mitsuru Suwa (Hitachi Industry & Control Solutions, Ltd.) - Edited this guidebook based on experience and knowledge gained through customer-facing roles, including FAE activities and consulting for IVI, meters, ADAS, and other automotive equipment applications.

Production Members:

Supervision/Cooperation:

PDF preview unavailable. Download the PDF instead.

REL RcarV3 Guidebook ja SetaPDF-Merger Component v2.27.0.1196 ©Setasign 2005-2021 (www.setasign.com)

Related Documents

Preview Renesas R-Car V3H: High-Performance SoC for Intelligent Camera Applications
Explore the Renesas R-Car V3H, a 64-bit SoC designed for advanced intelligent camera systems, offering 7.2 TOPS, ASIL B/C compliance, and support for NCAP 2020 requirements.
Preview Renesas R-CAR V3M Starter Kit Hardware Manual
Comprehensive hardware manual for the Renesas R-CAR V3M Starter Kit, detailing its features, components, configuration, and usage for automotive application development. Includes specifications, pinouts, and operational guidance. Find more resources at Renesas Electronics.
Preview Renesas R-Car V3U: 64-Bit SoC for Automated Driving and AI
Discover the Renesas R-Car V3U, a high-performance 64-bit System-on-Chip designed for advanced automated driving, computer vision, and AI machine learning applications. Featuring 60 TOPS, ASIL D safety, and flexible architecture.
Preview Renesas R-Car D1 Series Product Specifications
This document provides detailed technical specifications for the Renesas R-Car D1 series of automotive System-on-Chip (SoC) processors. It outlines various product numbers, core specifications, memory interfaces, graphics capabilities, video and audio processing features, peripheral connectivity, and package details. Key technologies include ARM Cortex-A7 cores, PowerVR SGX540 graphics, DDR3L memory support, and automotive networking interfaces like CAN-FD and Ethernet AVB.
Preview Renesas RZ Family Microprocessors: High-Performance 64-bit & 32-bit Arm-based MPUs
Explore the Renesas RZ Family of microprocessors, featuring high-performance 64-bit and 32-bit Arm-based MPUs designed for smart society applications. Discover the RZ/V, RZ/G, RZ/A, RZ/T, and RZ/N series with detailed specifications, features, and application fields.
Preview Renesas FLASH Development Toolkit 3.06 User's Manual - Programming System Guide
User's Manual for the Renesas FLASH Development Toolkit (FDT) version 3.06, a comprehensive programming system for Renesas microcomputers. Learn about features, interface, and operations for Windows platforms.
Preview Renesas Synergy™ NetX™ HTTP Server Module Guide
A comprehensive guide for developers on implementing and configuring the NetX™ HTTP Server module within the Renesas Synergy™ Platform, detailing features, APIs, operational aspects, and application examples for embedded systems.
Preview Renesas μPD78F8014A, 78F8015A, 78F8016A 8-Bit Microcontroller User's Manual with LIN Transceiver
Comprehensive user manual for Renesas μPD78F8014A, 78F8015A, and 78F8016A 8-bit microcontrollers. Details features, pin configurations, electrical specifications, and development tools for automotive applications with LIN transceiver and power supply capabilities.