Method for validation and modification of device state transitions for an aerosol generation device
A method for functional testing of aerosol provision devices may include performing a functional state transition test of a power unit. The functional state transition test of the power unit may include extracting a unique identifier from the power unit of an aerosol provision device responsive to operable coupling of the power unit to a test fixture, determining a transition code based on the unique identifier, providing the transition code to the power unit via the test fixture to transition the power unit from an initial state to a transitioned state, and transitioning the power unit to the initial state.
1 . A method for testing aerosol provision devices, the method comprising performing a functional state transition test of a power unit, the functional state transition test of the power unit comprising:
detecting insertion of the power unit into a test module of the test fixture;
extracting a unique identifier from the power unit of an aerosol provision device automatically responsive to detecting the power unit in the test module;
determining a transition code stored locally at the test fixture based on the unique identifier;
providing the transition code to the power unit via the test fixture to transition the power unit from an initial state to a transitioned state;
receiving feedback from the power unit regarding transitioning the power unit from the initial state to the transitioned state; and
transitioning the power unit to the initial state responsive to the feedback indicating successful transitioning of the power unit from the initial state to the transitioned state using the transition code,
wherein the transition code is determined by the test fixture automatically responsive to extracting the unique identifier from the power unit.
2 . The method of claim 1 , wherein detecting the insertion of the power unit is performed based on an electrical connection between power pins of the power unit and an electrical interface of the test fixture, and
wherein extracting the unique identifier is executed via the power pins and the electrical interface.
3 . The method of claim 1 , wherein initial state is a locked state and the transitioned state is an unlocked state,
wherein the transition code is an unlock code, and
wherein the functional test of the power unit further comprises placing the power unit in the locked state prior to obtaining the unlock code.
4 . The method of claim 3 , wherein the functional test of the power unit further comprises receiving feedback from the power unit indicating acceptance of the unlock code,
wherein transitioning the power unit to the locked state is performed in response to receipt of the feedback from the power unit indicating acceptance of the unlock code.
5 . The method of claim 4 , further comprising printing the unique identifier responsive to receipt of the feedback from the power unit indicating acceptance of the unlock code.
6 . The method of claim 1 , further comprising comparing the unique identifier extracted to a provided identifier to determine whether the unique identifier extracted matches the provided identifier.
7 . The method of claim 6 , wherein the provided identifier is read or scanned from a code associated with the power unit.
8 . The method of claim 6 , wherein the printed unique identifier is included in packaging of the power unit.
9 . The method of claim 1 , wherein determining the transition code comprises entering a lookup table with the unique identifier to obtain the transition code based on an association of the unique identifier to the transition code in the lookup table.
10 . The method of claim 1 , further comprising recording data associated with the performing the functional state transition test of the power unit.
11 . The method of claim 10 , further comprising analyzing the recorded data to determine modifications to an optical transmitter of the test fixture.
12 . The method of claim 11 , wherein determining the modifications comprises providing adjustments to light intensity, frequency or code provision speed of the optical transmitter.
13 . The method of claim 1 , further comprising performing a functional state transition test of a second power unit, the functional state transition test of the second power unit comprising:
detecting insertion of the second power unit into a second test module of the test fixture;
extracting a second unique identifier from the second power unit responsive to operable coupling of the second power unit to the test fixture;
determining a second transition code based on the second unique identifier;
providing the second transition code to the second power unit via the test fixture to transition the second power unit from the initial state to the transitioned state; and
transitioning the second power unit to the initial state,
wherein the second transition code is determined by the test fixture automatically responsive to extracting the second unique identifier from the second power unit.
14 . The method of claim 13 , wherein performing the functional state transition test of the second power unit is performed simultaneously with performing the functional state transition test of the power unit.
15 . The method of claim 13 , wherein performing the functional state transition test of the second power unit is performed asynchronously with respect to performing the functional state transition test of the power unit.
16 . The method of claim 13 , further comprising recording data associated with the performing the functional state transition test of the power unit and the functional state transition test of the second power unit.
17 . The method of claim 16 , further comprising analyzing the recorded data to determine modifications to a first optical transmitter of the first test module and/or a second optical transmitter of the second test module of the test fixture.
18 . The method of claim 17 , wherein determining the modifications comprises providing adjustments to light intensity, frequency or code provision speed of the first or second optical transmitter.
19 . A method for testing aerosol provision devices, the method comprising performing a functional state transition test of a power unit, the functional state transition test of the power unit comprising:
extracting a unique identifier from the power unit of an aerosol provision device responsive to operable coupling of the power unit to a test fixture;
determining a transition code based on the unique identifier;
providing the transition code to the power unit via the test fixture to transition the power unit from an initial state to a transitioned state; and
transitioning the power unit to the initial state,
the method further comprising performing a functional state transition test of a second power unit, the functional state transition test of the second power unit comprising:
detecting insertion of the second power unit into a second test module of the test fixture;
extracting a second unique identifier from the second power unit responsive to operable coupling of the second power unit to the test fixture;
determining a second transition code based on the second unique identifier;
providing the second transition code to the second power unit via the test fixture to transition the second power unit from the initial state to the transitioned state; and
transitioning the second power unit to the initial state,
wherein a first optical transmitter provides the transition code to the power unit, and a second optical transmitter provides the second transition code to the second power unit, and
wherein the first and second optical transmitters are each independently controlled to provide different optical transition signals at respective different times based on the first and second transition codes, respectively.
20 . A method for testing aerosol provision devices, the method comprising:
performing a first functional state transition test of a first power unit of a first aerosol provision device, the functional state transition test of the first power unit comprising:
extracting a unique identifier from the first power unit of the first aerosol provision device automatically responsive to detecting the first power unit in a first cavity of a test fixture;
determining a transition code based on the unique identifier automatically responsive to extracting the unique identifier from the first power unit;
providing the transition code to the first power unit via the test fixture to transition the first power unit from an initial state to a transitioned state; and
transitioning the first power unit to the initial state responsive to an indication of transitioning of the first power unit from the initial state to the transitioned state, and performing a second functional state transition test of a second power unit of a second aerosol provision device inserted into a second cavity of the test fixture while performing the first functional state transition test is also in progress.