1 Introduction

In recent years, the field of robotics has undergone a radical transformation with the emergence of human–robot collaboration (HRC). Collaborative robots (also known as cobots) have the ability to work alongside human operators without the need for fences or barriers, thus performing tasks that complement human skills and reduce physical effort [1, 2]. This collaboration allows the effective use of human dexterity, adaptability and problem-solving skills, combined with the precision, speed and repeatability of robots [3].

In the manufacturing sector, HRC has revolutionised the assembly process by combining the unique capabilities of humans and robots. Assembly processes, which are a critical task of manufacturing operations, have traditionally relied on human workers to perform complex tasks. However, limitations inherent in human capabilities, such as physical fatigue, cognitive limitations and repetitive task stress, have prompted the search for alternative solutions to optimise the assembly workflow [4]. Coupled with the continued refinement of robotics and artificial intelligence, HRC has opened up new ways to improve the efficiency, productivity and quality of assembly operations [3].

Another key aspect driving the adoption of HRCs in assembly processes is mass customisation within the framework of Industry 4.0 [5]. In today’s market, customers are increasingly demanding customised products. This trend shifts the production paradigm from mass production to mass customization, in which companies must be able to meet different customer demands with a flexible production system [6]. In this intricate framework demanding flexibility and precision, mass customisation strategies have been found to greatly benefit from product family approaches, which cater effectively to the burgeoning customer demands. The principle underpinning this approach involves the creation of a product platform composed of compatible modular components. These modules can be configured to generate a multitude of diverse products, each designed for different purposes yet sharing certain common characteristics [7]. However, such an approach leads to greater complexity in the production system and in the products themselves. In this new manufacturing paradigm, where flexibility and precision are required, the symbiosis between human and robot offers a promising solution to meet these challenges [8].

This paper aims to explore and analyse the various aspects of the use of HRC in assembly processes, making a comparison with purely manual assembly. It examines several problems in today’s manufacturing, including the benefits of human–robot collaboration, the challenges of system integration and the impact on productivity and assembly quality of such integration. The aim is to investigate whether the assembly complexity and the nature of the assembly process have an impact on the performance of the process itself. In detail, the following Research Questions (RQs) are addressed:

  • RQ1: Does the productivity and quality of the assembly process depend on the assembly complexity and the product characteristics within a product family?

  • RQ2: Are there statistically significant differences in process productivity and quality between different assembly systems (a manual system, a cobot-assisted system and a cobot system with camera assistance) when applied to various products within a product family?

To answer these questions, three different experimental campaigns for the assembly of electronic boards were carried out. The first experiment consisted of a fully manual assembly of electronic boards, while the other two experiments involved a collaborative robot to support the operator during the assembly. The study of electronic board assembly is motivated by its widespread use in HRC industry applications [9]. Furthermore, electronic boards allow different products to be assembled from the same components, thus emulating the growing demand for customised products in today’s market.

The remainder of the paper is organized into six sections. Section 2 introduces the main application of HRC in assembly processes. Section 3 summarizes the main definitions of assembly complexity and defines the methodology proposed to assess the assembly complexity of electronic boards. Section 4 illustrates a case study concerning the practical application of the proposed methodology in manual and collaborative assembly processes. Section 5 presents the research methods, while Section. 6 discusses the experimental results. Finally, Section. 7 concludes the paper.

2 HRC and assembly processes

The manufacturing industry is witnessing a notable transition in automation and robotics, moving away from traditional mass production models and embracing the era of mass customization. This shift has prompted extensive research and development efforts to address the challenges posed by unstructured industrial environments [6, 10]. As a result, traditional manufacturing approaches are being reimagined to ensure seamless integration between human workers and intelligent machines like cobots. This necessitates the development of novel methodologies and technologies that facilitate efficient collaboration, enhance productivity and enable swift adaptation to changing production demands.

The shift from mass production to mass customisation mainly influenced the assembly and disassembly processes [11]. This can be attributed in part to the fact that the assembly process, unlike an automated process, allows for customisation of products. Particularly, an assembly process can be defined as a series of sequential activities involving the joining of geometrically defined parts, components and software to create functional products [12]. This process has distinct characteristics compared to traditional manufacturing, such as a large number of parts, numerous variations, frequent production interruptions and shorter cycle times. Accordingly, given the human cognitive ability and flexibility to adapt to different situations, assembly systems have traditionally relied on human labour and have remained separate from traditional automation [13].

Nevertheless, on-going developments in automation and collaborative robotics, as well as the incorporation of artificial intelligence and machine learning, present significant opportunities to improve assembly processes. The goal is to develop intelligent systems that can easily interact with human operators and understand, adapt and respond to changing assembly needs. The integration between humans and robots in assembly processes can lead to three main advantages [13, 14]:

  • Increased efficiency: Collaborative robots are excellent at performing time-consuming and repetitive tasks, freeing human workers from tedious tasks. Cobots greatly improve assembly line productivity by automating these processes, reducing cycle times and increasing throughput.

  • Improved quality: The accuracy and consistency of collaborative robots help assembly operations produce higher-quality products. The possibility of errors and rework is reduced by cobots’ ability to maintain high levels of precision during component insertion, tightening and other critical assembly operations.

  • Flexibility and safety: The collaborative configuration allows human dexterity and adaptability to be combined with the precision and repeatability of cobots. This collaboration is made possible by the use of advanced sensors and algorithms to detect and respond to human presence, enabling cobots to work safely alongside human operators. This feature eliminates the need for physical barriers, making cobots a more flexible alternative for assembly operations.

This collaborative configuration is commonly observed in manufacturing environments. One example is the automotive sector [15, 16], where cobots are used to assist human operators with tasks such as tightening bolts, installing seals, fitting bearings and lifting heavy loads. Another important application is in the electronics industry (which will be discussed in this paper), where cobots assist operators in assembling electronic circuit boards [17]. In both industrial sectors, the use of cobots has led to improvements in efficiency, quality and safety, while reducing the risk of repetitive strain injuries for human operators.

However, the HRC working environment is dynamic and complex. These systems must be able to grow and adapt to different configurations as they are designed to deliver a wide range of products. In this context, intelligent job allocation becomes crucial, requiring complex design to meet the requirements of intelligent production systems. Innovative approaches to human–machine collaboration are required due to the dynamic nature of product requirements and the ever-changing socio-economic environment. Industry and researchers are being forced to explore new approaches to meet these changing needs and effectively address the complexities of collaborative assembly in the age of smart manufacturing [4].

3 Assembly complexity of electronic boards

Recent research has shown that assembly complexity plays a fundamental role in the performance of operators and assembly processes [18, 19]. Assembly complexity has been shown to affect key performance indicators such as assembly time, quality defects and production costs. The implications of these findings are far-reaching. Complex tasks or processes tend to have longer assembly times because they require additional steps or complex procedures and increase the likelihood of quality defects [20]. In addition, increased assembly complexity can lead to higher production costs due to the need for specialised resources, advanced equipment or additional labour [21, 22]. It is therefore essential to recognise and manage assembly complexity effectively to optimise operator and production process performance.

In order to analyse how assembly complexity affects the productivity and quality of a process, the assembly of ARDUINO electronic boards was considered in this study. These boards allow the utilization of similar components for assembling high personalized products characterized by varying degrees of assembly complexity, all while ensuring real-time monitoring of proper assembly and functionality.

3.1 Assembly complexity modelling

As stated above, modelling the assembly complexity is crucial for studying the productivity and quality of the process. Several articles and reviews already exist addressing methods to assess and manage assembly complexity in manufacturing [21, 23,24,25]. In this paper, the assembly complexity model based on Huckel’s molecular theory is used to assess the assembly complexity of electronic boards [26]. By dividing assembly complexity into the definition of different factors, Hückel’s theory simplifies the modelling of assembly complexity. This model can determine the assembly complexity of any network-based engineering system, taking into account three key factors: the complexity of the individual components (\({C}_{1}\)); the pairwise interaction between the connected components (\({C}_{2}\)); the overall topology of the system (\({C}_{3}\)). By combining these three factors, it is possible to quantify the overall assembly complexity (denoted by \(C\)) with the following expression:

$$C={C}_{1}+{C}_{2}\bullet {C}_{3}$$
(1)

\({C}_{1}\) refers to the intricacy of managing and interacting with each individual component in isolated conditions. It measures the complexity associated with handling the product component. \({C}_{1}\) can be calculated as:

$${C}_{1}=\sum_{m=1}^{N}{h}_{m}$$
(2)

where \(N\) is the total number of product components, and \({h}_{m}\) is the handling complexity of component \(m\). The handling complexity \({h}_{m}\) can be calculated using the Lucas method [27], a method rooted in the principles of design for assembly (DFA). Using a point scale, the Lucas method provides a relative measure of assembly difficulty that results in a normalized handling complexity index. This index considers a range of factors such as the size, weight, handling difficulty and orientation (alpha and beta symmetry) of each individual component (see Table 1).

Table 1 Difficulty of component handling attributes.

The Lucas method assigns a distinct handling complexity index to each component, as it will be illustrated in Section. 3.2 for the electronic boards. The higher the value of \({h}_{m}\), the more challenging it becomes to handle and position the component on the board. These values are determined as:

$${h}_{m}=\frac{{h}_{m}^{A}+\sum_{1}^{{N}_{B}}{h}_{m}^{B}+{h}_{m}^{C}+{h}_{m}^{D}}{{h}_{max}}$$
(3)

where \({h}_{m}^{i\in \left\{A,B,C,D\right\}}\) is the handling difficulty of \(i\) th attribute, \({N}_{B}\) is the number of applicable handling difficulties related to attribute B, and \({h}_{{\text{max}}}\) is the theoretical maximum value for the handling index (i.e., 6.9, according to Table 1).

\({C}_{2}\) is the complexity of connections and liaisons between parts. According to Eq. (4), \({C}_{2}\) is calculated as the sum of the complexities of the pairwise connections present in the product structure:

$${C}_{2}=\sum\nolimits_{m=1}^{N-1}\sum\nolimits_{n=m+1}^{N}{l}_{mn}\bullet {i}_{mn}$$
(4)

where \({l}_{mn}\) is the complexity in achieving a connection between components \(m\) and \(n\), and \({i}_{mn}\) is the (\(m,n)\) th entry of the binary adjacency matrix (AM) of the product. The complexity \({l}_{mn}\) is calculated with the Lucas method [27], by using the difficulty of connection attributes in Table 2.

Table 2 Difficulty of component connection attributes.

The Lucas method provides a standardised assembly index that takes into account various physical attributes that contribute to assembly complexity. These attributes include factors such as component positioning and fastening, assembly direction, visibility, alignment and resistance to insertion. The index penalises those physical attributes that directly affect the difficulty of the assembly process. Accordingly, \({l}_{mn}\) is obtained as follows:

$${l}_{mn}=\frac{{c}_{d}^{E}+{c}_{d}^{F}+{c}_{d}^{G}+{c}_{d}^{H}+{c}_{d}^{I}+{c}_{d}^{J}+{c}_{d}^{K}}{{c}_{{\text{max}}}}$$
(5)

where \({c}_{d}^{j\in \left\{E,F,G,H,I,J,K\right\}}\) is the handling difficulty of \(j\) th attribute, and \({c}_{{\text{max}}}\) is the theoretical maximum value for the connection index (i.e., 13.1, according to Table 2).

In Eq. (4), \({i}_{mn}\) is defined by using the symmetric binary adjacent matrix (AM) of the product. Each entry in the AM matrix indicates the presence of an assembly connection between two components. Accordingly, \({i}_{mn}\) can assume two different values:

$${i}_{mn} =\left\{\begin{array}{c}1,\;if\;there\;is\;a\;connection\;between\;m\;and\;n\\ 0,\;otherwise\end{array}\right.$$
(6)

Finally, topological complexity \({C}_{3}\), i.e., the complexity of product architectural pattern, is defined as:

$${C}_{3}=\frac{{E}_{AM}}{N}=\frac{\sum_{q=1}^{N}{\delta }_{q}}{N}$$
(7)

where \({E}_{AM}\) is the matrix energy of AM, i.e. the sum of the singular values \({\delta }_{q}\) of AM [28]. Since the adjacency matrix AM is a symmetric matrix of size \(N\times N\) with all diagonal elements equal to zero, the singular values correspond to the absolute eigenvalues of the adjacency matrix. The \({E}_{AM}\) value increases when the system moves from centralised to more distributed architectures.

3.2 Complexity of electronic boards assembly

An experimental campaign was conducted to assemble a product family composed of six different variants of electronic boards using the ARDUINO UNO starter kit (ARDUINO®). Fig. 1 shows the six electronic boards assembled during the experiments. The aim of the experiment was to study the complexity of assembly and how it affects assembly time and the quality of the assembled products. In particular, using electronic boards as an assembly product has two main advantages: firstly, they allow a high degree of customization of products using the same starting components; secondly, they are widely used in HRC [17]. As shown in Fig. 1, the ARDUINO boards consist of three main parts: (i) the components that are assembled (e.g. wires, pushbuttons, resistors), (ii) the microcontroller that enables the circuit’s functionality and (iii) the breadboard where the circuits are built. This particular type of breadboard has rows and columns of holes that conduct electricity, enabling the components to be connected without soldering. Each of the six selected products (P1-P6) required a different number and type of components to connect to the breadboard (see Table 3).

Fig. 1
figure 1

Example of the six assembled electronic boards a product 1 (P1); b product 2 (P2); c product 3 (P3); d product 4 (P4); e product 5 (P5); f product 6 (P6)

Table 3 Characteristics of the six assembled electronic boards (P1-P6)

The assembly complexity of the six selected electronic boards was assessed according to the method described in Section. 3.1. Table 4 shows the values calculated for the six selected boards (P1-P6), which were selected to cover a wide range of assembly complexity. Notably, despite the number of parts of product P5 being higher than the number of parts of product P6, the total assembly complexity (\(C\)) of P6 is higher than that of P5. This is due to the different combinations of complexity components (\({C}_{1}\), \({C}_{2}\), \({C}_{3}\)), which consider not only the number of components, but also their nature and connections.

Table 4 Assembly complexity of the six assembled electronic boards (P1-P6)

Table 5 reports the handling complexity (\({h}_{m}\)) and the connection complexity (\({l}_{mn}\)) of each product component of the six electronic boards. Each component has a different value of \({h}_{m}\) and can assume different values of \({l}_{mn}\). Thus, if a product is composed of several components with high handling complexity and high connection complexity, it is more complex to assemble. The different values of \({l}_{mn}\) depend on the connection between the parts and the breadboard. For example, the connection complexity of long wires to the breadboard ranges from 3.7 to 6.3, depending on how the component is inserted into the breadboard and on the other components that are already connected. The intermediate connection complexity value of 5.3 is given if the wire needs to be bent to make the connection, while 6.3 is assigned if the connection is made with reduced visibility (as per Table 2). It is important to note that each component is always connected to the breadboard in the specific case of electronic boards (thus, \(n\) is always the breadboard (see Eq. (4) and (6))

Table 5 Components handling complexity (\({h}_{m}\)) and connection complexity of each component with the breadboard (\({l}_{mn}\)) in the six electronic board variants (P1–P6)

In this first experiment, cognitive effort was not taken into account because the aim was to analyse how different assembly configurations of different types of the same product family affected process performance. The aim was therefore to investigate how the complexity of an assembled product (linked to the nature of the product itself) affected the process. Future work plans to integrate cognitive effort of the operator for a broader comparison of different assemblies, using parameters such as electrothermal activity and heart rate variability [29].

4 Assembly systems

In order to answer the research questions (RQ1 and RQ2), three different experimental campaigns for the assembly of electronic boards were carried out. The first campaign was a fully manual assembly of the boards, where the operator was responsible for the entire assembly process (see Section. 4.1). In the other two campaigns, a cobot assisted the operator during the entire assembly process, based on their actual application in companies using cobots in assembly. In the first collaborative experiment, the cobot only had logistical functions to pick up the parts at predefined positions (see Section. 4.2), while in the second collaborative experiment, the cobot also recognized the parts to be picked up using a camera (see Section. 4.3). During the experiments, information on assembly times and defects was collected. The aim was to investigate the relationship between time and defects and board assembly complexity, and whether these relationships were affected by the assembly system.

Each of the three experimental campaigns involved six expert operators, different for each experiment, for a total of 18 operators. Before the assembly trials, the operators were given preliminary training to ensure a consistent level of skill among the participants and reduce the impact of varying skill levels on the results. The training aimed to familiarise the operators with the assembly process and equipment. To avoid unwanted learning effects, the six operators assembled the six boards in a random order according to an experimental design.

The assembly process consisted of two distinct phases: an assembly phase and a quality control phase. In the assembly phase, each electronic board was assembled manually or with the cobot support, according to the selected assembly strategy. In this first phase, information on assembly time and in-process defects, i.e. defects occurring during the assembly process [30], was collected. On the other hand, during the quality control phase, an operator experienced in performing quality control checked and detected any remaining defects in the electronic boards. The expert was the same for all three experimental campaigns. During the quality control phase, data on quality control time and offline defects, i.e. defects detected during the control phase [30], were collected.

The sequence of the assembly operations was the same for all three assembly systems and was predefined according to the circuit theory [31]. In particular, for the circuit to work properly, there should be an uninterrupted path between the power source and the lowest energy point (ground). In addition, the current will always follow the path of least resistance to ground when presented with multiple options since components within the circuit dissipate electrical energy by converting it into different forms, such as light, heat and sound. During the three experimental campaigns, the operators were provided with a PC containing the circuit diagram of the boards to be assembled, in order to facilitate the implementation of the predefined assembly sequence.

4.1 Manual assembly system

In the manual assembly experiment, the six operators manually assembled the six electronic boards. The electronic parts were arranged in the ARDUINO UNO starter kit box according to their type (e.g. long wires, short wires, resistors), and the operators searched for and selected the correct part to assemble. Following the predefined assembly strategy, the operators took each part out of the box and assembled it on the breadboard (see Fig. 2a). Thus, in manual assembly, the operator was responsible for all operations, from selecting the parts from the box to the overall assembly. As a result, the operator’s cognitive load in manual assembly was significantly higher than in the other two assembly systems. Figure 2b shows the workstation of the manual experiments.

Fig. 2
figure 2

a Schematic of the manual assembly process; b Manual assembly workstation

4.2 HRC assembly system

In the first collaborative assembly (labelled as HRC assembly), a UR3e cobot by Universal Robots™ was used to assemble the six electronic boards. In the HRC assembly, the human operator was relieved of the task of selecting and picking the correct parts, now done by the cobot. To enable the assembly process, the OnRobot™ RG6 gripper available at Mind4Lab (Manufacturing for Industry 4.0 Laboratory) of Department of Management and Production Engineering of the Politecnico di Torino was used. This type of gripper is often used for handling larger loads. However, its adaptability allows it to be used for handling small components, such as those found in electronic devices. In future applications (see Section. 7), it is planned to use an ad hoc gripper for such electronic components (e.g., the OnRobot™ 2FG7 parallel gripper) in order to reduce the cobot’s spatial occupation within the workstation and increase its speed of movement.

Table 6 provides a comprehensive overview of the cobot and gripper parameters used during the collaborative assembly. Specifically, the collaborative robot uses two different types of motions: MoveJ and MoveL. The MoveJ movement involves the simultaneous positioning of each joint, resulting in a curved trajectory for the tool. MoveL, on the other hand, allows the tool to move linearly between waypoints. For both types of motion, the critical parameters for identification are the speed and the maximum acceleration of the joint. For the gripper, the main parameters are the distance between the fingers when the gripper is open and the gripping force when the gripper is closed.

Table 6 Cobot and gripper parameters

During the assembly phase (see Fig. 3a), the cobot supplied the necessary components to the operator, who assembled the boards in the predetermined order. In particular, the operator controlled the logistics activities by activating the cobot with a button located near the workstation. Then, the cobot took the parts positioned in a foam support placed on the workstation and handed them to the operator, who connected the supplied part to the breadboard. Obviously, in the absence of a camera, the parts were placed on the foam support in a specific position on the workstation, which was declared to the cobot programming software prior to the experiment. It is important to note that the work-related performance measure is based on assembly time only, which does not include the time spent positioning the parts in the workstation. This exclusion is further supported by the empirical observation that the time required to set up the workstation and arrange the parts in the three assembly systems (manual, HRC, and smart HRC) is comparable (around two minutes for each). Figure 3b shows the collaborative workstation used during the experiment.

Fig. 3
figure 3

a Schematic of the HRC assembly process; b HRC assembly workstation

4.3 Smart HRC assembly system

In the Smart HRC assembly (labelled as S-HRC assembly), the cobot was equipped with the OnRobot™ Eyes camera. OnRobot™ Eyes is an integrated vision system that enables part recognition by the collaborative system. The camera can be positioned on the cobot arm or outside the cobot. However, to accommodate the limited space at the workstation, the camera was positioned outside the cobot (see Fig. 4b). The speeds and movements of the cobot’s joints are the same used in the experiment without the camera (see Table 6). However, due to the limited space available in the workstation, the cobot operated at 50% of its maximum speed to avoid accidental collisions between the cobot and the camera. In fact, especially when picking up parts further away from the storage area, the excessive speed of the cobot when returning to the storage area could cause a collision between the joints closer to the base of the cobot and the external camera. The limitations are due to the fact that the workstation, originally designed for different tasks, has been adapted for the current application. Future tests will include a bespoke redesign for the board assembly process and the use of a more specific gripper (see Section. 7).

Fig. 4
figure 4

a Schematic of the S-HRC assembly process; b Smart HRC assembly workstation

To ensure accurate part recognition, the OnRobot™ Eyes system required an initial camera calibration phase. This involved setting the exposure level, white balance and light intensity emitted by the camera (lighting system allowing the camera to operate independently of the external lighting conditions). For the experiments, the default values specified in the OnRobot™ Eyes manual were used as calibration settings, i.e. exposure level 14%, white balance 20% and light 50%.

After the calibration phase, the camera was programmed to detect the parts using the Eyes Locate function. This function allowed the part detection area to be defined and the detection modes to be selected. Two modes were used in the case study: location by outline and location by colour and size. The location by outline mode was used to detect large components such as the breadboard, LCD, battery snap and DC motor. This mode relied on shape recognition to accurately identify the parts. On the other hand, the location by colour and size mode, which relies on colour and size attributes, was used for all other small components.

Leveraging the capabilities of the OnRobot™ Eyes system, the cobot was able to effectively detect and identify different parts during the assembly process. The combination of external camera placement, camera calibration and the specific detection modes employed facilitated efficient and accurate part recognition, contributing to the overall success of the collaborative assembly task. In addition, this configuration allows the human operator to concentrate more on the assembly operations, freeing him/her from the task of picking up parts. This reduces the cognitive load on the human operator, who tends to make fewer mistakes because fewer tasks have to be performed [32].

As with the HRC assembly, the operator was in control of the process. By pressing a button near the workstation, the operator activated the cobot and the camera for the recognition phase. During this phase, the collaborative system retrieved the components positioned in the foam support placed on the workstation according to the camera’s instructions. Using the Eyes Get Workpiece and Eyes Pick functions, the camera communicated the spatial coordinates of the identified workpieces to the cobot. Working at speeds reduced to 50% and according to the parameters shown in Table 6, the cobot picked up the workpieces identified by the camera and transported them to the human operator for assembly. In particular, when faced with two identical parts, the cobot consistently prioritised the selection of the left most part, given its closer proximity to the assembly station. After receiving the part, the operator proceeded to assemble the board following the predefined assembly order. This process, schematized in Fig. 4a, continued until the board assembly was complete. This systematic approach ensures a consistent workflow and facilitates the seamless integration of the cobot’s capabilities with the human operator’s role in the assembly process.

5 Research method

As mentioned above, data on productivity and quality of the process and product were collected during the three experimental campaigns. The main goal was to investigate the relationship between productivity and quality and the assembly complexity of the six electronic boards. The performance measures for this study were carefully selected considering their alignment with the study objectives and a comprehensive literature review. Although numerous metrics exist for evaluating collaborative systems’ performance, the chosen measures of assembly time and total assembly defects were considered the most appropriate for this study due to their widespread use in the manufacturing industry.

Regarding process productivity, information on assembly time and quality control time was collected during each experimental campaign. However, quality control time was not further investigated in each assembly system after testing for non-significance at the 95% confidence level using a one-way ANOVA (p value greater than the significance level of 0.05). Instead, the assembly time increased more than linearly with the assembly complexity. In particular, according to residual analysis, the most suitable model to represent this relationship was the power law model, as follows:

$$AT=\alpha \bullet {C}^{\beta }$$
(8)

where \(AT\) is the assembly time, \(C\) is the assembly complexity evaluated according to Eq. (1), and \(\alpha\) and \(\beta\) are the nonlinear regression coefficients. This suggests that the cognitive effort and deliberation time required for assembly operations increases significantly as assembly complexity increases.

Concerning the defects, for each product variant assembled in each assembly system, the total number of defects divided into in-process defects and offline defects was recorded (see Table 7). During the process, the assembly operators and the quality control operator indicate the number of defects found in each category for each assembled board.

Table 7 Classification of in-process and offline defects

A “wrong part” means inserting the wrong part on the board. An example is using a short wire instead of a long wire or using a 10 kΩ resistor instead of a 1 MΩ resistor. The “wrong position” defect refers to the incorrect positioning of the component on the breadboard. In this case, the part picked up is correct, but its position on the board is incorrect. “Part not taken” refers to the failure of the cobot to pick up the part required for assembly in collaborative assemblies. A “slipped part” occurs when the cobot picks up the correct part, but it slips during transport to the operator. A “defective part” occurs when the robot or operator damages the part during pick up. Finally, an “incorrectly inserted part” is defined as a correct part that is inserted in the correct position, but not inserted properly to allow current to flow through the circuit. Obviously, Part not taken and Slipped part, which are cobot errors, refer only to the assembly phase of collaborative experiments.

The process defectiveness was analysed in terms of total defects (i.e. the sum of in-process and offline defects), as they are representative of the overall quality of the assembly process. In particular, to study the relationship between total defects and assembly complexity, the Poisson regression model was used, as the total defects are count data [33]. The logarithm and square root link functions were considered, and different models were compared up to the third order of the predictor (i.e. assembly complexity \(C\)). The selection of the best model was made based on Akaike’s corrected information criterion (AICc) and Bayesian information criterion (BIC), goodness-of-fit tests (Deviance and Pearson tests) and deviance residual plots [33, 34]. According to the results, the most appropriate Poisson model was the one using the square root link function, represented as:

$$TD=\gamma \bullet {C}^{2}$$
(9)

where \(TD\) is the total number of defects, \(C\) is assembly complexity evaluated according to Eq. (1), and \(\gamma\) is the regression coefficient.

6 Results and discussions

6.1 Experimental results

According to the models presented in Section. 5, the results of the analysis are reported in Tables 8 and 9. Table 8 refers to productivity data, i.e. assembly time data, whereas Table 9 refers to quality data, i.e. total defects data. For both tables, the data are reported separately for each assembly system (i.e. manual, HRC and S-HRC) and in the order used during the experiments, i.e. a random order (Obs). The experimental values (Value) and the fitted values (Fit) are also provided. The experimental values are those actually collected during the different tests. The fitted values are point estimates of the mean response for given values of the predictors, calculated by entering the specific values for each observation in the data set into the regression model equation. The fitted values in Table 8 were obtained according to Eq. (8), while the fitted values in Table 9 were obtained according to Eq. (9). For each fitted value, the corresponding 95% confidence intervals are reported. The regression coefficients with their 95% CIs are reported in Table 10 (see Section. 6.2).

Table 8 Assembly time (AT) results of the three experimental campaigns
Table 9 Total defects (TD) results of the three experimental campaigns

According to the model in Eqs. (8) and (9) and the data in Tables 8 and 9, research question RQ1 (reported in Section. 1) can be answered with the following finding:

  • F1: The assembly complexity and the characteristics of a product within a product family affect the productivity and the quality of assembly processes.

This finding is valid for all three assembly systems, both in terms of assembly times and total defects. In fact, according to Eq. (8), assembly times (associated to process productivity) increase following a power trend when increasing assembly complexity. This implies that an increase in assembly complexity leads to a more than proportional increase in assembly time. On the other hand, according to Eq. (9), the relationship between defects (associated to process quality) and assembly complexity is modelled using a Poisson model with square root link function. Thus, also total defects increase more than linearly with increasing assembly complexity. These results show that increased assembly complexity leads to more defects, not just because of the higher number of components, but due to the intricate interactions and precision required for connections. Each additional element introduces new potential for errors, extending assembly time and raising the defect rate. This finding aligns with previous studies in this domain, which was primarily conducted on distinct electromechanical products and workstations without a specific emphasis on product families [19, 28]. Therefore, the uniqueness of the current study lies in its examination and quantification of assembly complexity’s influence on productivity and quality within the context of a product family, encompassing a range of products with varying degrees of complexity in different assembly processes.

6.2 Comparison between assembly systems

In order to answer the second research question (RQ2), the curves in Fig. 5 were plotted using the data from Tables 8 and 9. Figure 5 shows the regression curves of assembly time (Fig. 5a) and total defects (Fig. 5b) versus assembly complexity for the three assembly systems. Each curve is presented with its respective 95% confidence intervals, indicating that the regression lines closely follow the curvature of the points and that there are no systematic deviations from the fitted lines. It has to be noted that in Fig. 5, the 95% confidence intervals are limited to zero (for both assembly times and total defects) since time and defects cannot assume negative values.

Fig. 5
figure 5

Comparison between Manual, HRC and S-HRC systems on (a) assembly time (AT) and (b) total defects (TD)

Regarding assembly time, as mentioned in Section. 5, it increases more than linearly with assembly complexity for all three systems. This trend is modelled by the power law model defined in Eq. (8). Figure 5a shows the three curves, one for each system, which describe this relationship between assembly time and assembly complexity. Since the 95% confidence intervals of the three regression curves overlap, no statistical differences between the three assembly systems in terms of assembly times at the 5% significance level are evidenced.

On the other hand, as far as total defects are concerned (see Fig. 5b), in all three assembly systems, the total assembly defects follow the same trend as a function of assembly complexity, i.e. the Poisson model with a square root link function, according to Eq. (8). As shown in Fig. 5b, the 95% confidence intervals of the three regression curves do not overlap. This implies that there is a difference in the estimated ranges of total defects produced by each of the three assembly systems (i.e. significant differences between manual and HRC, manual and S-HRC, HRC and S-HRC scenarios). Consequently, the lack of overlap between these intervals for the three systems indicates that the differences in mean total defects between the systems are statistically significant at the 5% significance level.

The same considerations can be inferred from a numerical point of view by analysing the data in Table 10, which presents the main results of the regression curves shown in Fig. 5. Table 10 reports the estimated regression parameters (\(\alpha\), \(\beta\), \(\gamma\)), their standard error (SE(\(\alpha\)), SE(\(\beta\)) and SE(\(\gamma\))), i.e. the variation in the estimated mean response for the predictors, and the 95% confidence interval for each regression parameter. In particular, regarding assembly time, Table 10 shows that the 95% confidence intervals for the \(\alpha\) and \(\beta\) parameters of all three assembly systems models overlap. On the other hand, in terms of total defects, Table 10 shows that the three 95% confidence intervals of \(\gamma\) do not overlap.

Table 10 Main outputs from non-linear regression for assembly time vs assembly complexity and Poisson regression for total defects vs assembly complexity

Thus, in responding to the second research question RQ2 (reported in Section. 1), the following finding is obtained:

  • F2: A statistically significant difference exists in the quality of the assembly process across various assembly systems when applied to different products within a product family. Conversely, such a difference is not observed in the productivity of the assembly process.

This new finding, which has not been analysed in previous studies, is quite interesting. In fact, the results show that the way in which parts are selected and transported by or to the operator, whether in manual or cobot-assisted systems, does not significantly affect assembly times. As a result, the analysis shows that there are no significant differences in the assembly times associated with the manual, HRC and S-HRC systems at the 5% significance level. This result is particularly noteworthy given that the S-HRC system operates the cobot at a reduced speed of 50%. This underlines the promising potential of this intelligent system; optimal usage could potentially translate to a substantial reduction in assembly time. In the context of this case study, however, fully realising this potential would necessitate alterations to the collaborative system’s workstation architecture or the adoption of a more refined camera for part recognition.

On the other hand, in terms of quality, the assembly system influences the occurrence of total assembly defects. On closer inspection, and using a 5% significance level, the results show that the HRC system generates fewer errors than the manual system, which in turn produces fewer errors than the S-HRC system. Accordingly, in this specific case study, the HRC system outperforms in terms of quality as it effectively eliminates part selection errors, a common issue in manual assembly. Barring situations where the part is incorrectly picked or slips during transport to the operator, the cobot consistently delivers accurate selection. Contrary to expectations, the S-HRC assembly system exhibited the highest total defects. The primary factor contributing to this outcome is the restricted and the instability of the current camera vision system, which has proved inadequate in consistently and accurately recognizing the parts to be assembled. It is important to note that the parts comprising the breadboard are quite small, with diverse colours and sizes, which can exacerbate the challenge. The camera currently in use is low resolution and, coupled with the still-maturing system, leads to a high error rate in part recognition. The characteristics of the assembled parts—their minute size, different colours and sizes—present an intricate scenario for the vision system, causing it to struggle with part recognition accuracy. However, these findings should not be misinterpreted as inherent flaws within the S-HRC assembly system itself. Instead, they underscore the urgent need to enhance the vision system, particularly its ability to accurately recognise a range of distinct parts. This could be achieved either by using a higher resolution camera or by refining the image processing algorithms. These improvements could ultimately optimise both the productivity and quality of the S-HRC assembly system.

7 Conclusions

In recent decades, collaborative robots have gained popularity in assembly processes due to their ability to work alongside human workers, improving efficiency and safety. This study has explored the effect of assembly complexity on assembly time and total defects across three distinct assembly systems, specifically designed for electronic board assemblies within a product family. The Manual system involved full manual assembly of the boards, while the human–robot collaboration (HRC) system utilised a cobot for the pick-and-place tasks. The Smart Human–Robot Collaboration (S-HRC) system expanded upon the HRC setup by incorporating a camera for part recognition. The aim is to address a range of issues related to modern manufacturing, such as the benefits of human–robot collaboration, the difficulties of system integration and the impact of such integration on output and assembly quality.

Across all three experimental settings, a power-law trend was observed linking increased assembly complexity with extended assembly time. Interestingly, no significant difference in assembly time was found between the three systems at the 95% confidence level. When focusing on total defects, a super-linear increase with increasing assembly complexity was also observed. However, the three systems exhibited notable differences. Specifically, the HRC system outperformed, showing the highest quality output, followed by the manual system. The S-HRC system lagged behind, with a significantly higher total number of defects compared to the other two systems. The main factors contributing to this discrepancy were the inadequate camera capability for accurate part recognition within the S-HRC system and the limited space within the workstation.

Addressing the research questions posed, the study findings confirmed that assembly complexity plays a significant role in influencing both assembly time and total assembly defects (RQ1). Furthermore, the use of different assembly systems leads to significant differences (at the 5% significance level) only for total assembly defects, but not for assembly time (RQ2). It is important to note that these results are based on experiments with certain initial constraints. Hence, future research plans to venture into other facets of Human–Robot Collaboration, which includes cobot engagement in more complex tasks, with human intervention directed towards support and critical decision-making. The use of machine learning algorithms to define real-time strategies (instead of pre-set ones) based on the parts available at the workstation is another future research prospect.

In conclusion, the S-HRC, despite its current limitations, shows promise as a solution to the assembly process within product families, particularly for components with a high number of customizable variants. Its vision system reduces the necessity for frequent workstation reconfiguration and lessens the time and effort spent on part selection compared to both the HRC and Manual systems. Even with a limited operating speed due to space limitations, the S-HRC system still yields assembly times statistically comparable to the other systems. However, the underdeveloped camera vision system, particularly its struggle to accurately recognize smaller parts such as cables, led to a higher defect rate.

Future research will prioritise the refinement of the vision system and the expansion of sample sizes to increase statistical robustness and improve the generalisability of findings. At the same time, the quantification of cognitive effort expended by operators during various assembly tasks will be explored to provide a more nuanced understanding of assembly complexity. In addition, a critical objective on the horizon involves the development of bespoke workstations and gripping mechanisms tailored for electronic board assembly. This initiative is driven by the need to overcome existing spatial constraints and to optimise the assembly environment. By integrating customised physical interfaces, this strategy aims to streamline assembly operations, potentially reducing assembly times and defect generation. This multi-faceted approach, which blends technological upgrades with ergonomic innovations, will strengthen the overall effectiveness of the S-HRC system in the context of electronic board assembly, providing a comprehensive strategy for enhancing both human and system performance.