CN108897256A - The triggering method exported for single-chip microcontroller, control panel - Google Patents

The triggering method exported for single-chip microcontroller, control panel Download PDF

Info

Publication number
CN108897256A
CN108897256A CN201810800032.8A CN201810800032A CN108897256A CN 108897256 A CN108897256 A CN 108897256A CN 201810800032 A CN201810800032 A CN 201810800032A CN 108897256 A CN108897256 A CN 108897256A
Authority
CN
China
Prior art keywords
circuit
cpu
output equipment
triggering method
chip microcontroller
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
CN201810800032.8A
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.)
Kunshan Hongqingyi Precision Machinery Co Ltd
Original Assignee
Kunshan Hongqingyi Precision Machinery 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 Kunshan Hongqingyi Precision Machinery Co Ltd filed Critical Kunshan Hongqingyi Precision Machinery Co Ltd
Priority to CN201810800032.8A priority Critical patent/CN108897256A/en
Publication of CN108897256A publication Critical patent/CN108897256A/en
Pending legal-status Critical Current

Links

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/21Pc I-O input output
    • G05B2219/21087Define sensor type, resistance, thermocouple, thermistor, voltage, current
    • 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/21Pc I-O input output
    • G05B2219/21137Analog to digital conversion, ADC, DAC

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control By Computers (AREA)

Abstract

The present invention relates to mechanical equipment control method field, the triggering method exported in particular for single-chip microcontroller, control panel.The triggering method is:A) current collection circuit, analog quantity and digital quantity conversion circuit, comparison circuit are connected between output equipment and CPU;B) current signal of current collection circuit acquisition output equipment;C) comparison circuit is by current signal compared with pre-set parameter;D) when the result after comparing meets setting condition, current signal is converted into digital signal and sends CPU to by analog quantity and digital quantity conversion circuit;E) CPU will control output equipment after Digital Signal Processing.The present invention by acquisition for current signal, compare and convert, and be transferred to CPU, and then control output equipment.External input device is not needed, not only not affected by environment, also there is no limit to service life.

Description

The triggering method exported for single-chip microcontroller, control panel
Technical field
The present invention relates to SAR image processing technology field, the triggering method exported in particular for single-chip microcontroller, control panel.
Background technique
The development for manufacturing industry in recent years is maked rapid progress, and the especially appearance of automated production equipment makes entirely to manufacture Industry is further, thoroughly marches toward the epoch of automated production.Various automated production equipment control modes, go out like the mushrooms after rain It is existing.
Present control mode common on the market has PLC, single-chip microcontroller, control panel.These control systems are usually set by input Standby, central processing unit, output equipment three parts composition.Control principle is generally input equipment input signal, central processing unit Carry out signal processing, control output equipment movement.And sensor is as one of the most common type input equipment, often by the shadow of environment Sound is larger, and the service life of sensor also will receive influence on needing the mechanism moved, therefore will be greatly reduced the stability of equipment. And in some equipment higher for space requirement, the adjusting of the parameters such as the installation wiring of sensor and sensitivity is also very It is inconvenient.And there is also some potential safety problemss for sensor false triggering in machine running process.
Summary of the invention
The technical problem to be solved by the present invention is to:It is affected by environment big in order to solve existing sensor, it is unstable and The deficiency of parameter regulation inconvenience, the present invention provides it is a kind of for single-chip microcontroller, control panel export triggering method, by for The acquisition of current signal is compared and is converted, and is transferred to CPU, and then controls output equipment.External input is not needed to set Standby, not only not affected by environment, to service life, also there is no limit.
The technical solution adopted by the present invention to solve the technical problems is:
A kind of triggering method exported for single-chip microcontroller, control panel, which is characterized in that the triggering method is:
A) output equipment with connected between CPU current collection circuit, analog quantity and digital quantity conversion circuit, compared with it is electric Road;
B) current signal of current collection circuit acquisition output equipment;
C) comparison circuit is by current signal compared with pre-set parameter;
D) when the result after comparing meets setting condition, current signal is converted by analog quantity with digital quantity conversion circuit Digital signal sends CPU to;
E) CPU will control output equipment after Digital Signal Processing.
Specifically, the current collection circuit in the form of microcircuit integrate on circuit boards or current collection circuit with Independent module is connected directly between output equipment and CPU.
Specifically, the analog quantity and digital quantity conversion circuit are integrated on circuit boards in the form of microcircuit, or simulation Amount and digital quantity conversion circuit are connected directly between output equipment and CPU with independent module.
Specifically, the comparison circuit is integrated on circuit boards in the form of microcircuit or comparison circuit is with independent mould Block is connected directly between output equipment and CPU.
The beneficial effects of the invention are as follows:The present invention provides a kind of triggering methods exported for single-chip microcontroller, control panel, lead to The acquisition for current signal is crossed, compares and converts, and is transferred to CPU, and then control output equipment.Outside is not needed Input equipment, not only not affected by environment, to service life, also there is no limit.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 is control principle drawing of the invention;
Specific embodiment
In conjunction with the accompanying drawings, the present invention is further explained in detail.
Fig. 1 is control principle drawing of the invention.
A kind of triggering method exported for single-chip microcontroller, control panel, the triggering method are:
A) output equipment with connected between CPU current collection circuit, analog quantity and digital quantity conversion circuit, compared with it is electric Road;
B) current signal of current collection circuit acquisition output equipment;
C) comparison circuit is by current signal compared with pre-set parameter;
D) when the result after comparing meets setting condition, current signal is converted by analog quantity with digital quantity conversion circuit Digital signal sends CPU to;
E) CPU will control output equipment after Digital Signal Processing.
The current collection circuit is integrated on circuit boards in the form of microcircuit or current collection circuit is with independent mould Block is connected directly between output equipment and CPU.The analog quantity is integrated in the form of microcircuit with digital quantity conversion circuit On circuit board or analog quantity and digital quantity conversion circuit are connected directly between output equipment and CPU with independent module.It is described Comparison circuit is integrated in the form of microcircuit on circuit boards or comparison circuit with independent module is connected directly between output equipment Between CPU.
Increase current collection circuit, analog quantity and digital quantity conversion circuit, comparison circuit between output equipment and CPU. Output equipment (such as direct current generator) status changes (such as direct current generator load changes) in equipment running process, To cause output equipment electric current to change, current collection circuit can acquire in real time output equipment electric current, more electric Collected current signal can be compared by road with the parameter pre-set, analog quantity and number when meeting setting condition Current signal can be converted into digital signal and sends CPU to by amount conversion circuit, CPU is handled using internal processes, thus be reached To the purpose of control output equipment.
Taking the above-mentioned ideal embodiment according to the present invention as inspiration, through the above description, relevant staff is complete Various changes and amendments can be carried out without departing from the scope of the technological thought of the present invention' entirely.The technology of this invention Property range is not limited to the contents of the specification, it is necessary to which the technical scope thereof is determined according to the scope of the claim.

Claims (4)

1. a kind of triggering method exported for single-chip microcontroller, control panel, which is characterized in that the triggering method is:
A) current collection circuit, analog quantity and digital quantity conversion circuit, comparison circuit are connected between output equipment and CPU;
B) current signal of current collection circuit acquisition output equipment;
C) comparison circuit is by current signal compared with pre-set parameter;
D) when the result after comparing meets setting condition, current signal is converted into number with digital quantity conversion circuit by analog quantity Signal sends CPU to;
E) CPU will control output equipment after Digital Signal Processing.
2. the triggering method according to claim 1 exported for single-chip microcontroller, control panel, it is characterised in that:The electric current Acquisition Circuit is integrated in the form of microcircuit on circuit boards or current collection circuit with independent module is connected directly between output Between equipment and CPU.
3. the triggering method according to claim 1 exported for single-chip microcontroller, control panel, it is characterised in that:The simulation Amount is integrated in the form of microcircuit on circuit boards with digital quantity conversion circuit or analog quantity and digital quantity conversion circuit are with independence Module be connected directly between output equipment and CPU.
4. the triggering method according to claim 1 exported for single-chip microcontroller, control panel, it is characterised in that:The comparison Circuit in the form of microcircuit integrate on circuit boards or comparison circuit with independent module be connected directly between output equipment with Between CPU.
CN201810800032.8A 2018-07-20 2018-07-20 The triggering method exported for single-chip microcontroller, control panel Pending CN108897256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810800032.8A CN108897256A (en) 2018-07-20 2018-07-20 The triggering method exported for single-chip microcontroller, control panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810800032.8A CN108897256A (en) 2018-07-20 2018-07-20 The triggering method exported for single-chip microcontroller, control panel

Publications (1)

Publication Number Publication Date
CN108897256A true CN108897256A (en) 2018-11-27

Family

ID=64351301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810800032.8A Pending CN108897256A (en) 2018-07-20 2018-07-20 The triggering method exported for single-chip microcontroller, control panel

Country Status (1)

Country Link
CN (1) CN108897256A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095116A (en) * 2011-10-26 2013-05-08 康舒科技股份有限公司 Soft start control method of power supply and device thereof
CN103345945A (en) * 2013-07-03 2013-10-09 上海华力微电子有限公司 Memory testing device with frequency testing function, as well as memory testing method
CN104272551A (en) * 2012-03-30 2015-01-07 雷诺两合公司 System for managing the charging of a storage battery
CN206400523U (en) * 2017-01-25 2017-08-11 天津酷雷尔科技有限公司 Analog-digital conversion control circuit and presentation device
CN207166384U (en) * 2017-07-14 2018-03-30 天津须眉科技有限公司 Card form shaver control circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095116A (en) * 2011-10-26 2013-05-08 康舒科技股份有限公司 Soft start control method of power supply and device thereof
CN104272551A (en) * 2012-03-30 2015-01-07 雷诺两合公司 System for managing the charging of a storage battery
CN103345945A (en) * 2013-07-03 2013-10-09 上海华力微电子有限公司 Memory testing device with frequency testing function, as well as memory testing method
CN206400523U (en) * 2017-01-25 2017-08-11 天津酷雷尔科技有限公司 Analog-digital conversion control circuit and presentation device
CN207166384U (en) * 2017-07-14 2018-03-30 天津须眉科技有限公司 Card form shaver control circuit

Similar Documents

Publication Publication Date Title
CN106774587A (en) A kind of low pressure difference linear voltage regulator
CN107248844B (en) A kind of photo-voltaic power supply
CN106291330A (en) Hall sensing chip and hall sensing chip calibration steps
CN108897256A (en) The triggering method exported for single-chip microcontroller, control panel
CN206002902U (en) A kind of motion controller
CN104767081A (en) Configurable wireless smart socket
CN101082661A (en) Current mutual inductor for intelligent electrical apparatus release and control method thereof
CN206532126U (en) A kind of intelligent Synchronization module for realizing grid-connected closing function
CN207474297U (en) A kind of aluminium electrolutic capacitor closing device
CN103616065B (en) A kind of batching control system
CN103837814B (en) Tester
Zhao The design and research of electric automation control system based on PLC
CN106405264A (en) Automatic terminal DTU test device
CN205427536U (en) Screw up quick -witted control system based on CAN bus is multi -functional
CN207007196U (en) A kind of absolute value signal conversion equipment
CN205384723U (en) Automatic unloaded alarm of equipment
CN219475697U (en) Switching box and switching system for controlling switching of relay
CN110138085A (en) A kind of high-precision distribution terminal based on nonlinear compensation algorithm
CN210982618U (en) Large-current temperature rise test system
CN100517976C (en) Signal buffer circuit with output lower limit threshold
CN202093413U (en) Direct-current power source digital voltage regulating device based on bus technology
CN203642872U (en) Strain measurement board card based on PXI bus
CN209134384U (en) Transformer temperature signal adapter
CN107942142A (en) A kind of detection device of large scale equipment electrostatic core release device
RU2747243C1 (en) Automatic control system of process units

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181127