Skip to content

Navigation Menu

Sign in
Sign up

Questions about the user settings in example "Get_All_Tunings" #27

Answered by FelixWT
FelixWT asked this question in Q&A
Discussion options

Hi, I'm newbie to this and forgive me asking some stupid questions.

uint32_t settleTimeSec = 10;
uint32_t testTimeSec = 500; // sample interval = testTimeSec / samples
const uint16_t samples = 500;
const float inputSpan = 200;
const float outputSpan = 1000;
float outputStart = 0;
float outputStep = 50;
float tempLimit = 150;

I use a relay as outputin my system,and here is my question:

  1. settleTimeSec is define as prior settling time according to this. I'm guessing this is the cool down time between every test or something like dead time maybe?
  2. Does inputSpan equals to the physical limit of the actuator ? For example, I have a heater which can heat up to 220°C does inputSpan equals to (220 - room_temperature)?
  3. Does setting outputSpan to 1000 means it will send high low pulse to relay every second?In case I didn't make myself clear here a picture what I meant.

image

  1. outputStart= room temperature when the process start?
  2. outputStep= target temperature?

Thanks.

You must be logged in to vote

I figure it out , incase some newbie like me this is may conclusion (might not be accurate but this works for me):

/// @brief Prefix Time(sec)
uint32_t settleTimeSec;
/// @brief Test Span(sec)
uint32_t testTimeSec;
/// @brief Amount of Samples within Test Span
uint16_t samples;
/// @brief Δ °C to Target Temperature
float inputSpan;
/// @brief Full Control Span
float outputSpan;
/// @brief HEAT UP SPAN Within Prefix Time
float outputStart;
/// @brief HEAT UP SPAN Within Control Span
float outputStep;
/// @brief Over Pass This Temperature ? Force Stop
float tempLimit;

Replies: 1 comment

Comment options

I figure it out , incase some newbie like me this is may conclusion (might not be accurate but this works for me):

/// @brief Prefix Time(sec)
uint32_t settleTimeSec;
/// @brief Test Span(sec)
uint32_t testTimeSec;
/// @brief Amount of Samples within Test Span
uint16_t samples;
/// @brief Δ °C to Target Temperature
float inputSpan;
/// @brief Full Control Span
float outputSpan;
/// @brief HEAT UP SPAN Within Prefix Time
float outputStart;
/// @brief HEAT UP SPAN Within Control Span
float outputStep;
/// @brief Over Pass This Temperature ? Force Stop
float tempLimit;
You must be logged in to vote
0 replies
Answer selected by FelixWT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /