+1 vote
16 views
ago in Hardware by S M Sajjad Hossain Rafin (19 points)

Hello,
I am working with a Typhoon HIL 101 connected to a TI TMS320F28379D LaunchPad through the Typhoon LaunchPad Interface Board. Using Simulink (External Mode), I want to measure 3-phase voltages and currents from a simple RL load model (40.82 V phase RMS, 100 V L-L peak, 60 Hz).

Setup:

  • AO channels mapped in Typhoon schematic to interface board → LaunchPad ADC pins

  • AO gain/offset configured per documentation

  • In Simulink: ADC blocks configured, offset and scaling applied, followed by a 1-pole LPF (tested cutoffs 500/200/100 Hz)

Issue:
Instead of clean sine waves, I see very noisy/step-like signals. Changing filter cutoff or scaling does not help. Mid-code offset (2048 for 0–3 V, 12-bit) seems correct, but waveforms remain distorted.

Questions:

  1. Recommended ADC sample time/SOC config for 60 Hz signals with Typhoon AO?

  2. Is external RC filtering needed at the ADC input in addition to digital LPF?

  3. Any known good example (AO scaling + ADC config) for HIL101 → LaunchPad → Simulink?

  4. Could this be due to AO update/ZOH steps from HIL, and how to best align sample rates?

Any guidance or shared experience would be greatly appreciated.

Please log in or register to answer this question.

...