CN203313112U - Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer - Google Patents

Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer Download PDF

Info

Publication number
CN203313112U
CN203313112U CN2013200211855U CN201320021185U CN203313112U CN 203313112 U CN203313112 U CN 203313112U CN 2013200211855 U CN2013200211855 U CN 2013200211855U CN 201320021185 U CN201320021185 U CN 201320021185U CN 203313112 U CN203313112 U CN 203313112U
Authority
CN
China
Prior art keywords
chip microcomputer
avr single
remote control
infrared remote
single chip
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
Application number
CN2013200211855U
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.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
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 Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN2013200211855U priority Critical patent/CN203313112U/en
Application granted granted Critical
Publication of CN203313112U publication Critical patent/CN203313112U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model relates to an infrared remote control direct-current motor speed regulator based on an AVR single chip microcomputer, and pertains to the technical field of circuit and program control of a microcontroller. The infrared remote control direct-current motor speed regulator comprises an infrared remote control device, an infrared receiver, an AVR single chip microcomputer, a motor driving chip, a direct-current motor, and a display device. The infrared remote control device is connected with the infrared receiver in a wireless manner, the infrared receiver and the display device are connected with the AVR single chip microcomputer through IO ports, and the AVR single chip microcomputer is connected with the direct-current motor through the motor driving chip. According to the utility model, the infrared remote control speed regulation technology is adopted, so the advantage of high practical value can be realized; the AVR single chip microcomputer is applied to the PWM mode speed regulation of the direct-current motor, and advantages of simple implementation mode, high PWM mode speed regulation precision, high series and energy saving can be realized; the EEPROM inside the AVR single chip microcomputer is fully utilized, so the rotation speed of the direct-current motor before the last stop can be memorized and restored, and at the same time, advantages of simple structure, easy operation and good adaptability can be realized.

Description

A kind of DC motor speed-regulating of infra-red remote control based on AVR single-chip microcomputer device
Technical field
The utility model relates to a kind of DC motor speed-regulating of infra-red remote control based on AVR single-chip microcomputer device, belongs to circuit and programme controlled technical field of microcontroller.
Background technology
The DC motor speed control method mainly is divided into two classes, and namely excitation is controlled method and armature voltage control method.Excitation control method is controlled magnetic flux, although its power ratio control is little, during the slow-speed of revolution, is subject to magnetically saturated restriction, during high speed, is subject to the restriction of commutation spark and commutator structure intensity; And because the magnet exciting coil inductance is larger, dynamic response is poor.So being the armature voltage that changes the speed governing of armature terminal voltage, control method commonly used controls method.Development along with the electron electric power technology, pulse-width modulation (PWM) technology is widely used in DC motor speed-regulating, its operation principle is recently to change the average voltage on armature of direct current motor by the duty that square wave is exported in change, thereby changes the rotating speed of direct current machine.Utilize the PWM mode to carry out speed governing, the energy work rate of power supply is fully used, and adjusting speed accuracy is high, fast response time, economical reliable.The RISC of the enhancing that the AVR single-chip microcomputer is produced as American ATMEL, contain 8 single-chip microcomputers of high-performance of Flash and EEPROM, its execution speed is fast, and cost performance is high.The timer of AVR single-chip microcomputer can easily be realized the PWM function, the PWM mode speed governing that is applied to direct current machine is a good selection, and by the control program that writes the AVR single-chip microcomputer, can realize very like a cork the infrared remote control speed governing in the situation that hardware condition meets.
Infrared rays remote controlled speed varying (the patent No.: the controller of rotating speed that 87201256) has related to a kind of domestic fan of infrared remote control.The infrared ray modulated by reception, thus the purpose that motor speed reaches remote gear control changed steppingly, and this infrared rays remote controlled speed varying makes people need not contact fan just can change fan speed, brings great convenience.
But because the modes that adopt analog circuit to change resistance in circuit realize speed governing more, the progression of speed governing is few, and electric energy has been wasted in resistance.The machine governor patent of other PWM mode mode of speed regulation there is not yet with infrared control or with the function of remembering and recovering to close last time the front motor rotating speed.
Summary of the invention
For the problems referred to above, the invention provides a kind of DC motor speed-regulating of infra-red remote control based on AVR single-chip microcomputer device, adopt the infra-red remote control speed change, have very high practical value; The AVR single-chip microcomputer is applied to the PWM mode speed governing of direct current machine, implementation is simple, and PWM mode adjusting speed accuracy is high, and progression is high, saves electric energy; Take full advantage of EEPROM in the sheet of AVR single-chip microcomputer, can remember and recover the direct current machine front rotating speed that shut down last time, simultaneously, simple in structure, easy to operate, strong adaptability.
For addressing the above problem, the technical solution adopted in the utility model: infrared remote control DC motor speed-regulating device comprises infrared remote controller 1, infrared receiver 2, AVR single-chip microcomputer 3, motor drive ic 4, direct current machine 5, display device 6; Infrared remote controller 1 and infrared receiver 2 adopts wireless modes to be connected, infrared receiver 2, display device 6 by the IO port with AVR single-chip microcomputer 3, be connected, AVR single-chip microcomputer 3 passes through motor drive ic 4 and is connected with direct current machine 5.
Infrared remote controller 1 uses the common Infrared remote controller of NEC coding; Infrared receiver 2 adopts highly sensitive HX1838 receiver; AVR single-chip microcomputer 3 is selected the ATmega16 model AVR microprocessor of American ATMEL; Motor drive ic 4 adopts the L298N of SGS company; Direct current machine 5 adopts the MITSUMI micromachine, and operating voltage is DC 1.5-6V; Display device 6 is liquid crystal display or charactron, and as preferably, display device 6 adopts 1602 liquid crystal display of painting brilliant science and technology.
The beneficial effects of the utility model: the utility model adopts the infra-red remote control speed change, has very high practical value; The AVR single-chip microcomputer is applied to the PWM mode speed governing of direct current machine, implementation is simple, and PWM mode adjusting speed accuracy is high, and progression is high, saves electric energy; Take full advantage of EEPROM in the sheet of AVR single-chip microcomputer, can remember and recover the direct current machine front rotating speed that shut down last time, simultaneously, simple in structure, easy to operate, strong adaptability.
The accompanying drawing explanation
Fig. 1 is circuit connection diagram of the present utility model;
Fig. 2 is program control flow chart of the present utility model.
In figure: 1-infrared remote controller, 2-infrared receiver, 3-AVR single-chip microcomputer, 4-motor drive ic, 5-direct current machine, 6-display device.
Embodiment:
Below in conjunction with drawings and Examples, the utility model is described further, to facilitate the technical staff to understand.
As shown in Figure 1: infrared remote control DC motor speed-regulating device comprises infrared remote controller 1, infrared receiver 2, AVR single-chip microcomputer 3, motor drive ic 4, direct current machine 5, display device 6; Infrared remote controller 1 and infrared receiver 2 adopts wireless modes to be connected, infrared receiver 2, display device 6 by the IO port with AVR single-chip microcomputer 3, be connected, AVR single-chip microcomputer 3 passes through motor drive ic 4 and is connected with direct current machine 5.
Infrared remote controller 1 uses the common Infrared remote controller of NEC coding; Infrared receiver 2 adopts highly sensitive HX1838 receiver; AVR single-chip microcomputer 3 is selected the ATmega16 model AVR microprocessor of American ATMEL; Motor drive ic 4 adopts the L298N of SGS company; Direct current machine 5 adopts the MITSUMI micromachine, and operating voltage is DC 1.5-6V; Display device 6 is liquid crystal display or charactron, and as preferably, display device 6 adopts 1602 liquid crystal display of painting brilliant science and technology.
As shown in Figure 2, the course of work of the present utility model: at first, infrared remote controller 1 sends signal, and infrared receiver 2 receives signal, and signal is passed to the INT0 mouth of AVR single-chip microcomputer 3, triggers the interrupt routine of AVR single-chip microcomputer 3; In interrupt routine, AVR single-chip microcomputer 3 is analyzed the command code that infrared receiver 2 receives, correspondingly change the value of OCRn in register and revise the duty ratio that AVR single-chip microcomputer 3 outputs to PWM on motor drive ic 4, direct current machine 5 changes according to the variation rotating speed of PWM duty ratio; Simultaneously, in the EEPROM in the OCRn value after program control will change is stored in AVR single-chip microcomputer 3.Like this, after opening direct current machine and speed regulator next time, at first program can read the last time and be stored in the OCRn value in EEPROM, the rotating speed before recovering direct current machine and shutting down last time; Finally, the states such as the gear of direct current machine, can be shown on display device 6.
The utility model adopts the infra-red remote control speed change, has very high practical value; The AVR single-chip microcomputer is applied to the PWM mode speed governing of direct current machine, implementation is simple, and PWM mode adjusting speed accuracy is high, and progression is high, saves electric energy; Take full advantage of EEPROM in the sheet of AVR single-chip microcomputer, can remember and recover the direct current machine front rotating speed that shut down last time, simultaneously, simple in structure, easy to operate, strong adaptability.
The utility model describes by specific implementation process, in the situation that do not break away from the utility model scope, can also carry out various conversion and be equal to replacement the utility model patent, therefore, the utility model patent is not limited to disclosed specific implementation process, and should comprise the whole embodiments that fall in the utility model Patent right requirement scope.

Claims (2)

1. the DC motor speed-regulating of the infra-red remote control based on AVR single-chip microcomputer device, it is characterized in that: infrared remote control DC motor speed-regulating device comprises infrared remote controller, infrared receiver, AVR single-chip microcomputer, motor drive ic, direct current machine, display device; Infrared remote controller and infrared receiver adopt wireless mode to be connected, and infrared receiver, display device pass through that the IO port is connected with the AVR single-chip microcomputer, the AVR single-chip microcomputer is connected with direct current machine by motor drive ic; Wherein, infrared receiver adopts highly sensitive HX1838 receiver; The AVR single-chip microcomputer is selected the ATmega16 model AVR microprocessor of American ATMEL; Motor drive ic adopts the L298N of SGS company; Direct current machine adopts the MITSUMI micromachine; Display device is liquid crystal display or charactron.
2. a kind of DC motor speed-regulating of infra-red remote control based on AVR single-chip microcomputer device according to claim 1 is characterized in that: display device adopts 1602 liquid crystal display of painting brilliant science and technology.
CN2013200211855U 2013-01-16 2013-01-16 Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer Expired - Fee Related CN203313112U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013200211855U CN203313112U (en) 2013-01-16 2013-01-16 Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013200211855U CN203313112U (en) 2013-01-16 2013-01-16 Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer

Publications (1)

Publication Number Publication Date
CN203313112U true CN203313112U (en) 2013-11-27

Family

ID=49619283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013200211855U Expired - Fee Related CN203313112U (en) 2013-01-16 2013-01-16 Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer

Country Status (1)

Country Link
CN (1) CN203313112U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412920A (en) * 2019-08-06 2019-11-05 珠海格力电器股份有限公司 A kind of control method of electrically driven curtain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412920A (en) * 2019-08-06 2019-11-05 珠海格力电器股份有限公司 A kind of control method of electrically driven curtain

Similar Documents

Publication Publication Date Title
WO2014000480A1 (en) Blower driven by dc motor
WO2017152729A1 (en) Energy saving motor
CN203313112U (en) Infrared remote control direct-current motor speed regulator based on AVR single chip microcomputer
CN203026916U (en) Demagnetization-preventing protection device of compressor
CN205142065U (en) Flow control valve electrical control box
WO2017124764A1 (en) Smart fan having voice control function
CN104362909A (en) Brushless direct-current motor controller
CN112032088B (en) Device and method for realizing reverse power generation of air conditioner external fan by controlling rotation of fan
CN203964615U (en) The drying plant of recovery waste heat
CN201178394Y (en) DC motor controlling circuit
CN101232265A (en) Current limiting protection control structure for reducing motor switch noise
CN204271870U (en) A kind of switched reluctance machines of no-rotor position sensor
CN203810498U (en) Motor control system of range hood
CN203135790U (en) Automatic pressure adjusting system of range hood blower fan
CN203313118U (en) A frequency conversion compressor driver
CN102522932A (en) Direct-current brushless motor system of air conditioner and rotating speed control method of direct-current brushless motor system
CN105864085A (en) Partition type ventilator
CN208794655U (en) Electrically-controlled component and air conditioner
CN205883092U (en) No hall ceiling fan motor controller
CN201582169U (en) Energy-saving automatic control system for electric fan
CN201830199U (en) Direct-current environmentally-friendly variable-frequency air conditioner
CN201146480Y (en) Fan DC motor controller
CN219574635U (en) Control system for controlling opening and closing of ball valve based on pulse signal
CN103856136A (en) Control system for permanent magnet synchronous motor
CN110460267A (en) A kind of three-phase brushless DC fan controller

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131127

Termination date: 20150116

EXPY Termination of patent right or utility model