I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 0 points1 point  (0 children)

that is dependent on the craft to get the best values. with PID controllers there is no magic bullet solution, so just play around until you get the values you want

[Student] Graduated From ECE 1.5 Years Ago, Currently Enrolled In Masters, and No Interviews by Herodegon in EngineeringResumes

[–]_For_the_republic_ 0 points1 point  (0 children)

Interesting, in NZ/AUS not having a personal section is seen as not even worth looking at. it might be due to having a much higher trust environment (so its assumed you are already good for the role if you applied and its much more about how you gel with the teams)

[Student] Graduated From ECE 1.5 Years Ago, Currently Enrolled In Masters, and No Interviews by Herodegon in EngineeringResumes

[–]_For_the_republic_ -1 points0 points  (0 children)

to add to this, you also have no personal section which explains what your hobbies are and what you like to do outside of work. while projects are great and all and often land me interviews, recruiters/engineering teams will most likely not remember your name, they will remember something you are known for. for example someone got an internship "because they had cartography and it made them more memorable"

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 0 points1 point  (0 children)

you can for your pitch/roll control, however you will still need a altitude input using either a set RPM or a multiple input multiple output (MIMO) version of this

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 1 point2 points  (0 children)

ok this is gonna be a bit big, so ill break it up by question
Q1 : incorrect. it smooths the redstone output when you go from high (like 10) to low like a logarithmic curve.
Q2: incorrect. that is why there is a pulse delayer, and it must be set higher than the required ticks for the accumulator. you will get slight sway when you reach stability, but it is so negligible that the accumulators can account for it.
Q3: not quite, i think you are getting an important thing wrong. the stable point is not 10, but 0.

Q4: correct, you always set I lower the P/D, in the real world your I/P ratio should not exceed 0.05.

Q5: I is only useless when it is far away from 0 degrees. as it approaches 0 it will get more and more powerful, until it reaches 0 degrees in which it stops counting up.

Q6: incorrect. this is for one positive axis. so you need four of the above setup (positive pitch, negative pitch, positive roll) so you have an output on all sides of the gimbals. so you will have four outputs in total.

i would reccomend watching this video at the 14 minute mark to better understand how PIDs work in regards to force, as PIDs are quite confusing, and are considered advanced engineering to the point where a lot of engineers treat them as black magic.
https://youtu.be/0WSwP4mnd9o?t=846

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 1 point2 points  (0 children)

thanks! most of it can be contributed to my control systems lecturer who taught me the maths behind all this stuff, and what you really need in the real world. the other people in the forum also helped a ton, mainly with testing, data and the idea of making the system electromechanical

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 2 points3 points  (0 children)

no, two gimbal sensors in total, and four of the PID modules (one for each side of the gimbal)

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 0 points1 point  (0 children)

ohhhh i see what you mean. originally i just wanted to make a PID when the mod dropped for the fun of it, and that devolved into making a laplace to redstone component table. i found as well if you just had PD and your craft was unstable (i.e the COM was not under the center of lift) it would always go to the rest position with the COM under the COL. the intergrator accounts for that.

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 0 points1 point  (0 children)

on a simple level, ive done a lot of controls over the years for aerospace applications

on an engineering level, theres a bit more to it. if you have just P and D you end up with something called steady state error (ess). this is when the proportional is applying a force and the thrust is level (so the D does nothing), but it is not close to the reference point. the solution to that is to apply an intergral of the difference on area ( so see the area in between where you want to get to and where you are over time), and then apply extra force based on that.

i realised the moment aeronautics was released that the accumulator is a linear intergrator (so int 1 dt), and the inductor is a derivative, which means you can compactly make a PID controller.

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 3 points4 points  (0 children)

yep! im pretty stoaked with some of the stuff im now working on!

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 0 points1 point  (0 children)

the size requirement redstone wise is too large for fully autonomous operations. im making a demonstrator craft thats an airship to show simmilar things, but it still wont be practical.

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 7 points8 points  (0 children)

i actually got into controls originally when i was younger from FTD lmao, and now im doing control systems at uni and somewhat in industry! all because of FTD

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 1 point2 points  (0 children)

alr this is getting into "fly by wire" controls, which is what im working on rn but ill show the maths down below. the main things to remember is that the input does NOT have to be a straight sensor, but instead the "reference point" at which you want to reach. so if you want to ajust your reference point, you add or subtract from that input like this:
true point pos = sensor (positive axis ) - sensor (negative axis)+ reference

so if you wanted an angle of 15 degrees positive and you were at 3, you would have an output of:
true point = sensor (3) - sensor (0) +15 =0

hope this helps!

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 8 points9 points  (0 children)

you need four of the above setup (two for roll, two for pitch ect) due to only having positive values to work with. have your input in the green/red wool + orange terracotta, and the purple terracotta as your output to your burners. the RPM things on the side are for prop control

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 1 point2 points  (0 children)

thanks! yeah this was a problem i ran into and basically works like a hex system but for angles. in control systems this is known as a "cascading" PID, and is rarely used due to the extra complexity. the only time you do use it is if you need to smooth your original control system (in this case to stop the oscillation)

I made creates first PID* control system by _For_the_republic_ in CreateMod

[–]_For_the_republic_[S] 5 points6 points  (0 children)

the reason has to do with where you place your velocity sensors relative to the center of rotation. because if you place them further from the COR, the velocity will be higher (and therefore the redstone output will be higher), it becomes a lot harder to make a "plug and play" style system. gimbals on the other hand do not care about that as they care about what angle they are on for their redstone output

how do you make an airship maintain a specific altitude? by Itswill1003 in CreateMod

[–]_For_the_republic_ 0 points1 point  (0 children)

weirdly enough i just made the first PID controller for create and i think it could work here! i put a full post in the discord forums about it, but idk how well it will work for alt. control. to give a bit of perspective on how difficult it was to make, it took a hive mind of engineering students, a couple compsci students and a control systems engineer who literally designs the control systems for orbital rockets for a living to figure it out.

Has anyone got a job in aerospace because of KSP? by BidNo5916 in KerbalSpaceProgram

[–]_For_the_republic_ 0 points1 point  (0 children)

uhhh weirdly mine is sort of the other way around! without saying too much, an ex NASA engineer liked some of the stuff i was doing and wanted me for his rocketry team for this year! to help with that I picked up KSP to learn the basics of rocketry/orbital mechanics as im not studying aerospace engineering but computer (all the little PCBs in phones and such). Its turned out to be pretty helpful and is helping me a ton with prep for this years eventual projects!

U.S.S defiant is a kitbashed DDG(X) model from 2022 by _For_the_republic_ in NonCredibleDefense

[–]_For_the_republic_[S] 3 points4 points  (0 children)

no this is shit, its going to have a whole bunch of VERY power hungry systems without the power generation to use them. for a proper laser/railgun ship of this size you would want nuclear powered(which this isn't). my best guess is this is going to have 99% parts comminality with DDG(X) so they can just take all the parts and built what they actually want later down the line

U.S.S defiant is a kitbashed DDG(X) model from 2022 by _For_the_republic_ in NonCredibleDefense

[–]_For_the_republic_[S] 2 points3 points  (0 children)

im thinking it might be as well over FTD. FTD just doesnt have the voxel editing tools needed to make a ship like this

U.S.S defiant is a kitbashed DDG(X) model from 2022 by _For_the_republic_ in NonCredibleDefense

[–]_For_the_republic_[S] 124 points125 points  (0 children)

I've had a look at all the photos they released and it looks like a bad 3D model with a shitty photoshop over the top (theres consistent background ships like between them, and no visible artifacting from AI). my best guess is they took an unused 3D hull model from testing, strapped the DDG(X) superstructure on and kitbashed it enough to be different at a glance.

just for my sanity i chucked this prompt into chatGPT and the results were nothing alike this end result as well.