Carte Brushless 22 Click
Carte Brushless 22 Click
Key Features
- Entraînement silencieux et sinusoïdal
- Basé sur le MTD6508, un pilote triphasé à onde complète sans capteur pour moteurs BLDC de Microchip Technology
- La solution parfaite pour les appareils électroménagers et les équipements industriels, tels que les ventilateurs de refroidissement
- Interface I2C, PWM et GPIO
Overview
La carte Brushless 22 Click Board™ est une carte complémentaire compacte adaptée au contrôle des moteurs à courant continu sans balais (BLDC) avec n'importe quel microcontrôleur. Cette carte est équipée du MTD6508, un pilote triphasé à onde complète sans capteur pour moteurs BLDC de Microchip Technology. Elle est dotée d'un entraînement sinusoïdal à 180°, d'un couple de sortie élevé et d'un entraînement silencieux, conçu pour une plage de tension de fonctionnement comprenant les deux rails d'alimentation mikroBUS™, et est livrée avec un contrôle de vitesse obtenu par modulation de largeur d'impulsion (PWM). En outre, elle comprend plusieurs circuits de diagnostic et fonctions de contrôle d'entraînement telles que la protection contre le verrouillage du moteur, la limitation de surintensité et la protection contre l'arrêt thermique. Cette carte Click™ est la solution parfaite pour les appareils électroménagers et les équipements industriels, tels que les ventilateurs de refroidissement.
La carte Click Board™ Brushless 22 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 22 Click Board™ Work?
The Brushless 22 Click Board™ is based on the MTD6508, a 3-phase full-wave sensorless driver for brushless DC motors from Microchip Technology. It features a 180° sinusoidal drive, high torque output, and silent drive. High efficiency and low power consumption are achieved due to CMOS transistors and a synchronous rectification drive type. With adaptive features and parameters, the MTD6508 is intended to cover a broad range of motor characteristics, making this Click board™ extremely cost-efficient in fan applications that require low acoustic noise, low mechanical vibration, and are highly efficient.
This device provides start-up output slew rate and PWM duty cycle control that permit designers to balance acoustic performance and reliability. The rotational speed of the motor is controlled through the mikroBUS™ PWM signal. When the PWM signal is high, the motor rotates at full speed, and when the PWM signal is low, the MTD6508 outputs are set to a high impedance state, and the motor is stopped. The sinusoidal start-up open-loop phase current amplitude is controlled via SS pin, routed on the CS pin of the mikroBUS™ socket, which according to its logic state, chooses whether it is defined by the PWM input duty cycle or fixed at 100%. The output PWM slew rate can be adjusted with the R4 resistor during Start-Up, which is not populated in a default configuration to reduce motor vibration.
By default configuration, the output PWM slew rate can be set via the MCP4661 digital potentiometer from Microchip Technology, which establishes communication with the MCU via I2C serial communication. The MCP4661 also allows the choice of the least significant bit (LSB) of its I2C slave address by positioning SMD jumpers labelled as ADDR SEL to an appropriate position marked as 0 and 1. Once the Start-Up open loop is finished, the MTD6508 will automatically switch to a fixed slew rate. Choosing MCP4661 and not R4 for setting output PWM slew rate, unpopulated R4 resistor, and leave populated R5 and R8.
In addition to the output PWM slew rate and its setting method, the user is also given the option of setting the electromechanical coupling coefficient of the motor (also referred to as "motor constant" or "BEMF constant") via R9 resistor, which is populated in default configuration or by R6 and R7 voltage divider. The MTD6508 defines the BEMF coefficient as the peak value of the phase-to-phase BEMF voltage normalized to the electrical speed of the motor. Choosing MCP4661 and not voltage divider for setting BEMF constant, unpopulated R9 resistor and leave populated R6 and R7.
Alongside I2C communication, several GPIO pins 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). The RT pin, routed on the AN pin of the mikroBUS™ socket, adjusts the phase regulation parameters to allow more stability in applications using 3-Phase BLDC motors attached to a light load, while the FG pin routed on the INT pin serves as a rotation speed indicator, gives information about the speed and phase of the motor. With R12 populated, the rotor speed rotation per minute (RPM) has to be multiplied by three because the FG signal frequency will be divided by three.
The Brushless 22 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 containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Brushless |
Applications | The Brushless 22 Click Board™ can be used for home appliances and industrial equipment, such as cooling fans |
On-board modules | MTD6508 - 3-phase full-wave sensorless driver for brushless DC motors from Microchip Technology |
Key Features | 180° sinusoidal drive for high efficiency and low acoustic noise, position sensorless BLDC driver, motor constant setting, speed control, PWM slew rate control, protection features, and more |
Interface | GPIO,I2C,PWM |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout on Brushless 22 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Phase Regulation | RT | 1 | AN | PWM | 16 | PWM | PWM Signal |
Forward/Reverse Direction | DIR | 2 | RST | INT | 15 | FG | Rotation Speed Indicator |
Start-Up Strength | SS | 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 |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2-JP4 | ADDR SEL | Left | I2C Address Selection 1/0: Left position 1, Right position 0 |
R4 | R4 | Unpopulated | Output PWM Slew Rate Control via Resistor |
R5/R8 | R5/R8 | Populated | Output PWM Slew Rate Control via MCP4661 |
R9 | R9 | Populated | Motor Constant Selection via MCP4661 |
R6/R7 | R6/R7 | Unpopulated | Motor Constant Selection via Resistors |
R12 | R12 | Unpopulated | FG Frequency Divider Selection Jumper |
BRUSHLESS 22 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Maximum Output Current | - | - | 1 | A |
Operating Frequency | 1 | - | 100 | kHz |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the Brushless 22 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 22 Click driver.
Key functions
-
brushless22_set_slew_rate_resistance
This function sets the slew rate resistance by configuring the onboard digital potentiometer. -
brushless22_set_duty_cycle
This function sets the PWM duty cycle in percentages ( Range[ 0..1 ] ). -
brushless22_switch_direction
This function switches the direction by toggling the DIR pin state.
Example Description
This example demonstrates the use of the Brushless 22 Click Board™ by driving the motor in both directions at different speeds.
void application_task ( void )
{
static int8_t duty_cnt = 1;
static int8_t duty_inc = 1;
float duty = duty_cnt / 10.0;
brushless22_set_duty_cycle ( &brushless22, duty );
log_printf( &logger, "> Duty: %d%%rn", ( uint16_t )( duty_cnt * 10 ) );
if ( 10 == duty_cnt )
{
duty_inc = -1;
}
else if ( 0 == duty_cnt )
{
duty_inc = 1;
log_printf( &logger, " Switch directionrnn" );
brushless22_switch_direction ( &brushless22 );
}
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.Brushless22
Additional Notes and Information
Depending on the development board you are using, you may need 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 22 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 22 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 22 Click driver.
Key functions
-
brushless22_set_slew_rate_resistance
This function sets the slew rate resistance by configuring the onboard digital potentiometer. -
brushless22_set_duty_cycle
This function sets the PWM duty cycle in percentages ( Range[ 0..1 ] ). -
brushless22_switch_direction
This function switches the direction by toggling the DIR pin state.
Example Description
This example demonstrates the use of the Brushless 22 Click Board™ by driving the motor in both directions at different speeds.
void application_task ( void )
{
static int8_t duty_cnt = 1;
static int8_t duty_inc = 1;
float duty = duty_cnt / 10.0;
brushless22_set_duty_cycle ( &brushless22, duty );
log_printf( &logger, "> Duty: %d%%rn", ( uint16_t )( duty_cnt * 10 ) );
if ( 10 == duty_cnt )
{
duty_inc = -1;
}
else if ( 0 == duty_cnt )
{
duty_inc = 1;
log_printf( &logger, " Switch directionrnn" );
brushless22_switch_direction ( &brushless22 );
}
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.Brushless22
Additional Notes and Information
Depending on the development board you are using, you may need 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 22 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.