AN07-00180-3E
4.5
Handling controls of the BLDC motor
You were able to rotate the BLDC motor by using the microcontroller macro. Then, try to control the
rotation speed, brake, and rotation direction now.
In the sample program, the controls are handled in the infinite loop inside the main function shown in
The rotation speed is determined according to the temperature sensor or input from programmed variables,
and the brake is applied whether SW3 is pressed. The direction of motor rotation is determined according
to the position of SW5. “ Figure 4-14 Motor controls flowchart ” illustrates how the controls are handled.
Start
Infinite loop
false
Use of the temperature sensor
true
Speed calculation with the temperature sensor
false
Press of SW3
true
Brake applied
false
SW set to the right
true
Right rotation
Speed calculation with the programmed variables
Brake released
Left rotation
Figure 4-14 Motor controls flowchart
- 78 -
相关PDF资料
CANADAPT28 KIT ADAPTER CANDEMOBOARD 28PLCC
CAT24AA01WI-GT3 IC EEPROM SERIAL 1KB I2C 8SOIC
CAT24AA02WI-G IC EEPROM SERIAL 2KB I2C 8SOIC
CAT24C01ZI-G IC EEPROM SERIAL 1KB I2C 8MSOP
CAT24C03WI-G IC EEPROM SERIAL 2KB I2C 8SOIC
CAT24C04ZI-G IC EEPROM SERIAL 4KB I2C 8MSOP
CAT24C05YI-G IC EEPROM SERIAL 4KB I2C 8TSSOP
CAT24C08TDI-GT3 8KB I2C SER EEPROM TSOT 23
相关代理商/技术参数
CAN1671-15S 制造商:Techspray 功能描述:TECHSPRAY DUSTER 15 OZ FILL
CAN1747-10S 制造商:Techspray 功能描述:
CAN-24 制造商:Mencom 功能描述:
CAN4311111002451K 制造商:Yageo Corporation 功能描述:ANTENNA BLUETOOTH 2.45GHZ 制造商:Yageo / Phycomp 功能描述:ANTENNA, BLUETOOTH, 2.45GHZ
CAN4311111002701K 制造商:Yageo Corporation 功能描述:
CAN4311112001881K 制造商:Yageo Corporation 功能描述:
CAN4311113011582K 制造商:Yageo Corporation 功能描述:6230 Multilayer Ceramic Chip Antenna 制造商:Yageo Corporation 功能描述:6320 Multilayer Ceramic Chip Antenna
CAN4311115002451K 制造商:Yageo Corporation 功能描述: