Register to reply

Output of Lead-compensator

by huntflex
Tags: leadcompensator, output
Share this thread:
huntflex
#1
Feb15-13, 07:46 AM
P: 27
1. The problem statement, all variables and given/known data

Hello, I'm not looking for an answer to my problem, just some hints. Any help would be greatly appreciated.
I am required to control a hexacopter, so I'm designing a lead compensator to control the height, it should be able to counteract the pull of gravity. So far I have designed it, but my problem is that I need its output to be in PWM form.
I already have a scaling which is a= 0.1956 N/PWM, it is also given that a value of 143 PWM will generate hover thrust.(These constants are found from tests on the motor, and are for all 6 motors).

2. Relevant equations
I realize that the feedfwd (see block diagram) should be some value, but I don't know what.


3. The attempt at a solution

Attached is a snapshot of the block diagram.

Thanks for any help :)
Attached Thumbnails
Capture.jpg  
Phys.Org News Partner Science news on Phys.org
What lit up the universe?
Sheepdogs use just two simple rules to round up large herds of sheep
Animals first flex their muscles
CWatters
#2
Feb17-13, 05:03 AM
P: 3,143
I've long since forgotten my control theory but what does 143PWM mean? What are your units for PWM in a= 0.1956 N/PWM ?

Is it a = 0.1956 Newtons/percent ?

If the pulse width modulation can vary from 0% to 100% how can you have 143%
huntflex
#3
Feb17-13, 06:09 AM
P: 27
That is actually a very good question, what I can see from the data that was given to me is that the transfer function for the motor was derived by subjecting it to steps from 150 PWM to 170 PWM, from there a linear regression could be made, and from there it is derived that the slope is a = 0.1956 Newton/PWM. Which means for every PWM sent in, 0.1956 Newton is added to the system.

huntflex
#4
Feb19-13, 05:06 AM
P: 27
Output of Lead-compensator

I just found out, that it's how the Arduino board works, you write 0-255, where 0 is 0% duty cycle, and 255 is 100 % duty cycle


Register to reply

Related Discussions
Lead-Lag Compensator: Band-Pass Filter Electrical Engineering 5
Using multimeter, why do we hold its red lead to -ve and black lead to +ve terminal? Classical Physics 5
Recapture Pb (lead) from hydrocerussite (powered white lead) - HOW ? Materials & Chemical Engineering 1
Parameters for Root Locus Method using Lead Compensator General Engineering 2
Lead/Lag compensator - lead and lag time to pole and zero locations Engineering Systems & Design 2