Replies: 7 comments 18 replies
-
Also, I had similar issues a while back, for me changing the input detection direction cleaned things up: Have you tried changing the above to I think sensor of the machine picks up noise (either bounce or something else). The fact that reducing the detected impulses cleans things up suggest this.
This is possible to achive: you can increase the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This actually is a familiar problem with many machines, including the Concept 2 RowErg and Model D.
Step 1, disable the median filter. It does more harm than good, and I'm really considering removing it completely for that reason. It is there for legacy reasons, but its interaction with the rest of the subsequent parts of the engine isn't too good. ORM is tested almost daily on a Concept 2 RowErg, which has the exact same issue. We use a math-heavy approach that should be able to ignore these errors. Can you test by seting the machine profile to a Concept 2 RowErg? The key here is using the noisy data and let the flanklength be twice the number of magnets (=12 in your case)? |
Beta Was this translation helpful? Give feedback.
-
I am still struggling to accept the fact that magnets are misplaced by this amount. To have such a big difference, magnets should be off by a visually noticable amount. So I think its important to understand the wiring and electornics, placement and type of the sensor etc. In order to do this I would try to just take the cover off the flywheel. That can be easily done it should not void the warranty (actually one should clean it after longer periods as well as lubricate the bearings in the clutch to extend the lifetime). I am hoping that the magnets will be visible from this side and that could. Meanwhile I found a video of a rower like that which is dissembled: https://www.youtube.com/watch?app=desktop&v=sM75PbWTlg4 (good shot is at 2:37). It shows I think a potentiometer connected to the leaver of the air vent. Interesting choice for getting the drag factor :) Then at 4:18 there seems to be a wire going to the shaft that is like the conventional place for a hall sensor (if its indeed a hall sensor as I cannot really see properly). If its a hall sensor than the only way it produces those piramid waives is by using a linear hall sensor (which is strange choice). The strange part is that I dont really see the magents when the guy rotates the flywheel, while from the otherside there are clearly 6 screws which I suppose are the magnets or palces for the magents). But I was also checking the video on the website and I can see that there are two plugs (3 wire and 4) assuming that the 3 is the potentiometer on for the air vent, I dont really understand why they need 4 for the sensor (hall sensors have 3). Concept 2's PM essentially uses 3 (signal, charge, gnd). In my view, having this many wires indicates that something else is going on there. Finally some testing: Can you test the impulses with fully closed air vent (i.e. little drag) and fully open (i.e. full drag)? I would like to see the impact on the impulse times. Not the absolute time but rather how this affects the measurements copared to each other. Also once done can you send the data in csv or what ever as well so I can do some calculations? |
Beta Was this translation helpful? Give feedback.
-
Stupid question, what is the maximum frequency of your optocoupler? And can you have your scope report the time between peaks? I agree with @Abasz that 30% deviation is a lot. I'm not suggesting you made errors here, but this level of noise is a lot, so it might be that we are missing something somewhere. |
Beta Was this translation helpful? Give feedback.
-
What does this mean? Hall has gnd, vcc and signal. So basically you should see one with a stable voltage the other with the variable as signal and one should show gnd. If this is not the case then the sensor is most likely not a hall so different treatment is necessary. Not to mention that with a hall they are generally open collector so the signal voltage is basically the pin voltage you connect them to (assuming pull up). Where does the sensor gets its power? Is it from The pi? And the optocoupler ? Does it actually generate P-P 8v when you meadure without power source (C2 does as it has a power generator) |
Beta Was this translation helpful? Give feedback.
-
That seems similar to the Concept 2 setup, where the coil powers the monitor. The first scope image with the optocoupler output overlayed on the sine wave doesn't show any signal bounce. But it is a weird signal. |
Beta Was this translation helpful? Give feedback.
-
I have recently purchased a Xebex V2.0 air rower (https://www.getrxd.com/xebex-air-rower-2-0.html) and am generally pleased with it. It is a clone of the Concept C2 yet in New Zealand sells for about half the price. Unfortunately it does not have any inbuilt connectivity and so I thought I would try ORM.
I believe the rower has 6 magnets on the flywheel and the sensor gives a rather clean signal as shown in the yellow trace below. The P-P amplitude is about 8 volts when rowing hard.
I feed this signal through an optoisolator before it reaches my pi3B+ and the signal input to the pi can be seen in the blue trace above.
Both traces look rather clean and much as I expected – the yellow one being symmetric about zero and the blue one showing HIGH when the yellow is LOW and being pulled down when the yellow goes above a certain value.
ORM seems to be running OK (v1beta_updates). It detects this incoming data stream and shows (incorrect!) values for all parameters using the DEFAULT rowerProfile.
Raw data after a few strokes of very leisurely rowing looks like this :
You can see the typical shapes of the drive and recovery phases for about 12 strokes but there is something else going on. Zooming in gives these pictures :
In addition to the low frequency signal from the phases of the rower, there is also a higher frequency modulation due to the rotation of the flywheel. You can see the 6 data points per revolution of the flywheel from the 6 magnets but it looks as if they are not regularly spaced around the flywheel – three appear to be more closely spaced and then the next three are more widely spaced. Having read this discussion, I see that another possibility is that the polarity is not the same for all magnets.
Needless to say, ORM cannot handle data looking as wild as this. I have tried playing with the median filter and various flank lengths but the stroke detection is not working at all. I clearly need to do something with this input data to give ORM any chance.
Any suggestions? I’m reluctant to modify the rower at this stage because it is still under warranty.
One possibility would be to only process data from a single magnet per revolution of the flywheel and ignore the other 5. I have editted the raw csv file by hand which produces the curve shown below :
This reduced dataset looks nice and clean and I guess that ORM would handle it easily – although it is a bit wasteful of data!
Would it be possible to add a rowerParam to only select every nth data point for processing?
Thanks for any other insights or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions