Showing posts with label intelligent. Show all posts
Showing posts with label intelligent. Show all posts

Thursday, 17 March 2011

initiate hardware interrupts in 8085 microprocessor

List the type of signals that have to be applied to initiate hardware interrupts in 8085.

It has three pins for interrupts; NMI, IRQ and FIRQ. A low level on any of these pins will cause an interrupt. The machine state will then be stacked and the routine entered. The appropriate routine address is found in a table of interrupt vectors. Two locations are dedicated to each Interrupt pin, in which are loaded the two bytes of the interrupt routine address.

An order of priority is imposed - the interrupts at the top of the list set the flag bits of the other interrupts to stop them interrupting during the interrupt service routine. The former values of these bits are restored when the flag register is pulled off the stack on return from the interrupt. Further interrupts are then free to occur thereafter.

Thursday, 10 February 2011

Application of Ampere's Law - Magnetic Field of an Infinite Sheet of Current

Magnetic Field of an Infinite Sheet of Current:

We can consider an instance of a current distribution which does not have cylindrical symmetry, but which is susceptible to Ampere's Law for finding the magnitude of the magnetic field. Consider a sheet of current which is infinitesimally thin but infinitely long and wide. The sheet has a linear current density (i.e. current per unit length).

An infinite sheet of current with current per unit length. We wish to find the magnetic field direction and magnitude at point P a distance h away from the sheet.


Consider a set of wires laid in place of the current sheet. Each wire carries current out of the page. The magnetic field due to wires which are equidistant from the point directly underneath point P can only be in the horizontal direction.

We can replace the sheet with an infinite set of wires arranged so that each wire carries current consistent with an overall current per unit length of as in the case of the current sheet. We see in figure that wires which are equidistant from the line from the set of wires to point P have magnetic fields whose vertical components cancel and whose horizontal components add. Hence, the net magnetic field is in the horizontal direction. This field is uniform since the distribution of wires is infinite, i.e. any position for point P can be considered as the "middle" of an infinitely long current sheet. Note also that the magnetic field direction for the infinite sheet is independent of the distance of P from the sheet and that the same arguments for extending consideration of a finite set of wires to an infinite current sheet state that the magnetic field direction on the other side of the sheet has the field pointing in the opposite direction.