SSZTAJ2 december   2016 LDC0851

 

  1.   1
  2.   2
    1.     3
    2.     Prototype and Testing Phase
    3.     Additional Resources

Luke LaPointe

When customers are designing proximity-switch applications using inductive sensing devices like the LDC0851 switch, they often ask me how to design a coil for a given switching distance. Today, I want to show you how to use TI’s new WEBENCH® tool to make these calculations, provide computer aided design (CAD) files for coil layout, and then build and test a prototype for a proximity application in three easy steps.

I will use the example of an open/close lid application from a previous blog post. A simplified diagram is provided below for reference.

GUID-B3D53096-61B7-4BFF-B196-1D4DFF6B0434-low.png Figure 1 Lid Open and Close Detection with LDC0851

To access the WEBENCH tool, go to the LDC0851 product page and navigate to the on/off sensing tool on the right, as shown in Figure 2. Alternatively, simply type www.ti.com/ldc0851webench into your browser.

GUID-691FF1DA-A5DB-41E5-915B-0E897F8B91F1-low.jpg Figure 2 Inductive Sensing WEBENCH Tool for Proximity-switch Applications
  1. Enter the relevant parameters and click Start Design.
    1. Switching Distance: This is the distance at which you would like the LDC0851 to change output states in the presence of a metal target. For this application, the switching point should occur at 3mm.
    2. Closest Target Distance: Because this is a contactless switching technology, a robust design will allow the metal target to continue to move closer to the coil after it has crossed the switching point. Entering this parameter will determine the minimum inductance of the sensor coil. For this application, once the lid is completely closed, it will rest on a 1mm-thick plastic barrier.
    3. Max Coil Dia: This is the maximum diameter that you have room for on your printed circuit board (PCB). Longer switching distances will require a larger coil diameter. Increase this parameter if you would like to see more results. This application only has enough room for a 15mm coil at maximum.
    4. Supply Voltage: This parameter impacts the supportable minimum inductance. Using a supply of 3.3V can support sensor inductances lower than 1.8V. This application supports the use of a 3.3V supply. Refer to Figure 9 and 10 of the LDC0851 data sheet for more information. There is also a design space calculator available on the “LDC0851_calc” tab in the inductive sensing design calculator tool.
    5. Click Start Design.
  2. Select appropriate coils for your application by filtering and then clicking Open Design. Following along with the numbered boxes shown in Figure 3:
    1. Solution type: Stacked coils can provide a more compact layout, but typically provide less switching distance than side-by-side coils for the same diameter. If no results are showing for a stacked coil design, select “side-by-side” or “both” and then click “recalculate.” This application can support a four-layer PCB design, but requires a stacked coil layout due to limited available PCB area.
    2. See Filter Results on the top right to view the settings that your PCB vendor can easily support. For the chosen application, use a trace width of 5mil and a four-layer PCB.
    3. Click Open Design.
      GUID-488DA34A-F973-4B6A-B194-A440100B3073-low.png Figure 3 Select a Design
    3. Export your CAD file and send the PCB out for quote.
    1. Verify that the operating values are correct for the application, which is shown on the bottom left of Figure 4.
GUID-9B36687D-B579-4179-A35C-FC203C47281A-low.jpg Figure 4 Open Design

b. Click CAD File Export, shown on the bottom right of Figure 4, and choose from a variety of CAD tools to open the design, as shown in Figure 5.

GUID-40AEEDF8-9278-4B70-BAC7-0046FECF2CD8-low.png Figure 5 CAD Export Tools

c. Download and open the file. Add any finishing touches to the PCB, as shown in Figure 6.

GUID-2E6A0412-AECB-4E8C-B84F-2EDD62D9392C-low.jpg Figure 6 Open up the Coil Layout and Add Final Touches

d. Finally, the design is ready to be packaged up and sent for quote.

Prototype and Testing Phase

Once you receive your coil design, you can connect it to one of our prototyping tools such as the LDC0851EVM and begin prototyping, as shown in Figure 7.

GUID-90B59E92-4D6E-43B7-935E-3955919D23CC-low.jpg Figure 7 Build Design and Prototype

To test the switching distance I connected a flat metal target to a linear position motor and swept the target metal back and forth over our prototype to find the switching distance versus the adjustment (ADJ) code. Figure 8 shows that I achieved a switching distance of 3mm for an ADJ setting of 1. A simple way to set this ADJ value is to use Table 1 from the LDC0851 datasheet. For an ADJ setting of 1 it is recommended to use a resistor divider of 49.9 kΩ and 3.32 kΩ which are common resistor values.

GUID-0EE010EE-0521-4EFE-AE6F-32D3DA0FC650-low.png Figure 8 Switching Distance Curve

This design is ready for use in our lid open/close applications and meets the original requirements of 3mm switching distance with our specified PCB constraints.

Now you can say that proximity switch applications can be as easy as 1, 2, 3 with WEBENCH® on/off inductive designer. What are your experiences designing proximity-switch applications? Log in to comment below.