Help regarding designing sensors

Hello PLECS members ,

I am currently attempting to design a control block in PLECS that can accurately sense the frequency of an input sinusoidal signal whose frequency varies with time , to use it in a feedback controller loop . Using only the standard library blocks, I have not yet been able to obtain a stable and reliable frequency sensing block for such a dynamically changing sinusoidal waveforms.

In addition to frequency estimation, I also require a block capable of tracking the dynamically changing peak value of the same sinusoidal input. The signal may exhibit variations in both amplitude and frequency. Traditional envelope-detection approaches based on diode–RC networks are too slow and insufficiently accurate for this application, so I am looking for a more responsive, prompt acting sensing approach that can be implemented using PLECS control blocks.

Any guidance, recommended architectures, or example implementations for achieving fast and accurate frequency and peak detection within the PLECS environment would be greatly appreciated…

It appears that this question is a continuation of your other recent post (Help needed — Building a frequency sensor (RMS block limitation) - #3 by SOURAV). Can you provide feedback on if the answers you were given there provided you a path forward or what challenges remain? It’s not clear from this post what specifically you still need guidance for.

Hello Kris ,

I have been working on a simulation based project on FDI (False Data Injection) in a CPPS ( Cyber Physical Power System ) . So , I am building the generation stage of the power system . So far I have modeled a steam turbine which feeds a 4 pole synchronous generator . To create a frequency monitoring closed control loop , I required a frequency tracker block which would track the instantaneous frequency of the generator’s output voltage , to feed it into a controller to maintain a constant grid frequency . However , I have successfully created such frequency tracking algorithm and have successfully implemented it in my modelling . Its working fine .

Thanks and regards ,

Sourav