this post was submitted on 01 Mar 2024
763 points (100.0% liked)

196

16237 readers
19 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] bleistift2@feddit.de 6 points 6 months ago* (last edited 6 months ago) (5 children)

If the rise time isn’t 0, it’s not a square wave.

Also (honest question): Is this a hard thing to do in engineering? What makes it hard?

[–] stevestevesteve@lemmy.world 51 points 6 months ago (1 children)

If the rise time isn’t 0, it’s not a square wave.

And if that's your definition then there's no such thing as a real square wave.

Just like no physical objects can have a perfectly square corner, there will always be some radius, even if it's just 1 atom

The reason making a true square wave is hard is that there are physical properties of real life electrical components that prevent voltage (or current) from changing instantly. Similar to how we can't instantly accelerate a mass from 0 to some speed, it's physically impossible. The faster you try to do it, the harder it is due to inertia. In electronics, there's always natural capacitance and inductance slowing things down. If you want a 10v square wave, you have to push some amount of electrons through some amount of capacitance and inductance and that, while it can be very fast, is never instant.

[–] bleistift2@feddit.de 22 points 6 months ago

The more I read of your answer the more I think I should’ve come to that conclusion myself.

[–] Num10ck@lemmy.world 29 points 6 months ago

if you get deep enough into software you realize its all ones and zeroes.

if you get deep enough into electronics you learn there's actually no such thing as a 1 or 0. check out the bit error rate of an eye diagram.

[–] Holzkohlen@feddit.de 15 points 6 months ago (1 children)

lol 0.02 microseconds is 0.00000002 seconds. Don't know electronics tho. No idea what exactly makes it difficult.

[–] verdare@beehaw.org 3 points 6 months ago

It’s difficult because a rise time of zero is physically impossible. You can’t instantaneously jump from one voltage to another in real life; There’s always a transient response. Circuits are made of physical components and electrons are moving objects.

[–] melkiythegreat@lemmy.world 7 points 6 months ago

Its hard. Not so hard as almost 100 years ago tho.