기본 정보
- 저자
- DOI
- 10.48550/arxiv.0904.4803
- 저널
- HAL (Le Centre pour la Communication Scientifique Directe)
- 발행년도
- 2022
- 발행기관
- Centre National de la Recherche Scientifique
- 피인용수
- 0
- 라이선스
- other-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://hal.science/hal-00380291
- 토픽
- Analytical Chemistry and Sensors
- OpenAlex ID
- W2792365818
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 모빌리티 소재 · (3) 자동차 인테리어 소재
- 부 분야
- (23) 컴파운드
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- colour measurement, fuzzy control, spectrometer, CAN network, automotive industry
- 판단 근거
- 이 논문은 색상 측정 및 퍼지 제어를 위한 스마트 분광계(spectrometer) 기술을 다루며, 특히 CAN 통신을 활용한 자동차 산업으로의 응용을 언급하고 있습니다.
- R&D 활용 포인트
- 자동차 인테리어 소재(3)의 색상 품질 관리 공정 자동화나, 컴파운드(23) 제조 시 색상 균일성을 실시간으로 제어하는 스마트 센서 시스템 구축에 활용 가능합니다.
- 평가 입력
- 본문 22,132자
초록
If the main use of colour measurement is the metrology, it is now possible to find industrial control applications which uses this information. Using colour in process control leads to specific problems where human perception has to be replaced by colour sensors. This paper relies on the fuzzy representation of colours that can be taken into account by fuzzy controllers. If smart sensors already include intelligent functionalities like signal processing, or configuration, only few of them include functionalities to elaborate the fuzzy representation of measurements. In this paper, we develop a solution where the numeric processing is performed locally by the sensor, and where fuzzy processing is exported towards another computing resource by means of the CAN network. This paper presents the concept and the application to a smart fuzzy spectrometer.
본문 22,132자
본문 펼치기
# Smart Spectrometer for Distributed Fuzzy Control
#### E. Benoit, L. Foulloy
LAMII/CESALP, B.P. 806, F-74016 Annecy cedex, France
benoit@esia.univ-savoie.fr, foulloy@esia.univ-savoie.fr
### Abstract
If the main use of colour measurement is the metrology, it is now possible to find industrial control applications which
uses this information. Using colour in process control leads to specific problems where human perception has to be
replaced by colour sensors. This paper relies on the fuzzy representation of colours that can be taken into account by
fuzzy controllers. If smart sensors already include intelligent functionalities like signal processing, or configuration, only
few of them include functionalities to elaborate the fuzzy representation of measurements. In this paper, we develop a
solution where the numeric processing is performed locally by the sensor, and where fuzzy processing is exported
towards another computing resource by means of the CAN network. This paper presents the concept and the application
to a smart fuzzy spectrometer.
Keywords: Intelligent sensor, spectrometer, fuzzy control, colour measurement
### Introduction
Colour is an important information in many industrial
processes as for example food industry, or ink
manufacturing, or cosmetics industry.
It can be a precise objective when manufacturing ink,
paints, wallpaper... . But it is more imprecise when it is
used for sorting fruits, or cooking biscuit, or for analysing
the result of a chemical process. In this cases, decisions or
control actions are based on human expertise.
Fuzzy sensors [1][2] were introduced to reproduce
human-like perception. Therefore, the fuzzy
representation of colour measurement seems to be an
interesting solution for the integration of colour perception
into control loop. Moreover, it provides a natural interface
with a fuzzy rule based control of the process.
Obviously, classical sensors are not designed to
provide a fuzzy representation of their measurement nor to
perform fuzzy processing. This paper shows how this
problem can be overcome using the concept of
processorless intelligent sensor [3]. In section 1, the colour
representation is addressed. Section 2 is devoted to the
fuzzy representation of colours. In section 3 the concept of
processorless smart sensors in a distributed environment is
proposed. Finally, the application to a fuzzy spectrometer
is discussed.
### 1. Colour Measurement
The colour sensing is scientifically studied since the
famous prism experience performed by I. Newton.
Nowadays, it is well-known that the information of colour
associated with a light beam is included in the spectral
energy distribution of the electromagnetic wave flow of
this light beam. The light beam can be issued from an
illuminant source, or be issued from an illuminated object.
The CIE (International Commission on Illumination)
defines several recommendations for the colour
measurement of surfaces [4]. The aim of these
propositions is to normalise the artificial colour perception
and the colour representation. As most users need to copy
human perception, CIE recommendations allow a humanlike colour perception.
#### 1.1 Basic Measurement
One of these recommendations is to perform measurement
of light with 3 photo-sensors. The spectral sensitivity of
these sensors needs to be respectively one of the colourmatching functions _<u>x</u>_ <u>(</u> λ ), _<u>y</u>_ <u>(</u> λ ) and _<u>z</u>_ ( λ ) (see Fig. 1).
Measures, i.e. the tristimuli X Y and Z, can be also
obtained with a spectrometer by integration over the
spectrum.
For example, X is given by Eq. (1) where _<u>x</u>_ <u>(</u> λ ) is a
colour-matching function, φ ( λ ) is the spectral energy
distribution acquired by the spectrometer, and _k_ is a
constant.
780 _nm_
_X_ = _k_ ⋅ (φ ( λ ) ⋅ _x_ ( λ ) ) _d_ λ
## ∫
380 _nm_
(1)
was chosen because the knowledge about the role of
colour into a control application relies on a human
expertise. This remark induces the choice of a colour
representation close to human one.
⎛ ⎞
_L_ = 116 _f_ ---- <sup>_Y_</sup> - - 16
⎝ _Yn_ ⎠
⎛ ⎛ ⎞ ⎛ ⎞⎞
_a_ = 500 _f_ ---- <sup>_X_</sup> - - _f_ ---- <sup>_Y_</sup> -
⎝ ⎝ _Xn_ ⎠ ⎝ _Yn_ ⎠⎠
⎛ ⎛ ⎞ ⎛ ⎞⎞
_b_ = 200 _f_ ---- <sup>_Y_</sup> - - _f_ ---- <sup>_Z_</sup> -
⎝ ⎝ _Yn_ ⎠ ⎝ _Zn_ ⎠⎠
with
2
1
0
<u>400</u> <u>500</u> <u>600</u> <u>700</u> <u>800</u>
λ :wavelength (nm)
Fig. 1 colour-matching functions x( λ ), y( λ ), z( λ )
_~~<u>x</u>~~_
_~~<u>y</u>~~_
_<u>z</u>_
⎛⎜ 13 <sup>-</sup> <sup>-</sup> ⎞⎟
_f_ ( _d_ ) = _d_
⎜ ⎟
⎝ ⎠
_if_ ( _d_ - 0.008856 )
(3)
(4)
(5)
(6)
(7)
⎛ 16
_f_ ( _d_ ) = 7.787 ( _d_ ) + ------- - ⎞ _else_
⎝ 116 ⎠
The last step is the calculation of chromaticity
coordinates _x_, _y_ and _z_ . These coordinates are defined in
order to separate the illumination information and the
chromatic information. A coordinate is calculated by
dividing a tristimulus by the sum of the three tristimuli:
On the Fig. 2, common colours are represented on the
Lab colour space.
100
Apple
Green
Yellow
Red
_X_
_x_ = --------------------- -
_X_ + _Y_ + _Z_
Green Neutral Magenta
Cyan Blue Purple
0
(2)
b
Because of the relation _x_ + _y_ + _z_ =1, only two coordinates
are used to define a colour. Commonly, _x_ and _y_
coordinates are used and defined the so-called _xy_ -plane.
#### 1.2 Colour Spaces
The _xyz_ colour space is not very close to human
perception. Several experiments have been performed to
make the comparison between a distance of two colours
into the _xy_ -plane and the subjective distance of the same
colours. The result of these experiments shows that the _xy_ plane is not uniform in the context of a human perception,
i.e. there is large difference between these distances. In
1976, the CIE proposes several approximately uniform
colour spaces in order to reduce this difference.
For control applications based on human-like
perception, we chose the Lab colour space. In this colour
space, the distance operator can be considered as uniform,
i.e representative of a subjective colour space. This space
-100
-100 0 100
a
Fig. 2 Lab colour space
### 2. Fuzzy Representation
If numerical values are commonly used to represent
measurement results, it is now admitted that some
applications would better handle symbolic values or
linguistic terms. In this case, a measurement result is
represented by a fuzzy subset of linguistic terms. The
conversion from numerical to linguistic representation is
called a linguistic description [5].
#### 2.1 Fuzzy Meaning and Description
To perform a linguistic measurement, it is necessary to
clearly specify the relation between linguistic terms and
numbers [2].
Let _X_ be the universe of discourse associated with the
measurement of a particular physical quantity. Denote _x_
any element of _X_ . In order to linguistically characterise
any measurement over _X_, let _W_ be a set of words,
representative of the physical phenomenon. For example,
the set _W_ ={ _Dark_, _Medium_, _Bright_ } can be used to
represent an illumination. Denote _F_ ( _E_ ) the set of the fuzzy
subsets of a set _E_ .
Introduce an injective mapping M : _W_ → _F(X)_, called
the _fuzzy meaning_ of a linguistic terms (see Zadeh [5]). It
associates any term _L_ of _W_ with a fuzzy subset of _X_ .
Injectivity guarantees that two different terms may not
have the same meaning. In other words, two synonymous
terms have the same meaning. The fuzzy meaning of a
symbol _L_ is characterized, for all _x_ ∈ _X_, by its membership
function denoted μ _M_ ( _L_ ) ( _x_ ).
Another mapping _D_ : _X_ → _F_ ( _W_ ), called the _fuzzy_
_description_ of a measurement over _W_ associates any
measurement of _X_ with a fuzzy subset of linguistic terms
of _W_ . The fuzzy description of a measurement is
characterized, for all _L_ ∈ _W(X_ ), by its membership
function μ _D_ ( _x_ )( _L_ ). Any measurement that belongs to the
meaning of a linguistic term, can obviously be
symbolically described at least by this term. Therefore, the
following relation links the description of a measurement
to the meaning of a term:
μ _D_ ( _x_ )( _L_ ) = μ _M_ ( _L_ ) ( _x_ ) (8)
It means that if a linguistic terms belongs to the
description of a measurement at a grade of membership
μ _D_ ( _x_ )( _L_ ), then the measurement belongs to the meaning of
the linguistic terms at the same grade of membership. Let
_X_ = [0, 100] be the universe of discourse for the
measurement of illuminations. The fuzzy meanings of
_Dark_, _Medium_, and _bright_ are represented by the
membership functions (see Fig. 1). The fuzzy description
of the measurement _x_ = 80% is obtained according to
Eq. (8) and is equal to {0.25/ _Medium_, 0.75/ _Bright_ } <sup>1</sup> . This
means that the fuzzy description of an illumination of 80%
is a fuzzy subset which contains the linguistic term _Bright_
with a grade of membership of 0.75 and the linguistic term
_Medium_ with a grade of membership of 0.25. This fuzzy
description does not contains the term _Dark_ .
_<u>M</u>_ <u>(</u> _<u>Dark</u>_ <u>)</u> _<u>M</u>_ <u>(</u> _<u>Medium</u>_ <u>)</u> _<u>M</u>_ <u>(</u> _<u>Bright</u>_ <u>)</u>
μ
1
0
0 80 100
illumination (%)
1
μ _D_ ( _70_ <u>)</u>
0
_Dark_ _Medium_ _Bright_
Fig. 3 Fuzzy meanings and fuzzy description
#### 2.2 Fuzzy Representation of Colours
From what preceeds, a fuzzy representation of a colour is a
fuzzy subset like {0.52/ _Red_, 0.3/ _Neutral_, 0.18/ _Yellow_ }.
Two ways can be chosen to build a fuzzy representation of
colour.
The first one is based on the direct description of a
chromatic coordinate [1]. It extends the concept of fuzzy
meanings from 1 to 3 dimensions and requires a learning
phase based on a set of examples.
The second one is based on a separate fuzzy
description of each colour coordinate associated with a
rule-based aggregation. This one is preferred when the
space has a regular cubic structure like in the Lab space.
Indeed the Lab space can be cut into nine squares (Fig. 2).
A fuzzy description is extracted from each coordinate
_a_ and _b_ . We use a simple linguistic set for both
coordinates: _L_ ={ _Negative_, _Null_, _Positive_ }. The meanings
of the linguistic terms are represented in Fig. 4
_<u>Negative</u>_ _<u>Null</u>_ _<u>Positive</u>_
<u>-40</u> <u>0</u> <u>40</u>
_a_ (or _b_ )
μ
1
0
Fig. 4 Fuzzy meaning of _Negative_, _Null_ and _Positive_
1.Terms with a null grade of membership are omited.
Fuzzy meanings are chosen regarding to the subjective
perception of colours in Lab space. We consider that the
saturation of a colour is close to the maximum when the
coordinate _a_ or _b_ is over 40 or below -40. So the fuzzy
meaning of the term _Positive_ includes all values over 40
and includes partially and progressively values from 0 to
40. The same approach is used to define the fuzzy
meaning of _Negative_ . The fuzzy meaning of the symbol
_Null_ is deduced by applying the constraint of fuzzy
partition.
Now, a fuzzy description of colour with usual
linguistic terms like _Red_ or _Yellow_ is obtained from a
human expertise expressed with a set of rules, and from
the values of _a_ and _b_ .
if _a_ is _Positive_ and _b_ is _Positive_ then _colour_ is _Red_
if _a_ is _Null_ and _b_ is _Positive_ then _colour_ is _Yellow_
...
The linguistic set for colours is { _Red_, _Green_, _Blue_,
_Yellow_, _Cyan_, _Magenta_, _Purple, AppleGreen_, _Neutral_ }.
The following rule-base is used to perform the fuzzy
aggregation
_a_
conversion, the so-called defuzzification.
In the case of a process driven with a colour
information, one of the entries is a fuzzy description of
colour.
### 3. Distributed Control
#### 3.1 Smart Sensor Concept
Since the eighties, it is commonly admitted that smart
sensors rely on functionalities such as measurement,
communication, configuration and validation [6]. Even if
measurement remains the most important function of a
sensor, other functionalities are become increasingly used
into present intelligent sensors.
#### 3.2 Distributed Intelligence
Nowadays, more and more functionalities are included
into sensors. This induces to include complex computing
resources into these kind of sensors. In precedent papers
[7][3], we proposed to code the definition of these
functionalities in a specific language (PLICAS), and to
implement them on the smart sensor even if this one do
not have enough computing resource to perform these
functionalities. In that case, the functionalities coded in
PLICAS are sent over a network to be executed by another
computing system. This approach allows to add complex
functionalities to usual intelligent instruments.
colour
_Negative_ _Null_ _Positive_
_b_
_Negative_ _Cyan_ _Blue_ _Purple_
_Null_ _Green_ _Neutral_ _Magenta_
_Positive_ _AppleGreen_ _Yellow_ _Red_ <u>computing system</u> <u>Intelligent sensor</u>
<mark>P</mark> rocessing
Fig. 5 Set of rules for fuzzy colour representation
This set of rules is simple but it is can be extended by
using more symbols for the fuzzy representation of _a_ and
_b_ . For example, with the set of symbols _L_ ={ _VeryNegative_,
_Negative_, _Null_, _Positive, VeryPositive_ } a set of 25 rules
can be defined. Another method consists in automatic
building of rule set.
#### 2.3 Fuzzy control
The fuzzy control is based on the same principles than
fuzzy aggregation. It uses on one or more symbolic inputs
and produces a symbolic output. The difference is that the
result of a fuzzy control can be expressed in a numerical
format. In addition to a rule based processing, a fuzzy
controller is able to perform a symbolic to numeric
Processing
Unit
Unit
Simples
<u>functionalities</u>
PLICAS
Complex
<u>Compiler</u>
<u>functionalities</u>
<u><mark>network interface</mark></u>
<mark>network</mark>
<u><mark>network interface</mark></u>
Fig. 6 Concept of intelligent sensors with small processor
The PLICAS language owns basic functionalities of
sequential programming. In order to minimise the size of
the compiler code, the language uses only global variables
and does not allow new function definitions. The language
was created to manage the sequencement of predefined
functions. It includes basic arithmetic and logical
functions needed to perform this sequencement. The
PLICAS language was build in order to allow a quick
conception of fuzzy sensors.
### 4. Application
#### 4.1 Hardware
The spectrometer that is used is a Zeiss monolithic
miniature spectrometer with a spectral range from 300nm
to 900nm. This sensor is implemented into a board based
on the 80C196KC micro-controller. This board performs
basic measurements and signal processing. It includes
services of spectral measurement, black level
compensation, white correction, XYZ calculation, Lab
calculation, and communication.
<mark>P</mark> rocessing Connector
Unit
the network, then it compiles the source code and executes
it. The communication of consumed values or produced
values have to be defined in the code.
_executive code_
sensor management
<u>Lab calculus ...</u>
ReadOnlyMemory
_PLICAS source code_
Fuzzy description
<u>Fuzzy Aggregation</u>
micro controller
<u>80C196KC</u>
sensor interface
network interface
Measure,
<u>Lab calculus</u>
Fuzzy description
<u>Aggregation</u>
<u><mark>network i</mark></u> ~~<u><mark>n</mark></u>~~ <u><mark>terface</mark></u>
Conditioner
Grating
Diode
Array
Optical
fibber
<mark>CAN network</mark>
Fig. 7 The fuzzy spectrometer
The micro-controller board includes two large
permanent memories (ReadOnlyMemory). One contains
the executive code for the management of the sensor, the
Lab calculus and the other measurement services. The
other one contains the PLICAS source code of the fuzzy
description and the fuzzy aggregation.
The board includes a network interface in order to
communicate with other sensors or computers through the
CAN network (Controller Area Network). The CAN
network is preferentially used in automotive industry and
manufacturing industry. It is dedicated to the
communication of small data (8 bytes maxi) like sensor
results. A specific communication protocol has been
implemented in order to exchange PLICAS source code
through the CAN network.
The PLICAS compiler is implemented on a PC with a
CAN network interface. The PC acts as a computing
resource server. It catch all PLICAS source codes sent on
Fig. 8 Description of the micro-controller board
Fig. 9 Values produced by the smart spectrometer
#### 4.2 Conception
The signal processing is cut into two parts. The numeric
signal processing is implemented on the spectrometer. The
definition of the fuzzy signal processing is written into
memory.
Concerning the numeric processing, the sensor is a
quite classical smart sensor. Services defined are:
- spectral measurement
- black level compensation
- white correction
- sensitivity adjustment
- XYZ calculation
- Lab calculation
- CAN network communication
The PLICAS code provided in the annex performs the
fuzzy description of _a_ and _b_ coordinates and performs an
aggregation in order to obtain the fuzzy description of
colour. The code is cut into 4 blocks.
The "declarations" block defines all variables.
Variables _L_, _a_ and _b_ are defined as _external_ which means
that they are collected on the network. Variables _pab_, and
_pcolour_ are sets of fuzzy meanings. Variables _fa_ and _fb_ are
fuzzy descriptions, i.e. fuzzy subsets of linguistic terms.
Variable _fcol_ defined as _public_ is also a fuzzy description
but it can be sent over the network.
The "initialisation" block includes a list of instructions.
This block is executed only one time, just before the
"main" block. In this block, we find the definition of a set
of meanings. The function _def_partition_ () creates a new
set of meanings _pab_ and initialises the meaning of the term
_Null_ . Functions _above()_ and _below()_ define meanings of
terms _Neg_ and _Pos_ relatively to the meaning of the term
_Null_ . Links between this set and fuzzy representations of _a_
and _b_ are also defined ( _fa in pab_ ).
The "main" block includes also a list of instructions. It
is executed periodically. Functions _import_ () and _export_ ()
are used for network exchanges. The function _fuzz_ ()
perform a fuzzy description. The function _execute_ ()
executes the last block.
The "inference" block includes the set of rules written
in a simple format.
#### 4.3 Results
The following example shows the result obtained with a
green surface. When the sensor starts, it sends its PLICAS
code throw the network. After acquiring the spectral
density, the smart spectrometer calculates the Lab
coordinates:
a = -37.97, b=9.85 (9)
These coordinates are sent over the network and
caught by the PC which runs the fuzzy description. Fuzzy
descriptions of _a_ and _b_ are then:
_D_ (a) = {0.941/Negative, 0.059/Null} (10)
_D_ (b) = {0.745/Null, 0.255/Positive} (11)
Then, the fuzzy representation of the colour is
calculated:
{0.043/Neutral, 0.698/Green, 0.012/Yellow, 0.239/
AppleGreen} (12)
### Conclusion
Sometimes, measurements are so close to subjective
human perception that it seems very difficult to use them
to control a process. The idea presented in this paper is to
use, both for both measurement and control processing, a
representation close to the human one.
Fuzzy techniques are frequently used in industry
especially for process control, but are not enough
developed for sensors. The concept presented in this paper
can be a solution to implement complex fuzzy
functionalities or very specific functions in sensors by
mean of a dedicated language. The source code of these
complex functionalities is then exported over the network
in order to be executed by a remote system. For example
dedicated units like fuzzy processors for fuzzy calculus or
DSP (Digital Signal Processing) for complex and highspeed calculus can be used.
### Annex: PLICAS source code
declarations
external double L,a,b;
partition pab, pcolour;
subset fa,fb,fcol;
public subset fcol;
block initialisation
def_partition(pab,"Null",-40.0, 0.0, 0.0, 40.0,-100.0,
100.0);
above(pab,"Null","Pos");
below(pab,"Null","Neg");
def_symbols(pcolour, 9, "Neutral", "Red", "Green",
"Blue", "Cyan", "Magenta", "Yellow", "AppleGreen",
"Purple");
fa in pab;
fb in pab;
fcol in pcolour;
block inference
fcol=0.0;
if fa is "Null" and fb is "Null" then fcol is "Neutral";
if fa is "Null" and fb is "Pos" then fcol is "Yellow";
if fa is "Null" and fb is "Neg" then fcol is "Blue";
if fa is "Pos" and fb is "Null" then fcol is "Magenta";
if fa is "Pos" and fb is "Pos" then fcol is "Red";
if fa is "Pos" and fb is "Neg" then fcol is "Purple";
if fa is "Neg" and fb is "Null" then fcol is "Green";
if fa is "Neg" and fb is "Pos" then fcol is"AppleGreen";
if fa is "Neg" and fb is "Neg" then fcol is "Cyan";
block main
import(L);
import(a);
import(b);
fa = fuzz(a);
fb = fuzz(b);
execute(inference);
export(fcol);
### References
[1] Benoit, E., Mauris, G. and Foulloy, L., “A fuzzy
colour sensor”, Proc. of the XIII IMEKO world
congress, Torino, Italy, sep. 1994, pp. 1015--1020.
[2] Benoit, E. and Foulloy, L. “Symbolic sensors”, Proc.
Int. Symp. on Artificial Intelligence Based
Measurement and Control (AIMaC'91), Kyoto,
Japan, Sep. 1991,pp. 131--136.
[3] Benoit, L., Chotin, E. and Foulloy, L., “Processorless
Smart Sensors with Distributed Intelligence”, Proc. of
the 14th IMEKO World Congress, vol. V, Tampere,
Finland, June 1997, pp. 60--65.
[4] International Commission on Illumination,
“Colorimetry”, 2 <sup>th</sup> Edition, Publication CIE N <sup>o</sup> 15.2,
1986.
[5] Zadeh L.A., Quantitative fuzzy semantic _s;_
Information Sciences, Vol. 3, 1971, pp. 159-176
[6] Bloch G., Eugene C., Robert M., Humbert C.,
“Measurement Evolution: from Sensors to
Information Producer”, Proc. of IMEKO TC1 TC7,
pp 335-341, London, UK, September 8-10, 1993.
[7] Josserand J.F., Mauris G., Benoit E. and Foulloy L.,
“Fuzzy components network for distributed systems”,
Proc. of Int. Symp. on Intelligent Robotic, Grenoble,
France, July 11-15 1994, pp. 94--101.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.