Ohmite FSP Series Скачать руководство пользователя страница 5

v1.0 Mar 2018

5

Ohmite FSP Series Integration Guide: Force Sensing Potentiometer

Integration Guide

Force Sensing Potentiometer

4  FSP01CE/FSP02CE Connection and Sampling

 (continued)

4.2  Force Measurement

The relative touch force will be proportional to R

W

. However it is not possible to measure R

W

 independently of R

1

 and/or R

2

 

and as R

1

 and R

2

 change depending on the location of touch the simplest approach of measuring V

WIPER

 relative to V

REF_NEG

 

will yield a different result for the same relative force at different points along the sensor. 

A number of different methods are explained below that can be used to measure the touch force, each of which has it’s 

own advantages and disadvantages. These are further discussed in 

Table 1

 on the following page.

4.2.1 

Method 1

•  Setup V

1

 as an output pin on the microcontroller and make it output a digital HIGH signal.

•  Setup V

REF_NEG

 as an output pin on the microcontroller and make it output a digital LOW signal. 

•  Setup V

2

 and V

WIPER

 as an input pins

•  Take an ADC measurement, A

+

, from pin V

2

•  Take an ADC measurement, A

-

, from pin V

WIPER

•  Calculate the relative force using the following formula

4.2.2    Method 2

•  Setup V

1

 as an output pin on the microcontroller and make it output a digital HIGH signal.

•  Setup V

REF_NEG

 as an output pin on the microcontroller and make it output a digital LOW signal. 

•  Setup V

2

 as an output pin on the microcontroller and make it output a digital HIGH signal.

•  Setup V

WIPER

 as an input pin

•  Take an ADC measurement, A

WIPER

, from pin V

WIPER

•  Using the measured analog value of the position, A

POS

, the values for R

1

 and R

2

 can be approximated and the 

value of R

W

 (the resistance which represents the inverse of the force) can be calculated

4.2.3 

Method 3

This method first measures V

WIPER

 with V

1

 at a HIGH voltage and V

2

 as a high impedance pin. Then, the 

microcontroller switches V

2

 to a HIGH output voltage and V

1

 to a high impedance pin. V

WIPER

 will be measured 

again. The average of the two measurements will give an approximation for the force.

•  Setup V

REF_NEG

 as an output pin on the microcontroller and make it output a digital LOW signal.

•  Setup V

WIPER

 as an input pin

•  Setup V

1

 as an output pin on the microcontroller and make it output a digital HIGH signal.

•  Setup V

2

 as an input pin

•  Take an ADC measurement, A

WIPER_1

, from pin V

WIPER

•  Setup V

2

 as an output pin on the microcontroller and make it output a digital HIGH signal.

•  Setup V

1

 as an input pin

•  Take an ADC measurement, A

WIPER_2

, from pin VW

IPER

•  Take an average of A

WIPER_1

 and A

WIPER_2

 to get an estimate for the force

Figure 4.

  Method 1 test results

0

1

0.9

0.8

0.7

0.6

0.4 0.5

0.3

0.2

0.1

FORCE (KG)

POINT 1

POINT 2

POINT 3

VOLTAGE (ADC) * C

1000

0

100

200

300

400

500

600

700

800

900

Figure 5.

  Method 2 test results

0

1

0.9

0.8

0.7

0.6

0.4 0.5

0.3

0.2

0.1

FORCE (KG)

POINT 1

POINT 2

POINT 3

VOLTAGE (ADC) * C

1000

0

100

200

300

400

500

600

700

800

900

Figure 6.

  Method 3 test results

0

1

0.9

0.8

0.7

0.6

0.4 0.5

0.3

0.2

0.1

FORCE (KG)

POINT 1

POINT 2

POINT 3

VOLTAGE (ADC) * C

1000

0

100

200

300

400

500

600

700

800

900

F =

A

(A

+

 – A

)

F

1

R

W

p =

A

POS

ADC

MAX

=

A

POS

1023

R

2

 = p(R

1

 + R

2

)

R

1

 = (1 – p)(R

1

 + R

2

)

=

R

REF

A

WIPER

ADC

MAX

=

R

REF

p(1 – p)(R

1

 + R

2

) + R

W

 + R

REF

 + R

W

 + R

REF

R

1

R

2

R

1

 + R

2

R

W

 = R

REF

– p(1 – p)(R

1

 + R

2

) – R

REF

ADC

MAX

V

WIPER

1

2

(A

WIPER_1

 + A

WIPER_2

)

F

Содержание FSP Series

Страница 1: ...2018 1 Ohmite FSP Series Integration Guide Force Sensing Potentiometer Integration Guide Force Sensing Potentiometer To be used in conjunction with current FSP series data sheets available at www ohm...

Страница 2: ...Force Sensing Potentiometer FSP Overview Page 3 2 FSP01CE FSP02CE Introduction Page 4 3 FSP01CE FSP02CE Construction Page 4 4 FSP01CE FSP02CE Connection and Sampling Page 4 5 FSP01CE FSP02CE Recommen...

Страница 3: ...nner Adding additional opportunities for user interaction haptic control lighting and integration methods Interfacing to an FSP sensor is simple and can be achieved using a number of different methods...

Страница 4: ...or best results a microcontroller with an analog to digital converter ADC module should be used to measure the position and relative force of touch along the length of the sensor The pins shown in Fig...

Страница 5: ...ng the measured analog value of the position APOS the values for R1 and R2 can be approximated and the value of RW the resistance which represents the inverse of the force can be calculated 4 2 3 Meth...

Страница 6: ...es Linear relationship between applied force and ADC output Linearity continues beyond 1kg finger force Applying force near one end of the pot where the voltage is high results in a different ADC outp...

Страница 7: ...ET layer also with conductive dielectric and an FSR ink print A mounting adhesive on the rear The main active area of the Ring Sensor is a ring of printed carbon ink divided in three arcs by three ele...

Страница 8: ...ed in the previous section will be left floating Thus if the furthest pin is pin 4 as shown in Figure 9 on the previous page then Configure pin4 as an input pin so that it floats Drive pin 2 to high v...

Страница 9: ...Sensing Potentiometer Integration Guide Force Sensing Potentiometer 9 Contact Headquarters 27501 Bella Vista Parkway Warrenville IL 60555 USA Toll Free 1 866 9 OHMITE International 1 847 258 0300 Fax...

Отзывы: