The following procedure was used to find the placement of U3 and U4:
- An initial z-component displacement of 0 mm was selected for the z-component distance from the sensing element of switch U1 to the sensing element of switch U3. The same displacement was selected for the distance from the sensing element of switch U1 to the sensing element of switch U4.
- An initial x-component displacement was selected for the distance from the dot on the magnet to U3. Since U3 and U4 cannot be moved in the x direction due to being surface mount parts with fixed heights, there are only two options where U3 and U4 can be placed: on the top layer or bottom layer of the PCB. Due to the placement of the PCB within the 3D printed trigger module, the shortest distance from U1 and U2 to an external magnet is when the magnet is applied underneath the trigger module as shown in Figure 2-11 and Figure 2-12. Consequently, U1 and U2 in this design are more affected by external magnets applied underneath the PCB and trigger module. To deal with the susceptibility of U1 and U2 to magnets applied underneath the trigger module, tamper Hall switches U3 and U4 were placed at the bottom layer of the PCB to more closely detect external magnets applied underneath the trigger module. Outside of changing the PCB layer U3 and U4 are placed on, the x-component displacement can also be changed by moving the magnet in the x direction. If the magnet is moved in the x direction, note that the impact of this change on the DRV5056 output must be verified if the height of the DRV5056 through-hole package cannot be adjusted accordingly.
- An initial y-component displacement was selected for the y-component distance from the sensing element of switch U1 to the sensing element of switch U3. This displacement should be far away from the trigger magnet so that it does not detect the trigger movement as an external magnetic field, but it should also be close enough to the wake-up sensor to detect nearby external magnetic fields affecting U1. Figure 2-17 shows a picture of the back of the trigger module, where the back surface is removed so that the bottom of the PCB is visible. The rectangle with the “+” in it is a projection of switch 1 from its actual position on the top of the PCB to the bottom layer of the PCB that is shown in Figure 2-17. The footprint of U1 is projected onto the figure to show the y and z displacements of U1 to U2 and U3.
- After the y component of U3 was selected, a simulation was done to verify that the sensed magnetic flux density of the sensor was less than BOP during the entire trigger displacement range. Additionally, the sensed magnetic flux density should be less than BRP when the trigger is at rest so that the tamper outputs of the Hall sensor are automatically cleared when the trigger goes back to its rest position. If these conditions are not met, take the following actions:
- Restart from step 3 with a different y-component displacement.
- Restart from step 2 with a different x-component displacement. Note that the impact of this change on the DRV5056 output must be verified if the height of the DRV5056 through-hole package cannot be adjusted accordingly.
- Modify the dimensions or material of the magnet and restart from step 2. Note that the impact of this change on the DRV5056 output must be verified.
- Repeat steps 3 and 4 but for U4 instead of U3.
Based on implementing the previous procedures, the following distances were obtained and used for this design:
- U3 distance components
- X-component displacements
- X-component from bottom of package to white dot of magnet = 9.40 mm
- X-component from bottom of package to bottom of magnet = 9.40 – magnet radius = 7.02 mm
- X-component (sensor z-offset in tool) from sensing element to bottom of magnet to sensing element = 7.02 + 0.650 = 7.67 mm
- Y-component displacement = +10 mm.
- Z-component displacement (same as U1)
- Trigger not pressed
- Z-component from sensing element to white dot of magnet = 2.18 mm
- Z-component from sensing element to magnet center = 2.18 – 0.5 × magnet thickness = 2.18 – 0.5(4.76) = –0.2 mm
- Maximum trigger displacement = 10 mm
- Z-component from sensing element to white dot of = 12.18 mm
- Z-component from sensing element to magnet = 12.18 – 0.5 × magnet thickness) = 12.18 – 0.5(4.76) = 9.8 mm
U4 distance components
- X-component displacements
- X-component from bottom of package to white dot of magnet = 9.40 mm
- X-component from bottom of package to bottom of magnet = 9.40 – magnet radius = 7.02 mm
- X-component (sensor z-offset in tool) from sensing element to bottom of magnet to sensing element = 7.02 + 0.650 = 7.67 mm
- Y-component displacement = –10 mm.
- Z-component displacement (same as U1)