阐述了旋转变压器的工作原理,设计了两套位置信息采集方案。一种方案在CPLD、DSP、解码芯片之间采用独立总线的方式连接,实时地更新位置信息;另一种方案则是在CPLD、DSP、解码芯片之间采用共用总线的方式,只在需要时读取位置信息。给出了两种方案的硬件平台、设计思路和软件流程图,在原理上对其进行了相应的分析,并基于此进行了位置信息读取的试验测试。根据试验测试结果得知,两种方案都能准确读取位置信息,精度较高,较适合大功率高精度驱动的场合应用,且共用总线方案相比独立总线方案响应速度更快。
Two sets of position detection scheme were designed. One connects CPLD, DSP and decoding chip with the method of independent bus. It could real-time update location information. The other connects CPLD, DSP and decoding chip with the method of shared bus. It only read location information when it need. Both schemes’ hardware platform, design thought, software flow diagram were proposed. Its principle was analyzed. The position information was detected based on these two schemes. According to these experiments, these two solutions all could read location information accurately with high precision, and be used in high power driving situations. Comparing with independent bus solution, Reuse bus solution had the faster response speed.