introduction
LED billboards are a kind of information display terminal for the public, which has a wide range of civil and commercial values. However, most of the information displayed on LED billboards is solidified in the system in advance, which loses the real-time nature of the information and is particularly inconvenient for users to change the display content; a few LED billboards are directly connected to microcomputers and use microcomputers to transmit information. This system solves the problem of information refresh, but due to the wired connection, the randomness of the system placement is restricted, especially for advertising companies facing multiple regions and multiple customers, which brings many inconveniences to the real-time update and maintenance of the system. This paper proposes a new solution for remote control of LED billboards through handheld transmitters, which realizes flexible changes in billboard content and display mode, and is very convenient to use. This solution uses a PC as the host computer, and both the transmitter and the receiver are based on a single-chip microcomputer, with a high performance-price ratio.
1. System solution
1.1 Wireless Remote Control
Wireless remote control refers to the non-contact remote control of the controlled target, which is widely used in the fields of industrial control , aerospace, and household appliances . Compared with wired and infrared peripherals, wireless remote control and wireless transmission systems have improved the freedom of movement . As a result, wireless remote control devices and wireless transmission systems are increasingly used in the industrial field. The advantage over cable connection is that the installation cost is low (no wiring, no underground engineering, no cable trough), which improves flexibility and reduces maintenance costs.
In order to achieve the purpose of remote control, the information to be displayed and the control commands must be transmitted to the display terminal LED screen through wireless transmission . Commonly used wireless transmission methods are: sound waves (ultrasound), light waves (infrared) and radio waves. Considering that radio wave transmission has the following advantages:
1) The transmission distance is much longer than the other two;
2) There are a wide variety of components available, with good performance and low prices;
3) The technology is more mature.
Therefore, this system uses radio wave transmission, that is, information is transmitted between the handheld transmitter and the receiver by radio waves.
The performance of high-frequency wireless transmitting and receiving modules directly affects the remote control distance and communication quality. After multiple investigations and demonstrations, this system uses an integrated transmitting and receiving module. Its main advantages are good frequency consistency and no debugging required.
1.2 Data encoding method
Data coding refers to a technology that uses close-up numbers to represent the database information that needs to be processed. It converts data into codes or coded characters based on the qualitative characteristics of a certain data structure and target, represents the data composition in data transmission, and serves as a set of rules and conventions for transmission, reception and processing. Because the data information that computers need to process is very complex, and the meanings represented by some databases are difficult to remember. In order to facilitate use and easy memory, it is often necessary to encode the objects to be processed, and use a code to represent a piece of information or a string of data. Encoding data is very important in computer management, and it can easily perform information classification, verification, aggregation, retrieval and other operations. Therefore, data coding becomes the key to computer processing. That is, different information records should use different codes, and one code point can represent an information record. People can use coding to identify each record, distinguish processing methods, classify and verify, thereby overcoming the shortcomings of uneven projects, saving storage space, and improving processing speed.
The encoding and decoding of the signal source is crucial in wireless communication, which can improve the reliability and effectiveness of signal transmission. Billboards are placed outdoors and have many interference sources. Therefore, in the design of this system, the reliability and anti-interference of encoding and decoding are the key to the success of the design.
This system starts with wireless communication theory, conducts in-depth research on coding and decoding technology and its impact on the system, and after repeated comparisons, finally selects a coding and decoding chip suitable for this system. This module also uses code division multiple access technology for data coding and decoding, and can provide up to 531441 (312) address codes, which can completely eliminate any code address conflicts and interference from unauthorized coded data.
1.3 Image dot extraction and movement Algorithm
The extraction of image dot matrix is to use the algorithm to calculate the offset address in the image source database, so as to extract the corresponding dot matrix data and generate new display data. The correctness of the extraction algorithm is directly related to the correctness of the displayed image.
Image movement uses an algorithm to calculate the offset address where the next frame of data should be superimposed in the display dot matrix database. The correctness of the movement algorithm is directly related to the synchronization and on-site effect of dynamic images or text and background, which is particularly important for color display screens .
1.4 System Block Diagram
The whole system consists of three relatively independent subsystems, namely the host computer, handheld transmitter, receiver and display screen system. Its structural block diagram is shown in Figure 1.
Figure 1 System overall structure diagram
The task of the host computer is to complete the input and editing of display information, and then convert the display information into the corresponding dot matrix data of the LED display screen through the dot matrix extraction and movement algorithm , and transfer the dot matrix data to the handheld transmitter through the serial port of the PC.
The function of the handheld transmitter is to encode and modulate the dot matrix data sent by the host computer and the commands received on the panel keyboard, and forward them to the outdoor user group in the code division multiple access communication mode. The display format of the display screen can also be set and debugged on site.
The receiver amplifies, shapes, demodulates and decodes the received high-frequency signal, and then outputs it in parallel to the single-chip microcomputer, which identifies and transfers the received data, changes the display mode and display content in real time, and drives the LED display.
2. Hardware Configuration
The system hardware mainly consists of three parts, namely the host computer, handheld transmitter, receiver and display module.
2.1 Host computer
The host computer is a computer that can directly issue control commands, usually a PC, and displays various signal changes (hydraulic pressure, water level, temperature, etc.) on the screen. The slave computer is a computer that directly controls the equipment to obtain the equipment status, usually a PLC /single-chip microcomputer. The command issued by the host computer is first given to the slave computer, and the slave computer then interprets the command into the corresponding timing signal to directly control the corresponding equipment. There are abundant standard application software and the interface has strong versatility. The PC-based program has strong compatibility and portability, and is cost-effective.
Since the host computer system needs to complete the input, editing and animation effect design of display information (images and text), in addition to the central PC, it must also be equipped with corresponding input peripherals, such as scanners, cameras, keyboards, etc. The network (INTERNET) interface is also indispensable, so that remote downloading of information and network management of the advertising system can be realized.
The composition of the host computer system is shown in Figure 2.
Figure 2: Host computer system configuration block diagram
2.2 Handheld Transmitter
The transmitter consists of a single-chip microcomputer, a keyboard, an encoder, a transmitter, a serial communication interface and a UPS power supply system. Its structural block diagram is shown in Figure 3.
Figure 3 Transmitter structure diagram
The function of the single-chip microcomputer is to temporarily store the image dot matrix transmitted from the PC or the image dot matrix in its own EPROM in the transmission buffer RAM, and then send it serially to the encoder according to the command of the keyboard.
The microcontroller used is ATMEL's 89S52, which has a fast computing speed, stable performance and low price.
The keyboard is used to set the image movement speed, display mode and communication protocol for transmission.
The encoder is one of the key components of this system and determines the reliability of communication. The main features of this chip are CMOS technology, low power consumption, very high noise immunity (multi-frame synchronization), up to 12-bit 3-state address pins (up to 312 address codes can be provided), up to 6-bit data pins, a wide range of operating voltages, a single resistor oscillator, and the output form can be set to latch or transient.
The function of the transmitter is to modulate the coded digital signal onto a high-frequency carrier, and then transmit it after power amplification. It determines the wireless remote control distance of the handheld transmitter. This system uses an integrated module of modulation, drive and transmission. The module uses a surface acoustic wave resonator to stabilize the frequency, SMT resin packaging, good frequency consistency, no debugging, and is particularly suitable for multi-transmission and multi-reception wireless remote control and data transmission systems. However, the frequency stability and consistency of general LC oscillators are poor. Even if high-quality fine-tuning capacitors are used, temperature changes and vibrations can hardly ensure that the adjusted frequency point will not shift.
The UPS power supply is used to ensure that the data in the transmitting buffer RAM is not lost when the handheld transmitter is working outdoors. Because the amount of image dot matrix data that needs to be temporarily stored in the transmitting buffer is very large, if ultra-large capacity non-volatile memory such as E2PROM, FLASH and FRAM is used, it will not only be costly but also difficult to purchase, so the system uses ordinary RAM as the buffer register.
2.3 Receiver and Display Module
The receiver is a circuit system composed of the following components: antenna, filter, amplifier, A/D converter. The navigation and positioning signals sent by GPS satellites are an information resource that can be shared by countless users. For the vast number of users on land, sea and space, as long as the user has a receiving device that can receive, track, transform and measure GPS signals, that is, a GPS signal receiver, they can use GPS signals for navigation and positioning measurements at any time.
The receiver and display module consists of a receiver, a decoder, a single-chip microcomputer, a display driver , an LED screen and a power supply system. Its structural block diagram is shown in Figure 4.
Figure 4 Receiver structure diagram
The receiver demodulates the received high-frequency signal into a digital coded signal after amplification and shaping. We selected the integrated receiving and demodulation module corresponding to the transmitting module. Single-frequency receiver. Single-frequency receiver can only receive L1 carrier signal and measure carrier phase observation value for positioning. Since the influence of ionospheric delay cannot be effectively eliminated, single-frequency receiver is only suitable for precise positioning of short baseline (<15km). 2. Dual-frequency receiver. Dual-frequency receiver can receive L1 and L2 carrier signals at the same time. By utilizing the different ionospheric delay of dual frequencies, the influence of ionospheric delay on electromagnetic wave signal can be eliminated. Therefore, dual-frequency receiver can be used for precise positioning up to several thousand kilometers. This series of modules adopts superheterodyne and secondary frequency conversion technology, and integrates all RF receiving, mixing, filtering, data demodulation, amplification and shaping circuits in the module. The functions are highly integrated, eliminating the instability of RF frequency debugging and super-regenerative receiving circuit, and have the characteristics of high reliability, stable frequency, and no need to debug the receiving frequency.
The decoder decodes the digital coded signal and then outputs it in parallel to the single chip microcomputer. We use a dedicated chip for code division multiple access serial decoding corresponding to the encoding.
The single-chip microcomputer is responsible for the identification, storage and display mode conversion of received data. The single-chip microcomputer uses ATMEL's 89S52, which has good versatility and high cost performance.
The display module is used to display advertising information. The module includes an LED display screen and a display driver board, has its own display buffer, and drives the LED display screen in a dynamic scanning mode, with the characteristics of low power consumption and high brightness .
Receive the power supply of the display system Power supply There are no special requirements, but a considerable margin should be left and attention should be paid to ventilation and heat dissipation, because many fires caused by LED billboards are caused by the power supply system.
3. Software Structure
The software of this system is mainly composed of three modules, namely the host computer master control program, the transmitter master control program and the receiver master control program.
3.1 Host computer control program
The host computer master control program actually includes the display information generation program, the display dot matrix conversion program and the serial port communication program, and is the most complex part of the three main control programs.
The display information generation program completes the input, editing and animation effect design of display images and texts. The program first combines the main control program under the DOS platform with the underlying communication software to complete the user's multi-parameter input of source files, INTERNET interfaces and other input devices through serial and parallel communication ports.
The display dot matrix conversion program converts the generated display information into dot matrix data corresponding to the LED display screen through dot matrix extraction and movement algorithms. For color display screens, the RGB three primary color data of the image information needs to be sampled separately, stored in blocks, and forwarded sequentially; for continuous animated images, the offset needs to be calculated frame by frame. The key is that the background image and the animated text must be synchronized. This part of the software is written in the TURBOC3.0 environment.
The serial communication program is relatively simple and is attached to the dot matrix conversion program.
Due to limited space and technical reasons, here we only take the PC Chinese character extraction and sending program as an example to describe its principle and structure.
Assume that the terminal display screen displays a 16×16 Chinese character dot matrix. Therefore, in order to display advertising information on the terminal, the dot matrix data of the Chinese characters contained in the information must be transmitted to the terminal. In TURBOC3.0, when assigning a Chinese character to a variable, it is actually assigning the area code of the Chinese character to this variable. Each Chinese character is a 16×16 dot matrix, where the stroke passes is "1", and the rest is "0". In this way, from top to bottom and from left to right, a Chinese character is composed of 256 dots, that is, 32 bytes. Chinese characters are arranged in the Chinese character library in the order of area code, with area code as row and bit code as column, and one area has 94 bits. In this way, the offset address of a Chinese character in the Chinese character library is (area code × 94 + bit code) × 32. The 32-byte Chinese character dot matrix after taking out is sent to the transmitter through the serial port of the PC. The process is shown in Figure 5.
Figure 5 PC software flow chart
3.2 Transmitter master control program
The function of the transmitter master control software is to receive the image dot matrix sent by the host PC through the serial port, read the keyboard command, and send the operation command or display data to the encoder serially.
The software of this part is written in KeilC51 environment, which can directly translate C language into assembly language, generate binary code and write it into the microcontroller, so the writing efficiency is higher. When the serial port is triggered, it means that the PC has image dot matrix data transmitted, and the microcontroller immediately receives the dot matrix data and stores it in RAM; when INT0 is triggered, it means that the keyboard has action, and the key value is immediately received to determine the type of command, and the image dot matrix data or operation command is sent to the receiver. Its functional flow is shown in Figure 6.
Figure 6 Transmitter master control program flow
3.3 Receiver main control program
The function of this part of the software is to complete the recognition, storage, transformation and display drive of the received data, and can realize the self-test of the local machine and display the solidified image. When the decoding chip of the receiving device has output, the single-chip microcomputer interrupts the current display, receives the flag word, and then judges the content of this flag word to determine whether the image dot matrix or the operation control command will be received. If it is dot matrix data, it will be continuously received and stored in a display buffer database and displayed in the current mode. If it is a command, the display mode will be changed immediately.
The key is to achieve real-time movement of the image up, down, left, and right. The specific implementation method is as follows:
1) Move the image up and down until one image is completely moved, then move the dot matrix of the next image. The process of moving up is similar.
2) Shift the image left and right: Shift each row of data of an image to the left (using the shift instruction of C language), store the shifted dot matrix in BUF, and then display it. The process of right shift is similar.
The functional flow of the receiver master control program is shown in Figure 7.
Figure 7 Receiver master control program flow
4. Performance Testing
The system function and parameter test results are as follows:
1) Image input function scanner, camera, digital camera, image source file;
2) Text input function keyboard, WORD/TEXT source file;
3) Animation design features text or graphics moving and scaling relative to the background;
4) Transmitter setting function: receiver serial number, image movement command, self-test command, transmission command;
5) The receiver self-check function displays a blue lawn background and the moving characters "Welcome";
6) Transmitter standby time ≥ 120h;
7) Transmitter remote control distance ≥ 250m;
8) Transmitter buffer space 8MByte;
9) LED display screen 320×640DIP;
10) The power consumption of the receiving and displaying system is ≤4kW.
5. Conclusion
The overall performance test and appraisal conclusions are as follows:
1) Remotely control the LED billboard through a handheld transmitter. The solution is novel, practical, and has high market promotion value;
2) Scientific hardware configuration, stable performance and high cost performance;
3) The software has a reasonable structure, powerful functions and is easy to use.
Previous article:Decomposing the energy-saving principle of LED display driver IC D5026A
Next article:Design and implementation of wireless remote control LED billboard
Recommended ReadingLatest update time:2024-11-16 19:55
- Popular Resources
- Popular amplifiers
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- Research on three-phase all-solid-state high-efficiency LED tunnel lighting system based on chip drive_Li Jian
- Follow me Season 2 Episode 1 All Code + Library
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- About the use and description of idconfig
- [CC1352P Review] The beginning of a little frustration
- A Brief Discussion on the State Machine of the Single-Chip Microcomputer
- EEWORLD University----Live Replay: Creating an Electrified Future with Sitara AM263x MCUs
- Hollong Bluetooth Low Energy 4.0/4.1/4.2 BLE Sniffer Protocol Analyzer
- EEWORLD University Hall----Live Replay: Melexis High Reliability Programmable Hall Switch
- 2. Onboard RGB light control
- How to self-test the fault of resistor parallel circuit?
- Auxiliary trainer for plank and push-up exercises
- MSP430 sets the main clock source, main clock source and auxiliary clock source