Carte à clic ISO ADC
Carte à clic ISO ADC
L' ISO ADC Click Board™ est un dispositif de mesure de shunt de courant à carte complémentaire avec modulateur delta-sigma isolé. Ce Click Board™ est basé sur l'AMC1204BDWR et fournit une solution monopuce pour mesurer le petit signal d'une résistance shunt à travers une barrière isolée de Texas Instruments. L'ISO ADC Click contient une résistance shunt, ces types de résistances sont généralement utilisés pour détecter les courants dans les onduleurs de commande de moteur, les systèmes de production d'énergie verte et d'autres applications industrielles.
La carte Click Board™ ISO ADC est prise en charge 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 ISO ADC Click Board™ Work?
The ISO ADC Click Board™ is current sensing system, which includes isolated delta-sigma modulator. The main IC on the ISO ADC Click Board™ is AMC1204BDWR, from Texas Instruments. The current-sensing shunt resistor is designed as a 4 wire connected resistor that enables accurate measurements through a force-sense connection. The AMC1204BDWR differential inputs easily connect to the shunt resistor, An internal reference eliminates the need for external components.
The ISO ADC Click Board™ communicates with the target microcontroller over SPI interface on the mikroBUS™ line. The analog input range is tailored to directly accommodate the voltage drop across a shunt resistor used for current sensing. The SiO2 -based capacitive isolation barrier supports a high level of magnetic field immunity as described in the Digital Isolator Magnetic-Field Immunity application report. The external clock input simplifies the synchronization of multiple current sense channels on system level. The extended frequency range of up to 20 MHz and is provided externally at the CLKIN pin. The data are synchronously provided at 20 MHz at the DATA output pin. The data are changing at the falling edge of CLKIN.
The IISO ADC Click Board™ perform current measurement on LOAD connector, the AMC1204BDWR measure the differential input signal VIN = (VINP – VINN) on two ends of the shunt resistor, against the internal reference of 2.5 V using internal capacitors that are continuously charged and discharged. The current measurement can't be possible without external power supply on AVDD connector.
The voltage level of the logic section can be selected via VCC SEL jumper, between 3.3V and 5V. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly.
SPECIFICATIONS
Type | ADC,Isolators |
Applications | The ISO ADC Click Board™ can be used to sense currents in motor control inverters, green energy generation systems, and other industrial applications. |
On-board modules | AMC1204BDWR, Isolated Delta-Sigma Modulator for Current-Shunt Measurement, from Texas Instruments. |
Key Features | ±250-mV input voltage range optimized for shunt resistors, High electromagnetic field immunity, External clock input for easier synchronization |
Interface | SPI |
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 of the ISO ADC Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
6 | MOSI | SDA | 11 | NC | |||
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 voltage level selection: left position 3.3V, right position 5V |
ISO ADC CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Voltage supply (AVDD) | 4.5 | 5 | 5.5 | V |
Current (LOAD) | - | - | 3 | A |
CLKIN | 0 | - | 20 | MHz |
Software Support
We provide a library for the ISO ADC 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 function for reading ADC data from device and converting that data to power draw of connected device.
Key Functions
uint16_t isoadc_read_adc ( void )
- Function for reading ADC datavoid isoadc_get_rshunt ( uint16_t adc_data, isoadc_rshunt_t *rshunt_param )
- Function for converting ADC to power supply and current on rshuntfloat isoadc_get_power ( isoadc_rshunt_t *rshunt_param )
- Function for reading power draw
Example Description
The application is composed of three sections :
- System Initialization - Initialization of SPI module
- Application Initialization - Timer interrupt initialization, and sets vext
- Application Task - Reads ADC data from device and avarages it
void application_task ( ) { adc_data = isoadc_read_adc(); avg_data += adc_data; avg_cnt++; }
Additional Functions :
- void InitTimer2() - Function for interrupt initialization
- void Timer2_interrupt ( ) iv IVT_INT_TIM2 - Function when interrupt occurred writes converted values
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- SPI
- Conversions
- UART
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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 ISO ADC 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 ISO ADC 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 function for reading ADC data from device and converting that data to power draw of connected device.
Key Functions
uint16_t isoadc_read_adc ( void )
- Function for reading ADC datavoid isoadc_get_rshunt ( uint16_t adc_data, isoadc_rshunt_t *rshunt_param )
- Function for converting ADC to power supply and current on rshuntfloat isoadc_get_power ( isoadc_rshunt_t *rshunt_param )
- Function for reading power draw
Example Description
The application is composed of three sections :
- System Initialization - Initialization of SPI module
- Application Initialization - Timer interrupt initialization, and sets vext
- Application Task - Reads ADC data from device and avarages it
void application_task ( ) { adc_data = isoadc_read_adc(); avg_data += adc_data; avg_cnt++; }
Additional Functions :
- void InitTimer2() - Function for interrupt initialization
- void Timer2_interrupt ( ) iv IVT_INT_TIM2 - Function when interrupt occurred writes converted values
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- SPI
- Conversions
- UART
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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 ISO ADC 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 à clic ISO ADC
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.