CN108880617A - A kind of city LED light box advertisement tele-control system - Google Patents
A kind of city LED light box advertisement tele-control system Download PDFInfo
- Publication number
- CN108880617A CN108880617A CN201810822283.6A CN201810822283A CN108880617A CN 108880617 A CN108880617 A CN 108880617A CN 201810822283 A CN201810822283 A CN 201810822283A CN 108880617 A CN108880617 A CN 108880617A
- Authority
- CN
- China
- Prior art keywords
- signal
- voltage
- cycle
- point
- setting
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/33—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements being semiconductor devices, e.g. diodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Theoretical Computer Science (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Abstract
The present invention relates to a kind of city LED light box advertisement tele-control systems, every 1 is expressed to multiple LED light box advertisements by the effect that a billboard controller controls its ad content, a piece area controller is arranged in multiple billboard controllers in one region, billboard controller and piece area controller pass through power line communication, piece area controller accesses internet by Network Interface Module, so as to use computer and handheld mobile device to understand and control each section LED light box advertisement.
Description
(1) technical field:
The present invention relates to a kind of city LED light box advertisement tele-control systems, include piece area controller and each billboard control
Device processed is crossed 0 area's specified point to grid cyclic wave voltage and is sent wide pulse signal generation mutation current using power line communication method,
Grid cyclic wave is set to carry information.Piece area controller receives the data of each billboard controller acquisition, and by being integrated with TCP/IP
The Network Interface Module of hardware protocol stacks accesses internet, so as to use computer and handheld mobile device to access remote computation
Machine management system.
(2) background technique:
Current power line communication refers mainly to power line carrier communication and bi-directional Glenn shunt.Power line carrier communication PLC benefit
Signal is transmitted by carrier system with existing power line.But distribution transformer has barrier action to power carrier signal, simultaneously
Transmission has the very big loss of signal again between three-phase power line, so power carrier signal can only be in a distribution transformer platform area
Transmission, and can only be transmitted in single-phase electricity line.In practical application, when power line zero load, point-to-point carrier signal can be transferred to
Several kilometers, but when load is very heavy on power line, tens meters can only be transmitted, therefore power line carrier communication is only applied remote at present
In journey meter reading, also need to cooperate other means of communication.
Bi-directional Glenn shunt TWACS, which is utilized, is added modulated signal in power-frequency voltage fundamental wave zero passage area, with the electricity in this region
The distorted signal of pressure or current waveform carries information.TWACS system equipment exists only in substation and user terminal.Wherein by power transformation
Standing to the channel of user terminal transmission is output channel, carries information using the modulation of voltage waveform, is passed from user terminal to substation
Defeated channel is input channel, transmits information using the variation of current waveform.Its receiving and transmitting signal passes through coupling transformer and electricity
The crosslinking of power net.
The detection of TW A CS signal is mainly based upon time-domain difference technology, these methods mostly data processing complex, in real time
Property it is poor, equipment cost is high, needs to acquire a large amount of signal of multiple cycles relatively and carries out A/D conversion respectively, then carries out complicated meter
It calculates, just can determine that the signal position is " 1 " or " 0 ", due to the preciseness of calculating, interference signal can seriously affect detected signal
Judgement as a result, therefore original method be difficult China apply.
Clock timer and synchrotimer is arranged in the present invention, and the true and false judgement of synchrotimer and cycle signal is screened
With reference to my 2016 yearly correlation patents.
(3) summary of the invention:
Power line bi-directional Glenn shunt be when silicon-controlled 30 ° of triggering and conductings before zero crossing of modulation circuit, by every
Modulated signal is generated from transformer, makes grid cyclic wave that short circuit distortion occur, exports the frequency of modulated signal in 200~600Hz
Range, receiving end demodulate useful letter by acquisition, A/D conversion and the series of computation to multiple groups cycle distorted signal
Breath.But China's power network uses isolated neutral or small current neutral grounding system, electricity consumption situation is complicated, the two-way power frequency of power line
Communication can hardly find practical applications in China.
The present invention relates to a kind of city LED light box advertisement tele-control system, an advertising company is maintain in city
A large amount of LED light box advertising equipments, city LED light box advertisement includes the LED light box advertisement being installed in roof and road on both sides of the road, riverbank
Side LED light box advertisement and the LED light box advertisement at each sight spot etc., every 1 to multiple LED light box advertisements is controlled by a billboard
Device controls the effect expression of its ad content, and a piece area controller, advertisement is arranged in multiple billboard controllers in a region
Board controller and piece area controller reduce wiring installation using power line communication by power line communication.By piece area controller control
The LED display pattern of billboard controller processed selects, and piece area controller is connect by being integrated with the network of TCP/IP hardware protocol stacks
Mouth mold block accesses internet, can so as to use computer and handheld mobile device to understand and control each section LED light box advertisement
Remote computation machine management system is accessed at any time.
The power line communication of use is the signal sending point and signal receiving point by the setting to grid cyclic wave voltage
It is accurately positioned, sends a rectangle broad pulse of communication positive or negative pole in the signal sending point of setting to generate mutation electricity
Stream, which causes a voltage drop to be superimposed on grid voltage waveform on the short-circuit impedance of distribution transformer, to complete
Signal modulation process, signal receiving point demodulated signal of the receiving end in the setting of grid cyclic wave voltage;One anode
Broad pulse refers to that the high level part of pulse returns 0 from 0 to height.Because only sending single rectangular wave broad pulse to power grid shadow
Very little is rung, and structure simple signal recall rate is high.The microcontroller STC15F2K60S of system, using external crystal-controlled oscillation, frequency
35MHz, signal procedure are write with assembler language, to reduce communication instruction holding time.Or use other model high speed microcontrollers
Device.
The setting of signal transmitting and receiving position:It is crossed at 0 in the voltage of grid cyclic wave positive half cycle and 0 voltage comparator was set, in electricity
A setting cycle voltage location setting signal voltage comparator between voltage 21V -40V of net week wave positive half cycle.In this way,
The output of signal voltage comparator realizes overturning in two positions of all wave voltages of setting of a cycle positive half cycle.Cycle just
The position of the setting week wave voltage of half cycle ascent stage is as the first signal location, all wave voltages of setting signal transmitting-receiving point
Position is known as the first signal set point, cycle positive half cycle descending branch the setting week wave voltage position as second signal
The cycle voltage location of position, setting signal transmitting-receiving point is known as second signal set point.Microcontroller STC15F2K60S can be with
It is that rising edge triggers or failing edge triggers that external interrupt, which is arranged, has served as 0 voltage comparator and signal voltage comparator in power grid week
The ascent stage of wave positive half cycle or descending branch, which generate after overturning triggering is interrupted, changes down trigger mode, or and by different interruptions
Source generates interruption.
The condition that signal transmitting and receiving has:0 voltage comparator of mistake and signal voltage comparator are all made of ns grades of height
Fast voltage comparator.The time mistake that overturning and triggering are interrupted can reduce using High Speed Microcontroller and high speed voltage comparator
Difference, and have the resolution ratio of sufficiently high detection overturning triggering break period, cooperate the position of signal to wipe the skill with synchrotimer
Art means improve the recall rate that grid cyclic wave carries information.It needs to transmit by ns grades of high-speed power control switch basis signal
Distance it is tests determined by transmitted positive 35V to a setting rectangular wave broad pulse voltage-drop loading between 60V in power grid
Signal sending point on cycle, the rectangular wave broad pulse voltage are higher than the voltage for the grid cyclic wave position being loaded.Basis signal
The width of the tests determined rectangular wave broad pulse voltage of the distance that need to be transmitted is 0.3ms~0.5ms, can provide signal code 1A-
20A.It is displaced all wave voltages in the time of the signal location, so that the high speed voltage comparator of receiving end be made to connect in signal
Sink is not overturn, is taken " 1 " to send as the position (BIT) in signal, is otherwise taken " 0 " to send for the position (BIT) in signal.Therefore only
When the position value in signal overturn signal voltage comparator should in signal receiving point, due to interference be not flipped just have by
Interference effect.
Signal receiving end setting:Signal receiving end is by twin voltage comparator, High-speed Control switch and signal voltage comparator
It constitutes, grid cyclic wave connects after electric resistance partial pressure with twin voltage comparator input terminal, and the setting of twin voltage comparator is rationed the power supply by wealthy family
The low-voltage window region that the threshold range of pressure and low threshold voltage is constituted.Under microcontroller control, when all wave voltages of input
When falling in the low-voltage window region of twin voltage comparator setting, make High-speed Control switch in an ON state, signal voltage compares
Device directly receives position in the signal of all wave voltages and receives signal and measurement cycle time parameter, whether determines received signal
In the signal receiving point error range of setting, make High-speed Control switch in an off state other than low-voltage window region.Cause
This, grid cyclic wave voltage is only directly conditioned in two low-voltage window regions of cycle positive half cycle through High-speed Control switch control
Filtering is followed by signal voltage comparator input terminal, is filtered out High-frequency Interference and is passed through fundamental frequency signal re-demodulation signal of communication, every
From grid cyclic wave high voltage, the error as caused by bleeder circuit is reduced.Low-voltage window region is arranged in twin voltage comparator
When, it need to guarantee that the first signal location and second signal position are fallen in always in the low-voltage window region.
The erasing and repeating transmission of position value in signal:During transmitting terminal sends signal, when high-speed power control switch is opened
Afterwards, signal transmitted by transmitting terminal simultaneously receiving end signal voltage comparator receive, if received position value information with
The position value information of transmission is different, then then sends the erasing signal of this.Each data bit is erasable in each frame signal
It retransmits, erasing signal, if erasing is unsuccessful, that is, the erasing signal value information sent and received not phase is received and dispatched using control bit
Together, continue to send this erasing signal until sending successfully, then retransmit the position signal being wiped free of, other position signals that do not wipe are still
So effectively, to improve signal recall rate.Only when be wiped free of position quantity be more than setting value when, just wipe and retransmission of information
Frame.
Information frame generates:System is the communication of two machines or principal and subordinate's multi-computer communication, is allocated in advance when for principal and subordinate's multi-computer communication
Synchronization time is used in the communication of each machine, and setting section synchronization time can communicate one or many, communicates multiple information frames every time, synchronization
Period timing terminates, and synchrotimer resets and restarts timing.
Institute's rheme is binary digit.Each information frame is made of start bit, data bit, stop bits.Start bit and end
The every bit occupancy a cycle in position, data bit totally 8, two periods of every bit occupancy.Position value is with signal voltage comparator in signal
Receiving point does not overturn to send position signal " 1 ", overturns to send position signal " 0 ".Microcontroller records effectively during transmitting-receiving
Data bits and the occupied digit of erase process show that data bit passes when wherein valid data digit reaches 8 digit of setting
Send end.When first signal set point of each data bit sends position signal " 1 " or " 0 ", position signal " 1 " that second round sends or
" 0 " is with the period 1 on the contrary, its two kinds are combined " 1 ", " 0 " and " 0 ", " 1 " as position signal two different values.Second round
Second signal set point is confirmation or the data that the first signal set point of erasing is sent, and sending " 0 " is confirmation, and sending " 1 " is to wipe
It removes.It is to start to send that signal voltage comparator, which sends " 1 " in the first signal set point, in start bit, and stop bits is set in the first signal
Fixed point is terminated with sending " 0 ", and the second signal set point of start bit and stop bits does not have to.
The compensation of signal transmitting and receiving location error:China's sinusoidal ac mains frequency be 50Hz, voltage effective value 220V,
Its instantaneous voltage u is calculated by following formula:
U=Umsin100 π t;……………………….………….1
In formula:Um is China's network voltage peak value
As shown in Figure 1, system is crossed at 0 using the voltage of cycle positive half cycle ascent stage as start time to the first signal set point
Time interval be nominal value Tm1;The voltage of cycle positive half cycle ascent stage is crossed at 0 as start time to second signal set point
Time interval is nominal value Tm2.The Tm1 and Tm2 is calculated by 1 formula, and u is to set all wave voltages in formula.
Simultaneously measured 0 voltage comparator the cycle positive half cycle ascent stage mistake 0 overturn when time arrived for start time
The real-time measurement values Tc1 of time interval of the signal voltage comparator when the first signal location is overturn;This spent for 0 flip-flop transition when being
Between starting point to signal voltage comparator second signal position overturn when time interval real-time measurement values Tc2;Signal voltage
Comparator arrived time of 0 voltage comparator when the mistake 0 of cycle positive half cycle descending branch is overturn when second signal position is overturn
The real-time measurement values Tc3 at interval;0 voltage comparator is crossed when the mistake 0 of the cycle positive half cycle ascent stage of two adjacent cycles is overturn
Time interval be cycle period real-time measurement values Tzu.
Since power grid crosses the left and right shake that 0 error showed as at 0 point, but sending and receiving end synchronized 0 and to cross 0 overturning as base
Locating tab assembly cycle time parameter, crossing 0 shake influences very little to measurement cycle time parameter, therefore ignores 0 voltage comparator and cross 0
Overturning and timing error.When the cycle and its two adjacent cycles that detect are cycle period reality that is true, being detected simultaneously by
When measured value Tzu in 20ms and its error range, measure the cycle to cross 0 voltage comparator in the cycle positive half cycle ascent stage
The a reference value Tc01 of time interval when crossing 0 overturning for start time to signal voltage comparator when the first signal location is overturn
The a reference value that 0 overturning is time interval of the start time to signal voltage comparator when second signal position is overturn is crossed with this
Tc02 saves the continuous T c01 and Tc02 of a setting number in 30 to 50 and calculates saved Tc01Average value Tp1With
The T savedc02Average value Tp2, by Tp1And Tp2It is stored in corresponding storage unit.
The then error compensation value T of signal voltage comparator flip-flop transitionbIt is determined by following formula:
Tb={ (Tm2-Tm1)-(Tp2-Tp1)}÷2;………………2
Tb is saved.Tb is that timing illustrates that the position of actual signal transmitting-receiving point is higher.
Measurement described above, wherein Tc1 or Tc01 be with cross 0 voltage comparator and signal voltage comparator cycle just
Half cycle was crossed on the basis of the flip-flop transition of 0 position and signal location, but actual measurement is after overturning triggering interruption with voltage comparator
Timer timing time on the basis of, in this way, served as 0 voltage comparator the cycle positive half cycle ascent stage mistake 0 overturn after touch
Hair interrupts and starts the process of timer, and there are time for each instructions, it need to be added in the timing time of the measurement;Meanwhile
The instruction of the process of timer is interrupted and is read in the triggering that the timing time of the measurement need to subtract after the overturning of the first signal location
Execute the time.When the execution for also needing an instruction being carrying out comprising microcontroller after overturning is interrupted in triggering after wherein overturning
Between, it can postpone interruption, and microcontroller STC15F2K60S is the single-chip microcontroller of 1T, this is easy to obtain the instruction time.?
Binary signal position measures Tc2 or Tc02Similarly, T is measuredc3When be also similar to above.
The judgement of the cycle true and false:By Tc1With Tp1;Tc2 and Tp2;Tzu makes comparisons respectively with 20ms, if respectively at it
In the cycle error range of permission, then the cycle signal detected is very, otherwise to there is more overproof a, week detected
Wave signal is false.Not in communication period and in the Tc1 and Tp1 of communication period;It is set respectively when Tc2 makes comparisons respectively with Tp2
Different cycle error ranges is set, since the first signal location of communication period and second signal position are shifted, and is taken biggish
Cycle error range.
Clock timer and synchrotimer is arranged in system, and wherein synchrotimer saves each cycle period and counted with 20ms
The cycle period aggregate-value of calculation is as synchronization time.When above-mentioned judgement cycle signal is true, saves Tzu and take 20ms and synchronometer
When device timing time be added, the value that will add up restores in synchrotimer, if the cycle signal detected be it is false, will be all
Wave signal is timing time during the vacation compared with 20ms is multiplied by the product for cycle during the vacation, if in error range,
20ms is taken to be added multiplied by the product for cycle during the vacation with synchrotimer timing time, when detecting that cycle signal is again
The time synchronisation time is accurately corrected when true, and otherwise using cycle signal is timing time and synchrotimer timing during the vacation
Time is added.It is ± 0.1Hz when generally running, when the relative error since power system frequency deviation allowable value is 0.2Hz
When more than 6ms, illustrate that power grid has occurred compared with major break down.
The synchronization of signal transmitting and receiving:Communication is realized under control synchronization time.Communication transmits multiple information frames each time, often
At the beginning of secondary communication use synchronization time, be it is preset or by piece area controller instruct arrange, according to power grid quality and letter
Number structure needs the data bit occupancy in each frame information 1 to multiple setting byte numbers, and power grid quality takes well biggish set
Determine byte number.The clock timer time there are two cycle period is stayed after each frame traffic, for updating Tc1、Tc2And Tc3。
The communication of next frame since next cycle retransmits the information frame if detecting that cycle signal is vacation in a frame traffic.
Realize that the cycle in communication sequentially synchronizes by the start bit of each frame information, stop bits in the sending and receiving end of the communication information
It connects.Piece area controller or billboard controller measure respectively and store T in the call duration time gap of described two framesc1、Tc2
And Tc3, and the average value Tk3 of the average value Tk2 and Tc3 of average value Tk1, Tc2 of two real-time measurement values Tc1 are calculated separately,
And it is stored in two groups of storage units, the i.e. storage unit of Tc1, Tc2 and Tc3 and Tk1, Tk2 and Tk3 storage unit respectively, when from depositing
Storage unit resets two groups of storage units after taking out Tk1, Tk2 and Tk3.The storage unit can store 16 real-time measurement values Tc1,
Tc2 and Tc3.Not in communication period, continuous 16 real-time measurement values Tc1, Tc2 and Tc3 are measured respectively, arrive cycle if screened
Signal is vacation, then resets the respective storage unit of described Tc1, Tc2 and Tc3, continues to measure when it is true for screening to cycle signal
And storage, one Tc1, Tc2 and Tc3 of every deposit, first remove Tc1, Tc2 and Tc3 being stored at first, press simultaneously when being filled with
Number is taken out in a setting in 2 to 15, takes out Tc1, Tc2 and Tc3 of last one group of deposit, and when power grid quality difference, choosing is smaller sets
Surely number is taken out, calculates the average value Tk3 of the average value Tk2 and Tc3 of average value Tk1, Tc2 of each group of the Tc1 taken out simultaneously
Tk1, Tk2 and the Tk3 originally saved is replaced, the shadow of network voltage and frequency fluctuation is reduced using average value Tk1, Tk2 and Tk3
It rings.
Send the determination of signal time:Communication is implemented in the single-phase phase line in a transformer platform area of power grid,
And it makes an appointment by the synchrotimer time and starts call duration time.Holding with address information is first broadcasted by piece area controller when communication
Hand signal, when piece area controller requires some billboard controller to piece area controller feedback information, the billboard controller
Just information is sent to piece area controller.Piece area controller or billboard controller are in the communication synchronization time transmitting-receiving letter made an appointment
Before breath, it is necessary to screen out continuous no less than 16 grid cyclic waves, i.e., have no less than 16 in real-time measurement storage unit
A Tc1, Tc2 and Tc3 is sequentially delayed if continuous 16 Tc1, Tc2 and Tc3 is not detected until detecting 16
Until.The value that transmitting terminal takes out Tk1, Tk2 and Tk3 from storage unit adds Tb respectively, obtains the first letter with error compensation
Number practical transmitting-receiving point Td1 and practical sending point Td2 of second signal:
Td1=Tk1-Tb;…………………………………………3
Td2=Tk2+Tb;…………………………………………4
The practical receiving point Td3 of second signal with error compensation:
Td3=Tk3-Tb;…………………………………………5
Td1, Td2 and Td3 are saved in respective storage unit.Tk1, Tk2 and Tk3 are by more after sending each frame information
Newly.
Send signal when, microcontroller use respectively Td1 and Td2 as the timing midpoint of switching signal timer and according to
Used rectangular wave broad pulse voltage levels take certain offset, then using the spaced time of rectangular wave broad pulse as switch
The timing length of signal timing device is easy to calculate high-speed power control switch turn-on time point, i.e., sends rectangle for Td1 point
The setting sending time Tf2 of the rectangular wave broad pulse of setting sending time Tf1 and the Td2 point of wave broad pulse:
Tf1=Td1- (Tm/2)-Tan;……………………………6
Tf2=Td2- (Tm/2)-Tan;……………………………7
Tm is signal rectangular wave broad pulse width in formula, and Tan is the offset.
In the cycle positive half cycle ascent stage, since rectangular wave broad pulse loads on the initial stage of cycle positive half cycle, the wide arteries and veins of rectangular wave
Rush that the voltage more therefore transmitted rectangular wave broad pulses high relative to all wave voltages are more powerful, the signal of generation receives
Point displacement is more, sets turnover voltage in the other time segment signal voltage comparator of loading procedure, has been moved off signal reception
The voltage location of point;Cycle positive half cycle descending branch is then the signal generated in the latter stage for loading on cycle process in rectangular wave broad pulse
Receiving point displacement is more, in this way, the switching signal according to the tests determined transmitting terminal of rectangular wave broad pulse voltage actually used
Offset Tan between the midpoint and Td1 or Td2 of timer time receives signal more reliable.
Signal transmission process:Transmitting terminal is crossed the overturning of 0 voltage comparator in cycle positive half cycle ascent stage cycle and was generated in 0
Disconnected, after the Ti1 or Ti2 that is delayed, firing switch signal timing device simultaneously connects high-speed power control switch, and single rectangular wave is wide
Pulse voltage is superimposed on grid cyclic wave, and fundamental frequency is made to generate small displacement on a timeline in the voltage of Td1 or Td2,
And certain harmonic wave can be injected to system.
If cross 0 interruption after interrupt handling routine, start measurement Tc1 timer with connects switching signal timer instruct
The execution time is Tin
When sending signal to Td1:
Ti=Tf1-Tin;…………………………………………8
When sending signal to Td2:
Ti2=Tf2-Tin.…………………………………………9
Signaling point displacement how many in real time adjustings of the value of Ti and Ti2 also according to receiving end.
Closing high-speed power control switch in the interrupt service program when interrupting is overflowed in switching signal timer timing, thus
Complete a signal modulation process.
In view of the decaying of signals transmission, and demodulation is using cycle voltage over zero as time reference, in this way
In Long Distant Transmit, the cycle voltage phase difference of sending and receiving end will cause setting and receives signal time position and actual signal signal
Occur deviation between time location and shadow communication performance, therefore when not taking the method for eliminating deviation, communication distance is limited
System is in same transformer platform area.
The demodulation of signal:Signal voltage comparator of the receiving end when receiving signal is in the first signal location real-time measurement
Tc1 subtract the value after Tb with from the previous Tc1 that the Tc1 being finally stored in is taken out in memory subtract Tb after value whether make comparisons
Within the scope of the signal errors of permission, determine that the first signal location receives position value in signal;Signal voltage comparator is
The Tc3 of binary signal position real-time measurement subtracts the value after Tb and subtracts with the previous Tc3 for taking out the Tc3 being finally stored in from memory
Whether the value after removing Tb makes comparisons within the scope of the signal errors of permission, determines that second signal position receives position in signal and takes
Value.
The control of signal transmitting power:When transmitting terminal switching signal timer fires and connect high-speed power control switch
Afterwards, the external interrupt mouth of microcontroller opening signal receiving end immediately detects signal voltage comparator in cycle positive half cycle first
The flip-flop transition of signal location and second signal position, whether shifted compared with Td1 and Td3 and its shift amount, if signal
Voltage comparator flip-flop transition closer to Td1, illustrates that the rectangular wave broad pulse energy sent is relatively smaller or electric network impedance is opposite
It is lower.If signal voltage comparator flip-flop transition closer to Td1, increases the Ti time, if rectangular wave broad pulse voltage ratio
The Ti2 time is then reduced closer to Td2 compared with device flip-flop transition.
(4) Detailed description of the invention:
Fig. 1 is grid cyclic wave receiving and transmitting signal position data relation schematic diagram;
Fig. 2 is a kind of circuit structure block diagram of city LED light box advertisement tele-control system.
(5) specific embodiment:
A kind of circuit structure block diagram of city LED light box advertisement tele-control system is as shown in Figure 2.It is controlled including section
Device and multiple billboard controllers.Piece area controller is shown by signal sending end A, signal receiving end B, Network Interface Module 2, keyboard
Show that module 10 and micro controller module 1 are constituted.Billboard controller is by signal sending end A, signal receiving end B, LED light box advertisement
11 and micro controller module 1 constitute.Piece area controller and billboard controller use the power line communication.Master station is to be located at most
The computer management system on upper layer is made of router and computer.
Signal sending end A, the signal receiving end B of power line communication described in piece area controller and billboard controller and micro-
Controller module 1 is identical with the hardware configuration of power module 4.
The signal sending end A of the power line communication is made of high-speed power control switch 5, switching signal timer 3, electricity
Net voltage is connected to high-speed power control switch output end.
The signal receiving end B of the power line communication is compared by twin voltage comparator 7, High-speed Control switch 6,0 voltage excessively
Device 8 and signal voltage comparator 9 are constituted.Grid cyclic wave connects after electric resistance partial pressure with 7 input terminal of twin voltage comparator, crosses 0 electricity
Pressure comparator 8 and signal voltage comparator 9 are all made of ns grades of high speed voltage comparator MAX319.
Micro controller module 1 uses High Speed Microcontroller STC15F2K60S, this is a kind of single clock/machine cycle (1T)
Single-chip microcontroller, speed ratio STC12 also fast 20% is high speed/low-power consumption/superpower jamproof 8051 single-chip microcontroller of new generation, no AD
Conversion.
The single-phase firewire and zero curve of power grid connect the output port of signal sending end and the input port of receiving end, wherein power grid
Zero line grounding end.The window region network voltage control is in 55V voltage range, machine shell protective grounding, and has high electricity
The security warning of pressure area, it is 1 that trouble hunting, which should install no-load voltage ratio additional,:1 isolating transformer is avoided because of failure accidental shock.
Network Interface Module 2 in piece area controller, which uses, is integrated with the W5100 Ethernet mould of TCP/IP hardware protocol stacks
Block, or use other network interface chips.High Speed Microcontroller STC15F2K60S and Network Interface Module 2 in micro controller module 1
Between use SPI serial bus communication mode, data to be sent are reached into W5100, are then passed through data by W5100 subpackage
Internet is dealt into master station.
Claims (10)
1. a kind of implementation method of city LED light box advertisement tele-control system, billboard controller pass through with piece area controller
Power line communication, piece area controller access internet by Network Interface Module, it is characterised in that:
The power line communication of use is by the accurate of the signal sending point of the setting to grid cyclic wave voltage and signal receiving point
Positioning sends a rectangle broad pulse of communication positive or negative pole in the signal sending point of setting to generating mutation current,
The electric current causes a voltage drop to be superimposed on grid voltage waveform on the short-circuit impedance of distribution transformer, to complete primary
Signal modulation process, signal receiving point demodulated signal of the receiving end in the setting of grid cyclic wave voltage;One wide arteries and veins of anode
Punching refers to that the high level part of pulse returns 0 from 0 to height.
2. the method according to claim 1, wherein the signal sending point of the setting in grid cyclic wave voltage
Modulating and demodulating signal step with the signal receiving point of setting includes:
It sends:The overturning of 0 voltage comparator is crossed when the cycle that the cycle positive half cycle ascent stage is arranged in and generated 0 interruption, after being delayed
Its sending time falls in the signal sending point of the setting of all wave voltages, and firing switch signal timing device simultaneously connects high-speed power control
Switch, by single positive pulse voltage Signal averaging on grid cyclic wave;
It receives:The low-voltage window being made of the threshold range of high threshold voltage and low threshold voltage being arranged by twin voltage comparator
Mouth region, when all wave voltages of input fall in the low-voltage window region of twin voltage comparator setting, makes under microcontroller control
High-speed Control switch in an ON state, signal voltage comparator directly all wave voltages signal receive position receive signal and
Cycle time parameter is measured, received signal is determined whether in the signal receiving point error range of setting, in low-voltage window
Make High-speed Control switch in an off state other than mouth region.
3. according to the method described in claim 2, it is characterized in that, the signal sending point and signal receiving point of setting are in power grid
The voltage of cycle positive half cycle, which is crossed at 0, was arranged 0 voltage comparator, in a setting cycle voltage location of grid cyclic wave positive half cycle
Setting signal voltage comparator, the output of signal voltage comparator is in two positions for setting all wave voltages of a cycle positive half cycle
Set realization overturning;The cycle positive half cycle ascent stage the setting week wave voltage position as the first signal location, setting
The cycle voltage location of signal transmitting and receiving point is known as the first signal set point, in the setting cycle electricity of cycle positive half cycle descending branch
The position of pressure is known as second signal set point as second signal position, the cycle voltage location of setting signal transmitting-receiving point;
The signal voltage comparator is a setting cycle being arranged between voltage 21V -40V of grid cyclic wave positive half cycle
Voltage location.
4. the method according to claim 1, wherein the distance that basis signal need to transmit when sending signal is through testing
It determines:
Rectangular wave broad pulse voltage-drop loading is set in the positive 35V of the signal sending point on grid cyclic wave to the voltage value between 60V;
The rectangular wave broad pulse voltage is higher by value than the voltage for the grid cyclic wave position being loaded;The width value of rectangular wave broad pulse voltage
For 0.3ms~0.5ms;Signal code value 1A -20A can be provided.
5. the method according to claim 1, wherein the signal receiving point demodulated signal in setting, includes
The signal that confirmation or erasing are sent from the signal sending point of setting, during transmitting terminal sends signal, letter transmitted by transmitting terminal
Number simultaneously receiving end receive, if received position value information is different from the position value information of transmission, then send the position
Erasing signal, each data bit is erasable in each frame information and retransmits.
6. according to the method described in claim 5, it is characterized in that, position value with signal voltage comparator signal receiving point not
Overturning overturns to send position signal " 1 " to send position signal " 0 ", the first signal set point of each data bit sends position signal " 1 "
Or when " 0 ", second round send position signal " 1 " or " 0 " with the period 1 on the contrary, its two kinds are combined " 1 ", " 0 " and " 0 ", " 1 "
As position signal two different values, the second signal set point of second round is to confirm or wipe the first signal set point to send
Data, sending " 0 " is confirmation, and sending " 1 " is erasing, and signal voltage comparator is sent in the first signal set point in start bit
" 1 " is to start to send, and stop bits is terminated in the first signal set point with sending " 0 ", and the second signal of start bit and stop bits is set
Fixed point does not have to.
7. the method according to claim 1, wherein the signal sending point of setting and the accurate of signal receiving point are determined
Position includes the error compensation of set signal sending point and signal receiving point, while crossing 0 voltage comparator and signal voltage ratio
Ns grades of high speed voltage comparators and High Speed Microcontroller are all made of compared with device.
8. according to claim 1 and method of claim 7, which is characterized in that signal sending point and signal receiving point
It is accurately positioned and its compensation method of error, to be first computing system crossed at 0 using the voltage of cycle positive half cycle ascent stage as the time
O'clock to the first signal set point time interval be nominal value Tm1;The voltage of cycle positive half cycle ascent stage is crossed at 0 as start time
Time interval to second signal set point is nominal value Tm2;
And time of 0 voltage comparator when the mistake 0 of cycle positive half cycle ascent stage overturns was measured as start time to signal electricity
Press the real-time measurement values T of time interval of the comparator when the first signal location is overturnc1;This spent for 0 flip-flop transition as start time
To the real-time measurement values T of time interval of the signal voltage comparator when second signal position is overturnc2;Signal voltage comparator exists
The reality of time interval of 0 voltage comparator when the mistake 0 of cycle positive half cycle descending branch is overturn was arrived in second signal position when overturning
When measured value Tc3;Cross time interval of 0 voltage comparator when the mistake 0 of the cycle positive half cycle ascent stage of two adjacent cycles is overturn
For cycle period real-time measurement values Tzu;
When the cycle and its two adjacent cycles that detect are true, the cycle period real-time measurement values Tzu being detected simultaneously by
In 20ms and its error range, the cycle is measured to cross 0 voltage comparator when the mistake 0 of cycle positive half cycle ascent stage is overturn and be
The a reference value T of time interval of the start time to signal voltage comparator when the first signal location is overturnc010 overturning is crossed with this
For a reference value T of time interval of the start time to signal voltage comparator when second signal position is overturnc02, save 30 to
The continuous T of a setting number in 50c01And Tc02And calculate saved Tc01Average value Tp1With the T savedc02It is flat
Mean value Tp2, by Tp1And Tp2It is stored in corresponding storage unit;
The then error compensation value T of signal voltage comparator flip-flop transitionbIt is determined by following formula:
Tb={ (Tm2-Tm1)-(Tp2-Tp1)}÷2;
By TbIt saves, TbIllustrate that the position of actual signal transmitting-receiving point is higher for timing;
The extremely multiple setting byte number of the data bit occupancy in each frame information 1 is needed according to power grid quality and signal structure,
The clock timer time there are two cycle period is stayed after each frame traffic, for updating Tc1、Tc2And Tc3, from next week
Wave starts the communication of next frame, if detecting that cycle signal is vacation in a frame traffic, retransmits the information frame;
It realizes that the cycle in communication sequentially synchronizes by the start bit of each frame information, stop bits and connects in the sending and receiving end of the communication information
Continuous, piece area controller or billboard controller measure respectively and store T in the call duration time gap of described two framesc1、Tc2With
Tc3, and calculate separately two real-time measurement values Tc1Average value Tk1、Tc2Average value Tk2And Tc3Average value Tk3, and deposit respectively
Enter two groups of storage units, i.e. Tc1、Tc2And Tc3Storage unit and Tk1、Tk2And Tk3Storage unit, when from storage unit take out Tk1、
Tk2And Tk3After reset two groups of storage units, the storage unit can store 16 real-time measurement values Tc1、Tc2And Tc3, do not communicating
Period measures continuous 16 real-time measurement values T respectivelyc1、Tc2And Tc3If screen to cycle signal be it is false, described in clearing
Tc1、Tc2And Tc3Respective storage unit, continue to measure when screening to cycle signal is true and store, it is every when being filled with to be stored in one
A Tc1、Tc2And Tc3, first remove a T being stored at firstc1、Tc2And Tc3, while number is taken out by a setting in 2 to 15,
Take out the T of last one group of depositc1、Tc2And Tc3, when power grid quality difference, number is taken out in the smaller setting of choosing, and calculating is taken out each
The T of groupc1Average value Tk1、Tc2Average value Tk2And Tc3Average value Tk3And replace the T originally savedk1、Tk2And Tk3;
Send the determination of signal time:Continuous no less than 16 grid cyclic waves must be screened out before receiving and sending messages, i.e., in fact
When measurement storage unit in have no less than 16 Tc1、Tc2And Tc3If continuous 16 T are not detectedc1、Tc2And Tc3
It is then sequentially delayed until detecting 16, transmitting terminal takes out T from storage unitk1、Tk2And Tk3Value add T respectivelyb,
Obtain the practical transmitting-receiving point T of the first signal with error compensationd1With the practical sending point T of second signald2:
Td1=Tk1-Tb;
Td2=Tk2+Tb;
The practical receiving point T of second signal with error compensationd3:
Td3=Tk3-Tb;
Save Td1、Td2And Td3In respective storage unit, T after each frame information is sentk1、Tk2And Tk3All it is updated;
When sending signal, microcontroller uses T respectivelyd1And Td2As switching signal timer timing midpoint and according to being used
Rectangular wave broad pulse voltage levels take certain offset, then using the spaced time of rectangular wave broad pulse as switching signal determine
When device timing length, be easy to calculate high-speed power control switch turn-on time point, that is, be used for Td1Point sends the wide arteries and veins of rectangular wave
The setting sending time T of punchingf1And Td2The setting sending time T of the rectangular wave broad pulse of pointf2:
Tf1=Td1-(Tm/2)-Tan;
Tf2=Td2-(Tm/2)-Tan;
T in formulamFor signal rectangular wave broad pulse width, TanFor the offset;
Rectangular wave broad pulse loads on the initial stage of cycle positive half cycle, and rectangular wave broad pulse voltage is high more relative to all wave voltages
More, the signal receiving point displacement of generation is more, and cycle positive half cycle descending branch is then to load on cycle process in rectangular wave broad pulse
The signal receiving point displacement that generates of latter stage it is more, the midpoint of the switching signal timer time of tests determined transmitting terminal
With Td1Or Td2Between offset Tan;
Signal transmission process:Grid cyclic wave voltage is connected to high-speed power control switch output port, when the cycle positive half cycle ascent stage
Cycle cross 0 voltage comparator overturning generated 0 interruption, through be delayed Ti1Or Ti2Afterwards, firing switch signal timing device and height is connected
Fast power control switch makes fundamental frequency in T by single positive pulse voltage Signal averaging on grid cyclic waved1Or Td2Electricity
Pressure generates small displacement on a timeline;
If crossing interrupt handling routine after 0 interruption, starting measurement Tc1Timer with connect switching signal timer instruction execution
Time is Tin
When to Td1When sending signal:
Ti=Tf1-Tin;
When to Td2When sending signal:
Ti2=Tf2-Tin;
TiAnd Ti2Signaling point displacement of the value also according to receiving end how many adjust in real time;
Closing high-speed power control switch in the interrupt service program when interrupting is overflowed in switching signal timer timing, to complete
Signal modulation process;
Above-mentioned Ti2Value also according to receiving end signaling point displacement it is how many adjust in real time, methods are:If signal voltage compares
Device flip-flop transition is closer to Td1, then microcontroller control high-speed power control switch increases rectangular wave broad pulse voltage, if letter
Number voltage comparator flip-flop transition is closer to Td2Then reduce Ti2Time.
9. a kind of device of city LED light box advertisement tele-control system, it is characterised in that including,
Signal sending end, signal receiving end and the microcontroller of power line communication described in piece area controller and billboard controller
The hardware configuration of module is identical;
The signal sending end of the power line communication is made of high-speed power control switch, switching signal timer;
The signal receiving end of the power line communication is switched by twin voltage comparator, High-speed Control, crosses 0 voltage comparator and signal
Voltage comparator is constituted.
10. device according to claim 9, it is characterised in that the signal receiving end of the power line communication is by power grid
All wave voltages through High-speed Control switch control, cycle positive half cycle two low-voltage window regions directly after conditioning filtering be followed by
Signal voltage comparator input terminal, High-speed Control switch only open by the low-voltage window region around signal transmitting and receiving point, isolation
Grid cyclic wave high voltage, signal voltage comparator is directly when the signal of all wave voltages receives position and receives signal and measurement cycle
Between parameter;
The signal sending end of the power line communication, network voltage are connected to high-speed power control switch output end, in cycle just half
All ascent stage cycles cross the overturning of 0 voltage comparator and generated 0 interruption, through the T that is delayedi1Or Ti2Afterwards, firing switch signal timing device is simultaneously
High-speed power control switch is connected, by single rectangular wave broad pulse voltage superposition on grid cyclic wave.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2018105913334 | 2018-06-10 | ||
CN201810591333 | 2018-06-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108880617A true CN108880617A (en) | 2018-11-23 |
Family
ID=64305095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810822283.6A Withdrawn CN108880617A (en) | 2018-06-10 | 2018-07-24 | A kind of city LED light box advertisement tele-control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880617A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112770447A (en) * | 2019-10-21 | 2021-05-07 | 软核株式会社 | Power line-based communication device and LED lighting system adopting same |
-
2018
- 2018-07-24 CN CN201810822283.6A patent/CN108880617A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112770447A (en) * | 2019-10-21 | 2021-05-07 | 软核株式会社 | Power line-based communication device and LED lighting system adopting same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108898783A (en) | A kind of Warehouse Fire alarm control system | |
CN108919718A (en) | A kind of analog quantity remote collection alarm system | |
CN108880617A (en) | A kind of city LED light box advertisement tele-control system | |
CN109921831A (en) | A kind of factory and enterprise electric energy detection management system | |
CN108877192A (en) | A kind of residential block Auto-recording System of Electrical Power Calculation | |
CN108831136A (en) | A kind of Automatic meter reading system of tap water supply pipe network | |
CN108990650A (en) | A kind of agricultural greenhouse artificial climate Experimental Control System | |
CN108897297A (en) | A kind of household electric appliances tele-control system | |
CN108961705A (en) | A kind of fire alarm control system | |
CN108958121A (en) | A kind of agricultural greenhouse atmosphere control system | |
CN108897295A (en) | A kind of tele-control system of household electric appliances | |
CN108877191A (en) | A kind of residential area Water-flowmeter auto-recording | |
CN108964709A (en) | A kind of residential block tap water meter Automatic meter reading system | |
CN108923824A (en) | A kind of bus arrival intelligent display system | |
CN108717799A (en) | A kind of radio communication station board system of bus station | |
CN109001998A (en) | A kind of poultry purchase wholesale market data collection system | |
CN108880618A (en) | A kind of city LED advertising control system | |
CN108873999A (en) | A kind of green house of vegetables temperature and humidity control system | |
CN108958120A (en) | A kind of hotel intelligence control system | |
CN108961730A (en) | A kind of flow data collector system | |
CN108717777A (en) | A kind of eating and drinking establishment's fire alarm control system | |
CN108961806A (en) | A kind of bus station's intelligence station board display system | |
CN108964707A (en) | A kind of chain store's customer queries system | |
CN108873784A (en) | A kind of hotel electric appliance remote control system | |
CN108961729A (en) | A kind of Factory Electric Power data acquisition management system |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181123 |