pioreactor icon indicating copy to clipboard operation
pioreactor copied to clipboard

[what happened] Seeing ~30s "step-like" periodic signal

Open CamDavidsonPilon opened this issue 3 years ago • 3 comments

Like the stirring PID isn't stabilizing to its target value.

CamDavidsonPilon avatar Feb 18 '22 19:02 CamDavidsonPilon

Could you show the graphs you have? I was using TCS3200 to detect color/growth stage, but I got two big problems:

  • very high signal noise.
  • raspberry 2 and zero can't handle the sensor. This sensor sends a frequency modulation to signal the intensity. But as Rpi has no real-time signal reading, it demands a a lot to process this signals. I am testing wright now the sensor APDS-9960. It is a I2C color sensor with an IR sensor and bult-in IR-LED. The only drawback about this sensor is that only sends 255 IR values. At least the proximity (IR) sensor is factory calibrated, and you have 4 IR-LED strenghts. Maybe we can detect liquid agitation with this sensor!

My TCS3200 signals were like that (9 days prolonged exp, and also adding an interquartile mean on day 7): image

P.S.: This was recorded directly to a CVS file and graphs were plotted using spreadsheet programs.

VitorFrost avatar Apr 14 '22 18:04 VitorFrost

I'll see if I can pull up the graph. It was very "step-like" though, not close to what you have.

Your data is looking good though! Frequency measurements will be hard with an Rpi. We use a TIA circuit to convert current to voltage (We are also only supporting a mono-chromatic signal).

P.S.: This was recorded directly to a CVS file and graphs were plotted using spreadsheet programs.

Nice - what software did you use exporting to csv and plotting?

CamDavidsonPilon avatar Apr 14 '22 22:04 CamDavidsonPilon

My python program logs directly to a CVS file (It was easier for me then using the MQTT) Then I imported it to LibreOffice or MS Excel

VitorFrost avatar Apr 15 '22 03:04 VitorFrost