步进电机定位控制系统VHDL程序与仿真
[11-20 16:14:54] 来源:http://www.88dzw.com FPGA 阅读:8608次
文章摘要: cntInc<=-1; angleDnCntDec<=1;--"01"; when 0 => --manner="00" autodetect if (angle rem 2) = 1 then -- 2-相激励 cntIni<=-1; cntInc<=-2;
步进电机定位控制系统VHDL程序与仿真,标签:fpga是什么,fpga教程,http://www.88dzw.comcntInc<=-1;
angleDnCntDec<=1;--"01";
when 0 => --manner="00" autodetect
if (angle rem 2) = 1 then -- 2-相激励
cntIni<=-1;
cntInc<=-2;
angleDnCntDec<=2;--"10";
else -- 1-相激励
cntIni<=0;
cntInc<=-2;
angleDnCntDec<=2;--"10";
end if; --angle
end case; --manner
end if; -- else dir=0
--end if; -- ini
end process;
counting_reset: process(reset,ini, angle, clk)
begin
if reset='1' then
count<=0;
angleDnCount<=0;
elsif clk'event and clk='1' then
if ini='0' then
count<=0+cntIni;
angleDnCount<=angle;
else
count <= count+cntInc;
if angleDnCount > angleDnCntDec then
angleDnCount <= angleDnCount-angleDnCntDec;
else
angleDnCount <= 0;
end if;
Tag:FPGA,fpga是什么,fpga教程,FPGA
- 上一篇:出租车计价器VHDL程序与仿真
《步进电机定位控制系统VHDL程序与仿真》相关文章
- › 步进电机和半导体激光器驱动电路图
- › 步进电机的单片机控制
- › 基于单片机的步进电机开环控制系统
- › 基于87C196KC单片机的步进电机高灵敏度控制系统
- › 基于80C196MC的步进电机恒转矩
- › 单片机与步进电机细分控制
- 在百度中搜索相关文章:步进电机定位控制系统VHDL程序与仿真
- 在谷歌中搜索相关文章:步进电机定位控制系统VHDL程序与仿真
- 在soso中搜索相关文章:步进电机定位控制系统VHDL程序与仿真
- 在搜狗中搜索相关文章:步进电机定位控制系统VHDL程序与仿真
分类导航
最新更新