Design and Construction
E. Vahedi Tekmehdash; H. Navid; H. Ghasemzadeh; H. Karimi; M. Javani Holan
Abstract
IntroductionThe livestock sector excels in the production of dairy and meat products. These products, serving as vital sources of animal protein, hold a significant position in household diets. The significance of these two products in the food basket has heightened awareness around animal health. Regularly ...
Read More
IntroductionThe livestock sector excels in the production of dairy and meat products. These products, serving as vital sources of animal protein, hold a significant position in household diets. The significance of these two products in the food basket has heightened awareness around animal health. Regularly tracking rumination time serves as a vital and insightful measure to obtain information about the rest and overall health of an animal. This information enables prompt intervention for health or nutritional issues, allowing for earlier management adjustments and veterinary care to effectively combat the onset of disease. In the past, rumination was usually monitored through visual observation by on-site staff or through videos recorded by cameras installed on the livestock. Nowadays, the growing scale of livestock farms makes it impractical to effectively monitor the animals individually. The traditional method of visual observation demands the continuous presence of livestock professionals and is extremely time-consuming. Currently, sensors and digital technologies have become important tools for accurate animal husbandry, enabling real-time monitoring of rumination. A review of the research in the field of precision animal husbandry shows that many efforts are being made to develop precision monitoring sensors to overcome the mentioned problems. Continuous and automatic monitoring of animal behavior through sensors can offer valuable insights into nutrition, reproduction, health, and overall well-being of dairy cows.Materials and MethodsIn this research, an accelerometer-based sensor was developed and used in the precision agriculture laboratory of Tabriz University, Iran. The sensor was installed in three different positions on the cow's body to collect data. Important factors were calculated from the raw data, and the modeling was done using the logistic regression method. The logistic regression model was trained to distinguish rumination from the other cow's behaviors. The developed model was evaluated using the receiver operating characteristic (ROC) curve, and three other evaluation criteria: precision, sensitivity, and F-score. Finally, the performance of the final model and sensor was evaluated in the field for a few days.Results and DiscussionAfter calculating the evaluation criteria for different calculation factors, four optimal factors were finally selected from the 50 arrays. Muzzle mode was found to be the best place to install the sensor. Logistic regression was the best modeling method for binary classification between rumination and other behaviors. The evaluation criteria of the model in the proposed sensor are the highest, and the values of sensitivity 88%, accuracy 94%, and F-score 91% were obtained through logistic regression analysis. The final test results of the model revealed that the sensor demonstrated an impressive detection capability of 89.47%. Furthermore, the developed system exhibited strong alignment with the actual field observations, highlighting its effectiveness and reliability. Finally, the results of the current study were compared with other studies in the literature.ConclusionThis study investigated recording and monitoring rumination behavior using an accelerometer, which can help prevent financial losses in cattle farms. After examining different mounting locations of the sensor, it was found that the muzzle position provided more accurate detections than the other mounting locations. The final model was created using the statistical factors and the calculation of the evaluation criteria. The results showed that the proposed model provided more correct diagnoses and achieved the optimal solution.AcknowledgmentWe would like to express our gratitude to the Khalat Poushan Cattle Farming Complex of the University of Tabriz, Iran, its professors and staff for supporting this project, and for their commitment to promote animal husbandry science.
Precision Farming
A. Ghaffarnezhad; H. Navid; H. Karimi
Abstract
IntroductionImproving field operations through precise spot planting rates depends on the accurate functioning of seed flow sensors within the working rows. Despite the availability of these sensors in the market, achieving measurement precision remains a challenge in their optimal design. Seed flow ...
Read More
IntroductionImproving field operations through precise spot planting rates depends on the accurate functioning of seed flow sensors within the working rows. Despite the availability of these sensors in the market, achieving measurement precision remains a challenge in their optimal design. Seed flow sensors can be categorized into two primary types: optical and non-optical. Among these, optical sensors—particularly infrared sensors—are gaining popularity among researchers due to their distinct advantages, including simple circuit design, cost-effectiveness, and a strong correlation with seed flow. However, the accuracy of these sensors tends to diminish over time due to dust accumulation from planting operations and the effects of sunlight. In response to these challenges, researchers are actively exploring various solutions, employing diverse approaches such as the development of different algorithms and the utilization of alternative hardware configurations. Each research initiative aims to address specific challenges associated with these sensors, with the overarching goal of facilitating effective commercialization, optimizing resource use, and minimizing waste.Materials and MethodsTwo distinct algorithms, utilizing analog-to-digital converter and interrupt-based methodologies, were meticulously developed and thoroughly evaluated to determine the more effective method for monitoring. Correspondingly, unique circuits were engineered for each algorithm.To enhance the sensitivity of the sensor while simplifying the circuit's complexity and dimensions, the lm324 Op-Amp was used in the interrupt-based sensor circuit. Adjusting sensitivity was made feasible through a multi-turn potentiometer, enabling precise adjustment of the external interrupt within the microcontroller. On the other hand, the analog-to-digital converter-based circuit, without relying on the LM324 chip, provided a more straightforward and quieter configuration.The intricate nature of construction mandated the design of circuits using Altium Designer 17 software, which was then printed onto circuit boards. Both developed circuits featured the deployment of the STM32F103C8T6 microcontroller, renowned for its robust capabilities and cost efficiency.In the interrupt-based algorithm's development, the microcontroller's external interrupt was used, selecting its sensitivity to detect both rising and falling edges. This strategic configuration ensured comprehensive scanning of all receivers by the analog-to-digital converter upon any interruption in the infrared sensors. Given the singular passage of seeds in precision seeding, each pass was counted as a single seed.At the start of the planting operation and upon reaching the end of each planting row, the microcontroller employed a micro-switch to sample the output of the infrared sensor, which were then used to execute further calculations based on those samples. Throughout the planting process, the microcontroller continuously performed sensor scanning and promptly converted the sensor outputs into binary values based on defined thresholds. Then, it counted the seeds based on the predetermined counting thresholds for the number of passes.The efficacy of these developed algorithms and sensors underwent rigorous testing encompassing hybrid corn seeds, popcorn, soybean, and mung bean. The evaluation was conducted on an 11-meter-long conveyor belt platform, tested at three different speeds: 4, 7, and 10 km h-1, through five distinct iterations. This comprehensive evaluation ensured the robustness and reliability of the algorithms across diverse seed types and varying operational conditions.Results and DiscussionTest results indicate that interrupt-based sensors demonstrate impressive seed counting capabilities; however, they may encounter issues such as susceptibility to dust and the need for manual recalibrations. Moreover, these sensors exhibited acceptable performance across various crops, including corn and soybeans. Nonetheless, variations in seed characteristics could affect counting accuracy. Additionally, simultaneous seed passage through the sensor under certain conditions posed challenges, diminishing the sensor's precision. On the other hand, sensors employing analog-to-digital algorithms showed promising performance. They offer enhanced adjustability compared to their interrupt-based counterparts, showcasing adaptability to diverse conditions. In summary, each sensor type has its strengths and weaknesses. Sensors that utilize analog-to-digital converter algorithms may offer superior performance in varied scenarios due to their advanced features and adaptable configurations.ConclusionThis study developed and tested two seed counting algorithms: one based on interruption and the other utilizing an analog-to-digital converter. Both algorithms effectively counted seeds larger in diameter than the distance between adjacent LEDs with remarkable accuracy. However, due to their reliance on infrared optical components, both were susceptible to dust generated during planting operations. The algorithm utilizing the analog-to-digital converter demonstrated a notable advantage. Its ability to adjust the threshold either at the start of planting or at the end of each crop row provided a distinct edge over the interruption-based algorithm. Consequently, the analog-to-digital converter-based algorithm was selected as the superior choice for this research.AcknowledgmentThe authors express appreciation for the financial support provided by the University of Tabriz.