This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035: 想使用F28035(56PIN)主控芯片的6个ADC口捕获霍尔传感器输出的上升或下降沿脉冲,是否可行?您是否有更好的办法?--------Is it possible to capture rising or falling edge pulses from Hall sensors using the 6 ADC ports of the F28035(56PIN) master chip? Do you have a better idea?

Part Number: TMS320F28035

我对此并不熟悉,以下内容如有错误之处请您批评指正,如有表达不清的地方请您指正。十分感谢

I am not familiar with this, please criticize and correct if there is any mistake in the following content, and please correct if there is any unclear expression. Thank you very much.

问题内容采用中英双语提问,感谢理解。

The questions are in both Chinese and English. Thank you for your understanding.

问题描述:想使用TMS320F28035(56pin)芯片进行位置闭环控制两个三相直流无刷电机(带三相-双极性-开关型-霍尔传感器),由图一可以看到此款电机磁极对数为1。单路霍尔信号输出波形为占空比50%的方波,低电平0V,高电平3.3V,该使用什么解码逻辑,怎么能实现电机位置闭环控制?

Description of the problem: TMS320F28035 (56pin) chip is used for position closed-loop control of two three-phase brushless DC motors (with three-phase - bipolar - switching type - Hall sensor). As can be seen from Figure 1, the magnetic pole number of this motor is 1. The output waveform of single-channel Hall signal is a square wave with a duty cycle of 50%, low level 0V, high level 3.3V, what decoding logic should be used, and how can closed-loop control of motor position be achieved?

问题一:电机并不带编码器,我需要将6跟霍尔信号线与F28035连接,请问应该如何正确接线?

Question 1: The motor does not have an encoder, I need to connect the 6 and Hall signal line to F28035, how should I correctly connect the line?

问题二:我看到有回答使用eCAP模块的,但是我翻阅数据手册看到在F28035芯片上仅有一个eCAP输入,那是否意味着我只能将一根霍尔信号线连接到eCAP?

针对eQEP模块,我的无刷直流电机的三相霍尔信号输出是一样的(占空比,幅值,频率)仅有相位差,想要使用eQEP模块是不是必须要有索引信号QEPI?

Q2: I see that there are answers using the eCAP module, but I look at the data book and see that there is only one eCAP input on the F28035 chip. Does that mean that I can only connect one Hall signal line to the eCAP?

For eQEP module, the three-phase Hall signal output of my brushless DC motor is the same (duty cycle, amplitude, frequency) with only phase difference. Do I have to have index signal QEPI if I want to use eQEP module?

问题三:我目前针对六根霍尔信号线的连接方式是,将他们连接到了ADC的引脚上(具体连接请看下图),分别连接了ADCINA7、ADCINA6、ADCINA4和ADCINB7、ADCINB6、ADCINB4这6个引脚,我现在想使用中断对霍尔信号的上升沿脉冲进行计数,请问这六个引脚都可以触发中断吗?请问和普通GPIO口触发中断有什么不同?是否可以提供相关案例?

Question 3: At present, I connect the six Hall signal wires to the pins of the ADC (see the figure below for specific connections), and connect the six pins of ADCINA7, ADCINA6, ADCINA4 and ADCINB7, ADCINB6 and ADCINB4 respectively. I now want to use interrupts to count the rising edge pulse of the Hall signal, can all six pins trigger interrupts? What is the difference between GPIO interface trigger interrupt and ordinary GPIO interface trigger interrupt? Can you provide relevant cases?

问题四:请问使用DSP解码三相霍尔信号是否有先例?我对闭环控制电机此并不清楚,且找不到很多参考。

Question 4: Is there any precedent for using DSP to decode three-phase Hall signals? I am not clear about the closed-loop control motor, and can not find many references.

感谢您的回答!

Thank you for your answer!