Simulink &TI f28379d ADC configuration

8 vues (au cours des 30 derniers jours)
tommaso serni
tommaso serni le 5 Nov 2018
Réponse apportée : Yash le 7 Juil 2022
Hello everyone
I would like to acquire a signal from a current sensor (ACS712) using TI f28379d & Simulink, but I can not get a stable data from the ADC even using a constant and known voltage source.
Specifically, the sensor should measure the discharge current of a battery (2.5 A) by performing readings with a frequency of 10-100 Hz.
I attach the files used for the tests: Drive
Any ideas on how to configure the parameters to make a consistent reading?
Thanks, Tommaso.
  1 commentaire
SHAMSUL AREFEEN AL MAHMUD
SHAMSUL AREFEEN AL MAHMUD le 20 Avr 2021
Hello, did you able to get any solution for this issue? I am using the similar kind of current sensor and trying to connect with F28379D ADC. I ma having problem with configuring the ADC pin. I tried to get some values in ADC using software triggering but not working at all. I was giving 2 or 3 volts supply from a dc source.

Connectez-vous pour commenter.

Réponses (1)

Yash
Yash le 7 Juil 2022
To get a stable output you can use a relay block available in Simulink. This may help you to get a stable value within the range you specify.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by