Abstract:
A testing method tests the performance of a disc loading and transferring mechanism having a tray. The testing method includes steps of transmitting tray-out and tray-in instructions in that order, to drive the tray between a closed position and an opened position, detecting when the tray reaches the opposing position, counting the number of operations of the tray alternating between a closed position and an opened position; determining when the number of counts is equal to a predetermined number and outputting test results when the actual count is equal to a predetermined number or when the count is interrupted by malfunction.

Description:
BACKGROUND 
       [0001]    1. Technical Field 
         [0002]    The present disclosure relates to testing technology, particular to a testing device and a testing method for testing a traverse module. 
         [0003]    2. Description of Related Art 
         [0004]    A traverse module is a major component of a disc drive. The traverse module includes a disc loading and transferring mechanism. The life of the disc loading and transferring mechanism affects the quality of the traverse module. Therefore, during production of the disc drive, the disc loading and transferring mechanism needs to be tested. However, the method for testing the disc loading and transferring mechanism is to manually drive tray of the disc inwards and outwards, to load and eject, this takes an inordinate amount of the tester&#39;s time. 
         [0005]    Therefore, there is room for improvement within the art. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0006]    Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views. 
           [0007]      FIG. 1  is a schematic view of a disc loading and transferring mechanism when the disc loading and transferring mechanism is in a closed state. 
           [0008]      FIG. 2  is a schematic view of the disc loading and transferring mechanism of  FIG. 1  when the disc loading and transferring mechanism is in an opened state. 
           [0009]      FIG. 3  is a schematic view of the disc loading and transferring mechanism of  FIG. 1  during a tray of the disc loading and transferring mechanism moves inward or moves outward. 
           [0010]      FIG. 4  is a function block diagram of the disc loading and transferring mechanism of  FIG. 1 . 
           [0011]      FIG. 5  is a schematic view a graphic user interface (GUI) provide by the disc loading and transferring mechanism of  FIG. 1 . 
           [0012]      FIG. 6  is a chart of a testing result provide by the disc loading and transferring mechanism of  FIG. 1 . 
           [0013]      FIG. 7  is a flow chart of a testing method for testing the disc loading and transferring mechanism. 
       
    
    
     DETAILED DESCRIPTION 
       [0014]    Referring to  FIGS. 1-3 , a testing device  30  is configured to test a disc loading and transferring mechanism  10 . The disc loading and transferring mechanism  10  includes a transferring member (not shown), a tray  12 , a first limiting switch  13 , and a second limiting switch  14 . The tray  12  is loaded with a disc (not shown). The transferring member drives the tray  12  to move inward to reach a closed and loaded position, and to move the disc loading and transferring mechanism  10  outward to reach an opened position. The first limiting switch  13  is activated when the tray  12  reaches the closed position, when the disc loading and transferring mechanism  10  is in a closed state. The second limiting switch  14  is activated when the tray  12  reaches the opened position, when the disc loading and transferring mechanism  10  is in an opened state. In this embodiment, an original state of the disc loading and transferring mechanism  10  is the closed state. In other words, the first limiting switch  13  is activated, and the second limiting switch  14  is not activated. 
         [0015]    The testing device  30  includes a host machine  31 , a first testing pin  32 , and a second testing pin  33 . The first testing pin  32  and the second testing pin  33  are configured to detect the respective states of the first limiting switch  13  and the second limiting switch  14 , and generate a first detecting signal and a second detecting signal based on the respective states of the first limiting switch  13  and the second limiting switch  14 . In this embodiment, the first testing pin  32  contacts the first limiting switch  13  when the first limiting switch  13  is activated, and the first detecting signal is a first predetermined voltage, such as a digital-high voltage. The first testing pin  32  separates from first limiting switch  13  when the first limiting switch  13  is deactivated, and the second detecting signal is a second predetermined voltage, such a digital-low voltage. Similarly, the second testing pin  32  contacts the second limiting switch  14  when the second limiting switch  14  is activated, and the third detecting signal is a third predetermined voltage, such as a digital-high voltage. The second testing pin  33  separates from the second limiting switch  14  when the second limiting switch  14  is deactivated, and the fourth detecting signal is a fourth predetermined voltage, such as a digital-low voltage. Thus when the disc loading and transferring mechanism  10  is in the original closed state, the first detecting signal is the first predetermined voltage, and the second detecting signal is the fourth predetermined voltage. 
         [0016]    Referring to  FIGS. 4 and 5 , the host machine  31  includes a transmitting unit  310 , a detecting unit  311 , a counting unit  312 , a determining unit  313 , a setting unit  314 , a storing unit  315 , an output unit  315 , and a timing unit  317 . 
         [0017]    The setting unit  314  provides a graphic user interface (GUI)  3140  to enable a user to set a predetermined number of operations B and store the predetermined number in the storing unit  315 . In this embodiment, the predetermined number of operations B is 10000. 
         [0018]    When the testing device  30  is started up, the transmitting unit  310  transmits a tray-out instruction to the disc loading and transferring mechanism  10  to drive the tray  12  to move outward, and transmits a first timing instruction to the timing unit  317 , and transmits a first detecting instruction to the detecting unit  311 . In the embodiment, the transmitting unit  310  transmits the tray-out instruction to the disc loading and transferring mechanism  10  wirelessly or via wires. 
         [0019]    The timing unit  317  begins to count a first time period of the tray moving from the closed positioned to the opened position in response to the first timing instruction. 
         [0020]    The detecting unit  311  detects when the tray  12  reaches the opened position in response to the first detecting instruction. In particular, the detecting unit  311  detects whether the tray  12  reaches the opened position by detecting the voltages of the first detecting signal and the second detecting signal. The detecting unit  311  generates a first control instruction when the first detecting signal and the second detecting signal are second predetermined voltage and the third predetermined voltage when the tray  12  reaches the opened state. Otherwise, the detecting unit  311  generates a determining signal when the first detecting signal or the second deterring signal is not the second predetermined voltage or the third predetermined voltage. 
         [0021]    In response to the first control instruction, the transmitting unit  310  transmits a tray-in instruction to the disc loading and transferring mechanism  10  to drive the tray  12  inward, and transmits a second detecting instruction to the detecting unit  311 , and a second timing instruction to the timing unit  317 . 
         [0022]    The timing unit  317  ends the counting of the first time period and begins to count a second time period, of the tray  12  moving from the opened position to the closed position, in response to the second timing instruction. 
         [0023]    In response to the second detecting instruction, the detecting unit  311  detects when the tray  12  has reached the closed position. In particular, the detecting unit  311  detects when the tray  12  has reached the closed position by detecting the voltages of the first detecting signal and the second detecting signal. The detecting unit  311  generates a second control instruction and a counting instruction when the first detecting signal and the second detecting signal are the first predetermined voltage and the fourth predetermined voltage when the tray  12  reaches the closed position. The detecting unit  311  generates the determining instruction when the first detecting signal or the second detecting signal is not the first predetermined voltage or the fourth predetermined voltage when the tray  12  reaches the closed position. 
         [0024]    The counting unit  312  counts an actual number of operations A in response to the counting instruction. In this embodiment, the actual number of the operations A begins at 0, and an increment of one is added to the operations A after the counting unit  312  has counted one operation. In the embodiment, the tray moves from the closed position to the opened position, one operation is recorded. 
         [0025]    The determining unit  313  determines whether the first and the second periods of counting respectively reach a first predetermined time period and a second predetermined time period, and generates a stop instruction when either the first period of counting or the second period of counting reaches the respective ends of the first and the second predetermined time periods. The determining unit  313  further determines when the accumulated number of the operations A has reached the predetermined number of the operations B, and generates a stop instruction when the accumulated number of operations A has incremented to the predetermined number of the operations B. In the embodiment, the first predetermined time period is different from the second predetermined time period. 
         [0026]    The timing unit  317  stops counting in response to a stop instruction. 
         [0027]    Referring to  FIG. 6 , the output unit  316  outputs test results  3160  in response to a stop instruction. The test results  3160  show the predetermined number of operations B, the accumulated number of operations A, and an indication as to whether or not the disc loading and transferring mechanism  10  is in conformity or is not in conformity with predetermined and expected standards. 
         [0028]    Referring to  FIGS. 1-3  and  7 , a testing method for testing the disc loading and transferring mechanism  10  is applied to the testing device  30 . The disc loading and transferring mechanism  10  includes a transferring member (not shown), a tray  12 , a first limiting switch  13 , and a second limiting switch  14 . The tray  12  is configured to carry and load a disc (not shown). The transferring mechanism of the disc loading and transferring mechanism  10  drives the tray  12  inward to reach a closed position, and moves the disc outward to reach an opened position. The first limiting switch  13  is activated when the tray  12  is in the closed position indicating that the disc loading and transferring mechanism  10  is in a closed state. The second limiting switch  14  is activated when the tray  12  reaches the opened position indicating that the disc loading and transferring mechanism  10  is in an opened state. The testing method includes the following steps: 
         [0029]    In step S 501 , setting the staring number of operations as 0, and setting a predetermined number of operations. In this embodiment, the predetermined number of operations is 10000. 
         [0030]    In step S 502 , transmitting a tray-out instruction to the disc loading and transferring mechanism  10  to drive the tray  12  out toward the opened position. 
         [0031]    In step S 503 , detecting when the tray  12  reaches the opened position. The process goes to step S 504  when the tray  12  does reach the opened position. The process goes to step S 509 , when the tray  12  does not reach the opened position. In this embodiment, a first testing pin  32  and a second testing pin  33  are provided for contact or non-contact with the first testing pin  32  and the second testing pin  32  to detect when the tray  12  reaches the opened position. In particular, the first testing pin  33  contacts the first limiting switch  13  to generate a first predetermined voltage as a first detecting signal when the first limiting switch  13  is activated. A first detecting signal of a second predetermined voltage is generated when the first testing pin  33  separates from and deactivates the first limiting switch  13 . Similarly, the second limiting switch  14  is activated when the second testing pin  34  makes contact with the second limiting switch  14 , and a second detecting signal of a third predetermined voltage is thereby generated. When the second testing pin  34  is separated from the second limiting switch  14 , the second limiting switch  14  is deactivated such that a second detecting signal of a fourth predetermined voltage is generated. In this embodiment, the first predetermined voltage and the third predetermined voltage are digital-high voltages. The second predetermined voltage and the fourth predetermined voltage are digital-low voltages. The first detecting signal of the second predetermined voltage, and the second detecting signal of the third predetermined voltage are detected when the tray  12  has reached the opened state. 
         [0032]    In step S 504 , transmitting a tray-in instruction to drive the tray  12  inward to the closed position. 
         [0033]    In step S 505 , detecting when the tray  12  reaches the closed position. The process goes to step S 506  when the tray  12  reaches the closed position. The process goes to step S 510  when the tray  12  does not reach the closed position. In particular, the tray  12  is determined to be in the closed position when the first detecting signal of the first predetermined voltage and the second detecting signal of the fourth predetermined voltage are detected. 
         [0034]    In step S 506 , the accumulating number of the operations is incremented by 1. 
         [0035]    In step S 507 , determining when the accumulating number of the operations reaches the predetermined number of the operations. The process goes to step S 508  when the accumulating number of the operations reaches the predetermined number. The process goes to step S 502  if the accumulating number of the operations has not reached the predetermined number of operations. 
         [0036]    In step S 508 , outputting test results. The test results show the predetermined number of the operations, the accumulating number of the operations, and an indication as to whether or not the disc loading and transferring mechanism  10  is in conformity or is not in conformity with a standard. 
         [0037]    In step S 509 , determining whether a first time period of the tray moving from the opened position to the closed position exceeds a first predetermined time. The process goes to step S 503  if the length of the first time period does not exceed the length of the first predetermined time period. The process goes to step S 508  if the first predetermined time period ends as the first time period is still running. 
         [0038]    In step S 510 , determining whether a second time period of the tray  12  moving from the closed position to the opened position exceeds a second predetermined time period. The process goes to step S 505  if the second time period finishes before a second predetermined time period. The process goes to step S 508  when the second time period is still running when the second predetermined time period finishes. 
         [0039]    Even though relevant information and the advantages of the present embodiments have been set forth in the foregoing description, together with details of the functions of the present embodiments, the disclosure is illustrative only; and changes may be made in detail, especially in the matters of shape, size, and arrangement of parts within the principles of the present embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.