Crumbler Head Temperature Sensor

The purpose of this project is to develop a method of monitoring the surface temperature of a biomass grinder drum to notify the operator when product could potentially become damaged.
thumb|right
==Problem Definition==
===Background===
Forest Concepts LLC. is a company that manufactures and maintains Biomass grinders for use around the country. Biomass is produced by taking chips of a variety of materials that can range from wood chips to corn stalks and running them through a grinder to reduce the chips into a size that can be rapidly burned for a heat source. Forest Concepts came to the University of Idaho seeking a design that could measure the surface temperature of the two rotating drums that grind up the material to monitor for overheating which could potentially damage their product.
===Deliverables===
Forest Concepts has asked for the following deliverables:
*A reliable method of measuring temperature to ensure the product is not damaged
*A cheap sensor array for a permanent fixture that can be implemented on all crumblers or
*A removable sensor array that can be easily swapped between grinders if need be
*A sensor output that is readable by industry standard PLC's
*A method of verifying the temperature reading is accurate
===Specifications===
After communicating further with Forest Concepts, the following specifications were determined:
* Maximum allowable temperature of 200 degrees Celsius
* Common running temperature of 100 – 150 Degrees Celsius
* Accuracy of +/- 10 -15 Degrees Celsius
* 4-20mA industry standard for Sensors
* 0-5 DC volts works for our operating system with their PLC
* The main products are Wood Chips, and Corn Stock
* The ash from these products is usually less than 3%
* Crumblerhead is made of A2 Tool Steel
* The teeth of the Crumblerhead are a Carbide Tip
* Must have a method for the verification of effectiveness of our Temperature Sensor System
* Prototype Sensor system will be tested on Forest Concepts Research Head
==Project Learning==
===Emissivity===
Emissivity is the ratio of energy radiated from a materials surface to that radiated from a black body. So, a black body would have an emissivity of 1.
Using the Stefan-Boltzmann law, we can determine the energy emitted by our drums as:
 𝑀= 𝜀𝜎𝑇4
Where M is the flux per unit area of the source, 𝜀 is the emissivity of the object, 𝜎 is the Stefan-Boltzmann constant (5.67∗10−8𝑊𝑚−2𝐾−4) and T is the surface temperature of the object.
From this equation, we can derive the temperature for our infrared sensor which is called a Lambertian Source.
This sensor treats the entire surface area of the drum as a plane. Our sensor calculates the radius of the surface area projection with a constant Spot Ratio of 1:1 (1cm away = 1cm diameter of circle).
For our IR sensor type we can actually adjust the emissivity to match that of the material that the IR waves are being pointed at. The only major factor that could hinder our project would be the possibility of dust in between the IR and the crumblerhead.
Common values of emissivity based on other materials include:
*Oxidized steel - .79
*Silicon Carbide - .83-.96
*Gravel - .28
===Thermocouples===
Thermocouples are composed of two dissimilar metals the generate an electric potential as one wire heats up faster than the other one based off of the material properties. For our experiment, a K-type thermocouple would most likely be the choice for measuring the temperature of the outgoing product if the customer so decides to go forward with that plan.
===Degredation of Product===
The entire reason of monitoring the crumbler head temperature is to ensure that ForestConcepts product is not being damaged by overheating. The three main components of wood that can actually melt if raised to roughly 450 Fahrenheit are Lignin, Cellulose, and Cellulose-lignin. If the temperature of the lignin is raised to this threshold, the normally-rigid protein will actually behave as a more fluid medium, causing permanent structural damage to the product as well as a loss of energy content in the burning during biomass fueling. 
==Design Concept==
===Design Ideas===
====#1: IR Sensors====
thumb|200px|Freetronics Infrared sensor
thumb|300px|Mockup of crumbler with sensors inserted in the side plate
Design Idea: With each crumblerhead there are two cylindrical teethed rotating drums. So, for each of these drums we would have 5 IR sensors of Forest Concepts approval which would be evenly spaced out lengthwise along the drum. Each of these sensors will pick up a temperature for each section of the drum and whichever sensor is reading the highest temperature of the 5 will be displayed ion the PLC of the crumblerhead. The 5 sensors will be housed on the outside of the metal plates surrounding the crumbler head on either side of the drums for a total of 10 sensors per crumbler.
* Pros
# Is a Permanent fixture to the system
# Cheap/easy maintenance
#Accurate to Forest Concepts wanted Specs
# Simple and effective
*Cons
#Possible errors when high ash in-between the sensors and the drums
#Could have coding errors when trying to create functions to show max temperature with the sensor array
====#2 Thermocouple on end product====
Design Idea: At the end of the conveyor belt where the product is eventually drop into a container or bailer, we would have a thermocouple rod that as the product falls by it or passes by it on the conveyor it makes contact and the thermocouple would readout that temperature to the PLC.
* Pros
#Directly measuring the product rather than the crumblerhead drum
#Simple to setup and install
#Cheap
#Is a permanent fixture on the system
* Cons
#Hard to make sure your temperature readout function is accurate
#The time between the product leaving the crumblerhead and where the thermocouple is at may give the product time to cool down, providing inaccuracy.
#Possibly not very durable
===Chosen Design===
For our design, we have chosen to use the infrared sensor arrays on both drums of the crumbler. These arrays will consist of 6 sensors per side for a total of 12 sensors per unit.
====Sensor Housing====
thumb|200px||Newest rendition of sensor housing with magnets
Part of the dilemma with the environment in which our sensor will be working is the amount of moving parts and particulate debris that will be circulating around our field of view. With that being said, we needed a sensor that was:
*rugged enough for use without maintenance
*fixed to the existing system
*easily inserted with minor modifications to existing side plate
The initial housing design consisted of a rapid-prototype housing with flanges to be inserted into a keyway in the side plate.
However, after further discussion with our clients, keyways are much harder to machine and much more expensive so we proceeded with the route of making the sensor cylindrical with a fixture on the outside of the plate. We have decided to fix the sensor housing to the plate wall via magnets due to the fact that they will not come loose with time as well as getting an IR-visible Lexan cover to keep dust out of our sensor housing.
====Arduino Housing====
One of the other challenges in our design was constructing a safe place for our Arduino to be protected from the elements while still being accessible for connections. Our initial idea for an Arduino Housing is shown to the right. For prototype testing, the box was cut using the UI laser cutter out of 1/4" wood for ease of production. This box ensured that the Arduino and sensitive components would be protected from the elements during prototype testing.
==Prototype Testing==
====Preliminary Data Acquisition====
thumb|left|Labview Back Window
thumb|left|Labview Front Panel
In order to being determining the emissivity of our sensor, ForestConcepts has asked us to create a Labview Program for use with our sensors. This can easily be done using an Arduino to control and gather information and use a serial communication with Labview in order to decipher the data. 
In order to do this, the :file:Arduino sensor code.pdf must first be loaded into the arduino. This code cycles between one sensor every 1.5 seconds and is configurable for any 3 pins for Clock, Data, and Acquire pins.
Next, the Labview VI must be constructed to communicate with the Arduino via the VISA add-in.
The back window (or block coding of the program) can be seen to the left.
The arrangement of coding seen in the first picture of this section is the coding aspect of the Labview program. To the left, the user interface while using the application is shown. This is what anyone recording data will see while data is coming in. For preliminary data acquisition, there are 4 graphs: ambient and infrared readings for both sensors. Also, to debug any errors, there is a window to view the incoming strings through the serial port. 
For the Serial communication from the Arduino to Labview, we have set up strings using comma delimiters so Labview can sort our code for usable information. For example, one string coming in could be:
Ambient,1,79.21
By using commas in our code, we can tell Labview to take the following steps for sorting the data:
# Look for the first comma, take the information to the right of it which is the sensor number (in preliminary testing either 0 or 1 for sensor 1 or 2) and make a branch for the sensor number
# Once the sensor number is found, take the data to the left of the first comma, either ambient or infrared, and create another branch for each sensor
# Labview then looks for the second comma and places the numerical values in the correct graph 
====Experimental Setup====
thumb|right|initial setup of prototype sensor experiment
The sensors were shipped to Forest Concepts to test the viability of the design. Initially, there were only 2 IR sensors sent with the coding to take data. Data was taken over the course of several hours, using a thermal imaging camera on the crumbler heads to compare the temperatures the infrared sensors were reporting. Forest Concepts duct-taped our sensors onto the feed surface of the crumbler to avoid having to make alterations to the pre-existing prototype research crumbler.
====Prototype Data Results====
thumb|left|Prototype data test results
The graph to the left displays the reading of one of the sensors over the course of the testing. Mostly, the test was just to ensure that we were getting accurate readings with no hiccups in the code or data presentation. These readings yielded an accurate temperature within 10 degrees Fahrenheit of the thermal imaging camera, well within our required specification. The detailed experimental setup can be found in the archives of this page.
==Design Implementation==
For the final chosen design, we will make a 12 sensor array to attach to the crumbler and use shielded wires to run data to the Arduino Mega. Once the Arduino gathers the data, it will be output to Labview in a serial format for prototype purposes.
===Coding Modification===
====Arduino Code====
For the final arduino code loaded onto the Mega, there was a modification made to allow any number of sensors to be connected and still run. The Arduino cycles through all sensors in the Void Setup stage, and then proceeds to loop through any sensors that are plugged in.
====Labview Code====
For the final labview code, NI VISA now sifts through the strings and populates an array with the temperature values. This array is then entered to a waveform graph, using a shift register to only update the changed values in the array every cycle.
===Hardware Modifications===
====Sensor connections to Arduino====
thumb|left|200px|RJ45 female connectors
Initially, a 5 wire shielded cable was going to be ordered and custom cut to length for the crumblers. However, after further discussion with Forest Concepts and their plans to use the sensors on an array of different crumblers, our team decided to use ethernet cables and connectors to help the Arduino communicate with the sensors. Ethernet cables are a very practical application for a variety of reasons:
*They are shielded, helping cancel out any potential noise that could disrupt a signal
*They are cheap
*They come in a variety of lengths, leaving Forest Concepts plenty of room for different sensor configurations
Ethernet cables have provided a very effective and easy to use connection method for our sensors.
====Arduino PCB Shield====
thumb|left|PCB Board Layout
thumb|right|PCB Board Schematic
In addition to the Ethernet ports that must be connected to the Arduino to communicate with our sensors, the circuitry required to connect all 12 sensors posed a huge problem as far as packaging. Feifan designed a PCB using the Eagle softward by AutoCAD to design a shield that plugs directly into the Mega and is easily solderable for the female Ethernet ports on the shield itself.
==Summary==
In conclusion, Team Crumbletech was able to develop an infrared sensor array for Forest Concepts that accurately monitors the temperature of the surface of the crumbler heads. We have met all of the following metrics:
*Modular and easily interchangeable between crumbers
*Low cost
*Accurate well within spec of Forest Concepts' Thermal Imaging camera as well as a thermocouple
*Robust
*Output capable of communicating with an industry standard PLC
All of the supporting information and files are found in the University of Idaho's shared drive at:
S:\Engineering\SeniorDesign\- Senior Design\2017-2018\Crumbletech\OneDrive folders\Senior Capstone- Crumbletech
===Future Work===
In order for Forest Concepts to use the technology that we have developed, all they must do is machine holes into the side of their crumbler to accommodate for the sensor housings. Currently, the output of the Arduino is dedicated for use with Labview, per the Customer's request, however in the future to communicate with a PLC Modbus protocol and an RS485 adapter will most likely have to be used.
==Team Information==
Part 	Sourcing 	Description
200x200px|Jacob Miller	Mechanical Engineering, Senior	I am from Boise, Idaho and I enjoy outdoor activities such as fly fishing, hunting, and hiking. In the future, I would like to work on R&D and product development.
200x200px|Feifan Deng 	Electrical Engineering, Senior	I am an electrical engineering student from china. I become a senior student at university of idaho recently. This is my first year in idaho. People in there are very friendly. I feel fresh and curious about the surrounding. My career goal is to create something which is useful and interesting.
 	Mechanical Engineering, Senior	My name is Abdulaziz Alazemi and I am from Kuwait. I am studying Mechanical Engineering at University of Idaho. About my achievements, I had learned English only in one year and started studying my Bachelor's degree in 2014. In addition, I had successful classes that made me a good and creative and capable to handle complex engineering problems. My hobbies are fishing, painting, cooking and swimming. When I graduate I will go back to Kuwait and hopefully be a member of Kuwait Water and Electricity Company.
 	Biological Engineering, Senior	My name is Anthony Ponzini and I am a Senior Biological Engineering student. Some of my hobbies include soccer, Guitar, video games, physical fitness, and eating different types of food. My last summer I interned for a company called Glanbia in southern Idaho and it was my first on the job engineering experience. I will be graduating this May and hope to have a bright future ahead of me.
==Document Archive==
===Expo Materials===
Poster - 
Presentation - 
===Arduino Code===
Actual .ino file - 
CPP - 
Library -
===Design Reviews===
===Schedule===
===Minutes===
September 
October 
November 
December 
January 
February 
March 
April