Method and system for capturing analog signal cycles

A technology for simulating signals and signal values, applied in the field of signal processing, can solve the problems of complex implementation, missed detection, and high cost

Inactive Publication Date: 2014-05-14
SHENZHEN EXCELSECU DATA TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this scheme, the comparator can only compare a fixed value, which will cause missed detection, resulting in detection errors. At the same time, the use of comparator detection requires a peripheral hysteresis circuit to adjust the upper and lower thresholds, and the threshold adjustment is not enough. Flexible, and the cost is high, and the implementation method is also complicated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for capturing analog signal cycles
  • Method and system for capturing analog signal cycles
  • Method and system for capturing analog signal cycles

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0035] The present invention provides a method for capturing the period of an analog signal.

[0036] refer to figure 1 and figure 2 , figure 1 It is a schematic flowchart of an embodiment of a method for capturing an analog signal period in the present invention; figure 2 An example diagram of setting the AWD interrupt upper / lower limit threshold for the method of capturing the period of the analog signal of the present invention. figure 2 In , the vertical axis represents the voltage axis (V), and the horizontal axis represents the time axis (t).

[0037] like figure 1 As shown, in the embodiment of the present invention, the method for capturing the cycle ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for capturing analog signal cycles. The method includes the steps: scanning received analog signals and sampling signal values in real time; when the signal values exceed an upper threshold or are below a lower threshold, trigging an AWD (analog watch dog) to break off and recording the count value of a system clock when trigging the AWD to break off; when the AWD is triggered to break off due to the fact that the signal values exceed the upper threshold, setting the upper threshold to be the preset maximum upper threshold and setting the lower threshold to be the preset normal lower threshold; when the AWD is triggered to break off due to the fact that the signal values are lower than the lower threshold, setting the upper threshold to be the preset normal upper threshold, setting the lower threshold to be the preset minimum lower threshold, and returning to continue the steps before scanning and receiving analog signal cycles. The invention further discloses a system for capturing the analog signal cycles. By the aid of an AWD function of a single-chip microcontroller, the analog signal cycles can be captured, and accuracy and flexibility in capturing the analog signal cycles are improved.

Description

technical field [0001] The invention relates to the technical field of signal processing, in particular to a method and system for capturing the period of an analog signal. Background technique [0002] Most of the single-chip microcomputers launched by STMicroelectronics (abbreviated as ST) have AWD (Analog Watch Dog, analog watchdog) function, that is, the GPIO (General Purpose Input Output, general purpose input / output) port of the single-chip microcomputer has AWD function, AWD The function is to continuously detect the voltage value of the GPIO port of the microcontroller through the ADC (Analog-to-Digital Converter, analog / digital converter). The corresponding semaphore will be generated when the lower limit threshold value is determined, so as to realize the reset function of the single-chip microcomputer. [0003] At present, when analyzing various analog signals in the industry, the comparator is used to detect the voltage value of the GPIO port of the microcontrol...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 陈柳章
Owner SHENZHEN EXCELSECU DATA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products