I’m having a bit more hit than miss now by ensuring the right-angle joint of the 2 tracks is perfectly aligned by using a grid of 0.025mm. However, some tracks still refuse to fillet.
I’ve attached an example. The top line shows the 2 individual tracks selected. The second row shows that there are only 2 tracks present. Clicking “Select All” produces the next row. Then I try to add a fillet and the result is “Unable to fillet the selected track segments”.
You were right, there are “blobs” in one corner, and in another the segment endpoints don’t collide. Your component pads aren’t in the same large pitch grid, therefore KiCad helpfully adds small segments to compensate for this while routing because the router wants to the endpoints of segments collide. Also it’s not easily possible to force 90 deg corners in all wanted locations while routing with the interactive router so that they would still be in line with the destinations (estimating is very difficult with this 0.1 mm grid).
Even though it’s possible to create arc segments on the fly by using context menu -> Track Corner Mode while routing, they can’t be easily controlled or edited in some exact way afterwards, and at least I can’t create a 2mm radius arc like that.
There’s some kind of usability problem here, but I’m not sure how it should be fixed.
@Qbort is responsible for large part of this filleting functionality, maybe he can comment on this. Could it be possible to take 3 segments (2 x 45 deg corners) and create one fillet?
Understandably creating 90 deg corners hasn’t been a priority for the end users, therefore it’s not easy in all situations. And I don’t think it would be the correct way to fix this anyway, if creating or editing fillets could be easier.
As a workaround you can change the grid temprorarily to e.g. 1mm. Then it’s easy to create 90 deg corners. They may end in the pad ugly but maybe you can find something for that.
At the moment, you can only create 45-degree arcs using the router tool (because H/V/45 is the most common routing style). In the future it will be possible to create 90-degree arcs as shown in this design using the interactive router, but that will be a 6.99 feature.
and you just can’t fit two arcs with a radius of 2mm each into a track segment that is shorter then 4mm.
Same for the short segment near pad number 3.
109.275 - 107.75 = 1.52500
Those “Blobs” are a bit annoying thing of KiCad. I think KiCad makes them to connect “off grid” track segments with “on grid” track segments. Luckily KiCad makes less of these things now then it used to in previous KiCad version. One way to remove them is to first drag it a bit inwards to make it bigger, then grab it again and drag it outwards until you have a sharp corner.
The Net Classes are the main method for specifying track and via parameters. and the Pre-defined Sizes are only an “extra feature” for stuff that deviates from the normal workflow. Learn to use net classes, and you’ll make better PCB’s quicker.
I guess it is possible but it would be a new feature request as likely there would be a lot of edge cases to get right - definitely not one for v6.
The fillet tracks tool is a bit specific in what it needs:
The tracks must join at the same exact point (e.g. start point of one track must equal the end point of the other). Note that this same requirement exists for several other tools, e.g. the calculation of length in the length tuner.
The radius entered will be checked to ensure that it will fit. If it doesn’t fit, it won’t fillet.
If there are more than one track or other object (e.g. a Pad) at the intersection point, the tool does not fillet (to avoid breaking connectivity).
115Vac rms = 162V peak, so the “bottom” of C2 (which is drawn backwards!) gets charged to -160V, but the AC input also swings to +160V, which is a difference of 320V.
Add to that mains voltage tolerances, possible spikes/ hazards/ surges (What’s the word in English?) and a bit of a safety margin, and designing it for 400V isolation distance would make a lot more sense.
If this circuit is directly coupled to mains voltage you also need a fuse.
Your 2mm wide tracks are not capable of handling the current that a wall socket can deliver, which results in a fire hazard when something bad happens to your circuit and lots of amps start flowing.
You’re also getting near the territory where you have to check the voltage ratings of the resistors used. I think most 1/4W THT resistors go up to 150V or 200V. It’s probably still acceptable, but you have to check to be sure.
I cut off your “because” because there are no excuses for getting lazy when working with mains related voltages.
Thanks again Paul. I just checked, recommended clearance for coated tracks at 400V is 0.8mm. I have looked up those figures before and knew I was safe. I’ve also designed boards going up to 500V with appropriate clearances of course, using Net Classes.
The power supply does indeed have multiple fuses. Mains. Low voltage and high voltage. A mix of slow and fast blow.
There are different rules though for “just to keep it working” and “Safety related for mains voltages”.
But I do not have to get my PCB’s through any approval procedure so I never looked too deep into those.
About the fuses, maybe I was nannying too much. Having fuses somewhere else is perfectly fine of course.
C2 is still backwards though, so put on your safety glasses and watch your elco’s pop when you turn it on the first time.
Thanks for that. I’ll check it. The v5.99 nightly build capacitor footprints didn’t have any polarity indications at all. I had to edit the footprints to make one of the pads rectangular and add a “+” symbol.