First repetition detection
Controlling an exercise machine includes receiving a stream of measurements of extension of a component of an exercise machine. It further includes characterizing the stream of measurements including detecting at least one extremum having at least one extremum parameter. It further includes matching the extremum parameter with a previously determined signature associated with a user. It further includes changing an output of the exercise machine based at least in part on the match.
1 . A system, comprising:
a memory; and
one or more processors coupled to the memory and configured to:
receive a stream of measurements of extension of a component of an exercise machine, the stream of measurements comprising at least one of a cable length or position measured via one or more encoders of the exercise machine;
detect a pattern of extrema from the stream of measurements;
detect an occurrence of a first repetition at least in part by matching the pattern of extrema against a predetermined signature associated with a user; and
change an output of the exercise machine based at least in part on detecting the occurrence of the first repetition.
2 . The system of claim 1 , wherein the pattern of extrema comprises an occurrence of a cable minimum and an occurrence of a cable maximum.
3 . The system of claim 2 , wherein detecting the occurrence of the first repetition comprises determining whether the occurrence of the cable minimum and the occurrence of the cable maximum occurred in a sequence that matches a set of parameters associated with the predetermined signature.
4 . The system of claim 3 , wherein the predetermined signature comprises a predetermined sequence of at least one cable minimum and at least one cable maximum.
5 . The system of claim 3 , wherein the set of parameters comprises a set of boundaries, and wherein detecting the occurrence of the first repetition comprises determining whether the occurrence of the cable minimum and the occurrence of the cable maximum are within the set of boundaries.
6 . The system of claim 2 , wherein detecting the occurrence of the first repetition comprises applying a timing constraint to the occurrence of the cable minimum and the occurrence of the cable maximum.
7 . The system of claim 6 , wherein applying the timing constraint comprises:
determining a time between the occurrence of the cable minimum and the occurrence of the cable maximum; and
comparing the time between the occurrence of the cable minimum and the occurrence of the cable maximum against a threshold time.
8 . The system of claim 1 , wherein the one or more processors are further configured to filter the stream of measurements of extension of the component of the exercise machine.
9 . The system of claim 1 , wherein changing the output comprises providing an indication of incrementing of a repetition counter.
10 . A method, comprising:
receiving a stream of measurements of extension of a component of an exercise machine, the stream of measurements comprising at least one of a cable length or position measured via one or more encoders of the exercise machine;
detecting a pattern of extrema from the stream of measurements;
detecting an occurrence of a first repetition at least in part by matching the pattern of extrema against a predetermined signature associated with a user; and
changing an output of the exercise machine based at least in part on detecting the occurrence of the first repetition.
11 . The method of claim 10 , wherein the pattern of extrema comprises an occurrence of a cable minimum and an occurrence of a cable maximum.
12 . The method of claim 11 , wherein detecting the occurrence of the first repetition comprises determining whether the occurrence of the cable minimum and the occurrence of the cable maximum occurred in a sequence that matches a set of parameters associated with the predetermined signature.
13 . The method of claim 12 , wherein the predetermined signature comprises a predetermined sequence of at least one cable minimum and at least one cable maximum.
14 . The method of claim 12 , wherein the set of parameters comprises a set of boundaries, and wherein detecting the occurrence of the first repetition comprises determining whether the occurrence of the cable minimum and the occurrence of the cable maximum are within the set of boundaries.
15 . The method of claim 11 , wherein detecting the occurrence of the first repetition comprises applying a timing constraint to the occurrence of the cable minimum and the occurrence of the cable maximum.
16 . The method of claim 15 , wherein applying the timing constraint comprises:
determining a time between the occurrence of the cable minimum and the occurrence of the cable maximum; and
comparing the time between the occurrence of the cable minimum and the occurrence of the cable maximum against a threshold time.
17 . The method of claim 10 , further comprising filtering the stream of measurements of extension of the component of the exercise machine.
18 . The method of claim 10 , wherein changing the output comprises providing an indication of incrementing of a repetition counter.