Monitor Buffer
Actually I am working on V/F control of induction motor using texas instruments high voltage kit. There are inbuilt current and voltage sensors in that kit. So to fetch the current values I have used ADC and Monitor Buffer to write and read to display the readings. But monitor buffer plots the graph with respect to samples. But i wanted it to plot with respect to time. So I am searching the logic which can plot readings of monitor buffer with respect to time. Any suggestions please.
Thanks in advance
Regards
Chinmaya
Answers
-
Hi Chinmaya,
If you are trying to read the ADC values and plot it against time then you can directly use the ADC block output .Create a compound block with ADC block output and run it in HIL. Please use the attached diagram to read the ADC values and plot the value .
Regards,
Girish
0 -
Thanks for the suggestion.
But the current sensed is in sine wave and ADC output block gives me discrete pulses, I have implemented your technique but it is still in the form of discrete pulses, but we wanted it in continuous sine waveform.
0 -
Hi Chinmaya,
The ADC block will output constant values between 0 to 1 . I have attached the example video of how the ADC values being read from potentiometer to control the motor using Arduino.
Similarly you can use it for TI board with the earlier diagram attached. Let me know if you still face the issues.
Regards,
Girish
0