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.

83 line
5.4KB

  1. %&tex
  2. \subsection{Test Protocol}
  3. The last step of the preliminary design is to design tests.
  4. The tests are designed around the specifications.
  5. However, during the creation of the tests it was found that the list of specifications were lacking.
  6. Furthermore, the previous steps did not provide any order of operation.
  7. During this step the order of operation and additional specifications are determined.
  8. There are two modes of operation: writing and wiping.
  9. The writing operation can be split in the following steps:
  10. \begin{enumerate}
  11. \item Move cable driven carriage to position of characters.
  12. \item Write three characters with the SCARA.
  13. \item Repeat step 1 and 2 till the Tweet is on the board.
  14. \item Move carriage away from the text on the board.
  15. \end{enumerate}
  16. The other operation is wiping.
  17. This is similar to the operation of writing with the following steps:
  18. \begin{enumerate}
  19. \item Move cable driven carriage to position of characters.
  20. \item Clear the area in reach of the SCARA.
  21. \item Repeat step 1 and 2 till the Tweet is removed from on the board.
  22. \end{enumerate}
  23. Furthermore, switching between the states requires the tool to be switched.
  24. As this is a difficult operation there are not yet requirements or order of operation specified.
  25. Based on the order of operation, the following specifications were added to the list in \autoref{sec:specifications}:
  26. \begin{enumerate}
  27. \setcounter{enumi}{11}
  28. \item While writing, the SCARA shall have a writing speed of at least 1.5 characters per second.
  29. \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.
  30. \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.
  31. \item When the SCARA has to be moved to a new position, the Carriage shall perform this movement within 1 second.
  32. \end{enumerate}
  33. These additional specifications are also based on the combined system decission that was made in section \autoref{sec:initialdesign}.
  34. These specifications distribute responsibility between sub-components.
  35. With the updated specifications it was possible to create a number of test cases.
  36. In total there are five small test cases and four large test cases.
  37. The small tests cover a sub-system and the large tests apply on the complete systems.
  38. Each tests has a list of specifications that are covered with the test and for smaller tests the subsystem under test is also determined.
  39. With a short description it is described how the test should be performed.
  40. One of the small tests is performed by drawing a square:
  41. \begin{test}
  42. \begin{description}
  43. \item[Coverage] SCARA
  44. \item[Specifications] 3, 7, 11, 13
  45. \item[Description]
  46. The SCARA must draw a square of at least \SI{50}{\milli\meter} high and \SI{70}{\milli\meter} wide.
  47. This box is large enough to draw at least 3 characters.
  48. This square should be drawn within one second.
  49. If it is slower than that, it is not able to achieve specification 7.
  50. \end{description}
  51. \end{test}
  52. Repeatability is tested in one of the large system wide tests:
  53. \begin{test}
  54. \begin{description}
  55. \item[Coverage] All features
  56. \item[Specifications] 3, 4, 9, 11
  57. \item[Description]
  58. To test the repeatability of the system must do four things:
  59. \begin{itemize}
  60. \item The system will be reset.
  61. \item Draw multiple squares (\SI{60}{\milli\meter} x \SI{60}{\milli\meter}) at a random position within the drawing range (\SI{1000}{\milli\meter} x \SI{300}{\milli\meter}).
  62. \item The system will be reset again.
  63. \item Then in a random order, at least different from the order of squares, a circle with a \SI{55}{\milli\meter} diameter must to be drawn inside the squares.
  64. \end{itemize}
  65. The test is successful if the circles are not drawn outside of the squares.
  66. \end{description}
  67. \end{test}
  68. \subsubsection{Evaluation}
  69. This step was completed with not many difficulties.
  70. The specific order of operation and extra specifications should not be part of this step.
  71. It was already concluded that the steps in the preliminary design were not as expected.
  72. The fact that this step resulted in an additional changes only adds to that conclusion.
  73. The design of the test cases resulted in valuable information about the system.
  74. This information would be very useful in an earlier stage of the preliminary design.