CN104601059A - Direct-current motor controller and method - Google Patents

Direct-current motor controller and method Download PDF

Info

Publication number
CN104601059A
CN104601059A CN201510027138.5A CN201510027138A CN104601059A CN 104601059 A CN104601059 A CN 104601059A CN 201510027138 A CN201510027138 A CN 201510027138A CN 104601059 A CN104601059 A CN 104601059A
Authority
CN
China
Prior art keywords
motor
module
chip microcomputer
pic16f688
signal
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
CN201510027138.5A
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.)
Xinyang Normal University
Original Assignee
Xinyang Normal University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinyang Normal University filed Critical Xinyang Normal University
Priority to CN201510027138.5A priority Critical patent/CN104601059A/en
Publication of CN104601059A publication Critical patent/CN104601059A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Direct Current Motors (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a direct-current motor controller and method. The direct-current motor controller comprises a single-chip microcomputer PIC16F688 minimum system, a signal receiving module, a 7805 voltage stabilizing module, a relay module and an optical coupler module. By the adoption of a control chip PIC16F688, the problem that an existing motor completely relies on hardware control is solved, and control over a motor is more intelligent and more stable; due to adaptation of a procedure, different requirements of the outside world can be met without changes of a peripheral circuit; the problem that an existing system is too high in pertinence and cannot be changed according to the specific actual situation is solved; when rotor locking of the motor happens, the system has a rapid response, the phenomena, such as the time delay phenomenon, do not happen, a power source of the motor can be immediately disconnected, and the motor is protected from being burnt out; meanwhile, a wireless remote control module is added, and forward rotation, reverse rotation and stop of the motor are controlled in a wireless mode.

Description

A kind of DC motor controller and method
Technical field
The invention belongs to electroporation field, relate to a kind of DC motor controller and method.
Background technology
The DC motor controller of prior art adopts the connection of hardware, and when motor rotation blockage, information gathering insufficient sensitivity is high, and between components and parts, dependence is too strong, and components and parts number is too many, and performance is stable not, inconvenient maintenance.Circuit requirement precision is high, complex circuit designs, and components and parts are too many, and cost is high.Due to pure by signal wiring, its function and apply unalterable, cannot adapt to different operational environments.
Summary of the invention
The object of the invention is to the defect overcoming the existence of above-mentioned technology, a kind of DC motor controller and method are provided, adopt PIC16F688 control chip, solve motor in the past and rely on hardware controls completely, more intelligent to the control of motor, stabilisation.By the rewriting of program, peripheral circuit can be need not changed, just different extraneous requirements can be tackled.Solve system specific aim in the past too strong, cannot change according to concrete actual conditions.After motor suffers stall, system response is rapid, without situations such as time delays, can cut off motor power immediately, and protection motor can not be burned, and increases wireless remote control module, by controlled in wireless motor positive and inverse and stopping simultaneously.
Its concrete technical scheme is:
A kind of DC motor controller, comprises single-chip microcomputer PIC16F688 minimum system 1, signal receiving module 2,7805 Voltage stabilizing module 3, relay module 4 and optical coupling module 5,
Described single-chip microcomputer PIC16F688 minimum system 1 is the system core, runs control pin according to internal processes;
Described signal receiving module 2 is for receiving external signal;
The 12V power supply of input dress is changed to 5V power supply, for system provides energy by described 7805 Voltage stabilizing modules 3;
Described relay module 4 when reception external signal after, to the processing controls of circuit;
Described optical coupling module 5 according to the change of R2 sampling resistor both end voltage, thus changes K3 level point height.
Be connected mode: wherein letter identical representative device in line terminal is interconnected; Vcc end is 5V power end;
A kind of DC motor control method, comprises the following steps:
Step 1; Trigger: when A or B triggers 12V voltage, be divided to K4, K5 by R5, R6, signal changed into the voltage range of single-chip microcomputer identification;
Step 2; Signal transacting: single-chip microcomputer PIC16F688 receives K4, K5 leg signal, by the operation of single-chip microcomputer internal processes, judges the low and high level exporting K1, K2, K3 pin;
Step 3: starter motor: Q1, Q2, according to incoming level height, put conducting and still end, thus change relay operating state, change circuit connecting mode;
Step 4: motor rotation blockage: when after motor blocking, electric current in loop increases at random, R2 is sampling resistor, after electric current increases to certain value, after R2 both end voltage increases above 3.7V at random, optical coupler is started working, bypass circuit conducting, LED0 is luminous, the blocking of display motor, K3, by former electronegative potential, changes into high potential;
Step 5: motor power-off: when K3 receives high potential, single-chip microcomputer PIC16F688 Received signal strength, by internal interrupt program, K1, K2 pin level is all set to low level, now, triode Q1Q2 is in cut-off state, and two relays are in normally off, do not form loop, motor power-off stall.
Compared with prior art, beneficial effect of the present invention is: the present invention changes the design of pure hardware in the past, and access control chip, makes the control of motor more intelligent.Because program can compiled strong, more convenient, the program by changing the control program of control chip inside, thus tackles the different market demands, and need not make a change hardware circuit.Meanwhile, because in circuit, components and parts are fewer, be convenient to maintenance and the maintenance in later stage, also greatly reduce production cost simultaneously.
Accompanying drawing explanation
Fig. 1 is structure chart or the schematic diagram of DC motor controller;
Fig. 2 is the flow chart of DC motor control method;
Fig. 3 is the board design figure of DC motor controller.
Embodiment
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is described in more detail.
With reference to Fig. 1, a kind of DC motor controller, comprises single-chip microcomputer PIC16F688 minimum system 1, signal receiving module 2,7805 Voltage stabilizing module 3, relay module 4 and optical coupling module 5,
Described single-chip microcomputer PIC16F688 minimum system 1 is the system core, runs control pin according to internal processes;
Described signal receiving module 2 is for receiving external signal;
The 12V power supply of input dress is changed to 5V power supply, for system provides energy by described 7805 Voltage stabilizing modules 3;
Described relay module 4 when reception external signal after, to the processing controls of circuit;
Described optical coupling module 5 according to the change of R2 sampling resistor both end voltage, thus changes K3 level point height.
Be connected mode: wherein letter identical representative device in line terminal is interconnected; Vcc end is 5V power end;
The relevant position of single-chip microcomputer PIC16F688 minimum system 1, signal receiving module 2,7805 Voltage stabilizing module 3, relay module 4 and optical coupling module 5 can be changed flexibly according to actual conditions in practical application.
As shown in Figure 2, a kind of DC motor control method, comprises the following steps:
Step 1; Trigger: when A or B triggers 12V voltage, be divided to K4, K5 by R5, R6, signal changed into the voltage range of single-chip microcomputer identification; Also can adopt hcs300 wireless signal decoding device Received signal strength, be directly sent to K4 on K5, HCS300 uses K EE L OQ frame hopping technology, and has that fail safe is high, package dimension is little and the characteristic such as cost is low.Be applied to this project can effectively launch and Received signal strength.
Step 2; Signal transacting: single-chip microcomputer PIC16F688 receives K4, K5 leg signal, by the operation of single-chip microcomputer internal processes, judges the low and high level exporting K1, K2, K3 pin.During K4 Received signal strength, K1 is set to high level; During K5 Received signal strength, K5 is set to high level
Step 3: starter motor: Q1, Q2, according to incoming level height, put conducting and still end, thus change relay operating state, change circuit connecting mode; Such as: when K1 is set to high level, triode 8050 is due to triode character, and collector electrode, emitter conducting, relay contact forwards normal battle to by normally closed point, and circuit forms loop, and motor rotates forward.
Step 4: motor rotation blockage: when after motor blocking, electric current in loop increases at random, R2 is sampling resistor, after electric current increases to certain value, after R2 both end voltage increases above 3.7V at random, optical coupler is started working, bypass circuit conducting, LED0 is luminous, the blocking of display motor, K3, by former electronegative potential, changes into high potential;
Step 5: motor power-off: when K3 receives high potential, single-chip microcomputer PIC16F688 Received signal strength, by internal interrupt program, K1, K2 pin level is all set to low level, now, triode Q1Q2 is in cut-off state, and two relays are in normally off, do not form loop, motor power-off stall.
The board design figure of DC motor controller as shown in Figure 3.
Embody rule:
1 is applied on furniture automatic curtain, reaches remote control and the switch of curtain.
2 are applied on desk, and the position rotating of the devices such as computer moves.
The above; be only the present invention's preferably embodiment; protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, the simple change of the technical scheme that can obtain apparently or equivalence are replaced and are all fallen within the scope of protection of the present invention.

Claims (2)

1. a DC motor controller, it is characterized in that, comprise single-chip microcomputer PIC16F688 minimum system (1), signal receiving module (2), 7805 Voltage stabilizing modules (3), relay module (4) and optical coupling module (5)
Described single-chip microcomputer PIC16F688 minimum system (1) is the system core, runs control pin according to internal processes;
Described signal receiving module (2) is for receiving external signal;
The 12V power supply of input dress is changed to 5V power supply, for system provides energy by described 7805 Voltage stabilizing modules (3);
Described relay module (4) when reception external signal after, to the processing controls of circuit;
Described optical coupling module (5) according to the change of R2 sampling resistor both end voltage, thus changes K3 level point height.
Be connected mode: wherein letter identical representative device in line terminal is interconnected; Vcc end is 5V power end;
2. a DC motor control method, is characterized in that, comprises the following steps: step 1; Trigger: when A or B triggers 12V voltage, be divided to K4, K5 by R5, R6, signal changed into the voltage range of single-chip microcomputer identification;
Step 2; Signal transacting: single-chip microcomputer PIC16F688 receives K4, K5 leg signal, by the operation of single-chip microcomputer internal processes, judges the low and high level exporting K1, K2, K3 pin;
Step 3: starter motor: Q1, Q2, according to incoming level height, put conducting and still end, thus change relay operating state, change circuit connecting mode;
Step 4: motor rotation blockage: when after motor blocking, electric current in loop increases at random, R2 is sampling resistor, after electric current increases to certain value, after R2 both end voltage increases above 3.7V at random, optical coupler is started working, bypass circuit conducting, LED0 is luminous, the blocking of display motor, K3, by former electronegative potential, changes into high potential;
Step 5: motor power-off: when K3 receives high potential, single-chip microcomputer PIC16F688 Received signal strength, by internal interrupt program, K1, K2 pin level is all set to low level, now, triode Q1Q2 is in cut-off state, and two relays are in normally off, do not form loop, motor power-off stall.
CN201510027138.5A 2015-01-16 2015-01-16 Direct-current motor controller and method Pending CN104601059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510027138.5A CN104601059A (en) 2015-01-16 2015-01-16 Direct-current motor controller and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510027138.5A CN104601059A (en) 2015-01-16 2015-01-16 Direct-current motor controller and method

Publications (1)

Publication Number Publication Date
CN104601059A true CN104601059A (en) 2015-05-06

Family

ID=53126639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510027138.5A Pending CN104601059A (en) 2015-01-16 2015-01-16 Direct-current motor controller and method

Country Status (1)

Country Link
CN (1) CN104601059A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106580364A (en) * 2016-11-16 2017-04-26 Tcl医疗放射技术(北京)有限公司 X-ray machine limiting protection device and method thereof
CN110212492A (en) * 2019-06-20 2019-09-06 广东电网有限责任公司 A kind of motor operation mechanism

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529515A (en) * 2003-10-08 2004-09-15 深圳创维-Rgb电子有限公司 External demagnetizing method and device
US20060208549A1 (en) * 2003-01-03 2006-09-21 Johnson Controls Technology Company Automotive seat with control system
CN101082822A (en) * 2007-06-01 2007-12-05 张建华 Control method of vehicle DC electric machine
CN101862246A (en) * 2010-05-28 2010-10-20 宁波富时医疗器械有限公司 Band type bathing lifting controller
CN102345590A (en) * 2010-08-03 2012-02-08 深圳市合信达控制系统有限公司 Water pump sticking detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060208549A1 (en) * 2003-01-03 2006-09-21 Johnson Controls Technology Company Automotive seat with control system
CN1529515A (en) * 2003-10-08 2004-09-15 深圳创维-Rgb电子有限公司 External demagnetizing method and device
CN101082822A (en) * 2007-06-01 2007-12-05 张建华 Control method of vehicle DC electric machine
CN101862246A (en) * 2010-05-28 2010-10-20 宁波富时医疗器械有限公司 Band type bathing lifting controller
CN102345590A (en) * 2010-08-03 2012-02-08 深圳市合信达控制系统有限公司 Water pump sticking detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106580364A (en) * 2016-11-16 2017-04-26 Tcl医疗放射技术(北京)有限公司 X-ray machine limiting protection device and method thereof
CN106580364B (en) * 2016-11-16 2020-06-09 上海惠影医疗科技有限公司 X-ray machine limiting protection device and method thereof
CN110212492A (en) * 2019-06-20 2019-09-06 广东电网有限责任公司 A kind of motor operation mechanism

Similar Documents

Publication Publication Date Title
CN204009746U (en) A kind of electronic equipment and auxiliary switch machine thereof
CN201307685Y (en) Intelligent power socket based on short message service (SMS) control
CN101533303A (en) Switch power supply circuit with power saving function
CN104601059A (en) Direct-current motor controller and method
CN104767505A (en) Switching circuit with circuit protection function
CN103019208A (en) Electronic equipment double control module in smart home
CN209908371U (en) Modular control system of automatic garage door
CN104914966A (en) Single-chip microcomputer self-outage restarting circuit
CN203520299U (en) Timer-power-on control circuit
CN201527607U (en) On-off control card based on PCI-E slot
CN205355776U (en) Short -circuit protection circuit based on power load is unusual
CN204332835U (en) A kind of relay drive circuit with antijamming capability
CN207689874U (en) Microcontroller automatic shutdown circuitry
CN203272187U (en) Time controller system of electric fan
CN203350646U (en) Automatic downloading device of single-chip microcomputer
CN102892221B (en) LED (light-emitted diode) lamp and open-circuit protective circuit thereof
CN103193119B (en) Elevator landing callcontroller and method for achieving floor setting thereof
CN203720576U (en) Circuit for reducing the power consumption of RS485 communication or RS232 communication
CN205491383U (en) Light control device
CN205049905U (en) Automatic outage power down switch
CN105279528A (en) Card returning circuit
CN104536324B (en) A kind of delay cut-off controller of multi-media platform
CN208689541U (en) Computer incoming call auto power on device
CN208154735U (en) A kind of air-conditioning booting-self controller device
CN108052047A (en) Microcontroller automatic shutdown circuitry

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150506

RJ01 Rejection of invention patent application after publication