CN206865387U - A kind of direct current generator intelligent speed-governing system - Google Patents
A kind of direct current generator intelligent speed-governing system Download PDFInfo
- Publication number
- CN206865387U CN206865387U CN201720820317.9U CN201720820317U CN206865387U CN 206865387 U CN206865387 U CN 206865387U CN 201720820317 U CN201720820317 U CN 201720820317U CN 206865387 U CN206865387 U CN 206865387U
- Authority
- CN
- China
- Prior art keywords
- direct current
- current generator
- module
- power supply
- chip microcomputer
- 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
Links
Landscapes
- Control Of Ac Motors In General (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
It the utility model is related to a kind of direct current generator intelligent speed-governing system, including single-chip microcomputer, the display module of real-time display DC motor speed, control the key-press module of direct current generator execution action, drive the drive module of direct current generator, direct current generator, power module, detect the Hall sensor of DC motor speed and the clock circuit of clock signal of system is provided, described single-chip microcomputer respectively with display module, key-press module, Hall sensor and clock circuit are electrically connected, described Hall sensor is arranged in the rotating shaft of direct current generator, described single-chip microcomputer is also electrically connected by light-coupled isolation module with drive module;Described power module includes be the first power supply unit that single-chip microcomputer is individually powered and is the second power supply unit that direct current generator, drive module are powered.The system is controlled using single-chip microcomputer, and circuit structure is simple, and single-chip microcomputer uses single power supply module, and circuit interference is small, and control accuracy is high.
Description
Technical field
DC motor speed-regulating equipment technical field is the utility model is related to, specifically a kind of direct current generator intelligent speed-regulating
System.
Background technology
Motor is as most important electromechanical energy conversion device, and its application is throughout the every field of national economy
And daily life, either in industrial and agricultural production, communications and transportation, national defence, Aero-Space, health care, commercial affairs and do
Postulate in, or in the household electrical appliance and consumption electronic product (such as refrigerator, air-conditioning, DVD) of daily life, all largely
Use various motor.Direct current generator has the characteristics that startability is good, speed governing is convenient, it is flexible to control, extensively
Ground is applied to a variety of occasions such as industrial, civilian.The measurement and control of DC motor speed, it is always the emphasis of people's research.
The speed regulating control of direct current generator typically all using speed regulator carry out speed governing, the price of speed regulator costly, and
Control the PWM ripple precision of output relatively low;Speed regulator and DC motor Driver module share power module, and meeting bad student does between each other
Filtering is disturbed, is unfavorable for accurately controlling.
Utility model content
The utility model is directed to above-mentioned problem, there is provided one kind is using single-chip microcomputer control, flexibility is high, single-chip microcomputer and
It is not interfere with each other between drive module, the direct current generator intelligence control system that control accuracy is high.
The utility model to achieve the above object, takes following technical scheme to be achieved:
A kind of direct current generator intelligent speed-governing system, including the display module of single-chip microcomputer, real-time display DC motor speed, control
The key-press module of direct current generator execution action processed, the drive module for driving direct current generator, direct current generator, power module, detection are straight
Flow the Hall sensor of motor speed and the clock circuit of clock signal of system is provided, described single-chip microcomputer is respectively with showing mould
Block, key-press module, Hall sensor and clock circuit are electrically connected, and described Hall sensor is arranged on turning for direct current generator
On axle, described single-chip microcomputer is also electrically connected by light-coupled isolation module with drive module;It is monolithic that described power module, which includes,
The first power supply unit and be direct current generator, the second power supply unit of drive module power supply that machine is individually powered.
Further, the model STC90C58AD of described single-chip microcomputer, is built-in with several timers.
Further, described display module is LCD12864 LCD MODULEs, has Chinese word library and 4 or 8
Parallel, 2 lines or the serial interface of 3 lines.
Further, the first described power supply unit is 5V dc sources, provided with LED power indicator lamp and several filtering
Electric capacity.
Further, the second described power supply unit output 12V DC voltage is powered for direct current generator, the second power supply unit
12V DC voltage conversion is also turned into the 5V DC voltages of drive module power supply by 7805 circuit of three-terminal voltage-stabilizing integrated.
Further, the second described power supply unit is additionally provided with LED power indicator lamp, and 7,805 3 sections of integrated regulators are simultaneously
It is associated with several filter capacitors.
Further, described drive module is L298N drive circuits, three pins IN1, IN2 of L298N drive circuits
It is connected after light-coupled isolation module is electrically connected with ENA with single-chip microcomputer.
Further, described key-press module includes LED light and the key switch with monolithic mechatronics, described
Key switch includes start and stop button, rotating button, turbo and deceleration button.
The utility model not only realizes the intelligent speed-regulating of direct current generator, also has the advantages that:
1), using the control of single-chip microcomputer, control system integration degree is high, and circuit structure is simple, and flexibility is high.
2) independent power supply unit, is provided for single-chip microcomputer, system interference is few, and stability is higher.
3), light-coupled isolation module is set between single-chip microcomputer and drive module, reduce mutual interference, improve system
Control accuracy.
Brief description of the drawings
Fig. 1 is structured flowchart of the present utility model;
Fig. 2 is the pin layout viewing of the single-chip microcomputer of the utility model embodiment;
Fig. 3 is the electrical schematic diagram of first power supply unit of the utility model embodiment;
Fig. 4 is the electrical schematic diagram of second power supply unit of the utility model embodiment;
Fig. 5 is that the drive module of the utility model embodiment is electrically connected schematic diagram;
Fig. 6 is that the key-press module of the utility model embodiment is electrically connected schematic diagram;
Fig. 7 is the utility model embodiment control method flow chart.
Embodiment
Embodiment of the present utility model is described in detail below in conjunction with accompanying drawing.
Such as Fig. 1, a kind of direct current generator intelligent speed-governing system, including single-chip microcomputer, the display of real-time display DC motor speed
Module, the key-press module of control direct current generator execution action, the drive module for driving direct current generator, direct current generator, power module,
Detect the Hall sensor of DC motor speed and the clock circuit of clock signal of system is provided, described single-chip microcomputer is respectively with showing
Show that module, key-press module, Hall sensor and clock circuit are electrically connected, described Hall sensor is arranged on direct current generator
Rotating shaft on, described single-chip microcomputer is also electrically connected by light-coupled isolation module with drive module;Described power module includes
The first power supply unit and be direct current generator, the second power supply unit of drive module power supply that single-chip microcomputer is individually powered.
In a preferred embodiment, single-chip microcomputer selects STC90C58AD, and STC90C58AD single-chip microcomputers are a kind of low work(
Consumption, the 8-digit microcontroller of high-performance CMOS 8, have 8K in-system programmable components flash storages.TC90C58AD has following standard
Function:8k bytes Flash, 256 byte RAM, 32 I/O mouth lines, WatchDog Timer, 2 data pointers, three 16 bit timings
Device/counter, one 6 vectorial 2 grades of interrupt structures, full duplex serial port, crystal oscillator and clock circuit in piece.In this control system
In, single-chip microcomputer internal resource is as shown in table 1 using table, specific pin arrangement and connection figure reference picture 2.The system is using in outer
The rotational pulse of disconnected detection motor, using timer 0 by timing 1S, real-time update tachometer value, PWM is produced by timer 1
Ripple.
Table 1
Described display module is LCD12864 LCD MODULEs, have Chinese word library and 4 or 8 parallel-by-bits, 2 lines or
The serial interface of 3 lines.Contain national standard one-level, two level simplified form of Chinese Character character library inside LCD12864 LCD MODULEs;It, which shows, divides
Resolution is 128 × 64, built-in 8192 16*16 point Chinese characters and 128 16*8 point ascii character-sets.LCD12864 liquid crystal displays
The pin of module and single-chip microcomputer connects reference picture 2 or table 1.
For same system, a general power module seems convenient direct.But for accuracy-control system
For, power module is shared, waveform voltage interference can be produced between each element.This direct current generator intelligent speed-governing system uses two
Individual power module is in charge of control module and execution unit, and mutually power supply is not interfere with each other, and control accuracy is higher.
As shown in figure 3, single-chip microcomputer is individually powered using the first power supply unit, inputs of the J2 as the first power supply unit
Power supply, the DC voltage of input is 5V, and J2 1 pin serial connection has power switch SW2, in parallel between power switch SW2 and 2 pins
There are electric capacity C8, electric capacity C9 and LED power indicator lamp, LED power indicator lamp is also in series with single including protective resistance R8, the first power supply
For member by the VCC ports output connection single-chip microcomputer being connected between electric capacity C8 and C9, electric capacity C8 and C9 play a part of filtering.Its
In, electric capacity C8 is 10 μ F, and electric capacity C9 is 104 μ F, and resistance R8 is 1K Ω.
Powered as shown in figure 4, the second power supply unit is direct current generator and drive module, J1 is defeated as the first power supply unit
Enter voltage, the DC voltage of input is 12V, J1 1 pin connection power switch SW1;7805 circuit of three-terminal voltage-stabilizing integrated include
The GND pin of in pin, out pin and ground connection, in pin and J1 1 pin connection, GND pin connect 2 pins, and in pin connect parallel connection with GND pin
There is an electric capacity C1 and electric capacity C3, out pin connects with GND pin and is parallel with electric capacity C4, electric capacity C2 and LED power indicator lamp, LED power and refers to
Show that lamp is also in series with protective resistance R7;Second power supply unit is output to direct current generator by connecting the S12V output ends of in pin, leads to
The S5V output ends for crossing connection out pin are output to drive module.
The direct current generator that the present embodiment is selected is micro-machine, correspondingly, this reality is used as from low power L298N modules
Apply the drive module of example.Such as Fig. 5, L298N uses dual power supply, and wherein 5V power supplys are operating circuit itself, 12V power supplys to
Motor.L298N IN1, IN2 and ENA pin passes through light-coupled isolation module and single-chip microcomputer STC90C58AD I/O respectively
Interface P1.0, P1.1 and P1.2 are electrically connected, and direct current generator is output to by pin OUT1 and OUT.Single-chip microcomputer STC90C58AD's
Pin P1.0 and P1.1 controls the rotating of direct current generator by the height of output level respectively, and pin P1.2 is used to control directly
Flow the PWM ripples of motor.By controlling the dutycycle of PWM ripples in the utility model, to realize the intelligent speed-regulating of direct current generator.
Speed measuring equipment of the Hall sensor as direct current generator, a magnet is housed on machine shaft, motor turns around, Hall
Sensor runs into magnet, that is, sends a low drop-out along signal, and this signal, which is given, interrupts 0 pin INTO outside single-chip microcomputer, then
Trigger once outer interrupt.In outer interruption subroutine, the number triggered to trailing edge counts, in single-chip microcomputer external interrupt 1
In, once this count value, then the processing by software is read per 1S, you can motor speed is obtained, then, in LCD12864 liquid crystal
Screen display comes out.
Intelligent speed-regulating control program of the present utility model includes following subprogram:
Outer interruption subroutine, the detection Hall sensor pulse signal that sends calculate the rotating speed of direct current generator, direct current
Machine every revolution, Hall sensor will send pulsatile once signal, and outer interruption subroutine will detect record once;
Timer T0 interruption subroutines, it is 1s to set timing, calculates the pulse signal of interruption subroutine record inside and outside 1s
Number, the display rotating speed of the direct current generator of real-time update display module;
Timer T1 interruption subroutines, it is 2ms to set timing, and single-chip microcomputer produces PWM ripples by way of Interruption,
After drive module is amplified, the rotor voltage of direct current generator is controlled, PWM low and high levels are changed by the input of key-press module
Time, and then change the dutycycle of PWM waveform, to realize the control to motor PWM speed governing.
As Fig. 7, concrete operation step are as follows:
S1, system initialization, timer T0 timing lengths are set as 50ms;Set a length of during timer T1 Interruption
2ms, timing mark number is represented with count, count maximums are 20 times, and count initial values are 10, cycle T=2 × 20=
40ms;Define overall situation function:
Dutycycle=count (timing mark number) * 2ms (timing)/T (cycle) * 100%;
The input voltage of motor=dutycycle * 12V (supply voltage);
S2, start and stop button is pressed for the first time, the timer T1 of single-chip microcomputer starts, and PWM ripples are produced by timer interrupt mode, by
Drive module driving direct current generator starts;
S3, monolithic machine testing calculate the outer interruption pulse signal number of Hall sensor in 1s, while start timer T0,
Interruption 20 times, the rotating speed that direct current generator is completed in 1s calculates, and real-time update is shown to LCD12864 liquid crystal display modes
Block;
S4-1, rotating button are pressed for the first time, and the output of single-chip microcomputer level is:P1.0=1, P2.0=0, correspondingly by driving
Dynamic model block motor rotates forward;Rotating button is pressed again, and the output of single-chip microcomputer level is:P1.0=0, P2.0=1,
Correspondingly reversely rotated by drive module motor;
S4-2, turbo are often by next time, and timing mark number count will add 1, PWM ripples duty caused by timer T1
Than increase, the increase of direct current generator input voltage, direct current generator accelerates;
S4-3, deceleration button is often by next time, and timing mark number count will subtract 1, PWM ripples duty caused by timer T1
Than reducing, direct current generator input voltage reduces, and direct current generator slows down.
The utility model uses PWM pulsewidth modulation modes of speed regulation, changes motor by changing PWM dutycycle
Armature voltage, realize the speed governing to motor.
The speed regulating control of motor by the corresponding action of the input of key-press module triggering, come change PWM low and high levels when
Between, and then change the dutycycle of PWM waveform, realize the functions such as start and stop, rotating forward, reversion, acceleration and deceleration.Such as Fig. 6, button mould
Block is mainly connected by the I/O interfaces of key switch and single-chip microcomputer, and key switch includes start and stop button, rotating button, accelerates to press
Key and deceleration button, each key switch are additionally provided with corresponding LED light.The utility model adds button stabilization program,
When single-chip microcomputer has detected that button is pressed, program can postpone 5-10ms and detect whether button is pressed again, if confirming, button is pressed
Under, program can judge the button for successfully by next time.The program effectively eliminates false touch and the button that key jitter is brought
The problem of number judges.
Only as described above, the only preferred embodiment of the utility model, when the utility model can not be limited with this
The scope of implementation, i.e., generally according to simple made by the content described in the utility model claims and utility model specification
Equivalent changes and modifications, all still belong within the utility model claims scope.In addition, summary part and title are only
For aiding in patent document search to be used, not it is used for limiting the interest field of the utility model.
Claims (8)
- A kind of 1. direct current generator intelligent speed-governing system, it is characterised in that including single-chip microcomputer, real-time display DC motor speed it is aobvious Show module, the key-press module of control direct current generator execution action, the drive module for driving direct current generator, direct current generator, power supply mould Block, the Hall sensor for detecting DC motor speed and the clock circuit that clock signal of system is provided, described single-chip microcomputer difference It is electrically connected with display module, key-press module, Hall sensor and clock circuit, described Hall sensor is arranged on direct current In the rotating shaft of motor, described single-chip microcomputer is also electrically connected by light-coupled isolation module with drive module;Described power module bag Include the first power supply unit individually powered for single-chip microcomputer and be direct current generator, drive module power supply the second power supply unit.
- 2. direct current generator intelligent speed-governing system according to claim 1, it is characterised in that the model of described single-chip microcomputer STC90C58AD, it is built-in with several timers.
- 3. direct current generator intelligent speed-governing system according to claim 1, it is characterised in that described display module is LCD12864 LCD MODULEs, there is Chinese word library and 4 or 8 parallel-by-bits, 2 lines or the serial interface of 3 lines.
- 4. direct current generator intelligent speed-governing system according to claim 1, it is characterised in that the first described power supply unit is 5V dc sources, provided with LED power indicator lamp and several filter capacitors.
- 5. direct current generator intelligent speed-governing system according to claim 1, it is characterised in that the second described power supply unit is defeated Go out 12V DC voltage to power for direct current generator, the second power supply unit is also electric by 12V DC by 7805 circuit of three-terminal voltage-stabilizing integrated Pressure is converted into the 5V DC voltages of drive module power supply.
- 6. direct current generator intelligent speed-governing system according to claim 5, it is characterised in that the second described power supply unit is also Provided with LED power indicator lamp, 7,805 3 sections of integrated regulators are parallel with several filter capacitors.
- 7. direct current generator intelligent speed-governing system according to claim 1, it is characterised in that described drive module is L298N drive circuits, three pins IN1, IN2 and ENA of L298N drive circuits electrically connect after light-coupled isolation module with monolithic Machine connects.
- 8. direct current generator intelligent speed-governing system according to claim 1, it is characterised in that described key-press module includes LED light and the key switch with monolithic mechatronics, described key switch include start and stop button, rotating button, added Fast button and deceleration button.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720820317.9U CN206865387U (en) | 2017-07-07 | 2017-07-07 | A kind of direct current generator intelligent speed-governing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720820317.9U CN206865387U (en) | 2017-07-07 | 2017-07-07 | A kind of direct current generator intelligent speed-governing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206865387U true CN206865387U (en) | 2018-01-09 |
Family
ID=60832285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720820317.9U Expired - Fee Related CN206865387U (en) | 2017-07-07 | 2017-07-07 | A kind of direct current generator intelligent speed-governing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206865387U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107529684A (en) * | 2017-07-07 | 2018-01-02 | 广东技术师范学院 | A kind of direct current generator intelligent speed-governing system |
CN110486521A (en) * | 2019-09-03 | 2019-11-22 | 陕西科技大学 | A kind of execution time adjustable electric valve actuator control device and method |
CN112186874A (en) * | 2020-11-02 | 2021-01-05 | 安徽理工大学 | Single chip microcomputer controlled direct current motor speed regulating system of battery car |
CN113067508A (en) * | 2021-03-26 | 2021-07-02 | 尹业兴 | Medical instrument motor drive circuit |
-
2017
- 2017-07-07 CN CN201720820317.9U patent/CN206865387U/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107529684A (en) * | 2017-07-07 | 2018-01-02 | 广东技术师范学院 | A kind of direct current generator intelligent speed-governing system |
CN110486521A (en) * | 2019-09-03 | 2019-11-22 | 陕西科技大学 | A kind of execution time adjustable electric valve actuator control device and method |
CN112186874A (en) * | 2020-11-02 | 2021-01-05 | 安徽理工大学 | Single chip microcomputer controlled direct current motor speed regulating system of battery car |
CN113067508A (en) * | 2021-03-26 | 2021-07-02 | 尹业兴 | Medical instrument motor drive circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206865387U (en) | A kind of direct current generator intelligent speed-governing system | |
CN107529684A (en) | A kind of direct current generator intelligent speed-governing system | |
CN202334412U (en) | Brushless DC motor control system | |
CN203827230U (en) | Non-inductive brushless DC (direct current) motor speed regulator for multi-rotor unmanned aerial vehicle | |
CN102291065A (en) | Brushless direct current motor control device based on DSP (Digital Signal Processor) | |
CN203883718U (en) | MCU-based switch reluctance motor controller | |
CN202471751U (en) | Signal-generator simulating vehicle speed and engine rotating speed | |
CN105240304B (en) | Intelligent controller | |
CN205067514U (en) | Based on STC motor rotation number caliber | |
Zhao et al. | Design of Motor Speed Control System Based on STM32 Microcontroller | |
CN204886763U (en) | Brushless DC motor drives real -time embedded control circuit | |
CN207410256U (en) | Brushless DC motor control system | |
CN106787867A (en) | A kind of rate gyroscope power supply | |
CN202102006U (en) | Device for measuring rotating speed of air conditioner fan | |
CN215378794U (en) | Dynamic braking circuit of servo motor | |
CN105656381A (en) | General AC motor driving detection system | |
CN201816465U (en) | Motormeter based on high-speed eight-bit single-chip microcomputer | |
CN201909967U (en) | Intelligent signal simulation system for gasoline engine | |
CN205265571U (en) | Brushless DC motor speed adjusting device | |
CN202746015U (en) | Multifunctional adjustable rotating speed alarm timing control meter | |
CN104360613B (en) | A kind of control circuit of intelligent electric instrument | |
CN202856676U (en) | Stepper motor driver | |
CN207502695U (en) | A kind of Multifunctional power energy detection module of general purpose engine | |
CN205407646U (en) | PWM direct current motor speed control system based on singlechip | |
CN207439444U (en) | Transmission sensors detector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180109 Termination date: 20200707 |