Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract
Block Diagram
Transmission Module:
Input
Microcontroll
Keypad er
DC/AC
Power Line Modulation
Converter
Receiver Section
Power Line
Demodulation
AC/DC
Controller Section
Converter
Advantages: -
The Block diagram of Motor speed control through power line consists of
PIC Micro Controller, Optocoupler and MOSFET Circuit. Here the PIC board
requires 5V DC supply. For that we have used one AC to
DC converter, which is supplying 5V, 12V DC to the PIC board and 12V DC
motor. Then the Speed of the DC motor is controlled through Optocoupler and
MOSFET circuit by using different duty cycle PWM pulse generated by PIC
microcontroller.
System requirement Specification: -
Hardware requirements: -
• Micro soft XP
• mplab
Circuit Diagram
Features of Opto coupler: -
• Interfaces with Common Logic Families
• Input-output Coupling Capacitance < 0.5 pF
• Industry Standard Dual-in-line 6-pin Package
• Field Effect Stable by TRIOS
• 5300 VRMS Isolation Test Voltage
• Underwriters Laboratory File #E52744
• VDE #0884 Approval Available with Option 1
Description: -
Each optocoupler consists of Gallium Arsenide infrared LED and a silicon
NPN phototransistor. This isolation performance is accomplished through Infineon
double molding isolation manufacturing process. Compliance to VDE 0884 partial
discharge isolation specification is available for these families by ordering option
1. Phototransistor gain stability, in the presence of high isolation voltages, is
insured by incorporating a Transparent on Shield (TRIOS) on the phototransistor
substrate. These isolation processes and the Infineon IS09001 Quality program
results in the highest isolation performance available for a commercial plastic
phototransistor optocoupler. The devices are available in lead formed
configuration suitable for surface mounting and are available either on tape and
reel, or in standard tube shipping containers.
Schematic diagram of Optocoupler: -
DC Motor: -
Let's start by looking at a simple 2-pole DC electric motor (here red represents a
magnet or winding with a "North" polarization, while green represents a magnet or
winding with a "South" polarization).
Every DC motor has six basic parts -- axle, rotor (a.k.a., armature), stator,
commutator, field magnet(s), and brushes. In most common DC motors (and all
that BEAMers will see), the external magnetic field is produced by high-strength
permanent magnets1. The stator is the stationary part of the motor -- this includes
the motor casing, as well as two or more permanent magnet pole pieces. The rotor
(together with the axle and attached commutator) rotate with respect to the stator.
The rotor consists of windings (generally on a core), the windings being
electrically connected to the commutator. The above diagram shows a common
motor layout -- with the rotor inside the stator (field) magnets.
The geometry of the brushes, commutator contacts, and rotor windings are
such that when power is applied, the polarities of the energized winding and the
stator magnet(s) are misaligned, and the rotor will rotate until it is almost aligned
with the stator's field magnets. As the rotor reaches alignment, the brushes move
to the next commutator contacts, and energize the next winding. Given our
example two-pole motor, the rotation reverses the direction of current through the
rotor winding, leading to a "flip" of the rotor's magnetic field, driving it to
continue rotating.
In real life, though, DC motors will always have more than two poles (three is a
very common number). In particular, this avoids "dead spots" in the commutator.
You can imagine how with our example two-pole motor, if the rotor is exactly at
the middle of its rotation (perfectly aligned with the field magnets), it will get
"stuck" there. Meanwhile, with a two-pole motor, there is a moment where the
commutator shorts out the power supply (i.e., both brushes touch both commutator
contacts simultaneously). This would be bad for the power supply, waste energy,
and damage motor components as well. Yet another disadvantage of such a simple
motor is that it would exhibit a high amount of torque "ripple" (the amount of
torque it could produce is cyclic with the position of the rotor).
So since most small DC motors are of a three-pole design, let's tinker with
the workings of one via an interactive animation (JavaScript required):
You'll notice a few things from this -- namely, one pole is fully energized at
a time (but two others are "partially" energized). As each brush transitions from
one commutator contact to the next, one coil's field will rapidly collapse, as the
next coil's field will rapidly charge up (this occurs within a few microsecond).
We'll see more about the effects of this later, but in the meantime you can see that
this is a direct result of the coil windings' series wiring:
Luckily for you, I've gone ahead and done this in your stead. The guts of a
disassembled Mabuchi FF-030-PN motor (the same model that Solarbotics sells)
are available for you to see here (on 10 lines / cm graph paper). This is a basic 3-
pole DC motor, with 2 brushes and three commutator contacts.
The use of an iron core armature (as in the Mabuchi, above) is quite common, and
has a number of advantages2. First off, the iron core provides a strong, rigid
support for the windings -- a particularly important consideration for high-torque
motors. The core also conducts heat away from the rotor windings, allowing the
motor to be driven harder than might otherwise be the case. Iron core construction
is also relatively inexpensive compared with other construction types.
But iron core construction also has several disadvantages. The iron armature has a
relatively high inertia which limits motor acceleration. This construction also
results in high winding inductances which limit brush and commutator life.
PERIPHERALS
Embedded Systems talk with the outside world via peripherals, such as:
• Serial Communication Interfaces (SCI): RS-232, RS-422, RS-485 etc
• Synchronous Serial Communication Interface: I2C, SPI, SSC and ESSI
(Enhanced Synchronous Serial Interface)
• Universal Serial Bus (USB)
• Multi Media Cards (SD Cards, Compact Flash etc)
• Networks: Ethernet, Controller Area Network, LonWorks, etc
• Timers: PLL(s), Capture/Compare and Time Processing Units
• Discrete IO: aka General Purpose Input/Output (GPIO)
• Analog to Digital/Digital to Analog (ADC/DAC)
• Debugging: JTAG, ISP, ICSP, BDM Port, BITP DP9 port ...
In this design, the software simply has a loop. The loop calls subroutines,
each of which manages a part of the hardware or software.
These kinds of systems are used if event handlers need low latency and the
event handlers are short and simple.
Usually these kinds of systems run a simple task in a main loop also, but
this task is not very sensitive to unexpected delays.
Sometimes the interrupt handler will add longer tasks to a queue structure.
Later, after the interrupt handler has finished, these tasks are executed by the main
loop. This method brings the system close to a multitasking kernel with discrete
processes.
Cooperative multitasking
The advantages and disadvantages are very similar to the control loop,
except that adding new software is easier, by simply writing a new task, or adding
to the queue-interpreter.
As any code can potentially damage the data of another task (except in
larger systems using an MMU) programs must be carefully designed and tested,
and access to shared data must be controlled by some synchronization strategy,
such as message queues, semaphores or a non-blocking synchronization scheme.
FEATURES:
Peripheral Features:
Analog Features:
PIN DIAGRAM:
Features of PIC Series
Status Register
MEMORY ORGANIZATION
There are three memory blocks in each of the PIC16F87XA devices. The
program memory and data memory have separate buses so that concurrent access
can occur and is detailed in this section
Some pins for these I/O ports are multiplexed with an alternate function for
the peripheral features on the device. In general, when a peripheral is enabled, that
pin may not be used as a general purpose I/O pin.
a) Any read or write of PORTB. This will end the mismatch condition.
b) Clear flag bit RBIF. A mismatch condition will continue to set flag bit
RBIF.Reading PORTB will end the mismatch condition and allow flag bit RBIF
to be cleared. The interrupt-on-change feature is recommended for wake-up on
key depression operation and operations where PORTB is only used for the
interrupt-on-change feature. Polling of PORTB is not recommended while using
the interrupt-on-change feature.
PORTD is an 8-bit port with Schmitt Trigger input buffers. Each pin is
individually configurable as an input or output. PORTD can be configured as an 8-
bit wide microprocessor port (Parallel Slave Port) by setting control bit,
PSPMODE (TRISE<4>). In this mode, the input buffers are TTL.
PORTD BLOCK DIAGRAM
(IN I/O PORT MODE)
PORTD FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD