NL2016141A - A new low cost frequency dividing circuit and its control method. - Google Patents
A new low cost frequency dividing circuit and its control method. Download PDFInfo
- Publication number
- NL2016141A NL2016141A NL2016141A NL2016141A NL2016141A NL 2016141 A NL2016141 A NL 2016141A NL 2016141 A NL2016141 A NL 2016141A NL 2016141 A NL2016141 A NL 2016141A NL 2016141 A NL2016141 A NL 2016141A
- Authority
- NL
- Netherlands
- Prior art keywords
- output
- input
- module
- counter
- coupled
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K21/00—Details of pulse counters or frequency dividers
- H03K21/38—Starting, stopping or resetting the counter
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K23/00—Pulse counters comprising counting chains; Frequency dividers comprising counting chains
- H03K23/40—Gating or clocking signals applied to all stages, i.e. synchronous counters
- H03K23/48—Gating or clocking signals applied to all stages, i.e. synchronous counters with a base or radix other than a power of two
Landscapes
- Manipulation Of Pulses (AREA)
- Logic Circuits (AREA)
Abstract
A frequency dividing circuit and its control method is described. In this circuit, the frequency dividing input circuit is connected with a first counting circuit and a counting and setting circuit. The first counting circuit is connected with a second counting circuit, a first comparing circuit, a first threshold input circuit and the counting and setting circuit. The second counting circuit is connected with the counting and setting circuit, a second threshold input circuit and a second comparing circuit. The first comparing circuit is connected with the first threshold input circuit and the second comparing circuit. The second threshold input circuit is connected with the second comparing circuit. The second comparing circuit is connected with the counting and setting circuit. This method achieves frequency division by setting two thresholds and combining the output and input characteristics of comparator and counter by changing the dial switch without any circuit modification.
Description
A new low cost frequency dividing circuit and its control method
Technical Field
The invention relates to a new low cost frequency dividing circuit and its control method.
Technical Background of the invention
The traditional frequency dividing circuit is shown in Figure 1, which is realized by series T trigger, the disadvantages are: If we want to change the frequency speed in use, we not only have to change the hardware connection of the circuit, but also need to increase the number of necessary components, which increase the unnecessary costs and which is more cumbersome. In addition, the frequency of the frequency dividing circuit is only 2 times, such as 2,8,16, and it can not divide the frequency in arbitrary multiples, which greatly affecte the convenience of the circuit. Due to the widespread application of the frequency dividing circuit, it is urgent to put forward a kind of frequency dividing circuit which is not limited to the basic multiples of 2, and which is simple and efficient and spands low cost.
Summary of the utility model
The invention aims to provide a new low cost frequency dividing circuit and its control method in order to overcome the defects existing in the prior art and achieve the setting of arbitrary frequency dividing ratio.
To achieve the above purpose, the technology options of this invention are: a new low cost frequency dividing circuit, including a frequency dividing input module, the first end of the frequency dividing input module is connected to the first end of a first counting module, the second end of the first counting module is connected to the first end of a first threshold input module, the third end of the first counting module is connected to the fisrt end of a first comparing module, the fourth end of the first counting module is connected to the first end of a second counting module, the second end of the first threshold input module is connected to the second end of the first comparing module, the second end of the second counting module is connected to the first end of a second threshold input module, the third end of the second counting module is connected to the first end of a second comparing module, the second end of the second threshold input module is connected to the second end of the second comparing module, the third end of the second comparing module is connected to the third end of the first comparing module, the fourth end of the second comparing module is used as the output end of the new low cost frequency dividing circuit and is connected to the first end of a counting and setting module, the second end of the counting and setting module is connected to the second end of the frequency dividing input module, the third end of the counting and setting module is connected to the fifth end of the first counting module and the fourth end of the second counting module.
Further, the frequency dividing input module includes a first NAND circuit and a second NAND circuit, the first input end of the first NAND circuit is used to input reduced pulse signal, the first input end of the second NAND circuit is used to input plus pulse signal, the second input end of the first NAND circuit is connected to the second input end of the second NAND circuit, which is used as the second end of the frequency dividing input module, the output end of the first NAND circuit and the output end of the second NAND circuit is both connected to the first counting module.
Further, the first counting module includes a first counter 40193, the CP+ end of the first counter 40193 is connected with the output end of the second NAND circuit, the CP- end of the first counter 40193 is connected with the output end of the first NAND circuit, the R end of the first counter 40193 is used as the fifth end of the first counting module.
Further, the first comparing module includes a first comparator 4585; the AO end , A1 end, A2 end and A3 end of the first comparator 4585 are respectively connected to the Q1 end, Q2 end, Q3 end, Q4 end of the first counter 40193; the (A>B)IN end and the (A=B)IN end of the first comparator 4585 is connected with high level, the (A<B)IN end of the first comparator 4585 is earthed.
Further, the first threshold input module includes a first dial switch SI, the first input end to the fourth input end of the first dial switch SI are both connected with high level, the first output end to the fourth output end of the first dial switch SI are respectively connected to the DPI end, DP2 end, DP3 end, DP4 end of the first counter 40193, the first output end of the first dial switch SI is also connected with the first end of a fourth resistance(R4) and the B3 end of the first comparator 4585, the second output end of the first dial switch S1 is also connected with the first end of a third resistance(R3) and the B2 end of the first comparator 4585, the third output end of the first dial switch SI is also connected with the first end of a second resistance(R2) and the B1 end of the first comparator 4585, the fourth output end of the first dial switch SI is also connected with the first end of a first resistance(Rl) and the BO end of the first comparator 4585; the second end of the first resistance(Rl), the second end of the second resistance(R2), the second end of the third resistance(R3) and the second end of the fourth resistance(R4) are both earthed.
Further, the second counting module includes a second counter 40193, the CP+ end of the second counter 40193 is connected to the CO end of the first counter 40193, the CP- end of the second counter 40193 is connected to the BO end of the first counter 40193, the R end of the second counter 40193 is used as the fourth end of the second counting module, the CO end of the second counter 40193 is connected to the PE end of the first counter 40193 and the PE end of the second counter 40193 .
Further, the second comparing module includes a second comparator 4585; the A0 end , A1 end, A2 end and A3 end of the second comparator 4585 are respectively connected to the Q1 end, Q2 end, Q3 end, Q4 end of the second counter 40193; the (A>B)IN end of the second comparator 4585 is connected with high level, the (A=B)IN end of the second comparator 4585 is connected to the (A=B)OUT end of the first comparator 4585, the (A<B)IN end of the second comparator 4585 is connected to (A<B)OUT end of the first comparator 4585, the (A>B)OUT end of the second comparator 4585 is used as fourth end of the second comparing module.
Further, the second threshold input module includes a second dial switch S2, the first input end to the fourth input end of the second dial switch S2 are both connected with high level, the first output end to the fourth output end of the second dial switch S2 are respectively connected to the DPI end, DP2 end, DP3 end, DP4 end of the second counter 40193, the first output end of the second dial switch S2 is also connected with the first end of a eighth resistance(R8) and the B3 end of the second comparator 4585, the second output end of the second dial switch S2 is also connected with the first end of a seventh resistance(R7) and the B2 end of the second comparator 4585, the third output end of the second dial switch S2 is also connected with the first end of a sixth resistance(Ró) and the B1 end of the second comparator 4585, the fourth output end of the second dial switch S2 is also connected with the first end of a fifth resistance(R5) and the BO end of the second comparator 4585; the second end of the fifth resistance(R5), the second end of the sixth resistance(Ró), the second end of the seventh resistance(R7) and the second end of the eighth resistance(R8) are both earthed.
Further, the counting and setting module includes a third NAND circuit and a NOR circuit, the first input end of the third NAND circuit is used as the second end of the counting and setting module, the second input end of the third NAND circuit is used as the first end of the counting and setting modul, the output end of the third NAND circuit is connected to the input end of the NOR circuit, the output end of the NOR circuit is used as the third end of the counting and setting module.
Further, a control method of a new low cost frequency dividing circuit according to the content mentioned above is : set the first threshold N by the first dial switch S1 in the first threshold input module, set the second threshold M by the second dial switch S2 in the second threshold input module, when the setting is completed, provide power to all the modules of the frequency dividing circuit, the frequency dividing input module input the signal to be divided to the CP+ end of the first counter 40193 in first counting module, the first counter 40193 counts the signal to be divided, the first comparator 4585 in first comparing module recieves the first counting output from the output end of the first counter 40193, then compare the first counting output with the the first threshold N, the CO end of the first counter 40193 gives a pulse when the first counting output is equal to the first threshold N; the first counter 40193 transmits the pulse to the CP+ end of the second counter 40193, the second counter 40193 counts the pulse; the second comparator 4585 in second comparing module recieves the second counting output from the output end of the second counter 40193, then compare the second counting output with the the second threshold M, the (A>B) OUT end of the second comparator 4585 gives frequency pulse signal when the second counting output is equal to the second threshold M, in order to achieve the M*16+N frequency division of the signal to be divided; transmit the frequency pulse signal to the R end of the first counter 40193 and the R end of the second counter 40193 by the counting and setting module for resetting and restart counting, where N or M is a positive integer greater than or equal to 1.
Compared with the prior art, the invention has the following advantages: The invention relates to a new low cost frequency dividing circuit and its control method, which can divide the frequency in any integer multiple, and which is not limited to the existing frequency dividing circuit that can only divide the frequency in 2 times. The invention can achieve frequency division by setting two thresholds and combining the output and input characteristics of comparator and counter. The invention can set frequency division multiple with any integer simply and efficiently only by changing the dial switch without any hardware circuit modification. The invention greatly reduce the cost not using any programmable logic devices or micro control processor.
Brief description of the drawings
Figure 1 shows the circuit diagram of the frequency division circuit used in the conventional technology.
Figure 2 shows the circuit principle diagrama of the new low cost frequency dividing circuit in this invention.
Figure 3 shows the schematic diagram of circuit connection of the new low cost frequency dividing circuit in this invention.
Detailed Description of the invention
To allow the above features and advantages of this invention become more fully understood, especially cite the example below, and with the accompanying drawings, described in detail below, but the invention is not limited to this.
Example 1: As shown in figure 2, a new low cost frequency dividing circuit, including a frequency dividing input module, the first end of the frequency dividing input module is connected to the first end of a first counting module, the second end of the first counting module is connected to the first end of a first threshold input module, the third end of the first counting module is connected to the fisrt end of a first comparing module, the fourth end of the first counting module is connected to the first end of a second counting module, the second end of the first threshold input module is connected to the second end of the first comparing module, the second end of the second counting module is connected to the first end of a second threshold input module, the third end of the second counting module is connected to the first end of a second comparing module, the second end of the second threshold input module is connected to the second end of the second comparing module, the third end of the second comparing module is connected to the third end of the first comparing module, the fourth end of the second comparing module is used as the output end of the new low cost frequency dividing circuit and is connected to the first end of a counting and setting module, the second end of the counting and setting module is connected to the second end of the frequency dividing input module, the third end of the counting and setting module is connected to the fifth end of the first counting module and the fourth end of the second counting module.
In this example, the frequency dividing input module includes a first NAND circuit U1 and a second NAND circuit U2 , the first input end of the first NAND circuit U1 is used to input reduced pulse signal, the first input end of the second NAND circuit U2 is used to input plus pulse signal, the second input end of the first NAND circuit U1 is connected to the second input end of the second NAND circuit U2, which is used as the second end of the frequency dividing input module, the output end of the first NAND circuit UI and the output end of the second NAND circuit U2 is both connected to the first counting module.
In this example, as shown in figure 3 ,the first counting module includes a first counter 40193, the CP+ end(pin 5) of the first counter 40193 is connected with the output end of the second NAND circuit U2, the CP- end(pin 4) of the first counter 40193 is connected with the output end of the first NAND circuit Ul, the R end(pin 14) of the first counter 40193 is used as the fifth end of the first counting module, which is connected to the output end of the NOR circuit in counting and setting module.
In this example, the first comparing module includes a first comparator 4585; the AO end(pin 10), A1 end(pin 7), A2 end(pin 2) and A3 end(pin 15) of the first comparator 4585 are respectively connected to the Q1 end(pin 3), Q2 end(pin 2), Q3 end(pin 6), Q4(pin 7) end of the first counter 40193; the (A>B)IN end(pin 4) and the (A=B)IN end(pin 6) of the first comparator 4585 is connected with high level, the (A<B)IN end(pin 5) of the first comparator 4585 is earthed.
In this example, the first threshold input module includes a first dial switch Sl( which is a 4 digit dialing switch), the first input end to the fourth input end of the first dial switch S1 are both connected with high level, the first output end to the fourth output end of the first dial switch SI are respectively connected to the DPI end(pin 15), DP2 end(pin 1), DP3 end(pin 10), DP4 end(pin 9) of the first counter 40193, the first output end of the first dial switch SI is also connected with the first end of a fourth resistance(R4) and the B3 end(pin 14) of the first comparator 4585, the second output end of the first dial switch SI is also connected with the first end of a third resistance(R3) and the B2 end(pin 1) of the first comparator 4585, the third output end of the first dial switch SI is also connected with the first end of a second resistance(R2) and the B1 end(pin 9) of the first comparator 4585, the fourth output end of the first dial switch SI is also connected with the first end of a first resistance(Rl) and the B0 end(pin 11) of the first comparator 4585; the second end of the first resistance(Rl), the second end of the second resistance(R2), the second end of the third resistance(R3) and the second end of the fourth resistance(R4) are both earthed.
In this example, as shown in figure 3,the second counting module includes a second counter 40193, the CP+ end(pin 12) of the second counter 40193 is connected to the CO end(pin 12) of the first counter 40193, the CP- end(pin 4) of the second counter 40193 is connected to the BO end(pin 13) of the first counter 40193, the R end(pin 14) of the second counter 40193 is used as the fourth end of the second counting module, the CO end(pin 12) of the second counter 40193 is connected to the PE end(pin 11) of the first counter 40193 and the PE end(pin 11) of the second counter 40193 .
In this example, the second comparing module includes a second comparator 4585; the A0 end(pin 10) , A1 end(pin 7), A2 end(pin 2) and A3 end(pin 1) of the second comparator 4585 are respectively connected to the Q1 end(pin 3), Q2 end(pin 2), Q3 end(pin 6), Q4 end(pin 7) of the second counter 40193; the (A>B)IN end(pin 4) of the second comparator 4585 is connected with high level(5V), the (A=B)IN end(pin 6) of the second comparator 4585 is connected to the (A=B)OUT end(pin 3) of the first comparator 4585, the (A<B)IN end(pin 6) of the second comparator 4585 is connected to (A<B)OUT end(pin 12) of the first comparator 4585, the (A>B)OUT end(pin 13) of the second comparator 4585 is used as fourth end of the second comparing module.
In this example, as shown in figure 3,the second threshold input module includes a second dial switch S2(which is a 4 digit dialing switch), the first input end to the fourth input end of the second dial switch S2 are both connected with high level, the first output end to the fourth output end of the second dial switch S2 are respectively connected to the DPI end(pin 15), DP2 end(pin 1), DP3 end(pin 10), DP4 end(pin 9) of the second counter 40193, the first output end of the second dial switch S2 is also connected with the first end of a eighth resistance(R8) and the B3 end(pin 14) of the second comparator 4585, the second output end of the second dial switch S2 is also connected with the first end of a seventh resistance(R7) and the B2 end(pin 1) of the second comparator 4585, the third output end of the second dial switch S2 is also connected with the first end of a sixth resistance(Ró) and the B1 end(pin 9) of the second comparator 4585, the fourth output end of the second dial switch S2 is also connected with the first end of a fifth resistance(R5) and the B0 end(pin 11) of the second comparator 4585; the second end of the fifth resistance(R5), the second end of the sixth resistance(R6), the second end of the seventh resistance(R7) and the second end of the eighth resistance(R8) are both earthed.
In this example, as shown in figure 3,the counting and setting module includes a third NAND circuit U4 and a NOR circuit U3, the first input end of the third NAND circuit U4 is used as the second end of the counting and setting module(which is connected to the second input end of the first NAND circuit U1 and the second input end of the second NAND circuit U2), the second input end of the third NAND circuit is used as the first end of the counting and setting modul(which is connected to the (A>B)OUT end of the second comparator 4585), the output end of the third NAND circuit U4 is connected to the input end of the NOR circuit U3, the output end of the NOR circuit U4 is used as the third end of the counting and setting module(which is connected to the R end of the first counter 40193 and the R end of the second counter 40193).
In order to let the technical personnel in the field to fully understand the invention of a new low cost frequency dividing circuit, following are the control method combined with the specific instructions. A control method of a new low cost frequency dividing circuit according to the content mentioned above is : set the first threshold N by the first dial switch SI in the first threshold input module, set the second threshold M by the second dial switch S2 in the second threshold input module, when the setting is completed, provide power to all the modules of the frequency dividing circuit, the frequency dividing input module input the signal to be divided to the CP+ end of the first counter 40193 in first counting module, the first counter 40193 counts the signal to be divided, the first comparator 4585 in first comparing module recieves the first counting output from the output end of the first counter 40193(the Q1 end to Q4 end of the first counter 40193), then compare the first counting output with the the first threshold N, the CO end of the first counter 40193 gives a pulse when the first counting output is equal to the first threshold N; the first counter 40193 transmits the pulse to the CP+ end of the second counter 40193, the second counter 40193 counts the pulse; the second comparator 4585 in second comparing module recieves the second counting output from the output end of the second counter 40193(the Q1 end to Q4 end of the second counter 40193), then compare the second counting output with the the second threshold M, the (A>B) OUT end of the second comparator 4585 gives frequency pulse signal when the second counting output is equal to the second threshold M, in order to achieve the M*16+N frequency division of the signal to be divided; transmit the frequency pulse signal to the R end of the first counter 40193 and the R end of the second counter 40193 by the counting and setting module for resetting and restart counting, where N or M is a positive integer greater than or equal to 1.
In this example, the first comparator 4585 and the second comparator 4585 are both 4 bit binary comparator. Input P to pin 10, pin 7, pin 2, pin 2 and pin 15, input Q to pin 11, pin 9, pin 1, pin 14, compare P with Q, if P>Q, pin 13 output high level; if P=Q, pin 3 output high level; if P<Q, pin 12 output high level.
In this example, the first counter 40193 and the second counter 40193 are both 4 bit binary reversible counter. The counter plus 1 when pin 5 is at the rising edge, the counter minus 1 when pin 4 is at the rising edge. The counter can not work while the pin 4 and the pin 5 are both at the rising edge at the same time. The first counter 40193 and the second counter 40193 can both output counting value through pin 3, pin 2, pin 6 and pin 7.
The invention described above is only a preferred embodiment, where the invention patent under this range equalization changes and modifications made, also belong to the scope of the invention.
In short the invention can be described as follows:
Claims (10)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510199882.3A CN104901684B (en) | 2015-04-25 | 2015-04-25 | A kind of frequency dividing circuit and its control method |
Publications (2)
Publication Number | Publication Date |
---|---|
NL2016141A true NL2016141A (en) | 2017-01-20 |
NL2016141B1 NL2016141B1 (en) | 2017-05-29 |
Family
ID=54034105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
NL2016141A NL2016141B1 (en) | 2015-04-25 | 2016-01-22 | A new low cost frequency dividing circuit and its control method. |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104901684B (en) |
NL (1) | NL2016141B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861597A (en) * | 2017-11-30 | 2018-03-30 | 无锡中微爱芯电子有限公司 | A kind of Anti-interference Design method being applied in MCU reset systems |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2451271A1 (en) * | 1974-10-29 | 1976-05-06 | Licentia Gmbh | Pulse value convertor for electricity meters - pulses corresponding to mains voltage and load current converted through matching elements |
GB2235556A (en) * | 1989-06-29 | 1991-03-06 | Birt Electronic Systems Ltd | Binary counting circuit |
EP0480681A1 (en) * | 1990-10-09 | 1992-04-15 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor integrated circuit |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69624952T2 (en) * | 1996-01-09 | 2003-08-28 | Sanyo Electric Co | Adjustable frequency divider |
CN102102997A (en) * | 2010-12-28 | 2011-06-22 | 威海华东电源有限公司 | Random frequency division device for orthogonal serial output rotary encoder and implementation method thereof |
CN204559543U (en) * | 2015-04-25 | 2015-08-12 | 福州大学 | A kind of novel low-cost frequency dividing circuit |
-
2015
- 2015-04-25 CN CN201510199882.3A patent/CN104901684B/en not_active Expired - Fee Related
-
2016
- 2016-01-22 NL NL2016141A patent/NL2016141B1/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2451271A1 (en) * | 1974-10-29 | 1976-05-06 | Licentia Gmbh | Pulse value convertor for electricity meters - pulses corresponding to mains voltage and load current converted through matching elements |
GB2235556A (en) * | 1989-06-29 | 1991-03-06 | Birt Electronic Systems Ltd | Binary counting circuit |
EP0480681A1 (en) * | 1990-10-09 | 1992-04-15 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor integrated circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104901684A (en) | 2015-09-09 |
NL2016141B1 (en) | 2017-05-29 |
CN104901684B (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2639704B1 (en) | Modbus repeater with self-adaptive baud rate and self-adaptive baud rate system and method | |
CN101568237A (en) | Method and device for eliminating signal noise | |
CN104101866B (en) | A kind of modulation pulse system in radar system | |
CN103106168A (en) | Automatic serial port protection circuit | |
CN102147426A (en) | Broadband triggering circuit of digital oscilloscope | |
NL2016141B1 (en) | A new low cost frequency dividing circuit and its control method. | |
CN104660220A (en) | Signal generator and signal generation method for generating integer frequency pulses | |
WO2021036431A1 (en) | Data acquisition system and control method, apparatus, and device therefor, and medium | |
CN102195638A (en) | Low-delay digital clock frequency division method | |
CN110739873A (en) | Three-level wave-by-wave current limiting circuit and control method | |
CN103413169A (en) | Counter device and counting method | |
CN105141286A (en) | Digital filter filtering single clock cycle pulses and glitches | |
US8686756B2 (en) | Time-to-digital converter and digital-controlled clock generator and all-digital clock generator | |
CN105811971A (en) | Counter-based variable frequency clock source and FPGA device | |
CN104049982A (en) | Server control system and server control method | |
CN204559543U (en) | A kind of novel low-cost frequency dividing circuit | |
CN104215307A (en) | Double-timing-pulse interpolation counter for flow standard device and realization method for same | |
US7378831B1 (en) | System and method for determining a delay time interval of components | |
US7260164B2 (en) | Efficient filtering of RxLOS signal in SerDes applications | |
RU2422984C2 (en) | Pulse shaper | |
CN106933766B (en) | bus control implementation method | |
CN110442272A (en) | A kind of driving circuit of infrared signal, processing circuit and infrared touch panel | |
CN204597914U (en) | Chaos pulse-width modulation and chaos impulse position modulation circuit | |
KR100862647B1 (en) | Low pass filter using logic gate | |
CN102263561B (en) | High voltage frequency converter pulse signal encoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM | Lapsed because of non-payment of the annual fee |
Effective date: 20200201 |