Introduction: Rock Sample Analyzer
Rock Sample Analyser is used to identify and analyse the types of rocks samples using soft hammering vibration technique. It is a novel method in identifying the rock samples. If a meteorite or any unknown rock sample is there, one can estimate the sample using this rock sample analyser. The soft hammering technique will not disturb or damage the sample. Advanced Neuro Fuzzy interpretation technique is applied to identify the samples. Graphical User Interface (GUI) is designed using MATLAB software and the user can see the vibrations obtained a graphical output and the resultant output will be shown in the panel within the fractions of second.
Step 1: Constructing the Mechanical Device
The Dimensions of the mechanical device are as follows
Length X Breadth X Height = 36 cm X 24.2 cm X 32 cm
Length of Sample rod = 24 cm
Hammer Length = 37 cm
Disc Radius = 7.2 cm
Axle lengths = 19.2 cm (2)
The automatic soft hammering mechanical device is to hammer the sample and create vibrations...The vibrations generated are spread over the samples. The vibrations generated are very smooth and will not disturb or damage the sample.
Step 2: Vibration Sensor
3 number of 801S Vibration Sensor Vibration Model Analog Output Adjustable Sensitivity For Arduino Robot Vibration Sensors are used to collect the vibrations...Mean of all the three values are used to analyse the data.
Step 3: Arduino Control and Programming
Arduino will collect the data using the analog pins and convert the data and send it to text file
int vib_1 = A0;
int vib_2 = A1; int vib_3 = A2;
val1 = analogRead(vib_1);
val2 = analogRead(vib_2);
val3 = analogRead(vib_3);
val = (val1 + val2 + val3)/3;
if (val >= 100)
mySerial = new Serial( this, Serial.list(), 9600 );
output = createWriter( "data.txt" ); }
if (mySerial.available() > 0 )
String value = mySerial.readString();
if ( value != null )
output.println( value );
// Writes the remaining data to the file
output.close(); // Finishes the file
exit(); // Stops the program
Step 4: Neuro Fuzzy Interpretation Graphical User Interface
ANFIS is a combination of
logical fuzzy systems and neural networks. This kind of inference system has the adaptive nature to rely on the situation it trained. Thus it has lot of advantages from learning to validating the output. Takagi-Sugeno fuzzy model is shown in the Figure
As shown in Figure, the ANFIS system consists of 5 layers, layer symbolized by the box is a layer that is adaptive. Meanwhile, symbolized by the circle is fixed. Each output of each layer is symbolized with sequence of nodes and l is the sequence showing the lining. Here is an explanation for each layer, namely:
Serves to raise the degree of membership
Serves to evoke firing-strength by multiplying each input signal.
Normalize the firing strength
Calculating the output based on the parameters of the rule consequent
Counting the ANFIS output signal by summing all incoming signals will produce
Here the graphical user interface is designed using MATLAB software. Input vibration data is feed into the software using Arduino controller and the corresponding sample will be analysed efficiently using ANFIS interpretation.
Participated in the
Arduino Contest 2019
1 Person Made This Project!
- stanleyraj made it!