collapse

* Who's Online

  • Dot Guests: 26
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Recent Topics/Posts

I am a newbie who took off from Japan sir by Atlas
[May 16, 2024, 12:43:47 PM]


Mag switches with DCS by questerymj
[May 11, 2024, 08:11:05 AM]


USAeroSim DCS F16c CDU Software by snakedoc
[May 10, 2024, 09:10:22 AM]

Author Topic: BMS stick trim pitch problem  (Read 4421 times)

Offline bluc69

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: May 2012
  • Location: Lecco
  • Posts: 596
  • Country: it
  • Luca "Merlin" Bolis
  • VP Awards Most Time Online Award: Awarded to those 30 members with most time on the forum Old Geezer Award: Awarded after 10 years of community service
    • Awards
BMS stick trim pitch problem
« on: May 17, 2014, 08:50:24 AM »
I have installed the Trim Panel that now works with AIC pcb (thanks Arend!!).
Everything on the panel work correctly: as I rotate the three pots the plane trim as expected.

The problem is when I use the Hotas Stick trim: while the roll trim works correctly overriding the Trim Panel roll pot control, the pitch doesn't work.
If I move the hotas hat up or down the trim tries to move but then it seems that the pitch pot position takes the control and reset the trim.
I have disabled the pitch pot in the BMS setup and the stick regains its function.

Could someone tells me if this is a BMS bug or if I'm doing something wrong?

Offline bluc69

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: May 2012
  • Location: Lecco
  • Posts: 596
  • Country: it
  • Luca "Merlin" Bolis
  • VP Awards Most Time Online Award: Awarded to those 30 members with most time on the forum Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: BMS stick trim pitch problem
« Reply #1 on: May 17, 2014, 09:54:17 AM »
UPDATE:
After some test I discovered it isn't a Trim problem as all the Trims work correctly.
It's just a problem with the needle that, for some reason, resets to the middle.

I have the same problem on AIC panel and on 3d cockpit...
« Last Edit: May 17, 2014, 01:15:13 PM by bluc69 »

Offline Cupra

  • General
  • ******
  • Join Date: Jun 2009
  • Location: Solothurn
  • Posts: 1970
  • Country: ch
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts
    • 1st VFW "Glory Wings"
    • Buy me some coffee
    • Awards
Re: BMS stick trim pitch problem
« Reply #2 on: May 17, 2014, 03:12:19 PM »
You used the switch on the panel to select disc trim?

JJ

  • Guest
Re: BMS stick trim pitch problem
« Reply #3 on: May 17, 2014, 04:18:54 PM »
Do you use XKEYS for the hatswitch on the SSC ??

Offline bluc69

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: May 2012
  • Location: Lecco
  • Posts: 596
  • Country: it
  • Luca "Merlin" Bolis
  • VP Awards Most Time Online Award: Awarded to those 30 members with most time on the forum Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: BMS stick trim pitch problem
« Reply #4 on: May 17, 2014, 05:41:08 PM »
Solved!
It was just a problem with the pot's dead zone.

Offline Falcas

  • Maj. General
  • *****
  • Join Date: Nov 2005
  • Location: Purmerend, The Netherlands
  • Posts: 334
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • http://www.weapondeliveryplanner.nl
    • Awards
Re: BMS stick trim pitch problem
« Reply #5 on: May 20, 2014, 06:04:54 AM »
Hi,

If you use pots on the trim panel and actually use them in BMS as well, the axis will always overrule any other trim input. So as you said, you can use a large dead zone for the axis and never use the pods. IRL you will hardly (never) use these anyway, as you always use the hat switch. (its a pilot thing  ;) )
The other option, which I use, is not using a pot but rotary encoders. This way you can use both at the same time.

Gr Falcas

My site: Weapon Delivery Planner Ver 3.7.11.117
MC Ver 0.5.10.398
WC ver 1.3.0.11
Set HUD only 1.4.0
AIC ver 6.5.7

Offline Nikolas_A

  • Global Moderator
  • General
  • *****
  • Join Date: Oct 2004
  • Location: Athens, Hellas
  • Posts: 3773
  • Country: gr
  • VP Awards 3000+ posts Award: Awarded for achieving over 3000 posts Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum
    • Awards
Re: BMS stick trim pitch problem
« Reply #6 on: May 21, 2014, 03:57:36 AM »
The best option IMHO is to make it work like the real thing. Use motorized pots, and make the stick hat operate the motors. Then read the pots in BMS

Offline MrWell

  • General
  • ******
  • Join Date: Dec 2012
  • Location:
  • Posts: 1642
  • Country: es
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #7 on: May 21, 2014, 05:39:49 AM »
I'm in doubt with this too. Could motopots be operated manually too? and how can you control the motors with the stick clicks?.
Thanks!


Offline MrWell

  • General
  • ******
  • Join Date: Dec 2012
  • Location:
  • Posts: 1642
  • Country: es
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #9 on: May 21, 2014, 05:20:33 PM »
Thanks Rufus,
I read Henkie thread and I had these motor pots located but I don´t understand the way the stick operates the motor.
Do you use pokeys (or other one) and when it receives an input from the stick trim it sends...what?.  I don't know how to make pokeys to operate a motor...  :brickwall:

Offline Rufus

  • General
  • ******
  • Join Date: Feb 2012
  • Location: California
  • Posts: 6052
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum 3000+ posts Award: Awarded for achieving over 3000 posts Silver Cup Award: Awarded to someone for a special achievement Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #10 on: May 21, 2014, 08:45:51 PM »
Yes - I'm planning to use Pokeys, but I haven't gotten to that point in my build yet.  What you'd need to do is write a macro in the Pokeys that will not only output the keystroke for the proper Trim input to the sim, but also activate the proper digital output pin at the same time.  At least that's what I'm thinking about doing - Pokeys has digital output pins and all you need do is determine if the motor needs to be run up or down and let a pin provide that output.  Looking at the spec for the pot's motor it looks like you may be able to do that directly from the Pokeys digital out pin, if it will supply 5 VDC.

Another one of the nice things about these pots is they are stereo...two channels - so you can use one channel for control and one for feedback. 
Then one of the channels on the pot can be fed to an analog input of the Pokeys and calibrated to the Trim position, and the other used to insure the pot position matches...or something like that - I'm still thinking... :notes: ...
- Rufus

Offline MrWell

  • General
  • ******
  • Join Date: Dec 2012
  • Location:
  • Posts: 1642
  • Country: es
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #11 on: May 22, 2014, 03:11:53 AM »
OK, I think I got it. I didn't know outputs in HiGH could move a motor then I understand that one could move one way little by little and another to the other way but I'd rather use a Darlington transistor to supply the motor like with leds (ULN2803a).

Now, I know how to use a pot to control but I not very sure about the feedback one... thinking too  :reading:

I am not on the construction of that panel either but I like to have all PCBs and schematics before or at least know how it should be ;)

Thanks for the help! 


Offline MrWell

  • General
  • ******
  • Join Date: Dec 2012
  • Location:
  • Posts: 1642
  • Country: es
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts
    • Awards

Offline Red Dog

  • Administrator
  • General
  • *****
  • Join Date: Mar 2004
  • Location: Brussels
  • Posts: 3956
  • Country: be
  • VP Awards 3000+ posts Award: Awarded for achieving over 3000 posts Gold Medal Award: Awarded for special contributions to the community Outstanding Build Award: Awarded for an outstanding pit build Top Poster Award: for those 30 members with most posts Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum
    • Buy me some coffee
    • Awards
Re: BMS stick trim pitch problem
« Reply #13 on: May 22, 2014, 03:44:42 AM »
Quote
IRL you will hardly (never) use these anyway, as you always use the hat switch. (its a pilot thing  ;) )
that's strange because my personnal experience is different :)
i hardly use the stick trims in bms and i always use the wheels on the mantrim :)
although irl, i do use the stick trim :)
Have a bandit day - Red Dog
Red Dog flight sim's stuff
Red Dog models
Red Dog PPL
Red Dog Discord: 947914531772964865

Offline Nikolas_A

  • Global Moderator
  • General
  • *****
  • Join Date: Oct 2004
  • Location: Athens, Hellas
  • Posts: 3773
  • Country: gr
  • VP Awards 3000+ posts Award: Awarded for achieving over 3000 posts Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum
    • Awards
Re: BMS stick trim pitch problem
« Reply #14 on: May 22, 2014, 04:12:19 AM »
What you'd need to do is write a macro in the Pokeys that will not only output the keystroke for the proper Trim input to the sim, but also activate the proper digital output pin at the same time.

Not a good idea. In my opinion you should not send keystrokes from HOTAS to BMS. Only the analog value of the pot. So it's either:

HOTAS trim -> motorized pot -> BMS

or

manually operating the pot -> BMS

If you send both keystrokes and analog values to BMS on will override the other

Offline Rufus

  • General
  • ******
  • Join Date: Feb 2012
  • Location: California
  • Posts: 6052
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum 3000+ posts Award: Awarded for achieving over 3000 posts Silver Cup Award: Awarded to someone for a special achievement Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #15 on: May 22, 2014, 02:47:01 PM »
What you'd need to do is write a macro in the Pokeys that will not only output the keystroke for the proper Trim input to the sim, but also activate the proper digital output pin at the same time.

Not a good idea. In my opinion you should not send keystrokes from HOTAS to BMS. Only the analog value of the pot. So it's either:

HOTAS trim -> motorized pot -> BMS

or

manually operating the pot -> BMS

If you send both keystrokes and analog values to BMS on will override the other

That's not really what I'm saying to do - the Trim hat has to make two things happen: 1) send the key for Trim when actuated as it is usually activated in "clicks" of Trim; 2) move the Manual Trim motor and provide an analog Trim input.  What needs to happen is for either the pot or the hat to supply the Trim input, so those inputs also need to be made mutually exclusive.

The end goal is to be able to simulate/replicate a failure of the Trim hat input - like getting shot up, having some sort of FCC failure, and being forced to use the Manual Trim wheels.  I'm assuming that in this case the sim will ignore the hat input...hence my thinking that I also need a feedback loop on the pot position to make sure it matches the last driven position of the stick input.

It may prove simpler than this...if there are actually two inputs - one for MAN and one for HOTAS.  But I likely still need to insure they are synched somehow.
« Last Edit: May 22, 2014, 08:22:23 PM by Rufus »
- Rufus

Offline Road218

  • Col.
  • *****
  • Join Date: Oct 2013
  • Location: Danger Zone!
  • Posts: 114
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills
    • Black Operations
    • Buy me a beer
    • Awards
Re: BMS stick trim pitch problem
« Reply #16 on: May 22, 2014, 08:51:49 PM »
The best option IMHO is to make it work like the real thing. Use motorized pots, and make the stick hat operate the motors. Then read the pots in BMS

@Nikolas
Your solution is simply perfect. Just like any real aircraft; you have manual pitch trim and if you are luckly you have a electric motor driving the trim from the flight yoke or stick with a disconnect switch to disable it in the event of a failed switch causing a run away trim up or down condition. Just like the real F-16. GREAT input!
« Last Edit: May 22, 2014, 09:04:21 PM by Road218 »
Eric "RoadRunner" Taylor


Creator of FalconGauges,  CPD-FG4 for BMS, P51 and BF-109 Gauges for IL-2, and Mirage2000 Gauges. 

Yes I like to write gauge software when not working on my pit.

Offline Rufus

  • General
  • ******
  • Join Date: Feb 2012
  • Location: California
  • Posts: 6052
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum 3000+ posts Award: Awarded for achieving over 3000 posts Silver Cup Award: Awarded to someone for a special achievement Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #17 on: May 22, 2014, 10:16:54 PM »
The real Manual Trim panel has servos connected to the Roll and Pitch wheels which move the wheels when the Trim hat is actuated - selecting DISC on the MANUAL TRIM panel both disengages those servos (which also incorporate a slip clutch), and disengages/locks out the Autopilot....the Trim wheels also have mechanical stops.  That's how the jet works and that's how I want my setup to work...I just have to figure out how to do it...

Somewhere around here someone had posted pics of the guts of a real one and I didn't grab them...I'll see if I can find that post and add a pointer.
- Rufus

Offline Red Dog

  • Administrator
  • General
  • *****
  • Join Date: Mar 2004
  • Location: Brussels
  • Posts: 3956
  • Country: be
  • VP Awards 3000+ posts Award: Awarded for achieving over 3000 posts Gold Medal Award: Awarded for special contributions to the community Outstanding Build Award: Awarded for an outstanding pit build Top Poster Award: for those 30 members with most posts Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum
    • Buy me some coffee
    • Awards
Re: BMS stick trim pitch problem
« Reply #18 on: May 23, 2014, 03:39:51 AM »
lacking the motorized pot, here 's what is relatively easy to do
<a href="http://www.youtube.com/watch?v=LTOUfw1cpd4" target="_blank">http://www.youtube.com/watch?v=LTOUfw1cpd4</a>
it would have been neat to have the knobs moving along but honestly i didn't find it worth to invest in motorized pots 
Have a bandit day - Red Dog
Red Dog flight sim's stuff
Red Dog models
Red Dog PPL
Red Dog Discord: 947914531772964865

Offline Rufus

  • General
  • ******
  • Join Date: Feb 2012
  • Location: California
  • Posts: 6052
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum 3000+ posts Award: Awarded for achieving over 3000 posts Silver Cup Award: Awarded to someone for a special achievement Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #19 on: May 23, 2014, 02:54:24 PM »
Been thinking a bit more on this and had a look at the Dash 1 - in Figure 1-47 it says about the TRIM/AP DISC switch -

"Deenergizes stick TRIM button, prevents autopilot engagement and ATF/autopilot blending, and deactivates trim motors (manual trim wheels still operative)"

So this is what we are trying to implement if we want it work the way the jet does - the MAN TRIM panel and the stick need to retain distinct function, but mirror each other in position.  The assumption is that if the sim invokes an FCC failure that fails the hat the Trim hat (key) input will be ignored, the motors won't move, and then you will have to use the wheels - so you need to be able to get the Trim inputs from the pots...and maybe only the pots; I could use another non-Trim associated key for the hat to to drive the motor signal I suppose.  But that probably won't play with what the sim expects as far as failing the hat goes.

Since I'm going to use motor pots what I'm planning to do is mechanically connect the Trim position indicators to my pots/wheels seeing as they both move at the same time no matter how the Trim signal is commanded and if the hat is failed they don't move at all. 

But after reading the Dash 1 I'm thinking that the only reason a pilot would use the DISC switch is if the autopilot has the control surfaces stuck, and also thinking that the TRIM/AP DISC switch needs to do a couple of things if you are using motor pots and want your panel to work like the actual aircraft - 1) interrupt the circuit for actuating the pot motors; and 2) send switch state to the sim so the sim can cancel/inhibit the Autopilot.

In the ideal case you'd want to use a TPTT switch...I think.  With a DPDT switch you can interrupt the motor circuit for each pot, but I can't see how you'd also matrix the switch state since the two poles would be carrying voltage.  I hope I haven't bought a TW series switch for this one yet...I need to consider my solution in further detail first.
« Last Edit: May 23, 2014, 03:09:19 PM by Rufus »
- Rufus

Offline henkie

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: Oct 2009
  • Location: Helmond
  • Posts: 4535
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 3000+ posts Award: Awarded for achieving over 3000 posts Most Time Online Award: Awarded to those 30 members with most time on the forum Gold Cup Award: Awarded to someone for a special achievement Gold Medal Award: Awarded for special contributions to the community Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Top Poster Award: for those 30 members with most posts Electronics Guru Award: Awarded to those with special electronics skills
    • Henk's Viperpit developments
    • Buy me a soda
    • Awards
Re: BMS stick trim pitch problem
« Reply #20 on: May 23, 2014, 03:19:55 PM »
I must re-read this when I am not tired.
As far as I understand, my solution will work. It is just a matter of software, so I'm flexible  ;D
(my approach can be read on my website).

- Henk

Offline Rufus

  • General
  • ******
  • Join Date: Feb 2012
  • Location: California
  • Posts: 6052
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum 3000+ posts Award: Awarded for achieving over 3000 posts Silver Cup Award: Awarded to someone for a special achievement Top Poster Award: for those 30 members with most posts
    • Awards
Re: BMS stick trim pitch problem
« Reply #21 on: May 23, 2014, 03:55:52 PM »
You're the one that started me down this road, Henkie - I trust ya... :thumbsup: !

I also re discovered this input to me from Nigel -

http://www.viperpits.org/smf/index.php?topic=8750.msg113966#msg113966
- Rufus

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal