Free Essay

Human Step Detection and Counting with a Microphone (June 2015)

In:

Submitted By juba0008
Words 1833
Pages 8
1

Human Step Detection and Counting with a
Microphone (June 2015)
Juan Carlos Batista Sundström*, Hossam Salman** and Hossein Yazbek***

Abstract—nowadays it is common with the alternative use of sensors for detecting human movements such as footsteps and that is done for various reasons such as security or just for lightning a lamp automatically. We developed a Simulink model in Matlab to simulate a system that analyses the footsteps of three 25 years old men. Those men had different heights and weights. The data were recorded and analyzed using filtering and conditioning blocks of
Matlab. The System collected 3 sets of steps. The first set had 5 steps with 5 detections. The second set had 8 steps with 3 detection and the third set had 4 steps with 1 detections. In total, there were
17 steps where 9 steps were detected.
I.

C. Procedure
During the first part of the experiment, the footsteps were recorded on the main corridor of the first floor of the house 21, located in the University of Kristianstad. We also recorded the steps at our respective houses. The experiment was carried on a floor without carpet to allow a better collection of the data. This procedure was repeated several times, until satisfactory data without much noisy could be acquired.

INTRODUCTION

T

HE objective of this work was to detect the steps of a person using a microphone array embedded in our computer together with the Simulink library of Matlab.
We have some background of the idea after reading a few articles regarding this type of experiments.

Fig. 1. Simulink models used to record the steps

In the articles we read, the experiment was connected to fall detection. Whereas we experimented footsteps detection, a bit similar but not exactly the same.
An example is in the article “A microphone array system1”, where they used a camera to record the samples. We decided to only use a microphone to record the steps.
II. METHOD
A. Participants
Our experiment involved all members of our group where all hade their steps recorded. Our members consisted of three 25 years old men who weigh 95 kg, 79 kg, and 73 kg. Their heights were 176 cm, 168 cm, and 170 cm.
B. Material
The material used to collect the data in the experiment consisted of a microphone embedded in the computer used in the
Experiment. The software used to collect and save the data was
Matlab version R2015a. In Matlab the “Sinks” and the
“Sources” located in the DSP toolbox of the Simulink library were used to record and save the data in a file.

This Paper submitted June 08, 2015
* Juan Carlos Batista Sundström, student of the second year of the computerengineering program in the University of Kristianstad, Sweden.
** Hossein Yazbek student of the second year of the computer-engineering program in the University of Kristianstad, Sweden.

Fig 2. Simulink model of the system created to detect the footsteps in the signal.

During the second part of the experiment, we used Simulink in
Matlab to design a digital high-pass filter to make the signals from the data smoother. As we were 3 members, we recorded 3 different sets of steps. In total we had 17 steps. For each set of steps we had a different filter, because the signals were very different from each other. We used the “Digital Filter Design” block from simulink to design the filters. The filters were all finite impulse response filters. The calibration of the filters to allow better detection was made just by changing the parameters “Fstop” in the frequency and the parameters
“Apass” in magnitude. The desity factor was 17, The frequency

*** Hossam Salman, student of the second year of the computer-engineering program in the University of Kristianstad, Sweden.

2 units were kept in Hz, and The sample frequency in 44100 Hz.
The Magnitude units were kept in dB.
For the set of steps of the group member that weighs 95 kg and is 176 cm, the “Fstop” parameter was equal to 7000 Hz. The
“Apass” parameter was equal to 0.0000700 dB.
For the second set of steps which is from our member who weighs 79 kg and is 168 cm, the “Fstop” parameter was equal to 10600 Hz and “Apass” paramenter was equal to 0.0001 and the same parameters were kept in the third set of steps from the group member who weighs 73 kg and is 170 cm. In all sets of steps, the “Fpass” parameter was kept at 12000 Hz.

results were obtained with frequent and infrequent elevations in the amplitude of the signal. The high elevations that is mentioned bellow were the elevations with amplitude values equal or bigger than the constant value inside the “Compare to
Constant” block in Simulink.
After filtering the first set of steps, which comes from the group member who weighs 95 kg and is 176 cm, the signal was strong and consistent with frequent high elevations in the amplitude.

After passing through the filter, the signals would follow the following algorithm:
1. Input the signal n
2. Define the highest levels in the amplitude of the signal n for detection as DetectionLevel
3. for i=1 to n-length do
4. if ni >= DetectionLevel then
4.2 DetectedStepi ← 1
4.3 Downsample DetectedStepi by specific tested factor 4.4 DetectedStepSum =DetectedStepi +
DetectedStepi-1
5. Output DetectedStepSum
The Block “Compare to Constant” was used to implement the if-statement present in point 4. of the algorithm. The variables
“n” and “DetectionLevel” define the conditioning of the ifstatement in the algorithm. The value of n was the incoming signal and the DetectionLevel was predefined after analysis of the whole signal with the “Time Scope” block. This predefined value was filled in the parameter “Constant Value” of the
“Compare to Constant” block. The predefined value for the first set of steps was 0.6648, for the second and third sets the value was 0.18.
The implementation of the point 4.3 of the algorithm was done using the “Downsample” block of Simulink. The use of this block was necessary to decrease the number of samples in the signal before it could be summed. In that way, over summing could be avoid after the signal passed through the “Sum” block, which was used to implement step 4.4 algorithm. This block requires a factor and different values for this factor, was used for the different sets. In the first set the value was 60, in the second the value was 13 and in the third the value was 15.
The difference between the signals is the reason why different values were used in both the “DownSample” and “Compare to
Constant” blocks
III.

RESULTS

After the whole process of filtering and conditioning the signal for detection and summing, a link to the signal output after the conditioning, was connected together with a link of the summing into a “Time-Scope” Block of Matlab. Different

Fig. 3. Signal of the first set of steps after filtering.

After passing the “Compare to Constant” block, 5 high elevations in the amplitude were detected and summed by the summer block. The sum reached 5.

Fig. 4. The thick line in black represents the counting of the signal.
The lilac lines represents the signal after passing the conditioning.

After filtering the second set of steps, which comes from the group member who weighs 79 kg and is 168 cm, the signal was strong and consistent but with infrequent high levels in the amplitude. Fig. 5. Signal of the second set after filtering

After passing the “Compare to Constant” block, 3 high elevations in the amplitude were detected and summed by the summer block. The sum reached 3.

3 distance in which the microphone was recording in the different occasions. The number of microphones used in a single room is also a factor that could have influenced the bad quality of some signals. Our study also showed that the weight of our group members could have had some influence in the detection with the heaviest member of the group having the most accurate detection. Fig. 6. The second set could only detect and count 3 steps of 8.

After filtering the third set of steps, which comes from the group member who weighs 73 kg and is 170 cm, the signal was not consistent, with only one high elevation in the amplitude in relation to the other small elevations.

After passing through the “Compare to Constant” block, there were many elevations rising close to each other in some short intervals (see the lilac lines in fig.4 and 8). The created model saw them as only one elevation rising only once after summing, that because of the use of the “Downsample” block, which decreased the number of samples in that single interval to one, so it could interpret the whole interval of elevation as one step. we could learn that it is possible to detect steps, using conditioning of amplitude with the “Compare to Constant” block in Simulink. Our model detected 9 of 17 steps, it means
53% of success in the detection. That clear limitation exist because in our study, the steps could only be detected with signals reaching a specific amplitude. It means that some steps were missed by the detection. The solution for this problem could be the use of more than one “Compare to Constant” and
“Downsample” blocks with different constant values and factors values.

Fig. 7. Signal of the third set after filtering

After conditioning in the “Compare to Constant” block, 1 high elevations in the amplitude were detected and summed by the summer block. The sum reached 1.

Our study could have been more reliable if the experiments was applied with more people of different genders and ages. Besides the experiment, could even be done on a floor with carpet, with participants using different kind of shoes and sandals or even barefoot. REFERENCES

[1] Yun Li, K. Ho and M. Popescu, 'A Microphone Array System for Automatic
Fall Detection', IEEE Transactions on Biomedical Engineering, vol. 59, no. 5, pp. 1291-1301, 2012.

Fig. 8. The graph shows how the third set was inaccurate by showing only the detection of one step.

IV. DISCUSSION AND CONCLUSION
After analyzing the different graphs, it was possible to verify that the high levels in the signal amplitude represented the steps of the group members. The reason why the elevations were so high, frequent and infrequent in specific intervals is unclear.
Many reasons can be associated to this. Like the angle and

[2]S. Gasparrini, E. Cippitelli, S. Spinsante and E. Gambi, 'A Depth-Based Fall
Detection System Using a Kinect® Sensor', Sensors, vol. 14, no. 2, pp. 27562775,
2014.
[3]M. Salman Khan, M. Yu, P. Feng, L. Wang and J. Chambers, 'An unsupervised acoustic fall detection system using source separation for sound interference suppression', Signal Processing, vol. 110, pp. 199-210, 2015.
Basic format for periodicals:

Similar Documents

Free Essay

Comp Txt

...1 2 Acknowledgements p.1 tr ©iStockphoto.com/Dennys Bisogno, etc t = top, b = bottom, l = left, r = right, c = centre Computer hardware and software brand names mentioned in this book are protected by their respective trademarks and are acknowledged. Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu Every effort has been made to trace all copyright holders, but if any have been inadvertently overlooked the publishers will be pleased to make the necessary arrangements at the first opportunity. Although every effort has been made to ensure that website addresses are correct at time of going to press, Hodder Education cannot be held responsible for the content of any website mentioned in this book. It is sometimes possible to find a relocated web page by typing in the address of the home page for a website in the URL window of your browser. Photo credits p.1 © peno – Fotolia; p.15 © Dmitrydesigner/Fotolia; p.16 ©iStockphoto.com/Karl Yamashita; p.57 © Romanchuck – Fotolia; p.58 t © C Squared Studios/Photodisc/Getty Images, m ©Dmitriy Melnikov - Fotolia.com, b © Popova Olga/Fotolia; p.59 © picsfive – Fotolia; p.65 © Manfred Schmidt – Fotolia.com; p.67 © dja65 – Fotolia; p.68 © Konstantin Shevtsov – Fotolia; p.69 t © Miguel Navarro/Stone/Getty Images, b © Piero Cruciatti/Alamy; p.73 © Jamdesign/Fotolia; p.78 and 79 © adisa – Fotolia; p.81 © Mykola Mazuryk – Fotolia; p.82 t © Mauro Rodrigues/Fotolia...

Words: 49691 - Pages: 199

Premium Essay

Doc, Docx, Pdf, Wps, Rtf, Odt

...Coping with Continuous Change in the Business Environment CHANDOS KNOWLEDGE MANAGEMENT SERIES Series Editor: Melinda Taylor (email: melindataylor@chandospublishing.com) Chandos’ new series of books are aimed at all those individuals interested in knowledge management. They have been specially commissioned to provide the reader with an authoritative view of current thinking. If you would like a full listing of current and forthcoming titles, please visit our web site www.chandospublishing.com or contact Hannah Grace-Williams on email info@chandospublishing.com or telephone number +44 (0) 1993 848726. New authors: we are always pleased to receive ideas for new titles; if you would like to write a book for Chandos, please contact Dr Glyn Jones on email gjones@chandospublishing.com or telephone number +44 (0) 1993 848726. Bulk orders: some organisations buy a number of copies of our books. If you are interested in doing this, we would be pleased to discuss a discount. Please contact Hannah Grace-Williams on email info@chandospublishing.com or telephone number +44 (0) 1993 848726. Coping with Continuous Change in the Business Environment Knowledge management and knowledge management technology ANTONIE BOTHA DERRICK KOURIE AND RETHA SNYMAN Chandos Publishing Oxford · England Chandos Publishing (Oxford) Limited TBAC Business Centre Avenue 4 Station Lane Witney Oxford OX28 4BN UK Tel: +44 (0) 1993 848726 Fax: +44 (0) 1865 884448 Email:...

Words: 69553 - Pages: 279

Free Essay

Big Data

...McKinsey Global Institute June 2011 Big data: The next frontier for innovation, competition, and productivity The McKinsey Global Institute The McKinsey Global Institute (MGI), established in 1990, is McKinsey & Company’s business and economics research arm. MGI’s mission is to help leaders in the commercial, public, and social sectors develop a deeper understanding of the evolution of the global economy and to provide a fact base that contributes to decision making on critical management and policy issues. MGI research combines two disciplines: economics and management. Economists often have limited access to the practical problems facing senior managers, while senior managers often lack the time and incentive to look beyond their own industry to the larger issues of the global economy. By integrating these perspectives, MGI is able to gain insights into the microeconomic underpinnings of the long-term macroeconomic trends affecting business strategy and policy making. For nearly two decades, MGI has utilized this “micro-to-macro” approach in research covering more than 20 countries and 30 industry sectors. MGI’s current research agenda focuses on three broad areas: productivity, competitiveness, and growth; the evolution of global financial markets; and the economic impact of technology. Recent research has examined a program of reform to bolster growth and renewal in Europe and the United States through accelerated productivity growth; Africa’s economic potential;...

Words: 60035 - Pages: 241

Free Essay

Mcda Analysis

...McKinsey Global Institute June 2011 Big data: The next frontier for innovation, competition, and productivity The McKinsey Global Institute The McKinsey Global Institute (MGI), established in 1990, is McKinsey & Company’s business and economics research arm. MGI’s mission is to help leaders in the commercial, public, and social sectors develop a deeper understanding of the evolution of the global economy and to provide a fact base that contributes to decision making on critical management and policy issues. MGI research combines two disciplines: economics and management. Economists often have limited access to the practical problems facing senior managers, while senior managers often lack the time and incentive to look beyond their own industry to the larger issues of the global economy. By integrating these perspectives, MGI is able to gain insights into the microeconomic underpinnings of the long-term macroeconomic trends affecting business strategy and policy making. For nearly two decades, MGI has utilized this “micro-to-macro” approach in research covering more than 20 countries and 30 industry sectors. MGI’s current research agenda focuses on three broad areas: productivity, competitiveness, and growth; the evolution of global financial markets; and the economic impact of technology. Recent research has examined a program of reform to bolster growth and renewal in Europe and the United States through accelerated productivity growth; Africa’s economic potential;...

Words: 60035 - Pages: 241

Premium Essay

Managing Information Technology (7th Edition)

...CONTENTS: CASE STUDIES CASE STUDY 1 Midsouth Chamber of Commerce (A): The Role of the Operating Manager in Information Systems CASE STUDY I-1 IMT Custom Machine Company, Inc.: Selection of an Information Technology Platform CASE STUDY I-2 VoIP2.biz, Inc.: Deciding on the Next Steps for a VoIP Supplier CASE STUDY I-3 The VoIP Adoption at Butler University CASE STUDY I-4 Supporting Mobile Health Clinics: The Children’s Health Fund of New York City CASE STUDY I-5 Data Governance at InsuraCorp CASE STUDY I-6 H.H. Gregg’s Appliances, Inc.: Deciding on a New Information Technology Platform CASE STUDY I-7 Midsouth Chamber of Commerce (B): Cleaning Up an Information Systems Debacle CASE STUDY II-1 Vendor-Managed Inventory at NIBCO CASE STUDY II-2 Real-Time Business Intelligence at Continental Airlines CASE STUDY II-3 Norfolk Southern Railway: The Business Intelligence Journey CASE STUDY II-4 Mining Data to Increase State Tax Revenues in California CASE STUDY II-5 The Cliptomania™ Web Store: An E-Tailing Start-up Survival Story CASE STUDY II-6 Rock Island Chocolate Company, Inc.: Building a Social Networking Strategy CASE STUDY III-1 Managing a Systems Development Project at Consumer and Industrial Products, Inc. CASE STUDY III-2 A Make-or-Buy Decision at Baxter Manufacturing Company CASE STUDY III-3 ERP Purchase Decision at Benton Manufacturing Company, Inc. CASE STUDY III-4 ...

Words: 239887 - Pages: 960

Premium Essay

Management Information Systems

...Course Technology’s Management Information Systems Instructor and Student Resources Introduction to IS/MIS Principles of Information Systems, Eighth Edition • Stair, Reynolds Fundamentals of Information Systems, Fourth Edition • Stair, Reynolds Management Information Systems, Sixth Edition • Oz Information Technology in Theory • Aksoy, DeNardis Office Applications in Business Problem-Solving Cases in Microsoft Access & Excel, Sixth Annual Edition • Brady, Monk Succeeding in Business Applications with Microsoft Office 2007 • Bast, Gross, Akaiwa, Flynn, et.al Succeeding in Business with Microsoft Office Excel 2007 • Gross, Akaiwa, Nordquist Succeeding in Business with Microsoft Office Access 2007 • Bast, Cygman, Flynn, Tidwell Databases Database Systems, Eighth Edition • Rob, Coronel Concepts of Database Management, Sixth Edition • Pratt, Adamski Data Modeling and Database Design • Umanath, Scamell A Guide to SQL, Seventh Edition • Pratt A Guide to MySQL • Pratt, Last Guide to Oracle 10g • Morrison, Morrison, Conrad Oracle 10g Titles Oracle9i Titles Enterprise Resource Planning Concepts in Enterprise Resource Planning, Third Edition • Monk, Wagner Data Communications Data Communications and Computer Networks: A Business User’s Approach, Fourth Edition • White Systems Analysis and Design Systems Analysis and Design in a Changing World, Fifth Edition • Satzinger, Jackson, Burd Object-Oriented Analysis and Design with the Unified Process • Satzinger, Jackson, Burd Systems Analysis and...

Words: 223685 - Pages: 895