CN203479828U - Automatic wind direction control system based on stepping motor - Google Patents

Automatic wind direction control system based on stepping motor Download PDF

Info

Publication number
CN203479828U
CN203479828U CN201320532869.1U CN201320532869U CN203479828U CN 203479828 U CN203479828 U CN 203479828U CN 201320532869 U CN201320532869 U CN 201320532869U CN 203479828 U CN203479828 U CN 203479828U
Authority
CN
China
Prior art keywords
stepper motor
wind direction
rotation
disc
code
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 - Lifetime
Application number
CN201320532869.1U
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.)
CHANGCHUN METEOROLOGICAL INSTRUMENT RESEARCH INSTITUTE CO LTD
Original Assignee
CHANGCHUN METEOROLOGICAL INSTRUMENT RESEARCH INSTITUTE 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 CHANGCHUN METEOROLOGICAL INSTRUMENT RESEARCH INSTITUTE CO LTD filed Critical CHANGCHUN METEOROLOGICAL INSTRUMENT RESEARCH INSTITUTE CO LTD
Priority to CN201320532869.1U priority Critical patent/CN203479828U/en
Application granted granted Critical
Publication of CN203479828U publication Critical patent/CN203479828U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

The utility model relates to the field of a small-sized wind direction detector, and discloses an automatic wind direction control system based on a stepping motor, for solving the problem of time-consuming and labor consuming tedious detection process caused by hand-operated rotation of a wind direction code disc. The system comprises a main controller, a stepping motor driver connected with the main controller, the stepping motor connected with the stepping motor driver, the wind direction code disc connected with the stepping motor and a nine-digit Gray code disc connected with the wind direction code disc, wherein the nine-digit Gray code disc is connected with the main controller; the main controller, according to a needed rotation angle, generates PWM modulated waves of a corresponding number and enables the stepping motor to generate electric pulse signals of a corresponding number; the stepping motor drives the wind direction code disc to generate a corresponding rotation angle; the nine-digit Gray code disc acquires the rotation angle for feeding back to the main controller; and the main controller makes a comparison between the acquired rotation angle and the needed rotation angle and carries out forward or reverse adjusting on the stepping motor according to a comparison result. The automatic wind direction control system based on the stepping motor realizes automatic wind transmission control and is labor-saving and time-saving.

Description

Full-automatic wind direction control system based on stepper motor
Technical field
The utility model relates to Miniature wind to detector technical field, is specifically related to a kind of full-automatic wind direction control system based on stepper motor.
Background technology
At present, Miniature wind needs hand rotation wind direction code-disc to the detection of wind direction in detector, and the angle that the angle of rotating by wind direction code-disc and wind transducer provide compares, and judges that whether wind transducer work is normal.But, to the mode of code-disc, there are some problems in this rotary wind manually, when rotary wind is to code-disc each time, all need repeatedly to adjust wind direction code-disc, make wind direction code-disc turn to the angle of appointment, relatively lose time and energy, and in code-disc, record a secondary data at rotary wind, testing process is more loaded down with trivial details, wastes time and energy.
Utility model content
In order to solve existing employing hand rotation wind direction code-disc, Miniature wind is detected and the testing process that exists is loaded down with trivial details and the problem that wastes time and energy to the wind direction in detector, the utility model provides a kind of full-automatic wind direction control system based on stepper motor.
The utility model is that the technical scheme that adopts of technical solution problem is as follows:
Full-automatic wind direction control system based on stepper motor, comprise master controller, the stepper motor driver being connected with described master controller, the stepper motor being connected with described stepper motor driver, the wind direction code-disc being connected with described stepper motor and nine Gray's code-discs that are connected with described wind direction code-disc, described nine Gray's code-discs are connected with described master controller, the PWM modulating wave that the anglec of rotation of the wind direction code-disc that described master controller is exported as required produces corresponding number sends to stepper motor driver, the electric impulse signal that stepper motor driver produces corresponding number according to the PWM modulating wave of corresponding number sends to stepper motor, stepper motor is subject to the driving of this electric impulse signal to rotate the corresponding number of degrees, stepper motor drives wind direction code-disc rotate and make it produce the corresponding anglec of rotation, nine Gray's code-discs gather the anglec of rotation of wind direction code-disc and are fed back to master controller, the anglec of rotation of the wind direction code-disc that master controller relatively gathers and the anglec of rotation that needs the wind direction code-disc of output, according to comparative result control step motor, stop the rotation again, be rotated in the forward or reverse rotation, circulation said process, realizes the Automatic Control of wind direction.
Described master controller stops the rotation, is rotated in the forward according to comparative result control step motor or the detailed process of reverse rotation is: when the anglec of rotation of the wind direction code-disc gathering and the anglec of rotation of the wind direction code-disc that needs to export are when consistent, master controller will no longer send PWM modulating wave to stepper motor driver, and stepper motor is motionless; When the anglec of rotation of the wind direction code-disc gathering and the anglec of rotation of wind direction code-disc that needs output are inconsistent, if the former is greater than the latter, master controller sends the instruction of stepper motor reverse rotation and the rotation number of degrees to stepper motor driver, and the corresponding electric impulse signal reverse rotation that stepper motor produces according to stepper motor driver once; If the former is less than the latter, master controller sends to stepper motor driver the instruction that stepper motor was rotated in the forward and rotated the number of degrees, and the corresponding electric impulse signal that stepper motor produces according to stepper motor driver is once rotated in the forward.
Described master controller adopts programmable STM32F103RET6 chip, inner with PWM controller, can produce within the specific limits the PWM modulating wave of any number.
Described stepper motor driver adopts the stepper motor driver that model is 2HD8080, and maximum operating currenbt is 6.0A, and maximum working voltage is 32V, and stepper motor driver self, with defencive function, prevents that overcurrent from burning stepper motor.
It is the stepper motor of 86BYG250-98 that described stepper motor specifically adopts model, and step angle is 1.8 °, and torque is 7.5N.m, and voltage is 24V, and electric current is 4.0A.
Described wind direction code-disc adopts organic glass to make, and scale resolution is 1 °, and meter full scale is 0 °~360 °.
Described nine Gray's code-discs adopt nine pairs of miniature luminous reception diodes, and every rotation 0.7 degree, just has one by the track on wind direction code-disc, to be blocked in the middle of nine light emitting diodes, and the output state of the reception diode that it is corresponding changes thereupon.
The beneficial effects of the utility model are: the utility model utilizes the number of the PWM modulating wave of master controller generation not have error, make the pulse signal of controllor for step-by-step motor output also highly stable, the angle of wind direction code-disc rotation is also just stablized controlled, and according to the feedback angle of nine Gray's code-discs, can accurately measure the angle of wind direction code-disc rotation, realize the full-automation that wind direction detects, shorten the time that wind direction detects.Compared with prior art, the utility model has been realized the full-automation that wind direction detects, and testing process is simple and convenient, omnidistance without manually rotary wind is to code-disc, time saving and energy saving.
Accompanying drawing explanation
Fig. 1 be of the present utility model based on stepper motor the structural representation of full-automatic wind direction control system;
Fig. 2 is the control flow schematic diagram of the full-automatic wind direction control system shown in Fig. 1.
Embodiment
Below in conjunction with accompanying drawing, the utility model is described in further detail.
As shown in Figure 1, full-automatic wind direction control system based on stepper motor of the present utility model, by master controller, stepper motor driver, stepper motor, wind direction code-disc and nine Gray's code-discs, formed, master controller is connected by cable with stepper motor driver, stepper motor driver is connected by cable with stepper motor, stepper motor is connected by cable with wind direction code-disc, wind direction code-disc is connected by cable with nine Gray's code-discs, and nine Gray's code-discs are connected by cable with master controller.
In present embodiment, master controller specifically adopts programmable STM32F103RET6 chip, by STM32F103RET6 chip being programmed and then realizing the various functions that it will be realized; Master controller inside, with PWM controller, can produce the PWM modulating wave of any number within the specific limits, and control step motor driver produces electric impulse signal.
In present embodiment; it is the stepper motor driver of 2HD8080 that stepper motor driver specifically adopts model; maximum operating currenbt is 6.0A; maximum working voltage is 32V; can according to certain rotational speed, rotate by control step motor completely; and receiving the PWM modulating wave that master controller produces, stepper motor driver self, with defencive function, prevents that overcurrent from burning stepper motor.
In present embodiment, it is the stepper motor of 86BYG250-98 that stepper motor specifically adopts model, and step angle is 1.8 °, and torque is 7.5N.m, and voltage is 24V, and electric current is 4.0A, for controlling wind direction code-disc, produces certain anglec of rotation.
In present embodiment, the homemade code-disc of the concrete employing of wind direction code-disc, its scale resolution is 1 degree, adopts the material of organic glass to make, and carves the wind direction number of degrees of 0 degree~360 degree with numerically-controlled machine.
In present embodiment, nine Gray's code-discs specifically adopt nine pairs of miniature luminous reception diodes, every rotation 0.7 degree, in the middle of nine light emitting diodes, just there is one by the track on wind direction code-disc, to be blocked, the output state of corresponding reception diode changes thereupon, and nine Gray's code-discs are for gathering the anglec of rotation of wind direction code-disc and being fed back to master controller.
As shown in Figure 2, full-automatic wind direction control system power-up initializing, the PWM modulating wave that the anglec of rotation of the wind direction code-disc that master controller is exported as required produces corresponding number sends to stepper motor driver, stepper motor driver produces the electric impulse signal of corresponding number according to the PWM modulating wave of corresponding number, and this electric impulse signal is sent to stepper motor, stepper motor driver is rotated according to the corresponding number of degrees by this electric impulse signal control step motor, stepper motor drives wind direction code-disc rotate and make wind direction code-disc produce the corresponding anglec of rotation as shaft coupling, nine Gray's code-discs gather the anglec of rotation of wind direction code-disc and the anglec of rotation of the wind direction code-disc of collection are fed back to master controller, master controller compares the anglec of rotation of the wind direction code-disc of collection with needing the anglec of rotation of the wind direction code-disc of output, according to comparative result, adjust again the number of PWM modulating wave, and control step motor stops the rotation, be rotated in the forward or reverse rotation: when the anglec of rotation of the wind direction code-disc gathering and the anglec of rotation of the wind direction code-disc that needs to export are when consistent, master controller will no longer send a signal to stepper motor driver, stepper motor is motionless, stop the rotation, when the anglec of rotation of the wind direction code-disc gathering and the anglec of rotation of wind direction code-disc that needs output are inconsistent, if the former is greater than the latter, the instruction that master controller sends the instruction of stepper motor reverse rotation and rotates the number of degrees is to stepper motor driver, and the corresponding electric impulse signal reverse rotation that stepper motor produces according to stepper motor driver once, if the former is less than the latter, master controller sends the stepper motor instruction being rotated in the forward and the instruction of rotating the number of degrees to stepper motor driver, and the corresponding electric impulse signal that stepper motor produces according to stepper motor driver is once rotated in the forward.Circulation said process, realizes the Automatic Control of wind direction.
In present embodiment, before full-automatic wind direction control system power-up initializing, the anglec of rotation (comprising a plurality of numerical value) of the wind direction code-disc of needs output is programmed in master controller, the PWM modulating wave of corresponding number is called and produces in the order of the anglec of rotation of the wind direction code-disc that master controller is exported as required, needs the anglec of rotation of the wind direction code-disc of output to comprise 0 °, 45 °, 90 °, 135 °, 180 °, 225 °, 270 °, 315 ° and 360 °.
The number of PWM modulating wave does not have error, and the rotation number of degrees of stepper motor are just stable, drives the angle of wind direction code-disc rotation stable yet, can realize the Automatic Control of wind direction.
Stepper motor is electric impulse signal to be changed into the open loop control element of angular displacement or displacement of the lines, the in the situation that of non-overload, frequency and the umber of pulse of electric impulse signal only depended in the rotating speed of stepper motor, the position stopping, and be not subject to the impact of load variations, to stepper motor, add an electric impulse signal, stepper motor turns over a step angle, the existence of this linear relationship, add only rhythmic error and without features such as accumulated errors, make to control and become very easy with stepper motor at control fields such as speed, positions of stepper motor.
Obviously, above-mentioned embodiment is only for example is clearly described, and the not restriction to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without also giving all embodiments.And among the protection domain that the apparent variation of being extended out thus or change are still created in the utility model.

Claims (7)

1. the full-automatic wind direction control system based on stepper motor, it is characterized in that, comprise master controller, the stepper motor driver being connected with described master controller, the stepper motor being connected with described stepper motor driver, the wind direction code-disc being connected with described stepper motor and nine Gray's code-discs that are connected with described wind direction code-disc, described nine Gray's code-discs are connected with described master controller, the PWM modulating wave that the anglec of rotation of the wind direction code-disc that described master controller is exported as required produces corresponding number sends to stepper motor driver, the electric impulse signal that stepper motor driver produces corresponding number according to the PWM modulating wave of corresponding number sends to stepper motor, stepper motor is subject to the driving of this electric impulse signal to rotate the corresponding number of degrees, stepper motor drives wind direction code-disc rotate and make it produce the corresponding anglec of rotation, nine Gray's code-discs gather the anglec of rotation of wind direction code-disc and are fed back to master controller, the anglec of rotation of the wind direction code-disc that master controller relatively gathers and the anglec of rotation that needs the wind direction code-disc of output, according to comparative result control step motor, stop the rotation again, be rotated in the forward or reverse rotation, circulation said process, realizes the Automatic Control of wind direction.
2. the full-automatic wind direction control system based on stepper motor according to claim 1, it is characterized in that, described master controller stops the rotation, is rotated in the forward according to comparative result control step motor or the detailed process of reverse rotation is: when the anglec of rotation of the wind direction code-disc gathering and the anglec of rotation of the wind direction code-disc that needs to export are when consistent, master controller will no longer send PWM modulating wave to stepper motor driver, and stepper motor stops the rotation; When the anglec of rotation of the wind direction code-disc gathering and the anglec of rotation of wind direction code-disc that needs output are inconsistent, if the former is greater than the latter, master controller sends the instruction of stepper motor reverse rotation and the rotation number of degrees to stepper motor driver, and the corresponding electric impulse signal reverse rotation that stepper motor produces according to stepper motor driver once; If the former is less than the latter, master controller sends to stepper motor driver the instruction that stepper motor was rotated in the forward and rotated the number of degrees, and the corresponding electric impulse signal that stepper motor produces according to stepper motor driver is once rotated in the forward.
3. the full-automatic wind direction control system based on stepper motor according to claim 1, it is characterized in that, described master controller adopts programmable STM32F103RET6 chip, inner with PWM controller, can produce within the specific limits the PWM modulating wave of any number.
4. the full-automatic wind direction control system based on stepper motor according to claim 1; it is characterized in that; described stepper motor driver adopts the stepper motor driver that model is 2HD8080; maximum operating currenbt is 6.0A; maximum working voltage is 32V; stepper motor driver self, with defencive function, prevents that overcurrent from burning stepper motor.
5. the full-automatic wind direction control system based on stepper motor according to claim 1, is characterized in that, it is the stepper motor of 86BYG250-98 that described stepper motor specifically adopts model, step angle is 1.8 °, torque is 7.5N.m, and voltage is 24V, and electric current is 4.0A.
6. the full-automatic wind direction control system based on stepper motor according to claim 1, is characterized in that, described wind direction code-disc adopts organic glass to make, and scale resolution is 1 °, and meter full scale is 0 °~360 °.
7. the full-automatic wind direction control system based on stepper motor according to claim 1, it is characterized in that, described nine Gray's code-discs adopt nine pairs of miniature luminous reception diodes, every rotation 0.7 degree, in the middle of nine light emitting diodes, just have one by the track on wind direction code-disc, to be blocked, the output state of the reception diode that it is corresponding changes thereupon.
CN201320532869.1U 2013-08-29 2013-08-29 Automatic wind direction control system based on stepping motor Expired - Lifetime CN203479828U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320532869.1U CN203479828U (en) 2013-08-29 2013-08-29 Automatic wind direction control system based on stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320532869.1U CN203479828U (en) 2013-08-29 2013-08-29 Automatic wind direction control system based on stepping motor

Publications (1)

Publication Number Publication Date
CN203479828U true CN203479828U (en) 2014-03-12

Family

ID=50228137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320532869.1U Expired - Lifetime CN203479828U (en) 2013-08-29 2013-08-29 Automatic wind direction control system based on stepping motor

Country Status (1)

Country Link
CN (1) CN203479828U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685277A (en) * 2017-03-22 2017-05-17 江南大学 Method for driving brushless motor in auto-enhanced stability control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685277A (en) * 2017-03-22 2017-05-17 江南大学 Method for driving brushless motor in auto-enhanced stability control system

Similar Documents

Publication Publication Date Title
CN101266284A (en) Switch reluctance machine rotor angular position and rotation speed detection device and method
CN105281616B (en) Angle correction method, device based on Hall sensor and permanent magnet synchronous motor
US20200206936A1 (en) Servo output shaft rotational angle calibration method and system and robot using the same
CN201536338U (en) Microstepping motor closed-loop controller
CN104330581A (en) Motor rotation speed measuring system and measuring method
CN103078575A (en) Integrated multifunctional controller for low-power direct-current servomotors
CN104237882B (en) A kind of scanning system realizing the multiple scan mode of marine radar and control method
CN203479828U (en) Automatic wind direction control system based on stepping motor
CN205584059U (en) Radio communication step motor driver based on STM32
CN106200561A (en) Coder controller and collocation method
CN208227693U (en) A kind of Tree Precise Fertilization control system
CN101458497A (en) Concurrency controlled cooking device by employing multi motor position rings and speed rings
CN203349454U (en) Angle feedback device, air conditioner rotating mechanism and air conditioner
CN104579094A (en) Motor drive loop
CN104730274A (en) Programmed multifunctional rotation speed signal conversion device
CN104569477A (en) Draught fan wireless velocity measurement system
CN203476761U (en) Stepping motor based wind speed control system for small wind tunnel
CN203466761U (en) CAN bus and ARM-based three-phase servo motor
CN104501791A (en) Novel north seeker
CN204177403U (en) A kind of multi-turn mechanical type absolute value encoder
CN2898807Y (en) Throttle executer
CN202395716U (en) Drive circuit for stepping motor
CN204652271U (en) A kind of two-phase stepping motor control system
CN103699139A (en) High-resolution scanning control system and subdivision driving control method for same
CN205356200U (en) Accurate controlling means of motor

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant