Description: 提供的程序是供四相步进电机使用。本实验使用的步进电机用直流+12V电压,电机线圈由A、B、C、D四相组成。 2. 驱动方式为四相单四拍方式,各线圈通电顺序如下表。表中首先向A相线圈输入驱动电流,接着向B,C,D线圈通电,最后又返回到A相线圈驱动,按这种顺序轮流切换,电机轴按顺时针方向旋转。若通电顺序相反,则电机轴按逆时针方向旋转。-provide for the procedures of the four-phase stepper motor use. This experiment used the stepper motor 12V DC voltage electrical coils A, B, C, D phase. 2. Four-driven approach to making four single-phase, the coil electrifying sequence the following table. Table A first phase coil input drive current, then to B, C, D coil electricity and eventually return to the A-phase coil driven by the rotation order of this switch, the electrical axis by rotating clockwise direction. If electricity in reverse order, the motor shaft by the anti-clockwise rotation. Platform: |
Size: 69496 |
Author:蔡伟 |
Hits:
Description: 提供的程序是供四相步进电机使用。本实验使用的步进电机用直流+12V电压,电机线圈由A、B、C、D四相组成。 2. 驱动方式为四相单四拍方式,各线圈通电顺序如下表。表中首先向A相线圈输入驱动电流,接着向B,C,D线圈通电,最后又返回到A相线圈驱动,按这种顺序轮流切换,电机轴按顺时针方向旋转。若通电顺序相反,则电机轴按逆时针方向旋转。-provide for the procedures of the four-phase stepper motor use. This experiment used the stepper motor 12V DC voltage electrical coils A, B, C, D phase. 2. Four-driven approach to making four single-phase, the coil electrifying sequence the following table. Table A first phase coil input drive current, then to B, C, D coil electricity and eventually return to the A-phase coil driven by the rotation order of this switch, the electrical axis by rotating clockwise direction. If electricity in reverse order, the motor shaft by the anti-clockwise rotation. Platform: |
Size: 69632 |
Author:蔡伟 |
Hits:
Description: 通过MP(代表其中一个P口)的高4位来控制,AA`BB`-4,5,6,7脚。12细分,没行数组里面分4对,每对数第一个加到P口控制电流方向,第二个数控制通电时间。正转AA`-BB`-A`A-B`B,数组由1到12行的读取,反转B`B-A`A-BB`-AA`,数组由12到1行的读取。参数POWER表示电机启动还是不启动,DIRECT参数表示方向,SPEED表示速度等级,每项通电时间用数组中的植/SPEED。本程序没考虑要走多少步的情况,调用一次就走一步。-Through the MP (on behalf of one of P I) of high 4 to control, AA `BB`-4,5,6,7 feet. 12 segments, no line inside the sub-array of four pairs, each of the P added to the number of the first current direction of population control, the second time the number of control power. Are transferred AA `-BB`-A `AB` B, the array from 1-12 line read, reverse B `BA` A-BB `-AA`, array 12-1 by the line read. POWER express motor parameters activated or not activated, DIRECT express direction parameter, SPEED express speed grades, each time power array sik/SPEED. This procedure did not consider how to go step-by-step situation, call a step away. Platform: |
Size: 2048 |
Author:liudong |
Hits:
Description: 使用msp430的定时器生成PWM波通过硬件滤波器实现DAC功能,一阶滤波为直流电平,二阶可以生成任意波形,如正弦波,锯齿波等-MSP430 timer used to generate PWM wave through the hardware filter DAC functions, first-order filter for the DC-ping, the second order can generate arbitrary waveform, such as sine wave, sawtooth wave, etc. Platform: |
Size: 17408 |
Author:贺虎 |
Hits:
Description: xl系列单片机实验仪演示程序 LCD1602显示 步进电机控制器速度方向圈数可调 LCD1602显示 步进电机控制器速度方向圈数可调 K1-启动与停止步进电机运行 K2-设定步进电机运行圈数 (1-20圈) K3-设定步进电机转动方向 K4-设定步进电机运行速度 步进电机的转速控制分16档,数字越小,转速越快。 7.5度步进电机;周期7.5×4=30度,电机转动一圈需12个周期 资源:p1.0-p1.3接反向器74ls14,输出后接步进电机 p3.7接小喇叭提供按键音, p1.4-p1.7接端口按键:lcd1602插入实验仪-xl Series Singlechip Experiment LCD1602 demo program shows the direction of stepper motor speed controller circle shows the number of adjustable LCD1602 direction stepper motor controller lap speed of a few adjustable K1-start and stop the stepper motor running K2-setting step motor running a few laps (1-20 laps) K3-set stepper motor rotation direction of K4-setting speed of stepper motor stepper motor speed control minutes 16 stalls, the number of smaller, faster the speed. 7.5 degree stepper motor cycle of 7.5 × 4 = 30 degrees, rotating electric lap 12 cycles required resources: p1.0-p1.3 then reverse browser 74ls14, followed by stepper motor output p3.7 then provide a small speaker key tone, p1.4-p1.7 port access keys: lcd1602 insert Tester Platform: |
Size: 5120 |
Author:gan |
Hits:
Description: PWM控制就是产生一定周期,占空比不同的方波信号,当占空比较大时,电机转速较高,否则电机转速较低。当采用FPGA产生PWM波形时,只需FPGA内部资源就可以实现,数字比较器的一端接设定值输出,另一端接线性递增计数器输出。当线性计数器的计数值小于设定值时输出低电平,当计数器大于设定值时输出高电平,这样就可通过改变设定值,产生占空比不同的方波信号,从而达到控制直流电机转速的目的。
直流电机控制电路主要由2部分组成,如图1所示:
FPGA中PWM脉宽调制信号产生电路;
FPGA中正/反转方向控制电路
-PWM control is a certain cycle, a different duty cycle square wave signal, when the duty cycle is high, higher motor speed, or lower motor speed. When the PWM waveform generated using FPGA, the FPGA internal resources only can be achieved, the figure one comparator output termination setting, the other linear incremental counter output termination. When the value of linear counter output is less than low-level settings, when the counter output is greater than high settings, so that by changing the settings can produce different duty cycle square wave signal, DC motor control to achieve the purpose of speed.
DC motor control circuit mainly by 2 parts, as shown in Figure 1:
FPGA in the PWM pulse width modulation signal generator circuit
Chiang Kai-shek FPGA/reverse direction control circuit Platform: |
Size: 37888 |
Author:袁玉佳 |
Hits:
Description: An electric wheelchair uses a motor with a torque constant of 1.1 Nm/A, powered from a 24 V
battery, with an internal resistance of 0.25Ω. We are interested in designing a controller with 44
Nm continuous torque capability, both in driving and braking modes at all speeds, with the
widest possible operating speed range, both forward and reverse direction using the given
battery. Platform: |
Size: 96256 |
Author:mmee83@gmail.com |
Hits:
Description: 通常直流电机由一串脉冲控制,通过调节脉冲的电平、持续时间可以使得电机正转、反转、加速、减速和停转。转动的原理:转动的方向由电压控制,电压为正电机顺时针转;电压为负电机逆时针转。转速的大小由输出脉冲的占空比决定,占空比大则转速大。-Usually the DC motor controlled by a string of pulses, by regulating the level of the pulse, the duration of the motor forward, reverse, speed up, slow down and stall. The principle of rotation: the direction of rotation is controlled by the voltage, the voltage of the motor are clockwise voltage of negative motor counterclockwise. The size of the speed determined by the output pulse duty cycle, the duty cycle is large, the speed is large. Platform: |
Size: 101376 |
Author:李勇 |
Hits:
Description: 通常直流电机由一串脉冲控制,通过调节脉冲的电平、持续时间可以使得电机正转、反转、加速、减速和停转。转动的原理:转动的方向由电压控制,电压为正电机顺时针转;-Usually the DC motor controlled by a string of pulses, by regulating the level of the pulse, the duration of the motor forward, reverse, speed up, slow down and stall. The principle of rotation: the direction of rotation is controlled by the voltage, the voltage of the motor are clockwise voltage of negative motor counterclockwise. The size of the speed determined by the duty cycle of the output pulse duty cycle of a large speed large. Platform: |
Size: 103424 |
Author:李勇 |
Hits:
Description: 1、使用外部8MHz晶体
2、硬件连接详见proteus仿真模型
3、使用timer2的快速PWM控制电机转动速度
4、M16的PD0/PD1/PD2/PD3接四位按键,用以控制电机转动模式
5、M16的PD4/PD5控制L298的IN1/IN2,用以确定电机转动方向
6、M16的PC0/PC1控制两位LED,指示电机转动方向,红亮正转,绿亮反转
7、proteus仿真通过
-Using an external 8MHz crystal hardware connection see proteus simulation model 3 timer2 fast PWM control motor rotation speed the M16 PD0/PD1/PD2/PD3 access four buttons to control the motor rotation mode M16' s PD4/PD5 control L298 of IN1/IN2, used to determine the direction of motor rotation 6, M16 PC0/PC1 control two LED indicates that the motor rotation direction, Hongliang Forward, bright green reverse proteus simulation through Platform: |
Size: 273408 |
Author:littlezz |
Hits:
Description: 利用51单片机实现对一个四相步进电机的控制和相应的数据显示。包括四相电机的启动和停止、控制正转和反转并显示其实际旋转方向及相应的速度等级。-51 single-chip implementation of a four-phase stepper motor control and data display. Including the start and stop of the four-phase motor control forward and reverse, and displays the actual direction of rotation and speed rating. Platform: |
Size: 87040 |
Author:阿呆 |
Hits:
Description: 采用两个温度传感器采集不同地方的两个温度,根据两个温度传感器的温度差进行比较确定电机旋转方向(正转或反转),并自动控制电机转速,温度差越高速度越快。电机调速采用PWM方式,并需要采集电机速度实现闭环控制,并将温度和电机速度通过液晶显示器显示出来。-Using two temperature sensors collect two temperatures in different places, were compared to determine motor rotation direction (forward or reverse) according to the temperature difference between the two temperature sensors and automatic control of motor speed, the higher the temperature difference, the faster the speed. Motor speed using PWM mode, and need to collect the motor speed to achieve closed-loop control, and the temperature and motor speed through the LCD monitor display. Platform: |
Size: 3072 |
Author:王超 |
Hits: