Carte Brushless 23 Click
Carte Brushless 23 Click
Key Features
- Variateur PWM sans capteur, capable de piloter des moteurs configurés en Delta ou en Wye, faible consommation d'énergie, contrôle de vitesse en boucle fermée intégré avec courbe de vitesse réglable, contrôle de la vitesse du moteur par tension analogique, cycle de service PWM ou I2C, circuits de détection d'erreur intégrés, et plus encore
- Basé sur le TC78B011FTG - pré-pilote PWM à onde sinusoïdale triphasée pour moteurs sans balais sans capteur de Toshiba Semiconductor
- s Peut être utilisé pour les ventilateurs, souffleurs et pompes de serveur à grande vitesse
- mikroBUS : interfaces I2C, PWM, analogiques et GPIO
La carte Click Board™ Brushless 23 est une carte complémentaire compacte adaptée au contrôle des moteurs BLDC avec n'importe quel microcontrôleur. Cette carte est équipée du TC78B011FTG, un pré-pilote PWM à onde sinusoïdale triphasée réalisé avec six MOSFET externes pour piloter les moteurs sans balais sans capteur de Toshiba Semiconductor. Parmi ses principales caractéristiques figurent une fonction de contrôle de vitesse en boucle fermée intégrée avec mémoire interne non volatile (NVM) pour le réglage du profil de vitesse et la possibilité de définir d'autres fonctionnalités telles que la sélection du sens de rotation, le freinage, le mode veille et autres. Elle dispose également d'une large plage de tension de fonctionnement de 11 V à 27 V avec une capacité de courant de sortie de 5 A et plusieurs circuits de détection d'erreur intégrés. Cette carte Click™ offre une efficacité opérationnelle optimale dans des applications telles que les ventilateurs de serveur à grande vitesse, les souffleurs et les pompes.
La carte Click Board™ Brushless 23 est supportée par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The Brushless 23 Click Board™ Work?
The Brushless 23 Click Board™ is based on the TC78B011FTG, a three-phase sine-wave PWM pre-driver capable of driving Delta or Wye configured motors from Toshiba Semiconductor. Motor rotation is controlled without Hall sensors by detecting the rotational position from the induced voltage. The TC78B011FTG has a built-in closed-loop speed control function, which regulates and maintains the motor rotational speed under dynamic power fluctuations and load variations. This function has an internal non-volatile memory (NVM) for speed profile setting. The TC78B011FTG also has protection features such as thermal shutdown, under-voltage, over-current protection, lock detection, and more.
The TC78B011FTG possesses a speed control command that can control the motor's start, stop, and rotation speed. This signal type is determined by the position of an onboard SW2 switch and register setting, allowing the selection among PWM, analog voltage signal, and standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 400kHz. The TC78B011FTG also allows choosing its I2C slave address by positioning SMD switches labelled as SW3 and SW4 to an appropriate position. In the case of PWM signal or analog voltage signal, the TC78B011FTG is controlled through the mikroBUS™ PWM signal marked as SPD.
The Brushless 23 Click Board™ has several operational modes: Standby, Idle, Brake, and Error Mode. Standby mode is available to reduce the power consumption, controlled by the SBY pin routed to the CS pin of the mikroBUS™ socket, together with register settings. After Power-on, with the SBY pin disabled, the TC78B011FTG reads parameters from NVM and stores them in the registers. After that, IC goes to the Brake sequence and then moves to Idle mode. The brake function is controllable by a register setting or an onboard SW1 switch. The TC78B011FTG starts the motor by Start-Up sequence with the speed control command set. When an abnormal condition is detected, IC moves to Error mode and automatically restarts after restart time. In Error mode with Stop as a speed control command, the TC78B011FTG will move to Idle mode.
Alongside I2C communication, several signals connected to the mikroBUS™ socket pins are also used to forward the information to the MCU. The DIR pin, routed on the RST pin of the mikroBUS™ socket, is used to select the direction of motor rotation (clockwise/counterclockwise), while the CMO pin, routed on the AN pin of the mikroBUS™ socket, serves as the motor's output current monitoring. Also, the TC78B011FTG provides selectable interrupts chosen via the INT SEL jumper routed on the INT pin of the mikroBUS™ socket by positioning the SMD jumper to an appropriate position marked as ALR od FG. The default position of this jumper is the FG position which serves as a rotation speed indicator, while the ALR position represents an abnormality detection feature. Both features have visual indicators; a red LED marked as ALR, and a blue LED labelled as FG.
The Brushless 23 Click Board™ is realized using six N-channel MOSFETs, the SSM6K513NU also from Toshiba Semiconductor, two for each of the three phases. Using these FETs, capable of handling 15A, allows low power dissipation when driving 5A BLDC before hitting the output current limit threshold, used to restrain the current flowing to the motor. It also supports an external power supply for the motor, which can be connected to the input terminal labelled as VM and should be within the range of 11V to 27V, while the BLDC motor coils can be connected to the terminals labelled as U, V, and W.
The Brushless 23 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Brushless |
Applications | The Brushless 23 Click Board™ can be used for high-velocity server fans, blowers, and pumps |
On-board modules | TC78B011FTG - three-phase sine-wave PWM pre-driver for sensorless brushless motors from Toshiba Semiconductor |
Key Features | Sensorless PWM drive, capable to drive Delta or Wye configured motors, low power consumption, built-in closed loop speed control with adjustable speed curve, motor speed control by analog voltage, PWM duty cycle, or I2C, integrated error detection circuits, and more |
Interface | Analog,GPIO,I2C,PWM |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V,External |
PINOUT DIAGRAM
This table shows how the pinout of the Brushless 23 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Current Monitor | 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 |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | ALR | - | Alert LED Indicator |
LD3 | FG | - | Rotation Speed LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | INT SEL | Right | Interrupt Selection ALR/FG: Left position ALR, Right position FG |
SW1 | SW1 | Upper | Brake Switch: Upper position 0, Lower position 1 |
SW2 | SW2 | Upper | Speed Control Selection Switch: Upper position 0, Lower position 1 |
SW3-SW4 | SW3-SW4 | Upper | I2C Address Selection Switch: Upper position 0, Lower position 1 |
TP1 | GND | - | Ground Testpoint |
TP2 | PHBF | - | Current Monitor Testpoint |
TP3 | PH | - | Peak Hold Setting Testpoint |
TP4 | SPD | - | Speed Control Command Testpoint |
TP5 | VREG | - | Voltage Reference Testpoint |
BRUSHLESS 23 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage VCC | 3.3 | - | 5 | V |
External Supply Voltage VM | 11 | - | 27 | V |
Output Current | - | - | 5 | A |
PWM Frequency | 1 | - | 100 | kHz |
Operating Temperature Range | -40 | +25 | +105 | °C |
Software Support
We provide a library for the Brushless 23 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for Brushless 23 Click driver.
Key functions
-
brushless23_pwm_set_duty_cycle
This function sets the PWM duty cycle in percentages ( Range[ 0..1 ] ). -
brushless23_switch_direction
This function switches the direction by toggling the DIR pin state. -
brushless23_get_motor_speed
This function reads the motor speed in Hz.
Example Description
This example demonstrates the use of the Brushless 23 Click Board™ by driving the motor in both directions at different speeds.
void application_task ( void )
{
static int8_t duty_cnt = 3;
static int8_t duty_inc = 1;
float duty = duty_cnt / 10.0;
brushless23_pwm_set_duty_cycle ( &brushless23, duty );
log_printf( &logger, " Duty cycle: %u%%rn", ( uint16_t )( duty_cnt * 10 ) );
float motor_speed_hz = 0;
if ( BRUSHLESS23_OK == brushless23_get_motor_speed ( &brushless23, &motor_speed_hz ) )
{
log_printf( &logger, " Speed: %.1f Hzrn", motor_speed_hz );
}
if ( 8 == duty_cnt )
{
duty_inc = -1;
}
else if ( 2 == duty_cnt )
{
duty_inc = 1;
log_printf( &logger, " Switch directionrnn" );
brushless23_switch_direction ( &brushless23 );
}
duty_cnt += duty_inc;
Delay_ms( 500 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Brushless23
Additional Notes and Information
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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The Brushless 23 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 23 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for Brushless 23 Click driver.
Key functions
-
brushless23_pwm_set_duty_cycle
This function sets the PWM duty cycle in percentages ( Range[ 0..1 ] ). -
brushless23_switch_direction
This function switches the direction by toggling the DIR pin state. -
brushless23_get_motor_speed
This function reads the motor speed in Hz.
Example Description
This example demonstrates the use of the Brushless 23 Click Board™ by driving the motor in both directions at different speeds.
void application_task ( void )
{
static int8_t duty_cnt = 3;
static int8_t duty_inc = 1;
float duty = duty_cnt / 10.0;
brushless23_pwm_set_duty_cycle ( &brushless23, duty );
log_printf( &logger, " Duty cycle: %u%%rn", ( uint16_t )( duty_cnt * 10 ) );
float motor_speed_hz = 0;
if ( BRUSHLESS23_OK == brushless23_get_motor_speed ( &brushless23, &motor_speed_hz ) )
{
log_printf( &logger, " Speed: %.1f Hzrn", motor_speed_hz );
}
if ( 8 == duty_cnt )
{
duty_inc = -1;
}
else if ( 2 == duty_cnt )
{
duty_inc = 1;
log_printf( &logger, " Switch directionrnn" );
brushless23_switch_direction ( &brushless23 );
}
duty_cnt += duty_inc;
Delay_ms( 500 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Brushless23
Additional Notes and Information
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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The Brushless 23 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.
Carte Brushless 23 Click
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.