CN100371885C - Ratio multiplication method and ratio multiplier - Google Patents

Ratio multiplication method and ratio multiplier Download PDF

Info

Publication number
CN100371885C
CN100371885C CNB2003101161746A CN200310116174A CN100371885C CN 100371885 C CN100371885 C CN 100371885C CN B2003101161746 A CNB2003101161746 A CN B2003101161746A CN 200310116174 A CN200310116174 A CN 200310116174A CN 100371885 C CN100371885 C CN 100371885C
Authority
CN
China
Prior art keywords
signal
value
spacing
comparing data
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNB2003101161746A
Other languages
Chinese (zh)
Other versions
CN1545019A (en
Inventor
刘传维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2003101161746A priority Critical patent/CN100371885C/en
Publication of CN1545019A publication Critical patent/CN1545019A/en
Application granted granted Critical
Publication of CN100371885C publication Critical patent/CN100371885C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

The present invention relates to a method for ratio multiplication used for counting the signal sequence of original pulses and outputting target impulse signals. In the method, firstly, the signal sequence of compare data and original pulses is received; secondly, the signal sequence of original pulses is counted, and a pulse time value is obtained; the pulse time value is compared with the compare data. When the pulse time value is equal to the compare data, a corresponding original pulse signal in an original pulse signal sequence is output to be used as a target impulse signal. Finally, the number is returned to zero, the time of impulses is recounted, and a pulse time value is obtained again. The present invention can freely determine the number of pulses and the interval time of two pulses in target impulse signals according to a ratio value.

Description

The method of ratio multiplication and rate multiplier
Technical field
The present invention relates to a kind of rate multiplier (rate multiplier), and be particularly related to a kind of method and rate multiplier that elasticity is adjusted the ratio multiplication of multiplication ratio that have.
Background technology
In applications of electronic circuitry, usually need with signal frequency f multiply by a certain less than 1 rate value n/m and a signal than small frequency, promptly so-called ratio multiplication.For example be that the pulse signal of 10MHz multiply by the pulse signal that 3/10 rate value obtains 3MHz with a frequency.In the pulse signal of going up 10MHz directly perceived, per 10 pulses only keep wherein 3 purposes that can reach the ratio multiplication.
The practice of known technology has plenty of in m pulse signal, comes to select arbitrarily at random n pulse signal by hardware circuit; Have plenty of in m pulse signal, fix certain n pulse signal of selecting equidistant from distance (equal space) or certain n pulse signal of unequal-interval by hardware circuit.Relevant details can be consulted US 4,241,408 with US 2003/0058052 or the like United States Patent (USP) case.
Yet, use the practice of hardware circuit, must inquire into required hardware circuit by the oscillogram of last institute palpus to circuit designers, working load is quite big.And, because n pulse signal, or equidistant from distance or unequal-interval or constant spacing not, and can not motor-driven with the need adjustment n pulse signal spacing each other, use elasticity is less.
The present invention proposes a kind of rate multiplier, exports the purpose pulse signal in order to counting original burst signal sequence, and this rate multiplier comprises: counter (counter), comparer (comparator) and shift register (shift register).Rolling counters forward original burst signal sequence is also exported the pulse number value, according to the purpose pulse signal pulse number value is counted again simultaneously.Comparer is coupled to counter, in order to while received pulse time numerical value and spacing value, if the pulse number value equates then to export the purpose pulse signal with spacing value.Shift register is coupled to comparer, in order to receiving comparing data, and the output gap value according to the triggering of purpose pulse signal at least.
According to the described rate multiplier of preferred embodiment of the present invention, wherein comparing data comprises at least one spacing value, and shift register be according to the triggering of purpose pulse signal in regular turn the output gap value one of them.Be according to a rate value among this embodiment, and the spacing value of comparing data, and can adjust each every value, to adjust the interval time of each purpose pulse signal purpose pulse signal adjacent with another.In embodiment, more comprise internal memory in addition, have at least one group of comparing data in the internal memory, in order to receive and to select wherein one group and the output of comparing data according to the selection signal.
The present invention proposes another kind of rate multiplier, exports a purpose pulse signal in order to count an original burst signal sequence, and this rate multiplier comprises: counter, comparer and microprocessor.Counter can be counted the original burst signal sequence and export the pulse number value, according to the purpose pulse signal pulse number value is counted again simultaneously.Comparer is coupled to counter, and received pulse time numerical value and spacing value equate then to export the purpose pulse signal as if the pulse number value with spacing value simultaneously.Microprocessor is coupled to comparer, can receive the selection signal, and exports selecteed spacing value according to the triggering of purpose pulse signal.
According to preferred embodiment of the present invention, wherein microprocessor can built-in at least one group of comparing data, this comparing data comprises at least one spacing value, microprocessor can be complied with wherein one group that selects signal selection comparing data, and exports the spacing value in the selecteed comparing data in regular turn according to the triggering of purpose pulse signal.In addition, can also comprise internal memory, be coupled to microprocessor.Have at least one group of comparing data in the internal memory, required in order to microprocessor to be provided.Wherein, microprocessor can be according to selecting signal to extract comparing data from internal memory, and this comparing data comprises at least one spacing value, and microprocessor is exported the spacing value in the selecteed comparing data in regular turn according to the triggering of purpose pulse signal.Also can be according to a rate value, and the spacing value of comparing data is provided, and can adjust each every value, to adjust the interval time of each purpose pulse signal purpose pulse signal adjacent with another.
The present invention is the method that proposes the ratio multiplication with intuitive manner, is predetermined umber of pulse and interpulse period in the purpose pulse signal according to rate value.That is to say that provide in one group of comparing data to comprise a plurality of spacing values, the summation of these spacing values promptly is the denominator m of rate value n/m, and its spacing value number is molecule n.Therefore, because each spacing value in the comparing data can freely be allocated (as long as summation is m), all can do different set according to need each interpulse period in the purpose pulse signal of output.Therefore improve the shortcoming in the known technology fully.
For each purpose of the present invention, feature and advantage can be become apparent, preferred embodiments more cited below particularly, and conjunction with figs. are described in detail as follows.
The accompanying drawing summary
Fig. 1 is the process flow diagram of a kind of ratio multiplication method of illustrating according to a preferred embodiment of the present invention.
Fig. 2 is a kind of sequential chart of drawing according to a preferred embodiment of the present invention.
Fig. 3 is the calcspar of a kind of rate multiplier of drawing according to a preferred embodiment of the present invention.
Fig. 4 is the calcspar of a kind of rate multiplier of being drawn according to another preferred embodiment of the present invention.
The reference numeral explanation
S11: input original burst signal sequence
S12: obtain pulse number value NP
S13: comparing data CMP is provided
S14: in CMP, select spacing value IN in regular turn
S15: relatively whether IN equates with NP
S16: output purpose pulse signal
S17: NP is made zero
Pul seO: original burst signal sequence
Pul seD: purpose pulse signal
CMP: comparing data
Factor: select signal
NP: pulse number value
IN: spacing value
310: counter (counter)
320: internal memory
330: shift register (shift register)
340: comparer (comparator)
430: microprocessor (micro processor)
Embodiment
Fig. 1 is the process flow diagram of a kind of ratio multiplication method of illustrating according to a preferred embodiment of the present invention.Please refer to Fig. 1, step S11 receives the original burst signal sequence, and the pulse number of counting the original burst signal sequence then is to obtain pulse number value NP (step S12).At the same time, receive comparing data CMP (step S13), have a plurality of spacing value IN among the comparing data CMP.Step S14 selects (for example selecting in regular turn) one of them spacing value IN.Compare (step S15) with pulse number value NP with this selecteed spacing value IN,, otherwise continue comparison interval value IN and pulse number value NP if equate then to carry out step S16.Step S16 is an output purpose pulse signal.And then carry out step S14 and step S17 after step S16 finishes simultaneously, promptly in comparing data CMP, select (as selecting in regular turn) next spacing value IN (step S14), and pulse number value NP is made zero to count (step S17) again.After step S17 and step S14 finish, carry out step S12 and step S15 more respectively, follow also so always and carry out.
Another preferred embodiment of the present invention is a kind of method of ratio multiplication, comprises the following steps: that at least (1) receives one first signal array, and the cycle of this first signal array is M; (2) receive a ratio multiplying signal N, at this N less than M; (3), in M the signal in each cycle of this first signal array, select N1 signal, a N2 signal according to a reference data table ... Nn signal; And (4) output one secondary signal array, this secondary signal array is by N1 signal, a N2 signal ... Nn signal is formed.At this, the reference data tables of data is a form, is provided at the possible M of each group and N combination down, the N1 of the necessary use of institute ... the numerical value of Nn.At this, can also when receive this ratio multiplying signal N, also receive one and select signal X, at this, X is used for representing in the combination of this group M and N Y kind N1 is arranged when this reference data table ... during the combination of Nn, use that group N1 ... the combination of Nn, wherein X is not more than Y.Certainly, for user of the present invention is provided bigger facility, the present invention can also receive a modification information, and revises the content of this reference data table according to this.
For more clearly demonstrating the present invention, the spy is example and cooperates Fig. 1 so that illustrate the present invention with rate value 3/10.Fig. 2 is a kind of sequential chart of drawing according to a preferred embodiment of the present invention.Please be simultaneously with reference to Fig. 1 and Fig. 2.This embodiment is will input the original burst signal sequence frequency multiply by rate value, for example 3/10.Promptly in the original burst signal sequence, choose 3 pulses in per 10 pulses on directly perceived and export (being the purpose pulse signal).Yet in per 10 pulses, choose any 3 pulses? this choice relation is to the interval time of each adjacent pulse.Is that example is so that the explanation present embodiment at this with spacing value 3,3,4.This spacing value can be allocated arbitrarily, as long as the number of spacing value equals the molecule of rate value, and the summation of each spacing value equals the denominator of rate value and gets final product.
Time point A indicating impulse time numerical value NP is by the umber of pulse (it has 10 original burst signal in one-period) of 0 beginning and counting original burst signal sequence PulseO among Fig. 2, and this moment is by choosing first spacing value IN (being 3) among the comparing data CMP.When pulse number value NP equals spacing value I N (that is having counted three original burst signal), export purpose pulse signal PulseD (that is exporting the 3rd original burst signal) immediately, pulse number value NP is made zero lay equal stress on New count (i.e. time point B among the figure).Lay equal stress in the rapid pulse jig frequency numerical value of N P making zero, in comparing data CMP, choose next spacing value IN (being 3 in this example) in regular turn.Ditto described, when pulse number value NP equals spacing value IN (that is having counted three original burst signal), export purpose pulse signal PulseD (that is exporting the 6th original burst signal) (i.e. time point C among the figure) immediately.This moment, spacing value IN then chose next spacing value (being 4 in this example) in regular turn.Continue the umber of pulse of counting original burst signal sequence PulseO after pulse number value NP still makes zero, equal spacing value IN (that is exporting the tenth original burst signal after counting four original burst signal again) (i.e. time point D among the figure) again up to pulse number value NP.So carry out to reach the purpose of ratio multiplication repeatedly.
Though the two is an example to present embodiment with rate value 3/10 and spacing value 3,3,4, yet must emphasize at this, denominator and molecule (being the situation that the present invention can be applicable to different denominators and different molecular) that the present invention can provide the user freely to set rate value, and output the purpose pulse signal in each interpulse period also can allocate voluntarily by the user.Aforementioned each feature of the present invention should the limit with present embodiment.
Comprehensive above each step illustrates the present invention especially exemplified by a preferred embodiment with circuit block diagram.Fig. 3 is the calcspar of a kind of rate multiplier of drawing according to a preferred embodiment of the present invention.Counter 310 receives and triggers and export from initial value progression counting and with pulse number value NP according to original burst signal sequence PulseO among the figure, and this initial value is 0 for example in the present embodiment.Counter 310 receives purpose pulse signal PulseD in addition so that pulse number value NP the makes zero New count of laying equal stress on.The many groups of record comparing data in the internal memory 320, each organizes comparing data is to obtain according to various rate value.If is example with rate value 3/10, then 3,3,4 or 1,5,4 etc. all can become wherein one group that respectively organizes comparing data CMP.Perhaps desire calculated example such as rate value and for example be 5/16 multiplication result, the comparing data CMP that then can be in advance the allotment combination of various spacing values (for example 3,3,3,3,4 or 1,2,3,4,6 etc.) be formed is stored in the internal memory 320.Internal memory 320 is selected wherein one group of comparing data CMP according to selection signal factor, and with selecteed comparing data CMP output, and can merge (being built in for example in the shift register 330) in shift register 330.That is the use of present embodiment, the person of being to use only need allow present embodiment receive original burst signal sequence PulseO, and input select signal factor gets final product in the time will transferring original burst signal sequence PulseO to purpose pulse signal PulseD.Certainly, for bigger user's convenience is provided, shift register 330 still can be revised these group comparing datas according to an extraneous signal that receives.
That shift register 330 receives selecteed comparing data CMP and storage and export one of them spacing value IN in regular turn according to the triggering of purpose pulse signal PulseD.Shift register 330 changes this spacing value the position, end that places comparing data CMP behind output gap value I N.For example, if comparing data is 1,2,3,4,6, then the comparing data after output gap value 1 then becomes 2,3,4,6,1.More than relevant in comparing data CMP the mode of choosing of each spacing value I N be one to implement example for what present embodiment was lifted, allly be familiar with this operator and should know still and can otherwise apply it that its result is identical with present embodiment.340 of comparers simultaneously received pulse time numerical value NP and spacing value IN and than than, if the two is equal, then send purpose pulse signal PulseD.
Below lift a preferred embodiment again with explanation the present invention, please refer to Fig. 4.Fig. 4 is the calcspar of a kind of rate multiplier of drawing according to another preferred embodiment of the present invention.Present embodiment is similar to last embodiment, and its difference is to change shift register 330 with microprocessor 430 enforcements.Microprocessor 430 can provide various control function according to the firmware of The built-in, and common built-in internal memory (not illustrating), so can in advance the required comparing data CMP that respectively organizes be stored in wherein.Microprocessor 430 receives selects signal factor to select wherein one group of comparing data CMP, by the triggering of purpose pulse signal PulseD each spacing value IN among the selecteed comparing data CMP is exported in regular turn.Also the required comparing data CMP that respectively organizes can be stored in the internal memory 320 in the present embodiment, internal memory 320 is subjected to the control of microprocessor 430 and selecteed comparing data CMP is provided.The unaccounted part of present embodiment is identical with last embodiment, so do not give unnecessary details.
Though the present invention discloses as above with preferred embodiment; but it is not in order to limit the present invention; anyly have the knack of this skill person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.

Claims (18)

1. the method for a ratio multiplication is exported a purpose pulse signal in order to count an original burst signal sequence, comprises the following steps:
Receive a comparing data, this comparing data comprises most spacing values, and these spacing values are to determine that according to a rate value number of these spacing values equals the molecule of this rate value, and the summation of these spacing values equals the denominator of this rate value;
Receive this original burst signal sequence;
Count this original burst signal sequence, to obtain a pulse number value; With
Relatively this pulse number value and this comparing data, when this pulse number value arrives this comparing data, then:
Export this original burst signal sequence of part that corresponds to this comparing data in this original burst signal sequence and be this purpose pulse signal; And
This pulse number value of New count of laying equal stress on that makes zero uses obtaining this pulse number value once again and corresponding this purpose arteries and veins fills signal.
2. the method for ratio multiplication as claimed in claim 1, wherein, relatively the step of this pulse number value and this comparing data be for select those spacing values one of them, and with this pulse number value relatively, and this pulse number value arrives this comparing data and is meant that this pulse number value equals selecteed this spacing value.
3. the method for ratio multiplication as claimed in claim 2 is wherein selected one of them method of those spacing values, can be to select one by one in proper order in the middle of those spacing values.
4. the method for ratio multiplication as claimed in claim 2 wherein can be adjusted those spacing values, to adjust the interval time of each this purpose pulse signal this purpose pulse signal adjacent with another.
5. the method for a ratio multiplication comprises the following steps:
Receive one first signal array, the cycle of this first signal array is M;
Receive a ratio multiplying signal N, at this N less than M;
According to a reference data table, in M the signal in each cycle of this first signal array, select N1 signal, a N2 signal ... Nn signal, above-mentioned N1 signal, a N2 signal ... the number of Nn signal equals N, this reference data table is to be a form, be provided at the possible M of each group and N combination down, the numerical value of the N1...Nn of the necessary use of institute; And
Export a secondary signal array, this secondary signal array is by N1 signal, a N2 signal ... Nn signal is formed.
6. the method for ratio multiplication as claimed in claim 5, still can be when receiving this ratio multiplying signal N, also receive one and select signal X, at this, X be used for representing when this reference data table when combination of this group M and N has the combination of Y kind N1...Nn, use the combination of which group N1...Nn, wherein X is not more than Y.
7. the method for ratio multiplication as claimed in claim 5 still can receive a modification information, and revises the content of this reference data table according to this.
8. a rate multiplier is exported a purpose pulse signal in order to count an original burst signal sequence, and this rate multiplier comprises:
One counter, in order to receive and to count this original burst signal sequence and export a pulse number value, simultaneously according to this purpose pulse signal with this pulse number value New count of laying equal stress on that makes zero;
One comparer, be coupled to this counter, in order to receiving this a pulse number value and a spacing value simultaneously, and when this pulse number value equates with this spacing value, export this original burst signal sequence of part that corresponds to this spacing value in this original burst signal sequence and be this purpose pulse signal; And
One shift register, be coupled to this comparer, in order to receive a rate value and this purpose pulse signal, determine at least one spacing value that a comparing data comprises according to this rate value, and export one of them this spacing value that receives as this comparer of these spacing values according to this, these spacing values are to determine according to this rate value, and the number of these spacing values equals the molecule of this rate value, and the summation of these spacing values equals the denominator of this rate value.
9. rate multiplier as claimed in claim 8, wherein this shift register be export according to the triggering of this purpose pulse signal these spacing values one of them.
10. rate multiplier as claimed in claim 8, this shift register are to export each of these spacing values in regular turn.
11. rate multiplier as claimed in claim 8, this comparer still can be adjusted each this spacing value, to adjust the interval time of each this purpose pulse signal this purpose pulse signal adjacent with another.
12. rate multiplier as claimed in claim 8 more comprises an internal memory that is connected with this shift register, has at least one group of this comparing data in this internal memory, in order to receive and to select signal to select wherein one group and the output of this comparing data according to one.
13. rate multiplier as claimed in claim 12, this internal memory are built in this shift register in being.
14. rate multiplier as claimed in claim 12, this shift register are to be a microprocessor, this moment, this internal memory can merge with this microprocessor.
15. rate multiplier as claimed in claim 12, wherein, this comparing data comprises at least one this spacing value, this shift register one selects signal to select wherein a group of this comparing data according to what receive, and exports this spacing value in selecteed this comparing data in regular turn according to the triggering of this purpose pulse signal.
16. rate multiplier as claimed in claim 12, this shift register is complied with a selection signal that is received and is extracted this comparing data from this internal memory, this comparing data comprises at least one this spacing value, and this shift register is exported this spacing value in selecteed this comparing data in regular turn according to the triggering of this purpose pulse signal.
17. rate multiplier as claimed in claim 16, this shift register still can be adjusted each this spacing value, to adjust the interval time of each this purpose pulse signal this purpose pulse signal adjacent with another.
18. rate multiplier as claimed in claim 8, this shift register still can be revised this comparing data according to an extraneous signal that receives.
CNB2003101161746A 2003-11-17 2003-11-17 Ratio multiplication method and ratio multiplier Expired - Lifetime CN100371885C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101161746A CN100371885C (en) 2003-11-17 2003-11-17 Ratio multiplication method and ratio multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101161746A CN100371885C (en) 2003-11-17 2003-11-17 Ratio multiplication method and ratio multiplier

Publications (2)

Publication Number Publication Date
CN1545019A CN1545019A (en) 2004-11-10
CN100371885C true CN100371885C (en) 2008-02-27

Family

ID=34337520

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101161746A Expired - Lifetime CN100371885C (en) 2003-11-17 2003-11-17 Ratio multiplication method and ratio multiplier

Country Status (1)

Country Link
CN (1) CN100371885C (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4241408A (en) * 1979-04-04 1980-12-23 Norlin Industries, Inc. High resolution fractional divider
US5088057A (en) * 1990-04-05 1992-02-11 At&T Bell Laboratories Rational rate frequency generator
CN1282465A (en) * 1997-12-15 2001-01-31 艾利森电话股份有限公司 Multi-divide frequency division
WO2002080369A2 (en) * 2001-03-30 2002-10-10 Koninklijke Philips Electronics N.V. Baud rate generator with fractional divider
WO2003073244A2 (en) * 2002-02-27 2003-09-04 Advanced Micro Devices, Inc. Frequency divider

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4241408A (en) * 1979-04-04 1980-12-23 Norlin Industries, Inc. High resolution fractional divider
US5088057A (en) * 1990-04-05 1992-02-11 At&T Bell Laboratories Rational rate frequency generator
CN1282465A (en) * 1997-12-15 2001-01-31 艾利森电话股份有限公司 Multi-divide frequency division
WO2002080369A2 (en) * 2001-03-30 2002-10-10 Koninklijke Philips Electronics N.V. Baud rate generator with fractional divider
WO2003073244A2 (en) * 2002-02-27 2003-09-04 Advanced Micro Devices, Inc. Frequency divider

Also Published As

Publication number Publication date
CN1545019A (en) 2004-11-10

Similar Documents

Publication Publication Date Title
US5323361A (en) Method and an arrangement for distance measurement using the pulse transit time principle
CN101627538B (en) Delay time determining method, delay time adjusting method and variable delay circuit
US4443887A (en) Frequency-dividing circuit
US4137568A (en) Circuit for establishing the average value of a number of input values
CN105717851A (en) Real Time Trigger Using A Finite State Machine Having A Counting State
EP1538516B1 (en) Position indicator and position detector
US4255795A (en) Programmable binary correlator
US4763117A (en) Measurement instruments with multiple operation levels
CN100371885C (en) Ratio multiplication method and ratio multiplier
US5408675A (en) Programmable rank order filter
US5552878A (en) Electronic vernier for laser range finder
US3062442A (en) Pulse detector apparatus
CN101470553A (en) Data preprocessing ranking circuit and method of touch screen controller
CN103675383B (en) A kind of circuit measuring waveform
US4009371A (en) Averaging counter
US3629715A (en) Digital phase synthesizer
CN107850666A (en) Ultrasonic ranging ancillary equipment based on core independence ancillary equipment
CN106936435B (en) Method for rapidly determining ADC splicing sequence
CN1902502B (en) Delay fault test circuitry and related method
CN214335060U (en) Frequency detection circuit
CN106771583B (en) The method and apparatus of frequency for measuring signal
EP3569986B1 (en) Position sensing device
EP0123118B1 (en) Measurement instruments with multiple operation levels
US20090150466A1 (en) Rate multiplication method
SU1620953A1 (en) Device for measuring the ration of pulse repetition frequency

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20080227

CX01 Expiry of patent term