Reworkctf reworkctf is an open-source printed circuit board by PCBench, from the PCBench/PCBench repository on GitHub, published under the MIT licence. It is a 4-layer board of 65 × 60 mm with 143 parts on 250 nets, routed with 2,143 tracks and 122 vias.
It is built around the XC3S50A-4FTG256C, 74HC04D and ADP322ACPZ-145-R7. Its parts include 51 resistors, 45 capacitors, 23 diodes, 6 ICs and 2 connectors. It belongs with the FPGA and CPLD boards of this library.
PCBench: A Dataset for Printed Circuit Board Routing
PCBench is a dataset for PCB routing task, it includes a dataset consisting of 164 printed circuit boards (PCB), a data augmentation script to expand the dataset for supervised learning (SL) tasks, and a reinforcement learning (RL) environment.
Dataset
Folder Structure
All the PCB designs in our dataset are stored in the folder PCBs, where each PCB design is stored in a subfolder named {author/org}_{PCB_name}_{design_version(optional)}. Below is the folder structure of the dataset.
The raw.kicad_pcb is the raw PCB design file, process.kicad_pcb is the file after cleaning up, final.json stores only routing-related information used for ML tasks. metadata.json stores the meta information for each single PCB design. visual.png is a visualization of each single PCB design. master_meta.json contains metadata of all PCBs and global-level information.
PCB Routing Description Language (PCB-RDL)
We propose a JSON specification (final.json for each PCB design) called the PCB Routing Description Language (PCB-RDL) that expresses a PCB routing problem and its solutions intuitively using basic concepts in order to facilitate research into automated PCB routing using ML. Following figure shows is an example of PCB with marked components in PCB-RDL (Left) and it corrsponding PCB-RDL (Right).
Data Augmentation
Run
The augmentation data can be generated with the script Scripts/Data_augmentation/augmentation.py. To generate 3 samples by randomly extracting 50% nets from the PCB 1Bitsy_1bitsy, please run the following command
text
cd Scripts/Data_augmentation/
python augmentation.py --num_samples 3 --net_ratio 0.5 --pcb_name 1Bitsy_1bitsy
Output
All the generated PCBs will be stored in the folder named augmented_data under Scripts/Data_augmentation/. In augmented_data, all the generated samples will be stored in a subfolder with the name of selected PCB. Each generated sample has the name sample_index.json. For example, the above command will generate the following file under Scripts/Data_augmentation/
It measures 65 × 60 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Reworkctf reworkctf use?
143 parts, built around the XC3S50A-4FTG256C, 74HC04D and ADP322ACPZ-145-R7. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Reworkctf reworkctf KiCad files?
From the PCBench/PCBench repository on GitHub, at the commit this page was made from: the board is PCBs/reworkctf_reworkctf/processed.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Reworkctf reworkctf design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).