CN108646851A - A kind of program-controlled triangular wave generating system - Google Patents

A kind of program-controlled triangular wave generating system Download PDF

Info

Publication number
CN108646851A
CN108646851A CN201810817405.2A CN201810817405A CN108646851A CN 108646851 A CN108646851 A CN 108646851A CN 201810817405 A CN201810817405 A CN 201810817405A CN 108646851 A CN108646851 A CN 108646851A
Authority
CN
China
Prior art keywords
controller
triangular wave
signal
reference clock
clock module
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.)
Pending
Application number
CN201810817405.2A
Other languages
Chinese (zh)
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.)
Chengdu Science And Technology Co Ltd
Original Assignee
Chengdu Science And Technology Co Ltd
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 Chengdu Science And Technology Co Ltd filed Critical Chengdu Science And Technology Co Ltd
Priority to CN201810817405.2A priority Critical patent/CN108646851A/en
Publication of CN108646851A publication Critical patent/CN108646851A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/03Digital function generators working, at least partly, by table look-up
    • G06F1/0321Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers
    • G06F1/0328Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers in which the phase increment is adjustable, e.g. by using an adder-accumulator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2101/00Indexing scheme relating to the type of digital function generated
    • G06F2101/04Trigonometric functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)

Abstract

The present invention relates to a kind of program-controlled triangular wave generating systems, including sequentially pass through trigger, controller, digital analog converter and the low-pass filter with signal output port of signal port connection, and the controller connects signal and is connected with computer end;The controller includes phase accumulator and the microcontroller being connect with its signal, reference clock module, wave memorizer.Controller of the present invention is using microcontroller as control piece, eliminate the problem of high cost that the red programmable digital device of the prior art is brought, the low cost of system is realized, and controls the frequency and amplitude of triangular wave by trigger, triangular wave generating system is enable more easily to debug;Simultaneously by the way that reference clock module and phase accumulator is arranged, adds up to waveform, improve the stability of waveform.

Description

Program-controlled triangular wave generating system
Technical Field
The invention relates to a triangular wave generating system, belongs to the technical field of electronic signal equipment, and particularly relates to a program-controlled triangular wave generating system.
Background
Triangular Wave (also called sawtooth Wave) is a waveform mainly used in a scanning circuit of a CRT display device.
Triangular waves are widely used in impact resistant designs, radar ranging, and other electronic devices. The existing triangular wave generating circuit for generating triangular waves is a small system which is built by analog and digital devices. For analog systems, the adopted devices are numerous and complicated, so that the debugging setting is inconvenient in use, and the waveform of a triangular wave is easy to be unstable; for digital systems, programmable digital devices are used, which results in high cost, and in addition, a communication circuit is required to be added separately in the use process, which results in inconvenient use.
In patent No. 201510975561.8, entitled "triangle wave generator and triangle wave generating system", a triangle wave generating system is disclosed, which includes a detecting module, a control module, and a triangle wave generator recorded therein, and is used as a master triangle wave generator and a slave triangle wave generator, which solves the phase error and improves the stability of the system, but the generator has a complex structure, is very inconvenient to use and debug, and cannot achieve the purposes of low cost and convenient use. And in patent No. 201521029046.2, the title is "triangular wave generating system", disclose a triangular wave generating system, it includes comparator, inverter, integrator, adder and MCU, MCU connects five digital potentiometers, this patent can program accurate control triangular wave cycle and amplitude through MCU above-mentioned design, make frequency modulation frequency deviation and modulation cycle can make the independent modulation of the flexibility convenient, thus get the triangular wave of the high accuracy, but the output wave of this system is not stable enough, and because of having added too many electrical parts, make its structure complicated, MCU programming operation and use are also very inconvenient.
Disclosure of Invention
Based on the technical problems, the invention provides a program-controlled triangular wave generating system, thereby solving the technical problems of complex structure, inconvenient debugging and use, high cost and unstable traveling waveform of the triangular wave generating system in the prior art.
The technical scheme adopted by the invention is as follows:
a program-controlled triangular wave generating system comprises a trigger, a controller, a digital-to-analog converter and a low-pass filter with a signal output port, wherein the trigger, the controller, the digital-to-analog converter and the low-pass filter are sequentially connected through a signal port;
wherein,
the controller comprises a phase accumulator, a single chip microcomputer, a reference clock module and a waveform memory, wherein the single chip microcomputer, the reference clock module and the waveform memory are in signal connection with the phase accumulator.
Based on the system, the phase accumulator further comprises an N-bit accumulator and an N-bit register, wherein the N-bit accumulator and the N-bit register are in signal connection with each other, the N-bit accumulator is connected with the single chip microcomputer and the reference clock module, and the N-bit register is connected with the waveform memory.
Based on the system, the controller is provided with a USB interface and is connected with the computer end through the USB interface.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
the controller of the invention adopts the single chip microcomputer as a control element, thus avoiding the problem of high cost caused by a red programmable digital device in the prior art, realizing low cost of the system, and controlling the frequency and amplitude of the triangular wave through the trigger, so that the triangular wave generating system can be more conveniently debugged; meanwhile, the waveform is accumulated by arranging the reference clock module and the phase accumulator, so that the stability of the waveform is improved.
Drawings
FIG. 1 is a block diagram of the present invention;
fig. 2 is a block diagram of the controller according to the present invention.
Detailed Description
All features disclosed in this specification may be combined in any combination, except features and/or steps that are mutually exclusive.
The present invention will be described in detail with reference to examples.
As shown in fig. 1 and 2, a program-controlled triangle wave generating system includes a trigger, a controller, a digital-to-analog converter and a low-pass filter with a signal output port, which are connected in sequence through a signal port, wherein the controller is connected with a computer end through a signal; the controller comprises a phase accumulator, a singlechip, a reference clock module and a waveform memory, wherein the singlechip, the reference clock module and the waveform memory are in signal connection with the phase accumulator; the phase accumulator also comprises an N-bit accumulator and an N-bit register which are in signal connection with each other, the N-bit accumulator is connected with the single chip microcomputer and the reference clock module, and the N-bit register is connected with the waveform memory; the controller is provided with a USB interface and is connected with the computer end through the USB interface.
Based on the technical scheme, the embodiment transmits a voltage signal into the controller through the trigger or transmits the voltage signal into the controller through the computer end, the single chip microcomputer and the reference clock module drive the phase accumulator to work, the N-bit accumulator in the phase accumulator accumulates the value output by the single chip microcomputer according to the signals sent by the single chip microcomputer and the reference clock module and inputs the added result into the N-bit register, the N-bit register transmits the data generated when the reference clock module acts to the waveform memory, the value sent by the single chip microcomputer can be accumulated continuously under the action of the reference clock module, meanwhile, the data output by the phase accumulator is stored as an address in the waveform memory, and the conversion from the phase to the amplitude of the device can be completed by searching the amplitude table corresponding to the address, because the frequency of the triangular wave is determined by the single chip microcomputer and the reference clock module, therefore, the frequency or waveform of the triangular wave has extremely high stability.
The embodiment is connected with the computer end through the USB interface, so that the cost of generating and controlling the triangular wave is reduced.
In this embodiment, the user can set the frequency and amplitude of the output triangular wave through the computer end, so that the frequency and amplitude of the system can be automatically output, and the trigger can also send out the trigger signal to control the frequency and amplitude of the triangular wave, so that the system has the characteristics of convenience in debugging and use.
The above description is an embodiment of the present invention. The present invention is not limited to the above embodiments, and any structural changes made under the teaching of the present invention shall fall within the protection scope of the present invention, which is similar or similar to the technical solutions of the present invention.

Claims (3)

1. A program-controlled triangular wave generating system is characterized in that: the digital-to-analog converter comprises a trigger, a controller, a digital-to-analog converter and a low-pass filter with a signal output port, which are sequentially connected through a signal port, wherein the controller is connected with a computer end through a signal;
the controller comprises a phase accumulator, a single chip microcomputer, a reference clock module and a waveform memory, wherein the single chip microcomputer, the reference clock module and the waveform memory are in signal connection with the phase accumulator.
2. The programmable triangle wave generation system of claim 1, wherein: the phase accumulator further comprises an N-bit accumulator and an N-bit register, wherein the N-bit accumulator and the N-bit register are in signal connection with each other, the N-bit accumulator is connected with the single chip microcomputer and the reference clock module, and the N-bit register is connected with the waveform memory.
3. The programmable triangle wave generation system of claim 1, wherein: the controller is provided with a USB interface and is connected with the computer end through the USB interface.
CN201810817405.2A 2018-07-24 2018-07-24 A kind of program-controlled triangular wave generating system Pending CN108646851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810817405.2A CN108646851A (en) 2018-07-24 2018-07-24 A kind of program-controlled triangular wave generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810817405.2A CN108646851A (en) 2018-07-24 2018-07-24 A kind of program-controlled triangular wave generating system

Publications (1)

Publication Number Publication Date
CN108646851A true CN108646851A (en) 2018-10-12

Family

ID=63760051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810817405.2A Pending CN108646851A (en) 2018-07-24 2018-07-24 A kind of program-controlled triangular wave generating system

Country Status (1)

Country Link
CN (1) CN108646851A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115664388A (en) * 2022-12-26 2023-01-31 成都信息工程大学 Triangular wave generating circuit for delta-sigma fractional frequency division phase-locked loop
WO2024140240A1 (en) * 2022-12-30 2024-07-04 本源量子计算科技(合肥)股份有限公司 Signal generation device, quantum control system, and quantum computer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867366A (en) * 2010-07-02 2010-10-20 北京联合大学生物化学工程学院 Triangular wave generator with variable frequency and amplitude
CN201726375U (en) * 2010-06-29 2011-01-26 重庆医科大学 Open type multifunctional medical signal generator based on LPC2144 (Linear Predictive Code)
CN201892695U (en) * 2010-12-08 2011-07-06 荣信电力电子股份有限公司 Multifunctional signal generator
CN205121246U (en) * 2015-09-21 2016-03-30 北京航天光华电子技术有限公司 FPGA -based DDS signal generator
US20160099719A1 (en) * 2014-10-03 2016-04-07 Ricoh Company, Ltd. Spread spectrum clock generator, electronic apparatus, and spread spectrum clock generation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201726375U (en) * 2010-06-29 2011-01-26 重庆医科大学 Open type multifunctional medical signal generator based on LPC2144 (Linear Predictive Code)
CN101867366A (en) * 2010-07-02 2010-10-20 北京联合大学生物化学工程学院 Triangular wave generator with variable frequency and amplitude
CN201892695U (en) * 2010-12-08 2011-07-06 荣信电力电子股份有限公司 Multifunctional signal generator
US20160099719A1 (en) * 2014-10-03 2016-04-07 Ricoh Company, Ltd. Spread spectrum clock generator, electronic apparatus, and spread spectrum clock generation method
CN205121246U (en) * 2015-09-21 2016-03-30 北京航天光华电子技术有限公司 FPGA -based DDS signal generator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115664388A (en) * 2022-12-26 2023-01-31 成都信息工程大学 Triangular wave generating circuit for delta-sigma fractional frequency division phase-locked loop
CN115664388B (en) * 2022-12-26 2023-03-28 成都信息工程大学 Triangular wave generating circuit for delta-sigma fractional frequency division phase-locked loop
WO2024140240A1 (en) * 2022-12-30 2024-07-04 本源量子计算科技(合肥)股份有限公司 Signal generation device, quantum control system, and quantum computer

Similar Documents

Publication Publication Date Title
CN108646851A (en) A kind of program-controlled triangular wave generating system
CN202041811U (en) Direct digital synthesizer (DDS) signal source based on control of signal chip microcomputer
CN109307806A (en) A kind of standard signal source of high accuracy
CN113092827A (en) Electronic component testing system and method based on virtual instrument
CN208569449U (en) A kind of program-controlled triangular wave generating system
CN105281714B (en) A kind of square-wave device and method of editable symbol
CN203014744U (en) Arbitrary signal generator based on AD9951 chip and FPGA
CN105203020A (en) Rotary transformer demodulation device for excitation synchronization
CN204408295U (en) A kind of DDS waveform generator
CN103684263A (en) Method for realizing simple chaotic signal generator based on single-chip microcomputer
CN105511353A (en) Low-frequency signal generator and signal debugging method
CN105242062B (en) Fan rotation-speed detection device
CN214470981U (en) Angle and position calibrating device for handheld angular displacement sensor
CN205121471U (en) Computer power control system
CN105281715A (en) Power-frequency synchronization depth storage ns-grade pulse multi-parameter generation system
CN115541961A (en) Multi-path positive and negative pulse current synchronous sampling circuit
CN104135183B (en) Two-channel output pulse generator for high-voltage pulse power supply
CN205142160U (en) Synchronous degree of depth storage ns level pulse many reference amounts generator of power frequency
CN107979341A (en) A kind of sine wave signal generating means based on inversion transformation technique
CN205566267U (en) Voltage pulse width converting circuit
CN208705882U (en) A kind of novel quartz flexibility acceleration sensor data collecting card
CN206096207U (en) Arbitrary wave generator of DDS
CN207650289U (en) A kind of three-phase intelligent Digital-typed Generator electric parameters transducer
CN101984558A (en) High-performance saw-tooth wave generating circuit controlled by digital circuit and method thereof
CN207689578U (en) Testing integrated device occurs for pulse signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181012

RJ01 Rejection of invention patent application after publication