CN208984685U - A kind of ac square wave generating device - Google Patents

A kind of ac square wave generating device Download PDF

Info

Publication number
CN208984685U
CN208984685U CN201821651703.0U CN201821651703U CN208984685U CN 208984685 U CN208984685 U CN 208984685U CN 201821651703 U CN201821651703 U CN 201821651703U CN 208984685 U CN208984685 U CN 208984685U
Authority
CN
China
Prior art keywords
frequency
converter
signal
chip microcontroller
square wave
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
Application number
CN201821651703.0U
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.)
Wuhan Astem Technology Development Co Ltd
Original Assignee
Wuhan Astem Technology Development 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 Wuhan Astem Technology Development Co Ltd filed Critical Wuhan Astem Technology Development Co Ltd
Priority to CN201821651703.0U priority Critical patent/CN208984685U/en
Application granted granted Critical
Publication of CN208984685U publication Critical patent/CN208984685U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses a kind of ac square wave generating devices.Single-chip microcontroller control D/A converter is using reference power supply as reference voltage output voltage signal, voltage signal identical, opposite polarity negative voltage signal by phase inverter generation voltage magnitude.Opposite polarity two-way voltage signal accesses analog switch simultaneously.Single-chip microcontroller controls frequency divider using frequency generator as frequency source output frequency signal.Frequency signal control analog switch switches over voltage signal, export ac square wave, so as to freely adjust the amplitude and frequency of square wave by single-chip microcontroller, the amplitude and frequency of the square wave of output have high precision and stability and positive and negative not care about one's appearance value is symmetrical and the case where be not in zero migration.

Description

A kind of ac square wave generating device
Technical field
The utility model relates to waveshape generating device technical field more particularly to a kind of ac square wave generating devices.
Background technique
In the test process of precision equipment, it is often necessary to use high-precision waveshape generating device.Prior art output Square wave be all often unipolar direct current square wave, lack ac square wave, especially positive and negative not care about one's appearance value it is symmetrical and without zero point float The ac square wave of shifting.
Therefore, it is necessary to a kind of high-precision, amplitude and frequency is controllable and positive and negative not care about one's appearance value is symmetrical and the not friendship of null offset Flow square-wave device.
Utility model content
The utility model solves the square wave of prior art output often all by providing a kind of ac square wave generating device The technical issues of being unipolar direct current square wave, lacking high-precision AC square wave, realizes ac square wave and has high-precision, amplitude Controllable and positive and negative not care about one's appearance value is symmetrical with frequency and the not no technical effect of null offset.
The utility model provides a kind of ac square wave generating device, comprising: single-chip microcontroller, reference power supply, D/A converter, Frequency divider, frequency generator, phase inverter and analog switch;The first signal output end and the D/A converter of the single-chip microcontroller Signal input part communication connection;The power output end of the power input of the D/A converter and the reference power supply is electrical Connection;The signal input part of the signal output end of the D/A converter and the phase inverter communicates to connect, the D/A converter Signal output end also with the first signal input part of the analog switch communicate to connect;The signal output end of the phase inverter with The second signal input terminal of the analog switch communicates to connect;The second signal output end of the single-chip microcontroller and the frequency divider The communication connection of first signal input part;The second signal input terminal of the signal output end of the frequency generator and the frequency divider Communication connection;The control signal input of the signal output end of the frequency divider and the analog switch communicates to connect.
Further, the single-chip microcontroller is communicated by 3 line serial line interfaces with the D/A converter.
Further, the single-chip microcontroller is communicated by serial line interface and the frequency divider.
Further, the frequency generator is temperature compensating crystal oscillator.
Further, the single-chip microcontroller is the STM32F103VCT6 of ARM company production, STM32 32 bit flash memory micro-controls of series Device processed.
Further, the D/A converter is the DAC8043 digital analog converter of TI company production.
Further, the frequency divider is programmable logic device EPM570T100C5N.
Further, the analog switch is the ADG1636 of AD company production.
Further, the reference power supply is the REF5045 reference power supply chip of TI company production.
The one or more technical solutions provided in the utility model, have at least the following technical effects or advantages:
Single-chip microcontroller controls D/A converter using reference power supply as reference voltage output voltage signal, and voltage signal passes through reverse phase Device generates that voltage magnitude is identical, opposite polarity negative voltage signal.Opposite polarity two-way voltage signal accesses simulation simultaneously and opens It closes.Single-chip microcontroller controls frequency divider using frequency generator as frequency source output frequency signal.Frequency signal controls analog switch to electricity Pressure signal switches over, and ac square wave is exported, so as to freely adjust the amplitude and frequency of square wave, the side of output by single-chip microcontroller The case where amplitude and frequency of wave have high precision and stability and positive and negative not care about one's appearance value symmetrical and are not in zero migration.
Detailed description of the invention
Fig. 1 is the structural block diagram of ac square wave generating device provided by the embodiment of the utility model.
Specific embodiment
The utility model embodiment solves the square wave of prior art output by providing a kind of ac square wave generating device All be often unipolar direct current square wave, lack high-precision AC square wave the technical issues of, realize ac square wave have it is high-precision Degree, amplitude and frequency is controllable and positive and negative not care about one's appearance value is symmetrical and the not no technical effect of null offset.
The technical scheme in the embodiment of the utility model is to solve the above problems, general thought is as follows:
Single-chip microcontroller controls D/A converter using reference power supply as reference voltage output voltage signal, and voltage signal passes through reverse phase Device generates that voltage magnitude is identical, opposite polarity negative voltage signal.Opposite polarity two-way voltage signal accesses simulation simultaneously and opens It closes.Single-chip microcontroller controls frequency divider using frequency generator as frequency source output frequency signal.Frequency signal controls analog switch to electricity Pressure signal switches over, and ac square wave is exported, so as to freely adjust the amplitude and frequency of square wave, the side of output by single-chip microcontroller The case where amplitude and frequency of wave have high precision and stability and positive and negative not care about one's appearance value symmetrical and are not in zero migration.
Above-mentioned technical proposal in order to better understand, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Referring to Fig. 1, ac square wave generating device provided by the embodiment of the utility model, comprising: single-chip microcontroller, reference power supply, D/A converter, frequency divider, frequency generator, phase inverter and analog switch;The first signal output end and D/A of single-chip microcontroller are converted The signal input part of device communicates to connect;The power input of D/A converter and the power output end of reference power supply are electrically connected;D/ The signal input part of the signal output end of A converter and phase inverter communicates to connect, the signal output end of D/A converter also with simulation The first signal input part communication connection of switch;The signal output end of phase inverter is communicated with the second signal input terminal of analog switch Connection;The second signal output end of single-chip microcontroller and the first signal input part of frequency divider communicate to connect;The signal of frequency generator The communication connection of the second signal input terminal of output end and frequency divider;The signal output end of frequency divider and the control signal of analog switch Input terminal communication connection.Wherein, single-chip microcontroller is for controlling D/A converter and frequency divider;Reference power supply is high-precision for generating Reference power supply is used for D/A converter;D/A converter is used to the digital signal exported by single-chip microcontroller being converted to positive polarity voltage Signal;Frequency generator is for generating fixed high-precision frequency signal;Frequency divider is used for the frequency dividing system provided according to single-chip microcontroller Number, exports required frequency signal after dividing to the frequency signal provided by frequency generator;Phase inverter is used for will be by D/A The positive polarity voltage signal of converter output carries out reverse phase, output negative pole voltage signal;Analog switch is used for according to by dividing The frequency signal of device output, by the positive polarity voltage signal exported by D/A converter and the reverse voltage exported by phase inverter Signal switches over, and generates ac square wave.
Specifically, single-chip microcontroller is communicated by 3 line serial line interfaces with D/A converter.Single-chip microcontroller passes through serial line interface It is communicated with frequency divider.
In the present embodiment, frequency generator is temperature compensating crystal oscillator.Single-chip microcontroller is STM32F103VCT6, STM32 series 32 Flash memory microcontroller use from ARM company Cortex-M3 kernel, the kernel be specially be designed at satisfaction collection high-performance, Low-power consumption, in real time application, with competitive price in one built-in field requirement.D/A converter is the production of TI company DAC8043 digital analog converter, the digital analog converter be 12 Bits Serial of CMOS type input multiplying digital-to-analog converter, differential nonlinearity Down to 1/2LSB, gain accuracy 1LSB, maximum temperature drift is 5ppm/ DEG C.Frequency divider is programmable logic device EPM570T100C5N, the device are the MAX II series CPLD of Altera, are programmed using VHDL hardware description language.It should CPLD has non-volatile and momentary connection characteristic, and I/O port supports 1.5V, 1.8V, 2.5V, 3.3V logic level device.Simulation Switch is the ADG1636 of AD company production, which can be used the dual power supply of maximum ± 8V.Switching frequency can reach To 1MHz, conducting resistance is only 1 Ω.Reference power supply is the low noise of TI company production, Ultra-low drift, high-precision voltage reference The output voltage of REF5045, the reference power supply chip are 4.5V, and maximum temperature drift is only 3ppm/ DEG C, and maximum output error is 0.05%.
The working principle of ac square wave generating device provided by the embodiment of the utility model is illustrated:
Single-chip microcontroller in ac square wave generating device provided by the embodiment of the utility model is control core, for manipulating D/ A converter and frequency divider export required voltage and frequency.Specifically, single-chip microcontroller is converted by 3 line serial line interfaces and D/A Device is communicated, and D/A converter is sent the data to.D/A converter is reference with reference power supply further according to the data received Value, exports analog voltage value in proportion.Single-chip microcontroller is communicated by serial line interface and numerical control frequency divider, and frequency division value is transmitted Numerical control frequency divider is given, numerical control frequency divider then divides the frequency exported by 19.2MHz temperature compensating crystal oscillator, obtains desired frequency Rate.The in-phase signal of D/A converter and the inversion signal after phase inverter are pressed the output frequency of numerical control frequency divider by analog switch Rate switches over, and obtains that amplitude and frequency have high precision and stability and positive and negative not care about one's appearance value is symmetrical and be not in zero point The ac square wave of offset.
[technical effect]
Single-chip microcontroller controls D/A converter using reference power supply as reference voltage output voltage signal, and voltage signal passes through reverse phase Device generates that voltage magnitude is identical, opposite polarity negative voltage signal.Opposite polarity two-way voltage signal accesses simulation simultaneously and opens It closes.Single-chip microcontroller controls frequency divider using frequency generator as frequency source output frequency signal.Frequency signal controls analog switch to electricity Pressure signal switches over, and ac square wave is exported, so as to freely adjust the amplitude and frequency of square wave, the side of output by single-chip microcontroller The case where amplitude and frequency of wave have high precision and stability and positive and negative not care about one's appearance value symmetrical and are not in zero migration.
Although the preferred embodiment of the utility model has been described, once a person skilled in the art knows basic Creative concept, then additional changes and modifications may be made to these embodiments.It is wrapped so the following claims are intended to be interpreted as It includes preferred embodiment and falls into all change and modification of the scope of the utility model.
Obviously, it is practical without departing from this can to carry out various modification and variations to the utility model by those skilled in the art Novel spirit and scope.If in this way, these modifications and variations of the present invention belong to the utility model claims and Within the scope of its equivalent technologies, then the utility model is also intended to include these modifications and variations.

Claims (9)

1. a kind of ac square wave generating device characterized by comprising single-chip microcontroller, reference power supply, D/A converter, frequency divider, Frequency generator, phase inverter and analog switch;The signal of the first signal output end and the D/A converter of the single-chip microcontroller is defeated Enter end communication connection;The power output end of the power input of the D/A converter and the reference power supply is electrically connected;It is described The signal input part of the signal output end of D/A converter and the phase inverter communicates to connect, the signal output of the D/A converter End is also communicated to connect with the first signal input part of the analog switch;The signal output end of the phase inverter is opened with the simulation The second signal input terminal of pass communicates to connect;The second signal output end of the single-chip microcontroller and the first signal of the frequency divider are defeated Enter end communication connection;The second signal input terminal of the signal output end of the frequency generator and the frequency divider communicates to connect; The control signal input of the signal output end of the frequency divider and the analog switch communicates to connect.
2. device as described in claim 1, which is characterized in that the single-chip microcontroller is turned by 3 line serial line interfaces and the D/A Parallel operation is communicated.
3. device as described in claim 1, which is characterized in that the single-chip microcontroller is carried out by serial line interface and the frequency divider Communication.
4. device as described in claim 1, which is characterized in that the frequency generator is temperature compensating crystal oscillator.
5. device as described in claim 1, which is characterized in that the single-chip microcontroller is the production of ARM company STM32F103VCT6, STM32 32 digit flash memory microcontrollers of series.
6. device as described in claim 1, which is characterized in that the D/A converter is the DAC8043 digital-to-analogue of TI company production Converter.
7. device as described in claim 1, which is characterized in that the frequency divider is programmable logic device EPM570T100C5N。
8. device as described in claim 1, which is characterized in that the analog switch is the ADG1636 of AD company production.
9. device as described in claim 1, which is characterized in that the reference power supply is the REF5045 benchmark of TI company production Power supply chip.
CN201821651703.0U 2018-10-10 2018-10-10 A kind of ac square wave generating device Active CN208984685U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821651703.0U CN208984685U (en) 2018-10-10 2018-10-10 A kind of ac square wave generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821651703.0U CN208984685U (en) 2018-10-10 2018-10-10 A kind of ac square wave generating device

Publications (1)

Publication Number Publication Date
CN208984685U true CN208984685U (en) 2019-06-14

Family

ID=66787138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821651703.0U Active CN208984685U (en) 2018-10-10 2018-10-10 A kind of ac square wave generating device

Country Status (1)

Country Link
CN (1) CN208984685U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110739937A (en) * 2019-10-22 2020-01-31 华中科技大学 switch type square wave generator using parallel reference voltage source

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110739937A (en) * 2019-10-22 2020-01-31 华中科技大学 switch type square wave generator using parallel reference voltage source

Similar Documents

Publication Publication Date Title
CN103166644B (en) A kind of low-power consumption gradual approaching A/D converter and conversion method thereof
CN105720955B (en) A kind of dynamic comparer with offset compensation
CN206147307U (en) Dual -speed resolver axial angle decoding circuit
CN103281082B (en) A kind of analog to digital conversion circuit based on memory resistor
CN208984685U (en) A kind of ac square wave generating device
CN206684607U (en) Pulse-generator circuit
CN202075343U (en) Three phase electric energy meter and three phase electric energy correction system
CN107017795A (en) Pulse-generator circuit and its control method
CN207337257U (en) The multichannel variable voltage source realized with digital analog converter
CN108134524A (en) A kind of programme-controlled dc power control circuit
CN108111172A (en) A kind of circuit that digital quantity is converted to resistance output
CN102357034B (en) Low-power consumption current excitation source for electrical impedance imaging
CN207502856U (en) LCTF controllers
CN204259197U (en) For the digitlization inverter controller of electromagnetic induction heating power supply
CN107656572A (en) The multichannel variable voltage source and its control method realized with digital analog converter
CN204761416U (en) AD converting circuit for test system is moved to microbit
CN204228779U (en) Liquid crystal type Three-phase multi-functional meter
CN204229154U (en) A kind of low-frequency high-current source device that can export random waveform
CN204270071U (en) A kind of any wave generator based on cpld
CN207457780U (en) A kind of pulsed programmable power supply
CN207184062U (en) Reactive-load compensation capacitor switching circuit and its complete controller of taiwan area
CN205229296U (en) Multifunctional electric power meter
CN106774626B (en) Combined type signal generation system and method
CN104391142A (en) Novel convenient signal generator
CN206557285U (en) A kind of single-phase electric energy meter with harmonic wave function of measuring

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant