September 26, 200520 yr Hi all.I have started building dual controls for my B737 sim.I will connect slide-pots, and assign the aileron and elevator input-commmands to my i/o cards. No problem.But when the autopilot is on, the controls follow that. Have anyone got something like that working? I have thought about step-motors, but I don
September 29, 200520 yr Hi JanWhat follows is only theory but should work:You need to read the elevator and aileron positions indicator offsets in FSUIPC, my list gives them as 0BB4 (elevator) & 0BB8 (aileron). You then need to compare them with their corresponding potentiometre readings, 0BB2 (elevator) & 0BB6 (aileron). You should then be able to use stepper motors to move the controls the required direction to make 0BB2 equal in value to 0BB4 and 0BB6 equal in value to 0BB8. (Actual position value of input equal to position indicator value). **THIS IS NOT CODE JUST A LOGIC EXAMPLE**Elevator routine If 0BB2=0BB4 (within + or - a small amount) then do aileron routine if 0BB4 > 0BB2 then move elevator down else move elevator upAileron routine If 0BB6=0BB8 (+ or minus a small amount) then do elevator routine or rest of code for everything else, systems etc If 0BB8 > 0BB6 then roll yoke left else roll yoke rightYou will need the small amount of error (+ or -) because I should think it unlikely that the stepper motor could put the potentiometer in exactly the right position to give exactly the correct reading to match the position indicator. One pulse from the steper motor could put it just over, the next pulse back would put it just under again and the result would be a jitter as it hunts a fraction that it can not achieve. Also you will see that once you move a control surface you should get on with the rest of your code or system logic and not go back and check and move. If you did this everything else would stop working until the control was aligned. From what I can see of most cockpit sytems they scan fast enough to make it look like a continuous process.Quite how you would do this is up to you, IOCards and SIOC (www.opencockpits.com) would be my choice but that is only personal because I already use them, though not for anything as ambitious as this. As for the mechanics of actually constructing this arrangement I can not help you.Hope this helps in some small wayRegardsSimonaka Simon Webbwww.desktopflying.co.ukVery slowely putting together a generic(ish with a heavy B737 influence) twin desktop unit. Sorry website not been updated for too long
September 29, 200520 yr Hi Simon.Thank you very much for your answer. It sounds very interesting, and I will begin to "investigate" this.As goes for the mechanical construction, I am progressing with this.My I/O solution is Phidget cards.When I have moved a bit further with the project, and have some more time, my intention was to build a website with drawings etc.Regards, Jan
Create an account or sign in to comment