




In dairy industry, dairy collectors measure only few parameters when buying milk from dairy farmers. But, they usually don't measure quality parameters like fat content, acidity etc of milk at that spot. Also the financial deals are happening in a traditional way. The quality is very important in dairy related products. Currently small scale manufacturers do not use technology based methods to measure the quality of milk. They just use organoleptic tests such as smell and visual observation for that. The quality of raw milk is the primary factor determining the quality of milk products. Good-quality milk products can be produced only from good-quality raw milk. Milk testing and quality control should be carried out at all stages of the dairy chain
There are many milk adulterants that are added to raw milk by supplier in order to get some financial benefits.
Some of the major milk adulterants which cause serious adverse health effects are urea, formalin, detergents, ammonium sulphate, boric acid, caustic soda, benzoic acid, salicylic acid, hydrogen peroxide, sugars and melamine.
Preservatives are special adulterants which increase the shelf life of milk.
Eg: Formalin, Salicylic acid, Boric acid, Hydrogen Peroxide
Water is added to raw milk to increase milk volume. This is a common adulterant which is not harmful but decreases the milk quality.
Urea, being a natural constituent of milk, constitutes the major portion of non-protein Nitrogen in milk. Maximum allowable limit for urea in milk is 70 mg/100 mL.
Quality is an important thing in food industry. Due to bio-chemical activities, there are changes in food time to time. Therefore, preservation is so impotant in food industry. Further, wastage of food happens due to expiration and many other reasons. In the case of dairy industry, above problem becomes considerable because the wastage can be increased because of adding milk adultarents. It can be seen that almost all the dairy products we can see in the market are produced under the brand names of large scale companies. In Sri Lanka, it can observed that there are only few dairy products which are produced as rural domestic products like buffalo curd. Also a higher proportion of the dairy requirements are imported from other countries such as Australia and New Zealand because the domestic milk production is not sufficient. This is a good opportunity for small scale manufacturers to supply dairy products to catch up with the demand.
Some restrictions for starting dairy related production;
Our system can be used to measure and record important quality parameters of milk when the deal happens between the dairy collector and farmer to ensure milk is healthy and also it can be used to calculate financial value of milk according to those parameters and manage the financial records in a cloud based system.
Milk collectors use lactometer to measure the density of raw milk as a traditional method to detect if additional water is added to the raw milk. But, this method does not give an accurate result if the temperature is not considered, since the density varies according to the temperature.
Ammonium sulphate is added to increase the lactometer reading by maintaining the density of diluted milk.
Adding urea causes the increase of fat content. Since urea is basic, the PH value of raw milk can be used to detect this adulterant. Because urea is harmful, milk is unhealthy to consume when urea is added to
it.
Using our hardware unit, following measurements of milk can be taken.
pH value is a important parameter in our system, which gives a better understanding about milk adulterants. The output voltage (analog) of the sensor is proportional to the pH value of the milk. The sensor is first calibrated using a standard sample (distilled water).
A high intensity LED is used as a light source and a LDR is placed to detect the amount of light passing through the milk. The more the fat content in the milk, more amount of light will be scattered by that milk.
Bluetooth is a popular communication method which is half duplex.
We choosed bluetooth for communication because of the portable behaviour of the system.
Before the launching, we test fresh milk samples without any adultarents and get necessary data to observe the required range for each parameter. Then parameter values are tested after adding water content and graph it with additional water percentage as the independent variable and parameter values as dependent variables.
According to the parameter values of a sample, a graphical visualization of each parameters can be obtained to get a better understanding about tested milk. Further, a grade will be displayed according to the quality as A/B/C/D.
The grading system gives not only a grade for milk but also it is very useful to manage milk storage. It is recommended to store only milk with same grade in the same container, in order to reduce the possible wastages.
This system can be improved so as to get an approximate value for fat percentage of milk which is called SNF value. Since the buyers are not interested in that type of parameters, the proposed grading system is sufficient for the targeted problem.
SNF - Solid Non Fat , CLR - Corrected Lactometer Reading
The Solids-Not-Fat (SNF) means a collection of proteins, lactose, minerals, acids, enzymes and vitamins contents of the milk. It is the total solid content minus the fat content. The total milk solids are the sum of Fat and
SNF. SNF can be calculated using following formula:
SNF = (CLR/4) + (Fat x 0.21) + 0.36
Our system is not highly focusing on SNF percentage or fat percentage. But what this formula shows is Fat and SNF percentages are factors which affects the milk quality. Hence, deviations from fresh milk is considered in our system to generate the Grade.
After the basic circuit is built up, a fresh milk sample is tested for all parameters with respect to additional adulterant percentages. This data set is used as the training data set to build a data model. Then, this model can be used to predict approximate adulterant percentage and notify to the user using a mobile notification. Since AWS supports jupyter notebook, after integrating this feature, user can get a better understanding about milk that he is going to purchase.
According to the grade of tested milk, here is a mechanism to change the price for unit volume (1 litre) by the buyer(collector). For each grade he can assign a value in descending order as grade varies from A to D.
History record of how the values varied is also displayed.
Flutter is an open-source framework developed by Google and it is one of the most popular mobile development frameworks used by developers worldwide. It comprises all the essential elements, including cross-platform and native development models required to build high-performing and feature-rich applications in minimal time.
Laravel is the best PHP framework to use and build efficient applications in any scale. Laravel application maintenance process is easier and also it provides high-security features such as token authentication. Laravel speeds the application development process by utilizing databases efficiently
AWS is designed to allow application providers, ISVs, and vendors to quickly and securely host the applications – whether an existing application or a new SaaS-based application. AWS is made up of so many different cloud computing products and services. AWS utilizes an end-to-end approach to secure and harden our infrastructure, including physical, operational, and software measures.
In this project, since the hardware unit is consumed less, the power usage is really effective. (Hardware use rechargeable batteries to get power)
Our system is designed with the ability of using it as a portable device. In a milk collecting center also, it is applicable.
System can be used easily with bluetooth connection using your mobile phone as a smart way to test milk.
Users can experience an effective cloud based business environment and get rid of traditional testing and biling systems
All the records can be viewed in a timeline with an easy environment to see past records
Changing user details, price rate values can be done whenever you want.
With the price changes in industry, it is easy to update the price rates.
Postman is a scalable API testing tool which is a popular API workflow in testing and development. It has nice features like ability of creation of tests, ability of automated testing & etc.
Testing unit | What is tested | Results | Conclusion |
---|---|---|---|
sign-up | If any mandotary field is null | Errors without allowing to submit | |
email verification | Successfull email notifications | ||
password verification | check strength before submitting | ||
contact number verification | |||
sign-in | If email is wrong | login failed! | |
If password is wrong | login failed! | ||
If any field is null | Errors without allowing to submit |
Appium is an open source automation tool for running scripts and testing native applications, mobile-web applications and hybrid applications on Android or iOS using a webdriver.
JMeter is a test tool from Apache used to analyze and measure the performance of applications, different software services and products.
Registration as an admin is allowed only for specified people. This is done by inviting him/her by super admin with a time limit. Creating the super admin is done by seeding required credentials to the database when deploying. Details about invitations can be seen and it is possible to remove any email address that is already invited if admin wanted to invite him/her again.
A session will expire after a specific time although an admin did not logged out. When registering and changing the current password, a strong password has to be entered and when changing the current password, admin has to verify his/her identity by giving the valid email and current password.
JWT is the method of authentication for the users of the mobile application. A JSON web token (JWT) is an open standard (RFC 7519) and it is a compact and self-contained way for securely transmitting information between systems as a JSON object. This information can be verified and trusted because, it is digitally signed.
Once the user is logged in and authenticated by the server, then the JWT token is generated and passed in response, and in each subsequent request, the token is passed to the server. This JWT token contains the information for the user's access and permission, which is part of the authorization.
After registering and after using 'forgot password' option user has to verify himself by entering the OTP he received into his email. This is one security action in our mobile application.
In first 6 weeks, our team discussed about several project ideas. Among them, we decided to build a milk analysor which can be used by dairy collectors to enhance the deal with dairy farmers. After deciding Hardware components, technologies and timeline, project proposal was presented in this phase.
In this phase, basic backend functionalities are implemented in a Laravel project. API designing is the main task in this 4 weeks after creating database models.
Developing mobile application as a flutter project takes place in this 4 weeks. User interfaces are created in a way that the users of the application can easily manage their activities.
Hardware solution is designed in this phase. All sensors are connected to the main unit and tested by getting measurements.
We test all the systems after integrating them together. All issues in previous phases are also resolved. After this phase, a final physical model is presented.
This week is for Deployment tasks. Some testing activities also take place on hosting. AWS services are used for this purposes.
# | item | quantity | price(LKR) |
---|---|---|---|
1 | ATmega328p | 1 | 750 |
2 | Bluetooth module HC-05 | 1 | 950 |
3 | PH sensor | 1 | 3800 |
4 | HC-SR04 Ultrasonic sensor | 1 | 200 |
5 | 20x4 LCD display | 1 | 950 |
6 | 3.7 V power supply | 2 | 900 |
7 | Temperature sensor | 1 | 250 |
8 | Resistors | 10 | 100 |
9 | Load cell 5 kg | 1 | 500 |
10 | LDR | 1 | 55 |
11 | LED | 5 | 100 |
12 | Piezo Buzzer | 1 | 25 |
13 | HX711 converter | 1 | 200 |
14 | Battery charger | 1 | 450 |
15 | Cost for model | 1 | 2000 |
16 | Wires and others | 300 | |
Total | 11530 |
Copyright © 2021 All rights reserved | MilkTab