Tuesday, 17 October 2023

Practical implications of free damped vibraton systems.

We all go through the theoretical concepts of vibrations in engineering course work and their understanding is good, but have anyone thought about their practical implications?

From the previous posts on vibration system, I have explained 1 DOF and 2 DOF free damped vibration systems. In this one, I have aimed to explain the practical implications of these free damped vibration systems.

In any vibratory system, theoretically we model the whole system using three basic elements. They are mass which provides inertia to the system, spring which helps in oscillations of the mass and damper which dampens out or reduces the oscillations of the mass. 

Now, practically, based on damping, vibratory systems are categorized into three essential concepts, namely, overdamped, underdamped and critically damped systems. Let’s check examples of each type.

  • Automatic door-closer installed in commercial buildings is an example of overdamped system. One can see that once door opens and released it doesn’t swing about the hinge of door but slowly returns to its closed position. Here, the mechanism attached to door on top side acts as damper.

Figure 1. Overdamped system real life example with corresponding Time-Displacement graph.


  • In park, a child’s swing oscillates back and forth, where amplitude decreases slowly over time. This is example of underdamped system where air resistance and swing joints located at top side acts as damper.  

Figure 2. Underdamped system real life example with corresponding Time-Displacement graph.


  • Everyone has seen shock absorber of a bike. Whenever there is bump or pit, we didn’t experience a jerk nor do we oscillate up and down with the bike seat, instead the bike comes to original position without bouncing. This is because of shock absorber located at back side of bike. This is an example of critically damped system.

Figure 3. Critically damped system real life example with corresponding Time-Displacement graph.


Let’s check the applications of damped free vibration in engineering field.

  • In electronics industry, design of radio circuits is based on damped vibrations as these circuits work at specific frequencies. These are used for tuning circuits and selecting desired station among many signals.
  • It is compulsory to built a earthquake-resistant buildings in earthquake prone areas. This is to prevent collapse of buildings/structures. Damped vibration system plays key role in designing these buildings, as the building itself behaves a damped system, thus resisting/storing and releasing the energies of unexpected shocks.
  • In any automobile, the suspension system is designed as a damped system. It is done in order to provide stability and ride comfort. Here, the system is often critically damped.

There is a parameter called damping ratio which is used to determine how fast the oscillation of vibratory system dampens out. Well, what do you think how this is calculated and how this is related to above-mentioned examples?

Equation of motion (translational motion) for 1 DOF discrete vibrational system –

General form of equation of motion is,

ma + cv + kx = 0

The normalized homogenous second order Ordinary Differential Equation for 1 DOF discrete vibrational system is,

a + 2*zeta*v + omega^2*x = 0

Comparing both the equations we get,

zeta = c/(2m)

This zeta is called the damping ratio.

where, m ­= mass of system, 
c = damping coefficient, 
k = stiffness of system, 
a = acceleration, 
v = velocity, 
x = displacement and 
omega = angular eigenfrequency. 

Now, let’s drag the above examples here for explanation using damping ratio.

  • Automatic door-closing system is an example of overdamped system, i.e., zeta > 1 or c/(2m) > 1 or, c > 2m. This tells us that the damping coefficient is greater than twice the mass. Thus, the door closes slowly without any oscillations with damping coefficient having upper hand.
  • Child’s swing in the park is an example of underdamped system, i.e., zeta < 1 or c/(2m) < 1 or c < 2m. This tells us that the damping coefficient is lesser than twice of mass. Thus, the mass of the system has upper hand and therefore, oscillations are there until the swing stops. 
  • Shock absorber of any automobile is an example of critical damped system, i.e., zeta = 1 or c/(2m) = 1 or c = 2m. Thus, the damping coefficient equals twice of mass. This tells us that the damper has sufficient damping coefficient to dampen out oscillations of mass and thus providing comfort ride.

 

Thanks for staying with me till the end. I hope the practical implications is now clear to you guys.

If you want other topic related to mechanical vibrations or from mechanical domain to be explained please tell me in comment section.

Thank you!!

Monday, 9 October 2023

Two-DOF Damped Vibration System.

Hey everyone, welcome back to my blog. This time I am going to tour you through the two degree of freedom free damped vibration system with python implementation. So, lets deep dive into this article.


So, let me ask you a question,

What is 2-DOF damped vibration system?

Any guesses??? 


Nope?? Then, let's check what could be the answer....


A two-degree-of-freedom (2-DOF) free damped vibration system is formed from two masses with two spring and two dampers connected to it. For formulating equations of motion, it involves both the masses. The general representation of a 2-DOF free damped vibration system is as follows,


Consider,

  • m1 and  m2 are the masses of first and second body (mass) respectively.
  • c1 and c2 are the damping coefficients of the dampers connected to first and second body (mass) respectively.
  • k1 and k2 are the stiffness coefficients of the springs connected to first and second body (mass) respectively.
  • x1(t) and x2(t) are the displacements of first and second body (mass) respectively as a function of time, t. 
  • v1 and v2 are the velocities of first and second body (mass) respectively as a function of time, t.
  • a1 and a2 are the accelerations of first and second body (mass) respectively as a function of time, t. 

Figure 1: Spring-mass-damper system of 2 DOF system.

Differential Equations are very much helpful for modelling complex dynamic systems which are time dependent. So, we are going to use this incredible mathematical concept to model our 2-DOF freedom system as follows,


The equations can be written as system of second-order ordinary differential equations (ODEs).

For the first mass (m1),


For the second mass (m2),



Solving the above equations for given initial conditions, which are, x1(0), x2(0), v1(0), v2(0) and parameters m1, m2, k1, k2, c1 and c2 will give us time dependent displacements x1(t) and x2(t), and velocities v1(t) and v2(t) of both masses.


Now, it’s time for some python stuff, so prepare your fingers to hit some buttons!!


# Importing necessary libraries

import numpy as np

from scipy.integrate import odeint

import matplotlib.pyplot as plt


# Defining the system variables

mass1 = 3.0                # Mass of the first mass (kg)

mass2 = 1.0                # Mass of the second mass (kg)

stiffness1 = 30.0          # Spring constant of the first spring (N/m)

stiffness2 = 10.0          # Spring constant of the second spring (N/m)

dampingCoeff1 = 1.5  # Damping coefficient of the first damper (N*s/m)

dampingCoeff2 = 0.5  # Damping coefficient of the second damper (N*s/m)


# Initial conditions

displacement1_0 = 0.5                  # Initial displacement of mass 1 (m)

displacement 2_0 = 0.2                 # Initial displacement of mass 2 (m)

velo1_0 = 0.0                               # Initial velocity of mass 1 (m/s)

velo2_0 = 0.0                               # Initial velocity of mass 2 (m/s)


# Defining function for Ordinary Differential Equations of the 

# 2-DOF system

def TwoDOFsystem(state, time):

    displacement1, displacement2, velo1, velo2 = state

    dx1dt = velo1

    dx2dt = velo2

    dv1dt = (-(stiffness1 + stiffness2) * displacement1 - 

                 (dampingCoeff1 dampingCoeff2) * velo1 +  

                 stiffness2 * (displacement2 - displacement1) 

                 dampingCoeff2 * (velo2 - velo1)) / mass1

    dv2dt = (stiffness2 * (displacement1 - displacement2) + 

                 dampingCoeff2 * (velo1 - velo2)) / mass2

   

    return [dx1dt, dx2dt, dv1dt, dv2dt]


# Initialising the time and creating time steps for simulation

time = np.linspace(0, 20, 2000)

 

# Initial state vector

initial_state = [displacement1_0, displacement2_0, velo1_0, velo2_0]

 

# Solve the system of ODEs

solution = odeint(TwoDOFsystem, initial_state, time)

 

# Extract the displacements of mass 1 and mass 2

displacement1 = solution[:, 0]

displacement2 = solution[:, 1]

 

# Plot the displacements

plt.figure(figsize=(10, 6))

plt.plot(time, displacement1, label='Mass 1 Displacement')

plt.plot(time, displacement2, label='Mass 2 Displacement')

plt.xlabel('Time (s)')

plt.ylabel('Displacement (m)')

plt.legend()

plt.grid(True)

plt.title('Two-Degree-of-Freedom Damped Vibration System')

plt.show()

So, let's check how the system behaves from the below plot,




As you can see, the vibrations or displacement diminishes with time. This is because of presence of damper in the system, for each mass.

You can change the values and can play with system accordingly.


Thanks for your attention till the end. If you have any doubts or found some mistake please comment out. I will reach to you. 

If you have any topic related to mechanical field, in mind which needs some python touch please tell me, I will blog it in future.


Thank you all. See you in next blog.

Thursday, 5 October 2023

Backyard cultivation of Okra: A health-beneficial vegetable

Hola Amigos!! This time I brought some agriculture related content... 

Everybody reading this article knows about ‘Bhindi’ or in English speaking countries people call it ‘Lady’s Fingers’. But do you know that its actual name is Okra

Yes, it sounds somewhat weird. But it's true as Merlin’s Beard.

Okra is a vegetable that is commonly grown in many parts of the world, particularly in Africa, South Asia and southern United States, but not in Germany. Being cultivated in tropical, subtropical and warm temperature regions, okra is used in the cuisines of many countries. Well, it comes in two colours, green and red. 

With a scientific name, Abelmoschus esculentus, the first use of the word okra appeared in 1679 in the Colony of Virginia. Abelmoschus is Neo-Latin from Arabic, while esculentus is Latin which means being fit for human consumption.


Credits - https://unsplash.com/s/photos/okra

Nutritional and Health Benefits

  • Okra is rich in magnesium, fibre, antioxidants and vitamin C, vitamin K and vitamin A. They support healthy pregnancy, heart health and check blood sugar.
  • They contain antioxidants which reduce risk of serious diseases and prevent inflammation. These antioxidants and vitamin C keeps skin healthy and reduces aging.
  • Okra contains a thick gel-like substance called mucilage. These binds the cholesterol and thus helps to reduce cholesterol levels, reducing risk of heart disease. 
  • Okra is rich in dietary fibre, which can aid in digestion, regulate bowel movements and helps to control appetite and manage weight.  

Refer below for details -  
https://www.healthline.com/nutrition/okra-health-benefits, 
https://www.narayanahealth.org/blog/benefits-of-okra/

Well, coming to day-to-day life, one can grow Okra in their backyard. No, I am not joking.

So, let’s see how is this possible…..

Terrace or backyard gardening is now-a-days very much popular in urban
areas. Generally, steps involved for terrace or backyard gardening are, 

  • Suitable containers – Select large containers with depth of 12-18 inches. Check whether the containers have proper drainage system or not, otherwise plants will get damaged if water got logged in container.
  • Soil - Use a rich in nutrients soil mix, especially coco peat or organic manure for proper growth of plants.
  • Sunlight – These plants need plenty of sunlight so, place them at a location where they will receive at least 5-8 hours of sunlight.

Credits - https://unsplash.com/s/photos/okra

  • Planting seeds – One can plant the seed directly to soil or can purchase germinated seeds or seedlings. For seed planting, one should plant them approx. 1 inch deep from soil surface. But one seed per container should be followed.
  • Watering – Since, these containers dry out sooner than soil bed, so they need frequent watering to keep plants hydrated. It is better to water plants at root side, in order to avoid growth of fungus at foliage and thus will lead to fungal disease.

  • Fertilizing – It is better to use slow-release fertilizer or, a water-soluble fertilizer. If you want you can go organic and can use organic fertilizers like vermicompost. This should be done once plant is grown 5-7 inches and continued through the growing season
  • Harvesting – The okra pods are generally ready to harvest in 3 months, and they ae around 2-4 inches long. Harvesting them frequently will promote more pods to develop and grow.   


Credits - https://unsplash.com/s/photos/okra


Thanks for staying with me till the end. 
Please do like subscribe and share.