Capelec Manual Opacimetro
Capelec Manual Opacimetro
TECHNICAL DOCUMENTATION
OPACITY TRANSDUCER
CAP3030
CONTENTS
1. INTRODUCTION...................................................................................................................................... 1
2. NORMATIVE REFERENCE .................................................................................................................... 1
3. CHARACTERISTICS OF THE MAIN COMPONENTS............................................................................ 1
3.1. Sampling device............................................................................................................................. 1
3.2. CASE ............................................................................................................................................. 1
3.3. Measurement cell .......................................................................................................................... 2
3.3.1. ..............................................................................................................................Description2
3.3.2. ....................................................................................................................... Effective length2
3.3.3. ..................................................................................................................... Walls of the tube3
3.3.4. ...................................................................................................................... Window sooting3
3.3.5. ................................................................Water condensation on the measurement cell wall3
3.4. Light source ................................................................................................................................... 3
3.5. Detector ......................................................................................................................................... 3
3.6. Power supply ................................................................................................................................. 3
3.7. Ventilation ...................................................................................................................................... 4
4. PERFORMANCES................................................................................................................................... 5
4.1. Measurement chain ....................................................................................................................... 5
4.2. Scale range.................................................................................................................................... 5
4.3. Resolution ...................................................................................................................................... 6
4.4. Accuracy ........................................................................................................................................ 6
4.5. Response time ............................................................................................................................... 6
4.5.1. ...........................................................................................................Physical response time6
4.5.2. ............................................................................................................ Electric response time6
4.6. Measurements different from opacity ones ................................................................................... 7
4.7. CPU technology ............................................................................................................................. 7
5. SPECIFIC INFORMATION ON SOME INTERNAL FUNCTIONS OF THE TRANSDUCER .................. 7
5.1. Zero................................................................................................................................................ 7
5.2. Linearity control.............................................................................................................................. 7
5.3. Lenses sooting............................................................................................................................... 7
5.4. Protections on the heating ............................................................................................................. 8
5.5. Autosleep ....................................................................................................................................... 8
6. COMMUNICATION .................................................................................................................................. 9
6.1. P.C.link........................................................................................................................................... 9
6.2. General principle............................................................................................................................ 9
6.3. Common frame of the commands ................................................................................................. 9
6.4. Unvalid commands ...................................................................................................................... 10
7. COMMUNICATION COMMANDS ......................................................................................................... 10
7.1. Command : Sending of the number of version and serial number.............................................. 10
7.2. Command : non filtered opacity ................................................................................................... 10
7.3. Command : Filtered opacity......................................................................................................... 10
7.4. Command : Zero .......................................................................................................................... 11
7.5. Command : Sending of the measurement table .......................................................................... 11
7.6. Command : Demand to set the acquisition.................................................................................. 12
7.7. Command :Trig for the sampling ................................................................................................. 12
1. INTRODUCTION
The new opacity transducer designed by the CAPELEC’s R&D team benefits from the most advanced
technologies. It is compact, light, and reliable.
We feel sure that it will give you complete satisfaction by allowing you to position yourself on the
smokemeter market with a different product, particularly robust and economically attractive.
2. NORMATIVE REFERENCE
The opacity transducer CAP3030 is designed according to the specifications of the NF R 10-025 French
standard. Consequently, it does meet the European regulations or any other regulation which would refer,
from the point of view of the measurement, to the European guidelines.
3.3.1. Description
4
7
1 3 2
5
6
Air pur
Gaz d'échappement
1- Source board
2- Detector board
3- Temperature sensor of the cell
4- Heating elements
5- Gas temperature sensor
6- Gas input
7- Measurement cell
8- Exhaust fan
Thus, the control of the ventilation allows to be sure that the true effective length do not distance too much
from the effective length used in the calculations.
3.5. Detector
The detector is a photodiode. Lens-protected, it collects the light coming through the gas sample. The
detector is maintained in temperature at 45 °C so that to avoid the variations of sensitivity due to the
temperature. When autozeroing, the detector successively sets in the state corresponding to an opacity
equal to zero (light on) and in the state corresponding to an opacity equal to 100 % (light on). Whatever the
protection lenses and the wall of the measurement cell are, one is able to give a sensitivity factor allowing to
make the measurement free from the sooting.
An automatic gain control of the detector signal does allow to adjust the full scale for optimizing the
accuracy.
Alternating voltage :
Operating range : 110-230 VAC +10 % -15 %.
Frequency : 50-60 Hz ±2 %
3.7. Ventilation
The transducer is equipped with a flat-set fan so that to improve its lifetime (62,500 hours).
This fan allows to prevent the lenses from sooting, to maintain the effective length and to favour gas
evacuation. It allows an air flow over 10 l/s for each end of the tube. The good operation of the fan is
possible due to the continuous measurement of its speed of rotation.
A bit of status sets when this speed goes out of the given range.
So that to spare this component which is quite often working, the CAP3030 allows to drive the starting and
the stop of the fans. This allow to improve the life time of the fan again.
The fan is also equipped with an rpm sensor which allows to control the air flow. If the fan speed becomes
out of the limits, a status bit is activated and the effective path length may be different.
4. PERFORMANCES
4.1. Measurement chain
Signal of the
detector amplified
K=-(1/0.215)xLn(IR)
Opacity converted in K
Filtering
<N430(%)>
-1 current opacity
Conversion from k(m ) in N(%)
Command ‘u’
N=100x(1-EXP(-k x 0.430)) <N430(%)[0..500]>
Compensation effective length (curve)
command 0x8A
Résult :
Ri = max (N[0..500]) (%) k
< i>
Ki=-Ln(1-(Ri/100))/0.430 command ‘b’
¾ Conversion of N in k : Ki=-Ln(1-(Ni/100))/0.430
(Ln() being the Napierian logarithme function)
N is expressed in % and k is expressed in m -1.
All the required mathematical elements are integrated so that the transducer provides directly the selected
opacity value (maximum of the filter curve either on K or on N or on both of them).
Before each test, it is necessary to make sure that the filter (coefficient Cn and Ck) stored in EEPROM is
well parametered.
4.3. Resolution
The opacity obtained in percent of the transducer is given for 0.1 % of resolution.
The maximal value of the opacity curve obtained in m-1 is sent with a resolution of 0.001 m-1.
4.4. Accuracy
Exemple:
For a 1 second response time, it is recommended to use the following constants (approved in France with
these constants):
- Cn=0.141
- Ck=0.046
It is strongly recommended to ask CAPELEC's support in order to determine the most adapted constants
relative to a specific requirement on response time.
5.5. Autosleep
The transducer can be parametered in order to switch to standby automatically. It can be also switched to
standby and deactivated with a command.
Autosleep setting just implies the fan stop. The heating elements keep on being regulated at the same
temperatures.
Autosleep setting is done automatically x minutes after the las t command which was sent via the serial port.
The x value is implemented in the EEPROM and can be modified by the user interface (by default x=5).
To disactivate the autosleep, x has to be set at 0.
6. COMMUNICATION
6.1. P.C.link
The communication is made by an RS232 serial port. The connecteur does also allow to power the
smoke head at 13.5 VDC.
Pin 1- POWERIN +
Pin 2- Rx (serial com)
Pin 3- Tx (serial com)
Pin 4- POWERIN -
Pin 5- Gnd (serial com)
Pin 6- Chassis ground
Pin 7- POWEROUT +
Pin 9- POWEROUT -
RS232 parameters:
- Speed : 9600 Bauds
- Data : 8 bits
- Parity : No (0)
- Stop : 1 bit
When the PC calls for a non-existing function or when there is an error of syntax or of communication, the
transducer sends a NAK.
Reception: <NAK=0x15><checksum=0xEB>
7. COMMUNICATION COMMANDS
7.1. Command : Sending of the number of version and serial number
Request: <‘v’><checksum>
Answer : <‘v’><version><Serial number><checksum>
Bytes:1 2 2 1
Format :
Version : Unsigned integer
Cast in float and divide by 100 to display x.xx
Serial number : Unsigned integer
Request: <0x8b><checksum>
Answer : <0x8b><opacity><checksum>
Bytes:1 2 1
Format:
Opacity Unsigned integer equal to the opacity *10 (to display xx.x %)
Remark : one must use this command when one wants to make a measurement in static with an
optical filter so that to control the accuracy of the measurement.
Request: <‘u’><checksum>
Response: <‘u’><opacity><gastemperature><temperaturetube><status><checksum>
Bytes:1 2 1 1 2 1
This commands asks to the CAP3030 to make a linearization. It allows to fix the values of the O % and of the
100 % of opacity.
Request: <‘l’><checksum>
Response: <‘l’><checksum >
Byte: 1 1
Request: <‘o’><checksum>
Response: <‘o’><opacity array><checksum>
Byte: 1 500*2 1
Format :
500 Unsigned integers equal to the opacity*10 (to display xx.x %)
This command asks for the CAP3030 to set the acquisition routine of an opacity curve. The transducer
resets the 10 seconds of the data buffer and starts to collect the information in a buffer memory of 1 second
in continuous. This command must be followed either by the command of the trig ‘t’ or by the command of
stop ‘q’.
Request: <‘a’><checksum>
Response: <‘a’><checksum>
Byte: 1 1
This command asks the CAP3030 to store in the buffer the 9 seconds of data which follow this command.
Following this command, one has a buffer of 10 seconds which contains 1 second of pre-triggered data (set
command) and 9 seconds of triggered data.
Request: <‘t’><checksum>
Response: <‘t’><checksum>
Byte: 1 1
Request: <‘q’><checksum>
Response: <‘q’><checksum>
Byte: 1 1
Request: <‘m’><m1><m2><checksum>
Byte: 1 1 1 1
Format :
m1: starting address in the eeprom (unsigned char)
m2 : number of bits to read (unsigned char)
Response: <‘m’><d1><d2>...<dm2><checksum>
Byte: 1 1 1 1 1
di : i ème byte asked by the user
Remark : di is the byte placed at the address m1+i of the eeprom.
Writing :
Request: <‘c’><s><l><checksum>
Response: <‘c’><checksum>
Format :
s.7=0 writing of the value in memory
l is an unsigned char between 0 and 100.
Reading
Request: <‘c’><s><checksum>
Response: <‘c’><s><l><checksum>
Format :
s.7=1 reading of the value in memory
l is an unsigned char between 0 and 100.
The value by default when starting up is 100 %. If l=50, then the light intensity will be of 50 %.
This routine allows to carry out a drift control procedure on the measurement.
The opacity source intensity can be set to 32 different positions between 0 and 100 %. By giving the
intended opacity with this command, the smokemeter set the source intensity to the nearest position. It is by
this way possible not only to check the 50 % intensity drift but also the complete linearity drift on the full
range.
This command allows to start and stop the fan of the transducer.
Request: <‘s’><s>checksum>
Response: <‘s’><s><checksum>
Format :
s=0 Stop of the fan.
s=1 Starting up of the fan.
(s is a word of 8 bits.)
This command allows to select the filters and the coefficients as well which are used to carry out a
measurement.
Writing:
Request: <‘e’><s><Ca>[<Cb>]<checksum>
Byte: 1 1 2 [2] 1
Response: <‘e’><checksum>
Format :
s.7=0 writing of the value in memory
Byte s :
s.0 s.1 : number of poles (0, 1 or 2).
s.4 filter on k and N if bit active.
s.5 BESSEL FILTER if bit active.
s.6 UNUSED.
Reading :
Request: <‘e’><s><checksum>
Response: <‘e’><s><Ca>[<Cb>]<checksum>
Byte: 1 1 2 2 1
Format :
s.7=1 reading of the value in memory
example :
Filter on k and N
Writing in the transducer
Ca=0.141
Cb=0.046
Sending: <‘e’><0x92><00 ;141><00 ;46><checksum>
BESSEL FILTERING:
When using BESSEL filter (S=0xA2):
The Omega value is transmitted with Ca and Cb. Ex:
- Response time= 1.00 S.
- Physical response time= 0.2 s
- Sampling time= 0.02 S.
- Omega=50.554657
For this configuration, you it will be sent to the CAP3030 the following command:
Sending: <‘e’><0xA2><0x13;0xbf><0x12;0x31><checksum>
5055=0x13bf 4657=0x1231.
The omega used in the bessel filter will be calutated as Omega=(Ca + Cb/10000)x100.
In the exemple case, omega=(5055+4657/10000)x100=50.554657
This command allows to fix or to know the gas temperature from which the measurement is considered as
right. This value is written in EEPROM.
It is fixed by default at 40 °C.
Writing:
Reading :
Request: <‘h’><s><checksum>
Response: <‘h’><s><tgaz limite><checksum>
Format :
s.7=1 reading of the EEPROM
Remark :
tgaz limite must be fixed between 0 and 255°C.
This device allows to fix the minimum intensity of light which has to be received when the cell is empty. If the
value is below than the one fixed, the optical device must be cleaned. The corresponding status bit will be
affected at 1 (b2.1=1).
This value is a percentage of the maximal sooting. By default, this value is fixed at 50. The value is freezed
in the EEPROM.
Writing :
Request: <‘k’><s><Clean window><checksum>
Response: <‘k’><checksum>
Format :
s.7=0 writing in EEPROM
Clean Window is an unsigned char between 0 and 100.
Lecture:
Request : <‘k’><s><checksum>
Response: <‘k’><s><Clean window><checksum>
Format :
s.7=1 reading of the EEPROM
Clean Window is an unsigned char between 0 and 100.
Clean window must be within 0 and 100 %. The value by default is 50 %. A normal operating range of this
parameter corresponds to 30 % < Clean window <70%.
When the transducer is triggered, this allows to get back the opacity curve during the sampling piece by
piece in function as and when required. The user asks to read the data from a moment n and until the
moment m. If the m-n points are not available at the moment of the demand, the unit replies by a NAK. On
the contrary, the unit sends the requested data table. This command allows to draw a curve in real time
without having to wait for the end of the 10 seconds of acquisitions.
Request: <0x8a><n><m><checksum>
Byte: 1 2 2 1
Response: <0x8a><Nn><Nn+1>...<Nm-1><checksum>
Byte: 1 2 2 1
Request: <w><checksum>
Response: <w><Indice><checksum>
Byte: 1 2 1
Format :
Indice is unsigned integer between 0 et 500.
Remark :
Using this command is indispensable if one wants to read the curve in real time with the command ‘0x8a’.
Request: <‘b’><checksum>
Response: <‘b’><Peak>< gas status >< duration of acceleration ><checksum>
Byte: 1 2 1 2 1
Format :
Peak Unsigned integer equal to 1000 times the opacity in m-1 .
(divide by one thousand in a float to get the format x.xxx)
gas status
Byte of 8 bits
=0 superior to the limit during of all the time of the acceleration,
≠0 Gas temperature inferior to the limit during the acceleration.
duration of acceleration
Unsigned integer between 0 and 500.
This is the number of points between the trig moment (factor=50) and the moment
when the opacity peak is reached.
Request: <‘U’><checksum>
Response: <‘U’><Temp gas><Temp tube><Temp detector><Temp ambient>…
Byte: 1 1 1 1 1
…<Power supply.><Fan speed.><lense dirtyness>…
2 2 1
…< LED OFF Intensity > < LED ON Intensity >…
2 2
…<EMPTY><checksum>.
11 1
Format :
Temp gas Unsigned char
Temp tube Unsigned char
Temp detector Unsigned char
Temp ambient Unsigned char
Remark :
This frame is composed of 26 characters including command and checksum.
Request : <‘d’><checksum>
Response: <‘d’><checksum>
Rem: make a zero after sending this command.
8. ADVISED ALGORITHMS
8.1. Start-up of the transducer
If b2.6 or b2.7 are active then stop the test, the transducer must be repaired.
Loop {
Use the command ‘u’ and wait for the error bits different than b1.1, b1.2,
b1.3, b2.4 are equal to zero.
Make a zero.
8.2. Zero
Loop {
Make a zero with command ‘l’.
Read status and opacity bits (command ‘u’) as long as b2.0=1
When b2.0=0 :
If all the bits different than b1.4 and b2.5 are null and the opacity is below
2.0 %, then leave the loop.
Otherwise, one keeps on with initialization and one leaves the test.
}
8.3. Measurement of an acceleration
Set the acquisition (command ‘a’)
Read the filtered opacity (‘u’) as long as variation below 0.20 m-1
If variation of opacity more than 0.20 m-1 (beginning of the acceleration)
Then trigger (‘t’)
loop{
Ask for factor (‘w’)
Ask for the points of the curve between previous factor and new factor (‘0x8a’).
New factor becomes previous factor.
} as long as high opacity (accleration on)
Leave the sampling (‘q’)
Ask for result (‘b’)
Display max
9. EEPROM MAPPING
Variable Description Address in Size in Byte Value by default
EEPROM
STATUS Type of filter
0 1 0x92
POLE_K Value of the filter on the
curve N
1 2 141