No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

217 líneas
16KB

  1. %&tex
  2. As the previous development cycle was aborted prematurely, the development cycle is repeated for the next feature.
  3. Starting with a feature selection process. Followed by the rapid development.
  4. \subsection{Feature Selection}
  5. The implementation of the end-effector proved to be unfeasible and was therefore removed from the design.
  6. This means that only two features are left.
  7. \autoref{tab:featurestab2} shows an updated feature comparison.
  8. Compared with the previous feature selection in \autoref{tab:firstfeatureselection}, the number of tests for the \ac{scara} decreased and the \ac{cof}/Time increased.
  9. This is because \autoref{test_tool_change} relied on both the \ac{scara} and the End-effector which is no longer applicable.
  10. Based on the feature comparison, the next component to implement is the \ac{scara}.
  11. \begin{table}[h]
  12. \caption{Comparison of the two remaining features in the design process. This table is an updated version of \autoref{tab:firstfeatureselection}.}
  13. \label{tab:featurestab2}
  14. \rowcolors{2}{white!100}{lightgray}
  15. \begin{tabular}{llrrrr}
  16. \toprule
  17. Feature & Dependees & Tests & \ac{cof} & \multicolumn{1}{l}{Time} & \ac{cof}/Time \\
  18. \midrule
  19. \ac{scara} & $-$ & $2$ & $50\%$ & $12$ days & $4.2$ \\
  20. \ac{cdc} & $-$ & $2$ & $30\%$ & $10$ days & $3$ \\
  21. \bottomrule
  22. \end{tabular}
  23. \end{table}
  24. \subsubsection{Evaluation}
  25. The feature selection for the second cycle is an updated selection process of the first cycle (\autoref{sec:case_feature_selection_1}).
  26. This resulted in a quick and effortless feature selection process, as most of the work was already done.
  27. \subsection{Rapid Development for \acs{scara}}
  28. \label{sec:rdfs}
  29. The goal is to present a functional model of the \ac{scara}.
  30. The requirements state that it must be able to write three characters within two seconds.
  31. And to pass \autoref{test1} it must draw a \SI{50}{\milli\meter} by \SI{70}{\milli\meter} rectangle within one second.
  32. The basic design principle is based on the initial design as shown in \autoref{fig:combined}.
  33. For the lowest detail level of the design, I decided on a kinematics model.
  34. The model is very simple as it does not implement any physics.
  35. However, the model enables me to tinker with the design parameters, such as the lengths of the linkages and joint angles.
  36. In the following steps, the level of detail is gradually increased to arrive at an elaborate model.
  37. Planning all the different steps in advance is difficult as design decisions still need to be made.
  38. Nonetheless, I can describe at least the following levels of detail for the model:
  39. \begin{enumerate}
  40. \item \textbf{Basic kinematics model:} forward and inverse kinematics, no physical behavior.
  41. \item \textbf{Basic physics model:} ideal 2D physics, ideal joints and rigid bodies with mass and inertia.
  42. \item \textbf{Basic motor behavior:} joint actuation with non-ideal DC motor.
  43. \item \textbf{Basic control law:} path planning.
  44. \end{enumerate}
  45. After these steps the optimal order of implementation for the levels of detail becomes vague.
  46. However, the following elements are required to make an elaborate model:
  47. \begin{itemize}
  48. \item Improved motor model
  49. \item 3D physics model
  50. \end{itemize}
  51. When the first design decisions are made, the succeeding levels of detail for these and other elements are laid out.
  52. \subsubsection{Evaluation}
  53. The current steps in the rapid development are difficult to perform.
  54. There is, unsurprisingly, lack of a clear vision of the end-product, which makes an explicit description of every level of detail not realistic.
  55. However, it was still possible to describe steps for the initial levels of detail in the design.
  56. The remaining elements, that are essential to the design, take shape in a later stage of the development.
  57. Apart from this small deviation, the deliverables of this step are a good start of this development cycle.
  58. \subsection{Variable-Detail Approach}
  59. The following steps is to increase the level of detail of the model.
  60. The initial model together with the set of steps in the detail level is inherited from the previous design step.
  61. To start, I implement the basic model and implement the different levels of detail.
  62. Based on the model after those steps, it is possible to make more detailed design decisions.
  63. The decisions make it possible to plan the subsequent levels of detail.
  64. Implementing these details results in a competent model.
  65. \subsubsection{Basic Design Implementation}
  66. \begin{marginfigure}
  67. \centering
  68. \includegraphics[width=0.9\linewidth]{graphics/scara_arm_kinematics.pdf}
  69. \caption{Basic kinematics of the \ac{scara}. The arm consists of two linkages $a$ and $b$; two joints $\alpha$ and $\beta$; and a point mass $m$ which represents the end-effector/tool.}
  70. \label{fig:scaraarm}
  71. \end{marginfigure}
  72. The development starts with the basic model shown in \autoref{fig:scaraarm}.
  73. The model consists of the forward and inverse kinematics of the design.
  74. With this kinematics model it was easy to find a suitable configuration of the \ac{scara}.
  75. I tested if the \ac{scara} reaches the required operating area, to satisfy system requirement 14.
  76. The operating area is a couple of centimeters away from the base of the \ac{scara}.
  77. This is to avoid the singularity point that lies at the base of the \ac{scara}.
  78. Resulting in the arms being longer than strictly necessary but it reduces the operating range for the angles of the joints, allowing for simpler construction.
  79. At this point, there are already multiple design decisions made about the position of the operating area and the arm lengths.
  80. As second detail iteration the basic physics of the model are implemented.
  81. The model is in the form of a double pendulum, with two actuated joints.
  82. The ideal motors in the joints give the \ac{scara} unlimited acceleration.
  83. Replacing the ideal motors with a DC-motor gives an indication about the torque required for operation.
  84. Implementing a simple PID-controller allows the \ac{scara} to follow the rectangular path as described in \autoref{test1}.
  85. The simulation allowed me to determine the minimum requirements of the motors.
  86. The motors must be able to deliver at least \SI{0.2}{\newton\meter} of torque and reach an angular velocity of at least \SI{12}{\radian\per\second}.
  87. \subsubsection{Detailed design decisions}
  88. The basic model gave some valuable insight about the dynamic behavior of the system.
  89. However, the current configuration is very simple but requires a motor in the joint.
  90. In \autoref{fig:scaradesign}, this setup is shown as configuration 1.
  91. The disadvantage is that a motorized joint is heavy, which has to be accelerated with the rest of the arm.
  92. Other configurations in \autoref{fig:scaradesign} move the motor to a static position.
  93. Configuration 2 is a double arm setup, but has a limited operating range, caused by a singularity region in the system when both arms at the top are in line with each other.
  94. Configuration 3 also has such a singularity, but due to the extended top arm this point of singularity is located outside of the operating range.
  95. However, this configuration requires one axis with two motorized joints on it.
  96. Even though this is possible, it does increase the complexity of the construction.
  97. By adding an extra linkage, the actuation is split as shown in configuration 4.
  98. Configuration 4 is the preferred option for the \ac{scara}.
  99. \begin{figure}
  100. \centering
  101. \includegraphics[width=0.875\linewidth]{graphics/scara_design.pdf}
  102. \caption{Four different \ac{scara} configurations. The colored circles mark which of the joints are actuated. Configuration 3 has two independently actuated joints on the same position.}
  103. \label{fig:scaradesign}
  104. \end{figure}
  105. The current implementation with DC-motors require a feedback controller that compensates for external forces.
  106. Such feedback control requires a position sensor for each motor.
  107. A simpler solution is to use stepper motors instead.
  108. The advantage of a stepper motor is that it is designed to maintain a specific angle.
  109. The stepper motors make it possible to use a feedforward controller.
  110. This removes the need for a position sensor.
  111. The stepper motors are havier than the DC-motors
  112. However, as the new configuration places the motors on the \ac{cdc}, the additional mass is benificial.
  113. The rapid movement of the \ac{scara} creates a reaction force on the \ac{cdc}.
  114. With a heavier \ac{cdc}, the reaction force results in less movement of the \ac{cdc}
  115. Unfortunately, the stepper motors are more expensive than simple DC-motors.
  116. Nonetheless, the extra costs are easily compensated as it saves development time due to the simplified control law, and the removed need for extra angle sensors used in feedback control.
  117. Due to the aborted implementation of the end-effector, the \ac{scara} must also lift the marker of the board.
  118. With the fourth configuration (\autoref{fig:scaradesign}), it is possible to add an extra joint in the linkage.
  119. As the marker only needs to be moved a couple of millimeters from the board, a simple hobby servo suffices.
  120. \subsubsection{Advanced Detail Implementation}
  121. The design decisions made in the previous sections, make it possible to plan the next steps of adding detail.
  122. The following steps are an addition to the steps as described in \autoref{sec:rdfs}:
  123. \begin{enumerate}
  124. \setcounter{enumi}{4}
  125. \item \textbf{Advanced motor behavior:} Stepper motor behavior.
  126. \item \textbf{Advanced physics model:} Updating physics model to 3D physics.
  127. \item \textbf{Advanced marker lifting:} Marker lifting behavior, servo lifts marker of the board.
  128. \end{enumerate}
  129. Starting by replacing the DC-motor with a stepper motor model, which is based on a model by \textcite{karadeniz_modelling_2018}.
  130. The controller is updated as well, to accommodate for the behavior of the steppers.
  131. The next step is to implement a dynamic model of configuration 4 in \autoref{fig:scaradesign}.
  132. The dynamics of the \ac{scara} are based on a serial link structure \autocite{stramigioli_geometry_2001}.
  133. This serial link structure makes it easy to add and extend joints, bodies and mass points to the system.
  134. Therefore, the last detail, the marker lifting, was added without any difficulty.
  135. The servo is connected via a linkage with the marker such that it rotates away from the board.
  136. \subsubsection{Component Design}
  137. At this point the development has reached a detailed design together with a dynamic model representing that design.
  138. The dynamic model is a useful tool to test and evaluate the system behavior.
  139. However, it does not include the shapes of the components and can therefore not be used to evaluate clearance or collision between components.
  140. By implementing the design using CAD software, it is possible to inspect for collisions.
  141. Furthermore, this model is then also used to print the custom parts.
  142. For the mechanical part I used OpenSCAD as CAD software, based on prior experience with the software.
  143. With this it was possible to implement all the custom components as well as the \ac{ots}-components.
  144. To inspect how the components moved, the inverse kinematics model is implemented in the CAD drawing as well.
  145. The inverse kinematics made it possible to insert cartesian coordinates, resulting in a dynamic CAD design.
  146. Using different orientations of the end-effector allowed me to inspect the clearance between the different components.
  147. Following the rectangular path as defined in \autoref{test1} revealed that collisions occurred between parts.
  148. These collisions were resolved by adding an indentation in one linkage and moving another linkage.
  149. These changes are shown in \autoref{fig:scad_clearance}
  150. The complete setup with the custom parts and the \ac{ots}-components, such as stepper motors, servo and marker, is shown in \autoref{fig:scad_carriage}.
  151. \begin{figure}
  152. \centering
  153. \includegraphics[width=0.8\linewidth]{graphics/scad_scara_circles.png}
  154. \caption{
  155. CAD of the \ac{scara} configuration, with the end-effector oriented in the lower left corner of the operating area.
  156. The configuration has been adapted at the two circled points, to resolve collisions in this orientation.
  157. An indentation was made to ensure that the arm can make the required angle.
  158. The bottom linkage was located above the joints as depicted in the fourth configuration in \autoref{fig:scaradesign}.
  159. This was moved to below the actuated joints as it did collide with the end-effector.
  160. }
  161. \label{fig:scad_clearance}
  162. \end{figure}
  163. \begin{figure}
  164. \centering
  165. \includegraphics[width=0.8\linewidth]{graphics/scad_carriage.png}
  166. \caption{Rendered 3D model of the \ac{scara}, including steppers, marker and servo.}
  167. \label{fig:scad_carriage}
  168. \end{figure}
  169. \subsubsection{Evaluation}
  170. The complete development was rather smooth.
  171. However, this was not without deviating from the original design plan.
  172. It was not feasible to define all different levels of detail before the start of the development.
  173. Prior to the design, it was possible to plan 4 levels of detail.
  174. After implementing these levels of detail, the design decisions taken made it possible to define additional levels of detail.
  175. In total there are seven predefined levels of detail in the design, meaning that there must also be seven test cycles.
  176. However, I noticed that testing occurred more often than seven times.
  177. During the design, running the simulation of the dynamics is easy.
  178. Resulting in extremely short feedback loops, sometimes even minutes.
  179. For example, changing the arm lengths and evaluate the new behavior.
  180. Did it improve? Is this as expected?
  181. These small intermediate tests were often implicitly created and are not the tests as specified in the test protocol (\label{app:test_specification}).
  182. Nonetheless, they provide insight that is valuable for the design process.
  183. The interesting question here is whether these small tests should be part of the design process and what it would add to the design process.
  184. \subsection{Conclusion of Development}
  185. At this point, the development of the \ac{scara} is completed.
  186. According to the design plan, the next step for the development is the implementation of the \ac{cdc} feature.
  187. However, the evaluation of the development until this point resulted in enough information to draw conclusions about the design plan.
  188. I expect that executing this development a third time is not beneficial to the case study, given the additional effort.
  189. Time is better spent on the realization of a prototype and evaluating the current design method.
  190. Therefore, the next section goes into the construction of the prototype instead of the development of the \ac{cdc}.