Embedded System for Milk Analyzer

Only available on StudyMode
  • Download(s) : 183
  • Published : October 7, 2012
Open Document
Text Preview
Embedded system for milk analyzer and billing

Submitted by Harshal Dhikale Sushil Kore Suhas Ugale

Aim
• The aim is to build an embedded system that analyzes milk, displays, saves & print the parameters of milk such as FAT, CLR, SNF, Proteins & calculate the prize as per these parameter.

Introduction
• We think engineering is the technical solution of the problem • look at common man‘s problem • We peek up adulteration problem of milk

Introduction
• A REVIEW OF LITERATURE
– Conventional manual methods
» Gerber method for fat takes 2 to 3 hours » CLR measurement by density of milk » Chemical synthesis for protein takes 3 hours

– Conventional Electronics methods
» High Intensity lamps » Auto density measurement » Ultra sonic waves

• But…….. October 10, Mahananda Dairy, A international conference on Milk adulteration concluded to develop a new sensor to detect parameter So we came up with EMBEDDED SYSTEM FOR MILK ANALYZER & BILLING

Basic components
• Milk analyzer • Cash counter • Memory card

Basic components

Block Diagram Of Milk Analyzer

Basic components

Block Diagram Of Cash Counter

Basic components

• A simple SD memory card

Principle
• IR Spectrometry
» Infrared spectroscopy (IR spectroscopy) is the spectroscopy that deals with the infrared region of the electromagnetic spectrum, that is light with a longer wavelength and lower frequency than visible light. It covers a range of techniques, mostly based on absorption spectroscopy. As with all spectroscopic techniques, it can be used to identify and study chemicals.

Principle

Measurement

Measurement
• • • • • • • • • • • • • AssumptionsX= % of glass absorption Y=% of the medium So data to the ADC is given by ADC= 100 – (X + Y) Now in case of SNF Y ~ 0% As SNF doesn’t absorb the IR rays And in case of FAT Y>X So we have two unknown so create two equation for that we are using two methods Direct transmission and reflective transmission. In direct transmission IR pair is arranged such that IR TX will be in line with the IR RX

Measurement
• Proteins
» Coagulation is the basic property of the proteins » heating of the milk proteins in the milk will get coagulate » before heat and after heat we can measure the difference in the % of the coagulation. » IR is itself heat » with addition help of warm water milk is heated in three stages 1st at 40oc at then at 50▫C and 70▫C

Selection Of CPU
• • • • • • • • • Adc Dac Pwm Uart Rtc Cap Freq spi interface pll factor 2 1 1 2 1 1 3 1 4

Selection Of CPU
• 32 bit is always better than 8 bit, for dealing floating, heavy calculations • ARM family in 6th semester • So thinking of all the microcontroller families we conclude that ARM & its LPC 2138 will be good for milk analysis project

Interface
• Serial interface, protocol- RS232 • LCD & KEYBOARD interface, protocol-I2C • SD interface, protocol – SPI

Sensor

Sensor

Sensor

Software Tools
• • • • • • Orcad 9.1 & Orcad 16 Corel Draw 11 Proteus 7.7 Win arm Microsoft visual C++ 2005 Kill uVision 4

Design
• Power Supply
– Transformer design – As the +/- voltage is required so we are using 18-0-18 / 3 amp transformer – Vp=230 V at 50 Hz , L1 1henry , Np 200 turns , Ns 16 turns – Vs= 18,4V – L2= 0.0064 H – M = 0.08 H – Rs= 100 ohm – Rp= 6.31 ohm – Xp= 314.032 ohm – Zp = 314.03 oham at 88.84o – Z2 = 100.0202 ohm at 1.15o

Design
Rectifier design – As we have to carry 3 amps current we are using 1N5408 diodes in bridge configuration. – Current rating for bridge rectifier should be suitable with load current, also; the designer should consider the voltage drop across each diode, which is normally equal to 0.7v. Note that only two diodes are required when using center-tapped transformer. Filter design – The following formula is used to calculate the capacitance value for the filtering capacitor:

– C: Capacitor value. Vp: Peak voltage. ("Bridge output max voltage") f: Frequency of the...
tracking img