CN205426979U - Function signal generator based on analog switch conditioning signal duty cycle - Google Patents

Function signal generator based on analog switch conditioning signal duty cycle Download PDF

Info

Publication number
CN205426979U
CN205426979U CN201620208316.4U CN201620208316U CN205426979U CN 205426979 U CN205426979 U CN 205426979U CN 201620208316 U CN201620208316 U CN 201620208316U CN 205426979 U CN205426979 U CN 205426979U
Authority
CN
China
Prior art keywords
resistance
electronic switch
electrical nodes
input
chip
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 - Fee Related
Application number
CN201620208316.4U
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.)
Chongqing College of Electronic Engineering
Original Assignee
Chongqing College of Electronic Engineering
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 Chongqing College of Electronic Engineering filed Critical Chongqing College of Electronic Engineering
Priority to CN201620208316.4U priority Critical patent/CN205426979U/en
Application granted granted Critical
Publication of CN205426979U publication Critical patent/CN205426979U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The utility model discloses a function signal generator based on analog switch conditioning signal duty cycle, including singlechip, simulation electronic switch and MAX038 chip, the MAX038 chip has waveform selection end, the 2nd waveform selection end, duty cycle adjusted end and signal output part, simulation electronic switch's an input -output ports I01 is connected with electric node A, simulation electronic switch's the 2nd input -output ports I02 is connected with electric node B, simulation electronic switch's the 3rd input -output ports I03 is connected with electric node C, simulation electronic switch's fourth input -output ports I04 is connected with electric node D, simulation electronic switch's common port COM is connected with the duty cycle adjusted end of MAX038 chip, simulation electronic switch's numerical control gating end is connected with the delivery outlet of singlechip. The utility model has the advantages of signal dutyfactor selects in a flexible way, can produce the signal that has various duty cycles.

Description

A kind of function signal generator based on analog switch regulation signal dutyfactor
Technical field
This utility model relates to a kind of function signal generator, a kind of function signal generator realizing output signal duty cycle adjustment based on simulant electronic switch, belongs to signal and occurs and control technical field.
Background technology
Function signal generator system can produce some specific periodically time function waveform (common are sine wave, square wave, triangular wave, sawtooth waveforms and impulse wave etc.) signal, frequency range can have a wide range of applications in electronic surveying field from micro-hertz of level to up to a hundred megahertzs.
Function signal generator chip is the common core component realizing function signal generator, such as L8038, the devices such as BA205 are applied the most widely, but their function is less, and precision is the highest, and upper frequency limit only has 3000KHz, the signal of higher frequency cannot be produced, socket mode also underaction, frequency and dutycycle can not independent regulation, the two influences each other.
nullThe MAX038 chip that Maxim company of the U.S. produces the most more is applied,This chip design function signal generator is used not only to design simply,The various waveshape signals of same frequency signal can be generated,And Multi-waveshape signal generator can be constituted with minimum outer member,But the usual dutycycle of function signal generator using AX038 chip to realize in prior art is fixed as 50%,Or need to realize manually regulation by multiple gear on-offs: No. 7 pins of MAX038 chip are that dutycycle adjusts end,Adjust this port voltage,Output waveform dutycycle 15%~85% can be realized adjust,Prior art is realized the selection (being controlled the break-make of certain electrical nodes with specific voltage and No. 7 pins of MAX038 chip by a toggle switch) of No. 7 pin voltage of MAX038 chip typically by multiple toggle switch,One corresponding electrical nodes with specific voltage of toggle switch,Obviously this can cause circuit complicated,And owing to too many gear on-off can not be arranged,Therefore signal dutyfactor selects limited,The signal with various dutycycle can not be produced.
Utility model content
For deficiencies of the prior art, the purpose of this utility model is how to provide a kind of signal dutyfactor to select flexibly, to produce the function signal generator with various duty cycle signals.
To achieve these goals, this utility model have employed following technical scheme.
A kind of function signal generator based on analog switch regulation signal dutyfactor, it is characterised in that: include single-chip microcomputer, simulant electronic switch and MAX038 chip;
Described MAX038 chip has first waveform and selects end, the second waveform selection end, dutycycle to adjust end and signal output part;
One end of first resistance R1 is connected with power supply VCC, and the other end of the first resistance R1 and one end of the second resistance R2 are connected, and connects electrical nodes and is designated as electrical nodes A, the other end ground connection of the second resistance R2;
One end of 3rd resistance R3 is connected with power supply VCC, and the other end of the 3rd resistance R3 and one end of the 4th resistance R4 are connected, and connects electrical nodes and is designated as electrical nodes B, the other end ground connection of the 4th resistance R4;
One end of 5th resistance R5 is connected with power supply VCC, and the other end of the 5th resistance R5 and one end of the 6th resistance R6 are connected, and connects electrical nodes and is designated as electrical nodes C, the other end ground connection of the 6th resistance R6;
One end of 7th resistance R7 is connected with power supply VCC, and the other end of the 7th resistance R7 and one end of the 8th resistance R8 are connected, and connects electrical nodes and is designated as electrical nodes D, the other end ground connection of the 8th resistance R8;
First input/output port I01 of simulant electronic switch is connected with electrical nodes A;Second input/output port I02 of simulant electronic switch is connected with electrical nodes B;3rd input/output port I03 of simulant electronic switch is connected with electrical nodes C;4th input/output port I04 of simulant electronic switch is connected with electrical nodes D;
The dutycycle of common port COM and the MAX038 chip of simulant electronic switch adjusts end and is connected;The numerical control gating end of simulant electronic switch is connected with the delivery outlet of single-chip microcomputer.
Further, the described signal output part of MAX038 chip is connected with the input of filtering and amplifying circuit.
Further, the first waveform of described MAX038 chip selects end and the second waveform selection end to be all connected with the outfan of single-chip microcomputer.
Compared to existing technology, this utility model has the advantage that
nullIn this utility model, one end of the first resistance R1 is connected with power supply VCC,The other end of the first resistance R1 and one end of the second resistance R2 are connected,Connect electrical nodes and be designated as electrical nodes A,The other end ground connection of the second resistance R2,Therefore electrical nodes A current potential is determined by the ratio of the resistance value between the first resistance R1 and the second resistance R2,The potential value of similar electrical nodes B to electrical nodes D also can be determined,Simulant electronic switch then can be by electrical nodes A under the control of the gating signal of single-chip microcomputer output、Electrical nodes B、Arbitrary electrical nodes of electrical nodes C and electrical nodes D connects with the common port of simulant electronic switch,Thus the voltage that the dutycycle of MAX038 chip adjusts end can be adjusted,The voltage swing of the dutycycle adjustment end of MAX038 chip directly determines the dutycycle of this utility model output signal,In sum,This utility model sends gating signal by single-chip microcomputer can realize the control to function signal generator output signal dutycycle to the numerical control gating end of simulant electronic switch,Compared with the present situation being selected different MAX038 chip duty cycle adjustment terminal voltages in prior art by gear on-off,This utility model has signal dutyfactor and selects flexibly,The advantage with various duty cycle signals can be produced.
Accompanying drawing explanation
Fig. 1 is circuit structure diagram of the present utility model;
Detailed description of the invention
With detailed description of the invention, this utility model is described in further detail below in conjunction with the accompanying drawings.
As it is shown in figure 1, a kind of function signal generator based on analog switch regulation signal dutyfactor, including single-chip microcomputer, simulant electronic switch and MAX038 chip;
MAX038 chip can critically produce triangular wave, sawtooth waveforms, square wave (containing square wave), sine wave signal.It is mainly characterized by: frequency range, from 0.1Hz~20MHz, reaches as high as 40MHz, and the output amplitude of various waveforms is 2V (peak-to-peak value);Duty cycle adjustment wide ranges, dutycycle and frequency all can individually regulate, and the two is independent of each other, and largest duty cycle range of accommodation is 15%~85%;Wave distortion is little, and the sinusoidal wave distortion factor is less than 0.75%, and duty cycle adjustment non-linear hour degree is less than 2%;Employing ± 5V dual power supply, it is allowed to have 5% excursion, source current is 80mA, and typical case's power consumption 400mW, operating temperature range is 0~70 DEG C.
MAX038 chip has first waveform and selects end, the second waveform selection end, dutycycle to adjust end and signal output part;Wherein, No. 7 pins of MAX038 chip are that dutycycle adjusts end, adjust this port voltage, can realize output waveform dutycycle 15%~85% and adjust, and when this port voltage is 0, output waveform dutycycle is 50%.
Simulant electronic switch uses CD4051 chip.CD4051 is single 8 digital control simulant electronic switches of passage, has tri-binary system numerical control gating ends of A, B and C, and CD4051 has low conduction impedance and the lowest cut-off leakage current.Amplitude be 4.5~20V digital signal can control the passage that peak-to-peak value to the analogue signal triad signal of 20V can gate in 8 passages, connect this input to common port.
Single-chip microcomputer uses common single-chip microcomputer.
Physical circuit annexation is:
One end of first resistance R1 is connected with power supply VCC, and the other end of the first resistance R1 and one end of the second resistance R2 are connected, and connects electrical nodes and is designated as electrical nodes A, the other end ground connection of the second resistance R2;
One end of 3rd resistance R3 is connected with power supply VCC, and the other end of the 3rd resistance R3 and one end of the 4th resistance R4 are connected, and connects electrical nodes and is designated as electrical nodes B, the other end ground connection of the 4th resistance R4;
One end of 5th resistance R5 is connected with power supply VCC, and the other end of the 5th resistance R5 and one end of the 6th resistance R6 are connected, and connects electrical nodes and is designated as electrical nodes C, the other end ground connection of the 6th resistance R6;
One end of 7th resistance R7 is connected with power supply VCC, and the other end of the 7th resistance R7 and one end of the 8th resistance R8 are connected, and connects electrical nodes and is designated as electrical nodes D, the other end ground connection of the 8th resistance R8;
First input/output port I01 of simulant electronic switch is connected with electrical nodes A;Second input/output port I02 of simulant electronic switch is connected with electrical nodes B;3rd input/output port I03 of simulant electronic switch is connected with electrical nodes C;4th input/output port I04 of simulant electronic switch is connected with electrical nodes D;
The dutycycle of common port COM and the MAX038 chip of simulant electronic switch adjusts end and is connected;The numerical control gating end of simulant electronic switch is connected with the delivery outlet of single-chip microcomputer.
Owing to the peak-to-peak amplitude of the various output waveforms of MAX038 is 2V, in order to be suitable for different application occasion, adding one-level filtering and amplifying circuit for it, the signal output part of MAX038 chip is connected with the input of filtering and amplifying circuit.
Selecting to realize various output waveform, the first waveform of MAX038 chip selects end and the second waveform selection end to be all connected with the outfan of single-chip microcomputer.
Utility model works principle is as follows:
Single-chip microcomputer gates end (tri-binary system numerical control gating ends of A, B and C) transmission gating signal by its delivery outlet to the numerical control of simulant electronic switch can choose the first input/output port I01, the second input/output port I02 and the 3rd input/output port I03 respectively, selected input/output port is connected to common port COM, such as when A, B and C signal are 000, first input/output port IO1 is selected, it is connected to common port COM, when A, B and C signal are 001, second input/output port IO2 is selected, is connected to common port COM.
nullOne end of first resistance R1 is connected with power supply VCC,The other end of the first resistance R1 and one end of the second resistance R2 are connected,Connect electrical nodes and be designated as electrical nodes A,The other end ground connection of the second resistance R2,Therefore electrical nodes A current potential is determined (series resistance dividing potential drop) by the ratio of the resistance value between the first resistance R1 and the second resistance R2,The potential value of similar electrical nodes B to electrical nodes D also can be determined,Simulant electronic switch then can be by electrical nodes A under the control of the gating signal of single-chip microcomputer output、Electrical nodes B、Arbitrary electrical nodes of electrical nodes C and electrical nodes D connects (principle is as previously mentioned) with the common port of simulant electronic switch,Thus the voltage that the dutycycle of MAX038 chip adjusts end can be adjusted,The voltage swing of the dutycycle adjustment end of MAX038 chip directly determines the dutycycle of this utility model output signal,To sum up,Select as long as the ratio appropriately arranged between each resistance can realize various dutycycle gear.
Certainly, as shown in Figure 1, the series resistance (such as 8 tunnel) that can also arrange more way makes optional gear more, if 8 road gears are still unsatisfactory for demand, then can arrange another sheet or multi-disc simulant electronic switch, all simulant electronic switches connected mode in circuit is the most identical.
Single-chip microcomputer can also send control parameter by the host computer being attached thereto and realize the control of simulant electronic switch, or by the next real regulating circuit output voltage adjustment of two buttons being connected with single-chip microcomputer input port, (single-chip microcomputer passes through to gate end transmission control signal to the numerical control of simulant electronic switch after receiving the level that button produces as shown in Figure 1, certainly there is a corresponding relation between button is pressed number of times and the numerical control gating end data size of simulant electronic switch, such as increase 1 by the value of a secondary data or reduce 1).The dutycycle of output signal can realize the toggle switch that digitized adjusts rather than can only rely on Non-follow control in a word.
Waveform selection the most of the present utility model can have first waveform by MAX038 chip and select the current potential of end and the second waveform selection end to realize.First waveform selects end and the second waveform selection end to be all connected with the outfan of single-chip microcomputer to realize obtaining level value, naturally it is also possible to by toggle switch control realization.
Finally illustrate is, above example is only in order to illustrate the technical solution of the utility model and unrestricted, although this utility model being described in detail with reference to preferred embodiment, it will be understood by those within the art that, the technical solution of the utility model can be modified or equivalent, without deviating from objective and the scope of technical solutions of the utility model, it all should be contained in the middle of right of the present utility model.

Claims (3)

1. a function signal generator based on analog switch regulation signal dutyfactor, it is characterised in that: include single-chip microcomputer, simulant electronic switch and MAX038 chip;
Described MAX038 chip has first waveform and selects end, the second waveform selection end, dutycycle to adjust end and signal output part;
One end of first resistance R1 is connected with power supply VCC, and the other end of the first resistance R1 and one end of the second resistance R2 are connected, and connects electrical nodes and is designated as electrical nodes A, the other end ground connection of the second resistance R2;
One end of 3rd resistance R3 is connected with power supply VCC, and the other end of the 3rd resistance R3 and one end of the 4th resistance R4 are connected, and connects electrical nodes and is designated as electrical nodes B, the other end ground connection of the 4th resistance R4;
One end of 5th resistance R5 is connected with power supply VCC, and the other end of the 5th resistance R5 and one end of the 6th resistance R6 are connected, and connects electrical nodes and is designated as electrical nodes C, the other end ground connection of the 6th resistance R6;
One end of 7th resistance R7 is connected with power supply VCC, and the other end of the 7th resistance R7 and one end of the 8th resistance R8 are connected, and connects electrical nodes and is designated as electrical nodes D, the other end ground connection of the 8th resistance R8;
First input/output port I01 of simulant electronic switch is connected with electrical nodes A;Second input/output port I02 of simulant electronic switch is connected with electrical nodes B;3rd input/output port I03 of simulant electronic switch is connected with electrical nodes C;4th input/output port I04 of simulant electronic switch is connected with electrical nodes D;
The dutycycle of common port COM and the MAX038 chip of simulant electronic switch adjusts end and is connected;The numerical control gating end of simulant electronic switch is connected with the delivery outlet of single-chip microcomputer.
A kind of function signal generator based on analog switch regulation signal dutyfactor the most according to claim 1, it is characterised in that the described signal output part of MAX038 chip is connected with the input of filtering and amplifying circuit.
3. according to a kind of based on analog switch regulation signal dutyfactor the function signal generator described in claims 1 or 2, it is characterised in that the first waveform of described MAX038 chip selects end and the second waveform selection end to be all connected with the outfan of single-chip microcomputer.
CN201620208316.4U 2016-03-09 2016-03-09 Function signal generator based on analog switch conditioning signal duty cycle Expired - Fee Related CN205426979U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620208316.4U CN205426979U (en) 2016-03-09 2016-03-09 Function signal generator based on analog switch conditioning signal duty cycle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620208316.4U CN205426979U (en) 2016-03-09 2016-03-09 Function signal generator based on analog switch conditioning signal duty cycle

Publications (1)

Publication Number Publication Date
CN205426979U true CN205426979U (en) 2016-08-03

Family

ID=56520037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620208316.4U Expired - Fee Related CN205426979U (en) 2016-03-09 2016-03-09 Function signal generator based on analog switch conditioning signal duty cycle

Country Status (1)

Country Link
CN (1) CN205426979U (en)

Similar Documents

Publication Publication Date Title
CN102917194A (en) TV and constant-current control device thereof
CN103051308B (en) Square wave and sawtooth wave generation circuit based on memristor
CN205426979U (en) Function signal generator based on analog switch conditioning signal duty cycle
CN204009924U (en) A kind of high precision absolute value circuit
CN205427529U (en) Can adjust signal source circuit of output signal parameter through host computer
CN205427531U (en) Waveform generator that output signal frequency can digitize and adjust
CN103439905A (en) IO input port expansion circuit
CN204314764U (en) Band gap voltage generative circuit
CN202586751U (en) High-precision AC/DC converter current-limiting circuit
CN204031099U (en) A kind of square-wave generator
CN102404909B (en) Device and method for generating three mode signal
CN204272077U (en) A kind of PWM turns 4-20mA signal isolation change-over circuit
CN204360862U (en) Numerical control rheostat
CN102243503A (en) Co-grounded multi-path circuit for outputting 4-20mA of current signals
CN204215202U (en) A kind of low cost, high precision 4 ~ 20mA current signal output circuit
CN208206178U (en) A kind of constant current or constant pressure sensor analog system
CN107124800B (en) A kind of PLC technology Switching Power Supply
CN102707538A (en) Drive circuit of liquid crystal lens and stereoscopic displayer
CN203054053U (en) Multifunctional electronic measuring instrument
CN102545907A (en) Digital-analogue converter
CN204515421U (en) Intelligent function waveform generator
CN104375444A (en) 4-20 mA current signal output circuit
CN104967946B (en) A kind of multi-channel audio processor
CN204316474U (en) For the pwm circuit of Switching Power Supply remote control benchmark
CN102710130A (en) High precision AC/DC (alternating current/direct current) converter current-limit circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160803

Termination date: 20170309

CF01 Termination of patent right due to non-payment of annual fee