CN110058536A - A kind of motion control method shaking lamp - Google Patents
A kind of motion control method shaking lamp Download PDFInfo
- Publication number
- CN110058536A CN110058536A CN201910376423.6A CN201910376423A CN110058536A CN 110058536 A CN110058536 A CN 110058536A CN 201910376423 A CN201910376423 A CN 201910376423A CN 110058536 A CN110058536 A CN 110058536A
- Authority
- CN
- China
- Prior art keywords
- signal
- dmx
- team
- lamp
- control method
- 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Abstract
The invention discloses a kind of motion control method for shaking lamp, the fifo queue for including the following steps: S1, establishing DMX signal sets queue length;S2, when receiving the DMX signal for carrying out automatic control platform, DMX signal is joined the team;S3, the DMX signal after joining the team is pre-processed, the pretreatment includes discovery halt, finds reversal point, calculate movement velocity, determine whether jump signal;S4, the motor operating parameter for shaking lamp is adjusted according to the pre-processed results of step S3.The method of the present invention prejudges the direction of motion variation of control platform signal designation, velocity variations by the way that DMX signal is buffered and pre-processed, and filters out the signal of mutation, strives for advantage to shake the steady control of lamp motor.
Description
Technical field
The present invention relates to lamps and lanterns control technology fields, and in particular to a kind of motion control method for shaking lamp.
Background technique
In the realization for shaking lamp Pan/Tilt control, need to make the DMX signal for controlling platform response promptly and accurately, and
Driving shake lamp motor is steady, is quickly accomplished corresponding movement.According to the working principle of control platform, even preprogramming
CUE, such as from A point to the uniform motion of B point, control platform also can carry out interpolation processing according to fade time between initial value and final value, often
Frame can only provide next interpolation, that is to say, that lamps and lanterns can not know the real terminal of stroke, thus be difficult to the acceleration to motor,
Slow down and brake is planned in advance, is especially difficult to the case where handling direction of motion reversion.On the other hand, when manpower passes through push rod
Or encoder is when controlling lamps and lanterns, because being easy to generate the irregular control signal of jumping characteristic, mutation, the movement of lamps and lanterns
It controls more difficult, it is easy to the case where leading to " step-out ".
Existing method controls platform signal often through with lower movement velocity to respond, to reserve sufficient " buffering row
Journey " come obtain the time of relative loose braked, the processing such as reversed, respond slow, motion profile deformation so as to cause lamps and lanterns
The problems such as.
Summary of the invention
In view of the deficiencies of the prior art, the present invention is intended to provide it is a kind of shake lamp motion control method, by believing DMX
It number is buffered and is pre-processed to prejudge the direction of motion variation of control platform signal designation, velocity variations, and filter out the letter of mutation
Number, strive for advantage to shake the steady control of lamp motor.
To achieve the goals above, the present invention adopts the following technical scheme:
A kind of motion control method shaking lamp, includes the following steps:
S1, the fifo queue for establishing DMX signal set queue length;
S2, when receiving the DMX signal for carrying out automatic control platform, DMX signal is joined the team;If queue full, team's head is popped up;
S3, the DMX signal after joining the team is pre-processed, the pretreatment includes discovery halt, discovery reversal point, meter
It calculates movement velocity, determine whether jump signal, such as find jump signal, then jump signal is filtered or smoothing processing;
S4, the motor operating parameter for shaking lamp is adjusted according to the pre-processed results of step S3.
Further, in step S1, the length of queue is 3.
Further, in step S3, jump signal includes velocity jump signal, reversed reverse signal again.
Further, in step S2, when there is new DMX signal to join the team, if queue full, team's head is popped up.
The beneficial effects of the present invention are: utilize the method for the present invention, it is only necessary to which the DMX signal for buffering a small amount of frame in advance is gone forward side by side
Row pretreatment, can substantially improve the stationarity for shaking lamp motor operation, although buffering will lead to signal, response has certain delay
(according to DMX standard frame per second, delay is about 100ms), but this delay is not easy to discover, especially in successional movement more
Adding can ignore;Simultaneously as there is the pretreatment to signal, it is unknowable to handle reserved too many " cushion stroke " is not needed
Variation, the speed of overall operation are more excellent than conventional method instead.
Specific embodiment
The invention will be further described below, it should be noted that the present embodiment premised on the technical program,
The detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to the present embodiment.
The present embodiment provides a kind of motion control methods for shaking lamp, include the following steps:
S1, the fifo queue for establishing DMX signal set queue length (general 3);
S2, when receiving the DMX signal for carrying out automatic control platform, DMX signal is joined the team;If queue full, team's head is popped up;
S3, the DMX signal after joining the team is pre-processed:
(1) halt is found;
(2) reversal point is found;
(3) movement velocity is calculated;
(4) it determines whether jump signal, such as finds jump signal (such as velocity jump, reversed reversed again), then to prominent
Varying signal is filtered or smoothing processing;
S4, the motor operating parameter for shaking lamp is adjusted according to the pre-processed results of step S3.
For those skilled in the art, it can be provided various corresponding according to above technical solution and design
Change and modification, and all these change and modification, should be construed as being included within the scope of protection of the claims of the present invention.
Claims (4)
1. a kind of motion control method for shaking lamp, which comprises the steps of:
S1, the fifo queue for establishing DMX signal set queue length;
S2, when receiving the DMX signal for carrying out automatic control platform, DMX signal is joined the team;
S3, the DMX signal after joining the team is pre-processed, the pretreatment includes discovery halt, discovery reversal point, calculates fortune
Dynamic speed determines whether jump signal, such as finds jump signal, then is filtered to jump signal or smoothing processing;
S4, the motor operating parameter for shaking lamp is adjusted according to the pre-processed results of step S3.
2. the motion control method according to claim 1 for shaking lamp, which is characterized in that in step S1, the length of queue
It is 3.
3. the motion control method according to claim 1 for shaking lamp, which is characterized in that in step S3, jump signal packet
Include velocity jump signal, reversed reverse signal again.
4. the motion control method according to claim 1 for shaking lamp, which is characterized in that in step S2, when there is new DMX
When signal is joined the team, if queue full, team's head is popped up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376423.6A CN110058536A (en) | 2019-05-07 | 2019-05-07 | A kind of motion control method shaking lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376423.6A CN110058536A (en) | 2019-05-07 | 2019-05-07 | A kind of motion control method shaking lamp |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110058536A true CN110058536A (en) | 2019-07-26 |
Family
ID=67322372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910376423.6A Pending CN110058536A (en) | 2019-05-07 | 2019-05-07 | A kind of motion control method shaking lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110058536A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN200953540Y (en) * | 2006-04-21 | 2007-09-26 | 陈培欣 | Electromagnetic speed regulating motor controller |
CN102087517A (en) * | 2010-07-19 | 2011-06-08 | 长春理工大学 | Method for reducing speed interpolation error and hardware system |
CN104238383A (en) * | 2013-06-17 | 2014-12-24 | 欧司朗有限公司 | Control system and method for controlling control system |
CN106444637A (en) * | 2015-08-04 | 2017-02-22 | 深圳市雷赛智能控制股份有限公司 | Micro line segment dynamic prospect control method and micro line segment dynamic prospect control device |
CN108366472A (en) * | 2018-01-31 | 2018-08-03 | 佛山市南海舒博光电科技有限公司 | Lamps and lanterns holder method of controlling rotation based on the control of DMX-512 signals |
-
2019
- 2019-05-07 CN CN201910376423.6A patent/CN110058536A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN200953540Y (en) * | 2006-04-21 | 2007-09-26 | 陈培欣 | Electromagnetic speed regulating motor controller |
CN102087517A (en) * | 2010-07-19 | 2011-06-08 | 长春理工大学 | Method for reducing speed interpolation error and hardware system |
CN104238383A (en) * | 2013-06-17 | 2014-12-24 | 欧司朗有限公司 | Control system and method for controlling control system |
CN106444637A (en) * | 2015-08-04 | 2017-02-22 | 深圳市雷赛智能控制股份有限公司 | Micro line segment dynamic prospect control method and micro line segment dynamic prospect control device |
CN108366472A (en) * | 2018-01-31 | 2018-08-03 | 佛山市南海舒博光电科技有限公司 | Lamps and lanterns holder method of controlling rotation based on the control of DMX-512 signals |
Non-Patent Citations (4)
Title |
---|
宁玲玲等: "《数控车技术分册》", 31 May 2018, 北京理工大学出版社 * |
王海涛: "数控系统速度前瞻控制算法及其实现", 《中国博士学位论文全文数据库 工程科技Ⅰ辑》 * |
罗伊·汤姆斯: "《剪辑的语法》", 30 September 2017, 北京联合出版公司 * |
覃珍莹: "基于双核的嵌入式数控系统速度前瞻控制研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106168790B (en) | S-shaped acceleration and deceleration control method for changing target speed and position on line | |
CN105892402B (en) | Mechanical arm point-to-point motion control method | |
US9910426B2 (en) | Device and method of controlling machine tool, to control synchronized operation of spindle axis and feed axis | |
CN113593258B (en) | Signal timing and vehicle speed dynamic coordination control optimization method based on vehicle-road cooperation | |
CN109240215B (en) | A kind of PVT control method based on modified S curve acceleration and deceleration | |
CN1976445A (en) | Multi-camera monitoring system based on three-dimensional video frequency dynamic tracking and tracking method thereof | |
CN101442861A (en) | Control system and control method for LED lamplight scene | |
CN105955203A (en) | Processing method for speed feedforward and torque feedforward in CANopen servo system | |
CN109889721A (en) | Camera autofocus control method and device | |
PL363043A1 (en) | Method for regulating a thermodynamic process in particular a combustion process | |
CN110058536A (en) | A kind of motion control method shaking lamp | |
US20090012647A1 (en) | Robot system employing multijoint robots and workpiece delivery method | |
CN112388108A (en) | Medium plate broken line weld joint tracking method based on three-wire cross swinging arc sensing | |
TWI401553B (en) | Control method of numerical control device | |
TW201634346A (en) | Method and apparatus for controlling automatic gear-change processes of an electric gear-change apparatus of a bicycle | |
CN116503739A (en) | Scene recognition method and system for robot to move up and down stairs | |
CN109508050B (en) | Speed control method for automatic point drilling machine | |
CN110605392A (en) | Metal entity printing method for alternately performing outer wall surfacing and internal filling | |
CN104858408A (en) | Intelligent nonferrous metal casting system | |
CN104724467B (en) | A kind of aluminium ingot size Control and localization method and device | |
CN205290262U (en) | To mouthpart | |
CN209110754U (en) | A kind of magnesium alloy car panel die profiling pushes away electro-optical device | |
JPH10139369A (en) | Bracing control device for hung load | |
CN206428975U (en) | A kind of suspension bracket for building a wall | |
JP3783545B2 (en) | Robot control apparatus and robot control method |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 528400 No.55 Cuilan Road, Cuiheng New District, Zhongshan City, Guangdong Province (application for residence) Applicant after: GUANGDONG YIRI LIGHTING TECHNOLOGY CO.,LTD. Address before: 528400 Guangdong city of Zhongshan province Tsuiheng Coastal Industrial Park Road, building A building fifth Chui city waterfront area F Applicant before: GUANGDONG YIRI LIGHTING TECHNOLOGY CO.,LTD. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |