Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

dissimilar module operation

For general discussion related FlowStone

dissimilar module operation

Postby nimbusgb » Fri Oct 14, 2011 7:35 am

I have built a throttle position control module. its more of a 'rate of position change'. Input is a float -1 to 1 in the mid position 0 the output does not change. Moving the input below the mid position ie < 0, and the ouput ( 0 to 1 ) reduces. the further below the mid position one moves the faster the count down. similarly above the mid position the output increases with the rate changing in proportion to the displacement from the centre of the input.

this works
throttle-test.fsm
the test version works
(9.14 KiB) Downloaded 1282 times


but if i control the input with an xbox controller it only counts when the stick is moved to the limit either fully up - 1 input or fully down - -1 input..

x-throttle-test.fsm
but this doesn't
(14.88 KiB) Downloaded 1284 times


I'd appreciate some help on this one.
nimbusgb
 
Posts: 11
Joined: Sun Oct 09, 2011 5:55 am

Re: dissimilar module operation

Postby nkiernan » Fri Oct 14, 2011 4:32 pm

Hi Nimbusgb,

I worked on something similar and I'll try and gather up something to post here over the weekend. Are you intending to control servos with this? My intention was to emulate hydraulics for a project (same operation as you are trying to achieve), using the twin joystick from an Xbox controller and servos connected to a Lynxmotion SSC-32 servo board. Never got it completely finished as the servos were always too jumpy (maybe down to cheap servos!).
nkiernan
 
Posts: 7
Joined: Tue Oct 05, 2010 3:11 pm

Re: dissimilar module operation

Postby nimbusgb » Fri Oct 14, 2011 5:22 pm

In a roundabout way I am controlling a servo but only because I want to transmit values by xbee radio to a remote UAV platform. There is actually a microprocessor on board the UAV that does the flight control so I'm just sending process values to that system.

It could of course be used more directly which is why I have used a step count of 100 to get from 0 to 1.

Is there a 1khz trigger component or could an astable or signal generator be used to trigger the counter?
nimbusgb
 
Posts: 11
Joined: Sun Oct 09, 2011 5:55 am

Re: dissimilar module operation

Postby DSP » Mon Oct 17, 2011 1:09 pm

You will be pleased to here that there is actually a module already inside FlowStone that does this!

Check out the 'Slide' Module!

You could also use the PID if you want proportional control.

Here are both in a project:
Attachments
Throttle New.fsm
Slide & PID
(10.27 KiB) Downloaded 1232 times
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: dissimilar module operation

Postby nimbusgb » Thu Oct 20, 2011 1:32 pm

Excellent thanks
nimbusgb
 
Posts: 11
Joined: Sun Oct 09, 2011 5:55 am


Return to General

Who is online

Users browsing this forum: No registered users and 79 guests