SlideShare a Scribd company logo
1 of 31
Analysis/Modeling/Programming

        Tomasz Janiewicz
Overview
• Finished secondary school in
  Canada
• B.Sc. in Applied Mathematics
  from SFU – Vancouver, Canada
• Worked in:
  – Process control
  – Fuel cell technology
  – Diesel truck technology
Universal Dynamics
• Worked with an industrial controller software -
  Brainwave
• Expanded single variable into multivariable
  system
• The system was:
   –   Model based
   –   Adaptive
   –   Predictive
   –   Able to handle processes with time delays
Brainwave
• Time delay => poor
  PID (Proportional
  integral derivative)
  control
• Brainwave uses a
  model
• Based on Fourier-
  like Laguerre series
Laguerre Series

Different rates of decay




Sinusoids combined with
Exponentials which decay to
zero


Each model is built by
Applying a weight function
And adding the coefficients
Brainwave - model



Learned model


                         Initial model


                 Weight function
 Time delay      coefficients
Brainwave - control


                    Process response
Set point




            Actuator moves (Brainwave)
Brainwave MIMO
• Originally Brainwave was a SISO (single
  input single output) controller
• My work was to expand it to MIMO
  (multiple input multiple output)
A MIMO System
                Output 1                  Output 2                     Output 3

                                       magnitude                 magnitude
                              time
Input 1




                                                          time                    time
           magnitude

          magnitude                  magnitude                                    time
Input 2




                       time                        time
                                                                 magnitude

                           time      magnitude                   magnitude
Input 3




          magnitude                                   time                          time
A MIMO System
                                     Output 1                  Output 2                     Output 3

                                                            magnitude                 magnitude
                                                   time

Each input affects
                     Input 1


All the outputs
                                                                               time                    time
                                magnitude

                               magnitude                  magnitude                                    time
                     Input 2




                                            time                        time
                                                                                      magnitude

                                                time      magnitude                   magnitude
                     Input 3




                               magnitude                                   time                          time
A MIMO System
                                 Output 1                  Output 2                     Output 3

                                                        magnitude                 magnitude
                                               time
                 Input 1


Each output
Is affected by              magnitude
                                                                           time                    time

All the inputs             magnitude                  magnitude                                    time
                 Input 2




                                        time                        time
                                                                                  magnitude

                                            time      magnitude                   magnitude
                 Input 3




                           magnitude                                   time                          time
MIMO – how it works
• Not easy to control a MIMO system
• Cost function with a cost matrix is
  implemented
• Importance of each input to each output is
  specified
Channels 1-1 and 3-2: most important
                                        10   1    5

                                        2    5    3

Channels 1-2 and 3-1: least important
                                        1    10   6
Brainwave – technical details
• Based on Laguerre series
• Recursive least squares learning algorithm
• Written in C and C++
• Doubly linked list class to store sparse
  matrices
• Prototyped in Matlab and Simulink
Ballard Power Systems
• World leader in fuel cell research
• Proton Exchange Membrane (PEM) fuel
  cells
• Automotive applications – Mercedes,
  Daimler-Chrysler
• Stationary applications – Ibarra – Japanese
  national energy company
Fuel Cell
• A fuel cell is a battery that
  runs on hydrogen
• Hydrogen is split into
  protons and electrons
• Protons travel through
  PEM
• Electrons travel through
  the circuit
• Both combine with
  oxygen and form water
  vapour
Fuel Cell Stack




• Cells are combined in series to produce more
  power
Stack Cooling in a Vehicle




            • Freeze start-up analysis
            • Stack thermal management
            • Cooling system optimization
Fuel cell cooling



 Coolant
channels
                                           Fuel cell



                               Current collection
                                    plates
Fuel Cell Cooling

                                                   Heat conducted
Collection plate
                                                        away



                                                               Heat carried away
Coolant channel    Coolant flow
                                  Heat generated                  by coolant
                                   by reaction

    Fuel cell



                   Coolant flow




Collection plate
Vehicle Startup
       • The higher the
         temperature:
          – The better performance
          – The more power
            produced
          – The more heat to reject
          – The faster the coolant
            flow
          – The more power sinks
            needed
NxtGen Emission Controls
• Technology firm designing a Syngas
  Generator
• More strict environmental laws
• Diesel trucks need to reduce emissions
• Soot filter management
• Filter cleaning with Syngas
Exhaust System
            Once the DPF (Diesel
            Particulate Filter) fills
            with soot, Syngas
            generator is turned on
            producing Syngas
            which reacts with and
            burns the soot in the
            filter.
Exhaust System Model

Syngas Generator                               Diesel Particulate
                            Diesel Oxidation
Module             Piping                      Filter Module
                            Catalyst Module
Syngas Generator Module

Logic Controllers                          Syngas generator
(System and component)   Flow controller
Diesel Oxidation Catalyst
        Module
                                     Heat transfer
              Syngas oxidation       model
 Gas mixer
              module




                                 Gas flow pressure
                                 drop and redistribution
Diesel Particulate Filter Module
                                    Heat transfer
                Soot management     model
                module




                                  Gas flow pressure
                                  drop and redistribution
DPF Cleaning
                         • DPF is divided into 4
                           segments
Segment 1    Segment 2   • During cleaning only one
                           segment receives Syngas
                         • This segment:
 Segment 4   Segment 3      – Heats up
                            – Has its soot burned
                            – Receives less total gas flow
                              (due to pressure balance)
Gas Temperature/flow




 Higher temperature leads to a reduction in
 Gas flow in a given segment in order to
 Balance out the pressure across the DPF
Soot Burning


          As Syngas is directed into
          each segment, its soot loading
          goes down
Programming details
• Each module of the system was
  programmed in C
• The modules were compiled and put under
  the mask of Simulink s-functions
• All the modules were connected in
  Simulink
• The system was run using Matlab and
  Simulink
Skills Summary
• Ability to translate physical phenomena into
  mathematical language and computer algorithms
• Programming in C and C++
• Differential equations programming
• Excellent knowledge of Matlab and Simulink
• Knowledge of:
  –   Process control
  –   Fuel cells
  –   Chemical engineering
  –   Signal processing

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Technical Presentation

  • 1. Analysis/Modeling/Programming Tomasz Janiewicz
  • 2. Overview • Finished secondary school in Canada • B.Sc. in Applied Mathematics from SFU – Vancouver, Canada • Worked in: – Process control – Fuel cell technology – Diesel truck technology
  • 3. Universal Dynamics • Worked with an industrial controller software - Brainwave • Expanded single variable into multivariable system • The system was: – Model based – Adaptive – Predictive – Able to handle processes with time delays
  • 4. Brainwave • Time delay => poor PID (Proportional integral derivative) control • Brainwave uses a model • Based on Fourier- like Laguerre series
  • 5. Laguerre Series Different rates of decay Sinusoids combined with Exponentials which decay to zero Each model is built by Applying a weight function And adding the coefficients
  • 6. Brainwave - model Learned model Initial model Weight function Time delay coefficients
  • 7. Brainwave - control Process response Set point Actuator moves (Brainwave)
  • 8. Brainwave MIMO • Originally Brainwave was a SISO (single input single output) controller • My work was to expand it to MIMO (multiple input multiple output)
  • 9. A MIMO System Output 1 Output 2 Output 3 magnitude magnitude time Input 1 time time magnitude magnitude magnitude time Input 2 time time magnitude time magnitude magnitude Input 3 magnitude time time
  • 10. A MIMO System Output 1 Output 2 Output 3 magnitude magnitude time Each input affects Input 1 All the outputs time time magnitude magnitude magnitude time Input 2 time time magnitude time magnitude magnitude Input 3 magnitude time time
  • 11. A MIMO System Output 1 Output 2 Output 3 magnitude magnitude time Input 1 Each output Is affected by magnitude time time All the inputs magnitude magnitude time Input 2 time time magnitude time magnitude magnitude Input 3 magnitude time time
  • 12. MIMO – how it works • Not easy to control a MIMO system • Cost function with a cost matrix is implemented • Importance of each input to each output is specified Channels 1-1 and 3-2: most important 10 1 5 2 5 3 Channels 1-2 and 3-1: least important 1 10 6
  • 13. Brainwave – technical details • Based on Laguerre series • Recursive least squares learning algorithm • Written in C and C++ • Doubly linked list class to store sparse matrices • Prototyped in Matlab and Simulink
  • 14. Ballard Power Systems • World leader in fuel cell research • Proton Exchange Membrane (PEM) fuel cells • Automotive applications – Mercedes, Daimler-Chrysler • Stationary applications – Ibarra – Japanese national energy company
  • 15. Fuel Cell • A fuel cell is a battery that runs on hydrogen • Hydrogen is split into protons and electrons • Protons travel through PEM • Electrons travel through the circuit • Both combine with oxygen and form water vapour
  • 16. Fuel Cell Stack • Cells are combined in series to produce more power
  • 17. Stack Cooling in a Vehicle • Freeze start-up analysis • Stack thermal management • Cooling system optimization
  • 18. Fuel cell cooling Coolant channels Fuel cell Current collection plates
  • 19. Fuel Cell Cooling Heat conducted Collection plate away Heat carried away Coolant channel Coolant flow Heat generated by coolant by reaction Fuel cell Coolant flow Collection plate
  • 20. Vehicle Startup • The higher the temperature: – The better performance – The more power produced – The more heat to reject – The faster the coolant flow – The more power sinks needed
  • 21. NxtGen Emission Controls • Technology firm designing a Syngas Generator • More strict environmental laws • Diesel trucks need to reduce emissions • Soot filter management • Filter cleaning with Syngas
  • 22. Exhaust System Once the DPF (Diesel Particulate Filter) fills with soot, Syngas generator is turned on producing Syngas which reacts with and burns the soot in the filter.
  • 23. Exhaust System Model Syngas Generator Diesel Particulate Diesel Oxidation Module Piping Filter Module Catalyst Module
  • 24. Syngas Generator Module Logic Controllers Syngas generator (System and component) Flow controller
  • 25. Diesel Oxidation Catalyst Module Heat transfer Syngas oxidation model Gas mixer module Gas flow pressure drop and redistribution
  • 26. Diesel Particulate Filter Module Heat transfer Soot management model module Gas flow pressure drop and redistribution
  • 27. DPF Cleaning • DPF is divided into 4 segments Segment 1 Segment 2 • During cleaning only one segment receives Syngas • This segment: Segment 4 Segment 3 – Heats up – Has its soot burned – Receives less total gas flow (due to pressure balance)
  • 28. Gas Temperature/flow Higher temperature leads to a reduction in Gas flow in a given segment in order to Balance out the pressure across the DPF
  • 29. Soot Burning As Syngas is directed into each segment, its soot loading goes down
  • 30. Programming details • Each module of the system was programmed in C • The modules were compiled and put under the mask of Simulink s-functions • All the modules were connected in Simulink • The system was run using Matlab and Simulink
  • 31. Skills Summary • Ability to translate physical phenomena into mathematical language and computer algorithms • Programming in C and C++ • Differential equations programming • Excellent knowledge of Matlab and Simulink • Knowledge of: – Process control – Fuel cells – Chemical engineering – Signal processing