DI controller vs no controller

  • Thread starter Sam Groves
  • Start date
  • Tags
    Error
  • #1
Sam Groves
11
0
If we use a DI controller the error doesnt get better.Regarding the error it is the same as we didnt have any controller at all.But does the DI controller improve the recovery time or not to not having any controller at all?
 
Engineering news on Phys.org
  • #2
Hi,

Can you please read your post and agree that telepathy is required to make sense of it ?
Do present us with a complete case instead of leaving us guessing ...
Thanks !

##\ ##
 
  • Like
Likes Mark44, phinds, jrmichler and 1 other person
  • #3
Sam Groves said:
If we use a DI controller the error doesnt get better.
Maybe you have forgotten the P of PID.
In your case, being proportional may be important because there is an I or D, inherent in the control loop.
The right answer will be obvious, once you know the right question.

“The only interesting answers are those which destroy the question”. —Susan Sontag
 
  • #4
BvU said:
Hi,

Can you please read your post and agree that telepathy is required to make sense of it ?
Do present us with a complete case instead of leaving us guessing ...
Thanks !

##\ ##
What do you mean?
 
  • #5
Sam Groves said:
What do you mean?
What are you trying to control ?
 
  • #6
BvU said:
Hi,

Can you please read your post and agree that telepathy is required to make sense of it ?
Do present us with a complete case instead of leaving us guessing ...
Thanks !

##\ ##
What do you mean
Baluncore said:
What are you trying to control ?
A 1st order ot a 2nd order system.
 
  • #7
Given the great specificity of your posts, I'm confident that the answer is something, something, something.
 
  • Haha
Likes OmCheeto, berkeman, Vanadium 50 and 1 other person
  • #8
Sam Groves said:
A 1st order ot a 2nd order system.
This is like extracting teeth.
OK. Let's start at the beginning.
Was your failed attempt at a DI controller, implemented in software, in analogue electronics, or in something completely different ?

Later, we may ask, how you selected the time constants, or on what make and model hardware the controller runs. But let's not get ahead of ourselves, or we will not have all of January to think about it.
 
  • #9
Sam Groves said:
If we use a DI controller the error doesnt get better.Regarding the error it is the same as we didnt have any controller at all.But does the DI controller improve the recovery time or not to not having any controller at all?
Please provide more information. Currently no one has any idea what you're asking. Imagine we don't know what a DI controller is or what you're doing with it.
 
  • #10
This is the sort of subject where if you can't ask a question that experts can understand, you won't understand the answer.

Having said that, my general advice is to ditch the "D" part ASAP. It will just confuse you, and it's likely you don't need it anyway.
 
  • Like
Likes berkeman
  • #11
DaveE said:
This is the sort of subject where if you can't ask a question that experts can understand, you won't understand the answer.

Having said that, my general advice is to ditch the "D" part ASAP. It will just confuse you, and it's likely you don't need it anyway.
Yeah I agree I think PI controllers are the best.
 

What is a DI Controller?

A DI (Dependency Injection) Controller is a component in software development that manages the dependencies between objects. It acts as a central point where objects can be configured and dependencies can be injected at runtime, thus promoting loose coupling and more manageable code.

What are the main advantages of using a DI Controller?

The primary advantages of using a DI Controller include improved code maintainability, easier testing, and greater flexibility in changing dependencies without modifying the dependent classes. It also facilitates better management of lifecycle and scope of various components within an application.

What are the potential drawbacks of using a DI Controller?

Using a DI Controller can introduce complexity in the configuration and can potentially lead to issues if not properly managed. It might also increase the learning curve for new developers. Additionally, over-reliance on DI frameworks can lead to less transparent code, making it harder to trace and debug.

How does application development differ when not using a DI Controller?

Without a DI Controller, dependencies between classes are typically managed manually or through more traditional means such as factory patterns or service locators. This can lead to tighter coupling between components and can make the code harder to test and maintain. However, it might simplify development for smaller projects or projects where dependency injection provides little benefit.

Is a DI Controller suitable for all types of projects?

No, a DI Controller is not suitable for all types of projects. While it offers significant benefits for large and complex applications with many dependencies, it might be an overkill for small or simple projects where the overhead does not justify the benefits. The decision to use a DI Controller should be based on the specific needs and complexity of the project.

Similar threads

  • Electrical Engineering
Replies
3
Views
808
  • Electrical Engineering
Replies
12
Views
2K
Replies
3
Views
855
  • Electrical Engineering
Replies
23
Views
1K
Replies
6
Views
933
  • Electrical Engineering
Replies
4
Views
800
  • Electrical Engineering
Replies
12
Views
1K
  • Electrical Engineering
Replies
1
Views
672
Replies
31
Views
2K
  • Electrical Engineering
Replies
17
Views
2K
Back
Top