DC Circuit Analysis of a Capacitor

DC Circuit Analysis with a Capacitor :

In a DC circuit, if we open up a Capacitor, there will be no change in the circuit. We can analyse the circuit by this way.

If for example 9v passes through the Capacitor from a node, the exact 9v will cross the capacitor without any loss.

dc

An ideal capacitor is wholly characterized by a constant capacitance C, defined as the ratio of charge ±Q on each conductor to the voltage V between them.

                                                                               Q=CV

Because the conductors (or plates) are close together, the opposite charges on the conductors attract one another due to their electric fields, allowing the capacitor to store more charge for a given voltage than if the conductors were separated, giving the capacitor a large capacitance.

Sometimes charge build-up affects the capacitor mechanically, causing its capacitance to vary. In this case, capacitance is defined in terms of incremental changes.

DC Condition :

In a network containing one or more capacitors, in a DC state it means that there are NO CURRENTS flowing through any branches in which a charged capacitor is located. Charged capacitors have voltage but not resistance: V= IR is not applicable since no currents flow THROUGH a capacitor. Voltages also correspond to zero.

                                                                              dv/dt =0

SpeeDe V-01

Abstract
In common everyperson able to measure the speed of a vehicle using a speedometer. But it is simply a question mark when we are trying to find out the speed of an action which end up within micro second. For this scenario we introduced an instrument named SpeeDe which can measure the speed for our intended actions.                                                                                               
Introduction
This paper is dealing with SpeeDe an instrument that can measure the speed of any object that passes through the instrument (provided it crosses the two lasers).                                  Tools Required
Arduino Board & Wooden board
Software Required
Arduino 1.0.6
Components Required
Laser – 2, LDR ( Light Detecting Resister) – 2, Resisters (1kΩ) – 2,Liquid Crystal Display (JHD162A), Printed Circuit Board (PCB) & Potentiometer ( 1kΩ)
Arduino Board
The Arduino Uno is a micro controller board based on the ATmega328. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter.

Arduino1Microcontroller
Arduino is a microcontroller on a circuit board which makes it easy to receive inputs and drive outputs. A microcontroller is a integrated computer on a chip.                                 Inputs: Some exaples of inputs would be a temperature sensor, a motion sensor, a distance sensor, a switch and so fort. In this project we make use of 10 pins of Arduino as described follows,

 aaa

Outputs: Some examples of outputs would be a light, a screen, a motor and so forth.          TL;DR: Arduino is a small computer that you can program to read and control electrical components connected to it.                                                                                                    Arduino do not Read the resistance value. So here we used voltage divider as the part of the connection.                                                                                                                             Wooden Board                                                                                                                             The purpose of the wooden board is to hold the circuits and laser pointers.                             Arduino1.0.6                                                                                                                                                You’ll need to download the Arduino Software package for your operating system.When you’ve downloaded and opened the application you should see something like this:

Ardui2
This is where you type the code you want to compile and send to the Arduino board.

arduino3

The Initial Setup:                                                                                                                             We need to setup the environment to Tools menu and select Board.Then select the type of Arduino you want to program, in our case it’s the Arduino Uno.

Ar4

The Code:                                                                                                                                     The code you write for your Arduino are known as sketches. They are written in C++.            Every sketch needs two void type functions, setup() and loop(). A void type function doesn’t return any value.The setup() method is ran once at the just after the Arduino is powered up and the loop() method is ran continuously afterwards. The setup() is where you want to do any initialisation steps, and in loop() you want to run the code you want to run over and over again.                                 So, your basic sketch or program should look like this:

aaa

In our code above the setup() method let’s introduce somth. In C++ we need to state why type our variable is before hand, in this case it’s an integer, so it’s of type int. Here is the program which dumped in the Arduino board.

SpeeDe Program

If encounter with the error “ serial port ‘/dev/ttyaCM0’ not found” just execute sudo chmod a+rw /dev/ttyACM0” command in the terminal. Each line is ended with a semicolon (;).                    Light Dependent Resister                                                                                                                 A photo resistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The resistance of a photo resistor decreases with increasing incident light intensity in other words, it exhibits photo conductivity.

ldrSet up & Working                                               Two Light Dependent Resisters (LDR) were positioned just opposite to two Laser pointers in a printed circuit board in order to vary the resistivity of the LDRs accordance with the lasers get ON and OFF.                                                                     Here the purpose of putting two photo resisters is to detect the time interval of the obstacle which prevent the laser to hit the LDR. As mentioned above when the laser hit the resister its resistivity goes down upto some point & returns back to the original value when the light source gets switched off. By measuring the time interval between the 1st LDR that changed its resistivity and the 2nd LDR that returned back to its original resistivity, one can determine the time interval taken by the obstacle at that instant.                                                                                                                                               Liquid Crystal Display                                                                                                                    
 la

disp2Liquid Crystal Display JHD162A used to display the output of SpeeDe. That is, this set up helps to show the time period of the action and speed in m/s & km/h.

disp1

LCD Set up:                                                                                                                                  The first thing is to do is what figure out the LCD pins to be connected with the Arduino board to write the output in the LCD as shown in figure below.

  • VSS & VCC are connected to arduino board’s ground & 5v supply pins.

  • RS, E, DB4, DB5, DB6, DB7 are connected to 1,2,3,4,5,6 ( digital pins of arduino).

  • VEE connected to the potentiometer.

  • Output pins are connected to 12 & 13 ( digital pins of arduino).

Speede:                                                                                                                                               After integrating all the components in their position as per the design, Speede is ready. This gives the time period of an action, speed in m/s & km/h.

REFERENCE                                                                                                            https://www.google.co.in                                                                        http://www.circuitstoday.com/interfacing-lcd-to-arduino                                     http://www.technologystudent.com/elec1/ldr1.htm                                                                         http://arduino.cc/en/Reference/attachInterrupt

The way we installed Ubuntu

Installing Ubuntu pdf

This is how we installed Ubuntu 14.04.1 LTS
image-installdesktoplongtermsupport-1

1. Using a USB drive Most newer computers can boot from USB. You should see a welcome screen prompting you to choose your language and giving you the option to install Ubuntu or try it from the CD. If your computer doesn’t automatically do so, you might need to press the F12 key ( Dell laptops) to bring up the boot menu, but be careful not to hold it down – that can cause an error message.
image-installdesktoplongtermsupport-2

2. Prepare to install Ubuntu

We recommend you plug your computer into a power source

You should also make sure you have enough space on your computer to install Ubuntu

We advise you to select Download updates while installing and Install this third-party software now

You should also stay connected to the internet so you can get the latest updates while you install Ubuntu

If you’re not connected to the internet, we’ll help you set up wireless at the next step.

3. Setting up updates

we used the APTonCD and Synaptic Package Manager application to install all the updates from another system, which helped us minimize downloading time for updates. Hence we installed Ubuntu by un ticking the box marked “Download updates while installing.”

4. Allocate drive space

 

4Use the check boxes to choose whether you’d like to Install Ubuntu alongside another operating system, delete your existing operating system and replace it with Ubuntu, or — if you’re an advanced user — choose the ’Something else’ option

 

 5.Begin the installation

5

Depending on your previous selections, you can now verify that you have chosen the way in which you would like to install Ubuntu. The installation process will begin when you click the Install Now button. Ubuntu needs about 4.5 GB to install, so add a few extra GB to allow for your files.

 

6. Select your location
6If you are connected to the internet, this should be done automatically. Check your location is correct and click ’Forward’ to proceed. If you’re unsure of your time zone, type the name of the town you’re in or click on the map and we’ll help you find it.

TIP: If you’re having problems connecting to the Internet, use the menu in the top-right-hand corner to select a network.

7. Select your preferred keyboard layout

 

7Click on the language option you need. If you’re not sure, click the ’Detect Keyboard Layout’ button for help.

 

 

 

8. Enter your login and password details, and wait for installation

8image-installdesktoplongtermsupport-9

9. That’s it

10All that’s left is to restart your computer and start Ubuntuing.

Comparison between Frequecy, Wavelength & Time period

FREQUENCY, WAVELENGTH & TIME PERIOD

In general, frequency, wavelength & time period are quite confusing parameters. Indeed, these three are entirely different in nature.

FREQUENCY

Frequency is the number of occurrences of a repeating event per unit time. Unit of frequency is hertz(hz).

WAVELENGTH

Wavelength is the distance between identical points in the adjacent cycles of a waveform signal propagated in space or along a wire. Unit of wavelength is meter(m).

TIME PERIOD

The time taken to complete one full cycle is said to be time period. Unit of time period is meter/second (ms).

EXAMPLE

Lets take a signal at 2 kHz. Then the period is 0.5 ms. To plot this as a function of time.If a sound wave is travelling in space with a speed of 340 m/s then the wavelength is the distance the sound will travel in a period 340 * 0.5m = 17 cm. (i.e) 0.17m

PYTHON CODE

import numpy as n

import matplotlib.pyplot as p

f = 2

y = .17

d =n.arange(0,1,0.01)

t=n.arange(0,1,0.01)

wavelength =n.sin(2*n.pi/y*d)

frequency =n.sin(2*n.pi*f*t)

p.subplot(211)

p.plot(t, wavelength,’r–‘)

p.xlabel(‘Distance (m)’)

p.ylabel(‘Amplitute (V)’)

p.title(‘Wavelength curve’, fontsize=18)

p.subplot(212)

p.plot(d,frequency,’b–‘)

p.xlabel(‘Time (ms)’)

p.ylabel(‘Amplitute (V)’)

p.title(‘Frequency curve’, fontsize=18)

p.show(block=False)

WAVEFORM

figure_1

Cartesian Coordinate System

Scratch cartesian circle_s pdf

To draw a circle using Cartesian coordinate system

1.

ccs

2.

 

pythagoreantheorem

A Cartesian coordinate system is a coordinate system that specifies each point uniquely in a plane by a pair of numerical coordinates. Considering two points x and y on the x-axis and y-axis which meet at (x,y), this produces a right angle triangle with base of length x and height y. Here we could implement Pythagorean theorem which states ; The sum of the areas of the two squares on the legs (a and b) equals the area of the square on the hypotenuse (c). now applying to the above fig we get.

x,ywhere ‘r’ denotes the radius of the circle, which can be drawn by keeping either x or y a constant and varying the others value.

To run the script ;                                                                         Script ;

scScreenshotofcode

  • the step are defined to 40.
  • setting radius of the circle to r
  • defining x position to 0
  • defining y position to -r ( i.e.. To start the circle from the point (0,-r))
  • determines the centre of x and y.Pen down starts to draw
  • the first loop repeats for the number of steps i.e..40
  • y value is changed with respect to delta of y .
  • x is set to the modified equation of circle i.e.. x= √(r*r) – (y*y)
  • this draws only a semi circle starting from the point (0,-r) to the point (0,r)
  • hence we require a second loop to draw the other half of the semi circle.
  • the second loop repeats for the number of steps ie.40
  • y value is changed with respect to delta of – y.
  • y is set to the modified equation of circle i.e.. x= – √ (r*r) – (y*y)
  • this draws only a semi circle starting from the point (0,r) to the point (0,-r)
  • hence the other half of the semi circle is dawn.

Now this whole script is user defined to perform 3 concentric circles around each points (0,0) and (100,50)

The Drawn Circles;

 screenshotoutput

reference : http://en.wikipedia.org – image 2