OK here is the start of it.
I'm doing a panel that has some parts that are forming part of a fluid measurement system, that is going underwater.
a) The flow meters have a 10mm bore, and outside the footprint is around 15x60mm, with 1 connection pad for the cable. The connection point is an subsea connector which I will go into more later.
b) The junction box has of course 10 connectors, again size to come from a datasheet later.
c) The output of the JB is a single connector, with power and comms. Again more on this later.
- First off start a new project
- Open the schematic and remove all the libraries.
- Open library editor (I find this a quirk of Kicad- you can't just say start a new library? maybe I'm wrong )
- Create a new component. The first 1 I did was a flow meter. Its a simple square with 1 pin.
- Use the "Save current component to new library" and save the library in your project file.
- Inside the library editor click Preferences-Component Libraries and add the new library
- Click create a new component, and make a junction box with 10 inputs and 1 output.
- Save the library.
- Go back to the schematic and place 10 flow meters on the sheet.
- Place a junction box.
- Wire up the flow meters to the input side of the JB and leave the output side O/C for now.
get yourself a coffee.....time to make a foot print for the flow meter.
12. Close down the schematic library editor.
13. Open the Foot Print editor and again remove all the libraries...
14. Use the wizard, and start a new SOIC part
15. set pas count=1, row count=1, pad width=20, pad length=20
16. Click Body
17. Outline X=15
18. Outline y=60
This puts the pad as a square in the centre of the flow meter. I don't actually want a square as the connector is circular, but its easy to change later. The connector is one of these;
Its the 4 pin unit, and it is actually a 20 mm hex, but a 20 mm circle will show it well enough for what I'm trying to show.
- Click create new library, and save current foot print.
- Select your working folder and save the library in there.
- Go to preferences-> libraries manager and add your new library to the project.
- Select the active library
- Save the component to the library
- Click new foot print
- Select the wizard again, and use SOIC again.
- This time enter pass count 10, row count 2, pad pitch 40, pad width 20, pad length 20, row spacing 150
- Click body and set x and y margin to 0.
At this stage I am using the wizard to give me a preliminary size of the junction box, which will set the size of the PCB I put inside it. Later I might have to come back here and adjust this if the PCB ends up smaller/larger.
- After accepting the component I changed all the pads to circular.
- I moved the component outline so the pads are on the outside.
- Added a pad manually, called in 11, and put it on the one side by itself.
Updated the name and reference in the library and save it.
Annotate the schematic.
- Run CvPCB, and if you have done it right, it'll be a quick job of just double clicking and setting all the foot prints.
- Generate a net list.
- Start PCBnew
- Import the netlist
- You will need to set the page settings to A0 for the size.
- Re-arrange the parts so they are not on top of one another.
- Draw the Edge cuts around the parts, and you have the panel size in 2D.
So ends the 2D work flow.CNOOC Electrical.rar (9.6 KB)
So I have arranged the flow meters like this, as in real life they have connections at the ends, like these;
The junction box, has a pcb that collects all the signals, and compresses them to an output string to a subsea bottle, hence pin 11 on the JB.
The same applies for working on electrical JB's for the internals. As I said earlier you can turn off the ratsnest.
You can create your own page layout, that has no borders and title block. This allows you to use the complete work space area, and makes the limitation of size a little better.