Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

210 рядки
16KB

  1. %&tex
  2. As the previous development cycle was aborted prematurely, the development cycle is repeated for the next feature.
  3. \subsection{Feature Selection}
  4. The implementation of the end-effector proved to be impractical.
  5. This means that only two features are left.
  6. \autoref{tab:featurestab2} shows an updated feature comparison.
  7. Compared with the previous feature selection in \autoref{tab:firstfeatureselection}, the number of tests for the SCARA decreased and the Risk/Time increased.
  8. This is because \autoref{test_tool_change} relied on both the SCARA and the End-effector which is no longer applicable.
  9. Based on the feature comparison, the next component to implement is the SCARA.
  10. \begin{table}[]
  11. \caption{Comparison of the two remaining features in the design process. This table is an updated version of \autoref{tab:firstfeatureselection}.}
  12. \label{tab:featurestab2}
  13. \begin{tabular}{|l|l|l|l|l|l|}
  14. \hline
  15. Feature & Dependees & Tests & Risk & Time & Risk/Time \\ \hline
  16. SCARA & - & 2 & 50\% & 12 days & 4.2 \\ \hline
  17. Carriage & - & 2 & 30\% & 10 days & 3 \\ \hline
  18. \end{tabular}
  19. \end{table}
  20. \subsubsection{Evaluation}
  21. The feature selection for the second cycle is an updated selection process of the first cycle (\autoref{sec:case_feature_selection_1}).
  22. This resulted in a quick and effortless feature selection process.
  23. \subsection{Rapid Development for SCARA}
  24. The goal is to present a functional model of the SCARA.
  25. The specifications state that it must be able to write three characters within 2 seconds.
  26. And to pass \autoref{test1} it must draw a \SI{50}{\milli\meter} by \SI{70}{\milli\meter} rectangle within 1 second.
  27. The basic design principle is based on the initial design as shown in \autoref{fig:combined}.
  28. For the lowest detail level of the design, I decided on a kinematics model.
  29. The model is stays very simple as it does not implement any physics.
  30. However, the model enables me to tinker with the design parameters, such as the lengths of the linkages and joint angles.
  31. In the following steps, the level of detail is gradually increased to arrive at a competent model.
  32. Planning all the different steps in advance is difficult as design decisions still need to be made.
  33. Nonetheless, I can describe at least the following levels of detail for the model:
  34. \begin{enumerate}
  35. \item Basic kinematics model, no physics.
  36. \item Basic physics model, ideal 2D physics.
  37. \item Basic Motor behavior, 2D physics with non-ideal DC-motor.
  38. \item Basic control law, path planning.
  39. \end{enumerate}
  40. After these steps the optimal order of implementation for the levels of detail becomes vague.
  41. However, the following elements are required to make a competent model:
  42. \begin{itemize}
  43. \item Improved motor model
  44. \item 3D physics model
  45. \end{itemize}
  46. When the first design decisions made, the succeeding levels of detail for these and other elements are laid out.
  47. \subsubsection{Evaluation}
  48. The current steps in the rapid development are difficult to perform.
  49. There is, unsurprisingly, lack of a clear vision of the end-product.
  50. Which makes an explicit description of every level of detail not realistic.
  51. However, it was still possible to describe the initial steps in the level of detail of the design.
  52. The remaining elements, that are essential to the design, will take shape in a later stage of the development.
  53. Apart from this small deviation, the deliverables of this step are a good start of this development cycle.
  54. \subsection{Variable Detail Approach}
  55. The following steps is to increase the level of detail of the model.
  56. The initial model together with the set of steps in the detail level is inherited from the previous design step.
  57. To start, I will implement the basic model and implement the different levels of detail.
  58. Based on the model after those steps, it is possible to make more detailed design decisions.
  59. The decisions make it possible to plan the subsequent levels of detail.
  60. Implementing these details as well, results in a competent model.
  61. \subsubsection{Basic Kinematics Model}
  62. \begin{marginfigure}
  63. \centering
  64. \includegraphics[width=0.9\linewidth]{graphics/scara_arm_kinematics.pdf}
  65. \caption{Basic kinematics of the 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.}
  66. \label{fig:scaraarm}
  67. \end{marginfigure}
  68. The development starts with a basic model model as shown in \autoref{fig:scaraarm}.
  69. It consists of the forward and inverse kinematics of the design.
  70. With this kinematics model it was easy to find a good configuration of the SCARA.
  71. I tested if the SCARA could reach the required operating area, to be able to satisfy specification \ref{threecharspec}.
  72. The operating area is a couple of centimeters away from the base of the SCARA.
  73. This is to avoid the singularity point that lies at the base of the SCARA.
  74. Resulting in longer arms than strictly necessary but this reduces the operating angles of the joints allowing for simpler construction.
  75. At this point, there are already multiple design decisions made about the position of the operating area and the arm lengths.
  76. The second detail iteration adds the basic physics of the model.
  77. This model was in the form of a double pendulum, with two attenuated joints.
  78. The ideal motors in the joints made gave the SCARA almost unlimited acceleration.
  79. As the one of the goals is to get an indication on what the required torque for these joints is, the ideal motors are replaced with basic DC-motors.
  80. Implementing a simple PID-controller allowed the SCARA to follow the rectangular path as described in system test \ref{test1}.
  81. Based the simulation, it was possible to determine minimum specifications of the motors.
  82. 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}.
  83. \begin{marginfigure}
  84. \centering
  85. \includegraphics[width=0.9\linewidth]{graphics/scara_20sim_model.png}
  86. \caption{3D plot of the current implementation. The rectangular shapes represent are the linkages and implemented as rigid bodies.
  87. The sphere on the origin and the one between both linkages represent the actuated joints.
  88. There is no inertia implemented for these joints.}
  89. \label{fig:scara_20sim}
  90. \end{marginfigure}
  91. The current implementation can be seen in \autoref{fig:scara_20sim}.
  92. Now that the model forms a basic with the non-ideal motors, basic physics and a control law, it can be used to make some estimates.
  93. The model was configured to follow the required path in the specified amount out time according to System Test \ref{test1}.
  94. The torque required gave a rough estimate of the required actuation force of the motors.
  95. \subsubsection{Detailed design decisions}
  96. The basic model gave some good insight and information about the dynamic behavior of the system.
  97. However, the current configuration is very simple but requires a motor in the joint.
  98. In \autoref{fig:scaradesign}, this setup is shown as configuration 1.
  99. The disadvantage is that a motorized joint is heavy and has to be accelerated with the rest of the arm.
  100. Other configurations in \autoref{fig:scaradesign} move the motor to a static position.
  101. Configuration 2 is a double arm setup, but has quite limited operating range, caused by a singularity region in the system when both arms at the top are in line with each other.
  102. Configuration 3 also has such a singularity, but due to the extended top arm this point of singularity is outside of the operating range.
  103. However, this configuration requires one axis with two motorized joints on it.
  104. Even though this is possible, it does increase the complexity of the construction.
  105. By adding an extra linkage, the actuation can be split as shown in configuration 4.
  106. \begin{figure}
  107. \centering
  108. \includegraphics[width=0.875\linewidth]{graphics/scara_design.pdf}
  109. \caption{Four different SCARA configurations. The colored circles mark which of the joints are actuated. Configuration 3 has two independently actuated joints on the same position.}
  110. \label{fig:scaradesign}
  111. \end{figure}
  112. The actuation of the arm is done with stepper motors, which have the advantage over DC-motors with their holding torque.
  113. The holding torque removes the need of a feedback controller to compensate for external forces.
  114. Instead, the stepper motors can be fully operated with a feedforward controller.
  115. However, they are heavier and more expensive.
  116. The additional mass is beneficial as increased inertia of the base, reducing the displacement due to the reaction force of the SCARA acceleration.
  117. 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.
  118. Due to the aborted implementation of the end-effector, the SCARA must also lift the marker of the board.
  119. The chosen configuration of the SCARA makes it possible to add an extra joint in the linkage.
  120. As the marker only needs to be moved a couple of millimeters from the board, a simple hobby servo suffices.
  121. \subsubsection{Advanced Detail Design}
  122. The new concrete design decisions, make it possible to plan the next steps of adding detail.
  123. The following steps are an addition to the steps as described in the previous section:
  124. \begin{enumerate}
  125. \setcounter{enumi}{4}
  126. \item Stepper motor behavior.
  127. \item Updating physics model to 3D physics.
  128. \item Marker lifting behavior, servo lifts marker of the board.
  129. \end{enumerate}
  130. Starting with replacing the DC-motor with a stepper motor model, which is based on a model by \textcite{karadeniz_modelling_2018}.
  131. The controller is updated as well, to accommodate for the behavior of the steppers.
  132. The next step is to implement a dynamic model of configuration 4 in \autoref{fig:scaradesign}.
  133. The dynamics of the SCARA are based on a serial link structure \autocite{dresscher_modeling_2010}.
  134. This serial link structure makes it easy to add and extend joints, bodies and mass points to the system.
  135. Therefore, the last detail, the marker lifting, was added without any difficulty.
  136. The servo is connected via a linkage with the marker such that it rotates away from the board.
  137. \subsubsection{Component Design}
  138. At this point the development has reached a detailed design together with a dynamic model representing that design.
  139. The dynamic model is a useful tool to test and evaluate the system behavior.
  140. However, it does not include the shapes of the components and can therefore not be used to evaluate clearance or collision between components.
  141. By implementing the design using CAD software, it is possible to search for collisions.
  142. Furthermore, this model can than also be used to print the custom parts.
  143. For the mechanical part I used OpenSCAD as CAD software, based on prior experience with the software.
  144. With this it was possible to implement all the custom components as well as the \ac{ots}-components.
  145. Using the inverse kinematics model from the basic design of the SCARA, the angles were directly applied on the components in system.
  146. Allowing me to change the configuration of the SCARA and inspect the clearance between each component.
  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 SCARA configuration, with the end-effector orientated 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 could make the required corner.
  158. Furthermore, the bottom linkage has been moved from above to below the actuated joints, as this linkage would otherwise collide with the end-effector.
  159. }
  160. \label{fig:scad_clearance}
  161. \end{figure}
  162. \begin{figure}
  163. \centering
  164. \includegraphics[width=0.8\linewidth]{graphics/scad_carriage.png}
  165. \caption{Rendered 3D model of the SCARA, including steppers, marker and servo.}
  166. \label{fig:scad_carriage}
  167. \end{figure}
  168. \subsubsection{Evaluation}
  169. The complete development was rather smooth.
  170. However, this was not without deviating from the original design plan.
  171. It was not feasible to define all different levels of detail before the start of the development.
  172. Prior to the design, it was possible to plan 4 levels of detail.
  173. After these steps, the design decisions taken made it possible to define the following levels of detail.
  174. In total there are seven predefined levels of detail in the design.
  175. Meaning that there must also be seven test cycles.
  176. However, I noticed that this number was significantly higher.
  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. Implicitly, the system was very often tested and changed based on test results.
  182. \subsection{Conclusion}
  183. With the development of the SCARA completed.
  184. Following the design plan, the development has to be repeated for the design of the Cable bot.
  185. However, the evaluation of the development until this point resulted in enough information to draw conclusions about the design plan.
  186. I expect that executing this development a third time is not beneficial to the case study, given the additional effort.
  187. Time is better spent on the realization of a prototype and improving the current design method.
  188. Therefore, the next section will go into the construction of the prototype instead of the development of the Cable bot.