1 Introduction

In the last decades, the development of efficient Computer-Aided Design (CAD) and Computer-Aided Engineering (CAE) tools have enabled important changes in the engineering world [1]. CAD is currently widely used from industries, academies and freelance designers for developing new products, layouts or processes [2]. The fully parametric representation of the objects allows to refine the ideas before implementing a manufacturing process, limiting the source of errors as well as the expenses. In parallel, CAE technologies are exploited for accurate behavioral modeling and support the engineers throughout the design process [3]. CAE simulations are useful, for example, to analyze the motion of components and assemblies (i.e. Multibody Analysis, MBD), to check deformation and stresses (i.e. Finite Element Analysis, FEA), to simulate the actuation system or to perform optimization studies. Compared to physical testing, virtual models have obvious advantages in terms of cost saving and capability to test the performance of several design variants in a limited time [3].

When approaching a design problem, an user-friendly platform comprising CAD and CAE tools that have the ability to co-operate is always desirable [4, 5]. For instance, the structural optimization of industrial components combines a 3D parametric model with a pre-set FEA environment, capable of applying loads and constraints to the new geometry at each iteration of the process. Following the recent literature, such problem can be solved in two different ways:

  • by implementing multi-software frameworks comprising a set of specific CAD and CAE environments that have been conceived as stand-alone [6,7,8,9,10]. A clear advantage of this method is the possibility to include special purpose tools (e.g. ANSYS, Nastran, RecurDyn, Adams, etc.) in the framework and to exploit their potentialities to characterize the mechanical system with a high level of accuracy. As a drawback, connecting software that are not natively meant to work together may require extra time and expertise.

  • by exploiting modern integrated CAD/CAE platforms (e.g. PTC Creo, Dassault system Catia and SolidWorks, Siemens NX and Solid Edge, Autodesk Inventor, etc.) [5, 11, 12], namely multipurpose virtual prototyping technologies that allow to simulate mechanical and mechatronic systems, starting from the geometrical and parametric representation of parts. The recent releases incorporate MBD and FEA solvers, but also internal optimizers. Compared to the first strategy (i.e. the multi-software approach), these packages may not satisfy high expectations when nonstandard boundary conditions as well as nonlinear analysis have to be pursued. However, the user can easily step from design to simulation without the need to deal with different software.

From a fast comparison, it is evident that the former approach is mostly exploited for research purpose, as the frameworks can be finely tailored to meet the design requirements/intents, whereas the latter is certainly suitable for industry, where easy-to-use and fast tools are still preferable. From a practical standpoint, these integrated CAD/CAE platforms allow to simulate the behavior of parts starting from the early-design stage, as schematized in Fig. 1, reducing the overall time-to-market and product cost.

Fig. 1
figure 1

Standard versus modern industrial design approach

The gradual reduction of time between two consecutive new releases from the software vendors, and the introduction of sophisticated features (such as the topological optimization [13]) definitively prove the central role that these integrated CAD/CAE tools are assuming in the current industrial scenario. As a direct effect, the CAD/CAE training programs are gaining more and more importance to make it possible for engineers to operate successfully with these advanced computer technologies [14]. In particular, the engineering educational system must evolve following the industrial trends in order to give to young engineers the adequate level of expertise [15,16,17]. The CAD courses, typically divided between first and second level degrees, have been offered in mechanical engineering curricula for decades [18]. They primarily focus on teaching the fundamentals of technical drawing and on the practical use of the tool [19], i.e. the so-called command knowledge [20,21,22]. In particular, during the first level degree, the 2D CAD tools are proved to be effective for introducing the 2D drafting of simple mechanical parts and schemes, for explaining the technical drawing symbols, notations and standards, but also basic mechanism kinematics and statics principles[23,24,25]. Then, medium/advanced courses typically introduce the 3D parametric CAD tools. Concerning the CAE courses, these are commonly given in the second level degree, i.e. when the students have developed solid basis in machine analysis/design theories. The behavioral modeling of mechanical and mechatronic systems is considered a part of procedural knowledge [26], since it trains the ability of the students in solving practical engineering problems by selecting the most convenient approach. The CAD part is usually kept as a separate entity in traditional CAE classes. The CAD model is generated and then transferred to the CAE software with neutral file formats, such as step STEP or IGES [27]. This approach surely helps the lecturers in getting the students attentions on the analysis settings (boundary conditions, materials selection and properties, algorithms, etc.) and the subsequent results post-processing techniques. As a direct effect, the students develop a vast knowledge of dedicated CAE tools, which plays a key role in their future career.

Following the above-mentioned industrial trends, aiming at reducing the gap between design and simulation environments, courses that teach integrated CAD/CAE programs are now part of many engineering curricula [28, 29] (often as optional subjects), or as part of postgraduate programs. They are focused on a single CAD/CAE package, chosen in line with specific factors, such as design capabilities of the software package, quality of results, use in industry or research, licence cost and learning difficulty [29, 30]. Recent researches considered also the possibility to employ open-source CAD/CAE software [31], though these packages (e.g. FreeCAD and OpenSCAD) have not yet reached a sufficient level to become valuable substitutes for commercial ones [32].

Building upon these introductory considerations, this paper reports a detailed overview of the Project-Based Learning (PjBL) activity [33,34,35] carried out at the University of Genova within the course named “Design of Automatic Machines”, as a part of the second level degree in mechanical engineering. The recent literature in the field of engineering education shows a growing interest in the use of PjBL as an active learning approach [36, 37] that emphasizes the project and stimulates collaboration and teamwork. Demonstrative examples are reported in [35, 38,39,40,41,42,43,44,45,46]. Practically speaking, PjBL may be interpreted as an assignment that the students have to complete by leveraging their theoretical background and by performing constructive investigations. It can be considered as an effective method for tying together several subjects. The possibility to deal with real problems shows positive results and feedback from students [40].

The proposed course is equally divided into theoretical lessons and CAD/CAE exercises, that are taught with the PjBL approach. In line with the study reported in [47], the practical part starts with a seminar given by a well-trained engineer from industry, whose role is to present a design problem related to the world of automatic machines. The mechanical system under investigation is a purposely selected subgroup, namely a planar device extrapolated from an industrial automatic machine. After a comprehensive discussion about the system functional principles and issues, the seminar ends with the assignment of a specific set of tasks, which basically replicate the design steps performed by the experienced industrial engineers, from the initial (sub-optimal) configuration to the final prototype [48]. The students are asked to solve the proposed issues, by using a single CAD/CAE software, under the supervision of the lecturers. Among the commercial CAD/CAE software, PTC Creo has been selected mainly for two reasons: i) the licence availability in the university laboratories; ii) it covers all the stages of a CAD/CAE process, from the initial CAD design to more advanced CAE simulations (MBD and FEA).

As suggested in [49] and further discussed in [35], the students are divided in groups of 2–4 people. Larger groups would obviously require more internal organization, with the concrete risk that some members carry the most of the workload. On the contrary, smaller groups will not promote the co-operation between members, that is a central characteristic of PjBL. At the end of the PjBL activity the students have potentially incremented their problem solving abilities, along with their CAD/CAE skills. Only at this stage, each group proposes a novel design improvement and writes a detailed report about the project activity. All the CAD/CAE design steps are critically discussed in an interactive oral presentation, which constitutes the 50 % of the final score. The remaining part of the exam includes a written and oral test, based on the theoretical topics presented during the course. In summary, the educational goals of the PjBL activity may be summarized as follows:

  • to develop strategic knowledge [50], i.e. to train the capability of analyzing and solving an engineering problem under a concurrent set of design constraints, and to stimulate the interactive and critical review of the results;

  • to achieve advanced specific skills in the use of industrially relevant integrated CAD/CAE tools, namely (i) parametric CAD, (ii) motion analysis with MBD solver, (iii) FEA verification of parts, (iv) internal optimization routines for design improvements;

  • to encourage students to interactively work in a group (and not individually), i.e. to participate in their own learning process and to present the results of the work (via written report and oral exposition);

  • to stimulate students’ creativity [51] in the solution of a design problem of real interest for industry. Within the problem solving activity, emphasis is put on the comparative evaluation of design variants, which are (in most cases) directly available thanks to system parametrization.

In the remaining part of the paper, the teaching methodology and the activity organization are described. A detailed explanation of the CAD/CAE design steps performed by the students is also provided. Then, the results of the teaching experience, both from students and lecturers point of view, are presented and discussed.

Fig. 2
figure 2

The proposed case study for PjBL

2 An overview of the CAD/CAE project

2.1 The case study

Table 1 Initial APD dimensions and installation data

As previously introduced, the PjBL activity starts with a seminar, in which an engineer from industry presents a new design problem and provides the main specs and requirements of the automatic machine. To correctly modulate the students’ workload over the course, which overall provides 6 credits (i.e. ECTS-European Credit Transfer System), equally divided between theoretical and practical parts, a single functional subgroup of the automatic machine is considered for the PjBL. The proposed subgroup is identified by a single Degree of Freedom (DoF) position-controlled linkage mechanism. Figure 2a, b report the last year assignment, namely a planar Automatic Pushing Device (APD), composed of a slider-crank linkage and a parallel four-bar linkage. The initial dimensions of each component (Crank, Rod, Link 1,2) are given during the seminar and are summarized in Table 1.

Fig. 3
figure 3

Students design steps within the proposed PjBL activity

Such device topology turned out to be particularly convenient for the aim of the course, essentially for three main reasons: (i) as a 1 DoF system (see Fig. 2a, b), the students are capable to easily predict the motion of each component, (ii) the CAD/CAE design process is straightforward, making it possible for the students to gain both command and strategic knowledge without any complication, (iii) a simplified version of the system, represented by the well-known slider-crank linkage depicted in Fig. 2c, can be used by the lecturers for explaining the use of the CAD/CAE tool (i.e.  PTC Creo).

2.2 PjBL activity: sequential design approach

Starting from the initial sub-optimal configuration realized in Aluminum alloy, the students will experience a sequential design process. With reference to the design flow in Fig. 3, the following CAD/CAE steps are approached, with around 4-h class time being allocated to each step:

  • Step \(\#1\) : CAD Modeling - The task is completed within the PTC Creo Assembly environment. Some parts (the ones involved in future CAE optimizations) have to be modeled, whereas the others are directly imported using neutral file formats. The APD assembly is created by assigning a set of kinematic joints.

  • Step \(\#2\) : Motion Analysis and Optimization - Once checked the proper functioning of the assembly in the virtual environment, this step explores the combined use of the MBD tool (i.e. Creo Mechanism) and the internal optimizer. A single objective optimization is performed with the aim of minimizing a pre-defined trajectory error on the platform (see Fig. 2b), namely a kinematic output requested by the user through the analysis measure tool.

  • Step \(\#3\) : Dynamic Analysis and Optimization - After assigning the material (Aluminum alloy) to all the components, the students perform a dynamic simulation to compute the required actuation torque for an assigned motion. An optimization is then run to minimize the actuation torque to the possible extent. Similarly to the previous step, the task is completed by integrating the MBD tool and the optimizer.

  • Step \(\#4\) : Structural Analysis and Optimization - The worst load case scenario is evaluated in the MBD environment by performing a dynamic simulation on the APD configuration resulting from the previous step. The loads are then automatically transferred from the MBD environment to the FEA environment (i.e. Creo Simulate) to perform static structural verification on components. A structural optimization study is then carried out on a single component (e.g. the rod) to minimize its overall mass.

  • Step \(\#5\) : Actuator Selection - After the last geometry update, the motor selection is accomplished for the assigned motion law with a last dynamic simulation in the MBD environment, from which the characteristic torque-speed curve at the crank shaft is evaluated. Such numerical curve is then compared to the available motor characteristics (taken from the manufacturer’s catalogs).

Naturally, the design process is not completely sequential and several iterations are always necessary due to the presence of critical aspects (e.g. unacceptable stress-strain condition evaluated in Step \(\#4\), etc.), that could request the review of previous steps. In the next sections, the design methodology for each of these steps is described. At the end of the PjBL activity, the students revise the whole CAD/CAE process with a critical approach before producing the final report.

3 Virtual prototyping of the automatic pushing device

3.1 Step \(\#1\): CAD modeling

Since the students involved in the course have already attended both introductory and medium CAD classes, which provide an in-depth training of the most used solid modeling features, the aim of this first design step is to teach the students the parametric modeling, i.e. the standard roles to be followed when designing parts that have to be subsequently investigated via CAE tools. Consequently, the initial APD configuration is made partially available for the students with neutral file formats. To take confidence with the parametric CAD environment, the students are expected to design the remaining parts (i.e. Rod and Link 1-2, see Fig. 2b). The exercise ends with the creation of the APD assembly, namely with the interconnection of parts through kinematic joints. The “Drag Component” tool is used to check the virtual model functioning. A regeneration option is then assigned to the model in order to set the APD’s initial position, i.e. the one in which Link 1 and Link 2 are vertical.

3.2 Step \(\#2\): motion analysis and optimization

The joints selection and application is an aspect of primary importance in view of the CAE analysis. Redundancies are excess constraints that do not apply any restrictions to the system motion, though they may lead to inaccurate results when performing dynamic analysis. Therefore, the presence of redundancies in the model is simply checked by running a kinematic analysis. The input motion can be a generic law (e.g. a constant velocity on the crank shaft), and the number of redundant constraints is made available by PTC Creo Mechanisms via the “Measure” tool. An example of overconstrained model is shown in Fig. 4a, which also represents the students’ first version of the APD model. The updated model is shown in Fig.4b.

In the following, a kinematic optimization study is conducted on the APD within the Step \(\#2\), the input being a desired motion profile for the Platform (the APD’s end-effector). With reference to Fig. 5, the dimension s, namely the length of Link 1,2, is adopted as parameter, whereas the Platform’s trajectory error with respect to an ideal pure translational path, \(\varDelta _y\), is the cost function to be minimized. For an assigned motion profile, the problem can be expressed as follows:

$$\begin{aligned} \hbox {minimize} \quad&e_{tra}=max(\varDelta _{y,i}) i=1,..,n\end{aligned}$$
(1)
$$\begin{aligned} \hbox {with respect to} \quad&s\end{aligned}$$
(2)
$$\begin{aligned} \hbox {subjected to} \quad&s_{min}\le s \le s_{max} \end{aligned}$$
(3)

where \(e_{tra}\) is the maximum error along the y-direction for the single simulation (run with n steps), whereas \(s_{min}\) and \(s_{max}\) are the parameter’s lower and upper bounds. While \(s_{min}\) can be simply assumed equal to 120 mm (i.e. the initial dimension, see Table 1), \(s_{max}\) has to be decided based on the available space within the automatic machine’s compartment. This elementary optimization problem can be easily solved without the use of the CAD/CAE tool. In fact, with reference to Fig. 4b and by defining t as time, for an assigned motion along the x-direction, \(\varDelta _x=\varDelta _x(t)\), the Link 1,2 rotation is simply obtained as \(\alpha =\arcsin {(\varDelta _x/s)}\) and the Platform’s y-displacement can be found as \(\varDelta _y=s(1-\cos {\alpha })\). The used cycloidal motion profile and the cost function are plotted in Fig. 6. As visible, \(e_{tra}\) is monotonic over the design domain and its minimum is located at \(s_{max}\) (set equal to 180 mm).

Despite its limited relevance from a design standpoint, the above described study allows to teach the combined use of the optimizer (PTC Creo Behavioural) and a CAE solver (PTC Creo Mechanism). To perform the optimization, the following tasks have to be completed in PTC Creo:

  1. 1.

    define the input motion for the Platform (Fig. 6a);

  2. 2.

    assign the programmed motion profile for the Platform, \(\varDelta _x=\varDelta _x(t)\), to C1 (or C2), being \(\alpha =\arcsin {(\varDelta _x/s)}\);

  3. 3.

    perform a kinematic simulation and evaluate the crank motion (\(\theta \) angle at R1) by means of a position measure (Fig. 6b);

  4. 4.

    set the measured profile, \(\theta =\theta (t)\), as input rotational motion at R1 and remove the previous input motion;

  5. 5.

    assign the parameter to dimension s in the CAD and make sure that all the geometrical features can correctly update whenever such parameter changes;

  6. 6.

    define the trajectory error evaluation through the MBD measure tool;

  7. 7.

    set the optimization problem (lower/upper bounds, number of iterations, tolerances, etc.);

  8. 8.

    visualize the convergence plot and the final results (Fig. 6c);

  9. 9.

    review the results and update the CAD model.

At the end of this exercise, the students are more familiar with the parametric design and are ready to deal with more complicated steps.

Fig. 4
figure 4

Critical revision of the applied joints

Fig. 5
figure 5

Parametric model for kinematic optimization: comparison between ideal and real platform’s trajectory

Fig. 6
figure 6

Imposed motion and optimization results

3.3 Step \(\#3\): dynamic analysis and optimization

After the Step \(\#2\), the CAD model is updated and checked again. The new APD’s CAD is visible in Fig. 7 (with \(s=180\) mm). The aim of Step \(\#3\) is to compute the required actuation torque for a specific input motion. To be consistent with Step \(\#2\), the cycloidal motion law shown in Fig. 6a is kept throughout the design process. Consequently, after assigning the mass properties to the APD’s components (Aluminum alloy, with density equal to \(\rho =2795\) \(kg/m^3\)), the actuation torque can be obtained via a single dynamic simulation. The motion profile shown in Fig. 6b is applied at R1, and the reaction torque is measured. The exercise is repeated with many cycle time (i.e. by scaling \(\theta (t)\) on the time-axis) so as to observe the direct effect on the computed actuation torque.

Then, by fixing the APD’s dimensions, an optimization is performed to find the most convenient actuator’s location in the frame, that is the one that minimizes the actuation torque for the required motion. Similarly to the previous step, the problem is completed by leveraging the PTC Creo Behavioural optimizer, and can be formalized as follows:

$$\begin{aligned} \hbox {minimize} \quad&M_{rms}=\sqrt{\frac{1}{n}\sum _{i=1}^{n}M_i^{2}} \end{aligned}$$
(4)
$$\begin{aligned} \hbox {with respect to} \quad&x_0 \end{aligned}$$
(5)
$$\begin{aligned} \hbox {subjected to} \quad&x_{0,min}\le x_0 \le x_{0,max} \end{aligned}$$
(6)

where \(M_{rms}\) represents the root mean square (rms) value of the actuation torque, evaluated for each candidate in a series of n simulation steps, whereas \(x_0\), assumed as design parameter, is the distance between R1 and R3 (see Fig. 7). Consequently, having set \(\alpha =0\) as the initial position (the one for \(t=0\)) in the model, a variation in the value of \(x_0\) would necessarily move the actuator’s axis location in the frontal plane, as shown in Fig. 7. To ensure that the Platform performs the same displacement along the x-direction, \(\varDelta _{x}(t)\), at each iteration of the optimization process, the motion is applied at C1 instead of R1. The angular position law, \(\alpha =\alpha (t)\), is reported in Fig. 8a.

The lower/upper bounds, \(x_{0,min}\) and \(x_{0,max}\), have to be determined based on the maximum position reached by the Platform during the motion, \(\varDelta _{x,max}\). The maximum angle at C1 is then equal to \(\alpha _{max}=\arcsin {(\varDelta _{x,max}/s)}\) and, by following simple trigonometric passages, it is possible to write:

$$\begin{aligned}&\left[ r\sin {\theta }-\left( e-s\left( 1-\cos {\alpha _{max}} \right) \right) \right] ^2 + \nonumber \\&\left[ x_0+s\sin {\alpha _{max}} -r\cos {\theta } \right] ^2=l^2 \end{aligned}$$
(7)
Fig. 7
figure 7

Parametric model for dynamic optimization: influence of the actuator’s location

Fig. 8
figure 8

Imposed motion at C1 and cost function

from which the value of \(x_{0,min}\) and \(x_{0,max}\) can be easily evaluated. By ensuring that the inertia is the only dynamic contribute in the model, in other words by neglecting all the others (joints friction/damping, external disturbances, etc.) the actuation torque at the crank shaft, M, can be evaluated at each simulation step by exploiting the power balancing principle. In practice, the reaction torque is to be measured at C1 as a direct effect of the applied motion \(\alpha =\alpha (t)\), whereas the angular velocity is available for both R1 and C1 joints. The following relation is then set as “user-defined” measure in the MBD measure tool:

$$\begin{aligned} M(t)=M_{R1}(t)=\frac{M_{C1}(t)\dot{\alpha }(t)}{\dot{\theta }(t)} \end{aligned}$$
(8)

and its rms value becomes the cost function in the optimization (see Eq. 4). As a result of varying \(x_0\), the force transmission through linkages changes in the APD, producing different torques at the crank shaft. The sub-optimal APD’s configuration, shown in Fig. 7, is characterized by a pure vertical crank for \(t=0\). As expected, the optimization tends to increase \(x_0\) so as to reduce the torque at the crank shaft as the direct effect of varying the mechanical advantage in the linkage. The cost function is reported in Fig. 8b and the minimum is found for \(x_0=247\) mm. The CAD model is then updated accordingly.

Fig. 9
figure 9

Automatic load transfer from MBD to FEA

3.4 Step \(\#4\): structural analysis and optimization

The Step \(\#4\) of the proposed design flow employs the integrated FEA solver (PTC Creo Simulate) for the structural analysis of one APD’s component. As it can be noted from Fig. 9, among the APD’s parts, the rod body is unquestionably over-sized for its task. To evaluate such excess of material, a first FEA simulation is performed on the component. Following the schematic reported in Fig. 9, the loads to be applied to the rod in the static FEA have been evaluated through a dynamic simulation in the MBD environment, with an input position law assigned at R1. Being the position law of Fig. 6b not valid when \(x_0=247\) mm (i.e. after the last model update), the phases 1 to 4 of the software procedure outlined in Sec. 3.2 have to be repeated to obtain the new motion profile for the crank. The new law generates the same output motion of the Platform, namely the one visible in Fig. 6a.

Once the dynamic simulation is completed, the worst load case scenario, namely the load-set containing the maximum value for each of the loads acting on the rod during the motion, is extracted during the post-processing and subsequently imported into the FEA environment. From a functional standpoint, this load-set may result too conservative as it comprises loads registered at different simulation steps. However, in the actual context, it copes well with the need to evaluate the rod’s safety factor, \(S_f\), defined as the ratio between the material’s elastic limit and the maximum occurred Von Mises stress in FEA. Concerning the material properties, the Young’s modulus and the elastic limit are set respectively equal to 73000 MPa and 400 MPa.

Fig. 10
figure 10

FEA results on the initial sub-optimal rod component

In the FEA environment, the rod is fixed from one extremity (the crank side) and is loaded at the other extremity with the imported loads. The selected boundary conditions aim to diversify the actuator’s side, considered more rigid, from the platform’s side, where the major inertia contributes are to be manifested. PTC Creo Simulate also allows to analyze linear problems with unconstrained models thanks to the “inertia relief” option. To remove the six DoFs, this option automatically defines a constraint set containing three-point constraints in the model. Also, the solver applies body loads that balance the external applied loads. Since the three-point constraints affect the displacement solution, this method seems not to be effective for students that approach the package for the first time. As for the meshing operations, the p-element method simplifies the element generation and does not require high expertise for completing the model. In fact, instead of constantly refining the meshes, the user can simply increase the order of the interpolating polynomials. For a detailed discussion about the p-element meshing method, the interested reader is referred to [52].

The results of the first static test, carried out on the sub-optimal rod, are reported in Fig. 10. The limited registered stress (about 1 MPa, which gives \(S_f=363\)) confirms the excess of material and lays the foundation for the subsequent structural optimization [7]. The new problem is set as minimizing the rod’s mass (or volume) while keeping the maximum displacement less than a threshold, i.e.:

$$\begin{aligned} \hbox {minimize} \quad&mass\end{aligned}$$
(9)
$$\begin{aligned} \hbox {with respect to} \quad&b_1, b_2, t\end{aligned}$$
(10)
$$\begin{aligned} \hbox {subjected to} \quad&\left| \delta _{i} \right| \le 0.01 mm i=1,..,m\end{aligned}$$
(11)
$$\begin{aligned} \quad&b_{1,min}\le b_{1} \le b_{1,max} \end{aligned}$$
(12)
$$\begin{aligned} \quad&b_{2,min}\le b_{2} \le b_{2,max} \end{aligned}$$
(13)
$$\begin{aligned} \quad&t_{min}\le t \le t_{max} \end{aligned}$$
(14)

where \(b_1\), \(b_2\) and t are the selected dimensional parameters, as in Fig. 11, whereas \(\left| \delta _{i}\right| \) is the module of the nodal displacement registered at the i-th node, being m the total number of nodes in the FEA model. The problem converged after a limited number of iterations (less than 50) and took approximately 1 hour to complete using a personal computer with an Intel(R) Core(TM) CPU @ 2.5 GHz and 16 GB RAM. The optimal parameter set is \(b_1=7\) mm, \(b_2=0\) mm and \(t=7.75\) mm. The final rod, whose behavior is reported in Fig. 12, provides a mass reduction of \(66.5\%\) with respect of the initial sub-optimal configuration, i.e. from 322 g to 108 g, with obvious benefits in terms of cost reduction and actuation effort. At last, the maximum nodal displacement is 0.1 mm, whereas the maximum Von Mises stress arising in the component is 8 MPa (\(S_f=50\)).

Fig. 11
figure 11

Dimensional parameters for the structural optimization

Fig. 12
figure 12

FEA results on the optimal rod component

The rod’s optimization is considered as mandatory for the PjBL activity. Then, as an optional assignment for the students, the above described procedure is to be applied to the rest of the APD’s parts, starting from the Link 1,2 or the Platform.

Fig. 13
figure 13

Final APD CAD model

3.5 Step \(\#5\): actuator selection

The APD’s CAD is updated to incorporate the optimized rod. Figure 13 shows the APD system and summarizes the changes made as a result of the optimizations carried out in the previous sections. To conclude the CAD/CAE project, a commercial brushless electric motor is selected for actuating the APD. The selection is quite straightforward for mechanical systems that operate in static conditions, i.e. with almost null transients, such as an electric motor pulley for lifting. On the contrary, when dealing with high-dynamic loads, the power supplied by the motor depends on the external load applied, but also on the inertia acting on the system and on other dynamic forces (e.g. damping in the parts/joints or transmission). Many procedures are available for this important step (a practical guide can also be found in [53]). The method reported hereinafter allows to perform the task within the CAD/CAE environment [54], though a calculation tool (e.g. Excel) for comparing the MBD results with the commercial available motors’ characteristics is helpful.

The selection is bound by the limitations imposed by the motor’s working range, and the choice of a specific motion law is the first parameter to be defined when sizing the motor, because it allows to extrapolate the load characteristics. To be consistent with the previous steps, the same cycloidal position law is considered in Step \(\#5\). A new set of three dynamic simulations has been carried out in PTC Creo Mechanism with an input rotational law at R1 (shown Fig. 14a) so as to obtain the APD’s torque-speed curve in the following conditions:

Fig. 14
figure 14

Actuator selection: MBD simulation results

Fig. 15
figure 15

Actuator selection flowchart

  1. 1.

    in presence of inertia;

  2. 2.

    in presence of inertia and gravity;

  3. 3.

    in presence of inertia, gravity and damping in the APD’s joints.

The numerical results, namely \(\dot{\theta }\) and M, are processed via the MBD measure tool (see Fig. 14b) and then exported from PTC Creo and imported in Excel for direct comparison with the motors’ curve obtained from the manufacturer’s catalogs, as shown in Fig. 15. The curves are overlapped as in Fig. 15, and the motor’s limit are checked. The proper actuator selection is based on the following principles:

  • The load curve must lie within the motor’s working area, namely the so-called actuator characteristic curve, whereas the rms value of the load curve must lie into the motor’s continuous working area, i.e. the central one delimited by dotted lines in Fig. 15. Methods for optimal selection of the motor reducer are discussed in [53], and they are briefly recalled during the theory classes.

  • Economically speaking, the motor’s cost increases with the motor’s dimensions. Consequently, it is mostly advisable to select smaller motors rather than over-sizing the actuation system.

Therefore, the task can be completed by selecting the cheapest available motor that fits the functional requirements. Naturally, in case of multiple motion laws or cycle times, the procedure needs to be repeated to ensure that the new conditions match with the chosen actuator.

At this point, the CAD/CAE process is checked and the final report is produced. The document summarizes the main methods and results, but it also includes a section for critical reviews and discussions about possible design improvements (e.g. new conceptual solutions [55], alternative mechanism topologies [56, 57], further optimize motion laws to reduce tracking errors or energy consumption [58, 59], etc.).

Fig. 16
figure 16

Students’ opinions about the PjBL activity in the last four academic years. Detailed statistics are reported in ac, whereas weighted average results are summarized in df

4 Survey results

From the lecturers’ point of view, in line with [60], the main factors that determine the effectiveness of the PjBL in mechanical engineering curricula are:

  1. 1.

    the level of interest shown by the students, strongly stimulated by the initial industrial seminar, which shows the real attention of the companies for both the activity and the modern integrated CAD/CAE technologies;

  2. 2.

    the students’ background in the most important disciplines of mechanical engineering (e.g. Technical Drawing and 3D CAD Modeling, Machine Design, Mechanics of Machines, etc.);

  3. 3.

    the project to be developed, which has to be configured by taking into account the groups’ size, the students’ level of expertise, and the total amount of time available for the PjBL activity.

As observed in the four years experience, dealing with simple theoretical concepts definitely improves the students’ understanding of the parametric CAD/CAE tools and ensures the correct balancing between command knowledge and strategic knowledge. Following this approach, most of the class time is spent trying to solve the sequential engineering problem through the integrated CAD/CAE tool rather than recalling complex theories. Also, there are advantages when using industrial related case studies in PjBL, since they ensure high participation and interest from the students that, for the first time in their career, play an active role and face problems with an industrial perspective. Overall, the implementation of the PjBL has been particularly satisfactory for the lecturers. As an optional subject of the last year program, the most challenging aspect for the lecturers is the non-uniform student’s CAD knowledge.

At the end of the semester, the students’ opinions about the PjBL activity are collected with anonymous questionnaires. In particular, the activity rating is summarized by three main points:

  • PjBL’s efficacy for didactic purpose;

  • quality of teaching and acquired skills;

  • consistency with theoretical background.

For each item the possible scores are: (i) No response, (ii) Absolutely NO, (iii) More NO than YES, (iv) More YES than NO, and (v) Absolutely YES. The results from the last four years are reported in Fig. 16. The statistics refers to a number of students equal, respectively, to 10 for the academic year 2015–2016, to 16 for the academic year 2016–2017, to 14 for the academic year 2017–2018 and to 28 for the academic year 2018-2019. The year over year trends are plotted in Fig. 16a–c, whereas the weighted averages based on the number of students per year are diagrammed in Fig. 16d–f. The overall positive trend of the collected feedbacks (\(\ge 69.1\%\) for each category) strongly stimulates the lecturers to continue this kind of didactic approach.

5 Conclusions

This paper has discussed about the PjBL activity implemented during the last years at the University of Genova within the course named Design of Automatic Machines. The intent of the PjBL activity is, on one hand, to show to future engineers the use of an integrated CAD/CAE design tool and, on the other hand, to stimulate the students’ ability in solving real problems and to interactively work in a group. Every year, a professional engineer from industry presents a new case study taken from a commercial automatic machine. The students are then asked to go through a sequential design process that aims at solving, step-by-step, a series of issues raised up by the engineer. All the design steps, namely the CAD assembly, the trajectory optimization, the search of the most convenient actuator’s position, the structural optimization of components and the actuator selection, are processed using a single CAD/CAE integrated package (i.e. PTC Creo). Detailed explanations of the adopted software procedures are given throughout the paper, which also summarizes the main numerical results. The last part of the paper reports the lecturers’ perspective and the students’ point of view about the PjBL activity. Based on the collected feedback, it seems that PjBL is likely to be an effective strategy to introduce to the students the design methods and tools to be utilized in their future working careers. To keep consistency with the actual industrial trends, future work will possibly integrate the topology optimization and the 3D printing technologies into the PjBL approach.