AAA Mechanical Inc.
AAA Mechanical Inc.
  • 123
  • 70 126
Proportional Integral Derivative Formula Solving for ASI Absolute Calculation
Controller PID (Proportional Integral Derivative)
Standard/Traditional PID Formula:
u(t)=MV(t)=K_(p ) e(t)+ K_(i ) ∫_0^t▒〖e(T)dT+〗 K_(d ) ((de(t))/dt)
Variable Definitions:
u(t) = Controller Output
MV(t) = Manipulated Variable
K_(p )= Proportional gain
K_(i )= Integral Gain
K_(d )= Derivative gain
e(t) = Error (Setpoint - Process Variable)
t = Present Time
T = Variable of integration (values from time 0 to present t.
e(T) = Error (Setpoint - Process Variable) at the Calculation time of the controller.
dT = Each Calculation time of the controller
ASI Controls PID Algorithm (Absolute):
〖Output〗_n= Proportional Gain x E_(n )+ Integral Gain x (〖 Error Sum〗_(n ) )+ Derivative Gain x (E_n- E_(n-1) )
Variable Definitions:
〖Output〗_n=Controller Output
Proportional Gain= ((Max_Range)/Throttle)
Integral Gain= ((Max_Range)/Throttle)x ((Integral Unit)/(Integral Time))
E_(n )=Control Input Value-Control Setpoint = Error
〖 Error Sum〗_(n )=〖 Error Sum〗_(n-1 )+ E_(n ) = All the errors + current error
Derivative Gain= ((Max_Range)/Throttle)x ((Deriv Time)/(Deriv Unit))
(E_n- E_(n-1) ) = present and previous value of the error.
Question:
How Much will a Chilled Water Valve Signal Change if the Supply Air Setpoint is 55°F and the Supply Air is 60°F in an ASI Control PID Analog Output?
The Control Input, Control SP, Throttling Range, etc. are all in the same units. If the Control Input is in 0.01-degree units, then the Control SP, Throttling Range, etc. are also in 0.01-degree units. The controller sees 60°F as 6000 and 55°F as 5500.
Parameters:
Throttling Range: 2000 (which is 20°F)
Max Range: 255,100%
Calculation time = 60 Seconds
Integral Unit (s) = 60
Integral Time (s) = 240:
ASI Suggestion is to have an integral weight of 0.1 to 0.33 which seems to work in most circumstances. Integral weight is the Integral Units/Integral time.
Deriv Time = 0 This is set to 0 because the Derivative typically isn’t used in HVAC.
Deriv Units = 0 This is set to 0 because the Derivative typically isn’t used in HVAC.
Error:
First Calculate the Error or what is the difference between the Control Input minus the Control Setpoint.
Formula for Error:
E_(n )=Control Input Value-Control Setpoint
Step 1:
E_(n )=6000 (which is 60°F)-5500 (which is 55°F)
Step 2:
E_(n )=500
Proportional Term:
〖Proportional〗_(n )=((Max_Range)/Throttle)x E_(n )=Proportional Gain x E_(n )
Where: Proportional Gain= ((Max_Range)/Throttle)
Since you need to know the Proportional Gain by taking the Max_Range / Throttling Range you can just use that part of the formula above and put in the knowns.
Step 1:
Put the information into this formula: 〖Proportional〗_(n )=((Max_Range)/Throttle)x E_(n )
〖Proportional〗_(n )=(255/2000)x 500
Step 2:
〖Proportional〗_(n )=(0.1275)x 500
Step 3:
〖Proportional〗_(n )=63.75
Integral Term
The Integral Term is calculated based on the sum of the errors. If the final output is limited by max or min then the integral term is recalculated based on those limits to prevent integral wind-up.
The Error Sum over time is saved and used for the calculation.
Error Sumn = Error Sumn-1 + En
Error New = En = 500 (which is 5°F).
Since this is the first error for the first calculation it’s just the new error.
〖Integral〗_(n )=((Max_Range)/Throttle)x ((Integral Unit)/(Integral Time))x (〖 Error Sum〗_(n ) )=Integral Gain x (〖 Error Sum〗_(n ) )
Step 1:
Put the information into this formula:
〖Integral〗_(n )=((Max_Range)/Throttle)x ((Integral Unit)/(Integral Time))x (〖 Error Sum〗_(n ) )=
〖Integral〗_(n )=(255/2000)x ((60 seconds)/(240 seconds))x (500)
Step 2:
〖Integral〗_(n )=(0.1275) x (0.25) x 500
Step 3:
〖Integral〗_(n )=15.9375
Derivative Term
The Derivative Term is calculated based on the present and previous value of the error.
〖Derivative〗_(n )=((Max_Range)/Throttle)x ((Deriv Time)/(Deriv Unit))x (E_n- E_(n-1) )=Derivative Gain x (E_n- E_(n-1) )
Step 1:
Put the information into this formula if using the Derivative function:
〖Derivative〗_(n )=((Max_Range)/Throttle)x ((Deriv Time)/(Deriv Unit))x (E_n- E_(n-1) )
Step 2: In this example Deriv Time and Deriv Unit are both set to 0 so we aren’t using the derivative.
〖Derivative〗_(n )=(255/3500)x (0/0)x (〖 Error Sum〗_(n ) )= 0
Controller Output:
Step 1:
Put the information into this formula:
〖Output〗_(n )= 〖Proportional〗_(n )+ 〖Integral〗_(n )+ 〖Derivative〗_(n )
〖Output〗_(n )= 63.75+ 15.9375+ 0
〖Output〗_(n )= 79.6875
มุมมอง: 70

วีดีโอ

Clocking Gas Meter for Natural or LP Gas
มุมมอง 967 หลายเดือนก่อน
Clocking Gas Meter Formulas: Natural Gas BTUs per Cubic Foot = 1000 BTUHR Liquid Propane Gas BTUs per Cubic Foot = 2516 BTUHR BTU’s Per Hour (more averaging): BTUHR=((Dial Revolutions)/(Seconds to do Revolutions))x Dial size x 3600 sec⁡〖hr x Gas Rating BTUs per Cubic Foot〗 Example: Dial Revolutions: 4 Time to do 4 Revolutions = 60 Seconds Dial size = 5 Cubic Feet Seconds per Hour = 3600 Natural...
CV Correction Factor Formulas For HVAC Control Valves
มุมมอง 447 หลายเดือนก่อน
More than 2 pipe sizes then base valve CV off the Piping Correction Formula: Corrected CV: Cvc = Corrected Valve Coefficient because of the reducers hooked to the valve. This matters more with high-capacity valves (standard ball valves and butterfly valves). Characterized Control Ball Valves and Globe valves are affected less by FP = Pipe Correction Factor (Piping Geometry Factor). FP= [1 (∑K)/...
CV sizing for Steam HVAC Control valves
มุมมอง 857 หลายเดือนก่อน
Steam Valve CV Sizing: Critical Pressure Drop/Choked Flow: The steam is at a point at which more pressure drop across a valve no longer means more flow of steam. This is generally considered to be 42% of the Absolute inlet pressure which is Gauge Pressure 14.7 Atmospheric. The valve is at a Choked condition at this point. If it’s a 2-position valve, then you can go with whatever line size going...
CV sizing for water HVAC control valves
มุมมอง 917 หลายเดือนก่อน
Water Valve CV Sizing: Formula to use for Standard Conditions: Assuming 3-5 PSI drop through a coil. Cv= ((Q x √G)/√∆P) Variables: Cv = Valve Coefficient of flow which is what is the flow with a 1 psi drop across the valve. Q = Flow in Gallons per Minute. G = Specific gravity of fluid (Water = 1). If using water, you can remove x √G. ∆P = Pressure drop across fully open valve in psi Example: St...
Static Pressure Change Formula based on RPM Change
มุมมอง 377 หลายเดือนก่อน
Blower RPM Change Static Pressure Effect: Static Pressure 2=Static Pressure 1 x (RPM2/RPM1)^2 For Example: Original RPM 1 = 100. Static Pressure 1 = 1.25”. New RPM 2 = 125. Step 1: Static Pressure 2= 1.25" x [125/100]^2 Step 2: Static Pressure 2= 1.25" x [1.25]^2 Step 3: Static Pressure 2= 1.25" x 1.5625 Step 4: Static Pressure 2= 1.95" W.C.
Cooling Capacity Total Heat Formula
มุมมอง 667 หลายเดือนก่อน
Total Heat Cooling Capacity Formula Total Heat Formula: Use this to figure out Cooling Capacity. BTUH= Delta h (btu/lb.) x CFM x 60 min/hr x Specific density (.075 lbFT^3) 60 minutes/hour x 0.075 lb./ft3 = 4.5 you can shorten the equation too. BTUH= 4.5 x CFM x Delta h (Delta h = The change in enthalpy between return and supply air) Total Heat Constant Correction Factor = Specific Density of Ai...
Mixed Air Formula Example 2
มุมมอง 367 หลายเดือนก่อน
Formula to use if you only know Outdoor Air Temp, Return Air Temp, and Return Air Percent required: Note: To Use Temperatures there needs to be a minimum of 10°F between Outside air and Return Air or it is not going to work very well. Mixed Air Temp=OAT - ((OAT-RAT) x RA%) For Example: Outside Air temp = 90°F Return Air Temp = 70°F Return Air intake = 80% Step 1: Mixed Air Temp=90°F - ((90°F-70...
Mixed Air Formula Example 1
มุมมอง 907 หลายเดือนก่อน
Formula to use if Outdoor CFM, Outdoor Air Temp, Return CFM, and Return Temperature are known: Mixed Air Temp=((〖CFM-(oa ) x T_oa ) x (〖CFM - (ra ) x T_ra ))/(CFM Total) For Example: Outside Air intake = 20% Outside Air temp = 90°F Outside Air CFM = 2000 CFM Return Air Temp = 70°F Return Air CFM = 8000 CFM Step 1: Mixed Air Temp=((2000x 90 ) x (8000x 70 ))/(10,000 CFM) Step 2: Mixed Air Temp=(1...
Coil Bypass Factor Formula
มุมมอง 1637 หลายเดือนก่อน
Coil Bypass Factor: How much of the air is going through a coil unaffected? Coil Bypass Factor=((Leaving Air Dry Bulb -Effective Coil Temperature))/((Entering Air Dry Bulb -Effective Coil Temperature) ) Example: Supply air is 60° DB, return air is 80° DB and the effective coil temperature (ECT) (Also called Apparatus Dew Point Temperature (ADP) is 47.5°F as either measured with a thermometer or...
Mixed Air Formula Example 3
มุมมอง 327 หลายเดือนก่อน
Formula to use if you know Outdoor Air Temp, Outside Air Requirement, return air temperature, and Return Air Percent required. Mixed Air Temperature, expressed as a function of return air temperature and percentage, and outside air temperature and percentage: Mixed Air Temp= {{(RAT x RA%) (OAT x OA%)} / 100} x 100 For Example: Outside Air intake = 20% Outside Air temp = 90°F Return Air Temp = 7...
Blower RPM Formula
มุมมอง 1247 หลายเดือนก่อน
Blower RPM Formula if Pulley sizes are known: 〖RPM_a/〖DIA_b = 〖RPM〗_b/〖DIA〗_a For Example: Variables: RPMa = Motor RPM 1750 RPMb = Blower Wheel RPM? DIAb = Blower Pulley Size 16” DIAa = Blower Motor Pulley Size 8” Step 1: (1750 Motor RPM)/(16" Blower Pulley Diameter) = 〖RPM_b/(8” Motor Pulley Diameter) Step 2: 1750 Motor RPM x 8" Motor Pulley Diameter = 〖RPM_b x 16" Blower Pulley Diameter Step ...
HVAC CFM Rectangular Duct VS Round Duct Formulas
มุมมอง 607 หลายเดือนก่อน
Cubic Feet of Air in Rectangular Duct: CFM= 〖Area of duct ft〗^(2 ) x FPM CFM = Cubic Feet Per Minute Area in square feet = Square feet of the duct if you measure the duct dimensions in inches and you have square inches then divided by 144 to get Square Feet. FPM = Feet Per Minute Cubic Feet of Air in Round Duct: CFM= 〖Area of duct ft〗^(2 ) x FPM CFM = Cubic Feet Per Minute Area in square feet =...
Motor Amp Formula with an RPM Change
มุมมอง 1497 หลายเดือนก่อน
New Motor Amps Calculation: Example: How will the Amps of the motor go up if a Service Technician goes from 400 RPM to 475 RPM on a blower? The blower motor is pulling 8 Amps. The FLA of a motor is 12 Amps. Rated HP of the Motor is 5 HP. New motor Amps= Exist Amps x [(New RPM )/(Exist RPM)]^3 Step 1: New motor Amps= 8 x [(475 RPM )/(400 RPM)]^3 Step 2: New Motor Amps = 8 x 1.18753 Step 3: New M...
Motor Efficiency and Power Factor Formulas
มุมมอง 1837 หลายเดือนก่อน
Efficiency and/or Power Factor are not known Formulas: This is important because you can’t just use Watts = E X I out of ohms law then divide by 746 Watts to figure out horsepower and expect accurate results. Motors are not 100% efficient. Existing Motor Information: Single Phase Voltage is 230 Volts. Full Load Amps 20.72. Service Factor is 1.15. Horsepower 5 Power Factor is .91 Percent Efficie...
Pump GPM Formula single phase and 3 phase
มุมมอง 297 หลายเดือนก่อน
Pump GPM Formula single phase and 3 phase
HVAC Feet Per Minute with Pitot Tube/Magnehelic Setup
มุมมอง 1037 หลายเดือนก่อน
HVAC Feet Per Minute with Pitot Tube/Magnehelic Setup
Blower Motor Pulley size Formula
มุมมอง 3417 หลายเดือนก่อน
Blower Motor Pulley size Formula
Hydronic System Flow Rate Formula and 20 Degree TD
มุมมอง 437 หลายเดือนก่อน
Hydronic System Flow Rate Formula and 20 Degree TD
Single and Three Phase Motor HP Formulas
มุมมอง 517 หลายเดือนก่อน
Single and Three Phase Motor HP Formulas
Heating Capacity Sensible Heat Formula
มุมมอง 297 หลายเดือนก่อน
Heating Capacity Sensible Heat Formula
Belt Length Formula
มุมมอง 527 หลายเดือนก่อน
Belt Length Formula
Motor Operating Horsepower Formula and New Required Horsepower due to RPM Change
มุมมอง 617 หลายเดือนก่อน
Motor Operating Horsepower Formula and New Required Horsepower due to RPM Change
Blower RPM Required for Proper CFM Formula
มุมมอง 1237 หลายเดือนก่อน
Blower RPM Required for Proper CFM Formula
Outdoor Air Percentage Formula
มุมมอง 457 หลายเดือนก่อน
Outdoor Air Percentage Formula
Pump Total Dynamic Head Formula and Pump Brake Horsepower Formula
มุมมอง 2257 หลายเดือนก่อน
Pump Total Dynamic Head Formula and Pump Brake Horsepower Formula
Water Flow through a Known BTU Capacity Coil Formula
มุมมอง 437 หลายเดือนก่อน
Water Flow through a Known BTU Capacity Coil Formula
Water Coil BTUH Formula
มุมมอง 307 หลายเดือนก่อน
Water Coil BTUH Formula
Microsoft Visio Wiring Diagram Legend Tips
มุมมอง 3.1K9 หลายเดือนก่อน
Microsoft Visio Wiring Diagram Legend Tips
Microsoft Visio Font/Text Capitalization Manipulation
มุมมอง 7999 หลายเดือนก่อน
Microsoft Visio Font/Text Capitalization Manipulation

ความคิดเห็น

  •  2 หลายเดือนก่อน

    Sam led me here! Great information

  • @homeofcreation
    @homeofcreation 3 หลายเดือนก่อน

    Thank you!

  • @dmytrokorseko518
    @dmytrokorseko518 4 หลายเดือนก่อน

    Thank you, saint man! I stucked with mirror shapes ))

  • @hall6ppc1
    @hall6ppc1 7 หลายเดือนก่อน

    Volume sucks

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 7 หลายเดือนก่อน

      Sorry about that! It sounds fine watching it on my phone, not so much on the computer. I don’t have a a real place to record at my house without a bunch of noise. I kept the mic lower when making these. I made some more this last weekend with formulas with the mic turned up more. Not sure how that will turn out. A better mic would probably help. Just trying not to have bunch of distracting noises in the background.

  • @donalexander8444
    @donalexander8444 9 หลายเดือนก่อน

    🎉 "PromoSM"

  • @nixckmy
    @nixckmy 11 หลายเดือนก่อน

    How to create Legend?

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 9 หลายเดือนก่อน

      I tried to make a quick video about Legends with some tips this morning. It's uploading at this time. th-cam.com/video/pI8Ewjqu7kk/w-d-xo.html

  • @sunnypig6382
    @sunnypig6382 11 หลายเดือนก่อน

    thx

  • @PoisonTick
    @PoisonTick 11 หลายเดือนก่อน

    Its was pretty frustrating trying to get my connectors just right, this helped out a ton thank you

    • @homeofcreation
      @homeofcreation 3 หลายเดือนก่อน

      it's a real pain in complex diagrams.

  • @trndmr2235
    @trndmr2235 11 หลายเดือนก่อน

    cheers mate, this was what i was looking for

  • @sammyray5239
    @sammyray5239 ปีที่แล้ว

    👊 *promo sm*

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Some mfrs have much better stencils than others. I think yours look better yet.

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 ปีที่แล้ว

      ASI has quite a few stencils to start with. I added the plugs and made the USB/IO Stencils. I agree some stencils are better than others. I can't claim credit for all of what's in the videos for stencils that's for sure.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Super professional looking work, there.

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 ปีที่แล้ว

      In this instance I was able to replicate a manufactures wiring diagram but with all the Visio Objects so it can be edited is as necessary. The thought was then it could be used for examples.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    That was a new trick. Thx!

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Nice!

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    I need to take a Visio class to learn more.

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 ปีที่แล้ว

      I took one on Udemy and it taught the basic things on grouping, shortcuts, etc. It didn't really deal with wiring diagrams exclusively per say but there was relevant information.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Your use of Visio is absolutely fantastic.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    How can you determine which ones you can or should manipulate?

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 ปีที่แล้ว

      In my case the only one I'm messing with is the FinStack / IntelliFront service. That's the only one I have had to mess with on my computer as I use the computer to build the front end and then load it into the Windows Industrial Appliance that will automatically start the service when power is cycled. I'm working with a JACE now and it doesn't run on a Windows Industrial Appliance as it's on it's own hardware. It has auto restart on it also that can be enabled or disabled but it's not a Windows Service.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Way better than doing a complete shut down and restart the entire computer! Thank you.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    This is an important note.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Nice, and fast.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Who knew?!

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 ปีที่แล้ว

      It's fine as long as you do it right. I've made some pretty weird symbols when not hitting the right keys.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    My favorite function for pdf documents, and more!

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Thank God, for undo……

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Simple, solid advice.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Nice work.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Great description. Love your graphics.

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    I use Command F5 on the Mac for screen record functions. I use this all the time. So useful!

  • @driftless1870
    @driftless1870 ปีที่แล้ว

    Can any of this be done with a Mac, being that the Virtual Box is going to operate as a separate system within your computer?

    • @aaamechanicalinc.2940
      @aaamechanicalinc.2940 ปีที่แล้ว

      It appears Virtual Box can be used on a Mac OS based on their website. I haven't tried to do this with a Mac OS. www.virtualbox.org/wiki/Downloads.