CN103236826B - A kind of method that realizes low-power consumption output dtmf signal on M3 platform - Google Patents
A kind of method that realizes low-power consumption output dtmf signal on M3 platform Download PDFInfo
- Publication number
- CN103236826B CN103236826B CN201310087654.8A CN201310087654A CN103236826B CN 103236826 B CN103236826 B CN 103236826B CN 201310087654 A CN201310087654 A CN 201310087654A CN 103236826 B CN103236826 B CN 103236826B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- dtmf signal
- low
- platform
- consumption output
- 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.)
- Active
Links
Abstract
The present invention relates to a kind of method that realizes low-power consumption output dtmf signal on M3 platform, it is characterized in that: at described M3 working platform during in low-power consumption mode, system clock cycle is 8us, sets the Interruption of a scheduled time, and down trigger DAC is by DMA assigned address value; Wherein DTMF sampled value prestores in in-chip FLASH, the corresponding sampled value array of each number. The present invention overcomes existing terminal and adopts special DTMF to produce the problem that IC device is many, cost is high, not only saved Terminal Design cost, and consumed power is lower, and signal quality meets the demands, and dialing is normal, stable.
Description
Technical field
The present invention relates to dtmf signal generation technique field, particularly a kind of method that realizes low-power consumption output dtmf signal on M3 platform.
Background technology
" GBT15279-2002-automatic telephone technical conditions " require telephone set under the condition of external power supply not, still support basic telephony feature, ring, call and dialing etc. Key is how to export dtmf signal under low-power consumption condition, all adopts special DTMF to generate IC in existing terminal, and as HT9200A, although it can meet the demands substantially, device is many and cost is high.
Summary of the invention
In view of this, the object of this invention is to provide a kind of method that realizes low-power consumption output dtmf signal on M3 platform, can reduce product cost, improve the stability of system.
The present invention adopts following scheme to realize: a kind of method that realizes low-power consumption output dtmf signal on M3 platform, it is characterized in that: at described M3 working platform during in low-power consumption mode, system clock cycle is 8us, set the Interruption of a scheduled time, down trigger DAC is by DMA assigned address value; Wherein DTMF sampled value prestores in in-chip FLASH, the corresponding sampled value array of each number.
In an embodiment of the present invention, it is characterized in that: the described scheduled time is 112us or 112+Aus, the multiple that wherein A is 8.
In an embodiment of the present invention, described sampled value array has 12.
In an embodiment of the present invention, also provide a low-pass filter circuit, in order to the dtmf signal of output is carried out to filtering.
In an embodiment of the present invention, described low-pass filter circuit is Order RC circuit, and its cut-off frequency is 3kHz.
In an embodiment of the present invention, described sampled value adopts following computing formula:
SP(X)=A(X) * sin(2 π * Fh*112us*N)+B(X) * sin(2 π * Fl*112us*N); Wherein A(X) and B(X) be the amplitude weighting value of this dtmf signal height frequency signal, Fh(X) and Fl(X) be the height frequency that this dtmf signal is corresponding, N is integer.
In an embodiment of the present invention, described N is from 0 to 713 integer.
In an embodiment of the present invention, described M3 platform is to detect that button interrupts just starting key scan, otherwise operation do-nothing instruction, in described low-power consumption mode.
In an embodiment of the present invention, described M3 platform is to be applied on POS machine.
The present invention overcomes existing terminal and adopts special DTMF to produce the problem that IC device is many, cost is high, not only saved Terminal Design cost, and consumed power is lower, and signal quality meets the demands, and dialing is normal, stable.
Detailed description of the invention
The present embodiment provides a kind of method that realizes low-power consumption output dtmf signal on M3 platform, it is characterized in that: at described M3 working platform during in low-power consumption mode, system clock cycle is 8us, sets the Interruption of 112us, and down trigger DAC is by DMA assigned address value; Wherein DTMF sampled value prestores in in-chip FLASH, the corresponding sampled value array of each number.
M3 is ARMCortexTM-M3, it is 32 risc processors of a high-performance, low cost, low-power consumption, this processor works in low-power consumption mode, other modules or interface do not enable, system clock cycle 8us, the Interruption of setting 112us, is noted that, this break period can be 112+Aus, and wherein A is 8 multiple. Down trigger DAC is by DMA assigned address value, and DTMF sampled value prestores in in-chip FLASH, each number corresponding a sampled value array, totally 12 sampled value arrays. Because of the about 8.9kHz of sample frequency, output dtmf signal harmonic component is larger, needs to increase low-pass filter circuit and improve signal quality in the present embodiment. Dtmf signal duration 80ms, interval time, 120ms, did not affect under the adaptive prerequisite of dialing, reduced signal duration as far as possible, reduced power consumption, and about 2.1mA/3.3V is flowed in maximum power consumption.
Wherein, above-mentioned DTMF sampled value is for dtmf dialing, actually uses 12 DTMF codes, its respective frequencies as shown in Table 1:
Dtmf signal | 1209Hz | 1336Hz | 1447Hz |
697Hz | 1 | 2 | 3 |
770Hz | 4 | 5 | 6 |
852Hz | 7 | 8 | 9 |
941Hz | * | 0 | # |
Table one
Above-mentioned sampled value computing formula: SP(X)=A(X) * sin(Fh*t)+B(X) * sin(Fl*t), A(X) be and B(X) the amplitude weighting value of this dtmf signal height frequency signal, Fh(X) be and Fl(X) the height frequency that this dtmf signal is corresponding, N is integer. In the present embodiment, described N is from 0 to 713 integer.
For meeting the standard requirement poor to low-and high-frequency signal power, be subject to the impact of LPF simultaneously, the weighted value of each frequency signal is all different, can obtain by debugging. In the present embodiment, the sampling period is 112us, and dtmf signal continues the signal output of 80ms, and each number is preserved 714 sampled values, and each sampled point takies 2 bytes, 12 address space 17kB that number takies.
Above-mentioned low-pass filter circuit, adopts Order RC circuit in the present embodiment, the about 3kHz of its cut-off frequency can effectively reduce harmonic component.
It is worth mentioning that, the present embodiment, described M3 platform is to be applied on POS machine, it is to detect that button interrupts just starting key scan, otherwise operation do-nothing instruction, in described low-power consumption mode.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (7)
1. on M3 platform, realize the method for low-power consumption output dtmf signal for one kind, it is characterized in that: at described M3 working platform during in low-power consumption mode, system clock cycle is 8us, sets the Interruption of a scheduled time, and down trigger DAC is by DMA assigned address value; Wherein DTMF sampled value prestores in in-chip FLASH, the corresponding sampled value array of each number; Described M3 platform is to detect that button interrupts just starting key scan, otherwise operation do-nothing instruction, in described low-power consumption mode; Described M3 platform is to be applied on POS machine.
2. a kind of method that realizes low-power consumption output dtmf signal on M3 platform according to claim 1, is characterized in that: the described scheduled time is 112us or 112+Aus, the multiple that wherein A is 8.
3. a kind of method that realizes low-power consumption output dtmf signal on M3 platform according to claim 1, is characterized in that: described sampled value array has 12.
4. a kind of method that realizes low-power consumption output dtmf signal on M3 platform according to claim 1, is characterized in that: also provide a low-pass filter circuit, in order to the dtmf signal of output is carried out to filtering.
5. a kind of method that realizes low-power consumption output dtmf signal on M3 platform according to claim 4, is characterized in that: described low-pass filter circuit is Order RC circuit, and its cut-off frequency is 3kHz.
6. a kind of method that realizes low-power consumption output dtmf signal on M3 platform according to claim 1, is characterized in that: described sampled value adopts following computing formula:
SP(X)=A(X)*sin(2π*Fh(X)*112us*N)+B(X)*sin(2π*Fl(X)*112us*N);
Wherein A(X) and B(X) be the amplitude weighting value of this dtmf signal height frequency signal, Fh(X) and Fl(X) be the height frequency that this dtmf signal is corresponding, N is integer.
7. a kind of method that realizes low-power consumption output dtmf signal on M3 platform according to claim 6, is characterized in that: described N is from 0 to 713 integer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310087654.8A CN103236826B (en) | 2013-03-19 | 2013-03-19 | A kind of method that realizes low-power consumption output dtmf signal on M3 platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310087654.8A CN103236826B (en) | 2013-03-19 | 2013-03-19 | A kind of method that realizes low-power consumption output dtmf signal on M3 platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103236826A CN103236826A (en) | 2013-08-07 |
CN103236826B true CN103236826B (en) | 2016-05-25 |
Family
ID=48884849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310087654.8A Active CN103236826B (en) | 2013-03-19 | 2013-03-19 | A kind of method that realizes low-power consumption output dtmf signal on M3 platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103236826B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201773402U (en) * | 2010-07-09 | 2011-03-23 | 北京奥力劲科技有限责任公司 | Multichannel high-speed synchronous data acquisition system with PC104plus interface |
CN102209161A (en) * | 2011-05-27 | 2011-10-05 | 福建联迪商用设备有限公司 | Caller identification message decoding method of telephone POS (Point Of Sale) machine |
CN102447660A (en) * | 2011-11-08 | 2012-05-09 | 福建联迪商用设备有限公司 | Realization method of FSK communication software modulation and demodulation of telephone POS |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6850616B2 (en) * | 2001-01-22 | 2005-02-01 | Cirrus Logic, Inc. | Frequency error detection methods and systems using the same |
-
2013
- 2013-03-19 CN CN201310087654.8A patent/CN103236826B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201773402U (en) * | 2010-07-09 | 2011-03-23 | 北京奥力劲科技有限责任公司 | Multichannel high-speed synchronous data acquisition system with PC104plus interface |
CN102209161A (en) * | 2011-05-27 | 2011-10-05 | 福建联迪商用设备有限公司 | Caller identification message decoding method of telephone POS (Point Of Sale) machine |
CN102447660A (en) * | 2011-11-08 | 2012-05-09 | 福建联迪商用设备有限公司 | Realization method of FSK communication software modulation and demodulation of telephone POS |
Non-Patent Citations (1)
Title |
---|
基于arm的语音网关信号处理;胡景欣;《中国优秀硕士学位论文全文数据库》;20120215(第2期);I136-286 * |
Also Published As
Publication number | Publication date |
---|---|
CN103236826A (en) | 2013-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104701955B (en) | Wireless charging device | |
CN103236826B (en) | A kind of method that realizes low-power consumption output dtmf signal on M3 platform | |
CN104124777A (en) | Wireless electric power transmission method and system | |
CN206506712U (en) | A kind of band signal processor of police digital clustering communication system | |
CN103176841A (en) | Implementation method and device for Tick clock of real time operating system (RTOS) | |
CN103929699A (en) | Mobile communication terminal and noise removal method thereof | |
CN205430041U (en) | Panel computer power input circuit | |
CN208623545U (en) | A kind of power supply system | |
EP2463906A3 (en) | Semiconductor device | |
CN102841552A (en) | Digital board integrated chip | |
CN103001638B (en) | A kind of processing method and device eliminating the analog-digital conversion ic of power supply noise | |
CN102142701B (en) | Handheld equipment charging device adopting stereo equipment for supplying power | |
CN204498353U (en) | A kind of active audio frequency harmonic absorbing circuit | |
CN204795062U (en) | Module and receiver circuit are handled in FMAM radio reception | |
CN103780996A (en) | Circuit for eliminating noise of switching power source on acoustic AM | |
CN203326895U (en) | Pulse electroplate power source based on one-chip microcomputer | |
CN205051675U (en) | Touch -sensitive chip of super strong anti -interference ability | |
CN103997034B (en) | Twin-core direct-current filter | |
CN103680553A (en) | Power supply control circuit, power supply control device and power supply control method for audio interface equipment | |
CN204179760U (en) | The computer peripheral electronic equipment that wireless charging is powered | |
CN202872731U (en) | Frequency converter on L-band low-spurious broadband | |
CN210955053U (en) | Interface circuit for configuring I2C bus chip | |
CN202679224U (en) | Interface conversion device applied to module power supply | |
CN202009242U (en) | Hand-held device charger adopting stereo system to supply power | |
CN207490905U (en) | A kind of electric signal compression system |
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 |