from rapid prototyping to micro controller units for ...€¦ · du prototypage rapide au...

28
From Rapid Prototyping to Micro Controller Units for developping a sonication instrument Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1

Upload: others

Post on 31-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

From Rapid Prototyping to Micro Controller Units for developping a sonication instrument

Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication

1

Page 2: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Agenda

I. We are MERCK – the Original

II.The Sonication Instrument Project and

the MathWorks solutions

2

Page 3: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

We are Merck – the originalIn 1887, Merck opened its own office in New York, which gave rise to the subsidiary Merck & Co. three years later. As a result of World War I, this subsidiary was expropriated in 1917 and has been an independent company ever since 1917. Merck – the original – holds the global rights to the Merck name and brand.

Exceptions are Canada and the United States, where we are known under the EMD brand, which stands for "Emanuel Merck Darmstadt“.

3

Page 4: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Founded in 1668

66 countries

4 pharmaceutical and chemical divisions

over 38,000 employees

€1.5 billion invested in R&D in 2013

€11.1 billion total revenues in 20134

Page 5: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Our divisions

Biopharmaceuticals

Innovative prescription

medicines to treat, for

example, cancer and

multiple sclerosis.

Over-the-counter

pharmaceuticals

Non-prescription

pharmaceuticals, such as

products for everyday

health protection or to

provide fast relief of colds

and pain.

High-tech chemicals

Specialty chemicals, such

as liquid crystals for high-

tech displays or effect

pigments for coatings and

cosmetics.

Life science tools

Innovative tools and

laboratory supplies for the

life science industry.

Merck Serono Consumer Health Performance Materials Merck Millipore

5

Page 6: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Bioscience Lab Solutions Process Solutions

Our business areaMerck Millipore

Tools and services to make

pharmaceutical and

biotechnological research faster,

easier and more productive

High-purity reagents, products for

trace analysis and lab water

systems for research and for

analytical and clinical laboratories

Products that help pharmaceutical

and biotechnological companies to

develop drugs safely, effectively

and cost-efficiently6

Page 7: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Our Challenges Our solutions

7

Page 8: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Sonication quick overview

8

Generation and collapse of an acoustic cavitation bubble

(ref: Royal Society of Chemistry)

Ultrasound is used to form and collapse

microbubbles in liquid, which creates high

temperature and pressure conditions resulting in

bacteria cell membrane shearing.

Then, the cell contents (e.g. DNA) is released

and can be detected by rapid molecular

detection method (e.g. PCR).

Detection is perfomed in hours vs. days.

To have more details on our application, see the following paper:Hohnadel M., Felden L., Fijuljanin D., Jouette S., Chollet R. A new ultrasonic high-throughput instrument for rapid DNA

release from microorganisms. Journal of Microbiological Methods 99C (2014), pp. 71-80, DOI:

10.1016/j.mimet.2014.02.004

VIDEO

Page 9: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Sonication quick overview

9

Page 10: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Sonication Instrument Project Description

10

Page 11: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Sonication Instrument

11

Page 12: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Parameters Adjustment

12

Amplitude of vibration vs. Voltage relationship

with a LK-H027 laser vibrometer.

Probe

Vibrometer

Page 13: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Sequence Functions conversion into blocks

13Sequence Function Simulink blocks

Use of ‘Switch Case’ …

… and simple Logic

Page 14: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Simulink Real-Time - IO 101 boards

14

16-bit analog module with:

-32/16 multiplexed analog input (0-10 V),

-8 analog output (0-10 V)

-16 digital I/O TTL channels individually

Mobile Real-Time Target machine

Terminal board

Page 15: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Simulink Real-Time - Conversion in Simulink

15D

igit

al In

pu

t

Dig

ital O

utp

ut

An

alo

g

Inp

ut

An

alo

g

ou

tpu

t

Setup

of variables

Sequence

Functions

Blocks

IO101 Blocks

Sensors

SignalsControls

Of OEM

Actuators

Signals

Page 16: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

... + monitoring of signals

16

Command & Control signals + Steps in sequence are monitored.

Monitor the image

of the power by

measuring Voltage

of the amplitude

control feedback

loop

Page 17: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Simulink Real-Time - Digital Inputs

17

R

R

R

R

R

R

R

5 VButton

Porte

TF

Phaut

PB

Bhaut

Pint

DIO 1

DIO 2

R

IO 101 R=50KΩ

TO

DIO 3

DIO 4

DIO 5

DIO 6

DIO 7

DIO 8

Simulink IO101 Terminal board connections

Sensors

Page 18: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Simulink Real-Time - Digital Outputs

18

Simulink

IO101 Terminal board connections

DIO 3

MCS

DIO 1

DIO 4

DIO 5 MTP

DIO 6 MTS

DIO 7 LedB

IO101

MCP

Switch

DC 24V+

GND

Actuators

Signalname

Description

MTP Drawer motor

MTS Drawer opening direction

MTS Drawer closing direction

MCP Cams motor reduction

MCS Cams direction of rotation (CW for pushrods inhight position)

MCS Cams direction of rotation (CCW for pushrods indown position)

LED Led for controling the sonication cycle

Power Relays stage to

command actuators

Page 19: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

TI C2000

19

A lot of Digital I/O [0-3.3V], some Analog

Inputs

BUT …

NO Analog Output

AND we need 0-5V Analog output to

control the amplitude of the probe

Page 20: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

TI C2000 vs. Mobile Target

20

Digital Output

Not TTL and lack of power Need a push-pull stage

Digital Input

Not TTL Need to change voltage from 5V to 3.3V

Analog Output

TI C2000 doesn’t have Analog Out Need to use a Digital Out

Simulink

Page 21: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

TI C2000 vs. Mobile Target

21

Matlab Toolbox Needed

TI C2000 Mobile Target

MATLAB MATLAB

Simulink Simulink

Simulink Coder Simulink Coder

Embedded Coder Simulink Real-Time

Page 22: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

TI C2000 vs. Mobile Target

22

Simulink

No changes for the Sequence Function.

Only use TI C2000 blocks instead of IO101 blocks.

TI C2000 Simulink Mobile Target IO101 Simulink

Page 23: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

TI C2000 - Conversion in Simulink

23

TI C2000 Blocks; the rest is the same as on Mobile Target

Page 24: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

24

TI C2000 – Digital Output

GPIO 2

R

R

R

R

+

MCS

GPIO 1

GPIO 3

GPIO 4

R=2.2KΩ

DC 5V

MTP

RGPIO 5

MTS

RGPIO 6

LedB

TI C2000

MCP

Switch

DC 24V

+

5V to keep TTL

logic as for IO101

Push-pull stage

Page 25: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

25

TI C2000 – Digital Out to Analogic

GPIO 00=PWM 1

TI C2000

TXB0108

GND

Sortie analogique

R=4.3 kΩ

C=47 µFOD GND

OTXB0108

Page 26: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Summary

26

Simulink Real-Time

to Embedded board

=

Insignificant changes

Page 27: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Next Steps

BioMonitoring27

The Mathworks offers much more Support package since that project:

http://www.mathworks.fr/fr/help/simulink/index.html#target-hardware

We are currently testing Arduino Uno/Mega, Raspberry Pi, Pandaboard with

mezzanine boards to prevent any soldering for prototyping:

TI C2000 Push Pull Stage w/

power relays

Arduino Uno w/ 2

relays shield

Page 28: From Rapid Prototyping to Micro Controller Units for ...€¦ · Du prototypage rapide au Micro-Contrôleur pour le développement d'un instrument de sonication 1. Agenda I. ... 3

Thank You!