Author Topic: What are some good rules of thumb for making clean schematics.  (Read 12290 times)

0 Members and 1 Guest are viewing this topic.

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9470
  • Country: gb
Re: What are some good rules of thumb for making clean schematics.
« Reply #50 on: July 07, 2017, 09:01:02 am »
I didn't get nearly as much agreement as I expected about avoiding 4 way (cross) junctions. I'm surprised.

Maybe I should modify my advice to 'minimise'. For example, the +15V supply to V2. This could sensibly be moved left to that it forms a T junction above R4.

With regard to removing cross connections on the diodes creating "more mess". Simply move the bottom row of diodes to the right slightly and hey presto, all T junctions.

Maybe it's because I grew up in an era of 2nd or 3rd generation photocopies (and dyeline) but it's something that I religiously avoid.
« Last Edit: July 07, 2017, 09:03:01 am by Gyro »
Best Regards, Chris
 

Offline vealmike

  • Regular Contributor
  • *
  • Posts: 192
  • Country: gb
Re: What are some good rules of thumb for making clean schematics.
« Reply #51 on: July 07, 2017, 11:06:56 am »
Gyro,
I completely agree. I didn't mention this as I thought it had been well covered.

Never ever make a connection at the intersection of four wires. It is too hard to spot the difference between this and a crossing without a connection.

When the wires meet at a T there is no room for confusion.
 
The following users thanked this post: Gyro

Offline dsharp02Topic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: What are some good rules of thumb for making clean schematics.
« Reply #52 on: July 07, 2017, 01:01:57 pm »
Bson, thanks for the example.  I'm filing this away for future reference.

The op amp only needs power once, not in every unit.

I connected them all in an attempt to work around an apparent bug in EasyEDA's PCB module.  For some reason connecting just one op-amp to power and ground resulted in the ground pin of the LM324 not being connected to any net.

Dave
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: What are some good rules of thumb for making clean schematics.
« Reply #53 on: July 07, 2017, 01:49:21 pm »
[...]

The SN754410 got a custom component that better suits the schematic.

[...]

Bingo. How often do folks make their own schematic components?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: What are some good rules of thumb for making clean schematics.
« Reply #54 on: July 07, 2017, 03:37:02 pm »
Bingo. How often do folks make their own schematic components?
I do make mine, but once, not for each schematic. I prefer to think and figure out what will work for most use cases.
Alex
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: What are some good rules of thumb for making clean schematics.
« Reply #55 on: July 07, 2017, 03:40:06 pm »
I didn't get nearly as much agreement as I expected about avoiding 4 way (cross) junctions. I'm surprised.
I would agree that in some cases it may cause confusion, but not everywhere. Here you have an example of a circuit that will make no sense if all diodes are attached, and depicted circuit is very typical.

I really see no need to complicate things here.
Alex
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19450
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: What are some good rules of thumb for making clean schematics.
« Reply #56 on: July 07, 2017, 03:43:02 pm »
[...]

The SN754410 got a custom component that better suits the schematic.

[...]

Bingo. How often do folks make their own schematic components?

As often as is beneficial. The proportion depends on the type of component: 100% for FPGAs/CPLDs, 0% for standard logic and standard opamps/comparators/R/L/C, very variable for "special purpose" ICs such as motor controllers.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline vealmike

  • Regular Contributor
  • *
  • Posts: 192
  • Country: gb
Re: What are some good rules of thumb for making clean schematics.
« Reply #57 on: July 10, 2017, 06:51:24 am »
I didn't get nearly as much agreement as I expected about avoiding 4 way (cross) junctions. I'm surprised.
I would agree that in some cases it may cause confusion, but not everywhere. Here you have an example of a circuit that will make no sense if all diodes are attached, and depicted circuit is very typical.

I really see no need to complicate things here.
Surprise, surprise we disagree again! :D
There's no confusion in this case, but there is still room for mistake. One missing junction dot and you're looking at a board spin.
Please don't do it OP, it is widely considered to be bad practice.
 
The following users thanked this post: schmitt trigger

Online Gyro

  • Super Contributor
  • ***
  • Posts: 9470
  • Country: gb
Re: What are some good rules of thumb for making clean schematics.
« Reply #58 on: July 10, 2017, 08:27:54 am »
I completely agree (  >:D ).

I can't think of a single case where I've needed to connect on a cross, there is simply no need to do it.

Referring to bson's recent schematic, having +15V going through a cross connection to U2 Pin 16 (VCC1) is an instant fail, too open to errors. As I said previously on motor output clamp diode, moving the upper row left or the lower row right would eliminate cross connections with zero loss of clarity and lower risk of schematic error.

Sorry but it's a cardinal rule with me (and I think most people), both composing and reviewing.
« Last Edit: July 10, 2017, 08:48:04 am by Gyro »
Best Regards, Chris
 
The following users thanked this post: vealmike

Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: mx
Re: What are some good rules of thumb for making clean schematics.
« Reply #59 on: July 10, 2017, 02:08:15 pm »

Surprise, surprise we disagree again! :D
There's no confusion in this case, but there is still room for mistake. One missing junction dot and you're looking at a board spin.
Please don't do it OP, it is widely considered to be bad practice.

I am also in agreement with you.
There is another reason (although lately is less important): making copies. Small dots may be obliterated, and dirt could be also confused as a connection.
A T-connection is the best practice.... And since this topic is about best practices, I think this advice should be heeded.

 
The following users thanked this post: vealmike

Offline dsharp02Topic starter

  • Contributor
  • Posts: 26
  • Country: us
Re: What are some good rules of thumb for making clean schematics.
« Reply #60 on: July 19, 2017, 03:21:49 am »
Ok one more try.  Sorry to :horse:, but I think I've taken everyone's suggestions to heart.  I created a custom footprint for the SN754410.  I moved the power connector and the decoupling capacitors into a separate block.  Sensors are on the far left, so signals travel left-to-right.  Motor outputs are on the far right and I've only connected VCC and GND to the op-amp once.  I've tied the loose end of the pot to the wiper to reduce noise.

Let me know what you think.

Thanks,
Dave
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: What are some good rules of thumb for making clean schematics.
« Reply #61 on: July 19, 2017, 03:24:43 am »
I don't understand why you try to avoid power supply symbols. Why do you need those 4 parallel lines on the bottom? Why all those lines going to the diodes?
Alex
 

Offline vealmike

  • Regular Contributor
  • *
  • Posts: 192
  • Country: gb
Re: What are some good rules of thumb for making clean schematics.
« Reply #62 on: July 19, 2017, 02:30:25 pm »
I've fixed D2/D3 for you. Do you see what we mean about not making a connection at a 4 way intersection?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf