{"conceptdoi":"10.14278/rodare.4657","conceptrecid":"4657","created":"2026-05-11T13:09:04.607119+00:00","doi":"10.14278/rodare.4658","files":[{"bucket":"e238aeee-a0b3-47cf-aee8-45fe63a9424f","checksum":"md5:e16b44651b2788e3cf73c3c736f60b3d","key":"automatic control.py","links":{"self":"https://rodare.hzdr.de/api/files/e238aeee-a0b3-47cf-aee8-45fe63a9424f/automatic%20control.py"},"size":5726,"type":"py"},{"bucket":"e238aeee-a0b3-47cf-aee8-45fe63a9424f","checksum":"md5:d27ec35959a69a9023955f5d281e98eb","key":"automatic control upgraded.py","links":{"self":"https://rodare.hzdr.de/api/files/e238aeee-a0b3-47cf-aee8-45fe63a9424f/automatic%20control%20upgraded.py"},"size":8477,"type":"py"},{"bucket":"e238aeee-a0b3-47cf-aee8-45fe63a9424f","checksum":"md5:baa6e20e380c5e299d4a7a45ffa09790","key":"five-point piecewise calibration.py","links":{"self":"https://rodare.hzdr.de/api/files/e238aeee-a0b3-47cf-aee8-45fe63a9424f/five-point%20piecewise%20calibration.py"},"size":8178,"type":"py"},{"bucket":"e238aeee-a0b3-47cf-aee8-45fe63a9424f","checksum":"md5:f0d37ae085876fe0b6fa7ff9f40017ff","key":"two-point calibration.py","links":{"self":"https://rodare.hzdr.de/api/files/e238aeee-a0b3-47cf-aee8-45fe63a9424f/two-point%20calibration.py"},"size":3519,"type":"py"}],"id":4658,"links":{"badge":"https://rodare.hzdr.de/badge/doi/10.14278/rodare.4658.svg","bucket":"https://rodare.hzdr.de/api/files/e238aeee-a0b3-47cf-aee8-45fe63a9424f","conceptbadge":"https://rodare.hzdr.de/badge/doi/10.14278/rodare.4657.svg","conceptdoi":"https://doi.org/10.14278/rodare.4657","doi":"https://doi.org/10.14278/rodare.4658","html":"https://rodare.hzdr.de/record/4658","latest":"https://rodare.hzdr.de/api/records/4658","latest_html":"https://rodare.hzdr.de/record/4658","self":"https://rodare.hzdr.de/api/records/4658"},"metadata":{"access_right":"open","access_right_category":"success","communities":[{"id":"rodare"}],"creators":[{"name":"Loli Salcedo, Romel Enrique"}],"description":"<p>This code package contains the Python scripts used for automated pulp-level control in a lab-scale batch flotation cell. The scripts were developed for a Raspberry Pi-based control system using a Milone eTape level sensor, ADS1115 analog-to-digital converter, and EZO-PMP-L peristaltic pump. The system measures the pulp-froth interface level, compares it with a user-defined setpoint, and adds make-up water through the pump to maintain the target level during flotation experiments.</p>\n\n<p>The package includes two calibration scripts used to generate the calibration file required by the control scripts. The&nbsp;<strong>two-point calibration</strong>&nbsp;script represents the initial calibration approach, where a linear relationship between sensor voltage and level was calculated from two reference points. The&nbsp;<strong>five-point piecewise calibration</strong>&nbsp;script represents the refined calibration method, where five reference levels were used to better describe the nonlinear response of the eTape sensor over the operating range.</p>\n\n<p>The package also includes the file&nbsp;<strong>Automatic Control.py, it&nbsp;</strong>contains the base control script without EWMA filtering.&nbsp;The file&nbsp;<strong>Automatic control upgraded.py</strong>&nbsp;contains the upgraded control version with five-point piecewise calibration and EWMA signal filtering. Both scripts include real-time plotting and CSV logging of level, error, and pump output for later analysis.</p>\n\n<p>These scripts were used as part of the thesis work on automated lab-scale pulp-froth interface level control for improving reproducibility in batch flotation experiments.</p>\n\n<p>&nbsp;</p>","doc_id":"1","doi":"10.14278/rodare.4658","language":"eng","license":{"id":"CC-BY-4.0"},"pub_id":"43382","publication_date":"2026-05-11","related_identifiers":[{"identifier":"https://www.hzdr.de/publications/Publ-43382","relation":"isIdenticalTo","scheme":"url"},{"identifier":"10.14278/rodare.4657","relation":"isVersionOf","scheme":"doi"}],"relations":{"version":[{"count":1,"index":0,"is_last":true,"last_child":{"pid_type":"recid","pid_value":"4658"},"parent":{"pid_type":"recid","pid_value":"4657"}}]},"resource_type":{"title":"Software","type":"software"},"title":"Automated pulp-level control in laboratory scale froth flotation"},"owners":[1104],"revision":4,"stats":{"downloads":100.0,"unique_downloads":76.0,"unique_views":282.0,"version_downloads":100.0,"version_unique_downloads":76.0,"version_unique_views":282.0,"version_views":297.0,"version_volume":645646.0,"views":297.0,"volume":645646.0},"updated":"2026-05-12T06:06:37.828707+00:00"}