You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

645 line
44KB

  1. %&tex
  2. \chapter{Case Study: Whiteboard writer}
  3. \label{chap:casestudy}
  4. \section{Monitoring}
  5. A survey is design to assess how the method is applied during the case study.
  6. The survey specifies a list of questions.
  7. All the questions will be adressed for each step in \autoref{fig:flowgraph}.
  8. Part of the questions will be answered prior to the step.
  9. The rest of the questions will be answered after the step.
  10. The questions are not soley to measure the effectiveness of the design method, but as well to investigate the usability.
  11. For a good usability the step feels intuitive and does not interfere with the workflow.
  12. Important is that these answers will be used to improve the design method for the next cycle.
  13. Resulting in a better suited method at the end of the development.
  14. This survey will be evaluated as well in each step.
  15. Because it is expected that there are points of interest that are looked over.
  16. It could be that a step is split in multiple ones or that questions are added during the case study.
  17. \autoref{tab:prepost} contains the set of paired questions.
  18. One question prior to the step and one question that reflects on that answer after the step.
  19. \autoref{tab:questionsmethod} is a list of questions that reflect on the design method itself.
  20. \rrot{Add the additional questions}
  21. \begin{table*}
  22. \caption{Table with questions to evaluate the steps. With corresponding questions ordered in pre and post step columns.}
  23. \label{tab:prepost}
  24. \begin{tabular}{|p{0.35\paperwidth}|p{0.35\paperwidth}|}
  25. \hline
  26. \vspace{1mm} \large{Prestep} & \vspace{1mm} \large{Poststep} \\
  27. Questions prior to the execution of the step to set a baseline. & Questions after the execution of the step to check if the implementation met the expectations. In hind-sight, what should have been executed differently?\\
  28. \hline
  29. \textbf{What was the previous step?} & \textbf{What will be the next step?} \\
  30. Does this influence this step? Is this a review? & Moving forward or is a review required of previous step(s)? \\
  31. \hline
  32. \textbf{Describe the plan of action.} & \textbf{Explain any deviations from the plan of action.} \\
  33. What is the next step going to be? How is it going to be executed? & What changed during the execution, what deviations where taken and why? \\
  34. \hline
  35. \textbf{What is the expected workload?} & \textbf{Was the workload different than expected?} \\
  36. How many hours are required for the execution of the step? Also give a range in your incertainty. & How much time was invested in the step? Why was it more or less than expected? \\
  37. \hline
  38. \textbf{What is the expected result of the step?} & \textbf{Is the result as expected?} \\
  39. At the end of the step, what is the expected result? & Does the result match the description made prestep? Why does it not match? \\
  40. \hline
  41. \textbf{What is the expected feasibility?} & \textbf{Was the expected feasibility of the implementation accurated?} \\
  42. What are the problems you expect during implementation? Why? & Even if the implementation succeeded, the feasibility does not have to be 100\%. Give an estimate for the feasibility now that the implementation is finished. Explain the difference with the prestep feasibility.\\
  43. \hline
  44. \end{tabular}
  45. \end{table*}
  46. \begin{table*}
  47. \caption{Table with questions to evaluate the design method itself}
  48. \label{tab:questionsmethod}
  49. \begin{tabular}{|p{0.35\paperwidth}|}
  50. \hline
  51. \textbf{Is this method a suitable approach for the hardware design?}\\
  52. Are there aspects in the hardware design that is not covered by the method? Or is the method not suited at all for hardware? Why not? How to do it different? \\
  53. \hline
  54. \textbf{Does the method contain counter-intuitive steps?} \\
  55. Are there steps that feel not optimal? Is it appealing to execute the step different? Is it just getting used to? Or really inefficient?\\
  56. \hline
  57. \textbf{What is the feasibility of this step in the method itself?} \\
  58. Not the execution of the step, but the step itself. Are those steps realistic? How can the method be improved? Why? \\
  59. \hline
  60. \textbf{Are there questions that can be added to this evaluation?} \\
  61. Can we add step specific questions or general questions to improve the evaluation? \\
  62. \hline
  63. \end{tabular}
  64. \end{table*}
  65. \subsection{Reporting}
  66. To answer all these questions and record all the steps a template was made.
  67. This template is a markdown-document that contains all the questions.
  68. The filled in documents will be stored in a git-repository.
  69. With continuous integration the documents will be merged to a single pdf.
  70. The development of the hardware will be done in a separate git repository.
  71. Each step will have its own issue.
  72. This issue has a description and a checklist for the evaluation.
  73. Commits will be referenced to the issue, in that way all commits are grouped and can be tracked in the issue.
  74. %\rro{Use forms to evaluate the method}
  75. %\rroi{Questions answered before and after each step}
  76. %\rroi{Forms are also updated during the design}
  77. \section{Preliminary Design}
  78. \subsection{Problem Definition}
  79. The whole design process is initiated with the problem definition.
  80. For this case study, the problem definition is a bit different.
  81. In preparation of the case study it was decided to design a Whiteboard Writer from \autoref{sec:whiteboardwriter}.
  82. The Whiteboard writer was chosen because it would test the most aspects of the design method during the case study.
  83. In other words, a problem was needed that could be solved.
  84. And the problem needed to be complex enough so that the design method could be tested.
  85. However, during the case study, decisions have to be made about the solution space.
  86. Some of these decisions are not related with the testing of the design method itself.
  87. In these situations it is good to have a more concrete goal.
  88. Therefore, it is decided that the whiteboard writer has to be able to put a twitter message on the board.
  89. Normally the goal of the problem definition would be to describe the problem that needs to be solved.
  90. Testing the design method is in this case the problem, which makes it tightly coupled.
  91. Furthermore, a good problem definition focusses on getting the stake holders on the same line \autocite{shafaat_exploring_2015}.
  92. However, as the case study is performed by the author, there is only one stake holder.
  93. Discussion, communication and interaction between team member improves the problem solving in general \autocite{lamb_221_2008}.
  94. Even though the problem definition stayed in a very minimalistic state.
  95. The core goals are as follows:
  96. \begin{itemize}
  97. \item The system under design shall be used to evaluate the design method.
  98. \item Engineering decisions are made, in the first place, to aid the evaluation of the design method.
  99. \end{itemize}
  100. Secondary goals can be described as:
  101. \begin{itemize}
  102. \item The system shall write a twitter message on the board.
  103. \end{itemize}
  104. \subsubsection{Evaluation}
  105. The problem definition within this case study does not represent a conventional design process.
  106. Therefore, the problem definition was not evaluated in this case study.
  107. \subsection{Specifications}
  108. \label{sec:specifications}
  109. %\rro{Present Specifications for Case}
  110. During this step the goal is to setup a document with concrete specifications of the system.
  111. This resulted in a document that had a short description and a list of specifications.
  112. The description described in short the general operating procedure.
  113. As the writer has to write and update a tweet on the whiteboard, it must be able to write and wipe the board.
  114. Furthermore, it should be able to draw 140 characters of readable text on the board.
  115. For readability, the result has to be readable from 4 meters distance.
  116. The specifications itself are written with \ac{ears} and are as follows:
  117. \begin{enumerate}
  118. \item The Writer shall be able to write at least 50 characters per line.
  119. \item The Writer shall be able to write at least 5 lines of text.
  120. \item The Writer shall plot characters with a size that is readable from 4 meters for a person with good eyesight.
  121. \item The Writer shall plot in a regular used font with corresponding character spacing.
  122. \item When a new tweet is send to the Writer, the Writer, shall wipe the existing tweet and write down a new tweet.
  123. \item If the Writer is not wiping or writing then the Writer shall not obstruct the view of the whiteboard.
  124. \item While writing, the Writer shall have a writing speed of at least 1 character per second.
  125. \item If the Writer is tasked to wipe the tweet, the Writer shall wipe the tweet within 60 seconds
  126. \item When a reset-signal is send to the Writer, the Writer shall recalibrate its position on the board.
  127. \item When a wipe-signal is send to the Writer, the Writer shall wipe the board clean.
  128. \item The Writer shall not damage itself.
  129. \end{enumerate}
  130. Additionally there are some restrictions on construction.
  131. The tooling in limited to some hobby/DIY tools.
  132. As the rapid prototyping facilities at the university are closed due to the Covid-19 pandemic.
  133. \begin{itemize}
  134. \item The Writer shall not exceed a total cost in materials and/or tools of €200.
  135. \item The Writer shall be constructed with simple tools in the following list:
  136. \begin{itemize}
  137. \item Screwdrivers (Hex/Inbus, Torx, Philips, etc) in a, although limited, wide variation of size.
  138. \item Drill
  139. \item Screwtap set
  140. \item Jigsaw
  141. \item Wrenches
  142. \item Soldering iron
  143. \item Various Pliers
  144. \item PLA 3D printer
  145. \end{itemize}
  146. \end{itemize}
  147. \subsubsection{Evaluation}
  148. While performing this step it became clear that big improvements can be made.
  149. The focus of this case is at the actual hardware implementation.
  150. This caused the steps in the preliminary design to be overlooked.
  151. The lack of a good problem description and not having an experienced design team makes the specifications even more difficult.
  152. An extensive specification document would benefit the design process.
  153. However, it would also be very time consuming and would not fit in the time frame of this thesis.
  154. A conclusion similar to the evaluation of the problem description is that this unique case study is not a good basis for defining specifications.
  155. Some concrete points from this step are:
  156. \begin{itemize}
  157. \item \ac{ears} is very useful during for the specifications.
  158. \item Being thorough and complete is difficult without a team.
  159. \item Difficult to avoid ambiguity.
  160. \item Difficult to validate the specifications.
  161. \end{itemize}
  162. The latter point was reason to add additional questions to the evaluation form:
  163. \begin{itemize}
  164. \item What is the method of testing?
  165. \item How did you test/validate the step?
  166. \end{itemize}
  167. \subsection{Initial Design}
  168. \label{sec:initialdesign}
  169. \rro{Research on Existing Systems}
  170. The initial design started with a design space exploration.
  171. The goal was to collect possible solutions and ideas for the implementation.
  172. The exploration resulted in a lot of whiteboard writing robots.
  173. These robots can be sorted in four different configurations
  174. Each configuration is worked out and will be discussed here.
  175. \subsubsection{Cable Driven}
  176. The cable driven robot is suspended with multiple cables.
  177. The end-effector that contains the markers is moved along a board by changing the length of the cables.
  178. The cable based positioning systems result in a end-effector with large range and high velocities.
  179. A possible setup can be seen in \autoref{fig:cablebotdrawing}
  180. \begin{figure}
  181. \centering
  182. \includegraphics[width=0.9\linewidth]{graphics/8564503-fig-1-source-large.png}
  183. \caption{Planar view of cable driven robot. \autocite{aguas_sliding_2018}}
  184. \label{fig:cablebotdrawing}
  185. \end{figure}
  186. Each of the cables can be motorized.
  187. Unfortunately, this does make the system over-constrained.
  188. However, it is possible to only motorize two of the four cables and pretension the other two.
  189. This makes the system exactly constrained.
  190. Furthermore, the lower cables could be completely left out of the design.
  191. This makes the design even simpler but the pretensions could help dampening the system.
  192. \subsubsection{Cartesian-coordinate robot}
  193. This configuration is a very common design for plotters.
  194. This setup is also known as a gantry robot or linear robot.
  195. It normally consists of two sliders, which behave as a prismatic joint.
  196. Because each slider covers a single X or Y axis, the control and dynamics of this system are very simple.
  197. For the dimensions the length of the sliders define the limits.
  198. \subsubsection{Polar-coordinate robot}
  199. This robot is a combination of a prismatic and a revolute joint.
  200. Where the rotational joint can rotate the prismatic joint.
  201. With this it can reach any point within a radius from rotational joint.
  202. This is a little more complex design than the Cartesian robot.
  203. This robot has some disadvantages.
  204. The range of the robot is defined by the length of the prismatic joint.
  205. However, if the prismatic joint is fully retracted, the joint does not get shorter.
  206. In that case the arm still protrudes on the other side.
  207. Therefore the complete radius around the revolute joint cannot have any obstacles.
  208. This makes required space of the setup very inefficient.
  209. Another disadvantage is that a long arm increases the moment of inertia and the gravitational torque quadratic.
  210. Moreover, the longer arm also introduces stiffness problems.
  211. \subsubsection{SCARA}
  212. The SCARA robot is a configuration with two linkages that are via with rotational joints.
  213. It can be compared to a human arm drawing on a table.
  214. Similar to the Polar robot it can reach all points within a radius from the base of the robot.
  215. However, the arm only protrudes half the radius.
  216. Furthermore, depending on the configuration the of the arm the area where it protrudes can be significantly smaller.
  217. However, the additional joint and extra arm length does add to the moment of inertia and gravitational torque similar to the polar robot.
  218. The SCARA robot is therefore not a robot that is convenient with large working areas.
  219. However, it can be really quick and precise in relative small areas.
  220. \subsubsection{Choice of system}
  221. Similar to the previous steps.
  222. The type of design has to aid the evaluation of this design method.
  223. Where normally it would be beneficial to keep a design simple.
  224. This implementation has to be complex enough.
  225. Based on the complexity the cartesian and polar coordinate robots are excluded.
  226. Especially at higher speeds the SCARA becomes dynamically interesting due to the torque of both joints.
  227. However, it is unlikely that the SCARA provides enough features to implement multiple features.
  228. It was therefore decided to combine a small SCARA with a cable driven robot.
  229. Where the SCARA can write a couple of characters at high speed from a fixed position.
  230. The cables can than move the complete SCARA to the next position.
  231. The full setup can be seen in \autoref{fig:general_design}.
  232. \begin{figure}
  233. \centering
  234. \includegraphics[width=\linewidth]{graphics/general_design.pdf}
  235. \caption{Rough design of the system. The carriage is in this situation blue and the SCARA is red. The two cable running to the top-corners of the whiteboard move the carriage.}
  236. \label{fig:general_design}
  237. \end{figure}
  238. The combined system introduces sufficient complexity for the design method.
  239. The cable robot and SCARA are both sub-systems of the complete writing robot that can be implemented separately.
  240. \subsubsection{Evaluation}
  241. The initial design step felt like an actual start of the design process.
  242. Looking at multiple solutions resulted in new insight of the systems.
  243. However, this knowledge would have more useful when defining the specifications in \autoref{sec:specifications}.
  244. Furthermore, the specifications were written with the whiteboard writer in mind.
  245. This step was used to select the robot that would evaluate the design method.
  246. Similar to the previous step it became more evident that the complete preliminary design phase was not adequate.
  247. Validation of the decision was also lacking.
  248. The combining both systems was discussed as the best option.
  249. However, a simple model of the different proposed systems is needed to verify that decision.
  250. And again, there was a lack of an experience to make a good trade-off.
  251. \subsection{Feature Definition}
  252. At this point there are specifications and an initial design for the system.
  253. In the following steps of the design method features will be implemented one by one.
  254. The goal of this step is then to define these features.
  255. During this step it became clear that this approach was not feasible.
  256. Prior to this step the expectation was that this step would produce three features that could be implemented.
  257. These three features were the SCARA, the cable suspended carriage, and the end-effector.
  258. However, independent of the interpretation of this step, the result was not the three expected features.
  259. Why were those three features expected in the first place?
  260. During the previous steps a useful evaluation was to anticipate for the subsequent steps.
  261. Where one of the following steps is to implement an individual feature.
  262. Therefore, it must be possible to implement the feature.
  263. Separating the initial design into the smallest components that could still be implemented, resulted in the SCARA, carriage and end-effector.
  264. The problem is that these three components do not describe the complete system.
  265. Some functions of the system (feature) is performed by a combination of the components.
  266. Therefore can the components in the system not be seen as features of the system.
  267. Defining the components as features of the system is not a solution.
  268. The relations between the components and features is still required.
  269. %As the features describe the behavior of the components, it is not a solution to replace the features with components.
  270. A solution to organize the relations between features and components was found in RobMoSys\footnote{\url{https://robmosys.eu/approach/}}.
  271. RobMoSys defines a separation of levels in a design.
  272. Where the levels start functional and moves via software to hardware implementation.
  273. Although not all levels of RobMoSys are used, it was very useful to define the features of the system.
  274. The definition can be seen in \autoref{fig:robmosys}
  275. The current definition of features allows to start the implementation with a component.
  276. When the component is finished features can be implemented by following the tree upwards.
  277. \begin{figure*}
  278. \centering
  279. \includegraphics[width=0.8\linewidth]{graphics/robmosys}
  280. \caption{Feature Definition based on the separation of levels introduced by RobMoSys}
  281. \label{fig:robmosys}
  282. \end{figure*}
  283. %In the design method by \textcite{broenink_rapid_2019} the features describe software components.
  284. %Theoretically, each function in software can be implemented and tested individually.
  285. %However, in a dynamic system, a single component
  286. %The SCARA, carriage and end-effector were selected as the smallest
  287. %Although.
  288. \rro{Goal: define features that can be implemented one by one}
  289. \rroi{Additionally, division of system requirements}
  290. \rro{Expected: A list of features, with corresponding dependencies}
  291. \rro{Could define features, but non of them described mechanical components that could be implemented.}
  292. \rro{Result: Improvised a structure that was loosely based on RobMoSys}
  293. \rroi{The lose features:}
  294. \rroii{End-effector}
  295. \rroii{SCARA}
  296. \rroii{Carriage}
  297. \subsubsection{Evaluation}
  298. \rro{Multiple problems:}
  299. \rroi{Specifications were to broad or to specific}
  300. \rroi{Taking the following steps in to account, none of the features made sense}
  301. \rroii{None of the features were something that could be modeled}
  302. \rroii{Type of motor was depending on the forces required}
  303. \rro{Inspired from RobMoSys we made a tree structure}
  304. \rroi{The mission, task, skill etc separation helped a lot in structuring}
  305. \rroi{For now, this solution suffices to continue the case study}
  306. \rro{Mid-way Conclusion: Preliminary requires large changes}
  307. Even though, there is a feature definition that can be used in the next step, there remain a couple of difficulties.
  308. There is still a really strong border between features and components.
  309. And the single level of components makes it impossible to depict the dependencies between components.
  310. Developing larger and complex systems will have sub-components in the system, introducing even more dependencies.
  311. Therefore, this is not a valid solution for feature definition.
  312. Fortunately the current solution suffices to continue the case study.
  313. \subsection{System Test Specification}
  314. The last step of the preliminary design is to design tests.
  315. The tests are designed around the specifications.
  316. However, during the creation of the tests it was found that the list of specifications were lacking.
  317. Furthermore, the previous steps did not provide any order of operation.
  318. During this step the order of operation and additional specifications are determined.
  319. There are two modes of operation: writing and wiping.
  320. The writing operation can be split in the following steps:
  321. \begin{enumerate}
  322. \item Move cable driven carriage to position of characters.
  323. \item Write three characters with the SCARA.
  324. \item Repeat step 1 and 2 till the Tweet is on the board.
  325. \item Move carriage away from the text on the board.
  326. \end{enumerate}
  327. The other operation is wiping.
  328. This is similar to the operation of writing with the following steps:
  329. \begin{enumerate}
  330. \item Move cable driven carriage to position of characters.
  331. \item Clear the area in reach of the SCARA.
  332. \item Repeat step 1 and 2 till the Tweet is removed from on the board.
  333. \end{enumerate}
  334. Furthermore, switching between the states requires the tool to be switched.
  335. As this is a difficult operation there are not yet requirements or order of operation specified.
  336. Based on the order of operation, the following specifications were added to the list in \autoref{sec:specifications}:
  337. \begin{enumerate}
  338. \setcounter{enumi}{11}
  339. \item While writing, the SCARA shall have a writing speed of at least 1.5 characters per second.
  340. \item When the Carriage/base of the SCARA is at a static position, the SCARA shall be able to write at least 3 characters at that position.
  341. \item When the SCARA finished writing at their current position, the Carriage shall move the SCARA to it's next position where it can write the subsequent characters.
  342. \item When the SCARA has to be moved to a new position, the Carriage shall perform this movement within 1 second.
  343. \end{enumerate}
  344. These additional specifications are also based on the combined system decission that was made in section \autoref{sec:initialdesign}.
  345. These specifications distribute responsibility between sub-components.
  346. With the updated specifications it was possible to create a number of test cases.
  347. In total there are five small test cases and four large test cases.
  348. The small tests cover a sub-system and the large tests apply on the complete systems.
  349. Each tests has a list of specifications that are covered with the test and for smaller tests the subsystem under test is also determined.
  350. With a short description it is described how the test should be performed.
  351. One of the small tests is performed by drawing a square:
  352. \begin{description}
  353. \item[Sub-systems] SCARA
  354. \item[Specifications] 3, 7, 11, 13
  355. \item[Description]
  356. The SCARA must draw a square of at least 50 mm high and 70 mm wide.
  357. This box is large enough to draw at least 3 characters.
  358. This square should be drawn within one second.
  359. If it is slower than that, it is not able to achieve specification 7.
  360. \end{description}
  361. \rrot{TODO: Make clear that the tests case ends here...}
  362. Repeatability is tested in one of the large tests.
  363. \begin{description}
  364. \item[Specifications] 3, 4, 9, 11
  365. \item[Description]
  366. To test the repeatability of the system must do four things:
  367. \begin{itemize}
  368. \item The system will be reset.
  369. \item Draw multiple squares (60 mm x 60 mm) at a random position within the drawing range (1000 mm x 300 mm).
  370. \item The system will be reset again.
  371. \item Then in a random order, at least different from the order of squares, a circle with a 55 mm diameter must to be drawn inside the squares.
  372. \end{itemize}
  373. The test is successful if the circles are not drawn outside of the squares.
  374. \end{description}
  375. \rrot{TODO: Make clear that the tests case ends here...}
  376. \rrot{TODO: Add the tests to the appendix}
  377. All the tests are included in the appendix.
  378. \rro{Specify tests for the different specifications}
  379. \rro{Made a document with tests}
  380. \rroit{Should this document be included in the report?}
  381. \rroi{Each test covers one or more specs}
  382. \subsubsection{Evaluation}
  383. This step was completed with not many difficulties.
  384. The specific order of operation and extra specifications should not be part of this step.
  385. It was already concluded that the steps in the preliminary design were not as expected.
  386. The fact that this step resulted in an additional changes only adds to that conclusion.
  387. The design of the test cases resulted in valuable information about the system.
  388. This information would be very useful in an earlier stage of the preliminary design.
  389. \subsection{Recap}
  390. The test definitions of the last step conclude the preliminary design phase.
  391. This preliminary design shows a clear notion of a hasty execution from a design standpoint.
  392. The preliminary design was performed over a period of 5 weeks, by one developer with little experience in design documentation.
  393. This makes notion of hasty not surprising for this unproven design method.
  394. That does not mean that this preliminary design is a waste of time.
  395. From the evaluation moments during the preliminary phase there are a couple of interesting points.
  396. \begin{itemize}
  397. \item The lack of a design team with experienced engineers would drastically improve the execution of this design phase.
  398. Such a team is also able to find the smaller problems of such a design phase, which are currently completely overlooked.
  399. \item It is not possible to view each step in the design process as singular.
  400. Each step creates more insight and information about the final design.
  401. Making a very strong separation between the steps forces the developer to make decisions on to little information.
  402. \item The term features has to be split in to functions and components for a hardware design.
  403. The actual implementation are the components such that they can perform the function.
  404. \end{itemize}
  405. Another point was noticed while evaluation the complete preliminary design phase.
  406. The lack of a team makes it easy to forget documenting intuitive design decisions.
  407. Although the design method is followed as closely as possible, it often occurs that a decision is made outside of the working environment.
  408. This was noticed during the writing of this chapter that some design decisions were completely missing.
  409. However, during the next phase, these decisions do play a crucial role.
  410. Therefore, this section will give a short recap of the planned design.
  411. \subsubsection{Complete system}
  412. From the initial design the abstract shape of the design is clear.
  413. This is still in line with \autoref{fig:general_design}.
  414. The SCARA is small and can therefore move the arm quick with a fine precision.
  415. At the end of the SCARA there is a end-effector that can grab, hold, end release tool.
  416. It holds a marker while writing and with help of the SCARA it can release the marker.
  417. Then it can grab a cleaning tool to erase whiteboard.
  418. To compensate for the small reach of the SCARA, the SCARA will be mounted to a carriage.
  419. This carriage is suspended from cables and can move along the whiteboard.
  420. The cables give the system a enormous range and velocity.
  421. However, it is not very good in acceleration as cables cannot push.
  422. This makes it suitable for the large and course movements along the board, which complements the movement characteristics of the SCARA.
  423. \subsubsection{SCARA}
  424. The central component of the system is the SCARA.
  425. There are a couple of design options for the SCARA.
  426. As the dynamic complexity is a important part of this design, there will be two arms.
  427. There are some different options for the configuration of the arms and their actuation.
  428. \autoref{fig:configurations} shows four of the possible configurations that are considered during the design phase.
  429. There are still options about where to place the motors and how to connect the joints.
  430. \rrot{Figure needs some graphic improvement}
  431. \begin{figure}
  432. \centering
  433. \includegraphics[width=\linewidth]{graphics/IMG_20201001_134140.jpg}
  434. \caption{Four different SCARA configurations}
  435. \label{fig:configurations}
  436. \end{figure}
  437. \subsubsection{End-effector}
  438. The end-effector is the connection between the SCARA and the tool.
  439. It has two main functions: lifting the tool from the board and switching the tool.
  440. The tool switching functionality is performed by the SCARA as well, by moving the end-effector to the right position.
  441. However, the role of the SCARA is strongly dependent\footnote{ Note, that this dependency exists but not represented in \autoref{fig:robmosys} due to the limitation of the current method.} on how the end-effector is implemented.
  442. For the grabbing function there is a configuration that uses a spring-loaded clamp.
  443. Where one side of the clamp is longer so it can be opened by moving the SCARA.
  444. This operation is shown in \autoref{fig:gripper}
  445. \begin{figure*}
  446. \centering
  447. \includegraphics[width=\linewidth]{graphics/IMG_20201001_144018.jpg}
  448. \caption{Operation principle of a spring-loaded tool clamp showed from left to right. The green circle represents the tool and the red arm a tool holder. The solid ground is what pushed the upper arm open so the marker can be placed in the tool holder.}
  449. \label{fig:gripper}
  450. \end{figure*}
  451. Another dynamically simpler option is to open the clamp with a motor.
  452. The motor adds weight to the end-effector which might require the SCARA to operate slower or to be build stronger.
  453. This component is probably the most difficult one because it requires clamping of the tools.
  454. Modeling this behavior is difficult as it will involve contact dynamics.
  455. \subsubsection{Cable driven Carriage}
  456. The end-effector and the SCARA are moved all together on a carriage.
  457. The carriage will be suspended from two or four cables.
  458. A configuration with two cables is the simplest.
  459. However, the tension in this system is generated by the gravitational pull.
  460. This introduces limitations in the acceleration of the system.
  461. If the carriage moves upwards and the cable pulleys stop.
  462. The carriage is only decelerated by the force of gravity.
  463. Moving over its set point, followed by crashing down in to the cables.
  464. However, making the system with four motorized pulleys makes the system over constrained.
  465. This will solve the acceleration problem. But it will create a difficult positioning system.
  466. As all the wires have to be tensioned but not distort the movement by restricting the other motors.
  467. \subsubsection{Electronics}
  468. Although this mainly is a hardware design, there is going to be some control-software.
  469. For this the likely option is a STM nucleo board with RIOT-OS as a embedded OS.
  470. This choice is mainly because of previous experience and local knowledge of the operating system.
  471. \section{Detail Design}
  472. With the preliminary design finished the first feature can be implemented.
  473. Therefore, it has to be determined what that first feature is.
  474. This is followed by building a basic model of the first feature.
  475. Over multiple cycles detail will be added to that model.
  476. When the model is sophisticated enough these steps are repeated for the next feature.
  477. \subsection{First Feature Selection}
  478. Three different components were defined as hardware features that could be implemented.
  479. The feature selection method as defined in \autoref{sec:feature_selection} will be applied to these features.
  480. According to the method, the dependencies, test coverage and risk/time factor have to be determined.
  481. All the information for this selection is shown in \autoref{tab:firstfeatureselection}
  482. \begin{table}[]
  483. \caption{Overview of the different features and their dependencies, number of tests that can be completed and the risk/time factor.
  484. The risk/time factor is calculate as risk divided by time with \emph{low} = 1, \emph{medium} = 2 and \emph{high} = 3.}
  485. \label{tab:firstfeatureselection}
  486. \begin{tabular}{llllll}
  487. \hline
  488. Feature & Dependency & Tests & Risk & Time & Risk/Time \\ \hline
  489. Scara & End-effector & 3 & medium & medium & 1 \\
  490. End-effector & - & 2 & high & medium & 1.5 \\
  491. Carriage & - & 2 & low & medium & 0.5 \\ \hline
  492. \end{tabular}
  493. \end{table}
  494. The SCARA is dependent on the end-effector, as was explained in the initial design.
  495. However, for the carriage no dependency was defined even though it has to lift the other two components.
  496. This is mainly because the behavior of the SCARA changes depending on the end-effector, resulting in a possible design change.
  497. For the carriage it only changes the mass that has to be lifted.
  498. Upgrading the motor torque is a minor parametric change and the dependency is therefore insignificant.
  499. The testing number is directly the number of tests that can be completed by implementing that single component.
  500. For the risk and time it was a engineering judgement and no specific protocol to determine the values.
  501. The estimated risk is high for the end-effector due to the collision dynamics of the operation.
  502. It has to grab something and that is difficult to model. Furthermore, it was not known if that design would work.
  503. The SCARA has the most moving parts, but no difficult dynamics and has therefore an estimated risk of medium.
  504. For the carriage the there was no real risks and got therefore a low risk indication.
  505. The SCARA would be implemented first based on number of tests, but is dependent on the end-effector.
  506. Beginning with the end-effector is an obvious choices. It unlocks the SCARA and has the highest risk/time factor.
  507. \subsubsection{Evaluation}
  508. This first step of the detail design phase did go well.
  509. A more refined method for this step could be very useful.
  510. But the risk and time assessment will probably always be a engineering judgement from the developer.
  511. Within a design team a form of planning poker\footnote{\url{https://en.wikipedia.org/wiki/Planning_poker}{Wikipedia entry: Planning Poker}} could be a good option.
  512. \rro{Compared: Dependency, tests coverage and risk/time ratio}
  513. \rroi{First Feature/system to implement is End-effector.}
  514. \rroii{Due to dependency and high risk/time}
  515. \subsection{End-effector model}
  516. The end-effector will operate as an interface between the SCARA and the different tools.
  517. For that it has to be able to grab and release the tools.
  518. The initial design is shown in \autoref{fig:gripper}.
  519. With only some experience in modelling with collisions the decision was made to try to make some collisions in the 20-sim 3D mechanics editor.
  520. Unfortunately, collisions in a 20-sim model are difficult.
  521. There is little tooling available and there are no debugging options if the model does not behave as expected.
  522. The marker kept falling trough the gripper or flew away.
  523. With the small amount of progress made in two days the implementation was not promising.
  524. A crash in the software caused the model to corrupt, where the complete configuration of the shapes and their collisions was lost.
  525. Therefore it was decided that end-effector would be removed from the design.
  526. With the end-effector removed, the SCARA will get a direct connection with the marker.
  527. The lifting of the marker will be included in the SCARA as well.
  528. Furthermore, this means that the wiping will no be possible via the SCARA.
  529. \rro{Plan: Model a gripper}
  530. \rroi{Result: Underestimated Complexity}
  531. \rroii{No debugging options for collisions in 3D-ME}
  532. \rroii{Crash with software resulted in corrupted model}
  533. \rro{Conclusion: not feasible in scope of case study}
  534. \subsubsection{Evaluation}
  535. \rro{Result is not as expected}
  536. \rro{Risk/time factor proofed itself useful}
  537. The lost progress of the model is unfortunate, but the implementation did not go expected anyway.
  538. It was probably for the best as it forced an evaluation of the design and avoided a tunnel vision while trying to get it to work.
  539. However, it did show the value of the risk/time analysis.
  540. This early failure resulted in changes for other components.
  541. But as none of the components were implemented yet, no work was lost.
  542. %%%%%%%%%%%%%%%%%%%%%%%
  543. \subsection{Feature Selection: Second Iteration}
  544. \subsubsection{Selection}
  545. \rro{Scara is next in selection}
  546. \rroi{Covers more tests and has higher risk/time factor than carriage}
  547. \subsubsection{Implementation}
  548. \rrot{Should this be here? Maybe in an appendix?}
  549. \rro{Starting with very abstract model}
  550. \rroi{Forward and inverse kinematics}
  551. \rro{Increasing model detail}
  552. \rroi{2D physics model}
  553. \rroi{Simple Motor model}
  554. \rroi{Path planning}
  555. \rroi{Stepper motor}
  556. \rroi{3D physics arm}
  557. \rroi{Marker lift (torque on joint)}
  558. \rroi{Marker lift (Servo)}
  559. \rro{Used 20-sim for dynamic behavior}
  560. \rroi{Could determine physical limits}
  561. \rro{Used openSCAD for geometric design}
  562. \rroi{Could easily avoid collision between parts}
  563. \rro{Implementation went smooth}
  564. \rroi{Order of increase in detail more in line with Koen den Hollander.}
  565. \rroi{Stepwise detail increase gives loads of feedback}
  566. \rroi{Dynamics model gave feedback on required stepper torque}
  567. \section{Testing}
  568. \rro{Testing was difficult with only one finished component, however}
  569. \rroi{Able to run draw three characters in 2 seconds}
  570. \rroi{Able to draw a square in 1 second}
  571. \section{Result}
  572. \rro{Created a model in 20-sim and openscad}
  573. \rro{Build a physical prototype}