Search:                        
Please support my efforts by ADVERTISING!
Serving a Pleasing Blend of Yesterday, Today, and Tomorrow™

Vintage Magazines

Electronics World
Popular Electronics
Radio & TV News
QST | Pop Science
Popular Mechanics
Radio-Craft
Radio-Electronics
Short Wave Craft
Electronics | OFA
Saturday Eve Post
Electronics Illustrated

Formulas | Data

Electronics | RF
Mathematics
Mechanics
Physics


Calvin & Phineas

Archive | Sitemap
kmblatt83@aol.com

Resources

Radar | AI
Cogitations
RF Museum
Videos | Pics |
Things | Logos
Radio Datashts
WJ Tech Notes
Day in History

Entertainment

Crosswords
Humor | Podcasts
Quotes | Quizzes
Tech Comics

Parts | Services

1000s of Listings


About RF Cafe

Software: RF Cascade Workbook | RF Symbols for Office | RF Symbols & Stencils for Visio | Espresso Workbook
Transcat | Axiom Rental Equipment - RF Cafe Website

Calculation Verifications (beware the AI engines)
RF Cascade Workbook™ vJ

To assist in validating RF Cascade Workbook's calculations, this table of values was generated by ChatGPT 5, using 128-bit precision math. It used for each stage (StageN), values of GN=N dB, OIP2N=N dBm, OIP3N=N dBm, P1dBN=N dBm

Stage
#
Cum.
Gain
(dB)
Cum.
OIP2
(dBm)
Cum.
OIP3
(dBm)
Cum.
P1dB
(dBm)
1 1 1.00 1.00 1.00
2 3 -3.53 -0.54 -0.54
3 6 -4.97 -0.29 -0.29
4 10 -4.85 0.84 0.84
5 15 -3.78 2.39 2.39
6 21 -2.12 4.02 4.02
7 28 -0.14 5.55 5.55
8 36 1.91 6.93 6.93
9 45 3.88 8.20 8.20
10 55 5.70 9.39 9.39
11 66 7.37 10.53 10.53
12 78 8.91 11.63 11.63
13 91 10.34 12.71 12.71
14 105 11.69 13.77 13.77
15 120 12.99 14.82 14.82
16 136 14.24 15.86 15.86
17 153 15.46 16.89 16.89
18 171 16.65 17.91 17.91
19 190 17.81 18.93 18.93
20 210 18.95 19.94 19.94
21 231 20.07 20.96 20.96
22 253 21.18 21.97 21.97
23 276 22.27 22.97 22.97
24 300 23.36 23.98 23.98

This table of values was generated by ChatGPT 5, using 128-bit precision math.

Every time a change is made to RF Cascade Workbook that involves the entire cascade of components, a thorough checkout of the entire chain of calculations and graphical presentations needs to be performed in order to avoid having an error slip in. It is very easy for a single cell to not receive the proper formula when doing a copy and paste of a full row or column of cells. You might think not, but when you are dealing with thousands of cells in a workbook, the probability is non-zero.

With this latest version (J) I needed to modify the version H 15-stage spreadsheet to increase it to 24 stages. I could have instead reduced the 30-stage version to 24 stages, but in my long experience doing such operations in Excel, for some reason increasing seems to produce fewer mistakes (probably just me). Regardless, though, a very careful check of each and every calculation needs to be done. That takes a lot of time with something as extensive as RF Cascade Workbook and its many Visual Basic for Applications (VBA) routines, mouseover hints, dropdown selection boxes, conditional cell formatting, and cell content validations.

I ship RF Cascade Workbook with the VBA code password-protected in order to preserve the confidentiality of the custom code I have written to perform automated tasks not often (or never otherwise) seen in an Excel spreadsheet. That caused one user to remark that doing so implies that I expect him to "just trust you [me]" that everything is correct. To some extent that is true, but my motivation is to protect my intellectual property (IP), not to require anyone to trust me. In fact, I have always cautioned users to do their own validations prior to using my results for critical application.

I do not have access anymore to the kilobuck big-name simulators that were available to me back when RF Cascade was first begun back in 2002 (while working for RF design companies), where I can plug an identical set of values into one and compare their results to my results. I can find other software which preforms many of the calculations and compare results, but to my knowledge there is nothing out there comparable to RF Cascade Workbook's capabilities to test every calculation - especially with 24 stages.

However, with the advent of AI (artificial intelligence) engines like ChatGPT, Grok, and Gemini, I am able to feed them a request and have them crunch numbers to compare results. It take very careful wording of the query and equally careful review of their results to determine whether my input was understood and acted upon correctly. It is not uncommon when challenging an obviously incorrect result to have the AI beast reply that it was making "common assumptions" and/or applying "rules of thumb" and/or taking "shortcuts." I kid you not; I received many of those types of excuses just while checking out this version of RF Cascade Workbook.

One such rule-of-thumb it claimed to apply was that the first few stages of a cascade of components sets the system's noise figure, so it only calculated the first few, then spit out an answer. Amazing, but utterly true. You really have to watch the AIs that try to be too human-like and think they're more clever than they actually are.

The biggest source of error from the AI engines is due to not using their highest precision math, which results in not carrying enough decimal points (truncation) throughout the calculations. When dealing with decibels where conversion back and forth between logarithmic and linear values for cascade calculations of noise figure, intercept points, and compression points, a large accumulation of errors can and does occur by the time 24 consecutive calculations are made.

The table to the right contains an example of ChatGPT's values for all 24 stages of RF Cascade Workbook for many parameters based on the input values shown in the screen shots below. As you can see they agree exactly - but only after using its full-precision 128-bit math and not truncating decimal places. It takes noticeably longer to receive those results than when it uses its shortcuts, rules-of-thumb, and assumptions.

These screen shots are of examples where component parameters for all 24 stages were designed to make the expected results as obvious as possible. Where that is not so easy - as with noise figure, intercept points, VSWR-induced amplitude variations, etc., I provide AI comparisons. This, of course, does not completely guarantee that some mistake has eluded my detection, but it should provide a higher level of confidence.

RF Cascade Workbook Verification Screen Capture (Cascaded Gain) - RF Cafe Website

Cascaded Gain

RF Cascade Workbook Verification Screen Capture (Cascaded Noise Power) - RF Cafe Website

Cascaded Noise Power

RF Cascade Workbook Verification Screen Capture (Cascaded 1 dB Compression Point (P1dB)) - RF Cafe Website

Cascaded 1 dB Compression Point (P1dB)

RF Cascade Workbook Verification Screen Capture (Cascaded Signal Power) - RF Cafe Website

Cascaded Signal Power

RF Cascade Workbook Verification Screen Capture (Cascaded Frequency Response) - RF Cafe Website

Cascaded Frequency Response

RF Cascade Workbook Verification Screen Capture (Cascaded Power Supplies & Bill of Material) - RF Cafe Website

Cascaded Power Supplies & Bill of Material

RF Cascade Workbook Verification Screen Capture (Cascaded Noise Figure) - RF Cafe Website

Cascaded Noise Figure

RF Cascade Workbook Verification Screen Capture (Cascaded 2nd-Order Intercept Point (OIP2)) - RF Cafe Website

Cascaded Output 2nd-Order Intercept Point (OIP2)

RF Cascade Workbook Verification Screen Capture (Cascaded Output 3rd-Order Intercept Point (OIP3)) - RF Cafe Website

Cascaded Output 3rd-Order Intercept Point (OIP3)

RF Cascade Workbook Verification Screen Capture (Cascaded VSWR Amplitude Ripple) - RF Cafe Website

Cascaded VSWR Amplitude Ripple

RF Cascade Workbook Verification Screen Capture (Cascaded User Formulas 1) - RF Cafe Website

Cascaded User Formulas 1

RF Cascade Workbook Verification Screen Capture (Cascaded User Formulas 2) - RF Cafe Website

Cascaded User Formulas 2

Crane Aerospace & Electronics (RF & Microwave) - RF Cafe Website
Please Support My Advertisers!
Transcat | Axiom Test Equipment - RF Cafe Website
Aegis Power | Centric RF | RFCT
Empower RF | Reactel | SF Circuits

Alliance Test | Isotec
Innovative Power Products (IPP) Baluns & Transformers - RF Cafe Website

Crane Aerospace & Electronics (RF & Microwave) - RF Cafe Website

Exodus Advanced Communications Best in Class RF Amplifier SSPAs
Amplifier Solutions Corporation (ASC) - RF Cafe Website

Innovative Power Products (IPP) CoolChips - RF Cafe Website

Windfreak Technologies Frequency Synthesizers - RF Cafe Website

Please Support RF Cafe by purchasing my ridiculously low-priced products, all of which I created.

RF Cascade Workbook for Excel

RF & Electronics Symbols for Visio

RF & Electronics Symbols for Office

RF & Electronics Stencils for Visio

RF Workbench

These Are Available for Free

Espresso Engineering Workbook™

Smith Chart™ for Excel