CN114035480A - Pulse generator based on C51 singlechip - Google Patents

Pulse generator based on C51 singlechip Download PDF

Info

Publication number
CN114035480A
CN114035480A CN202111353741.4A CN202111353741A CN114035480A CN 114035480 A CN114035480 A CN 114035480A CN 202111353741 A CN202111353741 A CN 202111353741A CN 114035480 A CN114035480 A CN 114035480A
Authority
CN
China
Prior art keywords
pulse
signal
unit
control core
core unit
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
CN202111353741.4A
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.)
Xi'an Xidian Power Electronics Co ltd
China XD Electric Co Ltd
Xian XD Power Systems Co Ltd
Original Assignee
China XD Electric Co Ltd
Xian XD Power Systems 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 China XD Electric Co Ltd, Xian XD Power Systems Co Ltd filed Critical China XD Electric Co Ltd
Priority to CN202111353741.4A priority Critical patent/CN114035480A/en
Publication of CN114035480A publication Critical patent/CN114035480A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The embodiment of the application provides a pulse generator based on C51 singlechip, includes: the key module comprises a control core unit, a crystal oscillator clock signal unit and a key module which are connected with a signal input end of the control core unit, and a signal conversion unit which is connected with a signal output end of the control core unit; the key module is used for sending a pulse modulation instruction to the control core unit according to the key operation of a user; the control core unit is used for modulating the pulse digital signal sent by the crystal oscillator clock signal unit according to the received pulse modulation instruction to obtain a modulated pulse digital signal; the signal conversion unit is used for converting the pulse digital signals sent by the control core unit into pulse analog signals, can quickly, accurately and conveniently generate trigger pulses of different types, and can realize frequency modulation, duty ratio modulation and amplitude modulation control on the signals.

Description

Pulse generator based on C51 singlechip
Technical Field
The application relates to the field of power electronics, in particular to a pulse generator based on a C51 single chip microcomputer.
Background
In the field of power electronics, in a specific application scenario (such as driving thyristors, IGBTs, etc.), corresponding pulses need to be provided to drive power electronic devices. A signal generator capable of generating a corresponding signal is therefore required.
While a typical signal generator can only generate a single or fixed signal. When the external power electronic device changes or more application scenes are needed, a diversified and adjustable signal generator is needed to provide the trigger signal.
In the prior art, programmable devices such as an FPGA (complex programmable logic device) (CPLD) or a DSP (digital signal processor) are mostly adopted to realize signal generation, the devices are relatively expensive, and often, the signal generation device only generates specific signals to meet the requirements of the specific working conditions, so that the waste of resources is caused.
Therefore, the inventor provides the pulse generator based on the C51 single chip microcomputer by virtue of experience and practice of related industries for many years so as to overcome the defects in the prior art.
Disclosure of Invention
To the problem among the prior art, the application provides a pulse generator based on C51 singlechip, can be fast, accurate and convenient the trigger pulse of production different grade type to can realize frequency modulation, transfer duty cycle, amplitude modulation's control to the signal.
In order to solve the technical problem, the application provides the following technical scheme:
in a first aspect, the present application provides a pulse generator based on a C51 singlechip, including: the key module comprises a control core unit, a crystal oscillator clock signal unit and a key module which are connected with a signal input end of the control core unit, and a signal conversion unit which is connected with a signal output end of the control core unit;
the key module is used for sending a pulse modulation instruction to the control core unit according to the key operation of a user;
the control core unit is used for modulating a pulse digital signal according to the received pulse modulation instruction and a reference clock signal sent by the crystal oscillator clock signal unit to obtain a modulated pulse digital signal;
the signal conversion unit is used for converting the pulse digital signal sent by the control core unit into a pulse analog signal.
The pulse analog signal processing device further comprises a two-stage amplification operation unit connected with the signal output end of the signal conversion unit, and the two-stage amplification operation unit is used for performing signal amplification processing on the pulse analog signal sent by the signal conversion unit.
The pulse analog signal processing circuit further comprises a variable resistor connected with a signal output end of the two-stage amplification operation unit, wherein the variable resistor is used for carrying out signal amplitude adjustment on the pulse analog signal subjected to the signal amplification processing.
Further, the pulse modulation instruction sent by the key module includes at least one of a pulse switching instruction, a pulse frequency increasing instruction, a pulse frequency reducing instruction, a pulse duty ratio increasing instruction and a pulse duty ratio decreasing instruction.
Further, the control core unit is a C51 singlechip.
Further, the crystal oscillator clock signal unit comprises a crystal oscillator circuit.
Further, the crystal oscillator clock signal unit further comprises a reset circuit.
Further, the signal conversion unit is a DAC0832 conversion chip.
According to the technical scheme, the pulse generator based on the C51 single chip microcomputer is used for modulating pulse digital signals generated by the crystal oscillator clock signal unit by receiving various pulse modulation instructions sent by the key module, so that different types of trigger pulses can be generated quickly, accurately and conveniently, and the control of frequency modulation, duty ratio modulation and amplitude modulation can be realized on the signals.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is one of the structural schematic diagrams of a pulse generator based on a C51 single chip microcomputer according to the present application;
fig. 2 is a second schematic structural diagram of a pulse generator based on a C51 single chip microcomputer according to the present application;
fig. 3 is a third schematic structural diagram of the pulse generator based on the C51 single chip microcomputer according to the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In consideration of the problems that in the prior art, most programmable devices such as an FPGA (CPLD) or a DSP (digital signal processor) are adopted to realize signal generation, the price of the devices is relatively high, and often, the signal generation device only generates specific signals to meet the requirements of the specific working conditions, so that the waste of resources is caused. In order to be able to generate different types of trigger pulses quickly, accurately and conveniently and to realize control of frequency modulation, duty cycle modulation and amplitude modulation on signals, the present application provides an embodiment of a pulse generator based on a C51 single chip microcomputer, referring to fig. 1, in this embodiment, the pulse generator based on the C51 single chip microcomputer specifically includes a control core unit 10, a crystal clock signal unit 20 and a key module 30 connected to a signal input end of the control core unit 10, and a signal conversion unit 40 connected to a signal output end of the control core unit 10;
the key module 30 is configured to send a pulse modulation instruction to the control core unit 10 according to a key operation of a user;
the control core unit 10 is configured to modulate a pulse digital signal according to the received pulse modulation instruction and the reference clock signal sent by the crystal oscillator clock signal unit 20, so as to obtain a modulated pulse digital signal;
it can be understood that the crystal oscillator circuit in the crystal oscillator clock signal unit 20 provides a reference clock signal for the control core unit 10 (for example, a C51 single chip microcomputer), the single chip microcomputer carries a program therein, the state of the external key is constantly refreshed and judged, and when the detected corresponding key is pressed, the corresponding program code is activated to implement the corresponding function.
The signal conversion unit 40 is configured to convert the pulse digital signal sent by the control core unit 10 into a pulse analog signal.
Optionally, the control core unit 10 may be a C51 single chip microcomputer, wherein the C51 single chip microcomputer is a generic name of a single chip microcomputer compatible with an intel 8051 instruction system, and the C51 single chip microcomputer is widely applied to household appliances, automobiles, industrial measurement and control, and communication equipment.
Optionally, a C51 single chip microcomputer is used as a control core device, and a crystal oscillator clock signal unit 20 is built at the periphery, so that a single chip microcomputer minimum system can be formed.
Optionally, referring to fig. 2, the signal input end of the C51 single chip microcomputer of the present application is further connected to a key module 30, and is respectively provided with a corresponding opening, so as to receive a pulse modulation instruction triggered when a user performs a key operation, and accordingly perform signal modulation operations such as switching, frequency increasing, frequency decreasing, duty ratio increasing, duty ratio decreasing, and the like on a pulse signal generated by the crystal oscillator clock signal unit 20.
Optionally, the pulse modulation instruction sent by the key module 30 includes at least one of a pulse switching instruction, a pulse frequency increasing instruction, a pulse frequency decreasing instruction, a pulse duty ratio increasing instruction, and a pulse duty ratio decreasing instruction.
In some possible embodiments of the present application, the signal conversion unit 40 connected to the signal output terminal of the control core unit 10 may be a DAC0832 conversion chip, and referring to fig. 3, the 8-way digital quantity signal at the signal output terminal of the control core unit 10 is connected to the DAC0832 conversion chip, so as to convert the pulse digital signal generated by the C51 single chip microcomputer into a pulse analog signal.
In some possible embodiments of the present application, referring to fig. 3, the signal output terminal of the signal conversion unit 40 may further be connected to a two-stage amplification operation unit 50 (i.e., a two-stage amplification operation circuit), where the two-stage amplification operation unit 50 is configured to perform signal amplification processing on the pulse analog signal sent by the signal conversion unit 40.
In some possible embodiments of the present application, referring to fig. 3, the signal output terminal of the two-stage amplification operation unit 50 is connected to a variable resistor, and the variable resistor is used for performing signal amplitude adjustment on the pulse analog signal after the signal amplification processing.
As can be seen from the above description, according to the pulse generator based on the C51 single chip microcomputer provided in the embodiment of the present application, the control core unit 10 modulates the pulse digital signal generated by the crystal oscillator clock signal unit 20 by receiving various pulse modulation instructions sent by the key module 30, so that different types of trigger pulses can be generated quickly, accurately and conveniently, and the frequency modulation, the duty cycle modulation, and the amplitude modulation of the signal can be controlled.
As a preferred embodiment, the crystal oscillator clock signal unit 20 includes a crystal oscillator circuit and a reset circuit, where the crystal oscillator circuit is configured to provide a clock signal to the single chip, and the reset circuit is configured to clear a program counter of the single chip.
The above description is only an exemplary embodiment of the present invention, and is not intended to limit the scope of the present invention. Any equivalent changes and modifications that can be made by one skilled in the art without departing from the spirit and principles of the invention should fall within the protection scope of the invention.

Claims (8)

1. The utility model provides a pulse generator based on C51 singlechip which characterized in that includes: the key module comprises a control core unit, a crystal oscillator clock signal unit and a key module which are connected with a signal input end of the control core unit, and a signal conversion unit which is connected with a signal output end of the control core unit;
the key module is used for sending a pulse modulation instruction to the control core unit according to the key operation of a user;
the control core unit is used for modulating a pulse digital signal according to the received pulse modulation instruction and a reference clock signal sent by the crystal oscillator clock signal unit to obtain a modulated pulse digital signal;
the signal conversion unit is used for converting the pulse digital signal sent by the control core unit into a pulse analog signal.
2. The pulse generator based on the C51 singlechip microcomputer according to claim 1, further comprising a two-stage amplification operation unit connected to the signal output end of the signal conversion unit, wherein the two-stage amplification operation unit is configured to perform signal amplification processing on the pulse analog signal sent by the signal conversion unit.
3. The pulse generator based on the C51 single chip microcomputer according to claim 2, further comprising a variable resistor connected to the signal output terminal of the two-stage amplification operation unit, wherein the variable resistor is used for performing signal amplitude adjustment on the pulse analog signal after the signal amplification processing.
4. The pulse generator based on the C51 single chip microcomputer according to claim 1, wherein the pulse modulation command sent by the key module includes at least one of a pulse switching command, a pulse frequency increasing command, a pulse frequency decreasing command, a pulse duty ratio increasing command, and a pulse duty ratio decreasing command.
5. The pulse generator based on the C51 singlechip microcomputer according to claim 1, wherein the control core unit is a C51 singlechip microcomputer.
6. The pulse generator based on the C51 singlechip microcomputer according to claim 1, wherein the crystal oscillator clock signal unit comprises a crystal oscillator circuit.
7. The pulse generator based on the C51 singlechip microcomputer according to claim 6, wherein the crystal oscillator clock signal unit further comprises a reset circuit.
8. The pulse generator based on the C51 single chip microcomputer according to claim 1, wherein the signal conversion unit is a DAC0832 conversion chip.
CN202111353741.4A 2021-11-16 2021-11-16 Pulse generator based on C51 singlechip Pending CN114035480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111353741.4A CN114035480A (en) 2021-11-16 2021-11-16 Pulse generator based on C51 singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111353741.4A CN114035480A (en) 2021-11-16 2021-11-16 Pulse generator based on C51 singlechip

Publications (1)

Publication Number Publication Date
CN114035480A true CN114035480A (en) 2022-02-11

Family

ID=80144532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111353741.4A Pending CN114035480A (en) 2021-11-16 2021-11-16 Pulse generator based on C51 singlechip

Country Status (1)

Country Link
CN (1) CN114035480A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002353814A (en) * 2001-03-21 2002-12-06 Ricoh Co Ltd Digital/analog converter and digital/analog conversion method
CN103684263A (en) * 2013-11-14 2014-03-26 杭州电子科技大学 Method for realizing simple chaotic signal generator based on single-chip microcomputer
CN203747855U (en) * 2014-03-07 2014-07-30 桂林电子科技大学 Channel quality estimation and self-adaption transmitting and receiving device of digital communication system
CN107017795A (en) * 2017-03-31 2017-08-04 德力西(杭州)变频器有限公司 Pulse-generator circuit and its control method
CN208904970U (en) * 2018-10-16 2019-05-24 长沙星联电力自动化技术有限公司 A kind of pulse signal generation device
CN211206604U (en) * 2019-12-02 2020-08-07 国网中兴有限公司 Mobile electrical equipment on-line monitoring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002353814A (en) * 2001-03-21 2002-12-06 Ricoh Co Ltd Digital/analog converter and digital/analog conversion method
CN103684263A (en) * 2013-11-14 2014-03-26 杭州电子科技大学 Method for realizing simple chaotic signal generator based on single-chip microcomputer
CN203747855U (en) * 2014-03-07 2014-07-30 桂林电子科技大学 Channel quality estimation and self-adaption transmitting and receiving device of digital communication system
CN107017795A (en) * 2017-03-31 2017-08-04 德力西(杭州)变频器有限公司 Pulse-generator circuit and its control method
CN208904970U (en) * 2018-10-16 2019-05-24 长沙星联电力自动化技术有限公司 A kind of pulse signal generation device
CN211206604U (en) * 2019-12-02 2020-08-07 国网中兴有限公司 Mobile electrical equipment on-line monitoring device

Similar Documents

Publication Publication Date Title
CN103218982B (en) A kind of display screen operation irregularity disposal route and device
CN103472752B (en) A kind of infrared many gears gesture identification switch and gesture identification method
CN109542161A (en) A kind of clock signal generating apparatus and method
CN103684458A (en) Analog-digital converter protective circuit, digital power supply, method and module for processing digital signals and method for protecting circuit
CN114035480A (en) Pulse generator based on C51 singlechip
CN208904970U (en) A kind of pulse signal generation device
CN103095218A (en) Sinusoidal signal generator
CN103744322A (en) Control signal generating circuit
CN219574645U (en) Current detection circuit control device and control system
AU2003290081A1 (en) Oscillator device for frequency modulation
CN202841079U (en) Pulse signal generator and pulse signal generation system
CN207230648U (en) Bull electromagnetic stove and intelligent domestic system
CN201122168Y (en) Expandable multifunctional harmonic wave table
CN209803295U (en) Residual current generating device and residual current action protector tester
CN209132659U (en) A kind of clock signal generating apparatus
CN109714053B (en) Terminal device, system and method for digital communication using analog signal pin
CN208862805U (en) A kind of signal processing circuit and equipment
CN105513584A (en) Buzz output method and device
CN205178843U (en) Novel economize energy converter
CN210514493U (en) Intelligent miniature portable sweep generator
CN112731038B (en) Hardware-in-loop test system of power grid simulation device
CN212210950U (en) Programmable amplitude modulation signal generation system
CN206727976U (en) Digital signal generator based on FPGA
CN203745823U (en) Control signal generating circuit
CN113970891B (en) Thing networking switch based on zero cross detection control

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
TA01 Transfer of patent application right

Effective date of registration: 20230625

Address after: 710075 No. 2 Xifu Road, West Third Ring Road, Xi'an City, Shaanxi Province

Applicant after: XI'AN XD POWER SYSTEMS Co.,Ltd.

Applicant after: Xi'an Xidian Power Electronics Co.,Ltd.

Applicant after: CHINA XD ELECTRIC Co.,Ltd.

Address before: 710075 No. 2 Xifu Road, West Third Ring Road, Xi'an City, Shaanxi Province

Applicant before: XI'AN XD POWER SYSTEMS Co.,Ltd.

Applicant before: CHINA XD ELECTRIC Co.,Ltd.

TA01 Transfer of patent application right