CN107786076A - Microprocessor control system and its control method - Google Patents
Microprocessor control system and its control method Download PDFInfo
- Publication number
- CN107786076A CN107786076A CN201711171863.5A CN201711171863A CN107786076A CN 107786076 A CN107786076 A CN 107786076A CN 201711171863 A CN201711171863 A CN 201711171863A CN 107786076 A CN107786076 A CN 107786076A
- Authority
- CN
- China
- Prior art keywords
- mcu microcontrollers
- mcu
- driving chip
- control system
- module
- 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
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/08—Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Feedback Control In General (AREA)
Abstract
The present invention relates to a kind of electromagnetic valve driver control system and its control method, and it belongs to controller control field.Microprocessor control system of the present invention includes power module, MCU microcontrollers, communication transfer interface module, driving chip, power model and current detection circuit, MCU microcontrollers are powered by power module, communication transfer interface module connects with MCU microcontrollers, driving chip is connected with power model, the driving chip is connected with MCU microcontrollers, and current detection circuit matches with power model.The present invention also provides a kind of control method of microcontroller.The present invention is reasonable in design, and control system is reliable and stable, reduces the use of traditional analog device, improves the level of digital of system, and debugging is convenient, improves the accuracy and anti-interference of system.
Description
Technical field
The present invention relates to one kind control and its method, more particularly, to a kind of microprocessor control system and its controlling party
Method, it belongs to controller control field.
Background technology
In electromagnetic valve driver control system, the design of driving circuit for electromagnetic valve is the key component of whole control system.
Conventional drive circuit is designed typically based on analog circuit, passes through discharge circuit, PWM ripples drive circuit and current-voltage sampling
Circuit etc. completes the drive control of magnetic valve, such design in industrial settings, easily by external disturbance, and drive system
Debugging process it is comparatively laborious, precision is not high.
Publication date is on 03 13rd, 2013, in Publication No. 102966452A Chinese patent, discloses a kind of title
For the patent of invention of " electromagnetic valve drive method and device ".The patent comprises the following steps, in the open stage of magnetic valve, electromagnetism
Valve repeatedly obtained only from high-voltage power supply ensure magnetic valve open needed for firing current, magnetic valve open it is stable after, by the
One transition stage, in the maintenance electric current for keeping stage magnetic valve to maintain magnetic valve to keep it turned on from battery acquisition, pass through
Second transition stage, closed electromagnetic valve.Electromagnetic valve actuator, including battery, high-voltage power supply, battery switch, high-voltage switch gear,
Gating switch, the first diode, the second diode, the 3rd diode, sampling resistor.Although the invention is sprayed for fuel of internal combustion engine
The driving for the magnetic valve penetrated in system, but the application control system can not be applied to.
Therefore it provides a kind of system is stable, manipulation is convenient, the microprocessor control system of accuracy and strong interference immunity,
Seem particularly necessary.
The content of the invention
It is an object of the invention to overcome above shortcomings in the prior art, and provide a kind of reasonable in design, control
System is reliable and stable, reduces the use of traditional analog device, improves the level of digital of system, debugging is convenient, improves
The accuracy of system and the microprocessor control system and its control method of anti-interference.
Technical scheme is used by the present invention solves the above problems:The microprocessor control system, including power module
With MCU microcontrollers, the MCU microcontrollers are powered by power module, it is characterised in that:Also include communication transfer interface module,
Driving chip, power model and current detection circuit, the communication transfer interface module connect with MCU microcontrollers, driving chip and
Power model is connected, and the driving chip is connected with MCU microcontrollers, and current detection circuit matches with power model;System is stable,
Debugging is convenient, improves the precision and antijamming capability of system, and driving chip has good anti-interference and larger voltage
Nargin.
Preferably, present invention additionally comprises clock source, watchdog module, the clock source and watchdog module are and MCU
Microcontroller is connected;So that function is more, meet greater demand.
Preferably, MCU microcontrollers of the present invention are connected by digital-to-analogue conversion interface with driving chip;So that connection
It is more stable.
The present invention also provides a kind of control method of microcontroller, it is characterised in that:Step is as follows:
(1)Power module provides the working power of MCU microcontrollers;
(2)Communication transfer interface module receives the order of CAN device, the order that reconvert can recognize that to MCU microcontrollers, and by MCU
The signal of microcontroller feedback is sent to CAN device;
(3)MCU microcontrollers receive order, regenerate control strategy, then perform order, and imperative structures are fed back;
(4)Driving chip receives the control signal of MCU microcontrollers, converts the signal into current output signal;
(5)Current output signal is amplified processing by power model;
(6)Output electric current measure of the current detection circuit to power model;
(7)Output current value is fed back into MCU microcontrollers.
The present invention compared with prior art, has advantages below and effect:System design is reasonable, and control is reliable and stable, subtracts
The use of traditional analog device is lacked, has improved the level of digital of system, debugging is convenient, improves the accuracy of system and resists
Interference, meet the system requirements of people.
Brief description of the drawings
Fig. 1 is the system structure diagram of the embodiment of the present invention.
In figure:MCU microcontrollers 1, driving chip 2, power model 3, current detection circuit 4, power module 5, communication turn
Change the mold block 6, clock source 7, watchdog module 8.
Embodiment
Below in conjunction with the accompanying drawings and the present invention is described in further detail by embodiment, and following examples are to this hair
Bright explanation and the invention is not limited in following examples.
Embodiment.
Referring to Fig. 1, the present embodiment microprocessor control system include MCU microcontrollers 1, driving chip 2, power model 3,
Current detection circuit 4, power module 5 and communication transfer interface module 6, MCU microcontrollers 1 are powered by power module 5, and communication turns
Mold changing block 6 connects with MCU microcontrollers 1, and driving chip 2 is connected with power model 3, the driving chip 2 and MCU microcontrollers 1
It is connected, current detection circuit 4 matches with power model 3.
The clock source 7 and watchdog module 8 of the present embodiment are connected with MCU microcontrollers 1.
The MCU microcontrollers 1 of the present embodiment are connected by digital-to-analogue conversion interface with driving chip 2.
The rate-determining steps of the present embodiment microcontroller are as follows:
(1)Power module 5 provides the working power of MCU microcontrollers 1.
(2)Communication transfer interface module 6 receives the order of CAN device, the order that reconvert can recognize that to MCU microcontrollers 1, and
The signal that MCU microcontrollers 1 feed back is sent to CAN device.
(3)MCU microcontrollers 1 receive order, regenerate control strategy, then perform order, and imperative structures are carried out
Feedback.
(4)Driving chip 2 receives the control signal of MCU microcontrollers 1, converts the signal into current output signal.
(5)Current output signal is amplified processing by power model 3.
(6)Output electric current measure of the current detection circuit 4 to power model 3.
(7)Output current value is fed back into MCU microcontrollers 1.
The present embodiment uses a special automotive electronics level IC driving chips 2, it have good anti-interference and compared with
Big voltage margin.It is internal using low side current control predrive integrating circuit, and in the past many external analog circuitries is whole
Together, the functions such as PWM ripples driving modulation, PI regulations and foreign current sampling are made it have, reduce traditional analog device
Use, improve the level of digital of system, while chip provides communication interface, user can be driven by command word to chip
Dynamic external electrical magnet valve, so that debugging process becomes simple, while also improves the accuracy and anti-interference of system.New ratio
Example valve driving chip, realize the drive control of external electrical magnet valve.
Magnetic valve is electricity-machine-liquid transmission control part point, and it is the current signal converting to force from electromagnetic valve driver
Or displacement.Its operation principle is that the equivalent voltage at both ends is changed to directly proportional current signal, and then is produced directly proportional to electric current
The spool displacement of example.Therefore for bottom proportional amplifier drive circuit, how accurate and stable voltage signal is realized
Mapping to spool displacement is critically important.
Magnetic valve has the following characteristics that:(1)Horizontal displacement-force characteristic, in the stroke of electromagnetic valve work, when coil electricity
The timing of stream one, its power output keep constant;(2)During stable state, there is the input current and output force curve of good linearity, it is smaller
Dead band and stagnant ring;(3)Step response is fast, frequency response is high.
Control system for proportional amplifier:Traditional proportional valve amplifier drive circuit uses typically based on analog circuit
The design that module and current sample module etc. complete drive circuit occurs for operational amplifier, PWM ripples.But substantial amounts of analog component
Between connection it is considerably complicated so that the fault detect of system and maintenance it is relatively difficult;Simultaneously because analog signal is relatively more,
Inconvenient debugging, and during making sheet, can there is the problems such as electromagnetic interference and component radiating, so driving effect is not
It is highly desirable, wanting for on-line debugging, system integrating and distributed controll can not be met.Meanwhile the problem of aging of analog device and not
Compensable temperature drift problem, and easily by environment(Such as electromagnetic noise, operating ambient temperature)The factors such as interference can all influence to control
The long-time stability of system processed.Therefore, on the basis of analyzing influence proportional valve control characteristic factor, using special Novel electric
Magnet valve control chip, the digital driving design on control circuit of completed percentage valve.
Solenoid valve control chip is worked by the drive magnetic valve of power model 3;The control system built using single-chip microcomputer as core
System, coordinate communication transfer interface module 6, clock module, driving chip 2, current feedback module, power module 5, watchdog module 8 etc..
Overall bottom circuit is made up of two parts, singlechip microprocessor control circuit and solenoid valve control chip drive circuit.
The driving chip 2 of the present embodiment has following features:
(1)8 passage altogether, each passage are independently programmed control output current, and maximum drive current can reach 2A, and chip
During overheat, output current is no more than 2%FS errors.
(2)PLC technology vibrating signal, i.e. described ripple signal above, by setting the amplitude of vibrating signal and each
The PWM cycle number that the flutter cycle includes realizes, at the same indoor design hardware circuit the vibrating signal of setting is coupled to it is specified
In output current.The vibrating signal of 8 passages works independently from each other, and is independent of each other.
(3)Programmable synchronous pwm control signal(Phase delay time, hardware synchronization are set)
(4)Chip internal has pi regulator, and programmable KP, KI parameter realizes the PI regulations of system.
(5)Built-in A/D modules and automatic zero set function, can real-time current accurately and outside stable collection.
Because in actual use, the output of magnetic valve is not required for changing in real time, but is entered according to different operating modes
The different adjustment of row, therefore, both of which is there is during whole work, one kind is equilibrium mode, i.e. electromagnetic valve work exists
The pattern of steady operation for a period of time.
When magnetic valve needs to be converted to another operating mode from a kind of working condition requirement within the shorter time, in magnetic valve
Bigger curent change occurs in portion's coil, and now system enters transient mode.Transient mode can reduce load current change
Transit time when changing larger.
By above-mentioned elaboration, those skilled in the art can implement.
Furthermore, it is necessary to illustrate, the specific embodiment described in this specification, the shape of its parts and components, it is named
Title etc. can be different, and the above content described in this specification is only to structure example explanation of the present invention.It is all according to
The equivalence changes or simple change done according to the construction described in inventional idea of the present invention, feature and principle, are included in this hair
In the protection domain of bright patent.Those skilled in the art can do various to described specific embodiment
The modification of various kinds or supplement are substituted using similar mode, without departing from structure of the invention or surmount present claims
Scope defined in book, protection scope of the present invention all should be belonged to.
Claims (4)
1. a kind of microprocessor control system, including power module and MCU microcontrollers, the MCU microcontrollers pass through power supply
Module for power supply, it is characterised in that:Also include communication transfer interface module, driving chip, power model and current detection circuit, it is described logical
Letter modular converter connects with MCU microcontrollers, and driving chip is connected with power model, the driving chip and MCU microcontroller phases
Even, current detection circuit matches with power model.
2. microprocessor control system according to claim 1, it is characterised in that:Also include clock source, watchdog module,
The clock source and watchdog module are connected with MCU microcontrollers.
3. microprocessor control system according to claim 1, it is characterised in that:The MCU microcontrollers pass through digital-to-analogue
Translation interface is connected with driving chip.
4. a kind of control method of microcontroller, existed using microprocessor control system, its feature described in any claim 1-3
In:Step is as follows:
(1)Power module provides the working power of MCU microcontrollers;
(2)Communication transfer interface module receives the order of CAN device, the order that reconvert can recognize that to MCU microcontrollers, and by MCU
The signal of microcontroller feedback is sent to CAN device;
(3)MCU microcontrollers receive order, regenerate control strategy, then perform order, and imperative structures are fed back;
(4)Driving chip receives the control signal of MCU microcontrollers, converts the signal into current output signal;
(5)Current output signal is amplified processing by power model;
(6)Output electric current measure of the current detection circuit to power model;
(7)Output current value is fed back into MCU microcontrollers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711171863.5A CN107786076A (en) | 2017-11-22 | 2017-11-22 | Microprocessor control system and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711171863.5A CN107786076A (en) | 2017-11-22 | 2017-11-22 | Microprocessor control system and its control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107786076A true CN107786076A (en) | 2018-03-09 |
Family
ID=61430738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711171863.5A Pending CN107786076A (en) | 2017-11-22 | 2017-11-22 | Microprocessor control system and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786076A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113131919A (en) * | 2019-12-31 | 2021-07-16 | 北京兆易创新科技股份有限公司 | Driving chip, driving method and control system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1458555A (en) * | 2003-05-06 | 2003-11-26 | 北京航空航天大学 | DC motor servo driving system based on network |
CN106080499A (en) * | 2016-04-28 | 2016-11-09 | 天津职业技术师范大学 | A kind of active pretension seat belt controlling system |
-
2017
- 2017-11-22 CN CN201711171863.5A patent/CN107786076A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1458555A (en) * | 2003-05-06 | 2003-11-26 | 北京航空航天大学 | DC motor servo driving system based on network |
CN106080499A (en) * | 2016-04-28 | 2016-11-09 | 天津职业技术师范大学 | A kind of active pretension seat belt controlling system |
Non-Patent Citations (1)
Title |
---|
周东杰: "基于TLE7242G的嵌入式电液比例控制系统的研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113131919A (en) * | 2019-12-31 | 2021-07-16 | 北京兆易创新科技股份有限公司 | Driving chip, driving method and control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747561B (en) | Adjustment of load compensated switching power supply | |
CN102122187B (en) | Method and device for quickly debugging avalanche diode in optical module production | |
CN105811780B (en) | A kind of output voltage constant pressure control method of primary side feedback inverse excitation type converter | |
CN106838432B (en) | A kind of electronically controlled unit pump driving circuit for electromagnetic valve and its control method | |
CN203645873U (en) | Load regulation compensating circuit based on quasi-resonance LED constant current switch power supply | |
CN101777828A (en) | Control device with compensatory active PFC (power factor correction) and control method thereof | |
CN107947578A (en) | Current sampling circuit applied to buck-boost circuit and control method thereof | |
CN104300852B (en) | Small-sized electric brushed servo controller | |
CN102196621A (en) | LED dimming circuit | |
CN103116118A (en) | Digital photovoltaic array imitator system based on look-up table | |
CN107786076A (en) | Microprocessor control system and its control method | |
CN106093493A (en) | A kind of program control AC constant-current source system | |
CN205424026U (en) | Digit locator circuit | |
CN203387422U (en) | High-efficiency numerical-control voltage-stabilized power supply | |
CN208782994U (en) | Low-power consumption power supply circuit for NB-IoT communication module | |
CN204013303U (en) | Control device of stepping motor | |
CN103973198A (en) | Electric car three-phase half-bridge motor driving circuit with multi-path constant voltage output | |
CN201315563Y (en) | Control circuit of digital variable frequency generator controller | |
CN207599102U (en) | Electromagnetic valve driver control system | |
CN107806531A (en) | Electromagnetic valve driver control system and its control method | |
CN210490754U (en) | No position bi-motor controller circuit | |
CN207673927U (en) | A kind of New Type Proportional valve-driving circuit | |
CN205752982U (en) | The drive circuit for laser that PWM current constant mode realizes | |
CN109782662A (en) | A kind of digital laser control power supply | |
CN206250973U (en) | A kind of intelligent boost-buck converter |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180309 |