TOP Contributors

  1. MIKROE (2752 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139067 times)
  2. FAT32 Library (71594 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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: 76 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]

DynTFTCodeGen

0

DynTFTCodeGen is a tool, used for designing and generating initialization code and event handlers for DynTFT projects. It features a drawing board, an object inspector, a component palette and various dialog boxes for application and project level settings.

[Learn More]