A computer engineer was hired to develop a single-phase electricity meter, that is, one that makes the acquisition via a
Posted: Fri Jul 01, 2022 5:46 am
A computer engineer was hired to develop a single-phaseelectricity meter, that is, one that makes the acquisition via asensor of the voltage and current of only one phase. Now that heknows the concept of FreeRTOS, he intends to implement it for thismeter.The project description is:
The electrical network has an alternating cycle of 60 Hz, and itis intended to collect signals converted from analog to digital, ata frequency equivalent to 15.36KHz, 256 samples per cycle, with aminimum resolution of 12 bits in AD converters. With the acquireddata, the microcontroller calculates five quantities: rms voltagevalue, rms current value, active power, reactive power and powerfactor. It is also intended to obtain the harmonic decomposition upto 41st order of voltage and current signals using the fast Fouriertransform (FFT). After the calculation of these quantities and theharmonic decomposition, the data is sent via the internet to a datacenter, which can be GRPS, wireless or Ethernet.Considering the criteria of the tools to be adopted with FreeRTOS,detail the tasks that must be done, the resources such assemaphores, groups of events, interruptions, among others.
The electrical network has an alternating cycle of 60 Hz, and itis intended to collect signals converted from analog to digital, ata frequency equivalent to 15.36KHz, 256 samples per cycle, with aminimum resolution of 12 bits in AD converters. With the acquireddata, the microcontroller calculates five quantities: rms voltagevalue, rms current value, active power, reactive power and powerfactor. It is also intended to obtain the harmonic decomposition upto 41st order of voltage and current signals using the fast Fouriertransform (FFT). After the calculation of these quantities and theharmonic decomposition, the data is sent via the internet to a datacenter, which can be GRPS, wireless or Ethernet.Considering the criteria of the tools to be adopted with FreeRTOS,detail the tasks that must be done, the resources such assemaphores, groups of events, interruptions, among others.