TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136714 times)
  2. FAT32 Library (69925 times)
  3. Network Ethernet Library (55937 times)
  4. USB Device Library (46261 times)
  5. Network WiFi Library (41884 times)
  6. FT800 Library (41150 times)
  7. GSM click (28979 times)
  8. PID Library (26411 times)
  9. mikroSDK (26355 times)
  10. microSD click (25353 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Resolver connected to AD2S1200 decoder with CmodA7 board

Rating:

0

Author: VCC

Last Updated: 2023-12-31

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 60 times

Not followed.

License: MIT license  

ResolverAD2S1200DecA7 is a hardware + software project, which uses AD2S1200 chip, to interface with a resolver, for motor control applications.
To talk to the AD2S1200 chip, the Digilent's CmodA7 board is used.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Resolver connected to AD2S1200 decoder with CmodA7 board" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Resolver connected to AD2S1200 decoder with CmodA7 board" changes.

Do you want to report abuse regarding "Resolver connected to AD2S1200 decoder with CmodA7 board".

  • Information
  • Comments (1)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

ResolverAD2S1200DecA7 is a hardware + software project, which uses AD2S1200 chip, to interface with a resolver, for motor control applications.
To talk to the AD2S1200 chip, the Digilent's CmodA7 board is used. A PIC32 application, on mikroe's mikroMedia for PIC32MX7+ board, provides an UI for setting various working parameters, measurements and debugging.

Requirements:
- mikroMedia for PIC32MX7+ board
- CmodA7 board: https://digilent.com  (CmodS6 is hardware compatible)
  The CmodA7 board, directly plugs into the AD2S board (Cmod USB connector towards connector P3 on AD2S board).
- building the board, with the design from HW directory

 

See ReadMe.txt for details.

Resolver connected to AD2S1200 decoder

Setup

Watch on YouTube
AD2S board top

AD2S board top

without Cmod board

View full image
AD2S board bot

AD2S board bot

without Cmod board

View full image
AD2S board top

AD2S board top

with Cmod board

View full image
AD2S board top (2)

AD2S board top (2)

with Cmod board

View full image
Setup

Setup

AD2S board, mikromedia for PIC32MX7+ board and a resolver.

View full image
Analog connector on AD2S board

Analog connector on AD2S board

This is used for measuring sine/cosine signals.

View full image
SPI connector on AD2S board

SPI connector on AD2S board

connects to mikromedia board

View full image
SPI and AN on mikromedia board

SPI and AN on mikromedia board

connects to AD2S board

View full image
SPI and AN on mikromedia board (detail)

SPI and AN on mikromedia board (detail)

connects to AD2S board

View full image
UI Resolver Page

UI Resolver Page

UI Resolver Page

View full image
UI Scope Page

UI Scope Page

UI Scope Page

View full image
UI Timings Page

UI Timings Page

UI Timings Page

View full image
UI Settings Page

UI Settings Page

UI Settings Page

View full image

Known issues
- The operational amplifier, ALM2402, which drives the resolver signals, is limited to about 12kHz.
  Because of that limit, the ALM2402F version should be used (see their datashets on https://ti.com).
  The ALM2402 version (without "F") may still be used on lower resolver velocities, because of low frequency signals.
  At higher frequencies, like 15kHz, or 20kHz (as generated by AD2S1200), the signals become distorted and attenuated.
  In that case, AD2S1200 enters error mode, so the FPGA application continously resets it.

- The series resistors, between the FPGA board and the AD2S1200 chip, will affect communication speed,
  thus various timing parameters may need to be manually adjusted (see PIC32 UI, the AD2S1200 datasheet and \FPGA\src\vhdl\Common\AD2S1200Interface.vhd)
  The velocity reading may constantly change (by one LSB), even on no resolver movement or constant velocity. This does't seem to come from bad timing.

 

ALSO FROM THIS AUTHOR

DynArrays

0

Dynamic arrays of Byte, Word, DWord and Pointer. Also 2D arrays of Byte and Word, and 3D array of Byte. Can be compiled on desktop (tested with FreePascal) and MCU (for dsPIC and PIC32).

[Learn More]

PIC32 Memory Statistics

16

The purpose of this tool is to display a chart containing the memory allocation in a PIC32 project.

[Learn More]

DynTFT

10

DynTFT is a set of visual components, inspired by Delphi's VCL. These components are compilable by mikroPascal, Delphi and FreePascal, allowing faster designing and debugging of the UI part of an application. The API features a runtime component registration, to make sure that users won't have to deal with internal handling of mouse/touch events.

[Learn More]