r/controlengineering • • Feb 13 '24

Career Switch?

4 Upvotes

Hi, I'm currently a computer science student. I recently got an intern offer for controls engineering for the summer. If I'm targeting embedded software engineering as a career, how hard do you think it would be to switch from controls engineering to embedded software engineering, if it is even possible? If so, how beneficial is this internship? Thanks! I thought I'd get some insight from the professionals here! :)


r/controlengineering • • Jan 17 '24

Proportional Controller Clarification

4 Upvotes

I am deeply confused by Proportional controller theory because it seems several web articles contradict each other.

Here's the situation: A heater is not running (0%). A room with open windows (heat loss) has a temp of 10degC A temperature p.controller is off but its setpoint is 20degC. Proportional gain is 0.5

If a proportional controller is turned on at t=0 and the Proportional action is P = 0.5 x (20 - 10) = 5. If P is 5, how does it become the new heater setpoint?

If the error is zero, the P is zero. What happens to the heater %, does it become 0 or does it stay the same.


r/controlengineering • • Jun 15 '23

pls help

Post image
4 Upvotes

r/controlengineering • • Jun 10 '23

Segway/inverted pendulum system identification

4 Upvotes

Hi all,

I've only taken 1 control theory course and am now tackling the first real world problem where I need to use it.

I am trying to make a theoretical plan to implement and test an algorithm for a device to help disabled kids walk. It is basically a self balancing wheel that has arms to hold a kid on their feet. Think like a Segway but the user is held in arms instead of standing on top of it.

I do not know of a way to finely tune the PID and guarantee stability (robust) without knowing the transfer function of the system. Without being to calculate one because physics hard, from what I researched, I can gather test data and use MATLAB to estimate the transfer function. The system variables would be displacement and velocity of the whole unit, and the angle of the arm.

My question is: How would you perform the tests to get that data?
For something simple like a room heater, I understand how you could use a step input and record the room temp rise and stabilize. Or a pendulum that you drop from a known height, and record the angle until it settles at the bottom. But for my problem I can't imagine what I would do.
Would I put a dummy weight in the seat, set the angle to 0 and drop it?
Would I put a dummy weight in the seat, set the angle to 0 and drop it while applying a step torque?
Would manually tuning a PID to get stable oscillation and looking at that data help?

Absolutely no idea here. Any feedback is appreciated. You can also tell me im wasting time and don't even need to find a model, there is another way to implement a robust PID tuning.


r/controlengineering • • Jun 09 '23

A master's in control theory vs one in electronics

4 Upvotes

Hi guys. I just recently graduated from my bachelor's in electronics and communications from India.
I've received an admit from TU Delft for their program in systems and controls and an admit from University of Sheffield for their program in Electronic and Electrical Engineering.
I want to work with mixed signal and motor controller design.
What would your recommendations be? Can I work in the field of electronics with a degree in controls? Especially in my field of interest?

Course Information for TU Delft - https://studiegids.tudelft.nl/a101_displayProgram.do?program_tree_id=28105
Course Information for Sheffield - https://www.sheffield.ac.uk/postgraduate/taught/courses/2023/electronic-and-electrical-engineering-msceng


r/controlengineering • • May 24 '23

Control systems question help

Post image
4 Upvotes

I'm very sorry. Can somebody please help me? I've asked my professor about this twice and he's not been especially helpful. Essentially what I'm supposed to do is map each pole zero plot to one of these step responses. It appears that I don't understand some basic things about overshoot and undershoot and I was hoping somebody could help me figure it out.

-Firstly, he told me that PZ6 is a constant gain. Controller because the poles and zeros will cancel each other out and they're stable. By my reckoning that means that the responsible start and end at the same value. So PZ6= tz6

-He also told me that if the relative degree is zero then the initial value of the response will be non-zero. Because of this, t5 is equal to PZ1 because it's the only remaining plot with that relative degree. The issue here is that he is persistent in telling me that t5 has overshoot. That doesn't make any sense to me because If PZ1 is it's pole zero plot, shouldn't it exhibit undershoot because there are zeros in the right half plane?

-He also told me that if a a pole zero plot has relative degree 2 then its initial slope is one, So PZ2 is equal to t4.

  • by my reckoning t3 and t2 both exhibit overshoot so their pole zero plots must have poles in the left half plane (pz4/pz5). Since T2 has a higher overshoot its pole has to be closer to the origin. So T2 corresponds to PZ5 while t4 corresponds to t3.

Finally, t4 has zero slope initially therefore, it has relative degree 2 and PZ2 is the only plot that has that.

Can somebody please tell me what's wrong with my reasoning? Honestly, I just don't understand why he says that t5 has overshoot when there's no remaining plot that could possibly connect to it?


r/controlengineering • • Apr 14 '23

Control engineering tools

4 Upvotes

Hey all, I was introduced to the concept of control systems in school and had a few questions regarding the reality of the field. My understanding is pretty shaky when it comes to state space models and the meaning of the poles and zeros, closed loop and causal systems all that stuff so apologies in advance for my fairly limited understanding of the incredibly deep well of nuance in the field.

The main point of control seems to be you have a dynamic system that has energy input into it and based on the dynamics whatever property or properties you're trying to affect responds to that or those inputs. But because of energy storage elements it's not as simple as input to output. And for a lot of systems whatever element you are trying to control gets measured and compared to a target, that error gets fed into the controller which gets fed into the plant, and the goal is to have the output of the plant match the input.

But feeding error into the plant won't always work when the response doesn't occur fast enough or there's steady state error or something. And since you can't change the dynamics of the plant you add dynamics to the system using the controller. And how the system responds to a new input seems to be a major factor of interest and is characterized by the rise time, settling time and overshoot of the step response, and max effort provided to the plant.

What I'm wondering is for siso systems at least it seems like there'd be software where you enter an s domain equation for plant dynamics or maybe a different mathematical model for the plant. And enter desired step response metrics. And it just designs a controller for you that meets the system's needs. Or at least gets as close as possible.

So does a software exist that designs response shaping controller dynamics based on a plant function and step response metrics exist? And with all the modern control techniques is that software something that, if it doesn't exist, would be useful if it did?

Thanks all, sorry for my lack of a deeper understanding of control theory. I know there are dozens of different architectures and methods for designing control systems that are incredibly sophisticated and I haven't even begun to wrap my head around. Learning how to design s domain controllers in school to meet step response performance metrics just seems like something that would be relatively easy to automate but i haven't heard of software that can do that beyond the self tuning pid designer in matlab


r/controlengineering • • Feb 22 '23

Effect of QR Matrices on LQR Stability

4 Upvotes

Background:

I have an LQR error-state controller for a 12 dimensional state vector (3 positions, 3 ang positions, 3 vel, 3 ang vel) and 4 dimensional input vector (beta angle, gamma angle, thrust force, yaw reaction wheel torque) that is producing very erratic results. It is being used to control a thrust vectoring rocket to track a trajectory defined by a reference state and reference input (x_ref, u_ref), both of which are a function of time. It is relinearizing the system at each time step currently (this rate will be lowered in final implementation).

The control law is: u = -k*(x - x_ref) + u_ref

System was confirmed to be fully controllable by ctrb matrix

QR were initially set with Bryson's rule (no hard limits on input are set currently)

The controller follows the trajectory well for a straight down landing burn trajectory, defined as:

Only x1_ref (altitude) and u3_ref (thrust force) are nonzero in x_ref, u_ref, initial condition is just a vertical displacement like x1 = 10 m

Response shown below (first picture)

yellow is desired trajectory, green is controller response, x axis is time, y axis is altitude

However, for any other initial condition or trajectory, the controller produces terrible results that don't even make sense, much less converge to any state or trajectory.

For ex: pi/120 rad pitch offset and 1 meter altitude offset

Response is shown below (second picture)

yellow/green is desired/actual atltiude (m), purple/blue is desired pitch and actual pitch (radians)

The altitude seems to try to stabilize but the pitch doesn't even seem to try. I suspect a fundamental issue with our implementation of the controller but I want to rule out the possibility of mistuned QR matrices causing this issue. Again, these results are from initial Bryson's rule, but maybe that isn't good enough of a QR estimate to stabilize the system.

Actual Questions:

  1. Is it possible for QR matrices that are not tuned effectively to cause an LQR controller to not stabilize in the manner shown above?

  2. If the answer to that question is yes, would setting the Q matrix value for a certain state very very high relative to the others and all the R matrix values very low guarantee that specific state would be stabilized if the controller is implemented correctly?

For ex:

Q = [.001 0 0;

0 .001 0;

0 0 999999999999],

R = [.001 0 0;

0 .001 0;

0 0 .001]

Would this QR configuration guarantee x(3) is stabilized if the system is controllable?

My team has never taken any coursework on these topics so we are learning as we go. Any help or clarification would be appreciated.


r/controlengineering • • Dec 19 '22

Happy Cakeday, r/controlengineering! Today you're 10

4 Upvotes

r/controlengineering • • Dec 13 '22

what is the principles for choosing the type of controller. ex: pid, lqr,... etc

4 Upvotes

r/controlengineering • • Nov 28 '22

Best books/resources to use.

4 Upvotes

Half way through my electronic engineering degree, currently undergoing a module in control engineering. Really struggling with the subject. Can anyone recommend any books or resources I can use to get my head around the subject? Preferably something the has emphasis on system modelling, transfer functions, PID etc.


r/controlengineering • • Nov 02 '22

Control Systems Manager Opening

4 Upvotes

Calling all Control Systems Engineers

My company is actively hiring for a Control Systems Engineer for one of our clients in the Redmond, Washington area. This position is a direct hire role so no contract work is involved with a pay rate ranging from $161,000 to $195,000 and does provide a relocation package for new employees outside of the Seattle/Redmond area. The requirements for this job include background in model-based concept design, C/C++, Matlab, Simulink, and basic DSP concepts.

If this sounds interesting then either apply below or comment on this post and we can chat about getting you submitted.

https://pdsjobs.force.com/candidates/job_detail?id=a1i1T000003YePk


r/controlengineering • • Oct 26 '22

Problem with estimating the Transfer Function for an NPC PFC

4 Upvotes

Hi there, I am doing a project at my university. My project is about the control of an NPC PFC Converter. Now, I archived some good results with just playing around and changing the parameters for the control but I want to make a scientific approach with estimating the transfer function (TF) of my PFC. The program I am currently using is PLECS which provides a small signal analysis (SSA). However the SSA only works for linear models such as DC/DC Converters. Since this doesn't work I had the idea to estimate the TF with the control system designer from Matlab which didn't lead to good results either. Some engineers I asked recommend to analyse a classical boost converter instead because it behaves like the same as the PFC. I am very careful with this statement because I don't see any relation between a NPC PFC and a classical booster.

Does anybody have any advice or an idea for me how to estimate the TF with a tool? Because estimating by hand would take long and does not aim for the goal in the project.

I know this is a very specific question and I appreciate any help. :)

Thank you very much in advance!


r/controlengineering • • Oct 10 '22

Project ideas

4 Upvotes

Im on my 5. th semester and i am finding control systems very interesting. At the university there is a much focus on the theory and I miss doing projects. I want to apply the theory in practice.

I therefore want do a project in my spare time, but I lack ideas. Can you share some of your best/most learning projects you have done?


r/controlengineering • • Sep 01 '22

What are current research topics in control theory/engineering

4 Upvotes

Hey guys, I am an EE undergrad student and I am interested what current research topics in control theory/engineering are. Maybe you can give me some insight. Thanks!


r/controlengineering • • Aug 14 '22

How do I set up a PID on a IDEC?

4 Upvotes

Hello, I’m a technician and I’m learning how to do ladder logic on a Idec plc, I have the whole system working I just want to implement a PID for the motor. I believe I set the control register as the pressure transducer, but I don’t know really what to set the initialization input, and the control relay as. I believe I understand how to set the high and low limits, also not to sure on the auto/manual side of it. I was shown how to set one up on Siemens and I’m having a thought time trying to translate it to Idec.


r/controlengineering • • Jul 26 '22

How do I go about modeling a dirt road for simulating driving on it?

4 Upvotes

Hi, I'm an EE (recent grad) and I'm trying to work on a personal project.

The project is just modeling and simulating a vehicle, let's say a go kart, that drives on different types of road, whether gravel, snow, ice, dirt, etc, and see how the vehicle performs.

The second level of this is that I want to simulate a vehicle's ground drive and how it would perform in different conditions.

I'm not very well versed with the mechanical side of things which is why I'm here looking to see if someone can point me in the right direction for me to figure it out.

I'll be using Matlab, Python, and/or C++

The reason behind the 3 is that most Control systems, and simulation & modeling jobs that I've seen, have these as requirements so I figured I'd challenge myself since I do know them but I've never modeled anything without Simulink.

My first thought is that I need would need the friction coefficient for the different types of roads. From there obviously the shape of that road, is it straight, does it curve, etc, and that's where I'm stuck.

What other properties should I be looking at?

I was thinking of making the road as one class and the type as another, from there how would I see the system react? How do I have this vehicle that I'd already have a model of drive on the road and actually react as close to realistically as possible?


r/controlengineering • • Jun 07 '22

Interested in sharing your knowledge on PLC systems or applications with the engineering community on Control Automation?

Thumbnail self.aac
4 Upvotes

r/controlengineering • • Apr 18 '22

Aspiring Control Engineer here, what are some tools I can use to learn more about this field?

4 Upvotes

Hi. I'm a first year electrical and electronics engineering student, I am thinking of choosing the control field for my technical electives, are there online sources, books etc. I can use to learn more about this field?


r/controlengineering • • Feb 17 '22

Process control masters

4 Upvotes

Hi, I just wanted to know if anyone had completed a process control masters, and where it has taken them?

Thanks


r/controlengineering • • Feb 12 '22

Looking for a book about Fuzzy Control?

4 Upvotes

Hey everyone,

Years ago, I found a book about Fuzzy Control. On the cover page there was Lotfi A. Zadeh recommendation which said: The author earned an A+ for explaining Fuzzy Logic.


r/controlengineering • • May 14 '21

State-space problems

4 Upvotes

I have a model of four masses connected by springs and dampers. I want to derive the state space equations for the model. The input however is not as straightforward as having the force applied to the first mass (that would’ve been much simpler). Rather, my input is the position of the first mass and my output is the position of the last mass. I’m running into trouble since the equations of motion include the derivative of the input. Ant ideas of how to solve this?


r/controlengineering • • Apr 11 '21

Transfer function of a shell and tube heat exchanger

4 Upvotes

Hi there. I'm just wondering what the transfer function of a shell and tube heat exchanger is where the input is the flowrate of the cold fluid and the output is the temperature of the hot fluid.


r/controlengineering • • Mar 23 '21

Sources for better understanding automation and controls

4 Upvotes

Looking for sources on better understanding automation and controls. Like basic (e.g., types of inputs/outputs, communication protocols, etc.) with capability of working up to more advanced material.

Currently a process engineer and I'm learning a lot on the job but want to compound this with self learning. For reference, at work I'm currently doing a system migration over to FactoryTalk. Dealing with a lot of Allen-Bradley hardware and I'm interfacing with controls engineers and don't want to sound completely stupid.

Would appreciate any recommendations. Also, if you think I should post this on other subreddits would appreciate those recommendations as well.