TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47740 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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: 81 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

PIC32MZ EF Osc Calc

1

This is a calculator for PIC32MZ EF oscillator frequencies.

[Learn More]

All Tools

5

All Tools is an application, which allows more than 10 user tools to be started from a mikro IDE. It is a menu-based design, as opposed to a list of buttons, thus taking only one button space on the IDE. For each installed tool, two more applications can be executed, one before the tool, and the other, after the tool.

[Learn More]

Misaligned Address Finder

1

Misaligned Address Finder is a tool used to generate a report on variables and constants, which are not Word or DWord aligned. Some variables / constants are required to be allocated at even addresses (16-bit architectures) and at multiple by 4 addresses (32-bit architectures), so users can be notified about that allocation.

[Learn More]