Keyboard Shortcuts
Лайки
Пошук
3,4K versus 3.4K versus 3K4 (was: LTspice 24.1 Beta Available Now)
Michael Stokowski:
Does this mean I will have to accept the DOT madness as used by American engineers ? Goran Finnberg ----Ursprungligt meddelande---- Best regards, Goran Finnberg The Mastering Room AB Goteborg Sweden E-mail: mastering@... Learn from the mistakes of others, you can never live long enough to make them all yourself. - John Luther (\__/) (='.'=) (")_(") Pyret, Ranglet, Aron, VovVov, Nero, Smurfen & Pussin:RIP |
||
DOT? Department of Transportation?
From: LTspice@groups.io <LTspice@groups.io> On Behalf Of Goran Finnberg via groups.io
Sent: Thursday, November 7, 2024 9:46 AM To: LTspice@groups.io Subject: [LTspice] LTspice 24.1 Beta Available Now
Michael Stokowski:
Does this mean I will have to accept the DOT madness as used by American engineers ?
Goran Finnberg
|
||
Le 07/11/2024 à 15:46, Goran Finnberg
via groups.io a écrit :
Michael Stokowski: I gather you disapprove the 3.4k (with a dot) notation. Here in France we academically write 3,4k (with a comma), although everybody understand 3k4, which is colloquial and not correct at all. My understanding is this new version understands 3k4 as 3.4k. |
||
I wrote:
>Le 07/11/2024 à 15:46, Goran Finnberg via groups.io a écrit : >Michael Stokowski: • Always accept “3k4” notation as 3.4k (no longer optional) I wrote: Does this mean I will have to accept the DOT madness as used by American engineers ? Jerry Lee Marcel wrote: I gather you disapprove the 3.4k (with a dot) notation. Here in France we academically write 3,4k (with a comma), As I do in Sweden. We from Europe NEVER EVER use the DOT instead we use the comma. >although everybody understand 3k4, which is colloquial and not correct at all. And why is that so ? What does k stand for ? 1 kHz ? 1 kohm ? 2k4 ? What is the difference between the above 3 ? Why exclude 2k4 as it is equally valid as, 1 kohm or 1 kHz ? >My understanding is this new version understands 3k4 as 3.4k.
Then I would like to have that confirmed by Michael Stokowski. >I don't think it does with 3,4k. Then 3.4k is wrong from the perspective of European engineers. Why do I have to accept the DOT madness ? -------------- Goran Finnberg The Mastering Room AB Goteborg Sweden E-mail: mastering@... Learn from the mistakes of others, you can never live long enough to make them all yourself. - John Luther (\__/) (='.'=) (")_(") Pyret, Ranglet, Aron, VovVov, Nero, Smurfen & Pussin:RIP |
||
well, that is very strange, using the multiplier at the point where the decimal point or comma would go has been in use for at least 60 years in Europe, that I am aware of. The reason is that when schematics are photographically reduced to be put in a manual or other documentation a decimal indicator can quite easily disappear so a 3.4k (or 3,4k) gets read as 34k. It is impossible to make this mistake when it is written as 3k4. I remember seeing this notation on schematics originating from Germany and the Netherlands back in the 1960s, and probably even earlier than that. I am surprised that anyone at all decries this notation - it is even easier to speak it as 'three kay four' rather than 'three point four kay' On Thu, 7 Nov 2024 at 15:17, Jerry Lee Marcel via groups.io <jerryleemarcel=sfr.fr@groups.io> wrote:
|
||
This discussion is very confused, but for more
than a century, it has been normal practice for the decimal
point (dot) to be used in Britain, the Far East and the USA, and
the decimal comma to be used in Europe and some other countries.
Even ISO and IEC have not been able to resolve this. It would be good for LTspice to allow 3,4k
as well as 3.4k and 3k4. The latter notation is surely
quite easy to understand, The decimal multiplier symbol takes
the place of the decimal point or comma, so for example 1µ0,
2p7, 4G7. On 2024-11-07 16:11, Goran Finnberg via
groups.io wrote:
I wrote: -- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
||
“DOT madness”? It’s not madness, it’s convention. Just as are 3k4 and 3,4k.
In the U.S., it’s convention to use commas to separate groups of thousands to make a number more readable rather than count the number of digits to determine the place value of a digit. For example, 130000000.34 = 130,000,000 + 34/100. In other nations, no such convention exists.
Neither 3.4k nor 3,4k nor 3k4 is madness. These are simply local conventions, well understood by the locals. Why would anyone suggest that others’ conventions are “madness”?
From: LTspice@groups.io <LTspice@groups.io> On Behalf Of Goran Finnberg via groups.io
Sent: Thursday, November 7, 2024 11:11 AM To: LTspice@groups.io Subject: [LTspice] LTspice 24.1 Beta Available Now
I wrote:
>Le 07/11/2024 à 15:46, Goran Finnberg via groups.io a écrit :
>Michael Stokowski:
• Always accept “3k4” notation as 3.4k (no longer optional)
I wrote: Does this mean I will have to accept the DOT madness as used by American engineers ?
Jerry Lee Marcel wrote:
I gather you disapprove the 3.4k (with a dot) notation. Here in France we academically write 3,4k (with a comma),
As I do in Sweden.
We from Europe NEVER EVER use the DOT instead we use the comma.
>although everybody understand 3k4, which is colloquial and not correct at all.
And why is that so ?
What does k stand for ?
1 kHz ?
1 kohm ?
2k4 ?
What is the difference between the above 3 ?
Why exclude 2k4 as it is equally valid as, 1 kohm or 1 kHz ?
>My understanding is this new version understands 3k4 as 3.4k.
Then I would like to have that confirmed by Michael Stokowski.
>I don't think it does with 3,4k.
Then 3.4k is wrong from the perspective of European engineers.
Why do I have to accept the DOT madness ?
--------------
Best regards, |
||
Agreed on both points, Mr. Woodgate.
From: LTspice@groups.io <LTspice@groups.io> On Behalf Of John Woodgate via groups.io
Sent: Thursday, November 7, 2024 12:03 PM To: LTspice@groups.io Subject: Re: [LTspice] LTspice 24.1 Beta Available Now
This discussion is very confused, but for more than a century, it has been normal practice for the decimal point (dot) to be used in Britain, the Far East and the USA, and the decimal comma to be used in Europe and some other countries. Even ISO and IEC have not been able to resolve this. It would be good for LTspice to allow 3,4k as well as 3.4k and 3k4. The latter notation is surely quite easy to understand, The decimal multiplier symbol takes the place of the decimal point or comma, so for example 1µ0, 2p7, 4G7. On 2024-11-07 16:11, Goran Finnberg via groups.io wrote:
-- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying
|
||
Well, most of the anglo-saxons use dot as decimal separator. Is
that mad? they could say that we are mad to use comma as a
separator. Le 07/11/2024 à 17:11, Goran Finnberg
via groups.io a écrit :
I wrote: |
||
Several people commented about:
I think you misunderstand what changed. Nobody is suddenly making you use decimal points (or periods or dots).
Previously (all LTspice versions prior to this), there was an option to ALLOW numbers such as 3K4 to be written in schematics. In the original (Berkeley) SPICE, that would have been rejected - that is, using a resistor value of "3K4" probably would have given you a value of 3000 ohms, with the "4" ignored as superfluous unrecognized text. Or maybe it would have choked on it. LTspice improved that by allowing "3K4" to be written and interpreting it as 3400. But it was optional, normally enabled, which the user could choose to disable. If disabled, "3K4" would not mean 3400.
The change in the latest (Beta) version eliminates that option. Therefore, the only change is that now it always accepts "3K4" and you can't force LTspice to reject "3K4" or turn it into the value you didn't want.
I could be wrong but it's my understanding that Berkeley SPICE only ever allowed decimal points.
Andy
|
||
On 07/11/2024 17:11, Goran Finnberg via
groups.io wrote:
Being pedantic, only "2k4" is correct in SPICE context. The other two have a space between the numeric and the multiplier, so the multiplier and everything that follows is either ignored, or causes a syntax error in LTspice, depending on where it is used. BTW, the comma isn't universally used in Europe. It is not recognised in the UK, Ireland, Switzerland or Liechtenstein. And in good old Luxembourg, both the comma and the dot are accepted as alternatives. Personally, I try to never use any decimal point or comma in an electrical context. There are decadic multipliers that make that unnecessary. I learned that lesson decades ago when all drawings went through a photocopier before being distributed. Somewhere at the bottom of all those machines are piles of lost decimal points. It's a sad state that different sectors cannot agree on the format of decadic multipliers. Financial contexts often use "mn" to signify million - £107mn, for example. Le Système international d’unités (SI units) details decadic multipliers from 1024 (yotta, Y) through to 10-24 (yocto, y) that should be capable of succinctly fulfilling every conceivable number in popular use. LTspice supports a sub-set: all from T (Tera) down to f (femto) in steps of 1000x (deca, hecto, deci and centi are not recognised). Peta ("P", 1015) is interpreted as "p" (pico), as SPICE is case-agnostic. Atto (10-18) and below are also not recognised and are ignored. -- Regards, Tony |
||
On Thu, 7 Nov 2024 at 17:04, John Woodgate via groups.io <jmw=woodjohn.uk@groups.io> wrote: >It would be good for LTspice to allow 3,4k
as well as 3.4k This should already happen using regionalisation of the OS. |
||
Did you try it? Curiously, on a machine set to use the decimal
point, LTspice interprets '3,4k' as 4000 ohms, not 3 ohms, as one
might expect.. On 2024-11-07 20:57, Alan Pearce via
groups.io wrote:
-- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
||
>It would be good for
LTspice to allow 3,4k as well as 3.4k
I don't think so. From SPICE3 docu: "Fields on a line are separated by one or more blanks, a comma, an equal (’=’) sign, or a left or right parenthesis." For compatibility reasons with SPICE3, and probably other SPICE versions, the comma must therefore remain a separator. Bernhard |
||
Le 07/11/2024 à 21:48, Tony Casey a
écrit :Personally, I try to never use any decimal point or comma
in an electrical context. There are decadic multipliers that make
that unnecessary. I learned that lesson decades ago when all
drawings went through a photocopier before being distributed.
Somewhere at the bottom of all those machines are piles of lost
decimal points. It's a sad state that different sectors cannot
agree on the format of decadic multipliers. Financial contexts
often use "mn" to signify million - £107mn, for example.
The problem is that the decadic multipliers are in steps of 1000. For example a 90.9k resistor would be written as 909e2. That is not very intuitive when reading a schematic. It requires an additional effort compared to the system most of us have grown accustomed with. I believe ther's the same risk of misreading as between 90900 and 909000. |
||
LTspice differs from SPICE3 in many ways, so one more wouldn't matter much. But my finding that 3,4k is interpreted as 4000 needs investigating, I think. Actually, SPICE3 can be criticised for wasting
valuable symbols: it should have specified just one separator
(or a minimal hierarchy for nesting), rather than an
undifferentiated, and surely incomplete, list. On 2024-11-07 21:36, Bernhard Weiskopf
wrote:
>It would be good for LTspice to allow 3,4k as well as 3.4k -- OOO - Own Opinions Only Best Wishes John Woodgate Keep trying |
||
On 07/11/2024 22:56, Jerry Lee Marcel
wrote:
The problem is that the decadic multipliers are in steps of 1000.No, it would be written as 90k9. Although 909e2 is legal and would be understood by SPICE. I didn't mean for the term "decadic multipliers" to be synonym for scientific format. It is also common for manufacturers of passive component parts to use creative formats in order to avoid the use of decimal points in part numbers, e.g. C0402C333xxxxx is Kemet's naming convention for a 33n capacitor in a 0603 case size (imperial units). -- Regards,
Tony |
||
Tony Casey wrote:
Le Système international d’unités (SI units) details decadic multipliers from 1024 (yotta, Y) through to 10-24 (yocto, y) that should be capable of succinctly fulfilling every conceivable number in popular use. ... Well, almost but not quite. There is no alphabetic multiplier for X1, so you would have difficulty writing 4.7 ohms (4,7 ohms) that way without a decimal point or comma. I guess you could write 4700m, or 1k0047 but they seem awkward.
Fortunately, LTspice allows us to write 4R7. But be careful when doing that in LTspice, because not every random letter (that is not already a multiplier) can be used like that. I once made myself a table where I listed the letters that worked and the ones that did not work, but now I can't find it anymore. I am fairly certain the letter 'O' (oh) does not work this way, which is a good thing because 'O' (oh) is easily confused with '0' (zero).
... Atto (10-18) and below are also not recognised and are ignored. Alas, there is at least one SPICE program that does recognize 'A' as the multiplier E-18 or 10-18. IMHO, it was really bad to allow that. Fortunately we don't need to deal with that in LTspice (but there is the remote possibility of importing a SPICE netlist from another SPICE program that uses it).
Andy
|
||
The normal method for removing the decimal point (or comma) from 4.7 is 4R7. No, it's not in the SI list, but it's commonly used and accepted in LTspice. -- Regards Tony On 8 Nov 2024 00:21, Andy I <AI.egrps+io@...> wrote:
|
||
John Woodgate wrote:
Maybe not. I didn't/can't try that here, but it might be logical. In some parts of the netlist, SPICE/LTspice scans for values from left to right. In others, it looks from right to left. So, if it sees "3,4k" at the end of a line, the first thing it does (according to SPICE syntax rules) is interpret the comma as a separator - the equivalent of whitespace - thus identical to "3 4k". Then it sees the value "4k" as the last thing listed, and maybe it uses that as the resistor's value. I expect that this depends on exactly where and how it is used.
LTspice does need to generally conform to the SPICE/SPICE2/SPICE3 syntax rules, in order to be compatible with the thousands of models and netlists that people have written and are writing for it. LTspice can't change the rules without serious consequences.
|
Повідомлення
Більше