CN103096578B - Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS) - Google Patents

Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS) Download PDF

Info

Publication number
CN103096578B
CN103096578B CN201210419587.0A CN201210419587A CN103096578B CN 103096578 B CN103096578 B CN 103096578B CN 201210419587 A CN201210419587 A CN 201210419587A CN 103096578 B CN103096578 B CN 103096578B
Authority
CN
China
Prior art keywords
time
gps
control unit
control
current
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.)
Active
Application number
CN201210419587.0A
Other languages
Chinese (zh)
Other versions
CN103096578A (en
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.)
Sichuan Jiuzhou Investment Holding Group Co.,Ltd.
Original Assignee
Sichuan Jiuzhou Electric Group 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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN201210419587.0A priority Critical patent/CN103096578B/en
Publication of CN103096578A publication Critical patent/CN103096578A/en
Application granted granted Critical
Publication of CN103096578B publication Critical patent/CN103096578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a DXM 512 lamp control device with a time synchronization function of the global position system (GPS) and a control method. The DXM 512 lamp control device with the time synchronization function of the GPS comprises a network connection module, a control unit, a shaping circuit, a sending unit, a protection unit, a GPS module and a level switching chip. Satellite time obtained by the GPS module is transmitted to the control unit through the level switching chip. The control unit is used for calibrating system time through the satellite time. The control unit is enabled to be synchronous with control units of other control devices in time. Time synchronization of a plurality of main controllers is achieved by using the GPS satellite time under a light control off-line playing mode. Integrity and consistency of playing images are achieved. Time precision is high. Signal is stable. Information output is fast. Requirements for time precision, stability and timeliness of time synchronization in the light control field are met.

Description

A kind of control method with the DMX512 lamp control device of gps time synchronizing function
Technical field
The present invention relates to LED lamplight control field, particularly relate to a kind of control method with the DMX512 lamp control device of gps time synchronizing function based on DMX512 agreement.
Background technology
LED is a kind of can be the semiconductor of luminous energy by electric energy conversion, and it changes the principle of the luminescence of incandescent lamp tungsten filament and the luminescence of electricity-saving lamp tricolor powder, and adopts electroluminescence.According to analysis, the feature of LED clearly, life-span long, the high and low radiation of light efficiency and low-power consumption.The brightening of current LED view pay attention to by increasing city, accept by the vast common people, and the requirement of user is also more and more higher.Present brightening is not only sketch outline, and people more wish to carry out some simple picture and text introductions when brightening.
Lamp controller is under off line play mode, when multiple master controller is used to control same light picture or requirement is placed on the independently light picture of multiple main controller controls of different location when synchronization plays identical content, just need to carry out the time synchronized between controller, realize globality, the consistency of broadcasting pictures with this.RTC real-time time chip can be selected in time reference source for conventional lamp controller time synchronized, also undertaken synchronously by network, but because RTC real-time time chip time accuracy can only arrive level second, the time synchronized requirement of the frame playback rate of Millisecond in signal light control field can not be met; Simultaneously, the distance of carrying out between the host controller device of time synchronized is needed not fix in signal light control field, may interval very far away, when spacing distance is larger, netting twine connecting wiring inconvenience also adds cost, and long-range network transmission delay is comparatively large, easy packet loss, therefore carry out time synchronized by network and can not meet the demands.
Summary of the invention
The object of the invention is for conventional lamp controller Problems existing, a kind of DMX512 lamp control device with gps time synchronizing function is proposed, the present invention adopts gps time to carry out time synchronized, gps time is that gps receiver module received from the time comprised in the GPS locating information of satellite, solve when multiple master controller is used to control same light picture or requirement is placed on the independently light picture of multiple main controller controls of different location when synchronization plays identical content, the time synchronization problem between controller.
The technical solution adopted for the present invention to solve the technical problems is: a kind of DMX512 lamp control device with gps time synchronizing function, comprise network connecting module, control unit, shaping circuit, transmitting element and protected location, the control signal that described control unit sends out is transferred to transmitting element after shaping circuit shaping, by transmitting element signal be converted to differential signal and be transferred to DMX512 light fixture by protected location, described network connecting module is connected with control unit, also comprise GPS module and level transferring chip, the satellite time got is transferred to control unit by level transferring chip by described GPS module, described control unit is by the satellite time calibration system time, synchronous with the control unit retention time of other control systems.
In technique scheme; described protected location is a kind of three-level protective circuit; a TVS pipe to ground is connected from the every bar differential line of input; after TVS pipe, every bar circuit is connected in series a current-limiting resistance; between two circuits of two current-limiting resistance front ends, connect a build-out resistor, between two circuits of two current-limiting resistance rear ends, connect an air discharge tube to ground.
In technique scheme, preferential described current-limiting resistance should be resistance is 10 Ω, and power is the resistance of 2W.
In the present invention, realize a kind of control method of technique scheme, the method is:
Step one: initialization GPS module and UART, receives GPS module output information by UART and is used for follow-up gps satellite time resolution;
Step 2: GPS module obtains satellite positioning information, acquisition time information from locating information;
Step 3: obtain program broadcast start time T1, utilizes gps satellite time resolution algorithm to obtain current time T2 from GPS module, calculates the time migration T=T2-T1 of current time distance time started;
Step 4: calculate current point in time T2 should which played file in broadcast program list according to gps time synchronized algorithm according to the playback rate of played file each in result of calculation T and programme, and which frame play in this file, namely carry out broadcasting calibration;
Step 5: each master controller navigates to certain deviation post of certain file concrete according to the result of calculation of step 4, start to play, the result of calculation of step 4 can be different along with the difference of T2 in step 3, by the calibration before broadcasting, realize time synchronized.
Compare with prior art, the present invention has following beneficial effect: under signal light control off line play mode, utilize the time synchronized that the gps satellite time realizes between multiple master controller, realize the globality of broadcasting pictures, consistency, time precision is high, signal stabilization, information export fast, can to meet in signal light control field time synchronized to the requirement of time accuracy, stability, real-time.
Accompanying drawing explanation
The present invention illustrates by embodiment and with reference to the mode of accompanying drawing, wherein:
Fig. 1 is the circuit structure block diagram of control device;
Fig. 2 is the physical circuit figure of protected location in Fig. 1;
Fig. 3 is control unit workflow diagram.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described further.
As shown in Figure 1, control unit is the core of whole device, and this control unit is that a kind of CPU, RAM, ROM, timer conter and multiple I/O interface of collecting is with the digit chip of one.By computer programming by the memory in burned for light fixture control program control unit, control unit is by accepting outside clock signal and reset signal, the program that the processor of control unit reads in memory also completes corresponding data processing, by the I/O interface of control unit with the external output multi-channel control signal of the mode of parallel transmission.Described control signal is LVTTL; each road LVTTL signal is by being transferred to transmitting element after shaping circuit filter shape; each road LVTTL signal is converted to a road Difference signal pair and transmits outward by transmitting element; the transmission line of differential signal arranges a protected location, for the protection of the fail safe of device in the integrality of signal and device.Just outside light fixture is directly transferred to by the differential signal of protected location.Every road control signal that control unit sends can comprise at most 513 groups of data, i.e. 1 group of initial code and 512 groups of control datas, and light fixture of the present invention is a kind of light fixture based on DMX512 agreement, full-color LED has red, green, blue three kinds of glow colors, Laser emission needs to take 3 sendaisles, and therefore every road control signal can control at most 170 LED lamp.
For the ripple on the signal that elimination control unit sends out and burr, signal transmission line increases a shaping circuit, filter shape is carried out, to provide a kind of good signal transmission to the every road LVTTL signal sent out from control unit.By the LVTTL signal of shaping circuit filter shape with directly sending out a corresponding line state drive singal from control unit is transferred to transmitting element simultaneously.
Transmitting element inside is containing receiver and transmitter, and the in-phase output end of transmitter is as one of them control signal input of described receiver.When receiving LVTLL signal and state actuation signal, by internal comparator, LVTTL signal and state actuation signal are converted to a road differential signal and export, difference output end is connected on two inputs of protected location.
As shown in Figure 2, described protected location is a kind of three-level protective circuit, a TVS pipe to ground is connected from the every bar differential line of input, after TVS pipe, every bar circuit is connected in series a current-limiting resistance, between two circuits of two current-limiting resistance front ends, connect a build-out resistor, between two circuits of two current-limiting resistance rear ends, connect an air discharge tube to ground; Preferential, described current-limiting resistance should be resistance is 10 Ω, and power is the resistance of 2W.
Wherein gas discharge tube works release Lightning Transient overcurrent and over-voltage effect, when the high energy impact events of moment is stood at TVS pipe two ends, it can make its impedance suddenly reduce with high speed, simultaneously stability big current, voltage clamp between its two ends is numerically predetermined at one, thus guarantee that circuit element below damages from the high-octane impact of transient state.
As shown in Figure 1, this device is by network connecting module and PERCOM peripheral communication, and PERCOM peripheral communication can be adopted in two ways:
Mode one:
Network connecting module is directly connected with outer computer by netting twine, and assign control command by computer to the control unit of device, device starts according to external control instruction work, the concrete control of complete lamps constituting a pair.
Mode two:
Linked together by many motors control device by external switch, form a small-sized control area net(CAN) network, arranging a control device is main control unit, and other control device is from control device; Control other by main control unit transmission control command to work from control device simultaneously.
In the foregoing description, when many motors control device works simultaneously, need jointly to complete and a picture is controlled, in order to ensure that effective control of light needs each control device to adopt same fiducial time, therefore as shown in Figure 1, control unit is connected with GPS module, the locating information of GPS module energy automatic acquisition satellite, namely a road RS232 signal is sent after obtaining locating information, a road LV-TTL signal is converted to after level transferring chip, and be sent to control unit, control unit is according to the temporal information auto modification controller system time comprised in LV-TTL signal, after the calibration of control unit deadline, a road control signal is sent according to new sequential, be transferred to the required light fixture controlled.
For realizing said process, the workflow of control unit is as follows:
Step one: initialization GPS module and UART, receives GPS module output information by UART and is used for follow-up gps satellite time resolution;
Step 2: GPS module obtains satellite positioning information, acquisition time information from locating information;
Step 3: obtain program broadcast start time T1, utilizes gps satellite time resolution algorithm to obtain current time T2 from GPS module, calculates the time migration T=T2-T1 of current time distance time started;
Step 4: calculate current point in time T2 should which played file in broadcast program list according to gps time synchronized algorithm according to the playback rate of played file each in result of calculation T and programme, and which frame play in this file, namely carry out broadcasting calibration;
Step 5: each master controller navigates to certain deviation post of certain file concrete according to the result of calculation of step 4, start to play, the result of calculation of step 4 can be different along with the difference of T2 in step 3, by the calibration before broadcasting, realize time synchronized.
Assuming that the data length that every road controller channel sends is fixed as 512 bytes, (every paths data length, director port number are all determined on a case-by-case basis to suppose have 8 tunnels to export by each controller, herein only for illustrating), the frame data length that so each controller exports is 512*8=4096 byte, suppose that the amount controller of a control LED lamplight picture is CNUMS, so the data length of single frames broadcasting pictures is CNUMS*4096 byte.
The file that the list of hypothetical program list file comprises is followed successively by File1, File2 ... FileN, the playback rate of each played file (represents with frame frequency FR, i.e. broadcasting FR frame data per second) be respectively Fr1, Fr2 ... FrN, the size of each played file is respectively Fsize1, Fsize2 ... FsizeN, the frame number that so each file comprises is FsizeN/ (CNUMS*4096), the reproduction time of each file is FsizeN/ (CNUMS*4096)/FrN second, supposes that the reproduction time of each file after calculating is respectively Tf1, Tf2 ... TfN.
A. first time point T2 should which played file in broadcast program list in calculation procedure three:
Setup times variable Tx, by reproduction time Tf1, Tf2 of each file ... TfN is added to Tx according to this, i.e. first Tx=Tf1, following Tx=Tf1+Tf2, by that analogy, as Tx >=T, stops, and now this file is the file that the T2 moment should play.Such as Tx=Tf1+Tf2+Tf3 >=T, so the file that should play is File3 the T2 moment.Because the file in broadcast program list in certain reproduction time section can loop play, after being added to broadcast program unijunction tail and TfN, Tx is still less than T, just continues to press Tf1, Tf2 ... time Tf is added to Tx by the order of TfN successively, until terminate during Tx >=T.Suppose that the played file of finally trying to achieve is FILE.
B. which frame of file internal that secondly time point T2 should be obtained by a in broadcast program list in calculation procedure three, namely calculates file internal skew:
Suppose that the frame frequency of a file FILE is FR, difference operation Tx-T is with Tx and the T tried to achieve in a, be the time that file FILE has play, so T2 moment file FILE frame number Frnums=(Tx-T) * FR that should play, file internal skew Foffset=(Tx-T) * FR* (CNUMS*4096).
Result of calculation: the time point T2 calculated according to gps time synchronized algorithm should file FILE in broadcast program list, and file internal skew is Foffset.
Each master controller navigates to file FILE internal blas Foffset position according to the result of calculation of step 4, play from this position, each master controller is calibrated all in this way before broadcasting, can realize time synchronized, i.e. globality, the consistency of broadcasting pictures.
Whole device is powered by power module, the power supply needed for control unit, shaped current, transmitting element respectively by power module by supplying after pressure regulation, filtering, to ensure to provide clean power supply.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. one kind has the control method of the DMX512 lamp control device of gps time synchronizing function, described control device comprises network connecting module, control unit, shaping circuit, transmitting element and protected location, the control signal that described control unit sends out is transferred to transmitting element after shaping circuit shaping, by transmitting element signal be converted to differential signal and be transferred to DMX512 light fixture by protected location, described network connecting module is connected with control unit;
It is characterized by described device and also comprise GPS module and level transferring chip, the satellite time got is transferred to control unit by level transferring chip by described GPS module, described control unit is by the satellite time calibration system time, synchronous with the control unit retention time of other control systems;
Described control method comprises the following steps:
Step one: initialization GPS module and UART, receives GPS module output information by UART and is used for follow-up gps satellite time resolution;
Step 2: GPS module obtains satellite positioning information, acquisition time information from locating information;
Step 3: obtain program broadcast start time T1, utilizes gps satellite time resolution algorithm to obtain current time T2 from GPS module, calculates the time migration T=T2-T1 of current time distance time started;
Step 4: calculate current point in time T2 should which played file in broadcast program list according to gps time synchronized algorithm according to the playback rate of played file each in result of calculation T and programme, and which frame play in this file, namely carry out broadcasting calibration;
Step 5: each master controller navigates to certain deviation post of certain file concrete according to the result of calculation of step 4, start to play, the result of calculation of step 4 can be different along with the difference of T2 in step 3, by the calibration before broadcasting, realize time synchronized.
2. a kind of control method with the DMX512 lamp control device of gps time synchronizing function according to claim 1; it is characterized in that described protected location is a kind of three-level protective circuit; a TVS pipe to ground is connected from the every bar differential line of input; after TVS pipe, every bar circuit is connected in series a current-limiting resistance; between two circuits of two current-limiting resistance front ends, connect a build-out resistor, between two circuits of two current-limiting resistance rear ends, connect an air discharge tube to ground.
3. a kind of control method with the DMX512 lamp control device of gps time synchronizing function according to claim 2, described current-limiting resistance should be resistance is 10 Ω, and power is the resistance of 2W.
CN201210419587.0A 2012-10-29 2012-10-29 Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS) Active CN103096578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210419587.0A CN103096578B (en) 2012-10-29 2012-10-29 Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210419587.0A CN103096578B (en) 2012-10-29 2012-10-29 Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS)

Publications (2)

Publication Number Publication Date
CN103096578A CN103096578A (en) 2013-05-08
CN103096578B true CN103096578B (en) 2015-04-01

Family

ID=48208530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210419587.0A Active CN103096578B (en) 2012-10-29 2012-10-29 Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS)

Country Status (1)

Country Link
CN (1) CN103096578B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513401B (en) * 2018-04-09 2019-12-10 横店集团得邦照明股份有限公司 real-time synchronous large-scale scene control system and implementation method thereof
CN108924999A (en) * 2018-07-17 2018-11-30 江苏飞天照明有限公司 A kind of GPS isochronous controller
CN110989332A (en) * 2019-12-13 2020-04-10 江门市蓬江区天利新科技有限公司 Method and system for realizing LED lamp string display synchronization based on high-precision clock signal
CN110933384A (en) * 2019-12-17 2020-03-27 深圳爱克莱特科技股份有限公司 Offline play synchronous control device and control method of LED play system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201252664Y (en) * 2008-06-20 2009-06-03 深圳市联腾科技有限公司 Transmitting-receiving control device of DMX512 lamp
CN101932161A (en) * 2009-06-23 2010-12-29 上海博繁企业发展有限公司 Timing device of streetlight control box and timing method
KR20110023640A (en) * 2009-08-31 2011-03-08 하재영 Lighting system with rf
CN102186275A (en) * 2011-02-01 2011-09-14 韦自力 Method and system for remotely and real-time playing and synchronously controlling light emitting diode (LED) lamp light

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201252664Y (en) * 2008-06-20 2009-06-03 深圳市联腾科技有限公司 Transmitting-receiving control device of DMX512 lamp
CN101932161A (en) * 2009-06-23 2010-12-29 上海博繁企业发展有限公司 Timing device of streetlight control box and timing method
KR20110023640A (en) * 2009-08-31 2011-03-08 하재영 Lighting system with rf
CN102186275A (en) * 2011-02-01 2011-09-14 韦自力 Method and system for remotely and real-time playing and synchronously controlling light emitting diode (LED) lamp light

Also Published As

Publication number Publication date
CN103096578A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103096578B (en) Control method for DXM 512 lamp control device with time synchronization function of global position system (GPS)
CN203708565U (en) Professional art performance lighting power supply system
CN203708567U (en) Direct-through and light regulation dual purpose power supply module of professional lighting power supply system
US8492983B1 (en) System and method to address and control serially connected LEDs
CN104735387B (en) Realize multichannel MIPI synchronization transfer methods and device
CN203708564U (en) Straight-through light modulation dual-purpose power supply module used for professional art performance lamplight
CN104853503B (en) The collection system and lamp control system of light fixture operating state data
CN203120211U (en) Data conversion device of flexible LED driver and dimming system
CN106604475A (en) LED streetlamp illumination light adjusting system based on DC remote power supply
CN103795989A (en) Integrated and distributed type stitching control display system based on network
CN102915222B (en) Method for synchronizing time and implement device thereof between many light master controller
CN203708566U (en) Lighting power supply system used for stage, movie and television
CN104837284B (en) The wireless synchronous control system and method for aviation obstruction beacon
CN105207453B (en) A kind of parallel extended method of driver and structure
CN204437893U (en) A kind of LED bay light with camera function
CN100505970C (en) Control system and method for light emitting network
CN203734770U (en) Network-based centralized-distributed splicing control display system
CN203708568U (en) Direct-through and light regulation dual purpose power supply module
CN104349531B (en) Pass through the Intelligent light system and control method of CAN remote control
CN201178508Y (en) Lamp control system
CN103096579A (en) DXM 512 lamp control device capable of achieving multi-channel parallel output and control method
CN211152287U (en) Projection system based on wisdom street lamp
CN102116419A (en) LED (light emitting diode) system and method for communication of LED system power line carrier waves
CN103839394A (en) Control method of controlled switch as well as controlled switch
CN211124344U (en) multichannel L oRa gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210519

Address after: No. 6, Jiuhua Road, khuchuang Park, Mianyang, Sichuan

Patentee after: Sichuan Jiuzhou Investment Holding Group Co.,Ltd.

Address before: 621000 No.6, Jiuhua Road, Mianyang City, Sichuan Province

Patentee before: SICHUAN JIUZHOU ELECTRIC GROUP Co.,Ltd.

TR01 Transfer of patent right