TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 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 (139254 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 78 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

MQTTClient

0

MQTT Client library.

[Learn More]

Build Version Generator

10

Build Version Generator is a tool, which generates code, containing version number and current build date of a mikroPascal / mikroBasic / mikroC project. It is run as a compiler IDE tool.

[Learn More]

FixedFIFO

5

This library provides a fixed-size FIFO to an application. Users can set the FIFO depth and width. There are also three examples for mikroPascal PRO for PIC, dsPIC/PIC24 and PIC32. Each example implements a USB CDC device and a PC application sends commands to PIC for adding/reading items to/from FIFO.

[Learn More]