Product Lifecycle Management Blogs by Members
Get insider knowledge about product lifecycle management software from SAP. Tap into insights and real-world experiences with community member blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
abhinaste
Explorer
Summary -

AI/ML Scenarios Management enables scenarios that are based on machine learning models to assist and automate manufacturing processes.

Here in this blog we will see simple end to end configuration of AI/ML Scenario in SAP DMC as below. More details about AI/ML Scenario Management can be referred on below link.

SAP Help - AI/ML Scenarios Management

Prerequisites

  1. Plant, Material and Operation master data is created

  2. Non-conformance code and group is created


Step 1: Build Your Own Model

  1. Go to link Teachable Machine By Google

  2. Give names to the classes like “Pass” and “Failed”

  3. Upload as many possible images respective for each class using upload or webcam option

  4. Click on Train your model

  5. Test and Export your model

  6. Download the model using Tensorflow.js then download radio button then click download my model

  7. We will get zip file downloaded with below files


Step 2: Create AI/ML Scenario in SAP Digital Manufacturing Cloud

  1. Go to "Manage AI/ML Scenarios" and click on create

  2. “Scenario definition” screen will appear. Provide “name” and “description” for the AI/ML scenario and then click on “Define” to link the scenario with the master data. Map the Plant, Material and Operation and click on add. Further click on step 2.

  3. “Scenario configuration” screen will appear. Select visual inspection type as “binary classification”. Inspection type as “Assisted”. Click on add button and upload the “model” and “weights” file. Keep all setting like shown in below screenshot and then click on step 3

  4. “Scenario deployment” screen will appear. Add the 2 entries for conformance and non-conformance and map the NC code. Provide the class title same as class names given during training your model in step 1. Then click on step 4

  5. “Scenario testing” screen will appear. Here browse few images and test your model whether it works fine or not and shows correct results or not. Further click on “Review” button

  6. Click on “Save and activate”

  7. Saved entry will appear with status as activated


Step 3: Create and Configure Production Operator Dashboard for Visual Inspection

  1. Go to POD Designer application in Digital Manufacturing Cloud and create a POD for Visual Inspection by copying from existing POD (for e.g., DEFAULT_WC_POD) and create a page for Visual Inspection.

  2. Remove the below plugins

  3. Drag Plugin Container into your page and drag the Visual Inspector plugin from the Plugins list into the Plugin Container.

  4. To log non conformance codes directly without any plugin assigned during visual inspection in the POD, set the Enable Direct NC Logging configuration option to On for the Visual Inspector plugin.

  5. Save and Publish your POD.


Step 4: Work with Visual Inspection in Shop Floor

  1. Go to newly created POD and select respective work center and resource. Then open some SFC to work upon. Start the SFC and click on Non conformance button

  2. Click on capture and inspect, then system will propose a probability of conformant or non-conformant based on the image captured. Further choose the conformant or non-conformant button based on the assisted result.For nonconformance we can log NC as wellLogged NC can be seen on Product History page for the specific SFC

  3. All the captured data sets can be seen in manage analytical data sets


 

Conclusion -

So overall in this post I explained how we can easily integrate the AI/ML scenario in SAP DMC to enable visual inspection in manufacturing industry. Your feedback or thoughts on this are welcome.

 
1 Comment