Unlock instant, AI-driven research and patent intelligence for your innovation.

A signal generator and signal generating method for generating integer frequency pulses

A technology of signal generator and integer frequency, which is applied in the field of signal processing, can solve the problem of non-integer cycle counting of output pulses, and achieve the effect of high precision and easy realization

Active Publication Date: 2017-05-10
山东华数智能科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above defects or improvement needs of the prior art, the present invention provides a signal generator and a signal generation method for generating integer frequency pulses, the purpose of which is to convert non-integer cycles to integer cycles, thereby solving the problem of system clock frequency Fixed an issue where integer frequency input values ​​would result in output pulses with non-integer period counts

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
  • A signal generator and signal generating method for generating integer frequency pulses
  • A signal generator and signal generating method for generating integer frequency pulses
  • A signal generator and signal generating method for generating integer frequency pulses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] The signal connection relation between each module of embodiment 1 is as follows figure 2 As shown, wherein, Clk is a system clock signal, Rst_n is a system reset signal, Div_en is a division enable signal, Div_done is a division completion enable pulse signal, Run is a pulse output enable signal, and pnm is a pulse output port;

[0035] f is the input frequency, and the input frequency value f can be set according to requirements; the division enable signal Div_en output by the detection module is used as the drive enable signal of the division module;

[0036] When the division module receives the division enable signal Div_en, it performs division calculation on the rising edge of the next system clock cycle, the dividend is the frequency value of the system clock signal written into the division module, and the divisor is the input frequency value f;

[0037] After the division module completes the division calculation, it outputs the division completion enable sig...

specific Embodiment 1 and Embodiment 2

[0044] Below in conjunction with specific embodiment 1 and embodiment 2, the working principle of the present invention is specifically set forth as follows:

[0045] When the remainder R is non-zero, it indicates that the counting cycle of the pulse corresponding to the input frequency should be greater than Q, less than a decimal number of (Q+1), set as A; the purpose of the present invention is to convert the decimal number A into R integers (Q+1) and (f-R) integer Q average value, that is, A=[R*(Q+1)+(f-R)Q] / f; output unit time with (Q+1) as the counting period R pulses, (f-R) pulses with Q as the counting period, and the output pulse signals of the two counting periods are evenly distributed;

[0046] When the remainder R is zero, R pulses with (Q+1) as the counting period and (f-R) pulses with Q as the counting period are output per unit time, and the output pulse signals of the two counting periods are evenly distributed;

[0047] If the system clock frequency used is ...

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 signal generator and a signal generation method for generating integer frequency pulses. The signal generator comprises a detection module, a division module and a waveform generation module which are connected in sequence. The signal generation method comprises the following steps: detecting the state of an input frequency value according to the frequency of a system clock through the signal generator, according to change of the input frequency value, outputting a division enabling signal, after the division module receives the division enabling signal, implementing division calculation on the system clock frequency and the input frequency value, generating the integer frequency pulses which are uniformly distributed within unit time according to the quotient and the remainder, and determining whether the integer frequency pulse signal is output or not according to a pulse output enabling signal. By adopting the signal generator and the signal generation method, conversion of a non-integer period to an integer period can be completed, the problem that non-integer periodic counting can be caused by integer frequency input values under the condition that the frequency of the system clock is fixed can be solved, and the signal generator and the signal generation method have the characteristics of high precision and high easiness in realization.

Description

technical field [0001] The invention belongs to the field of signal processing, and more specifically relates to a signal generator and a signal generating method for generating integer frequency pulses. Background technique [0002] At present, the number of pulse modulators on the market is mostly generated by the idea of ​​frequency multiplication and accumulation or by the way of frequency division and output of the counter according to the weight coefficient. Although the design of the former is simple, when the frequency control word cannot be divisible by the frequency accumulation counter, the waveform will appear irregular waveform at each clearing time of the frequency accumulator, which will affect the number of pulse square waves per unit time; the latter Although the design can output pulse waves counted by non-integer clock cycles, its accuracy is greatly affected by the reference frequency. Taking the 16-bit signal generator as an example, if the crystal oscil...

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 Patents(China)
IPC IPC(8): H03K3/02
Inventor 蒋哲徐敬
Owner 山东华数智能科技有限公司