Sunday, April 27, 2014

Kalman Filter

3D Tracking of a vehicle is simulated in MATLAB using Kalman Filter for precise localization. It is assumed that finding position of the vehicle via its dynamic model is affected by Gaussian white noise, therefore GPS data is also used to correct the position. The simulation m-file is available from the link below:

.zip contains m-file (1 KB)

Sunday, December 15, 2013

Tic Tac Toe

This project is the implementation of a new learning method in machine learning using pattern recognition. The method used in Tic-Tac-Toe game to learn winning pattern and avoid to lose the game. The VB.NET 2012 source is availible.


Download Source Code
.ZIP = [VB.NET 2012 Source Code + EXE file] 186 KB

Tuesday, June 26, 2012

Vehicle Rollover Modeling

Here you can download a MATLAB solver to simulate a vehicle rolling using its single track dynamic model and predicting its rollover via LTR.

Download MATLAB 2008 Solver Source Code [.zip - 2 KB]

NSGA-II

NSGA-II is an algorithm for Multi-objective Optimization using GA presented by Deb. By determining cost functions, number of design variables and their value ranges, chromosomes length, number of initial population and number of generations, you can start optimizing. Here you can download NSGA-II VB.NET and MATLAB source codes which also supports Robust Optimzation (RBDO and RDO).

VB.NET NSGA-II Application

Sunday, February 12, 2012

Helical GearBox Designing

This post is about a MATLAB source code that helps you to design a two-stage reduction helical gearbox. It calculates different numbers of gear teeth and gear normal modules based on AGMA stress equation and also Lewis bending equation and then determines the optimum number of teeth and gear module.

Download MATLAB Source Code
.ZIP , 2.1 KB , contains MFile tested on MATLAB 2008

Saturday, February 11, 2012

TomyadAuto® Adeline Concept

Adeline Concept is designed based on wireframe sketching and surfacing tools in SolidWorks and then rendered by Photoworks with indirect high quality illumination.

Adeline Concept Front View

Adeline Concept Rear View

Adeline Concept Rear View

Adeline Concept Rear View

Monday, December 5, 2011

TRemote SerialPort 1.0.0.0 Beta

TRemote SerialPort is an application to connect two serial ports via network. Therefore you would be able to send command to a serial port remotely and receive command answer over a network.
The software has two modules: Sending Module and Receiving Module. Each module can perform in two modes: Application Mode and SerialPort Mode.
Application mode in Sending module is for sending command from computer but in SerialPort mode, the software receives data from a COM port first and then sends it through network.
Application mode in Receiving module displays commands sent by Sending module on computer and in SerialPort mode, the software launches received command on the COM port selected by user.

Download TRemote SerialPort 1.0.0.0 Beta

+VB.NET 2010 Source Code (39 KB)

Saturday, November 26, 2011

TKeyMaker 1.0.0.0 Beta

TKeyMaker is an application to encrypt your files and create keys for them to decrypt them. By TKeyMaker you can encrypt any kind of file. The decrypted file only can be opened with its own key which is created by the software while encryption process.

Please read license file before using this application.

Download TKeyMaker 1.0.0.0 Beta
.ZIP = [VB.NET 2008 Source Code + Portable Application] 22 KB

Monday, September 26, 2011

TMP3Tagger 1.0.0.0 Beta

TMP3Tagger is a portable multi MP3 files ID3v1 tag editor application. TMP3Tagger is able to edit ID3v1 tag of multi MP3 files at the same time, remove the tag, append any string to it and also replace any character in that. The software uses threading technology to improve performance of editing process.

Note: Please read license file before using TMP3Tagger 1.0.0.0 Beta. The application may damage your MP3 files so please backup your files before you import them to TMP3Tagger.

Download Portable Executable TMP3Tagger 1.0.0.0 Beta
(.ZIP contains .EXE and License; 72 KB ; needed Windows with .NET Framework 4.0 installed to run TMP3Tagger)

Download TMP3Tagger 1.0.0.0 Beta Source Code
(.ZIP contains VB.NET 2010 Project files ; 77 KB)

Saturday, September 10, 2011

TomyadAuto® Vortex Concept

TomyadAuto Vortex is a concept car in MPV body style which is designed by SolidWorks and rendered by PhotoWorks with global illumination. The car body is created using surfacing and thicken tools.




Saturday, September 3, 2011

Regression using Wavelet Neural Network

This VB.NET source code uses Wavelet Neural Network to approximate single-variable functions. Training data should be inserted to the Access database for supervised learning. User is able to select number of processing neurons, learning rate and learning iterations. The project has the feature to plot approximated functions.

Download WaveletNet VB.NET 2008 Project
.ZIP - 58 KB

Monday, August 1, 2011

Shaft Designing using MATLAB

A shaft is a rotating member, usually of circular cross section, used to transmit power or motion. It provides the axis of rotation, or oscillation, of elements such as gears, pulleys, flywheels, cranks, sprockets, and the like [Shigley’s Mechanical Engineering Design]. Main goal of a mechanical engineering for designing a shaft is to determine shaft average diameter.

In ShaftDesigning source code, user should determine design factor, stress concentration factors, Marin factors, maximum bending momentum, maximum torsion, shaft material properties and initial value for shaft diameter on the . Then the source will calculate a good approximation for shaft average diameter by fixed point method. Combination of Von Mises yield criterion and Soderberg criterion are used for dynamic designing.

ShaftSolver source code is an additional tool for calculating bending momentum and torsion on the shaft. The code also solves supports forces and plots total momentum diagram based on elements used on the shaft.

Download Shaft Solver Pack
1.83 KB - MATLAB 2008 MFiles

Tuesday, June 28, 2011

MATLAB Spring Designing Source Code

The MATLAB source code is for designing springs under static pressure load. User choose spring wire material, wire diameter range and load properties. And then by running the code, spring diameter, spring index, effective turns, critical length and pitch will be determined. The code also supports spreadsheet output.

Download SpringDesigning.m

1 KB MATLAB 2008 MFile

Saturday, April 9, 2011

TomyadAuto® Subliminal Concept

Pictures below are generated by primary rendering of Subliminal Concept with higher illumination quality. This is my first experience in using advanced surfacing tools of SolidWorks to model a concept car.



Saturday, February 5, 2011

TomyadAuto® Meson Concept

Meson concept car designing is based on new styles of swept boss feature in SolidWorks.






Wednesday, December 22, 2010

MATLAB Project

Here is the source of Drawing N Cubes function, written in MATLAB 2008. Enjoy the code and try to optimize it.



function lego(w,r,n)
%%

clf
s=0;
for i=1:n
s=s+w/2;
cubeplot(0,0,s,w)
s=s+w/2;
w=w*r;
end
view(45,30)
%%
function cubeplot(a,b,c,l)
hold on
[x,y,z] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+b,(l/2)+b],l/2+c);
surf(x,y,z)
[x,y,z] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+b,(l/2)+b],-(l/2)+c);
surf(x,y,z)
[z,y,x] = meshgrid([-(l/2)+c,(l/2)+c],[-(l/2)+b,(l/2)+b],l/2+a);
surf(x,y,z)
[z,y,x] = meshgrid([-(l/2)+c,(l/2)+c],[-(l/2)+b,(l/2)+b],-(l/2)+a);
surf(x,y,z)
[x,z,y] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+c,(l/2)+c],l/2+b);
surf(x,y,z)
[x,z,y] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+c,(l/2)+c],-(l/2)+b);
surf(x,y,z)
end

end

Saturday, September 18, 2010

TJ Notepad

TJNotepad is a simple and open source java notepad for mobile phones that can open any kind of file in text mode. It is useful to view files using text reading stream.



54 KB MIDP-2.0 and CLDC-1.1

4 KB Sun NetBeans 6.7.1

Friday, September 10, 2010

TomyadAuto® Fedora Concept

Fedora is based on a new way of sketching and designing using SolidWorks. New kinds of material property are used for rendering.







Tuesday, August 24, 2010

Using SolidWorks to design an hourglass


Designing an hourglass by Solidworks is so easy:
  1. Create a 2D Sketch on Front-plane.
  2. Start drawing a glass profile on the plane.
  3. Use Revolve Extrude to create a glass.
  4. Then make a new 2D Sketch on Top-plane for drawing a lid.
  5. Draw a circle on the Top-plane Sketch.
  6. Create the lid via Extruding the circle.
  7. After that use Mirror feature to make the copy the body in other side.
  8. Now you can create a support.
  9. To have three supports, use Circular pattern.
  10. Finally filleting edges.
You can download hourglass sample file and open it by SolidWorks 2009 or higher version and then viewing tree-view to see the design elements and their structure:

Download Hourglass Sample File
.Zip = SolidWorks 2009 SLDPRT file (312 KB)

Wednesday, July 14, 2010

TomyadAuto® Jenik Concept

TomyadAuto® Jenik is a new concept car that has interior and exterior design. Many SolidWorks boundary features are used for designing.