Professional Documents
Culture Documents
Ljubomir Vra ar, Member, IEEE, Aneta Prijic, Member, IEEE, Du an Vu kovic, Student Member, IEEE, and
c
s
c
I. INTRODUCTION
EVELOPMENT of versatile human interfaces for various
electronic devices has attracted much attention in recent
years [1]. Although efforts are mainly directed towards consumer devices, there are requirements from industrial, medical
and other more specialized electronic branches. Manufacturers
of such equipment are looking for a substitution of mechanical
push buttons and switches used in command panels with more
sophisticated and customizable components.
Capacitive sensors, either touch or pressure, are found to be a
good alternative to mechanical devices, mainly due to their implementation exibility, reliability and overall durability. These
sensors are used in conjunction with microcontrollers to provide
accurate detection of the change in capacitance due to a touch or
a pressure of a human nger. Touch sensors have limited usage
in the industrial environment due to their susceptibility to false
readings induced by humidity and inability to implement a single
conductive touching surface over several devices. Pressure sensors are more appropriate for the implementation in the equipment designed for harsh working conditions. For the pressure
range of interest these sensors are designed as MEMS devices
usually using fabrication processes from the printed circuit board
Manuscript received September 05, 2011; accepted October 09, 2011. Date
of publication October 25, 2011; date of current version April 13, 2012. This
work was supported in part by the Serbian Ministry of Education and Science
under Grant TR32026 and in part by Ei PCB Factory, Ni. The associate editor
s
coordinating the review of this paper and approving it for publication was Prof.
Kiseon Kim.
s
Lj. Vra ar, A. Prijic and Z. Prijic are with the University of Ni, Facc
ulty of Electronic Engineering, 18000 Ni, Serbia (e-mail: ljubomir.
s
vracar@elfak.ni.ac.rs; aneta.prijic@elfak.ni.ac.rs; zoran.prijic@elfak.ni.ac.rs).
Fig. 1. Isometric view and crosssection of the capacitive pressure sensor (onequarter shown due to the symmetry of the structure; not to scale).
VRACAR et al.: CAPACITIVE PRESSURE SENSING BASED KEY IN PCB TECHNOLOGY FOR INDUSTRIAL APPLICATIONS
TABLE I
DIMENSIONS OF THE STRUCTURE FROM FIG. 1
1497
TABLE II
MECHANICAL AND ELECTRICAL PARAMETERS OF THE
MATERIALS USED FOR THE SIMULATION
Fig. 3. (left) Total deformation and (right) equivalent stress values in the sensor
under applied pressure of 115 kPa.
ANSYS 12 Workbench and APDL Software [18]. Relevant mechanical and electrical properties of the materials used for the
simulation are given in Table II. Simulation geometry was simplied in comparison to the actual one (see Section III) by assuming that the core extends up to the bottom of the device. Mechanical constrains were set by xing support at the bottom side
of the structure and by setting the symmetry boundary condition
onto the vertically halving plane. Loads are dened by applying
pressure up to 115 kPa onto the circular pressing area at the top
surface of the top layer. This area is assumed to have a diameter of an average human ngerpad (1.2 cm) [19]. A mesh for
structural analysis was the one primarily generated by ANSYS
Mechanical Workbench with subsequent renement of the elements on the top surface of the top layer. Simulation results of
the total deformation and equivalent stress values in the sensor
under applied pressure of 115 kPa are shown in Fig. 3. In this
case the top layer is deected to the limit when the top electrode touches the surface of the prepreg. The maximum equivalent stress in the layer has the value of 43.9 MPa at the center
of the pressing area. This value is well below the yield strength
of FR4 material (Table II) and reliable mechanical properties of
the sensing element should be expected.
The capacitance of the sensor for different pressure values is
determined through CMATRIX macro of ANSYS APDL software by implementing SOLID123 type of 3D tetrahedral electrostatic elements. It was assumed that Cu electrodes are isolated
conducting surfaces onto the FR4 dielectric areas. A nonuniform, free meshing strategy with an initial smart sizing option
1498
was used for mesh generation of the solid model. The subsequent renement of the volume elements was conducted to obtain solution independence on the mesh density. Electrostatic
constrains set the bottom electrode at the high potential and the
top electrode grounded. Also, the bottom surface of the core was
grounded as a part of the shield used to improve noise immunity
in the real sensor.
The capacitance formed by the bottom electrode and the
shield is connected in parallel with the sensing capacitance.
Therefore, as being builtin and constant, its value of 4.23 pF
contributes to the total simulated capacitance. The relative
change of the sensor capacitance is dened as:
(1)
where
is the capacitance in the pressed and
in the unpressed state. Simulation results for
as a function of the applied pressure are given in Fig. 4, for single and double layered
is increased by the introduction
dielectrics. It is evident that
of a double layered dielectric. It should be emphasized that for
the case of a single layered dielectric relative change of the capacitance does not depend on its permittivity. Simulated values
of the total sensor capacitance are in the range 8.6 12.7 pF.
However, since the sensor is embedded in the much complex
structure, correlation between the simulation and experiment is
performed on a fabricated device, as described in Section III.
III. DEVICE DESCRIPTION
Functional block diagram of a single key device incorporating
described pressure sensor is shown in Fig. 5. The blocks are
arranged using conventional multilayer PCB technology with
embedded electronic components, as shown in Fig. 6. The components are laid out in a manner that enhances noise immunity
[20]. Note that the bottom side of the top layer and the top side
of the bottom layer are used as ground planes.
Voltage changes caused by pressing the sensor are acquired
by a 10bit ADC converter of a lowcost PIC12F683 microcontroller [21] using a Capacitive Voltage Divider (CVD) principle
described in [22] and the corresponding hardware and software
guidelines [23]. In essence, changes of the ADC readings are
inversely proportional to the changes of the sensor capacitance.
VRACAR et al.: CAPACITIVE PRESSURE SENSING BASED KEY IN PCB TECHNOLOGY FOR INDUSTRIAL APPLICATIONS
1499
Fig. 8. Waveforms measured on the device: the upper waveform shows ADC
readings on the voltage divider; the lower waveform shows output from the device. Crosshairs (a) and (b) mark the moments when the sensor is pressed and
output is produced, respectively, thus dening output delay time.
Fig. 10. Photograph and the pinout of a fabricated single key device (side
length 35 mm).
Fig. 9. Threshold values adjustment used to compensate the effect of a continuous pressure.
1500
Fig. 13. Top and side view of the prototype command panel for the torch control in an industrial process.
Fig. 11. Normalized ADC readings vs. applied pressure for a single key device.
ADC refers to the reading in the unpressed state.
Fig. 12. Photographs of a fabricated device: (a) top layertop view; (b) bottom
layerbottom view; (c) corebottom view; (d) bottom layertop view; (side
length 25 mm).
where
is the reading in the unpressed state,
sample and hold capacitance of the AD converter and
is the capacitance of the microcontrollers input pin to
which the sensor is connected. A fairly good agreement is found
between the simulated and measured values, whereas the discrepancies are due to the simplied simulation geometry and
technology tolerances.
On the basis of the presented simulating technique, a parameterdriven modelling is employed to design a device with
smaller lateral dimensions by keeping the same sensitivity. The
photographs of the realized device, including the inner layers
depicted in Fig. 6, are shown in Fig. 12. The smaller devices
might be more convenient for a keyboard arrangement, whereas
the larger ones are for a standalone use, especially for operators
wearing industrial gloves.
A decorative and protective fascia of a users choice should
be mounted over the top of the keys. It can be made even of
The described device can be customized in terms of adjustment of its behaviour and properties. This is accomplished by
using the custom controller board and hardware interface shown
in Fig. 14. The controller board consists of the microcontroller
(PIC18F4520 in this case), common interfaces for the connection with the host application, and the two wire interface for
the communication with attached devices. Each device can be
congured to act either as a standalone or as a part of a keyboard using the same controller board. For devices intended to
be used as standalone, the controller board is needed only for
the conguration of their properties and not for the application
implementation, as illustrated in Fig. 15.
Communication between the controller board and the devices
is designed as a serialbased, using clock and data lines. The
clock line is driven by the controller. The data line is bidirectional, so it can be used for sending and receiving data. In the
idle state the clock line is at the low level and the data line is at
the high level via a pullup resistor to the supply voltage. Byte
transfer resembles SPI 0 mode with an additional clock pulse
at the end of the transmission to release the data line. It should
be noted that neither the controller nor any of the attached devices actually pulls the data line to the high level, instead the
high impedance state is used on their data pins. During the initial phase of communication, where the controller board sends
the packet, all devices in the array receive the packet. After receiving the packet all devices set the data line to low level and
as every single one nishes with processing the packet it sets its
data line pin to high impedance. In this way the data line is going
to return to high level only when all devices have nished with
processing the data. When such an event occurs, the controller
board initiates reading of the rst byte of the reply. Depending
on the value of the received byte, which can vary from the error
VRACAR et al.: CAPACITIVE PRESSURE SENSING BASED KEY IN PCB TECHNOLOGY FOR INDUSTRIAL APPLICATIONS
1501
Fig. 14. Block diagram of the controller board and connection interface for an
array conguration. In the inset, a photograph of the controller board is shown
(dimensions are 25 mm 40 mm).
where
is a byte containing the command identiis a byte containing the number of bytes to
cation,
follow,
is a byte containing the particular devices
are up to 7 bytes containing conguraaddress, and
tion parameters. An address is required for the device operating
in the keyboard mode and may take value from 1 to 127. The
addressing procedure starts when the controller issues a command to set an address and as a part of the command it sends
the desired address value. All keys in the keyboard receive the
command and get into the addressing mode. While in the addressing mode, every pressed key will assign to itself the address it has received. The keys remain in the addressing mode
until the command for ending the address procedure has been issued by the controller. Note that it is possible to assign the same
address to multiple keys, e.g., in the case when the same key
role is required in different places on the keyboard. Although
the designed address space allows up to 127 keys, in order to
maintain signal integrity practical usage should be restricted to
a few tenths of keys.
Once the keyboard has been congured, the role of the controller is to decode the address of a pressed key and to pass it to
the host application. When a key is pressed it signals its state to
the controller by pulling the data line low. The controller then
starts to acquire the address of a pressed key by using the search
procedure according to the owchart given in Fig. 16. The procedure is designed to speed up an overall keyboard response and
it has been inspired by the search method used in 1Wire devices
[26], [27]. The address required is obtained in 10 ms. Note that
without using the described procedure search time would be orders of magnitude longer (depending on the number of keys),
which would result in severe degradation of keyboard responsiveness. Communication protocol and the search procedure can
also be built in the host application, thus eliminating the need for
the controller board.
A PCbased utility with a graphical user interface is developed to simplify the conguration of the devices. When the con-
1502
cancel the effect of undesirable working conditions was developed. An allside input/output design was proposed as a way
for convenient interconnection between the devices. The ability
of the device to be congured either as a single key or within
a keyboard was demonstrated. A simple and reliable twowire
communication protocol between the controller board and the
devices arranged in a keyboard was developed.
Although the device is designed to be used in industrial equipment, its robustness and exibility make it suitable for other applications like those in medical equipment, home appliances,
etc. Because its design is based on a widely available technology
and comprises lowcost electronic components it is also appropriate for a volume production.
REFERENCES
Fig. 16. Flowchart of the address search procedure (Unied Modeling Language notation used).
[17] Lj. Vra ar, D. Vu kovic, A. Prijic, and Z. Prijic, A capacitive pressure
c
c
sensor with multylayered dielectric, Serbia Patent Appl. P-2010/0569,
Dec. 2010.
[18] Ansys 12.0 Ansys Inc., 2010 [Online]. Available: http://www.
ansys.com
[19] K. Dandekar, B. Raju, and M. Srinivasan, 3-D nite-element models
of human and monkey ngertips to investigate the mechanics of tactile
sense, J. Biomech. Eng., vol. 125, pp. 682691, Oct. 2003.
VRACAR et al.: CAPACITIVE PRESSURE SENSING BASED KEY IN PCB TECHNOLOGY FOR INDUSTRIAL APPLICATIONS
[25] Lj. Vra ar, D. Vu kovic, A. Prijic, and Z. Prijic, A keyboard tealized
c
c
by keys based on the printed circuit board technology, Serbia Patent
Appl. P-2010/0571, Dec. 2010.
[26] 1wire search algorithm, Maxim Integrated Products, Appl. Note
AN187, 2002.
[27] B. Linke, Book of iButton standards, Maxim Integrated Products,
Inc., Appl. Note 937, 2002.
1503