Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

95 linhas
5.6KB

  1. %&tex
  2. \subsection{Test Protocol}
  3. The last step of the preparation phase is to design tests.
  4. The tests are designed to validate if the system meets the specifications.
  5. Defining the tests highlighted some shortcomings in the specifications.
  6. The specifications were made before the initial design and the feature definition, and were therefore not taken into account.
  7. Making it impossible to create simple concrete tests.
  8. To improve the specifications, an order of operation and additional specifications are determined.
  9. \subsubsection{Defining the Order of Operation}
  10. There are two modes of operation: writing and wiping.
  11. Defining the order of operation also distributes the responsibility between the different components.
  12. The writing operation can be split in the following steps:
  13. \begin{order}{Writing}
  14. \emph{Precondition:} Marker as end-effector.
  15. \begin{enumerate}
  16. \item Move cable driven carriage to position of characters.
  17. \item Write three characters with the SCARA.
  18. \item Repeat step 1 and 2 till the Tweet is on the board.
  19. \item Move carriage away from the text on the board.
  20. \end{enumerate}
  21. \end{order}
  22. The other operation is wiping.
  23. This is similar to the operation of writing with the following steps:
  24. \begin{order}{Wiping}
  25. \emph{Precondition:} Wiper as end-effector.
  26. \begin{enumerate}
  27. \item Move cable driven carriage to position of characters.
  28. \item Clear the area in reach of the SCARA.
  29. \item Repeat step 1 and 2 till the Tweet is removed from on the board.
  30. \end{enumerate}
  31. \end{order}
  32. Furthermore, switching between the states requires the tool to be switched.
  33. However, at this point, it is not known how tools will be switched.
  34. Therefore, the order of operation is determined during the development of the end-effector.
  35. Additionally, the missing order of operation for the end-effector did not result in difficulty while defining the tests.
  36. \subsubsection{Improving Specifications}
  37. Based on the order of operation, the following specifications were added to the list in \autoref{sec:specifications}:
  38. \begin{enumerate}
  39. \setcounter{enumi}{11}
  40. \item While writing, the SCARA shall have a writing speed of at least 1.5 characters per second.
  41. \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.
  42. \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.
  43. \item When the SCARA has to be moved to a new position, the Carriage shall perform this movement within 1 second.
  44. \end{enumerate}
  45. These additional specifications are also based on the combined system decission that was made in section \autoref{sec:initialdesign}.
  46. These specifications distribute responsibility between sub-components.
  47. With the updated specifications it was possible to create a number of test cases.
  48. In total there are five small test cases and four large test cases.
  49. The small tests cover a sub-system and the large tests apply on the complete systems.
  50. Each tests has a list of specifications that are covered with the test and for smaller tests the subsystem under test is also determined.
  51. With a short description it is described how the test should be performed.
  52. One of the small tests is performed by drawing a square:
  53. \begin{test}{Box}
  54. \begin{description}
  55. \item[Coverage] SCARA
  56. \item[Specifications] 3, 7, 11, 13
  57. \item[Description]
  58. The SCARA must draw a square of at least \SI{50}{\milli\meter} high and \SI{70}{\milli\meter} wide.
  59. This box is large enough to draw at least 3 characters.
  60. This square should be drawn within one second.
  61. If it is slower than that, it is not able to achieve specification 7.
  62. \end{description}
  63. \end{test}
  64. Repeatability is tested in one of the large system wide tests:
  65. \begin{test}{Repeatability}
  66. \begin{description}
  67. \item[Coverage] All features
  68. \item[Specifications] 3, 4, 9, 11
  69. \item[Description]
  70. To test the repeatability of the system must do four things:
  71. \begin{itemize}
  72. \item The system will be reset.
  73. \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}).
  74. \item The system will be reset again.
  75. \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.
  76. \end{itemize}
  77. The test is successful if the circles are not drawn outside of the squares.
  78. \end{description}
  79. \end{test}
  80. \subsubsection{Evaluation}
  81. This step was completed with not many difficulties.
  82. The specific order of operation and extra specifications should not be part of this step.
  83. It was already concluded that the steps in the preliminary design were not as expected.
  84. The fact that this step resulted in an additional changes only adds to that conclusion.
  85. The design of the test cases resulted in valuable information about the system.
  86. This information would be very useful in an earlier stage of the preliminary design.