Keywords

1 Introduction

Conducting a MODAPTS analysis usually involves several components that would allow for a successful feasibility study, this includes but not limited to understanding an activity by video analysis or continuous observation, analysing possible efficiencies from that observation, and most importantly an in-depth knowledge of the MODAPTS time standard and its principles to prove those efficiencies. Mastering the MODAPTS time standard can be a bit challenging and rather complicated for the engineer [1]. The total time it takes to conduct a MODAPTS study may take too long due the nature of the observed activity and converting those activity tasks to MODAPTS code. MODAPTS is rather an old-fashioned time standard when looking at its inception and application, but efforts were made to simplify the time standard in multiple environments. Applications such as clerical, transit, janitorial and sewing are some of the options an engineer may explore. These applications are dated and too wordy, specifically when looking to solve a problem as an engineer today, in this era of 4IR. Suffice to say the world has changed drastically today from the 1960’s era to the era of the 4IR. Furthermore, the adoption of Artificial Intelligence (AI) has made it easier to solve difficult problems experienced in the past [2,3,4].

Merging the MODAPTS time standard with solutions birthed from 4IR such as machine learning, can help reduce the complexity and improve efficiency when conducting feasibility studies. A notable example is research conducted by Wu et al. [5], who proposed incorporating motion analysis to the MODAPTS time standard by adding an extensive ergonomics template called Principle Components Analysis (PCA). The study found that the PCA-based approach was rated 80.08% amongst its participants and was more efficient at three minutes as opposed to the one hour that it took using the traditional MODAPTS approach. Another notable inclusion was a wearable sensory glove proposed by Mallembakam [1], the research focused on using a Bluetooth module mounted onto a glove that translated hand movements into MODAPTS code, this was compared to the traditional MODAPTS approach and it was found that the glove showed reliable and reputable results with that of using MODAPTS the conventional way.

An untapped field that would be an impactful inclusion is the merger of MODAPTS and machine learning. Today machine learning is more prevalent making it easier to solve difficult problems and improve livelihoods [6,7,8]. A massive advantage to researching machine learning techniques is that they are largely open sourced when looking at big data [9], and can be applied to the MODAPTS time standard.

The significance of this study is that a consolidation of multiple MODAPTS process keywords was collected for continual neural network training. Furthermore, a potential pattern recondition system to assist the engineer during observations may emerge through continues use of the ANN research template. Hence, the research looks at a form of Machine Learning called Artificial Neural Networks (ANN) as an application to MODAPTS with the aim to improve the activities involved during time study observations whilst making use of the MODAPTS time standard. Hence, this research will look to solve the issue of rapidity and the ease of use in conducting a MODAPTS study making use of machine learning.

2 Methodology

A chatbot using ANN was created and packaged on an html page presented to the research participants making use of a mobile device. The experiment used five material handling written scenarios to emulate the observation process, looking at the traditional approach when conducting a MODAPTS time study then followed by the ANN solution making use of the chatbot.

The chatbot measured each research participant against several key attributes that defined the user experience toward the chatbot application. The experiment used a simple NN chatbot to employ a MODAPTS conversation with the research participants. The focus was on the predicted MODAPTS code produced by the chatbot, each time a research participant presented an activity. Primary data was collected from MODAPTS time studies produced by DSV and was used to train the chatbot. This was mostly dialect in the form of keywords showing how DSV described their process activities.

The chatbot was build making use of the python programming language, it used a ML module called Keras to train and implement the NN. The python code was executed using an integrated development environment called PyCharm.

2.1 The Chatbot Intent File

Constructing a chatbot consisted of several programming files working together to create the application. The chatbot was first initialised with a JavaScript Object Notation file called “intents.js”. This file defined the possible intentions that could take place during interactions with the chatbot [9,10,11,12,13]. Figure 1 shows a snippet of the “intents.js” file.

Fig. 1
A 17-line code of intents dot j s file includes the tag, patterns, and responses as M 2 G 1.

Code snippet of the “intents.js” file

The intents file consisted of a tag element i.e., a subcategory that a user query might fall into. Each terminal class “get” and “put” were paired with a movement class element and the degree of difficulty to form the tag. Any query for example that used the “hand” movement to “get” (terminal) an object with an “easy” degree of difficulty would fall under the “hand_get_easy” tag or subcategory.

The next element in the intens.js file was the patterns, a group of keywords that a user query must contain to fall under a specific tag or subcategory. The patterns keywords were created using synonyms of the terminal class (get, put) paired up with the movement class and the degree of difficulty. A user query “Pick box using your hand at an easy stance” will fall under the “hand_get_easy” category as the keywords “pick”,” hand” and “easy” are present in the query.

Once a user query falls under a tag, then the chatbot will issue a response found under the responses keyword. The response of the user query was the MODAPTS code designated for the tag [14].

Table 1 shows an example of a general query made to the chatbot NN.

Table 1 Example of a chatbot query

The chatbot was able to break down sentences if the user was able to split activities of the sentence using a period, comma or the “And” keyword. Each research participant was given this example including a list of rules and conversion table to use when querying the chatbot.

Table 2 shows the MODAPTS symbol conversion when querying the Chatbot NN.

Table 2 Conversion table

2.2 Deployment of the Experiment

The chatbot was deployed to the research participants making use of a webpage using a mobile device. The code for the chatbot was packaged and stored on a server and accessed on request by the web page using the flask micro web framework. A user request would be captured on webpage, then sent to the server to query the chatbot NN, then perform some MODAPTS calculations and then finally returns the results to the user on the webpage.

The front-end used a styling toolkit called Bootstrap to position and place the elements onto the webpage. The backend contained a database to hold user actions, MODAPTS data and user information while the application was being used.

Each research participant was first given a questionnaire asking basic experiential questions relating to MODAPTS. Once the questionnaire had been completed then the participants were given the five scenarios to read and conduct a MODAPTS study with the acquired information. A stopwatch was used to measure the total duration that each research participant took to complete the MODAPTS study for each scenario and was recorded.

The next step involved giving each participant an android device with the machine learning webpage. They each were required to sign up to use the application which was helpful as their tracked user data could be stored and accessed anytime and anywhere with aid of a local database. They each assessed the MODAPTS scenarios again this time making use of the ML App. The scenarios were built into the application and were accessed through a touch of a button. The application was able to record MODAPTS durations from the time each research participant logged onto the application until the time they had signed off.

The data generated from the application by the participants were collected and simultaneously sent to a database preparing them for analytical studies.

Acquiring this information required building an ANN chatbot to interact with the user, developing a web interface for that chatbot and finally, employing elements in the application that would keep record of the statistics needed to define that potential improvement.

There were setbacks in acquiring some primary data but ultimately scenarios were created to facilitate that shortfall. The prerequisites of the experiment took time to compile but was necessary to extract crucial information about the research participants. All these elements individually contributed to finding the total time to compare MODAPTS and the ML approach.

2.3 Testing the Chatbot Neural Network

Testing the chatbot involved creating a python file that would access the saved model, submit the user query, and give the prediction. Each prediction was assessed based on the intents file, if an error occurred then the intents file was adjusted, and the model was re-trained. This repeated action was done on the terminal of the IDE and then applied to the UI once the testing was completed and chatbot acceptable for use. Figure 2 shows the testing code snippet.

Fig. 2
A set of two codes, one with an 8-line code including a for loop with an if condition and another code with 11-line including an if loop with an if condition.

Code snippet for testing the NN chatbot

3 Results and Discussion

The section is divided into two parts, first part focused on the results and analysis of the Machine Learning App approach of conducting the same MODAPTS study while the last part compared the two approaches in relation to the final duration with aid of a t-test analysis.

3.1 Error Accumulation

Error accumulation monitors all errors generated by the research participants while making use of the application. The frequency of each error correlates to a difficulty in use of the application or a particular deficiency in understanding the MODAPTS language from the research participant. Errors monitored included: editing an activity, deleting an activity, input length error and MODAPTS code error.

Table 3 depicts the error entries made by each research participant throughout all scenarios.

Table 3 Error entities by scenario

There was a total of thirty-two errors done by the research participants. None of these errors contributed significantly to the functionality of the application but impacted the total time. The error for “description length” was encountered the most, a total of nineteen times appearing in four of the five scenarios. The error was a timestamp recorded each time the prediction button was pressed with no activity added. This mistake was expected as the prediction button needed to be pressed to activate the chatbot. Figure 3 shows a clustered column graph of the accumulated application errors.

Fig. 3
A bar graph plots the application errors as follows, code, 3, delete, 4, description length, 16, and activity, 3.

Application errors

3.2 Total Duration

The total duration is a measure that analyses the total time it takes to conduct a MODAPTS study using the NN application. A timestamp is added each time the research participant log’s in or sign’s up into the NN application. Another timestamp is added each time a research participant logs out of the application. The two timestamps are the subtracted from each other to gain the total duration through by scenario.

Table 4 shows a snippet of the entries entered each time a user log’s in, sign’s in and log’s out of the application.

Table 4 Activity durations

The total average time each research participant took to perform a study using the chatbot NN was 11.2 min. Scenario 5 displayed longest time, but this was caused by an outlier from research participant 4 with the higher duration of 21 min. The lowest recorded total average and duration was scenario 1, this was expected as the scenario had the least number of activities, and its aim was to gently introduce the participants to the chatbot application.

3.3 Discussion of the Traditional and ML Approach Results

The research participants reacted well to conducting a MODAPTS study under traditional means, this was expected as it is the norm. Introducing the ML application was at first a learning curve but gradually became easier through each scenario as shown by a 41.2% decrease in App navigation time from each participant. Hence, the notion mentioned by Wu et al. [5] with regards to a learning deficiency that new engineers face when presented with MODAPTS becomes less challenging and more manageable during study creation. A novice engineer can focus on describing the activity rather than the complex steps involved in MODAPTS code formulation.

The neural network was able to accurately predict the MODAPTS code of 94.7% of the 262 activities entered by the research participants. This is in line with the findings of existing studies that have indicated the suitability of the neural network for predictive purpose [15,16,17] This aspect saved a considerable amount of time that the research participants would have used to formulate the MODAPTS code. The total average time each research participant took to perform a study using the chatbot NN was 11.2 min. Furthermore, when looking at phase 3 of the framework developed by Kumar et al. [18], activity formulation becomes simpler due to the library of keywords that initially and consistently get added through the continuous use of the ANN.

The App alternative proved to be 0.25 min faster than the traditional approach when used under the same conditions. The difference may be small, but the ML approach performed well to produce equal results under first time users as compared to the already establish excel template used by an adept participant. This was echoed by the approach followed by Mallembakam [1] and Wu et al. [5] who implemented innovative tools along with the MODAPTS time standard to match and even reduce the duration of conducting MODAPTS time studies. This proves that MODAPTS can be paired external solutions to better the performance of the time standard.

The ML chatbot however had challenges understanding some activities as it had a deficiency when deciphering a particular group of MODAPTS code. The group consisted of the element’s “R”, “E” and the finger movement, which caused the application to record an error or forced the research participant to manually input the code forfeiting the prediction.

Furthermore, the application had no method of handling repetition when inputting an activity. This drastically increased the time that each research participant spent when using the ML alternative during the experiment. All code related errors have been fixed and the potential of decreasing the final ANN time is evident when the consistent repetition is removed from the application.

4 Conclusion

The objective of this study was to test the neural network using operational scenarios against the traditional MODAPTS observation approach. This was achieved by packaging the created ANN chatbot template into an html page and handing that to the research participants to use and test. Five written scenarios were also used to traditionally create the MODAPTS time study using four activities. These two approaches were compared with each other to find the most effective and fastest method.

Furthermore a user-friendly and workable ANN MODAPTS template was developed. This was achieved as the chatbot was packaged onto an HTML page and deployed onto a mobile device. The template was built to be user friendly geared for the research participant as it made use of a styling framework called bootstrap. The results obtained indicated that the ANN was found to be 0.25 min faster at a prediction rate of over 90% when the chatbot was in use. The result also showed that machine learning could indeed be used with MODAPTS to equal performance and potentially improve the use of the time standard. The neural network was able to accurately predict the MODAPTS code of 94.7% of the 262 activities entered by the research participants. This saved a considerable amount of time that the research participants would have used to formulate the MODAPTS code. The total average time each research participant took to perform a study using the chatbot NN was 11.2 min. The activity formulation becomes simpler due to the library of keywords that initially and consistently get added through the continuous use of the ANN.

The time difference may be small, but the ML approach performed well to produce equal results under first time users as compared to the already establish excel template used by an adept participant.

The ANN approach makes it far easier to implement MODAPTS in multiple industries due to the chatbots customisable keywords and dialect recognition. A wealth of MODAPTS data is far more easily reachable as the template would be online to be used. The results show that MODAPTS ML template replaces tedious MODAPTS analysis done on the computer with a mobile alternative that consistently records user and study analytics for the betterment of overall analysis. The template has great potential for improvement and refinement when looking at efficiency, it makes data sharing amongst engineers easy due to its descriptive database.

The potential to add other ML learning techniques and time study methods exists, the template is flexible enough to be moulded into a tool that all engineers can adapt in their different working environment not just only automotive. Future works can test the neural network against the traditional MODAPTS observation approach using other operational scenarios for more performance evaluation.