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

196

16446 readers
35 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
[–] stevestevesteve@lemmy.world 51 points 8 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 8 months ago

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