存折打印机EPSON PLQ-20K 联机不打印的设置

  EPSON PLQ-20k这款打印机是专业存折打印机,它的接口是要重新调的,要手动的调[并口或USB口]才可以才能正常打印。
  按[功能1]+[功能2]键开机,放入打印纸,自动打印菜单模式,连续按[功能1]选择菜单---选择到[软件]项---然后按[功能2]调到ESC/P-K选项---连续按[功能1]选择菜单---选择到[接口模式]项---然后连续按[功能2]设置接口{(接口有并口和USB口2种)并口:那种大头的连接线。USB口:扁一点象U盘的那种。}---根据自己打印机的连接线按[功能2]选择接口:并口、USB口。设置好之后关闭打印机.
  好了,设置接口问题就解决了(主要就是设置:软件和接口模式这2项,别的不用设置的).下面就安装打印机驱动了。安装驱动先不要插连接线---放入光盘安装驱动---等到安装提示出现搜索打印机时在插上连接线,这样就行了。

  • 4
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一个基于MATLAB的永磁同步电机参数识别MTPA控制的示例代码。其中包括了参数识别和MTPA控制两部分,可以根据实际情况进行修改。 %% Parameter Identification % Motor parameters Ld = 0.001; % d-axis inductance Lq = 0.0015; % q-axis inductance Rs = 0.05; % stator resistance J = 0.01; % moment of inertia B = 0.1; % friction coefficient % Sampling time Ts = 0.001; % Load torque Tl = 0; % Initial conditions theta0 = 0; omega0 = 0; % Input voltage Vd = 24; Vq = 0; % Simulation time t = 0:Ts:10; % Data collection theta = zeros(1,length(t)); omega = zeros(1,length(t)); id = zeros(1,length(t)); iq = zeros(1,length(t)); for i = 1:length(t) % Motor dynamics [theta(i), omega(i), id(i), iq(i)] = motor_dynamics(theta0, omega0, id(i-1), iq(i-1), Vd, Vq, Tl, Ld, Lq, Rs, J, B, Ts); % Data update theta0 = theta(i); omega0 = omega(i); end % Parameter identification [pLd, pLq, pRs, pJ, pB] = motor_id(theta, omega, id, iq, Ts); % MTPA control % Target speed omega_ref = 100; % Initial conditions theta0 = 0; omega0 = 0; id0 = 0; iq0 = 0; % Simulation time t = 0:Ts:10; % Data collection theta = zeros(1,length(t)); omega = zeros(1,length(t)); id = zeros(1,length(t)); iq = zeros(1,length(t)); Vd = zeros(1,length(t)); Vq = zeros(1,length(t)); for i = 1:length(t) % MTPA control [Vd(i), Vq(i), id(i), iq(i)] = mtpa_control(theta0, omega0, id0, iq0, omega_ref, pLd, pLq, pRs, J, B, Ts); % Motor dynamics [theta(i), omega(i), id(i), iq(i)] = motor_dynamics(theta0, omega0, id(i), iq(i), Vd(i), Vq(i), Tl, Ld, Lq, Rs, J, B, Ts); % Data update theta0 = theta(i); omega0 = omega(i); id0 = id(i); iq0 = iq(i); end % Plot results subplot(2,2,1); plot(t, theta); title('Rotor Angle'); xlabel('Time (s)'); ylabel('Angle (rad)'); subplot(2,2,2); plot(t, omega); hold on; plot(t, omega_ref*ones(1,length(t)), '--'); title('Rotor Speed'); xlabel('Time (s)'); ylabel('Speed (rad/s)'); subplot(2,2,3); plot(t, id); title('d-Axis Current'); xlabel('Time (s)'); ylabel('Current (A)'); subplot(2,2,4); plot(t, iq); title('q-Axis Current'); xlabel('Time (s)'); ylabel('Current (A)'); figure; subplot(2,1,1); plot(t, Vd); title('d-Axis Voltage'); xlabel('Time (s)'); ylabel('Voltage (V)'); subplot(2,1,2); plot(t, Vq); title('q-Axis Voltage'); xlabel('Time (s)'); ylabel('Voltage (V)'); % Motor dynamics function function [theta, omega, id, iq] = motor_dynamics(theta0, omega0, id0, iq0, Vd, Vq, Tl, Ld, Lq, Rs, J, B, Ts) % Calculate currents id = id0 + Ts*(Vd - Rs*id0 + omega0*iq0 - Tl)/Ld; iq = iq0 + Ts*(Vq - Rs*iq0 - omega0*id0)/Lq; % Calculate torque Te = 1.5*(Ld-Lq)*id*iq; % Calculate acceleration alpha = (Te - B*omega0)/J; % Update angle and speed theta = theta0 + Ts*omega0; omega = omega0 + Ts*alpha; end % Parameter identification function function [Ld, Lq, Rs, J, B] = motor_id(theta, omega, id, iq, Ts) % Calculate d-axis inductance Ld = (theta(end)-theta(1))/(omega(end)*Ts*id(end)); % Calculate q-axis inductance Lq = (theta(end)-theta(1))/(omega(end)*Ts*iq(end)); % Calculate stator resistance Rs = (id(end)^2*R + iq(end)^2*R)/(2*id(end)*iq(end)*Ts*omega(end)); % Calculate moment of inertia J = (Te(end) - B*omega(end))/alpha(end); % Calculate friction coefficient B = (Te(end) - J*alpha(end))/omega(end)^2; end % MTPA control function function [Vd, Vq, id, iq] = mtpa_control(theta, omega, id, iq, omega_ref, Ld, Lq, Rs, J, B, Ts) % Calculate target current id_ref = Ld*omega_ref/(2*Rs); iq_ref = 0; % Calculate error id_error = id - id_ref; iq_error = iq - iq_ref; % Calculate voltage Vd = Rs*id + Lq*omega*iq + Ld*id_error/Ts; Vq = Rs*iq - Ld*omega*id + Lq*iq_error/Ts; end

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值