PIC16C782-E/P Microchip Technology, PIC16C782-E/P Datasheet - Page 114

IC PIC MCU FLASH 8BIT 2K 20DIP

PIC16C782-E/P

Manufacturer Part Number
PIC16C782-E/P
Description
IC PIC MCU FLASH 8BIT 2K 20DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C782-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x8b; D/A 1x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-DIP (0.300", 7.62mm)
For Use With
DVA16XP202 - ADAPTER DEVICE PIC16C781/782DM163012 - BOARD DEMO PICDEM FOR 16C781/782AC164028 - MODULE SKT PROMATEII 20SOIC/DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
PIC16C781/782
FIGURE 13-6:
13.3.3
In Figure 13-7, the PSMC acts as a speed control for a
brushless DC motor. The direction of the current in the
motor winding is set by feedback from a Hall effect
position sensor on the motor. The sensor switches the
phase in the motor in response to the rotation of the
rotor so that the magnetic field rotates just ahead of the
rotor, pulling it in the desired direction. The speed at
which the rotor spins is a function of the mechanical
load on the rotor and the current in the field winding.
Speed control is accomplished by monitoring the speed
via the Hall effect sensor and regulating the current in
the winding appropriately. The winding current is regu-
lated by the PSMC to be proportional to the value sup-
plied by the DAC module. The feedback loop is closed
by software making periodic measurement of the rotor
speed using the Hall Effect sensor/Timer1 and adjust-
ing the output value of the DAC appropriately.
DS41171A-page 112
V
REF
EXAMPLE MOTOR SPEED
CONTROL
PIC16C781/782
PSMC
DAC
C1
OPA
EXAMPLE BUCK CONFIGURATION LC POWER SUPPLY
B
A
+
-
+
-
RB6/C1/PSMC1A
RB7/C2/PSMC1B/T1G
RA3/AN3/V
RB2/AN6
RB3/AN7/OPA
RA1/AN1/OPA-
RA0/AN0/OPA+
RB1/AN5/V
REF
DAC
1
Preliminary
MOSFET
DRIVER
MOSFET
DRIVER
The algorithm (used to determine the values output by
the DAC module) depends on:
• mechanical system connected to the motor
• motor characteristics
• characteristics of the high current drive
An analysis of the mechanics of the system and the
design of an appropriate control algorithm is beyond
the scope of this Data Sheet. Therefore, the designer
should consult a text dealing with the design of motor
speed controls and feedback control system, in
general, for the necessary design guidance.
Q2
Q1
+V
IN
CURRENT TRANSFORMER
2001 Microchip Technology Inc.
D1
L1
L2
D2
C
MAIN
D3
D4
R2
R1
LOAD

Related parts for PIC16C782-E/P