[Avrora] Radio consumption

rodolfo de paz rodolfo.depaz at cit.ie
Sat Mar 7 03:26:45 PST 2009


The last version will give you the radio consumption for cc2420 (micaz) too. There is no pre-built jar file for that because i don´t have access to upload jar files to the avrora webpage. However, the source code was updated with this funcionality around 6weeks ago. If you want to try it, checkout with cvs and compile the latest jar file.

regards,
Rodolfo.

-----Mensaje original-----
De: avrora-bounces at lists.ucla.edu en nombre de João Paulo Amaro da Costa Luz Carneiro
Enviado el: sáb 07/03/2009 04:28
Para: Mailing list for Avrora simulator users and developers.
Asunto: Re: [Avrora] Radio consumption
 
I forgot to update my findings on this question and while searching my  
mail archive remembered, and just to be registered for future  
reference for someone with the same question.
Apparently the radio energy values are only reported for mica2. When  
using the energy monitor with platform micaz, values for radio energy  
consumption aren't reported.
Regards


On 2008/12/25, at 16:35, Ben L. Titzer wrote:

> 1.7.106 is the latest version.
>
> ======================================================
> Imagination is more important than knowledge.
> -- Albert Einstein
>
> On Thu, 25 Dec 2008, João Paulo Amaro da Costa Luz Carneiro wrote:
>
>> Where can I get it? The prebuilt jar only lists versions up to  
>> 1.7.106
>> and I checked out from cvs and it is also 1.7.106.
>> Regards,
>>
>> Joao
>>
>>
>> On 2008/12/24, at 21:25, Marco Antonio Lopez Trinidad wrote:
>>
>>> The last version is Beta 1.7.55.
>>>
>>> --marco.
>>>
>>>> Thanks. I believe I am using the latest version, as you can see  
>>>> in my
>>>> output I'm using beta 1.7.106.
>>>> I will try to checkout from the latest version from cvs to see if I
>>>> can get the radio consumption.
>>>> Regards,
>>>>
>>>> Joao
>>>>
>>>> On 2008/12/22, at 20:21, Marco Antonio Lopez Trinidad wrote:
>>>>
>>>>> you should update your version of avrora.
>>>>>
>>>>> and the output must be something like this:
>>>>>
>>>>> Simulated time: 147456000 cycles
>>>>> Time for simulation: 1595.418 seconds
>>>>> Total throughput: 0.09242468 mhz
>>>>> =={ Monitors for node
>>>>> 0 }=====================================================
>>>>>
>>>>> Energy Consumption Component Breakdown:
>>>>>
>>>>> Node lifetime: 147456000 cycles,  20.0 seconds
>>>>>
>>>>> CPU: 0.4395447480974121 Joule
>>>>> Active: 0.4281001938790283 Joule, 139043313 cycles
>>>>> Idle: 0.011444554218383788 Joule, 8412687 cycles
>>>>> RESERVED 1: 0.0 Joule, 0 cycles
>>>>> ADC Noise Reduction: 0.0 Joule, 0 cycles
>>>>> RESERVED 2: 0.0 Joule, 0 cycles
>>>>> Power Down: 0.0 Joule, 0 cycles
>>>>> Standby: 0.0 Joule, 0 cycles
>>>>> Power Save: 0.0 Joule, 0 cycles
>>>>> Extended Standby: 0.0 Joule, 0 cycles
>>>>>
>>>>> Yellow: 5.371093750000001E-9 Joule
>>>>> off: 0.0 Joule, 147455994 cycles
>>>>> on: 5.371093750000001E-9 Joule, 6 cycles
>>>>>
>>>>> Green: 0.09230980859375001 Joule
>>>>> off: 0.0 Joule, 44337552 cycles
>>>>> on: 0.09230980859375001 Joule, 103118448 cycles
>>>>>
>>>>> Red: 5.371093750000001E-9 Joule
>>>>> off: 0.0 Joule, 147455994 cycles
>>>>> on: 5.371093750000001E-9 Joule, 6 cycles
>>>>>
>>>>> Radio: 0.5767723864501954 Joule
>>>>> Power Off:            : 0.0 Joule, 3905 cycles
>>>>> Crystal:              : 1.5207031250000001E-6 Joule, 62288 cycles
>>>>> Crystal + Bias:       : 1.7126464843749999E-6 Joule, 3050 cycles
>>>>> Receive (Rx):         : 0.5670926796875 Joule, 145175726 cycles
>>>>> Transmit (Tx):        0:   : 6.572420654296874E-4 Joule, 256387
>>>>> cycles
>>>>> Transmit (Tx):        15:   : 0.009019231347656248 Joule, 1954644
>>>>> cycles
>>>>>
>>>>> SensorBoard: 0.041999999999999996 Joule
>>>>> on:  : 0.041999999999999996 Joule, 147456000 cycles
>>>>>
>>>>> flash: 1.2E-4 Joule
>>>>> standby: 1.2E-4 Joule, 147456000 cycles
>>>>> read: 0.0 Joule, 0 cycles
>>>>> write: 0.0 Joule, 0 cycles
>>>>> load: 0.0 Joule, 0 cycles
>>>>>
>>>>> Bytes sent: 722
>>>>> Packets sent: 6
>>>>> -----------------------------------------
>>>>>
>>>>> And as you can see the radio energy consumptions are presented by
>>>>> the simulator.
>>>>>
>>>>> --marco.
>>>>>
>>>>>
>>>>>> Hi,
>>>>>> This is the output of my simulation with energy and packets
>>>>>> monitor.
>>>>>> As you can see packets are being sent. Can you tell me which  
>>>>>> energy
>>>>>> value represents the radio?
>>>>>> Regrards,
>>>>>>
>>>>>> Joao
>>>>>>
>>>>>> Avrora [Beta 1.7.106] - (c) 2003-2007 UCLA Compilers Group
>>>>>>
>>>>>> Loading recorder.od...[OK: 1.484 seconds]
>>>>>> =={ Simulation
>>>>>> events }=======================================================
>>>>>> Node          Time   Event
>>>>>>
>>>> ------------------------------------------------------------------------------
>>>>>>  0       8844427  ----> 00.00.00.0F.A7.14.41.88.00.22.00.FF.FF.
>>>>>> 00.00.3F.70.00.00.80.FF.FF.00.00.3D.FE  0.818 ms
>>>>>>  0      10522114  ----> 00.00.00.0F.A7.14.41.88.01.22.00.FF.FF.
>>>>>> 00.00.3F.70.00.01.80.FF.FF.00.00.B9.13  0.818 ms
>>>>>>  0      13610361  ----> 00.00.00.0F.A7.14.41.88.02.22.00.FF.FF.
>>>>>> 00.00.3F.70.00.02.80.FF.FF.00.00.14.35  0.818 ms
>>>>>>  0      19689712  ----> 00.00.00.0F.A7.14.41.88.03.22.00.FF.FF.
>>>>>> 00.00.3F.70.00.03.80.FF.FF.00.00.90.D8  0.818 ms
>>>>>>  0      35143271  ----> 00.00.00.0F.A7.14.41.88.04.22.00.FF.FF.
>>>>>> 00.00.3F.70.00.04.80.FF.FF.00.00.4E.78  0.818 ms
>>>>>>  0      52250334  ----> 00.00.00.0F.A7.14.41.88.05.22.00.FF.FF.
>>>>>> 00.00.3F.70.00.05.80.FF.FF.00.00.CA.95  0.818 ms
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> =
>>>>>> = 
>>>>>> = 
>>>>>> =================================================================
>>>>>> Simulated time: 73728000 cycles
>>>>>> Time for simulation: 5.660 seconds
>>>>>> Total throughput: 13.026149 mhz
>>>>>> =={ Packet monitor
>>>>>> results }==================================================
>>>>>> Node     sent (b/p)          recv (b/p)    corrupted (b)
>>>>>>
>>>> ------------------------------------------------------------------------------
>>>>>>  0       156 / 6                0 / 0                0
>>>>>>
>>>>>> =={ Energy consumption results for node
>>>>>> 0 }===================================
>>>>>> Node lifetime: 73728000 cycles,  10.0 seconds
>>>>>>
>>>>>> CPU: 0.1143761544951172 Joule
>>>>>>  Active: 0.02522081851546224 Joule, 8191508 cycles
>>>>>>  Idle: 0.08915533597965496 Joule, 65536492 cycles
>>>>>>  ADC Noise Reduction: 0.0 Joule, 0 cycles
>>>>>>  Power Down: 0.0 Joule, 0 cycles
>>>>>>  Power Save: 0.0 Joule, 0 cycles
>>>>>>  RESERVED 1: 0.0 Joule, 0 cycles
>>>>>>  RESERVED 2: 0.0 Joule, 0 cycles
>>>>>>  Standby: 0.0 Joule, 0 cycles
>>>>>>  Extended Standby: 0.0 Joule, 0 cycles
>>>>>>
>>>>>> Yellow: 5.371093750000001E-9 Joule
>>>>>>  off: 0.0 Joule, 73727994 cycles
>>>>>>  on: 5.371093750000001E-9 Joule, 6 cycles
>>>>>>
>>>>>> Green: 0.03933453637695313 Joule
>>>>>>  off: 0.0 Joule, 29787747 cycles
>>>>>>  on: 0.03933453637695313 Joule, 43940253 cycles
>>>>>>
>>>>>> Red: 0.03292817325846354 Joule
>>>>>>  off: 0.0 Joule, 36944237 cycles
>>>>>>  on: 0.03292817325846354 Joule, 36783763 cycles
>>>>>>
>>>>>> SensorBoard: 0.020999999999999998 Joule
>>>>>>  on:  : 0.020999999999999998 Joule, 73728000 cycles
>>>>>>
>>>>>> flash: 6.0E-5 Joule
>>>>>>  standby: 6.0E-5 Joule, 73728000 cycles
>>>>>>  read: 0.0 Joule, 0 cycles
>>>>>>  write: 0.0 Joule, 0 cycles
>>>>>>  load: 0.0 Joule, 0 cycles
>>>>>>
>>>>>>
>>>>>> On 2008/12/22, at 17:59, Marco Antonio Lopez Trinidad wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> if your programs don't use of the radio components, avrora will
>>>>>>> not
>>>>>>> report the
>>>>>>> energy consumption of the radio.
>>>>>>>
>>>>>>> --marco.
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> Is it possible to measure radio energy consumption?
>>>>>>>> Energy monitor only gives me cpu, leds, sensorboar and flash
>>>>>>>> energy
>>>>>>>> usage.
>>>>>>>> If I enable low power listening I get higher cpu energy
>>>>>>>> consumption
>>>>>>>> but have no idea of what happens with radio energy consumption.
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Joao
>>>>>>>> _______________________________________________
>>>>>>>> Avrora mailing list
>>>>>>>> Avrora at lists.ucla.edu
>>>>>>>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Avrora mailing list
>>>>>>> Avrora at lists.ucla.edu
>>>>>>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>>>>>
>>>>>> _______________________________________________
>>>>>> Avrora mailing list
>>>>>> Avrora at lists.ucla.edu
>>>>>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Avrora mailing list
>>>>> Avrora at lists.ucla.edu
>>>>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>>>
>>>> _______________________________________________
>>>> Avrora mailing list
>>>> Avrora at lists.ucla.edu
>>>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Avrora mailing list
>>> Avrora at lists.ucla.edu
>>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>>
>> _______________________________________________
>> Avrora mailing list
>> Avrora at lists.ucla.edu
>> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
> _______________________________________________
> Avrora mailing list
> Avrora at lists.ucla.edu
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora

_______________________________________________
Avrora mailing list
Avrora at lists.ucla.edu
http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6675 bytes
Desc: not available
Url : http://lists.ucla.edu/pipermail/avrora/attachments/20090307/b9bd734e/attachment-0001.bin 


More information about the Avrora mailing list