{"id":10237,"date":"2018-10-26T04:03:00","date_gmt":"2018-10-26T04:03:00","guid":{"rendered":"https:\/\/www.techdesignforums.com\/practice\/?p=10237"},"modified":"2018-10-30T06:34:36","modified_gmt":"2018-10-30T06:34:36","slug":"digital-twin-automotive-verification-mentor-siemens","status":"publish","type":"post","link":"https:\/\/www.techdesignforums.com\/practice\/technique\/digital-twin-automotive-verification-mentor-siemens\/","title":{"rendered":"8.8 billion miles to verify"},"content":{"rendered":"<p>This article has two themes. One looks at delivering the digital twin for automotive design today, and how that challenge will likely have wider implications. The other illustrates how Mentor\u2019s EDA offering is being integrated into the wider Siemens systems-of-systems infrastructure for those digital twins.<\/p>\n<h3><strong>Exhaustive verification<\/strong><\/h3>\n<p>Toyota believes that a car will need to undergo the equivalent of 14.2B kilometers (8.8B miles) of test to verify all the safety, performance and functionality requirements for Level 5 autonomy, the point where no human input is needed to drive or control a vehicle.<\/p>\n<p>Such a requirement is beyond any conceivable real-world solution. By the time you had completed a physical test that long, the car would be obsolete. Moreover, the requirement exceeds the capacity of traditional simulation. We know about simulation\u2019s limitations when it comes to individual SoCs; a car takes us beyond even the billion-gate level in terms of complexity.<\/p>\n<p>Over those 8.8B miles, you must become able to guarantee that all the vehicle\u2019s components \u2013 hardware and software \u2013 will work in harmony, that all the ECUs within the vehicle will talk to one another over their different interfaces, that all the sensors will provide the data that they should \u2013 and that the right decisions will be taken as a result.<\/p>\n<p>You can break down the necessary verification task into three data processing stages: Sense, Compute and Actuate (Figure 1).<\/p>\n<div id=\"attachment_10238\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig1.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10238\" class=\"size-large wp-image-10238\" src=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig1-1024x489.jpeg\" alt=\"Figure 1. The three data processing stages of autonomous driving -digital twin feature\" width=\"640\" height=\"306\" srcset=\"https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig1-1024x489.jpeg 1024w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig1-300x143.jpeg 300w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig1-768x367.jpeg 768w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig1-650x310.jpeg 650w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig1.jpeg 1095w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-10238\" class=\"wp-caption-text\">Figure 1. The three data processing stages of autonomous driving (Mentor)<\/p><\/div>\n<p>You can then assign three tools from Siemens to each of those stages: the PreScan sensor and environmental simulation platform, the Mentor Veloce emulation platform, and the AmeSim mechatronic simulation platform.<\/p>\n<p>These all existed before the Mentor became a Siemens company. However, the way in which they have been \u2013 and continue to be \u2013 aligned illustrates how benefits cited when the deal was first announced are being realized. And that alignment answers Toyota\u2019s challenge.<\/p>\n<h3><strong>The Digital Twin<\/strong><\/h3>\n<p>The Digital Twin is an important concept. Siemens defines it as \u201ca virtual representation of a physical product or process, used to understand and predict the physical counterpart\u2019s performance characteristics\u201d.<\/p>\n<p>You can apply this to various stages in a design flow. In this specific case, we want to apply the idea to the verification of advanced automotive systems of systems.<\/p>\n<p>This is how each tool contributes toward forming that digital twin.<\/p>\n<p><a href=\"https:\/\/tass.plm.automation.siemens.com\/prescan\"><strong>PreScan<\/strong><\/a> allows you to build the virtual environment. It has within it the models needed to create various scenarios. Its sensor models are building blocks. They allow you to replicate the data regarding lane changes, pedestrians, traffic signals coming into the car or that should be coming in.<\/p>\n<div id=\"attachment_10239\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig2.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10239\" class=\"size-large wp-image-10239\" src=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig2-1024x534.jpeg\" alt=\"Figure 2. PreScan overview - digital twin feature\" width=\"640\" height=\"334\" srcset=\"https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig2-1024x534.jpeg 1024w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig2-300x157.jpeg 300w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig2-768x401.jpeg 768w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig2-650x339.jpeg 650w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig2.jpeg 1060w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-10239\" class=\"wp-caption-text\">Figure 2. PreScan overview (Mentor)<\/p><\/div>\n<p><a href=\"https:\/\/www.mentor.com\/products\/fv\/emulation-systems?cmpid=10166\"><strong>Veloce<\/strong><\/a> is the compute horsepower. This is where the pre-prototype RTL model of your SoC sits, running many thousands of times faster than it would in traditional simulation. But acceleration is not the only reason why emulation is vital here.<\/p>\n<p>It provides greater observability than, say, a FPGA prototype. The FPGA may run faster, but the prototyping board will not have the granularity needed to meet the absolute certainty required under automotive standards that what your test just exercised will actually work. Emulators also give you stop-start options to dig deeper into single-event interruptions (e.g., EMI, register flips, stuck-ats, etc.).<\/p>\n<p>Mentor provides transactors and Veloce apps to recreate fault scenarios (systematic and random) within the emulator and make sure that the verification accounts for all of those automotive protocols (e.g., CAN, LIN, Flexray). Where PreScan provides external context, Veloce builds internal context on top.<\/p>\n<div id=\"attachment_10240\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig3.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10240\" class=\"size-large wp-image-10240\" src=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig3-1024x521.jpeg\" alt=\"Figure 3. PreScan feeds Veloce (Mentor)\" width=\"640\" height=\"326\" srcset=\"https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig3-1024x521.jpeg 1024w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig3-300x153.jpeg 300w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig3-768x390.jpeg 768w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig3-650x330.jpeg 650w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig3.jpeg 1137w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-10240\" class=\"wp-caption-text\">Figure 3. PreScan feeds Veloce (Mentor)<\/p><\/div>\n<p><a href=\"https:\/\/www.plm.automation.siemens.com\/global\/en\/products\/simcenter\/simcenter-amesim.html\"><strong>AmeSim<\/strong><\/a>\u00a0helps to virtually implement the decisions made by the RTL within Veloce. When your SoC decides to, say, operate the brakes or turn the steering wheel, AmeSim has the models to simulate the behavior of the relevant physical systems. When the computation is complete, now how does the car react?<\/p>\n<p>AmeSim draws on more than 5,000 models. These covers control systems, mechanical, fluid, and heat processes \u2013 indeed, just about everything you need to virtualize a mechanical system.<\/p>\n<div id=\"attachment_10241\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig4.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10241\" class=\"size-large wp-image-10241\" src=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig4-1024x513.jpeg\" alt=\"Figure 4. AmeSim libraries - digital twin feature\" width=\"640\" height=\"321\" srcset=\"https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig4-1024x513.jpeg 1024w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig4-300x150.jpeg 300w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig4-768x385.jpeg 768w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig4-650x326.jpeg 650w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig4.jpeg 1076w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-10241\" class=\"wp-caption-text\">Figure 4. AmeSim libraries (Mentor)<\/p><\/div>\n<p>These products have been around for a while. But with them all now within Siemens, they have been brought together in a coherent flow, and their interactions continue to be optimized.<\/p>\n<p>They also sit within the broader automotive tool infrastructure provided Mentor, all of which is qualified to the critical ISO26262 functional safety standard. Its elements include Questa (since there are areas you may wish to simulate and you can also take advantage of formal verification to prune your test cases), Calypto (allowing you to leverage high-level synthesis for complex algorithm and SoC definition) and Tessent (bringing full test into the flow).<\/p>\n<p>In addition, the <a href=\"https:\/\/www.mentor.com\/products\/silicon-yield\/multimedia\/overview\/simplifying-iso-26262-compliance-with-mentor-safe-a384833e-0fb8-4ebd-b3ef-6e4e747e0469?cmpid=10166\">Mentor Safe<\/a> program helps user ensure compliance with ISO26262 particularly when it coms to the documentation of design processes, particularly those for verification and test.<\/p>\n<p>Going back to PreScan, Veloce and AmeSim, it is worth noting that all three interface to designs through the same Functional Mock-up Interface (FMI) protocol. This allows users to encapsulate virtually anything they want to. Taking the example of an automotive project, it allows components and blocks from different suppliers to be easily integrated within a digital twin, as well as those developed internally.<\/p>\n<div id=\"attachment_10242\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig5.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10242\" class=\"size-large wp-image-10242\" src=\"https:\/\/www.techdesignforums.com\/practicefiles\/2018\/10\/ADAS-digital-twin-fig5-1024x543.jpeg\" alt=\"Figure 5. The digital twin within automotive verification (Mentor)\" width=\"640\" height=\"339\" srcset=\"https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig5-1024x543.jpeg 1024w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig5-300x159.jpeg 300w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig5-768x407.jpeg 768w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig5-650x345.jpeg 650w, https:\/\/www.techdesignforums.com\/practice\/files\/2018\/10\/ADAS-digital-twin-fig5.jpeg 1092w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-10242\" class=\"wp-caption-text\">Figure 5. The digital twin within automotive verification (Mentor)<\/p><\/div>\n<h3><strong>Virtual solutions to very real problems<\/strong><\/h3>\n<p>The flow described here already exists: Compute -&gt; Sense -&gt; Actuate on interconnected systems of different abstractions. We expect to make significant enhancements soon in areas such as security. The safety of a vehicle depends on its resistance to being corrupted or hacked. Automobiles are becoming mobile datacenters with multiple access points that need to be secured.<\/p>\n<p>One way of looking at safety analysis for automotive is that OEMs must be satisfied with a vehicle\u2019s operation over a million scenarios, all constructed from different events. To have confidence in the use of the digital twin concept, they therefore need to see that it can be implemented to handle those Sense, Compute and Actuate stages efficiently and accurately.<\/p>\n<p>Then broadening our view to address wider systems-of-systems challenges, we can also reasonably argue that the complexities arising in the automotive market today will soon be seen in others. For example, how safe will drones have to become to make home deliveries? What might be coming in AI-driven surgery? The ability to build digital twins \u2013 many of will may be broader than that described here \u2013 is already becoming increasingly important to many more markets than the self-driving car.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How the digital twin can fuel automotive verification flows impossible in the real world.<\/p>\n","protected":false},"author":138,"featured_media":10243,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[2246,707,2248,1047,1935,2247,2245,1141,443],"coauthors":[1441],"class_list":["post-10237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-design-verification","tag-amesim","tag-automotive","tag-digital-twin","tag-emulation","tag-iso-26262","tag-prescan","tag-safe","tag-veloce","tag-virtualization","workflow-analysis","workflow-expert-blog","workflow-up-to-date","organization-mentor-graphics","organization-siemens-2"],"_links":{"self":[{"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/posts\/10237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/comments?post=10237"}],"version-history":[{"count":0,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/posts\/10237\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/media\/10243"}],"wp:attachment":[{"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/media?parent=10237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/categories?post=10237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/tags?post=10237"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.techdesignforums.com\/practice\/wp-json\/wp\/v2\/coauthors?post=10237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}