background image

Manual

 

M7LL

 

/

 

M70LL

 

Laser

Sensors

  



 

HB

M7LL

M70LL

E.doc

 

page

 

6

 

of

 

23

 

V20130301

   

MEL

 

Mikroelektronik

 

GmbH,

 

Breslauer

 

Str.

 

2,

 

85386

 

Eching

 

/

 

Germany

 

www.MELSensor.com

 

 

A

B

Objektoberfläche

Drehachse

Drehachse

15°

30°

T

T

h

h

i

i

c

c

k

k

n

n

e

e

s

s

s

s

 

 

m

m

e

e

a

a

s

s

u

u

r

r

e

e

m

m

e

e

n

n

t

t

 

 

T

T

  

A

 

thickness

 

measurement

 

system

 

is

 

made

 

of

 

two

 

sensor

 

systems

 

with

 

an

 

add

on

 

option

 

thickness

 

measurement.

 

The

 

sensors

 

are

 

directed

 

on

 

the

 

upper

 

and

 

lower

 

surface

 

of

 

the

 

object.

 

The

 

slave

 

sensor

 

(usually

 

at

 

bottom)

 

sends

 

his

 

distance

 

signal

 

to

 

the

 

master

 

sensor.

 

The

 

master

 

outputs

 

the

 

thickness

 

value

 

which

 

is

 

the

 

sum

 

of

 

both

 

sensor

 

signals.

  

A

 

thickness

 

measurement

 

system

 

is

 

made

 

of

 

two

 

sensor

 

systems

 

with

 

an

 

add

on

 

option

 

thickness

 

measurement.

 

The

 

sensors

 

are

 

directed

 

on

 

the

 

upper

 

and

 

lower

 

surface

 

of

 

the

 

object.

 

The

 

slave

 

sensor

 

(usually

 

at

 

bottom)

 

sends

 

his

 

distance

 

signal

 

to

 

the

 

master

 

sensor.

 

The

 

master

 

outputs

 

the

 

thickness

 

value

 

which

 

is

 

the

 

sum

 

of

 

both

 

sensor

 

signals.

  

The

 

output

 

voltage

 

of

 

the

 

thickness

 

signal

 

is

 

0…10V

 

for

 

the

 

range

 

of

 

both

 

sensors.

 

The

 

output

 

voltage

 

of

 

the

 

thickness

 

signal

 

is

 

0…10V

 

for

 

the

 

range

 

of

 

both

 

sensors.

 

Each

 

sensor

 

head

 

has

 

its

 

own

 

electronic

 

system

 

(blue

 

box).

 

Each

 

sensor

 

head

 

has

 

its

 

own

 

electronic

 

system

 

(blue

 

box).

 

  
  

Measurement errors  

Measurement errors  

S

S

u

u

r

r

f

f

a

a

c

c

e

e

 

 

m

m

a

a

t

t

e

e

r

r

i

i

a

a

l

l

 

 

S

Objects

 

could

 

be

 

various

 

materials

 

like

 

metal,

 

plastic,

 

ceramics,

 

rubber

 

and

 

paper.

 

With

 

highly

 

reflective

 

materials

 

or

 

liquids

 

it

 

should

 

be

 

tested

 

for

 

the

 

individual

 

material

 

if

 

the

 

M7LL

 

could

 

measure

 

this

 

surface.

  

Objects

 

could

 

be

 

various

 

materials

 

like

 

metal,

 

plastic,

 

ceramics,

 

rubber

 

and

 

paper.

 

With

 

highly

 

reflective

 

materials

 

or

 

liquids

 

it

 

should

 

be

 

tested

 

for

 

the

 

individual

 

material

 

if

 

the

 

M7LL

 

could

 

measure

 

this

 

surface.

  

On

 

partially

 

transparent

 

plastic

 

or

 

bleary

 

liquids

 

the

 

laser

 

beam

 

penetrates

 

into

 

the

 

“material

 

surface”

 

before

 

the

 

diffuse

 

reflected

 

light

 

is

 

sent

 

back

 

from

 

the

 

surface.

 

The

 

real

 

measured

 

distance

 

needs

 

to

 

be

 

corrected

 

by

 

a

 

factor

 

of

 

“penetration

 

depth”.

 

On

 

partially

 

transparent

 

plastic

 

or

 

bleary

 

liquids

 

the

 

laser

 

beam

 

penetrates

 

into

 

the

 

“material

 

surface”

 

before

 

the

 

diffuse

 

reflected

 

light

 

is

 

sent

 

back

 

from

 

the

 

surface.

 

The

 

real

 

measured

 

distance

 

needs

 

to

 

be

 

corrected

 

by

 

a

 

factor

 

of

 

“penetration

 

depth”.

 

  

Scratches in the measurement spot 

Scratches in the measurement spot 

  

A

 

scratch

 

across

 

the

 

lens

 

axis

 

may

 

cause

 

stronger

 

reflections,

 

with

 

a

 

maximum

 

of

 

energy

 

at

 

the

 

side

 

of

 

the

 

spot.

 

This

 

will

 

affect

 

the

 

distance

 

information.

 

In

 

the

 

same

 

time

 

the

 

intensity

 

value

 

will

 

change.

 

For

 

testing

 

on

 

scratches

 

this

 

method

 

may

 

be

 

more

 

helpful

 

than

 

monitoring

 

the

 

pure

 

distance

 

information.

 

A

 

scratch

 

across

 

the

 

lens

 

axis

 

may

 

cause

 

stronger

 

reflections,

 

with

 

a

 

maximum

 

of

 

energy

 

at

 

the

 

side

 

of

 

the

 

spot.

 

This

 

will

 

affect

 

the

 

distance

 

information.

 

In

 

the

 

same

 

time

 

the

 

intensity

 

value

 

will

 

change.

 

For

 

testing

 

on

 

scratches

 

this

 

method

 

may

 

be

 

more

 

helpful

 

than

 

monitoring

 

the

 

pure

 

distance

 

information.

 

  

When

 

the

 

object

 

is

 

moving,

 

the

 

average

 

(integrated)

 

value

 

will

 

be

 

constant

 

when

 

moving

 

over

 

the

 

scratch.

 

This

 

means:

 

the

 

positive

 

and

 

negative

 

edge

 

of

 

the

 

signal

 

will

 

compensate

 

each

 

other.

 

When

 

the

 

object

 

is

 

moving,

 

the

 

average

 

(integrated)

 

value

 

will

 

be

 

constant

 

when

 

moving

 

over

 

the

 

scratch.

 

This

 

means:

 

the

 

positive

 

and

 

negative

 

edge

 

of

 

the

 

signal

 

will

 

compensate

 

each

 

other.

 

S

S

t

t

r

r

a

a

y

y

 

 

l

l

i

i

g

g

h

h

t

t

 

 

S

When

 

highly

 

reflective

 

objects

 

are

 

close

 

to

 

the

 

measurement

 

spot,

 

mirroring

 

the

 

laser

 

light

 

into

 

the

 

receiver

 

optics,

 

then

 

measurement

 

errors

 

may

 

be

 

caused.

 

When

 

highly

 

reflective

 

objects

 

are

 

close

 

to

 

the

 

measurement

 

spot,

 

mirroring

 

the

 

laser

 

light

 

into

 

the

 

receiver

 

optics,

 

then

 

measurement

 

errors

 

may

 

be

 

caused.

 

Objects

 

with

 

diffuse

 

reflectivity

 

may

 

not

 

cause

 

the

 

same

 

errors.

 

When

 

the

 

mirroring

 

surface

 

is

 

outside

 

of

 

range,

 

the

 

residual

 

error

 

may

 

be

 

up

 

to

 

2%.

 

Due

 

to

 

the

 

smaller

 

spot

 

size,

 

stray

 

light

 

error

 

is

 

smaller

 

for

 

Laser

 

sensors

 

than

 

for

 

LED

 

sensors.

 

Objects

 

with

 

diffuse

 

reflectivity

 

may

 

not

 

cause

 

the

 

same

 

errors.

 

When

 

the

 

mirroring

 

surface

 

is

 

outside

 

of

 

range,

 

the

 

residual

 

error

 

may

 

be

 

up

 

to

 

2%.

 

Due

 

to

 

the

 

smaller

 

spot

 

size,

 

stray

 

light

 

error

 

is

 

smaller

 

for

 

Laser

 

sensors

 

than

 

for

 

LED

 

sensors.

 

B

B

r

r

i

i

g

g

h

h

t

t

 

 

t

t

o

o

 

 

d

d

a

a

r

r

k

k

 

 

t

t

r

r

a

a

n

n

s

s

i

i

t

t

i

i

o

o

n

n

s

s

 

 

B

  

When

 

distance

 

measurement

 

is

 

made

 

in

 

a

 

place

 

where

 

the

 

material

 

surface

 

is

 

changing

 

from

 

diffuse

 

reflecting

 

to

 

mirroring

 

material

 

and

 

therefore

 

the

 

reflectivity

 

is

 

changing

 

strongly,

 

during

 

the

 

transit

 

measurement

 

errors

 

may

 

occur.

 

The

 

maximum

 

of

 

the

 

intensity

 

is

 

not

 

in

 

the

 

center

 

of

 

the

 

spot.

 

When

 

distance

 

measurement

 

is

 

made

 

in

 

a

 

place

 

where

 

the

 

material

 

surface

 

is

 

changing

 

from

 

diffuse

 

reflecting

 

to

 

mirroring

 

material

 

and

 

therefore

 

the

 

reflectivity

 

is

 

changing

 

strongly,

 

during

 

the

 

transit

 

measurement

 

errors

 

may

 

occur.

 

The

 

maximum

 

of

 

the

 

intensity

 

is

 

not

 

in

 

the

 

center

 

of

 

the

 

spot.

 

In

 

direction

 

A,

 

the

 

error

 

is

 

minimal;

 

in

 

direction

 

B

 

it

 

is

 

maximal.

  

In

 

direction

 

A,

 

the

 

error

 

is

 

minimal;

 

in

 

direction

 

B

 

it

 

is

 

maximal.

  

C

C

h

h

a

a

n

n

g

g

e

e

 

 

o

o

f

f

 

 

r

r

e

e

f

f

l

l

e

e

c

c

t

t

i

i

v

v

i

i

t

t

y

y

 

 

C

The

 

sensors

 

are

 

equipped

 

with

 

a

 

automatic

 

intensity

 

regulation

 

for

 

matching

 

to

 

more

 

or

 

less

 

reflecting

 

objects.

 

When

 

the

 

surface

 

is

 

changing

 

during

 

measurement,

 

the

 

intensity

 

is

 

kept

 

constant

 

by

 

the

 

regulation

 

system.

 

The

 

sensors

 

are

 

equipped

 

with

 

a

 

automatic

 

intensity

 

regulation

 

for

 

matching

 

to

 

more

 

or

 

less

 

reflecting

 

objects.

 

When

 

the

 

surface

 

is

 

changing

 

during

 

measurement,

 

the

 

intensity

 

is

 

kept

 

constant

 

by

 

the

 

regulation

 

system.

 

A

A

n

n

g

g

u

u

l

l

a

a

r

r

 

 

d

d

e

e

p

p

e

e

n

n

d

d

e

e

n

n

c

c

y

y

 

 

A

The

 

measurement

 

has

 

a

 

small

 

dependency

 

from

 

inclination

 

angle.

 

Rotation

 

on

 

axis

 

A

 

up

 

to

 

30°

 

and

 

rotation

 

on

 

axis

 

B

 

up

 

to

 

15°

 

do

 

not

 

cause

 

big

 

measurement

 

error.

 

Measurements

 

on

 

a

 

surface

 

with

 

good

 

diffuse

 

reflection

 

are

 

less

 

depending

 

on

 

angle

 

than

 

measurements

 

on

 

mirroring

 

surfaces.

 

(See

 

the

 

picture

 

above).

 

The

 

measurement

 

has

 

a

 

small

 

dependency

 

from

 

inclination

 

angle.

 

Rotation

 

on

 

axis

 

A

 

up

 

to

 

30°

 

and

 

rotation

 

on

 

axis

 

B

 

up

 

to

 

15°

 

do

 

not

 

cause

 

big

 

measurement

 

error.

 

Measurements

 

on

 

a

 

surface

 

with

 

good

 

diffuse

 

reflection

 

are

 

less

 

depending

 

on

 

angle

 

than

 

measurements

 

on

 

mirroring

 

surfaces.

 

(See

 

the

 

picture

 

above).

 

The

 

measurement

 

error

 

shows

 

up

 

as

 

a

 

change

 

in

 

the

 

ratio

 

of

 

output

 

voltage

 

/

 

distance.

 

When

 

the

 

error

 

is

 

constant,

 

a

 

special

 

calibration

 

could

 

eliminate

 

the

 

error.

 

The

 

measurement

 

error

 

shows

 

up

 

as

 

a

 

change

 

in

 

the

 

ratio

 

of

 

output

 

voltage

 

/

 

distance.

 

When

 

the

 

error

 

is

 

constant,

 

a

 

special

 

calibration

 

could

 

eliminate

 

the

 

error.

 

  

h

h

i

i

c

c

k

k

n

n

e

e

s

s

s

s

 

 

m

m

e

e

a

a

s

s

u

u

r

r

e

e

m

m

e

e

n

n

t

t

 

 

Dickenmessung

Auch an transparenten
Stoffen

S

u

u

r

r

f

f

a

a

c

c

e

e

 

 

m

m

a

a

t

t

e

e

r

r

i

i

a

a

l

l

 

 

S

t

t

r

r

a

a

y

y

 

 

l

l

i

i

g

g

h

h

t

t

 

 

B

r

r

i

i

g

g

h

h

t

t

 

 

t

t

o

o

 

 

d

d

a

a

r

r

k

k

 

 

t

t

r

r

a

a

n

n

s

s

i

i

t

t

i

i

o

o

n

n

s

s

 

 

C

h

h

a

a

n

n

g

g

e

e

 

 

o

o

f

f

 

 

r

r

e

e

f

f

l

l

e

e

c

c

t

t

i

i

v

v

i

i

t

t

y

y

 

 

A

n

n

g

g

u

u

l

l

a

a

r

r

 

 

d

d

e

e

p

p

e

e

n

n

d

d

e

e

n

n

c

c

y

y

 

 

Summary of Contents for M70LL 0.5

Page 1: ...Sensoren Mess Systeme M7LL M70LL Laser Sensors with integrated Ethernet Interface Manual MEL Mikroelektronik GmbH Breslauer Str 2 D 85386 Eching Tel 49 89 327 150 0 Fax 49 89 319 20 23 www MELsensor de Copyright MEL Mikroelektronik GmbH ...

Page 2: ...t 7 Noise 7 Measurement accuracy and adjustments 7 Sensor Test Report 7 Linearisation 7 Reaction time and frequency response 7 Adjustable thresholds for the Min and Max Outputs 7 Repeatability 7 Connections 8 Network 8 Ethernet cabling 8 Multi Sensor Arrays 8 Factory Default Setting 8 Sensor heads 8 Special models and options 8 Software 8 Connector specification D Sub 25 9 Electronic unit 10 examp...

Page 3: ...ures Ethernet interface Network Link Monitoring internal 10 Mbit Option for weak network connections With each TCP packet sensor parameters were sent After a reset the sensor automatically restarts Settings were not reset Factory default parameters could change without notice tot he given documentation Relevant is always the actual interface description of MEL For details contact MEL technical sup...

Page 4: ... configuration software the settings for exposure time video amplification and laser intensity can be made via Ethernet interface at the PC O Op pt ti ic ca al l d di is st ta an nc ce e m me ea as su ur re em me en nt t s sy ys st te em ms s M M7 7L LL L a an nd d M M7 70 0L LL L Optical measurement systems are used in the touch free metrology The models vary in range spot size and resolution For...

Page 5: ...educing the dependency from ambient light System set up Montagerichtung RICHTIG Montagerichtung FALSCH M Mo ou un nt ti in ng g o of f t th he e s se en ns so or r h he ea ad d For precise measurement results the sensor must be mounted in a way that the laser beam is perpendicular to the object surface Any inclination will cause a deviation from the real distance The sensor head must be mounted in...

Page 6: ...te each other S St tr ra ay y l li ig gh ht t S When highly reflective objects are close to the measurement spot mirroring the laser light into the receiver optics then measurement errors may be caused When highly reflective objects are close to the measurement spot mirroring the laser light into the receiver optics then measurement errors may be caused Objects with diffuse reflectivity may not ca...

Page 7: ...surface reflectivity and creates a output voltage proportional to the distance R Re ea ac ct ti io on n t ti im me e a an nd d f fr re eq qu ue en nc cy y r re es sp po on ns se e Reaction time at analog outputs is extremely fast with laser sensors It is specified to be less than 50 μsec for the M7LL or 5 μsec for the M70LL rise from 0 to 90 of final value With DIP switches in the electronic unit ...

Page 8: ...hat network activities in the PC would affect the sensor network and vice versa In this case the sensors are in a separate Subnet This helps to keep the sensor network separated from the other networks in your company F Fa ac ct to or ry y D De ef fa au ul lt t S Se et tt ti in ng g IP default address 192 168 122 245 Port 3000 Subnet mask 255 255 255 0 on request before delivery custom IP Addresse...

Page 9: ...d be also connected to this central ground In this case the shield for the analog output line should be kept separate from other ground connections to avoid ground loops This is the best way to connect potential free inputs o on nn ne ec ct to or r s sp pe ec ci if fi ic ca at ti io on n D D S Su ub b 2 25 5 Pin Signal Color Level Flat cable Remarks 1 Distance output 10 V 2 Error output Yellow 1 3...

Page 10: ...e es s R RJ J4 45 5 c cr ro os ss se ed d o ov ve er r Pin Signal Connector A Pin Connector B crossed Signal 1 Transmit data Green White 1 Red White Receive data 2 Transmit data Green 2 Red Receive data 3 Receive data Red White 3 Green White Transmit data 4 unused Blue 4 Blau unused 5 unused Blue White 5 Blau Weiß unused 6 Receive data Red 6 Green Transmit data 7 unused Brown White 7 Brown White u...

Page 11: ... Schaltausgänge mit Anzeige Error 24V 100mA LED red Digital output Ethernet TCP IP factory default IP Address 192 168 122 245 Hysteresis for min max outputs approx 0 5 of range Ambient light 20 000 LUX Life time 50 000h for Laser Diode Isolation voltage 200 V DC 0V to case Max Vibration 10g bis 1kHz Sensor head 20g optional Operating temperature 0 bis 50 C Storage temperature 20 bis 70 C Humidity ...

Page 12: ... outputs ca 0 5 from range Ambient light 20 000 LUX Life time 50 000 h for Laser Diode Isolation voltage 200 V DC 0V to case Max Vibration 5 g bis 1kHz Sensor head 20g optional Operating temperature min 0 32 F max 40 C 104 F Storage temperature min 30 C 2 F max 75 C 167 F Humidity up to 90 RH non condensing Protection Sensor IP 64 Electronic unit IP 40 Supply 24 V DC 200mA 10 30V Connector at elec...

Page 13: ...e Receive data packets from sensor Decode data packets see data format Evaluate data information Send command to the sensor C Co om mm mu un ni ic ca at ti io on n c co om mp po on ne en nt ts s TCP Clients and Server are software components in the software development environment These are represented in the compiled application software as ports using protocols commands and data Each sensor has ...

Page 14: ...and note their respective IP addresses Example Address Sensor 1 192 168 123 222 Address Sensor 2 192 168 123 223 Address Sensor 3 192 168 123 224 Address Sensor 4 192 168 123 225 Address Sensor 5 192 168 123 226 Address Sensor 6 192 168 123 227 Address Sensor 7 192 168 123 224 wrong IP Addresse conflict with sensor Nr 3 Address Sensor 8 192 168 123 229 Address Sensor 9 192 168 124 229 other subnet...

Page 15: ...ear Year ex 0311 unsigned int Serial Number Cnt 6 2 Production Number 3 digits 001 002 003 999 unsigned int On counter 8 4 hh mm ss unsigned long Reserved 12 20 unsigned char Data Packet Number 32 2 Consecutive numbers natural number 0 1 2 3 999 unsigned int Ethernet transmission rate 34 1 1 10 100 MBit s unsigned char Reserved 1 35 3 unsigned char AMB 38 2 Begin of range unsigned int MB 40 2 Rang...

Page 16: ...ding the RS 232 prompt could help to find out the actual settings of the sensor Data of the RS 232 Prompt Model Type and Firmware Version of the sensor Serial number Ethernet Stack Status Ethernet Stack transmission rate Ethernet Stack Settings MAC Address working IP Address Subnetz Maske Gateway Address Activity of Web Server Set up value for Max and Min Ethernet Link Status Example fo a RS 232 P...

Page 17: ...v 0 1 or higher Sensor in normal operation s output and S input not connected Sensor in normal operation s output and S input not connected Remote PC connected to the sensor over Ethernet Remote PC connected to the sensor over Ethernet The PC must be in the same network segment like the sensor The PC must be in the same network segment like the sensor n nt te eg gr ra at te ed d W We eb b S Se er ...

Page 18: ...xx xxx xxx When the sensor is not powered on you must not receive an answer Whenn you receive an asnwer even when the sensor is not powered then anyone else is using this IP address Check if your routers and switches allow the use of port 3000 Stellen Sie eine direkte make a direct connection You may need a crossed Ethernet cable Use unmanaged switches Network connection to PC failed Check the set...

Page 19: ... ig gh ht t During the installation of sensors take care that no sunlight could radiate directly or reflected on a surface into the sensors receiving optics This could cancel the function of the sensor W Wa at te er r a an nd d o oi il l Water drops on the optic system or on the front make severe distortion on the measurement Water drops work like a lens They may cause sensors to fail permanently ...

Page 20: ...nto the beam Never direct the laser onto other people Never direct the laser onto other people Train operators Train operators Before cleaning switch off laser Before cleaning switch off laser Use a piece of paper to locate the invisible beam Use a piece of paper to locate the invisible beam Never use mirrors in the environment Never use mirrors in the environment Shield the workplace a as se er r...

Page 21: ...ed2 2 unsigned int uiADZMaxValue 2 0xFFFF unsigned int uiADIMaxValue 2 0xFF unsigned int uiADFrequenz 2 30000 unsigned int uiADValuesMax 2 200 unsigned int uiADValues ADVALUESPROTOKOLMAX 2x200 400 unsigned char chADIValues ADVALUESPROTOKOLMAX 1x200 200 unsigned char chADLValues ADVALUESPROTOKOLMAX 1x200 200 _structADValues 860 E Et th he er rn ne et t S Se en ns so or r S So of ft tw wa ar re e I ...

Page 22: ...nect Befehl SOCKADDR_IN serv_addr MUST have value AF_INET serv_addr sin_family AF_INET hand over port number of sensor serv_addr sin_port htons atoi 3000 hand over IP address of sensor serv_addr sin_addr S_un S_addr inet_addr 192 168 123 224 while bRunSocket bRunConnect TRUE Socket holen für TCP SOCK_STREAM sTCP socket AF_INET SOCK_STREAM 0 Socket error if sTCP INVALID_SOCKET sTCP 0 bRunConnect FA...

Page 23: ...ase socket closesocket sTCP WSACleanup Use the send function for sending data to the sensor Like with the recv function it is necessary to set up connection to the sensor before using the send fucntion In the above example you could replace recv function with send function Data Buffer data buffer contains the command to set the sensor in single mode char chBuffer 2 0x14 0x01 send sTCP chBuffer 2 N...

Reviews: