Sunday, April 26, 2009

Ansys :GUI Vs COMMANDS

There are two methods to use ANSYS. The first is by means of the graphical user interface . This method follows the conventions of popular Windows based programs.

The second is by means of command files. The command file approach has a steeper learning curve for many, but it has the advantage that an entire analysis can be described in a small text file, typically in less than 50-100 lines of commands. This approach enables easy model modifications and minimal file space requirements.

Many of you will find the command file simple and more efficient to use once you have invested a small amount of time into learning the code.

For information and details on the full ANSYS command language, consult:

Help > Table of Contents > Commands Manual.

Tuesday, April 21, 2009

New topics in MATLAB

1. Video noise reduction in spatial domain.
2. Per pixel motion detection in video images.
3. Reducing contour artifacts in error diffusion.
4. Jpeg compression and decompression
5. Generating gaussian noise from uniform noise using central
limit theorem.
6. High frequency noise reduction in speech signals.
7. Introducing echo in speech signals
8. Introducing reverb in speech signals.
9. Five band graphic equalizer.
10. u-law companding based quantization of speech signals.
11. Generation of uniform noise in matlab using linear feedback
shift registers (LFSR).
12. CRC32 based error detection scheme in digital communication.
13. TITO modelling in simulink.
14. Mpeg Noise Reduction : Mosquito and De-blocking.
15. Heart rate variability analysis using matlab.
16. Motion compensated frame rate conversion.
17. Music synthesis.

Files in ANsys

A large number of files are created when you run ANSYS. A lot of problems is being faced if we dont know about the types of files we want to use and run.If you started ANSYS without specifying a jobname, the name of all the files created will be FILE.* where the * represents various extensions described below. If you have specified a jobname, say Chandan, then the created files will all have the file prefix, Chandan again with various extensions:
frame.db:Database file (binary). This file stores the geometry, boundary conditions and any solutions.
frame.dbb:Backup of the database file (binary).
frame.err:Error file (text). Listing of all error and warning messages.
frame.outOutput of all ANSYS operations (text). This is what normally scrolls in the output window during an ANSYS session.
frame.log:Logfile or listing of ANSYS commands (text). Listing of all equivalent ANSYS command line commands used during the current session.
etc...:Depending on the operations carried out, other files may have been written. These files may contain results, etc.

Basic steps in FEM

In general, a finite element solution may be broken into the following three stages. This is a general guideline that can be used for setting up any finite element analysis.

1. Preprocessing: defining the problem; the major steps in preprocessing are given below:
* Define keypoints/lines/areas/volumes
* Define element type and material/geometric properties
* Mesh lines/areas/volumes as required
The amount of detail required will depend on the dimensionality of the analysis (i.e. 1D, 2D, axi-symmetric, 3D).

2. Solution: assigning loads, constraints and solving; here we specify the loads (point or pressure), contraints (translational and rotational) and finally solve the resulting set of equations.

3. Postprocessing: further processing and viewing of the results; in this stage one may wish to see:
* Lists of nodal displacements
* Element forces and moments
* Deflection plots
* Stress contour diagrams

Friday, April 17, 2009

Grayscale image and gamma encoding

Image processing basic(1)

GRAYSCALE IMAGE

In photography and computing, a grayscale or greyscale digital image is an image in which the value of each pixel is a single sample, that is, it carries only intensity information. Images of this sort, also known as black-and-white, are composed exclusively of shades of gray, varying from black at the weakest intensity to white at the strongest.

Grayscale images are distinct from one-bit black-and-white images, which in the context of computer imaging are images with only the two colors, black, and white (also called bilevel or binary images). Grayscale images have many shades of gray in between. Grayscale images are also called monochromatic, denoting the absence of any chromatic variation.

Grayscale images are often the result of measuring the intensity of light at each pixel in a single band of the electromagnetic spectrum (e.g. infrared, visible light, ultraviolet, etc.), and in such cases they are monochromatic proper when only a given frequency is captured. But also they can be synthesized from a full color image; see the section about converting to grayscale.

To convert any color to a grayscale representation of its luminance, first one must obtain the values of its red, green, and blue (RGB) primaries in linear intensity encoding, by gamma expansion. Then, add together 30% of the red value, 59% of the green value, and 11% of the blue value (these weights depend on the exact choice of the RGB primaries, but are typical). Regardless of the scale employed (0.0 to 1.0, 0 to 255, 0% to 100%, etc.), the resultant number is the desired linear luminance value; it typically needs to be gamma compressed to get back to a conventional grayscale representation.





GAMMA ENCODING

Gamma correction, gamma nonlinearity, gamma encoding, or often simply gamma, is the name of a nonlinear operation used to code and decode luminance or tristimulus values in video or still image systems. Gamma correction is, in the simplest cases, defined by the following power-law expression:

V(out)=V(in)^gamma

where the input and output values are non-negative real values, typically in a predetermined range such as 0 to 1. A gamma value \gamma < 1\,is sometimes called an encoding gamma, and the process of encoding with this compressive power-law nonlinearity is called gamma compression; conversely a gamma value > 1 is called a decoding gamma and the application of the expansive power-law nonlinearity is called gamma expansion.

Gamma compression, also known as gamma encoding, is used to encode linear luminance or RGB values into video signals or digital video file values; gamma expansion is the inverse, or decoding, process, and occurs largely in the nonlinearity of the electron-gun current–voltage curve in cathode ray tube (CRT) monitor systems, which acts as a kind of spontaneous decoder. Gamma encoding helps to map data (both analog and digital) into a more perceptually uniform domain.

The following figure shows the behavior of a typical display when image signals are sent linearly (γ = 1.0) and gamma-encoded (standard NTSC γ = 2.2). In the first case, the resulting image over the CRT is notably darker than the original, while it is shown with high fidelity in the second case. Digital cameras produce, and TV stations broadcast, signals in gamma-encoded form, anticipating the standardized gamma of the reproducing device, so that the overall system will be linear, as shown on the bottom; if cameras were linear, as on the top, the overall system would be nonlinear. Similarly, image files are almost always stored on computers and communicated across the Internet with gamma encoding.

Thursday, April 16, 2009

Basic Three step of Any FEM software

I - Insert an HFSS design into a project
1) On the Project menu, click Insert HFSS Design

The new design is listed in the project tree. It is named HFSSDesignn by default, where n is the order in which the design was added to the project. The 3D Modeler window appears to the right of the Project Manager. You can now create the model geometry








II -Selecting the Solution Type

Before you draw the model, specify the design’s solution type.

1) On the HFSS menu, click Solution Type. The Solution Type dialog box appears.

2) Select Driven Modal in the solution types.

We select Driven Modal as our model is a rectangular waveguide and Driven modal is used for calculating the mode-based S-parameters of passive, high-frequency structures such as microstrips, waveguides, and transmission lines, which are “driven” by a source

III- Setting the Model’s Units of Measurement

You can then choose to display the model’s dimensions in the new units, or rescale the model’s dimensions to the new units.

To set the model’s units of measurement:

1.On the 3D Modeler menu, click Units. The Set Model Units dialog box appears
2.
Select the new units for the model from the Select units pull-down list.

You can select the Rescale to new units option to rescale the dimensions to the new units. Clear the Rescale to new units option (the default) to convert the dimensions to the new units without changing their scale

3.Click OK to apply the new units to the model








Monday, April 13, 2009

Matlab Official blogs by expertise: u will find it very useful

http://blogs.mathworks.com/loren/
http://blogs.mathworks.com/seth/

http://blogs.mathworks.com/steve/

http://blogs.mathworks.com/desktop/

I have gone through these blog and a lot of interesting stuff is given in this blog related to matlab programming ,DIP,DSP,simulink etc

DSP LECTURE BY SC DUTTA ROY ,iitd nptel video lecture

If anybody interested please have it from me.I also have lecture series for electrical,electronic and mathematics.

For beginners purpose in MATLAB

hi all
I would like to introduce you about a book entitled

"MATLAB and its applications in Engineering" by Bansal, Goel and Sharma
by pearson publications.

This book is good for beginners as well as for trained persons.
The first nine chapters includes the basics of the MATLAB which includes all elementary topics and commands.

then there is chapter on Simulink basics and then applications of MATLAB in the different fields of Engineering are discussed i.e. Control Systems, Neural Networks, Fuzzy Logic and DSP.
Also two appendices on GUI and LTI Viewer are also given,


It is available in Current book Agency ,Lanka

Matlab IEEE 2008 project List

M1 Shared Feature Extraction for Nearest Neighbor Face Recognition
2008
M2 Vessel Extraction Under Non-Uniform Illumination: A Level Set Approach*
2008
M3 A Novel Digital Image Watermarking Approach Based on Image Blocks
2008
M4 Region-Level Image Authentication Using Bayesian Structural Content Abstraction 2008
M5 Speech-enabled puretone audiometer*
2007
M6 Pattern-Based Data Hiding for Binary Image Authentication by Connectivity-Preserving 2007
M7 Video Adaptation for Small Display Based on Content Recomposition
2007
M8 Real-Time Decentralized Articulated Motion Analysis and Object Tracking From Videos 2007
M9 Neuro-Wavelet Based Approach for Image Compression*
2007
M10 A joint signal processing and cryptographic approach to multimedia encryption
2006
M11 Trajectory-Based Ball Detection and Tracking in Broadcast Soccer Video
2006
M12 Superimposition of CT image on MRI image for better image quality

M13 Cover Selection Steganography Method Based on Similarity of Image Blocks
2008
M14 Hybrid Digital Embedding Using Invisible Watermarking
2008
M15 A Statistical Attack on a Kind of Word-Shift Text-Steganography
2008

Sunday, April 12, 2009

MATLAB materials, ebooks, docs, links, etc...

The best material for matlab is its documentation. u can get pdfs for each toolbox, blockset, seminars, webinars and example codes on www.mathworks.com
helpful linx:
http://www.mathworks.com/access/helpdesk/help/helpdesk.html
http://www.mathworks.com/products/
http://www.mathworks.com/cgi-bin/texis/webinator/search_dropdown/




Ansoft High Frequency Structure Simulator (HFSS) is an interactive software package for calculating the electromagnetic behavior of a structure. The software also includes post-processing commands for analyzing the electromagnetic behavior of a structure in more detail. Using Ansoft HFSS, you can compute:

· Basic electromagnetic field quantities and, for open boundary problems, radiated near and far fields.

· Characteristic port impedances and propagation constants.

· Generalized S-parameters and S-parameters renormalized to specific port impedances.

· The eigenmodes, or resonances, of a structure.

Ansoft HFSS, a commercial full wave finite element simulation package. This package uses an iterative adaptive meshing technique1 which divides the structure into a number of tetrahedra and then solves for the fields in these tetrahedra. The number of tetrahedra is then increased and the process is repeated in an iterative fashion until a desired convergence is achieved.

We can analyze antennas, microwave transitions, launchers, waveguide components, RF filters, and three-dimensional discontinuities, just drawing the structure, specifying material characteristics, and identifying ports and special surface characteristics in HFSS. HFSS automatically generates field solutions, port characteristics, and s-parameters.

The finite element method (FEM) is used for finding approximate solutions of partial differential equations (PDE) as well as of integral equations. The solution approach is based either on eliminating the differential equation completely, or rendering the PDE into an equivalent ordinary differential equation, which is then solved using standard techniques such as finite differences, etc.

The ansoft hfss window has several optinional panels:

1. A Project Manager which contains a design tree which lists the structure of the project.

2. A Message Manager that allows us to view any errors or warnings that occur before we begin the simulation.

3. A Property Window that displays and allows us to change model parameters or attributes.

4. A Progress window that displays solution progress.

5. A 3D Modeler Window which contains the model and model tree for the active design.


The Ansoft HFSS provides an intutive, easy to use interface for developing various models. Creating designs, involve the following:

1. Parametric Model Generation – creating the geometry, boundaries and excitations.

2. Analysis Setup – defining solution setup and frequency sweeps.

3. Results – creating 2D reports and field plots.

4. Solve Loop – the solution process is fully automated.


Ansoft maxwell flowchart


New FEM software :Ansoft Maxwell 3d and Ansoft HFSS

Check out these two links:
a. http://www.ansoft.com/electromechanical_design.cfm
b. http://www.ansoft.com/signal_integrity_design.cfm

These software are very easy to learn and very efficient .i have tried them personally and found hem very user friendly

Especially electrical and electronics student these are the software for you.
At present i am working with Maxwell3D and RMxprt software.
I have the material and the software ,if u really want to learn then contact me.