Bürstenloses 7-Click-Board
Bürstenloses 7-Click-Board
Overview
Das Brushless 7 Click Board™ ist, wie der Name schon sagt, eine auf Motortreibern basierende Erweiterungskarte zur Steuerung von BLDC-Motoren mit jedem Mikrocontroller. Die Karte basiert auf dem IC TC78B009FTG von Toshiba, einem dreiphasigen BLDC-Motorcontroller, der keine Hallsensoren benötigt.
Zu den Hauptfunktionen gehört eine integrierte Drehzahlregelungsfunktion, die die Motordrehzahl bei dynamischen Leistungsschwankungen und Lastschwankungen regelt und aufrechterhält. Durch die präzise Einstellung eines Drehzahlprofils durch den integrierten nichtflüchtigen Speicher (NVM) wird keine externe MCU für die Drehzahlregelung benötigt. Dies macht es zur perfekten Lösung für Anwendungen wie Hochgeschwindigkeitslüfter, die in Servern, Gebläsen, kabellosen Staubsaugern und Roboterstaubsaugern verwendet werden.
How Does The Brushless 7 Click Board™ Work?
The Brushless 7 Click Board™ is the motor control expansion board based on TC78B009FTG IC which is a three phase PWM chopper driver for sensorless brushless motors and its capable for driving Delta or Wye configured motors. For controlling the motor speed, you can select between couple of interfaces such as PWM duty cycle, I2C or analogue voltage.
One of the biggest advantages of this board is capability to independently monitor and control the motor without an external microcontroller. For doing that the TC78B009FTG features implemented Non-volatile memory (NVM) which serves for storing parameters/modes which will be accessed by the driver and used for control. Operating modes:
- Standby mode – Which can be controlled (ON/OFF setting) by the SBY pin on the mikroBUS, together with register settings
- Brake mode – Period as well as external FET state settings of Brake sequence are set by the register in NVM. Or with the SW1 (BRAKE) switch on the Click board
- Idle mode – Is controlled with the speed commands settings and Error mode
- Error mode - When the abnormality state is detected, the IC enters to the error mode. With visual indication on ALERT LED as well as on INT pin (optional).
The Brushless 7 Click Board™ also features two SSM6K513NU N-Chanel FETs from Toshiba for each of three phases. Using this FET capable of handling 15A allows low power dissipation when driving 5A BLDC before hitting output current limit threshold. Output current limit function is used to restrain the current flowing to the motor. Motor current is detected by external shunt resistor and the detected voltage is inputted to RSA pin. Minimum and maximum input voltage range must be in range of 11V up to 27V and maximum motor current should not exceed 5A.
For interfacing to the Brushless 7 Click Board™ you can use I2C interface for various settings over which you can use for setting NVM memory and control the driver, or SPD input pin for controlling the motor speed based on PWM duty cycle or analogue output from the MCU (for this MCU need DAC on the SPD pin of the mikroBUS). The motor's output current can be monitored on the analog output (CMO pin) on mikroBUS™, by amplifying the RSB pin voltage detected by the external shunt resistor and converting it to a DC level with peak hold circuit.
In order to provide additional settings beside interface control for this board, we have used four switches for mode, control and I2C address selection (BRAKE, SEL, ID1 and ID2). This board also has visual indicators for rotation speed (FG LED) and abnormality (ALERT LED) detection monitoring. These indicator statuses can be also visible on INT pin by moving INT SEL jumper to preferred output selection.
SPECIFICATIONS
Type | Brushless |
Applications | Servers, Blowers, Fans, Cordless vacuum cleaners, Pumps and many more |
On-board modules | TC78B009FTG,EL IC from Toshiba is a three-phase BLDC motor controller |
Key Features | Sensorless PWM drive, Capable to drive Delta or Wye configured motors, Motor speed control by analog voltage, PWM duty cycle, or I2C |
Interface | GPIO,I2C,PWM |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout on the Brushless 7 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Current Monitor Output | CMO | 1 | AN | PWM | 16 | SPD | Speed Control |
Rotation Direction | DIR | 2 | RST | INT | 15 | INT | Interrupt |
Standby | SBY | 3 | CS | RX | 14 | NC | |
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
PWR | LD1 | - | Power LED indicator |
ALR | LD2 | - | Alert LED indicator |
FG | LD3 | - | Rotation speed indicator |
VCC SEL | JP1 | Left | Logic level voltage selection: left position 3V3, right position 5V |
INT SEL | JP2 | Right | Interrupt selection: left position alert, right position |
SW1 | BRAKE | UP | Brake input switch: up - VREG, down - GND |
SW2 | SEL | UP | Selecting speed control switch up - VREG, down - GND |
SW3 | ID1 | UP | Slave address selection switch up - VREG, down - GND |
SW4 | ID2 | UP | Slave address selection switch up - VREG, down - GND |
BRUSHLESS 7 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 11 | - | 27 | V |
Output Current | 0 | - | 5 | A |
VREG | 4.75 | 5 | 5.35 | V |
Software Support
We provide a library for the Brushless 7 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides functions for controlling brushless motor. It has functions for communicating with device with I2C module, and controlling pins. There are function for controlling device over couple of modes.
Key Functions
void brushless7_generic_write ( uint8_t reg_adr, uint8_t tx_data )
- Function for writing one byte of data to deviceuint8_t brushless7_generic_read ( uint8_t reg_adr )
- Function for reading one byte of data from devicevoid brushless7_default_config ( void )
- Function for setting default configuration of device
Example Description
The application is composed of three sections :
- System Initialization - Initialization of communication module
- Application Initialization - Setts default configuration and sets parameters for selected mode
- Application Task - Setts 3 different speed of motor in span of 20 seconds
void application_task ( ) { if ( BRUSHLESS7_CTRL_TYPE_DUTY == demo_type_data ) { mikrobus_logWrite( " ----- 20 ----- ", _LOG_LINE ); stop_start(); brushless7_change_duty( 20 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 40 ----- ", _LOG_LINE ); stop_start(); brushless7_change_duty( 40 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 8 ----- ", _LOG_LINE ); stop_start(); brushless7_change_duty( 8 ); Delay_ms( 20000 ); } else if ( BRUSHLESS7_CTRL_TYPE_RPM == demo_type_data ) { mikrobus_logWrite( " ----- 400 ----- ", _LOG_LINE ); stop_start(); brushless7_start_rpm( 400 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 1000 ----- ", _LOG_LINE ); stop_start(); brushless7_start_rpm( 1000 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 100 ----- ", _LOG_LINE ); stop_start(); brushless7_start_rpm( 100 ); Delay_ms( 20000 ); } }
Additional Functions :
- void stop_start ( ) - Funcnction stops motor and then restores previous mode of working
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- I2C
- UART
Additional notes and informations
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Brushless 7 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the Brushless 7 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides functions for controlling brushless motor. It has functions for communicating with device with I2C module, and controlling pins. There are function for controlling device over couple of modes.
Key Functions
void brushless7_generic_write ( uint8_t reg_adr, uint8_t tx_data )
- Function for writing one byte of data to deviceuint8_t brushless7_generic_read ( uint8_t reg_adr )
- Function for reading one byte of data from devicevoid brushless7_default_config ( void )
- Function for setting default configuration of device
Example Description
The application is composed of three sections :
- System Initialization - Initialization of communication module
- Application Initialization - Setts default configuration and sets parameters for selected mode
- Application Task - Setts 3 different speed of motor in span of 20 seconds
void application_task ( ) { if ( BRUSHLESS7_CTRL_TYPE_DUTY == demo_type_data ) { mikrobus_logWrite( " ----- 20 ----- ", _LOG_LINE ); stop_start(); brushless7_change_duty( 20 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 40 ----- ", _LOG_LINE ); stop_start(); brushless7_change_duty( 40 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 8 ----- ", _LOG_LINE ); stop_start(); brushless7_change_duty( 8 ); Delay_ms( 20000 ); } else if ( BRUSHLESS7_CTRL_TYPE_RPM == demo_type_data ) { mikrobus_logWrite( " ----- 400 ----- ", _LOG_LINE ); stop_start(); brushless7_start_rpm( 400 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 1000 ----- ", _LOG_LINE ); stop_start(); brushless7_start_rpm( 1000 ); Delay_ms( 20000 ); mikrobus_logWrite( " ----- 100 ----- ", _LOG_LINE ); stop_start(); brushless7_start_rpm( 100 ); Delay_ms( 20000 ); } }
Additional Functions :
- void stop_start ( ) - Funcnction stops motor and then restores previous mode of working
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- I2C
- UART
Additional notes and informations
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Brushless 7 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.