SlideShare a Scribd company logo
1 of 25
Download to read offline
FOSDEM, 2024
Bruxelles, February 4th
Electronic boards
production automation with
KiCad
$whoami
Tsvetan Usunov === OLIMEX Ltd
www.olimex.com
OLIMEX company is dealing with electronic design and
production more than 30 years.
1000+ originally designed products, most of them OSHW.
All OLIMEX products are manufactured in Plovdiv, Bulgaria.
Design process
Designing electronic boards
involves creativity,
problem-solving, engaging
your intellect, and provides
incredible satisfaction in
return.
Production process
The later mass production
process is characterized by its
boring, repetitive, non-creative,
and monotonous nature.
Nevertheless its very important
as if not done properly it can
easily turn into a nightmarish
experience.
Why do we bother to produce?
Because, regrettably, it remains
the most dependable means to
cover our bills, provide for our
families, and recoup something
from our designs and creative
efforts.
With 1000+ products to manage and produce
and no obsolescence it’s real challenge.
What could possible go wrong?
Component supply related problems:
●
Differences between component from different lots;
●
Different orientation inside the reel tape for same component from
different vendors;
●
Different component marking;
●
Component packaging variations;
●
Fake components;
What could possible go wrong?
Operator Mistakes: Humans are not infallible like machines. Fatigue,
distraction, and varying health conditions can contribute to errors.
Operator performance may decline in the late afternoon due to tiredness and
reduced eyesight, compared to the morning when they are fresh and
energetic.
Operators may experience temporary health problems that could affect their
concentration and performance.
Problems at home or personal issues may distract operators, impacting their
ability to focus on their tasks.
It’s easily to load wrong reel on the machine and to have thousands of PCBs
for repair.
To be competitive in production
There are two major problems to be solved:
1. Once the design is complete how fast the machine programs and
setup are to be generated from the CAD files.
2. Once the production is setup, how fast and error free machine are
setup for production (changeovers)
The typical production flow
The typical production flow is like this:
Component Kitting → Solder paste Printer → Inspection → SMT Placer →
Inspection → Oven → Inspection → PTH → Inspection → Test
The First challenge: Machine initial Programming
The various machines used in production, such as printers, pick-and-place
machines, ovens, AOI, and testers, all operate on different software. This
software is created by various companies, each with its own ideas,
libraries, and component naming concepts. Adding to this complexity, our
ERP system manages over 3000 components in stock, and we also
incorporate KiCad libraries
Preparing programs to run on all these machines is a time-consuming task.
In the past, it used to take us days to prepare programs for complex boards
with hundreds of components and to verify them on the production line.
The Second challenge: error free PCB changeovers
Managing the frequent changes in PCB jobs on the
assembly lines, given the multitude of products,
poses a significant challenge.
Loading tens of feeders without errors becomes a
challenging task as human errors are inevitable.
Finding ways to minimize operator errors is essential.
Continual improvement of the process
With over 30 years of experience in electronic
production, we are consistently striving to enhance
our processes to prevent avoidable mistakes and to
streamline the programming of various machines,
making it a more straightforward and predictable
process.
The tools
The sole solution we discovered involves computer
assistance and control, where humans interact with
machines at every step.
We have implemented KiCad scripts as a vital part of our
process, effectively addressing both challenges of faster
machine programming and error-free changeovers.
KiCad
KiCad provides complete openness, allowing us access
to every parameter of the PCB, each component and its
properties, and every PCB element to extract the
necessary information.
While attempting to achieve similar results with Eagle
legacy boards using ULP scripts, we encountered some
success, but the freedom and flexibility are not
comparable.
The machines reverse engineering
In our production, we utilize machines from various
vendors, including Samsung, Sony, Omron, Autotech,
MPM, and ETA. To automatically generate programs for
these machines, we had to reverse engineering their file
formats.
While this is still a work in progress, significant progress
have been made and I will demonstrate with the next
slides.
It all starts from the CAD Olimex
plugin
Olimex production export
PCB orientation
What info to use
What to export
Export Result Files
Import JSON in our ERP
match
Data tabs
Preview
Export Machine code
Machine
dropdown
menu
The result
Native Samsung
program file ready to
be loaded to the
machine
Computer assisted Changeover
Two
machines
working inline
The recap
The productivity increase from CAD to Machine
program by using these scripts is multiply times.
Additional benefit is to not use the machine time for
programming.
With the changeovers there is no remarkable speed up,
but significant reduction of the errors due to operator
mistakes.
Questions?
Follow us:
Web www.olimex.com
Wordpress https://olimex.wordpress.com/
Twitter https://twitter.com/Olimex
Facebook https://www.facebook.com/OLINUXINO
Mastodon https://mastodon.social/@olimex

More Related Content

Similar to FOSDEM 2024 Electronic boards production automation with KiCAD scripts

William Impey CV
William Impey CVWilliam Impey CV
William Impey CV
Will Impey
 
Resume for George Bertram
Resume for George BertramResume for George Bertram
Resume for George Bertram
George Bertram
 

Similar to FOSDEM 2024 Electronic boards production automation with KiCAD scripts (20)

Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
 
William Impey CV
William Impey CVWilliam Impey CV
William Impey CV
 
Jari P. Ängeslevä - Ai the new kid in the block
Jari P. Ängeslevä - Ai the new kid in the blockJari P. Ängeslevä - Ai the new kid in the block
Jari P. Ängeslevä - Ai the new kid in the block
 
How dvcs can reduce your development costs and enhance productivity final
How dvcs can reduce your development costs and enhance productivity finalHow dvcs can reduce your development costs and enhance productivity final
How dvcs can reduce your development costs and enhance productivity final
 
[Webinar] Announcing the Camunda Cloud Public Beta - February 2020
[Webinar] Announcing the Camunda Cloud Public Beta - February 2020[Webinar] Announcing the Camunda Cloud Public Beta - February 2020
[Webinar] Announcing the Camunda Cloud Public Beta - February 2020
 
Beyond Build Pipelines - Continuous Delivery's Messy Reality
Beyond Build Pipelines - Continuous Delivery's Messy RealityBeyond Build Pipelines - Continuous Delivery's Messy Reality
Beyond Build Pipelines - Continuous Delivery's Messy Reality
 
Industrial training report / Summer Vacation Report / Institutional Training ...
Industrial training report / Summer Vacation Report / Institutional Training ...Industrial training report / Summer Vacation Report / Institutional Training ...
Industrial training report / Summer Vacation Report / Institutional Training ...
 
Realize 2022 MINO 7 year of implementation v0.1.pptx
Realize 2022 MINO 7 year of implementation v0.1.pptxRealize 2022 MINO 7 year of implementation v0.1.pptx
Realize 2022 MINO 7 year of implementation v0.1.pptx
 
Resume for George Bertram
Resume for George BertramResume for George Bertram
Resume for George Bertram
 
Cimteq CableBuilder Go
Cimteq CableBuilder GoCimteq CableBuilder Go
Cimteq CableBuilder Go
 
Continuous Deployment for Staging and Production Environments
Continuous Deployment for Staging and Production EnvironmentsContinuous Deployment for Staging and Production Environments
Continuous Deployment for Staging and Production Environments
 
O.M.S. High Tech CNC parts
O.M.S. High Tech CNC partsO.M.S. High Tech CNC parts
O.M.S. High Tech CNC parts
 
Ordina Accelerator program 2019 - DevOps CI-CD
Ordina Accelerator program 2019 - DevOps CI-CDOrdina Accelerator program 2019 - DevOps CI-CD
Ordina Accelerator program 2019 - DevOps CI-CD
 
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoTUtilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
 
ECS News Letter Issue #3
ECS News Letter Issue #3ECS News Letter Issue #3
ECS News Letter Issue #3
 
Facts and Figures 2015 - TECOSIM at a glance
Facts and Figures 2015 - TECOSIM at a glance Facts and Figures 2015 - TECOSIM at a glance
Facts and Figures 2015 - TECOSIM at a glance
 
New manufacturing joint tech
New manufacturing joint techNew manufacturing joint tech
New manufacturing joint tech
 
DevOps: Age Of CI/CD
DevOps: Age Of CI/CDDevOps: Age Of CI/CD
DevOps: Age Of CI/CD
 
Real-time Manufacturing Management for a Hybrid Process
Real-time Manufacturing Management for a Hybrid ProcessReal-time Manufacturing Management for a Hybrid Process
Real-time Manufacturing Management for a Hybrid Process
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery WorkshopAgile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery Workshop
 

More from Olimex Bulgaria

More from Olimex Bulgaria (18)

FOSDEM 2024 Neo in the Matrix
FOSDEM 2024 Neo in the MatrixFOSDEM 2024 Neo in the Matrix
FOSDEM 2024 Neo in the Matrix
 
Open fest 2019 WiFi mesh for monitoring and control of large areas
Open fest 2019 WiFi mesh for monitoring and control of large areasOpen fest 2019 WiFi mesh for monitoring and control of large areas
Open fest 2019 WiFi mesh for monitoring and control of large areas
 
NB-IoT technology RuseConf 2019 Bulgarian
NB-IoT technology RuseConf 2019 BulgarianNB-IoT technology RuseConf 2019 Bulgarian
NB-IoT technology RuseConf 2019 Bulgarian
 
NB-IoT technology RuseConf 2019
NB-IoT technology RuseConf 2019NB-IoT technology RuseConf 2019
NB-IoT technology RuseConf 2019
 
Open Source Hardware for Smart City Fosdem 2019
Open Source Hardware for Smart City Fosdem 2019Open Source Hardware for Smart City Fosdem 2019
Open Source Hardware for Smart City Fosdem 2019
 
Open Source Hardware for Industry 4.0
Open Source Hardware for Industry 4.0Open Source Hardware for Industry 4.0
Open Source Hardware for Industry 4.0
 
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
 
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
Как технологиите с отворен код могат да помогнат Вашият град да стане по-добр...
 
How the Open Source technologies can help your city to become an better place...
How the Open Source technologies can help your city to become an better place...How the Open Source technologies can help your city to become an better place...
How the Open Source technologies can help your city to become an better place...
 
Hacking Soldering Robot with TERES-I DIY laptop
Hacking Soldering Robot with TERES-I DIY laptopHacking Soldering Robot with TERES-I DIY laptop
Hacking Soldering Robot with TERES-I DIY laptop
 
Developing an open source hardware laptop with KiCad fosdem 2018
Developing an open source hardware laptop with KiCad fosdem 2018Developing an open source hardware laptop with KiCad fosdem 2018
Developing an open source hardware laptop with KiCad fosdem 2018
 
Robko js
Robko jsRobko js
Robko js
 
Open Source Hardware. Why we do it, why it matters?
Open Source Hardware. Why we do it, why it matters?Open Source Hardware. Why we do it, why it matters?
Open Source Hardware. Why we do it, why it matters?
 
Hacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular LaptopHacker's friendly Open Source Hardware DIY modular Laptop
Hacker's friendly Open Source Hardware DIY modular Laptop
 
Designing with KiCAD of 64-bit ARM board
Designing with KiCAD of 64-bit ARM boardDesigning with KiCAD of 64-bit ARM board
Designing with KiCAD of 64-bit ARM board
 
SMT technology design and production
SMT technology design and productionSMT technology design and production
SMT technology design and production
 
Physical Computing with Linux
Physical Computing with LinuxPhysical Computing with Linux
Physical Computing with Linux
 
OpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
OpenFest 2013 Open Source Hardware (OSHW) made in BulgariaOpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
OpenFest 2013 Open Source Hardware (OSHW) made in Bulgaria
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 

FOSDEM 2024 Electronic boards production automation with KiCAD scripts

  • 1. FOSDEM, 2024 Bruxelles, February 4th Electronic boards production automation with KiCad
  • 2. $whoami Tsvetan Usunov === OLIMEX Ltd www.olimex.com OLIMEX company is dealing with electronic design and production more than 30 years. 1000+ originally designed products, most of them OSHW. All OLIMEX products are manufactured in Plovdiv, Bulgaria.
  • 3. Design process Designing electronic boards involves creativity, problem-solving, engaging your intellect, and provides incredible satisfaction in return.
  • 4. Production process The later mass production process is characterized by its boring, repetitive, non-creative, and monotonous nature. Nevertheless its very important as if not done properly it can easily turn into a nightmarish experience.
  • 5. Why do we bother to produce? Because, regrettably, it remains the most dependable means to cover our bills, provide for our families, and recoup something from our designs and creative efforts. With 1000+ products to manage and produce and no obsolescence it’s real challenge.
  • 6. What could possible go wrong? Component supply related problems: ● Differences between component from different lots; ● Different orientation inside the reel tape for same component from different vendors; ● Different component marking; ● Component packaging variations; ● Fake components;
  • 7. What could possible go wrong? Operator Mistakes: Humans are not infallible like machines. Fatigue, distraction, and varying health conditions can contribute to errors. Operator performance may decline in the late afternoon due to tiredness and reduced eyesight, compared to the morning when they are fresh and energetic. Operators may experience temporary health problems that could affect their concentration and performance. Problems at home or personal issues may distract operators, impacting their ability to focus on their tasks. It’s easily to load wrong reel on the machine and to have thousands of PCBs for repair.
  • 8. To be competitive in production There are two major problems to be solved: 1. Once the design is complete how fast the machine programs and setup are to be generated from the CAD files. 2. Once the production is setup, how fast and error free machine are setup for production (changeovers)
  • 9. The typical production flow The typical production flow is like this: Component Kitting → Solder paste Printer → Inspection → SMT Placer → Inspection → Oven → Inspection → PTH → Inspection → Test
  • 10. The First challenge: Machine initial Programming The various machines used in production, such as printers, pick-and-place machines, ovens, AOI, and testers, all operate on different software. This software is created by various companies, each with its own ideas, libraries, and component naming concepts. Adding to this complexity, our ERP system manages over 3000 components in stock, and we also incorporate KiCad libraries Preparing programs to run on all these machines is a time-consuming task. In the past, it used to take us days to prepare programs for complex boards with hundreds of components and to verify them on the production line.
  • 11. The Second challenge: error free PCB changeovers Managing the frequent changes in PCB jobs on the assembly lines, given the multitude of products, poses a significant challenge. Loading tens of feeders without errors becomes a challenging task as human errors are inevitable. Finding ways to minimize operator errors is essential.
  • 12. Continual improvement of the process With over 30 years of experience in electronic production, we are consistently striving to enhance our processes to prevent avoidable mistakes and to streamline the programming of various machines, making it a more straightforward and predictable process.
  • 13. The tools The sole solution we discovered involves computer assistance and control, where humans interact with machines at every step. We have implemented KiCad scripts as a vital part of our process, effectively addressing both challenges of faster machine programming and error-free changeovers.
  • 14. KiCad KiCad provides complete openness, allowing us access to every parameter of the PCB, each component and its properties, and every PCB element to extract the necessary information. While attempting to achieve similar results with Eagle legacy boards using ULP scripts, we encountered some success, but the freedom and flexibility are not comparable.
  • 15. The machines reverse engineering In our production, we utilize machines from various vendors, including Samsung, Sony, Omron, Autotech, MPM, and ETA. To automatically generate programs for these machines, we had to reverse engineering their file formats. While this is still a work in progress, significant progress have been made and I will demonstrate with the next slides.
  • 16. It all starts from the CAD Olimex plugin
  • 17. Olimex production export PCB orientation What info to use What to export
  • 19. Import JSON in our ERP match Data tabs
  • 22. The result Native Samsung program file ready to be loaded to the machine
  • 24. The recap The productivity increase from CAD to Machine program by using these scripts is multiply times. Additional benefit is to not use the machine time for programming. With the changeovers there is no remarkable speed up, but significant reduction of the errors due to operator mistakes.
  • 25. Questions? Follow us: Web www.olimex.com Wordpress https://olimex.wordpress.com/ Twitter https://twitter.com/Olimex Facebook https://www.facebook.com/OLINUXINO Mastodon https://mastodon.social/@olimex