Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A CONTROLLER AND A METHOD TO DETERMINE A SWIM STROKE
Document Type and Number:
WIPO Patent Application WO/2022/042962
Kind Code:
A1
Abstract:
The controller (110) connected to receive input signals (120) from at least one accelerometer (102). The controller (110) comprises an interface (104) facilitating input and output pins/ports, a filter module (106) to filter the input signal (120) from at least one accelerometer (102). The controller (110), characterized by, a stroke segmentation module (108) adapted to determine at least two parameters comprising a first parameter (208) and a second parameter (210) from said filtered signal (122), generate an envelope signal (206) using the at least two parameters and the filtered signal (122), and determine the swim stroke of the swimmer based on the filtered signal (122) and the envelope signal (206). Further, an activity detection module (112) is used in combination with the stroke segmentation module (108). The present invention obtains the stroke segments based only on the inputs signals from at least one accelerometer (102), providing reduced cost and complexity.

Inventors:
MAHIMA TOMAR (IN)
POOJA MOHAN (IN)
SENTHILMURUGAN SENGOTTUVELAN (IN)
DHEEPAK PUDUR MARUDHACHALAM (IN)
Application Number:
PCT/EP2021/070594
Publication Date:
March 03, 2022
Filing Date:
July 22, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BOSCH GMBH ROBERT (DE)
ROBERT BOSCH ENGINEERING AND BUSINESS SOLUTIONS PRIVATE LTD (IN)
International Classes:
G09B5/06; A61B5/00; A61B5/11; A63B69/00; A63B71/06
Foreign References:
US20100204952A12010-08-12
EP1992389A12008-11-19
GB2176036A1986-12-10
US8265900B22012-09-11
Attorney, Agent or Firm:
BEE, Joachim (DE)
Download PDF:
Claims:
We claim:

1. A controller (110) to determine a swim stroke of a swimmer, said controller (110) connected to receive input signals (120) from at least one accelerometer (102), said controller (110) comprises a filter module (106) to filter said input signal (120) from said at least one accelerometer (102), characterized by, a stroke segmentation module (108) adapted to determine at least two parameters comprising a first parameter (208) and a second parameter (210) from said filtered signal (122); generate an envelope signal (206) using said at least two parameters and said filtered signal (122), and determine said swim stroke of said swimmer based on said filtered signal (122) and said envelope signal (206).

2. The controller (110) as claimed in claim 1, wherein said first parameter (208) comprises a local minima of peaks in said filtered signal (122), and said second parameter (210) comprises a relative amplitude of said peak based on said calculated local minima.

3. The controller (110) as claimed in claim 1, wherein said stroke segmentation module (108) adapted to generate said envelope signal (206) based on a fall rate and a state of an internal state machine having two states, namely, a ‘FOLLOW’ state and a ‘FALL’ state, said envelope signal (206) is generated with reference to said filtered signal (122), and identify an instant of a raw stroke segment based on said envelope signal (206) and said filtered signal (122), and determine a true instant of stroke segment after validation. The controller (110) as claimed in claim 1, comprises an activity detection module (112) adapted to extract features vectors from said input signal (120) and said filtered signal (122), and process said extracted feature vectors to determine said identified stroke segment to be any one of a swim activity and a non-swim activity. The controller (110) as claimed in claim 4, wherein said feature vectors used by said activity detection module (112) is selected from a group comprising a maximum value of velocity of current stroke segment (MaxVelcr), a difference between maximum value of velocity of a current stroke segment (MaxVelcr) and maximum value of velocity of a previous stroke segment (MaxVelpr), a difference between mean of acceleration data of current segment (MeanX/Y/Zcr) and mean of acceleration data of second previous segment (MeanX/Y/Zsp), a difference between peak point of filtered acceleration data of current segment (PeakPointcr) and peak point of filtered acceleration data of previous segment (PeakPointpr), a difference between maximum value of filtered acceleration data (MaxFiltAccX) and minimum value of filtered acceleration data (MinFiltAccX) for a stroke segment, and a rate of change of acceleration (RateAccelX/Y/ZCr). A method for determining a swim stroke of a swimmer, said method comprising the steps of: filtering signal (122) from said at least one accelerometer (102) using a filter module (106), characterized by, using a stroke segmentation module (108) for determining at least two parameters comprising a first parameter (208) and a second parameter (210) from said filtered signal (122); generating an envelope signal (206) using said at least two parameters and said filtered signal (122), and determining said swim stroke of said swimmer based on said filtered signal (122) and said envelope signal (206). The method as claimed in claim 6, wherein said first parameter (208) comprises a local minima of peaks in said filtered signal (122), and said second parameter (210) comprises a relative amplitude of said peak based on said calculated local minima. The method as claimed in claim 6, wherein said stroke segmentation module (108) is configured for generating said envelope signal (206) based on a fall rate and a state of an internal state machine having two states, namely, a ‘FOLLOW’ state and a ‘FALL’ state, said envelope signal (206) is generated with reference to said filtered signal (122), and identifying a raw instant of a stroke segment followed by determining said raw instant to be a true instant of stroke segment after validation. The method as claimed in claim 1, comprises using an activity detection module (112) for enabling validation of said identified stroke segment, said activity detection module (112) configured for extracting feature vectors from said filtered signal (122), and processing said extracted feature vectors to determine said identified stroke segment to be any one of a swim activity and a non-swim activity. The method as claimed in claim 9, wherein said feature vectors used by said activity detection module (112) is selected from a group comprising a maximum value of velocity of current stroke segment (MaxVelcr), a

16 difference between maximum value of velocity of a current stroke segment (MaxVelcr) and maximum value of velocity of a previous stroke segment (MaxVelpr), a difference between mean of acceleration data of current segment (MeanX/Y/Zcr) and mean of acceleration data of second previous segment (MeanX/Y/Zsp), a difference between peak point of filtered acceleration data of current segment (PeakPointcr) and peak point of filtered acceleration data of previous segment (PeakPointpr), a difference between maximum value of filtered acceleration data (MaxFiltAccX) and minimum value of filtered acceleration data (MinFiltAccX) for a stroke segment, and a rate of change of acceleration (RateAccelX/Y/ZCr).

17

Description:
Title of the invention: A CONTROLLER AND A METHOD TO DETERMINE A SWIM STROKE

Field of the invention:

[0001] The present invention relates to a controller to determine swim stroke of a swimmer and a method thereof.

Background of the invention:

[0002] Currently available products are using IMU sensor based solution for stroke segmentation. In existing swim tracking solution, the swim stroke segmentation is done mainly using either gyroscope or magnetometer. However, the power consumption of gyroscope or magnetometer is higher than that of accelerometer.

[0003] According to a prior art US8265900, a motion analysis device for sports is disclosed. There is described a portable wrist worn device for determining information about the movement of a human body when swimming. The device comprises a waterproof housing containing: an accelerometer operable to generate an acceleration signal; a processor operable to process the acceleration signal so as to generate one or more metrics relating to the movement of the human body; and a means for feedback of the one or more metrics to the user. The accelerometer may be operable to generate an acceleration signal along an axis parallel to the proximo- distal axis of the user's arm in use and/or the accelerometer may be operable to generate an acceleration signal along an axis parallel to the dorsal-palmar axis of the user's hand in use. The device may also be used in sports other than swimming.

Brief description of the accompanying drawings:

[0004] An embodiment of the disclosure is described with reference to the following accompanying drawings,

[0005] Fig. 1 illustrates a block diagram of a controller to determine swim stroke of a swimmer, according to an embodiment of the present invention; [0006] Fig. 2 illustrates a graph waveforms of filtered signal and envelope signal, according to an embodiment of the present invention;

[0007] Fig. 3 illustrates a method of determining swim stroke of the swimmer, according to the present invention;

[0008] Fig. 4 illustrates generation of fall rate for the envelope signal, according to an embodiment of the present invention;

[0009] Fig. 5 illustrates identification of raw instant of stroke segment, according to an embodiment of the present invention, and

[0010] Fig. 6 illustrates a detailed flow diagram of the method to determine the swim stroke of a swimmer, according to the present invention.

Detailed description of the embodiments:

[0011] Fig. 1 illustrates a block diagram of a controller to determine swim stroke of a swimmer, according to an embodiment of the present invention. The controller 110 connected to receive input signals 120 from at least one sensor, i.e. an accelerometer 102. The accelerometer 102 is either a single axis sensor or multi axis sensor. The controller 110 comprises an interface 104 facilitating input and output pins/ports, and a filter module 106 to filter the input signal 120 from the at least one accelerometer 102. The controller 110, characterized by, a stroke segmentation module 108 adapted to determine at least two parameters comprising a first parameter 208 (shown in Fig. 2) and a second parameter 210 (shown in Fig. 2) from said filtered signal 122, generate an envelope signal 206 (shown in Fig. 2) using the at least two parameters and the filtered signal 122, and determine the swim stroke of the swimmer based on the filtered signal 122 and the envelope signal 206.

[0012] The filtered signal 122 consists of peaks that correspond to the swim strokes. The stroke segmentation module 108 calculates the first parameter 208 present in the filtered signal 122, which is further used for calculating the second parameter 210. The first parameter 208 of a previous stroke segment is overwritten by the first parameter 208 of a current stroke segment. The first parameter 208 comprises a local minima of peaks in the filtered signal 122, and the second parameter 210 comprises a relative amplitude of the peak based on the calculated local minima, i.e. the first parameter 208. The filter module 106 is either part of the stroke segmentation module 108 or is external to the same.

[0013] With reference to the calculation of the second parameter 210, whenever filtered signal 122 starts decreasing after rising to a peak, the stored first parameter 208 is used to calculate the second parameter 210. The second parameter 210 is calculated as the distance from local minima of that peak to highest value of the peak, as shown in Fig. 2. The calculated second parameter 210 is then used for generation of the fall rate of the envelope signal 206.

[0014] An output signal 124 from the stroke segmentation module 108 and the activity detection module 112 together is used to update the stroke count in a memory 118.

[0015] The controller 110 is an electronic control unit to process signals received from sensors. The controller 110 comprises memory 118 such as Random Access Memory (RAM), Read Only Memory (ROM), Analog-to-Digital Converter (ADC) and vice-versa DAC, clocks, timers and a processor connected with the components through bus channels. The aforementioned modules are logics or instructions which are stored in the memory 118 and accessed by the processor as per the defined routines. The internal components of the controller 110 is not used or explained for being state of the art, and the same must not be understood in a limiting manner.

[0016] The controller 110 is usable in wearable devices. The wearable device 100 is any one selected from but not limited to a smart watch, a smart band, a smart ring and the like.

[0017] Fig. 2 illustrates a graph waveforms of filtered signal and envelope signal, according to an embodiment of the present invention. The graph 200 depicts the signals along with the first parameter 208 and the second parameter 210. An X-axis 204 signifies number of samples, and the Y-axis 202 signifies acceleration in suitable unit such as m/s 2 . The filtered signal 122 is shown to be a like a sinusoidal wave. The envelope signal 206 is generated in dependence of the filtered signal 122. The first parameter 208 is represented by lowest point of a valley. The second parameter 210 is represented by a line segment. Whenever a reference to the filtered signal 122 and the envelope signal 206 is made, it is understood to be a value in the respective signal, and the same must not be understood in a limiting manner.

[0018] The operation and working of the stroke segmentation module 108 is now explained with reference to the Fig. 1 and Fig. 2. The stroke segmentation module 108 adapted to generate the envelope signal 206 based on a fall rate and a state of an internal state machine having two states, namely, a ‘FOLLOW’ state and a ‘FALL’ state. The envelope signal 206 is generated with reference to the filtered signal 122. The stroke segmentation module 108 identifies an instant of a raw stroke segment based on the envelope signal 206 and the filtered signal 122, and determine a true instant of stroke segment after validation.

[0019] Before the raw instant of the stroke segment is identified, the stroke segmentation module 108 is configured to generate a fall rate for the envelope signal 206. The identification of the raw instant of the stroke segment and determination of the true instant of the stroke segment after validation of the raw instant is performed next. In the process of generation of fall rate, the stroke segmentation module 108 configured to set an initial state of the internal state machine to the ‘FALL’ state, and calculate the fall rate of the envelope signal 206 based on the second parameter 210. An initial value of the envelope signal 206 is set equal to a value of the filtered signal 122. The stroke segmentation module 108 then calculates value of the envelope signal 206 as sum of current value of the envelope signal 206 and a value of the fall rate. The fall rate is dependent on configurable decay time of the envelope signal 206. For example, if a total decay time (T) of the envelope signal 206 is set equal to 2.5 sec, then the fall rate of the envelope signal 206 is calculated based on the time from which the envelope signal 206 starts falling. The fall time is divided into groups of three, i.e. [0 -T/2], [T/2 - T] and [greater than T],

[0020]

Where,

Coefficients ml, m2 and a2, which are the envelope fall rate parameters depend on second parameter 210 and are calculated as follows:

Value of coefficient ‘M’ is kept as 0.6 and coefficient ‘K’ is kept as 0.2. Please note that the values provided above is for clear understanding and might change as per requirements. The same must not be understood in limiting manner.

[0021] In the process of identification of the raw instant, the stroke segmentation module 108 is configured to maintain the ‘FALL’ state of the internal state machine as long as the filtered signal 122 is below the envelope signal 206. The envelope signal 206 continues to decay at the generated fall rate. The switching of the internal state machine is explained below. The state of the internal state machine switches from the ‘FALL’ state to the ‘FOLLOW’ state when the filtered signal 122 increases and crosses the envelope signal 206. Now, the envelope signal 206 follows the filtered signal 122. In another instance, the state of the internal state machine switches from the ‘FOLLOW’ state to the ‘FALL’ state when the filtered signal 122 becomes lesser than the envelope signal 206. Now the envelope signal 206 decays at recalculated fall rate. The switch from the ‘FOLLOW’ state to the ‘FALL’ state is the identification of raw instant of the stroke segment. [0022] In the process of determining the true instant of the stroke segment, the stroke segmentation module 108 is configured to validate the raw instant of the stroke segment of the swim stroke with reference to a configurable but empirically derived value. The validated stroke is considered to be as determined swim stroke segment. For example, if 1.5 seconds is considered to be fast stroke rate and 3 seconds is considered to be slow stroke rate, then stroke rate threshold is set to be equal to 1.3 seconds. If time difference between the raw instant of the stroke segment and a previous instant of the stroke segment is less than 1.3 seconds, then the current raw instant is classified as false segmentation instant. But if the time difference is greater than 1.3 seconds, but less than maximum stroke periodicity limit of 9 seconds, then the current raw instant is classified as true segmentation instant. This is just an example and must not be understood in a limiting manner.

[0023] In accordance to an embodiment of the present invention, an activity detection module 112 is provided. The activity detection module 112 comprises an extraction module 114 and a decision engine 116. The extraction module 114 extracts feature vectors from the filtered signal 122 and the input signal 120. The decision engine 116 classifies the detected activity to be a swim activity/ session or non-swim activity/session. The activity detection module 112 is independently usable for the defined purpose.

[0024] The feature vectors used by the activity detection module 112 is selected from a group comprising a maximum value of velocity of current stroke segment (MaxVelcr), a difference between maximum value of velocity of a current stroke segment (MaxVelcr) and maximum value of velocity of a previous stroke segment (MaxVelpr), a difference between mean of acceleration data of current segment (MeanX/Y/Zcr) and mean of acceleration data of second previous segment (MeanX/Y/Z S p), a difference between peak point of filtered acceleration data of current segment (PeakPointcr) and peak point of filtered acceleration data of previous segment (PeakPoint pr ), a difference between maximum value of filtered acceleration data (MaxFiltAccX) and minimum value of filtered acceleration data (MinFiltAccX) for a stroke segment, and a rate of change of acceleration (RateAccelX/Y/Zcr). The subscripts used corresponds to: cr- current; pr- previous; sp - second previous; Th - threshold.

[0025] The working of the decision engine 116 is explained. Initially, the decision engine 116 computes the MaxVelcr and checks for first condition. If MaxVelcr exceeds velocity threshold, the decision engine 116 determines that it is a non-swim session. If the first condition does not pass, then the decision engine 116 checks for second condition comprising whether the difference between MaxVelcr and MaxVelpr exceeds velocity difference threshold. Along with the second condition, a third condition is checked which comprises whether difference between MeanX/Y/Zcr and MeanX/Y/Z sp exceeds mean difference threshold. If both the second and the third conditions are satisfied, then the decision engine 116 determines a non-swim session. If both the second and third conditions are also not passed, then the decision engine 116 checks for the fourth condition comprising the polarity of peak point of current stroke segment and the previous stroke segment. If polarities are opposite, then the decision engine 116 checks a fifth condition comprising whether amplitude difference between PeakPointcr and the PeakPoint pr is greater than peak difference threshold. If this condition is satisfied, then the decision engine 116 determines a non-swim session. If not, the decision engine 116 checks for sixth condition. In the sixth condition, difference between MaxFiltAccX and MinFiltAccX of that segment is taken. Based on empirically derived values, it is observed that for swim sessions, the difference is high compared to non-swim sessions. If the difference is greater than difference threshold and also if a seventh condition comprising the RateAccelX/Y/Z cr is greater than rate threshold, then the decision engine 116 determines a swim session. If the sixth and the seventh conditions are also not passed, but if it satisfies an eight condition, i.e. it is the first stroke segment, then the decision engine 116 determines it as a swim session. The reason is because use of the difference between current and previous segment values for the first stroke segment is not applicable. If the eight condition is also not passed, then the decision engine 116 determines as a non-swim session. [0026] Once the stroke segment is determined as a non-swim activity, then a stroke count in the memory 118 during for the determined stroke segment is not incremented. This helps to reduce false positives of strokes obtained during rest/pause time or any other non-swim activity in between the swim sessions, thus helping to improve stroke count accuracy.

[0027] According to an embodiment of the present invention, once the stroke segment is determined from the acceleration based stroke segmentation module 108, the same is verified whether the stroke segment is obtained during a swim session or a non-swim session through the activity detection module 112. The swim session indicates that the swimmer is performing one of the different stroke styles such as freestyle, backstroke, butterfly, breaststroke and any other stroke. The non-swim session indicates that the swimmer is either taking a turn or is taking rest/pause in between swim sessions or any other activity. The stroke count is updated only when swim session is detected. In case of non-swim session, stroke count is kept constant. The stroke count is saved in the memory 118. For determining whether the determined stroke segment is obtained during the swim session or the non-swim session, the activity detection module 112 is designed using input signal 120.

[0028] Fig. 3 illustrates a method of determining swim stroke of the swimmer, according to the present invention. The method comprises plurality of steps, of which a step 302 comprises filtering input signal 120 from the at least one accelerometer 102 using the filter module 106. The method is characterized by, using a stroke segmentation module 108 for performing a step 304 comprising determining at least two parameters comprising the first parameter 208 and the second parameter 210 from the filtered signal 122. A step 306 comprises generating the envelope signal 206 using the at least two parameters and the filtered signal 122. A step 308 comprises determining the swim stroke of the swimmer based on the filtered signal 122 and the envelope signal 206. [0029] The first parameter 208 comprises the local minima of peaks in the filtered signal 122, and the second parameter 210 comprises the relative amplitude of the peak based on the calculated local minima. The second parameter 210 is calculated in dependence of the first parameter 208.

[0030] The stroke segmentation module 108 is configured for generating the envelope signal 206 based on the fall rate and the state of the internal state machine having two states, namely, the ‘FOLLOW’ state and the ‘FALL’ state. The envelope signal 206 is generated with reference to the filtered signal 122. The stroke segmentation module 108 also performs identifying the raw instant of the stroke segment followed by determining the same to be the true instant of stroke segment after validation.

[0031] The stroke segmentation module 108 is configured to generate the fall rate for the envelope signal 206, identify the raw instant of the stroke segment and determine the true instant of the stroke segment after validation of the raw instant.

[0032] Fig. 4 illustrates generation of fall rate for the envelope signal, according to an embodiment of the present invention. The stroke segmentation module 108 is configured to generate the fall rate for the envelope signal 206, identify the raw instant of the stroke segment and determine the true instant of the stroke segment after validation of the raw instant. The steps involved in the fall rate generation method 400 are explained. A step 402 comprises checking if the state is ‘FALL’. If no, then the step 404 is executed, where the fall rate is set to zero. If yes, then a step 406 is executed. The step 406 comprises checking if the fall time of the envelope signal 206 is less than or equal to T/2, where the T corresponds to total decay time of the envelope signal 206. If result of the step 406 is a yes, then the step 412 is executed which comprises setting the fall rate to ml multiplied by the fall time of the envelope signal 206. If result of the step 406 is a no, then step 408 is executed, which comprises checking if the fall time of the envelope signal 206 is greater than T/2 and less than or equal to T. If result of the step 408 is a yes, then the step 414 is executed, which comprises setting fall rate to m2 multiplied with fall time of the envelope signal 206 and subtraction of a constant. If result of the step 408 is a no, then the step 410 is executed, which comprises setting the fall rate to -0.2f. The generation of the envelope signal 206 is already explained in the description of Fig. 2, and a flow diagram of the same is described here for ease of understanding.

[0033] Fig. 5 illustrates identification of raw instant of stroke segment, according to an embodiment of the present invention. The identification of the stroke segment is explained below. A step 400 comprises generating fall rate for the envelope signal 206. The step 400 is explained in Fig. 4. A step 502 comprises generating the envelope signal 206, which comprises considering the initial values if it is the first instance. A step 504 comprises checking if the state is ‘FALL’. If result of step 504 is a yes, then the step 506 is executed, else a step 512 is executed. The step 506 comprises checking if the filtered signal 122 is greater than the envelope signal 206. If the result of the step 506 is a yes, then a step 510 is executed which is setting the state to ‘FOLLOW’. The step 510 directs to step 502 after change in the state. If result of the step 506 is a no, then the step 508 is executed which comprises continuing the envelope signal 206 without changes in the state. Now, the step 512 comprises checking if the filtered signal 122 is greater than or equal to the envelope signal 206. If result of the step 512 is a yes, then the step 518 is executed which comprises setting the state to ‘FOLLOW’. If result of the step 512 is a no, then a step 514 is executed which comprises setting the state to ‘FALL’. Once, the step 514 is executed, then step 520 is executed which comprises calculating the first parameter 208, followed by the execution of a step 516 which comprises recalculation of second parameter 210. The step 516 directs to the step 400 for the generation of fresh fall rate for the next phase. The Fig. 5 is flow diagram for ease in understanding, and the same has been already described under Fig. 2 description.

[0034] Fig. 6 illustrates a detailed flow diagram of the method to determine the swim stroke of a swimmer, according to the present invention. A step 602 comprises filtering the input signal 120 from the at least one accelerometer 102. The input signal 120 of a dominant axis is chosen and filtered to a cutoff frequency to remove artifacts such as jerks, and high frequency noises. A step 604 comprises calculation of first parameter 208, which is followed by step 606 where the second parameter 210 is calculated. The step 608 comprises generation of fall rate for the envelope signal 206 based on inputs from step 604 and step 606. A step 610 comprises generation of envelope signal 206 based on generated fall rate in the step 608. At step 612 the state transition of internal state machine is checked, which changes based on the filtered signal 122 and the envelope signal 206. A step 614 corresponds to no transition in state, which directs to step 610. A step 616 corresponds to state transition from ‘FALL’ to ‘FOLLOW’. If step 616 is detected, then a step 620 is executed, which comprises setting the envelope signal 206 equal to filtered signal 122, i.e. the envelope signal 206 follows the filtered signal 122. The step 620 then directs to the step 610. A step 618 corresponds to detection of state transition from ‘FOLLOW’ to ‘FALL’, which if detected triggers the step 606 to recalculate the second parameter 210, i.e. the relative amplitude for new stroke segment. Also a step 622 is executed, which indicates an identification of the raw instant of stroke segment. In step 622, a stroke periodicity condition is checked. If passed, then the flow directs to step 624 which indicates that a true stroke segment has been determined. If it fails, then flow directs to step 626, which indicates that a false stroke segment is detected.

[0035] The method also comprises using an activity detection module 112 for enabling validation of the identified stroke segment. The activity detection module 112 is configured for extracting feature vectors from the filtered signal 122 and the input signal 120, and processing the extracted feature vectors to determine the identified stroke segment to be any one of the swim activity and the non-swim activity. The activity detection module 112 comprises an extraction module 114 and a decision engine 116. The extraction module 114 is used for extracting feature vectors from the filtered signal 122 and the input signal 120. The decision engine 116 is used for classifying the detected activity to be the swim activity/session or non-swim activity/session. The method of the activity detection module 112 is independently usable for the defined purpose.

[0036] The feature vectors used by the activity detection module 112 is selected from a group comprising the maximum value of velocity of current stroke segment (MaxVelcr), the difference between maximum value of velocity of the current stroke segment (MaxVelcr) and maximum value of velocity of the previous stroke segment (MaxVelpr), the difference between mean of acceleration data of current segment (MeanX/Y/Zcr) and mean of acceleration data of second previous segment (MeanX/Y/Z S p), the difference between peak point of filtered acceleration data of current segment (PeakPointcr) and peak point of filtered acceleration data of previous segment (PeakPoint pr ), the difference between maximum value of filtered acceleration data (MaxFiltAccX) and minimum value of filtered acceleration data (MinFiltAccX) for the stroke segment, and the rate of change of acceleration (RateAccelX/Y/Zcr).

[0037] The working of the decision engine 116 is already explained under the Fig.

2 description, and is avoided here for simplicity. The absence of the same description here must not be taken as a limitation.

[0038] Once the stroke segment is determined as a non-swim activity, then a stroke count in the memory 118 during for the determined stroke segment is not incremented. This helps to reduce false positives of strokes obtained during rest/pause time or any other non-swim activity in between the swim sessions, thus helping to improve stroke count accuracy. When both the output signal 124 and the result of the decision engine 116 indicates the occurrence of stroke segment, then only the method increments the stroke count in the memory 118. The stroke count is then ready to be displayed on a display screen of the device.

[0039] According to an embodiment of the present invention, once the stroke segment is determined from the acceleration based stroke segmentation module 108, the same is verified whether the stroke segment is obtained during a swim session or a non-swim session through the activity detection module 112. The swim session indicates that the swimmer is performing one of the different stroke styles such as freestyle, backstroke, butterfly, breaststroke and any other stroke. The non-swim session indicates that the swimmer is either taking a turn or is taking rest/pause in between swim sessions or any other activity. The stroke count is updated only when swim session is detected. In case of non-swim session, stroke count is kept constant. The stroke count is saved in the memory 118. For determining whether the determined stroke segment is obtained during the swim session or the non-swim session, the activity detection module 112 is designed using input signal 120.

[0040] According to the present invention, the accelerometer 102 based swim tracking solution is provided. The accelerometer 102 based swim stroke segmentation is used for swimmers with different skills and different stroke styles such as freestyle, backstroke, breaststroke and butterfly, etc. The present invention is based on accelerometer 102 sensor based solution only, thus reducing the overall cost. The present invention opens up market for different segments of wearable products. Thus, only one sensor, i.e. the accelerometer 102 is needed, which results in low power consumption. Further, the stroke segmentation works irrespective of sign of peak of input signal 120.

[0041] It should be understood that embodiments explained in the description above are only illustrative and do not limit the scope of this invention. Many such embodiments and other modifications and changes in the embodiment explained in the description are envisaged. The scope of the invention is only limited by the scope of the claims.