Plate recognition system liquid crystal control panel (Programmable LCD card)
Technical field:
The utility model relates to the computer control field, particularly a kind of control panel that is used for intelligent plate recognition system and uniform machines electric control system.
Prior art:
The at present domestic existing control panel that is used for plate recognition system adopts the high price LCDs mostly, has following problem technically: 1, cost height; 2, the chip of Shi Yonging uses restriction head and shoulders above; 3, do not possess good versatility, can not be used for the uniform machines electric control system.
Summary of the invention:
The purpose of this utility model provides a kind of simple control panel based on Single Chip Microcomputer (SCM) system, and it is too loaded down with trivial details effectively to solve in the license plate identification display device, and relation is complicated, and unmanageable problem is effectively finished control and communication between industrial computer and the display device.
Realization of the present utility model is based on following main design philosophy: its two pins that utilize single serial ports of central processing unit (single chip computer AT 89C2051) and use are according to RS232 principle of work simulative serial port, carry out the pin simulative serial port of two serial communications with design, carry out two serial communications, (industrial computer is with control panel and the same LCD of control card), and utilize one in the inner serial ports of industrial computer (computing machine) to detect the engaged line power supply, make it become PnP device (similar) with the USB mouth, control card inside has Chinese character base, can download specific character library, and will be by the industrial computer transmitting order to lower levels, control panel carries out external control according to order.
A kind of number plate recognition system liquid crystal control panel (Programmable LCD plate) that the utility model provides comprises computing machine, Programmable LCD card and the LCD display device of discerning the number plate system, and the Programmable LCD card comprises:
One communication module, be used for and computing machine (PC) between external communication and and the LCD display device between internal communication, what inside and outside communication was adopted all is the RS232 mode, baud rate all is 9600, communication mode is 1.
One central processing module is used for taking orders from external communication, and handles according to order, and result is sent to control module and internal communication; It comprises central processing unit (single-chip microcomputer), and we select the higher MCU of this reliability and stability of AT89C2051 for use central processing unit.We use the function of pin simulative serial port communication simultaneously, carry out inside and outside communication.The course of work is after receiving order from external communication, to handle according to order, and result, sends to control module and internal communication.
Computing machine sticks into row by the RS232 serial line interface with Programmable LCD and connects, and the excessively simulative serial port of Programmable LCD cartoon own connects with the LCD LCD MODULE.
In the utility model number plate recognition system liquid crystal control panel (Programmable LCD card), central processing module comprises a central processing unit (single-chip microcomputer), a crystal oscillating circuit, two ceramic disc capacitors.Central processing unit directly connects LCD LCD MODULE serial ports by pin.
Communication module adopts serial communication RS232 communication chip, it adopts the simulation serial communication mode, its VCC pin links to each other with+5V, the pin of communication chip is connected with the pin of the central processing unit of central processing module, and the pin of communication chip directly is connected with number plate recognition system system computer (PC) and carries out communication.
In the serial ports that connects with computing machine power lead is arranged, the utility model control panel can be realized promptly inserting both using from power taking source in the computing machine.
The utility model is based on the simple mechanism of Single Chip Microcomputer (SCM) system, little LCD display by cheapness substitutes original LCDs, can effectively solve the problem of using the high price LCDs in the number plate identification, reach control and communication between industrial computer and the display device, can be applied in plate recognition system and the other system, have simple in structure, powerful, characteristics such as stability is high, and versatility is good.
Description of drawings:
Fig. 1 is the circuit structure schematic diagram of the utility model general controls plate (Programmable LCD plate)
Fig. 2 is the circuit module block diagram of control panel Programmable LCD card
Fig. 3 is the electrical schematic diagram of control panel Programmable LCD card
Describe embodiment of the present utility model in detail below in conjunction with accompanying drawing.
Referring to Fig. 1 and Fig. 2, the utility model control panel comprises computing machine, Programmable LCD card and the LCD display device of controlling Fare Collection System.The Programmable LCD card comprises communication module, central processing module and control module.
Referring to Fig. 3, the Programmable LCD card is an input-output card able to programme.Communication module comprises communication chip: MAX232,2,3 pins of 11,12 pins of communication chip MAX232 and the central processing unit AT89C2051 of central processing module connect, 9,13 pins by MAX232 directly are connected with number plate recognition system system computer (PC) and carry out communication.
Central processing module comprises central processing unit (single-chip microcomputer), a crystal oscillating circuit, two ceramic disc capacitors.Central processing unit adopts single serial ports single chip computer AT 89C2051 as CPU, and the AT89C2051 chip is produced by atmel corp.Be 8 CMOS single-chip microcomputers, instruction and MCS-51 compatibility, 28 input/output ports, 2 16 bit timing devices, 5 interrupt sources, 8K bytes Flash program storage in 1 full duplex serial ports, sheet, 256 byte random access memory.Can connect a serial equipment.Serial communication is set to: baud rate 9600Bps, no parity, 8 bit data positions, a position of rest.Communication modes is the RS232 mode.Central processing unit adopts the simulation serial communication mode, and it directly connects 4,5 of LCD display device Serial Port Line by pin one 8,19 and is connected.Simulative serial port links to each other with the LCD display device, is responsible for display message is sent to the LCD display device.Serial ports links to each other with PC, and computing machine (PC) transmission control character is to the LCD card, with control LCD module.
Their logical relation is: a MAX232 is with W77E58 connection carrying out external communication, and simulative serial port is with LCD display device connection carrying out internal communication.
Connected mode: PC sticks into row by 232 serial ports with Programmable LCD and connects, and the Programmable LCD cartoon is crossed simulative serial port and connected with the LCD display device.
Control procedure of the present utility model is: signal is sent by PC, through the MAX232 conversion, passes to AT89C2051 and handles, and exports control signal control LCD display device then.Computing machine (PC) says the word to the Programmable LCD card, and the Programmable LCD card is controlled according to order
Concrete regulation is as follows:
Control command form: as follows
If receive licence plate is arrearage
Send out to the LCD plate: W+ provincial capital abbreviation+other numbers
If receive licence plate and be not arrearage
Send out to the LCD plate: provincial capital's abbreviation+other numbers
Other orders:
Begin inspection.。。Send to the LCD card!
Stop inspection and send @ to the LCD card
Again restart.。。Send # to the LCD card
Shutdown.。。Send $ to the LCD card
Cancellation is restarted to LCD card transmission ^
The cancellation shutdown sends % to the LGD card
Import data.。。Send ﹠amp to the LCD card;
Cancellation imports data and sends * to the LCD card
Import data finish to the LCD card send (
Derivation is caught the vehicle table and is sent to the LCD card)
Derive illegal vehicle table to the LCD card send _
Derivation catch table finish to the LCD card send+
Derive and illegally show to finish to send to the LCD card | condition of work: supply voltage :+4.75V~5.25V temperature: 0 ℃~70 ℃
Beneficial effect: 1, owing to the very high central processing unit of reliability and stability that adopts, so native system is reliable and stable. 2, owing to use the pin simulative serial port, avoid adopting the high price chip of two serial ports, save simultaneously internal resource. 3, power supply obtains from serial ports, has both inserted and has both used. 4, control mode is extremely simple, 5, can replace liquid crystal display fully 6, cost of manufacture is low, and performance is good 7, have good autgmentability, reserve a lot of ports, can add external equipment, carry out system extension. 8, have good versatility, not only in no-stop charging system, use. Also can be in other relevant industries Use, only need to download driver.