The encoder counter and speed display are wrong

3 vues (au cours des 30 derniers jours)
fred liu
fred liu le 26 Juin 2024
I'm using R2024a and Embedded Encoder Support Package for Infineon AURIX TC3x Microcontrollers inside the add on.
And using the encoder block and running in KIT_A2G_TC387_5V TFT board ,and use scope to observe the output.
The results and settings are as shown below.
1.hardware setting
2-1 encoder setting
2-2 encoder setting
3.scope setting
4.result
from top to the bottom is count,direction,and rad/s.
  1 commentaire
UDAYA PEDDIRAJU
UDAYA PEDDIRAJU le 29 Août 2024
Can you share the files? I can't replicate the situation without the files.

Connectez-vous pour commenter.

Réponses (1)

UDAYA PEDDIRAJU
UDAYA PEDDIRAJU le 30 Août 2024
Hi Fred,
To address the incorrect encoder counter and speed display:
  1. Check Hardware Configuration: Ensure all hardware settings are correctly configured for the KIT_A2G_TC387_5V TFT board.
  2. Verify Encoder Settings: Double-check the encoder settings, including resolution and signal type, to match your hardware specifications.
  3. Scope Configuration: Review the scope settings to ensure proper signal scaling and time base alignment.
  4. Calibration: If discrepancies persist, calibrate the encoder and verify connections to rule out hardware issues.
These steps should help resolve the inaccuracies in your encoder counter and speed display.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by