rf1

1
% rf_cam.m % % This program determines the cam profile for a translating roller % follower. % Variables for calculation % rb=base circle radius % r0=radius of cam follower roller or cylindrical face % d = follower offset % xc=x coordinate of cam point % yc=y coordinate of cam point % xf=x coordinate of follower center relative to cam % yf=y coordinate of follower center relative to cam % rise = maximum follower displacement % direction = direction of cam rotation [CW(-), CCW(+)] % ainc = cam rotation angle increment (deg) % Graphics Variables % h1=handle on the first axes in the window (cam animation) % h2=handle on the second axes in the window (displacement diagram) % h3=handle on the fourth axes in the window (pressure angle) % Displ=line representing the follower displacement % dbead=bead which follows the displacement throughout the animation % Pangle=line representing the pressure angle % pabead=bead which follows pressure angle throughout the animation % stem=line for follower stem % roller=line for follower roller % cam=line for cam % baset=line for top of slider guide % baseb=line for bottom of slider guide % pin=line for the cam axis % bush=line representing the cam bushing % xmin, xmax= x limits for the axes % ymin, ymax= y limits for the axes

Upload: irqovi

Post on 16-Nov-2015

214 views

Category:

Documents


2 download

DESCRIPTION

bjkgbkjb

TRANSCRIPT

% rf_cam.m %% This program determines the cam profile for a translating roller% follower.

% Variables for calculation % rb=base circle radius% r0=radius of cam follower roller or cylindrical face% d = follower offset% xc=x coordinate of cam point% yc=y coordinate of cam point% xf=x coordinate of follower center relative to cam% yf=y coordinate of follower center relative to cam% rise = maximum follower displacement% direction = direction of cam rotation [CW(-), CCW(+)]% ainc = cam rotation angle increment (deg)

% Graphics Variables

% h1=handle on the first axes in the window (cam animation)% h2=handle on the second axes in the window (displacement diagram)% h3=handle on the fourth axes in the window (pressure angle)% Displ=line representing the follower displacement% dbead=bead which follows the displacement throughout the animation% Pangle=line representing the pressure angle% pabead=bead which follows pressure angle throughout the animation% stem=line for follower stem% roller=line for follower roller% cam=line for cam% baset=line for top of slider guide% baseb=line for bottom of slider guide% pin=line for the cam axis% bush=line representing the cam bushing% xmin, xmax= x limits for the axes% ymin, ymax= y limits for the axes