Notifications
Clear all

Calculation of Exposure limits

5 Posts
2 Users
0 Likes
9,656 Views
(@grseidel)
Active Member
Joined: 14 years ago
Posts: 5
Topic starter  

Hi,

while trying all the functions of my new NF3020 I was able to get into the mode to calculate exposure limits only when the magnetic sensor is activated, not when the e-field sensor runs. Is that a bug or a feature? I am using firmware beta50.

Can one set-up own exposure curves to be calculated in this mode? I did not find any entries to this regard in the filemanager of LCS.

Grüsse aus München
GS


   
Quote
(@moderator)
Noble Member Admin
Joined: 14 years ago
Posts: 1044
 

Creating custom limits is not directly supported but you can add a own little P-CODE software to add own limits, that is no big deal.
The missing electric field limit display is a known BETA bug which will be removed in the next update.
If you use the PC software you can add own limit levels already (add to limits.ini file).
With the new MCS you will be able to add even quite complex custom limits like the ICNIRP.

Snip


   
ReplyQuote
(@grseidel)
Active Member
Joined: 14 years ago
Posts: 5
Topic starter  

Thanks, I patched programme 150 to have TCO and ICNIRP to run with the e-field sensor.

Are there any limits in Pcode size, as I had to remove some of the other code (and limits) to get it run?

Have you conducted any analysis to ensure the calculation based on the 3 peak values is sufficient to cover the limits completely? I could think of some theoretical field curves, where this is not the case but it may be of academic nature only.

Rgds.
GS


   
ReplyQuote
(@moderator)
Noble Member Admin
Joined: 14 years ago
Posts: 1044
 

Indeed this are quite academic fields that should never show up in practice :D
The PC software offers up to 10 marker for limit calculation the new MCS software even offers a unlimited number of marker.
Yes there is a maximum size for every P-Code program (number 150 is quite the maximum size) so you should add external programs and call them with the chain command so save space within the program 150.

P.S. Please supply useful modified P-Code to the forum so that all user can benefit from it ;)

Snip


   
ReplyQuote
(@grseidel)
Active Member
Joined: 14 years ago
Posts: 5
Topic starter  

P.S. Please supply usefull modified P-Code to the forum so that all user can benefit from it ;)

I wasn't sure if you appreciate seeing code modified from your firmware in a public forum. I happily share what I've done. I replaced the programme 150 with the code below, it compares against TCO03 and ICNIRP levels (as in the manual) for the e-field and magnetic sensor. One should patch the programme for the key 'right' to allow only two profiles as well.

 LOADSET PEAK1FREQ
 STOREVAR 03h
 LOADSET SPECDISP
 JUMPNZ LABEL-1
 LOADSET PEAK1POW
 LOADSET PEAK1FREQ
 ACALL PROG-0
 LOADSET PEAK2POW
 LOADSET PEAK2FREQ
 ACALL PROG-0
 MAX
 LOADSET PEAK3POW
 LOADSET PEAK3FREQ
 ACALL PROG-0
 MAX
 DUP
 PPIXBAR 02h
 LDCONST 100
 MUL
 PPIXDBL 00h, 0100h, "###.##"
 LOADVAR 01h
 LDSHCO 01h
 JUMPEQ LABEL-2
 PPIXTEXT 00h, 0000h, "TCO03"
 JUMP LABEL-1
LABEL-2:
 PPIXTEXT 00h, 0000h, "ICNIRP"
LABEL-1:
 STOP
PROG-0:
 STOREVAR 02h
 LOADVAR 02h
 LOADVAR 01h
 LDSHCO 01h
 JUMPEQ LABEL-3
 LDSHCO 02h
 JUMPGE LABEL-4
 LOADSET PULSEMODE
 LDSHCO 06h
 JUMPGE LABEL-5
 LDCONST 0.000000200
 JUMP LABEL-6
LABEL-5:
 LDCONST 10
 JUMP LABEL-6
LABEL-4:
 LOADSET PULSEMODE
 LDSHCO 06h
 JUMPGE LABEL-7
 LDCONST 0.000000025
 JUMP LABEL-6
LABEL-7:
 LDCONST 1
 JUMP LABEL-6
LABEL-3:
 LOADSET PULSEMODE
 LDSHCO 06h
 JUMPGE LABEL-8
 LDSHCO 96h
 JUMPGE LABEL-9
 LOADVAR 02h
 LDCONST 0.8
 JUMPGE LABEL-10
 LOADVAR 02h
 LDCONST 0.008
 JUMPGE LABEL-11
 LOADVAR 02h
 LDCONST 0.001
 JUMPGE LABEL-12
 LDCONST 0.040
 JUMP LABEL-6
LABEL-12:
 LDCONST 0.000000040
 LOADVAR 02h
 SQUARE
 DIV
 JUMP LABEL-6
LABEL-11:
 LDCONST 0.000005
 LOADVAR 02h
 DIV
 JUMP LABEL-6
LABEL-10:
 LDCONST 0.000006250
 JUMP LABEL-6
LABEL-9:
 LDCONST 0.000920
 LOADVAR 02h
 DIV
 JUMP LABEL-6
LABEL-8:
 LDCONST 1000
 JUMPGE LABEL-13
 LOADVAR 02h
 LDCONST 3
 JUMPGE LABEL-14
 LOADVAR 02h
 LDCONST 0.025
 JUMPGE LABEL-15
 LDCONST 10000
 JUMP LABEL-6
LABEL-15:
 LDCONST 250
 LOADVAR 02h
 DIV
 JUMP LABEL-6
LABEL-14:
 LDCONST 87
 JUMP LABEL-6
LABEL-13:
 LDCONST 87
 LOADVAR 02h
 SQRT
 DIV
 JUMP LABEL-6
LABEL-6:
 DIV
 RET
 STOP

From a few quick checks results look reasonable, but no warranties given.


   
ReplyQuote
Share: