CN102436772A - Voltage-frequency converter controlled by single chip computer and experimental box provided with module - Google Patents

Voltage-frequency converter controlled by single chip computer and experimental box provided with module Download PDF

Info

Publication number
CN102436772A
CN102436772A CN2011102630651A CN201110263065A CN102436772A CN 102436772 A CN102436772 A CN 102436772A CN 2011102630651 A CN2011102630651 A CN 2011102630651A CN 201110263065 A CN201110263065 A CN 201110263065A CN 102436772 A CN102436772 A CN 102436772A
Authority
CN
China
Prior art keywords
frequency converter
voltage
circuit
pin
processor controlled
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.)
Granted
Application number
CN2011102630651A
Other languages
Chinese (zh)
Other versions
CN102436772B (en
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.)
Beijing Union University
Original Assignee
Beijing Union University
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 Beijing Union University filed Critical Beijing Union University
Priority to CN 201110263065 priority Critical patent/CN102436772B/en
Publication of CN102436772A publication Critical patent/CN102436772A/en
Application granted granted Critical
Publication of CN102436772B publication Critical patent/CN102436772B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Microcomputers (AREA)
  • Networks Using Active Elements (AREA)

Abstract

The invention relates to a voltage-frequency converter controlled by a single chip computer and an experimental box provided with the module, which comprise a keyboard circuit, a display circuit, a single chip computer, a digital potentiometer, a voltage-frequency converter and a feedback circuit, wherein the keyboard circuit is provided with a start key and a stop key; the display circuit is used for displaying an input signal and an output signal and is matched with the keyboard circuit for setting the linearity and the accuracy; and preferably, according to the voltage-frequency converter, an adjustable resistor in the prior art is replaced by preferably using the digital potentiometer, the value of the digital potentiometer is regulated by the single chip computer so as to change the output frequency, the single chip computer is in charge of receiving an input signal Vi and a feedback signal of the output frequency, the output frequency is regulated by signal processing and operation, and finally, the requirement of the linearity and the requirement of the accuracy are met by the voltage-frequency converter. According to the voltage-frequency converter controlled by the single chip computer and the experimental box provided with the module, the defect of the prior art is overcome, the design is reasonable, and the circuit structure is simple, practical and reliable. The voltage-frequency converter controlled by the single chip computer and the experimental box provided with the module can also be used for designing a comprehensive experiment for laboratory teaching so as to improve the practical teaching effect.

Description

A kind of monolithic processor controlled voltage to frequency converter and the experimental box of this module is housed
Technical field
The present invention relates to a kind of voltage to frequency converter; Be specially a kind of monolithic processor controlled voltage to frequency converter; Particularly be contained in the voltage to frequency converter on the laboratory teaching experimental box, the monolithic processor controlled voltage to frequency converter that especially can match and use with other digital circuit on the laboratory teaching experimental box or analogous circuit experiment module.
Background technology
In instrument control field, some signal converters such as voltage to frequency converter can be realized through scm software at present, but the problem of bringing is that over-burden for single-chip microcomputer; Because single-chip microcomputer will be handled keypad information; Also want the procedure for displaying data, the real-time of single-chip microcomputer just is difficult to guarantee like this, also can have influence on the performance of voltage to frequency converter; Reasonable way is that voltage to frequency converter is realized by hardware, and single-chip microcomputer is handled keyboard, demonstration and out of Memory; At present colleges and universities electric, electrical type is professional, early stage, course had electronic technology, the student has voltage to arrive the experiment of frequency inverted; There is the single-chip microcomputer course in later stage, if can design synthesis experiment, make early stage course and the later stage course good linking is arranged; Make students can learn the knowledge that current knowledge can be consolidated the front again well like this, can also further improve the practical teaching effect simultaneously, lab construction was flourish in recent years; Although experimental facilities is various in style, there is not correlativity each other, independently of one another each other; Such as the controlled device of single-chip microcomputer curriculum experiment equipment digital circuit normally, and voltage to frequency converter is the experiment that the Analog Electronics Technique course is offered, and these two kinds of experimental facilitiess are distributed in different laboratories; This will cause plant factor low, the wasting of resources, and existing equipment can not satisfy student's comprehensive Design ability.
Summary of the invention
In order to overcome the defective of prior art, the invention discloses a kind of monolithic processor controlled voltage to frequency converter.
The present invention realizes through following technical scheme:
A kind of monolithic processor controlled voltage to frequency converter; Comprise voltage signal Vi importation and frequency signal f output, said monolithic processor controlled voltage to frequency converter also comprises keyboard circuit, display circuit, single-chip microcomputer, digital regulation resistance, voltage to frequency converter and feedback circuit; Said keyboard circuit also is provided with the start and stop of start key and the conversion of stop key control electric voltage frequency; Said display circuit and keyboard circuit fit into the parameter setting of line linearity degree index and precision index, and this display circuit shows input signal and output signal in real time state; The information of said keyboard circuit is received by single-chip microcomputer, and then regulates the value of said digital regulation resistance, thereby changes output frequency, and this single-chip microcomputer also is responsible for receiving inputted signal Vi, and output signal f feeds back to single-chip microcomputer through said feedback circuit.Monolithic processor controlled voltage to frequency converter provided by the invention has overcome the defective of prior art, and reasonable in design, circuit structure is simple, practical and reliable, can also supply laboratory teaching design synthesis experiment, helps to improve the practical teaching effect.
Preferably, the single-chip microcomputer of described monolithic processor controlled voltage to frequency converter is selected MEGA8 for use.
Preferably, the digital regulation resistance of described monolithic processor controlled voltage to frequency converter is selected X9241 for use, and adopts two line communication modes to communicate between the said single-chip microcomputer.
Preferably; 1 pin of said digital regulation resistance, 2 pin and 3 pin are three pin terminals of adjustable resistance; Wherein 1 pin is the slip pin terminals of adjustable resistance; With 1 pin and 2 pin short circuits, make to form adjustable resistance R between 1 pin and 3 pin, and link to each other with the inverting input of amplifier U4 in the described voltage to frequency converter circuit.
Preferably, said voltage to frequency converter circuit comprises resistance R 3, R4, R5, R6, R7, capacitor C 1, amplifier U3, amplifier U4, diode D1 and bi-directional voltage stabilizing diode D2; R3 is external in the output terminal of U3, and R4 one end connects R3, and the other end connects the in-phase input end of U3, forms feedback; C1 is external in the negative feedback end of U4, U4 output terminal output frequency signal f.
Preferably, said capacitor C 1 is selected to gather the third ethene electric capacity, and the model that said amplifier U3 and amplifier U4 select for use is LM324, adopts dual power supply, and said diode D1 selects Schottky tube, and said bi-directional voltage stabilizing diode D2 selects the voltage stabilizing value U zStabilivolt for 5V.
Preferably, said feedback circuit comprises amplifier U5 and diode D3, and said amplifier U5 connects into zero-crossing comparator, exports square-wave signal, and feeds back to 12 pin of said single-chip microcomputer MEGA8.
Preferably, the model that the amplifier U5 in the described feedback circuit selects for use is LM324, and adopts dual power supply, and said diode D3 selects Schottky tube.
It will be understood by those skilled in the art that monolithic processor controlled voltage to frequency converter of the present invention comprises the combination in any of above-mentioned scenarios and these schemes.
The present invention also provides a kind of experimental box; Aforesaid monolithic processor controlled voltage to frequency converter module is housed on it; Other digital circuit or analogous circuit experiment module match with said monolithic processor controlled voltage to frequency converter on the Teaching Experiment Box, the Comprehensive Experiment of design single-chip microcomputer study.
Description of drawings
Fig. 1 is the system principle diagram of the preferred embodiment of the monolithic processor controlled voltage to frequency converter of proposition according to the present invention.
Fig. 2 is the circuit system schematic diagram of monolithic processor controlled voltage to frequency converter embodiment shown in Figure 1.
Embodiment
In preferred embodiment shown in Figure 1, the monolithic processor controlled voltage to frequency converter that the present invention provides is made up of keyboard circuit 1, display circuit 2, single-chip microcomputer 3, digital regulation resistance 4, voltage to frequency converter 5 and feedback circuit 6.
Voltage to frequency converter is the V/F converter again, and voltage to frequency converter is to convert voltage input signal Vi to frequency output signal f; Under the certain situation of input signal Vi, can change output frequency f through the resistance in the adjustment voltage to frequency converter.
Select for use digital regulation resistance X9241 to replace original adjustable resistance,, thereby change output frequency through the value of single-chip microcomputer 3 adjusting digital regulation resistances 4.
Keyboard circuit 1 is used for setting linearity index and precision index, also has start key and stop key in the keyboard circuit, the start and stop of control control electric voltage frequency conversion.
Display circuit 2 fits into line parameter with keyboard circuit 1 and sets, and can show input signal Vi and output signal f in real time.
Single-chip microcomputer 3 is selected MEGA8 for use, receives the information and the input signal Vi of keyboard circuit, the output display message, and output signal f feeds back to single-chip microcomputer through feedback circuit 6; Single-chip microcomputer 3 is regulated digital regulation resistance U1 through signal Processing and computing, thereby regulates output frequency f, finally makes voltage to frequency converter satisfy certain linearity and requires and accuracy requirement.
Adopt two line communication modes to communicate between single-chip microcomputer 3 and the digital regulation resistance 4.
Digital regulation resistance U1 selects X9241 for use; Its 1 pin, 2 pin and 3 pin are three pin terminals of adjustable resistance, and wherein 1 pin is the slip pin terminals of adjustable resistance, with 1 pin and 2 pin short circuits; Make 1 pin and 3 pin form adjustable resistance R, and link to each other with voltage to frequency converter; 9 pin and 14 pin of X9241 are provided with pull-up resistor R1 and R2, and are as shown in Figure 2.
Voltage to frequency converter 5 is by resistance R 3, R4, R5, R6, R7, capacitor C 1, and amplifier U3, amplifier U4, diode D1 and bi-directional voltage stabilizing diode D2 form.Wherein, bi-directional voltage stabilizing diode D2 selects the voltage stabilizing value U zStabilivolt for 5V; Diode D1 selects Schottky tube; Capacitor C 1 selects to gather the third ethene electric capacity; Amplifier U3 and amplifier U4 select LM324 for use, adopt dual power supply.
Feedback circuit is made up of amplifier U5 and diode D3.Wherein, amplifier U5 selects LM324 for use, adopts dual power supply; Diode D3 selects Schottky tube; Amplifier U5 connects into zero-crossing comparator, the output square-wave signal.
Voltage input signal V iWith frequency output signal fRelation be:
Figure 617285DEST_PATH_IMAGE001
(1)
In the formula, U z=5V, C 1=0.022 μ F, RIt is digital regulation resistance U 1Adjustable resistance, V iBe voltage input signal, its maximal value requires to be no more than 4V, fIt is triangular wave frequency output signal.
Can be known by formula (1): single-chip microcomputer at first detects voltage input signal V i, detect frequency output signal f,, regulate the adjustable resistance of digital regulation resistance U1 through signal Processing and computing RThereby, regulate output frequency, finally make voltage to frequency converter satisfy certain linearity and require and accuracy requirement.
Said monolithic processor controlled voltage to frequency converter can link to each other with other digital circuit on the laboratory teaching experimental box or analogous circuit experiment module, the design synthesis experiment.As in mcu programming and the experiment of circuit design ability; Adopt said monolithic processor controlled voltage to frequency converter; Can either realize the combination of controlled device and single-chip microcomputer; Accomplish the voltage frequency conversioning circuit experiment simultaneously, realized the exercise of higher utilization factor and student's comprehensive Design ability in laboratory teaching of experimental facilities.
The present invention is based on prior art; Be for realizing that the object of the invention combines these prior aries; For brevity, all matters, big and small these prior aries are not described in detail one by one in the instructions, yet those skilled in the art know its cloud after having read instructions.After having read this instructions; Those skilled in the art can realize the present invention on the basis of not paying creative work; But before not reading this instructions, the present invention is not easy to expect, for realizing that the object of the invention combines formation the present invention with prior art; This combination condensing a large amount of theoretical researches of inventor and experiment are the crystallizations of inventor's creative work.

Claims (9)

1. monolithic processor controlled voltage to frequency converter; Comprise voltage signal Vi importation and frequency signal f output, it is characterized in that: said monolithic processor controlled voltage to frequency converter also comprises keyboard circuit (1), display circuit (2), single-chip microcomputer (3), digital regulation resistance (4), voltage to frequency converter (5) and feedback circuit (6); Said keyboard circuit (1) also is provided with the start and stop of start key and the conversion of stop key control electric voltage frequency; Said display circuit (2) and keyboard circuit (1) fit into the parameter setting of line linearity degree index and precision index, and this display circuit shows input signal and output signal in real time state; The information of said keyboard circuit is received by single-chip microcomputer (3), and then the value of regulating said digital regulation resistance, thereby changes output frequency, and this single-chip microcomputer also is responsible for receiving inputted signal Vi, and output signal f feeds back to single-chip microcomputer (3) through said feedback circuit (6).
2. monolithic processor controlled voltage to frequency converter as claimed in claim 1 is characterized in that: said single-chip microcomputer is selected MEGA8 for use.
3. according to claim 1 or claim 2 monolithic processor controlled voltage to frequency converter, it is characterized in that: said digital regulation resistance is selected X9241 for use, and adopts two line communication modes to communicate between the said single-chip microcomputer.
4. monolithic processor controlled voltage to frequency converter as claimed in claim 3; It is characterized in that: 1 pin of said digital regulation resistance, 2 pin and 3 pin are three pin terminals of adjustable resistance; Wherein 1 pin is the slip pin terminals of adjustable resistance; With 1 pin and 2 pin short circuits, make to form adjustable resistance R between 1 pin and 3 pin, and link to each other with the inverting input of amplifier U4 in the described voltage to frequency converter circuit.
5. like claim 1 or 4 described monolithic processor controlled voltage to frequency converter, it is characterized in that: said voltage to frequency converter circuit comprises resistance R 3, R4, R5, R6, R7; Capacitor C 1; Amplifier U3, amplifier U4, diode D1 and bi-directional voltage stabilizing diode D2; R3 is external in the output terminal of U3, and R4 one end connects R3, and the other end connects the in-phase input end of U3, forms feedback; C1 is external in the negative feedback end of U4, U4 output terminal output frequency signal f.
6. monolithic processor controlled voltage to frequency converter as claimed in claim 5 is characterized in that: said capacitor C 1 selects to gather the third ethene electric capacity; The model that said amplifier U3 and amplifier U4 select for use is LM324, adopts dual power supply; Said diode D1 selects Schottky tube, and said bi-directional voltage stabilizing diode D2 selects the voltage stabilizing value U zStabilivolt for 5V.
7. according to claim 1 or claim 2 monolithic processor controlled voltage to frequency converter; It is characterized in that: said feedback circuit comprises amplifier U5 and diode D3; Said amplifier U5 connects into zero-crossing comparator, exports square-wave signal, and feeds back to 12 pin of said single-chip microcomputer MEGA8.
8. monolithic processor controlled voltage to frequency converter as claimed in claim 7 is characterized in that: the model that the amplifier U5 in the said feedback circuit selects for use is LM324, adopts dual power supply; Said diode D3 selects Schottky tube.
9. an experimental box comprises digital circuit or analogous circuit experiment module that various laboratory teachings are used, it is characterized in that: said experimental box is equipped with each described monolithic processor controlled voltage to frequency converter like claim 1-8.
CN 201110263065 2011-09-07 2011-09-07 Voltage-frequency converter controlled by single chip computer and experimental box provided with module Expired - Fee Related CN102436772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110263065 CN102436772B (en) 2011-09-07 2011-09-07 Voltage-frequency converter controlled by single chip computer and experimental box provided with module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110263065 CN102436772B (en) 2011-09-07 2011-09-07 Voltage-frequency converter controlled by single chip computer and experimental box provided with module

Publications (2)

Publication Number Publication Date
CN102436772A true CN102436772A (en) 2012-05-02
CN102436772B CN102436772B (en) 2013-12-25

Family

ID=45984803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110263065 Expired - Fee Related CN102436772B (en) 2011-09-07 2011-09-07 Voltage-frequency converter controlled by single chip computer and experimental box provided with module

Country Status (1)

Country Link
CN (1) CN102436772B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638267A (en) * 2012-05-04 2012-08-15 北京联合大学 System for increasing resolution ratio of A/D (Analog-to-Digital) converter inside AVR (Automatic Voltage Regulator) series single chip microcomputer
CN103475340A (en) * 2013-09-10 2013-12-25 昆山新金福精密电子有限公司 Signal generating circuit
CN104635581A (en) * 2015-01-12 2015-05-20 北京联合大学 Single-chip microprocessor-controlled hysteresis voltage comparator

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04172719A (en) * 1990-11-07 1992-06-19 Tamagawa Seiki Co Ltd A/d converter having integration function
CN101866155A (en) * 2010-07-02 2010-10-20 北京联合大学生物化学工程学院 Variable frequency square-wave generator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04172719A (en) * 1990-11-07 1992-06-19 Tamagawa Seiki Co Ltd A/d converter having integration function
CN101866155A (en) * 2010-07-02 2010-10-20 北京联合大学生物化学工程学院 Variable frequency square-wave generator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
熊年禄: "《低频模拟电路》", 31 January 2008, 武汉大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638267A (en) * 2012-05-04 2012-08-15 北京联合大学 System for increasing resolution ratio of A/D (Analog-to-Digital) converter inside AVR (Automatic Voltage Regulator) series single chip microcomputer
CN102638267B (en) * 2012-05-04 2014-07-30 北京联合大学 System for increasing resolution ratio of A/D (Analog-to-Digital) converter inside AVR (Automatic Voltage Regulator) series single chip microcomputer
CN103475340A (en) * 2013-09-10 2013-12-25 昆山新金福精密电子有限公司 Signal generating circuit
CN104635581A (en) * 2015-01-12 2015-05-20 北京联合大学 Single-chip microprocessor-controlled hysteresis voltage comparator

Also Published As

Publication number Publication date
CN102436772B (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN104218951B (en) The operating method of semiconductor devices and semiconductor devices
CN201226202Y (en) Control circuit based on singlechip for simulating noise
CN103218968A (en) Gamma resistance regulating device, drive circuit and display device
CN102436772B (en) Voltage-frequency converter controlled by single chip computer and experimental box provided with module
CN203688743U (en) OLED device optical and electrical property testing system
CN106910401A (en) A kind of multifunctional virtual electronic instrument
CN102088374A (en) Stimulating module for testing universal performance of serial interface
CN206210220U (en) A kind of multifunctional virtual electronic instrument
CN109379081A (en) A kind of digital analog converter and its control method
CN108534819A (en) A kind of constant current or constant pressure sensor analog system and method
CN105119587A (en) Magnetic loss automatic test platform and sinusoidal excitation signal source used by same
CN204515006U (en) A kind of eight railway digital System of voltage acquisitions
CN101135986B (en) Interface power consumption test card
CN209992882U (en) Output voltage adjustable power control circuit
CN111327286B (en) Mechanical load control memristor based on hardware integral control
CN112821755A (en) Power regulation method and system for power management chip adaptive load
CN209729226U (en) A kind of multi-functional element circuit intelligent measurement maintenance training system
CN201681520U (en) Actual training machine for electronic circuit
CN210514493U (en) Intelligent miniature portable sweep generator
CN206258759U (en) Voltage stable output device
CN103441544A (en) Multivoltage output control circuit for intelligent charger
CN211628525U (en) Active resistor for teaching analog electronic technology
CN205862263U (en) A kind of controllable small signal source plate
CN214177296U (en) Pitching signal and yawing signal acquisition circuit
CN204925188U (en) Signal simulation device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131225

Termination date: 20160907

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