Beruflich Dokumente
Kultur Dokumente
Breakdown Torque
Torque
Current
Torque and
Current
TRATED
IRATED
Pull-up Torque
NB NS
Slip Speed
Torque
Voltage
VRATED
Torque and
Voltage
VMIN
DC+
IGBTH1 IGBTH2 IGBTH3
3-PH
Induction
Motor
IGBTL1 IGBTL2 IGBTL3
DC-
DC+
Voltage
DC-
Time
1 Timer1 Interrupt
Timer2 to PR2
2 Match Interrupt
Instantaneous
Voltage
Average Voltage
Output
Voltage
Time
The equation used to calculate the Timer1 reload value The method of accessing and scaling of the PWM duty
is given in Equation 1. In the present application, the cycle is shown in an excerpt from the application code
Timer1 prescaler is 1:8. PR2 is set to generate a in Example 1.
20 kHz PWM frequency with FOSC of 20 MHz.
FOSC
Timer1 Reload Value = FFFFh – 2 x
4
Sine Samples per Cycle x Timer1 Prescaler x Value of AN1
ROTATE_REVERSE
MOVF TEMP_LOC_1,W ;Copy TEMP_LOC_1 and TEMP_LOC values to
MOVWF CCPR1L ;CCPR1L and CCPR2L respectively for
MOVF TEMP_LOC,W ;reverse rotation of motor
MOVWF CCPR2L
BSF STATUS,RP0
MOVF TEMP_LOC_2,W
MOVWF CCPR3L ;Copy TEMP_LOC_2 to CCPR3L
BCF STATUS,RP0
BCF LED_PORT,FWD_REV_LED ;Turn off FWD_REV_LED to indicate
;reverse rotation of motor
RETURN
Single-Phase
AC Input
Rectifier
Voltage Current
Attenuator Comparator
1 2
1
AN2 HOut1 IGBTH1
2
Speed Set AN1 RB4 2
SD HOut2 IGBTH2
PWM1 HIN1 3-Phase
PWM2 HIN2 HOut3 IGBTH3
Fwd/Rev HIN3 Induction
PWM3
LOut1 IGBTL1 Motor
Run/Stop LOut2 IGBTL2
IGBT 3-Phase
PIC16F7X7 Optoisolators Drivers LOut3 IGBTL3 Inverter
Status/Fault Indicators
Main Routine
START
Yes
Has Timer1 Update PWM Duty Cycle
overflowed? by Reading Sine Table
No
Update Sine
Call SET_ADC_GO
Table Offset<1:3>
ADC Routine
SET_ADC_GO
No Is 4 ms Yes
interval over?
No Is Yes
SET_FREQ =
NEW_FREQ?
Return
ISR
No
Yes Is TMR1IF = 1?
Timer1 = X (motor frequency decider)
No
Is ADIF = 1? Is
(motor frequency reading Yes ADC set for reading No
and UV/OV protection) DC bus voltage?
No
Yes Read Potentiometer
No Is TMR2IF = 1? Setting (motor frequency)
(acceleration/deceleration)
Is
Yes DC bus voltage outside No
set limit of UV/OV?
No Is 4 ms
interval over? Yes
Yes
Yes
Change SET_FREQ
by Unit Step
RETFIE
DS00889B-page 16
APPENDIX B:
6.8 µH 1A
10 µH 1A
1000 µF .10V
25 µF 450V
470 µF 450V 0.1 µF 600V
470 µF 450V
VCC
56 pF 500V
0.1 µF
1%
MOTOR CONTROL SCHEMATICS
220 pF
0.1 µF
0.001 µF .100V 1%
VDD
VDA
VCC
0.1 µF
PIC16F7X7-DIP40
VREF
VDD
VDD
VSS
VSS
VCC
PIC16F7X7-DIP28
VDD
VSS
VSS
VCC
VCC
0.1 µF
DS00889B-page 18
INVERTER AND FEEDBACK
See Note
0.1 µF MCP6004-DIP14
C45 0.0033 µF
VCC
+VCCT +VCC2
MCP6004-DIP14
MCP6004-DIP14 0.1 µF
100 pF
+VCCT +VCC2
MCP6004-DIP14
Note: To disable isolation, remove or disconnect all
components within the bounded area.
MCP6004-DIP14 Connect A_SV directly to ISO_CSV and VDC_B
to ISO_VDC.
100 pF
4.7 µF
0.1 µF
See Note
0.1 µF
VCC VCC
VCC
VCC 4.7 µF
INVERTER DRIVERS AND OPTOISOLATORS
0.1 µF
0.1 µF
VCC
VCC
Note: To disable isolation, remove all components within the bounded area.
Connect the PWM inputs to the IN pins of their respective drivers.
Connect the OC input to the SD pin of each driver.
DS00889B-page 19
AN889
AN889
FIGURE B-5: DISPLAY AND COMMUNICATION SECTION
MCLR/VPP
VCC
0.1 µF
VCC
VCC
0.1 µF
0.1 µF
VCC
VCC
0.1 µF
0.1 µF
24LC16
0.1 µF
0.1 µF
VCC
VCC
VCC
MCP6004-DIP14
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
02/17/04