Download 3-phase BLDC Motor Control with Sensorless Back
Transcript
PC Master Software 7.3.9.2 ADC Low Limit Interrupt Subroutine This subroutine is called when at least one ADC low limit is detected. In this interrupt subroutine, the following low limit exceeds are processed: • The undervoltage of the DC-Bus voltage — DriveFaultStatus |= UNDERVOLTAGE_ADC_DCB, • The over temperature (detected here because of the sensor reverse temperature characteristic) — DriveFaultStatus |= OVERHEATING. 7.3.9.3 ADC High Limit Interrupt Subroutine This subroutine is called when at least one ADC high limit is exceeded. In this interrupt subroutine, the following high limit exceeds are processed: • The overvoltage of the DC-Bus voltage — DriveFaultStatus |= OVERVOLTAGE_ADC_DCB • The overcurrent of the DC-Bus current input — DriveFaultStatus |= OVERCURRENT_ADC_DCB 8. PC Master Software PC master software was designed to provide the debugging, diagnostic and demonstration tool for development of algorithms and applications. It consists of components running on a PC and, partially, running on the target development board. The PC master software application is part of the Embedded SDK and may be selectively installed during SDK installation. The baud rate of the SCI communication is 9600Bd. It is set automatically by the PC master software driver. To enable the PC master software operation on the target board application, the following lines must be added to the appconfig.h file: #define SCI_DRIVER #define INCLUDE_PCMASTER Refer to Section 7. PC master software automatically includes the SCI driver and installs all necessary services. The detailed PC master software description is provided by the PC Master User Manual. 3-Phase BLDC Motor Control with Sensorless Back-EMF, ADC, Zero Crossing, Rev. 3 50 Freescale Semiconductor Preliminary