Posts

Showing posts with the label automobile

GENETIC ALGORITHM

Image
  GENETIC ALGORITHM: Basically,the genetic algorithm is inspired by the natural process that belongs to larger scale of evolutionary algorithm. It used to generate a high quality solution for optimation and search type problem. It relying on biologically operation like mutation,cross over and selection. Generates a population of points at each iteration. The best point in the population approaches an optimal solution. EXAMPLE; Automatically solve suduko puzzle, hyperparameter optimization....etc... SYNTEX:  call the genetic algorithm function ga with the syntax  [x fval] = ga(@fitnessfun, nvars, options)   where , @fitnessfun  is a handle to the fitness function.  nvars  is the number of independent variables for the fitness function.  options  is a structure containing options for the genetic algorithm.   WRITE A FUNCTION CODE: for genetic algorithm,we wrote a function program by this formula as given below, f1x=(sin(5.1*pi*x+0.5))^6; f2y=...

CURVE FIT USING MATLAB

Image
  curve fit: It is the process of constructing a curve or a mathematical function,and it has the relationship b/w orginal data set and predicted data set. Basically,the curve fit depends upon the polynomial equ... The polynomial equ are show below: linear equ/first degree polynomial:y=ax+b; quadratic equ/second degree polynomial:y=ax^2+bx+c; cubic equ/third degree polynomial:y=ax^3+bx^2+cx+d; the degree of polynomial can go 4,5 and so on; coading for linear and quadratic equ: clear all close all clc %loading data cp_data=load('data') temp=cp_data(:,1) cp=cp_data(:,2) %curve fit co_eff1=polyfit(temp,cp,3); predicted_cp=polyval(co_eff1,temp) co_eff2=polyfit(temp,cp,1); predicted_cp2=polyval(co_eff2,temp) %compare org fit,predicted fit plot(temp,cp,LineWidth=3); hold on plot(temp,predicted_cp,LineWidth=3) plot(temp,predicted_cp2,LineWidth=3) xlabel('temperature') ylabel('specific heat') legend('original c_p','cubic polynomial','linear polynomia...

2r robotic arm

Image
2R ROBOTIC ARM ABOUT: It is a type of mechanical arm,usually it’s perform a similar function like a human arm.in the 2r robotics arm,the two links and manipulator were connected by the joints and the joints allow to perform either rotational motion or linear displacement.the links of the manipulator can be consider to form a kinematic chain To create a animation using matlab: First of all,we should understand the concept of forward kinematics 2r robotics arm like how it’s works?,what are the material has been used?,how many linkages and joints has been used? Then,we should do analyse mathematically, ¨     Calculate length and position of link1.. ¨     Calculate length and position of link2.. For plotting purpose;we pick some co-ordinates,which refers to forward kinematics robotics arm. Starting orgin x0=0;y0=0 At link 1: x1=l1cos⍬;y1=l1sin⍬ At link 2:x2=x1+l2cos⍬;y2=y2+l2sin⍬ [x0 y0][x1 y1][x2 y2] write a code to create animation li...

TRIMMED BODY NVH

Image
  TRIMMED BODY NVH   VEHICLE DESIGN DISCIPLINE: The vehicle design need to target the four discipline, They are… ·        MBD(multi body stimulation) ·        CRASH ·        DURABILITY ·        NVH(noise,vibration,harshness)     MBD(multi body stimulation): It helps in studying the dynamic of moving parts,How load,force are distributed throughout mechanical system.   CRASH: It is done to verify the structural integrity&  crash worthiness of the vehicle. In this particular design is more important,we can make a accidentand check it.whether,the passenger safe (or) not.   Durability: To access the life time of   biw components for service load. In durability,you have a repetitive load. For example, 10 Kg load applying the particular part continuously,how many hrs the part will sustainan...