代码搜索结果
找到约 769 项符合
Servo 的代码
servo.h
#ifndef _SERVO_H_
#define _SERVO_H_
#include "config.h"
extern unsigned char servo_pos;
void servo_init(void);
void servo_set_pos(unsigned char servo_pos);
unsigned int servo_generate_bmp(unsigned cha
chap9_3.m
%PID Control with Stribeck Friction Model
clear all;
close all;
global w A alfa J Ce R Km Ku S a1 Fm Fc M kv
%Servo system Parameters
J=0.6;Ce=1.2;Km=6;
Ku=11;R=7.77;
w=1*2*pi;A=0.10;
al
chap9_5i.m
%Three Loop of Flight Simulator Servo System with Direct Current Motor
clear all;
close all;
%(1)Current loop
L=0.001; %L
chap9_6i.m
%Three Loop of Flight Simulator Servo System with two-mass of Direct Current Motor
clear all;
close all;
%(1)Current loop
L=0.001; %L
chap7_5.m
%Nonlinear PID Control for a servo system
clear all;
close all;
ts=0.001;
J=1/133;
q=25/133;
sys=tf(1,[J,q,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
r_1=0;r_2=0;
u_1=0;u_2=0
timer0.c
#include "main.h"
volatile unsigned int CountMilliseconds = 0;
volatile static unsigned int tim_main;
volatile unsigned char UpdateMotor = 0;
volatile unsigned int cntKompass = 0;
volatile unsi