Author Topic: Modeling/designing a quasi-peak (digital) detector  (Read 406 times)

0 Members and 1 Guest are viewing this topic.

Offline MPMTopic starter

  • Newbie
  • Posts: 3
  • Country: ru
Modeling/designing a quasi-peak (digital) detector
« on: July 03, 2023, 05:32:21 pm »
There is a need and desire to try to simulate a digital quasi-peak detector. In the Internet I found very little information (mostly articles), which, moreover, implies experience and knowledge. Many textbooks contain only the definition of quasi-peak detector and its circuit. Maybe someone can suggest modern literature on this topic? Or maybe there are ready-made models on the Internet (Simulink, although I have not found any:))?
 

Offline RJSV

  • Super Contributor
  • ***
  • Posts: 2763
  • Country: us
Re: Modeling/designing a quasi-peak (digital) detector
« Reply #1 on: July 04, 2023, 12:33:55 am »
   This problem (most likely) would show a huge contrast, between using a  coding solution, paying basically very little for uP hardware, while a solution using hardware is complex.
   Assuming you are encountering an analog to digital conversion output stream, you would need a digital comparator, perhaps 10 bits or 12 bits to compare for greater than, less than, and equal to, with a store operation for case when the newer value is larger.  (That's ignoring any polarity, (plus or minus voltage value).   Just accounting for the value sign is going to be a mess.

   You would 'save' a latest, largest value, which calls for some BUS hardware resembling a processor type set-up.  Plus you need a flag or two, indicating what stage or state the process is in.  Like, when first starting out, save a sample value, then set the flag that indicates this is the biggest (biggest positive or biggest negative) and then proceed to repeat converting and testing each next value.

   Coding that would, also be messy, but would not require that each little functional fragment has to involve more IC's hardware.
 

Offline MPMTopic starter

  • Newbie
  • Posts: 3
  • Country: ru
Re: Modeling/designing a quasi-peak (digital) detector
« Reply #2 on: July 04, 2023, 05:24:57 pm »
Thx for answer, but that sounds too complicated and incomprehensible. I just want take my raw data, feed their to digital model of QP detector (for example Simulink) and get an output value. I will compare the obtained output values with the values of the commercial device. The problem is that I have never designed digital filters. I want to try to find an example to start with and do by analogy.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf